/external/skia/src/opts/ |
SkColor_opts_SSE2.h | 31 return _mm_add_epi32(alpha, _mm_set1_epi32(1)); 38 prod = _mm_add_epi32(prod, _mm_set1_epi32(128)); 47 const __m128i mask = _mm_set1_epi32(0xFF00FF); 68 const __m128i mask = _mm_set1_epi32(0xFF00FF); 141 r = _mm_and_si128(r, _mm_set1_epi32(SK_R16_MASK)); 150 g = _mm_and_si128(g, _mm_set1_epi32(SK_G16_MASK)); 159 b = _mm_and_si128(b, _mm_set1_epi32(SK_B16_MASK)); 171 return SkPackARGB32_SSE2(_mm_set1_epi32(0xFF), r, g, b); 179 r1 = _mm_and_si128(r1, _mm_set1_epi32(SK_R16_MASK)); 182 r2 = _mm_and_si128(r2, _mm_set1_epi32(SK_R16_MASK)) [all...] |
SkBitmapProcState_opts_SSE2.cpp | 276 __m128i wide_1 = _mm_set1_epi32(1); 277 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); 316 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); 317 __m128i wide_one = _mm_set1_epi32(one); 318 __m128i wide_maxX = _mm_set1_epi32(maxX); 319 __m128i wide_mask = _mm_set1_epi32(0xF); 398 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); 440 __m128i wide_dx4 = _mm_set1_epi32(dx * 4); 446 __m128i wide_maxX = _mm_set1_epi32(maxX); 504 __m128i wide_mask = _mm_set1_epi32(0xF) [all...] |
Sk4px_SSE2.h | 10 inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return Sk16b(_mm_set1_epi32(px)); } 96 return Sk16b(_mm_and_si128(_mm_set1_epi32(0xFF << SK_A32_SHIFT), this->fVec)); 101 return Sk16b(_mm_andnot_si128(_mm_set1_epi32(0xFF << SK_A32_SHIFT), this->fVec));
|
SkOpts_sse41.cpp | 25 static __m128i next4(uint32_t val) { return _mm_set1_epi32(val); } 26 static m64i next2(uint32_t val) { return _mm_set1_epi32(val); } 27 static m64i next1(uint32_t val) { return _mm_set1_epi32(val); } 171 __m128i s = _mm_unpacklo_epi8(_mm_set1_epi32(src), _mm_setzero_si128()),
|
SkBlitRow_opts_SSE4.cpp | 43 const __m128i alphaMask = _mm_set1_epi32(0xFF << SK_A32_SHIFT);
|
SkBlitRow_opts_SSE2.cpp | 92 __m128i rb_mask = _mm_set1_epi32(0x00FF00FF); 162 const __m128i alphaMask = _mm_set1_epi32(0xFF << SK_A32_SHIFT); 359 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); 363 _mm_set1_epi32(0x1F << SK_G32_SHIFT)); 367 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); 445 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); 449 _mm_set1_epi32(0x1F << SK_G32_SHIFT)); 453 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); 502 _mm_set1_epi32(SK_A32_MASK << SK_A32_SHIFT)); 529 __m128i src_sse = _mm_set1_epi32(SkPackARGB32(0xFF, srcR, srcG, srcB)) [all...] |
SkBitmapProcState_opts_SSSE3.cpp | 421 const __m128i mask_3FFF = _mm_set1_epi32(0x3FFF); 422 const __m128i mask_000F = _mm_set1_epi32(0x000F); 606 const __m128i mask_3FFF = _mm_set1_epi32(0x3FFF); 607 const __m128i mask_000F = _mm_set1_epi32(0x000F);
|
/external/skia/src/core/ |
SkHalf.h | 76 const __m128i is_denorm = _mm_cmplt_epi32(h, _mm_set1_epi32(1<<10)); 78 __m128i rebias = _mm_set1_epi32((127-15) << 23); 79 rebias = _mm_add_epi32(rebias, _mm_and_si128(is_denorm, _mm_set1_epi32(1<<23))); 107 const __m128 rebias = _mm_castsi128_ps(_mm_set1_epi32((127 - (127-15)) << 23));
|
/external/libavc/encoder/x86/ |
ih264e_half_pel_ssse3.c | 120 coeff0_1_16x8b = _mm_set1_epi32(0xFB01FB01); //c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 121 coeff2_3_16x8b = _mm_set1_epi32(0x14141414); //c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 122 coeff4_5_16x8b = _mm_set1_epi32(0x01FB01FB); //c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 273 coeff0_1_16x8b = _mm_set1_epi32(0xFB01FB01); //c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 274 coeff2_3_16x8b = _mm_set1_epi32(0x14141414); //c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 275 coeff4_5_16x8b = _mm_set1_epi32(0x01FB01FB); //c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 384 coeff0_1_8x16b = _mm_set1_epi32(0xFFFB0001); //c0 c1 c0 c1 c0 c1 c0 c1 385 coeff2_3_8x16b = _mm_set1_epi32(0x00140014); //c2 c3 c2 c3 c2 c3 c2 c3 386 coeff4_5_8x16b = _mm_set1_epi32(0x0001FFFB); //c4 c5 c4 c5 c4 c5 c4 c5 388 const_val512_4x32b = _mm_set1_epi32(512) [all...] |
/external/libavc/common/x86/ |
ih264_ihadamard_scaling_ssse3.c | 99 __m128i add_rshift = _mm_set1_epi32((1 << (5 - u4_qp_div_6))); 100 __m128i mult_val = _mm_set1_epi32(pu2_iscal_mat[0] * pu2_weigh_mat[0]); 102 __m128i mask = _mm_set1_epi32(val);
|
ih264_deblk_chroma_ssse3.c | 147 alpha_cbcr_16x8 = _mm_set1_epi32(alpha_cbcr); 152 beta_cbcr_16x8 = _mm_set1_epi32(beta_cbcr); 178 alpha_cbcr_16x8 = _mm_set1_epi32(alpha_cbcr); 183 beta_cbcr_16x8 = _mm_set1_epi32(beta_cbcr); 316 alpha_cbcr_16x8 = _mm_set1_epi32(alpha_cbcr); 321 beta_cbcr_16x8 = _mm_set1_epi32(beta_cbcr); 347 alpha_cbcr_16x8 = _mm_set1_epi32(alpha_cbcr); 352 beta_cbcr_16x8 = _mm_set1_epi32(beta_cbcr); 496 alpha_cbcr_16x8 = _mm_set1_epi32(alpha_cbcr); 501 beta_cbcr_16x8 = _mm_set1_epi32(beta_cbcr) [all...] |
ih264_inter_pred_filters_ssse3.c | 233 coeff0_1_16x8b = _mm_set1_epi32(0xFB01FB01); //c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 234 coeff2_3_16x8b = _mm_set1_epi32(0x14141414); //c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 235 coeff4_5_16x8b = _mm_set1_epi32(0x01FB01FB); //c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 502 coeff0_1_16x8b = _mm_set1_epi32(0xFB01FB01); //c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 c0 c1 503 coeff2_3_16x8b = _mm_set1_epi32(0x14141414); //c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 c2 c3 504 coeff4_5_16x8b = _mm_set1_epi32(0x01FB01FB); //c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 c4 c5 [all...] |
ih264_ihadamard_scaling_sse42.c | 99 __m128i add_rshift = _mm_set1_epi32((1 << (5 - u4_qp_div_6))); 100 __m128i mult_val = _mm_set1_epi32(pu2_iscal_mat[0] * pu2_weigh_mat[0]); 213 __m128i scale_val = _mm_set1_epi32((WORD32)(pu2_iscal_mat[0] * pu2_weigh_mat[0]));
|
ih264_iquant_itrans_recon_sse42.c | 121 __m128i add_rshift = _mm_set1_epi32((1 << (3 - u4_qp_div_6))); 122 __m128i value_32 = _mm_set1_epi32(32); 370 __m128i add_rshift = _mm_set1_epi32((1 << (3 - u4_qp_div_6))); 371 __m128i value_32 = _mm_set1_epi32(32);
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_highbd_block_error_intrin_sse2.c | 33 max = _mm_set1_epi32(0x3fff); 34 min = _mm_set1_epi32(0xffffc000);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_tri.c | 156 __m128i xdcdy = _mm_set1_epi32(dcdy); 176 __m128i cio4 = _mm_set1_epi32(cdiff); 197 __m128i xdcdy = _mm_set1_epi32(dcdy); 225 __m128i cio4 = _mm_set1_epi32(cdiff); 289 c = _mm_add_epi32(c, mm_mullo_epi32(dcdx, _mm_set1_epi32(x))); 290 c = _mm_add_epi32(c, mm_mullo_epi32(dcdy, _mm_set1_epi32(y))); 294 c = _mm_sub_epi32(c, _mm_set1_epi32(1)); 295 rej4 = _mm_add_epi32(rej4, _mm_set1_epi32(1)); 398 c = _mm_add_epi32(c, mm_mullo_epi32(dcdx, _mm_set1_epi32(x))); 399 c = _mm_add_epi32(c, mm_mullo_epi32(dcdy, _mm_set1_epi32(y))) [all...] |
/external/webp/src/dsp/ |
argb_sse2.c | 31 const __m128i red_blue_mask = _mm_set1_epi32(0x00ff00ffu);
|
alpha_processing_sse41.c | 29 const __m128i all_0xff = _mm_set1_epi32(~0u);
|
lossless_enc_sse2.c | 54 const __m128i mask_ag = _mm_set1_epi32(0xff00ff00); // alpha-green masks 55 const __m128i mask_rb = _mm_set1_epi32(0x00ff00ff); // red-blue masks 87 const __m128i mask_g = _mm_set1_epi32(0x00ff00); // green mask 88 const __m128i mask_b = _mm_set1_epi32(0x0000ff); // blue mask 134 const __m128i mask_g = _mm_set1_epi32(0x00ff00); // green mask 135 const __m128i mask = _mm_set1_epi32(0xff);
|
/external/opencv3/modules/hal/include/opencv2/hal/ |
intrin_sse.hpp | 385 __m128i z = _mm_setzero_si128(), maxval32 = _mm_set1_epi32(65535), delta32 = _mm_set1_epi32(32768); 394 __m128i z = _mm_setzero_si128(), maxval32 = _mm_set1_epi32(65535), delta32 = _mm_set1_epi32(32768); 403 __m128i delta = _mm_set1_epi32(1 << (n-1)), delta32 = _mm_set1_epi32(32768); 412 __m128i delta = _mm_set1_epi32(1 << (n-1)), delta32 = _mm_set1_epi32(32768); 420 __m128i delta32 = _mm_set1_epi32(32768); 427 __m128i delta32 = _mm_set1_epi32(32768) [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsics_x86.cpp | 416 biasY = _mm_set1_epi32(param[8]); /* 16 */ 417 biasUV = _mm_set1_epi32(param[16]); /* 128 */ 419 c0 = _mm_set1_epi32(param[0]); /* 298 */ 420 c1 = _mm_set1_epi32(param[1]); /* 409 */ 421 c2 = _mm_set1_epi32(param[2]); /* -100 */ 422 c3 = _mm_set1_epi32(param[3]); /* 516 */ 423 c4 = _mm_set1_epi32(param[4]); /* -208 */ 427 A = _mm_set1_epi32(255); 431 Y = cvtepu8_epi32(_mm_set1_epi32(*(const int *)pY)); 432 UV = cvtepu8_epi32(_mm_set1_epi32(*(const int *)pUV)) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
vp9_subpixel_8t_intrin_ssse3.c | 53 addFilterReg64 =_mm_set1_epi32((int)0x0400040u); 123 addFilterReg64 = _mm_set1_epi32((int)0x0400040u); 203 addFilterReg64 = _mm_set1_epi32((int)0x0400040u); 319 addFilterReg64 = _mm_set1_epi32((int)0x0400040u); 397 addFilterReg64 = _mm_set1_epi32((int)0x0400040u);
|
/external/pdfium/third_party/libopenjpeg20/ |
mct.c | 217 const __m128i ry = _mm_set1_epi32(2449); 218 const __m128i gy = _mm_set1_epi32(4809); 219 const __m128i by = _mm_set1_epi32(934); 220 const __m128i ru = _mm_set1_epi32(1382); 221 const __m128i gu = _mm_set1_epi32(2714); 222 /* const __m128i bu = _mm_set1_epi32(4096); */ 223 /* const __m128i rv = _mm_set1_epi32(4096); */ 224 const __m128i gv = _mm_set1_epi32(3430); 225 const __m128i bv = _mm_set1_epi32(666);
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
highbd_quantize_intrin_sse2.c | 39 zbins[1] = _mm_set1_epi32((int)zbin_ptr[1]); 129 zbins[1] = _mm_set1_epi32(zbin1_tmp);
|
/external/opencv3/modules/hal/src/ |
mathfuncs.cpp | 690 _mm_store_si128((__m128i*)tab_idx, _mm_and_si128(xi0, _mm_set1_epi32(EXPTAB_MASK))); 692 xi0 = _mm_add_epi32(_mm_srai_epi32(xi0, EXPTAB_SCALE), _mm_set1_epi32(1023)); [all...] |