Searched refs:bufFmt (Results 1 – 2 of 2) sorted by relevance
304 int bufFmt = buffer->format; in acquireCpuConsumerImageLocked() local306 bufFmt = buffer->flexFormat; in acquireCpuConsumerImageLocked()309 if (readerFmt != bufFmt) { in acquireCpuConsumerImageLocked()310 if (readerFmt == HAL_PIXEL_FORMAT_YCbCr_420_888 && (bufFmt == in acquireCpuConsumerImageLocked()311 HAL_PIXEL_FORMAT_YCrCb_420_SP || bufFmt == HAL_PIXEL_FORMAT_YV12)) { in acquireCpuConsumerImageLocked()314 mHalFormat = bufFmt; in acquireCpuConsumerImageLocked()315 ALOGD("%s: Overriding buffer format YUV_420_888 to %x.", __FUNCTION__, bufFmt); in acquireCpuConsumerImageLocked()
196 int32_t bufFmt = 0; in produceFrame() local197 err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &bufFmt); in produceFrame()206 if (bufFmt != pixelFmt) { in produceFrame()207 if (bufFmt == HAL_PIXEL_FORMAT_RGBA_8888 && pixelFmt == HAL_PIXEL_FORMAT_BLOB) { in produceFrame()212 ", but received buffer with format %#" PRIx32, __FUNCTION__, pixelFmt, bufFmt); in produceFrame()