mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
video: get rid of swapped packed YUV
Another legacy annoyance. The only place where packed YUV is still important is slightly older Apple hardware or drivers, which require it for efficient hardware decoding.
This commit is contained in:
@@ -527,10 +527,6 @@ bool mp_vdpau_get_format(int imgfmt, VdpChromaType *out_chroma_type,
|
||||
case IMGFMT_NV12:
|
||||
ycbcr = VDP_YCBCR_FORMAT_NV12;
|
||||
break;
|
||||
case IMGFMT_YUYV:
|
||||
ycbcr = VDP_YCBCR_FORMAT_YUYV;
|
||||
chroma = VDP_CHROMA_TYPE_422;
|
||||
break;
|
||||
case IMGFMT_UYVY:
|
||||
ycbcr = VDP_YCBCR_FORMAT_UYVY;
|
||||
chroma = VDP_CHROMA_TYPE_422;
|
||||
|
||||
Reference in New Issue
Block a user