summaryrefslogtreecommitdiff
path: root/vp9/encoder
AgeCommit message (Collapse)Author
2019-05-29Merge "Fix calculations in GF only group case"Deepa K G
2019-05-29Merge "Increase the bits allocated to key frame"Deepa K G
2019-05-28Merge "vp9-rtc: Update overshoot_detection speed feature"Marco Paniconi
2019-05-28Merge "Fix section intra rating for first ARF interval"Paul Wilkins
2019-05-27vp9-rtc: Update overshoot_detection speed featureMarco Paniconi
Keep the overshoot_detection_cbr_rt to the fast mode (FAST_DETECTION_MAXQ), except for low-resoln at speed 5, for non-screen content. The increase in encode time (from using the more accurate RE_ENCODE_MAXQ) is acceptable for speed 5 at low resoln. Change-Id: I3089d1505553154ef046056465bc18130f7bd55a
2019-05-27Fix calculations in GF only group caseDeepa K G
- Fix the number of frames considered in calculation of twopass active worst quality. For GF only group, frames considered should be one less than baseline gf interval accounting for the golden frame. - Fix in calculation of normal_frames. As baseline gf interval includes the golden frame, the number of normal frames should be one less than baseline gf interval. Change-Id: Ic752f7d13d23772687e2fa407698766b3fdf5c67
2019-05-25Merge "Revert "Fix calculations in GF only group case""James Zern
2019-05-25Revert "Fix calculations in GF only group case"James Zern
This reverts commit c87ff4a09ddf50152918c127eebf11e3a6ef7b1e. Reason for revert: causes division by zero Original change's description: > Fix calculations in GF only group case > > - Fix the number of frames considered in calculation of > twopass active worst quality. For GF only group, frames > considered should be one less than baseline gf interval > accounting for the golden frame. > - Fix in calculation of normal_frames. As baseline gf > interval includes the golden frame, the number of > normal frames should be one less than baseline gf > interval. > > Change-Id: I6c0cd0a39db23586fc390a6fba5d7aebc0dfce08 Change-Id: I522da652587ae7ca4177f6d4bb9f72abcff35637
2019-05-24Merge "Increase active best quality linearly"Jingning Han
2019-05-24Merge "Fix calculations in GF only group case"Paul Wilkins
2019-05-21Clamp for min_frame_targetJingning Han
Apply the minimum frame size clamp for all applicable frames. This avoids bit-rate undershooting issue as reported in BUG=b/133260125 Change-Id: I59ec028eee999ad5238602adf96465af7c4f4514
2019-05-21Increase the bits allocated to key frameDeepa K G
Based on the spatial complexity, increase the bits allocated to key frame. Change-Id: I4f96990a13bcc3bdb7a22d50e67e2bd622f1ff7b
2019-05-17vp9-rtc: Increase qp thresh for overshoot detectionMarco Paniconi
For video mode (non-screen) in CBR real-time mode: increase the qp thresh to trigger setting to active_worst on scene changes. Avoid big overshoots in content with scene changes. Change-Id: I74721b07b0d7b742cbef468ece70cca7da0f89eb
2019-05-16Increase active best quality linearlyRavi Chaudhary
The ARF frames in last few gf intervals, would be used as a reference by fewer ARF frames in the same kf interval. Also, the ARF frames in the last GF group would not be used as a reference in future. Hence the active best quality for these ARF frames is increased based on their temporal distance from the next key frame. Change-Id: Ice7eaa8a25384104b1d9cc021eec588c03053fc2
2019-05-16Fix calculations in GF only group caseDeepa K G
- Fix the number of frames considered in calculation of twopass active worst quality. For GF only group, frames considered should be one less than baseline gf interval accounting for the golden frame. - Fix in calculation of normal_frames. As baseline gf interval includes the golden frame, the number of normal frames should be one less than baseline gf interval. Change-Id: I6c0cd0a39db23586fc390a6fba5d7aebc0dfce08
2019-05-16Fix section intra rating for first ARF intervalDeepa K G
The section intra rating used for the frames in the first ARF interval was based on entire key frame interval. However, for subsequent ARF intervals it was based on that ARF interval. This discrepancy is fixed. Change-Id: I3df358861d720e536c9c6f15da1cbd78f2dfffbc
2019-05-15Merge "Increase the active best quality in CQ"Deepa K G
2019-05-13Reland "vp9: Enable ml based partition for speed>=8 low res."Jerome Jiang
Disable in high bitdepth build. This reverts commit 152358da777d45613b386be3a116719b8b16bd6d. Change-Id: I9996d0963915ed4db0fde80c6290d91b3ce63719
2019-05-13Merge "Fix update of mb_smooth_pct and mb_av_energy"Paul Wilkins
2019-05-10Merge "Revert "vp9: Enable ml based partition for speed>=8 low res.""Jerome Jiang
2019-05-10Merge "Cast buffer offset to int64_t"Jerome Jiang
2019-05-10Revert "vp9: Enable ml based partition for speed>=8 low res."Jerome Jiang
This reverts commit eed8d47769ddc78c277f8a45b12af4b65096b59a. BUG=chromium:946409 Change-Id: Iaf9929de841445f63e93792d1fee06d9a1035ef4
2019-05-10Merge "Assign perceptual AQ mode as 5"Jingning Han
2019-05-10Assign perceptual AQ mode as 5Jingning Han
Change-Id: I8f301fab3bedcd71588c57ccd6e49dcb7042e220
2019-05-10Cast buffer offset to int64_tJerome Jiang
To prevent integer overflow with extreme frame sizes. Change-Id: Ib77f1c11f0264257d9e6c162f474d637592e7b09
2019-05-10Reland "vp9-rtc: tx_size selection for intra mode in nonrd"Jerome Jiang
Reland this change since tsan failure is fixed. Change-Id: I20e3d3d23e34befabb43a36d491d27dfc2a908b6
2019-05-09Fix tsan failure in webrtc test.Jerome Jiang
plane block size is used when computing model rd for uv. However, it iterates thru sub-blocks based on tx size on uv planes and plane block size could be bigger than that, which leads to reading beyond tile boundary when the block is on it. BUG=b/131414589 Change-Id: I362091484b1325b89d2175039323b235a06ebffc
2019-05-08Merge "Fix key frame detection"Jingning Han
2019-05-08Fix key frame detectionJingning Han
This solves the regression issue seen in certain animation clips. BUG=b/132108583 Change-Id: Ib28413c95160a5f15fbcf9ea6a322fd4f69a57ce
2019-05-08Merge "Avoid two GF only groups just before a kf"Paul Wilkins
2019-05-07Merge "Cap arf boost in perceptual quality mode"Jingning Han
2019-05-07Merge "Increase min arf boost from 240 to 250"Jingning Han
2019-05-06Add mismatch_debug toolAngie Chiang
Change-Id: I045b4cf625d428109688303ced5433d824df2790
2019-05-06Cap arf boost in perceptual quality modeJingning Han
When the perceptual AQ mode is enabled, cap the ARF boost to 2.5x of the regular frame. This allows more consistent frame quality across consecutive frames and sufficient bit rate allocation at frame level for AQ mode. Change-Id: I10f5e2860a3e4b412efe25cca635405bae293ebf
2019-05-06Increase min arf boost from 240 to 250Jingning Han
This imposes nearly zero change in low/mid/hd res test sets. Change-Id: I121716b96263f2a382d35e7ff05ed8b72e5e6bc7
2019-05-06Revert "vp9-rtc: tx_size selection for intra mode in nonrd"Jerome Jiang
This reverts commit cdd40d1cd042d8c139b3426f311b8b5722d696bb. Cause tsan failure in webrtc tests. BUG=b/131414589 Change-Id: I04f98153bc1f9d013d3d1eb8d06df312fe12f8b4
2019-05-06Fix update of mb_smooth_pct and mb_av_energyRavi Chaudhary
Values of mb_smooth_pct and mb_av_energy have been updated correctly in vp9_rc_get_second_pass_params for higher layer ARF frames. Change-Id: Ic176e393eb8cc5f418235fee9accee84e9809607
2019-05-03Avoid two GF only groups just before a kfDeepa K G
Trap the case where we end up with two short GF only groups just before a key frame. For example, if the KF is 22 frames away we are better doing one ARF group of size 16 followed by a GF only group of 6 than two GF only groups of size 11 (when min_gf_interval is 12). Change-Id: Ie598a8a21c6e104cbe381b4792e77fd92d047725
2019-05-02Merge "Fix the use of uninitialized value in qsort"Angie Chiang
2019-05-01Rework the wiener variance bufferJingning Han
Support the potential frame scaling use case. The operation flow now allows the codec to allocate the memory buffer only when perceptual AQ mode is enabled. Change-Id: I7529e63131276dbe3a29f910d3a227f20dbc94a2
2019-05-01Deprecate stack_rank_buffer usageJingning Han
This large buffer is no longer needed. Change-Id: I9f2b3b28663d299649208f6172bba136103342ad
2019-05-01Refactor perceptual aq controlJingning Han
Move the activation control to vpxenc interface using aq-mode. Change-Id: Iae406d4f7e74bdc7bfd3b149f0811093454f879e
2019-05-01Merge "Add PERCEPTUAL_AQ tag"Jingning Han
2019-04-30Fix the use of uninitialized value in qsortJingning Han
Search within the effective transform coefficient window. Change-Id: If432eaab5ffca1cdfe57ee23052bf5dc60a2f893
2019-04-30cast ambiguous _mm_set1_epiNN() constantsJohann
clang 7 integer sanitizer warns on unsigned->signed conversions when the highest bit is 1. BUG=webm:1615 Change-Id: I6381efaff9233254b40cb78f7bcf87090e0ad353
2019-04-30Merge "Refine active best quality of layered ARF frames"Deepa K G
2019-04-29Merge "Call set_error_per_bit in SSIM rdmult update"Sai Deng
2019-04-29Merge "Add bistream_debug tool"Angie Chiang
2019-04-29Add PERCEPTUAL_AQ tagJingning Han
Refactor the percetual AQ mode control. Change-Id: I9c00c32139ec98fd6aebc1d5086e042730f3616f
2019-04-29Merge "Refactor the SSIM based rdmult update function"Sai Deng