summaryrefslogtreecommitdiff
path: root/vp9/encoder
AgeCommit message (Collapse)Author
2019-10-21Refactor kf_group_err in find_next_key_frameangiebird
Move the computation out of the while loop. Change-Id: I00697e9a16d5d597c63e5d9895e4ae00efc7a2df
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-09-30namespace ARCH_* definesJames Zern
this prevents redefinition warnings if a toolchain sets one BUG=b/117240165 Change-Id: Ib5d8c303cd05b4dbcc8d42c71ecfcba8f6d7b90c
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-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-08-30Report failure of vp9_alloc_motion_field_infoAngie Chiang
Change-Id: I87f2a8dbf4e89b1cc8526307e82812aea6ac137e
2019-08-29Free set_mv properlyAngie Chiang
Change-Id: I9b1830dc16189678121c860e0493ed8b04c512a8
2019-08-28Move motion field from TplDepFrame to MotionFieldAngie Chiang
Replace get_pyramid_mv by vp9_motion_field_mi_get_mv. The goal is to modularize motion field related operations. Change-Id: I33084e680567ab106659ba9389cc4b507b893c69
2019-08-27Add MACRO MAX_INTER_REF_FRAMESAngie Chiang
Use MAX_INTER_REF_FRAMES wheneve it's suitable Change-Id: I0fad94371a6600099313685cbe38faebb44178c4
2019-08-27Add motion_filed_info in VP9_COMPAngie Chiang
Call vp9_alloc_motion_field_info and vp9_free_motion_field_info properly Change-Id: I79fcb1fd37ee5e95bf7febb728480583ebd5a065
2019-08-27Add free_tpl_bufferAngie Chiang
Change-Id: I93660044880ec08dc716138d492c757d510e0952
2019-08-26Cosmetic changes to vp9_alloc_motion_field_infoAngie Chiang
Change-Id: I6808ac11a9a0f2137b30ae66773f6e3dcccef77d
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-23Merge "Let do_motion_search process one ref at at time"Angie Chiang
2019-08-22modify smooth model(float type mv + normalization)Dan Zhu
Change-Id: I7441e04190b8a797f3863166e95b3b6c9924ab50
2019-08-20Merge "Add [full/sub]_pixel_motion_search"Angie Chiang
2019-08-20Merge "Add 6:1:1 weighted PSNR to opsnr.stt"Yue Chen