summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replace date with version and release from READMEv1.12.0torrentJerome Jiang2022-06-281-1/+1
| | | | | | | CHANGELOG has the date. Bug: webm:1752 Change-Id: I2888ce2afed8619f043eee1e9ca23bdf9d75e607
* vp9_encode_sb_row: remove a branch w/CONFIG_REALTIME_ONLYJames Zern2022-06-211-1/+4
| | | | | | | | | | replace the check on use_nonrd_pick_mode with an assert. this is only a start, there are many branches that could be removed that check mode == REALTIME, etc. with this configuration. Bug: webm:1773 Change-Id: I38cf9f83e7c085eb8e87d5cf6db7dc75359b611b (cherry picked from commit 08b86d76224453ef9cbab4b10a48617715d9a14e)
* vp9_cx_iface: set default cpu_used=5 w/CONFIG_REALTIME_ONLYJames Zern2022-06-212-8/+22
| | | | | | | | | | | this avoids a crash if cpu-used is not explicitly set as there are some (unnecessary) checks against use_nonrd_pick_mode which would cause encoding to be skipped if the old default of 0 were used Bug: webm:1773 Change-Id: I62fba5fb51d8afa422689b7de3f03e8f7570e50b Fixed: webm:1773 (cherry picked from commit 95d196fdf45edf57015cc18635c52b30a93522fd)
* Update CHANGELOG for L2EJerome Jiang2022-06-211-0/+3
| | | | | Bug: webm:1752 Change-Id: I5335e0360501503d5c162be4bbdef3ad73151e9f
* Update CHANGELOG and version infov1.12.0-rc1Jerome Jiang2022-06-172-1/+30
| | | | | | | | | | | | | A stale codec control was removed, but compatibility was restored. New codec control was added. Bump *current* and *age*, and keep *revision* as 0. Bug: webm:1752 Bug: webm:1757 Change-Id: I76179f129a10c06d897b5c62462808ed9b9c2923
* Restore backward compatibilityJerome Jiang2022-06-131-1/+1
| | | | | | | | | | | | This CL breaks the backward compatibility: 1365e7e1a vp9-svc: Remove VP9E_SET_TEMPORAL_LAYERING_MODE Forcing the value of the next element Bug: webm:1752 Change-Id: I83c774b3aa6cca25f2f14995590fb20c0a1668d4 (cherry picked from commit 013ec5722ce88bebcdcf32b1496fcca413199336)
* Update AUTHORSJerome Jiang2022-06-131-0/+8
| | | | | Bug: webm:1752 Change-Id: I08b4100a0e8c003cd9a7bdaf72926c268e02d53c
* vp9_change_config: check vp9_alloc_loop_filter returnJames Zern2022-06-031-1/+4
| | | | | Change-Id: I4cba67a5ab192d1cf1dbfb5c039a93a4952b071e (cherry picked from commit 6549e76307631de7e37459fceb23b4eee4573620)
* vp9e_set_config: setjmp before calling vp9_change_configJames Zern2022-06-031-9/+18
| | | | | | | | vp9_change_config may call functions that perform allocations which expect failures detected by CHECK_MEM_ERROR to not return. Change-Id: I1dd1eca9c661ed157d51b4a6a77fc9f88236d794 (cherry picked from commit 3997d9bc6286ba075879353b87678986cdbfa347)
* vp8e_set_config: setjmp before calling vp8_change_configJames Zern2022-06-031-5/+14
| | | | | | | | vp8_change_config may call vp8_alloc_compressor_data which expects failures detected by CHECK_MEM_ERROR to not return. Change-Id: Ib7fbf4af904bd9b539402bb61c8f87855eef2ad6 (cherry picked from commit 365eebc147627ae83ec8b36077198d8cfb5e0128)
* test/*: normalize use of nullptrJames Zern2022-06-0211-58/+64
| | | | | | | this is preferred over NULL in C++11 Change-Id: Ic48ddcc6dfb8975a57f6713549ad04d93db21415 (cherry picked from commit c304ec38d05040b74de4aacada62c4a336714341)
* Revert "[NEON] Optimize vp9_diamond_search_sad() for NEON"Jerome Jiang2022-05-263-324/+1
| | | | | | | | | | | | | | | | | | This reverts commit 258affdeab68ed59e181368baa46e2f1d077b0ab. Reason for revert: Not bitexact with C version Original change's description: > [NEON] Optimize vp9_diamond_search_sad() for NEON > > About 50% improvement in comparison to the C function. > I have followed the AVX version with some simplifications. > > Change-Id: I72ddbdb2fbc5ed8a7f0210703fe05523a37db1c9 Change-Id: I5c210b3dfe1f6dec525da857dd8c83946be566fc
* Merge changes Iecb26f38,Ib3ee9b59 into mainJames Zern2022-05-262-1/+25
|\ | | | | | | | | | | * changes: GetTempOutFile(): use testing::TempDir() y4m_test: check temp file ptr
| * GetTempOutFile(): use testing::TempDir()James Zern2022-05-261-1/+23
| | | | | | | | | | | | | | rather than tmpfile(). this allows for setting the path with TEST_TMPDIR and provides a valid default for android. Change-Id: Iecb26f381b6a6ec97da62cfa0b7200f427440a2f
| * y4m_test: check temp file ptrJames Zern2022-05-241-0/+2
| | | | | | | | | | | | | | GetTempOutFile() and TempOutFile::file() may return null if the open fails Change-Id: Ib3ee9b592140d30d12aecefa7dfc5f569fa28a34
* | loongarch: Remove redundant codeyuanhecai2022-05-255-296/+262
|/ | | | | | | | | Simplify architecture support code and remove redundant code to improve efficiency. Bug: webm:1755 Change-Id: I03bc251aca115b0379fe19907abd165e0876355b
* tools/*.py: update to python3James Zern2022-05-234-21/+23
| | | | | | | | only lint-hunks.py is tested as part of the presubmit; the rest may need further changes as they're used. Bug: b/229626362 Change-Id: I2fd6e96deab8d892d34527e484ea65e3df86d162
* loongarch: Modify the representation of macrosyuanhecai2022-05-2017-653/+654
| | | | | | | | | Some macros have been changed to "#define do {...} While (0)", change the rest to "static INLINE ..." Bug: webm:1755 Change-Id: I445ac0c543f12df38f086b479394b111058367d0
* loongarch: Reduce the number of instructionsyuanhecai2022-05-198-373/+271
| | | | | | | | | | | | | | | | | Replace some redundant instructions to improve the efficiency of the program. 1. txfm_macros_lsx.h 2. vpx_convolve8_avg_lsx.c 3. vpx_convolve8_horiz_lsx.c 4. vpx_convolve8_lsx.c 5. vpx_convolve8_vert_lsx.c 6. vpx_convolve_copy_lsx.c 7. vpx_convolve_lsx.h Bug: webm:1755 Change-Id: I9b7fdf6900338a26f9b1775609ad387648684f3d
* vp9[loongarch]: Optimize vpx_quantize_b/b_32x32yuanhecai2022-05-184-2/+262
| | | | | | | | | 1. vpx_quantize_b_lsx 2. vpx_quantize_b_32x32_lsx Bug: webm:1755 Change-Id: I476c8677a2c2aed7248e088e62c3777c9bed2adb
* vp8[loongarch]: Optimize vp8_sixtap_predict4x4yuanhecai2022-05-172-4/+743
| | | | | | | | 1. vp8_sixtap_predict4x4 Bug: webm:1755 Change-Id: If7d844496ef2cfe2252f2ef12bb7cded63ad03dd
* vp8[loongarch]: Optimize fdct8x4/diamond_search_sadyuanhecai2022-05-176-6/+104
| | | | | | | | | | 1. vp8_short_fdct8x4_lsx 2. vp8_diamond_search_sad_lsx 3. vpx_sad8x8_lsx Bug: webm:1755 Change-Id: Ic9df84ead2d4fc07ec58e9730d6a12ac2b2d31c1
* vp8[loongarch]: Optimize sub_pixel_variance8x8/16x16yuanhecai2022-05-176-94/+301
| | | | | | | | | | 1. vpx_sub_pixel_variance8x8_lsx 1. vpx_sub_pixel_variance16x16_lsx 2. vpx_mse16x16_lsx Bug: webm:1755 Change-Id: Iaedd8393c950c13042a0597d0d47b534a2723317
* vp8[loongarch]: Optimize vp8 encoding partial functionHao Chen2022-05-1711-5/+726
| | | | | | | | | | | | 1. vp8_short_fdct4x4 2. vp8_regular_quantize_b 3. vp8_block_error 4. vp8_mbblock_error 5. vpx_subtract_block Bug: webm:1755 Change-Id: I3dbfc7e3937af74090fc53fb4c9664e6cdda29ef
* vp9-rtc: Fix to usage of active_maps when aq_mode=0Marco Paniconi2022-05-151-3/+4
| | | | | | | | | | | | | If aq_mode=0 the segmentation feature may still be used for active_maps, so the condition active_maps.enabled needs to be added in two places regarding segmentation logic in encodeframe.c. Otherwise the active_maps would have no effect. This also resolves why the assert in bug webm:1762 was not triggered when aq_mode=0. Change-Id: Ibd68e9b5c3f81728241a168d3fb3567d6845633d
* Merge changes I7d68c7f2,If283fc08,I3b1e0a2c into mainJames Zern2022-05-1312-14/+808
|\ | | | | | | | | | | | | * changes: vp9[loongarch]: Optimize avg_variance64x64/variance8x8 vp9[loongarch]: Optimize fdct4x4/8x8_lsx vp9[loongarch]: Optimize vpx_hadamard_16x16/8x8
| * vp9[loongarch]: Optimize avg_variance64x64/variance8x8yuanhecai2022-05-134-6/+451
| | | | | | | | | | | | | | | | | | 1. vpx_variance8x8_lsx 2. vpx_sub_pixel_avg_variance64x64_lsx Bug: webm:1755 Change-Id: I7d68c7f2f5c8d27dc31cfd32298aeefb68f5d560
| * vp9[loongarch]: Optimize fdct4x4/8x8_lsxyuanhecai2022-05-135-4/+204
| | | | | | | | | | | | | | | | | | 1. vpx_fdct4x4_lsx 2. vpx_fdct8x8_lsx Bug: webm:1755 Change-Id: If283fc08f9bedcbecd2c4052adb210f8fe00d4f0
| * vp9[loongarch]: Optimize vpx_hadamard_16x16/8x8yuanhecai2022-05-135-4/+153
| | | | | | | | | | | | | | | | | | 1. vpx_hadamard_16x16_lsx 2. vpx_hadamard_8x8_lsx Bug: webm:1755 Change-Id: I3b1e0a2c026c3806b7bbbd191d0edf0e78912af7
* | Add aq mode 0 and 3 to active map testJerome Jiang2022-05-121-3/+4
|/ | | | | Bug: webm:1762 Change-Id: Ia827f6686e8d0cdc09f3d07d07dacaa4fcd801ab
* vp9-rtc: Fix to interp_filter for segment skipMarco Paniconi2022-05-122-3/+8
| | | | | | | | | | | | | | | | For segment skip feature: allow for setting the mi->interp_filter to BILINEAR, if cm->interp_filter is set BILIENAR. This can happen at speed 9 when the segment skip feature is used (e.g., active_maps) Without this fix the assert can be triggered with the active_map_test.cc for speed 9 included. Updated the test. Fixes the assert triggered in the issue: Bug: webm:1762 Change-Id: I462e0bdd966e4f3cb5b7bc746685916ac8808358
* Merge "[NEON] Optimize vp9_diamond_search_sad() for NEON" into mainJames Zern2022-05-093-1/+324
|\
| * [NEON] Optimize vp9_diamond_search_sad() for NEONKonstantinos Margaritis2022-05-073-1/+324
| | | | | | | | | | | | | | About 50% improvement in comparison to the C function. I have followed the AVX version with some simplifications. Change-Id: I72ddbdb2fbc5ed8a7f0210703fe05523a37db1c9
* | add some missing realloc checksJames Zern2022-05-063-0/+6
| | | | | | | | Change-Id: I0fd1e094085c18b1d9a32333e876c2affeb6de23
* | vp8[cd]x.h: document vpx_codec_vp[89]_[cd]x*James Zern2022-05-062-0/+32
| | | | | | | | | | | | | | | | + mark the _algo variables as deprecated. this quiets some doxygen warnings Bug: webm:1752 Change-Id: I53b9b796c3d8fef5c713ee4278641198f95b5864
* | vp9 svc sample: set fps from y4m fileJerome Jiang2022-05-031-0/+2
|/ | | | Change-Id: I082c0409910da4cda5bf852b20ffa11ba5c2ebd6
* examples: add missing argv_dup alloc checksJames Zern2022-04-284-1/+17
| | | | Change-Id: Ia3080cbf50071d599c7168a20466392a963f101a
* Merge changes I99ee0ef3,Ie087e8be,I6b19d016,I6fb7771d,I54f83733, ... into mainJames Zern2022-04-2810-27/+52
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: y4m_input_open: check allocs fastssim,fs_ctx_init: check alloc vp9_get_smooth_motion_field: check alloc vp9_row_mt_alloc_rd_thresh: check alloc simple_encode,init_encoder: check buffer_pool alloc VP9RateControlRTC::Create: check segmentation_map alloc vp9_speed_features.c: check allocations vp9_alloc_motion_field_info: check motion_field_array alloc vp9_enc_grp_get_next_job: check job queue alloc vp9: check postproc_state.limits allocs vp9,encode_tiles_buffer_alloc: fix allocation check
| * y4m_input_open: check allocsJames Zern2022-04-271-1/+7
| | | | | | | | Change-Id: I99ee0ef3ab28a22923cb413ccf5935fdc38862be
| * fastssim,fs_ctx_init: check allocJames Zern2022-04-261-2/+4
| | | | | | | | Change-Id: Ie087e8be1e943b94327ed520db447a0e3a927738
| * vp9_get_smooth_motion_field: check allocJames Zern2022-04-261-0/+2
| | | | | | | | Change-Id: I6b19d0169d127f622abf97b3b8590eee957bdc51
| * vp9_row_mt_alloc_rd_thresh: check allocJames Zern2022-04-261-2/+3
| | | | | | | | Change-Id: I6fb7771d9fa6ec54d81f24a02a289e8b852e7332
| * simple_encode,init_encoder: check buffer_pool allocJames Zern2022-04-261-0/+1
| | | | | | | | Change-Id: I54f83733260abf828166400c5fd0c4c7e3ccec2f
| * VP9RateControlRTC::Create: check segmentation_map allocJames Zern2022-04-261-1/+8
| | | | | | | | Change-Id: I17b23915c32accf834def5ab26a8e4e188f9993a
| * vp9_speed_features.c: check allocationsJames Zern2022-04-261-7/+12
| | | | | | | | Change-Id: If3b319c1ce7036c2259440f4eeb2e645bf559f4c
| * vp9_alloc_motion_field_info: check motion_field_array allocJames Zern2022-04-261-0/+1
| | | | | | | | Change-Id: I4ae11242e645feb3b85eaea186f14b3676ae40a8
| * vp9_enc_grp_get_next_job: check job queue allocJames Zern2022-04-261-3/+3
| | | | | | | | | | | | + reverse conditional order; var == constant is more readable Change-Id: I9f2b4394024c262fd5fe9576a8bf33afe197c050
| * vp9: check postproc_state.limits allocsJames Zern2022-04-262-3/+4
| | | | | | | | Change-Id: I9d5df96580074375e4847d2e2f60a6a6d56eeea5
| * vp9,encode_tiles_buffer_alloc: fix allocation checkJames Zern2022-04-261-8/+7
| | | | | | | | | | | | | | | | previously vp9_bitstream_worker_data was checked after it was memset(); this change uses CHECK_MEM_ERROR for consistency to ensure the pointer is checked first Change-Id: I532d0eb0e746dc6b8d694b616eba693c5c0053ac
* | vp9[loongarch]: Optimize sad8x8/32x64/64x32x4dyuanhecai2022-04-283-7/+99
| | | | | | | | | | | | | | | | | | | | 1. vpx_sad8x8x4d_lsx 2. vpx_sad32x64x4d_lsx 3. vpx_sad64x32x4d_lsx Bug: webm:1755 Change-Id: I08a2b8717ec8623ffdd4451a04e68fa3a7228668