Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp573 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()
[all …]
Dgralloc_30.cpp489 static int get_buffer_format(const int frameworkFormat, const int usage) { in get_buffer_format() argument
490 if (frameworkFormat == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in get_buffer_format()
502 } else if (frameworkFormat == OMX_COLOR_FormatYUV420Planar && in get_buffer_format()
510 return frameworkFormat; in get_buffer_format()
515 const int frameworkFormat, in gralloc_alloc() argument
538 const int format = get_buffer_format(frameworkFormat, usage); in gralloc_alloc()
541 __func__, __LINE__, frameworkFormat, usage); in gralloc_alloc()
631 __func__, __LINE__, format, frameworkFormat, usage); in gralloc_alloc()
/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp291 static Error3 getBufferFormat(const PixelFormat frameworkFormat, in getBufferFormat() argument
294 if (frameworkFormat == PixelFormat::IMPLEMENTATION_DEFINED) { in getBufferFormat()
311 } else if (static_cast<int>(frameworkFormat) == kOMX_COLOR_FormatYUV420Planar && in getBufferFormat()
319 *format = frameworkFormat; in getBufferFormat()
/device/generic/vulkan-cereal/stream-servers/vulkan/
DVkCommonOperations.cpp1637 FrameworkFormat frameworkFormat; in setupVkColorBuffer() local
1640 &internalformat, &frameworkFormat)) { in setupVkColorBuffer()
1667 bool glCompatible = (frameworkFormat == FRAMEWORK_FORMAT_GL_COMPATIBLE); in setupVkColorBuffer()
1668 switch (frameworkFormat) { in setupVkColorBuffer()
1681 fprintf(stderr, "WARNING: unsupported framework format %d\n", frameworkFormat); in setupVkColorBuffer()
1690 res.frameworkFormat = frameworkFormat; in setupVkColorBuffer()
1883 infoPtr->frameworkFormat != FrameworkFormat::FRAMEWORK_FORMAT_GL_COMPATIBLE) { in updateColorBufferFromVkImage()
2022 if (infoPtr->frameworkFormat == FrameworkFormat::FRAMEWORK_FORMAT_GL_COMPATIBLE && ( in updateVkImageFromColorBuffer()
2106 if (infoPtr->frameworkFormat == FrameworkFormat::FRAMEWORK_FORMAT_GL_COMPATIBLE) { in updateVkImageFromColorBuffer()
2120 bool swapUV = infoPtr->frameworkFormat == FRAMEWORK_FORMAT_YV12; in updateVkImageFromColorBuffer()
[all …]
DVkCommonOperations.h255 int frameworkFormat; member
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_entry.cpp43 …cCreateColorBufferDMA(uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat);
294 …rcCreateColorBufferDMA(uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat) in rcCreateColorBufferDMA() argument
297 return ctx->rcCreateColorBufferDMA(ctx, width, height, internalFormat, frameworkFormat); in rcCreateColorBufferDMA()
DrenderControl_enc.cpp1401 …erDMA_enc(void *self , uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat) in rcCreateColorBufferDMA_enc() argument
1403 …%08x, internalFormat:0x%08x, frameworkFormat:%d)", width, height, internalFormat, frameworkFormat); in rcCreateColorBufferDMA_enc()
1424 memcpy(ptr, &frameworkFormat, 4); ptr += 4; in rcCreateColorBufferDMA_enc()
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/
DrenderControl.in36 …cCreateColorBufferDMA, uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat)
/device/generic/vulkan-cereal/stream-servers/
DColorBuffer.cpp925 FrameworkFormat frameworkFormat = in onLoad() local
932 return create(p_display, width, height, internalFormat, frameworkFormat, in onLoad()
943 cb->m_frameworkFormat = frameworkFormat; in onLoad()
DRenderControl.cpp851 int frameworkFormat) in rcCreateColorBufferDMA() argument
859 (FrameworkFormat)frameworkFormat); in rcCreateColorBufferDMA()
DFrameBuffer.h396 FrameworkFormat* frameworkFormat = nullptr);
DFrameBuffer.cpp2359 FrameworkFormat* frameworkFormat) { in getColorBufferInfo() argument
2374 if (frameworkFormat) { in getColorBufferInfo()
2375 *frameworkFormat = cb->getFrameworkFormat(); in getColorBufferInfo()
/device/generic/vulkan-cereal/protocols/renderControl/
DrenderControl.in36 …cCreateColorBufferDMA, uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat)