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

Git pushed a commit to branch master
in repository ffmpeg.

commit a28964729781a79e3668f441fde4a9025e537d3e
Author:     guy-with-a-why <[email protected]>
AuthorDate: Tue Aug 25 14:09:12 2026 +0100
Commit:     Timo Rothenpieler <[email protected]>
CommitDate: Mon Aug 31 18:13:21 2026 +0000

    avcodec/h264dec: add data partitioning fields to H264SliceContext
    
    A partitioned slice carries its residual in NAL units of its own, so
    the decoder needs a bit reader per partition next to the one for
    partition A. They are values rather than pointers because the slice
    context is memcpy'd when slices are reordered.
    
    Signed-off-by: guy-with-a-why <[email protected]>
---
 libavcodec/h264dec.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
index 74fd09dfaa..4b3e423741 100644
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -180,6 +180,15 @@ typedef struct H264SliceContext {
     GetBitContext gb;
     ERContext *er;
 
+    /* Data partitioning: residual comes from gb_dpb (intra) or gb_dpc (inter),
+     * chosen per macroblock. Values not pointers: this struct is memcpy'd. */
+    GetBitContext gb_dpb;
+    GetBitContext gb_dpc;
+    int data_partitioning;
+    int dpb_available;
+    int dpc_available;
+    unsigned slice_id;
+
     int slice_num;
     int slice_type;
     int slice_type_nos;         ///< S free slice type (SI/SP are remapped to 
I/P)

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to