[FFmpeg-cvslog] avcodec/jpegxl_parser: fix a compile error
ffmpeg | branch: master | Tong Wu | Mon Aug 28 15:14:11 2023 +0800| [a25a60d763061da695c3c563dcafbf392aea5579] | committer: James Almer avcodec/jpegxl_parser: fix a compile error Compiler: MSVC 14.35.32215 Error type: error C2099: initializer is not a constant Related commit: 0c0dd23 avcodec/jpegxl_parser: add JPEG XL parser Signed-off-by: Tong Wu Signed-off-by: James Almer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a25a60d763061da695c3c563dcafbf392aea5579 --- libavcodec/jpegxl_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c index 66e64b1074..20c8a41a89 100644 --- a/libavcodec/jpegxl_parser.c +++ b/libavcodec/jpegxl_parser.c @@ -49,7 +49,7 @@ #define clog1p(x) (ff_log2(x) + !!(x)) #define unpack_signed(x) (((x) & 1 ? -(x)-1 : (x))/2) #define div_ceil(x, y) (((x) - 1) / (y) + 1) -#define vlm(a,b) (VLCElem){.sym = (a), .len = (b)} +#define vlm(a,b) {.sym = (a), .len = (b)} typedef struct JXLHybridUintConf { int split_exponent; ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] vulkan: do not leak bound_buffer_indices
ffmpeg | branch: master | Lynne | Sat Aug 26 21:53:03 2023 +| [d0a64f9a81530436e3b3e86767f51d481d3ce4a8] | committer: Lynne vulkan: do not leak bound_buffer_indices > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0a64f9a81530436e3b3e86767f51d481d3ce4a8 --- libavutil/vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 00a7b5b801..dec8ccad64 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1884,6 +1884,7 @@ void ff_vk_pipeline_free(FFVulkanContext *s, FFVulkanPipeline *pl) av_freep(>desc_set); av_freep(>desc_bind); +av_freep(>bound_buffer_indices); av_freep(>push_consts); pl->push_consts_num = 0; } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] lavfi/scale_vulkan: fix memory leaks
ffmpeg | branch: master | Lynne | Sat Aug 26 21:52:13 2023 +| [d0ab2e2f98a220f87fd5d581c7e0e13cfe366f4b] | committer: Lynne lavfi/scale_vulkan: fix memory leaks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0ab2e2f98a220f87fd5d581c7e0e13cfe366f4b --- libavfilter/vf_scale_vulkan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index 6699bab934..14f471b819 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_scale_vulkan.c @@ -256,8 +256,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) s->initialized = 1; -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] lavfi/transpose_vulkan: fix memory leaks
ffmpeg | branch: master | Lynne | Sat Aug 26 21:52:22 2023 +| [3ef1e50c922afa69404c07486a2251d5795f3c85] | committer: Lynne lavfi/transpose_vulkan: fix memory leaks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ef1e50c922afa69404c07486a2251d5795f3c85 --- libavfilter/vf_transpose_vulkan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_transpose_vulkan.c b/libavfilter/vf_transpose_vulkan.c index 3abe93be0b..c9a520ce5f 100644 --- a/libavfilter/vf_transpose_vulkan.c +++ b/libavfilter/vf_transpose_vulkan.c @@ -121,8 +121,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) s->initialized = 1; -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] lavfi/testsrc_vulkan: fix memory leaks
ffmpeg | branch: master | Lynne | Sat Aug 26 21:52:34 2023 +| [5f8feddd6a09214816e8fd0e674df6fc5e33732d] | committer: Lynne lavfi/testsrc_vulkan: fix memory leaks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f8feddd6a09214816e8fd0e674df6fc5e33732d --- libavfilter/vsrc_testsrc_vulkan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vsrc_testsrc_vulkan.c b/libavfilter/vsrc_testsrc_vulkan.c index 8485fa498d..8761c21dfd 100644 --- a/libavfilter/vsrc_testsrc_vulkan.c +++ b/libavfilter/vsrc_testsrc_vulkan.c @@ -189,8 +189,6 @@ static av_cold int init_filter(AVFilterContext *ctx, enum TestSrcVulkanMode mode s->initialized = 1; -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] lavfi/nlmeans_vulkan: fix memory leaks
ffmpeg | branch: master | Lynne | Sat Aug 26 21:52:04 2023 +| [0f2ae1ba6939a1dede0cf02e43daf50218416093] | committer: Lynne lavfi/nlmeans_vulkan: fix memory leaks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f2ae1ba6939a1dede0cf02e43daf50218416093 --- libavfilter/vf_nlmeans_vulkan.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_nlmeans_vulkan.c b/libavfilter/vf_nlmeans_vulkan.c index 7da31b73f5..99f4f867e7 100644 --- a/libavfilter/vf_nlmeans_vulkan.c +++ b/libavfilter/vf_nlmeans_vulkan.c @@ -424,8 +424,6 @@ static av_cold int init_weights_pipeline(FFVulkanContext *vkctx, FFVkExecPool *e RET(ff_vk_init_compute_pipeline(vkctx, pl, shd)); RET(ff_vk_exec_pipeline_register(vkctx, exec, pl)); -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); @@ -570,8 +568,6 @@ static av_cold int init_denoise_pipeline(FFVulkanContext *vkctx, FFVkExecPool *e RET(ff_vk_init_compute_pipeline(vkctx, pl, shd)); RET(ff_vk_exec_pipeline_register(vkctx, exec, pl)); -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); @@ -671,8 +667,6 @@ static av_cold int init_filter(AVFilterContext *ctx) s->initialized = 1; -return 0; - fail: if (spv) spv->uninit(); @@ -1065,6 +1059,9 @@ static void nlmeans_vulkan_uninit(AVFilterContext *avctx) ff_vk_uninit(>vkctx); +av_freep(>xoffsets); +av_freep(>yoffsets); + s->initialized = 0; } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] lavfi/bwdif_vulkan: fix memory leaks
ffmpeg | branch: master | Lynne | Sat Aug 26 21:51:36 2023 +| [a4673c9dff2432d5cc903d345cd62c83d7436a94] | committer: Lynne lavfi/bwdif_vulkan: fix memory leaks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a4673c9dff2432d5cc903d345cd62c83d7436a94 --- libavfilter/vf_bwdif_vulkan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_bwdif_vulkan.c b/libavfilter/vf_bwdif_vulkan.c index db916b22cd..f1623e6ef7 100644 --- a/libavfilter/vf_bwdif_vulkan.c +++ b/libavfilter/vf_bwdif_vulkan.c @@ -252,8 +252,6 @@ static av_cold int init_filter(AVFilterContext *ctx) s->initialized = 1; -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] lavfi/chromaber_vulkan: fix memory leaks
ffmpeg | branch: master | Lynne | Sat Aug 26 21:51:55 2023 +| [9944e96c61739514ffa99f0e9229b342b3d5ff45] | committer: Lynne lavfi/chromaber_vulkan: fix memory leaks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9944e96c61739514ffa99f0e9229b342b3d5ff45 --- libavfilter/vf_chromaber_vulkan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_chromaber_vulkan.c b/libavfilter/vf_chromaber_vulkan.c index 8b196f149e..0b96a7400f 100644 --- a/libavfilter/vf_chromaber_vulkan.c +++ b/libavfilter/vf_chromaber_vulkan.c @@ -156,8 +156,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) s->initialized = 1; -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] vulkan: do not leak cooperative matrix properties
ffmpeg | branch: master | Lynne | Sat Aug 26 23:20:47 2023 +0200| [747871a42c0021fd82f0ca806b8419a29f627d7f] | committer: Lynne vulkan: do not leak cooperative matrix properties > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=747871a42c0021fd82f0ca806b8419a29f627d7f --- libavutil/vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 684b92de57..8e36ba508c 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1893,6 +1893,7 @@ void ff_vk_uninit(FFVulkanContext *s) av_freep(>query_props); av_freep(>qf_props); av_freep(>video_props); +av_freep(>coop_mat_props); av_buffer_unref(>frames_ref); } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] lavfi/avgblur_vulkan: fix memory leaks
ffmpeg | branch: master | Lynne | Sat Aug 26 21:51:19 2023 +| [b6cc53092aeac94938b5e28fe4435ceee365bbcb] | committer: Lynne lavfi/avgblur_vulkan: fix memory leaks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6cc53092aeac94938b5e28fe4435ceee365bbcb --- libavfilter/vf_avgblur_vulkan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c index ae32cd7324..6bc1b616a6 100644 --- a/libavfilter/vf_avgblur_vulkan.c +++ b/libavfilter/vf_avgblur_vulkan.c @@ -153,8 +153,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) s->opts.filter_norm[2] = s->opts.filter_norm[0]; s->opts.filter_norm[3] = s->opts.filter_norm[0]; -return 0; - fail: if (spv_opaque) spv->free_shader(spv, _opaque); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-cvslog] vulkan: check for extension rather than function pointer
ffmpeg | branch: master | Lynne | Mon Aug 28 22:20:45 2023 +0200| [f6cf3a40e479b5f1e98b11cf6c816baf34cb3bac] | committer: Lynne vulkan: check for extension rather than function pointer The loader ensures only that functions with tagged supported extensions exist, rather than ensuring only those with supported extensions are loaded. As the init function uses Vulkan functions, whose loading requires them to have the extension flags set, the extension flags are guaranteed to also exist at this point. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f6cf3a40e479b5f1e98b11cf6c816baf34cb3bac --- libavutil/vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 8e36ba508c..00a7b5b801 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -165,7 +165,7 @@ int ff_vk_load_props(FFVulkanContext *s) vk->GetPhysicalDeviceQueueFamilyProperties2(s->hwctx->phys_dev, >tot_nb_qfs, s->qf_props); -if (vk->GetPhysicalDeviceCooperativeMatrixPropertiesKHR) { +if (s->extensions & FF_VK_EXT_COOP_MATRIX) { vk->GetPhysicalDeviceCooperativeMatrixPropertiesKHR(s->hwctx->phys_dev, >coop_mat_props_nb, NULL); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".