#!/bin/sh
# Decode the in-tree IVF sample files with the example decoder binary
# to exercise the shared library at run time
set -e

for f in tests/data/one-frame.ivf tests/data/five-frames.ivf; do
    echo "Decoding $f"
    gav1_decode --threads 2 -o "$AUTOPKGTEST_TMP/out.yuv" "$f"
done
