summaryrefslogtreecommitdiff
path: root/test/vpxdec.sh
AgeCommit message (Collapse)Author
2020-04-28test/*.sh: add explicit error checks/returnsJames Zern
there was an assumption that function calls would terminate early with an error given 'set -e' was being used. this is true, but only when the function is part of a simple command otherwise it won't inherit the behavior. many of the call sites use 'func || return 1' syntax meaning the function would continue to completion return with the status of the last command executed. this hid errors with e.g., eval statements. inner calls within the functions are now explicitly tested for failure. BUG=aomedia:2669 Change-Id: Ie33a5ac4023dcc800bd302cb8cc54c6c3f2282f5
2018-07-11shell tests: Drop incorrect uses of readonly.Tom Finegan
Change-Id: I0a01e1a7c04bbc026a1db0ba90d516548a1eaaed
2018-07-09vpxdec,raw_read_frame: fix eof returnJames Zern
fixes an endless loop caused by successful read return on eof. since: 00a35aab7 vpx[dec|enc]: Extract IVF support from the apps. BUG=webm:1539 Change-Id: I64dbb94189ea6a745d53a4bacc033f5f58eafb37
2015-04-08vpxdec.sh: fix vp9_webm_less_than_50_frames w/valgrindJames Zern
add a check for the status line to awk and better report failure given the program output will be lost in this case Change-Id: I1348a80108c81099d609f2e2227dd2c31bd8cd54
2015-04-07webmdec: Fix for reaching eof in webm_guess_framerateVignesh Venkatasubramanian
Reset the reached_eos flag in webm_guess_framerate in case it ends up consuming the entire file. Also adding a vpxdec shell test to verify this behavior. Change-Id: I371eebd2105231dc0f60e65da1f71b233ad14be5
2015-03-16Add frame parallel decode option to vpxdec.hkuang
Change-Id: I0ba02d501d65a2f219fa1bb87b8eb81f7e6ab332
2014-08-15vpxdec.sh: Fix some style nits.Tom Finegan
Change-Id: I960c26dcb0db230e50f923d00f64ded1a39bf783
2014-08-15examples.sh: Run all example tests.Tom Finegan
- Remove vpxdec and vpxenc from the exclude list. - vpx{dec,enc}.sh: Updates to support finding their executable when LIBVPX_BIN_PATH is setup for the examples. - tools_common.sh: New library function, vpx_tool_path(). Provides support for finding the exectuables in vpx{dec,enc}.sh. Change-Id: I730f11cceb44646491a7a7ff58603a4a760129ef
2014-07-30vpxdec.sh: Refactor vpxdec().Tom Finegan
- Split vpxdec wrapper function into vpxdec() and vpxdec_pipe(). - Remove hard coded --noblit and --summary arguments from the wrappers in favor of shifting off the first argument (the input file) and passing all remaining parameters to vpxdec. - Add --noblit and --summary args to existing tests, and update the pipe input test to use vpxdec_pipe(). Change-Id: Ia390a9990eace793058b3603ada733fb878eb78c
2014-07-30tools_common.sh: Move vpxdec() test support to vpxdec.shTom Finegan
Change-Id: I7bb9b10fa8a949e9eaa1299b521f2b9785f36d50
2014-04-23Move shared test variables to tools_common.sh.Tom Finegan
The global variables used in vpxdec.sh and vpxenc.sh have become useful elsewhere: Define them in tools_common.sh instead. Change-Id: I5b8dbd2e88c8d6b2f46c5c55d7711fa154c12b6a
2014-04-03Add shell scripts for verifying basic vpx{dec,enc} features.Tom Finegan
Tests the basics (first confirms feature is available in vpx_config.h): - VP8 decode (in IVF file). - VP9 decode (in WebM file). - VP8 encode (to IVF and WebM). - VP9 encode (to IVF and WebM). - VP9 lossless encode (to IVF, currently disabled due to failure). - Pipe input (to vpxdec and vpxenc). Test data path and path to vpx{dec,enc} have been parameterized. In addition: - Supports disabling tests (test names prefixed with DISABLED_ are not run by default). - Supports filtering tests. vpxdec.sh: Tests vpxdec. vpxenc.sh: Tests vpxenc. tools_common.sh: Common test functions. Change-Id: I0612c88b8dd6049a05bbbc79a317a0cca61733a5