diff options
author | wm4 <wm4@nowhere> | 2020-02-10 17:45:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-10 17:45:20 +0100 |
commit | c31661466b8a7efcad418a0ba49f632ea035b2e4 (patch) | |
tree | b05d9c2fd1f358719076e8551cba549e8ec92572 /video/mp_image.h | |
parent | a841fe9484c203ca3492d8a5f88f60f8534c853b (diff) | |
download | mpv-c31661466b8a7efcad418a0ba49f632ea035b2e4.tar.bz2 mpv-c31661466b8a7efcad418a0ba49f632ea035b2e4.tar.xz |
zimg: fix some confusion about plane permutation
We reorder the planes between mpv and zimg conventions. It turns out the
code still confused when which convention was used.
So the way it actually works is that the _only_ place where zimg order
is used is the zimg_image_buffer.plane[] array. plane_aligned[] and
zmask[] were accessed incorrectly, although I guess it rarely had a
reason to fail (plane reordering is mostly for RGB, which has planes of
all the same size).
Adjust some comments accordingly too.
Diffstat (limited to 'video/mp_image.h')
0 files changed, 0 insertions, 0 deletions