comparison libvo/vo_direct3d.c @ 28007:16b39ef63bb5

Use D3DFMT_ constants where possible instead of MAKEFOURCC
author reimar
date Wed, 26 Nov 2008 16:30:42 +0000
parents c06e8f1eec97
children 7f7ffa0eb45a
comparison
equal deleted inserted replaced
28006:c06e8f1eec97 28007:16b39ef63bb5
86 static const struct_fmt_table fmt_table[] = { 86 static const struct_fmt_table fmt_table[] = {
87 {IMGFMT_YV12, MAKEFOURCC('Y','V','1','2')}, 87 {IMGFMT_YV12, MAKEFOURCC('Y','V','1','2')},
88 {IMGFMT_I420, MAKEFOURCC('I','4','2','0')}, 88 {IMGFMT_I420, MAKEFOURCC('I','4','2','0')},
89 {IMGFMT_IYUV, MAKEFOURCC('I','Y','U','V')}, 89 {IMGFMT_IYUV, MAKEFOURCC('I','Y','U','V')},
90 {IMGFMT_YVU9, MAKEFOURCC('Y','V','U','9')}, 90 {IMGFMT_YVU9, MAKEFOURCC('Y','V','U','9')},
91 {IMGFMT_YUY2, MAKEFOURCC('Y','U','Y','2')}, 91 {IMGFMT_YUY2, D3DFMT_YUY2},
92 {IMGFMT_UYVY, MAKEFOURCC('U','Y','V','Y')}, 92 {IMGFMT_UYVY, D3DFMT_UYVY},
93 {IMGFMT_BGR32, D3DFMT_X8R8G8B8}, 93 {IMGFMT_BGR32, D3DFMT_X8R8G8B8},
94 {IMGFMT_RGB32, D3DFMT_X8B8G8R8}, 94 {IMGFMT_RGB32, D3DFMT_X8B8G8R8},
95 {IMGFMT_BGR24, D3DFMT_R8G8B8}, //untested 95 {IMGFMT_BGR24, D3DFMT_R8G8B8}, //untested
96 {IMGFMT_BGR16, D3DFMT_R5G6B5}, 96 {IMGFMT_BGR16, D3DFMT_R5G6B5},
97 {IMGFMT_BGR15, D3DFMT_X1R5G5B5}, 97 {IMGFMT_BGR15, D3DFMT_X1R5G5B5},