Lines Matching defs:format
56 vlVaCreateSurfaces(VADriverContextP ctx, int width, int height, int format,
59 return vlVaCreateSurfaces2(ctx, format, width, height, surfaces, num_surfaces,
208 util_copy_rect(map, dst->texture->format, transfer->stride, 0, 0,
318 enum pipe_format format;
344 surf_templ.format = tex->format;
357 format = surf->buffer->buffer_format;
361 if (format == PIPE_FORMAT_B8G8R8A8_UNORM || format == PIPE_FORMAT_B8G8R8X8_UNORM ||
362 format == PIPE_FORMAT_R8G8B8A8_UNORM || format == PIPE_FORMAT_R8G8B8X8_UNORM) {
619 whandle.format = templat->buffer_format;
626 res_templ.format = resource_formats[i];
627 if (res_templ.format == PIPE_FORMAT_NONE) {
728 res_templ.format = templat->buffer_format;
732 whandle.format = templat->buffer_format;
748 res_templ.format = resource_formats[plane];
827 vlVaCreateSurfaces2(VADriverContextP ctx, unsigned int format,
925 protected = format & VA_RT_FORMAT_PROTECTED;
926 format &= ~VA_RT_FORMAT_PROTECTED;
928 if (VA_RT_FORMAT_YUV420 != format &&
929 VA_RT_FORMAT_YUV422 != format &&
930 VA_RT_FORMAT_YUV444 != format &&
931 VA_RT_FORMAT_YUV420_10BPP != format &&
932 VA_RT_FORMAT_RGB32 != format) {
1239 static uint32_t pipe_format_to_drm_format(enum pipe_format format)
1241 switch (format) {
1345 drm_format = pipe_format_to_drm_format(resource->format);