summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-12vp9-rtc: Fix to interp_filter for segment skipMarco Paniconi
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
2022-05-09Merge "[NEON] Optimize vp9_diamond_search_sad() for NEON" into mainJames Zern
2022-05-07[NEON] Optimize vp9_diamond_search_sad() for NEONKonstantinos Margaritis
About 50% improvement in comparison to the C function. I have followed the AVX version with some simplifications. Change-Id: I72ddbdb2fbc5ed8a7f0210703fe05523a37db1c9
2022-05-06add some missing realloc checksJames Zern
Change-Id: I0fd1e094085c18b1d9a32333e876c2affeb6de23
2022-05-06vp8[cd]x.h: document vpx_codec_vp[89]_[cd]x*James Zern
+ mark the _algo variables as deprecated. this quiets some doxygen warnings Bug: webm:1752 Change-Id: I53b9b796c3d8fef5c713ee4278641198f95b5864
2022-05-03vp9 svc sample: set fps from y4m fileJerome Jiang
Change-Id: I082c0409910da4cda5bf852b20ffa11ba5c2ebd6
2022-04-28examples: add missing argv_dup alloc checksJames Zern
Change-Id: Ia3080cbf50071d599c7168a20466392a963f101a
2022-04-28Merge changes I99ee0ef3,Ie087e8be,I6b19d016,I6fb7771d,I54f83733, ... into mainJames Zern
* 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
2022-04-28vp9[loongarch]: Optimize sad8x8/32x64/64x32x4dyuanhecai
1. vpx_sad8x8x4d_lsx 2. vpx_sad32x64x4d_lsx 3. vpx_sad64x32x4d_lsx Bug: webm:1755 Change-Id: I08a2b8717ec8623ffdd4451a04e68fa3a7228668
2022-04-28vp9[loongarch]: Optimize sad64x64/32x32_avg,comp_avg_predyuanhecai
1. vpx_sad64x64_avg_lsx 2. vpx_sad32x32_avg_lsx 3. comp_avg_pred_lsx Bug: webm:1755 Change-Id: I58dabdcdd4265bd6ebd5670db8a132d2e838683f
2022-04-27y4m_input_open: check allocsJames Zern
Change-Id: I99ee0ef3ab28a22923cb413ccf5935fdc38862be
2022-04-26fastssim,fs_ctx_init: check allocJames Zern
Change-Id: Ie087e8be1e943b94327ed520db447a0e3a927738
2022-04-26vp9_get_smooth_motion_field: check allocJames Zern
Change-Id: I6b19d0169d127f622abf97b3b8590eee957bdc51
2022-04-26vp9_row_mt_alloc_rd_thresh: check allocJames Zern
Change-Id: I6fb7771d9fa6ec54d81f24a02a289e8b852e7332
2022-04-26simple_encode,init_encoder: check buffer_pool allocJames Zern
Change-Id: I54f83733260abf828166400c5fd0c4c7e3ccec2f
2022-04-26VP9RateControlRTC::Create: check segmentation_map allocJames Zern
Change-Id: I17b23915c32accf834def5ab26a8e4e188f9993a
2022-04-26vp9_speed_features.c: check allocationsJames Zern
Change-Id: If3b319c1ce7036c2259440f4eeb2e645bf559f4c
2022-04-26vp9_alloc_motion_field_info: check motion_field_array allocJames Zern
Change-Id: I4ae11242e645feb3b85eaea186f14b3676ae40a8
2022-04-26vp9_enc_grp_get_next_job: check job queue allocJames Zern
+ reverse conditional order; var == constant is more readable Change-Id: I9f2b4394024c262fd5fe9576a8bf33afe197c050
2022-04-26vp9: check postproc_state.limits allocsJames Zern
Change-Id: I9d5df96580074375e4847d2e2f60a6a6d56eeea5
2022-04-26vp9,encode_tiles_buffer_alloc: fix allocation checkJames Zern
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
2022-04-26vp9[loongarch]: Optimize fdct/get/variance16x16yuanhecai
1. vpx_fdct16x16_lsx 2. vpx_get16x16var_lsx 3. vpx_variance16x16_lsx Bug: webm:1755 Change-Id: I27090406dc28cfdca64760fea4bc16ae11b74628
2022-04-26Merge changes Ib8bcefd2,I84f789ca into mainJames Zern
* changes: register_state_check.h: add compiler barrier add_noise_test.cc: remove stale TODO
2022-04-25register_state_check.h: add compiler barrierJames Zern
around ASM_REGISTER_STATE_CHECK() this helps keep the call ordering consistent avoiding some code reordering which may affect the registers being checked fixes issue with armv7 and multiple versions of gcc: [ RUN ] C/AddNoiseTest.CheckNoiseAdded/0 test/register_state_check.h:116: Failure Expected equality of these values: pre_store_[i] Which is: 0 post_store[i] Which is: 4618441417868443648 Bug: webm:1760 Change-Id: Ib8bcefd2c4d263f9fc4d4b4d4ffb853fe89d1152 Fixed: webm:1760
2022-04-25add_noise_test.cc: remove stale TODOJames Zern
this was completed in: 0dc69c70f postproc : fix function parameters for noise functions. Change-Id: I84f789ca333e9690e70e696d44475dd59339593b
2022-04-24vp9[loongarch]: Optimize sub_pixel_variance32x32/sad16x16yuanhecai
1. vpx_sad16x16_lsx 2. vpx_sub_pixel_variance32x32_lsx Bug: webm:1755 Change-Id: I9926ace710903993ccbb42caef320fa895e90127
2022-04-22vp9[loongarch]: Optimize horizontal/vertical_4/dualyuanhecai
1. vpx_lpf_horizontal_4_lsx 2. vpx_lpf_vertical_4_lsx 3. vpx_lpf_horizontal_4_dual_lsx 3. vpx_lpf_vertical_4_dual_lsx Bug: webm:1755 Change-Id: I12e9f27cafd9514b24cfbf2354cc66c7d1238687
2022-04-22vp9[loongarch]: Optimize convolve8_avg_vert/convolve_copyyuanhecai
1. vpx_convolve8_avg_vert_lsx 2. vpx_convolve_copy_lsx 3. vpx_idct32x32_135_add_lsx Bug: webm:1755 Change-Id: I6bdfe5836a91a5e361ab869b26641e86c5ebb68d
2022-04-22vp9[loongarch]: Optimize vertical/horizontal_8_dualyuanhecai
1. vpx_lpf_vertical_8_dual_lsx 2. vpx_lpf_horizontal_8_dual_lsx Bug: webm:1755 Change-Id: I354df02cc215f36b4edf6558af0ff7fd6909deac
2022-04-22Merge "vp8_decode: free mt buffers early on resolution change" into mainJames Zern
2022-04-19fdct16x16_neon.h,cosmetics: fix include-guard caseJames Zern
Change-Id: I593735bb7f88d63f2ddab57484099479c8759a3d
2022-04-19vp8_decode: free mt buffers early on resolution changeJames Zern
this avoids a desynchronization of mb_rows if an allocation prior to vp8mt_alloc_temp_buffers() fails and the decoder is then destroyed Bug: webm:1759 Change-Id: I75457ef9ceb24c8a8fd213c3690e7c1cf0ec425f
2022-04-18webmdec: fix double freeJames Zern
when no frames were decoded, for example due to a decoder initialization failure, an orphan buffer pointer from webm_guess_framerate() via webm_read_frame() would have been freed during cleanup Change-Id: I6ea3defdd13dd75427f79c516e207b682391e4fa
2022-04-18vp9_dx_iface,init_buffer_callbacks: return on alloc failureJames Zern
use an error code as a jmp target is not currently set in init_decoder() Change-Id: If7798039439f13c739298a8a92a55aaa24e2210c
2022-04-18vp9_encoder: check context buffer allocationsJames Zern
previously the returns for alloc_context_buffers_ext() and vp9_alloc_context_buffers() were ignored which would result in a NULL access during encoding should they fail Change-Id: Icd76576f3d5f8d57697adc9ae926a3a5be731327
2022-04-18vp9_alloc_internal_frame_buffers: fix num buffers assignmentJames Zern
avoid setting num_internal_frame_buffers until the allocation is checked, avoiding an invalid access in vp9_free_internal_frame_buffers() Change-Id: I28a544a2553d62a6b5cb7c45bf10591caa4ebab6
2022-04-18vp9_alloccommon: add missing pointer checksJames Zern
in vp9_free_ref_frame_buffers() and vp9_free_context_buffers(); pool and free_mi may be NULL due to earlier allocation failures Change-Id: I3bd26ea29b3aea6c58f33d5b7f5a280eb6250ec7
2022-04-19Merge changes If8318068,I21519b5b into mainJames Zern
* changes: temporal_filter_sse4,cosmetics: fix some typos temporal_filter_sse4: remove unused function params
2022-04-18temporal_filter_sse4,cosmetics: fix some typosJames Zern
Change-Id: If8318068a32da52d15c0ba595f80092611f4c847
2022-04-18Merge "Upgrade GoogleTest to v1.11.0" into mainJames Zern
2022-04-18Upgrade GoogleTest to v1.11.0James Zern
The release tag is release-1.11.0. Ref: https://aomedia-review.googlesource.com/c/aom/+/156641 79c98a122 Upgrade GoogleTest to v1.11.0 Note the tree structure differs from libaom, but is left untouched to avoid breaking test include paths in this commit. Change-Id: Ia3c6861d45a3befc2decb1da5b1018bcfd38f95a
2022-04-15vp8,get_sub_mv_ref_prob: change arguments to uint32_tJames Zern
this matches the call with int_mv::as_int and fixes a warning with clang-13 -fsanitize=integer: vp8/decoder/decodemv.c:240:32: runtime error: implicit conversion from type 'uint32_t' (aka 'unsigned int') of value 4282515456 (32-bit, unsigned) to type 'int' changed the value to -12451840 (32-bit, signed) Bug: webm:1759 Change-Id: I7c0aa72baa45421929afac26566e149adc6669d7
2022-04-15vp8: fix some implicit unsigned -> int conversionsJames Zern
fixes some warnings with clang-13 -fsanitize=integer: vp8/decoder/threading.c:77:27: runtime error: implicit conversion from type 'unsigned int' of value 4294967295 (32-bit, unsigned) to type 'int' changed the value to -1 (32-bit, signed) these bitmask constants were missed in: 1676cddaa vp8: fix some implicit signed -> unsigned conv warnings Bug: webm:1759 Change-Id: I5d894d08fd41e32b91b56a4d91276837b3415ee4
2022-04-16Merge changes I9c24f75e,I83bce11c into mainJames Zern
* changes: vp9[loongarch]: Optimize idct32x32_1024/1/34_add vp9[loongarch]: Optimize vpx_fdct32x32/32x32_rd
2022-04-15Merge "Fix int overflow in intermediate calculation" into mainJerome Jiang
2022-04-15vp9[loongarch]: Optimize idct32x32_1024/1/34_addyuanhecai
1. vpx_idct32x32_1024_add_lsx 2. vpx_idct32x32_34_add_lsx 3. vpx_idct32x32_1_add_lsx Bug: webm:1755 Change-Id: I9c24f75e0d93613754d8e30da7e007b8d1374e60
2022-04-15vp9[loongarch]: Optimize vpx_fdct32x32/32x32_rdyuanhecai
1. vpx_fdct32x32_lsx 2. vpx_fdct32x32_rd_lsx Bug: webm:1755 Change-Id: I83bce11c0d905cf137545a46cd756aef9cedce47
2022-04-14temporal_filter_sse4: remove unused function paramsJames Zern
this clears warnings under clang-13 of the form: ../vp9/encoder/x86/temporal_filter_sse4.c:275:39: warning: parameter 'u_pre' set but not used [-Wunused-but-set-parameter] Change-Id: I21519b5b0b9c21b04b174327415e0e73b56bdfda
2022-04-14Fix int overflow in intermediate calculationJerome Jiang
This is not a complete fix to webm:1751. Bug: webm:1751 Change-Id: Ieed6c823744f5f0625d529db3746cfe4f549c8c0
2022-04-14Merge "vp9,update_mbgraph_frame_stats: rm unused variables" into mainJames Zern