Searched refs:image_formats (Results 1 – 2 of 2) sorted by relevance
154 VAImageFormat *image_formats; in ensure_image_formats() local164 image_formats = (VAImageFormat *) malloc(num_image_formats * sizeof(*image_formats)); in ensure_image_formats()165 if (!image_formats) in ensure_image_formats()168 va_status = vaQueryImageFormats(va_dpy, image_formats, &num_image_formats); in ensure_image_formats()171 va_image_formats = image_formats; in ensure_image_formats()
299 CHECK_MAXIMUM(vaStatus, ctx, image_formats); in va_openDriver()690 VAImageFormat *image_formats = NULL; in va_impl_query_surface_attributes() local714 image_formats = malloc(num_image_formats * sizeof(*image_formats)); in va_impl_query_surface_attributes()715 if (!image_formats) { in va_impl_query_surface_attributes()721 ctx, image_formats, &num_image_formats); in va_impl_query_surface_attributes()746 attrib->value.value.i = image_formats[i].fourcc; in va_impl_query_surface_attributes()809 free(image_formats); in va_impl_query_surface_attributes()