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

1234567

/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.cpp60 const int kHeight = 16; local
61 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight);
62 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight);
64 fill_pixel_data(kWidth, kHeight, srcBuffer.get());
70 surfDesc.fHeight = kHeight;
83 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
90 kHeight));
96 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor));
114 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
121 kHeight));
[all...]
/external/skqp/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.cpp60 const int kHeight = 16; local
61 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight);
62 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight);
64 fill_pixel_data(kWidth, kHeight, srcBuffer.get());
70 surfDesc.fHeight = kHeight;
83 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
90 kHeight));
96 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor));
114 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType);
121 kHeight));
[all...]
/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);
52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f);
67 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
/external/skqp/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);
52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f);
67 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
/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::__anon31166
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_
1436 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:__anon12650::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.cpp49 std::unique_ptr<GrRectanizer>(new GrRectanizerPow2(kWidth, kHeight)));
51 std::unique_ptr<GrRectanizer>(new GrRectanizerSkyline(kWidth, kHeight)));
97 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight));
120 100.0f * totArea / ((float)kWidth*kHeight),
123 canvas->drawString(str, 50, kHeight + 50, blackBigFont);
126 canvas->drawString(str, 50, kHeight + 100, blackBigFont);
129 canvas->drawString(str, 50, kHeight + 150, blackBigFont);
134 static const int kHeight = 1024; member in class:RectanizerView
/external/skqp/samplecode/
H A DSampleRectanizer.cpp49 std::unique_ptr<GrRectanizer>(new GrRectanizerPow2(kWidth, kHeight)));
51 std::unique_ptr<GrRectanizer>(new GrRectanizerSkyline(kWidth, kHeight)));
97 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight));
120 100.0f * totArea / ((float)kWidth*kHeight),
123 canvas->drawString(str, 50, kHeight + 50, blackBigFont);
126 canvas->drawString(str, 50, kHeight + 100, blackBigFont);
129 canvas->drawString(str, 50, kHeight + 150, blackBigFont);
134 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)));

Completed in 427 milliseconds

1234567