summaryrefslogtreecommitdiffstats
path: root/compare/README.md
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2022-11-12 16:00:55 +0200
committerOleg Oshmyan <chortos@inbox.lv>2022-11-16 16:10:37 +0200
commitdedc1594c799397c71ee45f08c5d21a2ceba6b8a (patch)
tree73cfaa554247fb109d88d45885c280e73f4a2d2a /compare/README.md
parent830dc3a60ebf0607d90c1b158f6ccccfe4709e74 (diff)
downloadlibass-dedc1594c799397c71ee45f08c5d21a2ceba6b8a.tar.bz2
libass-dedc1594c799397c71ee45f08c5d21a2ceba6b8a.tar.xz
compare: support anamorphic scaling
The division approximation broke down for 5x7 scaling, so adjust it to be right.
Diffstat (limited to 'compare/README.md')
-rw-r--r--compare/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/compare/README.md b/compare/README.md
index 2586f43..d0d7bd9 100644
--- a/compare/README.md
+++ b/compare/README.md
@@ -5,11 +5,12 @@ To build a test utility configure libass with the `--enable-compare` flag.
The utility works with `png` image files so there is external dependency of libpng.
Test program command line:
-`compare ([-i] <input-dir>)+ [-o <output-dir>] [-s <scale:1-8>] [-p <pass-level:0-3>]`
+`compare ([-i] <input-dir>)+ [-o <output-dir>] [-s <scale:1-8>[x<scale:1-8>]] [-p <pass-level:0-3>]`
* `<input-dir>` is a test input directory, can be several of them;
* `<output-dir>` if present sets directory to store the rendering results;
-* `<scale>` sets an oversampling factor (positive integer up to 8, default 1);
+* `<scale>` sets factors for horizontal and vertical oversampling (positive integers up to 8)
+ or a single factor to be used in both directions (default 1);
* `<pass-level>` corresponds to the level of image differences required to pass test:
- 0: only `SAME` level accepted, bitwise comparison mode;
- 1: `GOOD` level or less required;