Home
last modified time | relevance | path

Searched refs:bufFmt (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/ndk/
DNdkImageReader.cpp304 int bufFmt = buffer->format; in acquireCpuConsumerImageLocked() local
306 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()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp196 int32_t bufFmt = 0; in produceFrame() local
197 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()