Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

eAVEncVideoColorTransferFunction enumeration

Specifies the conversion function from R'G'B' to RGB. This enumeration is used with the AVEncVideoInputColorTransferFunction and AVEncVideoOutputColorTransferFunction properties.

Syntax


enum eAVEncVideoColorTransferFunction {
  eAVEncVideoColorTransferFunction_SameAsSource  = 0, 
  eAVEncVideoColorTransferFunction_10            = 1, 
  eAVEncVideoColorTransferFunction_18            = 2, 
  eAVEncVideoColorTransferFunction_20            = 3, 
  eAVEncVideoColorTransferFunction_22            = 4, 
  eAVEncVideoColorTransferFunction_22_709        = 5, 
  eAVEncVideoColorTransferFunction_22_240M       = 6, 
  eAVEncVideoColorTransferFunction_22_8bit_sRGB  = 7, 
  eAVEncVideoColorTransferFunction_28            = 8 

};

Constants

eAVEncVideoColorTransferFunction_SameAsSource

Use the same function as the input video. This flag applies to the AVEncVideoOutputColorTransferFunction property only.

eAVEncVideoColorTransferFunction_10

Linear RGB (gamma = 1.0).

eAVEncVideoColorTransferFunction_18

True 1.8 gamma. L' = L^1/1.8.

eAVEncVideoColorTransferFunction_20

True 2.0 gamma. L' = L^1/2.0..

eAVEncVideoColorTransferFunction_22

True 2.2 gamma. L' = L^1/2.2..

eAVEncVideoColorTransferFunction_22_709

Gamma 2.2 curve with a linear segment in the lower range. L' = 4.5L, for L < 0.018; L' = 1.099L^0.45.- 0.099, for L >= 0.018. This transfer function is used in BT-709, SMPTE 296M, SMPTE 170M, BT-470, and SPMTE 274M.

eAVEncVideoColorTransferFunction_22_240M

Gamma 2.2 curve with a linear segment in the lower range. L' = 4.0L, for L < 0.0228; L' = 1.1115^L0.45.- 0.01115, for L >= 0.0228. This transfer function is used in SPMTE 240M.

eAVEncVideoColorTransferFunction_22_8bit_sRGB

Gamma 2.4 curve with a linear segment in the lower range. L' = L/12.92, for L < 0.03928; L' = ((L + 0.055) / 1.055)^2.4., for L >= 0.03928.

eAVEncVideoColorTransferFunction_28

True 2.8 gamma. L' = L^1/2.8..

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Codecapi.h

See also

Codec API Enumerations
ICodecAPI Interface

 

 

Show:
© 2017 Microsoft