[FFmpeg-devel] [PATCH 10/39] lavc/ffv1dec: move the bitreader to stack

Michael Niedermayer michael at niedermayer.cc
Thu Jul 18 01:42:05 EEST 2024


On Tue, Jul 16, 2024 at 07:11:25PM +0200, Anton Khirnov wrote:
> There is no reason to place it in persistent state.
> ---
>  libavcodec/ffv1.h             |  1 -
>  libavcodec/ffv1dec.c          | 28 +++++++++++++++-------------
>  libavcodec/ffv1dec_template.c | 23 ++++++++++++-----------
>  3 files changed, 27 insertions(+), 25 deletions(-)

more complex code, an additional pointer to pass around

all the stuff should be put together close so its efficiently
using CPU caches

thx

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

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- 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/20240718/e3946570/attachment.sig>


More information about the ffmpeg-devel mailing list