1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Support biCompression I420

Originally committed as revision 12821 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla 2008-04-14 15:41:10 +00:00
parent e4d286f1c7
commit 23ef6da836

View File

@ -96,6 +96,8 @@ static enum PixelFormat vfw_pixfmt(DWORD biCompression, WORD biBitCount)
switch(biCompression) {
case MKTAG('Y', 'U', 'Y', '2'):
return PIX_FMT_YUYV422;
case MKTAG('I', '4', '2', '0'):
return PIX_FMT_YUV420P;
case BI_RGB:
switch(biBitCount) { /* 1-8 are untested */
case 1: