summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2013-07-10Merge "Add unit test for 16x16 forward ADST/DCT"Jingning Han
2013-07-10Add unit test for 16x16 forward ADST/DCTJingning Han
Unit tests on the functional accuracy of forward ADST/DCT. Change-Id: I81afff866bdeacbd457b0af96993a035741657f6
2013-07-09Added a lossless testYaowu Xu
It does encodings with min and max q set at 0, and check to make sure output PSNR at MAX_PSNR (100). Change-Id: Ia2418353cccf6e487204ea4ff874a7e71e55cb3e
2013-07-09Merge "Fix loopfilter bug"Yaowu Xu
2013-07-08Fix loopfilter bugJohn Koleszar
In the rare case were 4x4 interior filtering was called for but no 8x8 or larger filtering takes place, the previous code was skipping the filtering. This patch fixes the issue by including the interior mask in the overall mask for the filter application loops. Change-Id: I4a0b65056c64f97478827c2ff41e0914fc7779d0
2013-07-02new unit test for cpu-speedJim Bankoski
Tests q0 ( lossless), very high bitrate and low bitrates at cpu speed 0, 1 and 2. Change-Id: I0c5cdca00acd8d01e7b13f124b3b08d4b1ae9f6d
2013-06-26variance_test: add missing ClearSystemState...James Zern
...to recently added SubpelVarianceTest Change-Id: I8775e39fd5dbfba81ad42b79b47bf6dd6ca8cc0e
2013-06-26Fix aligned memory allocation in unit testsJingning Han
Change-Id: I38fac90e0ed25cb747453ab1d6396187cf5ef3b9
2013-06-26test/fdct*: fix some warningsJames Zern
comment out some unused parameters and adjust the format to avoid: ./test/fdct4x4_test.cc|27| warning C4138: '*/' found outside of comment Change-Id: I60f93b4c3cd7e8d61f0de80019f3404b40161f03
2013-06-25tests/*source: test file pointer before readingJames Zern
if the caller did not abort after an ASSERT failure in Begin() FillFrame() would segfault. Change-Id: I2d3f5a0918611bbd081be6f686dea19c56695073
2013-06-25encode_test_driver: check for fatal failuresJames Zern
Make the base test be: !(fatal || abort_) removing some redundancy in the encode tests Change-Id: I8ffaf33fcf9a3030b38ea3e8eb94704cdc2fc920
2013-06-25Merge "Cosmetic changes in 4x4 fwd transform unit test"Jingning Han
2013-06-25Merge "Tune the rounding operations in 8x8 ADST/DCT sse2"Jingning Han
2013-06-25Merge "I420VideoSource: normalize framerate types"James Zern
2013-06-25Merge "intrapred_test: add virtual dtor to IntraPredBase"James Zern
2013-06-25Tune the rounding operations in 8x8 ADST/DCT sse2Jingning Han
Improve the round-trip precision to meet the unit test setttings. Change-Id: I303febae56b4b990ea3798b8ebed94c0510ecf79
2013-06-25Merge "Add SAD unit tests for all rectangular sizes."Ronald S. Bultje
2013-06-25Cosmetic changes in 4x4 fwd transform unit testJingning Han
Change-Id: I7a9ea03b92160f1052e56665b19a155211ee241f
2013-06-25Add 8x8 dct/adst unit testsJingning Han
This commit enables 8x8 DCT and hybrid transform unit tests. It also tunes the forward hybrid transform rounding opertions for more precise round-trip performance. Change-Id: If05c1ce59d75d641b9c6c91527d02d3a6ef498c3
2013-06-24Add SAD unit tests for all rectangular sizes.Ronald S. Bultje
Change-Id: I47e81b51f072abdb276bdec85423febba34b5f81
2013-06-24Merge "Fix loopfilter of leftmost 4x4 edges in SB"Yaowu Xu
2013-06-24Fix loopfilter of leftmost 4x4 edges in SBJohn Koleszar
For cases where there's no transform set in bit 0 (the left edge of the SB) but bit 0 of mask_4x4_int is set (the edge 4 pixels from the left edge needs filtering), it was incorrectly being skipped before. This situation only happens on the leftmost edge of the image, as the edge at column 0 is intentionally skipped since there aren't pixels to the left to read. Change-Id: Ib2fbbcb40166e90af31b1a0e13b85b68c226cbd3
2013-06-21Merge "Allocate memory using appropriate expected alignment in unit tests."Ronald S. Bultje
2013-06-21I420VideoSource: normalize framerate typesJames Zern
ctor inputs are ints as are vpx_rational_t members Change-Id: I62a39bf3df123727a872e40b74e3ee9e55ef2ede
2013-06-21intrapred_test: add virtual dtor to IntraPredBaseJames Zern
classes with virtual functions should have virtual destructors Change-Id: If54e2f8384f0bfcbf812cc727eb9d0a586173674
2013-06-21Allocate memory using appropriate expected alignment in unit tests.Ronald S. Bultje
Fixes crashes of test_libvpx on 32-bit Linux. Change-Id: If94e7628a86b788ca26c004861dee2f162e47ed6
2013-06-21Merge "Add some unaligned test vectors"John Koleszar
2013-06-21variance_test: use REGISTER_STATE_CHECKJames Zern
Change-Id: Id54ad9a781634f075e990d5bade5be8490959975
2013-06-21Merge "Add subtract_block SSE2 version and unit test."Ronald S. Bultje
2013-06-21Merge "SSE2/SSSE3 optimizations and unit test for sub_pixel_avg_variance()."Ronald S. Bultje
2013-06-21Add subtract_block SSE2 version and unit test.Ronald S. Bultje
3% faster overall (3min35.0 to 3min28.5). Change-Id: I5ff8a5c2c91586b6632ca5009ad1ea51ce94af5e
2013-06-20Merge "Implement sse2 and ssse3 versions for all sub_pixel_variance sizes."Yaowu Xu
2013-06-20SSE2/SSSE3 optimizations and unit test for sub_pixel_avg_variance().Ronald S. Bultje
Encoding of bus @ 1500kbps (first 50 frames) goes from 3min57 to 3min35, i.e. approximately a 10.5% speedup. Note that the SIMD versions which use a bilinear filter (x_offset & 7 || y_offset & 7) aren't perfectly interleaved, and can probably be improved further in the future. I've marked this with a few TODOs/FIXMEs in the code. Change-Id: I5c9e900c0f0d32e431a50fecae213b510b2549f9
2013-06-20Merge "Add unit tests for 4x4 ADST"Jingning Han
2013-06-20Implement sse2 and ssse3 versions for all sub_pixel_variance sizes.Ronald S. Bultje
Overall speedup around 5% (bus @ 1500kbps first 50 frames 4min10 -> 3min58). Specific changes to timings for each function compared to original assembly-optimized versions (or just new version timings if no previous assembly-optimized version was available): sse2 4x4: 99 -> 82 cycles sse2 4x8: 128 cycles sse2 8x4: 121 cycles sse2 8x8: 149 -> 129 cycles sse2 8x16: 235 -> 245 cycles (?) sse2 16x8: 269 -> 203 cycles sse2 16x16: 441 -> 349 cycles sse2 16x32: 641 cycles sse2 32x16: 643 cycles sse2 32x32: 1733 -> 1154 cycles sse2 32x64: 2247 cycles sse2 64x32: 2323 cycles sse2 64x64: 6984 -> 4442 cycles ssse3 4x4: 100 cycles (?) ssse3 4x8: 103 cycles ssse3 8x4: 71 cycles ssse3 8x8: 147 cycles ssse3 8x16: 158 cycles ssse3 16x8: 188 -> 162 cycles ssse3 16x16: 316 -> 273 cycles ssse3 16x32: 535 cycles ssse3 32x16: 564 cycles ssse3 32x32: 973 cycles ssse3 32x64: 1930 cycles ssse3 64x32: 1922 cycles ssse3 64x64: 3760 cycles Change-Id: I81ff6fe51daf35a40d19785167004664d7e0c59d
2013-06-20Add unit tests for 4x4 ADSTJingning Han
Enable sign bias check and round-trip error unit tests for 4x4 hybrid transform modules. Change-Id: Icd3d839f098d4b92b00ff76eac146765b039d0d3
2013-06-19Add some unaligned test vectorsJohn Koleszar
Tests resolutions of 8, 10, 16, 18, 32, 34, 64, 66 to exercise the border conditions, as well as non-SB aligned sizes. Change-Id: Ie7c2b7860ac3727e23202042f2e86792652912f8
2013-06-18Merge "tests: clear system state after non-API calls"John Koleszar
2013-06-18tests: clear system state after non-API callsJames Zern
add ClearSystemState() to reset MMX registers avoiding corrupting subsequent tests. Change-Id: I668deb09aa7aa467709776e5819f936910698bc0
2013-06-17convolve_test: align filter arraysJames Zern
fixes issue #583 Change-Id: I4b855a5b5b168c8961410cef6ab5e6d86f14d301
2013-06-17Change the encryption feature to use a callback for decryption.Jeff Petkau
This allows code calling the library can choose an arbitrary encryption algorithm. Decoder control parameter VP8_SET_DECRYPT_KEY is renamed to VP8D_SET_DECRYPTOR, and now takes an small config struct instead of just a byte array. Change-Id: I0462b3388d8d45057e4f79a6b6777fe713dc546e
2013-06-17Merge "Add vp9 test vectors unit test"John Koleszar
2013-06-14Merge "Enable sse2 version of sad8x4/4x8"Jingning Han
2013-06-14Enable sse2 version of sad8x4/4x8Jingning Han
The encoding time for bus at CIF goes from 661s to 625s. This commit also enabled unit test of sad8x4/4x8 in sad_test.cc. Change-Id: If3d10ebb56bda584bdb69bcf056599d580b12cb1
2013-06-13Enable sse2 version of sad8x4/4x8Jingning Han
The encoding time for bus at CIF goes from 661s to 625s. This commit also enabled unit test of sad8x4/4x8 in sad_test.cc. Change-Id: If3d10ebb56bda584bdb69bcf056599d580b12cb1
2013-06-13Add vp9 test vectors unit testJohn Koleszar
These files can stand in until we get proper syntax vectors. They should provide some additional assurance against inadvertant bitstream changes. Change-Id: I12f6c9a5f054e30df40a7ff1f33145abf7e1d59d
2013-06-12Implement SSE version for sad4x8x4d and SSE2 version for sad8x4x4d.Ronald S. Bultje
Encoding time of crew (CIF, first 50 frames) @ 1500kbps goes from 4min56 to 4min42. Change-Id: I92c0c8b32980d2ae7c6dafc8b883a2c7fcd14a9f
2013-06-10Cosmetic cleanups of filtersDeb Mukherjee
No bitstream change. Removes unused filters and the code for the case of 2 switchable filters; also changes the 8tap-smooth filter coefficients for integer shifts to be interpolating to be consistent with the way it is implemented currently. Change-Id: I96c542fd8c06f4e0df507a645976f58e6de92aae
2013-06-07Handle partition type coding of boundary blocksJingning Han
The partition types of blocks sitting on the frame boundary are constrained by the block size and the position of each sub-block relative to the frame. Hence we use truncated probability models to handle the coding of such information. 100 frames run: yt 0.138% Change-Id: I85d9b45665c15280069c0234ea6f778af586d87d
2013-06-06Add marker bit to bool-coded partition startJohn Koleszar
Adds a marker bit to allow distinguishing the frame header from its residual data. Change-Id: Id75d47acc9e5a97007e4690c4f8748a4ce63e641