summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-29Add some const qualifiers where applicableHui Su
Change-Id: Ib820f625e0b616fd57a2722ec3614b4fccf307f8
2019-01-29Reuse simple motion search resultsHui Su
In the ML based partition search speed feature, use MV result of previous simple motion search as the starting point for the next one. Compression change is neutral; encoding speed becomes slightly faster. Change-Id: Iea554f28f7966fc5b5857e12b06de58e3fa312a6
2019-01-29Merge changes I7dcfcdb3,Ie0b2c67bAngie Chiang
* changes: Add predict_mv_mode_arr() Add predict_mv_mode()
2019-01-29Merge "Fix mismatch between SIMD/C version of vp9_apply_temporal_filter"Chi Yo Tsai
2019-01-29Merge "Refactor ml_predict_var_rd_paritioning()"Hui Su
2019-01-28Fix mismatch between SIMD/C version of vp9_apply_temporal_filterchiyotsai
Change-Id: I6503ebc79beaac2947992437ac133f3ac4379019
2019-01-28Merge "Fix test case name for yuv_temporal_filter"Chi Yo Tsai
2019-01-28Fix test case name for yuv_temporal_filterchiyotsai
This should fix valgrind's failure. BUG=webm:1591 Change-Id: Idab2d6281484c36e6de193d6f45d13f97762625e
2019-01-28Refactor ml_predict_var_rd_paritioning()Hui Su
Refactor out code about simple motion search. Change-Id: Ie6895db2aff3c13e7a45554d6bc1c7c0af8f2d51
2019-01-28Add predict_mv_mode_arr()Angie Chiang
The function predicts the mv_mode for each prediction block in diagonal order. Change-Id: I7dcfcdb317ffa334cb40bb435baa71b5db62252b
2019-01-28Add predict_mv_mode()Angie Chiang
This function evaluate the impact of setting NEW_MV_MODE on a block and its neighbor blocks. Change-Id: Ie0b2c67bdc5cd14e0efd8ebc5dc3f3f873bcf3fe
2019-01-26Merge "Revert "Enable SSE4 version of apply temporal filter""Chi Yo Tsai
2019-01-26Revert "Enable SSE4 version of apply temporal filter"Chi Yo Tsai
This reverts commit 4f3cd48bfe4541ca64883db51f57c1376c6d8a73. Reason for revert: Found a mismatch with c version Original change's description: > Enable SSE4 version of apply temporal filter > > Evaluating on 5 midres clips with 4 bitrates over 30 frames on speed 1 > auto_alt_ref=1, there is a speed up of 1.660%. > > BUG=webm:1591 > > Change-Id: Idbda58548679e6f7b8fc0d7f6144f7be057ef690 TBR=yunqingwang@google.com,builds@webmproject.org,chiyotsai@google.com Change-Id: Ibca973576d72d6db4b647a08aef23389d5d6605a No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webm:1591
2019-01-25Merge "Fix a bug in tune-content film mode"Sai Deng
2019-01-25Merge changes Ia1b3ec7e,I58b8c713,Ibeb43400Angie Chiang
* changes: Add find_best_ref_mv_mode() Add get_mv_dist Add get_mv_from_mv_mode()
2019-01-25Merge "Enable SSE4 version of apply temporal filter"Chi Yo Tsai
2019-01-25Merge "Add SSE4 version of new apply_temporal_filter"Chi Yo Tsai
2019-01-25Merge "Adjustment to noise factor in first pass."Paul Wilkins
2019-01-25Adjustment to noise factor in first pass.Yunqing Wang
Adjustments to the calculation and use of a noise estimate in the first pass Q estimate and adaptation of temporal filtering. This change was tested and gave gains for both auto-alt-ref=1 and auto-alt-ref=6 as follows: Results are Av PSNR, Overall PSNR, SSIM and PSNR-HVS auto-alt-ref=1 low_res 0.007, -0.042, -0.018, 0.074 mid_res -0.142, -0.239, -0.173, -0.129 hd_res -0.322, -0.405, -0.397, -0.367 NF_2K -0.058, -0.099, -0.201, 0.028 auto-alt-ref=6 low_res -0.058, -0.171, -0.188, -0.027 mide_res -0.149, -0.155, -0.171, -0.137 hd_res -0.252, -0.339, -0.259, -0.297 NF_2K -0.015, -0.068, -0.120, 0.092 In all sets there were some winners and losers but significantly more winners. The biggest change was Stockholm in the hd set with an improvement of 5-6% Change-Id: Ieec71e1c4e3e09b76c288efa7b4d1b00015b3a11
2019-01-24Enable SSE4 version of apply temporal filterchiyotsai
Evaluating on 5 midres clips with 4 bitrates over 30 frames on speed 1 auto_alt_ref=1, there is a speed up of 1.660%. BUG=webm:1591 Change-Id: Idbda58548679e6f7b8fc0d7f6144f7be057ef690
2019-01-24Add SSE4 version of new apply_temporal_filterchiyotsai
This adds a preliminary version of vp9_apply_temporal_filter in SSE4.1. This patch merely adds the function and does not enable it yet. Speed Up: | ss_x=1 | ss_x=0 | ss_y=1 | 19.80X | 19.04X | ss_y=0 | 21.09X | 20.21X | BUG=webm:1591 Change-Id: If590f1ccf1d0c6c3b47410541d54f2ce37d8305b
2019-01-24Add find_best_ref_mv_mode()Angie Chiang
This function compute the rd cost for each mv_mode and return the one with minimum rd cost. eval_mv_mode() Evaluate the rd cost for a given mv_mode. Change-Id: Ia1b3ec7e1dd538e443e1bc79f2cab352408cd0a0
2019-01-24Add get_mv_distAngie Chiang
Given an mv_mode, get_mv_dist() obtains the mv and uses it to compute distortion. Change-Id: I58b8c7137b99c2736d651e678f0cd013dbd94877
2019-01-25Merge changes I0fb46784,I6c89fae4Angie Chiang
* changes: Add set_block_src_pred_buf() [cleanup] Move get_feature_score to a proper place
2019-01-24add -Wmissing-declarationsJohann
This is useful for catching functions which should be static and instances where the relevant rtcd file was not included. BUG=webm:1584 Change-Id: Ied395847a664eedce59e8ed5180bd16d059ab0ac
2019-01-24Merge "mips: resolve missing declarations"Johann Koenig
2019-01-24Add get_mv_from_mv_mode()Angie Chiang
Given an mv_mode, this function will return the corresponding mv. find_ref_mv() A helper function finds the nearest and near mvs from the neighbor blocks. select_mv_arr[] An array used for storing selected motion vectors. Change-Id: Ibeb434007f65b2c6e461360f208d99455e76bcbf
2019-01-24Fix a bug in tune-content film modesdeng
Avoid recursively decreasing 'strength'. avg_psnr ovr_psnr ssim midres -0.224 -0.195 -0.115 Change-Id: Ie74c069cda76873ac38e9c1a9162b1ddfb9b103d
2019-01-23Add set_block_src_pred_buf()Angie Chiang
This function sets src and pre buffer of MACROBLOCK and MACROBLOCKD. Will add static decorator once this function is called. Change-Id: I0fb46784dd97839e4d87c9e027fe8c59683e70d8
2019-01-23[cleanup] Move get_feature_score to a proper placeAngie Chiang
Add static decorator to it as well. Change-Id: I6c89fae456561b6975ab49af139a45a7483507c6
2019-01-23mips: resolve missing declarationsJohann
Exclude low bit depth optimizations from high bit depth builds. BUG=webm:1584 Change-Id: I86a7ebafa557d262257358e1e055a06d52659977
2019-01-23Fix a typo in the test cases for convolve testchiyotsai
BUG=webm:1591 Change-Id: I34aedcb5336a96e33932ce34967c12f187ee52e2
2019-01-23Merge "Clean up code for yuv_temporal filter_test.cc"Chi Yo Tsai
2019-01-23Fix Windows SDK and VS version checksJon Kunkee
If WindowsTargetPlatformVersion is not set, the Visual Studio 15 (2017) toolchain assumes that Windows 8.1 is being targeted. Since ARM64 support is only present and unlocked in Windows SDKs >= Windows 10 1809, set that SDK as required in the vcxproj files. Note that this will not be an issue in Visual Studio 16 or greater, hence the -eq major version check. https://developercommunity.visualstudio.com/content/problem/128836/windowstargetplatformversion-to-use-the-latest-ava.html Bug: chromium:893460 Change-Id: Ib069501ad384d91349b1f635722dedd31a4edd97
2019-01-22Clean up code for yuv_temporal filter_test.ccchiyotsai
Some cosmetic changes to make the code google c++-style compliant. BUG=webm:1591 Change-Id: Icef3ccc8ebed7210b6b6f915885d5f648e62da72
2019-01-22Merge "ads2gas: remove DO1STROUNDING"Johann Koenig
2019-01-18Change temporal filter's search_method on speed 1chiyotsai
This commit introduces a new speed feature that determines the SEARCH_METHOD used by temporal filter when doing 16x16 block on full_pixel_motion_search. On speed 0, the most exhaustive method MESH is used. On speed 1 and above, a faster method NSTEP is used. Performance: | AVG_PSNR | AVG_SPDUP | AVG_SPDUP:AVG_PSNR MISRES | 0.007% | 2.818% | 402:1 HDRES | 0.004% | 4.897% | 1224:1 In the case of midres, there is a small quality gain of -0.021% on OVR_PSNR. Performance measurement is done on speed 1 with auto_alt_ref=1. Quality is measured on full midres set over 60 frames. Speed is measured on 5 midres clips over 4 bitrates over 30 frames. STATS_CHANGED Change-Id: Ic1879d2237f8734529e194767a6cf5e43e20b47b
2019-01-18Merge "Add unit speed test for vp9_apply_temporal_filter"Chi Yo Tsai
2019-01-18Merge changes Id99ca6fc,I34cdbc6e,Iac7fee46Angie Chiang
* changes: Correct pyramid_mv_arr's memory size Adjust lambda with bsize in build_motion_field() Free pyramid_mv_arr properly
2019-01-18Merge "Use longer test clips in y4m_test"Yunqing Wang
2019-01-18Merge "Use longer videos in end-to-end tests"Yunqing Wang
2019-01-18Merge "Add unit test for temporal filter on VP9"Chi Yo Tsai
2019-01-17ads2gas: remove DO1STROUNDINGJohann
Change-Id: Iacd1ad5673c71d350cad235e504da0e066dfc4a0
2019-01-17Add unit speed test for vp9_apply_temporal_filterchiyotsai
This patch adds unit speed test for vp9_apply_temporal_filter. BUG=webm:1591 Change-Id: I4792dfc6ecd4a82775b9a895a90aafdc2a199f86
2019-01-16Add unit test for temporal filter on VP9chiyotsai
The current unit tests for temporal filtering only tests single channel version of temporal filter. Since VP9 currently uses both luma and chroma channel information for temporal filtering on low bitdepth, there is no unit case in this scenario. This commit adds some basic unit tests to facilitate further development on temporal filtering. BUG=webm:1591 Change-Id: Id38ceba5305865d7148e9b2bc636acddae54d6c2
2019-01-16Merge "mips highbd: resolve missing declarations"Johann Koenig
2019-01-16Merge "mips: add rtcd.h to resolve missing declarations"Johann Koenig
2019-01-16Merge "vp9: fix definition for VP9E_SET_POSTENCODE_DROP"Jerome Jiang
2019-01-15vp9: fix definition for VP9E_SET_POSTENCODE_DROPJerome Jiang
Change-Id: I667be78eb7c41154bf44c242992f622f12c31b80
2019-01-15Merge "vp9-svc: Fix to buffer update under frame_drops"Marco Paniconi