1. 26 Jul, 2016 1 commit
  2. 11 Jul, 2016 1 commit
  3. 21 Jun, 2016 1 commit
  4. 20 May, 2016 1 commit
  5. 11 May, 2016 1 commit
    • Yunqing Wang's avatar
      Add decoder APIs and unit tests in tile-coding experiment · 8e5e3387
      Yunqing Wang authored
      In the tile-coding experiment,
      1. In tile decoder, added 2 set control APIs:
         VP10_SET_DECODE_TILE_ROW and VP10_SET_DECODE_TILE_COL. It allowed
         users to set the range of decoding at frame level.
      2. Added a unit test while tile-coding experiment is on. It tested
         both tile encoder and decoder to make sure the encoded frame
         can be decoded as a whole frame or as independent tiles.
      Change-Id: I73fd0632b685047cb9376008127cde72efa3fb2b
  6. 10 May, 2016 1 commit
  7. 03 May, 2016 1 commit
    • Geza Lore's avatar
      Configure tiles in tests when using ext-tile. · 67a2ff7f
      Geza Lore authored
      With ext-tile enabled, the encoder test driver needs to configure the
      tile sizes wit different values to encode using a single tile, and to
      decode all tiles. This should fix most unit test failures.
      Change-Id: I0a0d26737414669791f3bd8d80c537db09f06072
  8. 27 Aug, 2015 1 commit
  9. 22 Aug, 2015 1 commit
  10. 30 Jul, 2015 1 commit
  11. 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
  12. 17 Mar, 2015 1 commit
  13. 13 Mar, 2015 1 commit
  14. 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
  15. 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
  16. 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
  17. 13 Dec, 2014 1 commit
  18. 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
  19. 22 Aug, 2014 2 commits
  20. 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
      Change-Id: I5c4e59c156374009012d280d6ff971a89b43c11f
  21. 17 Jul, 2014 1 commit
  22. 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
  23. 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
  24. 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
  25. 16 Mar, 2013 1 commit
  26. 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
  27. 01 Mar, 2013 1 commit
  28. 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
  29. 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
  30. 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
      Change-Id: Ia7506df2ca3a7651218ba3ca560634f08c9fbdeb
  31. 28 Nov, 2012 1 commit
  32. 22 Oct, 2012 1 commit
  33. 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
    • 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
    • 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
  34. 31 Aug, 2012 1 commit
  35. 08 Aug, 2012 1 commit
  36. 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:
      Change-Id: I44e3f44e125ad587c293ab5ece29511d7023be9b
  37. 23 Jun, 2012 1 commit