[FFmpeg-devel] [PATCH] MVI demuxer / Motion Pixels decoder
Wed Jul 2 19:04:50 CEST 2008
Gregory Montoir wrote:
> Michael Niedermayer wrote:
>>> Index: libavcodec/bitstream.h
>>> --- libavcodec/bitstream.h (r?vision 14030)
>>> +++ libavcodec/bitstream.h (copie de travail)
>> maybe it would be better to bswap32 the input into a temporary buffer
>> iam not sure, i need to think about this more.
>> Is this faster than a bswap32 and a temp buffer?
> good idea.
> using read_time() in mp_decode_frame gives (on a pentium m 1.7) :
> so, as it's faster and less ugly code wise, I changed the code to bswap
> the bitstream.
Looks like I overlooked dsputil.c... attached a new patch using the
bswap_buf dsp func.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel