[FFmpeg-devel] [PATCH 1/3] avcodec/get_bits: add cached bitstream reader

Hendrik Leppkes h.leppkes at gmail.com
Sat Jul 8 21:44:43 EEST 2017


On Sat, Jul 8, 2017 at 7:23 PM, Rostislav Pehlivanov
<atomnuker at gmail.com> wrote:
> On 8 July 2017 at 10:12, Paul B Mahol <onemda at gmail.com> wrote:
>
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  libavcodec/get_bits.h | 261 ++++++++++++++++++++++++++++++
>> +++++++++++++++-----
>>  1 file changed, 235 insertions(+), 26 deletions(-)
>>
>>
>>
> I still say it should be enabled by default with a flag to choose between
> 64 and 32 bit cache size (based on the arch). That'll give a speed increase
> throughout most of the code and not cause much or any regression.

Do you have any numbers for those claims?

- Hendrik


More information about the ffmpeg-devel mailing list