diff options
author | wm4 <wm4@nowhere> | 2020-04-23 13:10:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-23 13:26:07 +0200 |
commit | a854aa234d6cfca398be7cfa4c58a8c9a37f0a53 (patch) | |
tree | e14552e49da879ec75c8904acf66b5094d7cc01d /filters/filter_internal.h | |
parent | 89329f44a4db0bdbdfcc6131ebc3f61d4849c408 (diff) | |
download | mpv-a854aa234d6cfca398be7cfa4c58a8c9a37f0a53.tar.bz2 mpv-a854aa234d6cfca398be7cfa4c58a8c9a37f0a53.tar.xz |
zimg: slightly cleanup some mpv format handling nonsense
Move lookup GBRP or planar gray/alpha formats to separate functions in
some cases.
Make setup_regular_rgb_packer() not use a 4:4:4 YUV format to "pass"
RGB. This was used as a "trick" to avoid the stupid GBRP plane
permutation, but it confused severely, so get rid of it. Just do the
reordering, even if the zimg wrapper itself will reorder it back (which
is so stupid that I used the other approach at first). The comment
saying IMGFMT_420P was bogus of course; typically it was IMGFMT_444P.
Diffstat (limited to 'filters/filter_internal.h')
0 files changed, 0 insertions, 0 deletions