1. 14 Dec, 2016 6 commits
    • Alex Converse's avatar
      Unfork some ANS setup code · 5b5140b0
      Alex Converse authored
      Change-Id: I85e1b3cc4174029b6d1bfa4109b37793537071c2
      5b5140b0
    • Jingning Han's avatar
      Make entropy context scalable to atom transform block size · aa8a4a59
      Jingning Han authored
      This commit makes the entropy context operation scalable to the
      atom transform block size. No coding statistics change is incurred.
      
      Change-Id: Id10161116d297a2e65815e115993b79542e5a031
      aa8a4a59
    • Debargha Mukherjee's avatar
      Change scaling of rectangular fwd transforms · f0aa420c
      Debargha Mukherjee authored
      Modifies the C fwd txfms to have correct scaling. Rectangular
      transforms now are always implemented in a way that the samller
      side is transformed first.
      
      The SSE2 tests are temporarily disabled until the SSSE2 code
      is modified to be consistent with the C code.
      
      Also includes a fdct32 fix.
      
      borgtest results show a slight improvement.
      
      Change-Id: I9417fd0b833d79e0ab13c85d3210d9ea8f2029a4
      f0aa420c
    • Debargha Mukherjee's avatar
      Disable filtering for Cb and Cr components · 818e42a7
      Debargha Mukherjee authored
      The parameters are optimized only on Y, so disable chrominance
      filtering for now. Later we can extend the syntax to have
      separate parameters for the chrominance, or optimize the
      parameters jointly over luminance and chrominance components.
      
      lowres: -0.676% (from -0.759%) becomes a little worse
      midres: -1.837% (from -1.520%) substantial improvement
      hdres: pending
      
      Change-Id: I98d71f48de98394b05fd9036de259cb43d007614
      818e42a7
    • Jingning Han's avatar
      Refactor first pass to support scalable mode_info size · fb9529e1
      Jingning Han authored
      Replace hard coded assumptions of mode_info size with table fetch.
      The codebase coding statistics remain identical. This prepares to
      introduce 4x4 mode_info array.
      
      Change-Id: I5d75b86b7e7aa5bc7104c5f6f0b326d6ad0f67bb
      fb9529e1
    • Jingning Han's avatar
      Make motion vector search range scalable to mode info size · 24ea91d1
      Jingning Han authored
      Replace hard coded numbers with mi_size table access.
      
      Change-Id: Ia5b8802de9f0128edf2c71542c703f317c7f61da
      24ea91d1
  2. 13 Dec, 2016 3 commits
    • Alex Converse's avatar
      Remove obsolete control AOME_SET_ARNR_TYPE and command line flag · fab62243
      Alex Converse authored
      The control is deprecated and is a noop.
      
      Change-Id: I66f248485a906c26205a1b26e61e15d976207fd8
      fab62243
    • Jingning Han's avatar
      Refactor loop filter implementation · 01c472df
      Jingning Han authored
      Make the loop filter operation to support scalable mode_info size.
      
      Change-Id: Iad30b1b6176f29c840ec38ef777a6e2533ced04f
      01c472df
    • Yunqing Wang's avatar
      Not to call reset_use_upsampled_references() while encoding key frames · fe1e58ec
      Yunqing Wang authored
      A crash was reported while encoding >1080p file using best mode.
      (aom issue 107 and issue 108). The cause was that the speed features
      were initialized using good mode in AV1. The patch(commit f330ca)
      disabled the upsampled reference usage only for good mode, but not for
      best mode. So, for 1st key frame, the encoder incorrectly called
      reset_use_upsampled_references() that caused the segfault.
      
      The patch(commit e4e93b) disabled the upsampled reference usage for all
      encoding modes and resolved the issue. This patch fixed issue 108 and
      further made sure the upsampled references would be used correctly.
      
      BUG=aomedia:108
      
      Change-Id: I8362cc7cd82be324fd77f0bec315aeba509903bd
      fe1e58ec
  3. 12 Dec, 2016 7 commits
  4. 10 Dec, 2016 3 commits
  5. 09 Dec, 2016 9 commits
    • hui su's avatar
      Add intra-interp experiment flag · eda3d764
      hui su authored
      intra-interp experiment allows intra prediction to use different
      interpolation filters. It was part of the ext-intra in the nextgenv2
      branch.
      
      Change-Id: I27ab692494dc79bb92e457dbf9a72988577f1c6d
      eda3d764
    • Jingning Han's avatar
      Refactor reference motion vector search scale · c016df86
      Jingning Han authored
      Make the reference motion vector search range and ranking weight
      scalable with the mode_info size. It retains the same coding
      statistics.
      
      Change-Id: I238e0ff6032fea842c3b6094287398f7ef7cb261
      c016df86
    • Tristan Matthews's avatar
      odintrin: drop duplicate define · 3709e5d7
      Tristan Matthews authored
      Change-Id: I846cd0c4f5e3d60c76b969183d17ce11e6ba2999
      3709e5d7
    • Tristan Matthews's avatar
      pvq: sync with daala · f95a0c14
      Tristan Matthews authored
      This means that all shared PVQ code is now in fixed-point.
      Applies the following patches from daala:
      
      963d3a9 pvq: fix artificial chroma boost with --enable-float-pvq
      7522712 pvq: cosmetics: drop OD_ROUND32 where it is a noop
      3395f61 pvq: in float pvq case, mag must default to 1.0
      29193bb pvq: fix typo
      c774e25 pvq: convert od_init_qm to int
      b5607d6 pvq: use small LUT for integer sqrt((n+3)/2) sqrt((n+2)/2)
      a989c43 pvq: use od_beta_rcp in od_gain_compand
      12c31ea pvq: use od_rcp_beta in od_compute_k
      
      Change-Id: I0ad6a896c9f9fdd752f3b65a0df313efc0db5e63
      f95a0c14
    • Jingning Han's avatar
      Fix decoder side transform block offset scale · ca14ddac
      Jingning Han authored
      Use the proper scaling factor to map transform block offset to the
      pixel offset in the reconstruction process.
      
      Change-Id: I9af434fbc3a0a32749dec42eebb3461567943b0f
      ca14ddac
    • Jingning Han's avatar
      Remove temporary intra condition check in cb4x4 mode · 54e24517
      Jingning Han authored
      The previous refactoring CLs resolve all the potential issue
      related to these two conditions. It is safe to remove them now
      from the cb4x4 mode.
      
      Change-Id: Ieeb1ca2804318c1f46b60c041538f8ca5f6ba0e7
      54e24517
    • Jingning Han's avatar
      Make mi_width/height_log2_lookup table support 4x4 mode_info unit · bcf62ea4
      Jingning Han authored
      Change the table content to support 4x4 mode_info unit. Refactor
      partition_plane_context() to reflect the fact that the minimum
      partition block size is 8x8.
      
      Change-Id: Id26fcfba8d74efdb9ae316c9d066cd65358dd7e6
      bcf62ea4
    • Jingning Han's avatar
      Rework av1_has_right() and av1_has_bottom() · 5f7bc741
      Jingning Han authored
      Replace the 4x4 block counting with minimum transform block size
      counting. This retains identical coding statistics.
      
      Change-Id: I13ce6b5b62641304b0ff1c6efd34c6a590195792
      5f7bc741
    • Debargha Mukherjee's avatar
      Support affine/homography models for global motion · b0f6bd44
      Debargha Mukherjee authored
      With this patch affine or homography models can be enabled
      by simply changing the value of the GLOBAL_TRANS_TYPES
      macro in common/mv.h to 4 and 5 respectively. Currently
      it is left at supporting only rotzoom. There is a small
      gain with enabling affine.
      
      Also refactors costing to change based on the model type.
      
      Change-Id: I46c1759de06c42c176c64ec21307ff347ddcc259
      b0f6bd44
  6. 08 Dec, 2016 4 commits
  7. 07 Dec, 2016 8 commits
    • David Barker's avatar
      Fix segfault for reference-buffer&aom-highbitdepth · 49a76560
      David Barker authored
      The commit fixes the segfault shown in  test AV1/ActiveMapTestLarge
      when build with the following config:
      ../../aom/configure --disable-install-docs --enable-unit-tests
      --enable-debug --disable-optimizations --enable-aom-highbitdepth
      --enable-experimental --enable-ans --enable-bidir-pred
      --enable-dual-filter --enable-entropy --enable-ext-inter
      --enable-ext-interp --enable-ext-intra --enable-ext-partition
      --enable-ext-partition-types --enable-ext-refs --enable-ext-tx
      --enable-loop-restoration --enable-filter-intra --enable-motion-var
      --enable-new-quant --enable-ref-mv --enable-supertx --enable-var-tx
      
      BUG=aomedia:99
      
      Change-Id: I900d5e1d5458c482a1f0a3dde769c1ad93acdca7
      49a76560
    • Debargha Mukherjee's avatar
      Modify boxnum to fix degenerate size videos · 1ee98b6c
      Debargha Mukherjee authored
      Fixes a memory issue and computes values correctly for 1x1 and
      1xn or nx1 videos.
      This also fixes a test failure in AV1FrameSizeTestsLarge.OneByOneVideo.
      
      Change-Id: Ib5a4efd094763fb6ceb119383c11f776784f58a4
      1ee98b6c
    • Yue Chen's avatar
      Fix comp interinter and interintra mode cost in EXT_INTER + REF_MV · 6e601e95
      Yue Chen authored
      Performance gain using baseline with ref_mv on is improved from
      1.781% to 1.846%
      
      Change-Id: I5a4bfdfcde25fa5c81e6999e20033ee4af993185
      6e601e95
    • Jingning Han's avatar
      Replace hard coded 8 with MAX_MIB_SIZE · 423ecd06
      Jingning Han authored
      This accounts for scalable mode_info size and maximum coding block
      size.
      
      Change-Id: I82277d09100532d930e13a0a8cbfee33c99e3d64
      423ecd06
    • Jingning Han's avatar
      Unify block partition context and update functions between enc/dec · 1beb0107
      Jingning Han authored
      Remove the decoder side implementation. Use the common functions
      for both encoder and decoder.
      
      Change-Id: Idcb4deedd6d2de5476b7f2e7e907fd4a7761fafa
      1beb0107
    • Jingning Han's avatar
      Refactor set_plane_n4() · faad0e12
      Jingning Han authored
      Make the block size and mode_info size scalable to mode_info unit
      size.
      
      Change-Id: I38c49bad118e0565a104cb6edfc3e3266519f9ee
      faad0e12
    • Jingning Han's avatar
      Replace hard coded x8 with MI_SIZE · ff6ee6ab
      Jingning Han authored
      Change-Id: Ib7807125e533c32dad04b02bc54838dd1e90e8af
      ff6ee6ab
    • Yaowu Xu's avatar
      Change the scope of a declaration · f4c904c7
      Yaowu Xu authored
      This is to avoid compiler warning of "mixed declarations and code".
      
      Change-Id: I887a1cf27e777672563bda527b3d6cf70a589a8a
      f4c904c7