/external/pdfium/core/fxge/dib/ |
D | cfx_scanlinecompositor.cpp | 151 const uint8_t* dest_scan, in RGB_Blend() argument 159 back.red = dest_scan[2]; in RGB_Blend() 160 back.green = dest_scan[1]; in RGB_Blend() 161 back.blue = dest_scan[0]; in RGB_Blend() 199 void CompositeRow_AlphaToMask(uint8_t* dest_scan, in CompositeRow_AlphaToMask() argument 207 uint8_t back_alpha = *dest_scan; in CompositeRow_AlphaToMask() 209 *dest_scan = src_alpha; in CompositeRow_AlphaToMask() 211 *dest_scan = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_AlphaToMask() 212 ++dest_scan; in CompositeRow_AlphaToMask() 217 void CompositeRow_Rgb2Mask(uint8_t* dest_scan, in CompositeRow_Rgb2Mask() argument [all …]
|
D | cfx_dibbase.cpp | 110 uint8_t* dest_scan = dest_buf + row * dest_pitch; in ConvertBuffer_1bppMask2Gray() local 111 memset(dest_scan, kResetGray, width); in ConvertBuffer_1bppMask2Gray() 115 *dest_scan = kSetGray; in ConvertBuffer_1bppMask2Gray() 116 ++dest_scan; in ConvertBuffer_1bppMask2Gray() 129 uint8_t* dest_scan = dest_buf + row * dest_pitch; in ConvertBuffer_8bppMask2Gray() local 131 memcpy(dest_scan, src_scan, width); in ConvertBuffer_8bppMask2Gray() 169 uint8_t* dest_scan = dest_buf + row * dest_pitch; in ConvertBuffer_1bppPlt2Gray() local 170 memset(dest_scan, gray[0], width); in ConvertBuffer_1bppPlt2Gray() 174 *dest_scan = gray[1]; in ConvertBuffer_1bppPlt2Gray() 175 ++dest_scan; in ConvertBuffer_1bppPlt2Gray() [all …]
|
D | cfx_dibitmap.cpp | 253 uint8_t* dest_scan = in TransferWithMultipleBPP() local 257 memcpy(dest_scan, src_scan, width * Bpp); in TransferWithMultipleBPP() 270 uint8_t* dest_scan = m_pBuffer.Get() + (dest_top + row) * m_Pitch; in TransferEqualFormatsOneBPP() local 276 dest_scan[(dest_idx) / 8] |= 1 << (7 - (dest_idx) % 8); in TransferEqualFormatsOneBPP() 278 dest_scan[(dest_idx) / 8] &= ~(1 << (7 - (dest_idx) % 8)); in TransferEqualFormatsOneBPP() 458 uint8_t* dest_scan = m_pBuffer.Get() + m_Pitch * row; in MultiplyAlpha() local 463 dest_scan[col] = 0; in MultiplyAlpha() 467 *dest_scan = (*dest_scan) * src_scan[col] / 255; in MultiplyAlpha() 468 dest_scan++; in MultiplyAlpha() 478 uint8_t* dest_scan = m_pBuffer.Get() + m_Pitch * row + 3; in MultiplyAlpha() local [all …]
|
D | cfx_bitmapcomposer.cpp | 68 void CFX_BitmapComposer::DoCompose(uint8_t* dest_scan, in DoCompose() argument 85 m_Compositor.CompositeByteMaskLine(dest_scan, src_scan, dest_width, in DoCompose() 88 m_Compositor.CompositePalBitmapLine(dest_scan, src_scan, 0, dest_width, in DoCompose() 92 m_Compositor.CompositeRgbBitmapLine(dest_scan, src_scan, dest_width, in DoCompose() 112 uint8_t* dest_scan = m_pBitmap->GetWritableScanline(line + m_DestTop) + in ComposeScanline() local 119 DoCompose(dest_scan, scanline, m_DestWidth, clip_scan, scan_extra_alpha, in ComposeScanline() 148 uint8_t* dest_scan = dest_buf; in ComposeScanlineV() local 151 *src_scan++ = dest_scan[j]; in ComposeScanlineV() 152 dest_scan += y_step; in ComposeScanlineV() 182 dest_scan = dest_buf; in ComposeScanlineV() [all …]
|
D | cstretchengine.cpp | 365 uint8_t* dest_scan = in ContinueStretchHorz() local 392 *dest_scan++ = static_cast<uint8_t>(dest_a >> 16); in ContinueStretchHorz() 410 *dest_scan++ = static_cast<uint8_t>(dest_a >> 16); in ContinueStretchHorz() 433 *dest_scan++ = static_cast<uint8_t>(dest_r >> 16); in ContinueStretchHorz() 466 *dest_scan++ = static_cast<uint8_t>(dest_b_c >> 16); in ContinueStretchHorz() 467 *dest_scan++ = static_cast<uint8_t>(dest_g_m >> 16); in ContinueStretchHorz() 468 *dest_scan++ = static_cast<uint8_t>(dest_r_y >> 16); in ContinueStretchHorz() 504 *dest_scan++ = static_cast<uint8_t>(dest_b_c >> 16); in ContinueStretchHorz() 505 *dest_scan++ = static_cast<uint8_t>(dest_g_m >> 16); in ContinueStretchHorz() 506 *dest_scan++ = static_cast<uint8_t>(dest_r_y >> 16); in ContinueStretchHorz() [all …]
|
D | cfx_scanlinecompositor.h | 29 void CompositeRgbBitmapLine(uint8_t* dest_scan, 36 void CompositePalBitmapLine(uint8_t* dest_scan, 44 void CompositeByteMaskLine(uint8_t* dest_scan, 50 void CompositeBitMaskLine(uint8_t* dest_scan,
|
D | cfx_bitmapcomposer.h | 49 void DoCompose(uint8_t* dest_scan,
|
D | cfx_dibbase.h | 41 uint8_t* dest_scan,
|
D | cfx_dibitmap.h | 36 uint8_t* dest_scan,
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 90 uint8_t* dest_scan = in RgbByteOrderCompositeRect() local 93 uint32_t* scan = reinterpret_cast<uint32_t*>(dest_scan); in RgbByteOrderCompositeRect() 98 *dest_scan++ = src_r; in RgbByteOrderCompositeRect() 99 *dest_scan++ = src_g; in RgbByteOrderCompositeRect() 100 *dest_scan++ = src_b; in RgbByteOrderCompositeRect() 108 uint8_t* dest_scan = pBuffer + row * pBitmap->GetPitch() + rect.left * Bpp; in RgbByteOrderCompositeRect() local 111 uint8_t back_alpha = dest_scan[3]; in RgbByteOrderCompositeRect() 113 FXARGB_SETRGBORDERDIB(dest_scan, in RgbByteOrderCompositeRect() 115 dest_scan += 4; in RgbByteOrderCompositeRect() 120 dest_scan[3] = dest_alpha; in RgbByteOrderCompositeRect() [all …]
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 246 uint8_t* dest_scan = dest_buf + dest_row * dest_pitch + start_col * Bpp; in DrawNormalTextHelper() local 251 Merge(src_scan[2], r, a, &dest_scan[2]); in DrawNormalTextHelper() 252 Merge(src_scan[1], g, a, &dest_scan[1]); in DrawNormalTextHelper() 253 Merge(src_scan[0], b, a, &dest_scan[0]); in DrawNormalTextHelper() 255 MergeGammaAdjustBgr(&src_scan[0], r, g, b, a, &dest_scan[0]); in DrawNormalTextHelper() 257 SetAlpha(has_alpha, dest_scan); in DrawNormalTextHelper() 258 NextPixel(&src_scan, &dest_scan, Bpp); in DrawNormalTextHelper() 263 MergeGammaAdjust(src_scan[1], r, a, &dest_scan[2]); in DrawNormalTextHelper() 264 MergeGammaAdjust(src_scan[0], g, a, &dest_scan[1]); in DrawNormalTextHelper() 266 MergeGammaAdjust(src_scan[-1], b, a, &dest_scan[0]); in DrawNormalTextHelper() [all …]
|
D | cfx_cliprgn.cpp | 50 uint8_t* dest_scan = in IntersectMaskRect() local 55 dest_scan[col - m_Box.left] = src_scan[col - mask_rect.left]; in IntersectMaskRect()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_dib.cpp | 879 void CPDF_DIB::TranslateScanline24bpp(uint8_t* dest_scan, in TranslateScanline24bpp() argument 884 if (TranslateScanline24bppDefaultDecode(dest_scan, src_scan)) in TranslateScanline24bpp() 921 dest_scan[dest_byte_pos] = static_cast<uint8_t>(B * 255); in TranslateScanline24bpp() 922 dest_scan[dest_byte_pos + 1] = static_cast<uint8_t>(G * 255); in TranslateScanline24bpp() 923 dest_scan[dest_byte_pos + 2] = static_cast<uint8_t>(R * 255); in TranslateScanline24bpp() 929 uint8_t* dest_scan, in TranslateScanline24bppDefaultDecode() argument 939 m_pColorSpace->TranslateImageLine(dest_scan, src_scan, m_Width, m_Width, in TranslateScanline24bppDefaultDecode() 952 *dest_scan++ = src_pos[2]; in TranslateScanline24bppDefaultDecode() 953 *dest_scan++ = src_pos[1]; in TranslateScanline24bppDefaultDecode() 954 *dest_scan++ = *src_pos; in TranslateScanline24bppDefaultDecode() [all …]
|
D | cpdf_dib.h | 55 uint8_t* dest_scan, 94 void TranslateScanline24bpp(uint8_t* dest_scan, 96 bool TranslateScanline24bppDefaultDecode(uint8_t* dest_scan, 103 uint8_t* dest_scan, 112 uint8_t* dest_scan, 121 uint8_t* dest_scan,
|
D | cpdf_transferfuncdib.cpp | 196 uint8_t* dest_scan, in DownSampleScanline() argument 202 m_pSrc->DownSampleScanline(line, dest_scan, dest_bpp, dest_width, bFlipX, in DownSampleScanline() 204 TranslateDownSamples(dest_scan, dest_scan, clip_width, dest_bpp); in DownSampleScanline()
|
D | cpdf_transferfuncdib.h | 38 uint8_t* dest_scan,
|
/external/pdfium/core/fxcodec/ |
D | progressivedecoder.cpp | 311 uint8_t* dest_scan = m_pDecodeBuf.get(); in PngAskScanlineBuf() local 318 dest_scan += dest_left * dest_Bpp; in PngAskScanlineBuf() 336 dest_scan[pPixelWeights->m_SrcStart] = (uint8_t)(dest_g >> 16); in PngAskScanlineBuf() 347 uint8_t* pDes = &dest_scan[pPixelWeights->m_SrcStart * dest_Bpp]; in PngAskScanlineBuf() 360 uint8_t* pDes = &dest_scan[pPixelWeights->m_SrcStart * dest_Bpp]; in PngAskScanlineBuf() 1149 uint8_t* dest_scan = pDeviceBitmap->GetWritableScanline(dest_line); in PngOneOneMapResampleHorz() local 1155 dest_scan += dest_left * dest_Bpp; in PngOneOneMapResampleHorz() 1173 *dest_scan++ = (uint8_t)(dest_g >> 16); in PngOneOneMapResampleHorz() 1189 *dest_scan++ = (uint8_t)((dest_b) >> 16); in PngOneOneMapResampleHorz() 1190 *dest_scan++ = (uint8_t)((dest_g) >> 16); in PngOneOneMapResampleHorz() [all …]
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_imagerenderer.cpp | 245 uint8_t* dest_scan = pBitmapDevice1->GetBitmap()->GetWritableScanline(row); in CalculateDrawImage() local 250 dest_scan += 4; in CalculateDrawImage() 253 int orig = (*dest_scan - matte_b) * 255 / alpha + matte_b; in CalculateDrawImage() 254 *dest_scan++ = pdfium::clamp(orig, 0, 255); in CalculateDrawImage() 255 orig = (*dest_scan - matte_g) * 255 / alpha + matte_g; in CalculateDrawImage() 256 *dest_scan++ = pdfium::clamp(orig, 0, 255); in CalculateDrawImage() 257 orig = (*dest_scan - matte_r) * 255 / alpha + matte_r; in CalculateDrawImage() 258 *dest_scan++ = pdfium::clamp(orig, 0, 255); in CalculateDrawImage() 259 dest_scan++; in CalculateDrawImage()
|
/external/pdfium/core/fxcodec/jpeg/ |
D | jpegmodule.cpp | 647 uint8_t* dest_scan = line_buf; in JpegEncode() local 650 dest_scan[0] = src_scan[2]; in JpegEncode() 651 dest_scan[1] = src_scan[1]; in JpegEncode() 652 dest_scan[2] = src_scan[0]; in JpegEncode() 653 dest_scan += 3; in JpegEncode() 658 *dest_scan++ = ~*src_scan++; in JpegEncode()
|
/external/pdfium/core/fxge/win32/ |
D | cfx_psrenderer.cpp | 407 uint8_t* dest_scan = output_buf + row * src_pitch; in DrawDIBits() local 410 *dest_scan++ = src_scan[2]; in DrawDIBits() 411 *dest_scan++ = src_scan[1]; in DrawDIBits() 412 *dest_scan++ = *src_scan; in DrawDIBits() 416 memcpy(dest_scan, src_scan, src_pitch); in DrawDIBits()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 89 uint8_t* dest_scan = buffer + (dest_top + row) * pitch + dest_left * Bpp; in RgbByteOrderTransferBitmap() local 94 FXARGB_SETDIB(dest_scan, ArgbEncode(src_scan[3], src_scan[0], in RgbByteOrderTransferBitmap() 96 dest_scan += 4; in RgbByteOrderTransferBitmap() 101 *dest_scan++ = src_scan[2]; in RgbByteOrderTransferBitmap() 102 *dest_scan++ = src_scan[1]; in RgbByteOrderTransferBitmap() 103 *dest_scan++ = src_scan[0]; in RgbByteOrderTransferBitmap() 115 uint8_t* dest_scan = dest_buf + row * pitch; in RgbByteOrderTransferBitmap() local 119 *dest_scan++ = src_scan[2]; in RgbByteOrderTransferBitmap() 120 *dest_scan++ = src_scan[1]; in RgbByteOrderTransferBitmap() 121 *dest_scan++ = src_scan[0]; in RgbByteOrderTransferBitmap() [all …]
|