avcodec/packet: add AV_PKT_DATA_HEVC_CONF side data type

Carries a raw HEVCDecoderConfigurationRecord for the Dolby Vision
enhancement layer, parsed from the hvcE box (ISOM) or the corresponding
BlockAdditionMapping (Matroska).
This commit is contained in:
Romain Beauxis
2026-05-30 17:37:28 +00:00
committed by toots
co-authored by toots
parent 8c86d82703
commit 5f6dff5e7d
4 changed files with 14 additions and 2 deletions
+3
View File
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28
API changes, most recent first:
2026-05-xx - xxxxxxxxxx - lavc 62.35.100 - packet.h
Add AV_PKT_DATA_HEVC_CONF side data type.
2026-05-14 - xxxxxxxxxxx - lavf 62.18.100 - avformat.h
Add AV_FDEBUG_ID3V2 debug flag, deprecate FF_FDEBUG_TS in favor of
AV_FDEBUG_TS.
+1
View File
@@ -311,6 +311,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type)
case AV_PKT_DATA_3D_REFERENCE_DISPLAYS: return "3D Reference Displays Info";
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";
}
return NULL;
}
+8
View File
@@ -375,6 +375,14 @@ enum AVPacketSideDataType {
*/
AV_PKT_DATA_DYNAMIC_HDR_SMPTE_2094_APP5,
/**
* Dolby Vision enhancement-layer HEVC decoder configuration.
* Parsed from the @c hvcE box in ISOM-based containers or the
* corresponding BlockAdditionMapping in Matroska. The data is a raw
* HEVCDecoderConfigurationRecord as defined in ISO 14496-15.
*/
AV_PKT_DATA_HEVC_CONF,
/**
* The number of side data types.
* This is not part of the public API/ABI in the sense that it may
+2 -2
View File
@@ -29,8 +29,8 @@
#include "version_major.h"
#define LIBAVCODEC_VERSION_MINOR 34
#define LIBAVCODEC_VERSION_MICRO 102
#define LIBAVCODEC_VERSION_MINOR 35
#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \