mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 18:45:25 +00:00
img_format: remove some unneeded format definitions
They're still supported, just that they have no IMGFMT_ alias.
This commit is contained in:
parent
b712095d89
commit
73a5bde518
@ -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},
|
||||
|
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user