[FFmpeg-devel] [PATCH v2] avcodec/ffv1enc: Better heuristic for selecting mul values.

Michael Niedermayer michael at niedermayer.cc
Sun Mar 30 23:24:36 EEST 2025


On Fri, Mar 28, 2025 at 03:26:49AM +0100, Michael Niedermayer wrote:
> This increases the search space from the hardcoded 17 tables
> to ~ 23^512 tables
> 
> The mul_count choice is chosen by bruteforce
> 
> All testcases tried, improve
> 
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/ffv1enc.c | 89 +++++++++++++++++++++++++-------------------
>  1 file changed, 51 insertions(+), 38 deletions(-)

will apply

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

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- 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/20250330/e0fc6da3/attachment.sig>


More information about the ffmpeg-devel mailing list