/external/neven/Embedded/common/src/b_BasicEm/ |
D | Memory.c | 52 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy16() argument 56 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + sizeA ) >> 16 ) ) in bbs_memcpy16() 60 const uint16* srcL = ( uint16* )srcA; in bbs_memcpy16() 73 *( uint16* ) ( ( int32 ) dstA + iL ) = *( uint16* ) ( ( int32 ) srcA + iL ); in bbs_memcpy16() 79 const uint16* srcL = ( uint16* )srcA; in bbs_memcpy16() 102 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy32() argument 106 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + ( sizeA << 1 ) ) >> 16 ) ) in bbs_memcpy32() 110 const uint32* srcL = ( uint32* )srcA; in bbs_memcpy32() 124 *( uint32* ) ( ( int32 ) dstA + iL ) = *( uint32* ) ( ( int32 ) srcA + iL ); in bbs_memcpy32() 156 const uint32* srcL = ( uint32* )srcA; in bbs_memcpy32()
|
D | String.c | 40 char* bbs_strcpy( char* dstA, const char* srcA ) in bbs_strcpy() argument 42 const char* srcL = srcA; in bbs_strcpy() 50 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA ) in bbs_strncpy() argument 55 if( ( dstA[ iL ] = srcA[ iL ] ) == 0 ) break; in bbs_strncpy() 63 char* bbs_strcat( char* dstA, const char* srcA ) in bbs_strcat() argument 65 const char* srcL = srcA; in bbs_strcat() 74 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA ) in bbs_strncat() argument 84 if( ( dstA[ iL ] = srcA[ iL ] ) == 0 ) break; in bbs_strncat()
|
D | String.h | 39 char* bbs_strcpy( char* dstA, const char* srcA ); 42 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA ); 45 char* bbs_strcat( char* dstA, const char* srcA ); 48 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA );
|
D | Memory.h | 45 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ); 51 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA );
|
D | Math.c | 766 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA ) in bbs_convertU32() argument 771 if( srcA > ( ( uint32 )0xFFFFFFFF >> shiftL ) ) in bbs_convertU32() 778 return srcA << shiftL; in bbs_convertU32() 785 if( srcA + addL < addL ) in bbs_convertU32() 788 return srcA >> shiftL; in bbs_convertU32() 792 return ( srcA + addL ) >> shiftL; in bbs_convertU32() 799 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA ) in bbs_convertS32() argument 804 if( srcA > ( ( int32 )0x7FFFFFFF >> shiftL ) ) in bbs_convertS32() 809 else if( srcA < ( ( int32 )0x80000000 >> shiftL ) ) in bbs_convertS32() 816 return srcA << shiftL; in bbs_convertS32() [all …]
|
D | Math.h | 139 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA ); 144 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA );
|
/external/skia/src/core/ |
D | SkBlitter_A8.cpp | 41 unsigned srcA = fSrcA; in blitH() local 44 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); in blitH() 56 unsigned srcA = fSrcA; in blitAntiH() local 66 if (aa == 255 && srcA == 255) { in blitAntiH() 69 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); in blitAntiH() 143 unsigned srcA = fSrcA; in blitMask() local 155 if (srcA == 255) { in blitMask() 159 sa = srcA; in blitMask() 161 sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); in blitMask() 209 unsigned srcA = fSrcA; in blitRect() local [all …]
|
D | SkShader.cpp | 155 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha() local 158 U8CPU a0 = srcA[0]; in shadeSpanAlpha() 159 U8CPU a1 = srcA[4]; in shadeSpanAlpha() 160 U8CPU a2 = srcA[8]; in shadeSpanAlpha() 161 U8CPU a3 = srcA[12]; in shadeSpanAlpha() 162 srcA += 4*4; in shadeSpanAlpha() 174 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha() local 176 *alpha++ = *srcA; in shadeSpanAlpha() 177 srcA += 4; in shadeSpanAlpha() 191 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha() [all …]
|
D | SkBlitMask_D32.cpp | 186 static int src_alpha_blend(int src, int dst, int srcA, int mask) { in src_alpha_blend() argument 188 return dst + SkAlphaMul(src - SkAlphaMul(srcA, dst), mask); in src_alpha_blend() 203 int srcA = SkGetPackedA32(s); in LCD16_RowProc_Blend() local 208 srcA += srcA >> 7; in LCD16_RowProc_Blend() 228 src_alpha_blend(srcR, dstR, srcA, maskR), in LCD16_RowProc_Blend() 229 src_alpha_blend(srcG, dstG, srcA, maskG), in LCD16_RowProc_Blend() 230 src_alpha_blend(srcB, dstB, srcA, maskB)); in LCD16_RowProc_Blend()
|
D | SkColorMatrixFilterRowMajor255.cpp | 26 const float* srcA = src + 15; in transpose_to_pmorder() local 29 dst[i + SK_PMORDER_INDEX_A] = *srcA++; in transpose_to_pmorder() 101 float srcA = srcf[SkPM4f::A]; in filter_span() local 103 if (0 == srcA) { in filter_span() 107 if (1 != srcA) { in filter_span()
|
/external/opencv/cv/src/ |
D | cvoptflowbm.cpp | 571 CvMat stubA, *srcA = (CvMat*)srcarrA; in cvCalcOpticalFlowBM() local 576 CV_CALL( srcA = cvGetMat( srcA, &stubA )); in cvCalcOpticalFlowBM() 582 if( !CV_ARE_TYPES_EQ( srcA, srcB )) in cvCalcOpticalFlowBM() 588 if( !CV_ARE_SIZES_EQ( srcA, srcB ) || in cvCalcOpticalFlowBM() 590 (unsigned)(velx->width*blockSize.width - srcA->width) >= (unsigned)blockSize.width || in cvCalcOpticalFlowBM() 591 (unsigned)(velx->height*blockSize.height - srcA->height) >= (unsigned)blockSize.height ) in cvCalcOpticalFlowBM() 594 if( CV_MAT_TYPE( srcA->type ) != CV_8UC1 || in cvCalcOpticalFlowBM() 599 if( srcA->step != srcB->step || velx->step != vely->step ) in cvCalcOpticalFlowBM() 602 IPPI_CALL( icvCalcOpticalFlowBM_8u32fR( (uchar*)srcA->data.ptr, (uchar*)srcB->data.ptr, in cvCalcOpticalFlowBM() 603 srcA->step, cvGetMatSize( srcA ), blockSize, in cvCalcOpticalFlowBM()
|
D | cvoptflowhs.cpp | 498 CvMat stubA, *srcA = (CvMat*)srcarrA; in cvCalcOpticalFlowHS() local 503 CV_CALL( srcA = cvGetMat( srcA, &stubA )); in cvCalcOpticalFlowHS() 509 if( !CV_ARE_TYPES_EQ( srcA, srcB )) in cvCalcOpticalFlowHS() 515 if( !CV_ARE_SIZES_EQ( srcA, srcB ) || in cvCalcOpticalFlowHS() 517 !CV_ARE_SIZES_EQ( srcA, velx )) in cvCalcOpticalFlowHS() 520 if( CV_MAT_TYPE( srcA->type ) != CV_8UC1 || in cvCalcOpticalFlowHS() 525 if( srcA->step != srcB->step || velx->step != vely->step ) in cvCalcOpticalFlowHS() 528 IPPI_CALL( icvCalcOpticalFlowHS_8u32fR( (uchar*)srcA->data.ptr, (uchar*)srcB->data.ptr, in cvCalcOpticalFlowHS() 529 srcA->step, cvGetMatSize( srcA ), usePrevious, in cvCalcOpticalFlowHS()
|
D | cvoptflowlk.cpp | 574 CvMat stubA, *srcA = (CvMat*)srcarrA; in cvCalcOpticalFlowLK() local 579 CV_CALL( srcA = cvGetMat( srcA, &stubA )); in cvCalcOpticalFlowLK() 585 if( !CV_ARE_TYPES_EQ( srcA, srcB )) in cvCalcOpticalFlowLK() 591 if( !CV_ARE_SIZES_EQ( srcA, srcB ) || in cvCalcOpticalFlowLK() 593 !CV_ARE_SIZES_EQ( srcA, velx )) in cvCalcOpticalFlowLK() 596 if( CV_MAT_TYPE( srcA->type ) != CV_8UC1 || in cvCalcOpticalFlowLK() 601 if( srcA->step != srcB->step || velx->step != vely->step ) in cvCalcOpticalFlowLK() 604 IPPI_CALL( icvCalcOpticalFlowLK_8u32fR( (uchar*)srcA->data.ptr, (uchar*)srcB->data.ptr, in cvCalcOpticalFlowLK() 605 srcA->step, cvGetMatSize( srcA ), winSize, in cvCalcOpticalFlowLK()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 58 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_0() argument 68 (srcA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_0() 69 srcA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_0() 70 srcA == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_0() 71 srcA == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_0() 79 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_1() argument 88 (srcA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_1() 89 srcA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_1() 90 srcA == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_1() 98 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_0() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_cc.c | 154 GLenum srcA = ctx->Color.Blend[0].SrcA; in upload_cc_unit() local 163 srcA = fix_xRGB_alpha(srcA); in upload_cc_unit() 173 srcA = dstA = GL_ONE; in upload_cc_unit() 181 cc->cc5.ia_src_blend_factor = brw_translate_blend_factor(srcA); in upload_cc_unit() 185 cc->cc3.ia_blend_enable = (srcA != srcRGB || in upload_cc_unit()
|
D | gen6_cc.c | 102 GLenum srcA = ctx->Color.Blend[b].SrcA; in gen6_upload_blend_state() local 110 srcA = dstA = GL_ONE; in gen6_upload_blend_state() 118 blend[b].blend0.ia_source_blend_factor = brw_translate_blend_factor(srcA); in gen6_upload_blend_state() 122 blend[b].blend0.ia_blend_enable = (srcA != srcRGB || in gen6_upload_blend_state()
|
/external/opencv3/modules/imgproc/src/ |
D | phasecorr.cpp | 159 Mat srcA = _srcA.getMat(), srcB = _srcB.getMat(); in divSpectrums() local 160 int depth = srcA.depth(), cn = srcA.channels(), type = srcA.type(); in divSpectrums() 161 int rows = srcA.rows, cols = srcA.cols; in divSpectrums() 164 CV_Assert( type == srcB.type() && srcA.size() == srcB.size() ); in divSpectrums() 167 _dst.create( srcA.rows, srcA.cols, type ); in divSpectrums() 171 srcA.isContinuous() && srcB.isContinuous() && dst.isContinuous())); in divSpectrums() 182 const float* dataA = srcA.ptr<float>(); in divSpectrums() 187 size_t stepA = srcA.step/sizeof(dataA[0]); in divSpectrums() 267 const double* dataA = srcA.ptr<double>(); in divSpectrums() 272 size_t stepA = srcA.step/sizeof(dataA[0]); in divSpectrums()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | rlwimi3.ll | 5 define i16 @Trans16Bit(i32 %srcA, i32 %srcB, i32 %alpha) { 6 %tmp1 = shl i32 %srcA, 15 ; <i32> [#uses=1] 8 %tmp4 = and i32 %srcA, 31775 ; <i32> [#uses=1]
|
D | rlwimi2.ll | 7 define i16 @test1(i32 %srcA, i32 %srcB, i32 %alpha) nounwind { 9 %tmp.1 = shl i32 %srcA, 15 ; <i32> [#uses=1] 11 %tmp.6 = and i32 %srcA, 31775 ; <i32> [#uses=1]
|
/external/llvm/test/CodeGen/ARM/ |
D | 2012-03-13-DAGCombineBug.ll | 7 define void @test_hi_short3(<3 x i16> * nocapture %srcA, <2 x i16> * nocapture %dst) nounwind { 10 %0 = load <3 x i16> , <3 x i16> * %srcA, align 8
|
/external/opencv/cxcore/src/ |
D | cxmatrix.cpp | 1483 CvMat stubA, *srcA = (CvMat*)srcAarr; in cvCrossProduct() local 1488 if( !CV_IS_MAT(srcA)) in cvCrossProduct() 1489 CV_CALL( srcA = cvGetMat( srcA, &stubA )); in cvCrossProduct() 1491 type = CV_MAT_TYPE( srcA->type ); in cvCrossProduct() 1493 if( srcA->width*srcA->height*CV_MAT_CN(type) != 3 ) in cvCrossProduct() 1499 if( (srcA->type & ~CV_MAT_CONT_FLAG) == (srcB->type & ~CV_MAT_CONT_FLAG) && in cvCrossProduct() 1500 (srcA->type & ~CV_MAT_CONT_FLAG) == (dst->type & ~CV_MAT_CONT_FLAG) ) in cvCrossProduct() 1513 if( !CV_ARE_TYPES_EQ( srcA, srcB ) || in cvCrossProduct() 1518 if( !CV_ARE_SIZES_EQ( srcA, srcB ) || !CV_ARE_SIZES_EQ( srcB, dst )) in cvCrossProduct() 1524 const float* src1data = (float*)(srcA->data.ptr); in cvCrossProduct() [all …]
|
D | cxmatmul.cpp | 2779 CvMat stubA, *srcA = (CvMat*)srcAarr; in cvMahalanobis() local 2791 if( !CV_IS_MAT(srcA) ) in cvMahalanobis() 2792 CV_CALL( srcA = cvGetMat( srcA, &stubA )); in cvMahalanobis() 2800 if( srcA->rows != 1 && srcA->cols != 1 ) in cvMahalanobis() 2803 len = srcA->rows + srcA->cols - 1; in cvMahalanobis() 2805 if( !CV_ARE_SIZES_EQ(srcA,srcB) ) in cvMahalanobis() 2811 func = (CvMahalanobisFunc)mahal_tab.fn_2d[CV_MAT_DEPTH(srcA->type)]; in cvMahalanobis() 2813 if( CV_MAT_CN(srcA->type) > 1 || !func ) in cvMahalanobis() 2817 if( !CV_ARE_TYPES_EQ(srcA,srcB) || !CV_ARE_TYPES_EQ(srcA,mat) ) in cvMahalanobis() 2820 elem_size = CV_ELEM_SIZE(srcA->type); in cvMahalanobis() [all …]
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_SSE2.cpp | 339 __m128i &mask, __m128i &srcA) { in SkBlendLCD16_SSE2() argument 393 maskLo = _mm_mullo_epi16(maskLo, srcA); in SkBlendLCD16_SSE2() 394 maskHi = _mm_mullo_epi16(maskHi, srcA); in SkBlendLCD16_SSE2() 511 int srcA = SkColorGetA(src); in SkBlitLCD16Row_SSE2() local 516 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row_SSE2() 521 *dst = SkBlendLCD16(srcA, srcR, srcG, srcB, *dst, *mask); in SkBlitLCD16Row_SSE2() 534 __m128i srcA_sse = _mm_set1_epi16(srcA); in SkBlitLCD16Row_SSE2() 571 *dst = SkBlendLCD16(srcA, srcR, srcG, srcB, *dst, *mask); in SkBlitLCD16Row_SSE2()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 964 static inline SkPMColor SkBlendLCD16(int srcA, int srcR, int srcG, int srcB, in SkBlendLCD16() argument 983 maskR = maskR * srcA >> 8; in SkBlendLCD16() 984 maskG = maskG * srcA >> 8; in SkBlendLCD16() 985 maskB = maskB * srcA >> 8; in SkBlendLCD16() 1036 int srcA = SkColorGetA(src); in SkBlitLCD16Row() local 1041 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row() 1044 dst[i] = SkBlendLCD16(srcA, srcR, srcG, srcB, dst[i], mask[i]); in SkBlitLCD16Row()
|
/external/mesa3d/src/mesa/main/ |
D | mipmap.c | 1455 const GLubyte *srcA, *srcB; in make_2d_mipmap() local 1460 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap() 1463 srcB = srcA + srcRowStride; in make_2d_mipmap() 1468 srcB = srcA; in make_2d_mipmap() 1475 do_row(datatype, comps, srcWidthNB, srcA, srcB, in make_2d_mipmap() 1477 srcA += srcRowStep * srcRowStride; in make_2d_mipmap() 1660 const GLubyte *srcA, *srcB; in make_3d_mipmap() local 1664 srcA = srcPtr[img * 2 + 0]; in make_3d_mipmap() 1667 do_row(datatype, comps, 1, srcA, srcB, 1, dst); in make_3d_mipmap() 1670 srcA = srcPtr[img * 2 + 0] in make_3d_mipmap() [all …]
|