xref: /third_party/astc-encoder/Test/astc_minify_test.sh (revision cc1dc7a3)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/astc-encoder/Test/
1#!/bin/bash
2
3GOOD=astcenc-good.exe
4BAD=astcenc-avx2.exe
5BLOCK_SIZE=4x4
6QUALITY=-fastest
7
8./bin/${GOOD} -tl in.png out-good.png ${BLOCK_SIZE} ${QUALITY} -silent
9
10./bin/${BAD} -tl in.png out-bad.png ${BLOCK_SIZE} ${QUALITY} -silent
11
12compare out-good.png out-bad.png out-vs-out-diff.png
13compare in.png out-bad.png out-vs-in-diff.png
14
15./bin/astc_test_autoextract ${BLOCK_SIZE} in.png out-good.png out-bad.png in-min.png
16
17./bin/${GOOD} -tl in-min.png out-min-good.png ${BLOCK_SIZE} ${QUALITY} -silent
18
19./bin/${BAD} -tl in-min.png out-min-bad.png ${BLOCK_SIZE} ${QUALITY} -silent
20
21compare out-min-good.png out-min-bad.png out-min-diff.png
22

Indexes created Thu Nov 07 10:32:03 CST 2024