1. 21 Jun, 2013 1 commit
  2. 19 Jun, 2013 1 commit
    • John Koleszar's avatar
      Add some unaligned test vectors · 639db571
      John Koleszar authored
      Tests resolutions of 8, 10, 16, 18, 32, 34, 64, 66 to exercise the
      border conditions, as well as non-SB aligned sizes.
      
      Change-Id: Ie7c2b7860ac3727e23202042f2e86792652912f8
      639db571
  3. 18 Jun, 2013 1 commit
  4. 13 Jun, 2013 1 commit
    • John Koleszar's avatar
      Add vp9 test vectors unit test · 119c9812
      John Koleszar authored
      These files can stand in until we get proper syntax vectors. They
      should provide some additional assurance against inadvertant
      bitstream changes.
      
      Change-Id: I12f6c9a5f054e30df40a7ff1f33145abf7e1d59d
      119c9812
  5. 06 Jun, 2013 1 commit
  6. 16 Mar, 2013 1 commit
  7. 13 Mar, 2013 1 commit
    • Yaowu Xu's avatar
      removed reference to "LLM" and "x8" · 00555263
      Yaowu Xu authored
      The commit changed the name of files and function to remove obselete
      reference to LLM and x8.
      
      Change-Id: I973b20fc1a55149ed68b5408b3874768e6f88516
      00555263
  8. 05 Mar, 2013 1 commit
    • John Koleszar's avatar
      Add 'superframe' index · 522d4bf8
      John Koleszar authored
      A 'superframe' is a group of frames that share the same PTS, but have a
      defined decoding order. This commit adds the ability to append an index
      to such a group of frames, allowing for random access to the constituent
      frames. This could be useful for frame-level parallelism or partial
      decoding in a multilayer scenario.
      
      Decoding the stream serially without such an index should work as a
      fallback, and VP9/TestSuperframeIndexIsOptional verifies that.
      
      Change-Id: Idff83b7560e1a7077d8fb067bfbc45b567e78b1c
      522d4bf8
  9. 02 Mar, 2013 1 commit
  10. 26 Feb, 2013 1 commit
    • Yaowu Xu's avatar
      Enable 32x32 dct tests · 3dbc78b1
      Yaowu Xu authored
      Also
      1. Removed the test code for fDCT from the iDCT test.
      2. changed the criteria of round trip error to be below 1/block, this
      is quite strict comparing to smaller transforms when size differences
      are accounted for.
      
      Change-Id: Idb46a6380b04c93fc8e2845c75f5a850366b0090
      3dbc78b1
  11. 25 Feb, 2013 1 commit
    • Yaowu Xu's avatar
      optimize forward 16x16 DCT for accuracy · 499fe05d
      Yaowu Xu authored
      This commit added pre/post scaling for first half of fDCT16x16 to
      reduce error, by simulation of 100,000 blocks for random inputs,
      the average sse reduced from 2.1/block to 0.0498/block.
      
      also enabled tests for 16x16 fDCT and iDCT
      
      Change-Id: Id2a95f0464c6dd4118797d456237ae90274c0f02
      499fe05d
  12. 23 Feb, 2013 2 commits
    • Yaowu Xu's avatar
      optimize 8x8 fdct rounding for accuracy · 22012ee9
      Yaowu Xu authored
      The commit added a final rounding choice for 8x8 forward dct to get
      rid of a sign bias at DC position and improve the accuracry in term
      of round trip error for 8x8 fDCT/iDCT.
      
      This commit also enabled forward 8x8 dct test.
      
      Change-Id: Ib67f99b0a24d513e230c7812bc04569d472fdc50
      22012ee9
    • James Zern's avatar
      add vp8 variance test · 1711cf2d
      James Zern authored
      Change-Id: I4e94ee2c4e2360d6a11a454c323f2899c1bb6f72
      1711cf2d
  13. 22 Feb, 2013 1 commit
    • Yaowu Xu's avatar
      changes related fdct/idct tests · 4e2697f5
      Yaowu Xu authored
      1. changed 4x4 test name to Vp9Fdct4x4Test to be consistent
      2. remove forward 8x8 dct test code from idct8x8_test.cc
      3. temporarily disable other forward dct tests to allow fdct work in
      progress
      
      Change-Id: I566aeed9c7c34da5a206190aa7d0e847a4008b36
      4e2697f5
  14. 05 Feb, 2013 2 commits
    • Ronald S. Bultje's avatar
      [WIP] Add column-based tiling. · 1407bdc2
      Ronald S. Bultje authored
      This patch adds column-based tiling. The idea is to make each tile
      independently decodable (after reading the common frame header) and
      also independendly encodable (minus within-frame cost adjustments in
      the RD loop) to speed-up hardware & software en/decoders if they used
      multi-threading. Column-based tiling has the added advantage (over
      other tiling methods) that it minimizes realtime use-case latency,
      since all threads can start encoding data as soon as the first SB-row
      worth of data is available to the encoder.
      
      There is some test code that does random tile ordering in the decoder,
      to confirm that each tile is indeed independently decodable from other
      tiles in the same frame. At tile edges, all contexts assume default
      values (i.e. 0, 0 motion vector, no coefficients, DC intra4x4 mode),
      and motion vector search and ordering do not cross tiles in the same
      frame.
      t log
      
      Tile independence is not maintained between frames ATM, i.e. tile 0 of
      frame 1 is free to use motion vectors that point into any tile of frame
      0. We support 1 (i.e. no tiling), 2 or 4 column-tiles.
      
      The loopfilter crosses tile boundaries. I discussed this briefly with Aki
      and he says that's OK. An in-loop loopfilter would need to do some sync
      between tile threads, but that shouldn't be a big issue.
      
      Resuls: with tiling disabled, we go up slightly because of improved edge
      use in the intra4x4 prediction. With 2 tiles, we lose about ~1% on derf,
      ~0.35% on HD and ~0.55% on STD/HD. With 4 tiles, we lose another ~1.5%
      on derf ~0.77% on HD and ~0.85% on STD/HD. Most of this loss is
      concentrated in the low-bitrate end of clips, and most of it is because
      of the loss of edges at tile boundaries and the resulting loss of intra
      predictors.
      
      TODO:
      - more tiles (perhaps allow row-based tiling also, and max. 8 tiles)?
      - maybe optionally (for EC purposes), motion vectors themselves
        should not cross tile edges, or we should emulate such borders as
        if they were off-frame, to limit error propagation to within one
        tile only. This doesn't have to be the default behaviour but could
        be an optional bitstream flag.
      
      Change-Id: I5951c3a0742a767b20bc9fb5af685d9892c2c96f
      1407bdc2
    • John Koleszar's avatar
      Add 8-tap generic convolver · 5ca6a366
      John Koleszar authored
      This commit introduces a new convolution function which will be used to
      replace the existing subpixel interpolation functions. It is much the
      same as the existing functions, but allows for changing the filter
      kernel on a per-pixel basis, and doesn't bake in knowledge of the
      filter to be applied or the size of the resulting block into the
      function name.
      
      Replacing the existing subpel filters will come in a later commit.
      
      Change-Id: Ic9a5615f2f456cb77f96741856fc650d6d78bb91
      5ca6a366
  15. 04 Feb, 2013 1 commit
    • Yaowu Xu's avatar
      enable 16x16 iDCT unit test · ebd58089
      Yaowu Xu authored
      test for forward transform will be enabled later after re-do forward
      transform
      
      Change-Id: Ie7c7cf88baf7ecbebbe52fe027e1c3b33d3b9d49
      ebd58089
  16. 24 Jan, 2013 1 commit
    • Deb Mukherjee's avatar
      Adds an error-resilient mode with test · 01cafaab
      Deb Mukherjee authored
      Adds an error-resilient mode where frames can be continued
      to be decoded even when there are errors (due to network losses)
      on a prior frame. Specifically, backward updates are turned off
      and probabilities of various symbols are reset to defaults at
      the beginning of each frame. Further, the last frame's mvs are
      not used for the mv reference list, and the sorting of the
      initial list based on search on previous frames is turned off
      as well.
      
      Also adds a test where an arbitrary set of frames are skipped
      from decoding to simulate errors. The test verifies (1) that if
      the error frames are droppable - i.e. frame buffer updates have
      been turned off - there are no mismatch errors for the remaining
      frames after the error frames; and (2) if the error-frames are non
      droppable, there are not only no decoding errors but the mismatch
      PSNR between the decoder's version of the post-error frames and the
      encoder's version is at least 20 dB.
      
      Change-Id: Ie6e2bcd436b1e8643270356d3a930e8989ff52a5
      01cafaab
  17. 23 Jan, 2013 1 commit
    • John Koleszar's avatar
      Support multiple codecs in test infrastructure · 706cafe3
      John Koleszar authored
      This commit starts to convert the tests to a system where the codec
      to be used is provided by a factory object. Currently no tests are
      instantiated for VP9 since they all fail for various reasons, but it
      was verified that they're called and the correct codec is
      instantiated.
      
      Change-Id: Ia7506df2ca3a7651218ba3ca560634f08c9fbdeb
      706cafe3
  18. 10 Jan, 2013 1 commit
  19. 26 Dec, 2012 1 commit
  20. 07 Dec, 2012 1 commit
    • Ronald S. Bultje's avatar
      32x32 transform for superblocks. · c456b35f
      Ronald S. Bultje authored
      This adds Debargha's DCT/DWT hybrid and a regular 32x32 DCT, and adds
      code all over the place to wrap that in the bitstream/encoder/decoder/RD.
      
      Some implementation notes (these probably need careful review):
      - token range is extended by 1 bit, since the value range out of this
        transform is [-16384,16383].
      - the coefficients coming out of the FDCT are manually scaled back by
        1 bit, or else they won't fit in int16_t (they are 17 bits). Because
        of this, the RD error scoring does not right-shift the MSE score by
        two (unlike for 4x4/8x8/16x16).
      - to compensate for this loss in precision, the quantizer is halved
        also. This is currently a little hacky.
      - FDCT and IDCT is double-only right now. Needs a fixed-point impl.
      - There are no default probabilities for the 32x32 transform yet; I'm
        simply using the 16x16 luma ones. A future commit will add newly
        generated probabilities for all transforms.
      - No ADST version. I don't think we'll add one for this level; if an
        ADST is desired, transform-size selection can scale back to 16x16
        or lower, and use an ADST at that level.
      
      Additional notes specific to Debargha's DWT/DCT hybrid:
      - coefficient scale is different for the top/left 16x16 (DCT-over-DWT)
        block than for the rest (DWT pixel differences) of the block. Therefore,
        RD error scoring isn't easily scalable between coefficient and pixel
        domain. Thus, unfortunately, we need to compute the RD distortion in
        the pixel domain until we figure out how to scale these appropriately.
      
      Change-Id: I00386f20f35d7fabb19aba94c8162f8aee64ef2b
      c456b35f
  21. 28 Nov, 2012 2 commits
  22. 15 Nov, 2012 1 commit
    • John Koleszar's avatar
      make: flatten object file directories · b72373de
      John Koleszar authored
      Rather than building an object file directory heirarchy matching the
      source tree's layout, rename the object files so that the object
      file name contains the path in the source file tree. The intent here
      is to allow two files in different parts of the source tree to have
      the same name and still not collide when put into an ar archive.
      
      Change-Id: Id627737dc95ffc65b738501215f34a995148c5a2
      b72373de
  23. 07 Nov, 2012 1 commit
    • James Zern's avatar
      Fix variance (signed integer) overflow · 98473443
      James Zern authored
      In the variance calculations the difference is summed and later squared.
      When the sum exceeds sqrt(2^31) the value is treated as a negative when
      it is shifted which gives incorrect results.
      
      To fix this we force the multiplication to be unsigned.
      
      The alternative fix is to shift sum down by 4 before multiplying.
      However that will reduce precision.
      
      For 16x16 blocks the maximum sum is 65280 and sqrt(2^31) is 46340 (and
      change).
      
      This change is based on:
      16982342 Missed some variance casts
      fea3556e Fix variance overflow
      
      Change-Id: I2c61856cca9db54b9b81de83b4505ea81a050a0f
      98473443
  24. 30 Oct, 2012 1 commit
  25. 22 Oct, 2012 1 commit
  26. 11 Oct, 2012 1 commit
  27. 04 Oct, 2012 1 commit
  28. 03 Oct, 2012 1 commit
    • Adrian Grange's avatar
      Unit Test for Error Resilience Mode · cc017ca8
      Adrian Grange authored
      This unit test compares the difference in quality with
      error resilience enabled and disabled. The test runs
      for all of the one-pass encoding modes.
      
      The test ensures that the effect of turning on error
      resilience makes less than a 10% difference in PSNR.
      
      Further cases should be added to do a more comprehensive
      test.
      
      Change-Id: I1fc747fc78c9459bc6c74494f4b38308dbed0c32
      cc017ca8
  29. 26 Sep, 2012 1 commit
  30. 31 Aug, 2012 1 commit
  31. 08 Aug, 2012 1 commit
  32. 03 Aug, 2012 1 commit
    • Daniel Kang's avatar
      16x16 DCT blocks. · fed8a183
      Daniel Kang authored
      Set on all 16x16 intra/inter modes
      
      Features:
      - Butterfly fDCT/iDCT
      - Loop filter does not filter internal edges with 16x16
      - Optimize coefficient function
      - Update coefficient probability function
      - RD
      - Entropy stats
      - 16x16 is a config option
      
      Have not tested with experiments.
      
      hd:     2.60%
      std-hd: 2.43%
      yt:     1.32%
      derf:   0.60%
      
      Change-Id: I96fb090517c30c5da84bad4fae602c3ec0c58b1c
      fed8a183
  33. 26 Jul, 2012 1 commit
  34. 24 Jul, 2012 1 commit
  35. 20 Jul, 2012 1 commit
  36. 10 Jul, 2012 1 commit
    • Yunqing Wang's avatar
      Add unit test for vp8_sixtap_predict functions · e61573c5
      Yunqing Wang authored
      This unit test tests vp8_sixtap_predict function against preset
      data and random generated data. The test against preset data
      checks the correctness of the functions, and the test against
      random data checks if the optimized six-tap predictor functions
      generate matching result as the c functions. It tests the
      following functions:
      vp8_sixtap_predict16x16_c
      vp8_sixtap_predict16x16_mmx
      vp8_sixtap_predict16x16_sse2
      vp8_sixtap_predict16x16_ssse3
      
      vp8_sixtap_predict8x8_c
      vp8_sixtap_predict8x8_mmx
      vp8_sixtap_predict8x8_sse2
      vp8_sixtap_predict8x8_ssse3
      
      vp8_sixtap_predict8x4_c
      vp8_sixtap_predict8x4_mmx
      vp8_sixtap_predict8x4_sse2
      vp8_sixtap_predict8x4_ssse3
      
      vp8_sixtap_predict4x4_c
      vp8_sixtap_predict4x4_mmx
      vp8_sixtap_predict4x4_ssse3
      
      Change-Id: I6de097898ebca34a4c8020aed1e8dde5cd3e493b
      e61573c5
  37. 29 Jun, 2012 1 commit
    • John Koleszar's avatar
      Build unit test driver from the default target · acd147c5
      John Koleszar authored
      We need an easy way to build the unit test driver without running the
      tests. This enables passing options like --gtest_filter to the
      executable, which can't be done very cleanly when running under
      `make test`.
      
      Fixed a number of compiler errors/warnings when building the tests
      in various configurations by Jenkins.
      
      Change-Id: I9198122600bcf02520688e5f052ab379f963b77b
      acd147c5