Searched refs:memory_attibute (Results 1 – 1 of 1) sorted by relevance
526 VASurfaceAttribExternalBuffers *memory_attibute, in suface_from_external_memory() argument539 if (!memory_attibute || !memory_attibute->buffers || in suface_from_external_memory()540 index > memory_attibute->num_buffers) in suface_from_external_memory()543 if (surface->templat.width != memory_attibute->width || in suface_from_external_memory()544 surface->templat.height != memory_attibute->height || in suface_from_external_memory()545 memory_attibute->num_planes < 1) in suface_from_external_memory()548 switch (memory_attibute->pixel_format) { in suface_from_external_memory()553 if (memory_attibute->num_planes != 1) in suface_from_external_memory()565 res_templ.width0 = memory_attibute->width; in suface_from_external_memory()566 res_templ.height0 = memory_attibute->height; in suface_from_external_memory()[all …]