1. 05 May, 2017 4 commits
    • 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
    • Sebastien Alaiwan's avatar
      Merge ref-mv into codebase · e140c508
      Sebastien Alaiwan authored
      Change-Id: I96e386678f6227f3ca735c9be2725cb9795b3296
      e140c508
  2. 04 May, 2017 11 commits
  3. 03 May, 2017 12 commits
  4. 02 May, 2017 12 commits
    • Sarah Parker's avatar
      Correct references to compound_data struct members · de48e94c
      Sarah Parker authored
      This resolves a compiler error in compound_segment due to a bad
      rebase.
      
      Change-Id: I9a93c0af052f1c5e40a0020baa624c60d19d1b1a
      de48e94c
    • Sarah Parker's avatar
      Factor common condition in intra pred into const variable · 00d03dbc
      Sarah Parker authored
      This resolves a static analyis error.
      
      Change-Id: I39360ae17af7e41f00e5c5edce5163bd98b920fa
      00d03dbc
    • Sarah Parker's avatar
      Move compound segment mask buffer from mbmi to xd · 2cf73eb8
      Sarah Parker authored
      This resolves crashes on awcy due to excessive memory
      use. No change in BDRATE.
      
      Change-Id: If3e67683dee6658db16dd5c1d686111e6415c493
      2cf73eb8
    • David Barker's avatar
      Remove temporary condition from warp code · 46443741
      David Barker authored
      Patch https://aomedia-review.googlesource.com/c/10901/ temporarily
      disabled the SSE2 warp filter for 4x4 blocks, because of a
      data race when the filter was used at the right-hand edge of a
      tile in a multithreaded encode.
      
      This patch fixes the data race and re-enables the SSE2 warp filter.
      
      Change-Id: I7058c897ddf538cd10001c5be13b1a1bfe8320fd
      46443741
    • Zoe Liu's avatar
      Clean a small portion of code in wedge inter prediction · 93760cdc
      Zoe Liu authored
      BUG=aomedia:442
      
      Change-Id: Ia6081b511b4c2a723eed5794498b39558fc9e91a
      93760cdc
    • David Barker's avatar
      Fix encode/decode mismatch when enabling frame resizing · d706ed25
      David Barker authored
      There was a bug caused by the following sequence of events:
      * A frame was coded full-size, filling out the
        cm->above_context array as normal.
      * The next frame was coded at a reduced size
      * Due to changes between VP9 and AV1, we now clear the
        context arrays per-tile on the decoder side. The amount
        cleared is the span of the tile, rounded up to the next
        mi unit. Since this frame is at a reduced size, this
        leaves some entries "off the edge of the frame" set to 1.
      * get_entropy_context() reads a full transform block's worth
        of data from cm->above_context. This could read the off-frame
        1s, even when all the in-frame values were 0 (eg, because
        we're working on the topmost block of the frame).
      * This leads to the decoder getting the wrong context, causing
        an encode/decode mismatch.
      
      We fix this by rounding up to the next superblock, rather than
      the next mi unit, when clearing the context arrays per-tile.
      This is safe because all tiles other than the rightmost column
      must be an integer number of superblocks wide.
      
      BUG=aomedia:481
      
      Change-Id: I8283c69957900572d44eb8d7f633cb59e352da3c
      d706ed25
    • Frederic Barbier's avatar
      Avoid use of deprecated high-bitdepth functions · f9d77bd5
      Frederic Barbier authored
      Remap high-bitdepth functions to latest implementation.
      Cleanup dead functions to avoid future implementations to rely on it.
      
      Change-Id: I048c6e9cc790520247cc21ae9b92a9c8d84d00a7
      f9d77bd5
    • Debargha Mukherjee's avatar
      Fix some integer sanitization issues · 552b0b2c
      Debargha Mukherjee authored
      BUG=aomedia:484
      
      Change-Id: Ifc33faf23e355c499f1221e4d7f3425a1e28246d
      552b0b2c
    • Yaowu Xu's avatar
      Change to use unaligned load · d74b56c0
      Yaowu Xu authored
      Fixes segfaults due to aligned load of unaligned data.
      
      Change-Id: If0106f2c2e7df6713c8db14cf360eabbb334cbb5
      d74b56c0
    • Debargha Mukherjee's avatar
      Fix a compile error for av1_setup_dst_planes() · 7a8e102d
      Debargha Mukherjee authored
      Change-Id: Id0070822ea8ac85525e3ba5018c4039311255304
      7a8e102d
    • Yaowu Xu's avatar
      avoid out-of-range computation · 59d61e9c
      Yaowu Xu authored
      The results of the mulipliations can be larger than INT32_MAX.
      
      Change-Id: Idc27e55c4be86b74203cabedd2c506e7762db990
      59d61e9c
    • Yaowu Xu's avatar
      avoid shift of negative values · f9d15b61
      Yaowu Xu authored
      Rewrite operations to remove left shift.
      
      Change-Id: I21f839e3615b725bb599174a581232e1aad46ac5
      f9d15b61
  5. 01 May, 2017 1 commit
    • James Zern's avatar
      warped_motion.h: correct warped_motion definition · ed3a39f3
      James Zern authored
      should be marked extern as the table is defined in warped_motion.c.
      prevents multiple common symbol definitions and link warnings for table
      size change between e.g., encoder.c and warped_motion.c.
      
      Change-Id: Ic709497d7cd2020fde0167201f696916ce220f54
      ed3a39f3