/external/skia/src/opts/ |
D | SkBitmapProcState_matrixProcs_neon.cpp | 96 int32x4_t wide_fx; in decal_filter_scale_neon() local 100 wide_fx = vdupq_n_s32(fx); in decal_filter_scale_neon() 101 wide_fx = vsetq_lane_s32(fx+dx, wide_fx, 1); in decal_filter_scale_neon() 102 wide_fx = vsetq_lane_s32(fx+dx+dx, wide_fx, 2); in decal_filter_scale_neon() 103 wide_fx = vsetq_lane_s32(fx+dx+dx+dx, wide_fx, 3); in decal_filter_scale_neon() 105 wide_fx2 = vaddq_s32(wide_fx, vdupq_n_s32(dx+dx+dx+dx)); in decal_filter_scale_neon() 111 wide_out = vshlq_n_s32(vshrq_n_s32(wide_fx, 12), 14); in decal_filter_scale_neon() 113 vaddq_s32(vshrq_n_s32(wide_fx,16), vdupq_n_s32(1))); in decal_filter_scale_neon() 124 wide_fx = vaddq_s32(wide_fx, wide_dx8); in decal_filter_scale_neon()
|
D | SkBitmapProcState_matrix_clamp_neon.h | 521 int32x4_t wide_fx, wide_fx1, wide_i, wide_lo; in SCALE_FILTER_NAME() local 528 wide_fx = vdupq_n_s32(fx); in SCALE_FILTER_NAME() 529 wide_fx = vsetq_lane_s32(fx+dx, wide_fx, 1); in SCALE_FILTER_NAME() 530 wide_fx = vsetq_lane_s32(fx+dx+dx, wide_fx, 2); in SCALE_FILTER_NAME() 531 wide_fx = vsetq_lane_s32(fx+dx+dx+dx, wide_fx, 3); in SCALE_FILTER_NAME() 544 wide_i = vmaxq_s32(vshrq_n_s32(wide_fx,16), vdupq_n_s32(0)); in SCALE_FILTER_NAME() 548 wide_lo = vshrq_n_s32(wide_fx, 12); in SCALE_FILTER_NAME() 555 wide_fx1 = vaddq_s32(wide_fx, wide_one); in SCALE_FILTER_NAME() 584 wide_fx += vdupq_n_s32(dx+dx+dx+dx); in SCALE_FILTER_NAME() 621 int32x4_t wide_dx, wide_fx, wide_onex, wide_fx1; in AFFINE_FILTER_NAME() local [all …]
|
D | SkBitmapProcState_opts_SSE2.cpp | 281 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2() local 287 wide_out = _mm_slli_epi32(_mm_srai_epi32(wide_fx, 12), 14); in ClampX_ClampY_filter_scale_SSE2() 289 _mm_srai_epi32(wide_fx, 16), wide_1)); in ClampX_ClampY_filter_scale_SSE2() 295 wide_fx = _mm_add_epi32(wide_fx, wide_dx4); in ClampX_ClampY_filter_scale_SSE2() 317 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2() local 330 wide_i = _mm_max_epi16(_mm_srli_epi32(wide_fx, 16), in ClampX_ClampY_filter_scale_SSE2() 335 wide_lo = _mm_srli_epi32(wide_fx, 12); in ClampX_ClampY_filter_scale_SSE2() 344 wide_fx1 = _mm_add_epi32(wide_fx, wide_one); in ClampX_ClampY_filter_scale_SSE2() 353 wide_fx = _mm_add_epi32(wide_fx, wide_dx4); in ClampX_ClampY_filter_scale_SSE2() 592 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_affine_SSE2() local [all …]
|
/external/skia/legacy/src/core/ |
D | SkBitmapProcState_matrix_clamp.h | 525 int32x4_t wide_fx, wide_fx1, wide_i, wide_lo; in SCALE_FILTER_NAME() local 532 wide_fx = vdupq_n_s32(fx); in SCALE_FILTER_NAME() 533 wide_fx = vsetq_lane_s32(fx+dx, wide_fx, 1); in SCALE_FILTER_NAME() 534 wide_fx = vsetq_lane_s32(fx+dx+dx, wide_fx, 2); in SCALE_FILTER_NAME() 535 wide_fx = vsetq_lane_s32(fx+dx+dx+dx, wide_fx, 3); in SCALE_FILTER_NAME() 548 wide_i = vmaxq_s32(vshrq_n_s32(wide_fx,16), vdupq_n_s32(0)); in SCALE_FILTER_NAME() 552 wide_lo = vshrq_n_s32(wide_fx, 12); in SCALE_FILTER_NAME() 559 wide_fx1 = vaddq_s32(wide_fx, wide_one); in SCALE_FILTER_NAME() 588 wide_fx += vdupq_n_s32(dx+dx+dx+dx); in SCALE_FILTER_NAME() 625 int32x4_t wide_dx, wide_fx, wide_onex, wide_fx1; in AFFINE_FILTER_NAME() local [all …]
|
D | SkBitmapProcState_matrixProcs.cpp | 231 int32x4_t wide_fx; in decal_filter_scale() local 235 wide_fx = vdupq_n_s32(fx); in decal_filter_scale() 236 wide_fx = vsetq_lane_s32(fx+dx, wide_fx, 1); in decal_filter_scale() 237 wide_fx = vsetq_lane_s32(fx+dx+dx, wide_fx, 2); in decal_filter_scale() 238 wide_fx = vsetq_lane_s32(fx+dx+dx+dx, wide_fx, 3); in decal_filter_scale() 240 wide_fx2 = vaddq_s32(wide_fx, vdupq_n_s32(dx+dx+dx+dx)); in decal_filter_scale() 246 wide_out = vshlq_n_s32(vshrq_n_s32(wide_fx, 12), 14); in decal_filter_scale() 248 vaddq_s32(vshrq_n_s32(wide_fx,16), vdupq_n_s32(1))); in decal_filter_scale() 259 wide_fx = vaddq_s32(wide_fx, wide_dx8); in decal_filter_scale()
|
/external/skia/legacy/src/opts/ |
D | SkBitmapProcState_opts_SSE2.cpp | 281 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2() local 287 wide_out = _mm_slli_epi32(_mm_srai_epi32(wide_fx, 12), 14); in ClampX_ClampY_filter_scale_SSE2() 289 _mm_srai_epi32(wide_fx, 16), wide_1)); in ClampX_ClampY_filter_scale_SSE2() 295 wide_fx = _mm_add_epi32(wide_fx, wide_dx4); in ClampX_ClampY_filter_scale_SSE2() 317 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2() local 330 wide_i = _mm_max_epi16(_mm_srli_epi32(wide_fx, 16), in ClampX_ClampY_filter_scale_SSE2() 335 wide_lo = _mm_srli_epi32(wide_fx, 12); in ClampX_ClampY_filter_scale_SSE2() 344 wide_fx1 = _mm_add_epi32(wide_fx, wide_one); in ClampX_ClampY_filter_scale_SSE2() 353 wide_fx = _mm_add_epi32(wide_fx, wide_dx4); in ClampX_ClampY_filter_scale_SSE2() 592 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_nofilter_affine_SSE2() local [all …]
|