Searched refs:memory_attribute (Results 1 – 1 of 1) sorted by relevance
573 VASurfaceAttribExternalBuffers *memory_attribute, in surface_from_external_memory() argument588 if (!memory_attribute || !memory_attribute->buffers || in surface_from_external_memory()589 index > memory_attribute->num_buffers) in surface_from_external_memory()592 if (surface->templat.width != memory_attribute->width || in surface_from_external_memory()593 surface->templat.height != memory_attribute->height || in surface_from_external_memory()594 memory_attribute->num_planes < 1) in surface_from_external_memory()597 if (memory_attribute->num_planes > VL_NUM_COMPONENTS) in surface_from_external_memory()612 whandle.handle = memory_attribute->buffers[index]; in surface_from_external_memory()618 for (i = 0; i < memory_attribute->num_planes; i++) { in surface_from_external_memory()632 memory_attribute->width); in surface_from_external_memory()[all …]