Lines Matching refs:frameworkFormat
573 static int gralloc_get_buffer_format(const int frameworkFormat, const int usage) { in gralloc_get_buffer_format() argument
577 if (frameworkFormat == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in gralloc_get_buffer_format()
592 } else if (frameworkFormat == HAL_PIXEL_FORMAT_YCbCr_420_888) { in gralloc_get_buffer_format()
595 } else if (frameworkFormat == OMX_COLOR_FormatYUV420Planar && in gralloc_get_buffer_format()
604 return frameworkFormat; in gralloc_get_buffer_format()
608 int w, int h, const int frameworkFormat, int usage, in gralloc_alloc() argument
611 D("gralloc_alloc w=%d h=%d usage=0x%x frameworkFormat=0x%x\n", w, h, usage, frameworkFormat); in gralloc_alloc()
620 const int format = gralloc_get_buffer_format(frameworkFormat, usage); in gralloc_alloc()
769 bool needHostCb = ((!yuv_format && frameworkFormat != HAL_PIXEL_FORMAT_BLOB) || in gralloc_alloc()
774 frameworkFormat == HAL_PIXEL_FORMAT_YV12 || in gralloc_alloc()
775 frameworkFormat == HAL_PIXEL_FORMAT_YCbCr_420_888) && in gralloc_alloc()
910 switch (frameworkFormat) { in gralloc_alloc()