D2D1_YCBCR_PROP enumeration (d2d1effects_1.h)

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_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING
Value: 0
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
Value: 1
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
Value: 2
The interpolation mode.


The type is D2D1_YCBCR_INTERPOLATION_MODE.
D2D1_YCBCR_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects_1.h