HomeSort by relevance Sort by last modified time
    Searched refs:kWidth (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/skia/gm/
stlouisarch.cpp 22 SkISize onISize() override { return SkISize::Make((int)kWidth, (int)kHeight); }
28 bigQuad->quadTo(kWidth/2, kHeight, kWidth, 0);
35 degenBigQuad->quadTo(0, yPos, kWidth, yPos);
43 kWidth, kHeight,
44 kWidth, 0);
53 kWidth, yPos);
59 bigConic->conicTo(kWidth/2, kHeight, kWidth, 0, .5);
66 degenBigConic->conicTo(0, yPos, kWidth, yPos, .5)
    [all...]
stringart.cpp 16 constexpr int kWidth = 440;
35 return SkISize::Make(kWidth, kHeight);
40 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight));
41 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
blurredclippedcircle.cpp 33 return SkISize::Make(kWidth, kHeight);
48 SkIntToScalar(kWidth), SkIntToScalar(kHeight));
85 static constexpr int kWidth = 1164;
textblobgeometrychange.cpp 28 return SkISize::Make(kWidth, kHeight);
55 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f);
69 static constexpr int kWidth = 200;
textblobuseaftergpufree.cpp 30 return SkISize::Make(kWidth, kHeight);
54 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f);
66 static constexpr int kWidth = 200;
glyph_pos_align.cpp 15 constexpr int kWidth = 480;
22 DEF_SIMPLE_GM_BG(glyph_pos_align, canvas, kWidth, kHeight, SK_ColorBLACK) {
27 const SkPoint pts[] = {{0, 0}, {kWidth, kHeight}};
lcdoverlap.cpp 21 constexpr int kWidth = 750;
51 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); }
79 SkScalar offsetX = kWidth / 4.0f;
manypaths.cpp 34 static const int kWidth = 800;
42 return SkISize::Make(kWidth, kHeight);
51 SkScalar x = rand.nextF() * kWidth - 100;
  /external/skia/tests/
DeviceTest.cpp 36 static const int kWidth = 100;
39 SkImageInfo ii = SkImageInfo::MakeN32Premul(2*kWidth, 2*kHeight);
44 bm.tryAllocN32Pixels(kWidth, kHeight);
49 SkASSERT(kWidth == special->width());
52 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
58 SkASSERT(kWidth == special->width());
61 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
66 SkASSERT(2*kWidth == special->width());
68 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
78 static const int kWidth = 100
    [all...]
GpuRectanizerTest.cpp 17 static const int kWidth = 1024;
22 REPORTER_ASSERT(reporter, kWidth == rectanizer->width());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2),
VkUploadPixelsTests.cpp 56 const int kWidth = 16;
58 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight);
59 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight);
61 fill_pixel_data(kWidth, kHeight, srcBuffer.get());
66 surfDesc.fWidth = kWidth;
82 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
88 kWidth,
95 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor));
116 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
122 kWidth,
    [all...]
RectangleTextureTest.cpp 92 static const int kWidth = 13;
95 GrColor pixels[kWidth * kHeight];
97 for (int x = 0; x < kWidth; ++x) {
98 pixels[y * kWidth + x] = y * kWidth + x;
105 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA,
121 GrBackendTexture rectangleTex(kWidth, kHeight, kRGBA_8888_GrPixelConfig, rectangleInfo);
123 GrColor refPixels[kWidth * kHeight];
125 for (int x = 0; x < kWidth; ++x) {
127 refPixels[y * kWidth + x] = pixels[y0 * kWidth + x]
    [all...]
  /external/webrtc/talk/session/media/
planarfunctions_unittest.cc 62 static const int kWidth = 1280;
501 int y_pitch = kWidth;
502 int u_pitch = (kWidth + 1) >> 1;
503 int v_pitch = (kWidth + 1) >> 1;
504 int y_size = kHeight * kWidth;
505 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
509 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer,
513 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]);
525 kWidth, kHeight);
530 I420_SIZE(kHeight, kWidth), 1.e-6))
    [all...]
  /external/webrtc/webrtc/test/testsupport/metrics/
video_metrics_unittest.cc 18 static const int kWidth = 352;
57 kWidth, kHeight, &psnr_result_));
63 kWidth, kHeight, &ssim_result_));
69 kWidth, kHeight, &psnr_result_,
79 video_file_.c_str(), kWidth, kHeight,
86 video_file_.c_str(), kWidth, kHeight,
93 video_file_.c_str(), kWidth, kHeight,
101 kWidth, kHeight, &ssim_result_));
107 kWidth, kHeight, &ssim_result_));
113 non_existing_file_.c_str(), kWidth, kHeight
    [all...]
  /external/libyuv/files/unit_test/
convert_test.cc 36 const int kWidth = ((W1280) > 0) ? (W1280) : 1; \
38 align_buffer_page_end(src_y, kWidth* kHeight + OFF); \
39 align_buffer_page_end(src_u, SUBSAMPLE(kWidth, SRC_SUBSAMP_X) * \
42 align_buffer_page_end(src_v, SUBSAMPLE(kWidth, SRC_SUBSAMP_X) * \
45 align_buffer_page_end(dst_y_c, kWidth* kHeight); \
46 align_buffer_page_end(dst_u_c, SUBSAMPLE(kWidth, SUBSAMP_X) * \
48 align_buffer_page_end(dst_v_c, SUBSAMPLE(kWidth, SUBSAMP_X) * \
50 align_buffer_page_end(dst_y_opt, kWidth* kHeight); \
51 align_buffer_page_end(dst_u_opt, SUBSAMPLE(kWidth, SUBSAMP_X) * \
53 align_buffer_page_end(dst_v_opt, SUBSAMPLE(kWidth, SUBSAMP_X) *
    [all...]
color_test.cc 145 const int kWidth = 16;
147 const int kPixels = kWidth * kHeight;
148 const int kHalfPixels = ((kWidth + 1) / 2) * ((kHeight + 1) / 2);
159 I422ToARGB(orig_y, kWidth, orig_u, (kWidth + 1) / 2, orig_v, (kWidth + 1) / 2,
160 orig_pixels, kWidth * 4, kWidth, kHeight);
168 const int kWidth = 16;
170 const int kPixels = kWidth * kHeight
    [all...]
  /external/gemmlowp/internal/
kernel.h 129 static const int kWidth = tWidth;
133 static const int kSize = kWidth * kDepth;
146 static const int kWidth = kCells * Cell::kWidth;
165 static const int kRows = Lhs::Cell::kWidth * Lhs::kCells;
166 static const int kCols = Rhs::Cell::kWidth * Rhs::kCells;
188 return w + d * CellFormat::kWidth;
192 assert(CellFormat::kWidth == CellFormat::kDepth);
193 static const int size = CellFormat::kWidth;
kernel_reference.h 40 Format::Lhs::kCells, Format::Lhs::Cell::kWidth,
43 Format::Rhs::Cell::kDepth, Format::Rhs::Cell::kWidth,
64 Format::Lhs::Cell::kWidth * Format::kDepth;
68 Format::Rhs::Cell::kWidth * Format::kDepth;
74 for (int ri = 0; ri < Format::Lhs::Cell::kWidth; ri++) {
75 for (int ci = 0; ci < Format::Rhs::Cell::kWidth; ci++) {
83 accumulator + (ri + rc * Format::Lhs::Cell::kWidth) +
84 (ci + cc * Format::Rhs::Cell::kWidth) * Format::kRows;
  /external/webrtc/webrtc/video/
overuse_frame_detector_unittest.cc 21 const int kWidth = 640;
90 1000, kFrameInterval33ms, kWidth, kHeight, kDelayMs);
99 1300, kFrameInterval33ms, kWidth, kHeight, kDelayMs1);
101 1, kFrameInterval33ms, kWidth, kHeight, kDelayMs2);
155 1200, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms);
187 1000, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms);
194 1000, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms);
198 1, kFrameInterval33ms, kWidth, kHeight + 1, kProcessTime5ms);
205 1000, kFrameInterval33ms, kWidth, kHeight, kProcessTime5ms);
208 2, options_.frame_timeout_interval_ms, kWidth, kHeight, kProcessTime5ms)
    [all...]
  /external/webrtc/talk/media/base/
videoframe_unittest.h 67 static const int kWidth = 1280;
80 kWidth, kHeight, frame);
545 CreateYuvSample(kWidth, kHeight, 12));
547 kWidth, kHeight, &frame));
550 const uint8_t* u = y + kWidth * kHeight;
551 const uint8_t* v = u + kWidth * kHeight / 4;
552 EXPECT_TRUE(IsEqual(frame, kWidth, kHeight, 1, 1, 0, y, kWidth, u,
553 kWidth / 2, v, kWidth / 2, 0))
    [all...]
  /external/libvpx/libvpx/test/
active_map_test.cc 24 static const int kWidth = 208;
55 map.cols = (kWidth + 15) / 16;
63 map.cols = (kWidth + 15) / 16;
82 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, 1,
  /external/pdfium/core/fxcrt/
fx_basic_memmgr_unittest.cpp 15 const size_t kWidth = 640;
16 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10;
47 EXPECT_DEATH_IF_SUPPORTED(ptr = FX_Alloc2D(int, kWidth, kOverflowIntAlloc2D),
  /external/skia/bench/
BitmapRectBench.cpp 48 static const int kWidth = 128;
57 fBitmap.setInfo(SkImageInfo::MakeN32Premul(kWidth, kHeight));
75 fSrcR.iset(0, 0, kWidth, kHeight);
76 fDstR.iset(0, 0, kWidth, kHeight);
84 fDstR.fRight += SK_Scalar1 / (kWidth * 60);
RectanizerBench.cpp 30 static const int kWidth = 1024;
79 fRectanizer.reset(new GrRectanizerPow2(kWidth, kHeight));
82 fRectanizer.reset(new GrRectanizerSkyline(kWidth, kHeight));
93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2),
96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)),
ShadowBench.cpp 28 kWidth = 640,
35 kNumRRects = ((kWidth - kRRSpace) / kRRStep)*((kHeight - kRRSpace) / kRRStep)
51 for (int x = kRRSpace; x < kWidth - kRRStep; x += kRRStep) {

Completed in 888 milliseconds

1 2 3 4