1. 15 May, 2015 1 commit
  2. 13 May, 2015 1 commit
    • Johann's avatar
      Relocate memory operations for common code · 1d7ccd53
      Johann authored
      With the sad functions, and hopefully the variance functions soon,
      moving to the vpx_dsp location, place the defines used in the
      reference C code in a common location.
      
      Change-Id: I4c8ce7778eb38a0a3ee674d2f1c488eda01cfeca
      1d7ccd53
  3. 29 Apr, 2015 2 commits
    • James Zern's avatar
      vpx_mem: remove vpx_memset · f58011ad
      James Zern authored
      vestigial. replace instances with memset() which they already were being
      defined to.
      
      Change-Id: Ie030cfaaa3e890dd92cf1a995fcb1927ba175201
      f58011ad
    • James Zern's avatar
      vpx_mem: remove vpx_memcpy · f274c219
      James Zern authored
      vestigial. replace instances with memcpy() which they already were being
      defined to.
      
      Change-Id: Icfd1b0bc5d95b70efab91b9ae777ace1e81d2d7c
      f274c219
  4. 06 Feb, 2015 1 commit
    • Yaowu Xu's avatar
      Correct the miscalculation in uv dimensions · 4bca73b6
      Yaowu Xu authored
      The calculation of required extension used in HBD case was wrong due
      to rounding for UV when y dimension is odd. This commit replace the
      computation with correct version.
      
      This fixes a crash caused by writting beyond buffer boundary.
      
      Change-Id: Ic7c9afeb7388cd1341ec4974a611dacfb74ac6b6
      4bca73b6
  5. 15 Dec, 2014 2 commits
  6. 12 Dec, 2014 1 commit
    • Frank Galligan's avatar
      Add support for setting byte alignment. · 399823b6
      Frank Galligan authored
      Add support for setting byte alignment on the Y, U, and V plane of the
      reference buffers. The byte alignment must be a power of 2, from 32 to
      1024. A value of 0 sets legacy alignment.
      
      Change-Id: I7c1399622f7aa68e123646369216b32047dda73d
      399823b6
  7. 11 Oct, 2014 1 commit
  8. 02 Oct, 2014 1 commit
  9. 15 Sep, 2014 1 commit
    • Frank Galligan's avatar
      Remove memset of every external frame buffer. · 175d9dfe
      Frank Galligan authored
      Libvpx was memseting every external frame buffer before decode. This
      was to work around a valgrind issue in our C loop filter. Most of
      the time this was not needed and we have noticed some significant
      performance loss on some platforms. Now we require the application to
      zero out the buffers if it is using external frame buffers.
      
      Change-Id: I7330d00a315e65137ed30edd5f813e8929b76242
      175d9dfe
  10. 02 Sep, 2014 1 commit
    • Deb Mukherjee's avatar
      Adds config opt for highbitdepth + misc. vpx · 5acfafb1
      Deb Mukherjee authored
      Adds config parameter vp9_highbitdepth, to support highbitdepth profiles.
      Also includes most vpx level high bit-depth functions. However
      encode/decode in the highbitdepth profiles will not work until
      the rest of the code is in place.
      
      Change-Id: I34c53b253c38873611057a6cbc89a1361b8985a6
      5acfafb1
  11. 24 Jul, 2014 1 commit
    • Johann's avatar
      Set and use uv_crop_[width|height] · e956c007
      Johann authored
      Ensure consistent border extension by rounding uv_crop_* at image
      creation time. Where it was rounded problems could arise with the right
      and bottom extensions.
      When padding = 32, y_width = 64, and y_crop_width = 63:
       (padding + width - crop_width + 1) / 2
       32 + 64 - 63 + 1 should equal 32 *but*
       32 + 1 + 1 equals 34 giving a right buffer of 17 instead of 16.
      By calculating uv_crop_* earlier we round up at the appropriate time and
      for the same values:
       (y_crop_width + 1) / 2
       63 + 1 / 2
       64
       (padding / 2) + uv_width - uv_crop_width
       16 + 16 - 16
       16
      
      Change-Id: If866cd1b63444771440edb1432280ac83875969b
      e956c007
  12. 18 Jul, 2014 1 commit
  13. 17 Jul, 2014 1 commit
  14. 11 Jun, 2014 1 commit
  15. 24 Apr, 2014 1 commit
  16. 28 Feb, 2014 1 commit
  17. 13 Feb, 2014 1 commit
  18. 10 Feb, 2014 1 commit
    • Frank Galligan's avatar
      Add get release decoder frame buffer functions. · e8e15279
      Frank Galligan authored
      This CL changes libvpx to call a function when a frame buffer
      is needed for decode. Libvpx will call a release callback when
      no other frames reference the frame buffer. This CL adds a
      default implementation of the frame buffer callbacks. Currently
      only VP9 is supported. A future CL will add support for
      applications to supply their own frame buffer callbacks.
      
      Change-Id: I1405a320118f1cdd95f80c670d52b085a62cb10d
      e8e15279
  19. 24 Jan, 2014 1 commit
    • 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
  20. 10 Jan, 2014 1 commit
  21. 16 Dec, 2013 2 commits
  22. 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
  23. 22 Nov, 2013 1 commit
    • 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
  24. 14 Nov, 2013 1 commit
  25. 24 Aug, 2013 2 commits
    • James Zern's avatar
      cosmetics: yv12extend add some const · 8b970da4
      James Zern authored
      Change-Id: I87f1ce2ceca80d3869dd72ba862329a98eb3e0c2
      8b970da4
    • James Zern's avatar
      yv12extend: name variables consistently · 5724b7e2
      James Zern authored
      - s|source -> src
      - dest -> dst
      - use verbose names in extend_plane dropping the redundant comments
      
      + light cosmetics:
      - join a few lines / assignments
      - drop some unnecessary comments & includes
      
      Change-Id: I6d979a85a0223a0a79a22f79a6d9c7512fd04532
      5724b7e2
  26. 23 Aug, 2013 1 commit
  27. 16 Aug, 2013 1 commit
  28. 09 Aug, 2013 1 commit
  29. 30 Jul, 2013 1 commit
  30. 17 Jul, 2013 1 commit
  31. 16 Jul, 2013 1 commit
    • Yaowu Xu's avatar
      Change to extend full border only when needed · 5b915ebd
      Yaowu Xu authored
      This is a short term optimization till we work out a decoder
      implementation requiring no frame border extension.
      
      Change-Id: I02d15bfde4d926b50a4e58b393d8c4062d1be70f
      5b915ebd
  32. 25 Jun, 2013 1 commit
  33. 08 Jun, 2013 1 commit
  34. 17 May, 2013 1 commit
    • John Koleszar's avatar
      Initial version of alpha channel support · 679e4abd
      John Koleszar authored
      This is a mostly-working implementation of an extra channel in the
      bitstream. Configure with --enable-alpha to test. Notable TODOs:
      
       - Add extra channel to all mismatch tests, PSNR, SSIM, etc
       - Configurable subsampling
       - Variable number of planes (currently always uses all 4)
       - Loop filtering
       - Per-plane lossless quantizer
       - ARNR support
      
      This implementation just uses the same contents as the Y channel
      for the A channel, due to lack of content and general pain in
      playing back 4 channel content. A later patch will use the actual
      alpha channel passed in from outside the codec.
      
      Change-Id: Ibf81f023b1c570bd84b3064e9b4b8ae52e087592
      679e4abd
  35. 16 May, 2013 1 commit
    • John Koleszar's avatar
      Add vp9_extend_frame_borders · 418564e7
      John Koleszar authored
      Adds a subsampling aware border extension function. This may be reworked
      soon to support more than 3 planes.
      
      Change-Id: I76b81901ad10bb1e678dd4f0d22740ca6c76c43b
      418564e7
  36. 15 May, 2013 1 commit