Skip to content
Snippets Groups Projects
Commit 24de4fdd authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov
Browse files

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: default avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent bbc7cfbf
No related branches found
No related tags found
No related merge requests found
...@@ -134,6 +134,13 @@ enum AVFrameSideDataType { ...@@ -134,6 +134,13 @@ enum AVFrameSideDataType {
* the form of the AVContentLightMetadata struct. * the form of the AVContentLightMetadata struct.
*/ */
AV_FRAME_DATA_CONTENT_LIGHT_LEVEL, 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 { enum AVActiveFormatDescription {
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
#define LIBAVUTIL_VERSION_MAJOR 55 #define LIBAVUTIL_VERSION_MAJOR 55
#define LIBAVUTIL_VERSION_MINOR 68 #define LIBAVUTIL_VERSION_MINOR 69
#define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment