1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 13:41:49 +00:00

vaapi: drop non-existing FourCC

This VA_FOURCC isn't even defined by latest drivers, so I'm just
assuming it doesn't exist and never existed. For planar 4:2:0,
VA_FOURCC_YV12 is normally preferred, and there's even a VA_FOURCC_IYUV
for 4:2:0 with unswapped planes.
This commit is contained in:
wm4 2015-10-17 14:20:53 +02:00
parent 7e7ef2f01d
commit 0eb45343ca
2 changed files with 0 additions and 5 deletions

View File

@ -52,7 +52,6 @@ struct fmtentry {
static const struct fmtentry va_to_imgfmt[] = {
{VA_FOURCC_NV12, IMGFMT_NV12},
{VA_FOURCC_YV12, IMGFMT_420P},
{VA_FOURCC_I420, IMGFMT_420P},
{VA_FOURCC_IYUV, IMGFMT_420P},
{VA_FOURCC_UYVY, IMGFMT_UYVY},
{VA_FOURCC_YUY2, IMGFMT_YUYV},

View File

@ -23,10 +23,6 @@
#include <pthread.h>
#include <va/va.h>
#ifndef VA_FOURCC_I420
#define VA_FOURCC_I420 VA_FOURCC('I', '4', '2', '0')
#endif
#define VA_STR_FOURCC(fcc) \
(const char[]){(fcc), (fcc) >> 8u, (fcc) >> 16u, (fcc) >> 24u, 0}