FFmpeg
[フレーム]
Data Structures | Typedefs | Functions
Colorspace Utility
libavutil » Mathematics

Data Structures

struct   AVLumaCoefficients
  Struct containing luma coefficients to be used for RGB to YUV/YCoCg, or similar calculations. More...
 
struct   AVCIExy
  Struct containing chromaticity x and y values for the standard CIE 1931 chromaticity definition. More...
 
  Struct defining the red, green, and blue primary locations in terms of CIE 1931 chromaticity x and y. More...
 
  Struct that contains both white point location and primaries location, providing the complete description of a color gamut. More...
 

Typedefs

  Struct defining white point location in terms of CIE 1931 chromaticity x and y. More...
 

Functions

  Retrieves the Luma coefficients necessary to construct a conversion matrix from an enum constant describing the colorspace. More...
 
  Retrieves a complete gamut description from an enum constant describing the color primaries. More...
 
  Detects which enum AVColorPrimaries constant corresponds to the given complete gamut description. More...
 

Detailed Description

Typedef Documentation

AVWhitepointCoefficients

Struct defining white point location in terms of CIE 1931 chromaticity x and y.

Definition at line 63 of file csp.h.

Function Documentation

av_csp_luma_coeffs_from_avcsp()

const AVLumaCoefficients* av_csp_luma_coeffs_from_avcsp ( enum AVColorSpace  csp )

Retrieves the Luma coefficients necessary to construct a conversion matrix from an enum constant describing the colorspace.

Parameters
csp An enum constant indicating YUV or similar colorspace.
Returns
The Luma coefficients associated with that colorspace, or NULL if the constant is unknown to libavutil.

Definition at line 53 of file csp.c.

Referenced by create_filtergraph(), ff_draw_init2(), filter_frame(), init_filter(), and tonemap_opencl_init().

av_csp_primaries_desc_from_id()

const AVColorPrimariesDesc* av_csp_primaries_desc_from_id ( enum AVColorPrimaries  prm )

Retrieves a complete gamut description from an enum constant describing the color primaries.

Parameters
prm An enum constant indicating primaries
Returns
A description of the colorspace gamut associated with that enum constant, or NULL if the constant is unknown to libavutil.

Definition at line 85 of file csp.c.

Referenced by create_filtergraph(), ff_icc_profile_generate(), get_rgb2rgb_matrix(), libjxl_get_primaries(), and libjxl_populate_primaries().

av_csp_primaries_id_from_desc()

enum AVColorPrimaries av_csp_primaries_id_from_desc ( const AVColorPrimariesDescprm )

Detects which enum AVColorPrimaries constant corresponds to the given complete gamut description.

See also
enum AVColorPrimaries
Parameters
prm A description of the colorspace gamut
Returns
The enum constant associated with this gamut, or AVCOL_PRI_UNSPECIFIED if no clear match can be idenitified.

Definition at line 105 of file csp.c.

Referenced by iccdetect_filter_frame(), and libjxl_get_primaries().


Generated on Wed Aug 24 2022 21:42:48 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /