HomeSort by relevance Sort by last modified time
    Searched refs:bufFmt (Results 1 - 2 of 2) sorted by null

  /frameworks/av/media/ndk/
NdkImageReader.cpp 304 int bufFmt = buffer->format;
306 bufFmt = buffer->flexFormat;
309 if (readerFmt != bufFmt) {
310 if (readerFmt == HAL_PIXEL_FORMAT_YCbCr_420_888 && (bufFmt ==
311 HAL_PIXEL_FORMAT_YCrCb_420_SP || bufFmt == HAL_PIXEL_FORMAT_YV12)) {
314 mHalFormat = bufFmt;
315 ALOGD("%s: Overriding buffer format YUV_420_888 to %x.", __FUNCTION__, bufFmt);
  /frameworks/base/core/jni/
android_hardware_camera2_legacy_LegacyCameraDevice.cpp 196 int32_t bufFmt = 0;
197 err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &bufFmt);
206 if (bufFmt != pixelFmt) {
207 if (bufFmt == HAL_PIXEL_FORMAT_RGBA_8888 && pixelFmt == HAL_PIXEL_FORMAT_BLOB) {
212 ", but received buffer with format %#" PRIx32, __FUNCTION__, pixelFmt, bufFmt);

Completed in 49 milliseconds