Lines Matching refs:frameworkFormat
591 static int gralloc_get_buffer_format(const int frameworkFormat, const int usage) { in gralloc_get_buffer_format() argument
595 if (frameworkFormat == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in gralloc_get_buffer_format()
610 } else if (frameworkFormat == HAL_PIXEL_FORMAT_YCbCr_420_888) { in gralloc_get_buffer_format()
613 } else if (frameworkFormat == OMX_COLOR_FormatYUV420Planar && in gralloc_get_buffer_format()
622 return frameworkFormat; in gralloc_get_buffer_format()
626 int w, int h, const int frameworkFormat, int usage, in gralloc_alloc() argument
629 D("gralloc_alloc w=%d h=%d usage=0x%x frameworkFormat=0x%x\n", w, h, usage, frameworkFormat); in gralloc_alloc()
638 const int format = gralloc_get_buffer_format(frameworkFormat, usage); in gralloc_alloc()
787 bool needHostCb = ((!yuv_format && frameworkFormat != HAL_PIXEL_FORMAT_BLOB) || in gralloc_alloc()
792 frameworkFormat == HAL_PIXEL_FORMAT_YV12 || in gralloc_alloc()
793 frameworkFormat == HAL_PIXEL_FORMAT_YCbCr_420_888) && in gralloc_alloc()
928 switch (frameworkFormat) { in gralloc_alloc()