summaryrefslogtreecommitdiff
path: root/libavutil/frame.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-01-03 09:55:11 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-04 11:59:02 +0100
commit78dc21b123e71ef49f45390d826a1c25e3805ec7 (patch)
tree10f9589d0795aa41370d77d1907e7e35e13b6382 /libavutil/frame.h
parent20b0b2be6c6f7c2c3949e4e004fad78748e76b9b (diff)
downloadffmpeg-78dc21b123e71ef49f45390d826a1c25e3805ec7.tar.gz
lavu/frame: Add Dolby Vision metadata side data type
In order to be able to extend this struct later (as the Dolby Vision RPU evolves), all of the 'container' structs are considered extensible, and the individual constituent fields must instead be accessed via offsets. The precedent for this style of access is set in <libavutil/detection_bbox.h> Signed-off-by: Niklas Haas <git@haasn.dev> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r--libavutil/frame.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 3f295f6b9e..18e239f870 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -189,11 +189,18 @@ enum AVFrameSideDataType {
AV_FRAME_DATA_DETECTION_BBOXES,
/**
- * Dolby Vision RPU data, suitable for passing to x265
+ * Dolby Vision RPU raw data, suitable for passing to x265
* or other libraries. Array of uint8_t, with NAL emulation
* bytes intact.
*/
AV_FRAME_DATA_DOVI_RPU_BUFFER,
+
+ /**
+ * Parsed Dolby Vision metadata, suitable for passing to a software
+ * implementation. The payload is the AVDOVIMetadata struct defined in
+ * libavutil/dovi_meta.h.
+ */
+ AV_FRAME_DATA_DOVI_METADATA,
};
enum AVActiveFormatDescription {