Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MT_CUSTOM_VIDEO_PRIMARIES structure (mfapi.h)

Defines custom color primaries for a video source. The color primaries define how to convert colors from RGB color space to CIE XYZ color space.

Syntax

typedef struct _MT_CUSTOM_VIDEO_PRIMARIES {
 float fRx;
 float fRy;
 float fGx;
 float fGy;
 float fBx;
 float fBy;
 float fWx;
 float fWy;
} MT_CUSTOM_VIDEO_PRIMARIES;

Members

fRx

Red x-coordinate.

fRy

Red y-coordinate.

fGx

Green x-coordinate.

fGy

Green y-coordinate.

fBx

Blue x-coordinate.

fBy

Blue y-coordinate.

fWx

White point x-coordinate.

fWy

White point y-coordinate.

Remarks

This structure is used with the MF_MT_CUSTOM_VIDEO_PRIMARIES attribute.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header mfapi.h

See also

Media Foundation Structures


Feedback

Was this page helpful?

Additional resources