summaryrefslogtreecommitdiff
path: root/test/vpxenc.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-10-15fix output file check in vpxenc tests script.Jerome Jiang
BUG=webm:1556 Change-Id: I4be40e9bf667cd9896017f38d866a47d3e19dcaf
2018-08-14Make Sharpness parameter affect visual sharpnessJim Bankoski
1: Lower rdmult used in trellis optimization 2: Shut off the end of block optimization that tries end of block at every sub position if any of the coefficients are > 1. 3: Change the rounding and zbin factor according to sharpness. 4: Disable the skip block check that calculates RD using SSE from predictor. Change-Id: I247b61a26fa22f12f8b684e7cd6d4e368de7c3e4
2018-07-11shell tests: Drop incorrect uses of readonly.Tom Finegan
Change-Id: I0a01e1a7c04bbc026a1db0ba90d516548a1eaaed
2017-07-13fix 'make exampletest' w/CONFIG_REALTIME_ONLYJames Zern
for tests that aren't explicitly testing 2-pass behavior use --passes=1 with this configuration Change-Id: I6a1520ecc65d0f626486604310af29dacb9f197f
2015-06-25vpxenc.sh: Add basic multithreaded frame parallel encode test.Tom Finegan
Change-Id: Id526783fa2e3e9bb31229931b6548ac7a9b2b7e6
2015-06-23vpxenc.sh: Add basic vp9 multithread encode test.Tom Finegan
- Change default real time speed to -6. - Add vpxenc_vp9_webm_rt_multithread, which encodes niklas_1280_720_30.y4m with 2 to 4 threads using 2 to 4 tile columns. Change-Id: I4d86c3360aec67ae5d1ba82eb6e0f0be8068b5af
2015-06-05vpxenc: Add support for pixel aspect ratio.Frank Galligan
WebM files will adjust the display width and height according to the input pixel aspect ratio. The default pixel aspect ratio is 1:1. BUG=https://code.google.com/p/webm/issues/detail?id=1005 Change-Id: I23e0a601b7259fa9513cb86110c41b8437769808
2014-08-25vpxenc.sh: Move some frequently used params into functions.Tom Finegan
Echo args back from new util functions to decrease the repetition in this file. Change-Id: Id4d7c02bf81cf2c5261f58b560e033869a346677
2014-08-25vpxenc.sh: Make vpxenc() usage agree with implementation.Tom Finegan
- Make $1 input file at all call sites. - Actually use vpxenc_pipe(). Change-Id: I22f25719aeb3dce60863207b2e2a49e42e27ed06
2014-08-22vpxenc.sh: Add real time tests.Tom Finegan
Add --rt tests for VP8 and VP9. Change-Id: I401d2962bf27e8a775ee5d71784d63ba4c014dfd
2014-08-18Merge "vpxenc.sh: Add 2-pass and lagged encode tests for VP8 and VP9."Tom Finegan
2014-08-15test/vpxenc.sh: Always use --test-decode=FATALJohann
Change-Id: I5ca3400aec1f77fd92762d0c4fc86ba3694de1ca
2014-08-15vpxenc.sh: Add 2-pass and lagged encode tests for VP8 and VP9.Tom Finegan
- Fix nit: make test function definitions match test order. - Fix nit: use elog instead of echo for env verification error. Change-Id: I0eec078fc056a5bb2bd88d5833e43de48d77ec08
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-08-14vpxenc.sh: use --test-decode=fatal for vp9James Zern
vp8 is broken: https://code.google.com/p/webm/issues/detail?id=841 Change-Id: If73afe0e2314279b560ad758cb04b1760dcc3605
2014-08-08test/vpxenc.sh: Convert vpxenc() to a simple wrapper.Tom Finegan
- Split vpxenc() into vpxenc() and vpxenc_pipe(). - Drop all but one positional param (the input file) in favor of passing args directly to vpxenc. - Add an extra lossless test that explicitly sets min-q and max-q to 0. Change-Id: I7d5f7b495f8b9447388c5f459bc9f6de2214caf2
2014-08-07test/vpxenc.sh: Enable the VP9 lossless test.Tom Finegan
Change-Id: Iff403dfb4c8face0494f0dba840ce91f51e9ca04
2014-08-07vpxenc tests: Relocate vpxenc wrapper.Tom Finegan
Move vpxenc() from tools_common.sh to vpxenc.sh. Change-Id: If3bc1e8616f7e0334d39b560946e467482fe5cf4
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