Home | History | Annotate | Download | only in ext

Lines Matching defs:src_h

217   const int src_w = 16, src_h = 34;
219 FillDataToBitmap(src_w, src_h, &src);
223 SkBitmap results = skia::ImageOperations::Resize(src, method, src_w, src_h);
225 ASSERT_EQ(src_h, results.height());
229 for (int y = 0; y < src_h; y++) {
355 const int src_w = 640, src_h = 480;
357 FillDataToBitmap(src_w, src_h, &src);
363 const int src_w = 640, src_h = 480, src_grid_pitch = 10, src_grid_width = 4;
366 DrawGridToBitmap(src_w, src_h,
375 const int src_w = 640, src_h = 480, rect_w = 10, rect_h = 4;
378 DrawCheckerToBitmap(src_w, src_h, color1, color2, rect_w, rect_h, &src);
388 int src_w = 30, src_h = 38;
390 FillDataToBitmap(src_w, src_h, &src);
394 src, skia::ImageOperations::RESIZE_BOX, src_w / 2, src_h / 2);
396 ASSERT_EQ(src_h / 2, actual_results.height());
410 int last_y = std::min(src_h - 1, y * 2 + 1);
432 int src_w = 16, src_h = 34;
434 FillDataToBitmap(src_w, src_h, &src);
438 src, skia::ImageOperations::RESIZE_BOX, src_w / 2, src_h / 2);
440 ASSERT_EQ(src_h / 2, full_results.height());
447 src_w / 2, src_h / 2, subset_rect);
492 const int src_w = 640, src_h = 480, checker_rect_w = 4, checker_rect_h = 8;
496 const int dest_h = src_h / (2 * checker_rect_h);
535 DrawCheckerToBitmap(src_w, src_h,
567 const int src_w = 640, src_h = 480, src_grid_pitch = 8, src_grid_width = 4;
570 const int dest_h = src_h / 4;
586 DrawGridToBitmap(src_w, src_h,
666 const int src_h = 3;
670 src.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h);
673 for (int src_y = 0; src_y < src_h; ++src_y) {
690 float dst_y_in_src = (dst_y + 0.5) * src_h / dst_h;
696 for (int src_y = 0; src_y < src_h; ++src_y) {