This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7f2783dcef839419a5ca339669a909a223da7b3e Author: Lynne <[email protected]> AuthorDate: Wed Dec 31 14:57:17 2025 +0100 Commit: Lynne <[email protected]> CommitDate: Wed Dec 31 15:00:47 2025 +0100 vulkan_prores_raw: avoid long lines Just some tidying up. --- libavcodec/vulkan_prores_raw.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/libavcodec/vulkan_prores_raw.c b/libavcodec/vulkan_prores_raw.c index 8ccaf1c07f..aa2b698925 100644 --- a/libavcodec/vulkan_prores_raw.c +++ b/libavcodec/vulkan_prores_raw.c @@ -114,7 +114,8 @@ static int vk_prores_raw_decode_slice(AVCodecContext *avctx, FFVkBuffer *frame_data_buf = (FFVkBuffer *)pp->frame_data_buf->data; TileData *td = (TileData *)frame_data_buf->mapped_mem; - FFVkBuffer *slices_buf = vp->slices_buf ? (FFVkBuffer *)vp->slices_buf->data : NULL; + FFVkBuffer *slices_buf = vp->slices_buf ? + (FFVkBuffer *)vp->slices_buf->data : NULL; td[pp->nb_tiles].pos[0] = prr->tiles[pp->nb_tiles].x; td[pp->nb_tiles].pos[1] = prr->tiles[pp->nb_tiles].y; @@ -292,19 +293,19 @@ static int add_common_data(AVCodecContext *avctx, FFVulkanContext *s, /* Common codec header */ GLSLD(ff_source_common_comp); - GLSLC(0, struct TileData { ); - GLSLC(1, ivec2 pos; ); - GLSLC(1, uint offset; ); - GLSLC(1, uint size; ); - GLSLC(0, }; ); - GLSLC(0, ); - GLSLC(0, layout(push_constant, scalar) uniform pushConstants { ); - GLSLC(1, u8buf pkt_data; ); - GLSLC(1, ivec2 frame_size; ); - GLSLC(1, ivec2 tile_size; ); - GLSLC(1, uint8_t qmat[64]; ); - GLSLC(0, }; ); - GLSLC(0, ); + GLSLC(0, struct TileData { ); + GLSLC(1, ivec2 pos; ); + GLSLC(1, uint offset; ); + GLSLC(1, uint size; ); + GLSLC(0, }; ); + GLSLC(0, ); + GLSLC(0, layout(push_constant, scalar) uniform pushConstants { ); + GLSLC(1, u8buf pkt_data; ); + GLSLC(1, ivec2 frame_size; ); + GLSLC(1, ivec2 tile_size; ); + GLSLC(1, uint8_t qmat[64]; ); + GLSLC(0, }; ); + GLSLC(0, ); ff_vk_shader_add_push_const(shd, 0, sizeof(DecodePushData), VK_SHADER_STAGE_COMPUTE_BIT); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
