/external/skia/tests/ |
DeviceTest.cpp | 43 static const int kHeight = 90; 45 SkImageInfo ii = SkImageInfo::MakeN32Premul(2*kWidth, 2*kHeight); 50 bm.tryAllocN32Pixels(kWidth, kHeight); 56 SkASSERT(kHeight == special->height()); 58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); 65 SkASSERT(kHeight == special->height()); 67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); 73 SkASSERT(2*kHeight == special->height()); 74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset()); 83 static const int kHeight = 90 [all...] |
GrTestingBackendTextureUploadTest.cpp | 20 const int kHeight = 16; 23 srcBuffer.reset(kWidth * kHeight); 24 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 26 SkAutoTMalloc<GrColor> dstBuffer(kWidth * kHeight); 40 kHeight, 60 kHeight, ct, dstBuffer, rowBytes); 65 srcBuffer.reset(kWidth * kHeight); 66 memset(srcBuffer, 0, kWidth * kHeight * sizeof(GrColor)); 70 kWidth, kHeight));
|
GrUploadPixelsTests.cpp | 25 const int kHeight = 16; 26 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); 27 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); 29 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 31 auto proxy = sk_gpu_test::MakeTextureProxyFromData(context, renderTarget, kWidth, kHeight, ct, 37 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kPremul_SkAlphaType); 44 kHeight)); 50 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); 61 proxy = sk_gpu_test::MakeTextureProxyFromData(context, renderTarget, kWidth, kHeight, ct, 67 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kPremul_SkAlphaType) [all...] |
GpuRectanizerTest.cpp | 16 static const int kHeight = 1024; 21 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); 46 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight); 53 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight); 65 rand.nextRangeU(1, kHeight / 2)));
|
/external/skqp/tests/ |
DeviceTest.cpp | 43 static const int kHeight = 90; 45 SkImageInfo ii = SkImageInfo::MakeN32Premul(2*kWidth, 2*kHeight); 50 bm.tryAllocN32Pixels(kWidth, kHeight); 56 SkASSERT(kHeight == special->height()); 58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); 65 SkASSERT(kHeight == special->height()); 67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); 73 SkASSERT(2*kHeight == special->height()); 74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset()); 83 static const int kHeight = 90 [all...] |
GrTestingBackendTextureUploadTest.cpp | 20 const int kHeight = 16; 23 srcBuffer.reset(kWidth * kHeight); 24 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 26 SkAutoTMalloc<GrColor> dstBuffer(kWidth * kHeight); 40 kHeight, 60 kHeight, ct, dstBuffer, rowBytes); 65 srcBuffer.reset(kWidth * kHeight); 66 memset(srcBuffer, 0, kWidth * kHeight * sizeof(GrColor)); 70 kWidth, kHeight));
|
GrUploadPixelsTests.cpp | 25 const int kHeight = 16; 26 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); 27 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); 29 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 31 auto proxy = sk_gpu_test::MakeTextureProxyFromData(context, renderTarget, kWidth, kHeight, ct, 37 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kPremul_SkAlphaType); 44 kHeight)); 50 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); 61 proxy = sk_gpu_test::MakeTextureProxyFromData(context, renderTarget, kWidth, kHeight, ct, 67 SkImageInfo dstInfo = SkImageInfo::Make(kWidth, kHeight, ct, kPremul_SkAlphaType) [all...] |
GpuRectanizerTest.cpp | 16 static const int kHeight = 1024; 21 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); 46 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight); 53 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight); 65 rand.nextRangeU(1, kHeight / 2)));
|
/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...] |
textblobuseaftergpufree.cpp | 28 return SkISize::Make(kWidth, kHeight); 38 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 51 static constexpr int kHeight = 200;
|
blurredclippedcircle.cpp | 32 return SkISize::Make(kWidth, kHeight); 47 SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 84 static constexpr int kHeight = 802;
|
imageblur2.cpp | 16 constexpr int kHeight = 500; 18 DEF_SIMPLE_GM(imageblur2, canvas, kWidth, kHeight) { 31 constexpr SkScalar dy = kHeight / sigmaCount;
|
textblobgeometrychange.cpp | 28 return SkISize::Make(kWidth, kHeight); 49 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 64 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...] |
textblobuseaftergpufree.cpp | 28 return SkISize::Make(kWidth, kHeight); 44 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 57 static constexpr int kHeight = 200;
|
blurredclippedcircle.cpp | 32 return SkISize::Make(kWidth, kHeight); 47 SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 84 static constexpr int kHeight = 802;
|
/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 | 51 std::unique_ptr<GrRectanizer>(new GrRectanizerPow2(kWidth, kHeight))); 53 std::unique_ptr<GrRectanizer>(new GrRectanizerSkyline(kWidth, kHeight))); 99 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 122 100.0f * totArea / ((float)kWidth*kHeight), 125 canvas->drawString(str, 50, kHeight + 50, blackBigFont, SkPaint()); 128 canvas->drawString(str, 50, kHeight + 100, blackBigFont, SkPaint()); 131 canvas->drawString(str, 50, kHeight + 150, blackBigFont, SkPaint()); 136 static const int kHeight = 1024;
|
/external/skqp/samplecode/ |
SampleRectanizer.cpp | 51 std::unique_ptr<GrRectanizer>(new GrRectanizerPow2(kWidth, kHeight))); 53 std::unique_ptr<GrRectanizer>(new GrRectanizerSkyline(kWidth, kHeight))); 99 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 122 100.0f * totArea / ((float)kWidth*kHeight), 125 canvas->drawString(str, 50, kHeight + 50, blackBigFont, SkPaint()); 128 canvas->drawString(str, 50, kHeight + 100, blackBigFont, SkPaint()); 131 canvas->drawString(str, 50, kHeight + 150, blackBigFont, SkPaint()); 136 static const int kHeight = 1024;
|
/external/libaom/libaom/test/ |
active_map_test.cc | 27 static const int kHeight = 144; 58 map.rows = (kHeight + 15) / 16; 66 map.rows = (kHeight + 15) / 16; 80 ::libaom_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
|