History

avcodec/packet: add IAMF Parameters side data types

James Almer committed 2 years ago

Commit 12eac231 parent ed670b94 files · +32 −1Browse files

Unified · Split

4 files
  1. doc/APIchanges +4 −0
  2. libavcodec/avpacket.c +3 −0
  3. libavcodec/packet.h +24 −0
  4. libavcodec/version.h +1 −1
doc/APIchanges+4−0
@@ -2,6 +2,10 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line
22
33 API changes, most recent first:
44
5+2023-12-18 - 74279227dd2 - lavc 60.36.100 - packet.h
6+ Add AV_PKT_DATA_IAMF_MIX_GAIN_PARAM, AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM
7+ and AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM.
8+
59 2023-12-18 - xxxxxxxxxxx - lavc 60.19.100 - avformat.h
610 Add AVStreamGroup struct.
711 Add AVFormatContext.stream_groups and AVFormatContext.nb_stream_groups
libavcodec/avpacket.c+3−0
@@ -301,6 +301,9 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type) · 300 unmodified lines
301301 case AV_PKT_DATA_DOVI_CONF: return "DOVI configuration record";
302302 case AV_PKT_DATA_S12M_TIMECODE: return "SMPTE ST 12-1:2014 timecode";
303303 case AV_PKT_DATA_DYNAMIC_HDR10_PLUS: return "HDR10+ Dynamic Metadata (SMPTE 2094-40)";
304+ case AV_PKT_DATA_IAMF_MIX_GAIN_PARAM: return "IAMF Mix Gain Parameter Data";
305+ case AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM: return "IAMF Demixing Info Parameter Data";
306+ case AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM: return "IAMF Recon Gain Info Parameter Data";
304307 }
305308 return NULL;
306309 }
libavcodec/packet.h+24−0
@@ -299,6 +299,30 @@ enum AVPacketSideDataType { · 298 unmodified lines
299299 */
300300 AV_PKT_DATA_DYNAMIC_HDR10_PLUS,
301301
302+ /**
303+ * IAMF Mix Gain Parameter Data associated with the audio frame. This metadata
304+ * is in the form of the AVIAMFParamDefinition struct and contains information
305+ * defined in sections 3.6.1 and 3.8.1 of the Immersive Audio Model and
306+ * Formats standard.
307+ */
308+ AV_PKT_DATA_IAMF_MIX_GAIN_PARAM,
309+
310+ /**
311+ * IAMF Demixing Info Parameter Data associated with the audio frame. This
312+ * metadata is in the form of the AVIAMFParamDefinition struct and contains
313+ * information defined in sections 3.6.1 and 3.8.2 of the Immersive Audio Model
314+ * and Formats standard.
315+ */
316+ AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM,
317+
318+ /**
319+ * IAMF Recon Gain Info Parameter Data associated with the audio frame. This
320+ * metadata is in the form of the AVIAMFParamDefinition struct and contains
321+ * information defined in sections 3.6.1 and 3.8.3 of the Immersive Audio Model
322+ * and Formats standard.
323+ */
324+ AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM,
325+
302326 /**
303327 * The number of side data types.
304328 * This is not part of the public API/ABI in the sense that it may
libavcodec/version.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929
3030 #include "version_major.h"
3131
32−#define LIBAVCODEC_VERSION_MINOR 35
32+#define LIBAVCODEC_VERSION_MINOR 36
3333 #define LIBAVCODEC_VERSION_MICRO 100
3434
3535 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t