summaryrefslogtreecommitdiff
path: root/test/partial_idct_test.cc
AgeCommit message (Collapse)Author
2016-08-05test: apply clang-tidy google-readability-braces-around-statementsclang-format
applied against a x86_64 configure with and without --enable-vp9-highbitdepth clang-tidy-3.7.1 \ -checks='-*,google-readability-braces-around-statements' \ -header-filter='.*' -fix + clang-format afterward Change-Id: Ia2993ec64cf1eb3505d3bfb39068d9e44cfbce8d
2016-07-27test: apply clang-formatclang-format
Change-Id: I0d9ab85855eb723f653a7bb09b3d0d31dd6cfd2f
2016-06-30test: remove x86inc.asm distinctionJohann
BUG=b:29583530 Change-Id: I296a0b81755e3086bc0a40cb126d0200ff03c095
2015-08-04Replace vp9_ prefix with vpx_ prefix in vpx_dsp function namesJingning Han
This commit clears the function naming convention in vpx_dsp. It replaces vp9_ prefix of global functions with vpx_ prefix. It also removes the vp9_ prefix from static functions. Change-Id: I6394359a63b71a51dda01342eec6a3cc08dfeedf
2015-07-29Cosmetics - Fix header file order in unit testsJingning Han
Change-Id: I9582a8d74990125b71e8fe620f7f3f2585a30798
2015-07-28Replace vp9_ prefix in 2D-DCT functions with vpx_Jingning Han
Clean up the forward 2D-DCT function names in vpx_dsp. Change-Id: I3117978596d198b690036e7eb05fe429caf3bc25
2015-07-22Factor forward 2D-DCT transforms into vpx_dspJingning Han
This commit factors the 4x4, 8x8, and 16x16 2D-DCT forward transform operations into vpx_dsp folder. Change-Id: I084b117b79c0925edcbcabb93f62b9f4bf8dbe7d
2015-07-01Fix --disable-use-x86incJohann
Change-Id: I374fcd8fb45a6893dcdeac6896671be142a99f06
2015-06-02mips msa vp9 idct4x4 and iwht4x4 optimizationParag Salasakar
average improvement ~3x-4x moved assert to respective files Change-Id: I6c915059d456a00bdd76fab0dd2eede8b6c6ea58
2015-06-01mips msa vp9 updated idct 8x8, 16x16 and 32x32 moduleParag Salasakar
Updated sources according to improved version of common MSA macros. Enabled idct MSA hooks and tests. Overall, this is just upgrading the code with styling changes. Change-Id: I1f488ab2c741f6c622b7a855388a202168082209
2015-05-29mips msa vp9 updated macros and disable all MSA functionsParag Salasakar
Done little restructuring/styling changes to the sources like generic macro definitions, their use to reduce code lines, better code alignments etc. Disabled all MSA hooks and tests Change-Id: Ic6f2dce0b501f46b80c06c46c0fe2043d557b190
2015-05-08mips msa vp9 idct 8x8 optimizationParag Salasakar
average improvement ~4x-6x Change-Id: I5edf713721b9e24c7e0ce2e69d8fc3ecab625d91
2015-05-08Merge "mips msa vp9 idct 32x32 optimization"Parag Salasakar
2015-05-07replace DECLARE_ALIGNED_ARRAY w/DECLARE_ALIGNEDJames Zern
this macro was used inconsistently and only differs in behavior from DECLARE_ALIGNED when an alignment attribute is unavailable. this macro is used with calls to assembly, while generic c-code doesn't rely on it, so in a c-only build without an alignment attribute the code will function as expected. Change-Id: Ie9d06d4028c0de17c63b3a27e6c1b0491cc4ea79
2015-05-07mips msa vp9 idct 32x32 optimizationParag Salasakar
average improvement ~4x-6x Change-Id: Idaba7e49fbd7f388caee0d73773ccf6e4807ef17
2015-05-05mips msa vp9 idct 16x16 optimizationParag Salasakar
average improvement ~4x-6x Change-Id: I55e95b7f2ba403dff11813958dc7c73a900dd022
2015-04-30Remove vp9_idct16x16_10_add_ssse3()Yaowu Xu
The rotation computation using 2X of cos(pi/16) has a potential to overflow 32 bit, this commit disable the function to allow further investigation and optimization. Change-Id: I4a9803bc71303d459cb1ec5bbd7c4aaf8968e5cf
2015-03-31vp9: fix high-bitdepth NEON buildJames Zern
remove incorrect specializations in rtcd and update a configuration check in partial_idct_test.cc Change-Id: I20f551f38ce502092b476fb16d3ca0969dba56f0
2014-12-10Enable neon idct tests for intrinsicsJohann
Change-Id: I45d4a22f3ecb9af172e37c95f168805e492c5493
2014-11-13Revert "Fix SSSE3 partial_idct_test detection"James Zern
This reverts commit 7d07f512cd87446eef541e9af4af19b1e8c6342a. this breaks visual studio builds: '#' : invalid character : possibly the result of a macro expansion Change-Id: I77170d549afb71e75a878fa0f6acd204fe8d9e67
2014-11-05Fix SSSE3 partial_idct_test detectionJohann
The test filter is not a prefix matcher. It requires test type to contain no more than the optimization type. In this example, SSSE3_64 fails to match and the test is not skipped even when SSSE3 is not available. Change-Id: Ia74229a167c88da4e6da169012a7a77d438c3f75
2014-10-03Incorporate WRAPLOW macro into non-highbitdepth txDeb Mukherjee
Incorporates the WRAPLOW macro into the non-highbitdepth transforms to aid hardware verification between a software C model and an intended hardware implementation though the use of the configure options: --enable-experimental --enable-emulate-hardware. Note that to avoid further discrepancies between the sse/sse2 implementations of the transforms and the C implementation, when the emulate hardware option is invoked, we also disable sse/sse2/etc. Also incudes some minor cleanups/renaming etc. Change-Id: Ib864d8493313927d429cce402982f1c8e45b3287
2014-09-11Adds high bitdepth transform functions and testsDeb Mukherjee
Adds various high bitdepth transform functions and tests. Much of the changes are related to using typedefs tran_low_t and tran_high_t for the final transform cofficients and intermediate stages of the transform computation respectively rather than fixed types int16_t/int. When vp9_highbitdepth configure flag is off, these map tp int16_t/int32_t, but when the flag is on, they map to int32_t/int64_t to make space for needed extra precision. Change-Id: I3c56de79e15b904d6f655b62ffae170729befdd8
2014-07-18partial_idct_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: Ied220e09fceef53039f234ebbb7e51c8e081c84e
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-06-03Enable unit test for partial 16x16 inverse 2D-DCTJingning Han
This commit enables unit test for SSSE3 16x16 inverse 2D-DCT with 10 non-zero coefficients. It includes a new test condition to cover the potential overflow issue due to extremely coarse quantization. Change-Id: I945e16f05dfbe19500f0da5f15990feba8e26d99
2014-05-28Enable SSSE3 inverse 2D-DCT with 10 non-zero coeffsJingning Han
This commit enables SSSE3 implementation of the inverse 2D-DCT with only first 10 coefficients non-zero. It reduces the runtime of SSE2 version from 745 cycles to 538 cycles, i.e., 27% speed-up. Change-Id: I18ba4128859b09c704a6ee361d69a86c09fe8dfe
2014-05-12Only build neon assembly for armv7 targetsJohann
Allow selectively building just the intrinsics for armv8 Change-Id: I2f29b2e4508b8b8e5649c2906b3159ad1d4ec477
2014-05-08Turn on unit tests for SSSE3 8x8 forward and inverse 2D-DCTJingning Han
Change-Id: I3edd4b956a1273d65547771bf43c5cdaea25e5d6
2014-05-08Change eob threshold for partial inverse 8x8 2D-DCT to 12Jingning Han
The scanning order has the first 12 coefficients of the 8x8 2D-DCT sitting in the top left 4x4 block. Hence the partial inverse 8x8 2D-DCT allows to handle cases with eob below 12. The overall runtime of the inverse 8x8 2D-DCT unit is reduced from 166 cycles (using SSE2) to 150 cycles (using SSSE3). Change-Id: I4514f9748042809ac84df4c14382c00f313f1cd2
2014-02-26partial_idct_test: add NEON functionsJames Zern
note not all functions have NEON implementations: - vp9_idct32x32_34_add Change-Id: I3db3acbd5b33839aabd1beadc6e0742ec50b1072
2014-01-23test/: remove unnecessary extern "C"sJames Zern
Change-Id: I826655a708010149de231ca31a2e3ba4f1842c0c
2013-12-19Merge "test/partial_idct_test: fix msvc build"James Zern
2013-12-18test/partial_idct_test: fix msvc buildJames Zern
Change-Id: I7fa72980d17f1ca997959e9c4f0f82501810d7c4
2013-12-18test/partial_idct_test: fix formatting and a warningJames Zern
test/partial_idct_test.cc:74:5: warning: variable 'size' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] ASSERT_TRUE(0) << "Wrong Size!"; Change-Id: Ic2f880ae09268561c9f036b4d6de220fde6dc5c4
2013-12-16Add test for partial inverse transformsYaowu Xu
To make sure the results they produce to match their full versions Change-Id: Ib00b036fecf43fe20af716acfc580af18ef87757