Home
last modified time | relevance | path

Searched refs:dest_scan (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/core/fxge/dib/
Dfx_dib_composite.cpp212 uint8_t* dest_scan, in RGB_Blend() argument
220 back.red = dest_scan[2]; in RGB_Blend()
221 back.green = dest_scan[1]; in RGB_Blend()
222 back.blue = dest_scan[0]; in RGB_Blend()
242 void CompositeRow_Argb2Mask(uint8_t* dest_scan, in CompositeRow_Argb2Mask() argument
252 uint8_t back_alpha = *dest_scan; in CompositeRow_Argb2Mask()
254 *dest_scan = src_alpha; in CompositeRow_Argb2Mask()
256 *dest_scan = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_Argb2Mask()
258 dest_scan++; in CompositeRow_Argb2Mask()
263 void CompositeRow_Rgba2Mask(uint8_t* dest_scan, in CompositeRow_Rgba2Mask() argument
[all …]
Dfx_dib_convert.cpp155 uint8_t* dest_scan = dest_buf + row * dest_pitch; in ConvertBuffer_1bppMask2Gray() local
156 FXSYS_memset(dest_scan, reset_gray, width); in ConvertBuffer_1bppMask2Gray()
160 *dest_scan = set_gray; in ConvertBuffer_1bppMask2Gray()
162 dest_scan++; in ConvertBuffer_1bppMask2Gray()
176 uint8_t* dest_scan = dest_buf + row * dest_pitch; in ConvertBuffer_8bppMask2Gray() local
178 FXSYS_memcpy(dest_scan, src_scan, width); in ConvertBuffer_8bppMask2Gray()
217 uint8_t* dest_scan = dest_buf + row * dest_pitch; in ConvertBuffer_1bppPlt2Gray() local
218 FXSYS_memset(dest_scan, gray[0], width); in ConvertBuffer_1bppPlt2Gray()
222 *dest_scan = gray[1]; in ConvertBuffer_1bppPlt2Gray()
224 dest_scan++; in ConvertBuffer_1bppPlt2Gray()
[all …]
Dfx_dib_main.cpp197 uint32_t* dest_scan = (uint32_t*)pNewBitmap->GetScanline(row - rect.top); in Clone() local
199 dest_scan[i] = in Clone()
210 uint8_t* dest_scan = (uint8_t*)pNewBitmap->GetScanline(row - rect.top); in Clone() local
211 FXSYS_memcpy(dest_scan, src_scan, copy_len); in Clone()
424 uint8_t* dest_scan = m_pBuffer + (dest_top + row) * m_Pitch; in TransferBitmap() local
429 dest_scan[(dest_left + col) / 8] |= 1 in TransferBitmap()
432 dest_scan[(dest_left + col) / 8] &= in TransferBitmap()
440 uint8_t* dest_scan = in TransferBitmap() local
444 FXSYS_memcpy(dest_scan, src_scan, width * Bpp); in TransferBitmap()
623 uint8_t* dest_scan = in CloneAlphaMask() local
[all …]
Dfx_dib_engine.cpp446 uint8_t* dest_scan = in ContinueStretchHorz() local
476 *dest_scan++ = (uint8_t)(dest_a >> 16); in ContinueStretchHorz()
497 *dest_scan++ = (uint8_t)(dest_a >> 16); in ContinueStretchHorz()
521 *dest_scan++ = (uint8_t)(dest_r >> 16); in ContinueStretchHorz()
557 *dest_scan++ = (uint8_t)(dest_b_c >> 16); in ContinueStretchHorz()
558 *dest_scan++ = (uint8_t)(dest_g_m >> 16); in ContinueStretchHorz()
559 *dest_scan++ = (uint8_t)(dest_r_y >> 16); in ContinueStretchHorz()
597 *dest_scan++ = (uint8_t)(dest_b_c >> 16); in ContinueStretchHorz()
598 *dest_scan++ = (uint8_t)(dest_g_m >> 16); in ContinueStretchHorz()
599 *dest_scan++ = (uint8_t)(dest_r_y >> 16); in ContinueStretchHorz()
[all …]
Dfx_dib_transform.cpp211 uint8_t* dest_scan = dest_buf; in SwapXY() local
213 dest_scan += (result_height - 1) * dest_pitch; in SwapXY()
218 dest_scan[dest_col / 8] &= ~(1 << (7 - dest_col % 8)); in SwapXY()
220 dest_scan += dest_step; in SwapXY()
232 uint8_t* dest_scan = dest_buf + dest_col * nBytes; in SwapXY() local
234 dest_scan += (result_height - 1) * dest_pitch; in SwapXY()
239 *(uint32_t*)dest_scan = *src_scan++; in SwapXY()
240 dest_scan += dest_step; in SwapXY()
246 *dest_scan = *src_scan++; in SwapXY()
247 dest_scan += dest_step; in SwapXY()
[all …]
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp79 uint8_t* dest_scan = in RgbByteOrderCompositeRect() local
82 uint32_t* scan = (uint32_t*)dest_scan; in RgbByteOrderCompositeRect()
87 *dest_scan++ = src_r; in RgbByteOrderCompositeRect()
88 *dest_scan++ = src_g; in RgbByteOrderCompositeRect()
89 *dest_scan++ = src_b; in RgbByteOrderCompositeRect()
96 uint8_t* dest_scan = pBuffer + row * pBitmap->GetPitch() + rect.left * Bpp; in RgbByteOrderCompositeRect() local
99 uint8_t back_alpha = dest_scan[3]; in RgbByteOrderCompositeRect()
101 FXARGB_SETRGBORDERDIB(dest_scan, in RgbByteOrderCompositeRect()
103 dest_scan += 4; in RgbByteOrderCompositeRect()
108 dest_scan[3] = dest_alpha; in RgbByteOrderCompositeRect()
[all …]
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp75 uint8_t* dest_scan = buffer + (dest_top + row) * pitch + dest_left * Bpp; in RgbByteOrderTransferBitmap() local
80 FXARGB_SETDIB(dest_scan, FXARGB_MAKE(src_scan[3], src_scan[0], in RgbByteOrderTransferBitmap()
82 dest_scan += 4; in RgbByteOrderTransferBitmap()
87 *dest_scan++ = src_scan[2]; in RgbByteOrderTransferBitmap()
88 *dest_scan++ = src_scan[1]; in RgbByteOrderTransferBitmap()
89 *dest_scan++ = src_scan[0]; in RgbByteOrderTransferBitmap()
101 uint8_t* dest_scan = dest_buf + row * pitch; in RgbByteOrderTransferBitmap() local
105 *dest_scan++ = src_scan[2]; in RgbByteOrderTransferBitmap()
106 *dest_scan++ = src_scan[1]; in RgbByteOrderTransferBitmap()
107 *dest_scan++ = src_scan[0]; in RgbByteOrderTransferBitmap()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp862 void CPDF_DIBSource::TranslateScanline24bpp(uint8_t* dest_scan, in TranslateScanline24bpp() argument
877 *dest_scan++ = src_pos[4]; in TranslateScanline24bpp()
878 *dest_scan++ = src_pos[2]; in TranslateScanline24bpp()
879 *dest_scan++ = *src_pos; in TranslateScanline24bpp()
885 *dest_scan++ = src_pos[2]; in TranslateScanline24bpp()
886 *dest_scan++ = src_pos[1]; in TranslateScanline24bpp()
887 *dest_scan++ = *src_pos; in TranslateScanline24bpp()
904 dest_scan[dest_byte_pos] = B * 255 / max_data; in TranslateScanline24bpp()
905 dest_scan[dest_byte_pos + 1] = G * 255 / max_data; in TranslateScanline24bpp()
906 dest_scan[dest_byte_pos + 2] = R * 255 / max_data; in TranslateScanline24bpp()
[all …]
Dcpdf_dibsource.h52 uint8_t* dest_scan,
83 void TranslateScanline24bpp(uint8_t* dest_scan,
90 uint8_t* dest_scan,
99 uint8_t* dest_scan,
108 uint8_t* dest_scan,
Dcpdf_imagerenderer.cpp266 uint8_t* dest_scan = in CalculateDrawImage() local
272 dest_scan += 4; in CalculateDrawImage()
275 int orig = (*dest_scan - matte_b) * 255 / alpha + matte_b; in CalculateDrawImage()
276 *dest_scan++ = std::min(std::max(orig, 0), 255); in CalculateDrawImage()
277 orig = (*dest_scan - matte_g) * 255 / alpha + matte_g; in CalculateDrawImage()
278 *dest_scan++ = std::min(std::max(orig, 0), 255); in CalculateDrawImage()
279 orig = (*dest_scan - matte_r) * 255 / alpha + matte_r; in CalculateDrawImage()
280 *dest_scan++ = std::min(std::max(orig, 0), 255); in CalculateDrawImage()
281 dest_scan++; in CalculateDrawImage()
/external/pdfium/core/fxge/ge/
Dcfx_renderdevice.cpp228 uint8_t* dest_scan = dest_buf + dest_row * dest_pitch + start_col * Bpp; in DrawNormalTextHelper() local
233 Merge(src_scan[2], r, a, &dest_scan[2]); in DrawNormalTextHelper()
234 Merge(src_scan[1], g, a, &dest_scan[1]); in DrawNormalTextHelper()
235 Merge(src_scan[0], b, a, &dest_scan[0]); in DrawNormalTextHelper()
237 MergeGammaAdjustBgr(&src_scan[0], r, g, b, a, &dest_scan[0]); in DrawNormalTextHelper()
239 pSetAlpha(dest_scan); in DrawNormalTextHelper()
240 NextPixel(&src_scan, &dest_scan, Bpp); in DrawNormalTextHelper()
243 MergeGammaAdjust(src_scan[1], r, a, &dest_scan[2]); in DrawNormalTextHelper()
244 MergeGammaAdjust(src_scan[0], g, a, &dest_scan[1]); in DrawNormalTextHelper()
246 MergeGammaAdjust(src_scan[-1], b, a, &dest_scan[0]); in DrawNormalTextHelper()
[all …]
Dcfx_cliprgn.cpp55 uint8_t* dest_scan = in IntersectMaskRect() local
60 dest_scan[col - m_Box.left] = src_scan[col - mask_rect.left]; in IntersectMaskRect()
/external/pdfium/core/fxge/
Dfx_dib.h179 uint8_t* dest_scan,
295 uint8_t* dest_scan,
434 uint8_t* dest_scan,
477 void CompositeRgbBitmapLine(uint8_t* dest_scan,
484 void CompositePalBitmapLine(uint8_t* dest_scan,
492 void CompositeByteMaskLine(uint8_t* dest_scan,
498 void CompositeBitMaskLine(uint8_t* dest_scan,
547 void DoCompose(uint8_t* dest_scan,
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp551 uint8_t* dest_scan = line_buf; local
554 dest_scan[0] = src_scan[2];
555 dest_scan[1] = src_scan[1];
556 dest_scan[2] = src_scan[0];
557 dest_scan += 3;
562 *dest_scan++ = ~*src_scan++;
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp466 uint8_t* dest_scan = output_buf + row * src_pitch; in DrawDIBits() local
469 *dest_scan++ = src_scan[2]; in DrawDIBits()
470 *dest_scan++ = src_scan[1]; in DrawDIBits()
471 *dest_scan++ = *src_scan; in DrawDIBits()
475 FXSYS_memcpy(dest_scan, src_scan, src_pitch); in DrawDIBits()
Dfx_win32_gdipext.cpp493 LPBYTE dest_scan = dest_buf + dest_y * result_pitch; in StretchMonoToGray() local
513 dest_scan[dest_x] = 255 - sum / area_unit; in StretchMonoToGray()