Searched refs:droid_format (Results 1 – 9 of 9) sorted by relevance
139 static int gralloc0_droid_yuv_format(int droid_format) in gralloc0_droid_yuv_format() argument142 return (droid_format == HAL_PIXEL_FORMAT_YCbCr_420_888 || in gralloc0_droid_yuv_format()143 droid_format == HAL_PIXEL_FORMAT_YV12); in gralloc0_droid_yuv_format()156 descriptor.droid_format = format; in gralloc0_alloc()367 *out_format = hnd->droid_format; in gralloc0_perform()446 if (hnd->droid_format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in gralloc0_lock_async()497 if (!gralloc0_droid_yuv_format(hnd->droid_format) && in gralloc0_lock_async_ycbcr()498 hnd->droid_format != HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in gralloc0_lock_async_ycbcr()
15 int32_t droid_format; member
38 int32_t droid_format; member
252 hnd->droid_format = descriptor->droid_format; in allocate()
38 bo->hal_format = gr_handle->droid_format; in ConvertBoInfo()
327 outCrosDescriptor->droid_format = static_cast<int32_t>(descriptor.format); in convertToCrosDescriptor()
143 PixelFormat crosHandleFormat = static_cast<PixelFormat>(crosHandle->droid_format); in validateBufferSize()
198 PixelFormat crosHandleFormat = static_cast<PixelFormat>(crosHandle->droid_format); in validateBufferSize()518 PixelFormat pixelFormat = static_cast<PixelFormat>(crosHandle->droid_format); in get()
318 outCrosDescriptor->droid_format = static_cast<int32_t>(descriptor.format); in convertToCrosDescriptor()