1. 08 May, 2017 1 commit
    • 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
  2. 07 May, 2017 2 commits
  3. 06 May, 2017 9 commits
  4. 05 May, 2017 23 commits
  5. 04 May, 2017 5 commits
    • Ralph Giles's avatar
      Remove the aom_codec_stream_info_t size field. · afe71d9d
      Ralph Giles authored
      The aom_codec_stream_info struct had an `sz` field. It looks like
      this was intended to implement polymorphism, where individual
      codecs under the aom API could extend the struct with additional
      members while maintaining common fields like frame size.
      
      However, no codec-specific initializer was ever provided,
      requiring callers to manually set this field to the expected
      value. The extension mechanism isn't used by the av1 codec,
      and also wasn't used by the vp8 or vp9 codecs in the libvpx
      implementation.
      
      Since it's not used, this commit removes the layer of indirection,
      removing the confusing initialization burden and using
      aom_codec_stream_info_t directly within the av1 decoder.
      
      Change-Id: I4372a286b1d03518345c83b01c2f51db6cefe211
      afe71d9d
    • Sebastien Alaiwan's avatar
      Reduce variable scope · e4ba6aa3
      Sebastien Alaiwan authored
      Change-Id: Ibf57c631b469b1dddafb60be2cbb02d221f378d0
      e4ba6aa3
    • Sebastien Alaiwan's avatar
      Use AOMMAX and AOMMIN · 0b95a6e9
      Sebastien Alaiwan authored
      Change-Id: I8d104af32f2400f3133b0dd1e7cabd0b7e3e31aa
      0b95a6e9
    • Yi Luo's avatar
      Remove function call overhead in HBD convolve filter AVX2 · f9985440
      Yi Luo authored
      - This change comes from VP9 code review.
      
      Change-Id: I30449e641c24fc4b1ad01595cdc4a605bc797e83
      f9985440
    • Angie Chiang's avatar
      Move eob/lossless check into av1_optimize_b · 7dec6c4c
      Angie Chiang authored
      This will guarantee that av1_optimize_b will be turned off when
      lossless mode is on
      
      Remove heuristic lossless check in optimize_b_greedy
      
      Change-Id: I636c776f3f6b632eb03bc57a470ea43aae4fe0f6
      7dec6c4c