1. 18 Feb, 2016 1 commit
    • Julia Robson's avatar
      cost_coeff speed improvements · c6eba0b4
      Julia Robson authored
      Preliminary tests indicated that these changes make cost_coeffs
      approximately 20% faster which is a 2% improvement overall
      
      Change-Id: Iaf013ba75884415cd824e98349f654ffb1c3ef33
      c6eba0b4
  2. 16 Feb, 2016 1 commit
    • Yue Chen's avatar
      Fixing a bug in obmc prediction in the rd loop · 907f88c4
      Yue Chen authored
      This bug made the rd loop use one-side obmc (compound of the current
      predictor and the predictors of the left mi's, while the above ones
      are ignored by mistake) to determine whether to use obmc. This fix
      improved the compression performance by ~0.6% on different test sets.
      
      Coding gain (%) of obmc experiment on derflr/derfhd/hevcmr/hevchd:
      1.568/TBD/1.628/TBD
      
      Change-Id: I43b239bedf9a8eebfd02315b1b036e140a998140
      907f88c4
  3. 15 Feb, 2016 1 commit
    • Geza Lore's avatar
      Add optimized vpx_sum_squares_2d_i16 for vp10. · abd00505
      Geza Lore authored
      Using this we can eliminate large numbers of calls to predict intra,
      and is also faster than most of the variance functions it replaces.
      This is an equivalence transform so coding performance is unaffected.
      
      Encoder speedup is approx 7% when var_tx, super_tx and ext_tx are all
      enabled.
      
      Change-Id: I0d4c83afc4a97a1826f3abd864bd68e41bb504fb
      abd00505
  4. 12 Feb, 2016 2 commits
    • Yue Chen's avatar
      Overlapped block motion compensation experiment · d1cad9c3
      Yue Chen authored
      In this experiment, an obmc inter prediction mode is enabled for
      >= 8X8 inter blocks. When the obmc flag is on, the regular block-
      based motion compensation will be refined by using predictors of
      the above and left blocks.
      Fixed some compatibility issues with vp9_highbitdepth, supertx,
      ref_mv, and ext_interp.
      
      Coding gain (%) on derflr/hevcmr/hevchd
      OBMC:
      1.047/1.022/0.708
      OBMC + SUPERTX:
      1.652/1.616/1.137
      SUPERTX:
      0.862/0.779/0.630
      
      Change-Id: I5d8d3c4729c6d3ccb03ec7034563107893103b7f
      d1cad9c3
    • Jingning Han's avatar
      Refactor vp10_drl_idx concept · a39e83d7
      Jingning Han authored
      Remove the implicit assumption on offsetting the index by 1.
      
      Change-Id: I6f1d391e067d57b7e45b9287e866014dbc16da71
      a39e83d7
  5. 11 Feb, 2016 4 commits
  6. 10 Feb, 2016 5 commits
    • hui su's avatar
      Refactor rd_pick_intra_angle_ · 5a7c8d8c
      hui su authored
      Change-Id: I6c78188bdedb52655678c63f6a767567b256a880
      5a7c8d8c
    • Angie Chiang's avatar
      Refactor: add predict_interp_filter() to · c0035cc4
      Angie Chiang authored
      simplify the flow in handle_inter_mode
      
      Change-Id: Ic7934c0a5d0a79bdf546b4d2d106035449b475a6
      c0035cc4
    • hui su's avatar
      Add a speed feature to skip transform type selection · 329e340d
      hui su authored
      Setting FIXED_TX_TYPE as 1 makes the encoder skip tx_type search,
      about twice as fast.
      
      This speed feature is off by defualt; we can turn it on when we
      want to quickly test new ideas.
      
      Change-Id: Ieab5807d17fcd54fce3e8ae2f59a18b42eb79408
      329e340d
    • Jingning Han's avatar
      Resolve conflict between var-tx and super-tx · 4c6c82a2
      Jingning Han authored
      This commit aligns the rate-distortion metric for the recursive
      transform block partitioning and the super transform. It resolves
      the conflicts between these two experiments. The coding performance
      gains of the combined experiments (var-tx + super-tx) has been
      improved:
      
      derf   0.89%  ->  1.9%
      hevcmr 1.06%  ->  1.8%
      stdhd  0.29%  ->  1.4%
      hevchr 0.80%  ->  2.3%
      
      Change-Id: I7e33994ad70c1b2751435620815f867d82172f41
      4c6c82a2
    • Geza Lore's avatar
      Fix double counting of compound reference bit cost. · fd546357
      Geza Lore authored
      These costs are added in separately just before the computed
      ref_costs_* are added in the calling functions, so they were
      effectively double counted.
      
      Change-Id: Ic941d0243460cc2e750791cfc508e97d8b90e8fd
      fd546357
  7. 09 Feb, 2016 4 commits
    • Debargha Mukherjee's avatar
      A variety of fixes for supertx/var-tx rd costing · e2c1ea94
      Debargha Mukherjee authored
      Change-Id: I8a3d59378abb1dfa4e614b2975c2db05d4224bd5
      e2c1ea94
    • Jingning Han's avatar
      Entropy coding for dynamic ref mv modes · 4958987b
      Jingning Han authored
      This commit enables entropy coding for dynamic reference motion
      vector modes. The probability model is contexted on the ranking
      categories of the reference motion vector candidates.
      
      Change-Id: I09b58d98a409d63ec1a407331e29f8945b7ef17d
      4958987b
    • Debargha Mukherjee's avatar
      Explicitly set tx_type for sub8x8 blocks · d46c1f23
      Debargha Mukherjee authored
      Fixes an issue where the tx_type was not set correctly for
      sub8x8 inter and intra blocks. In the current syntax, for
      sub8x8 blocks, there is still a single tx_type that is
      transmitted. Ideally, this should be searched for the best
      rd performance, albeit at the expense of encode speed.
      For now, we just set it to DCT_DCT. Previously it was left
      incorrectly as what was used for the previous non sub8x8
      block.
      
      derflr: BDRATE -0.277%
      
      Change-Id: If76ba903bfbfd4d374cf1ac7d1daee50e92f0edd
      d46c1f23
    • Debargha Mukherjee's avatar
      Explicitly set tx_type for sub8x8 blocks · f28ea3e8
      Debargha Mukherjee authored
      Fixes an issue where the tx_type was not set correctly for
      sub8x8 inter and intra blocks. In the current syntax, for
      sub8x8 blocks, there is still a single tx_type that is
      transmitted. Ideally, this should be searched for the best
      rd performance, albeit at the expense of encode speed.
      For now, we just set it to DCT_DCT. Previously it was left
      incorrectly as what was used for the previous non sub8x8
      block.
      
      derflr: BDRATE -0.277%
      
      Change-Id: If76ba903bfbfd4d374cf1ac7d1daee50e92f0edd
      f28ea3e8
  8. 08 Feb, 2016 2 commits
    • Jingning Han's avatar
      Enable dynamic ref motion vector mode for compound inter block · 28e0393f
      Jingning Han authored
      This commit enables the dynamic reference motion vector coding mode
      for the compound inter blocks.
      
      Change-Id: Ibe78fd8de6989db392cd67a9d81a69d680345ba1
      28e0393f
    • Yaowu Xu's avatar
      Fix msvc compiler warnings · 3c28b4a8
      Yaowu Xu authored
      There were a number of compiler warnings:
      1. int16_t to uint8_t in recon_intra.c;
      2. double to float conversions in psnrhvs.c
      3. intptr_t to int in quantize.c
      4. size_t to int32_t in decoder.c
      
      Change-Id: Id95423b17779dcfa6cf39d9a90fe8cb8b910f5df
      3c28b4a8
  9. 03 Feb, 2016 4 commits
    • hui su's avatar
      Add a speed feature for intra filter search · 5b618b7c
      hui su authored
      Seperate the prediction angle search and fitler search.
      It can reduce the computation overhead of filter search by as much
      as 85%, while keeping more than 50% of the coding gain.
      
      Change-Id: Id152f71e20ebcaca8b429bdd4ca1fbeb646fc6bf
      5b618b7c
    • hui su's avatar
      Add 8-tap interpolation filter options for intra prediction · 3b1c7668
      hui su authored
      BD-rate performance improvement (on top of ext-intra):
      derflr  0.22%
      hevclr  0.36%
      hevcmr  0.48%
      hevchr  0.37%
      stdhd   0.19%
      
      Average speed impact on some derf clips is about 40% slower (on
      top of ext-intra). Speed improvment is a to-do.
      
      Change-Id: I8fe3fe8c5e4f60d0462778adbcc15c84dfbe7a25
      3b1c7668
    • Jingning Han's avatar
      Generalize the dynamic reference motion vector coding mode · 4fb8b217
      Jingning Han authored
      This commit generalizes dynamic reference motion vector coding mode
      to support multiple candidate modes in the rate-distortion
      optimization scheme and to support the selection in the bit-stream
      syntax. The maximum number of modes allowed is currently limited to
      4. The syntax elements for the dynamic reference motion vector
      modes are using binary codes. The scheme supports single reference
      frame.
      
      It improves the compression performance
      derf   0.135%
      hevcmr 0.098%
      
      Change-Id: Id053d6ce76e8365e52727bd0d12d28ce3de2e0e8
      4fb8b217
    • Jingning Han's avatar
      Account for zero-forcing operation in selective ref mv mode · 590265ea
      Jingning Han authored
      It makes the encoder accounts for the block zero-forcing operation
      when optimizing the mode decisions.
      
      Change-Id: I2c8e243756080b446b8a53a9679f75c4c47148cf
      590265ea
  10. 02 Feb, 2016 3 commits
    • Jingning Han's avatar
      Enable adaptive motion vector referencing mode · 67cf8908
      Jingning Han authored
      This commit allows an adaptive motion vector referencing mode
      approach. It checks the available reference motion vector candidate
      list and decides the amount of motion vector referencing modes. The
      current implementation assumes simple binary coding for the syntax.
      
      The compression performance is improved by
      derf   0.11%
      hevcmr 0.38%
      stdhd  0.09%
      hevchr 0.23%
      
      The coding gains due to the new reference motion vector system are
      derf   1.0%
      hevcmr 1.7%
      stdhd  1.4%
      hevchr 1.3%
      
      Change-Id: Idf932fc373546fe59c8741f1b933ff656e8dbc3f
      67cf8908
    • James Zern's avatar
      vp10: remove unused (read|write)_uniform · ebf25868
      James Zern authored
      dead code since:
      5d3327e8 Remove palette from VP10
      
      Change-Id: I4a36575706ea6fffefe5bc778595112ef6ff37d8
      ebf25868
    • Angie Chiang's avatar
      Pass filter type instead of filter array · 10ad97bc
      Angie Chiang authored
      Change-Id: I25f2149ddaa332722f7ab82e8f832a253c4b6ab3
      10ad97bc
  11. 27 Jan, 2016 1 commit
    • Debargha Mukherjee's avatar
      Fixes ext-interp experiment · eef57c1e
      Debargha Mukherjee authored
      Fixes integer pel MV usage for the sub8x8 case, which fixes a
      rare mismatch issue.
      
      Also adds some other minor missing code related to filter threshes.
      
      Change-Id: I6b07e6cf9b287ba4b5bd6599af4a7412e50b3bdc
      eef57c1e
  12. 26 Jan, 2016 1 commit
    • Geza Lore's avatar
      Reintroduce VAR_TX fix · 5aa655f7
      Geza Lore authored
      Reintroduce part of
      Iaf2b717e6b8626b2b6a03226127221b776b49884
      Which was later reverted in
      I4c5b40ec63a6f19521191d3c730af87db3c4bc00
      
      Change-Id: If3e5610ba3985ae7b4d952d8e616982465ac667a
      5aa655f7
  13. 25 Jan, 2016 1 commit
    • Debargha Mukherjee's avatar
      Some supertx fixes · 9a8a6a1b
      Debargha Mukherjee authored
      Fixes some of the issues introduced by a merge from master.
      
      derflr: -0.893% BDRATE
      hevcmr: -1.667% BDRATE
      
      Change-Id: I4c5b40ec63a6f19521191d3c730af87db3c4bc00
      9a8a6a1b
  14. 22 Jan, 2016 4 commits
    • Yue Chen's avatar
      Adding new compound modes to EXT_INTER experiment · 968bbc7b
      Yue Chen authored
      Combinations of different mv modes for two reference frames
      are allowed in compound inter modes. 9 options are enabled,
      including NEAREST_NEARESTMV, NEAREST_NEARMV, NEAR_NEARESTMV,
      NEAREST_NEWMV, NEW_NEARESTMV, NEAR_NEWMV, NEW_NEARMV, ZERO_ZEROMV,
      and NEW_NEWMV.
      This experiment is mostly deported from the nextgen branch.
      It is made compatible with other experiments
      
      Coding gain of EXT_INTER(derflr/hevcmr/hevchd): 0.533%/0.728%/0.639%
      
      Change-Id: Id47e97284e6481b186870afbad33204b7a33dbb0
      968bbc7b
    • Debargha Mukherjee's avatar
      A fix for a missing tx_type · 4e406f70
      Debargha Mukherjee authored
      Change-Id: I165cd06256175edb7739020379ba3098251f4a7c
      4e406f70
    • Julia Robson's avatar
      Fixes for var_tx when ext_tx is not enabled · 9fe188e4
      Julia Robson authored
      This patch fixes a couple of issues caused by change-id:
      I15d20ce5292b70f0c2b4ba55c1f1318181481596
      Changes to the code for when the ext_tx experiment is not enabled
      were merged from master but as var_tx does not exist on master
      the changes had not been applied to the case when var_tx experiment
      is enabled
      
      Change-Id: Iaf2b717e6b8626b2b6a03226127221b776b49884
      9fe188e4
    • Debargha Mukherjee's avatar
      Some fixes on tx size/type selection · 8d69a6e8
      Debargha Mukherjee authored
      For ext_tx experiment.
      
      Change-Id: Ie37b9b456b09bde8b606fb978fee4cca8d0326b7
      8d69a6e8
  15. 15 Jan, 2016 1 commit
    • Yue Chen's avatar
      EXT_INTER experiment · 1ac85879
      Yue Chen authored
      NEW2MV is enabled, representing a new motion vector predicted from
      NEARMV. It is mostly ported from nextgen, where it was named
      NEW_INTER.
      A few fixes are done for sub8x8 RDO to correct some misused
      mv references in the original patch.
      A 'bug-fix' for encoding complexity is done, reducing the additional
      encoding time from 50% to 20%. In sub8x8 case, the old patch
      did motion search for every interpolation filter (vp9 only
      searches once). This fix also slightly improves the coding gain.
      This experiment has been made compatible with REF_MV and EXT_REFS.
      
      Coding gain (derflr/hevcmr/hevchd): 0.267%/0.542%/0.257%
      
      Change-Id: I9a94c5f292e7454492a877f65072e8aedba087d4
      1ac85879
  16. 14 Jan, 2016 1 commit
    • Jingning Han's avatar
      Handle single ref mv pair in the candidate list for compound mode · 3944cfb1
      Jingning Han authored
      This commit considers the case where a single reference motion
      vector pair is found in the candidate list. It treats this pair
      as the effective motion vector for nearestmv mode. This improves
      the coding performance by 0.06% for stdhd sets.
      
      Change-Id: I9ce12f456b52912933e05c18c3841a78c26155d2
      3944cfb1
  17. 12 Jan, 2016 1 commit
    • Jingning Han's avatar
      Generate compound reference motion vector · 33cc1bd2
      Jingning Han authored
      This commit allows the codec to add motion vector pairs into
      the candidate list. It further improves the compression performance
      by 0.1% across derf, hevcmr, stdhd, and hevchr sets without adding
      encode/decode time.
      
      Change-Id: I88d36da25a2a89bb506d411844af667081eba98b
      33cc1bd2
  18. 08 Jan, 2016 3 commits