summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2013-09-17fix vp8-only buildJames Zern
Change-Id: Id9ce44f3364dd57b30ea491d956a2a0d6186be05
2013-09-13Minor adjustment in unit testsYaowu Xu
The CpuSpeedTest is extended to cover 2pass good quality with CpuUsed from 0 to 4. The BordersTest is changed to use CpuUsed 1 for faster turn around. Change-Id: I005e89adee7fe63af4b1f2a76a3a13ea826feadf
2013-09-10Enable and fix resize_test for VP9Adrian Grange
Added the resize_test unit test to the VP9 set. Set g_in_frames = 0 to avoid a problem when the total number of frames being encoded is smaller than g_in_frames. In this case the test will not have access to the encoded frames and will not be able to compare them for testing for encoder/decoder mismatch. Change-Id: I0d2ff8ef058de7002c5faa894ed6ea794d5f900b
2013-09-10Merge "Enable accuracy/memory check for 16x16 transforms"Jingning Han
2013-09-10Merge "Rework 16x16 transform unit test"Jingning Han
2013-09-09test/idct_test: add missing vpx_integer.h includeJames Zern
Change-Id: I9de764638ec981bb34fc8e183985d8c285b006fb
2013-09-09Enable accuracy/memory check for 16x16 transformsJingning Han
This commit completes the per coefficient accuracy check and memory overflow check for SSE2 and other implemented versions of 16x16 transform. Change-Id: If26a3e4f6ba82ccecc13f0b73cb8f7bb6ac14584
2013-09-09Rework 16x16 transform unit testJingning Han
This commit refactors the 16x16 transform unit test. It enables the test on all implemented versions of forward and inverse 16x16 transform modules. Change-Id: I0c7d5f3c5fdd5d789a25f73e287aeeaf463b9d69
2013-09-06cleanup cpplint warningsYaowu Xu
Suggested by James Zern to clear out cpplint warnings for all unit test code. Change-Id: I731a3fa4d2a257eb9ef733426ba84286fbd7ea34
2013-09-05Merge "Enable 32x32 Transform unit test"Jingning Han
2013-09-05Enable 32x32 Transform unit testJingning Han
This commit enabled a full functional test on 32x32 forward/inverse transform, including round-trip error and memory overflow check. It tests the prototype functions in C and all other implementations if applicable. Change-Id: I9cc50b05abdb4863e7abbcb29209a19b1fe90da7
2013-09-05Merge "Added ClearSystemState in a unit test"Yaowu Xu
2013-09-04Added ClearSystemState in a unit testYaowu Xu
There is another unit test that has been failing randomly on win32 build. Investigation has shown that the failure was caused by simd register state is not reset appropriately in the fdct8x8 test. This commit added ClearSystemState() in the teardown of this test, tests showed it resolved the random failure issue for win32 build. Related issue: https://code.google.com/p/webm/issues/detail?id=614 Change-Id: I9381d0c1a6f4b855ccaeef1aca8c417ac8c71ee2
2013-09-04Fixing problem with invalid delta_q reading.Dmitry Kovalev
This is a bitstream change but no currently produces videos should be affected. https://code.google.com/p/webm/issues/detail?id=610 Change-Id: Ic85a6477df6c201cdf7f70f6bd84607b71f4593c
2013-09-03Merge "Fix intermediate height in convolve_c"James Zern
2013-08-30Fix intermediate height in convolve_cTero Rintaluoma
- Intermediate height was not correct i.e. when block size is 4 and y_step_q4 is 6. In this case intermediate height was (4*6) >> 4 = 1 and vertical interpolation needs two source pixels plus 7 extra pixels for taps. - Also if the current output block is 16x16 and we are using 4x upscaling we need only 12 rows after horizontal filtering instead of 16. Patch Set 2: Intermediate_height updated after CL 66723 "Fix bug in convolution functions (filter selection)" Change-Id: I5a1a1bc2ac9d5edb3a6e0818de618bf318fdd589
2013-08-29Refactor 16x16 unit testsJingning Han
Make the new test module comply to the unit test rules. Change-Id: Id79ff7f03f870973ffbc74f26d64edb418b75299
2013-08-27Merge "Renaming BLOCK_SIZE_TYPE to BLOCK_SIZE in the common/decoder."Dmitry Kovalev
2013-08-26Add a test vector that tests color space 444Jim Bankoski
This adds a test vector for 444 color space. Change-Id: I1e2ac3883211989a062cfafc0e58151b14d294b8
2013-08-26Fix Chroma plane md5 checkJim Bankoski
Chroma plane MD5 calculation was incorrect for 444 and 422 yuv color spaces. Change-Id: If985396871a2f57db85108a4355172f9793d3007
2013-08-26Renaming BLOCK_SIZE_TYPE to BLOCK_SIZE in the common/decoder.Dmitry Kovalev
Adding temporary "typedef BLOCK_SIZE BLOCK_SIZE_TYPE" which will go away after encoder's patch. Change-Id: I06ec6a6f079401439843ec981d1496234fd7775c
2013-08-23Fix bug in convolution functions (filter selection)Adrian Grange
(In response to Issue 604: https://code.google.com/p/webm/issues/detail?id=604) There were bugs in the convolution code for two cases: 1. Where the filter table was assumed to be aligned to a 256 byte boundary. The offset of the pixel in the source buffer was computed incorrectly. 2. Where no such alignment assumption was made. An incorrect address for the filter table base was used. To fix both problems, I now assume that the filter table is 256-byte aligned and modify the pixel offset calculation to match. A later patch should remove the restriction that the filter table is aligned to a 256-byte boundary. There was also a bug in the ConvolveTest unit test (convolve_test.cc). (Bug & initial fix suggestion submitted by Tero Rintaluoma and Sami Pietilä). Change-Id: I71985551e62846e55e40de9e7e3959d4805baa82
2013-08-21Make "good" quality 2-pass vpxenc encoding defaultDeb Mukherjee
Currently, the best quality mode in VP9 is not very well developed, and unnecessarily makes the encode too slow. Hence the command line default is changed to "good" quality. Also, the number of passes default is changed to 2 passes as well, since 1-pass encoding is not very efficient in VP9. Besides, a number of VP9 defaults are set to the currently recommended settings. With these changes, vpxenc run with --codec=vp9 --kf-max-dist=9999 --cpu-used=0 should work about the same as our borg results. Note when the --cpu-used=0 option is dropped there will be a slight difference in the output, because of a difference in the cpu-used value for the first pass. Specifically, the default when unspecified is to use cpu_used=1 for the first pass and cpu_used=0 for the second pass. But when specified, both passes will use the cpu-used value specified. Note that this also changes the default for VP8 as being "good" but other options stay unchanged. Change-Id: Ib23c1a05ae2f36ee076c0e34403efbda518c5066
2013-08-09Renaming BLOCK_SIZE_TYPES constant to BLOCK_SIZES.Dmitry Kovalev
There will be another change set to rename BLOCK_SIZE_TYPE enum to BLOCK_SIZE. Change-Id: I8d1dfc873d6186fa5e554262f5169e929978085e
2013-08-08fix unit test failure on win32 vs2008 buildYaowu Xu
The mix use of double type and simd code caused invalid values stored in double variables, further caused unit tests to fail. The failures were only observed on x86-win32-vs9 build with vs2008. Change-Id: If0131754a3bf217a5ace303b7963e8f5162c34b5
2013-08-06variance x86inc guardsJim Bankoski
also fixed bug in sad calcs Change-Id: I6571fcbe37556c16ae32be66dc0fd879852aac1d
2013-08-06sad + miscellaneous updatesJim Bankoski
Enable use_x86inc as a commandline option. Fix Bug with sse2 when x86inc is disabled. Adds Sad asm protection to x86inc protection Change-Id: Iee0f9dd235ea10e8ace512eb362ba9bebe8c9df6
2013-08-06block error / x86inc modsJim Bankoski
Change-Id: Icb607745634e10b9bac5019d06661ece09fcdb40
2013-08-05reworked config for use_x86_incJim Bankoski
Support enabling it or disabling it. Moved read out to configure.sh so that its done once instead of in make and in config. Change-Id: I73a9190cf31de9f03e8a577f478fa522f8c01c8b
2013-08-05Merge changes I082959ab,Ib6932640James Zern
* changes: vp9/decoder: threaded row-based loop filter vp9/decoder: add thread worker
2013-08-05Merge "Begin to restrict x86inc.asm usage"Jim Bankoski
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
2013-08-05Begin to restrict x86inc.asm usageJim Bankoski
Chromium does not support 32bit builds for Mac which use x86inc.asm. Make the files which include it work if 64bit or not PIC enabled starting with vp9_copy_sse2.asm Consolidate these targets in vp9_rtcd_defs.sh Change-Id: If18f0b957a611efd085a3ee7d245cf1eb91e8248
2013-08-05Replacing long block size enum values with shorter ones (2).Dmitry Kovalev
Change-Id: I428c4d42212b757112e3acfe5b81314cfbb5fd6b
2013-07-22Merge "tests: silence a few type related warnings"James Zern
2013-07-22Merge "cosmetics: idct_test.cc: fix formatting"James Zern
2013-07-18tests: silence a few type related warningsJames Zern
Change-Id: If908328c1dbbb5bd84c57e30fab1cda1804933e4
2013-07-18cosmetics: tile_independence_test: fix formattingJames Zern
Change-Id: Ifd48f796fa70fe1dc9b87a6f2bdc715bc0ea5ad3
2013-07-18cosmetics: idct_test.cc: fix formattingJames Zern
clang-format -style=Google Change-Id: Ic85f2cd2a1d65d9cf18a0f8bc515c0a0f5161747
2013-07-17Merge "vp9_convolve8_neon placeholder"Johann
2013-07-17vp9_convolve8_neon placeholderJohann
Call the individually optimized horizontal and vertical functions. This implementation abuses the temp buffer. This will be replaced with a custom optimized function. Over 2x speedup. Change-Id: I5b908d2a73d264e9810d6022bbff73207a3055dd
2013-07-16Merge "Cosmetic changes in 4x4 and 8x8 fdct unit tests"James Zern
2013-07-16Merge "vp9_convolve8_[horiz|vert]_avg"Johann
2013-07-15Cosmetic changes in 4x4 and 8x8 fdct unit testsJingning Han
Make the codes consistent with conventions. Change-Id: Id044ed8382f83a3c3f54f9edd569f00bcd0523db
2013-07-12Fixing vp9_get_pred_context_comp_ref_p function.Dmitry Kovalev
Adding missed parenthesis around boolean expressions. Bitstream is changed. Regenerating test vectors. Change-Id: I4cc00b761e9473f92f180a9fc3a0c607f0aaae56
2013-07-12vp9_convolve8_[horiz|vert]_avgJohann
Super basic conversion from the other implementations. Any changes to one should be trivial to copy over keep in sync. Change-Id: I1720b4128e0aba4b2779e3761f6494f8a09d3ea8
2013-07-11Merge "Cosmetic changes in 16x16 ADST/DCT unit test"Jingning Han
2013-07-11Cosmetic changes in 16x16 ADST/DCT unit testJingning Han
Change-Id: Ic649e9e47d14d6f8cae0c443a425ea533a97ad8d
2013-07-11convolve8 optimizations for neonJohann
Independent horizontal and vertical implementations. Requires that blocks be built from 4x4 and [xy]_step_q4 == 16 6-10% improvement. CIF improved the least. Change-Id: I137f5ceae4440adc0960bf88e4453e55a618bcda