Home
last modified time | relevance | path

Searched refs:dstA (Results 1 – 19 of 19) 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/i915/
Di915_state.c303 GLuint dstA = ctx->Color.Blend[0].DstA; in i915UpdateBlendState() local
310 srcA = dstA = GL_ONE; in i915UpdateBlendState()
318 iab |= DST_ABLND_FACT(intel_translate_blend_factor(dstA)); in i915UpdateBlendState()
321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState()
340 GLenum dstRGB, GLenum srcA, GLenum dstA) in i915BlendFuncSeparate() argument
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c2854 GLenum dstA = ctx->Color.Blend[i].DstA; local
2860 srcA = dstA = GL_ONE;
2874 dstA = brw_fix_xRGB_alpha(dstA);
2887 dstA = fix_dual_blend_alpha_to_one(dstA);
2893 entry->DestinationAlphaBlendFactor = blend_factor(dstA);
2898 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
4593 GLenum dstA = color->Blend[0].DstA; local
4599 srcA = dstA = GL_ONE;
4613 dstA = brw_fix_xRGB_alpha(dstA);
4623 dstA = fix_dual_blend_alpha_to_one(dstA);
[all …]
/external/skqp/tests/
DMatrix44Test.cpp197 SkMScalar dstA[4], dstB[4]; in test_map2() local
200 dstA[i] = SkDoubleToMScalar(123456789); in test_map2()
204 mat.map2(src2, 1, dstA); in test_map2()
208 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]); in test_map2()
/external/skia/tests/
DMatrix44Test.cpp197 SkMScalar dstA[4], dstB[4]; in test_map2() local
200 dstA[i] = SkDoubleToMScalar(123456789); in test_map2()
204 mat.map2(src2, 1, dstA); in test_map2()
208 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]); in test_map2()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c558 VkBlendFactor dstA = att->dstAlphaBlendFactor; in radv_pipeline_init_blend_state() local
571 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) in radv_pipeline_init_blend_state()
581 dstA = VK_BLEND_FACTOR_ONE; in radv_pipeline_init_blend_state()
594 si_blend_remove_dst(&eqA, &srcA, &dstA, in radv_pipeline_init_blend_state()
598 si_blend_remove_dst(&eqA, &srcA, &dstA, in radv_pipeline_init_blend_state()
606 dstA_opt = si_translate_blend_opt_factor(dstA, true); in radv_pipeline_init_blend_state()
633 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
637 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in radv_pipeline_init_blend_state()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c113 unsigned dstA = blend->rt[0].alpha_dst_factor; in i915_create_blend_state() local
120 dstA != dstRGB || in i915_create_blend_state()
130 DST_ABLND_FACT(i915_translate_blend_factor(dstA)) | in i915_create_blend_state()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp655 const float dstA = dstColor.w(); in executeAdvancedBlend() local
656 const float p0 = srcA*dstA; in executeAdvancedBlend()
657 const float p1 = srcA*(1.0f-dstA); in executeAdvancedBlend()
658 const float p2 = dstA*(1.0f-srcA); in executeAdvancedBlend()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c512 unsigned dstA = state->rt[j].alpha_dst_factor; in si_create_blend_state_mode() local
555 eqA, srcA, dstA, 0x8 << (4 * i)); in si_create_blend_state_mode()
566 si_blend_remove_dst(&eqA, &srcA, &dstA, in si_create_blend_state_mode()
569 si_blend_remove_dst(&eqA, &srcA, &dstA, in si_create_blend_state_mode()
577 dstA_opt = si_translate_blend_opt_factor(dstA, true); in si_create_blend_state_mode()
606 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
610 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in si_create_blend_state_mode()
/external/mesa3d/src/mesa/swrast/
Ds_blend.c907 const GLenum dstA = ctx->Color.Blend[0].DstA; in _swrast_choose_blend_func() local
932 else if (srcRGB != srcA || dstRGB != dstA) { in _swrast_choose_blend_func()
/external/skia/third_party/skcms/
Dskcms.cc1167 uint8_t dstA[252], in skcms_ApproximatelyEqualProfiles() local
1171 dstA, skcms_PixelFormat_RGB_888, skcms_AlphaFormat_Unpremul, skcms_XYZD50_profile(), in skcms_ApproximatelyEqualProfiles()
1184 if (abs((int)dstA[i] - (int)dstB[i]) > 1) { in skcms_ApproximatelyEqualProfiles()
/external/skqp/third_party/skcms/
Dskcms.cc1167 uint8_t dstA[252], in skcms_ApproximatelyEqualProfiles() local
1171 dstA, skcms_PixelFormat_RGB_888, skcms_AlphaFormat_Unpremul, skcms_XYZD50_profile(), in skcms_ApproximatelyEqualProfiles()
1184 if (abs((int)dstA[i] - (int)dstB[i]) > 1) { in skcms_ApproximatelyEqualProfiles()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c294 unsigned dstA = state->rt[j].alpha_dst_factor; in r600_get_blend_control() local
304 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control()
308 bc |= S_028804_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in r600_get_blend_control()
Devergreen_state.c379 unsigned dstA = state->rt[j].alpha_dst_factor; in evergreen_create_blend_state_mode() local
394 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()
398 bc |= S_028780_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in evergreen_create_blend_state_mode()
/external/mesa3d/prebuilt-intermediates/main/
Dmarshal_generated.c3711 GLenum dstA; member
3720 const GLenum dstA = cmd->dstA; in _mesa_unmarshal_BlendFuncSeparateiARB() local
3721 CALL_BlendFuncSeparateiARB(ctx->CurrentServerDispatch, (buf, srcRGB, dstRGB, srcA, dstA)); in _mesa_unmarshal_BlendFuncSeparateiARB()
3724 …a_marshal_BlendFuncSeparateiARB(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA) in _mesa_marshal_BlendFuncSeparateiARB() argument
3736 cmd->dstA = dstA; in _mesa_marshal_BlendFuncSeparateiARB()
3743 CALL_BlendFuncSeparateiARB(ctx->CurrentServerDispatch, (buf, srcRGB, dstRGB, srcA, dstA)); in _mesa_marshal_BlendFuncSeparateiARB()