[MPlayer-dev-eng] [PATCH] XviD 1.1.x support
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Oct 2 23:52:38 CEST 2004
Hi,
>>>> - mod->mux->bih->biBitCount = 24;
>>>> + mod->mux->bih->biBitCount = 12;
>>>
>>> Hmm.. ?
>>
>> Still here, I'm sure that it can be explained, but I'm not the guy in
>> charge here.
Yes, I remembered that. But I won't get an answer by not asking either,
so I just asked ;-)
> I don't know why it worked before, but xvid (i.e. mpeg-4) uses a yuv
> 4:2:0 colorspace, which takes 12 bits per pixel. Thus the byte-size of
> an image is width*height*3/2.
That was my theory too, but I was irritated that it probably worked
before. Maybe it was just used in some malloc, the double size isn't so
bad...
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list