swscale: Properly scale YUV
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 2 Dec 2014 17:08:24 +0000 (17:08 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 5 Dec 2014 13:03:49 +0000 (13:03 +0000)
commit33c827f632f95ffe3399b695a5a0d47b366b6e20
treeb03de4a2e8709c03a102eff20e3bd40a8225e9b1
parent8c0a865ad96b9e8542051f75b0edc424cb73994e
swscale: Properly scale YUV

Only shift limited range luma, and always only shift chroma
for upconversion.

Based off a patch by Michael Niedermayer.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 files changed:
libswscale/swscale_unscaled.c
tests/ref/fate/filter-pixdesc-yuv420p10be
tests/ref/fate/filter-pixdesc-yuv420p10le
tests/ref/fate/filter-pixdesc-yuv420p9be
tests/ref/fate/filter-pixdesc-yuv420p9le
tests/ref/fate/filter-pixdesc-yuva420p10be
tests/ref/fate/filter-pixdesc-yuva420p10le
tests/ref/fate/filter-pixdesc-yuva420p9be
tests/ref/fate/filter-pixdesc-yuva420p9le
tests/ref/fate/filter-pixfmts-copy
tests/ref/fate/filter-pixfmts-null
tests/ref/fate/filter-pixfmts-scale
tests/ref/fate/filter-pixfmts-vflip
tests/ref/fate/v210