avutil: Add Dolby Vision RPU side data type

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
pull/374/head
Derek Buitenhuis 3 years ago
parent be43eacb7e
commit 54e65aa38a
  1. 3
      doc/APIchanges
  2. 1
      libavutil/frame.c
  3. 7
      libavutil/frame.h
  4. 2
      libavutil/version.h

@ -14,6 +14,9 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-11-17 - xxxxxxxxxx - lavf 57.9.100 - frame.h
Add AV_FRAME_DATA_DOVI_RPU_BUFFER.
2021-11-xx - xxxxxxxxxx - lavf 59.9.100 - avformat.h
Add av_stream_get_class(). Schedule adding AVStream.av_class at libavformat
major version 60.

@ -728,6 +728,7 @@ const char *av_frame_side_data_name(enum AVFrameSideDataType type)
case AV_FRAME_DATA_SEI_UNREGISTERED: return "H.26[45] User Data Unregistered SEI message";
case AV_FRAME_DATA_FILM_GRAIN_PARAMS: return "Film grain parameters";
case AV_FRAME_DATA_DETECTION_BBOXES: return "Bounding boxes for object detection and classification";
case AV_FRAME_DATA_DOVI_RPU_BUFFER: return "Dolby Vision RPU Data";
}
return NULL;
}

@ -187,6 +187,13 @@ enum AVFrameSideDataType {
* as described by AVDetectionBBoxHeader.
*/
AV_FRAME_DATA_DETECTION_BBOXES,
/**
* Dolby Vision RPU data, suitable for passing to x265
* or other libraries. Array of uint8_t, with NAL emulation
* bytes intact.
*/
AV_FRAME_DATA_DOVI_RPU_BUFFER,
};
enum AVActiveFormatDescription {

@ -79,7 +79,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 57
#define LIBAVUTIL_VERSION_MINOR 8
#define LIBAVUTIL_VERSION_MINOR 9
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \

Loading…
Cancel
Save