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

Git pushed a commit to branch master
in repository ffmpeg.

commit 546cf7181da7340e68d14965030fcc105bdb7f9b
Author:     James Almer <[email protected]>
AuthorDate: Mon Oct 5 17:08:04 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Mon Oct 12 10:37:15 2026 -0300

    avcodec/packet: add a Gain Map parameters side data type
    
    Mirroring the frame one. Will be used by demuxers as stream or stream group
    side data.
    
    Signed-off-by: James Almer <[email protected]>
---
 doc/APIchanges       | 3 +++
 libavcodec/avcodec.c | 1 +
 libavcodec/packet.c  | 1 +
 libavcodec/packet.h  | 7 +++++++
 libavcodec/version.h | 4 ++--
 5 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 9b8450890c..7d7956eac3 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2026-06-23.
 
 API changes, most recent first:
 
+2026-10-12 - xxxxxxxxxx - lavc 63.19.100 - packet.h
+  Add AV_PKT_DATA_GAIN_MAP_PARAMS.
+
 2026-10-12 - xxxxxxxxxx - lavf 63.10.100 - avformat.h
   Add AVStreamGroupEntry
   Add AV_STREAM_GROUP_ENTRY_STREAM and AV_STREAM_GROUP_ENTRY_STREAM_GROUP
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c
index 7c8f875e2b..80f2598a92 100644
--- a/libavcodec/avcodec.c
+++ b/libavcodec/avcodec.c
@@ -66,6 +66,7 @@ const SideDataMap ff_sd_global_map[] = {
     { 
AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT,AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT
 },
     { AV_PKT_DATA_3D_REFERENCE_DISPLAYS,      
AV_FRAME_DATA_3D_REFERENCE_DISPLAYS },
     { AV_PKT_DATA_EXIF,                       AV_FRAME_DATA_EXIF },
+    { AV_PKT_DATA_GAIN_MAP_PARAMS,            AV_FRAME_DATA_GAIN_MAP_PARAMS },
     { AV_PKT_DATA_NB },
 };
 
diff --git a/libavcodec/packet.c b/libavcodec/packet.c
index 49b5a814e3..dd11400d35 100644
--- a/libavcodec/packet.c
+++ b/libavcodec/packet.c
@@ -312,6 +312,7 @@ const char *av_packet_side_data_name(enum 
AVPacketSideDataType type)
     case AV_PKT_DATA_RTCP_SR:                    return "RTCP Sender Report";
     case AV_PKT_DATA_EXIF:                       return "EXIF metadata";
     case AV_PKT_DATA_HEVC_CONF:                  return "HEVC 
enhancement-layer decoder configuration";
+    case AV_PKT_DATA_GAIN_MAP_PARAMS:            return "Gain Map Parameters";
     }
     return NULL;
 }
diff --git a/libavcodec/packet.h b/libavcodec/packet.h
index 00774a7030..64f687a729 100644
--- a/libavcodec/packet.h
+++ b/libavcodec/packet.h
@@ -383,6 +383,13 @@ enum AVPacketSideDataType {
      */
     AV_PKT_DATA_HEVC_CONF,
 
+    /**
+     * Parameters describing how to combine this gain map with its base image
+     * to form an alternate rendition. The payload is the AVGainMapParams
+     * struct defined in libavutil/gain_map.h.
+     */
+    AV_PKT_DATA_GAIN_MAP_PARAMS,
+
     /**
      * The number of side data types.
      * This is not part of the public API/ABI in the sense that it may
diff --git a/libavcodec/version.h b/libavcodec/version.h
index d8604fd00c..4b7ec515fe 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,8 +29,8 @@
 
 #include "version_major.h"
 
-#define LIBAVCODEC_VERSION_MINOR  18
-#define LIBAVCODEC_VERSION_MICRO 101
+#define LIBAVCODEC_VERSION_MINOR  19
+#define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \

-- 
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