/external/webrtc/test/testsupport/metrics/ |
video_metrics_unittest.cc | 20 static const int kWidth = 352; 51 kWidth, kHeight, &psnr_result_)); 57 kWidth, kHeight, &ssim_result_)); 63 kWidth, kHeight, &psnr_result_, 73 kWidth, kHeight, &ssim_result_)); 79 kWidth, kHeight, &ssim_result_)); 85 kWidth, kHeight, 93 kWidth, kHeight, &ssim_result_)); 99 kWidth, kHeight, &ssim_result_)); 105 kWidth, kHeight [all...] |
/external/libyuv/files/unit_test/ |
planar_test.cc | 33 const int kWidth = 1280; \ 35 const int kStride = (kWidth * 8 * BPP_B + 7) / 8; \ 36 align_buffer_16(src_y, kWidth * kHeight); \ 37 align_buffer_16(src_u, kWidth / SUBSAMP_X * kHeight / SUBSAMP_Y); \ 38 align_buffer_16(src_v, kWidth / SUBSAMP_X * kHeight / SUBSAMP_Y); \ 43 for (int j = 0; j < kWidth; ++j) \ 44 src_y[(i * kWidth) + j] = (random() & 0xff); \ 46 for (int j = 0; j < kWidth / SUBSAMP_X; ++j) { \ 47 src_u[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); \ 48 src_v[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); [all...] |
/external/skia/tests/ |
BitmapTransformerTest.cpp | 34 const int kWidth = 55; 39 bitmap.setConfig(unsupportedConfig, kWidth, kHeight); 47 const int kWidth = 3; 50 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel 59 bitmap.setConfig(supportedConfig, kWidth, kHeight); 68 for (int x = 0; x < kWidth; x++) { 80 REPORTER_ASSERT(fReporter, transformer.bytesNeededPerRow() == kWidth * 4); 81 REPORTER_ASSERT(fReporter, transformer.bytesNeededTotal() == kWidth * kHeight * 4);
|
RoundRectTest.cpp | 11 static const SkScalar kWidth = 100.0f; 51 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 64 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; 153 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 188 static const SkScalar kWidthTol = SkScalarHalf(kWidth) * (SK_Scalar1 - SK_ScalarRoot2Over2); 195 { kWidth + kEps - kWidthTol, kHeightTol - kEps }, // out 196 { kWidth - kEps - kWidthTol, kHeightTol + kEps }, // in 198 { kWidth + kEps - kWidthTol, kHeight + kEps - kHeightTol }, // out 199 { kWidth - kEps - kWidthTol, kHeight - kEps - kHeightTol }, // in 212 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight) [all...] |
CanvasTest.cpp | 95 static const int kWidth = 2; 150 bm->setConfig(config, kWidth, kHeight); 472 pts[1].set(SkIntToScalar(kWidth), 0); 473 pts[2].set(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 490 SkCanvas* testCanvas = testPicture->beginRecording(kWidth, kHeight); 735 SkCanvas* referenceCanvas = referencePicture.beginRecording(kWidth, 739 SkCanvas* testCanvas = testPicture.beginRecording(kWidth, 757 SkISize pageSize = SkISize::Make(kWidth, kHeight); [all...] |
/external/chromium/chrome/browser/chromeos/ |
setting_level_bubble_view.cc | 21 const int kWidth = 350, kHeight = 100; 69 return gfx::Size(kWidth, kHeight);
|
/external/skia/bench/ |
TileBench.cpp | 38 static const int kWidth = 1; 54 bm.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight);
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_theme_service.cc | 461 const int kWidth = 100; 464 GdkPixmap* pm = gdk_pixmap_new(window->window, kWidth, kHeight, -1); 465 GdkRectangle rect = { 0, 0, kWidth, kHeight }; 466 unsigned char data[3 * kWidth * kHeight]; 473 kWidth, kHeight, GTK_ORIENTATION_HORIZONTAL); 477 scrollbar, "trough-upper", 0, 0, kWidth, kHeight); 480 FALSE, 8, kWidth, kHeight, 481 3 * kWidth, 0, 0); 482 gdk_pixbuf_get_from_drawable(pb, pm, NULL, 0, 0, 0, 0, kWidth, kHeight); 493 components[c] += data[3 * (kWidth / 3 + y * kWidth) + c] [all...] |
/external/chromium/chrome/browser/printing/ |
print_dialog_cloud.cc | 369 const int kWidth = static_cast<int>((8.5-0.25-0.25)*kDPI); 375 default_settings.printable_size = gfx::Size(kWidth, kHeight);
|
/external/skia/src/effects/ |
SkMatrixConvolutionImageFilter.cpp | 413 int kWidth = fKernelSize.width(); 419 code->appendf("\t\t\tfor (int x = 0; x < %d; x++) {\n", kWidth); 420 code->appendf("\t\t\t\tfloat k = %s[y * %d + x];\n", kernel, kWidth);
|