1. 16 May, 2017 2 commits
    • hui su's avatar
      Palette: use uint16_t to store palette colors · fa4ff85b
      hui su authored
      Harmonize the low-bitdepth and high-bitdepth.
      
      Change-Id: I533f717ca189a5e577719821ea5aea940e3b6223
      fa4ff85b
    • Joe Young's avatar
      [intra-edge] Filter intra edge samples · 12c0bc03
      Joe Young authored
      For ext-intra directional modes, filter intra edge samples
      dependent on block size and prediction angle.
      
      Congiguration:
      ./configure --enable-experimental --enable-ext-intra
        --enable-internal-stats --disable-cdef --disable-delta-q
      
      Coding gain (1 frame Intra):
      cif:    -0.03%
      midres: -0.01
      720p:   -0.65
      1080p:  -0.83
      4k:     -1.19
      
      Change-Id: I372bfc7614f6a07fe1d8e7b61bd0b6660f9fb4a1
      12c0bc03
  2. 15 May, 2017 1 commit
    • Yue Chen's avatar
      Fix filter_intra overflow · 7bfa8677
      Yue Chen authored
      (1) clipping output of intra filter right away to stop
      unreasonable pixel values from propogating.
      (2) fix wrong filter coefficients
      
      Bug=aomedia:418
      
      Change-Id: I2620034ad03b499afb64da6cadb17fc1aa221c44
      7bfa8677
  3. 12 May, 2017 1 commit
    • Luc Trudeau's avatar
      [CFL] move cfl_idx_to_alpha to header · 04120190
      Luc Trudeau authored
      Move cfl_idx_to_alpha in the header to facilitate inlining.
      Remove the forward MB_MODE_INFO forward declaration
      
      Change-Id: Id33fb0228d88b6285252843e2345a0d3ae875cd2
      04120190
  4. 11 May, 2017 1 commit
  5. 08 May, 2017 1 commit
    • 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
  6. 06 May, 2017 1 commit
  7. 05 May, 2017 1 commit
    • 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
  8. 03 May, 2017 1 commit
    • Jingning Han's avatar
      Account for sub8x8 chroma intra boundary condition · 3da18d60
      Jingning Han authored
      Properly account for the intra boundary condition for sub8x8
      chroma components in the modified chroma-2x2 framework. This fixes
      a rare enc/dec mismatch issue when chroma-sub8x8 is turned on.
      
      Change-Id: I058a2fb855a491bf604277f4c82169c1b55424fa
      3da18d60
  9. 02 May, 2017 1 commit
  10. 29 Apr, 2017 2 commits
  11. 28 Apr, 2017 1 commit
  12. 27 Apr, 2017 1 commit
    • hui su's avatar
      Refactor ext-intra · 0a6731f5
      hui su authored
      Remove the code about block size dependent angle steps and deltas,
      as they are modefied to be the same for all blocks in c81ea6e0.
      
      BUG=aomedia:442
      
      Change-Id: I54607dd752ef895c1418f979410b14c02fc9ce22
      0a6731f5
  13. 24 Apr, 2017 1 commit
    • Luc Trudeau's avatar
      [CFL] Custom block-level DC_PRED · f8164157
      Luc Trudeau authored
      Adds the CfL experiment flag and computes a block-level DC_PRED that is
      required by CfL in order to compute alpha_cb and alpha_cr.
      
      The rate-distorsion impact of computing DC_PRED at the prediction block level
      for chroma planes is rather small
      
      Subset 1:
      master_no_cdef@2017-04-18T20:37:05.712Z
        -> block_DCPRED_no_cdef@2017-04-18T20:38:07.381
        PSNR | PSNR Cb | PSNR Cr | PSNR HVS |   SSIM | MS SSIM | CIEDE 2000
      0.0712 |  0.0337 | -0.1692 |   0.0693 | 0.0814 |  0.0710 |    -0.0063
      Note: CDEF was disabled because of problematic asserts.
      
      Change-Id: I44d1cde8605b108366f4bd4cedbf5159dbbb5880
      f8164157
  14. 12 Apr, 2017 1 commit
  15. 11 Apr, 2017 2 commits
  16. 10 Apr, 2017 1 commit
    • Angie Chiang's avatar
      Use block_idx rather than block_raster_idx · 752ccce7
      Angie Chiang authored
      1) block_raster_idx is actually raster order only when tx_size
      is TX_4x8.
      It's very specific, so we should put it near to the place it's
      actually used.
      
      2) Sync the meaning of block_idx on encoder/decoder sides
      
      Change-Id: I7d37a992cb773503e29f9c0d9d2586e580aa6173
      752ccce7
  17. 07 Apr, 2017 2 commits
  18. 06 Apr, 2017 1 commit
    • Urvang Joshi's avatar
      av1_has_bottom() Bugfix. · 1c247974
      Urvang Joshi authored
      This function was incorrectly using transform width instead of height.
      The bug wasn't caught yet, because all calls to this function currently
      use square transform sizes only.
      
      Change-Id: Id206c64aa26a8deecbbf90844220ad2f93230c15
      1c247974
  19. 03 Apr, 2017 1 commit
  20. 20 Mar, 2017 1 commit
    • Debargha Mukherjee's avatar
      Add config flags and macros to control ext-inter · 37f6fe61
      Debargha Mukherjee authored
      Adds a dependent config flag 'interintra' to turn on/off interintra
      modes altogether.
      Adds a dependent config flag 'wedge' to turn on/off wedge compound
      for both interinter and interintra.
      
      Adds another macro to change wedge predictors to use
      only 0, 1/2, or 1 weights.
      
      From now, use
      --enable-ext-inter --enable-wedge --enable-interintra to get the
      same behavior as the old --enable-ext-inter.
      
      Change-Id: I2e787e6994163b6b859a9d6431b87c4217834ddc
      37f6fe61
  21. 17 Mar, 2017 1 commit
  22. 02 Mar, 2017 1 commit
    • Yue Chen's avatar
      Use 3-tap spatial filter in FILTER_INTRA experiment · 8d8638a1
      Yue Chen authored
      3-tap recursive intra prediction filters are added.
      Macro USE_3TAP_INTRA_FILTER is set to 1 to use 3-tap by default.
      Coding gain of FILTER_INTRA experiment in AWCY, high delay 150f
      3-tap: 0.51%
      4-tap: 0.68%
      
      Change-Id: I44192dd08bfd8155f58a9b0b5cf1de88fceb762e
      8d8638a1
  23. 23 Feb, 2017 2 commits
    • Jingning Han's avatar
      Add chroma 2x2 block experiment · 31b6a4f9
      Jingning Han authored
      Support the use of 2x2 prediction and transform block size for
      chroma components. This experiment builds on top of cb4x4. It
      brings back the loss in performance gains due to 4x4 chroma
      component constrain. The coding gains for lowres are up from 1.5%
      to 2.5%.
      
      Change-Id: I8e461e230c2d920f6df1af9d935ebe9dfa3820d9
      31b6a4f9
    • Jingning Han's avatar
      Fix bottom ref condition for intra prediction in cb4x4 · f0179c3c
      Jingning Han authored
      Resolve a rare enc/dec mismatch issue triggered by the 4x4 chroma
      block size in sub8x8 block coding.
      
      To avoid using 2x2 chroma block size, it always uses the top-left
      4x4 luma block coding information to predict the 4x4 chroma block.
      The rest 3 4x4 luma blocks will be coded independently without
      coding the collocated chroma blocks.
      
      The compression performance gains are 1.45% for lowres set (down
      from 2.4% of the original cb4x4 design).
      
      Change-Id: Iff560fcab172ed4219434d5174c4d8dfbbb04135
      f0179c3c
  24. 22 Feb, 2017 1 commit
    • Jingning Han's avatar
      Fix chroma intra prediction reference check · edc62f74
      Jingning Han authored
      Fix the intra prediction boundary availability check for chroma
      components. Such intricacy is due to the re-schedule of sub8x8
      chroma coding block to avoid 2x2 prediction and transform size.
      
      Change-Id: I4a2dff8743cf78af8dfb90265019e8d1222ed734
      edc62f74
  25. 16 Feb, 2017 1 commit
    • Joe Young's avatar
      [ext-intra] fix bug in sample interpolation when dy < 0 · e568e6f0
      Joe Young authored
      When the "dy" variable is between -1 and 0 (base2 == -1)
      we should interpolate between the upper-left(-1,-1) and left(-1,0)
      samples, instead of just taking the left sample.
      
      Coding gain improves a bit with this change.
      
      BUG=aomedia:357
      
      Change-Id: If520f71b22115e79120499c21f8d6925c1fa24be
      e568e6f0
  26. 27 Jan, 2017 1 commit
    • Jingning Han's avatar
      Fix ext-partition/type in cb4x4 mode · 86e27791
      Jingning Han authored
      This commit fixes the encoding/decoding mismatch issue when
      ext-partition and ext-partition-type are both turned on in cb4x4
      mode.
      
      BUG=aomedia:336
      
      Change-Id: I4d6ad5863c9d3bc8e3a41c259b8b39f130164790
      86e27791
  27. 26 Jan, 2017 1 commit
    • Urvang Joshi's avatar
      Palette: Don't store tokens for pixels outside image boundary. · 56ba91bb
      Urvang Joshi authored
      If part of a block falls outside right and/or bottom image boundary,
      then only store tokens for the part of it within the boundary.
      
      Also, consider only the part of the block within the boundary when
      calculating the number of colors in the image, deciding the base
      colors for palette, RD calculation etc.
      
      The part of color map corresponding to pixels outside the image
      boundary is padded with color indices copied from same row/column.
      This behavior is similar to how pixels outside the boundary are padded.
      
      For screen_content set, this is improves compression performance by
      0.038 overall. One clip, in particular, has a significant gain of 0.8.
      
      Change-Id: I745ca032f313c5041aacc98c03ae4bfc33d840de
      56ba91bb
  28. 24 Jan, 2017 1 commit
    • David Barker's avatar
      Make ext-inter use new rectangular intra predictor · 839467f4
      David Barker authored
      Now that https://aomedia-review.googlesource.com/#/c/6729/
      has been merged, build_intra_predictors_for_interintra() is
      now redundant, so replace it by a direct call to
      av1_predict_intra_block() and remove the old function.
      
      Reset rect_interintra back to 1.
      
      To do this, we need to make the intra predictor take a
      BLOCK_SIZE instead of a TX_SIZE. This is because we need to
      be able to predict 32x64 and 64x32 blocks, but there is no
      TX_32X64 or TX_64X32.
      
      No effect on output or performance.
      
      Change-Id: I8c185a211c97a85012cc54ec293c785a693608ed
      839467f4
  29. 23 Jan, 2017 1 commit
    • Jingning Han's avatar
      Support filter-intra in cb4x4 mode · 48b1cb35
      Jingning Han authored
      This commit resolves an enc/dec mismatch issue when both filter-intra
      and cb4x4 modes are enabled.
      
      BUG=aomedia:253
      
      Change-Id: I4026d93c00a819f2ce69aedba9d34a774319acbf
      48b1cb35
  30. 21 Jan, 2017 1 commit
    • Jingning Han's avatar
      Resolve coding failure in var-tx · 07ef967d
      Jingning Han authored
      Fix an encoding failure issue when var-tx is enabled, while ext-tx
      and rect-tx are disabled. This doesn't change coding statistics
      when all are enabled.
      
      Change-Id: I4b32387a0a1497380980f8087832aaf6467cdcbe
      07ef967d
  31. 20 Jan, 2017 2 commits
  32. 18 Jan, 2017 1 commit
    • Urvang Joshi's avatar
      Enable rectangular transforms for Intra also. · feb925fe
      Urvang Joshi authored
      These are under EXT_TX + RECT_TX experiment combo.
      
      Results
      =======
      
      Derf Set:
      --------
      All Intra frames: 1.8% avg improvement (and 1.78% BD-rate improvement)
      Video: 0.230% avg improvement (and 0.262% BD-rate improvement)
      
      Objective-1-fast set
      --------------------
      Video: 0.52 PSNR improvement
      
      Change-Id: I1893465929858e38419f327752dc61c19b96b997
      feb925fe
  33. 16 Dec, 2016 1 commit
  34. 15 Dec, 2016 1 commit