Home | History | Annotate | Download | only in ext

Lines Matching refs:src_h

214   const int src_w = 16, src_h = 34;
216 FillDataToBitmap(src_w, src_h, &src);
220 SkBitmap results = skia::ImageOperations::Resize(src, method, src_w, src_h);
222 ASSERT_EQ(src_h, results.height());
226 for (int y = 0; y < src_h; y++) {
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;
375 DrawCheckerToBitmap(src_w, src_h, color1, color2, rect_w, rect_h, &src);
385 int src_w = 30, src_h = 38;
387 FillDataToBitmap(src_w, src_h, &src);
391 src, skia::ImageOperations::RESIZE_BOX, src_w / 2, src_h / 2);
393 ASSERT_EQ(src_h / 2, actual_results.height());
407 int last_y = std::min(src_h - 1, y * 2 + 1);
429 int src_w = 16, src_h = 34;
431 FillDataToBitmap(src_w, src_h, &src);
435 src, skia::ImageOperations::RESIZE_BOX, src_w / 2, src_h / 2);
437 ASSERT_EQ(src_h / 2, full_results.height());
444 src_w / 2, src_h / 2, subset_rect);
488 const int src_w = 640, src_h = 480, checker_rect_w = 4, checker_rect_h = 8;
492 const int dest_h = src_h / (2 * checker_rect_h);
531 DrawCheckerToBitmap(src_w, src_h,
563 const int src_w = 640, src_h = 480, src_grid_pitch = 8, src_grid_width = 4;
566 const int dest_h = src_h / 4;
582 DrawGridToBitmap(src_w, src_h,
662 const int src_h = 3;
666 src.allocN32Pixels(src_w, src_h);
668 for (int src_y = 0; src_y < src_h; ++src_y) {
685 float dst_y_in_src = (dst_y + 0.5) * src_h / dst_h;
691 for (int src_y = 0; src_y < src_h; ++src_y) {