summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2016-06-28 01:18:55 +0200
committerwm4 <wm4@nowhere>2016-06-28 19:48:29 +0200
commitf9fe5d06ad8ba5f8aa6068dd3c6a1a9fc6332707 (patch)
tree5f43576a6def8301585c4dbf1741c2abb73ee0b3 /video/csputils.h
parentf3b6966d14e8cb34477474b85c83beb46e542e70 (diff)
downloadmpv-f9fe5d06ad8ba5f8aa6068dd3c6a1a9fc6332707.tar.bz2
mpv-f9fe5d06ad8ba5f8aa6068dd3c6a1a9fc6332707.tar.xz
vo_opengl: use image_params instead of *_src for autoconfig
I'm not even sure why we ever consulted *_src to begin with, since that just describes the current image format - and not the original metadata. (And in fact, we specifically had logic to work around the impliciations this had on linear scaling) image_params is *the* authoritative source on the intended (i.e. reference) image metadata, whereas *_src may be changed by previous passes already. So only consult image_params for picking auto-generated values. Also, add some more missing "wide gamut" and "non-gamma" curves to the autoconfig blacklist. (Maybe it would make sense to move this list to csputils in the future? Or perhaps even auto-detect it based on the associated primaries)
Diffstat (limited to 'video/csputils.h')
0 files changed, 0 insertions, 0 deletions