summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-04-13 20:05:38 +0200
committerwm4 <wm4@nowhere>2020-04-13 20:05:38 +0200
commitafedaf3b61287b43b5ee4123b94b1ffcd7a506d4 (patch)
tree4312e68d06b006c29903f2dcb7f38a84628716fc /test
parent30855638df313fd2d13739107c2ed39935a52eb3 (diff)
downloadmpv-afedaf3b61287b43b5ee4123b94b1ffcd7a506d4.tar.bz2
mpv-afedaf3b61287b43b5ee4123b94b1ffcd7a506d4.tar.xz
zimg: add packed YUV bullshit
Just lazily tested. The comment on AV_PIX_FMT_Y210LE seems to be wrong. It claims it's "like YUYV422", bit it seems more like YVYU422, at last the way libswscale input treats it. Maybe Intel pays its developers too much? The repacker inner lop is probably rather inefficient. In theory we could optimize it by reading the packed pixels as words, doing the component reshuffling using compile time values etc., but I'd rather keep the code size small. It's already bad enough that we have to support 16 bit per component variants, just because this one Intel guy couldn't keep it in his pants. In general, I can't be bothered to spend time on optimizing it; I'm only doing this for fun (i.e. masochistic obligation).
Diffstat (limited to 'test')
-rw-r--r--test/ref/zimg_formats.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ref/zimg_formats.txt b/test/ref/zimg_formats.txt
index 8d8300fc2a..ef5b650a3f 100644
--- a/test/ref/zimg_formats.txt
+++ b/test/ref/zimg_formats.txt
@@ -107,7 +107,7 @@
rgba Zin Zout SWSin SWSout |
rgba64 Zin Zout SWSin SWSout |
rgba64be Zin Zout SWSin SWSout |
- uyvy422 SWSin SWSout |
+ uyvy422 Zin Zout SWSin SWSout |
uyyvyy411 |
vaapi |
vaapi_idct |
@@ -119,8 +119,8 @@
xvmc |
xyz12 Zin Zout SWSin SWSout |
xyz12be Zin Zout SWSin SWSout |
- y210 SWSin |
- y210be |
+ y210 Zin Zout SWSin |
+ y210be Zin Zout |
ya16 Zin Zout SWSin SWSout |
ya16be Zin Zout SWSin SWSout |
ya8 Zin Zout SWSin SWSout |
@@ -194,5 +194,5 @@
yuvj411p Zin Zout SWSin SWSout |
yuvj422p Zin Zout SWSin SWSout |
yuvj440p Zin Zout SWSin SWSout |
- yuyv422 SWSin SWSout |
- yvyu422 SWSin SWSout |
+ yuyv422 Zin Zout SWSin SWSout |
+ yvyu422 Zin Zout SWSin SWSout |