]> git.sesse.net Git - ffmpeg/commit
avcodec/put_bits: Parametrize bit buffer type
authorSteinar H. Gunderson <steinar+ffmpeg@gunderson.no>
Sat, 18 Jul 2020 14:53:02 +0000 (16:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 19 Jul 2020 08:59:43 +0000 (10:59 +0200)
commitc63c303a1f2b58677d480505ec93a90f77dd25b5
tree8a02ba722f893b29545a4446b5e92ad31cb3b76a
parente39490615fcae8e9399e907a63f07aa8d0f9148d
avcodec/put_bits: Parametrize bit buffer type

Preparatory patch for making the bit buffer different size on different
platforms; make a typedef and make all the hardcoded sizes into expressions
deriving from this size.

No functional change; generated assembler is near-identical.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpegvideo_enc.c
libavcodec/put_bits.h