Searched refs:crops (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | MapperMetadata.cpp | 521 std::vector<Rect> crops(num_planes); in get_metadata() local 546 crops[plane_index] = rect; in get_metadata() 548 err = android::gralloc4::encodeCrop(crops, &vec); in get_metadata() 679 std::vector<Rect> crops; in set_metadata() local 680 err = android::gralloc4::decodeCrop(metadata, &crops); in set_metadata() 683 err = set_crop_rect(handle, crops[0]); in set_metadata() 877 std::vector<Rect> crops(num_planes); in getFromBufferDescriptorInfo() local 888 crops[plane_index] = rect; in getFromBufferDescriptorInfo() 890 err = android::gralloc4::encodeCrop(crops, &vec); in getFromBufferDescriptorInfo()
|
/hardware/google/gchips/gralloc4/src/stable-c/ |
D | GrallocMapper.cpp | 151 std::vector<Rect> crops(num_planes); in getStandardMetadataHelper() local 166 crops[plane_index] = rect; in getStandardMetadataHelper() 168 return provide(crops); in getStandardMetadataHelper()
|
/hardware/interfaces/graphics/mapper/4.0/vts/functional/ |
D | VtsHalGraphicsMapperV4_0TargetTest.cpp | 1469 std::vector<aidl::android::hardware::graphics::common::Rect> crops; in TEST_P() local 1470 ASSERT_EQ(NO_ERROR, gralloc4::decodeCrop(vec, &crops)); in TEST_P() 1471 EXPECT_EQ(1, crops.size()); in TEST_P() 1872 std::vector<aidl::android::hardware::graphics::common::Rect> crops{{0, 0, 32, 32}}; in TEST_P() local 1874 ASSERT_EQ(NO_ERROR, gralloc4::encodeCrop(crops, &vec)); in TEST_P() 1881 ASSERT_EQ(crops.front().left, realCrops.front().left); in TEST_P() 1882 ASSERT_EQ(crops.front().top, realCrops.front().top); in TEST_P() 1883 ASSERT_EQ(crops.front().right, realCrops.front().right); in TEST_P() 1884 ASSERT_EQ(crops.front().bottom, realCrops.front().bottom); in TEST_P() 2479 std::vector<aidl::android::hardware::graphics::common::Rect> crops; in TEST_P() local [all …]
|
/hardware/interfaces/graphics/composer/2.1/ |
D | IComposerClient.hal | 1057 * If the device cannot support float source crops, but still wants to
|