From 7cb83593c2a032e91f82a90d0a9de8cf4d0fb158 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 21 Apr 2020 22:56:45 +0200 Subject: img_format: add format description table for mpv-only formats Make this slightly less ad-hoc. Also correct the missing alpha flag for yap8/yap16. Despite reduced redundancy, the LOC is going up anyway... whatever. --- test/ref/img_formats.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ref/img_formats.txt b/test/ref/img_formats.txt index f65b54df7a..f2cd29012b 100644 --- a/test/ref/img_formats.txt +++ b/test/ref/img_formats.txt @@ -1061,14 +1061,14 @@ ya8: [GENERIC] ctype=uint 0: p=0 st=2 o=0 sh=0 d=8 1: p=0 st=2 o=1 sh=0 d=8 yap16: ctype=uint - Legacy desc: [ba][yuvp][yuv][le] + Legacy desc: [ba][a][yuvp][yuv][le] planes=2, chroma=0:0 align=1:1 bits=16 cbits=16 {2/16/[0:0] 2/16/[0:0] 0/0/[0:0] 0/0/[0:0] } Regular: planes=2 compbytes=2 bitpad=0 chroma=1x1 ctype=uint 0: {1} 1: {4} yap8: ctype=uint - Legacy desc: [ba][yuvp][yuv][le] + Legacy desc: [ba][a][yuvp][yuv][le] planes=2, chroma=0:0 align=1:1 bits=8 cbits=8 {1/8/[0:0] 1/8/[0:0] 0/0/[0:0] 0/0/[0:0] } Regular: planes=2 compbytes=1 bitpad=0 chroma=1x1 ctype=uint -- cgit v1.2.3