aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_vulkan.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-08 15:45:24 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-11 04:37:21 +0100
commit512e597932dfe05cf5665192efbe2c93c2e36af2 (patch)
treec09fca55988f5466a78ed99ba2c8c00bf1d163e6 /libavutil/hwcontext_vulkan.c
parent27c82af2fe6ab4a5dfc09f971b975c1238022a2a (diff)
downloadffmpeg-512e597932dfe05cf5665192efbe2c93c2e36af2.tar.gz
avcodec/vc2enc: Simplify writing dirac golomb codes
The earlier code used a loop to determine the number of bits used and called ff_log2() on a power of two (and it would be easy to keep track of the exponent of said power-of-two); neither GCC nor Clang optimized the loop away or avoided the ff_log2(). This patch replaces the loop and the log2 with a single av_log2(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
0 files changed, 0 insertions, 0 deletions