/external/chromium_org/media/base/simd/ |
filter_yuv_mmx.cc | 25 const uint8* src1, 35 src1[pixel] * fraction) >> 8; 43 const __m64* src1_64 = reinterpret_cast<const __m64*>(src1 + pixel); 50 __m64 src1 = *src1_64++; local 52 __m64 src3 = _mm_unpackhi_pi8(src1, zero); 54 src1 = _mm_unpacklo_pi8(src1, zero); 56 src1 = _mm_mullo_pi16(src1, src1_fraction); 59 src0 = _mm_add_pi16(src0, src1); [all...] |
filter_yuv_sse2.cc | 18 const uint8* src1, 28 src1[pixel] * fraction) >> 8; 38 reinterpret_cast<const __m128i*>(src1 + pixel); 45 __m128i src1 = _mm_loadu_si128(src1_128); local 47 __m128i src3 = _mm_unpackhi_epi8(src1, zero); 49 src1 = _mm_unpacklo_epi8(src1, zero); 51 src1 = _mm_mullo_epi16(src1, src1_fraction); 54 src0 = _mm_add_epi16(src0, src1); [all...] |
/external/pixman/demos/ |
screen-test.c | 12 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4); local 22 src1[i] = 0x7ff00000; 32 simg1 = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, src1, WIDTH * 4);
|
srgb-test.c | 54 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4); local 63 src1, 72 src1[p + x] = linear_argb_to_premult_argb (alpha, 1, 0, 1); 80 free (src1);
|
/system/vold/tests/ |
VolumeManager_test.cpp | 41 const char* src1 = ""; local 51 EXPECT_FALSE(VolumeManager::asecHash(src1, dst, sizeof(buffer)) == NULL)
|
/external/qemu/target-i386/ |
helper_template.h | 58 target_long src1, src2; local 59 src1 = CC_SRC; 61 cf = (DATA_TYPE)CC_DST < (DATA_TYPE)src1; 63 af = (CC_DST ^ src1 ^ src2) & 0x10; 66 of = lshift((src1 ^ src2 ^ -1) & (src1 ^ CC_DST), 12 - DATA_BITS) & CC_O; 73 target_long src1; 74 src1 = CC_SRC; 75 cf = (DATA_TYPE)CC_DST < (DATA_TYPE)src1; 82 target_long src1, src2 [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
generatemip.h | 21 static void average(L8 *dst, const L8 *src1, const L8 *src2) 23 dst->L = ((src1->L ^ src2->L) >> 1) + (src1->L & src2->L); 35 static void average(A8L8 *dst, const A8L8 *src1, const A8L8 *src2) 37 *(unsigned short*)dst = (((*(unsigned short*)src1 ^ *(unsigned short*)src2) & 0xFEFE) >> 1) + (*(unsigned short*)src1 & *(unsigned short*)src2); 50 static void average(A8R8G8B8 *dst, const A8R8G8B8 *src1, const A8R8G8B8 *src2) 52 *(unsigned int*)dst = (((*(unsigned int*)src1 ^ *(unsigned int*)src2) & 0xFEFEFEFE) >> 1) + (*(unsigned int*)src1 & *(unsigned int*)src2); 65 static void average(A16B16G16R16F *dst, const A16B16G16R16F *src1, const A16B16G16R16F *src2 175 const T *src1 = (const T*)(sourceData + y * 2 * sourcePitch + sourcePitch); local 186 const T *src1 = (const T*)(sourceData + y * 2 * sourcePitch + sourcePitch); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi_info.c | 273 struct lp_tgsi_channel_info src1; local 276 analyse_src(ctx, &src1, &inst->Src[1].Register, chan); 280 } else if (is_immediate(&src1, 0.0f)) { 281 res[chan] = src1; 283 res[chan] = src1; 284 } else if (is_immediate(&src1, 1.0f)) {
|
lp_bld_tgsi_aos.c | 460 LLVMValueRef src0, src1, src2; local 516 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 517 dst0 = lp_build_mul(&bld->bld_base.base, src0, src1); 522 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 523 dst0 = lp_build_add(&bld->bld_base.base, src0, src1); 539 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 540 dst0 = lp_build_max(&bld->bld_base.base, src0, src1); 545 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 546 dst0 = lp_build_max(&bld->bld_base.base, src0, src1); 552 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL) [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi_info.c | 273 struct lp_tgsi_channel_info src1; local 276 analyse_src(ctx, &src1, &inst->Src[1].Register, chan); 280 } else if (is_immediate(&src1, 0.0f)) { 281 res[chan] = src1; 283 res[chan] = src1; 284 } else if (is_immediate(&src1, 1.0f)) {
|
lp_bld_tgsi_aos.c | 460 LLVMValueRef src0, src1, src2; local 516 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 517 dst0 = lp_build_mul(&bld->bld_base.base, src0, src1); 522 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 523 dst0 = lp_build_add(&bld->bld_base.base, src0, src1); 539 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 540 dst0 = lp_build_max(&bld->bld_base.base, src0, src1); 545 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL); 546 dst0 = lp_build_max(&bld->bld_base.base, src0, src1); 552 src1 = lp_build_emit_fetch(&bld->bld_base, inst, 1, LP_CHAN_ALL) [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
sad_inline.h | 39 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) 43 x7 = src2 ^ src1; /* check odd/even combination */ 44 if ((uint32)src2 >= (uint32)src1) 46 src1 = src2 - src1; /* subs */ 50 src1 = src1 - src2; 52 x7 = x7 ^ src1; /* only odd bytes need to add carry */ 55 src1 = src1 + (x7 >> 7); /* add 0xFF to the negative byte, add back carry * 192 EOR x7, src2, src1; \/* check odd\/even combination *\/ local 193 SUBS src1, src2, src1; local 194 EOR x7, x7, src1; local 198 ADD src1, src1, x7, asr #7; \/* add 0xFF to the negative byte, add back carry *\/ local 199 EOR src1, src1, x7, asr #7; \/* take absolute value of negative byte *\/ local 211 EOR x7, src2, src1; \/* check odd\/even combination *\/ local 212 ADDS src1, src2, src1; local 213 EOR x7, x7, src1; \/* only odd bytes need to add carry *\/ local 216 SUB src1, src1, x7, asr #7; \/* add 0xFF to the negative byte, add back carry *\/ local 217 EOR src1, src1, x7, asr #7; \/* take absolute value of negative byte *\/ local [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/life/ |
life.c | 247 uint8_t *src1 = src0 + desc.size.width; local 248 uint8_t *src2 = src1 + desc.size.width; 257 src1[-1] + src1[0] * 9 + src1[1] + 264 ++src1;
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/life/ |
life.c | 244 uint8_t *src1 = src0 + desc.size.width; local 245 uint8_t *src2 = src1 + desc.size.width; 254 src1[-1] + src1[0] * 9 + src1[1] + 261 ++src1;
|
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
KURLTest.cpp | 569 const char* src1 = "http://user:pass@google.com/foo/bar.html?baz=query#ref"; local 570 WebCore::KURL kurl1(WebCore::ParsedURLString, src1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_fpc_translate.c | 498 uint src0, src1, src2, flags; local 533 src1 = src_vector(p, &inst->Src[1], fs); 538 0, src0, src2, src1); /* NOTE: order of src2, src1 */ 598 src1 = src_vector(p, &inst->Src[1], fs); 604 swizzle(src0, X, Y, ZERO, ZERO), src1, 0); 617 src1 = src_vector(p, &inst->Src[1], fs); 623 swizzle(src0, X, Y, Z, ONE), src1, 0); 628 src1 = src_vector(p, &inst->Src[1], fs); 640 swizzle(src1, ONE, Y, ONE, W), 0) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_fs_emit.cpp | 184 struct brw_reg src1) 187 brw_math2(p, dst, brw_math_function(inst->opcode), src0, src1); 221 struct brw_reg src1) 228 brw_math2(p, dst, op, src0, src1); 232 brw_math2(p, sechalf(dst), op, sechalf(src0), sechalf(src1)); 463 struct brw_reg src1 = brw_reg(src.file, src.nr, 0, local 469 brw_ADD(p, dst, src0, negate(src1)); 486 struct brw_reg src1 = brw_reg(src.file, src.nr, 2, local 493 brw_ADD(p, dst, src1, negate(src0)); 495 brw_ADD(p, dst, src0, negate(src1)); [all...] |
/external/chromium_org/v8/src/ia32/ |
lithium-gap-resolver-ia32.cc | 395 Operand src1 = cgen_->HighOperand(source); local 400 __ mov(tmp, src1); 499 Operand src1 = cgen_->HighOperand(source); local 505 __ mov(tmp, src1);
|
/external/jpeg/ |
jccolor.c | 323 UINT32 src1 = *in++; local 326 *out0++ = PACK(B0(src0), B3(src0), B2(src1), B1(src2)); 327 *out1++ = PACK(B1(src0), B0(src1), B3(src1), B2(src2)); 328 *out2++ = PACK(B2(src0), B1(src1), B0(src2), B3(src2));
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_fpc_translate.c | 498 uint src0, src1, src2, flags; local 533 src1 = src_vector(p, &inst->Src[1], fs); 538 0, src0, src2, src1); /* NOTE: order of src2, src1 */ 598 src1 = src_vector(p, &inst->Src[1], fs); 604 swizzle(src0, X, Y, ZERO, ZERO), src1, 0); 617 src1 = src_vector(p, &inst->Src[1], fs); 623 swizzle(src0, X, Y, Z, ONE), src1, 0); 628 src1 = src_vector(p, &inst->Src[1], fs); 640 swizzle(src1, ONE, Y, ONE, W), 0) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_emit.cpp | 184 struct brw_reg src1) 187 brw_math2(p, dst, brw_math_function(inst->opcode), src0, src1); 221 struct brw_reg src1) 228 brw_math2(p, dst, op, src0, src1); 232 brw_math2(p, sechalf(dst), op, sechalf(src0), sechalf(src1)); 463 struct brw_reg src1 = brw_reg(src.file, src.nr, 0, local 469 brw_ADD(p, dst, src0, negate(src1)); 486 struct brw_reg src1 = brw_reg(src.file, src.nr, 2, local 493 brw_ADD(p, dst, src1, negate(src0)); 495 brw_ADD(p, dst, src0, negate(src1)); [all...] |
/external/opencv/cxcore/src/ |
cxlogic.cpp | 63 ( const uchar* src1, int step1, const uchar* src2, int step2, \ 64 uchar* dst, int step, CvSize size ), (src1, step1, src2, step2, dst, step, size) )\ 66 for( ; size.height--; src1 += step1, src2 += step2, dst += step ) \ 70 if( (((size_t)src1 | (size_t)src2 | (size_t)dst) & 3) == 0 ) \ 74 int t0 = __op__(((const int*)(src1+i))[0], ((const int*)(src2+i))[0]);\ 75 int t1 = __op__(((const int*)(src1+i))[1], ((const int*)(src2+i))[1]);\ 80 t0 = __op__(((const int*)(src1+i))[2], ((const int*)(src2+i))[2]); \ 81 t1 = __op__(((const int*)(src1+i))[3], ((const int*)(src2+i))[3]); \ 89 int t = __op__(*(const int*)(src1+i), *(const int*)(src2+i)); \ 96 int t = __op__(((const uchar*)src1)[i],((const uchar*)src2)[i]); 352 CvMat srcstub1, *src1 = (CvMat*)srcarr1; local [all...] |
/external/qemu/distrib/jpeg-6b/ |
jccolor.c | 416 UINT32 src1 = *in++; local 419 *out0++ = PACK(B0(src0), B3(src0), B2(src1), B1(src2)); 420 *out1++ = PACK(B1(src0), B0(src1), B3(src1), B2(src2)); 421 *out2++ = PACK(B2(src0), B1(src1), B0(src2), B3(src2));
|
/external/skia/gm/ |
image.cpp | 90 SkRect src1, src2, src3; local 91 src1.iset(0, 0, surf->width(), surf->height()); 102 imgR->draw(canvas, &src1, dst1, usePaint ? &paint : NULL);
|
poly2poly.cpp | 235 const int src1[] = { 0, 0 }; variable 237 doDraw(canvas, &paint, src1, dst1, 1);
|