1. 24 Nov, 2017 3 commits
    • Rupert Swarbrick's avatar
      Disallow 4:1/1:4 partitions for BLOCK_128x128 · eb123933
      Rupert Swarbrick authored
      The change can be temporarily reverted by setting ALLOW_128X32_BLOCKS
      to 1 (for easy "is this better?" testing: we'll get rid of the option
      once it's clear what we're doing).
      Since this means we have to modify the "num_partition_types"
      calculation in functions like read_partition, we move it into a helper
      function called partition_cdf_length(). Doing this makes the bodies of
      read_partition and write_partition somewhat simpler than they were.
      Change-Id: I3573f62f71dc3344aed2dcb3e423e034eb56a7c5
    • Sebastien Alaiwan's avatar
      Remove dead member: intra_inter_prob · fe530085
      Sebastien Alaiwan authored
      Change-Id: Id39e4231b5ba8e86b92f478185b61d1a5b9eeeeb
    • Yaowu Xu's avatar
      Revert "[CFL] Cap Averaging Area" · a73bdb04
      Yaowu Xu authored
      This reverts commit 873d8a46.
      Change-Id: Ief39ff278f63b9ab5b1f4692dc61ff997e0a5474
  2. 23 Nov, 2017 15 commits
    • Sebastien Alaiwan's avatar
      Remove dead members · a2fec524
      Sebastien Alaiwan authored
      Change-Id: I5bd080f1fd5c14ea72ea7eb795eb1b8996a8fa76
    • Rupert Swarbrick's avatar
      Refactor to allow optimization in SGR code · 13927866
      Rupert Swarbrick authored
      The first stage of the selfguided filter is to generate box sums of
      the input image (and its squares). This is done with a pair of
      integral images, which are the same for both calls in
      This patch refactors things so that av1_selfguided_restoration
      calculates both "flt" buffers, allowing it to reuse the integral
      images that it calculated.
      Change-Id: Ica2f6f66e41bea38eb1a135c78c1d7ddab434d8e
    • Sebastien Alaiwan's avatar
      Cleanup dead variables · 0ef61dd1
      Sebastien Alaiwan authored
      Change-Id: I36a4ca8bc0c2390b5731b2a60bdca54e3e37868a
    • Sebastien Alaiwan's avatar
      Remove dead members: y_mode_prob, uv_mode_prob · 35777b8a
      Sebastien Alaiwan authored
      Change-Id: I5b03c02657134bbd50c647645898c5d2f6286d2a
    • Rupert Swarbrick's avatar
      Get rid of the highbd versions of the SGR code · 625e50bd
      Rupert Swarbrick authored
      This doesn't have a big performance impact, and it's rather simpler
      just having one version of everything.
      Change-Id: I5fa5e7640a63d0ccb0c371f266c6eee99d9520f9
    • Rupert Swarbrick's avatar
      Remove unused highpass filter from SGR code · 7cf60961
      Rupert Swarbrick authored
      Change-Id: Ifac3a3bf620061865b82b986d6b16bcabd96a187
    • Rupert Swarbrick's avatar
      A working rewrite of the sgr sse code · 064c1d47
      Rupert Swarbrick authored
      This fixes some Valgrind errors caused by reads from x_by_xplus1 that
      used tainted data as an address (see the comments in selfguided_sse4.c
      for what's going on).
      It also rewrites the algorithm to use an integral image approach
      instead of the handwritten filters that the code was using. The end
      result is roughly the same efficiency (I think that there's one more
      memory load per group of pixels, but this seems not to be measurable)
      and I've done some performance optimisation with perf too. Several
      32-bit multiplications have been replaced by madd instructions which
      do 16-bit multiplications and add adjacent lanes. This is equivalent
      to a 32-bit multiplication when the 32-bit lanes contain numbers below
      2^15, but runs significantly faster.
      Change-Id: I3d0f3043c7861707a56e2fd1849574dc73897d6c
    • Hui Su's avatar
      Terminate decoding at invalid mode and ref frame combo · 70f9a1f9
      Hui Su authored
      Change-Id: I2113bba4589f61a09d0dd07c64a522f4d0ae304b
      (cherry picked from commit cccda0db727c2282375b174104294b40911d1447)
    • James Zern's avatar
      av1_txfm,round_shift: remove implicit conv warning · a60e26d5
      James Zern authored
      under visual studio c4334:
      result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift
      Change-Id: If06793116ddfbe3265a17a17a2bcaa6ee8cf9e2d
      (cherry picked from commit 535ecf6b31fe97f704f6725989cffad88ad960d8)
    • Hui Su's avatar
      Fix integer overflows in av1_iidentity*_c() · 19df02af
      Hui Su authored
      Change-Id: Ia761d4b77049a55bd8040b5ed76063b2fac750ee
      (cherry picked from commit c9762668a3f25c2dfe31c426871450fbfd44b9e0)
    • Hui Su's avatar
      Fix int overflow in decode_coefs() · 8398023a
      Hui Su authored
      Change-Id: I79e404dc2cd6db06e71a64338b74eb4b575ba431
      (cherry picked from commit 85f2a5ae4c15de5dd530766eb3933b9de976d9cf)
    • Hui Su's avatar
      Add clamping in half_btf() · 8e739bcd
      Hui Su authored
      Change-Id: Ib28b41adfa2738681357903a81a89bcab01c87b3
      (cherry picked from commit 08b26a8a257e54210d8bbdba799980bc291f368e)
    • Jingning Han's avatar
      Unify adaptive scan enable flag · 86b75c8a
      Jingning Han authored
      Change-Id: Ief1bedd68de55c29de15f56d805e242d932ff359
    • Jingning Han's avatar
      Merge adaptive scan control panel · e4a0b3c7
      Jingning Han authored
      Change-Id: Ifb295cbcde5474d33c4eca008d89c9dda68d327e
    • Hui Su's avatar
      Add explicit cast in half_btf() · 5a680b11
      Hui Su authored
      To silence asan failures in fuzzing tests.
      Change-Id: Ib2c713dc19af223da5e5fc5cec4652d71856f830
      (cherry picked from commit e43ea91055133baaf3b691170a097a456c032e23)
  3. 22 Nov, 2017 11 commits
  4. 21 Nov, 2017 11 commits