Home
last modified time | relevance | path

Searched refs:src_pixel (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/opts/
DSkMorphologyImageFilter_opts.h34 __m128i src_pixel = _mm_cvtsi32_si128(*p); in morph() local
35 extreme = (type == kDilate) ? _mm_max_epu8(src_pixel, extreme) in morph()
36 : _mm_min_epu8(src_pixel, extreme); in morph()
66 uint8x8_t src_pixel = vreinterpret_u8_u32(vdup_n_u32(*p)); in morph() local
67 extreme = (type == kDilate) ? vmax_u8(src_pixel, extreme) in morph()
68 : vmin_u8(src_pixel, extreme); in morph()
DSkBlitRow_opts_SSE2.cpp45 __m128i src_pixel = _mm_loadu_si128(s); in S32_Blend_BlitRow32_SSE2() local
48 src_pixel = SkAlphaMulQ_SSE2(src_pixel, src_scale); in S32_Blend_BlitRow32_SSE2()
52 __m128i result = _mm_add_epi8(src_pixel, dst_pixel); in S32_Blend_BlitRow32_SSE2()
97 __m128i src_pixel = _mm_loadu_si128(s); in S32A_Opaque_BlitRow32_SSE2() local
103 __m128i alpha = _mm_srli_epi32(src_pixel, 24); in S32A_Opaque_BlitRow32_SSE2()
134 __m128i result = _mm_add_epi8(src_pixel, dst_pixel); in S32A_Opaque_BlitRow32_SSE2()
217 __m128i src_pixel = _mm_loadu_si128(s); in S32A_Blend_BlitRow32_SSE2() local
220 __m128i result = SkBlendARGB32_SSE2(src_pixel, dst_pixel, alpha); in S32A_Blend_BlitRow32_SSE2()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp533 const uint8_t* src_pixel = src_scan + j * Bpp; in ContinueStretchHorz() local
534 dest_b_c += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
535 dest_g_m += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
536 dest_r_y += pixel_weight * (*src_pixel); in ContinueStretchHorz()
561 const uint8_t* src_pixel = src_scan + j * Bpp; in ContinueStretchHorz() local
563 pixel_weight = pixel_weight * src_pixel[3] / 255; in ContinueStretchHorz()
567 dest_b_c += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
568 dest_g_m += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
569 dest_r_y += pixel_weight * (*src_pixel); in ContinueStretchHorz()
673 const uint8_t* src_pixel = in StretchVert() local
[all …]
Dfx_dib_convert.cpp684 uint8_t src_pixel; in _ConvertBuffer_8bppMask2Rgb() local
686 src_pixel = *src_scan++; in _ConvertBuffer_8bppMask2Rgb()
687 *dest_scan++ = src_pixel; in _ConvertBuffer_8bppMask2Rgb()
688 *dest_scan++ = src_pixel; in _ConvertBuffer_8bppMask2Rgb()
689 *dest_scan = src_pixel; in _ConvertBuffer_8bppMask2Rgb()
801 uint8_t* src_pixel = bgr_ptr + 3 * (*src_scan++); in _ConvertBuffer_8bppPlt2Rgb() local
802 *dest_scan++ = *src_pixel++; in _ConvertBuffer_8bppPlt2Rgb()
803 *dest_scan++ = *src_pixel++; in _ConvertBuffer_8bppPlt2Rgb()
804 *dest_scan = *src_pixel++; in _ConvertBuffer_8bppPlt2Rgb()
Dfx_dib_transform.cpp614 const uint8_t* src_pixel = in Continue() local
616 *dest_scan = *src_pixel; in Continue()
Dfx_dib_main.cpp1368 int src_pixel = scan[col]; local
1369 int dest_pixel = translate[src_pixel];
1371 int error = -dest_pixel + src_pixel;
/external/opencv/cvaux/src/
Dcvbgfg_gaussmix.cpp82 static int icvMatchTest( double* src_pixel, int nChannels, int* match,
94 static void icvUpdateFullWindow( double* src_pixel, int nChannels,
102 static void icvUpdatePartialWindow( double* src_pixel, int nChannels, int* match,
104 static void icvUpdatePartialNoMatch( double* src_pixel, int nChannels,
376 static int icvMatchTest( double* src_pixel, int nChannels, int* match, in icvMatchTest() argument
388 double d = g_point->g_values[k].mean[m]- src_pixel[m]; in icvMatchTest()
436 static void icvUpdateFullWindow( double* src_pixel, int nChannels, int* match, in icvUpdateFullWindow() argument
449 const double tmpDiff = src_pixel[m] - g_point->g_values[k].mean[m]; in icvUpdateFullWindow()
460 static void icvUpdatePartialWindow( double* src_pixel, int nChannels, int* match, CvGaussBGPoint* g… in icvUpdatePartialWindow() argument
480 const double tmpDiff = src_pixel[m] - g_point->g_values[k].mean[m]; in icvUpdatePartialWindow()
/external/opencv3/modules/core/src/opencl/
Dlut.cl74 __global const uchar4 * src_pixel = (__global const uchar4 *)(srcptr + src_index); \
75 int4 idx = mad24(convert_int4(src_pixel[0]), (int4)(lcn), (int4)(0, 1, 2, 3)); \
83 uchar3 src_pixel = vload3(0, srcptr + src_index); \
84 int3 idx = mad24(convert_int3(src_pixel), (int3)(lcn), (int3)(0, 1, 2)); \
91 __global const uchar2 * src_pixel = (__global const uchar2 *)(srcptr + src_index); \
92 int2 idx = mad24(convert_int2(src_pixel[0]), lcn, (int2)(0, 1)); \
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.cpp1526 const uint8_t* src_pixel = src_scan + j * src_Bpp; in ReSampleScanline() local
1527 des_b += pixel_weight * (*src_pixel++); in ReSampleScanline()
1528 des_g += pixel_weight * (*src_pixel++); in ReSampleScanline()
1529 des_r += pixel_weight * (*src_pixel); in ReSampleScanline()
1540 const uint8_t* src_pixel = src_scan + j * src_Bpp; in ReSampleScanline() local
1542 AdobeCMYK_to_sRGB1(255 - src_pixel[0], 255 - src_pixel[1], in ReSampleScanline()
1543 255 - src_pixel[2], 255 - src_pixel[3], src_r, in ReSampleScanline()
1621 const uint8_t* src_pixel = src_scan + j * src_Bpp; in ReSampleScanline() local
1622 des_b += pixel_weight * (*src_pixel++); in ReSampleScanline()
1623 des_g += pixel_weight * (*src_pixel++); in ReSampleScanline()
[all …]