summaryrefslogtreecommitdiff
path: root/test/vp9_thread_test.cc
AgeCommit message (Collapse)Author
2015-09-23vp9_thread_test: clarify test case namesJames Zern
rename Decode[2-4] to something more precise Change-Id: I68c4f189796eb11ac1a5b7b682f24efb71708187
2015-09-23vp9_thread_test: add non-frame-parallel filesJames Zern
these have been supported in tile-threaded decoding since: b3b7645 vp9_dthread: remove frame_parallel_decoding_mode requirement Change-Id: Ia5a752db9be937153cf4830d9258752136356d1b
2015-07-02Rename vpx_thread to vpx_utilJingning Han
Change the dir name to include more util tools. Change-Id: Id5b16062803ce5eed872fe2edb36d7e56b32eed8
2015-07-02Use vpx prefix for codec independent threading functionsJingning Han
Replace vp9_ prefix with vpx_ for common multi-threading functions. Change-Id: I941a5ead9bfe8213fdad345511d2061b07797b55
2015-07-01Move multi-threading module functions into vpx_thread folderJingning Han
This commit moves the primitive multi-threading files from vp9 folder to vpx_thread, which will be accessible by all vpx codec. Change-Id: Ib51e66e9c69801c10631fab56d35a0c0aaed5883
2014-11-20vp9_thread_test: fix 'had_error' assignmentJames Zern
worker hooks return false on error, fix the assignment in Execute() used in the TestSerialInterface test Change-Id: I93c2e45f270330ae6d35a3a303411c4ee0f31337
2014-08-22tests: use vpx_codec_dec_cfg_t() to initialize varsJames Zern
0-initializes [1] and removes a warning for missing initializer fields [1] http://en.cppreference.com/w/cpp/language/value_initialization Change-Id: I364248010c8fa663c71d8f06a9999c730e92db4c
2014-07-10update vp9_thread.cJames Zern
pull the latest from libwebp. Original source: http://git.chromium.org/webm/libwebp.git 100644 blob 264210ba2807e4da47eb5d18c04cf869d89b9784 src/utils/thread.c commit 46fd44c1042c9903b2f1ab87e9f200a13c7e702d Author: James Zern <jzern@google.com> Date: Tue Jul 8 19:53:28 2014 -0700 thread: remove harmless race on status_ in End() if a thread was still doing work when End() was called there'd be a race on worker->status_. in these cases, however, the specific value is meaningless as it would be >= OK and the thread would have been shut down properly, but we'll check 'impl_' instead to avoid any potential TSan/DRD reports. Change-Id: Ib93cbc226a099f07761f7bad765549dffb8054b1 Change-Id: Ib0ef25737b3c6d017fa74822e21ed58508230b91
2014-07-07Move vp9_thread.* to common.hkuang
Prepare for frame parallel decoding, the reference count buffers need to be protected by mutex. Move vp9_thread.* to common folder so that those buffers could use cross-platform mutex from vp9_thread.*. Change-Id: I541277cf15eefed6641555944f67f4a0bcdc8154
2014-07-01update vp9_thread.[hc]James Zern
pull the latest from WebP, which adds a worker interface abstraction allowing an application to override init/reset/sync/launch/execute/end this has the side effect of removing a harmless, but annoying, TSan warning. Original source: http://git.chromium.org/webm/libwebp.git 100644 blob 08ad4e1fecba302bf1247645e84a7d2779956bc3 src/utils/thread.c 100644 blob 7bd451b124ae3b81596abfbcc823e3cb129d3a38 src/utils/thread.h Local modifications: - s/WebP/VP9/g - camelcase functions -> lower with _'s - associate '*' with the variable, not the type Change-Id: I875ac5a74ed873cbcb19a3a100b5e0ca6fcd9aed
2014-07-01vp9_thread_test: remove unnecessary c_str()'sJames Zern
EXPECT_EQ() works with strings Change-Id: I2b13369d2aa7ff305ee516e6cb73bd099f8dead9
2014-06-30vp9_thread_test: factorize decode loopJames Zern
+ add a SCOPED_TRACE with the current filename Change-Id: I9ceb47a9154bc0d9f9878a83b707e8ed935790f9
2014-06-30vp9_thread_test: add 'Thread' to test namesJames Zern
s/VP9DecodeMTTest/VP9DecodeMultiThreadedTest/ this enables simpler test filtering Change-Id: I010a451cf32fa5a95db6734cc22f331f0a0d515a
2014-04-23Enable tests using WebM files only if webm_io is enabledVignesh Venkatasubramanian
There are a few tests which read/write directly to/from WebM files. They should be disabled when --disable-webm-io is passed. Change-Id: Ibac4732e27c66da33082151ba6e6993eaa9a1efd
2014-04-09Add more test files that change number of tile columns.Frank Galligan
Change-Id: I08fe184a04e5435aeac92f1d7cc9733ca52c2783
2014-04-08Fix decoder resolution change with tilesFrank Galligan
There was a bug with the decoder that if you started the decoder with more threads than the first frame had tile columns. Afterwards tried to decode a frame with more tile columns than the first frame, the decoder would hang. E.g. run vpxdec --threads=4. The first frame had two tile columns, then the next key frame had 4 tile columns, the decoder would hang. If you started with 4 tiles and switched to 2 tiles the decoder would be fine. The issue is that the worker the thread loop is using is stale. I added a test vector "vp90-2-14-resize-848x480-1280x720.webm" that exhibited the bug. Change-Id: I7bdd47241a52ac0fe1c693a609bc779257e94229
2013-12-05add tile test vectorsJames Zern
3840x2160 vp90-2-08-tile_1x8_frame_parallel.webm vp90-2-08-tile_1x8.webm vpxenc crowd_run_2160p50.y4m \ --codec=vp9 -p 2 \ --frame-parallel=${fpm} \ --tile-columns=${tc} \ --limit=10 \ --auto-alt-ref=1 \ --lag-in-frames=5 \ --target-bitrate=2500 Change-Id: I6dc19b4fca483d03ef9a897a843bf9037d095c8e
2013-10-30vp9: add multi-threaded tile decoderJames Zern
tiles are decoded in parallel within a single frame Change-Id: I7aca87cb1c239b74eceef72bdc9f672faebac373
2013-10-26vp9_thread_test: quiet some msvc int->bool warningsJames Zern
Change-Id: I2ed1cb537831c8b595c74ec641296d13d38ef622
2013-10-17vp9_thread: add vp9_worker_execute()James Zern
cherry-picked from: commit 988b70844e03efcfcc075a9bc25d846670494f36 Author: Pascal Massimino <pascal.massimino@gmail.com> Date: Fri Aug 2 11:15:16 2013 -0700 add WebPWorkerExecute() for convenient bypass This is mainly for re-using the worker structs without using the thread. Change-Id: I8e1be29e53874ef425b15c192fb68036b4c0a359 Original source: http://git.chromium.org/webm/libwebp.git 100644 blob c0d318aee628fdf9ba4876451a28aa978f1066b8 src/utils/thread.c 100644 blob c2b92c9fe353f8e514f78922f3d237204a9cbc66 src/utils/thread.h Change-Id: I13fe92b1e94062bb99fdeeb7cb0b4b0575d27793
2013-08-05vp9/decoder: threaded row-based loop filterJames Zern
Currently the only threaded option for vp9 decode. Enabled when the decoder config thread count is > 1. Change-Id: I082959abac9e31aa4a38ed9fd68b94680e57f4df
2013-08-05vp9/decoder: add thread workerJames Zern
vp9/decoder/vp9_thread.[hc] Original source: http://git.chromium.org/webm/libwebp.git 100644 blob b1615d0fb8d311666b2fa4561076c62d72c2e3ff src/utils/thread.c 100644 blob 13a61a4c84194c3374080cbf03d881d3cd6af40d src/utils/thread.h Local modifications: - s/WebP/VP9/g - camelcase functions -> lower with _'s Change-Id: Ib6932640ee34f8b4782c6fbd15864a59d5d4c5fe