Class
GdkCicpParams
unstable since: 4.16
Description [src]
final class Gdk.CicpParams : GObject.Object
{
/* No available fields */
}
The GdkCicpParams
struct contains the parameters that define
a colorstate according to the ITU-T H.273
specification.
See the documentation of individual properties for supported values.
The ‘unspecified’ value (2) is not treated in any special way, and must be replaced by a different value before creating a color state.
GdkCicpParams
can be used as a builder object to construct a color
state from Cicp data with gdk_cicp_params_build_color_state()
.
The function will return an error if the given parameters are not supported.
You can obtain a GdkCicpParams
object from a color state with
gdk_color_state_create_cicp_params()
. This can be used to
create a variant of a color state, by changing just one of the cicp
parameters, or just to obtain information about the color state.
Available since: 4.16
Instance methods
gdk_cicp_params_build_color_state
Creates a new GdkColorState
object for the cicp parameters in self
.
unstable since: 4.16
gdk_cicp_params_get_color_primaries
Returns the value of the color-primaries property
of self
.
unstable since: 4.16
gdk_cicp_params_get_matrix_coefficients
Gets the matrix-coefficients property of self
.
unstable since: 4.16
gdk_cicp_params_get_transfer_function
Gets the transfer-function property of self
.
unstable since: 4.16
gdk_cicp_params_set_matrix_coefficients
self
a GdkCicpParams
Sets the matrix-coefficients property of self
.
unstable since: 4.16
gdk_cicp_params_set_transfer_function
Sets the transfer-function property of self
.
unstable since: 4.16
Properties
Gdk.CicpParams:matrix-coefficients
The matrix coefficients (for YUV to RGB conversion).
unstable since: 4.16
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.