Searched refs:dest_height (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/skia/ext/
H A Dimage_operations.h103 int dest_width, int dest_height,
111 int dest_width, int dest_height,
120 int dest_width, int dest_height,
126 int dest_width, int dest_height,
H A Dimage_operations.cc98 int dest_width, int dest_height,
181 int dest_width, int dest_height,
191 float scale_y = static_cast<float>(dest_height) /
342 int dest_width, int dest_height,
346 return ResizeSubpixel(source, dest_width, dest_height,
349 return ResizeBasic(source, method, dest_width, dest_height, dest_subset,
356 int dest_width, int dest_height,
361 "dst_pixels", dest_width*dest_height);
378 h = dest_height < source.height() ? 3 : 1;
384 const int height = dest_height *
179 ResizeFilter(ImageOperations::ResizeMethod method, int src_full_width, int src_full_height, int dest_width, int dest_height, const SkIRect& dest_subset) argument
340 Resize(const SkBitmap& source, ResizeMethod method, int dest_width, int dest_height, const SkIRect& dest_subset, SkBitmap::Allocator* allocator) argument
355 ResizeSubpixel(const SkBitmap& source, int dest_width, int dest_height, const SkIRect& dest_subset, SkBitmap::Allocator* allocator) argument
[all...]
H A Dconvolver_unittest.cc100 int dest_height = src_height / 2; local
101 int dest_byte_count = dest_width * dest_height * 4;
113 FillBoxFilter(dest_height, &filter_y);
121 for (int y = 0; y < dest_height; y++) {
218 unsigned int dest_height) {
230 for (unsigned int p = 0; p < dest_height; ++p) {
231 unsigned int offset = source_height * p / dest_height;
241 result_c.allocN32Pixels(dest_width, dest_height);
242 result_sse.allocN32Pixels(dest_width, dest_height);
287 << " to:" << dest_width << "x" << dest_height
215 VerifySIMD(unsigned int source_width, unsigned int source_height, unsigned int dest_width, unsigned int dest_height) argument
326 unsigned int dest_height = dest_sizes[j][1]; local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapScaler.h85 float dest_width, float dest_height,
90 float dest_width, float dest_height,
/external/skia/src/core/
H A DSkBitmapScaler.h85 float dest_width, float dest_height,
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_scale/generic/
H A Dvpx_scale.c215 * unsigned int dest_height : Height of destination image.
245 unsigned int dest_height,
346 if (source_height == dest_height) {
348 for (k = 0; k < (int)dest_height; k++) {
364 for (k = 0; k < (int)(dest_height + dest_band_height - 1) / dest_band_height; k++) {
402 if (source_height == dest_height) {
404 for (k = 0; k < (int)dest_height; k++) {
413 if (dest_height > source_height) {
415 source_band_height = dest_band_height * source_height / dest_height;
425 bands = (dest_height
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 Dvpx_scale.c215 * unsigned int dest_height : Height of destination image.
245 unsigned int dest_height,
346 if (source_height == dest_height) {
348 for (k = 0; k < (int)dest_height; k++) {
364 for (k = 0; k < (int)(dest_height + dest_band_height - 1) / dest_band_height; k++) {
402 if (source_height == dest_height) {
404 for (k = 0; k < (int)dest_height; k++) {
413 if (dest_height > source_height) {
415 source_band_height = dest_band_height * source_height / dest_height;
425 bands = (dest_height
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/fxge/win32/
H A Dfx_win32_print.cpp54 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
62 if (dest_width < 0 || dest_height < 0) {
63 CFX_DIBitmap* pFlipped = pSource->FlipImage(dest_width < 0, dest_height < 0);
70 if (dest_height < 0) {
71 dest_top += dest_height;
73 FX_BOOL ret = GDI_StretchBitMask(pFlipped, dest_left, dest_top, abs(dest_width), abs(dest_height), color, flags, alpha_flag, pIccTransform);
82 return GDI_StretchBitMask(pBitmap, dest_left, dest_top, dest_width, dest_height, color, flags, alpha_flag, pIccTransform);
88 if (dest_width < 0 || dest_height < 0) {
89 CFX_DIBitmap* pFlipped = pSource->FlipImage(dest_width < 0, dest_height < 0);
96 if (dest_height <
53 StretchDIBits(const CFX_DIBSource* pSource, FX_DWORD color, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, int alpha_flag, void* pIccTransform, int blend_type) argument
398 StretchDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, int alpha_flag, void* pIccTransform, int blend_type) argument
[all...]
H A Dwin32_int.h19 int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags);
21 int dest_width, int dest_height, const FX_RECT* pClipRect, int flags);
118 int dest_width, int dest_height, FX_DWORD flags,
121 int dest_width, int dest_height, FX_DWORD bitmap_color, FX_DWORD flags,
138 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
147 int dest_width, int dest_height, const FX_RECT* pClipRect, int render_flags,
159 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
219 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
H A Dfx_win32_gdipext.cpp286 static CFX_DIBitmap* _StretchMonoToGray(int dest_width, int dest_height, argument
293 FX_BOOL bFlipY = dest_height < 0;
295 dest_height = -dest_height;
312 int dest_count = dest_width * dest_height;
314 int y_unit = src_height / dest_height;
321 int src_y_start = bFlipY ? (dest_height - 1 - dest_y - pClipRect->top) : (dest_y + pClipRect->top);
322 src_y_start = src_y_start * src_height / dest_height;
344 int dest_width, int dest_height, FX_ARGB argb, const FX_RECT* pClipRect)
361 if (dest_height <
343 OutputImageMask(GpGraphics* pGraphics, BOOL bMonoDevice, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, int dest_width, int dest_height, FX_ARGB argb, const FX_RECT* pClipRect) argument
415 OutputImage(GpGraphics* pGraphics, const CFX_DIBitmap* pBitmap, const FX_RECT* pSrcRect, int dest_left, int dest_top, int dest_width, int dest_height) argument
685 StretchBitMask(HDC hDC, BOOL bMonoDevice, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags) argument
702 StretchDIBits(HDC hDC, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* pClipRect, int flags) argument
[all...]
H A Dfx_win32_device.cpp520 int dest_width, int dest_height, FX_DWORD flags, void* pIccTransform)
531 if (abs(dest_width) * abs(dest_height) < pBitmap1->GetWidth() * pBitmap1->GetHeight() * 4 ||
539 if (m_DeviceClass == FXDC_PRINTER && (pBitmap->GetWidth() * pBitmap->GetHeight() > abs(dest_width) * abs(dest_height))) {
540 pToStrechBitmap = pBitmap->StretchTo(dest_width, dest_height);
544 ::StretchDIBits(m_hDC, dest_left, dest_top, dest_width, dest_height,
553 int dest_width, int dest_height, FX_DWORD bitmap_color, FX_DWORD flags,
578 ::StretchDIBits(m_hDC, dest_left, dest_top, dest_width, dest_height,
1014 int dest_width, int dest_height, const FX_RECT* pClipRect, int render_flags,
1021 if (dest_height < 0) {
1022 dest_top += dest_height;
519 GDI_StretchDIBits(const CFX_DIBitmap* pBitmap1, int dest_left, int dest_top, int dest_width, int dest_height, FX_DWORD flags, void* pIccTransform) argument
552 GDI_StretchBitMask(const CFX_DIBitmap* pBitmap1, int dest_left, int dest_top, int dest_width, int dest_height, FX_DWORD bitmap_color, FX_DWORD flags, int alpha_flag, void* pIccTransform) argument
1013 UseFoxitStretchEngine(const CFX_DIBSource* pSource, FX_DWORD color, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* pClipRect, int render_flags, int alpha_flag, void* pIccTransform, int blend_type) argument
1034 StretchDIBits(const CFX_DIBSource* pSource, FX_DWORD color, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, int alpha_flag, void* pIccTransform, int blend_type) argument
[all...]
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec.cpp106 void CCodec_ScanlineDecoder::DownScale(int dest_width, int dest_height) argument
111 if (dest_height < 0) {
112 dest_height = -dest_height;
114 v_DownScale(dest_width, dest_height);
259 virtual void v_DownScale(int dest_width, int dest_height) {} argument
/external/pdfium/core/include/fxcodec/
H A Dfx_codec_provider.h20 virtual void DownScale(void* pDecoder, int dest_width, int dest_height) = 0;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
H A Dva_image.c145 int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height)
143 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height) argument
H A Dva_subpicture.c126 unsigned short dest_height,
121 vlVaAssociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces, int num_surfaces, short src_x, short src_y, unsigned short src_width, unsigned short src_height, short dest_x, short dest_y, unsigned short dest_width, unsigned short dest_height, unsigned int flags) argument
H A Dva_private.h124 unsigned int dest_height);
142 unsigned short dest_height,
/external/mesa3d/src/gallium/state_trackers/va/
H A Dva_image.c145 int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height)
143 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height) argument
H A Dva_subpicture.c126 unsigned short dest_height,
121 vlVaAssociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces, int num_surfaces, short src_x, short src_y, unsigned short src_width, unsigned short src_height, short dest_x, short dest_y, unsigned short dest_width, unsigned short dest_height, unsigned int flags) argument
H A Dva_private.h124 unsigned int dest_height);
142 unsigned short dest_height,
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_device.cpp366 int dest_width, int dest_height, FX_DWORD flags,
369 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height);
375 return m_pDeviceDriver->StretchDIBits(pBitmap, 0, left, top, dest_width, dest_height, &clip_box, flags, 0, pIccTransform, blend_mode);
384 int dest_width, int dest_height, FX_DWORD argb, FX_DWORD flags,
387 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height);
390 return m_pDeviceDriver->StretchDIBits(pBitmap, argb, left, top, dest_width, dest_height, &clip_box, flags, alpha_flag, pIccTransform);
365 StretchDIBits(const CFX_DIBSource* pBitmap, int left, int top, int dest_width, int dest_height, FX_DWORD flags, void* pIccTransform, int blend_mode) argument
383 StretchBitMask(const CFX_DIBSource* pBitmap, int left, int top, int dest_width, int dest_height, FX_DWORD argb, FX_DWORD flags, int alpha_flag, void* pIccTransform) argument
/external/chromium_org/media/base/
H A Dyuv_convert.cc410 int dest_height,
420 CHECK_LE(dest_height, source_height);
424 DCHECK(dest_rect_top >= 0 && dest_rect_bottom <= dest_height);
430 int y_step = kFractionMax * source_height / dest_height;
403 ScaleYUVToRGB32WithRect(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int source_width, int source_height, int dest_width, int dest_height, int dest_rect_left, int dest_rect_top, int dest_rect_right, int dest_rect_bottom, int y_pitch, int uv_pitch, int rgb_pitch) argument
H A Dyuv_convert.h116 int dest_height,
/external/pdfium/core/src/fxge/dib/
H A Ddib_int.h60 int dest_width, int dest_height, const FX_RECT& clip_rect,
/external/chromium_org/third_party/libva/va/
H A Dva_backend.h276 unsigned int dest_height
329 unsigned short dest_height,
/external/pdfium/core/src/fxge/apple/
H A Dapple_int.h140 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
173 void CG_SetImageTransform(int dest_left, int dest_top, int dest_width, int dest_height, CGRect* rect = NULL);

Completed in 354 milliseconds

12