1. 27 Aug, 2014 2 commits
    • James Zern's avatar
      vp9: fix crash in inline loopfilter w/corrupt file · cde790c3
      James Zern authored
      attempting to decode a frame after the previous frame failed has the
      potential of interrupting an earlier loop filter task
      
      Change-Id: I6f2b1ddcdf5b89c3e2ee8caf5289dada2a087d66
      cde790c3
    • James Zern's avatar
      vp9: fix crash in mt loopfilter w/corrupt file · 4f27202d
      James Zern authored
      if the first frame was corrupt and loop filter not called, the next call
      would assume the necessary allocations had been done and segfault when
      accessing a NULL pointer
      
      Change-Id: Ib6ef505e5c594e6f0fe65ab0700172bcf06b92a6
      4f27202d
  2. 26 Aug, 2014 1 commit
  3. 25 Aug, 2014 3 commits
    • Tom Finegan's avatar
      vpxenc.sh: Move some frequently used params into functions. · efb0fd1b
      Tom Finegan authored
      Echo args back from new util functions to decrease the repetition
      in this file.
      
      Change-Id: Id4d7c02bf81cf2c5261f58b560e033869a346677
      efb0fd1b
    • Tom Finegan's avatar
      vpxenc.sh: Make vpxenc() usage agree with implementation. · 93ac60a6
      Tom Finegan authored
      - Make $1 input file at all call sites.
      - Actually use vpxenc_pipe().
      
      Change-Id: I22f25719aeb3dce60863207b2e2a49e42e27ed06
      93ac60a6
    • Minghai Shang's avatar
      [spatial svc]Multiple frame context feature · d4a407c0
      Minghai Shang authored
      We can use one frame context for each layer so that we don't have
      to reset the probs every frame. But we can't use prev_mi since we
      may drop enhancement layers. So we have to generate a non vp9
      compatible bitstream and modify it in the player.
      1. We need to code all frames as invisible frame to let prev_mi
         not to be used. But in the bitstream we need to code the
         show_frame flag to 1 so that the publisher will know it's
         supposed to be a visible frame.
      2. In the player we need to change the show_frame flag to 0 for
         all frames. Then add an one byte frame into the super frame
         to tell the decoder which layer we want to show.
      Change-Id: I75b7304cf31f0ab952f043e33c034495e88f01f3
      d4a407c0
  4. 23 Aug, 2014 2 commits
  5. 22 Aug, 2014 13 commits
  6. 20 Aug, 2014 1 commit
  7. 18 Aug, 2014 2 commits
  8. 16 Aug, 2014 1 commit
  9. 15 Aug, 2014 6 commits
  10. 13 Aug, 2014 4 commits
    • James Zern's avatar
      cq_test: allow test cases to be run out of order · 1c620319
      James Zern authored
      check that bitrates increase with cqlevel at global test case teardown,
      rather than after each individual test case. this allows the tests to be
      run out of order with --gtest_shuffle.
      
      Change-Id: I9e0d4e6a2d920a1f2fe9aee7b7876a3e7eb5d297
      1c620319
    • James Zern's avatar
      decode_api_test: fix type conversion warning · caffcb8b
      James Zern authored
      size_t -> uint32 in the call to vpx_codec_decode()
      
      Change-Id: Ibf39d3749321c97292b35ac0631fa22211cff800
      caffcb8b
    • James Zern's avatar
      get_ref_frame: check ref_frame_map value · 3caed4f8
      James Zern authored
      'ref_frame_map' is initialized to -1. avoids using an invalid index  if
      VP9_GET_REFERENCE/VP8_COPY_REFERENCE controls are issued after a decode
      error.
      
      Change-Id: I4599762c4d0b07a5943a72bf4a86ccb596cc062a
      3caed4f8
    • James Zern's avatar
      VP8D_GET_FRAME_CORRUPTED: check frame pointer · 7d9da93a
      James Zern authored
      if the decode of the first frame fails, frame_to_show may not be set.
      fixes a crash in vpxdec with corrupt data.
      
      Change-Id: I5ab9476d005778a13fd42a39d05876bb6c90a93c
      7d9da93a
  11. 12 Aug, 2014 1 commit
    • Deb Mukherjee's avatar
      Rework y4mwrite test to pass google3 tests · a4635138
      Deb Mukherjee authored
      Reverts to using tmpfile() for non-Windows platforms. On google3
      the test directory does not have write permissions, and hence the
      Y4mWriteTest fails. This patch fixes the issue.
      On Windows, a temporary file is created in the temp directory
      that has write permissions.
      
      The tests pass on linux, mingw, and MS visual studio.
      
      Change-Id: Ibada1d80e25d8b8e5b6a9d3d597533674bd9024c
      a4635138
  12. 11 Aug, 2014 1 commit
    • James Zern's avatar
      vpx_codec_decode: check data size · 6a2e9ef2
      James Zern authored
      When a valid data pointer is given make sure the size is greater than
      zero.
      A previous check for vp9 was incorrectly removed in:
      70500747 Make the api behavior conform to api spec.
      
      No semantics for valid pointers + 0-sized frames are defined for VPx
      codecs, so move the check to vpx_codec_decode(). This avoids an assert
      in vp9.
      
      + add some basic invalid param testing for decoder init/decode/destroy
      
      Change-Id: I99f9cef6076d15874fd72ac973f2685d8a2353c3
      6a2e9ef2
  13. 08 Aug, 2014 3 commits
    • Tom Finegan's avatar
      test/vpxenc.sh: Convert vpxenc() to a simple wrapper. · 8b83d15d
      Tom Finegan authored
      - Split vpxenc() into vpxenc() and vpxenc_pipe().
      - Drop all but one positional param (the input file) in favor
        of passing args directly to vpxenc.
      - Add an extra lossless test that explicitly sets min-q and
        max-q to 0.
      
      Change-Id: I7d5f7b495f8b9447388c5f459bc9f6de2214caf2
      8b83d15d
    • levytamar82's avatar
      Fix bug 807 · 69a5f5ec
      levytamar82 authored and James Zern's avatar James Zern committed
      in the sub_pixel_*variance* function the dst is aligned to 16 bytes and not
      to 32 bytes - now load unaligned data
      
      Change-Id: I2e0b9745543697efc56fefa32857ea10117af135
      69a5f5ec
    • Tom Finegan's avatar
      test/vpxenc.sh: Enable the VP9 lossless test. · 57de34de
      Tom Finegan authored
      Change-Id: Iff403dfb4c8face0494f0dba840ce91f51e9ca04
      57de34de