summaryrefslogtreecommitdiff
path: root/libavutil/frame.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-07-20 21:46:21 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-07-25 20:11:06 +0100
commit24de4fddcad9ae7ee598ff5984e013af14f10c2f (patch)
treea540f590b40996bf04f78e53981f83c7673b3046 /libavutil/frame.h
parentbbc7cfbf1e0b02323d4af512612342d2627080d8 (diff)
lavu/frame: add new side data type for ICC profiles
Many image formats support embedding of ICC profiles directly in their bitstreams. Add a new side data type to allow exposing them to API users. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r--libavutil/frame.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 26261d7e40..5a987a1dfa 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -134,6 +134,13 @@ enum AVFrameSideDataType {
* the form of the AVContentLightMetadata struct.
*/
AV_FRAME_DATA_CONTENT_LIGHT_LEVEL,
+
+ /**
+ * The data contains an ICC profile as an opaque octet buffer following the
+ * format described by ISO 15076-1 with an optional name defined in the
+ * metadata key entry "name".
+ */
+ AV_FRAME_DATA_ICC_PROFILE,
};
enum AVActiveFormatDescription {