//*****************************************************************************
//***                          THIS FILE IS GENERATED                      ****
//***                       DO NOT MODIFY THIS FILE !!!                    ****
//*****************************************************************************
//*****************************************************************************
//* File: DXGIValueSetsGenerated.cpp
//* 
//* Description: 
//*     DXGI Value Sets.  This file was once generated, and is now 
//*     updated by hand.
//*
//*****************************************************************************



#include "DXGIValueSets.h"


//-----------------------------------------------------------------------------
//DXGI Format Table
//-----------------------------------------------------------------------------

const DXGIFormatInfo CFormatInfoMap::m_FormatInfoTable[] =
{
    { DXGI_FORMAT_UNKNOWN, {0, 0, 0, 0}, 0, 0, _T( "UNKNOWN" ) },
    { DXGI_FORMAT_R32G32B32A32_TYPELESS, {32, 32, 32, 32}, 128, FF_RGBA|FF_TYPELESS, _T( "R32G32B32A32_TYPELESS" ) },
    { DXGI_FORMAT_R32G32B32A32_FLOAT, {32, 32, 32, 32}, 128, FF_RGBA|FF_FLOAT, _T( "R32G32B32A32_FLOAT" ) },
    { DXGI_FORMAT_R32G32B32A32_UINT, {32, 32, 32, 32}, 128, FF_RGBA|FF_UINT, _T( "R32G32B32A32_UINT" ) },
    { DXGI_FORMAT_R32G32B32A32_SINT, {32, 32, 32, 32}, 128, FF_RGBA|FF_SINT, _T( "R32G32B32A32_SINT" ) },
    { DXGI_FORMAT_R32G32B32_TYPELESS, {32, 32, 32, 0}, 96, FF_RGB|FF_TYPELESS, _T( "R32G32B32_TYPELESS" ) },
    { DXGI_FORMAT_R32G32B32_FLOAT, {32, 32, 32, 0}, 96, FF_RGB|FF_FLOAT, _T( "R32G32B32_FLOAT" ) },
    { DXGI_FORMAT_R32G32B32_UINT, {32, 32, 32, 0}, 96, FF_RGB|FF_UINT, _T( "R32G32B32_UINT" ) },
    { DXGI_FORMAT_R32G32B32_SINT, {32, 32, 32, 0}, 96, FF_RGB|FF_SINT, _T( "R32G32B32_SINT" ) },
    { DXGI_FORMAT_R16G16B16A16_TYPELESS, {16, 16, 16, 16}, 64, FF_RGBA|FF_TYPELESS, _T( "R16G16B16A16_TYPELESS" ) },
    { DXGI_FORMAT_R16G16B16A16_FLOAT, {16, 16, 16, 16}, 64, FF_RGBA|FF_FLOAT, _T( "R16G16B16A16_FLOAT" ) },
    { DXGI_FORMAT_R16G16B16A16_UNORM, {16, 16, 16, 16}, 64, FF_RGBA|FF_UNORM, _T( "R16G16B16A16_UNORM" ) },
    { DXGI_FORMAT_R16G16B16A16_UINT, {16, 16, 16, 16}, 64, FF_RGBA|FF_UINT, _T( "R16G16B16A16_UINT" ) },
    { DXGI_FORMAT_R16G16B16A16_SNORM, {16, 16, 16, 16}, 64, FF_RGBA|FF_SNORM, _T( "R16G16B16A16_SNORM" ) },
    { DXGI_FORMAT_R16G16B16A16_SINT, {16, 16, 16, 16}, 64, FF_RGBA|FF_SINT, _T( "R16G16B16A16_SINT" ) },
    { DXGI_FORMAT_R32G32_TYPELESS, {32, 32, 0, 0}, 64, FF_RG|FF_TYPELESS, _T( "R32G32_TYPELESS" ) },
    { DXGI_FORMAT_R32G32_FLOAT, {32, 32, 0, 0}, 64, FF_RG|FF_FLOAT, _T( "R32G32_FLOAT" ) },
    { DXGI_FORMAT_R32G32_UINT, {32, 32, 0, 0}, 64, FF_RG|FF_UINT, _T( "R32G32_UINT" ) },
    { DXGI_FORMAT_R32G32_SINT, {32, 32, 0, 0}, 64, FF_RG|FF_SINT, _T( "R32G32_SINT" ) },
    { DXGI_FORMAT_R32G8X24_TYPELESS, {32, 8, 24, 0}, 64, FF_RG|FF_X|FF_TYPELESS, _T( "R32G8X24_TYPELESS" ) },
    { DXGI_FORMAT_D32_FLOAT_S8X24_UINT, {32, 8, 24, 0}, 64, FF_X|FF_D|FF_S|FF_FLOAT|FF_UINT, _T( "D32_FLOAT_S8X24_UINT" ) },
    { DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS, {32, 8, 24, 0}, 64, FF_R|FF_X|FF_X|FF_FLOAT|FF_TYPELESS, _T( "R32_FLOAT_X8X24_TYPELESS" ) },
    { DXGI_FORMAT_X32_TYPELESS_G8X24_UINT, {32, 8, 24, 0}, 64, FF_G|FF_X|FF_X|FF_TYPELESS|FF_UINT, _T( "X32_TYPELESS_G8X24_UINT" ) },
    { DXGI_FORMAT_R10G10B10A2_TYPELESS, {10, 10, 10, 2}, 32, FF_RGBA|FF_TYPELESS, _T( "R10G10B10A2_TYPELESS" ) },
    { DXGI_FORMAT_R10G10B10A2_UNORM, {10, 10, 10, 2}, 32, FF_RGBA|FF_UNORM, _T( "R10G10B10A2_UNORM" ) },
    { DXGI_FORMAT_R10G10B10A2_UINT, {10, 10, 10, 2}, 32, FF_RGBA|FF_UINT, _T( "R10G10B10A2_UINT" ) },
    { DXGI_FORMAT_R11G11B10_FLOAT, {11, 11, 10, 0}, 32, FF_RGB|FF_FLOAT, _T( "R11G11B10_FLOAT" ) },
    { DXGI_FORMAT_R8G8B8A8_TYPELESS, {8, 8, 8, 8}, 32, FF_RGBA|FF_TYPELESS, _T( "R8G8B8A8_TYPELESS" ) },
    { DXGI_FORMAT_R8G8B8A8_UNORM, {8, 8, 8, 8}, 32, FF_RGBA|FF_UNORM, _T( "R8G8B8A8_UNORM" ) },
    { DXGI_FORMAT_R8G8B8A8_UNORM_SRGB, {8, 8, 8, 8}, 32, FF_RGBA|FF_UNORM|FF_SRGB, _T( "R8G8B8A8_UNORM_SRGB" ) },
    { DXGI_FORMAT_R8G8B8A8_UINT, {8, 8, 8, 8}, 32, FF_RGBA|FF_UINT, _T( "R8G8B8A8_UINT" ) },
    { DXGI_FORMAT_R8G8B8A8_SNORM, {8, 8, 8, 8}, 32, FF_RGBA|FF_SNORM, _T( "R8G8B8A8_SNORM" ) },
    { DXGI_FORMAT_R8G8B8A8_SINT, {8, 8, 8, 8}, 32, FF_RGBA|FF_SINT, _T( "R8G8B8A8_SINT" ) },
    { DXGI_FORMAT_R16G16_TYPELESS, {16, 16, 0, 0}, 32, FF_RG|FF_TYPELESS, _T( "R16G16_TYPELESS" ) },
    { DXGI_FORMAT_R16G16_FLOAT, {16, 16, 0, 0}, 32, FF_RG|FF_FLOAT, _T( "R16G16_FLOAT" ) },
    { DXGI_FORMAT_R16G16_UNORM, {16, 16, 0, 0}, 32, FF_RG|FF_UNORM, _T( "R16G16_UNORM" ) },
    { DXGI_FORMAT_R16G16_UINT, {16, 16, 0, 0}, 32, FF_RG|FF_UINT, _T( "R16G16_UINT" ) },
    { DXGI_FORMAT_R16G16_SNORM, {16, 16, 0, 0}, 32, FF_RG|FF_SNORM, _T( "R16G16_SNORM" ) },
    { DXGI_FORMAT_R16G16_SINT, {16, 16, 0, 0}, 32, FF_RG|FF_SINT, _T( "R16G16_SINT" ) },
    { DXGI_FORMAT_R32_TYPELESS, {32, 0, 0, 0}, 32, FF_R|FF_TYPELESS, _T( "R32_TYPELESS" ) },
    { DXGI_FORMAT_D32_FLOAT, {32, 0, 0, 0}, 32, FF_D|FF_FLOAT, _T( "D32_FLOAT" ) },
    { DXGI_FORMAT_R32_FLOAT, {32, 0, 0, 0}, 32, FF_R|FF_FLOAT, _T( "R32_FLOAT" ) },
    { DXGI_FORMAT_R32_UINT, {32, 0, 0, 0}, 32, FF_R|FF_UINT, _T( "R32_UINT" ) },
    { DXGI_FORMAT_R32_SINT, {32, 0, 0, 0}, 32, FF_R|FF_SINT, _T( "R32_SINT" ) },
    { DXGI_FORMAT_R24G8_TYPELESS, {24, 8, 0, 0}, 32, FF_RG|FF_TYPELESS, _T( "R24G8_TYPELESS" ) },
    { DXGI_FORMAT_D24_UNORM_S8_UINT, {24, 8, 0, 0}, 32, FF_D|FF_S|FF_UNORM|FF_UINT, _T( "D24_UNORM_S8_UINT" ) },
    { DXGI_FORMAT_R24_UNORM_X8_TYPELESS, {24, 8, 0, 0}, 32, FF_R|FF_X|FF_UNORM|FF_TYPELESS, _T( "R24_UNORM_X8_TYPELESS" ) },
    { DXGI_FORMAT_X24_TYPELESS_G8_UINT, {24, 8, 0, 0}, 32, FF_G|FF_X|FF_TYPELESS|FF_UINT, _T( "X24_TYPELESS_G8_UINT" ) },
    { DXGI_FORMAT_R8G8_TYPELESS, {8, 8, 0, 0}, 16, FF_RG|FF_TYPELESS, _T( "R8G8_TYPELESS" ) },
    { DXGI_FORMAT_R8G8_UNORM, {8, 8, 0, 0}, 16, FF_RG|FF_UNORM, _T( "R8G8_UNORM" ) },
    { DXGI_FORMAT_R8G8_UINT, {8, 8, 0, 0}, 16, FF_RG|FF_UINT, _T( "R8G8_UINT" ) },
    { DXGI_FORMAT_R8G8_SNORM, {8, 8, 0, 0}, 16, FF_RG|FF_SNORM, _T( "R8G8_SNORM" ) },
    { DXGI_FORMAT_R8G8_SINT, {8, 8, 0, 0}, 16, FF_RG|FF_SINT, _T( "R8G8_SINT" ) },
    { DXGI_FORMAT_R16_TYPELESS, {16, 0, 0, 0}, 16, FF_R|FF_TYPELESS, _T( "R16_TYPELESS" ) },
    { DXGI_FORMAT_R16_FLOAT, {16, 0, 0, 0}, 16, FF_R|FF_FLOAT, _T( "R16_FLOAT" ) },
    { DXGI_FORMAT_D16_UNORM, {16, 0, 0, 0}, 16, FF_D|FF_UNORM, _T( "D16_UNORM" ) },
    { DXGI_FORMAT_R16_UNORM, {16, 0, 0, 0}, 16, FF_R|FF_UNORM, _T( "R16_UNORM" ) },
    { DXGI_FORMAT_R16_UINT, {16, 0, 0, 0}, 16, FF_R|FF_UINT, _T( "R16_UINT" ) },
    { DXGI_FORMAT_R16_SNORM, {16, 0, 0, 0}, 16, FF_R|FF_SNORM, _T( "R16_SNORM" ) },
    { DXGI_FORMAT_R16_SINT, {16, 0, 0, 0}, 16, FF_R|FF_SINT, _T( "R16_SINT" ) },
    { DXGI_FORMAT_R8_TYPELESS, {8, 0, 0, 0}, 8, FF_R|FF_TYPELESS, _T( "R8_TYPELESS" ) },
    { DXGI_FORMAT_R8_UNORM, {8, 0, 0, 0}, 8, FF_R|FF_UNORM, _T( "R8_UNORM" ) },
    { DXGI_FORMAT_R8_UINT, {8, 0, 0, 0}, 8, FF_R|FF_UINT, _T( "R8_UINT" ) },
    { DXGI_FORMAT_R8_SNORM, {8, 0, 0, 0}, 8, FF_R|FF_SNORM, _T( "R8_SNORM" ) },
    { DXGI_FORMAT_R8_SINT, {8, 0, 0, 0}, 8, FF_R|FF_SINT, _T( "R8_SINT" ) },
    { DXGI_FORMAT_A8_UNORM, {0, 0, 0, 8}, 8, FF_A|FF_UNORM, _T( "A8_UNORM" ) },
    { DXGI_FORMAT_R1_UNORM, {1, 0, 0, 0}, 1, FF_R|FF_UNORM, _T( "R1_UNORM" ) },
    { DXGI_FORMAT_R9G9B9E5_SHAREDEXP, {0, 0, 0, 0}, 32, FF_RGB|FF_E|FF_SHAREDEXP, _T( "R9G9B9E5_SHAREDEXP" ) },
    { DXGI_FORMAT_R8G8_B8G8_UNORM, {0, 0, 0, 0}, 16, FF_RGB|FF_STRIDED|FF_UNORM, _T( "R8G8_B8G8_UNORM" ) },
    { DXGI_FORMAT_G8R8_G8B8_UNORM, {0, 0, 0, 0}, 16, FF_RGB|FF_STRIDED|FF_UNORM, _T( "G8R8_G8B8_UNORM" ) },
    { DXGI_FORMAT_BC1_TYPELESS, {0, 0, 0, 0}, 4, FF_BC|FF_TYPELESS, _T( "BC1_TYPELESS" ) },
    { DXGI_FORMAT_BC1_UNORM, {0, 0, 0, 0}, 4, FF_BC|FF_UNORM, _T( "BC1_UNORM" ) },
    { DXGI_FORMAT_BC1_UNORM_SRGB, {0, 0, 0, 0}, 4, FF_BC|FF_UNORM|FF_SRGB, _T( "BC1_UNORM_SRGB" ) },
    { DXGI_FORMAT_BC2_TYPELESS, {0, 0, 0, 0}, 8, FF_BC|FF_TYPELESS, _T( "BC2_TYPELESS" ) },
    { DXGI_FORMAT_BC2_UNORM, {0, 0, 0, 0}, 8, FF_BC|FF_UNORM, _T( "BC2_UNORM" ) },
    { DXGI_FORMAT_BC2_UNORM_SRGB, {0, 0, 0, 0}, 8, FF_BC|FF_UNORM|FF_SRGB, _T( "BC2_UNORM_SRGB" ) },
    { DXGI_FORMAT_BC3_TYPELESS, {0, 0, 0, 0}, 8, FF_BC|FF_TYPELESS, _T( "BC3_TYPELESS" ) },
    { DXGI_FORMAT_BC3_UNORM, {0, 0, 0, 0}, 8, FF_BC|FF_UNORM, _T( "BC3_UNORM" ) },
    { DXGI_FORMAT_BC3_UNORM_SRGB, {0, 0, 0, 0}, 8, FF_BC|FF_UNORM|FF_SRGB, _T( "BC3_UNORM_SRGB" ) },
    { DXGI_FORMAT_BC4_TYPELESS, {0, 0, 0, 0}, 4, FF_BC|FF_TYPELESS, _T( "BC4_TYPELESS" ) },
    { DXGI_FORMAT_BC4_UNORM, {0, 0, 0, 0}, 4, FF_BC|FF_UNORM, _T( "BC4_UNORM" ) },
    { DXGI_FORMAT_BC4_SNORM, {0, 0, 0, 0}, 4, FF_BC|FF_SNORM, _T( "BC4_SNORM" ) },
    { DXGI_FORMAT_BC5_TYPELESS, {0, 0, 0, 0}, 8, FF_BC|FF_TYPELESS, _T( "BC5_TYPELESS" ) },
    { DXGI_FORMAT_BC5_UNORM, {0, 0, 0, 0}, 8, FF_BC|FF_UNORM, _T( "BC5_UNORM" ) },
    { DXGI_FORMAT_BC5_SNORM, {0, 0, 0, 0}, 8, FF_BC|FF_SNORM, _T( "BC5_SNORM" ) },
    { DXGI_FORMAT_B5G6R5_UNORM, {5, 6, 5, 0}, 16, FF_BGR|FF_UNORM, _T( "B5G6R5_UNORM" ) },
    { DXGI_FORMAT_B5G5R5A1_UNORM, {5, 5, 5, 1}, 16, FF_BGRA|FF_UNORM, _T( "B5G5R5A1_UNORM" ) },
    { DXGI_FORMAT_B8G8R8A8_UNORM, {8, 8, 8, 8}, 32, FF_BGRA|FF_UNORM, _T( "B8G8R8A8_UNORM" ) },
    { DXGI_FORMAT_B8G8R8X8_UNORM, {8, 8, 8, 8}, 32, FF_BGR|FF_X|FF_UNORM, _T( "B8G8R8X8_UNORM" ) },
    { DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM, {10, 10, 10, 2}, 32, FF_RGBA|FF_UNORM, _T( "R10G10B10_XR_BIAS_A2_UNORM" ) },
    { DXGI_FORMAT_B8G8R8A8_TYPELESS, {8, 8, 8, 8}, 32, FF_BGRA|FF_TYPELESS, _T( "B8G8R8A8_TYPELESS" ) },
    { DXGI_FORMAT_B8G8R8A8_UNORM_SRGB, {8, 8, 8, 8}, 32, FF_BGRA|FF_UNORM|FF_SRGB, _T( "B8G8R8A8_UNORM_SRGB" ) },
    { DXGI_FORMAT_B8G8R8X8_TYPELESS, {8, 8, 8, 8}, 32, FF_BGR|FF_X|FF_TYPELESS, _T( "B8G8R8X8_TYPELESS" ) },
    { DXGI_FORMAT_B8G8R8X8_UNORM_SRGB, {8, 8, 8, 8}, 32, FF_BGR|FF_X|FF_UNORM|FF_SRGB, _T( "B8G8R8X8_UNORM_SRGB" ) },
    { DXGI_FORMAT_BC6H_TYPELESS, {0, 0, 0, 0}, 8, FF_BC|FF_TYPELESS, _T( "BC6H_TYPELESS" ) },
    { DXGI_FORMAT_BC6H_UF16, {0, 0, 0, 0}, 8, FF_BC|FF_FLOAT, _T( "BC6H_UF16" ) },
    { DXGI_FORMAT_BC6H_SF16, {0, 0, 0, 0}, 8, FF_BC|FF_FLOAT, _T( "BC6H_SF16" ) },
    { DXGI_FORMAT_BC7_TYPELESS, {0, 0, 0, 0}, 8, FF_BC|FF_TYPELESS, _T( "BC7_TYPELESS" ) },
    { DXGI_FORMAT_BC7_UNORM, {0, 0, 0, 0}, 8, FF_BC|FF_UNORM, _T( "BC7_UNORM" ) },
    { DXGI_FORMAT_BC7_UNORM_SRGB, {0, 0, 0, 0}, 8, FF_BC|FF_UNORM|FF_SRGB, _T( "BC7_UNORM_SRGB" ) },
	
	// YUV 4:4:4 formats
	{ DXGI_FORMAT_AYUV, {8, 8, 8, 8}, 32, FF_VIDEO|FF_UNORM, _T( "AYUV" ) },
	{ DXGI_FORMAT_Y410, {10, 10, 10, 2}, 32, FF_VIDEO|FF_UNORM, _T( "Y410" ) },
	{ DXGI_FORMAT_Y416, {16, 16, 16, 16}, 64, FF_VIDEO|FF_UNORM, _T( "Y416" ) },
	
	// YUV 4:2:0 formats
	{ DXGI_FORMAT_NV12, {8, 8, 8, 0}, 8, FF_VIDEO|FF_UNORM, _T( "NV12" ) },
	{ DXGI_FORMAT_P010, {10, 10, 10, 0}, 16, FF_VIDEO|FF_UNORM, _T( "P010" ) },
	{ DXGI_FORMAT_P016, {16, 16, 16, 0}, 16, FF_VIDEO|FF_UNORM, _T( "P016" ) },
	{ DXGI_FORMAT_420_OPAQUE, {8, 8, 8, 0}, 8, FF_VIDEO|FF_UNORM, _T( "420_OPAQUE" ) },
 
	// YUV 4:2:2 formats
	{ DXGI_FORMAT_YUY2, {8, 8, 8, 0}, 16, FF_VIDEO|FF_UNORM, _T( "YUY2" ) },
	{ DXGI_FORMAT_Y210, {16, 16, 16, 0}, 32, FF_VIDEO|FF_UNORM, _T( "Y210" ) },
	{ DXGI_FORMAT_Y216, {16, 16, 16, 0}, 32, FF_VIDEO|FF_UNORM, _T( "Y216" ) },

	// YUV 4:1:1 formats
	{ DXGI_FORMAT_NV11, {8, 8, 8, 0}, 8, FF_VIDEO|FF_UNORM, _T( "NV11" ) },
  
	// Legacy substream formats
	{ DXGI_FORMAT_AI44, {8, 8, 8, 8}, 8, FF_VIDEO|FF_UNORM, _T( "AI44" ) },
	{ DXGI_FORMAT_IA44, {8, 8, 8, 8}, 8, FF_VIDEO|FF_UNORM, _T( "IA44" ) },
	{ DXGI_FORMAT_P8, {8, 8, 8, 8}, 8, FF_VIDEO|FF_UNORM, _T( "P8" ) },
	{ DXGI_FORMAT_A8P8, {8, 8, 8, 8}, 16, FF_VIDEO|FF_UNORM, _T( "A8P8" ) },
	
	//
	{ DXGI_FORMAT_B4G4R4A4_UNORM, {4, 4, 4, 4}, 16, FF_BGRA|FF_UNORM, _T( "B4G4R4A4_UNORM" ) },
};

const size_t CFormatInfoMap::GetDXGIFormatInfoTableSize()
{
	return sizeof( m_FormatInfoTable ) / sizeof( m_FormatInfoTable[ 0 ] );
}
