Commit 0e1db79e authored by Jun Zhao's avatar Jun Zhao

lavc: add a new sidedata type for DOVI

add a new sidedata type for DOVI.
Signed-off-by: 's avatarJun Zhao <barryjzhao@tencent.com>
parent f163d30d
...@@ -396,6 +396,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type) ...@@ -396,6 +396,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type)
case AV_PKT_DATA_ENCRYPTION_INFO: return "Encryption info"; case AV_PKT_DATA_ENCRYPTION_INFO: return "Encryption info";
case AV_PKT_DATA_AFD: return "Active Format Description data"; case AV_PKT_DATA_AFD: return "Active Format Description data";
case AV_PKT_DATA_ICC_PROFILE: return "ICC Profile"; case AV_PKT_DATA_ICC_PROFILE: return "ICC Profile";
case AV_PKT_DATA_DOVI_CONF: return "DOVI configuration record";
} }
return NULL; return NULL;
} }
......
...@@ -273,6 +273,15 @@ enum AVPacketSideDataType { ...@@ -273,6 +273,15 @@ enum AVPacketSideDataType {
*/ */
AV_PKT_DATA_ICC_PROFILE, AV_PKT_DATA_ICC_PROFILE,
/**
* DOVI configuration
* ref:
* dolby-vision-bitstreams-within-the-iso-base-media-file-format-v2.1.2, section 2.2
* dolby-vision-bitstreams-in-mpeg-2-transport-stream-multiplex-v1.2, section 3.3
* Tags are stored in struct AVDOVIDecoderConfigurationRecord.
*/
AV_PKT_DATA_DOVI_CONF,
/** /**
* The number of side data types. * The number of side data types.
* This is not part of the public API/ABI in the sense that it may * This is not part of the public API/ABI in the sense that it may
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment