1. 10 Feb, 2016 1 commit
  2. 09 Feb, 2016 3 commits
  3. 08 Feb, 2016 1 commit
  4. 05 Feb, 2016 1 commit
  5. 03 Feb, 2016 2 commits
  6. 02 Feb, 2016 3 commits
  7. 01 Feb, 2016 1 commit
    • Frank Barchard's avatar
      ubsan overflow fix for multiply by 0x01010101 · 9e39c1f2
      Frank Barchard authored
      This is an UBSan error reported by libjingle
      
      [ RUN      ] WebRtcVideoFrameTest.ConvertToYUY2BufferStride
      [000:000] (videoframe.cc:375): Validate frame passed. format: I420 bpp: 12 size: 1280x720 bytes: 1382400 expected: 1382400 sample[0..3]: 73, 73, 73, 73
      ../../chromium/src/third_party/libyuv/source/row_gcc.cc:2903:25: runtime error: signed integer overflow: 128 * 16843009 cannot be represented in type 'int'
      [8/614] WebRtcVideoFrameTest.ConvertToYUY2BufferStride returned/aborted with exit code 1 (32 ms)
      [9/614] WebRtcVideoFrameTest.ConvertToYUY2BufferInverted (29 ms)
      Note: Google Test filter = WebRtcVideoFrameTest.ConvertToYUY2BufferInverted
      
      The source is uint8 and the multiply is by 0x01010101 to replicate the byte to 4 bytes.
      Changing the constant to 0x01010101u should avoid overflow.
      
      R=harryjin@google.com
      TBR=harryjin@google.com
      BUG=libyuv:563
      
      Review URL: https://codereview.chromium.org/1657533005 .
      9e39c1f2
  8. 27 Jan, 2016 1 commit
  9. 21 Jan, 2016 3 commits
  10. 20 Jan, 2016 2 commits
  11. 19 Jan, 2016 1 commit
    • Frank Barchard's avatar
      Fix memory overwrite in YUY2ToNV12 odd wdiths · 58cb5349
      Frank Barchard authored
      When width was odd Y channel wrote an extra pixel.
      This change splits the Y from UV into a temporary
      buffer and memcpy's to the destination.  Performance
      is slower.
      
      Was
      YUY2ToNV12_Any (307 ms)
      YUY2ToNV12_Unaligned (213 ms)
      TestYUY2ToNV12 (181 ms)
      YUY2ToNV12_Opt (177 ms)
      YUY2ToNV12_Invert (177 ms)
      
      Npw
      YUY2ToNV12_Any (300 ms)
      YUY2ToNV12_Unaligned (226 ms)
      YUY2ToNV12_Invert (206 ms)
      TestYUY2ToNV12 (184 ms)
      YUY2ToNV12_Opt (181 ms)
      TBR=harryjin@google.com
      BUG=libyuv:545
      
      Review URL: https://codereview.chromium.org/1593833002 .
      58cb5349
  12. 15 Jan, 2016 1 commit
  13. 14 Jan, 2016 2 commits
  14. 13 Jan, 2016 1 commit
  15. 12 Jan, 2016 3 commits
  16. 11 Jan, 2016 1 commit
  17. 06 Jan, 2016 1 commit
  18. 05 Jan, 2016 1 commit
  19. 22 Dec, 2015 3 commits
  20. 21 Dec, 2015 2 commits
  21. 17 Dec, 2015 3 commits
  22. 16 Dec, 2015 3 commits