[MPlayer-dev-eng] rawrgb support

Arpi arpi at thot.banki.hu
Fri Apr 12 17:12:21 CEST 2002


Hi,

> Mplayer can't play 16 bits/pixel uncompressed RGB AVIs (AFAIK). The 
> codec for them should be rawbgr15.
> 
> libmpcodecs/vd_raw.c detects format correctly:
>          case 15:
>          case 16: sh->format=IMGFMT_BGR15; break;
> 
> but in libmpdemux/video.c:
>                  sh_video->format = mmioFOURCC(0, 'R', 'G', 'B') | 
> sh_video->bih->biBitCount;
> all raw 16bpp AVIs will get IMGFMT_BGR16 format.

hmm
could you upload such 15bpp (and if you have, also 16bpp) file sample?

i think that hack from video.c shoudl be removed now.
anyway your patch is bad, as for .mov files the BitCount field is valid...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list