Freigeben über


eAVEncVideoColorNominalRange Enumeration

 
Microsoft DirectShow 9.0

eAVEncVideoColorNominalRange Enumeration

Specifies the nominal range for a video source. This enumeration is used with the AVEncVideoInputChromaSubsampling and AVEncVideoOutputChromaSubsampling properties.

The nominal range describes how luma components normalized to a range of [0..1] map to 8-bit or 10-bit samples. The mapping determines whether the color data includes headroom and toeroom. Headroom allows for values beyond 1.0 white ("whiter than white"), and toeroom allows for values below reference 0.0 black ("blacker than black").

Syntax

enum eAVEncVideoColorNominalRange {
    eAVEncVideoColorNominalRange_SameAsSource = 0,
    eAVEncVideoColorNominalRange_0_255        = 1,
    eAVEncVideoColorNominalRange_16_235       = 2,
    eAVEncVideoColorNominalRange_48_208       = 3
};

Members

eAVEncVideoColorNominalRange_SameAsSource

Use the same nominal range as the input video. This flag applies to the AVEncVideoOutputChromaSubsampling property only.

eAVEncVideoColorNominalRange_0_255

The normalized range [0..1] maps to [0...255] for 8-bit samples, or [0..1023] for 10-bit samples.

eAVEncVideoColorNominalRange_16_235

The normalized range [0..1] maps to [16...235] for 8-bit samples, or [64..940] for 10-bit samples.

eAVEncVideoColorNominalRange_48_208

The normalized range [0..1] maps to [48...208] for 8-bit samples.

Requirements

Header: Include codecapi.h.

See Also