1. 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
  2. 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
  3. 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
  4. 08 Aug, 2012 3 commits
  5. 27 Jul, 2012 1 commit
    • Johann's avatar
      Be consistent with SAD values · 11610551
      Johann authored
      SAD returns unsigned values. Make all the declarations the same.
      
      Remove bestsad initialization and check. It is always set to the
      result of a SAD call so it will never remain UINT_MAX
      
      Use ja instead of jg to test unsigned comparison instead of signed.
      
      Update test.
      
      Change-Id: I46336ab45f4e60fc37caf20bd36bc5782079c7a5
      11610551
  6. 26 Jul, 2012 1 commit
  7. 24 Jul, 2012 2 commits
  8. 23 Jul, 2012 3 commits
  9. 20 Jul, 2012 2 commits
  10. 10 Jul, 2012 3 commits
    • John Koleszar's avatar
      keyframe_test: use a fixed speed step for realtime · 606ac45b
      John Koleszar authored
      The lower complexity modes may not generate a keyframe automatically.
      This behavior was found when running under Valgrind, as the slow
      performance caused the speed selection to pick lower complexities than
      when running natively. Instead, use a fixed complexity for the
      realtime auto keyframe test.
      
      Affected tests:
        AllModes/KeyframeTest.TestAutoKeyframe/0
      
      Change-Id: I44e3f44e125ad587c293ab5ece29511d7023be9b
      606ac45b
    • 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
    • James Zern's avatar
      I420VideoSource: add members to ctor initialization · 15296c24
      James Zern authored
      silences valgrind warnings about uninitialized values in SetSize()
      
      Change-Id: I54c4fdcc246687793393735b213c8777e79e47da
      15296c24
  11. 29 Jun, 2012 2 commits
    • 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
    • John Koleszar's avatar
      fdct4x4_test: remove unnecessary includes · e7bbedce
      John Koleszar authored
      Removes compiler warnings stemming from compiling C as C++.
      
      Change-Id: I84ec60d04fcc6281b6f2ea75af6a22fa3232d95f
      e7bbedce
  12. 28 Jun, 2012 1 commit
  13. 26 Jun, 2012 2 commits
  14. 25 Jun, 2012 1 commit
  15. 23 Jun, 2012 1 commit
  16. 22 Jun, 2012 2 commits
  17. 20 Jun, 2012 1 commit
    • Adrian Grange's avatar
      Added unit test for vp8_post_proc_down_and_across · c7acd6db
      Adrian Grange authored
      This is a unit test for the post-processing functions:
      - vp8_post_proc_down_and_across_c
      - vp8_post_proc_down_and_across_mmx
      - vp8_post_proc_down_and_across_xmm
      
      Change-Id: Iec3e690327b17470209c00417835473f6d9a35d6
      c7acd6db
  18. 13 Jun, 2012 1 commit
    • James Zern's avatar
      disable lagged encoding in one-pass · 7b0b6a2c
      James Zern authored
      This currently has no effect and can create an artificial lag in e.g.,
      realtime.
      
      Change-Id: Ia1c7c6dbe7c6fe82a944f087f1b0d1dbbc0aa1b6
      7b0b6a2c
  19. 25 May, 2012 1 commit
    • Jim Bankoski's avatar
      boolcoder_test · 9ec20f85
      Jim Bankoski authored
      Changed to google style rather than pseudo webm project style
      
      Change-Id: I0e19d57342a1b27b818fe6a5ae9f6bb3710a122a
      9ec20f85
  20. 24 May, 2012 1 commit
    • John Koleszar's avatar
      Add external resize tests · 2fb29ff7
      John Koleszar authored
      Adds a test that ensures the application is able to trigger frame size
      changes via vpx_codec_enc_config_set()
      
      Change-Id: I231c062e533d75c8d63c5f8a5544650117429a63
      2fb29ff7
  21. 22 May, 2012 3 commits
    • John Koleszar's avatar
      Add initial keyframe tests · b9180fc0
      John Koleszar authored
      Implements a couple simple tests of the encoder API using the gtest
      framework:
      
        TestDisableKeyframes
        TestForceKeyframe
        TestKeyframeMaxDistance
      
      Change-Id: I38e93fe242fbeb30bb11b23ac12de8ddc291a28d
      b9180fc0
    • John Koleszar's avatar
      Move all tests to test/ directory · 2d225689
      John Koleszar authored
      Consolodate the unit tests under vp8/ to the test/ directory
      
      Change-Id: I6d6a0fb60f5e3874a4d6710e9e121dd3e81a93db
      2d225689
    • John Koleszar's avatar
      Build unit tests monolithically · e82d261d
      John Koleszar authored
      Rework unit tests  to have a single executable rather than many, which
      should avoid pollution of the visual studio project namespace, improve
      build times, and make it easier to use the gtest test sharding system
      when we get these going on the continuous build cluster.
      
      Change-Id: If4c3e5d4b3515522869de6c89455c2a64697cca6
      e82d261d