Lines Matching refs:format
107 PixelFormat format; in allocateImpl() local
108 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl()
111 __func__, __LINE__, descriptor.format, usage); in allocateImpl()
115 switch (format) { in allocateImpl()
204 __func__, __LINE__, format, descriptor.format, usage); in allocateImpl()
230 format, emulatorFrameworkFormat, in allocateImpl()
239 const PixelFormat format, in allocateImpl2() argument
251 format, emulatorFrameworkFormat, in allocateImpl2()
273 d->format = static_cast<PixelFormat>(raw[3]); in decodeBufferDescriptorInfo()
284 PixelFormat* format) { in getBufferFormat() argument
289 *format = PixelFormat::RGBA_8888; in getBufferFormat()
293 *format = PixelFormat::YCRCB_420_SP; in getBufferFormat()
303 *format = PixelFormat::YCBCR_420_888; in getBufferFormat()
306 *format = frameworkFormat; in getBufferFormat()
311 static bool needHostCb(const uint32_t usage, const PixelFormat format) { in needHostCb() argument
313 || (format != PixelFormat::BLOB && in needHostCb()
314 format != PixelFormat::RAW16 && in needHostCb()
315 format != PixelFormat::Y16)) in needHostCb()
326 const PixelFormat format, in allocateCb() argument
350 if (needHostCb(usage, format)) { in allocateCb()
357 (PixelFormat::RGBX_8888 == format) ? GL_RGB : glFormat; in allocateCb()
386 static_cast<int>(format), in allocateCb()