summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-07-18idct_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: I660a77c0c58ca64075c1051ea440fdf4d7c7e6af
2014-07-18fdct8x8_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: Id2d43931e9b6e16aa4b8e5e346eee08505bdccfb
2014-07-18fdct4x4_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: I796252a6f7f749b4faa969bbe7fe83eae64fa393
2014-07-18decode_perf_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: I5fdd6319449364f2e930667d3bd54f68ba3cbb2e
2014-07-18dct32x32_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: Ie1918d93c0a0d7a854e88b5a77b8c21b4cdc28b7
2014-07-18dct16x16_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: I4e6f293790922684402bfa9c22ec1ac2b9981a0e
2014-07-18convolve_test: drop '_t' from local typenamesJames Zern
_t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: I2a22ffc36e9f88781bc7db0d5a28a7ed924bab1a
2014-07-18Use custom mkstemp() to fix Win issue in y4m_testDeb Mukherjee
Uses mkstmp() with directory being the same as the test data directory to create temporary output file. For Windows GetTempFileNameA() function is used. Change-Id: Ie4681b2b4f44f8c22d3b3faf134c44087b484f94
2014-07-18Merge "Fix FrameSizeTestsLarge unit-test on 32-bit arch."Deb Mukherjee
2014-07-18Merge "Separates profile 2 into 2 profiles 2 and 3"Deb Mukherjee
2014-07-18Fix FrameSizeTestsLarge unit-test on 32-bit arch.Deb Mukherjee
If the img allocation fails the test used to crash before on 32 bit architecture. This patch uses null check on img in FillFrame. Also, if the first frame initialization has not been conducted VPX_CODEC_ERROR is expected to return rather than VPX_CODEC_OK. Change-Id: I5c4e59c156374009012d280d6ff971a89b43c11f
2014-07-17Separates profile 2 into 2 profiles 2 and 3Deb Mukherjee
Separates HBD profile int two profiles (2 and 3) consistent with the highbitdepth branch. This patch is ported from the original highbitdepth branch patch: https://gerrit.chromium.org/gerrit/#/c/70460/ Two of the invalid file tests needed to be updated. Change-Id: I6a4acd2f7a60b1fb4cbcc8e0dad4eab4248431e3
2014-07-17Merge "Added vp9_sad64x64_neon(), vp9_sad32x32_neon()"Scott LaVarnway
2014-07-17allow config options to limit max size of decodeJim Bankoski
This is a practical concern to allow us to fail in a decoder instance if the size of a file is bigger than we can reasonably handle. Change-Id: I0446b5502b1f8a48408107648ff2a8d187dca393
2014-07-16New decode perf test filesJoshua Litt
Change-Id: I89ff8d4243e0438c8fe4ad74b9745c060b4460d8
2014-07-16Added vp9_sad64x64_neon(), vp9_sad32x32_neon()Scott LaVarnway
and vp9_sad16x16_neon() On a Nexus 7, vpxenc (in realtime mode, speed -6) reported a performance improvement of ~17%. Change-Id: I91e070cde2973451083d3f3d63b49b7886de9a85
2014-07-16Merge "invalid_file_test: add an operator<< for DecodeParam"James Zern
2014-07-15Merge "Fix show_existing_frame not decreasing frame buffer ref counter."Adrian Grange
2014-07-15Fix show_existing_frame not decreasing frame buffer ref counter.Alexander Voronov
The issue was introduced by commit g7c43fb6. If current frame is repeated from existing-ref pool, frame buffer ref counter is not decreased, so buffer isn't released. Decoder fails being unable to allocate new frame buffer at some point. Added a test vector to verify that the condition will not recur later. Test vector was generated by the code in this patch: https://gerrit.chromium.org/gerrit/#/c/70862/ Change-Id: I8af96eb5b9670176e01a281d2e18bd458712cf78
2014-07-15Merge "active_map_test: remove unused VP9_FACTORY define"Alex Converse
2014-07-14active_map_test: remove unused VP9_FACTORY defineJames Zern
Change-Id: If96a133ad83e3ed4e4b3620dff857b26641da892
2014-07-14invalid_file_test: add an operator<< for DecodeParamJames Zern
Improves the --gtest_list_tests output and avoids a valgrind warning in gtest's testing::internal2::PrintBytesInObjectTo() due to padding in the structure. old: VP9/InvalidFileTest. ReturnCode/0 # GetParam() = (0x9d5308, 16-byte object <01-00 00-00 00-00 00-00 37-02 73-00 00-00 00-00>) new: VP9/InvalidFileTest. ReturnCode/0 # GetParam() = (0x9d5308, threads: 1 file: invalid-vp90-01-v2.webm) Change-Id: Ifb9c66fba2e72272bd591a3f6273aeb6bda6af4a
2014-07-14Merge "Fix a potential invalid memory access in non-RD coding flow"Jingning Han
2014-07-14[spatial svc]Implement alt reference framesMinghai Shang
All changes are for spatial svc only. 1. Enable encoding hidden frames in each layer and use alt reference idex to reference the hidden frame in each layer 2. Use golden reference idx for spatial reference 3. For those layers that don't have hidden frames (caused by lack of frame buffers), reference a hidden frame in lower layers 4. Add "auto-alt-refs" in svc options Change-Id: Idf27d1fd2fb5f3ffd9e86d2119235e3dad36c178
2014-07-12invalid_file_test: convert test param from tuple to structJames Zern
fixes visual studio 9 + apple clang builds where the template type is interpreted as char[] rather than const char*: ::f1_' : cannot specify explicit initializer for arrays error: array initializer must be an initializer list or string literal Change-Id: I27286ce341b2f7a09b6202caffd6b72f64fd2234
2014-07-11Fix a potential invalid memory access in non-RD coding flowJingning Han
This commit fixes a potential out-of-boundary memory access due to the use of reuse_inter_pred_sby in the non-RD coding flow. It resolves the corresponding asan error. Change-Id: Iff605f5921230966990013541cd855d698810922
2014-07-11Add unit test to test tile decoding error handling.hkuang
Also fix bugs related with corrupted frame handling. Return VPX_CODEC_CORRUPT_FRAME when getting corrupted block. Change-Id: I7207ccc7c68c4df2b40b561315d16e49ccf7ff41
2014-07-10Merge "update vp9_thread.c"James Zern
2014-07-10Merge changes Ie241772d,I3c72e226James Zern
* changes: tests: add API_REGISTER_STATE_CHECK call vp[89]_clear_system_state after longjmp
2014-07-10Merge "sh tests: Add support for running tested programs within another ↵Tom Finegan
program."
2014-07-10sh tests: Add support for running tested programs within another program.Tom Finegan
Specifying the --prefix command line arg executes all test programs within the context of the prefix string, which is assigned to VPX_TEST_PREFIX. All test functions updated to include VPX_TEST_PREFIX in their eval command. Change-Id: I2e215cc8f216048edf3269db02a6b5660fe32318
2014-07-10Add warning to temporal SVC test when temporal denoising is disabled.Tom Finegan
Change-Id: Ib3792aa93514ccaf06c5d3f737f6e9243096f61c
2014-07-10tests: add API_REGISTER_STATE_CHECKJames Zern
used to wrap API functions to ensure full environment consistency as opposed to the renamed ASM_REGISTER_STATE_CHECK which is used with assembly functions. currently checks the FPU tag word in x86/x86_64 gcc builds to ensure emms has been called. Change-Id: Ie241772dbf903d33d516a1add4c8c6783f2e1490
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-09Merge "Move vp9_thread.* to common."hkuang
2014-07-09Merge "Fix decoder handling of intra-only frames"Adrian Grange
2014-07-08Merge changes I2abd6716,I4a65f7f8James Zern
* changes: cpu_speed_test: cosmetics aq_segment_test: cosmetics
2014-07-08Merge "invalid_file_test: output error detail on mismatch"James Zern
2014-07-08Fix decoder handling of intra-only framesAdrian Grange
This patch fixes bug 633: https://code.google.com/p/webm/issues/detail?id=633 The first decoded frame does not have to be a keyframe, it could be an inter-frame that is coded intra-only. This patch fixes the handling of intra-only frames. A test vector has also been added that encodes 3 intra-only frames at the start of the clip. The test vector was generated using the code in the following patch: https://gerrit.chromium.org/gerrit/#/c/70680/ Change-Id: Ib40b1dbf91aae2bc047e23c626eaef09d1860147
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-05Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
The y4m extension used is the same as the one used in ffmpeg/x264. The patch is adapted from the highbitdepth branch. Also adds unit tests for y4m header parsing and md5 check of the raw frame data, as well as y4m writing. [build fix for Mac/VS by not using tuples with strings] Change-Id: I40897ee37d289e4b6cea6fedc67047d692b8cb46
2014-07-02Reverting "Adds support for reading and writing 10/12-bit y4m" for now ↵Dmitry Kovalev
because of Mac Build Failure. This reverts commit 82dc1332af4b16d3e4ad3c4358498820637b7add Change-Id: I824bf42bf47c7df6985c79e451d6af913030d374
2014-07-02Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
The y4m extension used is the same as the one used in ffmpeg/x264. The patch is adapted from the highbitdepth branch. Also adds unit tests for y4m header parsing and md5 check of the raw frame data, as well as y4m writing. Change-Id: Ie2794daf6dbafd2f128464f9b9da520fc54c0dd6
2014-07-01Merge changes I875ac5a7,I2b13369d,I9ceb47a9James Zern
* changes: update vp9_thread.[hc] vp9_thread_test: remove unnecessary c_str()'s vp9_thread_test: factorize decode loop
2014-07-01invalid_file_test: output error detail on mismatchJames Zern
Change-Id: I6abf139961fbb6a46db740dc023e26ac1e8e9305
2014-07-01cpu_speed_test: cosmeticsJames Zern
- add a virtual destructor - fix formatting - remove some unnecessary includes - remove unused functions/defines/typedefs Change-Id: I2abd671670cc89fa80edb466ff4bc1fee35b5e31
2014-07-01aq_segment_test: cosmeticsJames Zern
- add a virtual destructor - fix formatting - remove some unnecessary includes - remove unused functions/defines/typedefs Change-Id: I4a65f7f85b2ff53645e4b0e97ca438c1e93dabc8
2014-07-01Merge "Add a test that tests invalid partitions for profile 1"Jim Bankoski
2014-07-01Add a test that tests invalid partitions for profile 1Jim Bankoski
Change-Id: I3d95fbe9a8098256582b5386881d5b7bbdb317ed
2014-07-01Merge "vp9_thread_test: add 'Thread' to test names"James Zern