Searched refs:bufFmt (Results 1 – 2 of 2) sorted by relevance
1037 int bufFmt = buffer->format; in ImageReader_lockedImageSetup() local1039 bufFmt = buffer->flexFormat; in ImageReader_lockedImageSetup()1041 if (imgReaderFmt != bufFmt) { in ImageReader_lockedImageSetup()1042 if (imgReaderFmt == HAL_PIXEL_FORMAT_YCbCr_420_888 && (bufFmt == in ImageReader_lockedImageSetup()1043 HAL_PIXEL_FORMAT_YCrCb_420_SP || bufFmt == HAL_PIXEL_FORMAT_YV12)) { in ImageReader_lockedImageSetup()1046 ctx->setBufferFormat(bufFmt); in ImageReader_lockedImageSetup()1047 ALOGD("%s: Overriding buffer format YUV_420_888 to %x.", __FUNCTION__, bufFmt); in ImageReader_lockedImageSetup()1048 } else if (imgReaderFmt == HAL_PIXEL_FORMAT_BLOB && bufFmt == HAL_PIXEL_FORMAT_RGBA_8888) { in ImageReader_lockedImageSetup()1063 bufFmt, ctx->getBufferFormat()); in ImageReader_lockedImageSetup()
207 int32_t bufFmt = 0; in produceFrame() local208 err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &bufFmt); in produceFrame()217 if (bufFmt != pixelFmt) { in produceFrame()218 if (bufFmt == HAL_PIXEL_FORMAT_RGBA_8888 && pixelFmt == HAL_PIXEL_FORMAT_BLOB) { in produceFrame()223 ", but received buffer with format %#" PRIx32, __FUNCTION__, pixelFmt, bufFmt); in produceFrame()