summaryrefslogtreecommitdiff
path: root/vp9
AgeCommit message (Collapse)Author
2018-09-18Merge "Add a frame_index entry to RefCntBuffer"Jingning Han
2018-09-18Merge "Assign GOP frame offset to all the coding frames"Jingning Han
2018-09-18Merge "cosmetics: normalize include guards"James Zern
2018-09-17Add a frame_index entry to RefCntBufferJingning Han
This entry will only be effectively used at the encoder side. Adding it to the RefCntBuffer data structure would help make the associated logic a lot simpler. Its effect on the decoder side would be explicitly sent through the bit-stream. Change-Id: I1660dce9e0bb6e28c3315d5e0df6dc4a9298f71f
2018-09-17Assign GOP frame offset to all the coding framesJingning Han
Overload the use of arf_src_offset to account the relative frame offset for all the coding frames within a GOP. Change-Id: Ia86dede37c6a93d9f23098c15dbd936acefd75dc
2018-09-17Remove multi_arf_last_grp_enabled flag.Paul Wilkins
Delete flag and associated code. Change-Id: I899d258a4cd7b84de9136ccfa27cf8a50108b130
2018-09-17Remove multi_arf_enabled.Paul Wilkins
Remove deprecated multi_arf_enabled flag and associated code. Change-Id: I73f06362a10faa5b3bd91a78eedb201a96434f18
2018-09-17Remove multi_arf_allowed variable.Paul Wilkins
Removes deprecated multi_arf_allowed variable and dependent code. Change-Id: Ic1cf341f807c38207e728c48a4c4442387db93ff
2018-09-15cosmetics: normalize include guardsJames Zern
use the recommended format [1] of: <PROJECT>_<PATH>_<FILE>_H_ [1] https://google.github.io/styleguide/cppguide.html#The__define_Guard "All header files should have #define guards to prevent multiple inclusion. The format of the symbol name should be <PROJECT>_<PATH>_<FILE>_H_." Change-Id: I2e8ab0b32fb23c30fa43cff5fec12d043c0d2037
2018-09-14Merge changes Ic6b9330f,Ibe14a023Angie Chiang
* changes: Fix mv_arr assignment Dump tpl mvs for mv search block
2018-09-13Fix mv_arr assignmentAngie Chiang
Change-Id: Ic6b9330ffb9b75b3a8441024fbf8ba53c134621b
2018-09-13Dump tpl mvs for mv search blockAngie Chiang
Change-Id: Ibe14a02391b960e030c4a48e61718e43a5a65788
2018-09-13Merge "Dump ref frame when DUMP_TPL_STATS is on"Angie Chiang
2018-09-13Merge "Initial step in deprecating previous dual arf code."Jingning Han
2018-09-13Merge "Remove deprecated first_inter_index"Jingning Han
2018-09-13Merge "Remove unused variables from VP9_COMP"Jingning Han
2018-09-13Initial step in deprecating previous dual arf code.Paul Wilkins
Always use cpi->multi_layer_arf branch if enable_auto_arf >= 2. Use enable_auto_arf value to indicate max number of ARF levels to use in multi-arf case. Further cleanup to of old code follow in seperate patches. Change-Id: I25cd1e4a119a2d482a15705f5126389054764f9f
2018-09-12Remove deprecated first_inter_indexJingning Han
With the refactoring of logics that determines if a frame needs re-code runs to adapt to the target bit-rate, the variable first_inter_index is no longer in effect use. Hence remove it. Change-Id: I045894ad1f8b1e00fa40d5a55d762bad0d31b27d
2018-09-12Remove unused variables from VP9_COMPJingning Han
Change-Id: I853e0925d29becb9c1f84e5c00d84649fb070a07
2018-09-12Dump ref frame when DUMP_TPL_STATS is onAngie Chiang
Also add a python script to parse the dumped results. Change-Id: I1abea5a7c04d852ec40ce37d758af21960b6e589
2018-09-12Merge "Revert "Revert "Loopfilter MultiThread Optimization"""Harish Mahendrakar
2018-09-12Merge changes I7173f2fe,I460b6c4b,I5070657f,I2b3e1e16Jingning Han
* changes: Remove some deprecated FRAME_UPDATE_TYPE elements. Remove some deprecated constants. Remove unused rate control data elements Remove extra_arf_allowed.
2018-09-12Remove some deprecated FRAME_UPDATE_TYPE elements.Paul Wilkins
Removal of some frame types relating to deprecated multi-arf work. Added a dummy value for the USE_BUF_FRAME frame type in the declaration of the rd_frame_type_factor[FRAME_UPDATE_TYPES] structure. Change-Id: I7173f2fe33a53117e1bde6f9621efc1a5951240b
2018-09-12Merge "Fix rate control bug with recode all."Paul Wilkins
2018-09-12Remove some deprecated constants.Paul Wilkins
Removal of some # defines relating to deprecated multi-arf work. Change-Id: I460b6c4bee9bf0ef588eddc47329c2b17f60e5ba
2018-09-12Remove unused rate control data elementsPaul Wilkins
Removal of rate control structure elements related to Zoe's deprecated multi laryer ARF work. Change-Id: I5070657f91df7bd3f9137cf74016f737313417c8
2018-09-12Remove extra_arf_allowed.Paul Wilkins
Removed VP9_COMP element that is no longer used. Change-Id: I2b3e1e16244074e3510c1467b0e7532213c4ae05
2018-09-12Merge "Enable rectangular partition search for speed 1"Paul Wilkins
2018-09-12Merge changes I306c582c,Id5389285Paul Wilkins
* changes: Remove configure_multi_arf_buffer_updates() Remove update_multi_arf_ref_frames()
2018-09-12Merge changes I97111413,Idcd6dcbcPaul Wilkins
* changes: Clean up define_gf_group() Clean up deprecated gop structure code
2018-09-12Merge "Set GF frame layer depth to be 0"Paul Wilkins
2018-09-12Revert "Revert "Loopfilter MultiThread Optimization""Venkatarama NG. Avadhani
This reverts commit 753fd86e86ac727dccac88376260b8f54502f2a3. This also has the fix for the DoS reported in bug 1558. BUG=webm:1558 Change-Id: I65ea84e0c11d6bd40d8cb0587dfe934b3ac11dce
2018-09-11Remove configure_multi_arf_buffer_updates()Jingning Han
The bit-stream syntax doesn't support lst2/3/bwd reference frame update. Remove the deprecated function that goes such assumption. Change-Id: I306c582c2efc63928e4231adef2ee549076a987c
2018-09-11Remove update_multi_arf_ref_frames()Jingning Han
The bit-stream syntax doesn't support the use of lst2/3 frames. Remove the update_multi_arf_ref_frames() function that assumes such functionality. Change-Id: Id5389285c84fe6c578c52d210aa47ef3cb789f8e
2018-09-11Merge "Simplify vp9_frame_type_qdelta()"Jingning Han
2018-09-11Merge "Store mv/inter_cost/recon_error/err for ref frames"Angie Chiang
2018-09-11Clean up define_gf_group()Jingning Han
Remove deprecated extra_arf_allowed code. Change-Id: I97111413e6465475e750106fddef8f344db53405
2018-09-11Clean up deprecated gop structure codeJingning Han
Gradually integrate the single-/multi-layer ARF and dual ARF encoder control. Remove deprecated code. Change-Id: Idcd6dcbca3f8d7597878d83dec421e16be819f55
2018-09-11Simplify vp9_frame_type_qdelta()Jingning Han
Make direct use of frame type in the available VP9_COMMON structure. Eliminate the need to map through rf_level to fetch the frame type. This change doesn't alter the coding stats. It simplifies the vp9_frame_type_qdelta() function logic and removes unnecessary reference to rf_level. Change-Id: I1a7b2f5abcae39aa4a60d08a6011dde38ecf3b58
2018-09-11Set GF frame layer depth to be 0Jingning Han
Set the golden frame layer depth as 0 - the base layer in temporal domain. Change-Id: If63e1524a567fcff6162f4283811298551516be5
2018-09-11Remove unused constant definitionJingning Han
ARF_DECAY_BREAKOUT is no long used. Change-Id: I553f8a3087389f0343444e2551581e9de02d3427
2018-09-11Localize variable definitionsJingning Han
Localize variable definitions in setup_frames() and two_pass_first_group_inter(). Change-Id: I66e842791d679be6d22cef50e0b395b5aa380eac
2018-09-11Merge "Rework two_pass_first_group_inter()"Jingning Han
2018-09-11Merge "Separate frame context index for GOP layers"Jingning Han
2018-09-11Merge "Assign layer depth for all coding frames"Jingning Han
2018-09-11Merge "Refactor block_rd_txfm()"Hui Su
2018-09-10Rework two_pass_first_group_inter()Jingning Han
This function is used to in part decide if to trigger recode loop for the first normal P frame in a GOP. Rework its design logic to support the GOP with multi-layer ARF. Allow recode when there is a transition from ARF/OVERLAY/USE_BUF to normal P frame. The overall coding performance for multi-ARF gets slightly better (less than 0.1% for show_existing_frame case). Tested on a few clips, the encoding speed remains similar too. This change primarily serves to help integration of multi-layer ARF and dual-ARF systems. Change-Id: Ia44e44526b05029b1546985b3eb649e767d5444f
2018-09-10Refactor block_rd_txfm()Hui Su
Merge two identical if branches. Change-Id: Ie012ba9c116a30ef6fa2e7868c7a4ba886b99bc6
2018-09-10Store mv/inter_cost/recon_error/err for ref framesAngie Chiang
These information will help with making better mv search decision Add functionality to dump tpl_stats for offline analysis Change-Id: Ic2ec34368499c9bccb4d1f21a12b66453847fcf2
2018-09-10Separate frame context index for GOP layersJingning Han
Use separate frame context index to code frames at different layers. The maximum index cap is set as 3. This improves the compression performance of multi-layer ARF by 0.15% across the test sets. The overall coding gains from multi-layer ARF are avg PSNR ovarall PSNR SSIM lowres -3.9% -3.7% -3.2% midres -3.5% -3.2% -2.3% nflx2k -4.3% -4.6% -3.0% Change-Id: I8a0b345fdd47823c018544a6b4748753faf89dc1