diff options
author | Nuo Mi <nuomi2021@gmail.com> | 2024-09-24 22:16:58 +0800 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-10-04 21:58:42 +0800 |
commit | 846fbc395be77ebc76b578ee74d424d2e44a4e96 (patch) | |
tree | 26a0cc4ffc62024d459d7a71e21e6abb718b508d /tests/ref/acodec | |
parent | 40a14ef970f7210c64ccfc5625871ef577f3e3a3 (diff) | |
download | ffmpeg-846fbc395be77ebc76b578ee74d424d2e44a4e96.tar.gz |
avcodec/vvc: simplify priority logical to improve performance for 4K/8K
For 4K/8K video processing, it's possible to have over 1,000 tasks pending on the executor.
In such cases, O(n) and O(log(n)) insertion times are too costly.
Reducing this to O(1) will significantly decrease the time spent in critical sections
clip | before | after | delta
------------------------------------------------------------|--------|--------|-------
VVC_HDR_UHDTV2_OpenGOP_7680x4320_50fps_HLG10.bit | 24 | 27 | 12.5%
VVC_HDR_UHDTV2_OpenGOP_7680x4320_50fps_HLG10_HighBitrate.bit| 12 | 17 | 41.7%
tears_of_steel_4k_8M_8bit_2000.vvc | 34 | 102 | 200.0%
VVC_UHDTV1_OpenGOP_3840x2160_60fps_HLG10.bit | 126 | 128 | 1.6%
RitualDance_1920x1080_60_10_420_37_RA.266 | 350 | 378 | 8.0%
NovosobornayaSquare_1920x1080.bin | 341 | 369 | 8.2%
Tango2_3840x2160_60_10_420_27_LD.266 | 69 | 70 | 1.4%
RitualDance_1920x1080_60_10_420_32_LD.266 | 243 | 259 | 6.6%
Chimera_8bit_1080P_1000_frames.vvc | 420 | 392 | -6.7%
BQTerrace_1920x1080_60_10_420_22_RA.vvc | 148 | 144 | -2.7%
Diffstat (limited to 'tests/ref/acodec')
0 files changed, 0 insertions, 0 deletions