Home
last modified time | relevance | path

Searched refs:dstA (Results 1 – 21 of 21) 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.c60 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_0() argument
75 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_0()
76 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_0()
77 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_0()
81 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_1() argument
94 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_1()
95 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_1()
96 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_1()
100 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_0() argument
111 (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.c2860 GLenum dstA = ctx->Color.Blend[i].DstA; local
2866 srcA = dstA = GL_ONE;
2880 dstA = brw_fix_xRGB_alpha(dstA);
2893 dstA = fix_dual_blend_alpha_to_one(dstA);
2918 entry->DestinationAlphaBlendFactor = blend_factor(dstA);
2923 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
4796 GLenum dstA = color->Blend[0].DstA; local
4802 srcA = dstA = GL_ONE;
4816 dstA = brw_fix_xRGB_alpha(dstA);
4826 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.cpp191 SkScalar dstA[4], dstB[4]; in test_map2() local
194 dstA[i] = SkScalar(123456789); in test_map2()
198 mat.map2(src2, 1, dstA); in test_map2()
202 REPORTER_ASSERT(reporter, dstA[i] == dstB[i]); in test_map2()
/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/amd/vulkan/
Dradv_pipeline.c684 VkBlendFactor dstA = att->dstAlphaBlendFactor; in radv_pipeline_init_blend_state() local
704 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) in radv_pipeline_init_blend_state()
714 dstA = VK_BLEND_FACTOR_ONE; in radv_pipeline_init_blend_state()
719 radv_blend_check_commutativity(&blend, eqA, srcA, dstA, in radv_pipeline_init_blend_state()
732 si_blend_remove_dst(&eqA, &srcA, &dstA, in radv_pipeline_init_blend_state()
736 si_blend_remove_dst(&eqA, &srcA, &dstA, in radv_pipeline_init_blend_state()
744 dstA_opt = si_translate_blend_opt_factor(dstA, true); in radv_pipeline_init_blend_state()
771 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
775 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in radv_pipeline_init_blend_state()
/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/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c487 unsigned dstA = state->rt[j].alpha_dst_factor; in si_create_blend_state_mode() local
526 si_blend_check_commutativity(sctx->screen, blend, eqA, srcA, dstA, 0x8 << (4 * i)); in si_create_blend_state_mode()
536 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_COLOR, in si_create_blend_state_mode()
538 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_ALPHA, in si_create_blend_state_mode()
545 dstA_opt = si_translate_blend_opt_factor(dstA, true); in si_create_blend_state_mode()
571 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
575 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in si_create_blend_state_mode()
/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/skia/third_party/skcms/
Dskcms.cc1601 uint8_t dstA[252], in skcms_ApproximatelyEqualProfiles() local
1605 dstA, skcms_PixelFormat_RGB_888, skcms_AlphaFormat_Unpremul, skcms_XYZD50_profile(), in skcms_ApproximatelyEqualProfiles()
1618 if (abs((int)dstA[i] - (int)dstB[i]) > 1) { in skcms_ApproximatelyEqualProfiles()
/external/angle/src/tests/gl_tests/
DVulkanPerformanceCounterTest.cpp372 GLBuffer dstA; in TEST_P() local
373 glBindBuffer(GL_COPY_WRITE_BUFFER, dstA); in TEST_P()
390 glBindBuffer(GL_COPY_WRITE_BUFFER, dstA); in TEST_P()
/external/OpenCL-CTS/test_conformance/geometrics/
Dtest_geometrics_double.cpp741 typedef void (*oneToOneVerifyFn_double)( double *srcA, double *dstA, size_t vecSize );
Dtest_geometrics.cpp839 typedef void (*oneToOneVerifyFn)( float *srcA, float *dstA, size_t vecSize );
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c295 unsigned dstA = state->rt[j].alpha_dst_factor; in r600_get_blend_control() local
305 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control()
309 bc |= S_028804_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in r600_get_blend_control()
Devergreen_state.c381 unsigned dstA = state->rt[j].alpha_dst_factor; in evergreen_create_blend_state_mode() local
396 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()
400 bc |= S_028780_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in evergreen_create_blend_state_mode()