Home
last modified time | relevance | path

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

/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_public_interface.cpp387 … const gralloc1_buffer_descriptor_info_t* descriptorInfo, in mali_gralloc1_validate_buffer_size() argument
417 if (!descriptorInfo->width || !descriptorInfo->height ||!descriptorInfo->layerCount) in mali_gralloc1_validate_buffer_size()
420 descriptorInfo->width, descriptorInfo->height, descriptorInfo->layerCount); in mali_gralloc1_validate_buffer_size()
424 if (descriptorInfo->format == 0) in mali_gralloc1_validate_buffer_size()
431 grallocDescriptor.width = descriptorInfo->width; in mali_gralloc1_validate_buffer_size()
432 grallocDescriptor.height = descriptorInfo->height; in mali_gralloc1_validate_buffer_size()
433 grallocDescriptor.layer_count = descriptorInfo->layerCount; in mali_gralloc1_validate_buffer_size()
434 grallocDescriptor.hal_format = descriptorInfo->format; in mali_gralloc1_validate_buffer_size()
435 grallocDescriptor.producer_usage = descriptorInfo->producerUsage; in mali_gralloc1_validate_buffer_size()
436 grallocDescriptor.consumer_usage = descriptorInfo->consumerUsage; in mali_gralloc1_validate_buffer_size()