TransferFunction
Description:
[ CCode ( cprefix = "GST_VIDEO_TRANSFER_" , type_id = "gst_video_transfer_function_get_type ()" ) ]
[ GIR ( name = "VideoTransferFunction" ) ]
public enum TransferFunction
The video transfer function defines the formula for converting between non-linear RGB (R'G'B') and linear RGB
Content:
Enum values:
- ADOBERGB - Gamma 2.19921875.
- ARIB_STD_B67 - Association
of Radio Industries and Businesses (ARIB) STD-B67 and Rec.
- BT2020_10 - Rec.
- BT2020_12 - Gamma 2.2 curve
with a linear segment in the lower range.
- BT601 - also known as SMPTE170M /
ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
- BT709 - Gamma 2.2 curve with a
linear segment in the lower range, also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM / ITU-R BT1361
- GAMMA10 - linear RGB, gamma 1.0
curve
- GAMMA18 - Gamma 1.8 curve
- GAMMA20 - Gamma 2.0 curve
- GAMMA22 - Gamma 2.2 curve
- GAMMA28 - Gamma 2.8 curve, also
ITU-R BT470BG
- LOG100 - Logarithmic transfer
characteristic 100:1 range
- LOG316 - Logarithmic transfer
characteristic 316.22777:1 range (100 * sqrt(10) : 1)
- SMPTE2084 - SMPTE ST 2084 for
10, 12, 14, and 16-bit systems.
- SMPTE240M - Gamma 2.2 curve
with a linear segment in the lower range
- SRGB - Gamma 2.4 curve with a
linear segment in the lower range.
- UNKNOWN - unknown transfer
function
Static methods:
Methods:
- public double decode (double val)
Convert val to its gamma decoded value.
- public double encode (double val)
Convert val to its gamma encoded value.
- public bool is_equivalent (uint from_bpp, TransferFunction to_func, uint to_bpp)
Returns whether from_func and to_func are
equivalent.
- public uint to_iso ()
Converts TransferFunction to the "transfer
characteristics" (TransferCharacteristics) value defined by "ISO/IEC 23001-8 Section 7.2 Table 3" and "ITU-T H.273 Table 3".