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

Rostislav Pehlivanov atomnuker at gmail.com
Sat Jul 8 20:23:58 EEST 2017


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.


More information about the ffmpeg-devel mailing list