Converts a planar image (such as 4:2:0 or 4:1:1 video format) to a non-planar format (typically 4:2:2 for video formats). Planar formats are not supported by other texture functions, so this routine can be used to convert planar data to a form that other functions will operate on.
HRESULT ConvertToSinglePlane( _In_ const Image& srcImage,
_Out_ ScratchImage& image );
HRESULT ConvertToSinglePlane( _In_reads_(nimages) const Image* srcImages, _In_ size_t nimages,
_In_ const TexMetadata& metadata,
_Out_ ScratchImage& image );
Remarks
The pixel format of the resulting image is determined by the format of the input. For example NV11 and NV12 are always converted to YUY2.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd206750.aspxhttp://msdn.microsoft.com/en-us/library/windows/desktop/bb970578.aspx