GstVideo.VideoContentLightLevel

Fields

Name

Type

Access

Description

max_content_light_level

int

r/w

the maximum content light level (abbreviated to MaxCLL) in candelas per square meter (cd/m^2 and nit)

max_frame_average_light_level

int

r/w

the maximum frame average light level (abbreviated to MaxFLL) in candelas per square meter (cd/m^2 and nit)

Methods

add_to_caps (caps)

from_caps (caps)

from_string (level)

init ()

is_equal (other)

to_string ()

Details

class GstVideo.VideoContentLightLevel

Content light level information specified in CEA-861.3, Appendix A.

New in version 1.18.

add_to_caps(caps)[source]
Parameters:

caps (Gst.Caps) – a Gst.Caps

Returns:

True if self was successfully set to caps

Return type:

bool

Parse caps and update self

New in version 1.18.

from_caps(caps)[source]
Parameters:

caps (Gst.Caps) – a Gst.Caps

Returns:

if caps has GstVideo.VideoContentLightLevel and could be parsed

Return type:

bool

Parse caps and update self

New in version 1.18.

from_string(level)[source]
Parameters:

level (str) – a content-light-level string from caps

Returns:

True if self points to valid GstVideo.VideoContentLightLevel.

Return type:

bool

Parse the value of content-light-level caps field and update minfo with the parsed values.

New in version 1.18.

init()[source]

Initialize self

New in version 1.18.

is_equal(other)[source]
Parameters:

other (GstVideo.VideoContentLightLevel) – a GstVideo.VideoContentLightLevel

Returns:

True if self and other are equal.

Return type:

bool

Checks equality between self and other.

New in version 1.20.

to_string()[source]
Returns:

a string representation of self.

Return type:

str

Convert self to its string representation.

New in version 1.18.