Home
last modified time | relevance | path

Searched refs:frameworkFormat (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp591 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()
[all …]
/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp294 static Error3 getBufferFormat(const PixelFormat frameworkFormat, in getBufferFormat() argument
297 if (frameworkFormat == PixelFormat::IMPLEMENTATION_DEFINED) { in getBufferFormat()
299 } else if (static_cast<int>(frameworkFormat) == kOMX_COLOR_FormatYUV420Planar && in getBufferFormat()
307 *format = frameworkFormat; in getBufferFormat()
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/
DrenderControl.in36 …cCreateColorBufferDMA, uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat)