summaryrefslogtreecommitdiff
path: root/media/libjxl/src/tools/benchmark/metrics/pupsnr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'media/libjxl/src/tools/benchmark/metrics/pupsnr.sh')
-rwxr-xr-xmedia/libjxl/src/tools/benchmark/metrics/pupsnr.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/media/libjxl/src/tools/benchmark/metrics/pupsnr.sh b/media/libjxl/src/tools/benchmark/metrics/pupsnr.sh
new file mode 100755
index 0000000000..869fc36173
--- /dev/null
+++ b/media/libjxl/src/tools/benchmark/metrics/pupsnr.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (c) the JPEG XL Project Authors. All rights reserved.
+#
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+./compute_octave_metric.sh "$@" \
+ --path "$(dirname "$0")"/../../../third_party/hdr_metrics/ \
+ "$(dirname "$0")"/compute-pumetrics.m 'psnr'