[FFmpeg-devel] [PATCH 3/4] avcodec/h264dec: implement export of video coding info for H.264

2025-07-18 Thread Timothée Regaud
From: Timothee Regaud Hooks into the H.264 decoder to populate the new generic video coding info structures. It handles allocation of the side data buffer, collection of modes/MVs/refs for all macroblock types, and attach the final side data buffer to the output frame. This should serve as a

[FFmpeg-devel] [PATCH 4/4] vf_codecview: add support for AV_FRAME_DATA_VIDEO_CODING_INFO

2025-07-18 Thread Timothée Regaud
From: Timothee Regaud The filter now checks for AV_FRAME_DATA_VIDEO_CODING_INFO and contains a recursive logging function to traverse the block-partitioning tree. This demonstrates how a consumer would parse the new generic data structure. Signed-off-by: Timothee Regaud --- libavfilter/vf_co

[FFmpeg-devel] [PATCH 1/4] avutil: add generic side data for video coding info

2025-07-18 Thread Timothée Regaud
From: Timothee Regaud Adds the generic data structures to libavutil. The design is recursive to support other codecs, even though the implementation is only for H.264 for now. Signed-off-by: Timothee Regaud --- libavutil/Makefile| 1 + libavutil/frame.h | 7 ++ lib

[FFmpeg-devel] [PATCH 2/4] avcodec: add option to export video coding info

2025-07-18 Thread Timothée Regaud
From: Timothee Regaud Adds the AV_CODEC_EXPORT_DATA_VIDEO_CODING_INFO flag and the corresponding video_coding_info option to the options table, allowing users to enable this feature. Signed-off-by: Timothee Regaud --- libavcodec/avcodec.h | 6 ++ libavcodec/options_table.h | 1 + 2