summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-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
2019-07-02Remove android_tools depsYun Liu
Bug: 428426 Change-Id: Ia3c31fe2b513ac995baad15c8376c590fd1104f7
2019-06-27timestamp_test: enable TestMicrosecondTimebaseJames Zern
this doesn't cause any overflow issues after: 11de1b838 Fix timestamp overflow issues BUG=webm:701,webm:1614 Change-Id: I7e1cbfa4264d1661eb9a5baa2b2111a0899360f2
2019-06-18Fix timestamp overflow issuesYue Chen
- Save the initial user-specified timestamp and rebase all further timestamps by this value. This makes libvpx internal timestamps to always start from zero, regardless of the user's timestamps. - Calculate reduced timestamp conversion ratio and use it to convert user's timestamps to libvpx internal timestamps and back. The effect of this is that integer overflow due to multiplication doesn't happen for a much longer time. BUG=webm:701 Change-Id: Ic6f5eacd9a7c21b95707d31ee2da77dc8ac7dccf
2019-06-13ppc: disable vsx for small predictorsJohann
These functions cause test failures when running the entire suite. BUG=webm:1522 Change-Id: I2c1dc4923e9f149464f365ef63dc59621cfabf5a
2019-06-04Merge changes Ib73136b2,Ie514f663James Zern
* changes: configure: enable -Wmissing-declarations for more files vp9_thread_test: quiet -Wmissing-prototypes
2019-06-04vp9-rtc: Use speed 5 for postencode drop tests.Marco Paniconi
Test was running at speed 4, which is not used for real-time. With this change all Datarate tests are now running at (speed >= 5, 1 pass, real-time mode), which is what they were intended for. BUG=webm:1512 Change-Id: I47a721dadd24b73df722c44419df7cfc06c44226
2019-06-03vp9_thread_test: quiet -Wmissing-prototypesJames Zern
BUG=webm:1584 Change-Id: Ie514f6630acfb018a3ac4a05758c8b4119ae28fa
2019-05-30libvpx,vp9_datarate_test: drop one-pass vod modeJames Zern
this test is only useful for realtime mode testing given the number of frames and that one-pass vod has never been a primary focus for development. BUG=webm:1512 Change-Id: I23208393a5fcc5bcf9b267fab4b0d1aad500918a
2019-05-15Merge "Revert "disable row mt test""Johann Koenig
2019-05-15Revert "disable row mt test"Johann Koenig
This reverts commit 6d6cc17dc852a216395611bf651e57c19c95b9c4. Reason for revert: This has not been reproduced on hardware. There is a strange libc bug which may account for the behavior on arm because the environment qemu is using is somewhat old. See discussion on the webm bug. To work around the failures in the nightly test the jenkins job has been switched to use the hardfloat compiler and qemu environment. Even though this is the same version, it has not shown the hanging behavior. Original change's description: > disable row mt test > > deadlock is being investigated in attached bug. > > BUG=webm:1626 > > Change-Id: Ia6d7020b8b1d274433aa89f36c9ed5b9facc5808 Bug: webm:1626 Change-Id: I104a82696a4c90bfbadfd39407c073adce73af0d
2019-05-10Merge "disable row mt test"Johann Koenig
2019-05-10Reland "vp9-rtc: tx_size selection for intra mode in nonrd"Jerome Jiang
Reland this change since tsan failure is fixed. Change-Id: I20e3d3d23e34befabb43a36d491d27dfc2a908b6
2019-05-09disable row mt testJohann
deadlock is being investigated in attached bug. BUG=webm:1626 Change-Id: Ia6d7020b8b1d274433aa89f36c9ed5b9facc5808