Re: [FFmpeg-devel] [PATCH 40/40] avcodec/h261dec: Make VLC smaller

2021-01-26 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The VLC for the macroblock address increment uses nine bits; > yet there is no code with this length: All codes are either shorter or > longer. So one can make the table smaller without changing the amount of > codes that need more than one round of parsing. > > Signed-off-by

[FFmpeg-devel] [PATCH 40/40] avcodec/h261dec: Make VLC smaller

2020-12-29 Thread Andreas Rheinhardt
The VLC for the macroblock address increment uses nine bits; yet there is no code with this length: All codes are either shorter or longer. So one can make the table smaller without changing the amount of codes that need more than one round of parsing. Signed-off-by: Andreas Rheinhardt --- libav