/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 | 60 const int kHeight = 16; 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/ |
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 | 60 const int kHeight = 16; 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/ |
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); 52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 67 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;
|
/external/skqp/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); 52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 67 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;
|
/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 | 49 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;
|
/external/skqp/samplecode/ |
SampleRectanizer.cpp | 49 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;
|
/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)));
|