1. 27 Nov, 2017 13 commits
    • David Barker's avatar
      scaling: Fix border clamping for subsampled planes · b3b5304f
      David Barker authored
      When forming a scaled prediction, we need to clamp against
      the extended frame border which was set up when the relevant
      reference frame was decoded. The width of this border actually
      depends on the subsampling mode (for UV planes), but before this
      patch we were always using the Y plane's border width.
      
      This resulted in bad predictions when signalling a motion vector
      which points far outside the reference frame. This patch fixes
      the clamping, and restores the intended behaviour for out-of-frame
      motion vectors.
      
      Change-Id: I2cf575ce339a3e22a3c8444de0d0c3be031007c9
      b3b5304f
    • Yaowu Xu's avatar
      Fix a ISO C90 warning · e65e12f5
      Yaowu Xu authored
      2147483648 by itself can not be represented by a 32 bit "int".
      
      Change-Id: I738573fed9f53c00b04693306acb9ad43a6485a9
      e65e12f5
    • James Zern's avatar
      Rename test/lpf_8_test.cc to test/lpf_test.cc · 989c5cbc
      James Zern authored
      It actually tests all sizes lpf functions.
      
      this matches libvpx:
      539961388 Rename test/lpf_8_test.cc to test/lpf_test.cc
      
      Change-Id: Ib35bcd3c3835fbb57838b41bc9c7be858104dfdb
      989c5cbc
    • James Zern's avatar
      Unify loopfilter function names · 1dbe80bc
      James Zern authored
      Rename aom_lpf_horizontal_edge_8() to aom_lpf_horizontal_16().
      Rename aom_lpf_horizontal_edge_16() to aom_lpf_horizontal_16_dual().
      
      based on the same change from libvpx:
      7f1f35183 Unify loopfilter function names
      
      Change-Id: I4fda7a2e3a893fc3dee0779975e2d4145c32f5d2
      1dbe80bc
    • Linfeng Zhang's avatar
      Remove duplicates in Loop8Test6Param and Loop8Test9Param · 5b0f0b89
      Linfeng Zhang authored
      Extract the duplicated data generation code in OperationCheck() of
      Loop8Test6Param and Loop8Test9Param, and put in function InitInput().
      
      ported from libvpx:
      2d1e63d0c Remove duplicates in Loop8Test6Param and Loop8Test9Param
      
      Change-Id: I0cdcedf205c6684b82751fe9a3da33f4f030bb48
      5b0f0b89
    • Linfeng Zhang's avatar
      Update Loop8Test{6,9}Param to test filter8() · e68e6b78
      Linfeng Zhang authored
      in mb_lpf_vertical_edge_w()
      One branch of filter8() in mb_lpf_vertical_edge_w() was not tested.
      
      ported from libvpx:
      ba42ce64b Fix a bug in test/lpf_8_test.cc
      bbf4c91f7 Update Loop8Test{6,9}Param to test filter8() in mb_lpf_vertical_edge_w()
      
      Change-Id: I43fb48b8cb91670d6de6527f9368acabdef2505a
      e68e6b78
    • Yunqing Wang's avatar
      Convolve copy function optimization · 57e41ea6
      Yunqing Wang authored
      Added a copy function (c version and sse2 version) for full-pixel motion
      vectors. Here, the compound or non-compound cases were not separated, and
      the left shifting were always done.
      
      Change-Id: Idb13e7c0576503a434d0d6e926cd54db645a4ff9
      57e41ea6
    • Debargha Mukherjee's avatar
      Add option to disable split partitions for chroma · 891a8774
      Debargha Mukherjee authored
      When the flag DISABLE_VARTX_FOR_CHROMA is on chroma is
      constrained to always use the largest transform size
      for the prediction unit size.
      This is meant to simnplify the logic for transform size
      selection for chroma with hopefully no loss.
      
      Results:
      lowres 30 frames, speed 1: -0.038% (a slight improvement).
      lowres 30 frames, speed 0: 0.000% (noise level difference).
      
      Change-Id: I14dd5b1983d908bd98e59b7d252e11f5755c97e6
      891a8774
    • Debargha Mukherjee's avatar
      Add chroma bsize modifications correctly · 3aa28111
      Debargha Mukherjee authored
      Change-Id: I807dc86489bc9219a24801841e66b555a2d7a51f
      3aa28111
    • Sebastien Alaiwan's avatar
      Remove dead member: wedge_interintra_prob · 0f3942ff
      Sebastien Alaiwan authored
      Change-Id: I42ffbcfed9ef308a2e547d04ccc76670eb405e44
      0f3942ff
    • Sebastien Alaiwan's avatar
      Remove dead member: interintra_prob · 9f09c710
      Sebastien Alaiwan authored
      Change-Id: Icbd008d5e973aa5038e857af460e55964fe36b13
      9f09c710
    • Sebastien Alaiwan's avatar
      Remove dead member: interintra_mode_prob · bc958f66
      Sebastien Alaiwan authored
      Change-Id: I424ff643e6f46216934c96fa9d34a27c46b3e7f2
      bc958f66
    • Yaowu Xu's avatar
      Make type conversion explicit · ea691058
      Yaowu Xu authored
      Change-Id: I53d5a29c1dc1c93535e1e6c6bef34f232feb5e1e
      ea691058
  2. 26 Nov, 2017 1 commit
  3. 25 Nov, 2017 7 commits
  4. 24 Nov, 2017 8 commits
  5. 23 Nov, 2017 11 commits
    • Yaowu Xu's avatar
      MotionVectorTest: reduce video resolution · 97800fd0
      Yaowu Xu authored
      This is a work around to avoid out of memory crashes for 32 bit
      platforms in  nightly tests.
      
      Change-Id: I2cd009dcfea1ae61832da35e4e4e23dc7bb88b16
      97800fd0
    • Sebastien Alaiwan's avatar
      Remove dead members · a2fec524
      Sebastien Alaiwan authored
      Change-Id: I5bd080f1fd5c14ea72ea7eb795eb1b8996a8fa76
      a2fec524
    • 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
      apply_selfguided_restoration.
      
      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
      13927866
    • Sebastien Alaiwan's avatar
      Cleanup dead variables · 0ef61dd1
      Sebastien Alaiwan authored
      Change-Id: I36a4ca8bc0c2390b5731b2a60bdca54e3e37868a
      0ef61dd1
    • Sebastien Alaiwan's avatar
      Remove dead members: y_mode_prob, uv_mode_prob · 35777b8a
      Sebastien Alaiwan authored
      Change-Id: I5b03c02657134bbd50c647645898c5d2f6286d2a
      35777b8a
    • Jonathan Matthews's avatar
      lv_map_multi: make entropy consistent · 9ade3940
      Jonathan Matthews authored
      BUG=aomedia:1060
      
      Change-Id: I051ff95b411cb27b0025cd634b5c599199ed082d
      9ade3940
    • 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
      625e50bd
    • Rupert Swarbrick's avatar
      Remove unused highpass filter from SGR code · 7cf60961
      Rupert Swarbrick authored
      Change-Id: Ifac3a3bf620061865b82b986d6b16bcabd96a187
      7cf60961
    • 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
      064c1d47
    • Hui Su's avatar
      Terminate decoding at invalid mode and ref frame combo · 70f9a1f9
      Hui Su authored
      BUG=b/69488541
      
      Change-Id: I2113bba4589f61a09d0dd07c64a522f4d0ae304b
      (cherry picked from commit cccda0db727c2282375b174104294b40911d1447)
      70f9a1f9
    • Hui Su's avatar
      Avoid interger overflow in aom_blend_*_c() · c9c78b50
      Hui Su authored
      BUG=b/69445855,b/69441422
      
      Change-Id: Iaf5aba78dc39f01c87fb726611e674d34af6bffe
      (cherry picked from commit 75ff22f309de2e25477d336a6a8e9e58d3bb2272)
      c9c78b50