Home
last modified time | relevance | path

Searched refs:kWidth (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DRegionSamplingTest.cpp39 static int constexpr kWidth = 98; member
44 Rect const whole_area{0, 0, kWidth, kHeight};
49 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
55 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
66 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, partial_region), in TEST_F()
77 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
84 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F()
93 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
97 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
101 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F()
[all …]
DHWComposerTest.cpp177 constexpr int32_t kWidth = 480; in TEST_F() local
185 .WillRepeatedly(DoAll(SetArgPointee<3>(kWidth), Return(HalError::NONE))); in TEST_F()
216 EXPECT_EQ(modes.front().width, kWidth); in TEST_F()
237 EXPECT_EQ(modes.front().width, kWidth); in TEST_F()
269 constexpr int32_t kWidth = 480; in TEST_F() local
277 .WillRepeatedly(DoAll(SetArgPointee<3>(kWidth), Return(HalError::NONE))); in TEST_F()
308 EXPECT_EQ(modes.front().width, kWidth); in TEST_F()
329 EXPECT_EQ(modes.front().width, kWidth); in TEST_F()
359 constexpr int32_t kWidth = 480; in TEST_F() local
369 .width = kWidth, in TEST_F()
[all …]
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp459 constexpr uint32_t kWidth = 320; in TEST_F() local
462 allocateGraphic(kWidth, kHeight); in TEST_F()
465 C2Rect rect(kWidth, kHeight); in TEST_F()
482 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12); in TEST_F()
483 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34); in TEST_F()
484 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56); in TEST_F()
500 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x1… in TEST_F()
501 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x3… in TEST_F()
502 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x5… in TEST_F()
503 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, yInfo, y, 0)); in TEST_F()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp42 constexpr int32_t kWidth = 3840; in TEST() local
46 GetRawGraphicOutputBuffers(kWidth, kHeight); in TEST()
56 kWidth, kHeight, HAL_PIXEL_FORMAT_YCbCr_420_888, in TEST()
75 auto releaseBuffer = [&buffers, &clientBuffers, kWidth, kHeight](int index) { in TEST()
84 ASSERT_EQ(kWidth, block.width()); in TEST()
110 constexpr int32_t kWidth = 320; in TEST() local
114 GetRawGraphicOutputBuffers(kWidth, kHeight); in TEST()
123 constexpr int32_t kWidth = 320; in TEST() local
166 format->setInt32(KEY_WIDTH, kWidth); in TEST()
180 kWidth, kHeight, pixelFormat, in TEST()
[all …]
DCCodecConfig_test.cpp668 const int kWidth = 32; in TEST_F() local
670 const int kNumBlocks = ((kWidth + 15) / 16) * ((kHeight + 15) / 16); in TEST_F()
677 format->setInt32(KEY_WIDTH, kWidth); in TEST_F()
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp36 const int kWidth = 640; variable
58 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
108 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
176 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
209 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
253 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
316 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
325 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
342 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
361 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F()
[all …]
/frameworks/av/services/camera/virtualcamera/tests/
DEglUtilTest.cc36 constexpr int kWidth = 64; variable
97 EglSurfaceTexture surfaceTexture(kWidth, kHeight); in TEST_F()
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp127 constexpr size_t kWidth = 50; in Usage() local
153 *out << " " << std::setw(kWidth) << std::left << argline << line << "\n"; in Usage()
171 *out << " " << std::setw(kWidth) << std::left << argline << line << "\n"; in Usage()
175 *out << " " << std::setw(kWidth) << std::left << "-h" in Usage()
/frameworks/av/media/module/codecs/m4v_h263/fuzzer/
Dmpeg4_h263_enc_fuzzer.cpp29 constexpr int kWidth[] = {128, 176, 352, 704, 1408}; variable
31 constexpr size_t kWidthNum = std::size(kWidth);
95 mFrameWidth = kWidth[data[IDX_WD_BYTE_1] % kWidthNum]; in initEncoder()
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadEvdev.cpp27 static constexpr int32_t kWidth = 0x10000; variable
73 touchpad.injector->ConfigureMultiTouchXY(0, 0, kWidth - 1, kHeight - 1); in Attach()
97 int32_t device_x = x * kWidth; in Touch()
/frameworks/native/libs/gui/tests/
DBufferItemConsumer_test.cpp27 static constexpr int kWidth = 100; variable
79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, in DequeueBuffer()