Searched refs:drm_format (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/libavdevice/ |
D | kmsgrab.c | 59 uint32_t drm_format; member 139 .format = ctx->drm_format, in kmsgrab_get_fb() 172 if (fb->pixel_format != ctx->drm_format) { in kmsgrab_get_fb2() 198 .format = ctx->drm_format, in kmsgrab_get_fb2() 366 uint32_t drm_format; member 537 if (kmsgrab_formats[i].drm_format == fb2->pixel_format) { in kmsgrab_read_header() 546 ctx->drm_format = fb2->pixel_format; in kmsgrab_read_header() 574 ctx->drm_format, ctx->drm_format_modifier); in kmsgrab_read_header() 587 ctx->drm_format = kmsgrab_formats[i].drm_format; in kmsgrab_read_header()
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_wayland.c | 178 uint32_t drm_format, uint64_t modifier) in wsi_wl_display_add_drm_format_modifier() argument 180 switch (drm_format) { in wsi_wl_display_add_drm_format_modifier() 373 uint32_t drm_format = drm_format_for_wl_shm_format(shm_format); in wsi_wl_display_add_wl_shm_format() local 375 wsi_wl_display_add_drm_format_modifier(display, formats, drm_format, in wsi_wl_display_add_wl_shm_format() 431 uint32_t drm_format = wl_drm_format_for_vk_format(vk_format, alpha); in wl_shm_format_for_vk_format() local 432 if (drm_format == DRM_FORMAT_INVALID) { in wl_shm_format_for_vk_format() 437 switch (drm_format) { in wl_shm_format_for_vk_format() 443 return drm_format; in wl_shm_format_for_vk_format() 935 uint32_t drm_format; member 1192 chain->drm_format, in wsi_wl_image_init() [all …]
|
D | wsi_common_display.c | 962 uint32_t drm_format; member 964 { .format = VK_FORMAT_B8G8R8A8_SRGB, .drm_format = DRM_FORMAT_XRGB8888 }, 965 { .format = VK_FORMAT_B8G8R8A8_UNORM, .drm_format = DRM_FORMAT_XRGB8888 }, 1086 uint32_t drm_format = 0; in wsi_display_image_init() local 1090 drm_format = available_surface_formats[i].drm_format; in wsi_display_image_init() 1096 if (drm_format == 0) in wsi_display_image_init() 1120 drm_format, in wsi_display_image_init()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | surface.c | 1338 uint32_t drm_format; in vlVaExportSurfaceHandle() local 1345 drm_format = pipe_format_to_drm_format(resource->format); in vlVaExportSurfaceHandle() 1346 if (drm_format == DRM_FORMAT_INVALID) { in vlVaExportSurfaceHandle() 1372 desc->layers[p].drm_format = drm_format; in vlVaExportSurfaceHandle() 1383 uint32_t drm_format = pipe_format_to_drm_format(surf->buffer->buffer_format); in vlVaExportSurfaceHandle() local 1384 if (drm_format == DRM_FORMAT_INVALID) { in vlVaExportSurfaceHandle() 1390 desc->layers[0].drm_format = drm_format; in vlVaExportSurfaceHandle()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.h | 175 enum pipe_format drm_format; member
|
D | zink_resource.c | 1314 *value = util_format_get_num_planes(res->drm_format); in zink_resource_get_param() 1498 res->drm_format = whandle->format; in zink_resource_from_handle()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_vaapi.c | 1197 drm_desc->layers[i].format = va_desc.layers[i].drm_format; in vaapi_map_to_drm_esh()
|