Home
last modified time | relevance | path

Searched refs:ycbcr_info (Results 1 – 2 of 2) sorted by relevance

/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c614 struct grallocinfo rgba_info, ycbcr_info; in test_async() local
617 grallocinfo_init(&ycbcr_info, 512, 512, HAL_PIXEL_FORMAT_YCbCr_420_888, in test_async()
621 CHECK(allocate(ctx->device, &ycbcr_info)); in test_async()
624 CHECK(lock_async_ycbcr(ctx->module, &ycbcr_info)); in test_async()
627 CHECK(ycbcr_info.ycbcr.y); in test_async()
628 CHECK(ycbcr_info.ycbcr.cb); in test_async()
629 CHECK(ycbcr_info.ycbcr.cr); in test_async()
636 CHECK(unlock_async(ctx->module, &ycbcr_info)); in test_async()
643 if (ycbcr_info.fence_fd >= 0) { in test_async()
644 CHECK(sync_wait(ycbcr_info.fence_fd, 10000) >= 0); in test_async()
[all …]
/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp6281 VkSamplerYcbcrConversionInfo ycbcr_info = {}; in TEST_F() local
6282 ycbcr_info.sType = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO; in TEST_F()
6283 ycbcr_info.conversion = conversions[0]; in TEST_F()
6287 sci.pNext = &ycbcr_info; in TEST_F()
6293 ycbcr_info.conversion = conversions[1]; // Need two samplers with different conversions in TEST_F()
6304 ycbcr_info.conversion = conversions[0]; // Need two samplers with different conversions in TEST_F()
6305 ivci.pNext = &ycbcr_info; in TEST_F()
6460 …VkSamplerYcbcrConversionCreateInfo ycbcr_info = {VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE… in TEST_F() local
6472 vkCreateSamplerYcbcrConversionKHR(m_device->handle(), &ycbcr_info, nullptr, &conversion); in TEST_F()