Searched refs:frameworkFormat (Results 1 – 6 of 6) sorted by relevance
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 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() [all …]
|
D | gralloc_30.cpp | 489 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/ |
D | allocator3.cpp | 282 static Error3 getBufferFormat(const PixelFormat frameworkFormat, in getBufferFormat() argument 285 if (frameworkFormat == PixelFormat::IMPLEMENTATION_DEFINED) { in getBufferFormat() 298 } else if (static_cast<int>(frameworkFormat) == kOMX_COLOR_FormatYUV420Planar && in getBufferFormat() 306 *format = frameworkFormat; in getBufferFormat()
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_entry.cpp | 43 …cCreateColorBufferDMA(uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat); 277 …rcCreateColorBufferDMA(uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat) in rcCreateColorBufferDMA() argument 280 return ctx->rcCreateColorBufferDMA(ctx, width, height, internalFormat, frameworkFormat); in rcCreateColorBufferDMA()
|
D | renderControl_enc.cpp | 1327 …erDMA_enc(void *self , uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat) in rcCreateColorBufferDMA_enc() argument 1348 memcpy(ptr, &frameworkFormat, 4); ptr += 4; in rcCreateColorBufferDMA_enc()
|
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/ |
D | renderControl.in | 36 …cCreateColorBufferDMA, uint32_t width, uint32_t height, GLenum internalFormat, int frameworkFormat)
|