/external/skia/src/gpu/effects/ |
GrMatrixConvolutionEffect.cpp | 44 int kHeight = mce.kernelSize().height(); 46 int arrayCount = (kWidth * kHeight + 3) / 4; 47 SkASSERT(4 * arrayCount >= kWidth * kHeight); 73 for (int y = 0; y < kHeight; y++) {
|
/external/skia/tests/ |
BlendTest.cpp | 119 const int kHeight = 10; 163 context, sampleCnt, kWidth, kHeight, kColorType, kConfig, origin, &backingSurface); 176 canvas->drawRect(SkRect::MakeXYWH(0, 0, kWidth, kHeight), black_paint); 188 kWidth, kHeight, kColorType, kPremul_SkAlphaType)));
|
RRectInPathTest.cpp | 170 static const SkScalar kHeight = 100.0f; 274 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 289 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; 348 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 377 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 379 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); 391 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 411 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
|
RoundRectTest.cpp | 122 static const SkScalar kHeight = 100.0f; 187 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 207 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; 292 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 322 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 324 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); 334 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 354 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 697 SkRect r = { 0, 0, kWidth, kHeight };
|
CanvasTest.cpp | 176 static const int kWidth = 2, kHeight = 2; 179 bm->allocN32Pixels(kWidth, kHeight);
|
CodecTest.cpp | [all...] |
SurfaceTest.cpp | 706 const int kHeight = 10; 707 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]); 708 sk_memset32(pixels.get(), color, kWidth * kHeight); 711 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo); 733 const int kHeight = 10; 734 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]); 735 sk_memset32(pixels.get(), color, kWidth * kHeight); 738 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo); [all...] |
/external/skqp/experimental/svg/model/ |
SkSVGAttribute.h | 28 kHeight,
|
/external/skqp/gm/ |
textbloblooper.cpp | 25 constexpr int kHeight = 700; 223 return SkISize::Make(kWidth, kHeight);
|
gradients.cpp | 697 const SkScalar kHeight = 5.f; 725 canvas->drawRect(SkRect::MakeLTRB(0, index * kHeight, kMinWidth + index * kWidthBump, 726 (index + 1) * kHeight), paint); [all...] |
/external/skqp/src/gpu/effects/ |
GrMatrixConvolutionEffect.cpp | 44 int kHeight = mce.kernelSize().height(); 46 int arrayCount = (kWidth * kHeight + 3) / 4; 47 SkASSERT(4 * arrayCount >= kWidth * kHeight); 73 for (int y = 0; y < kHeight; y++) {
|
/external/skqp/tests/ |
BlendTest.cpp | 119 const int kHeight = 10; 163 context, sampleCnt, kWidth, kHeight, kColorType, kConfig, origin, &backingSurface); 176 canvas->drawRect(SkRect::MakeXYWH(0, 0, kWidth, kHeight), black_paint); 188 kWidth, kHeight, kColorType, kPremul_SkAlphaType)));
|
RRectInPathTest.cpp | 170 static const SkScalar kHeight = 100.0f; 274 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 289 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; 348 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 377 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 379 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); 391 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 411 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
|
RoundRectTest.cpp | 122 static const SkScalar kHeight = 100.0f; 187 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 207 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; 292 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 322 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 324 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); 334 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 354 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 697 SkRect r = { 0, 0, kWidth, kHeight };
|
SurfaceTest.cpp | 589 const int kHeight = 10; 590 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]); 591 sk_memset32(pixels.get(), color, kWidth * kHeight); 594 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo); 616 const int kHeight = 10; 617 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kWidth * kHeight]); 618 sk_memset32(pixels.get(), color, kWidth * kHeight); 621 pixels.get(), kWidth, kHeight, kRGBA_8888_GrPixelConfig, true, GrMipMapped::kNo); [all...] |
/external/v4l2_codec2/cmds/ |
codec2.cpp | 58 const int kHeight = 240; // BigBuckBunny.mp4 60 //const int kHeight = 320; // small.mp4 148 mControl = mComposerClient->createSurface(String8("A Surface"), kWidth, kHeight,
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtp_format_vp9_unittest.cc | 658 const uint16_t kHeight[2] = {360, 720}; 664 packet[4] = kHeight[0] >> 8; 665 packet[5] = kHeight[0] & 0xFF; 668 packet[8] = kHeight[1] >> 8; 669 packet[9] = kHeight[1] & 0xFF; 674 EXPECT_EQ(kHeight[0], parsed.type.Video.height);
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/ |
vp8_impl_unittest.cc | 121 length_source_frame_ = CalcBufferSize(kI420, kWidth, kHeight); 130 codec_inst_.height = kHeight; 182 const int kHeight = 144; 273 size_t length = CalcBufferSize(kI420, kWidth, kHeight);
|
/external/webrtc/webrtc/modules/video_coding/ |
receiver_unittest.cc | 32 enum { kHeight = 480 }; 50 return receiver_.InsertPacket(packet, kWidth, kHeight); 59 return receiver_.InsertPacket(packet, kWidth, kHeight);
|
/external/webrtc/webrtc/video/ |
send_statistics_proxy_unittest.cc | 304 const int kHeight = 480; 307 statistics_proxy_->OnIncomingFrame(kWidth, kHeight);
|
/hardware/libhardware/modules/camera/3_4/ |
static_properties_test.cpp | 88 int32_t height = kHeight) { 122 static constexpr int32_t kHeight = 240; 148 kHeight, 156 kHeight, 160 kHeight, 164 kHeight, 168 kHeight, 172 kHeight, 177 {{{output_multisize_non_stalling_, kWidth, kHeight, 0}}}, 182 {{{bidirectional_self_supporting_stalling_, kWidth, kHeight, 10}}} [all...] |
/frameworks/native/libs/vr/libbufferhub/ |
buffer_hub-test.cpp | 39 const int kHeight = 480; 52 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 114 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 181 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 215 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 267 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 338 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 362 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 404 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); 426 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)) [all...] |
/hardware/google/av/codec2/tests/vndk/ |
C2BufferTest.cpp | 454 constexpr uint32_t kHeight = 240; 456 allocateGraphic(kWidth, kHeight); 459 C2Rect rect(kWidth, kHeight); 476 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12); 477 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34); 478 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56); 494 ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12)) [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/skia/gm/ |
gradients.cpp | 697 const SkScalar kHeight = 5.f; 725 canvas->drawRect(SkRect::MakeLTRB(0, index * kHeight, kMinWidth + index * kWidthBump, 726 (index + 1) * kHeight), paint); [all...] |