Skip to content
Snippets Groups Projects
Commit 55bc456b authored by Monty Montgomery's avatar Monty Montgomery
Browse files

Check for reconstruction/decode deync in build.sh

Add a check for reconstructed vs decoded image difference on each build in build.sh
parent 1e806967
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,8 @@ fi
# File containing the encoded sequence
ENC_FILE="enc_file.ivf"
# File containing the reconstructed sequence
REC_FILE="rec_file.y4m"
# File containing the decoded sequence
DEC_FILE="dec_file.y4m"
......@@ -68,11 +70,14 @@ DEC_FILE="dec_file.y4m"
export RUST_BACKTRACE=1
# Build and run encoder
cargo run --bin rav1e --release -- $SEQ -o $ENC_FILE -s 3
cargo run --bin rav1e --release -- $SEQ -o $ENC_FILE -s 3 -r $REC_FILE
# Decode
${AOM_TEST}/aomdec $ENC_FILE -o $DEC_FILE
# Input/Output compare
cmp <(tail -n+2 $DEC_FILE) <(tail -n+2 $REC_FILE)
# Daala tools support coming soon
#DAALA_TOOLS="../daala/tools/"
# Convert to png
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment