Home
last modified time | relevance | path

Searched refs:dest_height (Results 1 – 25 of 33) sorted by relevance

12

/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp69 int dest_height, in StretchDIBits() argument
82 if (dest_width < 0 || dest_height < 0) { in StretchDIBits()
84 pSource->FlipImage(dest_width < 0, dest_height < 0); in StretchDIBits()
91 if (dest_height < 0) { in StretchDIBits()
92 dest_top += dest_height; in StretchDIBits()
95 abs(dest_width), abs(dest_height), color, in StretchDIBits()
106 dest_height, color, flags, alpha_flag, in StretchDIBits()
112 if (dest_width < 0 || dest_height < 0) { in StretchDIBits()
114 pSource->FlipImage(dest_width < 0, dest_height < 0); in StretchDIBits()
121 if (dest_height < 0) { in StretchDIBits()
[all …]
Dwin32_int.h25 int dest_height,
34 int dest_height,
164 int dest_height,
171 int dest_height,
206 int dest_height,
228 int dest_height,
254 int dest_height,
331 int dest_height,
Dfx_win32_gdipext.cpp463 int dest_height, in _StretchMonoToGray() argument
470 FX_BOOL bFlipY = dest_height < 0; in _StretchMonoToGray()
472 dest_height = -dest_height; in _StretchMonoToGray()
485 int y_unit = src_height / dest_height; in _StretchMonoToGray()
492 int src_y_start = bFlipY ? (dest_height - 1 - dest_y - pClipRect->top) in _StretchMonoToGray()
494 src_y_start = src_y_start * src_height / dest_height; in _StretchMonoToGray()
522 int dest_height, in OutputImageMask() argument
541 if (dest_height < 0) { in OutputImageMask()
542 dest_height = -dest_height; in OutputImageMask()
543 dest_top -= dest_height; in OutputImageMask()
[all …]
Dfx_win32_device.cpp574 int dest_height, in GDI_StretchDIBits() argument
578 if (!pBitmap || dest_width == 0 || dest_height == 0) { in GDI_StretchDIBits()
586 if ((int64_t)abs(dest_width) * abs(dest_height) < in GDI_StretchDIBits()
597 (int64_t)abs(dest_width) * abs(dest_height))) { in GDI_StretchDIBits()
598 pToStrechBitmap = pBitmap->StretchTo(dest_width, dest_height); in GDI_StretchDIBits()
603 ::StretchDIBits(m_hDC, dest_left, dest_top, dest_width, dest_height, 0, 0, in GDI_StretchDIBits()
617 int dest_height, in GDI_StretchBitMask() argument
623 if (!pBitmap || dest_width == 0 || dest_height == 0) { in GDI_StretchBitMask()
667 ::StretchDIBits(m_hDC, dest_left, dest_top, dest_width, dest_height, 0, 0, in GDI_StretchBitMask()
1151 int dest_height, in UseFoxitStretchEngine() argument
[all …]
/external/libvpx/libvpx/vpx_scale/generic/
Dvpx_scale.c246 unsigned int dest_height, in Scale2D() argument
347 if (source_height == dest_height) { in Scale2D()
349 for (k = 0; k < (int)dest_height; k++) { in Scale2D()
365 for (k = 0; k < (int)(dest_height + dest_band_height - 1) / dest_band_height; k++) { in Scale2D()
403 if (source_height == dest_height) { in Scale2D()
405 for (k = 0; k < (int)dest_height; k++) { in Scale2D()
414 if (dest_height > source_height) { in Scale2D()
416 source_band_height = dest_band_height * source_height / dest_height; in Scale2D()
426 bands = (dest_height + dest_band_height - 1) / dest_band_height; in Scale2D()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp324 int dest_height = image_rect.Height(); in StartLoadDIBSource() local
329 dest_height = -dest_height; in StartLoadDIBSource()
335 dest_height)) { in StartLoadDIBSource()
713 int dest_height = image_rect.Height(); in StartDIBSource() local
732 dest_height = -dest_height; in StartDIBSource()
736 dest_top = dest_height > 0 ? image_rect.top : image_rect.bottom; in StartDIBSource()
739 m_pDIBSource, dest_left, dest_top, dest_width, dest_height, m_Flags, in StartDIBSource()
749 m_pDIBSource, dest_left, dest_top, dest_width, dest_height, in StartDIBSource()
766 m_pDIBSource->StretchTo(dest_width, dest_height, m_Flags, &dest_clip)); in StartDIBSource()
803 int dest_height = in StartBitmapAlpha() local
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp134 void CCodec_ScanlineDecoder::DownScale(int dest_width, int dest_height) { in DownScale() argument
136 dest_height = std::abs(dest_height); in DownScale()
137 v_DownScale(dest_width, dest_height); in DownScale()
300 void v_DownScale(int dest_width, int dest_height) override {} in v_DownScale() argument
Dfx_codec_jpeg.cpp324 void v_DownScale(int dest_width, int dest_height) override;
464 void CCodec_JpegDecoder::v_DownScale(int dest_width, int dest_height) { in v_DownScale() argument
467 FX_GetDownsampleRatio(m_OrigWidth, m_OrigHeight, dest_width, dest_height); in v_DownScale()
Dcodec_int.h50 void DownScale(int dest_width, int dest_height) override;
87 virtual void v_DownScale(int dest_width, int dest_height) = 0;
/external/pdfium/core/src/fxge/ge/
Dfx_ge_device.cpp415 int dest_height, in StretchDIBits() argument
419 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height); in StretchDIBits()
426 dest_height, &clip_box, flags, 0, in StretchDIBits()
444 int dest_height, in StretchBitMask() argument
449 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height); in StretchBitMask()
453 dest_height, &clip_box, flags, in StretchBitMask()
Dfx_ge_ps.cpp341 int dest_height, in StretchDIBits() argument
347 (FX_FLOAT)(-dest_height), (FX_FLOAT)(dest_left), in StretchDIBits()
348 (FX_FLOAT)(dest_top + dest_height)); in StretchDIBits()
/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp637 int dest_height, in StretchDIBits() argument
652 CGRect rect = CGRectMake(dest_left, dest_top, dest_width, dest_height); in StretchDIBits()
661 CG_SetImageTransform(dest_left, dest_top, dest_width, dest_height); in StretchDIBits()
958 int dest_height, in CG_SetImageTransform() argument
960 int flip_y = _foxitDevice2User.d * dest_height < 0 ? 1 : -1; in CG_SetImageTransform()
963 if (dest_height < 0) { in CG_SetImageTransform()
964 dest_height = -dest_height; in CG_SetImageTransform()
965 dest_top -= dest_height; in CG_SetImageTransform()
968 CGRectMake(dest_left, dest_top, dest_width, dest_height), in CG_SetImageTransform()
Dapple_int.h144 int dest_height,
198 int dest_height,
/external/pdfium/core/src/fxge/dib/
Dfx_dib_transform.cpp313 int dest_height, in StretchTo() argument
316 FX_RECT clip_rect(0, 0, FXSYS_abs(dest_width), FXSYS_abs(dest_height)); in StretchTo()
323 if (dest_width == m_Width && dest_height == m_Height) { in StretchTo()
328 if (stretcher.Start(&storer, this, dest_width, dest_height, clip_rect, in StretchTo()
362 int dest_height = result_rect.Height(); in Start() local
364 result_clip = FXDIB_SwapClipBox(result_clip, dest_width, dest_height, in Start()
366 m_Stretcher.Start(&m_Storer, pSrc, dest_height, dest_width, result_clip, in Start()
375 int dest_height = pDestMatrix->d > 0 ? (int)-FXSYS_ceil(pDestMatrix->d) in Start() local
378 m_Stretcher.Start(&m_Storer, pSrc, dest_width, dest_height, result_clip, in Start()
Ddib_int.h68 int dest_height,
Dfx_dib_engine.cpp217 int dest_height, in CStretchEngine() argument
229 m_DestHeight = dest_height; in CStretchEngine()
262 FXSYS_abs(dest_height) < in CStretchEngine()
783 int dest_height, in Start() argument
791 m_DestHeight = dest_height; in Start()
Dfx_dib_main.cpp1593 int dest_height = image_rect.Height(); local
1596 bitmap_clip = FXDIB_SwapClipBox(bitmap_clip, dest_width, dest_height,
1601 if (!m_Stretcher.Start(&m_Composer, pSource, dest_height, dest_width,
1617 int dest_height = image_rect.Height(); local
1619 dest_height = -dest_height;
1621 if (dest_width == 0 || dest_height == 0) {
1630 ret = m_Stretcher.Start(&m_Composer, pSource, dest_width, dest_height,
/external/skia/src/core/
DSkBitmapScaler.h43 int dest_width, int dest_height, SkBitmap::Allocator* = nullptr);
/external/pdfium/core/include/fxge/
Dfx_ge.h342 int dest_height,
358 int dest_height,
569 int dest_height,
670 int dest_height,
/external/mesa3d/src/gallium/state_trackers/va/
Dva_private.h124 unsigned int dest_height);
142 unsigned short dest_height,
Dva_subpicture.c126 unsigned short dest_height, in vlVaAssociateSubpicture() argument
Dva_image.c145 int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height) in vlVaPutImage() argument
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.h97 int dest_height,
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h98 int dest_height,
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffwidget.cpp563 int dest_height = image_rect.Height(); in StartDIBSource() local
592 dest_height = -dest_height; in StartDIBSource()
596 dest_top = dest_height > 0 ? image_rect.top : image_rect.bottom; in StartDIBSource()
599 dest_height, m_Flags, NULL, m_BlendType)) { in StartDIBSource()
608 dest_height, m_FillArgb, m_Flags)) { in StartDIBSource()
623 m_pDIBSource->StretchTo(dest_width, dest_height, m_Flags, &dest_clip); in StartDIBSource()

12