1. 07 Feb, 2015 1 commit
    • Yaowu Xu's avatar
      Prevent VP8 encoding crash · dd27307c
      Yaowu Xu authored
      This commit changes the value of highbitdepth flag to avoid conflict
      with vp8 refresh_last_frame flag.
      
      Change-Id: Idcff2cf44f0a200bd935b326f785c0cf32d7228a
      dd27307c
  2. 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
  3. 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
      6b223fcb
  4. 15 Dec, 2014 2 commits
  5. 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
  6. 06 Dec, 2014 1 commit
  7. 07 Nov, 2014 1 commit
    • Johann's avatar
      Remove asm offset dependencies · 6eec73a7
      Johann authored
      The obj_int_extract code is no longer worth maintaining. It creates
      significant issues when adapting for different build systems and no
      longer offers as significant of a performance benefit due to
      improvements in intrinsics.
      
      Source files will remain until the various third-party builds are updated.
      
      The neon fast quantizer has been moved to intrinsics. The armv6 version
      has been removed because so few remaining targets require it.
      
      Compilers and processors have improved significantly since the
      pack_tokens code was written. The assembly is no longer faster than the
      C code.
      
      pack_tokens were the only optimizations for the armv5te targets so the targets
      will be removed after the test infrastructure has been updated.
      
      BUG=710
      
      Change-Id: Ic785b167cd9f95eeff31c7c76b7b736c07fb30eb
      6eec73a7
  8. 11 Oct, 2014 1 commit
  9. 02 Oct, 2014 1 commit
  10. 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
  11. 08 Sep, 2014 1 commit
  12. 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
  13. 26 Jul, 2014 2 commits
  14. 25 Jul, 2014 1 commit
    • Johann's avatar
      Remove neon version of vp8 extend borders · 62c64118
      Johann authored
      The code fails the unit test. Speed comparisons to the C are invalid
      because the code frequently didn't correctly extend the right and
      bottom portions of the frame.
      
      Reduce maximum frame size on ARM devices to avoid OOM
      
      Change-Id: Ia664c86406f0bb8120fd7ad401f32d0bd44994fb
      62c64118
  15. 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
  16. 18 Jul, 2014 1 commit
  17. 17 Jul, 2014 1 commit
  18. 11 Jun, 2014 1 commit
  19. 12 May, 2014 1 commit
  20. 24 Apr, 2014 1 commit
  21. 14 Mar, 2014 1 commit
  22. 07 Mar, 2014 1 commit
    • hkuang's avatar
      Disable the neon version vpx_yv12_copy_y. · 4b70544d
      hkuang authored
      For some dimensions, neon code ends up in a dead loop inside.
      This will fix the unit test failure in svc_test on ARM.
      
      Change-Id: Ie6098bfaefd86bcf3616a3d0c2c3ff0b154222b5
      4b70544d
  23. 03 Mar, 2014 1 commit
    • James Zern's avatar
      build: convert rtcd.sh to perl · 805078a1
      James Zern authored
      significantly speeds up file generation.
      
      the goal of this change is to convert rtcd.sh to perl as directly as
      possible to allow for simple comparison. future changes can make it more
      perl-like.
      
      ---
      Linux
          [CREATE] vpx_scale_rtcd.h
      real    0m0.485s ->    0m0.022s
          [CREATE] vp8_rtcd.h
      real    0m4.619s ->    0m0.060s
          [CREATE] vp9_rtcd.h
      real    0m10.102s ->    0m0.087s
      
      Windows
          [CREATE] vpx_scale_rtcd.h
      real    0m8.360s ->    0m0.080s
          [CREATE] vp8_rtcd.h
      real    1m8.083s ->    0m0.160s
          [CREATE] vp9_rtcd.h
      real    2m6.489s ->    0m0.233s
      
      Change-Id: Idfb71188206c91237d6a3c3a81dfe00d103f11ee
      805078a1
  24. 28 Feb, 2014 2 commits
  25. 14 Feb, 2014 1 commit
  26. 13 Feb, 2014 1 commit
  27. 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
  28. 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
  29. 21 Jan, 2014 1 commit
    • hkuang's avatar
      Seperate the border size for encoder and decoder. · 437004c7
      hkuang authored
      Encoder's boarder is still 160, while decoder's boarder will be 32.
      With on demand and separate boarder buffer for boarder extension.
      The decoder's boarder does not need to to 160 anymore.
      
      Change-Id: I93d5aaff15a33a2213e9761eaa37c5f2870747db
      437004c7
  30. 13 Jan, 2014 1 commit
  31. 10 Jan, 2014 1 commit
  32. 17 Dec, 2013 1 commit
  33. 16 Dec, 2013 2 commits
  34. 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
  35. 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
  36. 14 Nov, 2013 1 commit