img_format: remove some unneeded format definitions

They're still supported, just that they have no IMGFMT_ alias.
This commit is contained in:
wm4 2016-09-28 14:21:32 +02:00
parent b712095d89
commit 73a5bde518
2 changed files with 0 additions and 15 deletions

View File

@ -73,15 +73,6 @@ static const struct {
{IMGFMT_XYZ12, AV_PIX_FMT_XYZ12},
#ifdef AV_PIX_FMT_YUV420P12
{IMGFMT_420P12, AV_PIX_FMT_YUV420P12},
{IMGFMT_420P14, AV_PIX_FMT_YUV420P14},
{IMGFMT_422P12, AV_PIX_FMT_YUV422P12},
{IMGFMT_422P14, AV_PIX_FMT_YUV422P14},
{IMGFMT_444P12, AV_PIX_FMT_YUV444P12},
{IMGFMT_444P14, AV_PIX_FMT_YUV444P14},
#endif
#ifdef AV_PIX_FMT_RGBA64
{IMGFMT_RGBA64, AV_PIX_FMT_RGBA64},
{IMGFMT_BGRA64, AV_PIX_FMT_BGRA64},

View File

@ -119,20 +119,14 @@ enum mp_imgfmt {
// most significant bits with 0 (use shifts to expand them to 16 bits).
IMGFMT_444P16,
IMGFMT_444P14,
IMGFMT_444P12,
IMGFMT_444P10,
IMGFMT_444P9,
IMGFMT_422P16,
IMGFMT_422P14,
IMGFMT_422P12,
IMGFMT_422P10,
IMGFMT_422P9,
IMGFMT_420P16,
IMGFMT_420P14,
IMGFMT_420P12,
IMGFMT_420P10,
IMGFMT_420P9,