Searched refs:kHeight (Results 1 - 25 of 81) sorted by relevance

1234

/external/skia/tests/
H A DDeviceTest.cpp37 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 local
[all...]
H A DGpuRectanizerTest.cpp18 static const int kHeight = 1024; variable
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
67 rand.nextRangeU(1, kHeight / 2)));
H A DVkUploadPixelsTests.cpp57 const int kHeight = 16; local
58 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight);
59 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight);
61 fill_pixel_data(kWidth, kHeight, srcBuffer.get());
82 surfDesc.fHeight = kHeight;
88 gpu->readPixels(tex0, 0, 0, kWidth, kHeight, config, dstBuffer, 0);
93 kHeight));
96 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor));
113 gpu->readPixels(tex1, 0, 0, kWidth, kHeight, config, dstBuffer, 0);
118 kHeight));
[all...]
H A DRectangleTextureTest.cpp93 static const int kHeight = 13; local
95 GrColor pixels[kWidth * kHeight];
96 for (int y = 0; y < kHeight; ++y) {
103 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA,
123 rectangleDesc.fHeight = kHeight;
127 GrColor refPixels[kWidth * kHeight];
129 for (int y = 0; y < kHeight; ++y) {
131 int y0 = flipRef ? kHeight - y - 1 : y;
/external/skia/gm/
H A Dstlouisarch.cpp22 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 member in class:skiagm::StLouisArchGM
[all...]
H A Dstringart.cpp17 constexpr int kHeight = 440; variable
35 return SkISize::Make(kWidth, kHeight);
40 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight));
41 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
H A Dblurredclippedcircle.cpp33 return SkISize::Make(kWidth, kHeight);
48 SkIntToScalar(kWidth), SkIntToScalar(kHeight));
86 static constexpr int kHeight = 802; member in class:skiagm::BlurredClippedCircleGM
H A Dtextblobgeometrychange.cpp28 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; member in class:skiagm::TextBlobGeometryChange
H A Dtextblobuseaftergpufree.cpp30 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; member in class:skiagm::TextBlobUseAfterGpuFree
H A Dglyph_pos_align.cpp16 constexpr int kHeight = 600; variable
22 DEF_SIMPLE_GM_BG(glyph_pos_align, canvas, kWidth, kHeight, SK_ColorBLACK) {
27 const SkPoint pts[] = {{0, 0}, {kWidth, kHeight}};
H A Dlcdoverlap.cpp22 constexpr int kHeight = 750; member in namespace:skiagm
51 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); }
80 SkScalar offsetY = kHeight / 4.0f;
H A Dmanypaths.cpp35 static const int kHeight = 600; member in class:skiagm::ManyCirclesGM
42 return SkISize::Make(kWidth, kHeight);
52 SkScalar y = rand.nextF() * kHeight - 100;
H A Dtextblobcolortrans.cpp60 return SkISize::Make(kWidth, kHeight);
80 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight;
94 static constexpr int kHeight = 1600; member in class:skiagm::TextBlobColorTrans
H A Dbigtileimagefilter.cpp43 return SkISize::Make(kWidth, kHeight);
57 const SkRect bound = SkRect::MakeIWH(kWidth, kHeight);
62 SkRect::MakeIWH(kWidth, kHeight),
98 static constexpr int kHeight = 512; member in class:skiagm::BigTileImageFilterGM
H A Dtextblobblockreordering.cpp47 return SkISize::Make(kWidth, kHeight);
83 static constexpr int kHeight = 200; member in class:skiagm::TextBlobBlockReordering
H A Danimatedimageblurs.cpp18 static const int kHeight = 512; variable
33 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); }
89 fPos.fY = rand->nextRangeF(fSize, kHeight - fSize);
110 if (fPos.fY >= kHeight || fPos.fY < 0.0f) {
111 fPos.fY = SkTPin<SkScalar>(fPos.fY, 0.0f, kHeight);
/external/webrtc/webrtc/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc19 static const int kHeight = 288; member in namespace:webrtc
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/
H A Dplanarfunctions_unittest.cc63 static const int kHeight = 720; member in namespace:cricket
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
[all...]
/external/webrtc/webrtc/video/
H A Doveruse_frame_detector_unittest.cc22 const int kHeight = 480; member in namespace:webrtc::__anon24956
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, kProcessTime5m
[all...]
/external/libyuv/files/unit_test/
H A Dconvert_test.cc37 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_
1435 const int kHeight = benchmark_height_; local
[all...]
/external/libvpx/libvpx/test/
H A Dactive_map_test.cc25 static const int kHeight = 144; member in class:__anon11708::ActiveMapTest
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/
H A Dvideoframe_unittest.h68 static const int kHeight = 720; member in class:VideoFrameTest
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/
H A DSampleRectanizer.cpp48 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->drawText(str.c_str(), str.size(), 50, kHeight + 50, blackBigFont);
125 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 100, blackBigFont);
128 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 150, blackBigFont);
135 static const int kHeight = 1024; member in class:RectanizerView
/external/skia/bench/
H A DRectanizerBench.cpp31 static const int kHeight = 1024; member in class:RectanizerBench
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)));
H A DBitmapRectBench.cpp49 static const int kHeight = 128; member in class:BitmapRectBench
57 fBitmap.setInfo(SkImageInfo::MakeN32Premul(kWidth, kHeight));
75 fSrcR.iset(0, 0, kWidth, kHeight);
76 fDstR.iset(0, 0, kWidth, kHeight);

Completed in 835 milliseconds

1234