D2D1_YCBCR_PROP enumeration

Identifiers for properties of the YCbCr effect.

Syntax


typedef enum D2D1_YCBCR_PROP { 
  D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING  = 0,
  D2D1_YCBCR_PROP_TRANSFORM_MATRIX    = 1,
  D2D1_YCBCR_PROP_INTERPOLATION_MODE  = 2
} D2D1_YCBCR_PROP;

Constants

D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING

Specifies the chroma subsampling of the input chroma image.

The type is D2D1_YCBCR_CHROMA_SUBSAMPLING.

The default value is D2D1_YCBCR_CHROMA_SUBSAMPLING_AUTO.

D2D1_YCBCR_PROP_TRANSFORM_MATRIX

A 3x2 Matrix specifying the axis-aligned affine transform of the image. Axis aligned transforms include Scale, Flips, and 90 degree rotations.

The type is D2D1_MATRIX_3X2_F.

The default value is Matrix3x2F::Identity().

D2D1_YCBCR_PROP_INTERPOLATION_MODE

The interpolation mode.

The type is D2D1_YCBCR_INTERPOLATION_MODE.

Requirements

Header

D2d1effects_1.h

 

 

Show: