/external/chromium_org/third_party/libvpx/source/libvpx/vpx_scale/generic/ |
H A D | gen_scalers.c | 70 unsigned int dest_pitch, 85 des[0 * dest_pitch] = (unsigned char) a; 86 des[1 * dest_pitch] = (unsigned char)((b * 192 + c * 64 + 128) >> 8); 87 des[2 * dest_pitch] = (unsigned char)((c * 128 + d * 128 + 128) >> 8); 88 des[3 * dest_pitch] = (unsigned char)((d * 64 + e * 192 + 128) >> 8); 148 unsigned int dest_pitch, 163 des[0 * dest_pitch] = (unsigned char) a; 164 des[1 * dest_pitch] = (unsigned char)((b * 85 + c * 171 + 128) >> 8); 165 des[2 * dest_pitch] = (unsigned char)((d * 171 + e * 85 + 128) >> 8); 214 unsigned int dest_pitch, 67 vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument 145 vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument 211 vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument 221 vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument [all...] |
H A D | vpx_scale.c | 213 * int dest_pitch : Stride of destination image. 243 int dest_pitch, 351 dest += dest_pitch; 375 temp_area + (i + 1)*dest_pitch, dest_width); 379 vert_band_scale(temp_area + dest_pitch, dest_pitch, dest, dest_pitch, dest_width); 382 vpx_memcpy(temp_area, temp_area + source_band_height * dest_pitch, dest_width); 386 dest += (unsigned long) dest_band_height * dest_pitch; 407 dest += dest_pitch; 235 Scale2D( unsigned char *source, int source_pitch, unsigned int source_width, unsigned int source_height, unsigned char *dest, int dest_pitch, unsigned int dest_width, unsigned int dest_height, unsigned char *temp_area, unsigned char temp_area_height, unsigned int hscale, unsigned int hratio, unsigned int vscale, unsigned int vratio, unsigned int interlaced ) argument [all...] |
/external/libvpx/libvpx/vpx_scale/generic/ |
H A D | gen_scalers.c | 70 unsigned int dest_pitch, 85 des[0 * dest_pitch] = (unsigned char) a; 86 des[1 * dest_pitch] = (unsigned char)((b * 192 + c * 64 + 128) >> 8); 87 des[2 * dest_pitch] = (unsigned char)((c * 128 + d * 128 + 128) >> 8); 88 des[3 * dest_pitch] = (unsigned char)((d * 64 + e * 192 + 128) >> 8); 148 unsigned int dest_pitch, 163 des[0 * dest_pitch] = (unsigned char) a; 164 des[1 * dest_pitch] = (unsigned char)((b * 85 + c * 171 + 128) >> 8); 165 des[2 * dest_pitch] = (unsigned char)((d * 171 + e * 85 + 128) >> 8); 214 unsigned int dest_pitch, 67 vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument 145 vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument 211 vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument 221 vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) argument [all...] |
H A D | vpx_scale.c | 213 * int dest_pitch : Stride of destination image. 243 int dest_pitch, 351 dest += dest_pitch; 375 temp_area + (i + 1)*dest_pitch, dest_width); 379 vert_band_scale(temp_area + dest_pitch, dest_pitch, dest, dest_pitch, dest_width); 382 vpx_memcpy(temp_area, temp_area + source_band_height * dest_pitch, dest_width); 386 dest += (unsigned long) dest_band_height * dest_pitch; 407 dest += dest_pitch; 235 Scale2D( unsigned char *source, int source_pitch, unsigned int source_width, unsigned int source_height, unsigned char *dest, int dest_pitch, unsigned int dest_width, unsigned int dest_height, unsigned char *temp_area, unsigned char temp_area_height, unsigned int hscale, unsigned int hratio, unsigned int vscale, unsigned int vratio, unsigned int interlaced ) argument [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_jbig.cpp | 29 FX_LPCBYTE global_data, FX_DWORD global_size, FX_LPBYTE dest_buf, FX_DWORD dest_pitch)
31 FXSYS_memset32(dest_buf, 0, height * dest_pitch);
37 int ret = pContext->getFirstPage(dest_buf, width, height, dest_pitch, NULL);
42 int dword_size = height * dest_pitch / 4;
87 FX_LPCBYTE global_data, FX_DWORD global_size, FX_LPBYTE dest_buf, FX_DWORD dest_pitch, IFX_Pause* pPause)
100 m_pJbig2Context->m_dest_pitch = dest_pitch;
103 FXSYS_memset32(dest_buf, 0, height * dest_pitch);
109 int ret = m_pJbig2Context->m_pContext->getFirstPage(dest_buf, width, height, dest_pitch, pPause);
116 int dword_size = height * dest_pitch / 4;
28 Decode(FX_DWORD width, FX_DWORD height, FX_LPCBYTE src_buf, FX_DWORD src_size, FX_LPCBYTE global_data, FX_DWORD global_size, FX_LPBYTE dest_buf, FX_DWORD dest_pitch) argument 86 StartDecode(void* pJbig2Context, FX_DWORD width, FX_DWORD height, FX_LPCBYTE src_buf, FX_DWORD src_size, FX_LPCBYTE global_data, FX_DWORD global_size, FX_LPBYTE dest_buf, FX_DWORD dest_pitch, IFX_Pause* pPause) argument
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_scale/win32/ |
H A D | scaleopt.c | 140 void vertical_band_5_4_scale_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 151 mov edx, dest_pitch // Loop counter 323 void vertical_band_5_3_scale_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 334 mov edx, dest_pitch // Loop counter 451 void vertical_band_2_1_scale_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 452 (void) dest_pitch; 462 void vertical_band_2_1_scale_i_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 464 (void) dest_pitch;
|
/external/libvpx/libvpx/vpx_scale/win32/ |
H A D | scaleopt.c | 140 void vertical_band_5_4_scale_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 151 mov edx, dest_pitch // Loop counter 323 void vertical_band_5_3_scale_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 334 mov edx, dest_pitch // Loop counter 451 void vertical_band_2_1_scale_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 452 (void) dest_pitch; 462 void vertical_band_2_1_scale_i_mmx(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) { argument 464 (void) dest_pitch;
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
H A D | fpdf_edit_image.cpp | 117 FX_STRSIZE dest_pitch = 0, dest_size = 0, opType = -1;
local 151 dest_pitch = (BitmapWidth + 7) / 8;
183 dest_pitch = BitmapWidth;
192 dest_pitch = BitmapWidth * 3;
309 dest_size = dest_pitch * BitmapHeight;
315 FXSYS_memcpy32(pDest, src_buf, dest_pitch);
316 pDest += dest_pitch;
318 pFileWrite->WriteBlock(src_buf, dest_pitch);
324 dest_size = dest_pitch * BitmapHeight;
327 dest_buf = FX_Alloc(FX_BYTE, dest_pitch);
[all...] |
/external/pdfium/core/src/fxge/win32/ |
H A D | fx_win32_print.cpp | 162 int dest_pitch = pTempBitmap->GetPitch();
local 163 FXSYS_memset8(dest_buf, pSrc->IsAlphaMask() ? 0 : 0xff, dest_pitch * result_height);
166 FX_LPBYTE dest_scan = dest_buf + dest_y * dest_pitch;
181 FX_LPBYTE dest_scan = dest_buf + dest_y * dest_pitch;
|
H A D | fx_win32_gdipext.cpp | 1270 int dest_pitch = (width * pInfo->pbmi->bmiHeader.biBitCount + 31) / 32 * 4;
local 1271 LPBYTE pData = FX_Alloc(BYTE, dest_pitch * height);
1276 if (dest_pitch == pInfo->Stride) {
1277 FXSYS_memcpy32(pData, pInfo->pScan0, dest_pitch * height);
1279 FXSYS_memcpy32(pData + dest_pitch * i, pInfo->pScan0 + pInfo->Stride * i, dest_pitch);
|
/external/pdfium/core/src/fxge/dib/ |
H A D | fx_dib_convert.cpp | 294 FX_BOOL _ConvertBuffer_1bppMask2Gray(FX_LPBYTE dest_buf, int dest_pitch, int width, int height,
argument 301 FX_LPBYTE dest_scan = dest_buf + row * dest_pitch;
313 FX_BOOL _ConvertBuffer_8bppMask2Gray(FX_LPBYTE dest_buf, int dest_pitch, int width, int height,
argument 317 FX_LPBYTE dest_scan = dest_buf + row * dest_pitch;
323 FX_BOOL _ConvertBuffer_1bppPlt2Gray(FX_LPBYTE dest_buf, int dest_pitch, int width, int height,
argument 364 FX_LPBYTE dest_scan = dest_buf + row * dest_pitch;
376 FX_BOOL _ConvertBuffer_8bppPlt2Gray(FX_LPBYTE dest_buf, int dest_pitch, int width, int height,
argument 411 FX_LPBYTE dest_scan = dest_buf + row * dest_pitch;
419 FX_BOOL _ConvertBuffer_RgbOrCmyk2Gray(FX_LPBYTE dest_buf, int dest_pitch, int width, int height,
argument 427 FX_LPBYTE dest_scan = dest_buf + row * dest_pitch;
467 _ConvertBuffer_IndexCopy(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top) argument 490 _ConvertBuffer_Plt2PltRgb8(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, FX_DWORD* dst_plt, void* pIccTransform) argument 531 _ConvertBuffer_Rgb2PltRgb8_NoTransform(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, FX_DWORD* dst_plt) argument 587 _ConvertBuffer_Rgb2PltRgb8(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, FX_DWORD* dst_plt, void* pIccTransform) argument 606 _ConvertBuffer_1bppMask2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top) argument 631 _ConvertBuffer_8bppMask2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top) argument 649 _ConvertBuffer_1bppPlt2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, void* pIccTransform) argument 696 _ConvertBuffer_8bppPlt2Rgb(FXDIB_Format dst_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, void* pIccTransform) argument 742 _ConvertBuffer_24bppRgb2Rgb24(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, void* pIccTransform) argument 761 _ConvertBuffer_32bppRgb2Rgb24(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, void* pIccTransform) argument 783 _ConvertBuffer_Rgb2Rgb32(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, void* pIccTransform) argument 813 _ConvertBuffer_32bppCmyk2Rgb32(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, void* pIccTransform) argument 841 ConvertBuffer(FXDIB_Format dest_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, FX_DWORD*& d_pal, void* pIccTransform) argument 1020 int dest_pitch = (dest_bpp * m_Width + 31) / 32 * 4; local [all...] |
H A D | fx_dib_transform.cpp | 77 int dest_pitch = pTransBitmap->GetPitch();
local 84 FXSYS_memset8(dest_buf, 0xff, dest_pitch * result_height);
90 dest_scan += (result_height - 1) * dest_pitch;
92 int dest_step = bYFlip ? -dest_pitch : dest_pitch;
102 int dest_step = bYFlip ? -dest_pitch : dest_pitch;
110 dest_scan += (result_height - 1) * dest_pitch;
137 dest_pitch = pTransBitmap->m_pAlphaMask->GetPitch();
139 int dest_step = bYFlip ? -dest_pitch [all...] |
H A D | fx_dib_composite.cpp | 4538 int dest_pitch = m_pBitmap->GetPitch();
local 4541 FX_LPBYTE dest_buf = m_pBitmap->GetBuffer() + dest_x * Bpp + m_DestTop * dest_pitch;
4545 dest_buf += dest_pitch * (m_DestHeight - 1);
4548 int y_step = dest_pitch;
|
H A D | fx_dib_main.cpp | 12 FX_BOOL ConvertBuffer(FXDIB_Format dest_format, FX_LPBYTE dest_buf, int dest_pitch, int width, int height,
1481 FX_DWORD dest_pitch = pFlipped->m_pAlphaMask->GetPitch();
local 1484 FX_LPBYTE dest_scan = pDestBuffer + dest_pitch * (bYFlip ? (m_Height - row - 1) : row);
1486 FXSYS_memcpy32(dest_scan, src_scan, dest_pitch);
|
/external/kernel-headers/original/uapi/drm/ |
H A D | mga_drm.h | 398 int source_pitch, dest_pitch; member in struct:_drm_mga_blit
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_image.cpp | 1125 int dest_pitch = pMask->GetPitch();
local 1145 FX_LPBYTE dest_pos = dest_buf + row * dest_pitch;
1153 int size = dest_pitch * height;
1158 FXSYS_memcpy32(dest_buf, src_buf, dest_pitch * height);
|
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_text.cpp | 327 int dest_pitch = bitmap.GetPitch();
local 378 FX_LPBYTE dest_scan = dest_buf + dest_row * dest_pitch + (start_col << 2);
691 FX_LPBYTE dest_scan = dest_buf + dest_row * dest_pitch + start_col * Bpp;
1450 int dest_pitch = pGlyphBitmap->m_Bitmap.GetPitch();
local 1460 pDestBuf[i * dest_pitch + n * bytes + b] = data;
1464 FXSYS_memset32(pDestBuf, 0, dest_pitch * bmheight);
1466 int rowbytes = FXSYS_abs(src_pitch) > dest_pitch ? dest_pitch : FXSYS_abs(src_pitch);
1468 FXSYS_memcpy32(pDestBuf + row * dest_pitch, pSrcBuf + row * src_pitch, rowbytes);
1471 _ContrastAdjust(pSrcBuf, pDestBuf, bmwidth, bmheight, src_pitch, dest_pitch);
1500 int dest_pitch = mask.GetPitch(); local [all...] |