summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-21Simplify the logics in find_next_key_frameangiebird
Since the while loop's condition already check rc->frames_to_key < cpi->oxcf.key_freq, it impossible to have "frames_to_key >= 2 * cpi->oxcf.key_freq" and "frames_to_key > cpi->oxcf.key_freq". Hence, these logics are removed. Change-Id: I9dfc2ba36e1012718c857fc710036e2d30acd3b8
2019-10-21Add get_gop_coding_frame_num()angiebird
This function will decide number of coding frames and whether to use altref Change-Id: I736190512ea92ce5387600712bd0e250ad7cb44c
2019-10-16Localize zero_motion_accumulatorangiebird
Change-Id: Ib4d37667c217cb06e6941de7b3204ba71b880396
2019-10-16Rename num_show_frames by num_coding_framesangiebird
Change-Id: I2acc7d6bde2ec2fae4460869663db1e8f6c576fe
2019-10-16Use compute_arf_boost() in define_gf_group()angiebird
Remove reset_fpf_position() because compute_arf_boost does not count on twopass->stats_in Change-Id: I560dccfcc4a2cbaa8e78a493a070a416465db4a9
2019-10-15Localize av_err mean_mod_score in define_gf_groupangiebird
Change-Id: I3fb23f5c8df1c3276b663a32556ca800b7ba2ade
2019-10-15Move code of deciding gop size into bracketsangiebird
Identify the internal params used for deciding gop size Change-Id: Ifa24a501952e06e5779a4fd2050dd486083cfa4c
2019-10-15Localize last_loop_decay_rateangiebird
Change-Id: I1d71908a79ff494c4fb32dab0dc881f7a70bd519
2019-10-15Make get_zero_mtion_factor avoid using cpiangiebird
Change-Id: Id1b41c3b77a7eae6c2934efbff2608094ee7b3c5
2019-10-15Add check_transition_to_still()angiebird
The behavior is the same as that of detect_transition_still, only we void using cpi and twopass->stats_in Change-Id: I07722c817d98d8e4991a0a883235a582db8b5c3c
2019-10-15Add compute_arf_boost()angiebird
It's behavior is the same as that of calc_arf_boost() But, we avoid using cpi and twopass->stats_in Change-Id: I31cf7889abf43effcca9004a9d55f4b424ce388a
2019-10-11Correct the num_frams of fps_init_first_pass_infoangiebird
Note the last packet is cumulative first pass stats. So the number of frames is packet number minus one Change-Id: I5f617e7eeb63d17204beaaeb6422902ec076caeb
2019-10-11Simplify the logics of computing gf_group_err etcangiebird
Move the logics of computing gf_group_err, gf_group_raw_error, gf_group_noise, gf_group_skip_pct, gf_group_inactive_zone_rowsa, gf_group_inter, gf_group_motion into one for loop The behavior stays the same. Change-Id: Idbc338a88469bf7a2786c831880e8aba8ed4feb5
2019-10-11Add calc_norm_frame_score()angiebird
The behavior is the same as calculate_norm_frame_score(), but we avoid use cpi. Change-Id: I3400abcdd02e041eb3b1ebf402b40b97df00d6f4
2019-10-11Remove mod_frame_err in define_gf_groupangiebird
Change-Id: I3cefcc797e8756c9d3256321679784a356fc1946
2019-10-11Simplify the if clause in define_gf_groupangiebird
Change-Id: I70a06a4f48c5a215831d8b6e918eebc3041ef65a
2019-10-10Refactor calc_frame_boost()angiebird
Replace detect_flash() by detect_flash_from_frame_stats() Change-Id: I31862820926b5167ff70cebe2009c04aa745a019
2019-10-10Add first_pass_info in TWO_PASSangiebird
This is part of the change aims at replacing stats_in/stats_in_start/stats_in_end by first_pass_info. Change-Id: Ibcd2a08e57cb749fe68996f33fe3a5e7f92b1758
2019-10-10Refactor get_prediction_decay_rate()angiebird
Replace cpi by frame_info Rename next_frame by frame_stats Change-Id: I909f01ce724aac13030931970fba8b7b3f4d0080
2019-10-10Replace cpi by frame_info in get_sr_decay_rate()angiebird
Change-Id: I8ed925edb12345042cf3e446095b4ad4acfa11c4
2019-10-10Change the interface of calc_frame_boostangiebird
Replace cpi by frame_info and avg_frame_qindex Change-Id: Ie63526ac9942acf75cc416fcaa0a169838b23322
2019-10-10Use frame_info in calculate_active_areaangiebird
Change-Id: I16049bef4aee54c915dc5cf181111c5a334b5eaf
2019-10-10Add FRAME_INFO into VP9_COMPangiebird
Change-Id: Ibc804f2420113010013c04dc005b02dfebdfda8a
2019-10-10Add detect_flash_from_frame_stats()angiebird
Change-Id: I06a64b45045334cf9563d27e154a3b8095ad80a3
2019-10-04vp9: fix non bitexact when reuse_inter_pred is 0.Jerome Jiang
when the best filter selected is not EIGHTTAP_SMOOTH, and reuse_inter_pred is 0, pred buffer was not pointing to the right place. Change-Id: I5b519fedd2d892bf140879faa74b463a161e253b
2019-10-04Merge "vp9/common/vp9_reconinter: fix int sanitizer warnings"Hien Ho
2019-10-03Merge "vpx_dsp/quantize: fix int sanitizer warnings"Hien Ho
2019-10-03vp9/common/vp9_reconinter: fix int sanitizer warningsHien Ho
Unit Test: VP9/InvalidFileTest implicit conversion from type 'int' of value -65536 (32-bit, signed) to type 'int16_t' (aka 'short') changed the value to 0 (16-bit, signed) BUG=webm:1615 BUG=webm:1645 Change-Id: I4ce0c6abf8b5bf43ee43e958ad75d9fa28b23eee
2019-10-03vpx_dsp/quantize: fix int sanitizer warningsHien Ho
From unit test: AVX/VP9QuantizeTest; SSSE3/VP9QuantizeTest ... implicit conversion from type 'int' of value -139812 (32-bit, signed) to type 'tran_low_t' (aka 'short') changed the value to -8740 (16-bit, signed) BUG=webm:1615 Change-Id: I730946ac6c7a250dcbcfd8a2712c0f1150ddb4fd
2019-10-03vp9/decoder/vp9_detokenize: fix int sanitizer warningsHien Ho
From unit test: VP9MultiThreaded/InvalidFileTest implicit conversion from type 'int' of value 83144 (32-bit, signed) to type 'tran_low_t' (aka 'short') changed the value to 17608 (16-bit, signed) BUG=webm:1615 BUG=webm:1648 Change-Id: I4170494c328596ace66432c8563c55f31745cf76
2019-09-30Merge "namespace ARCH_* defines"James Zern
2019-09-30namespace ARCH_* definesJames Zern
this prevents redefinition warnings if a toolchain sets one BUG=b/117240165 Change-Id: Ib5d8c303cd05b4dbcc8d42c71ecfcba8f6d7b90c
2019-09-27Fix python3 format issueJerome Jiang
Change-Id: If0fed04c8682baee82efbdf5b4f90bcc8e8ac102
2019-09-24Merge "vp9-rtc: Fix to speed 4 for real-time mode"Marco Paniconi
2019-09-23vp9-rtc: Fix to speed 4 for real-time modeMarco Paniconi
Fix some speed feature settings for speed 4 in real-time mode. Use rd pickmode (i.e.,nonrd_pick_mode=0), but use variance partitioning. Allow aq-mode=3 to work at speed 4 and modify some other speed settings. This makes it much faster than the current speed 4, and still better quality than speed 5. Change-Id: I94ec43ccac022030a75b5a528703be0c37f9a35c
2019-09-20Merge "Remove USE_PQSORT and CHANGE_MV_SEARCH_ORDER"Angie Chiang
2019-09-20Remove USE_PQSORT and CHANGE_MV_SEARCH_ORDERAngie Chiang
Remove the feature_score related code to simplify the code. The feature_score is incorporated in get_local_structure and will be integrated in later. The current non_greedy_mv performances are lowres: -0.239% midres: -0.569% hdres: -0.365% Change-Id: Ida28bb1baff6932f1c28b24d371a35a1546fa7e9
2019-09-20vp9-svc: Fix to forced key frame for spatial layersMarco Paniconi
Condition to disallow key frames on spatial enhancement layers should be based on the first_spatial_layer_to_encode, which need not be layer 0. Change-Id: If6bc67568151c38c9c98290e5838a23b3ab18e8a
2019-09-19Merge "Remove redundant comment"Angie Chiang
2019-09-18Remove redundant commentAngie Chiang
Change-Id: I2020d21701ec7a7b018c4063918232098124d033
2019-09-18Merge "Move vp9_alloc_motion_field_info"Angie Chiang
2019-09-18Move vp9_alloc_motion_field_infoAngie Chiang
Move vp9_alloc_motion_field_info out of init_tpl_buffer, so that vp9_alloc_motion_field_info will be called even though there is not alternate reference frame. This fix the crash with shields_720p50 at bitrate 2000 Change-Id: If2877e8d0b8a834556be12d239b7b58ad1fc8c73
2019-09-16Fix msan on svc tests.Jerome Jiang
BUG=b/140939146 Change-Id: Ib3e714f01c58fc0452c7e1adfc8fd3f1d9f8e0a0
2019-09-11Merge "vp9_quantize_sse2: quiet clang-7 integer sanitizer warning"James Zern
2019-09-10vpx_clear_system_state after drop due to overshootJerome Jiang
BUG=999780 Change-Id: I096fdc22812eab22a38a33135c0cbe60a6e64add
2019-09-10vp9_quantize_sse2: quiet clang-7 integer sanitizer warningJames Zern
nzflag is used as a boolean, it doesn't need to be a sized type, int is enough (and _mm_movemask_epi8 returns one) fixes: vp9_quantize_sse2.c:136:16: implicit conversion from type 'int' of value 65535 (32-bit, signed) to type 'int16_t' (aka 'short') changed the value to -1 (16-bit, signed) BUG=webm:1649 Change-Id: I0e3f5278af49d84760f3dfb607f28099cf02f21d
2019-09-06vp9-svc: Add new frame drop mode for SVCMarco Paniconi
add SVC framedrop mode: Lower spatial layers are constrained to drop if current spatial layer needs to drop. No change in behavior to other existing modes. Change-Id: I2d37959caf8c4b453b405904831b550367f716ba
2019-09-06Merge "Don't generate mv refs that won't be used"James Zern
2019-09-03Merge "Upload Motion Field Estimation Unit Test Files"Angie Chiang
2019-08-30Report failure of vp9_alloc_motion_field_infoAngie Chiang
Change-Id: I87f2a8dbf4e89b1cc8526307e82812aea6ac137e