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

1 2 3 4

  /external/skia/tests/
DeviceTest.cpp 37 static const int kHeight = 90;
39 SkImageInfo ii = SkImageInfo::MakeN32Premul(2*kWidth, 2*kHeight);
44 bm.tryAllocN32Pixels(kWidth, kHeight);
50 SkASSERT(kHeight == special->height());
52 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
59 SkASSERT(kHeight == special->height());
61 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
67 SkASSERT(2*kHeight == special->height());
68 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
79 static const int kHeight = 90
    [all...]
GpuRectanizerTest.cpp 18 static const int kHeight = 1024;
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
67 rand.nextRangeU(1, kHeight / 2)));
VkUploadPixelsTests.cpp 57 const int kHeight = 16;
58 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight);
59 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight);
61 fill_pixel_data(kWidth, kHeight, srcBuffer.get());
67 surfDesc.fHeight = kHeight;
82 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
89 kHeight));
95 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor));
116 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
123 kHeight));
    [all...]
RectangleTextureTest.cpp 93 static const int kHeight = 13;
95 GrColor pixels[kWidth * kHeight];
96 for (int y = 0; y < kHeight; ++y) {
105 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA,
121 GrBackendTexture rectangleTex(kWidth, kHeight, kRGBA_8888_GrPixelConfig, rectangleInfo);
123 GrColor refPixels[kWidth * kHeight];
124 for (int y = 0; y < kHeight; ++y) {
126 int y0 = useBLOrigin ? kHeight - y - 1 : y;
  /external/skia/gm/
stlouisarch.cpp 22 SkISize onISize() override { return SkISize::Make((int)kWidth, (int)kHeight); }
28 bigQuad->quadTo(kWidth/2, kHeight, kWidth, 0);
33 SkScalar yPos = kHeight / 2 + 10;
42 bigCubic->cubicTo(0, kHeight,
43 kWidth, kHeight,
49 SkScalar yPos = kHeight / 2;
59 bigConic->conicTo(kWidth/2, kHeight, kWidth, 0, .5);
64 SkScalar yPos = kHeight / 2 - 10;
73 canvas->translate(0, -kHeight);
86 const SkScalar kHeight = 256
    [all...]
stringart.cpp 17 constexpr int kHeight = 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));
86 static constexpr int kHeight = 802;
textblobgeometrychange.cpp 28 return SkISize::Make(kWidth, kHeight);
55 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f);
70 static constexpr int kHeight = 200;
textblobuseaftergpufree.cpp 30 return SkISize::Make(kWidth, kHeight);
54 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f);
67 static constexpr int kHeight = 200;
glyph_pos_align.cpp 16 constexpr int kHeight = 600;
22 DEF_SIMPLE_GM_BG(glyph_pos_align, canvas, kWidth, kHeight, SK_ColorBLACK) {
27 const SkPoint pts[] = {{0, 0}, {kWidth, kHeight}};
lcdoverlap.cpp 22 constexpr int kHeight = 750;
51 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); }
80 SkScalar offsetY = kHeight / 4.0f;
manypaths.cpp 35 static const int kHeight = 600;
42 return SkISize::Make(kWidth, kHeight);
52 SkScalar y = rand.nextF() * kHeight - 100;
textblobcolortrans.cpp 60 return SkISize::Make(kWidth, kHeight);
80 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight;
94 static constexpr int kHeight = 1600;
bigtileimagefilter.cpp 43 return SkISize::Make(kWidth, kHeight);
57 const SkRect bound = SkRect::MakeIWH(kWidth, kHeight);
62 SkRect::MakeIWH(kWidth, kHeight),
98 static constexpr int kHeight = 512;
textblobblockreordering.cpp 47 return SkISize::Make(kWidth, kHeight);
83 static constexpr int kHeight = 200;
  /external/webrtc/webrtc/test/testsupport/metrics/
video_metrics_unittest.cc 19 static const int kHeight = 288;
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/webrtc/talk/session/media/
planarfunctions_unittest.cc 63 static const int kHeight = 720;
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));
532 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); }
542 int y_size = kHeight * kWidth;
543 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1)
    [all...]
  /external/webrtc/webrtc/video/
overuse_frame_detector_unittest.cc 22 const int kHeight = 480;
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/libyuv/files/unit_test/
convert_test.cc 37 const int kHeight = benchmark_height_; \
38 align_buffer_page_end(src_y, kWidth* kHeight + OFF); \
40 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + \
43 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + \
45 align_buffer_page_end(dst_y_c, kWidth* kHeight); \
47 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
49 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
50 align_buffer_page_end(dst_y_opt, kWidth* kHeight); \
52 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
54 SUBSAMPLE(kHeight, SUBSAMP_Y));
    [all...]
  /external/libvpx/libvpx/test/
active_map_test.cc 25 static const int kHeight = 144;
56 map.rows = (kHeight + 15) / 16;
64 map.rows = (kHeight + 15) / 16;
82 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, 1,
  /external/webrtc/talk/media/base/
videoframe_unittest.h 68 static const int kHeight = 720;
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,
560 CreateYuvSample(kWidth, kHeight, 12));
562 kWidth, kHeight, &frame));
565 const uint8_t* v = y + kWidth * kHeight;
    [all...]
  /external/skia/samplecode/
SampleRectanizer.cpp 48 fRectanizers[0] = new GrRectanizerPow2(kWidth, kHeight);
49 fRectanizers[1] = new GrRectanizerSkyline(kWidth, kHeight);
96 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight));
119 100.0f * totArea / ((float)kWidth*kHeight),
122 canvas->drawString(str, 50, kHeight + 50, blackBigFont);
125 canvas->drawString(str, 50, kHeight + 100, blackBigFont);
128 canvas->drawString(str, 50, kHeight + 150, blackBigFont);
135 static const int kHeight = 1024;
  /external/skia/bench/
RectanizerBench.cpp 31 static const int kHeight = 1024;
79 fRectanizer.reset(new GrRectanizerPow2(kWidth, kHeight));
82 fRectanizer.reset(new GrRectanizerSkyline(kWidth, kHeight));
94 rand.nextRangeU(1, kHeight / 2));
97 GrNextPow2(rand.nextRangeU(1, kHeight / 2)));
ShadowBench.cpp 29 kHeight = 480,
35 kNumRRects = ((kWidth - kRRSpace) / kRRStep)*((kHeight - kRRSpace) / kRRStep)
52 for (int y = kRRSpace; y < kHeight - kRRStep; y += kRRStep) {
BitmapRectBench.cpp 49 static const int kHeight = 128;
57 fBitmap.setInfo(SkImageInfo::MakeN32Premul(kWidth, kHeight));
75 fSrcR.iset(0, 0, kWidth, kHeight);
76 fDstR.iset(0, 0, kWidth, kHeight);

Completed in 531 milliseconds

1 2 3 4