summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/superxbr.h
Commit message (Collapse)AuthorAgeFilesLines
* vo_opengl: fix 10-bit video prescalingBin Jin2015-11-091-1/+1
| | | | | | | | | | | 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
* vo_opengl: add Super-xBR filter for upscalingBin Jin2015-11-051-0/+36
Add the Super-xBR filter for image doubling, and the prescaling framework to support it. The shader code was ported from MPDN extensions project, with modification to process luma only. This commit is largely inspired by code from #2266, with `gl_transform_trans()` authored by @haasn taken directly.