summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-04Set up early RD cost check for NEWMV in non-RD mode decision flowJingning Han
This commit estimates the motion vector rate cost right after full pixel motion search. It combines this and the mode cost and compares the corresponding rate-distortion cost. If it is already above the current best one, skip the rest sub-pixel motion search and modeling process. For pedestrian_area 1080p at 4000 kpbs, the speed -5 runtime goes down from 39425 ms -> 38399 ms. Change-Id: If4cd7119fd6c266798d5cf1d19d19ab425e52a26
2014-04-02Adjust key frame quantization index for rtc codingJingning Han
This commit slightly increases the bit allocation for key frame. This improves speed -5 coding performance by 2.77% with aq-mode=0 and by 2.78% with aq-mode=3. Change-Id: Iaa3e777f80b9706306606af06e89852bac146659
2014-04-02Merge "Set min_block_size for aq_mode=3 to 8x8."Marco Paniconi
2014-04-02Set min_block_size for aq_mode=3 to 8x8.Marco Paniconi
For real-time mode under cbr, this increases the gain (5-10%) for speed 5 (none/little change for 6), on vc-clips. Change-Id: I9b38beeb3c820de22c43a0ba53a9456168dd24ba
2014-04-02Merge "Rate ctrl changes to track target bitrates closer"Deb Mukherjee
2014-04-02Merge "Cleaning up vp9_get_mvpred_{av_,}var() functions."Dmitry Kovalev
2014-04-02Merge "Make frame level quantization change a parameter"Jingning Han
2014-04-02Merge "Adjust rate allocation in non-RD coding mode"Jingning Han
2014-04-02Merge "Revert "Changing webmenc to use libwebm""Paul Wilkins
2014-04-02Merge "Add speed feature for recode tolerance."Paul Wilkins
2014-04-02Rate ctrl changes to track target bitrates closerDeb Mukherjee
Turns off the DISABLE_RC_LONG_TERM_MEM macro and makes other changes in the way the bits are updated, to make 2-pass rate control track target bitrates closer. Change-Id: I5f3be4b11c2908e6a9a9a1dd4fcf4e65531c44d8
2014-04-02Merge "Cleaning up vp9_mvref_common.c."Dmitry Kovalev
2014-04-02Merge "Cleaning up vp9_cx_iface.c file."Dmitry Kovalev
2014-04-02Merge "Grouping members in MB_MODE_INFO struct."Dmitry Kovalev
2014-04-02Merge "Adding return value to set_offsets() function."Dmitry Kovalev
2014-04-02Merge "Clearing all encoder counts with single vp9_zero() call."Dmitry Kovalev
2014-04-02Merge "Adding local pointer variables referencing REATE_CONTROL struct."Dmitry Kovalev
2014-04-02Merge "Remove the q division by 3 for first frame."Marco Paniconi
2014-04-02Make frame level quantization change a parameterJingning Han
Parameterize the frame level quantization index used in non-RD coding flow with cbr. Change-Id: I79cfbd9c32c0d0fc33ad720d2180432e910baf7a
2014-04-02Adjust rate allocation in non-RD coding modeJingning Han
This commit reduces the frequency of frames using finer quantizer in non-RD coding flow, and slightly tune up the quantizer resolution when used. It provides 1.7% compression gains in speed -5 at no speed difference. Change-Id: I430249a51260a841a0402666e5ec1566e4f7d5a6
2014-04-02Revert "Changing webmenc to use libwebm"Paul Wilkins
Temporary revert. Problems with conflicting definitions of type off_t in MSVC builds that need resolving. c:\Program Files (x86)\ Microsoft Visual Studio 9.0\VC\include\wchar.h(479) : "error C2371: 'off_t' : redefinition; different basic types c:\on2experimental\libvpx\tools_common.h(26) : see declaration of 'off_t'" This reverts commit 92a4c591122fa406a1d7aed834a5283a86d9758a. Change-Id: I535e40a18842a92e3e6e0b29e5fba66313010803
2014-04-02Add speed feature for recode tolerance.Paul Wilkins
The new tolerance is a little higher than before (especially for kf/gf/arf) so this change gives an encode speed up for some clips up for speeds 0-2. Change-Id: I63f7d6c9cc11c7f58742f41e250dcd3eab1741eb
2014-04-02Merge "Speed setting correction to max q estimate."Paul Wilkins
2014-04-01Adding local pointer variables referencing REATE_CONTROL struct.Dmitry Kovalev
Change-Id: I1d8c312a599db505a023e5cd0cc4ba2b8f696a2e
2014-04-01Clearing all encoder counts with single vp9_zero() call.Dmitry Kovalev
Change-Id: I4341d16ef83acd1cc9e55f7c5eff4af921bf57d4
2014-04-01Adding return value to set_offsets() function.Dmitry Kovalev
Change-Id: I88e018442c527cf21eac791f0768e805dda244f1
2014-04-01Remove the q division by 3 for first frame.Marco Paniconi
This code/setting was actually not used (since speed features were not set on first frame, until a recent change) and should be removed. In CBR mode, the q value for the first frame can be controlled by setting the target size via the parameters rc_buf_initial_sz (and max_intra_size_pct). Change-Id: I65afc64972b36c449bd5a8c25800e65da5389066
2014-04-01Renaming two members in MACROBLOCKD struct.Dmitry Kovalev
Renames: mi_8x8 -> mi mode_info_stride -> mi_stride Change-Id: I66f3e5fd1e7b7f46f108af5bb711c5fd9493c1be
2014-04-01Merge "Moving encoder quantization parameters into separate struct."Dmitry Kovalev
2014-04-01Cleaning up vp9_cx_iface.c file.Dmitry Kovalev
Change-Id: I4de07d3ef81ebba759a983207d9ca768a65220a6
2014-04-01Merge "Common configuration for MACROBLOCKD struct."Dmitry Kovalev
2014-04-01Merge "Make last frame source available in current frame encoding"Yunqing Wang
2014-04-01Make last frame source available in current frame encodingYunqing Wang
While encoding a frame, its last frame source can be used to give acurate motion information. This patch prevents last frame to be overwritten so that it is available during current frame encoding. The last source is scaled when it is necessary. cpi->Last_Source points to the last source frame. Change-Id: I0e1ef5e9e1d2badf9d0c7a1a44a7ed5b24c09425
2014-04-01Merge "Changing webmenc to use libwebm"Vignesh Venkatasubramanian
2014-04-01Merge "Propagate active map state."Alex Converse
2014-04-01Common configuration for MACROBLOCKD struct.Dmitry Kovalev
Change-Id: Ie2ea9dd8bd338cc9fe12ca9033df64f7644c68b3
2014-04-01Merge "Apply finer quantizer to partition search frames in non-RD flow"Jingning Han
2014-04-01Speed setting correction to max q estimate.Paul Wilkins
Use a crude correction factor to correct for lower compression efficiency at higher encode speeds when estimating the max Q for the clip. Change-Id: I5ae377647f4adf5e91d700a8791fb3b8f70efc73
2014-03-31Propagate active map state.Alex Converse
This fixes active map for non-rd realtime speeds. Change-Id: I1bf416de3f7ef2e5dd2eabde052cce3c0683a52c
2014-03-31Small script to scrape json for waterfallJoshua Litt
Change-Id: I879fcd3203c84fa83125e06662009d308bc2dbb6
2014-03-31Apply finer quantizer to partition search frames in non-RD flowJingning Han
This commit optimizes the bit allocation for the non-RD coding flow. It applies slightly better quantizer to the frames, where all blocks run a non-RD partition search. Such frames typically have better rate-distortion trade off, thus improving the reconstruction quality for next few frames reference at reasonably low increment in rate cost. The coding performance for rtc set at speed -5 with error-resilient tuned on and rate control set as cbr is improved by 19.58%. It improved the coding speed by about 10% for a portion of local test clips. Change-Id: I9d56696cd4359dc8136ca10aff10fff05aaa2686
2014-03-31Merge "[BITSTREAM]Fix the scaling calculation"Yaowu Xu
2014-03-31Merge "Adjust rt speed steps."Yaowu Xu
2014-03-28Grouping members in MB_MODE_INFO struct.Dmitry Kovalev
Change-Id: Ia6d7e7a08810e0c3401da4d10266828d560e6851
2014-03-28Merge "[svc] Fix SvcTest.SecondPassEncode failure"James Zern
2014-03-28Moving encoder quantization parameters into separate struct.Dmitry Kovalev
Change-Id: I2a169535489aeda3943fb5a46ab53e7a12abaa36
2014-03-28[BITSTREAM]Fix the scaling calculationYaowu Xu
For very large size video image, the scaling calculation may need use value beyond the range of int. This commit upgrade the value to 64bit to make sure the calculation do not wrap around INT_MAX. The change corrected the decoder behavior. The bug affects only very large resolution video because the scaling calculation was sufficient for image size smaller than 2^13. This resolves issue: https://code.google.com/p/webm/issues/detail?id=750 Change-Id: I2d2ed303ca6482f31f819f3c07d6d3e98ef3adc5
2014-03-28Adjust rt speed steps.Yaowu Xu
This commit adjusted the speed steps in rt mode to make the steps more evenly spaced on speed and quality, specifically: 1. Merged 3 and 4 into one single step 3 and removed confilicting features. 2. Move 8, 7, 6, 5 to be 7, 6, 5, 4 repsectively. Change-Id: I38d56d61531f3561d772aef953c411c8fb38c063
2014-03-28Merge "[svc] Finalize first version of 2nd pass rc"Minghai Shang
2014-03-28Merge "[svc] Initialization of 2nd pass rc for svc two pass rc"Minghai Shang