Skip to content

Commit

Permalink
Put reference bitmaps into repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mikrosk committed Oct 23, 2022
1 parent d639475 commit 0cd7be2
Show file tree
Hide file tree
Showing 98 changed files with 77 additions and 83 deletions.
Binary file added ushow/tests/bpp.16/test-1.c16
Binary file not shown.
Binary file added ushow/tests/bpp.16/test-2.c16
Binary file not shown.
Binary file added ushow/tests/bpp.16/test-3.c16
Binary file not shown.
Binary file added ushow/tests/bpp.16/test-4.c16
Binary file not shown.
Binary file added ushow/tests/bpp.24/test-1.c24
Binary file not shown.
Binary file added ushow/tests/bpp.24/test-2.c24
Binary file not shown.
Binary file added ushow/tests/bpp.24/test-3.c24
Binary file not shown.
Binary file added ushow/tests/bpp.24/test-4.c24
Binary file not shown.
Binary file added ushow/tests/bpp.32/test-1.c32
Binary file not shown.
Binary file added ushow/tests/bpp.32/test-2.c32
Binary file not shown.
Binary file added ushow/tests/bpp.32/test-3.c32
Binary file not shown.
Binary file added ushow/tests/bpp.32/test-4.c32
Binary file not shown.
Binary file added ushow/tests/falcon.12/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/falcon.12/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.bp1
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.bp4
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.bp6
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.bp8
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.c01
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.c04
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.c06
Binary file not shown.
Binary file added ushow/tests/falcon.12/test.c08
Binary file not shown.
Binary file added ushow/tests/falcon.18/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/falcon.18/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.bp1
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.bp4
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.bp6
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.bp8
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.c01
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.c04
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.c06
Binary file not shown.
Binary file added ushow/tests/falcon.18/test.c08
Binary file not shown.
Binary file added ushow/tests/falcon.24/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/falcon.24/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.bp1
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.bp4
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.bp6
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.bp8
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.c01
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.c04
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.c06
Binary file not shown.
Binary file added ushow/tests/falcon.24/test.c08
Binary file not shown.
Binary file added ushow/tests/falcon.9/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/falcon.9/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.bp1
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.bp4
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.bp6
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.bp8
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.c01
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.c04
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.c06
Binary file not shown.
Binary file added ushow/tests/falcon.9/test.c08
Binary file not shown.
77 changes: 77 additions & 0 deletions ushow/tests/generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#!/bin/bash -ex

ARGS="-width 480 -height 270 -filter -dither"

for pal in 9 12 18 24
do
DIR="falcon.$pal"
rm -rf "$DIR"
mkdir "$DIR"

uconvert $ARGS -bpp 1 -pal $pal -out "$DIR/test.bp1" test.webp
uconvert $ARGS -bpp 4 -pal $pal -out "$DIR/test.bp4" test.webp
uconvert $ARGS -bpp 6 -pal $pal -out "$DIR/test.bp6" test.webp
uconvert $ARGS -bpp 8 -pal $pal -out "$DIR/test.bp8" test.webp

uconvert $ARGS -bpp 1 -bpc 1 -pal $pal -out "$DIR/test.c01" test.webp
uconvert $ARGS -bpp 4 -bpc 1 -pal $pal -out "$DIR/test.c04" test.webp
uconvert $ARGS -bpp 6 -bpc 1 -pal $pal -out "$DIR/test.c06" test.webp
uconvert $ARGS -bpp 8 -bpc 1 -pal $pal -out "$DIR/test.c08" test.webp

uconvert $ARGS -bpp 1 -bpc -1 -pal $pal -out "$DIR/test-nib.c01" test.webp
uconvert $ARGS -bpp 4 -bpc -1 -pal $pal -out "$DIR/test-nib.c04" test.webp
done

for pal in 9 12
do
DIR="tt.$pal"
rm -rf "$DIR"
mkdir "$DIR"

uconvert $ARGS -bpp 1 -pal $pal -tt -out "$DIR/test.bp1" test.webp
uconvert $ARGS -bpp 2 -pal $pal -tt -out "$DIR/test.bp2" test.webp
uconvert $ARGS -bpp 4 -pal $pal -tt -out "$DIR/test.bp4" test.webp
uconvert $ARGS -bpp 6 -pal $pal -tt -out "$DIR/test.bp6" test.webp
uconvert $ARGS -bpp 8 -pal $pal -tt -out "$DIR/test.bp8" test.webp

uconvert $ARGS -bpp 1 -bpc 1 -pal $pal -tt -out "$DIR/test.c01" test.webp
uconvert $ARGS -bpp 2 -bpc 1 -pal $pal -tt -out "$DIR/test.c02" test.webp
uconvert $ARGS -bpp 4 -bpc 1 -pal $pal -tt -out "$DIR/test.c04" test.webp
uconvert $ARGS -bpp 6 -bpc 1 -pal $pal -tt -out "$DIR/test.c06" test.webp
uconvert $ARGS -bpp 8 -bpc 1 -pal $pal -tt -out "$DIR/test.c08" test.webp

uconvert $ARGS -bpp 1 -bpc -1 -pal $pal -tt -out "$DIR/test-nib.c01" test.webp
uconvert $ARGS -bpp 2 -bpc -1 -pal $pal -tt -out "$DIR/test-nib.c02" test.webp
uconvert $ARGS -bpp 4 -bpc -1 -pal $pal -tt -out "$DIR/test-nib.c04" test.webp
done

for pal in 9 12
do
DIR="st.$pal"
rm -rf "$DIR"
mkdir "$DIR"

uconvert $ARGS -bpp 1 -pal $pal -st -out "$DIR/test.bp1" test.webp
uconvert $ARGS -bpp 2 -pal $pal -st -out "$DIR/test.bp2" test.webp
uconvert $ARGS -bpp 4 -pal $pal -st -out "$DIR/test.bp4" test.webp

uconvert $ARGS -bpp 1 -bpc 1 -pal $pal -st -out "$DIR/test.c01" test.webp
uconvert $ARGS -bpp 2 -bpc 1 -pal $pal -st -out "$DIR/test.c02" test.webp
uconvert $ARGS -bpp 4 -bpc 1 -pal $pal -st -out "$DIR/test.c04" test.webp

uconvert $ARGS -bpp 1 -bpc -1 -pal $pal -st -out "$DIR/test-nib.c01" test.webp
uconvert $ARGS -bpp 2 -bpc -1 -pal $pal -st -out "$DIR/test-nib.c02" test.webp
uconvert $ARGS -bpp 4 -bpc -1 -pal $pal -st -out "$DIR/test-nib.c04" test.webp
done

for bpp in 16 24 32
do
DIR="bpp.$bpp"
rm -rf "$DIR"
mkdir "$DIR"

uconvert -width 240 -height 135 -filter -bpp $bpp -out "$DIR/test-1.c$bpp" test.webp
uconvert -width 480 -height 270 -filter -bpp $bpp -out "$DIR/test-2.c$bpp" test.webp
uconvert -width 960 -height 540 -filter -bpp $bpp -out "$DIR/test-3.c$bpp" test.webp
uconvert -width 1920 -height 1080 -filter -bpp $bpp -out "$DIR/test-4.c$bpp" test.webp
done
Binary file added ushow/tests/st.12/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/st.12/test-nib.c02
Binary file not shown.
Binary file added ushow/tests/st.12/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/st.12/test.bp1
Binary file not shown.
Binary file added ushow/tests/st.12/test.bp2
Binary file not shown.
Binary file added ushow/tests/st.12/test.bp4
Binary file not shown.
Binary file added ushow/tests/st.12/test.c01
Binary file not shown.
Binary file added ushow/tests/st.12/test.c02
Binary file not shown.
Binary file added ushow/tests/st.12/test.c04
Binary file not shown.
Binary file added ushow/tests/st.9/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/st.9/test-nib.c02
Binary file not shown.
Binary file added ushow/tests/st.9/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/st.9/test.bp1
Binary file not shown.
Binary file added ushow/tests/st.9/test.bp2
Binary file not shown.
Binary file added ushow/tests/st.9/test.bp4
Binary file not shown.
Binary file added ushow/tests/st.9/test.c01
Binary file not shown.
Binary file added ushow/tests/st.9/test.c02
Binary file not shown.
Binary file added ushow/tests/st.9/test.c04
Binary file not shown.
83 changes: 0 additions & 83 deletions ushow/tests/tests.txt

This file was deleted.

Binary file added ushow/tests/tt.12/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/tt.12/test-nib.c02
Binary file not shown.
Binary file added ushow/tests/tt.12/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/tt.12/test.bp1
Binary file not shown.
Binary file added ushow/tests/tt.12/test.bp2
Binary file not shown.
Binary file added ushow/tests/tt.12/test.bp4
Binary file not shown.
Binary file added ushow/tests/tt.12/test.bp6
Binary file not shown.
Binary file added ushow/tests/tt.12/test.bp8
Binary file not shown.
Binary file added ushow/tests/tt.12/test.c01
Binary file not shown.
Binary file added ushow/tests/tt.12/test.c02
Binary file not shown.
Binary file added ushow/tests/tt.12/test.c04
Binary file not shown.
Binary file added ushow/tests/tt.12/test.c06
Binary file not shown.
Binary file added ushow/tests/tt.12/test.c08
Binary file not shown.
Binary file added ushow/tests/tt.9/test-nib.c01
Binary file not shown.
Binary file added ushow/tests/tt.9/test-nib.c02
Binary file not shown.
Binary file added ushow/tests/tt.9/test-nib.c04
Binary file not shown.
Binary file added ushow/tests/tt.9/test.bp1
Binary file not shown.
Binary file added ushow/tests/tt.9/test.bp2
Binary file not shown.
Binary file added ushow/tests/tt.9/test.bp4
Binary file not shown.
Binary file added ushow/tests/tt.9/test.bp6
Binary file not shown.
Binary file added ushow/tests/tt.9/test.bp8
Binary file not shown.
Binary file added ushow/tests/tt.9/test.c01
Binary file not shown.
Binary file added ushow/tests/tt.9/test.c02
Binary file not shown.
Binary file added ushow/tests/tt.9/test.c04
Binary file not shown.
Binary file added ushow/tests/tt.9/test.c06
Binary file not shown.
Binary file added ushow/tests/tt.9/test.c08
Binary file not shown.

0 comments on commit 0cd7be2

Please sign in to comment.