Mercurial > mplayer.hg
changeset 11657:36879e2df6cd
UYVY support (port from v4l1)
author | henry |
---|---|
date | Fri, 19 Dec 2003 09:38:10 +0000 |
parents | 1bd451a6d4ae |
children | 73203cca1884 |
files | libmpdemux/tvi_v4l2.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l2.c Thu Dec 18 10:39:55 2003 +0000 +++ b/libmpdemux/tvi_v4l2.c Fri Dec 19 09:38:10 2003 +0000 @@ -175,6 +175,7 @@ case IMGFMT_I420: return V4L2_PIX_FMT_YUV420; case IMGFMT_YUY2: return V4L2_PIX_FMT_YUYV; case IMGFMT_YV12: return V4L2_PIX_FMT_YUV420; + case IMGFMT_UYVY: return V4L2_PIX_FMT_UYVY; } return fcc; } @@ -196,6 +197,7 @@ case V4L2_PIX_FMT_YUV410: return IMGFMT_IF09; case V4L2_PIX_FMT_YUV420: return IMGFMT_I420; case V4L2_PIX_FMT_YUYV: return IMGFMT_YUY2; + case V4L2_PIX_FMT_UYVY: return IMGFMT_UYVY; } return fcc; }