summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-01Use distortion and rate of best_rd as the paramssdeng
Also added rd calculation for negative rates and distortions. This CL is a preparation for implementing hierarchical SSIM rdmult scaling. Little impact on quality and speed: avg_psnr ovr_psnr ssim (mid_res) -0.015 -0.009 -0.018 perf stat -e instructions:u ./vpxenc park_joy_480p.y4m --limit=50 with this cl: 317,700,108,619 before: 317,669,279,763 Change-Id: I01588758b7be2aab32236440ec0e57d7af56e920
2019-05-31Use distortion and rate recursively in rd_pick_partition()sdeng
This CL is a preparation for implementing hierarchical SSIM rdmult scaling, There is very little impact on metrics and speed: avg_psnr ovr_psnr ssim midres -0.04 0.005 0.012 perf stat -e instructions:u ./vpxenc park_joy_480p.y4m --limit=50 with this cl: 317,669,279,763 before: 317,717,562,045 Change-Id: I6f17864e7b17aad06a04ae4f470f75e975549db9
2019-05-17vp8: Disallow copy flag behavior under forced refreshMarco Paniconi
Don't allow the setting of copy_buffer_to_arf when the application/user sets the refresh/update flags. Add new flag (ext_refresh_frame_flags_pending) to indicate user sets the flags. Change-Id: I482098c0f2552b04885132a728629ab3e207f08b
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-15Merge "Revert "disable row mt test""Johann Koenig
2019-05-15Revert "disable row mt test"Johann Koenig
This reverts commit 6d6cc17dc852a216395611bf651e57c19c95b9c4. Reason for revert: This has not been reproduced on hardware. There is a strange libc bug which may account for the behavior on arm because the environment qemu is using is somewhat old. See discussion on the webm bug. To work around the failures in the nightly test the jenkins job has been switched to use the hardfloat compiler and qemu environment. Even though this is the same version, it has not shown the hanging behavior. Original change's description: > disable row mt test > > deadlock is being investigated in attached bug. > > BUG=webm:1626 > > Change-Id: Ia6d7020b8b1d274433aa89f36c9ed5b9facc5808 Bug: webm:1626 Change-Id: I104a82696a4c90bfbadfd39407c073adce73af0d
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 "disable row mt test"Johann Koenig
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-09disable row mt testJohann
deadlock is being investigated in attached bug. BUG=webm:1626 Change-Id: Ia6d7020b8b1d274433aa89f36c9ed5b9facc5808
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 "android: clarify RTCD usage"Johann Koenig
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-07Merge "vp8: Remove duplicated code in datarate tests."Jerome Jiang
2019-05-06vp8: Remove duplicated code in datarate tests.Jerome Jiang
Duplicated code between *Large and other tests. Change-Id: I0cea7472c3520175339bc921dfd8a090b5d5484d
2019-05-06Add mismatch_debug toolAngie Chiang
Change-Id: I045b4cf625d428109688303ced5433d824df2790
2019-05-06Merge "Revert "vp9-rtc: tx_size selection for intra mode in nonrd""Jerome Jiang
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-06Merge "android: do not attempt standalone builds"Johann Koenig
2019-05-06Merge "Exclude VP9 assemblies from VP8 builds"Harish Mahendrakar
2019-05-06android: clarify RTCD usageJohann
Note that when using --disable-runtime-cpu-detect the developer must keep in mind what devices the library will be run on. BUG=webm:1623 Change-Id: I0359e226bb678f8e5145bb30cd1cefc7e30c6c79
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-06android: do not attempt standalone buildsJohann
arm builds require too many tweaks to keep up with changes to the ndk. Recommend ndk-build instead. Update documentation and drop --sdk-path references. If --enable-external-build is used instead we do not need the compiler path. BUG=webm:1622 Change-Id: Id024345afd7af988321f8f97ebab19c425cb0493
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-06Exclude VP9 assemblies from VP8 buildsVenkatarama NG. Avadhani
Add a macro to to exclude VP9 specific assembly files from build if VP9 is not configured. This would otherwise cause a linking error for VP8 only builds. BUG=webm:1625 Change-Id: I6d892b7c2837a2574538d18b776fd2b6d706da96
2019-05-03Merge "vp8: clamp uv mv after calculation."Jerome Jiang
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-02vp8: clamp uv mv after calculation.Jerome Jiang
BUG=oss-fuzz:14478 Change-Id: Ia978a1e7829bf486681385cd715ed0b50fe3b072
2019-05-02Merge "vp8: quiet conversion warnings when packing bits"Johann Koenig
2019-05-02Merge "Fix the use of uninitialized value in qsort"Angie Chiang
2019-05-01Merge "make vpx_debug_util.c inclusion conditional"James Zern
2019-05-01vp8: quiet conversion warnings when packing bitsJohann
Mask the values to show that we only want to store 1 byte. Switch to lowercase ff since it's more prevalent in the file. BUG=webm:1615 Change-Id: Ia8ede79cb3a4a39c868198ae207d606e30cfb1cb
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-30make vpx_debug_util.c inclusion conditionalJames Zern
on CONFIG_BITSTREAM_DEBUG. this avoids an object file containing no symbols which may cause warnings on some platforms. Change-Id: I02af97d6970de949466c29f50d272733d97ee8d2