1. 05 Feb, 2014 1 commit
    • James Zern's avatar
      vpxdec: normalize frame size types · 75d7ee33
      James Zern authored
      int -> size_t for threshold values. this silences a few signed/unsigned
      comparison warnings
      
      Change-Id: Ic7b7af61f75f60a1b6d04167640cea2d09bbd967
      75d7ee33
  2. 01 Feb, 2014 1 commit
  3. 28 Jan, 2014 1 commit
  4. 24 Jan, 2014 2 commits
    • Frank Galligan's avatar
      Revert external frame buffer code. · b1c72b63
      Frank Galligan authored
      A future CL will add external frame buffers
      differently.
      
      Squash commit of four revert commits:
      Revert "Increase required number of external frame buffers"
      
      This reverts commit 9e41d569.
      
      Revert "Add external constants."
      
      This reverts commit bbf53047.
      
      Revert "Add frame buffer lru cache."
      
      This reverts commit fbada948.
      
      Conflicts:
      	vpxdec.c
      
      Change-Id: I76fe42419923a6ea6c75d9997cbbf941d73d3005
      
      Revert "Add support to pass in external frame buffers."
      
      This reverts commit 10f89169.
      
      Conflicts:
      	test/external_frame_buffer_test.cc
      	vp9/common/vp9_alloccommon.c
      	vp9/common/vp9_reconinter.c
      	vp9/decoder/vp9_decodeframe.c
      	vp9/encoder/vp9_onyx_if.c
      	vp9/vp9_dx_iface.c
      	vpx/vpx_decoder.h
      	vpx/vpx_external_frame_buffer.h
      	vpx_scale/generic/yv12config.c
      	vpxdec.c
      
      Change-Id: I7434cf590f1c852b38569980e4247fad0d939c2e
      b1c72b63
    • Dmitry Kovalev's avatar
      vpxdec: grouping together code with the same if conditions · f2acb455
      Dmitry Kovalev authored
      Change-Id: I5e546fce725b8c4722da5494e9423154e870fd58
      f2acb455
  5. 22 Jan, 2014 3 commits
  6. 18 Jan, 2014 1 commit
  7. 17 Jan, 2014 2 commits
  8. 15 Jan, 2014 1 commit
  9. 13 Jan, 2014 3 commits
    • Dmitry Kovalev's avatar
      Removing VpxInputContext dependency from {ivf, raw}_read_frame(). · 0eac753d
      Dmitry Kovalev authored
      File type check inside ivf_read_frame() is not necessary (it is done
      before this function get called).
      
      Change-Id: Iede8feb358d25878b340473d85c3b01d701fc624
      0eac753d
    • Adrian Grange's avatar
      Change the strategy for deciding the display size · 482c39c0
      Adrian Grange authored
      There are three contributors to the definition of how the
      display size is set:
      
      (1) display width/height set in the container.
      (2) display size (optional in the frame header)
      (3) decoded frame size (from the frame header)
      
      This patch modifies the way that vpxdec defines the display
      size to give preference to these three criteria in the order
      given above. If the container sets a non-zero size, it is
      used, otherwise the display size specified in the first
      decoded frame is used (if specified), with the raw
      decoded frame size of the first frame used as a last resort.
      
      The display size set in frames other than the first is
      always ignored in this implementation.
      
      Change-Id: I7e98d817d3f5894d559dd2aeb0a6cb1959b9092b
      482c39c0
    • Dmitry Kovalev's avatar
      Adding raw_read_frame() function to vpxdec. · f0fde243
      Dmitry Kovalev authored
      Change-Id: Ie2a4606daf35b327d6f2ac8d7fd8f6cacf4c5b6a
      f0fde243
  10. 28 Dec, 2013 1 commit
    • Dmitry Kovalev's avatar
      Removing CONFIG_MD5. · d24f4e49
      Dmitry Kovalev authored
      We don't need compile time md5 configuration because --md5 is a runtime
      option.
      
      Change-Id: Ic0a2427ae5de5a18f31e5ee60c3732481b377ca1
      d24f4e49
  11. 16 Dec, 2013 2 commits
  12. 04 Dec, 2013 1 commit
    • Adrian Grange's avatar
      Modified spatial scalable encoder & unit tests · 475d1d60
      Adrian Grange authored
      Modifications to the spatial scalable encoder to match
      changes made to the scaling code in the decoder.
      
      In particular, the use of a dummy first frame was removed
      now that the decoder is able to handle a smaller first
      frame.
      
      SvcTest.FirstFrameHasLayers unit test re-enabled.
      
      Change-Id: Ic2e91fbe4eadf95895569947670d36d68abaf458
      475d1d60
  13. 02 Dec, 2013 1 commit
    • Adrian Grange's avatar
      Fix bug in extend_frame chroma extended too far · 2e88f2f2
      Adrian Grange authored
      This fixes issue 667.
      
      In the case where the frame was an odd number of pixels
      wide or high, the border was being extended by one col
      or row too far.
      
      The calculation of color plane dimensions was modified
      to use those already computed at the time the frame
      buffer was allocated.
      
      Also freed the temporary scaling buffer in vpxdec to
      prevent a memory leak.
      
      Change-Id: I195bc81d84c0fc5d8260c1232200d62399e4b51f
      2e88f2f2
  14. 22 Nov, 2013 2 commits
    • Adrian Grange's avatar
      Fix decoder to handle display size correctly · 2117fe05
      Adrian Grange authored
      The decoder ignored the display width & height
      specified in the frame header.
      
      This patch adds a control, VP9D_GET_DISPLAY_SIZE, to
      allow the application to obtain the display width and
      height from the frame header.
      
      vpxdec has been modified to scale the output frame to
      this size.
      
      Should the request for the display size fail vpxdec will
      use the native width and height of the raw decoded
      frame instead.
      
      Change-Id: I25db04407426dac730263720c75a7dd6400af68a
      2117fe05
    • Adrian Grange's avatar
      Fix bug in extend_frame chroma extended too far · d427fab5
      Adrian Grange authored
      This fixes issue 667.
      
      In the case where the frame was an odd number of pixels
      wide or high, the border was being extended by one col
      or row too far.
      
      The calculation of color plane dimensions was modified
      to use those already computed at the time the frame
      buffer was allocated.
      
      Also freed the temporary scaling buffer in vpxdec to
      prevent a memory leak.
      
      Change-Id: Ied04bdcdfd77469731408c05da205db1a6f89bf5
      d427fab5
  15. 19 Nov, 2013 2 commits
  16. 16 Nov, 2013 1 commit
    • Tom Finegan's avatar
      vpxdec: Restore IVF support. · 5ae4ba57
      Tom Finegan authored
      Refactored IVF frame reading code out into ivf_read_frame(). Forgot
      to actually make the function call in read_frame().
      
      Change-Id: Ie9f6917e70bd26d0352a761932465c60a29a1f81
      5ae4ba57
  17. 15 Nov, 2013 1 commit
    • Tom Finegan's avatar
      vpx[dec|enc]: Extract IVF support from the apps. · 00a35aab
      Tom Finegan authored
      - Move IVF reading support into ivfdec.c and ivfdec.h
      - Move IVF writing support into ivfenc.c and ivfenc.h
      - Removed IVF writing code from the SVC example in favor of ivfenc.
      
      Change-Id: I70adf6240d0320fdd232d8546ed573f0f68dd793
      00a35aab
  18. 11 Nov, 2013 1 commit
  19. 06 Nov, 2013 1 commit
    • Tom Finegan's avatar
      Move WebM writing support out of vpxenc.c. · 03848f5c
      Tom Finegan authored
      This is mainly a clean up patchset. It moves the WebM writing support
      out of vpxenc and into its own source file. Changes to tools_common and
      vpxdec result from relocation of shared bits of code.
      
      Change-Id: Iee55d3285f56e0a548f791094fb14c5ac5346a26
      03848f5c
  20. 24 Oct, 2013 1 commit
    • Frank Galligan's avatar
      vpxdec: Fix webm fps check. · a9e00cd4
      Frank Galligan authored
      If the webm file did not have a Cues then vpxdec would fail
      when creating a y4m file. If there is no Cues element print
      out a warning and set fps to 30.
      
      Change-Id: Ieea7040265dfdac7dff4ccf917c6f756160a96bc
      a9e00cd4
  21. 12 Jun, 2013 1 commit
    • John Koleszar's avatar
      vpxdec: add --loops option · 9596a4cc
      John Koleszar authored
      Allows vpxdec to operate multiple times on the same input. Mostly
      useful for debugging/development.
      
      Change-Id: Icf25ece22e387052eade4438971eee5ff4f798ba
      9596a4cc
  22. 10 Jun, 2013 1 commit
    • John Koleszar's avatar
      Fix a crash in vpxdec · c0e561d1
      John Koleszar authored
      If the codec fails to return a frame on the second frame (as in a VP8 alt-ref,
      then img will be a null pointer and dereferencing it while trying to write
      the color format (again) will crash.
      
      Change-Id: Ie48710d4c5715f532d453c879c71c20ccdeb81cc
      c0e561d1
  23. 07 Jun, 2013 1 commit
    • Scott LaVarnway's avatar
      Modified vpxdec loop · c3ae212e
      Scott LaVarnway authored
      to work like vpxenc.  This is required for the frame-based
      multithreading.
      
      
      Change-Id: I338ae9c7d52b0541f3536cc033d6b89f00866e74
      c3ae212e
  24. 10 May, 2013 1 commit
    • John Koleszar's avatar
      Subsampling aware allocs and bitstream · da58436f
      John Koleszar authored
      Make framebuffer allocations according to the chroma subsamping
      factors in use. A bit is placed in the raw part of the frame header for
      each of the two subsampling factors. This will be moved in a future
      commit to make them part of the TBD feature set bits, probably only set
      on keyframes, etc.
      
      Change-Id: I59ed38d3a3c0d4af3c7c277617de28d04a001853
      da58436f
  25. 30 Apr, 2013 1 commit
  26. 29 Apr, 2013 1 commit
  27. 18 Apr, 2013 1 commit
    • James Zern's avatar
      vpxdec: correct VP[89] fourccs · dbd050c5
      James Zern authored
      should have no effect as they are used in nestegg mappings, but aligns
      the defines with vpxenc.c
      
      Change-Id: Ic2295cd63701894c2963274239602b54cbb58631
      dbd050c5
  28. 14 Mar, 2013 1 commit
    • John Koleszar's avatar
      Fix pulsing issue with scaling · 9b7be888
      John Koleszar authored
      Updates the YV12_BUFFER_CONFIG structure to be crop-aware. The
      exiting width/height parameters are left unchanged, storing the
      width and height algined to a 16 byte boundary. The cropped
      dimensions are added as new fields.
      
      This fixes a nasty visual pulse when switching between scaled and
      unscaled frame dimensions due to a mismatch between the scaling
      ratio and the 16-byte aligned sizes.
      
      Change-Id: Id4a3f6aea6b9b9ae38bdfa1b87b7eb2cfcdd57b6
      9b7be888
  29. 11 Mar, 2013 1 commit
    • John Koleszar's avatar
      vpxdec: fix use of uninitialized do_scale argument · 83f2a112
      John Koleszar authored
      This fixes a potential crash with VP8 streams that have an alt-ref on
      the first frame, as well as potentially scaling the output in cases
      where that wasn't desired.
      
      Change-Id: I1fd74b5ab43329fbbffecb004dfd44de34c4dc22
      83f2a112
  30. 04 Mar, 2013 1 commit
    • John Koleszar's avatar
      vpxdec: support scaling output · 7d8fc26c
      John Koleszar authored
      Adds an option, --scale, that will rescale any frames produced by
      the decoder that don't match the resolution of the first frame to
      that resolution. This is useful for playback of files that use
      spatial resampling.
      
      Change-Id: I867adc650d535df7ec5b107549359712ea3aaaa0
      7d8fc26c
  31. 27 Feb, 2013 1 commit
    • John Koleszar's avatar
      vpxdec: support scaling output · 0d2517ce
      John Koleszar authored
      Adds an option, --scale, that will rescale any frames produced by
      the decoder that don't match the resolution of the first frame to
      that resolution. This is useful for playback of files that use
      spatial resampling.
      
      Change-Id: I867adc650d535df7ec5b107549359712ea3aaaa0
      0d2517ce