VideoColorRange.offsets

Compute the offset and scale values for each component of info. For each component, (ci - offseti) / scalei will scale the component ci to the range [0.0 .. 1.0].

The reverse operation (ci * scalei) + offseti can be used to convert the component values in range [0.0 .. 1.0] back to their representation in info and range.

struct VideoColorRange
static
void
offsets

Parameters

range gstvideo.types.VideoColorRange

a #GstVideoColorRange

info gstvideo.video_format_info.VideoFormatInfo

a #GstVideoFormatInfo

offset int[]

output offsets

scale int[]

output scale