vpx/scripts/runconfig.sh
Yi Luo 29812d1460 Add configure scripts
Change-Id: If732b427e04e32f873d547606c0bcdd39ae2f1f3
2017-02-22 10:22:37 -08:00

18 lines
496 B
Bash
Executable File

#!/bin/sh
platform=x86_64-linux-gcc
codec=--enable-av1
libsrc=aom
#bitdepth=--enable-aom-highbitdepth
bitdepth=
if [ "$#" -eq 1 ]; then
tool=$1
../$libsrc/configure --target=$platform $codec $bitdepth --enable-experimental --enable-$tool --disable-daala-ec --disable-unit-tests > /dev/null
else
tool_1=$1
tool_2=$2
../$libsrc/configure --target=$platform $codec $bitdepth --enable-experimental --enable-$tool_1 --enable-$tool_2 --disable-daala-ec --disable-unit-tests > /dev/null
fi