libvmaf
Loading...
Searching...
No Matches
luminance_tools.h File Reference

Go to the source code of this file.

Data Structures

struct  VmafLumaRange

Typedefs

typedef double(*) VmafEOTF(double V)

Enumerations

enum  VmafPixelRange { VMAF_PIXEL_RANGE_UNKNOWN , VMAF_PIXEL_RANGE_LIMITED , VMAF_PIXEL_RANGE_FULL }

Functions

int vmaf_luminance_init_luma_range (VmafLumaRange *luma_range, int bitdepth, enum VmafPixelRange pix_range)
int vmaf_luminance_init_eotf (VmafEOTF *eotf, const char *eotf_str)
double vmaf_luminance_bt1886_eotf (double V)
double vmaf_luminance_pq_eotf (double V)
double vmaf_luminance_get_luminance (int sample, VmafLumaRange luma_range, VmafEOTF eotf)

Typedef Documentation

◆ VmafEOTF

typedef double(*) VmafEOTF(double V)

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.

Enumeration Type Documentation

◆ VmafPixelRange

Enumerator
VMAF_PIXEL_RANGE_UNKNOWN 
VMAF_PIXEL_RANGE_LIMITED 
VMAF_PIXEL_RANGE_FULL 

Function Documentation

◆ vmaf_luminance_bt1886_eotf()

double vmaf_luminance_bt1886_eotf ( double V)

◆ vmaf_luminance_get_luminance()

double vmaf_luminance_get_luminance ( int sample,
VmafLumaRange luma_range,
VmafEOTF eotf )

◆ vmaf_luminance_init_eotf()

int vmaf_luminance_init_eotf ( VmafEOTF * eotf,
const char * eotf_str )

◆ vmaf_luminance_init_luma_range()

int vmaf_luminance_init_luma_range ( VmafLumaRange * luma_range,
int bitdepth,
enum VmafPixelRange pix_range )

◆ vmaf_luminance_pq_eotf()

double vmaf_luminance_pq_eotf ( double V)