[FFmpeg-devel] [PATCH 3/3] avcodec/utvideodec: use cached bitstream reader

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Aug 24 00:20:50 EEST 2018


2018-08-23 15:58 GMT+02:00, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> 2018-08-23 15:35 GMT+02:00, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>> 2018-08-23 15:08 GMT+02:00, Paul B Mahol <onemda at gmail.com>:
>>> From 100x real-time decoding to 138x real-time decoding for 320x240
>>> video.
>>
>> On x86_64 I get an even better improvement, on x86_32
>> decoding gets slower by approximately 10%.
>> Without the patch, decoding is faster on x86_32 than
>> x86_64 here...
>
> Using vanilla gcc-6.4.
>
> clang 3.4:
> 5% slower with patch on x86_32
>>40% faster with patch on x86_64
> x86_32 again faster than x86_64 without patch.

On Linux ppc, gcc 7.2.1
64bit: 580 -> 740 fps
32bit: ~730fps, both with and without the patch

On Linux aarch64, gcc 4.8
358 -> 492 fps

Not sure if I can find a reliable arm 32bit target.
(Only mobile phones)

Carl Eugen


More information about the ffmpeg-devel mailing list