TypeScript API Documentation for GSTREAMER VIDEO
API Version: 1.0
Library Version: 1.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.41
Since 1.20
Convert val to its gamma decoded value. This is the inverse operation of gst_video_color_transfer_encode().
val
gst_video_color_transfer_encode()
For a non-linear value L' in the range [0..1], conversion to the linear L is in general performed with a power function like:
L = L' ^ gamma Copy
L = L' ^ gamma
Depending on func, different formulas might be applied. Some formulas encode a linear segment in the lower range.
func
a GstVideo.VideoTransferFunction
a value
the gamma decoded value of val
1.20
Convert
valto its gamma decoded value. This is the inverse operation ofgst_video_color_transfer_encode().For a non-linear value L' in the range [0..1], conversion to the linear L is in general performed with a power function like:
Depending on
func, different formulas might be applied. Some formulas encode a linear segment in the lower range.