MCPcopy Create free account
hub / github.com/android/ndk-samples / PrintLensFacing

Function PrintLensFacing

camera/camera-utils/src/main/cpp/camera_utils.cpp:298–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298void PrintLensFacing(ACameraMetadata_const_entry& lens) {
299 ASSERT(lens.tag == ACAMERA_LENS_FACING, "Wrong tag(%#x) of %s to %s",
300 lens.tag, GetTagStr((acamera_metadata_tag_t)lens.tag), __FUNCTION__);
301 LOGI("LensFacing: tag(%#x), type(%d), count(%d), val(%#x)", lens.tag,
302 lens.type, lens.count, lens.data.u8[0]);
303}
304
305/*
306 * Stream_Configuration is in format of:

Callers 1

PrintCamerasFunction · 0.85

Calls 1

GetTagStrFunction · 0.85

Tested by

no test coverage detected