/external/skia/src/core/ |
SkBlitter_A8.cpp | 50 unsigned srcA = fSrcA; 53 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); 65 unsigned srcA = fSrcA; 75 if (aa == 255 && srcA == 255) { 78 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 152 unsigned srcA = fSrcA; 164 if (srcA == 255) { 168 sa = srcA; 170 sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 218 unsigned srcA = fSrcA [all...] |
SkShader.cpp | 140 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); 143 U8CPU a0 = srcA[0]; 144 U8CPU a1 = srcA[4]; 145 U8CPU a2 = srcA[8]; 146 U8CPU a3 = srcA[12]; 147 srcA += 4*4; 159 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); 161 *alpha++ = *srcA; 162 srcA += 4; 176 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT) [all...] |
SkXfermode.cpp | 864 unsigned srcA = SkGetPackedA32(src[i]); 866 dst[i] = SkToU8(srcA); 868 dst[i] = SkToU8(SkAlphaBlend(srcA, dst[i], a)); [all...] |
/external/opencv/cv/src/ |
cvoptflowhs.cpp | 483 // srcA, srcB - source image 498 CvMat stubA, *srcA = (CvMat*)srcarrA; 503 CV_CALL( srcA = cvGetMat( srcA, &stubA )); 509 if( !CV_ARE_TYPES_EQ( srcA, srcB )) 515 if( !CV_ARE_SIZES_EQ( srcA, srcB ) || 517 !CV_ARE_SIZES_EQ( srcA, velx )) 520 if( CV_MAT_TYPE( srcA->type ) != CV_8UC1 || 525 if( srcA->step != srcB->step || velx->step != vely->step ) 528 IPPI_CALL( icvCalcOpticalFlowHS_8u32fR( (uchar*)srcA->data.ptr, (uchar*)srcB->data.ptr [all...] |
cvoptflowlk.cpp | 560 // srcA, srcB - source image 574 CvMat stubA, *srcA = (CvMat*)srcarrA; 579 CV_CALL( srcA = cvGetMat( srcA, &stubA )); 585 if( !CV_ARE_TYPES_EQ( srcA, srcB )) 591 if( !CV_ARE_SIZES_EQ( srcA, srcB ) || 593 !CV_ARE_SIZES_EQ( srcA, velx )) 596 if( CV_MAT_TYPE( srcA->type ) != CV_8UC1 || 601 if( srcA->step != srcB->step || velx->step != vely->step ) 604 IPPI_CALL( icvCalcOpticalFlowLK_8u32fR( (uchar*)srcA->data.ptr, (uchar*)srcB->data.ptr [all...] |
/external/mesa3d/src/pixelflinger2/ |
llvm_scanline.cpp | 127 Value * srcA, Value * dstA, Value * constantA, 151 factor = srcA; 156 factor = builder.CreateSub(sOne, srcA); 172 factor = minIntScalar(builder, srcA, builder.CreateSub(sOne, dstA)); 344 Value * srcA = extractVector(builder,src)[3]; 349 constant, one, zero, srcA, dstA, 352 Value * sfA = BlendFactor(gglCtx->blendState.saf, srcA, dstA, 353 constantA, sOne, sZero, srcA, dstA, 360 constant, one, zero, srcA, dstA, 363 Value * dfA = BlendFactor(gglCtx->blendState.daf, srcA, dstA [all...] |
/external/opencv/cxcore/src/ |
cxarithm.cpp | [all...] |
cxmatrix.cpp | [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_arm.cpp | 541 unsigned srcA = SkGetPackedA32(sc); 543 if (srcA != 255) { [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationTest.java | 425 Allocation srcA = Allocation.createSized(mRS, Element.F32(mRS), nElems); 437 srcA.copyFrom(src); 439 dstA.copy1DRangeFrom(offset, count, srcA, offset); 449 Allocation srcA = Allocation.createSized(mRS, Element.I8(mRS), nElems); 461 srcA.copyFrom(src); 463 dstA.copy1DRangeFrom(offset, count, srcA, offset); 583 Allocation srcA = Allocation.createTyped(mRS, b.setX(nElemsX).setY(nElemsY).create()); 593 srcA.copyFrom(src); 594 dstA.copy2DRangeFrom(xOffset, yOffset, width, height, srcA, xOffset, yOffset); 609 Allocation srcA = Allocation.createTyped(mRS, b.setX(nElemsX).setY(nElemsY).create()) [all...] |
/external/skia/include/core/ |
SkColorPriv.h | 561 unsigned srcA = SkGetPackedA4444(src) * scale16; 562 SkASSERT(srcA == (src32 & 0xFF));
|