This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 3ccafa5906578c59db287886d2288ea45fc61704 Author: Lynne <[email protected]> AuthorDate: Mon Jan 19 13:04:24 2026 +0100 Commit: Lynne <[email protected]> CommitDate: Mon Jan 19 16:37:17 2026 +0100 ffv1_vulkan: generate a CRC table during runtime Since the recent CRC changes, get_table returns arch-dependent tables. --- libavcodec/ffv1_vulkan.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/ffv1_vulkan.c b/libavcodec/ffv1_vulkan.c index 6f49e2ebb1..a9f9f47f07 100644 --- a/libavcodec/ffv1_vulkan.c +++ b/libavcodec/ffv1_vulkan.c @@ -114,7 +114,12 @@ int ff_ffv1_vk_init_crc_table_data(FFVulkanContext *s, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)); RET(ff_vk_map_buffer(s, vkb, (void *)&buf_mapped, 0)); - memcpy(buf_mapped, av_crc_get_table(AV_CRC_32_IEEE), buf_len); + for (uint32_t i = 0; i < 256; i++) { + uint32_t c = i << 24; + for (int j = 0; j < 8; j++) + c = (c << 1) ^ (0x04C11DB7 & (((int32_t) c) >> 31)); + buf_mapped[i] = av_bswap32(c); + } RET(ff_vk_unmap_buffer(s, vkb, 1)); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
