aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_mpeg4.c
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2016-04-24 17:30:56 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-29 14:23:41 +0200
commit19fcdd0c2f4c62695961413c9456ca525678879d (patch)
tree29c41df10d9e2ef2df5bb90ac94250a47c3d0d81 /libavcodec/vaapi_mpeg4.c
parent542cc06c649b6ea77b5313591ed8fe89ff987b0c (diff)
downloadffmpeg-19fcdd0c2f4c62695961413c9456ca525678879d.tar.gz
pgssubdec: fix subpicture output colorspace and range
Functionality used before didn't widen the values from limited to full range. Additionally, now the decoder uses BT.709 where it should be used according to the video resolution. Default for not yet set colorimetry is BT.709 due to most observed HDMV content being HD. BT.709 coefficients were gathered from the first two parts of BT.709 to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2). They were additionally confirmed by manually calculating values. Fixes #4637 (cherry picked from commit 9779b6262471d553c1ed811ff7312564e39d8adf) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vaapi_mpeg4.c')
0 files changed, 0 insertions, 0 deletions