Mercurial > mplayer.hg
comparison vidix/savage_vid.c @ 25368:8362d7605961
bgr24 and bgr32 support
author | ben |
---|---|
date | Fri, 14 Dec 2007 18:19:50 +0000 |
parents | c84e99bead4b |
children | 6f8d4937dd98 |
comparison
equal
deleted
inserted
replaced
25367:c84e99bead4b | 25368:8362d7605961 |
---|---|
285 return 4; | 285 return 4; |
286 case IMGFMT_BGR15: | 286 case IMGFMT_BGR15: |
287 return 3; | 287 return 3; |
288 case IMGFMT_BGR16: | 288 case IMGFMT_BGR16: |
289 return 5; | 289 return 5; |
290 case IMGFMT_BGR24: | |
291 return 6; | |
292 case IMGFMT_BGR32: | |
293 return 7; | |
290 default: | 294 default: |
291 return 1; | 295 return 1; |
292 } | 296 } |
293 } | 297 } |
294 | 298 |
1055 case IMGFMT_UYVY: | 1059 case IMGFMT_UYVY: |
1056 case IMGFMT_YUY2: | 1060 case IMGFMT_YUY2: |
1057 case IMGFMT_Y211: | 1061 case IMGFMT_Y211: |
1058 case IMGFMT_RGB15: | 1062 case IMGFMT_RGB15: |
1059 case IMGFMT_RGB16: | 1063 case IMGFMT_RGB16: |
1060 // case IMGFMT_BGR32: | 1064 case IMGFMT_BGR24: |
1065 case IMGFMT_BGR32: | |
1061 return 1; | 1066 return 1; |
1062 default: | 1067 default: |
1063 return 0; | 1068 return 0; |
1064 } | 1069 } |
1065 } | 1070 } |