diff options
author | wm4 <wm4@nowhere> | 2020-04-13 20:42:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-13 20:42:34 +0200 |
commit | 7832204c99e78d021b6fbe1a6f996cc5c89fb054 (patch) | |
tree | 9a8d2807281ac13286a1a542f180efe3eca95fb2 /test/chmap.c | |
parent | afedaf3b61287b43b5ee4123b94b1ffcd7a506d4 (diff) | |
download | mpv-7832204c99e78d021b6fbe1a6f996cc5c89fb054.tar.bz2 mpv-7832204c99e78d021b6fbe1a6f996cc5c89fb054.tar.xz |
zimg: add support for 1 bit per pixel formats
Again worthless, slow, and only for libswscale parity.
With this, we support all formats libswscale supports, except bayer
input, and rgb4/bgr4 output. We even support some formats libswscale
doesn't.
It's possible that the zimg wrapper isn't always as fast as libswscale.
But there is optimization potential: the inner repack loops are
self-contained enough that they could be reasonably be implemented in
assembler (probably), and doing everything slice-wise should reduce the
overhead of the separate pack/unpack stages.
Diffstat (limited to 'test/chmap.c')
0 files changed, 0 insertions, 0 deletions