Home
last modified time | relevance | path

Searched refs:mTemplates (Results 1 – 6 of 6) sorted by relevance

/hardware/libhardware/modules/usbcamera/
DCamera.cpp108 memset(&mTemplates, 0, sizeof(mTemplates)); in Camera()
124 free_camera_metadata(mTemplates[i]); in ~Camera()
363 return mTemplates[type]; in constructDefaultRequestSettings()
528 if (mTemplates[type] != NULL) { in setTemplate()
535 mTemplates[type] = clone_camera_metadata(settings); in setTemplate()
536 if (mTemplates[type] == NULL) { in setTemplate()
DCamera.h124 camera_metadata_t *mTemplates[CAMERA3_TEMPLATE_COUNT]; variable
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp65 memset(&mTemplates, 0, sizeof(mTemplates)); in Camera()
327 return mTemplates[type]; in constructDefaultRequestSettings()
520 if (mTemplates[type] != NULL) { in setTemplate()
527 mTemplates[type] = clone_camera_metadata(settings); in setTemplate()
528 if (mTemplates[type] == NULL) { in setTemplate()
DCamera.h111 camera_metadata_t *mTemplates[CAMERA3_TEMPLATE_COUNT]; variable
/hardware/libhardware/modules/camera/3_4/
Dcamera.cpp58 memset(&mTemplates, 0, sizeof(mTemplates)); in Camera()
270 if (!mTemplates[type]) { in constructDefaultRequestSettings()
288 mTemplates[type] = std::move(new_template); in constructDefaultRequestSettings()
294 return mTemplates[type]->getAndLock(); in constructDefaultRequestSettings()
Dcamera.h138 std::unique_ptr<const android::CameraMetadata> mTemplates[CAMERA3_TEMPLATE_COUNT]; variable