Home
last modified time | relevance | path

Searched refs:dstA (Results 1 – 17 of 17) sorted by relevance

/external/neven/Embedded/common/src/b_BasicEm/
DMemory.c52 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy16() argument
55 if( ( ( int32 ) dstA >> 16 ) == ( ( ( int32 ) dstA + sizeA ) >> 16 ) && in bbs_memcpy16()
59 uint16* dstL = ( uint16* )dstA; in bbs_memcpy16()
73 *( uint16* ) ( ( int32 ) dstA + iL ) = *( uint16* ) ( ( int32 ) srcA + iL ); in bbs_memcpy16()
76 return dstA; in bbs_memcpy16()
78 uint16* dstL = ( uint16* )dstA; in bbs_memcpy16()
96 return dstA; in bbs_memcpy16()
102 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy32() argument
105 if( ( ( int32 ) dstA >> 16 ) == ( ( ( int32 ) dstA + ( sizeA << 1 ) ) >> 16 ) && in bbs_memcpy32()
109 uint32* dstL = ( uint32* )dstA; in bbs_memcpy32()
[all …]
DString.c40 char* bbs_strcpy( char* dstA, const char* srcA ) in bbs_strcpy() argument
43 char* dstL = dstA; in bbs_strcpy()
45 return dstA; 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()
57 if( iL == sizeA && sizeA > 0 ) dstA[ iL - 1 ] = 0; in bbs_strncpy()
58 return dstA; in bbs_strncpy()
63 char* bbs_strcat( char* dstA, const char* srcA ) in bbs_strcat() argument
66 char* dstL = dstA; in bbs_strcat()
69 return dstA; in bbs_strcat()
[all …]
DString.h39 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 );
62 uint32 bbs_snprintf( char* dstA, uint32 bufSizeA, const char* formatA, ... );
67 uint32 bbs_vsnprintf( char* dstA, uint32 bufSizeA, const char* formatA, va_list argsA );
DMemory.h45 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA );
51 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA );
57 void* bbs_memset16( void* dstA, uint16 valA, uint32 sizeA );
63 void* bbs_memset32( void* dstA, uint32 valA, uint32 sizeA );
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c59 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_0() argument
74 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_0()
75 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_0()
76 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_0()
80 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_1() argument
93 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_1()
94 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_1()
95 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_1()
99 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_0() argument
110 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_0()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cc.c155 GLenum dstA = ctx->Color.Blend[0].DstA; in upload_cc_unit() local
165 dstA = fix_xRGB_alpha(dstA); in upload_cc_unit()
173 srcA = dstA = GL_ONE; in upload_cc_unit()
180 cc->cc5.ia_dest_blend_factor = brw_translate_blend_factor(dstA); in upload_cc_unit()
186 dstA != dstRGB || in upload_cc_unit()
Dgen6_cc.c103 GLenum dstA = ctx->Color.Blend[b].DstA; in gen6_upload_blend_state() local
110 srcA = dstA = GL_ONE; in gen6_upload_blend_state()
117 blend[b].blend0.ia_dest_blend_factor = brw_translate_blend_factor(dstA); in gen6_upload_blend_state()
123 dstA != dstRGB || in gen6_upload_blend_state()
/external/opencv/cv/src/
Dcvsubdivision2d.cpp199 CvSubdiv2DPoint *orgB, *dstA; in cvSubdiv2DConnectEdges() local
209 dstA = cvSubdiv2DEdgeDst( edgeA ); in cvSubdiv2DConnectEdges()
211 cvSubdiv2DSetEdgePoints( new_edge, dstA, orgB ); in cvSubdiv2DConnectEdges()
225 CvSubdiv2DPoint *dstB, *dstA; in cvSubdiv2DSwapEdges() local
230 dstA = cvSubdiv2DEdgeDst( a ); in cvSubdiv2DSwapEdges()
232 cvSubdiv2DSetEdgePoints( edge, dstA, dstB ); in cvSubdiv2DSwapEdges()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c301 GLuint dstA = ctx->Color.Blend[0].DstA; in i915UpdateBlendState() local
308 srcA = dstA = GL_ONE; in i915UpdateBlendState()
316 iab |= DST_ABLND_FACT(intel_translate_blend_factor(dstA)); in i915UpdateBlendState()
319 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState()
338 GLenum dstRGB, GLenum srcA, GLenum dstA) in i915BlendFuncSeparate() argument
/external/skia/tests/
DMatrix44Test.cpp200 SkMScalar dstA[4], dstB[4]; in test_map2() local
203 dstA[i] = SkDoubleToMScalar(123456789); in test_map2()
207 mat.map2(src2, 1, dstA); in test_map2()
211 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]); in test_map2()
/external/skia/src/core/
DSkXfermode.cpp1080 SkAlpha dstA = dst[i]; in xferA8() local
1082 (SkPMColor)(dstA << SK_A32_SHIFT))); in xferA8()
1084 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8()
1237 SkAlpha dstA = dst[i]; in xferA8() local
1238 SkPMColor res = proc(src[i], dstA << SK_A32_SHIFT); in xferA8()
1241 A = SkAlphaBlend(A, dstA, SkAlpha255To256(a)); in xferA8()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c112 unsigned dstA = blend->rt[0].alpha_dst_factor; in i915_create_blend_state() local
119 dstA != dstRGB || in i915_create_blend_state()
129 DST_ABLND_FACT(i915_translate_blend_factor(dstA)) | in i915_create_blend_state()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp603 const float dstA = dstColor.w(); in executeAdvancedBlend() local
604 const float p0 = srcA*dstA; in executeAdvancedBlend()
605 const float p1 = srcA*(1.0f-dstA); in executeAdvancedBlend()
606 const float p2 = dstA*(1.0f-srcA); in executeAdvancedBlend()
/external/mesa3d/src/mesa/swrast/
Ds_blend.c910 const GLenum dstA = ctx->Color.Blend[0].DstA; in _swrast_choose_blend_func() local
935 else if (srcRGB != srcA || dstRGB != dstA) { in _swrast_choose_blend_func()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c166 unsigned dstA = state->rt[j].alpha_dst_factor; in si_create_blend_state() local
183 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state()
187 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in si_create_blend_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c755 unsigned dstA = state->rt[j].alpha_dst_factor; in r600_create_blend_state_mode() local
765 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_create_blend_state_mode()
769 bc |= S_028804_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in r600_create_blend_state_mode()
Devergreen_state.c737 unsigned dstA = state->rt[j].alpha_dst_factor; in evergreen_create_blend_state_mode() local
748 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()
752 blend_cntl[i] |= S_028780_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in evergreen_create_blend_state_mode()