wmiller848 / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

ARGBLumaColorTable #267

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create new ARGBLumaColorTable that looks up each pixel with [Y][C] where 7 is 7 
bit luma and C is a component.

Original issue reported on code.google.com by fbarch...@google.com on 10 Sep 2013 at 6:53

GoogleCodeExporter commented 9 years ago
r492 optimized for SSSE3, but broken. Avoid.

Original comment by fbarch...@google.com on 19 Sep 2013 at 9:19

GoogleCodeExporter commented 9 years ago
Optimized for SSSE3
TestARGBLumaColorTable (1510 ms)

but build fails on 32 bit

recated  -c ../../source/row_posix.cc -o obj/source/libyuv.row_posix.o
../../source/row_posix.cc: In function ‘void 
libyuv::ARGBLumaColorTableRow_SSSE3(const uint8*, uint8*, const uint8*, int)’:
../../source/row_posix.cc:6458:20: error: inconsistent operand constraints in 
an ‘asm’
../../source/row_posix.cc:6458:20: error: inconsistent operand constraints in 
an ‘asm’
[65/265] CXX obj/testing/gtest/src/gtest.gtest.o

Original comment by fbarch...@google.com on 28 Oct 2013 at 7:36

GoogleCodeExporter commented 9 years ago
llvm64 TestARGBLumaColorTable (1841 ms)
llvm32 TestARGBLumaColorTable (1833 ms)

Original comment by fbarch...@google.com on 28 Oct 2013 at 8:24

GoogleCodeExporter commented 9 years ago
gcc 64  TestARGBLumaColorTable (1506 ms)
gcc 32  TestARGBLumaColorTable (1499 ms)
llvm 64 TestARGBLumaColorTable (1503 ms)
llvm 32 TestARGBLumaColorTable (1498 ms)
vs 32   TestARGBLumaColorTable (1580 ms)

build bot fails
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF 
obj/source/libyuv.row_posix.o.d -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 
-DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 
-DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH 
-DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 
-DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 
-DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 
-DENABLE_LANGUAGE_DETECTION=1 -DENABLE_PRINTING=1 
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 
-DENABLE_MANAGED_USERS=1 -DHAVE_JPEG -DDYNAMIC_ANNOTATIONS_ENABLED=1 
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -I../../include -I../.. 
-I../../third_party/libjpeg_turbo -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S
DKs/MacOSX10.7.sdk -O0 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof 
-mmacosx-version-min=10.6 -arch i386 -Wendif-labels -Wno-unused-parameter 
-Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing 
-Wno-reserved-user-defined-literal -Wno-char-subscripts -Wno-unused-function 
-Wno-covered-switch-default -Wstring-conversion -fno-rtti -fno-exceptions 
-fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang 
/Volumes/data/b/build/slave/Mac32_Debug/build/src/tools/clang/scripts/../../../t
hird_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang 
-add-plugin -Xclang find-bad-constructs -fcolor-diagnostics 
-fno-strict-aliasing -fstack-protector-all -std=gnu++11  -c 
../../source/row_posix.cc -o obj/source/libyuv.row_posix.o
../../source/row_posix.cc:6373:5: error: ran out of registers during register 
allocation
    "movdqa    %6,%%xmm3                       \n"
    ^
1 error generated.

Original comment by fbarch...@google.com on 29 Oct 2013 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by fbarch...@google.com on 31 Oct 2013 at 7:32