Files
FFmpeg/libavcodec
Michael Niedermayer 4aeaee1f4e avcodec/ffv1enc: replace the remaining log2() by magic
big secret, reading a float as the corresponding integer is a good
approximation of log2() for numbers not too close to 1.0. At the same
time it maintains strict monotonicity

this reduces run time from 19sec to 17sec for the slowest of my testcases
(with default remap_optimizer 3)

Compression is about the same:

-rw-r----- 1 michael michael  497603370 Mar 30 15:23 float-303503-fixed-40-optim-3-1log2F.nut
-rw-r----- 1 michael michael  497603374 Mar 28 11:27 float-303503-fixed-40-optim-3b.nut
-rw-r----- 1 michael michael  549938852 Mar 28 11:27 float-303503-float16-40-optim-3b.nut
-rw-r----- 1 michael michael  549938857 Mar 30 15:23 float-303503-float16-40-optim-3-1log2F.nut
-rw-r----- 1 michael michael 1150827841 Mar 28 11:28 float-303503-float-40-optim-3b.nut
-rw-r----- 1 michael michael 1150832913 Mar 30 15:22 float-303503-float-40-optim-3ref-log2F2.nut

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2025-04-03 01:58:07 +02:00
..
2025-03-17 08:51:23 +01:00
2025-02-26 17:12:08 +01:00
2025-02-26 17:12:08 +01:00
2024-08-14 18:21:01 +02:00
2025-02-04 00:14:14 +01:00
2025-02-09 20:27:49 -06:00
2025-02-09 20:27:49 -06:00
2024-07-12 22:42:18 +02:00
2024-09-06 13:59:28 +02:00
2025-03-27 22:02:36 +01:00
2024-09-28 18:35:35 +02:00
2024-09-28 18:35:35 +02:00
2025-01-01 20:31:08 +01:00
2025-03-17 08:51:23 +01:00
2024-07-12 22:42:28 +02:00
2024-09-24 15:37:19 +02:00
2025-04-02 09:25:46 +02:00
2025-02-06 13:48:47 -03:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2025-03-19 21:02:56 +01:00
2025-04-02 09:25:46 +02:00
2025-04-02 09:25:46 +02:00
2025-03-20 07:10:17 +01:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
2024-06-12 12:07:49 +02:00
2025-02-09 20:27:49 -06:00
2025-03-14 02:03:58 +01:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2025-03-17 08:51:23 +01:00
2024-09-24 15:37:20 +02:00