[FFmpeg-devel] [PATCH][VAAPI][4/6] Add MPEG-4 / H.263 bitstream decoding (take 10)

Gwenole Beauchesne gbeauchesne
Wed Apr 1 11:39:22 CEST 2009

On Tue, 31 Mar 2009, Michael Niedermayer wrote:

>>> I fail to see a difference with the very few samples I have
>>> but that covers only the H.263 samples from mpq and I did not find any for
>>> !short-header case. i.e. I just can't say this will really work for all
>>> samples.
> you found no mpeg4 asp, no divx no xvid on mphq?

mpeg4 asp that has binary-only shape.

>> Changed the last line to:
>> pic_param->num_gobs_in_vop = (s->mb_width * s->mb_height) /
>> pic_param->num_macroblocks_in_gob;
>> which should be more abvious than the previous "simplification".
>> Only tested with 352x288 clips, did not find any larger ones.
> ffmpeg can create larger ones, also ffmpeg can make mpeg4 asp
> you also should find some after running the regression tests

ffmpeg couldn't with some abbreviated names, though explicit sizes worked. 

OK, checked against all VA API (Intel implementation) supported CIF, and 
this yields the correct values for all of them.

New patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.hwaccel.vaapi.mpeg4.10.patch
Type: text/x-diff
Size: 10912 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090401/b1164f2b/attachment.patch>

More information about the ffmpeg-devel mailing list