(List (= scope= flags=0 words=[] bindings=[('test', {[DQ [VarSub 1 transform_ops=[VS_UNARY_POUND {[LIT_CHARS regtest-]}]]]})]) (= scope= flags=0 words=[] bindings=[('test_ref', {[VarSub 2]})]) (= scope= flags=0 words=[] bindings=[('raw_src_dir', {[VarSub 3]})]) (= scope= flags=0 words=[] bindings=[('target_exec', {[VarSub 4]})]) (= scope= flags=0 words=[] bindings=[('target_path', {[VarSub 5]})]) (= scope= flags=0 words=[] bindings=[('threads', {[VarSub 6 test_op=VS_TEST_COLON_HYPHEN {[LIT_CHARS 1]}]})]) (= scope= flags=0 words=[] bindings=[('cpuflags', {[VarSub 8 test_op=VS_TEST_COLON_HYPHEN {[LIT_CHARS all]}]})]) (= scope= flags=0 words=[] bindings=[('target_samples', {[VarSub 9]})]) (= scope= flags=0 words=[] bindings=[('datadir', {[DQ [LIT_CHARS ./tests/data]]})]) (= scope= flags=0 words=[] bindings=[('target_datadir', {[DQ [VarSub target_path][LIT_CHARS /][VarSub datadir]]})]) (= scope= flags=0 words=[] bindings=[('this', {[DQ [VarSub test][LIT_CHARS .][VarSub test_ref]]})]) (= scope= flags=0 words=[] bindings=[('outfile', {[DQ [VarSub datadir][LIT_CHARS /][VarSub test_ref][LIT_CHARS /]]})]) (= scope= flags=0 words=[] bindings=[('ffmpeg', {[DQ [VarSub target_exec][LIT_CHARS " "][VarSub target_path][LIT_CHARS /ffmpeg]]})]) (= scope= flags=0 words=[] bindings=[('raw_src', {[DQ [VarSub target_path][LIT_CHARS /][VarSub raw_src_dir][LIT_CHARS "/%02d.pgm"]]})]) (= scope= flags=0 words=[] bindings=[('raw_dst', {[DQ [VarSub datadir][LIT_CHARS /][VarSub this][LIT_CHARS .out.yuv]]})]) (= scope= flags=0 words=[] bindings=[('pcm_src', {[DQ [VarSub target_datadir][LIT_CHARS /asynth1.sw]]})]) (= scope= flags=0 words=[] bindings=[('pcm_src_1ch', {[DQ [VarSub target_datadir][LIT_CHARS /asynth-16000-1.wav]]})]) (= scope= flags=0 words=[] bindings=[('pcm_ref_1ch', {[DQ [VarSub datadir][LIT_CHARS /][VarSub test_ref][LIT_CHARS -16000-1.ref.wav]]})]) (= scope= flags=0 words=[] bindings=[('crcfile', {[DQ [VarSub datadir][LIT_CHARS /][VarSub this][LIT_CHARS .crc]]})]) (= scope= flags=0 words=[] bindings=[('target_crcfile', {[DQ [VarSub target_datadir][LIT_CHARS /][VarSub this][LIT_CHARS .crc]]})]) (= scope= flags=0 words=[] bindings=[('cleanfiles', {[DQ [VarSub raw_dst][LIT_CHARS " "][VarSub crcfile]]})]) (Com {[LIT_CHARS trap]} {[SQ ]} {[LIT_CHARS EXIT]}) (Com {[LIT_CHARS mkdir]} {[LIT_CHARS -p]} {[DQ [VarSub datadir]]}) (Com {[LIT_CHARS mkdir]} {[LIT_CHARS -p]} {[DQ [VarSub outfile]]}) (AndOr OP_AND_IF (Com {[LIT_OTHER "["]} {[DQ [VarSub V test_op=VS_TEST_HYPHEN {[LIT_CHARS 0]}]]} {[LIT_CHARS -gt]} {[LIT_CHARS 0]} {[LIT_OTHER "]"]}) (AndOr OP_OR_IF (= scope= flags=0 words=[] bindings=[('echov', {[LIT_CHARS echov]})]) (= scope= flags=0 words=[] bindings=[('echov', {[LIT_OTHER ":"]})]) ) ) (FunctionDef echov [] (Com {[LIT_CHARS echo]} {[DQ [VarSub @]]} < (DescriptorRedirectNode target={[LIT_CHARS 3]} &"> 1), > ) ) (Com {[LIT_CHARS .]} {[ComSub (Com {[LIT_CHARS dirname]} {[VarSub 0]})] [LIT_CHARS /md5.sh]}) (= scope= flags=0 words=[] bindings=[('AVCONV_OPTS', {[DQ [LIT_CHARS "-nostats -y -cpuflags "][VarSub cpuflags]]})]) (= scope= flags=0 words=[] bindings=[('COMMON_OPTS', {[DQ [LIT_CHARS "-flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact"]]})]) (= scope= flags=0 words=[] bindings=[('DEC_OPTS', {[DQ [VarSub COMMON_OPTS][LIT_CHARS " -threads "][VarSub threads]]})]) (= scope= flags=0 words=[] bindings=[('ENC_OPTS', {[DQ [VarSub COMMON_OPTS][LIT_CHARS " -threads 1 -dct fastint"]]})]) (FunctionDef run_avconv [] (List (Com {[VarSub echov]} {[VarSub ffmpeg]} {[VarSub AVCONV_OPTS]} {[VarSub *]}) (Com {[VarSub ffmpeg]} {[VarSub AVCONV_OPTS]} {[VarSub *]}) ) ) (FunctionDef do_avconv [] (List (= scope= flags=0 words=[] bindings=[('f', {[DQ [VarSub 1]]})]) (Com {[LIT_CHARS shift]}) (Com {[LIT_CHARS set]} {[LIT_CHARS --]} {[VarSub *]} {[VarSub target_path] [LIT_CHARS /] [VarSub f]}) (Com {[LIT_CHARS run_avconv]} {[VarSub *]}) (Com {[LIT_CHARS do_md5sum]} {[VarSub f]}) (Com {[LIT_CHARS echo]} {[ComSub (Com {[LIT_CHARS wc]} {[LIT_CHARS -c]} {[VarSub f]})]}) ) ) (FunctionDef do_avconv_nomd5 [] (List (= scope= flags=0 words=[] bindings=[('f', {[DQ [VarSub 1]]})]) (Com {[LIT_CHARS shift]}) (Com {[LIT_CHARS set]} {[LIT_CHARS --]} {[VarSub *]} {[VarSub target_path] [LIT_CHARS /] [VarSub f]}) (Com {[LIT_CHARS run_avconv]} {[VarSub *]}) (If (Com {[LIT_OTHER "["]} {[VarSub f]} {[LIT_OTHER "="]} {[VarSub raw_dst]} {[LIT_OTHER "]"]}) (Com {[VarSub tiny_psnr]} {[VarSub f]} {[VarSub raw_ref]}) (Com {[LIT_OTHER "["]} {[VarSub f]} {[LIT_OTHER "="]} {[VarSub pcm_dst]} {[LIT_OTHER "]"]}) (Com {[VarSub tiny_psnr]} {[VarSub f]} {[VarSub pcm_ref]} {[LIT_CHARS 2]}) (ElseTrue) (Com {[LIT_CHARS echo]} {[ComSub (Com {[LIT_CHARS wc]} {[LIT_CHARS -c]} {[VarSub f]})]}) ) ) ) (FunctionDef do_avconv_crc [] (List (= scope= flags=0 words=[] bindings=[('f', {[DQ [VarSub 1]]})]) (Com {[LIT_CHARS shift]}) (Com {[LIT_CHARS run_avconv]} {[VarSub *]} {[LIT_CHARS -f]} {[LIT_CHARS crc]} {[DQ [VarSub target_crcfile]]}) (Com {[LIT_CHARS echo]} {[DQ [VarSub f][LIT_CHARS " "][ComSub (Com {[LIT_CHARS cat]} {[VarSub crcfile]})]]}) ) ) )