/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
RenderscriptGLStubActivity.java | 67 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 68 mRS = createRenderScriptGL(sc);
|
/external/skia/legacy/src/core/ |
SkSpriteBlitterTemplate.h | 45 SkSPRITE_SRC_TYPE sc = *s++; 46 SkSPRITE_BLIT_PIXEL(d, sc);
|
SkXfermode.cpp | 73 // kSrc_Mode, //!< [Sa, Sc] 83 // kSrcOver_Mode, //!< [Sa + Da - Sa*Da, Sc + (1 - Sa)*Dc] 96 // kDstOver_Mode, //!< [Sa + Da - Sa*Da, Dc + (1 - Da)*Sc] 103 // kSrcIn_Mode, //!< [Sa * Da, Sc * Da] 113 // kSrcOut_Mode, //!< [Sa * (1 - Da), Sc * (1 - Da)] 123 // kSrcATop_Mode, //!< [Da, Sc * Da + (1 - Sa) * Dc] 138 // kDstATop_Mode, //!< [Sa, Sa * Dc + Sc * (1 - Da)] 153 // kXor_Mode [Sa + Da - 2 * Sa * Da, Sc * (1 - Da) + (1 - Sa) * Dc] 202 static inline int overlay_byte(int sc, int dc, int sa, int da) { 203 int tmp = sc * (255 - da) + dc * (255 - sa) [all...] |
SkBlitRow_D4444.cpp | 79 SkPMColor sc = *src++; local 80 SkPMColorAssert(sc); 82 if (sc) { 83 unsigned dst_scale = 16 - (SkGetPackedA32(sc) * src_scale >> 8); 84 uint32_t src_expand = SkExpand32_4444(sc) * src_scale;
|
/external/skia/src/core/ |
SkSpriteBlitterTemplate.h | 45 SkSPRITE_SRC_TYPE sc = *s++; 46 SkSPRITE_BLIT_PIXEL(d, sc);
|
SkXfermode.cpp | 78 // kSrc_Mode, //!< [Sa, Sc] 88 // kSrcOver_Mode, //!< [Sa + Da - Sa*Da, Sc + (1 - Sa)*Dc] 101 // kDstOver_Mode, //!< [Sa + Da - Sa*Da, Dc + (1 - Da)*Sc] 108 // kSrcIn_Mode, //!< [Sa * Da, Sc * Da] 118 // kSrcOut_Mode, //!< [Sa * (1 - Da), Sc * (1 - Da)] 128 // kSrcATop_Mode, //!< [Da, Sc * Da + (1 - Sa) * Dc] 143 // kDstATop_Mode, //!< [Sa, Sa * Dc + Sc * (1 - Da)] 158 // kXor_Mode [Sa + Da - 2 * Sa * Da, Sc * (1 - Da) + (1 - Sa) * Dc] 207 static inline int overlay_byte(int sc, int dc, int sa, int da) { 208 int tmp = sc * (255 - da) + dc * (255 - sa) [all...] |
SkBlitRow_D4444.cpp | 79 SkPMColor sc = *src++; local 80 SkPMColorAssert(sc); 82 if (sc) { 83 unsigned dst_scale = 16 - (SkGetPackedA32(sc) * src_scale >> 8); 84 uint32_t src_expand = SkExpand32_4444(sc) * src_scale;
|
/frameworks/base/graphics/java/android/renderscript/ |
RSTextureView.java | 154 * @param sc The RS surface config to create. 158 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { 159 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
|
Script.java | 154 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { 160 if (sc == null) { 176 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend);
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboView.java | 39 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 40 mRS = createRenderScriptGL(sc);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
RSTestView.java | 58 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 59 mRS = createRenderScriptGL(sc);
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
RSTestView.java | 58 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 59 mRS = createRenderScriptGL(sc);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
RSTestView.java | 58 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 59 mRS = createRenderScriptGL(sc);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
RenderScriptWallpaper.java | 107 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 108 mRs = new RenderScriptGL(RenderScriptWallpaper.this, sc);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mac.cc | 226 const SegmentCommand* sc = (const SegmentCommand *)lc; local 227 if (start) *start = sc->vmaddr + dlloff; 228 if (end) *end = sc->vmaddr + sc->vmsize + dlloff; 231 *offset = sc->vmaddr; 233 *offset = sc->fileoff;
|
/external/aac/libAACenc/src/ |
channel_map.cpp | 424 int sc = CountLeadingBits(fixMax(maxChannelBits,averageBitsTot)); local 425 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1), 426 (INT)((fMult(FL2FXCONST_DBL(1.1f/2.f),fMult(lfeRate,(FIXP_DBL)(averageBitsTot<<sc)))<<1)>>sc) ); 429 sc = CountLeadingBits(maxChannelBits); 431 maxChannelBits = fMult((FIXP_DBL)maxChannelBits<<sc,GetInvInt(5))>>sc; 460 int sc = CountLeadingBits(fixMax(maxChannelBits,averageBitsTot)); local 461 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1) [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SinkChannelTest.java | 467 SocketChannel sc = SocketChannel.open(); local 470 sc.write(buf); 475 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999)); 478 sc.close(); 480 sc.write(buf); 491 SocketChannel sc = SocketChannel.open(); local 492 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999)); 496 sc.write(buf,0,2); 501 sc.close();
|
/external/aac/libFDK/src/ |
FDK_hybrid.cpp | 602 INT k, sc; local 646 sc = 1 + 2; 649 mHybridReal[0] = pfft[FFT_IDX_R(7)] << sc; 650 mHybridImag[0] = pfft[FFT_IDX_I(7)] << sc; 651 mHybridReal[1] = pfft[FFT_IDX_R(0)] << sc; 652 mHybridImag[1] = pfft[FFT_IDX_I(0)] << sc; 654 mHybridReal[2] = pfft[FFT_IDX_R(6)] << sc; 655 mHybridImag[2] = pfft[FFT_IDX_I(6)] << sc; 656 mHybridReal[3] = pfft[FFT_IDX_R(1)] << sc; 657 mHybridImag[3] = pfft[FFT_IDX_I(1)] << sc; [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcCommit.cpp | 269 } sc; member in struct:meas 503 measPtr->sc.minWidth = scMinWidth(format->format, measPtr->df.minDim); 504 testPrintI(" scMinWidth: %u", measPtr->sc.minWidth); 506 measPtr->sc.minHeight = scMinHeight(format->format, measPtr->df.minDim); 507 testPrintI(" scMinHeight: %u", measPtr->sc.minHeight); 509 measPtr->sc.maxWidth = scMaxWidth(format->format, measPtr->df.maxDim); 510 testPrintI(" scMaxWidth: %s%u", (measPtr->sc.maxWidth 512 measPtr->sc.maxWidth); 514 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim); 515 testPrintI(" scMaxHeight: %s%u", (measPtr->sc.maxHeigh [all...] |
/dalvik/vm/ |
CheckJni.cpp | [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SimpleModelView.java | 63 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 64 sc.setDepth(16, 24); 65 mRS = createRenderScriptGL(sc);
|
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.modifying.operations/alg.unique/ |
unique_copy.pass.cpp | 45 const unsigned sc = sizeof(ic)/sizeof(ic[0]); local 46 int jc[sc] = {-1}; 47 r = std::unique_copy(InIter(ic), InIter(ic+sc), OutIter(jc));
|
unique_pred.pass.cpp | 58 const unsigned sc = sizeof(ic)/sizeof(ic[0]); local 60 r = std::unique(Iter(ic), Iter(ic+sc), count_equal()); 63 assert(count_equal::count == sc-1); 147 const unsigned sc = sizeof(ic)/sizeof(ic[0]); local 149 r = std::unique(Iter(ic), Iter(ic+sc), count_equal()); 152 assert(count_equal::count == sc-1);
|
/external/icu4c/common/ |
usc_impl.c | 273 UScriptCode sc; local 293 sc = uscript_getScript(ch, &error); 315 sc = TOP(scriptRun).scriptCode; 320 if (sameScript(scriptRun->scriptCode, sc)) { 321 if (scriptRun->scriptCode <= USCRIPT_INHERITED && sc > USCRIPT_INHERITED) { 322 scriptRun->scriptCode = sc;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; local 277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); 278 else sc=1.0; 279 *scale=sc; 326 t[0]=cp[0]-sc*(R[0]*c[0]+R[1]*c[1]); 327 t[1]=cp[1]-sc*(R[2]*c[0]+R[3]*c[1]);
|