diff options
author | wm4 <wm4@nowhere> | 2013-07-18 13:52:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-18 13:52:38 +0200 |
commit | eb7959e43a0bea2cfa13ff825043cb33878e58b4 (patch) | |
tree | d6df8b1796825d23906bac6cbb3c61993ec4b60b /audio/filter/af_bs2b.c | |
parent | a1fd8c6953a6b5b5fba28eca58dd8a49f512f29f (diff) | |
download | mpv-eb7959e43a0bea2cfa13ff825043cb33878e58b4.tar.bz2 mpv-eb7959e43a0bea2cfa13ff825043cb33878e58b4.tar.xz |
gl_video: add support for more rgb formats
Until now, only formats directly supported by OpenGL were supported.
This excludes various permutations of 8-bit RGB[A|0]. But we can simply
permutate the color channels in the shader, so do that. This also adds
support for all these weird RGB0 formats.
Note that we could use libavutil's pixfmt list instead of the
mp_packed_formats array, but trying to decrypt the pixfmt info would
probably end in pain, so this array with duplicated information is
actually better and shorter.
Note: I didn't actually test whether the alpha components are reproduced
correctly with alpha formats.
Diffstat (limited to 'audio/filter/af_bs2b.c')
0 files changed, 0 insertions, 0 deletions