This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 4406f5ba5b295aaaec6835558aaea7d47997d2cb
Author:     Lynne <[email protected]>
AuthorDate: Wed May 27 02:28:23 2026 +0900
Commit:     Lynne <[email protected]>
CommitDate: Wed Jun 10 02:38:36 2026 +0900

    prores_raw: document vendor-specific metadata location
---
 libavcodec/prores_raw.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/libavcodec/prores_raw.c b/libavcodec/prores_raw.c
index 7570142e3a..28f9b54a59 100644
--- a/libavcodec/prores_raw.c
+++ b/libavcodec/prores_raw.c
@@ -517,6 +517,20 @@ static int decode_frame(AVCodecContext *avctx,
     }
     av_assert1(n == s->nb_tiles);
 
+    /**
+     * Any data between last tile and frame end is vendor-specific metadata:
+     * [psim record]  4 be32 size + "psim" + pascal string + payload
+     * <more records, if any>, or:
+     * [eomd]         4 be32 size=8 + "eomd" fourcc (end of metadata)
+     * [padding]      zero-fill to next-frame alignment
+     *
+     * Known records (feel free to extend):
+     * com.panasonic.Semi-Pro.optical_correction (IEEE doubles):
+     *     R - radial polynomial? + padding: [ k0, k1, k2, k3, pad0, pad1 ]
+     *     G, B: same
+     *     Trailer: optical center in normalized frame coords: [ x, y ]
+     */
+
     ret = ff_thread_get_buffer(avctx, frame, 0);
     if (ret < 0)
         return ret;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to