summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-02-24Make external arf consistent with vp9Cheng Chen
Add a test to ensure that encoding with the external arfs gets the same result as long as the arfs are the same as the vp9 baseline. Change-Id: I92c79001018f4df3bc16e9fc56c733509bebb9dc
2020-02-20Consistency test for GroupOfPictureangiebird
Make sure frame_type, show_idx and coding_index in GroupOfPicture match the results in EncodeFrameInfo. Change-Id: I3b477a03b5efd651c2d174e7146a4cd4f5551604
2020-02-20Use ObserveGroupOfPicture() in EncodeFrame testangiebird
In the previous version, we assume the number of coding frames is known. Although the assumption is true for now with rate_ctrl flag on, it's more proper to use ObserveGroupOfPicture() to get the partial info about how many coding frames are in the group. Because We want to keep the flexibility of changing the size of group of pictures on the fly in the future. Change-Id: Ibbe6ab49268c468bf1cef8344efd3a3e1eab972a
2020-02-14vp8_decode: add missing vpx_clear_system_stateJames Zern
this avoids leaving the floating point unit in an inconsistent state on error and breaking subsequent tests on x86 the test clip invalid-bug-148271109.ivf would also result in a sanitizer error prior to: vp8,GetSigned: silence unsigned int overflow warning BUG=b/148271109 Change-Id: Ia254f3892ac1eeec51db5e9d42ea071545db0cd8
2020-02-10Add a unit test to check partition infoCheng Chen
Change-Id: I397d7005961a037c9c9cb29e3ff0a3d39a501d15
2020-02-06Consistency test for motion vector infoCheng Chen
Change-Id: Ie1d77e231b973eb16f4e9c520721b47cdf86622c
2020-01-27Consistency test for partition infoCheng Chen
Test the information stored in the encoder is the same between two encode runs. Change-Id: I4f97fac4f212602f766aee0a6cbef566ca43b41e
2020-01-17vp9: add delta q for uv channel. add tests.Jerome Jiang
Add control for delta q for uv. 0 by default. Change-Id: Ib8ed160b1a5c9a61ba15985076f6c6f121477103
2020-01-11Merge "simple_encode*.cc: add missing copyright"James Zern
2020-01-10simple_encode*.cc: add missing copyrightJames Zern
Change-Id: I58ddf13698e3892aa591af4196ca03d7c09426c6
2020-01-09Fix test failure with --size-limitJerome Jiang
The test didn't verify expected error code with invalid sizes. It assumed VPX_CODEC_OK. Added new Encoder class which doesn't run decoding at all. It accepts expected error code to verify with encoder output. The encoder behavior was changed in 94a65e8. BUG=webm:1670 Change-Id: I6324d8f744e6c4aa82aa66913923dc140b07bfc9
2019-12-17Merge "trivial: fix 'fragment' spelling"Johann Koenig
2019-12-12Add GetFramePixelCount to SimpleEncodeangiebird
Gets the total number of pixels of YUV planes per frame. Change-Id: Ifdf35190cdde1378de6d7e93ab4428868a5795fa
2019-12-11Merge changes I54f60f62,Idbc437d3Angie Chiang
* changes: Rename parameter two_pass to twopass. Add GetNextEncodeFrameInfo ObserveGroupOfPicture
2019-12-10Add GetNextEncodeFrameInfo ObserveGroupOfPictureangiebird
GetNextEncodeFrameInfo() Gets encode_frame_info for the next coding frame. ObserveGroupOfPicture() Provides the group of pictures that the next coding frame is in. Change-Id: Idbc437d32c392f25b06efb2d4e1ec01347d678f2
2019-12-06Merge Timestamp TestVpxRollover tests for Vp8/Vp9Debargha Mukherjee
BUG=webm:701 Change-Id: Id0b928db3cbb6263d136d7b9eb8d9453b3c63824
2019-12-05Add missing typecast and re-enable timestamp testDebargha Mukherjee
BUG=webm:701 Change-Id: I1d8a6e263fddb9e4cc6265a313011a18d18bbf9e
2019-12-04trivial: fix 'fragment' spellingJohann
Change-Id: I71b17f3dcb72d5cb2c1d7fe94dd5228433c6eef5
2019-12-03Fix the encode inconsistency of SimpleEncodeangiebird
Make sure restore_coding_context() is always called in the end of encode_with_recode_loop(). Add EncodeConsistencyTest. Change-Id: I3c8e4c8fcff4e3f7afef9bec469beef2a5fb6eeb
2019-11-25Cosmetic change of GetBitrateInKbpsangiebird
Change-Id: Id4b852cdfba0f6fa1e12a05e2617df0de395be9d
2019-11-21Cosmetic changes of SimpleEncode codeangiebird
Change-Id: Ied06630d605a4978711070778b92bfb731c32161
2019-11-20Fix a bug in EncodeFrame testangiebird
Move key frame checks after EncodeFrame() Change-Id: I4e3eded5dc54e757f85e846c4920cddc1ea7444b
2019-11-20Add namespace vp9angiebird
Change-Id: I29d05557becbfc5d55d1cd1bb709e519d27c928b
2019-11-18Add coding_data_bit_size to EncodeFrameResultangiebird
Change-Id: I32ab6829083c896ab2c6234e191939a000dea6e5
2019-11-18Pass in infile_path to SimpleEncode()angiebird
Change-Id: If47867d4d59a59e252bfe7eb24c940f9e089d335
2019-11-18Add SimpleEncode::EncodeFrameWithQuantizeIndex()angiebird
Change-Id: I4442de01dfdbf13b0b9f7830f0fb393d3b935522
2019-11-18Add psnr and sse to EncodeFrameResultangiebird
Change-Id: I33c410a14b86f95278eff8d1d0e6992f1b82a17d
2019-11-18Add frame_type and show_idx to EncodeFrameResultangiebird
Let vp9_get_compressed_data update ENCODE_FRAME_RESULT, a C version of EncodeFrameResult. Let unit test to test frame_type and show_idx properly. Change-Id: Id810c26c826254fd82249f19ab855ea3b440d99c
2019-11-18Add EncodeFrameResultsangiebird
It contains coding_data_size and coding_data. The EncodeFrame will allocate a buffer, write the coding data into the buffer and give the ownership of the buffer to encode_frame_result->coding_data Change-Id: I6bd86aede191ade1db4a1f1bba5be601eef97d60
2019-11-18Add SimpleEncode::GetCodingFrameNum()angiebird
Also add unit tests for GetCodingFrameNum() and EncodeFrame() Change-Id: I3e7b65f47226be4660409481435f8f784db72a68
2019-11-18Add ComputeFirstPassStats()angiebird
Change-Id: Iaed87a4fa35f456aec5d88d07fade636280eb211
2019-11-05test/vp[89]_boolcoder_test: quiet msan warningsJames Zern
the bitreaders may fill beyond what was written to the buffer as an optimization. the data isn't used meaningfully, but it may trigger a msan warning. BUG=b/140939146 Change-Id: Id03cd203b8ee7ecaf6fdfe3f3c9f2ccfec527129
2019-10-23use a compile time constant for kDataAlignmentJohann
const or constexpr should be sufficient for this use but older versions of gcc fail to expand DECLARE_ALIGNED correctly. Work around this by using an enum. Fixed: webm:1660 Change-Id: Ifa4f7585417760f90f9fb28332152019de9f8169
2019-09-30namespace ARCH_* definesJames Zern
this prevents redefinition warnings if a toolchain sets one BUG=b/117240165 Change-Id: Ib5d8c303cd05b4dbcc8d42c71ecfcba8f6d7b90c
2019-08-30Upload Motion Field Estimation Unit Test FilesDan Zhu
Change-Id: Ia8f9e9dca562183ff188cd29dfc7ba3435d77900
2019-08-28Add resize test for smaller width bigger size.Jerome Jiang
Stack trace is the same as that in the bug. BUG=webm:1642 Change-Id: I9d88c18a40af8df4a679727620070b13f1606f14
2019-08-27Merge "test/acm_random.h: int sanitizer warning"Hien Ho
2019-08-26test/acm_random.h: int sanitizer warningHien Ho
runtime error: implicit conversion from type 'int' of value -61240 (32-bit, signed) to type 'int16_t' (aka 'short') changed the value to 4296 (16-bit, signed) BUG=webm:1615 Change-Id: I213fc153f0df9ea46737a7fb98d909e670125724
2019-08-23Merge changes I13f59f52,I7441e041,I7441e041Dan Zhu
* changes: add unit test for local structure computation add unit test for smooth motion field modify smooth model(float type mv + normalization)
2019-08-22test/vp9_quantize_test: fix int sanitizer warningHien Ho
implicit conversion from type 'int' of value 42126 (32-bit, signed) to type 'tran_low_t' (aka 'short') changed the value to -23410 (16-bit, signed) BUG=webm:1615 Change-Id: I339c640fce81e9f2dd73ef9c9bee084b6a5638dc
2019-08-22add unit test for local structure computationDan Zhu
Change-Id: I13f59f529204070faf076144124069c3b1180633
2019-08-22add unit test for smooth motion fieldDan Zhu
Change-Id: I7441e04190b8a797f3863166e95b3b6c9924ab51
2019-08-21Merge "test/lpf_test: fix int sanitizer warning"Hien Ho
2019-08-15Add test_non_greedy_mv.ccAngie Chiang
Change-Id: I7862d39ae52ab016bf6c3ba3aa4b8b1d9760cf27
2019-08-13test/lpf_test: fix int sanitizer warningHien Ho
runtime error: implicit conversion from type 'int' of value 65594 (32-bit, signed) to type 'uint16_t' (aka 'unsigned short') changed the value to 58 (16-bit, unsigned) BUG=webm:1615 Change-Id: I6046a4a4fc0a108c337153f2c59d5cef5c8dcbd6
2019-08-02Merge "Fix saturation issue in vp9_quantize_fp_neon"Jerome Jiang
2019-08-01Fix saturation issue in vp9_quantize_fp_neonJerome Jiang
Change-Id: I7850a5c5aea3633e50e9a2efc8116b9e16383a8f
2019-07-27sad_test: align exp_sad[]James Zern
fixes a crash on win32 in SSE4_1/SAD* BUG=webm:1637 Change-Id: I9838915dccf8ed435d1326bc43465edd89687c18
2019-07-16Add vpx_sad32x32x8_c/avx2Angie Chiang
Change-Id: I4dbb7b6c8979c39eb6ffb97750e3cca0f4b7921f
2019-07-16Add unit test for vpx_sadMxNx8Angie Chiang
Change-Id: Ica85e3738708e2a6cc7388fd2cbf6a8840a540d5