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/ref | |
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/ref')
-rw-r--r-- | test/ref/zimg_formats.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ref/zimg_formats.txt b/test/ref/zimg_formats.txt index ef5b650a3f..26d260a70e 100644 --- a/test/ref/zimg_formats.txt +++ b/test/ref/zimg_formats.txt @@ -74,8 +74,8 @@ grayf32be Zin Zout SWSin SWSout | mediacodec | mmal | - monob SWSin SWSout | - monow SWSin SWSout | + monob Zin Zout SWSin SWSout | + monow Zin Zout SWSin SWSout | nv12 Zin Zout SWSin SWSout | nv16 Zin Zout | nv20 Zin Zout | |