Home
last modified time | relevance | path

Searched refs:srcA (Results 1 – 25 of 38) sorted by relevance

12

/external/neven/Embedded/common/src/b_BasicEm/
DMemory.c52 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()
DString.c40 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()
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 );
DMemory.h45 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA );
51 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA );
DMath.c766 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 …]
DMath.h139 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA );
144 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA );
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_blend_state.c110 GLenum srcA = ctx->Color.Blend[i].SrcA; in gen8_upload_blend_state() local
117 srcA = dstA = GL_ONE; in gen8_upload_blend_state()
128 srcA = brw_fix_xRGB_alpha(srcA); in gen8_upload_blend_state()
138 SET_FIELD(blend_factor(srcA), GEN8_BLEND_SRC_ALPHA_BLEND_FACTOR) | in gen8_upload_blend_state()
142 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in gen8_upload_blend_state()
248 GLenum srcA = ctx->Color.Blend[0].SrcA; in gen8_upload_ps_blend() local
255 srcA = dstA = GL_ONE; in gen8_upload_ps_blend()
266 srcA = brw_fix_xRGB_alpha(srcA); in gen8_upload_ps_blend()
276 SET_FIELD(blend_factor(srcA), GEN8_PS_BLEND_SRC_ALPHA_BLEND_FACTOR); in gen8_upload_ps_blend()
278 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in gen8_upload_ps_blend()
Dgen6_cc.c113 GLenum srcA = ctx->Color.Blend[b].SrcA; in gen6_upload_blend_state() local
121 srcA = dstA = GL_ONE; in gen6_upload_blend_state()
134 srcA = brw_fix_xRGB_alpha(srcA); in gen6_upload_blend_state()
144 blend[b].blend0.ia_source_blend_factor = brw_translate_blend_factor(srcA); in gen6_upload_blend_state()
148 blend[b].blend0.ia_blend_enable = (srcA != srcRGB || in gen6_upload_blend_state()
Dbrw_cc.c171 GLenum srcA = ctx->Color.Blend[0].SrcA; in upload_cc_unit() local
180 srcA = brw_fix_xRGB_alpha(srcA); in upload_cc_unit()
190 srcA = dstA = GL_ONE; in upload_cc_unit()
198 cc->cc5.ia_src_blend_factor = brw_translate_blend_factor(srcA); in upload_cc_unit()
202 cc->cc3.ia_blend_enable = (srcA != srcRGB || in upload_cc_unit()
/external/skia/src/shaders/
DSkShader.cpp171 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha() local
174 U8CPU a0 = srcA[0]; in shadeSpanAlpha()
175 U8CPU a1 = srcA[4]; in shadeSpanAlpha()
176 U8CPU a2 = srcA[8]; in shadeSpanAlpha()
177 U8CPU a3 = srcA[12]; in shadeSpanAlpha()
178 srcA += 4*4; in shadeSpanAlpha()
190 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha() local
192 *alpha++ = *srcA; in shadeSpanAlpha()
193 srcA += 4; in shadeSpanAlpha()
207 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c59 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_0() argument
69 (srcA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_0()
70 srcA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_0()
71 srcA == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_0()
72 srcA == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_0()
80 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_1() argument
89 (srcA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_1()
90 srcA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_1()
91 srcA == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_1()
99 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_0() argument
[all …]
/external/skia/src/opts/
DSkBlitRow_opts_SSE2.cpp138 __m128i &mask, __m128i &srcA) { in SkBlendLCD16_SSE2() argument
192 maskLo = _mm_mullo_epi16(maskLo, srcA); in SkBlendLCD16_SSE2()
193 maskHi = _mm_mullo_epi16(maskHi, srcA); in SkBlendLCD16_SSE2()
310 int srcA = SkColorGetA(src); in SkBlitLCD16Row_SSE2() local
315 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row_SSE2()
320 *dst = SkBlendLCD16(srcA, srcR, srcG, srcB, *dst, *mask); in SkBlitLCD16Row_SSE2()
333 __m128i srcA_sse = _mm_set1_epi16(srcA); in SkBlitLCD16Row_SSE2()
370 *dst = SkBlendLCD16(srcA, srcR, srcG, srcB, *dst, *mask); in SkBlitLCD16Row_SSE2()
/external/skia/src/core/
DSkBlitMask_D32.cpp186 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()
DSkColorMatrixFilterRowMajor255.cpp23 const float* srcA = src + 15; in transpose_and_scale01() local
29 dst[i + 3] = *srcA++; in transpose_and_scale01()
35 dst[19] = *srcA * (1/255.0f); in transpose_and_scale01()
/external/swiftshader/third_party/LLVM/test/CodeGen/PowerPC/
Drlwimi3.ll4 define i16 @Trans16Bit(i32 %srcA, i32 %srcB, i32 %alpha) {
5 %tmp1 = shl i32 %srcA, 15 ; <i32> [#uses=1]
7 %tmp4 = and i32 %srcA, 31775 ; <i32> [#uses=1]
Drlwimi2.ll7 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/PowerPC/
Drlwimi3.ll5 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]
Drlwimi2.ll7 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/
D2012-03-13-DAGCombineBug.ll7 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/skia/include/core/
DSkColorPriv.h987 static inline SkPMColor SkBlendLCD16(int srcA, int srcR, int srcG, int srcB, in SkBlendLCD16() argument
1006 maskR = maskR * srcA >> 8; in SkBlendLCD16()
1007 maskG = maskG * srcA >> 8; in SkBlendLCD16()
1008 maskB = maskB * srcA >> 8; in SkBlendLCD16()
1059 int srcA = SkColorGetA(src); in SkBlitLCD16Row() local
1064 srcA = SkAlpha255To256(srcA); in SkBlitLCD16Row()
1067 dst[i] = SkBlendLCD16(srcA, srcR, srcG, srcB, dst[i], mask[i]); in SkBlitLCD16Row()
/external/mesa3d/src/mesa/main/
Dmipmap.c1456 const GLubyte *srcA, *srcB; in make_2d_mipmap() local
1461 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap()
1464 srcB = srcA + srcRowStride; in make_2d_mipmap()
1469 srcB = srcA; in make_2d_mipmap()
1476 do_row(datatype, comps, srcWidthNB, srcA, srcB, in make_2d_mipmap()
1478 srcA += srcRowStep * srcRowStride; in make_2d_mipmap()
1656 const GLubyte *srcA, *srcB; in make_3d_mipmap() local
1660 srcA = srcPtr[img * 2 + 0]; in make_3d_mipmap()
1663 do_row(datatype, comps, 1, srcA, srcB, 1, dst); in make_3d_mipmap()
1666 srcA = srcPtr[img * 2 + 0] in make_3d_mipmap()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c302 GLuint srcA = ctx->Color.Blend[0].SrcA; in i915UpdateBlendState() local
310 srcA = dstA = GL_ONE; in i915UpdateBlendState()
317 iab |= SRC_ABLND_FACT(intel_translate_blend_factor(srcA)); in i915UpdateBlendState()
321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState()
340 GLenum dstRGB, GLenum srcA, GLenum dstA) in i915BlendFuncSeparate() argument
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dsext.ll117 define void @test11(<2 x i16> %srcA, <2 x i16> %srcB, <2 x i16>* %dst) {
118 %cmp = icmp eq <2 x i16> %srcB, %srcA
/external/llvm/test/Transforms/InstCombine/
Dsext.ll117 define void @test11(<2 x i16> %srcA, <2 x i16> %srcB, <2 x i16>* %dst) {
118 %cmp = icmp eq <2 x i16> %srcB, %srcA
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c845 VkBlendFactor srcA = att->srcAlphaBlendFactor; in radv_pipeline_init_blend_state() local
859 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) in radv_pipeline_init_blend_state()
868 srcA = VK_BLEND_FACTOR_ONE; in radv_pipeline_init_blend_state()
877 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
880 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA)); in radv_pipeline_init_blend_state()

12