Interface for Xbox exclusive applications to convert a texture from one color space to another color space. Supports NV12->RGB and RGB->NV12 conversion.
interface IXboxColorConverter : public IUnknown
To create the color converter, call MFCreateRGB32ToNV12ConverterX or MFCreateNV12ToRGB32ConverterX. This interface contains a single method, Transform.
If this interface is created by calling the MFCreateNV12ToRGB32ConverterX function, the source texture format must be DXGI_FORMAT_NV12, and the destination texture format must be DXGI_FORMAT_R8G8B8A8_UNORM or DXGI_FORMAT_B8G8R8A8_UNORM.
If this interface is created by calling the MFCreateRGB32ToNV12ConverterX function, the source texture format must be DXGI_FORMAT_R8G8B8A8_UNORM or DXGI_FORMAT_B8G8R8A8_UNORM, and the destination texture format must be DXGI_FORMAT_NV12.
Header: Declared in mfapi.h.
Library: Use mfplat.lib.