gstvideo.video_transfer_function
Module for [VideoTransferFunction] enum namespace
struct VideoTransferFunction
Types 1
structVideoTransferFunction
Namespace for [VideoTransferFunction] enum
Methods
double decode(gstvideo.types.VideoTransferFunction func, double val)Convert val to its gamma decoded value. This is the inverse operation of [gstvideo.global.videoColorTransferEncode].double encode(gstvideo.types.VideoTransferFunction func, double val)Convert val to its gamma encoded value.gstvideo.types.VideoTransferFunction fromIso(uint value)Converts the value to the #GstVideoTransferFunction The transfer characteristics (TransferCharacteristics) value is defined by "ISO/IEC 23001-8 Section 7.2 Table 3" and "ITU-T H.273 Table 3". "H.26...bool isEquivalent(gstvideo.types.VideoTransferFunction fromFunc, uint fromBpp, gstvideo.types.VideoTransferFunction toFunc, uint toBpp)Returns whether fromfunc and tofunc are equivalent. There are cases (e.g. BT601, BT709, and BT202010) where several functions are functionally identical. In these cases, when doing conversion, we s...uint toIso(gstvideo.types.VideoTransferFunction func)Converts #GstVideoTransferFunction to the "transfer characteristics" (TransferCharacteristics) value defined by "ISO/IEC 23001-8 Section 7.2 Table 3" and "ITU-T H.273 Table 3". "H.264 Table E-4" an...