diff options
author | Marco <marpan@google.com> | 2016-11-16 13:03:26 -0800 |
---|---|---|
committer | Marco <marpan@google.com> | 2016-11-16 14:11:25 -0800 |
commit | 2ef2243804cb095c3a9151bf0f1fb3e658c893b0 (patch) | |
tree | 990a3572c01a0e9ac9f3c85799a1ac19b2495d0d /test/vpx_temporal_svc_encoder.sh | |
parent | f667cc7a4e97f6cbe0a56f12fcc9e19895e2b7c6 (diff) | |
download | libvpx-2ef2243804cb095c3a9151bf0f1fb3e658c893b0.tar libvpx-2ef2243804cb095c3a9151bf0f1fb3e658c893b0.tar.gz libvpx-2ef2243804cb095c3a9151bf0f1fb3e658c893b0.tar.bz2 libvpx-2ef2243804cb095c3a9151bf0f1fb3e658c893b0.zip |
vpx_temporal_svc_encoder.sh: Run all tests for 1-4 threads for vp8/vp9.
Change-Id: I079ee87cb32e36a1486c377c0037945b4bb89626
Diffstat (limited to 'test/vpx_temporal_svc_encoder.sh')
-rwxr-xr-x | test/vpx_temporal_svc_encoder.sh | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/vpx_temporal_svc_encoder.sh b/test/vpx_temporal_svc_encoder.sh index c91f9cc56..78942d16b 100755 --- a/test/vpx_temporal_svc_encoder.sh +++ b/test/vpx_temporal_svc_encoder.sh @@ -40,7 +40,7 @@ vpx_tsvc_encoder() { local timebase_den="1000" local speed="6" local frame_drop_thresh="30" - local threads="1" + local max_threads="4" shift 2 @@ -49,11 +49,14 @@ vpx_tsvc_encoder() { return 1 fi - eval "${VPX_TEST_PREFIX}" "${encoder}" "${YUV_RAW_INPUT}" "${output_file}" \ - "${codec}" "${YUV_RAW_INPUT_WIDTH}" "${YUV_RAW_INPUT_HEIGHT}" \ - "${timebase_num}" "${timebase_den}" "${speed}" "${frame_drop_thresh}" \ - "${threads}" "$@" \ - ${devnull} + // TODO(tomfinegan): Verify file output for all thread runs. + for threads in $(seq $max_threads); do + eval "${VPX_TEST_PREFIX}" "${encoder}" "${YUV_RAW_INPUT}" "${output_file}" \ + "${codec}" "${YUV_RAW_INPUT_WIDTH}" "${YUV_RAW_INPUT_HEIGHT}" \ + "${timebase_num}" "${timebase_den}" "${speed}" "${frame_drop_thresh}" \ + "${threads}" "$@" \ + ${devnull} + done } # Confirms that all expected output files exist given the output file name |