Home
last modified time | relevance | path

Searched refs:hal_format (Results 1 – 14 of 14) sorted by relevance

/external/drm_hwcomposer/bufferinfo/
DBufferInfoGetter.cpp86 uint32_t LegacyBufferInfoGetter::ConvertHalFormatToDrm(uint32_t hal_format) { in ConvertHalFormatToDrm() argument
87 switch (hal_format) { in ConvertHalFormatToDrm()
103 ALOGE("Cannot convert hal format to drm format %u", hal_format); in ConvertHalFormatToDrm()
DBufferInfoGetter.h61 static uint32_t ConvertHalFormatToDrm(uint32_t hal_format);
/external/mesa3d/src/util/u_gralloc/
Du_gralloc_fallback.c69 if (hnd->hal_format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) in fallback_gralloc_get_yuv_info()
112 if (is_hal_format_yuv(hnd->hal_format)) { in fallback_gralloc_get_buffer_info()
132 drm_fourcc = get_fourcc_from_hal_format(hnd->hal_format); in fallback_gralloc_get_buffer_info()
138 stride = hnd->pixel_stride * get_hal_format_bpp(hnd->hal_format); in fallback_gralloc_get_buffer_info()
Du_gralloc_qcom.c64 if (hnd->hal_format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) in fallback_gralloc_get_yuv_info()
104 if (is_hal_format_yuv(hnd->hal_format)) { in get_buffer_info()
117 drm_fourcc = get_fourcc_from_hal_format(hnd->hal_format); in get_buffer_info()
123 stride = hnd->pixel_stride * get_hal_format_bpp(hnd->hal_format); in get_buffer_info()
Du_gralloc_internal.c145 get_fourcc_yuv(hnd->hal_format, chroma_order, ycbcr->chroma_step); in bufferinfo_from_ycbcr()
150 hnd->hal_format, chroma_order == YCbCr ? "YCbCr" : "YCrCb", in bufferinfo_from_ycbcr()
Du_gralloc.h29 int hal_format; member
/external/libdrm/android/
Dgralloc_handle.h89 int32_t hal_format, in gralloc_handle_create() argument
104 handle->format = hal_format; in gralloc_handle_create()
/external/drm_hwcomposer/bufferinfo/legacy/
DBufferInfoLibdrm.cpp94 bool BufferInfoLibdrm::GetYuvPlaneInfo(uint32_t hal_format, int num_fds, in GetYuvPlaneInfo() argument
139 bo->format = get_fourcc_yuv(hal_format, chroma_order, ycbcr.chroma_step); in GetYuvPlaneInfo()
144 hal_format, chroma_order == kYCbCr ? "YCbCr" : "YCrCb", in GetYuvPlaneInfo()
DBufferInfoLibdrm.h32 bool GetYuvPlaneInfo(uint32_t hal_format, int num_fds, buffer_handle_t handle,
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c85 .hal_format = buf->format, in droid_create_image_from_native_buffer()
790 int hal_format; in droid_add_configs_for_visuals() member
827 if (visuals[i].hal_format == HAL_PIXEL_FORMAT_BGRA_8888 && has_rgba) in droid_add_configs_for_visuals()
844 visuals[i].hal_format, in droid_add_configs_for_visuals()
846 visuals[i].hal_format, in droid_add_configs_for_visuals()
860 if (visuals[i].hal_format == HAL_PIXEL_FORMAT_RGBA_8888 && format_count[i]) in droid_add_configs_for_visuals()
867 visuals[i].hal_format); in droid_add_configs_for_visuals()
/external/mesa3d/src/vulkan/runtime/
Dvk_android.c326 .hal_format = native_buffer->format, in vk_android_get_anb_layout()
349 .hal_format = description.format, in vk_android_get_ahb_layout()
630 .hal_format = desc.format, in get_ahb_buffer_format_properties2()
/external/mesa3d/src/intel/vulkan/
Danv_android.c382 .hal_format = gralloc_info->format, in anv_image_init_from_gralloc()
Danv_image.c2083 .hal_format = desc.format, in resolve_ahw_image()
2119 .hal_format = gralloc_info->format, in resolve_anb_image()
/external/mesa3d/src/virtio/vulkan/
Dvn_android.c116 .hal_format = 0, in vn_android_gralloc_get_buffer_properties()