1. 09 May, 2017 3 commits
  2. 08 May, 2017 14 commits
    • hui su's avatar
      Palette: avoid memory leak with encoder buffers · 5d493143
      hui su authored
      For multi-thread encoding, previously the encoder buffers are
      allocated at every frame, but only freed at the end of encoding,
      causing memory leaks.
      
      Change-Id: Id0e9d7fba8330e82be9cec1d42b7d4b017b8d772
      5d493143
    • Yi Luo's avatar
      Partial IDCT 16x16 avx2 · f6176abb
      Yi Luo authored
      - Function level improvement:
      functions      sse2  avx2  percentage
      idct16x16_256  365   226   38%
      idct16x16_38   n/a   136   n/a
      idct16x16_10   171   110   35%
      idct16x16_1     34    26   23%
      
      - Integrated in AV1 for default scan order.
      
      Change-Id: Ieb1a8e730bea9c371ebc0e5f4a748640d8f5e921
      f6176abb
    • Urvang Joshi's avatar
      Add a new experiment SMOOTH_HV. · e6ca8e83
      Urvang Joshi authored
      This experiment extends ALT_INTRA by adding two new modes:
      smooth horizontal and smooth vertical.
      
      Improvement on *intra frames* in BDRate (PSNR):
      ===============================================
      
      AWCY (high latency): -0.46%
      (Also, -1.0% or more on PSNR Cb,Cr and APSNR Cb,Cr).
      
      AWCY (low latency): -0.43%
      (Also, -0.88% to -0.94% on PSNR Cb,Cr and APSNR Cb,Cr).
      
      Google sets:
      lowres: -0.454
      midres: -0.484
      hdres:  -0.525
      
      Improvement on *video overall* in BDRate (PSNR):
      ================================================
      
      AWCY (high latency): -0.15%
      
      Google sets:
      lowres: -0.085
      midres: -0.079
      
      Change-Id: I9f4e7c1b8ded1fe244c72838f336103ccc715d50
      e6ca8e83
    • Yaowu Xu's avatar
      Convert to use int64_t to aovid int oout-of-range · 0c33b15f
      Yaowu Xu authored
      BUG=aomedia:518
      
      Change-Id: Ia88b50b084c6370073ac4916e00a019963cf0254
      0c33b15f
    • Urvang Joshi's avatar
      Palette: Special case for 2 unique colors. · 773e3542
      Urvang Joshi authored
      When a block only contains 2 unique colors, there's no need to run
      K-means, as 'lb' and 'ub' can directly be used as the centroids.
      
      Two benefits:
      1. Encoding will be faster for this special case, and
      2. Can potentially avoid sub-optimal/duplicate centroids generation
      (due to integer rounding) when 'ub' and 'lb' values are very close.
      
      Change-Id: Ice04fc8577e3cc8c74f87d623a16ac8de3257cdd
      773e3542
    • Fred BARBIER's avatar
      Deduplicate (inv/fwd)_txfm_cfg_ls arrays · b72ab8fe
      Fred BARBIER authored
      Change-Id: Ibd7091d444cfb3095ddb938100704d3b75cf1af4
      b72ab8fe
    • Debargha Mukherjee's avatar
      Some cleanups on ext-inter config macros · ed057990
      Debargha Mukherjee authored
      Also includes a change in the wedge primary functions providing
      a slight improvement.
      
      Change-Id: I536d3209f59624e23128708e29fa85c1e6fcd97e
      ed057990
    • Luc Trudeau's avatar
      [CFL] Change cfl_load to use width and height · 30596fb2
      Luc Trudeau authored
      Since the size used with cfl_load can either be based on the transform
      block size and the prediction block size, width and height are used as
      parameters instead of TX_SIZE.
      
      This resolves a problem where cfl_compute_alpha_ind was reading
      uninitialized memory.
      
      Change-Id: I187dbdd5b2e8bd85e82bb77eb74859bee2cd3f1e
      30596fb2
    • Angie Chiang's avatar
      Change plane_rd_mult inter uv param from 5 to 6 · ebcdb25e
      Angie Chiang authored
      This will improve the lowres performance by 0.1%
      No significant change on midres and hdres
      
      Change-Id: I0c6e69bf48596e7e5ad49631ed9f9be73bbf3c9a
      ebcdb25e
    • Angie Chiang's avatar
      Implement convolve_round in high bit-depth mode · b03545b4
      Angie Chiang authored
      Change-Id: I48a2148854e2abd0a3cc66aef58bb6a5d77c8b59
      b03545b4
    • Angie Chiang's avatar
      Cleanup inter_predictor and highbd_inter_predictor · 30edaf46
      Angie Chiang authored
      Change-Id: Ieeb044d2b008c409faf7fa5d7253ad2d8f326ca4
      30edaf46
    • Tom Finegan's avatar
      Support CONFIG_GLOBAL_MOTION in the CMake build. · 9d900975
      Tom Finegan authored
      BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76
      
      Change-Id: Ia56bdc8da422e9de9b92f357c98ad38017e8b728
      9d900975
    • Yaowu Xu's avatar
      Revert "Upgrade to int64_t to avoid out-of-range" · 03013c53
      Yaowu Xu authored
      This reverts commit 9395b34e, because it
      did not have any effect in eliminate ubsan warnings as intended.
      
      Change-Id: I9221385217f062a0356fe0c68643b12751048f69
      03013c53
    • Urvang Joshi's avatar
      Palette: Handle case of too few unique centroids. · 5fb95f7d
      Urvang Joshi authored
      Even though number of unique colors in a block may be at least
      PALETTE_MIN_SIZE, sometimes the K-means can generate fewer than
      PALETTE_MIN_SIZE unique centroids due to integer rounding.
      
      This was resulting in "k - PALETTE_MIN_SIZE" being negative and using
      that as an index into palette_y_size_cost array was causing a UBSan
      error.
      
      BUG=aomedia:515
      
      Change-Id: Ia00b4bb2efebbe43d1fec7b619ebb837b1ae961c
      5fb95f7d
  3. 07 May, 2017 2 commits
  4. 06 May, 2017 6 commits
  5. 05 May, 2017 15 commits
    • Yue Chen's avatar
      Add SMOOTH_PRED to interintra mode list · 18679578
      Yue Chen authored
      Change-Id: Id490c57df5dca13c59a62b0a542779784842944c
      18679578
    • Timothy B. Terriberry's avatar
      ext_delta_q: Make this work with ec_smallmul. · e180478a
      Timothy B. Terriberry authored
      The CDF initialization needs the iCDF macro wrapper.
      
      BUG=aomedia:517
      
      Change-Id: I2dd7c43ee2765f97c2fb247c31440e79587723fe
      e180478a
    • Debargha Mukherjee's avatar
      Remove undefined sanitize warnings in warperroradv · 91160854
      Debargha Mukherjee authored
      BUG=aomedia:516
      
      Change-Id: I0af6e5e20f785bd4862f499b8d53002f58677c40
      91160854
    • Debargha Mukherjee's avatar
      Add speed feature to control global motion compute · 2a9d746c
      Debargha Mukherjee authored
      Adds a speed feature to control which references to use
      to compute global motion.
      Also adds logic to not compute duplicate sets of
      parameters when reference frames point to the same
      buffers.
      Includes some renaming of functions to set good speed
      features to make things clearer.
      
      Change-Id: I641d33441fde98af18cad8d4db49cf7d5d153ead
      2a9d746c
    • Yue Chen's avatar
      Improved 1d weights for smooth interintra · 3040291c
      Yue Chen authored
      Intra weights start from a higher value, and decay faster
      Improve interintra by 0.1%/0.17% on lowres/midres
      
      Change-Id: Ib20f47d1e89f729731e3bcfceaa21a47c8b45c56
      3040291c
    • Yaowu Xu's avatar
      Initialize int variables to 0 instead of 0.0 · fc4585b5
      Yaowu Xu authored
      fixes a couple of type conversion warnings for msvc2015
      
      Change-Id: I004f072661c981e204bd62b2740201658ad67294
      fc4585b5
    • Yaowu Xu's avatar
      Change to use correct type for token_cost · 42350322
      Yaowu Xu authored
      The conversion of return value to int64_t appears to be unnecessary.
      
      fixes a number of type conversion warnings for MSVC2015
      
      Change-Id: Ibca24468e73bf22ad07c469ce5d1223635390ecb
      42350322
    • Yaowu Xu's avatar
      Remove unnecessary const · 1e4e5b96
      Yaowu Xu authored
      Removed "const" from parameters that are passed by value, also fixes
      msvc2015 compiler warnings.
      
      Change-Id: I0c7555b4245fa55fabda1c27762fb9f0860bfa18
      1e4e5b96
    • Frederic Barbier's avatar
      Simplify txfm code using helper function · bbf7bb02
      Frederic Barbier authored
      Change-Id: Ib92f54480035a85ab7279ffa9f8b9237d0a3f334
      bbf7bb02
    • Debargha Mukherjee's avatar
      Redo / refactor affine and rot-zoom least squares · 7ae7aeaf
      Debargha Mukherjee authored
      Use a simpler least-squares function for affine and rotzoom
      model estimation, instead of computing the pseudo inverse.
      Also refactors the code into a separate mathutils.h file.
      
      The SVD code is currently used only for estimation of the
      homography models which can be removed when we remove the
      homography models.
      
      Coding efficiency change is in noise range, with the small
      difference coming from numerical precision issues.
      
      Change-Id: I0a9eb79495911cea21a7945b397d596e22a2a186
      7ae7aeaf
    • hui su's avatar
      Fix a conflict between ext-intra and alt-intra · 9cc10654
      hui su authored
      The angle estimation in ext-intra didn't account for
      alt-intra.
      
      Also use c99 variable declaration style.
      
      BUG=aomedia:444
      
      Change-Id: I001b0278eb8cf560975c873a423de024c10d08b4
      9cc10654
    • Sarah Parker's avatar
      Compute compound average in warp_plane only for COMPOUND_AVERAGE · 7afb8b75
      Sarah Parker authored
      This fixes a mismatch which occurs when global/warped motion and
      a masked compound type are used together.
      
      Change-Id: I08b2702cdb3b85f8d8817b9286a73951c97cf379
      7afb8b75
    • Luc Trudeau's avatar
      [CFL] Alpha signaling · f533400a
      Luc Trudeau authored
      Writes and reads alpha to and from the bitstream.
      
      A special case is needed on the encoder side to handle prediction block
      skips. Since whether or not a prediction block is skipped during CfL, a
      rollback is required if the block was skipped and the alpha index was
      not zero. The advantage of this is that no signaling is required when
      the prediction block is skipped as it is assumed tha the alpha index is
      zero.
      
      A encode facade is added to the intra prediction facade as CfL requires
      special encoder side operations.
      
      Change-Id: Ic3b11d0fdbd51389d862112eb09d8785127a6b06
      f533400a
    • Yushin Cho's avatar
      Remove unused variable ctx->pred_pixel_ready · 6d72a2f7
      Yushin Cho authored
      Change-Id: I705bbb79104eda4a7db8146e49795dbe80a31a3f
      6d72a2f7
    • Debargha Mukherjee's avatar
      Make the binary codes library accounting enabled · e23d5c30
      Debargha Mukherjee authored
      Change-Id: Icde963dfa58ebea490dd1e4d125cd9ca5d27e7db
      e23d5c30