/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_print.cpp | 54 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, in StretchDIBits() argument 62 if (dest_width < 0 || dest_height < 0) { in StretchDIBits() 63 CFX_DIBitmap* pFlipped = pSource->FlipImage(dest_width < 0, dest_height < 0); in StretchDIBits() 70 if (dest_height < 0) { in StretchDIBits() 71 dest_top += dest_height; in StretchDIBits() 73 …GDI_StretchBitMask(pFlipped, dest_left, dest_top, abs(dest_width), abs(dest_height), color, flags,… in StretchDIBits() 82 …return GDI_StretchBitMask(pBitmap, dest_left, dest_top, dest_width, dest_height, color, flags, alp… in StretchDIBits() 88 if (dest_width < 0 || dest_height < 0) { in StretchDIBits() 89 CFX_DIBitmap* pFlipped = pSource->FlipImage(dest_width < 0, dest_height < 0); in StretchDIBits() 96 if (dest_height < 0) { in StretchDIBits() [all …]
|
D | win32_int.h | 21 … int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags); 23 … int dest_width, int dest_height, const FX_RECT* pClipRect, int flags); 120 int dest_width, int dest_height, FX_DWORD flags, 123 … int dest_width, int dest_height, FX_DWORD bitmap_color, FX_DWORD flags, 140 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, 149 … int dest_width, int dest_height, const FX_RECT* pClipRect, int render_flags, 161 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, 221 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
|
D | fx_win32_gdipext.cpp | 291 static CFX_DIBitmap* _StretchMonoToGray(int dest_width, int dest_height, in _StretchMonoToGray() argument 298 FX_BOOL bFlipY = dest_height < 0; in _StretchMonoToGray() 300 dest_height = -dest_height; in _StretchMonoToGray() 314 int dest_count = dest_width * dest_height; in _StretchMonoToGray() 316 int y_unit = src_height / dest_height; in _StretchMonoToGray() 323 …int src_y_start = bFlipY ? (dest_height - 1 - dest_y - pClipRect->top) : (dest_y + pClipRect->top); in _StretchMonoToGray() 324 src_y_start = src_y_start * src_height / dest_height; in _StretchMonoToGray() 346 int dest_width, int dest_height, FX_ARGB argb, const FX_RECT* pClipRect) in OutputImageMask() argument 363 if (dest_height < 0) { in OutputImageMask() 364 dest_height = -dest_height; in OutputImageMask() [all …]
|
D | fx_win32_device.cpp | 510 int dest_width, int dest_height, FX_DWORD flags, void* pIccTransform) in GDI_StretchDIBits() argument 513 if (pBitmap == NULL || dest_width == 0 || dest_height == 0) { in GDI_StretchDIBits() 521 …if ((FX_INT64)abs(dest_width) * abs(dest_height) < (FX_INT64)pBitmap1->GetWidth() * pBitmap1->GetH… in GDI_StretchDIBits() 529 …INT64)pBitmap->GetWidth() * pBitmap->GetHeight() > (FX_INT64)abs(dest_width) * abs(dest_height))) { in GDI_StretchDIBits() 530 pToStrechBitmap = pBitmap->StretchTo(dest_width, dest_height); in GDI_StretchDIBits() 534 ::StretchDIBits(m_hDC, dest_left, dest_top, dest_width, dest_height, in GDI_StretchDIBits() 543 int dest_width, int dest_height, FX_DWORD bitmap_color, FX_DWORD flags, in GDI_StretchBitMask() argument 547 if (pBitmap == NULL || dest_width == 0 || dest_height == 0) { in GDI_StretchBitMask() 588 ::StretchDIBits(m_hDC, dest_left, dest_top, dest_width, dest_height, in GDI_StretchBitMask() 1023 int dest_width, int dest_height, const FX_RECT* pClipRect, int render_flags, in UseFoxitStretchEngine() argument [all …]
|
/external/libvpx/libvpx/vpx_scale/generic/ |
D | vpx_scale.c | 245 unsigned int dest_height, in Scale2D() argument 346 if (source_height == dest_height) { in Scale2D() 348 for (k = 0; k < (int)dest_height; k++) { in Scale2D() 364 for (k = 0; k < (int)(dest_height + dest_band_height - 1) / dest_band_height; k++) { in Scale2D() 402 if (source_height == dest_height) { in Scale2D() 404 for (k = 0; k < (int)dest_height; k++) { in Scale2D() 413 if (dest_height > source_height) { in Scale2D() 415 source_band_height = dest_band_height * source_height / dest_height; in Scale2D() 425 bands = (dest_height + dest_band_height - 1) / dest_band_height; in Scale2D()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec.cpp | 106 void CCodec_ScanlineDecoder::DownScale(int dest_width, int dest_height) in DownScale() argument 111 if (dest_height < 0) { in DownScale() 112 dest_height = -dest_height; in DownScale() 114 v_DownScale(dest_width, dest_height); in DownScale() 258 virtual void v_DownScale(int dest_width, int dest_height) {} in v_DownScale() argument
|
D | fx_codec_jpeg.cpp | 286 virtual void v_DownScale(int dest_width, int dest_height); 427 void CCodec_JpegDecoder::v_DownScale(int dest_width, int dest_height) in v_DownScale() argument 430 m_pExtProvider->DownScale(m_pExtContext, dest_width, dest_height); in v_DownScale() 434 m_DownScale = FX_GetDownsampleRatio(m_OrigWidth, m_OrigHeight, dest_width, dest_height); in v_DownScale()
|
D | codec_int.h | 45 virtual void DownScale(int dest_width, int dest_height); 109 virtual void v_DownScale(int dest_width, int dest_height) = 0;
|
/external/skia/src/core/ |
D | SkBitmapScaler.h | 85 float dest_width, float dest_height, 90 float dest_width, float dest_height,
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_image.cpp | 320 int dest_height = image_rect.Height(); in StartLoadDIBSource() local 325 dest_height = -dest_height; in StartLoadDIBSource() 328 …erStatus->m_GroupFamily, m_pRenderStatus->m_bLoadMask, m_pRenderStatus, dest_width, dest_height)) { in StartLoadDIBSource() 669 int dest_height = image_rect.Height(); in StartDIBSource() local 687 dest_height = -dest_height; in StartDIBSource() 691 dest_top = dest_height > 0 ? image_rect.top : image_rect.bottom; in StartDIBSource() 694 dest_width, dest_height, m_Flags, NULL, m_BlendType)) { in StartDIBSource() 702 …pDevice->StretchBitMask(m_pDIBSource, dest_left, dest_top, dest_width, dest_height, m_FillArgb, m_… in StartDIBSource() 715 … CFX_DIBitmap* pStretched = m_pDIBSource->StretchTo(dest_width, dest_height, m_Flags, &dest_clip); in StartDIBSource() 746 int dest_height = m_ImageMatrix.d > 0 ? -image_rect.Height() : image_rect.Height(); in StartBitmapAlpha() local [all …]
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_device.cpp | 366 int dest_width, int dest_height, FX_DWORD flags, in StretchDIBits() argument 369 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height); in StretchDIBits() 375 …return m_pDeviceDriver->StretchDIBits(pBitmap, 0, left, top, dest_width, dest_height, &clip_box, f… in StretchDIBits() 384 int dest_width, int dest_height, FX_DWORD argb, FX_DWORD flags, in StretchBitMask() argument 387 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height); in StretchBitMask() 390 …return m_pDeviceDriver->StretchDIBits(pBitmap, argb, left, top, dest_width, dest_height, &clip_box… in StretchBitMask()
|
D | fx_ge_ps.cpp | 317 int dest_width, int dest_height, FX_DWORD flags, in StretchDIBits() argument 321 CFX_AffineMatrix matrix((FX_FLOAT)(dest_width), 0.0f, 0.0f, (FX_FLOAT)(-dest_height), in StretchDIBits() 322 (FX_FLOAT)(dest_left), (FX_FLOAT)(dest_top + dest_height)); in StretchDIBits()
|
/external/pdfium/core/src/fxge/apple/ |
D | fx_quartz_device.cpp | 693 int dest_height, in StretchDIBits() argument 708 CGRect rect = CGRectMake(dest_left, dest_top, dest_width, dest_height); in StretchDIBits() 717 CG_SetImageTransform(dest_left, dest_top, dest_width, dest_height); in StretchDIBits() 1039 …rtzDeviceDriver::CG_SetImageTransform(int dest_left, int dest_top, int dest_width, int dest_height, in CG_SetImageTransform() argument 1042 int flip_y = _foxitDevice2User.d * dest_height < 0 ? 1 : -1; in CG_SetImageTransform() 1045 if (dest_height < 0) { in CG_SetImageTransform() 1046 dest_height = -dest_height; in CG_SetImageTransform() 1047 dest_top -= dest_height; in CG_SetImageTransform() 1049 …CGRectApplyAffineTransform(CGRectMake(dest_left, dest_top, dest_width, dest_height), _foxitDevice2… in CG_SetImageTransform()
|
D | apple_int.h | 141 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, 174 …void CG_SetImageTransform(int dest_left, int dest_top, int dest_width, int dest_height, CGRect*…
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_transform.cpp | 182 CFX_DIBitmap* CFX_DIBSource::StretchTo(int dest_width, int dest_height, FX_DWORD flags, const FX_RE… in StretchTo() argument 184 FX_RECT clip_rect(0, 0, FXSYS_abs(dest_width), FXSYS_abs(dest_height)); in StretchTo() 191 if (dest_width == m_Width && dest_height == m_Height) { in StretchTo() 196 if (stretcher.Start(&storer, this, dest_width, dest_height, clip_rect, flags)) { in StretchTo() 230 int dest_height = result_rect.Height(); in Start() local 232 …result_clip = _FXDIB_SwapClipBox(result_clip, dest_width, dest_height, pDestMatrix->c > 0, pDestMa… in Start() 233 m_Stretcher.Start(&m_Storer, pSrc, dest_height, dest_width, result_clip, flags); in Start() 239 …int dest_height = pDestMatrix->d > 0 ? (int) - FXSYS_ceil(pDestMatrix->d) : (int) - FXSYS_floor(pD… in Start() local 241 m_Stretcher.Start(&m_Storer, pSrc, dest_width, dest_height, result_clip, flags); in Start()
|
D | dib_int.h | 63 int dest_width, int dest_height, const FX_RECT& clip_rect,
|
D | fx_dib_engine.cpp | 179 int dest_width, int dest_height, const FX_RECT& clip_rect, in CStretchEngine() argument 190 m_DestHeight = dest_height; in CStretchEngine() 221 …if (!bInterpol && FXSYS_abs(dest_width) != 0 && FXSYS_abs(dest_height) < m_SrcWidth * m_SrcHeight … in CStretchEngine() 704 const CFX_DIBSource* pSource, int dest_width, int dest_height, in Start() argument 712 m_DestHeight = dest_height; in Start()
|
D | fx_dib_main.cpp | 1559 int dest_height = image_rect.Height(); local 1562 …bitmap_clip = _FXDIB_SwapClipBox(bitmap_clip, dest_width, dest_height, m_Matrix.c > 0, m_Matrix.b … 1565 … if (!m_Stretcher.Start(&m_Composer, pSource, dest_height, dest_width, bitmap_clip, dib_flags)) { 1580 int dest_height = image_rect.Height(); local 1582 dest_height = -dest_height; 1584 if (dest_width == 0 || dest_height == 0) { 1592 ret = m_Stretcher.Start(&m_Composer, pSource, dest_width, dest_height, bitmap_clip, dib_flags);
|
/external/pdfium/core/include/fxge/ |
D | fx_ge.h | 416 …L StretchDIBits(const CFX_DIBSource* pBitmap, int left, int top, int dest_width, int dest_height, 422 … StretchBitMask(const CFX_DIBSource* pBitmap, int left, int top, int dest_width, int dest_height, 600 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, 688 int dest_width, int dest_height, FX_DWORD flags,
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | va_private.h | 124 unsigned int dest_height); 142 unsigned short dest_height,
|
D | va_subpicture.c | 126 unsigned short dest_height, in vlVaAssociateSubpicture() argument
|
D | va_image.c | 145 int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height) in vlVaPutImage() argument
|
/external/pdfium/core/include/fxcodec/ |
D | fx_codec_provider.h | 20 virtual void DownScale(void* pDecoder, int dest_width, int dest_height) = 0;
|
/external/pdfium/core/src/fxge/agg/include/ |
D | fx_agg_driver.h | 85 … int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
|
/external/pdfium/core/src/fxge/skia/ |
D | fx_skia_device.h | 66 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
|