Home
last modified time | relevance | path

Searched refs:drm_format (Results 1 – 11 of 11) sorted by relevance

/external/drm_hwcomposer/
Dplatformdrmgeneric.cpp86 uint32_t DrmGenericImporter::DrmFormatToBitsPerPixel(uint32_t drm_format) { in DrmFormatToBitsPerPixel() argument
87 switch (drm_format) { in DrmFormatToBitsPerPixel()
99 ALOGE("Cannot convert hal format %u to bpp (returning 32)", drm_format); in DrmFormatToBitsPerPixel()
Dplatformhisi.cpp106 bool HisiImporter::IsDrmFormatRgb(uint32_t drm_format) { in IsDrmFormatRgb() argument
107 switch (drm_format) { in IsDrmFormatRgb()
117 ALOGE("Unsupported format %u assuming rgb?", drm_format); in IsDrmFormatRgb()
Dplatformhisi.h44 bool IsDrmFormatRgb(uint32_t drm_format);
Dplatformdrmgeneric.h39 uint32_t DrmFormatToBitsPerPixel(uint32_t drm_format);
/external/minigbm/
Ddri.c25 uint32_t drm_format; member
39 static int drm_format_to_dri_format(uint32_t drm_format) in drm_format_to_dri_format() argument
43 if (drm_to_dri_image_formats[i].drm_format == drm_format) in drm_format_to_dri_format()
/external/mesa3d/src/gallium/state_trackers/va/
Dsurface.c999 uint32_t drm_format; in vlVaExportSurfaceHandle() local
1008 drm_format = DRM_FORMAT_R8; in vlVaExportSurfaceHandle()
1011 drm_format = DRM_FORMAT_GR88; in vlVaExportSurfaceHandle()
1014 drm_format = DRM_FORMAT_R16; in vlVaExportSurfaceHandle()
1017 drm_format = DRM_FORMAT_GR1616; in vlVaExportSurfaceHandle()
1020 drm_format = DRM_FORMAT_ARGB8888; in vlVaExportSurfaceHandle()
1023 drm_format = DRM_FORMAT_ABGR8888; in vlVaExportSurfaceHandle()
1026 drm_format = DRM_FORMAT_XRGB8888; in vlVaExportSurfaceHandle()
1029 drm_format = DRM_FORMAT_XBGR8888; in vlVaExportSurfaceHandle()
1049 desc->layers[p].drm_format = drm_format; in vlVaExportSurfaceHandle()
/external/minigbm/cros_gralloc/
Dcros_gralloc_types.h16 uint32_t drm_format; member
Dcros_gralloc_driver.cc81 resolved_format = drv_resolve_format(drv_, descriptor->drm_format, descriptor->use_flags); in is_supported()
99 resolved_format = drv_resolve_format(drv_, descriptor->drm_format, descriptor->use_flags); in allocate()
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc106 descriptor.drm_format = cros_gralloc_convert_format(format); in gralloc0_alloc()
118 format, usage, reinterpret_cast<char *>(&descriptor.drm_format), in gralloc0_alloc()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_wayland.c576 uint32_t drm_format; member
719 chain->drm_format, in wsi_wl_image_init()
820 chain->drm_format = wl_drm_format_for_vk_format(chain->vk_format, alpha); in wsi_wl_surface_create_swapchain()
/external/kernel-headers/original/uapi/linux/
Dvfio.h644 __u32 drm_format; /* drm format of plane */ member