Package: gdk

Class gdk:cicp-params

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

color-primaries
The color-primaries property of type :uint (Read / Write)
The color primaries to use.
Default value: 2
matrix-coefficients
The matrix-coefficients property of type :uint (Read / Write)
The matrix coefficients (for YUV to RGB conversion).
Default value: 2
range
The range property of type gdk:cicp-range (Read / Write)
Whether the data is using the full range of values.
Default value: :narrow
transfer-function
The transfer-function property of type :uint (Read / Write)
The transfer function to use.
Default value: 2

Details

The gdk:cicp-params object 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.

The gdk:cicp-params object can be used as a builder object to construct a color state from Cicp data with the gdk:cicp-params-build-color-state function. The function will return an error if the given parameters are not supported.

You can obtain a gdk:cicp-params object from a color state with the gdk:color-state-create-cicp-params function. 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.

Since 4.16
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2024-11-10