mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 04:02:06 +00:00
Fix bogus bits per pixel values in lookup table.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25079 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ee1dd235b3
commit
66d7d00ea2
@ -310,13 +310,13 @@ static const struct {
|
||||
array, contains information about various supported (i hope) image formats
|
||||
*/
|
||||
static const img_fmt img_fmt_list[] = {
|
||||
{IMGFMT_YUY2, &MEDIASUBTYPE_YUY2, 0, IMGFMT_YUY2, 0},
|
||||
{IMGFMT_YV12, &MEDIASUBTYPE_YV12, 0, IMGFMT_YV12, 0},
|
||||
{IMGFMT_IYUV, &MEDIASUBTYPE_IYUV, 0, IMGFMT_IYUV, 0},
|
||||
{IMGFMT_I420, &MEDIASUBTYPE_I420, 0, IMGFMT_I420, 0},
|
||||
{IMGFMT_UYVY, &MEDIASUBTYPE_UYVY, 0, IMGFMT_UYVY, 0},
|
||||
{IMGFMT_YVYU, &MEDIASUBTYPE_YVYU, 0, IMGFMT_YVYU, 0},
|
||||
{IMGFMT_YVU9, &MEDIASUBTYPE_YVU9, 0, IMGFMT_YVU9, 0},
|
||||
{IMGFMT_YUY2, &MEDIASUBTYPE_YUY2, 16, IMGFMT_YUY2, 0},
|
||||
{IMGFMT_YV12, &MEDIASUBTYPE_YV12, 12, IMGFMT_YV12, 0},
|
||||
{IMGFMT_IYUV, &MEDIASUBTYPE_IYUV, 12, IMGFMT_IYUV, 0},
|
||||
{IMGFMT_I420, &MEDIASUBTYPE_I420, 12, IMGFMT_I420, 0},
|
||||
{IMGFMT_UYVY, &MEDIASUBTYPE_UYVY, 16, IMGFMT_UYVY, 0},
|
||||
{IMGFMT_YVYU, &MEDIASUBTYPE_YVYU, 16, IMGFMT_YVYU, 0},
|
||||
{IMGFMT_YVU9, &MEDIASUBTYPE_YVU9, 9, IMGFMT_YVU9, 0},
|
||||
{IMGFMT_BGR32, &MEDIASUBTYPE_RGB32, 32, 0, 0},
|
||||
{IMGFMT_BGR24, &MEDIASUBTYPE_RGB24, 24, 0, 0},
|
||||
{IMGFMT_BGR16, &MEDIASUBTYPE_RGB565, 16, 3, 12},
|
||||
|
Loading…
Reference in New Issue
Block a user