aomdec.sh : Make this test create files if needed to test decoder.

If test files don't already exist it calls aomenc to create them.

cherry-picked #ee9ac321 from aom/master

Change-Id: I0e0f33cb60b3492e9106d6c9e2c51f64f71ebb63
This commit is contained in:
Jim Bankoski
2016-05-27 14:31:29 -07:00
committed by Yaowu Xu
parent 5d105b40c3
commit f7f043774b
3 changed files with 40 additions and 32 deletions

View File

@@ -322,10 +322,10 @@ encode_yuv_raw_input_av1() {
if [ "$(av1_encode_available)" = "yes" ]; then
local readonly output="$1"
local readonly encoder="$(aom_tool_path aomenc)"
shift
eval "${encoder}" $(yuv_raw_input) \
--codec=av1 \
--ivf \
$@ \
--limit=5 \
--output="${output}" \
${devnull}