HomeSort by relevance Sort by last modified time
    Searched refs:srcA (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/neven/Embedded/common/src/b_BasicEm/
String.h 38 /** copies a string from srcA to dstA; returns dstA */
39 char* bbs_strcpy( char* dstA, const char* srcA );
41 /** copies sizeA caracters from from srcA to dstA; returns dstA */
42 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA );
44 /** adds a string srcA to string dstA; returns dstA */
45 char* bbs_strcat( char* dstA, const char* srcA );
47 /** adds sizeA characters from srcA to string dstA; returns dstA */
48 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA );
Memory.h 39 /* void* bbs_memcpy( void* dstA, const void* srcA, uint32 sizeA ); */
45 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA );
51 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA );
Memory.c 40 void* bbs_memcpy( void* dstA, const void* srcA, uint32 sizeA )
47 return bbs_memcpy16( dstA, srcA, sizeA >> 1 );
52 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA )
56 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + sizeA ) >> 16 ) )
60 const uint16* srcL = ( uint16* )srcA;
73 *( uint16* ) ( ( int32 ) dstA + iL ) = *( uint16* ) ( ( int32 ) srcA + iL );
79 const uint16* srcL = ( uint16* )srcA;
102 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA )
106 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + ( sizeA << 1 ) ) >> 16 )
    [all...]
String.c 40 char* bbs_strcpy( char* dstA, const char* srcA )
42 const char* srcL = srcA;
50 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA )
55 if( ( dstA[ iL ] = srcA[ iL ] ) == 0 ) break;
63 char* bbs_strcat( char* dstA, const char* srcA )
65 const char* srcL = srcA;
74 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA )
84 if( ( dstA[ iL ] = srcA[ iL ] ) == 0 ) break;
Math.h 139 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA );
144 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA );
Math.c 766 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA )
771 if( srcA > ( ( uint32 )0xFFFFFFFF >> shiftL ) )
778 return srcA << shiftL;
785 if( srcA + addL < addL )
788 return srcA >> shiftL;
792 return ( srcA + addL ) >> shiftL;
799 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA )
804 if( srcA > ( ( int32 )0x7FFFFFFF >> shiftL ) )
809 else if( srcA < ( ( int32 )0x80000000 >> shiftL ) )
816 return srcA << shiftL
    [all...]
  /external/chromium_org/third_party/angle/samples/gles2_book/Common/
esTransform.c 172 esMatrixMultiply(ESMatrix *result, ESMatrix *srcA, ESMatrix *srcB)
179 tmp.m[i][0] = (srcA->m[i][0] * srcB->m[0][0]) +
180 (srcA->m[i][1] * srcB->m[1][0]) +
181 (srcA->m[i][2] * srcB->m[2][0]) +
182 (srcA->m[i][3] * srcB->m[3][0]) ;
184 tmp.m[i][1] = (srcA->m[i][0] * srcB->m[0][1]) +
185 (srcA->m[i][1] * srcB->m[1][1]) +
186 (srcA->m[i][2] * srcB->m[2][1]) +
187 (srcA->m[i][3] * srcB->m[3][1]) ;
189 tmp.m[i][2] = (srcA->m[i][0] * srcB->m[0][2]) +
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkShader.cpp 104 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
107 U8CPU a0 = srcA[0];
108 U8CPU a1 = srcA[4];
109 U8CPU a2 = srcA[8];
110 U8CPU a3 = srcA[12];
111 srcA += 4*4;
123 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
125 *alpha++ = *srcA;
126 srcA += 4;
140 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT)
    [all...]
SkBlitter_A8.cpp 42 unsigned srcA = fSrcA;
45 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale));
57 unsigned srcA = fSrcA;
67 if (aa == 255 && srcA == 255) {
70 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa));
144 unsigned srcA = fSrcA;
156 if (srcA == 255) {
160 sa = srcA;
162 sa = SkAlphaMul(srcA, SkAlpha255To256(aa));
210 unsigned srcA = fSrcA
    [all...]
SkBlitMask_D32.cpp 148 int srcA = SkColorGetA(color);
153 srcA = SkAlpha255To256(srcA);
172 maskR = maskR * srcA >> 8;
173 maskG = maskG * srcA >> 8;
174 maskB = maskB * srcA >> 8;
386 static int src_alpha_blend(int src, int dst, int srcA, int mask) {
388 return dst + SkAlphaMul(src - SkAlphaMul(srcA, dst), mask);
403 int srcA = SkGetPackedA32(s);
408 srcA += srcA >> 7
    [all...]
  /external/skia/src/core/
SkShader.cpp 104 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
107 U8CPU a0 = srcA[0];
108 U8CPU a1 = srcA[4];
109 U8CPU a2 = srcA[8];
110 U8CPU a3 = srcA[12];
111 srcA += 4*4;
123 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
125 *alpha++ = *srcA;
126 srcA += 4;
140 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT)
    [all...]
SkBlitter_A8.cpp 42 unsigned srcA = fSrcA;
45 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale));
57 unsigned srcA = fSrcA;
67 if (aa == 255 && srcA == 255) {
70 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa));
144 unsigned srcA = fSrcA;
156 if (srcA == 255) {
160 sa = srcA;
162 sa = SkAlphaMul(srcA, SkAlpha255To256(aa));
210 unsigned srcA = fSrcA
    [all...]
SkBlitMask_D32.cpp 148 int srcA = SkColorGetA(color);
153 srcA = SkAlpha255To256(srcA);
172 maskR = maskR * srcA >> 8;
173 maskG = maskG * srcA >> 8;
174 maskB = maskB * srcA >> 8;
386 static int src_alpha_blend(int src, int dst, int srcA, int mask) {
388 return dst + SkAlphaMul(src - SkAlphaMul(srcA, dst), mask);
403 int srcA = SkGetPackedA32(s);
408 srcA += srcA >> 7
    [all...]
  /external/opencv/cv/src/
cvoptflowbm.cpp 555 // srcA, srcB - source image
571 CvMat stubA, *srcA = (CvMat*)srcarrA;
576 CV_CALL( srcA = cvGetMat( srcA, &stubA ));
582 if( !CV_ARE_TYPES_EQ( srcA, srcB ))
588 if( !CV_ARE_SIZES_EQ( srcA, srcB ) ||
590 (unsigned)(velx->width*blockSize.width - srcA->width) >= (unsigned)blockSize.width ||
591 (unsigned)(velx->height*blockSize.height - srcA->height) >= (unsigned)blockSize.height )
594 if( CV_MAT_TYPE( srcA->type ) != CV_8UC1 ||
599 if( srcA->step != srcB->step || velx->step != vely->step
    [all...]
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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_cc.c 154 GLenum srcA = ctx->Color.Blend[0].SrcA;
163 srcA = fix_xRGB_alpha(srcA);
173 srcA = dstA = GL_ONE;
181 cc->cc5.ia_src_blend_factor = brw_translate_blend_factor(srcA);
185 cc->cc3.ia_blend_enable = (srcA != srcRGB ||
gen6_cc.c 102 GLenum srcA = ctx->Color.Blend[b].SrcA;
110 srcA = dstA = GL_ONE;
118 blend[b].blend0.ia_source_blend_factor = brw_translate_blend_factor(srcA);
122 blend[b].blend0.ia_blend_enable = (srcA != srcRGB ||
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_cc.c 154 GLenum srcA = ctx->Color.Blend[0].SrcA;
163 srcA = fix_xRGB_alpha(srcA);
173 srcA = dstA = GL_ONE;
181 cc->cc5.ia_src_blend_factor = brw_translate_blend_factor(srcA);
185 cc->cc3.ia_blend_enable = (srcA != srcRGB ||
gen6_cc.c 102 GLenum srcA = ctx->Color.Blend[b].SrcA;
110 srcA = dstA = GL_ONE;
118 blend[b].blend0.ia_source_blend_factor = brw_translate_blend_factor(srcA);
122 blend[b].blend0.ia_blend_enable = (srcA != srcRGB ||
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
r300_state.c 58 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA,
68 (srcA == PIPE_BLENDFACTOR_SRC_COLOR ||
69 srcA == PIPE_BLENDFACTOR_SRC_ALPHA ||
70 srcA == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE ||
71 srcA == PIPE_BLENDFACTOR_ZERO) &&
79 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA,
88 (srcA == PIPE_BLENDFACTOR_INV_SRC_COLOR ||
89 srcA == PIPE_BLENDFACTOR_INV_SRC_ALPHA ||
90 srcA == PIPE_BLENDFACTOR_ZERO) &&
98 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA,
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/
r300_state.c 58 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA,
68 (srcA == PIPE_BLENDFACTOR_SRC_COLOR ||
69 srcA == PIPE_BLENDFACTOR_SRC_ALPHA ||
70 srcA == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE ||
71 srcA == PIPE_BLENDFACTOR_ZERO) &&
79 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA,
88 (srcA == PIPE_BLENDFACTOR_INV_SRC_COLOR ||
89 srcA == PIPE_BLENDFACTOR_INV_SRC_ALPHA ||
90 srcA == PIPE_BLENDFACTOR_ZERO) &&
98 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA,
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationTest.java 427 Allocation srcA = Allocation.createSized(mRS, Element.F32(mRS), nElems);
439 srcA.copyFrom(src);
441 dstA.copy1DRangeFrom(offset, count, srcA, offset);
451 Allocation srcA = Allocation.createSized(mRS, Element.I8(mRS), nElems);
463 srcA.copyFrom(src);
465 dstA.copy1DRangeFrom(offset, count, srcA, offset);
585 Allocation srcA = Allocation.createTyped(mRS, b.setX(nElemsX).setY(nElemsY).create());
595 srcA.copyFrom(src);
596 dstA.copy2DRangeFrom(xOffset, yOffset, width, height, srcA, xOffset, yOffset);
611 Allocation srcA = Allocation.createTyped(mRS, b.setX(nElemsX).setY(nElemsY).create())
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkColorPriv.h 723 unsigned srcA = SkGetPackedA4444(src) * scale16;
724 SkASSERT(srcA == (src32 & 0xFF));
819 static inline SkPMColor SkBlendLCD16(int srcA, int srcR, int srcG, int srcB,
837 // srcA has been upscaled to 256 before passed into this function
838 maskR = maskR * srcA >> 8;
839 maskG = maskG * srcA >> 8;
840 maskB = maskB * srcA >> 8;
891 int srcA = SkColorGetA(src);
896 srcA = SkAlpha255To256(srcA);
    [all...]
  /external/skia/include/core/
SkColorPriv.h 723 unsigned srcA = SkGetPackedA4444(src) * scale16;
724 SkASSERT(srcA == (src32 & 0xFF));
819 static inline SkPMColor SkBlendLCD16(int srcA, int srcR, int srcG, int srcB,
837 // srcA has been upscaled to 256 before passed into this function
838 maskR = maskR * srcA >> 8;
839 maskG = maskG * srcA >> 8;
840 maskB = maskB * srcA >> 8;
891 int srcA = SkColorGetA(src);
896 srcA = SkAlpha255To256(srcA);
    [all...]

Completed in 1478 milliseconds

1 2 3