summaryrefslogtreecommitdiffstats
path: root/video/decode/dxva2.c
diff options
context:
space:
mode:
authorBin Jin <bjin1990@gmail.com>2015-11-09 21:39:06 +0000
committerwm4 <wm4@nowhere>2015-11-09 22:48:40 +0100
commit03bbaad686432b6f98c8bfc45206aea55ebe7ebc (patch)
tree70bee3225341a9a25d4114a16e8f50b9eb58a263 /video/decode/dxva2.c
parent3dc0f2ecf033718a3a5d4b7acc41d144839fb7dc (diff)
downloadmpv-03bbaad686432b6f98c8bfc45206aea55ebe7ebc.tar.bz2
mpv-03bbaad686432b6f98c8bfc45206aea55ebe7ebc.tar.xz
vo_opengl: fix 10-bit video prescaling
The nnedi3 prescaler requires a normalized range to work properly, but the original implementation did the range normalization after the first step of the first pass. This could lead to severe quality degradation when debanding is not enabled for NNEDI3. Fix this issue by passing `tex_mul` into the shader code. Fixes #2464
Diffstat (limited to 'video/decode/dxva2.c')
0 files changed, 0 insertions, 0 deletions