[FFmpeg-devel] [PATCH 1/5] avcodec/mobiclip: Reduce size of VLCs, inline constants

Michael Niedermayer michael at niedermayer.cc
Sat Oct 24 15:35:54 EEST 2020


On Sat, Oct 24, 2020 at 01:04:56PM +0200, Andreas Rheinhardt wrote:
> The longest motion vector VLC for mobiclip is six bits long, so using
> eight bits for the VLC table is wasteful. Furthermore, the length can be
> inlined.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/mobiclip.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

probably ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201024/d0403550/attachment.sig>


More information about the ffmpeg-devel mailing list