1. 31 Jan, 2015 1 commit
    • hkuang's avatar
      Try again to merge branch 'frame-parallel' into master branch. · be6aeada
      hkuang authored
      In frame parallel decode, libvpx decoder decodes several frames on all
      cpus in parallel fashion. If not being flushed, it will only return frame
      when all the cpus are busy. If getting flushed, it will return all the
      frames in the decoder. Compare with current serial decode mode in which
      libvpx decoder is idle between decode calls, libvpx decoder is busy
      between decode calls.
      Current frame parallel decode will only speed up the decoding for frame
      parallel encoded videos. For non frame parallel encoded videos, frame
      parallel decode is slower than serial decode due to lack of loopfilter
      worker thread.
      There are still some known issues that need to be addressed. For example:
      decode frame parallel videos with segmentation enabled is not right sometimes.
      * frame-parallel:
        Add error handling for frame parallel decode and unit test for that.
        Fix a bug in frame parallel decode and add a unit test for that.
        Add two test vectors to test frame parallel decode.
        Add key frame seeking to webmdec and webm_video_source.
        Implement frame parallel decode for VP9.
        Increase the thread test range to cover 5, 6, 7, 8 threads.
        Fix a bug in adding frame parallel unit test.
        Add VP9 frame-parallel unit test.
        Manually pick "Make the api behavior conform to api spec." from master branch.
        Move vp9_dec_build_inter_predictors_* to decoder folder.
        Add segmentation map array for current and last frame segmentation.
        Include the right header for VP9 worker thread.
        Move vp9_thread.* to common.
        ctrl_get_reference does not need user_priv.
        Seperate the frame buffers from VP9 encoder/decoder structure.
        Revert "Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build:"""
      This reverts commit a18da976.
      Change-Id: I361442ffec1586d036ea2e0ee97ce4f077585f02
  2. 13 Dec, 2014 1 commit
  3. 22 Aug, 2014 1 commit
  4. 18 Aug, 2014 1 commit
    • hkuang's avatar
      Fix a bug in adding frame parallel unit test. · 5106e4df
      hkuang authored
      There are two CreateDecoder functions and decode_test_driver is not
      calling the right function now. This bug is discovered during really
      enable the frame parallel flag inside libvpx. This bug does not affect
      any existing unit test though.
      Change-Id: Icd9633c4b66d50e422a09c4310ff791082878936
  5. 14 Aug, 2014 1 commit
    • hkuang's avatar
      Add VP9 frame-parallel unit test. · a3ef7d5a
      hkuang authored
      Make sure VP9 frame-parallel decode passes all the standard
      test vectors. Only test running with 2,3,4 threads now.
      Also refactor the video decode test driver to support passing
      in decode flags which is used to enable frame-parallel decode.
      Change-Id: I6a712464232c2e13681634951c7e176312522e1e
  6. 07 Aug, 2014 1 commit
  7. 06 Aug, 2014 1 commit
    • Hangyu Kuang's avatar
      Make the api behavior conform to api spec. · 70500747
      Hangyu Kuang authored
      When no more data is available, vpx_codec_decode should
      be called with NULL as data and 0 as data_sz.
      vpx_codec_get_frame iterates over a list of the frames
      available for display. The iterator storage should be initialized
      to NULL to start the iteration. Iteration is complete when this
      function returns NULL.
      Also change the unit test to conform to the api spec.
      Change-Id: I4b258b309f5df3d37d10c82f01492c0394181c2a
  8. 18 Jul, 2014 1 commit
  9. 11 Jul, 2014 1 commit
  10. 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
  11. 25 Jun, 2014 1 commit
    • James Zern's avatar
      decode_test_driver: fix type size warning · aff720f8
      James Zern authored
      like vpx_codec_decode(), vpx_codec_peek_stream_info() takes an unsigned
      int, not size_t, parameter for buffer size
      Change-Id: I4ce0e1fbbde461c2e1b8fcbaac3cd203ed707460
  12. 24 Jun, 2014 1 commit
  13. 23 Jun, 2014 1 commit
  14. 22 Jun, 2014 1 commit
  15. 20 Jun, 2014 1 commit
    • Jim Bankoski's avatar
      Validate error checking code in decoder. · dc2f2ce5
      Jim Bankoski authored
      This patch adds a mechanism for insuring error checking on invalid files
      by creating a unit test that runs the decoder and tests that the error
      code matches what's expected on each frame in the decoder.
      Disabled for now as this unit test will segfault with existing code.
      Change-Id: I896f9686d9ebcbf027426933adfbea7b8c5d956e
  16. 13 Feb, 2014 1 commit
  17. 11 Dec, 2013 1 commit
  18. 16 Mar, 2013 1 commit
  19. 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
  20. 28 Nov, 2012 1 commit
  21. 22 Oct, 2012 1 commit
  22. 31 Aug, 2012 1 commit