Searched refs:memory_attibute (Results 1 – 1 of 1) sorted by relevance
490 VASurfaceAttribExternalBuffers *memory_attibute, in suface_from_external_memory() argument507 if (!memory_attibute || !memory_attibute->buffers || in suface_from_external_memory()508 index > memory_attibute->num_buffers) in suface_from_external_memory()511 if (surface->templat.width != memory_attibute->width || in suface_from_external_memory()512 surface->templat.height != memory_attibute->height || in suface_from_external_memory()513 memory_attibute->num_planes < 1) in suface_from_external_memory()516 switch (memory_attibute->pixel_format) { in suface_from_external_memory()521 if (memory_attibute->num_planes != 1) in suface_from_external_memory()533 res_templ.width0 = memory_attibute->width; in suface_from_external_memory()534 res_templ.height0 = memory_attibute->height; in suface_from_external_memory()[all …]