lavc/videotoolboxenc: add hdr10, linear, hlg color transfer function for videotoolboxenc
authorLimin Wang <lance.lmwang@gmail.com>
Wed, 26 Jun 2019 10:57:59 +0000 (18:57 +0800)
committerRick Kern <rick@8birdsvideo.com>
Sun, 11 Aug 2019 14:52:15 +0000 (10:52 -0400)
commit391b67fcb58f95b5cc65b75070fd9a3dce4f8ac6
tree8da7dbd67da83ba13549e23b63dda59eb77164ed
parent33186028fcf7b248bcd70daf620e05353b68fbed
lavc/videotoolboxenc: add hdr10, linear, hlg color transfer function for videotoolboxenc

Below is the testing ffmpeg command for the setting:
./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 smpte2048.ts
./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl -color_trc linear linear.ts
./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl -color_trc arib-std-b67 hlg.ts

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Rick Kern <kernrj@gmail.com>
configure
libavcodec/videotoolboxenc.c