Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcstretchengine.cpp527 const uint8_t* src_pixel = src_scan + j * Bpp; in ContinueStretchHorz() local
528 dest_b_c += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
529 dest_g_m += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
530 dest_r_y += pixel_weight * (*src_pixel); in ContinueStretchHorz()
557 const uint8_t* src_pixel = src_scan + j * Bpp; in ContinueStretchHorz() local
559 pixel_weight = pixel_weight * src_pixel[3] / 255; in ContinueStretchHorz()
563 dest_b_c += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
564 dest_g_m += pixel_weight * (*src_pixel++); in ContinueStretchHorz()
565 dest_r_y += pixel_weight * (*src_pixel); in ContinueStretchHorz()
673 const uint8_t* src_pixel = in StretchVert() local
[all …]
Dcfx_dibsource.cpp414 uint8_t src_pixel; in ConvertBuffer_8bppMask2Rgb() local
416 src_pixel = *src_scan++; in ConvertBuffer_8bppMask2Rgb()
417 *dest_scan++ = src_pixel; in ConvertBuffer_8bppMask2Rgb()
418 *dest_scan++ = src_pixel; in ConvertBuffer_8bppMask2Rgb()
419 *dest_scan = src_pixel; in ConvertBuffer_8bppMask2Rgb()
511 uint8_t* src_pixel = bgr_ptr + 3 * (*src_scan++); in ConvertBuffer_8bppPlt2Rgb() local
512 *dest_scan++ = *src_pixel++; in ConvertBuffer_8bppPlt2Rgb()
513 *dest_scan++ = *src_pixel++; in ConvertBuffer_8bppPlt2Rgb()
514 *dest_scan = *src_pixel++; in ConvertBuffer_8bppPlt2Rgb()
Dcfx_imagetransformer.cpp381 const uint8_t* src_pixel = in CalcAlpha() local
383 *dest = *src_pixel; in CalcAlpha()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp1528 const uint8_t* src_pixel = src_scan + j * src_Bpp; in ReSampleScanline() local
1529 des_b += pixel_weight * (*src_pixel++); in ReSampleScanline()
1530 des_g += pixel_weight * (*src_pixel++); in ReSampleScanline()
1531 des_r += pixel_weight * (*src_pixel); in ReSampleScanline()
1542 const uint8_t* src_pixel = src_scan + j * src_Bpp; in ReSampleScanline() local
1547 AdobeCMYK_to_sRGB1(255 - src_pixel[0], 255 - src_pixel[1], in ReSampleScanline()
1548 255 - src_pixel[2], 255 - src_pixel[3]); in ReSampleScanline()
1625 const uint8_t* src_pixel = src_scan + j * src_Bpp; in ReSampleScanline() local
1626 des_b += pixel_weight * (*src_pixel++); in ReSampleScanline()
1627 des_g += pixel_weight * (*src_pixel++); in ReSampleScanline()
[all …]
/external/webp/src/mux/
Danim_encode.c645 const uint32_t src_pixel = src->argb[j * src->argb_stride + i]; in IsLosslessBlendingPossible() local
648 if (dst_alpha != 0xff && src_pixel != dst_pixel) { in IsLosslessBlendingPossible()
669 const uint32_t src_pixel = src->argb[j * src->argb_stride + i]; in IsLossyBlendingPossible() local
673 !PixelsAreSimilar(src_pixel, dst_pixel, max_allowed_diff_lossy)) { in IsLossyBlendingPossible()
736 const uint32_t src_pixel = psrc[x + y * src->argb_stride]; in FlattenSimilarBlocks() local
737 const int alpha = src_pixel >> 24; in FlattenSimilarBlocks()
739 PixelsAreSimilar(src_pixel, pdst[x + y * dst->argb_stride], in FlattenSimilarBlocks()
742 avg_r += (src_pixel >> 16) & 0xff; in FlattenSimilarBlocks()
743 avg_g += (src_pixel >> 8) & 0xff; in FlattenSimilarBlocks()
744 avg_b += (src_pixel >> 0) & 0xff; in FlattenSimilarBlocks()
/external/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp552 __m128i src_pixel = _mm_cvtsi32_si128(*p); in morph() local
553 extreme = (type == kDilate) ? _mm_max_epu8(src_pixel, extreme) in morph()
554 : _mm_min_epu8(src_pixel, extreme); in morph()
584 uint8x8_t src_pixel = vreinterpret_u8_u32(vdup_n_u32(*p)); in morph() local
585 extreme = (type == kDilate) ? vmax_u8(src_pixel, extreme) in morph()
586 : vmin_u8(src_pixel, extreme); in morph()
/external/skqp/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp549 __m128i src_pixel = _mm_cvtsi32_si128(*p); in morph() local
550 extreme = (type == kDilate) ? _mm_max_epu8(src_pixel, extreme) in morph()
551 : _mm_min_epu8(src_pixel, extreme); in morph()
581 uint8x8_t src_pixel = vreinterpret_u8_u32(vdup_n_u32(*p)); in morph() local
582 extreme = (type == kDilate) ? vmax_u8(src_pixel, extreme) in morph()
583 : vmin_u8(src_pixel, extreme); in morph()