1. 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
  2. 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
  3. 10 Jan, 2013 2 commits
  4. 26 Dec, 2012 1 commit
  5. 13 Dec, 2012 1 commit
  6. 08 Dec, 2012 1 commit
    • John Koleszar's avatar
      libvpx_test: ensure rtcd init functions are called · 6f014dc5
      John Koleszar authored
      In addition to allowing tests to use the RTCD-enabled functions (perhaps transitively)
      without having run a full encode/decode test yet, this fixes a linking issue with
      Apple's G++ whereby the Common symbols (the function pointers themselves) wouldn't
      be resolved. Fixing this linking issue is the primary impetus for this patch, as none
      of the tests exercise the RTCD functionality except through the main API.
      
      Change-Id: I12aed91ca37a707e5309aa6cb9c38a649c06bc6a
      6f014dc5
  7. 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
  8. 06 Dec, 2012 1 commit
    • John Koleszar's avatar
      libvpx_test: ensure rtcd init functions are called · 434336b0
      John Koleszar authored
      In addition to allowing tests to use the RTCD-enabled functions (perhaps transitively)
      without having run a full encode/decode test yet, this fixes a linking issue with
      Apple's G++ whereby the Common symbols (the function pointers themselves) wouldn't
      be resolved. Fixing this linking issue is the primary impetus for this patch, as none
      of the tests exercise the RTCD functionality except through the main API.
      
      Change-Id: I12aed91ca37a707e5309aa6cb9c38a649c06bc6a
      434336b0
  9. 04 Dec, 2012 1 commit
  10. 28 Nov, 2012 2 commits
  11. 27 Nov, 2012 1 commit
    • John Koleszar's avatar
      Add vp9_ prefix to all vp9 files · fcccbcbb
      John Koleszar authored
      Support for gyp which doesn't support multiple objects in the same
      static library having the same basename.
      
      Change-Id: Ib947eefbaf68f8b177a796d23f875ccdfa6bc9dc
      fcccbcbb
  12. 26 Nov, 2012 1 commit
  13. 25 Nov, 2012 1 commit
  14. 15 Nov, 2012 2 commits
    • John Koleszar's avatar
      support building vp8 and vp9 into a single lib · a9c7597a
      John Koleszar authored
      Change-Id: Ib8f8a66c9fd31e508cdc9caa662192f38433aa3d
      a9c7597a
    • 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
  15. 14 Nov, 2012 1 commit
    • Marco Paniconi's avatar
      Update to datarate_test. · cd7f6841
      Marco Paniconi authored
      Exlcude key frame from buffer underrun check, and increase
      lowest bitrate in BasicBufferModel.
      Both changes are needed because of a known issue (#495).
      
      Change-Id: If5e994f813d7d5ae870c1a72be404c8f7dbbdf27
      cd7f6841
  16. 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
  17. 06 Nov, 2012 1 commit
    • James Zern's avatar
      fix test builds · 2e3e6857
      James Zern authored
      s/([vV][pP])8/$19/
      additionally dct.h was removed; declare the _c functions that are used
      in the tests. the TODO for conversion to parameterized tests still
      remains.
      
      Change-Id: I73db9425a57075bbb78a92693ba6b320578981cd
      2e3e6857
  18. 01 Nov, 2012 1 commit
  19. 30 Oct, 2012 1 commit
  20. 27 Oct, 2012 1 commit
  21. 22 Oct, 2012 1 commit
  22. 11 Oct, 2012 1 commit
  23. 08 Oct, 2012 1 commit
    • Yunqing Wang's avatar
      post-proc: deblock filter optimization · 4c53bacc
      Yunqing Wang authored
      1. Algorithm modification:
      Instead of having same filter threshold for a whole frame, now we
      allow the thresholds to be adjusted for each macroblock. In current
      implementation, to avoid excessive blur on background as reported
      in issue480(http://code.google.com/p/webm/issues/detail?id=480), we
      reduce the thresholds for skipped macroblocks.
      
      2. SSE2 optimization:
      As started in issue479(http://code.google.com/p/webm/issues/detail?id=479),
      the filter calculation was adjusted for better performance. The c
      code was also modified accordingly. This made the deblock filter
      2x faster, and the decoder was 1.2x faster overall.
      
      Next, the demacroblock filter will be modified similarly.
      
      Change-Id: I05e54c3f580ccd427487d085096b3174f2ab7e86
      4c53bacc
  24. 04 Oct, 2012 1 commit
  25. 03 Oct, 2012 4 commits
    • 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
    • Adrian Grange's avatar
      Added handler for PSNR packets to EncoderTest class · e6109dbd
      Adrian Grange authored
      Added a virtual function to handle PSNR packets.
      
      Change-Id: Id2a6372c691a14f19bbeed217a93a9df03e81e75
      e6109dbd
    • Adrian Grange's avatar
      Add initialization and per frame flag members · 4206c6dd
      Adrian Grange authored
      Modified EncoderTest class to have separate member variables
      for initialization time and per-frame.
      
      Change-Id: I08a1901f8f3ec16e45f96297e08e7f6df0f4aa0b
      4206c6dd
    • Adrian Grange's avatar
      Added Reset method to TwopassStatsStore · 30f58b52
      Adrian Grange authored
      The stats buffer needs to be reset between runs of the
      encoder. I added a Reset() function to TwopassStatsStore
      and called it at the beginning of each encode.
      
      This enables us to run multiple encodes which was
      previously not possible since there was no way to reset
      the stats between runs.
      
      Change-Id: Iebb18dab83ba9331f009f764cc858609738a27f9
      30f58b52
  26. 01 Oct, 2012 1 commit
    • Jim Bankoski's avatar
      Disable keyframe in real time that's placed one frame after a cut. · 6f35b195
      Jim Bankoski authored
      The codec as it stood placed a keyframe one frame after a
      real cut scene - and ignored datarate and other considerations.
      
      TODO: Its possible that we should detect a keyframe and recode
      the frame ( in certain circumstances) to improve quality.
      
      Change-Id: Ia1fd6d90103f4da4d21ca5ab62897d22e0b888a8
      6f35b195
  27. 26 Sep, 2012 1 commit
  28. 31 Aug, 2012 2 commits
    • Yaowu Xu's avatar
      added encode/decode matching validation to tests · c953aeac
      Yaowu Xu authored
      This commit adds the ability of validating matched encoder and
      decoder to unit tests.
      
      Change-Id: Ie00d69a42477b6a69b324a6bd134939684f7300b
      c953aeac
    • James Zern's avatar
      msvs/tests: fix data alignment for asm tests · 10f8b361
      James Zern authored
      Replace DECLARE_ALIGNED_ with vpx_memalign()
      
      DECLARE_ALIGNED (__declspec(align())) does not work as intended when
      used on class data members:
      
      Data in classes or structures is aligned within the class or structure
      at the minimum of its natural alignment and the current packing setting
      (from #pragma pack or the /Zp compiler option)
      
      Change-Id: I304aaa6c3716fbfae24675ecf192f4b40787e83e
      10f8b361
  29. 24 Aug, 2012 1 commit
    • Yaowu Xu's avatar
      change to properly account for coef scaling in unit tests · 95ee7f11
      Yaowu Xu authored
      The transform functions in experimental branch absorbed a scaling
      factor of 4 to allow quantization steps closer to unit quantizer.
      This commit added scaling code in between forward and inverse
      transform to properly account for the scaling factor.
      
      Change-Id: I9a573ddc1ffa74973b34800a5da1a56dbabe0949
      95ee7f11
  30. 21 Aug, 2012 2 commits
    • James Zern's avatar
      sad_test: fix msvc build · 12ddb75a
      James Zern authored
      pass a variable to make_tuple() rather than a function, fixes type
      errors
      
      Change-Id: Ic0cbd25d0ca35ad08c672040b4141b3b81695752
      12ddb75a
    • James Zern's avatar
      sixtap_predict_test: fix msvc build · e57394aa
      James Zern authored
      pass a variable to make_tuple() rather than a function, fixes type
      errors
      
      Change-Id: I5e04b61b5ab58cc0090ef21119486ca04853af61
      e57394aa
  31. 08 Aug, 2012 2 commits