- 10 Nov, 2017 1 commit
-
-
Frank Barchard authored
clang-format does nested indents for macros that dont end with ; example: align_buffer_page_end(dst_y_8, dst_y_plane_size) align_buffer_page_end(dst_u_8, dst_uv_plane_size) align_buffer_page_end(dst_v_8, dst_uv_plane_size) align_buffer_page_end(dst_y_16, dst_y_plane_size * 2) align_buffer_page_end(dst_u_16, dst_uv_plane_size * 2) align_buffer_page_end(dst_v_16, dst_uv_plane_size * 2) use a similar allocator to the one used within libyuv in row.h which makes the caller add ; align_buffer_page_end(dst_y_8, dst_y_plane_size); align_buffer_page_end(dst_u_8, dst_uv_plane_size); align_buffer_page_end(dst_v_8, dst_uv_plane_size); align_buffer_page_end(dst_y_16, dst_y_plane_size * 2); align_buffer_page_end(dst_u_16, dst_uv_plane_size * 2); align_buffer_page_end(dst_v_16, dst_uv_plane_size * 2); Bug: libyuv:758 Test: try bots Change-Id: I4a0770707e7053e094a37bbfc3c5884d5663d078 Reviewed-on: https://chromium-review.googlesource.com/762757Reviewed-by:
Patrik Höglund <phoglund@chromium.org> Reviewed-by:
Frank Barchard <fbarchard@google.com> Commit-Queue: Frank Barchard <fbarchard@google.com>
-
- 04 Aug, 2017 1 commit
-
-
Frank Barchard authored
BUG=libyuv:717 TEST=ScaleSum unittest to compare C vs Arm implementation TBR=kjellander@chromium.org Change-Id: Iaa7af5547d979aad4722f868d31b405340115748 Reviewed-on: https://chromium-review.googlesource.com/600534Reviewed-by:
Cheng Wang <wangcheng@google.com>
-
- 19 Jun, 2017 1 commit
-
-
Frank Barchard authored
BUG=None TEST=LibYUVCompareTest.* R=jkellander@chromium.org Change-Id: I3131ca73020f855ead08255d09aa7a846bf0d556 Reviewed-on: https://chromium-review.googlesource.com/540064 Commit-Queue: Frank Barchard <fbarchard@google.com> Reviewed-by:
Henrik Kjellander <kjellander@chromium.org>
-
- 08 Nov, 2016 1 commit
-
-
Frank Barchard authored
BUG=libyuv:654 R=kjellander@chromium.org Review URL: https://codereview.chromium.org/2469353005 .
-
- 28 May, 2016 1 commit
-
-
Frank Barchard authored
blur requires memory be aligned. change the unittest allocator to guarantee 64 byte alignment. re-enable blur any test that fails if memory is unaligned. TBR=harryjin@google.com BUG=libyuv:596,libyuv:594 TESTED=local build passes with row.h removed from tests. Review URL: https://codereview.chromium.org/2019753002 .
-
- 27 May, 2016 1 commit
-
-
Frank Barchard authored
add SIMD_ALIGNED to unittest header. BUG=libyuv:594 TESTED=local build passes with row.h removed from tests. R=harryjin@google.com Review URL: https://codereview.chromium.org/2001373002 .
-
- 24 May, 2016 1 commit
-
-
Frank Barchard authored
avoids need for row.h for some unittests; R=harryjin@google.com BUG=libyuv:594 TESTED=try bots tested. Review URL: https://codereview.chromium.org/2004313004 .
-
- 06 May, 2016 1 commit
-
-
Frank Barchard authored
If image sizes are greater than 32768, fixed point stepping will overflow an int. This CL changes the max size to 32768 and disables the test if larger. BUG=libyuv:590 TESTED=LIBYUV_FLAGS=-1 LIBYUV_WIDTH=8192 LIBYUV_HEIGHT=16 out/Release/libyuv_unittest --gtest_filter=* R=harryjin@google.com Review URL: https://codereview.chromium.org/1947783002 .
-
- 02 Feb, 2016 1 commit
-
-
Frank Barchard authored
internal math of the fastrand function uses a multiply and add that overflows a signed int. This triggers a ubsan failure: ../../unit_test/../unit_test/unit_test.h:60:33: runtime error: signed integer overflow: 56248274 * 214013 cannot be represented in type 'int' This change casts the intermediate math to unsigned int to avoid the overflow. For more info on ubsan, see http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer TESTED=Passing compilation using: GYP_DEFINES="ubsan=1" GYP_DEFINES="ubsan_vptr=1" R=harryjin@google.com, pbos@webrtc.org BUG=libyuv:563 Review URL: https://codereview.chromium.org/1662453003 .
-
- 04 Nov, 2015 2 commits
-
-
Frank Barchard authored
cpu flags of 1 disables SIMD and uses C. This used to be 0, but the change in auto init behavior means that 0 now means uninitialized, and will cause auto detect to reinit the cpu info. A value of 1 disables the auto init. TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1408753004 .
-
Frank Barchard authored
in order to compare C and Neon code, a new command line flag is added. historically environment variables controlled cpu features, but on android apk it is easier to pass a command line option to disable cpu optimizations. R=harryjin@google.com BUG=libyuv:516 Review URL: https://codereview.chromium.org/1407193009 .
-
- 14 Oct, 2015 1 commit
-
-
Frank Barchard authored
A hang in color conversion on arm occurs somewhere in yuv to rgb. Breaking the color test into its own category of test will help run selective tests to narrow down the issue. R=harryjin@google.com BUG=libyuv:506 Review URL: https://codereview.chromium.org/1405543003 .
-
- 13 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1399523004 .
-
- 22 Sep, 2015 1 commit
-
-
Frank Barchard authored
random / rand is slow and impacts performance testing. Although its only called to clear a frame once, a typical profile shows it high in the overall profile, when doing 1000 frames for a benchmark. 95.10% libyuv_unittest libyuv_unittest [.] YUY2ToARGBRow_SSSE3 2.01% libyuv_unittest libc-2.19.so [.] __random_r 1.13% libyuv_unittest libc-2.19.so [.] __random Replace random is a faster version for unittests. set LIBYUV_WIDTH=1280 set LIBYUV_HEIGHT=720 set LIBYUV_REPEAT=999 set LIBYUV_FLAGS=-1 out\release\libyuv_unittest --gtest_filter=*YUY2ToARGB* | findms Was libyuvTest.YUY2ToARGB_Opt (497 ms) Now libyuvTest.YUY2ToARGB_Opt (454 ms) R=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1361813002 .
-
- 09 Jun, 2015 1 commit
-
-
fbarchard@google.com authored
BUG=none TESTED=untested Review URL: https://webrtc-codereview.appspot.com/53679004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1429 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 26 Mar, 2015 1 commit
-
-
fbarchard@google.com authored
All cpu flags to be set so that instead of comparing C code, compare assembler to assembler, for benchmarking purposes. BUG=none TESTED=libyuv_unittest.exe R=bcornell@google.com Review URL: https://webrtc-codereview.appspot.com/50499004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1346 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 07 Oct, 2014 1 commit
-
-
fbarchard@google.com authored
pavgb with memory op requires alignment. This CL disables conversions that use pavgb, and resolves scale by 3/8 unittest for checking alignment works. The 3/8 code used a pavgb with a memory operand. tests are added for scaling and allow unaligning on purpose. BUG=365 TESTED=local change to force unaligned memory fails on some conversions and scaling code. R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/29699004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1114 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 26 Dec, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=296 TESTED=rotate_test R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/6329004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@922 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 09 Aug, 2013 1 commit
-
-
fbarchard@google.com authored
Make unittests to 1280 pixels for simple planar tests, to get more realistic performance metrics than 256 pixels. BUG=253 TEST=planar tests R=nfullagar@google.com Review URL: https://webrtc-codereview.appspot.com/1994004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@753 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 17 Jun, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=lint R=ryanpetrie@google.com Review URL: https://webrtc-codereview.appspot.com/1676004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@728 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 15 Jun, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=FixedDiv* R=johannkoenig@google.com Review URL: https://webrtc-codereview.appspot.com/1668004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@727 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 13 Jun, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none R=dingkai@google.com Review URL: https://webrtc-codereview.appspot.com/1668005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@725 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 10 Jun, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=244 TEST=*ScaleFrom1366x768_Box R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1644004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@720 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 28 Jan, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=lint Review URL: https://webrtc-codereview.appspot.com/1063010 git-svn-id: http://libyuv.googlecode.com/svn/trunk@553 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 14 Nov, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/937020 git-svn-id: http://libyuv.googlecode.com/svn/trunk@488 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 25 Oct, 2012 2 commits
-
-
fbarchard@google.com authored
BUG=135 TEST=/libyuv_unittest --gtest_filter=*NV* Review URL: https://webrtc-codereview.appspot.com/939005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@444 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
fbarchard@google.com authored
BUG=none TEST=planar unittests Review URL: https://webrtc-codereview.appspot.com/935006 git-svn-id: http://libyuv.googlecode.com/svn/trunk@443 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 24 Oct, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=convert_test Review URL: https://webrtc-codereview.appspot.com/932004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@439 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 18 Sep, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=91 TEST=try Review URL: https://webrtc-codereview.appspot.com/813004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@362 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 14 Sep, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/796006 git-svn-id: http://libyuv.googlecode.com/svn/trunk@352 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 08 Aug, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=63 TEST=none Review URL: https://webrtc-codereview.appspot.com/730004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@314 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 21 Jun, 2012 1 commit
-
-
fbarchard@google.com authored
UNDER_ALLOCATED_HACK for scale that detects odd width and odd height were miscalculated and adjusts scaler for it. BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/663007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@290 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 20 Jun, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/654005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@289 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 20 Apr, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/497001 git-svn-id: http://libyuv.googlecode.com/svn/trunk@244 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 26 Jan, 2012 1 commit
-
-
fbarchard@google.com authored
Neon instructions detect without using NDK so it will work within Android, and on other linux arm based platforms and builds BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/358008 git-svn-id: http://libyuv.googlecode.com/svn/trunk@153 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 19 Nov, 2011 1 commit
-
-
frkoenig@google.com authored
Review URL: http://webrtc-codereview.appspot.com/267022 git-svn-id: http://libyuv.googlecode.com/svn/trunk@86 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 10 Nov, 2011 2 commits
-
-
mikhal@webrtc.org authored
1. Removing libyuv:: when not needed 2. Test clean-up Review URL: http://webrtc-codereview.appspot.com/279002 git-svn-id: http://libyuv.googlecode.com/svn/trunk@74 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
frkoenig@google.com authored
Code sourced from libvpx. http://www.webmproject.org/code/#libvpx_the_vp8_codec_sdk Review URL: http://webrtc-codereview.appspot.com/267004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@72 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 03 Nov, 2011 1 commit
-
-
frkoenig@google.com authored
Allow assemblers with a slightly different syntax to use the optimized neon routines. Removed extra constraints on the calling of the optimized routines. All neon routines can load unaligned and handle odd widths. Align allocated buffers in rotate_test.cc Add neon rotate file to gyp file for arm targets. Review URL: http://webrtc-codereview.appspot.com/253007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@59 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 19 Oct, 2011 1 commit
-
-
frkoenig@google.com authored
Consolidate rotate files. Add unit tests for I420 and NV12 rotate functions. Fix remaining pitch/stride references. Review URL: http://webrtc-codereview.appspot.com/239001 git-svn-id: http://libyuv.googlecode.com/svn/trunk@32 16f28f9a-4ce2-e073-06de-1de4eb20be90
-