Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkcicpparams.h File Reference
#include <gdk/gdktypes.h>

Go to the source code of this file.

Macros

#define GDK_TYPE_CICP_PARAMS   (gdk_cicp_params_get_type ())
 

Enumerations

enum  GdkCicpRange { GDK_CICP_RANGE_NARROW , GDK_CICP_RANGE_FULL }
 

Functions

GDK_AVAILABLE_IN_4_16 GDK_AVAILABLE_IN_4_16 GdkCicpParamsgdk_cicp_params_new (void)
 
GDK_AVAILABLE_IN_4_16 guint gdk_cicp_params_get_color_primaries (GdkCicpParams *self)
 
GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_color_primaries (GdkCicpParams *self, guint color_primaries)
 
GDK_AVAILABLE_IN_4_16 guint gdk_cicp_params_get_transfer_function (GdkCicpParams *self)
 
GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_transfer_function (GdkCicpParams *self, guint transfer_function)
 
GDK_AVAILABLE_IN_4_16 guint gdk_cicp_params_get_matrix_coefficients (GdkCicpParams *self)
 
GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_matrix_coefficients (GdkCicpParams *self, guint matrix_coefficients)
 
GDK_AVAILABLE_IN_4_16 GdkCicpRange gdk_cicp_params_get_range (GdkCicpParams *self)
 
GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_range (GdkCicpParams *self, GdkCicpRange range)
 
GDK_AVAILABLE_IN_4_16 GdkColorStategdk_cicp_params_build_color_state (GdkCicpParams *self, GError **error)
 

Macro Definition Documentation

◆ GDK_TYPE_CICP_PARAMS

#define GDK_TYPE_CICP_PARAMS   (gdk_cicp_params_get_type ())

Definition at line 30 of file gdkcicpparams.h.

Enumeration Type Documentation

◆ GdkCicpRange

GdkCicpRange: @GDK_CICP_RANGE_NARROW: The values use the range of 16-235 (for Y) and 16-240 for u and v. @GDK_CICP_RANGE_FULL: The values use the full range.

The values of this enumeration describe whether image data uses the full range of 8-bit values.

In digital broadcasting, it is common to reserve the lowest and highest values. Typically the allowed values for the narrow range are 16-235 for Y and 16-240 for u,v (when dealing with YUV data).

Since: 4.16

Enumerator
GDK_CICP_RANGE_NARROW 
GDK_CICP_RANGE_FULL 

Definition at line 72 of file gdkcicpparams.h.

73{
GdkCicpRange
@ GDK_CICP_RANGE_NARROW
@ GDK_CICP_RANGE_FULL

Function Documentation

◆ gdk_cicp_params_build_color_state()

GDK_AVAILABLE_IN_4_16 GdkColorState * gdk_cicp_params_build_color_state ( GdkCicpParams * self,
GError ** error )

◆ gdk_cicp_params_get_color_primaries()

GDK_AVAILABLE_IN_4_16 guint gdk_cicp_params_get_color_primaries ( GdkCicpParams * self)

◆ gdk_cicp_params_get_matrix_coefficients()

GDK_AVAILABLE_IN_4_16 guint gdk_cicp_params_get_matrix_coefficients ( GdkCicpParams * self)

◆ gdk_cicp_params_get_range()

GDK_AVAILABLE_IN_4_16 GdkCicpRange gdk_cicp_params_get_range ( GdkCicpParams * self)

◆ gdk_cicp_params_get_transfer_function()

GDK_AVAILABLE_IN_4_16 guint gdk_cicp_params_get_transfer_function ( GdkCicpParams * self)

◆ gdk_cicp_params_new()

◆ gdk_cicp_params_set_color_primaries()

GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_color_primaries ( GdkCicpParams * self,
guint color_primaries )

◆ gdk_cicp_params_set_matrix_coefficients()

GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_matrix_coefficients ( GdkCicpParams * self,
guint matrix_coefficients )

◆ gdk_cicp_params_set_range()

GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_range ( GdkCicpParams * self,
GdkCicpRange range )

◆ gdk_cicp_params_set_transfer_function()

GDK_AVAILABLE_IN_4_16 void gdk_cicp_params_set_transfer_function ( GdkCicpParams * self,
guint transfer_function )