libvmaf
Loading...
Searching...
No Matches
integer_vif.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include "cpu.h"
Include dependency graph for integer_vif.h:

Go to the source code of this file.

Data Structures

struct  VifBuffer
struct  VifResiduals
struct  VifPublicState

Macros

#define DEFAULT_VIF_ENHN_GAIN_LIMIT   (100.0)

Functions

void vif_statistic_8 (struct VifPublicState *s, float *num, float *den, unsigned w, unsigned h)
void vif_statistic_16 (struct VifPublicState *s, float *num, float *den, unsigned w, unsigned h, int bpc, int scale)
VifResiduals vif_compute_line_residuals (VifPublicState *s, unsigned from, unsigned to, int scale)

Macro Definition Documentation

◆ DEFAULT_VIF_ENHN_GAIN_LIMIT

#define DEFAULT_VIF_ENHN_GAIN_LIMIT   (100.0)

Copyright 2016-2020 Netflix, Inc.

Licensed under the BSD+Patent License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://opensource.org/licenses/BSDplusPatent

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ vif_compute_line_residuals()

VifResiduals vif_compute_line_residuals ( VifPublicState * s,
unsigned from,
unsigned to,
int scale )

◆ vif_statistic_16()

void vif_statistic_16 ( struct VifPublicState * s,
float * num,
float * den,
unsigned w,
unsigned h,
int bpc,
int scale )

◆ vif_statistic_8()

void vif_statistic_8 ( struct VifPublicState * s,
float * num,
float * den,
unsigned w,
unsigned h )