1. 27 Aug, 2015 1 commit
  2. 22 Aug, 2015 1 commit
  3. 30 Jul, 2015 1 commit
  4. 16 Apr, 2015 1 commit
    • Frank Galligan's avatar
      Fix multithread encode test · 45f9ee26
      Frank Galligan authored
      The multithread encode test was never actually setting more than
      one thread.
      
      Change-Id: Ie7a3b7b138e88344c943bffd544cf2b4aab866a9
      45f9ee26
  5. 17 Mar, 2015 1 commit
  6. 13 Mar, 2015 1 commit
  7. 13 Jan, 2015 1 commit
    • Yaowu Xu's avatar
      Enable decoder to pass through color space info · 6b223fcb
      Yaowu Xu authored
      This commit added a field to vpx_image_t for indicating color space,
      the field is also added to YUV_BUFFER_CONFIG. This allows the color
      space information pass through the decoder from input stream to the
      output buffer.
      
      The commit also updated compare_img() function with added verification
      of matching color space to ensure the color space information to be
      correctly passed from encode to decoder in compressed vp9 streams.
      
      Change-Id: I412776ec83defd8a09d76759aeb057b8fa690371
      6b223fcb
  8. 30 Dec, 2014 1 commit
    • Yaowu Xu's avatar
      Properly set size based on actual buffer layout · 32d88c22
      Yaowu Xu authored
      VP9FrameSizeTestsLarge.OneByOneVideo has been causing a failure in
      jenkins libvpx__unit_tests-valgrind_long for "using of uninitialized
      memory", the root cause was that the input image for this test was
      not initialized with proper size, therefore plan U and V were not
      initialized at all.
      
      This commit fixes the size initialization, and resolves the issue.
      
      Change-Id: Ic4dd1542b7bb0cb260a1e0aeeb505db21ae5edc8
      32d88c22
  9. 17 Dec, 2014 1 commit
    • Yunqing Wang's avatar
      Improve the libvpx encoder test driver · 36664781
      Yunqing Wang authored
      The encoder initialization is called in EncodeFrame(). Therefore,
      in the unit tests, the set control is done when video->frame() is 1.
      This didn't cause problem since current tests mainly test lag_frame
      > 0 case, or no encoding option that needs to allocate memory before
      1st frame is used. If use lag_frame = 0 and encoding multiple tiles,
      the unit tests crash. The issue is fixed by doing the initialization
      before encoding frames.
      
      Change-Id: I43102048f88448bcf27e9c60e0ec06c176b02e5c
      36664781
  10. 13 Dec, 2014 1 commit
  11. 07 Dec, 2014 1 commit
    • Jim Bankoski's avatar
      Make the decoder Cfg available to encoder tests.. · be7a2858
      Jim Bankoski authored
      Adds decoder config as a changeable parameter to unit tests, and
      changes end to end test to use commonly used parameters to enable
      base test of tiles encoding and frame parallel decoding.
      
      Change-Id: I5d23a6857303b4d68b92b15c3f2f04a1bcb4c2bb
      be7a2858
  12. 22 Aug, 2014 2 commits
  13. 18 Jul, 2014 1 commit
    • Deb Mukherjee's avatar
      Fix FrameSizeTestsLarge unit-test on 32-bit arch. · bdbaa5b4
      Deb Mukherjee authored
      If the img allocation fails the test used to crash before on
      32 bit architecture. This patch uses null check on img in
      FillFrame. Also, if the first frame initialization has not been
      conducted VPX_CODEC_ERROR is expected to return rather than
      VPX_CODEC_OK.
      
      Change-Id: I5c4e59c156374009012d280d6ff971a89b43c11f
      bdbaa5b4
  14. 17 Jul, 2014 1 commit
  15. 10 Jul, 2014 1 commit
    • James Zern's avatar
      tests: add API_REGISTER_STATE_CHECK · 29e1b1a4
      James Zern authored
      used to wrap API functions to ensure full environment consistency as
      opposed to the renamed ASM_REGISTER_STATE_CHECK which is used with
      assembly functions.
      currently checks the FPU tag word in x86/x86_64 gcc builds to ensure
      emms has been called.
      
      Change-Id: Ie241772dbf903d33d516a1add4c8c6783f2e1490
      29e1b1a4
  16. 06 Sep, 2013 1 commit
    • Yaowu Xu's avatar
      cleanup cpplint warnings · afffa3d9
      Yaowu Xu authored
      Suggested by James Zern to clear out cpplint warnings for all unit
      test code.
      
      Change-Id: I731a3fa4d2a257eb9ef733426ba84286fbd7ea34
      afffa3d9
  17. 21 Aug, 2013 1 commit
    • Deb Mukherjee's avatar
      Make "good" quality 2-pass vpxenc encoding default · 0d8723f8
      Deb Mukherjee authored
      Currently, the best quality mode in VP9 is not very well developed,
      and unnecessarily makes the encode too slow. Hence the command line
      default is changed to "good" quality. Also, the number of passes
      default is changed to 2 passes as well, since 1-pass encoding is
      not very efficient in VP9.
      
      Besides, a number of VP9 defaults are set to the currently
      recommended settings. With these changes, vpxenc
      run with --codec=vp9 --kf-max-dist=9999 --cpu-used=0 should
      work about the same as our borg results.
      Note when the --cpu-used=0 option is dropped there will be a slight
      difference in the output, because of a difference in the cpu-used
      value for the first pass. Specifically, the default when unspecified
      is to use cpu_used=1 for the first pass and cpu_used=0 for the
      second pass. But when specified, both passes will use the cpu-used
      value specified.
      
      Note that this also changes the default for VP8 as being "good"
      but other options stay unchanged.
      
      Change-Id: Ib23c1a05ae2f36ee076c0e34403efbda518c5066
      0d8723f8
  18. 16 Mar, 2013 1 commit
  19. 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
  20. 01 Mar, 2013 1 commit
  21. 08 Feb, 2013 1 commit
    • John Koleszar's avatar
      Adds a test for the VP8E_SET_SCALEMODE control · 88f99f4e
      John Koleszar authored
      Tests that the external interface to set the internal codec scaling
      works as expected. Also updates the test to pull the height from
      the decoded frame size rather than parsing the keyframe header,
      in anticipation of allowing resolution changes on non-keyframes.
      
      Change-Id: I3ed92117d8e5288fbbd1e7b618f2f233d0fe2c17
      88f99f4e
  22. 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
  23. 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
  24. 28 Nov, 2012 1 commit
  25. 22 Oct, 2012 1 commit
  26. 03 Oct, 2012 3 commits
    • 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
  27. 31 Aug, 2012 1 commit
  28. 08 Aug, 2012 1 commit
  29. 10 Jul, 2012 1 commit
    • 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
  30. 23 Jun, 2012 1 commit
  31. 22 May, 2012 1 commit
    • 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