/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); 52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 66 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;
|
/external/skqp/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); 52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 66 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;
|
/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 | 59 const int kWidth = 16; 61 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); 62 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); 64 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 69 surfDesc.fWidth = kWidth; 83 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType); 89 kWidth, 96 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); 114 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType); 120 kWidth, [all...] |
/external/skqp/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 | 59 const int kWidth = 16; 61 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); 62 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); 64 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 69 surfDesc.fWidth = kWidth; 83 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType); 89 kWidth, 96 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); 114 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kOpaque_SkAlphaType); 120 kWidth, [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...] |
/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; 186 const int size = CellFormat::kWidth; 189 return w + d * CellFormat::kWidth; 193 assert(CellFormat::kWidth == CellFormat::kDepth);
|
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_memory_unittest.cpp | 16 const size_t kWidth = 640; 17 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10; 48 EXPECT_DEATH_IF_SUPPORTED(ptr = FX_Alloc2D(int, kWidth, kOverflowIntAlloc2D),
|