Home
last modified time | relevance | path

Searched refs:src_h (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/ui/gfx/
Dskbitmap_operations_unittest.cc89 int src_w = 16, src_h = 16; in TEST() local
91 src.allocN32Pixels(src_w, src_h); in TEST()
93 for (int y = 0; y < src_h; y++) { in TEST()
105 for (int y = 0; y < src_h; y++) { in TEST()
123 int src_w = 16, src_h = 16; in TEST() local
125 src_a.allocN32Pixels(src_w, src_h); in TEST()
128 src_b.allocN32Pixels(src_w, src_h); in TEST()
130 for (int y = 0, i = 0; y < src_h; y++) { in TEST()
146 for (int y = 0; y < src_h; y++) { in TEST()
163 int src_w = 16, src_h = 16; in TEST() local
[all …]
Dgdi_util.cc123 int src_x, int src_y, int src_w, int src_h, void* pixels, in StretchDIBits() argument
130 int bottom_up_src_y = bitmap_h - src_y - src_h; in StretchDIBits()
131 if (bottom_up_src_y == 0 && src_x == 0 && src_h != bitmap_h) { in StretchDIBits()
134 src_x, bitmap_h - src_y + 1, src_w, -src_h, in StretchDIBits()
139 src_x, bottom_up_src_y, src_w, src_h, in StretchDIBits()
Dcanvas.cc363 int src_h, in DrawImageInt() argument
370 DrawImageInt(image, src_x, src_y, src_w, src_h, dest_x, dest_y, in DrawImageInt()
378 int src_h, in DrawImageInt() argument
385 DrawImageIntHelper(image, src_x, src_y, src_w, src_h, dest_x, dest_y, dest_w, in DrawImageInt()
393 int src_h, in DrawImageIntInPixel() argument
432 src_h, in DrawImageIntInPixel()
575 int src_h, in DrawImageIntHelper() argument
585 src_y + src_h < std::numeric_limits<int16_t>::max()); in DrawImageIntHelper()
586 if (src_w <= 0 || src_h <= 0) { in DrawImageIntHelper()
595 float user_scale_y = static_cast<float>(dest_h) / src_h; in DrawImageIntHelper()
[all …]
Dcanvas.h302 int src_h,
312 int src_h,
328 int src_h,
442 int src_h,
Dgdi_util.h50 int src_x, int src_y, int src_w, int src_h,
/external/chromium_org/skia/ext/
Dimage_operations_unittest.cc214 const int src_w = 16, src_h = 34; in CheckResampleToSame() local
216 FillDataToBitmap(src_w, src_h, &src); in CheckResampleToSame()
220 SkBitmap results = skia::ImageOperations::Resize(src, method, src_w, src_h); in CheckResampleToSame()
222 ASSERT_EQ(src_h, results.height()); in CheckResampleToSame()
226 for (int y = 0; y < src_h; y++) { in CheckResampleToSame()
352 const int src_w = 640, src_h = 480;
354 FillDataToBitmap(src_w, src_h, &src);
360 const int src_w = 640, src_h = 480, src_grid_pitch = 10, src_grid_width = 4;
363 DrawGridToBitmap(src_w, src_h,
372 const int src_w = 640, src_h = 480, rect_w = 10, rect_h = 4;
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/
Dinfo.js105 var src_h = image.height;
108 var ratio = src_w / src_h;
109 if (src_w > src_h) {
116 context.drawImage(image, 0, 0, src_w, src_h, 0, 0, new_w, new_h);
/external/chromium_org/chrome/browser/ui/views/
Dtab_icon_view.cc113 int src_h, in PaintIcon() argument
119 float float_src_h = static_cast<float>(src_h); in PaintIcon()
121 if (src_w <= gfx::kFaviconSize && src_h <= gfx::kFaviconSize) { in PaintIcon()
135 canvas->DrawImageInt(image, src_x, src_y, src_w, src_h, in PaintIcon()
Dtab_icon_view.h48 int src_h,
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
Dxorg_xv.c417 float src_x, float src_y, float src_w, float src_h, in draw_yuv() argument
426 src_x, src_y, src_w, src_h, in draw_yuv()
493 int src_x, int src_y, int src_w, int src_h, in display_video() argument
521 hdtv = ((src_w >= RES_720P_X) && (src_h >= RES_720P_Y)); in display_video()
550 float diff_y = (float)src_h / (float)dst_h; in display_video()
571 (float) src_w - offset_w*diff_x, (float) src_h - offset_h*diff_y, in display_video()
587 short src_w, short src_h, in put_image() argument
605 y2 = src_y + src_h; in put_image()
631 src_x, src_y, src_w, src_h, in put_image()
Dxorg_renderer.h57 float src_x, float src_y, float src_w, float src_h,
Dxorg_renderer.c439 float src_x, float src_y, float src_w, float src_h, in renderer_draw_yuv() argument
446 src_x, src_y, src_w, src_h, in renderer_draw_yuv()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_xv.c417 float src_x, float src_y, float src_w, float src_h, in draw_yuv() argument
426 src_x, src_y, src_w, src_h, in draw_yuv()
493 int src_x, int src_y, int src_w, int src_h, in display_video() argument
521 hdtv = ((src_w >= RES_720P_X) && (src_h >= RES_720P_Y)); in display_video()
550 float diff_y = (float)src_h / (float)dst_h; in display_video()
571 (float) src_w - offset_w*diff_x, (float) src_h - offset_h*diff_y, in display_video()
587 short src_w, short src_h, in put_image() argument
605 y2 = src_y + src_h; in put_image()
631 src_x, src_y, src_w, src_h, in put_image()
Dxorg_renderer.h57 float src_x, float src_y, float src_w, float src_h,
Dxorg_renderer.c439 float src_x, float src_y, float src_w, float src_h, in renderer_draw_yuv() argument
446 src_x, src_y, src_w, src_h, in renderer_draw_yuv()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c113 int src_h, in xa_yuv_planar_blit() argument
141 scale_y = (float)src_h / (float)dst_h; in xa_yuv_planar_blit()
Dxa_context.h55 int src_h,
Dxa_priv.h228 float src_h,
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
Dxa_yuv.c113 int src_h, in xa_yuv_planar_blit() argument
141 scale_y = (float)src_h / (float)dst_h; in xa_yuv_planar_blit()
Dxa_context.h55 int src_h,
Dxa_priv.h228 float src_h,
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
DXvlib.h387 unsigned int src_h,
405 unsigned int src_h,
/external/qemu/android/skin/
Dscaler.c67 int src_h; member
126 op.src_h = src_surface->h; in skin_scaler_scale()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xv/
DXv.c1010 unsigned int src_h, in SDL_NAME()
1035 req->src_h = src_h; in SDL_NAME()
1067 unsigned int src_h, in SDL_NAME()
1094 req->src_h = src_h; in SDL_NAME()
/external/chromium_org/ui/native_theme/
Dnative_theme_base.h153 int src_x, int src_y, int src_w, int src_h,

12