avcodec: Pass HDR10+ metadata to packet side data in VP9 encoder

HDR10+ metadata is stored in the bit stream for HEVC. The story is
different for VP9 and cannot store the metadata in the bit stream.
HDR10+ should be passed to packet side data an stored in the container
(mkv) for VP9.

This CL is taking HDR10+ from AVFrame side data in libvpxenc and is
passing it to the AVPacket side data.

Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Zern <jzern@google.com>
This commit is contained in:
Mohammad Izadi
2021-06-17 22:20:44 -07:00
committed by James Zern
parent 947122f111
commit aca923b365
6 changed files with 105 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-06-17 - xxxxxxxxxx - lavc 59.2.100 - packet.h
Add AV_PKT_DATA_DYNAMIC_HDR10_PLUS
2021-06-09 - xxxxxxxxxx - lavf 59.3.100 - avformat.h
Add pts_wrap_bits to AVStream