Home
last modified time | relevance | path

Searched refs:cameraIdList (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/camera/ndk/
DNdkCameraManager.cpp51 ACameraManager* manager, ACameraIdList** cameraIdList) { in ACameraManager_getCameraIdList() argument
53 if (manager == nullptr || cameraIdList == nullptr) { in ACameraManager_getCameraIdList()
55 __FUNCTION__, manager, cameraIdList); in ACameraManager_getCameraIdList()
58 return manager->getCameraIdList(cameraIdList); in ACameraManager_getCameraIdList()
62 void ACameraManager_deleteCameraIdList(ACameraIdList* cameraIdList) { in ACameraManager_deleteCameraIdList() argument
64 if (cameraIdList != nullptr) { in ACameraManager_deleteCameraIdList()
65 ACameraManager::deleteCameraIdList(cameraIdList); in ACameraManager_deleteCameraIdList()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraManager.h104 /*out*/ACameraIdList** cameraIdList) __INTRODUCED_IN(24);
111 void ACameraManager_deleteCameraIdList(ACameraIdList* cameraIdList) __INTRODUCED_IN(24);
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp637 ACameraManager::getCameraIdList(ACameraIdList** cameraIdList) { in getCameraIdList() argument
668 *cameraIdList = out; in getCameraIdList()
673 ACameraManager::deleteCameraIdList(ACameraIdList* cameraIdList) { in deleteCameraIdList() argument
674 if (cameraIdList != nullptr) { in deleteCameraIdList()
675 if (cameraIdList->cameraIds != nullptr) { in deleteCameraIdList()
676 for (int i = 0; i < cameraIdList->numCameras; i ++) { in deleteCameraIdList()
677 if (cameraIdList->cameraIds[i] != nullptr) { in deleteCameraIdList()
678 delete[] cameraIdList->cameraIds[i]; in deleteCameraIdList()
681 delete[] cameraIdList->cameraIds; in deleteCameraIdList()
683 delete cameraIdList; in deleteCameraIdList()
DACameraManager.h270 camera_status_t getCameraIdList(ACameraIdList** cameraIdList);
271 static void deleteCameraIdList(ACameraIdList* cameraIdList);
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp663 ACameraManager::getCameraIdList(ACameraIdList** cameraIdList) { in getCameraIdList() argument
694 *cameraIdList = out; in getCameraIdList()
699 ACameraManager::deleteCameraIdList(ACameraIdList* cameraIdList) { in deleteCameraIdList() argument
700 if (cameraIdList != nullptr) { in deleteCameraIdList()
701 if (cameraIdList->cameraIds != nullptr) { in deleteCameraIdList()
702 for (int i = 0; i < cameraIdList->numCameras; i ++) { in deleteCameraIdList()
703 if (cameraIdList->cameraIds[i] != nullptr) { in deleteCameraIdList()
704 delete[] cameraIdList->cameraIds[i]; in deleteCameraIdList()
707 delete[] cameraIdList->cameraIds; in deleteCameraIdList()
709 delete cameraIdList; in deleteCameraIdList()
DACameraManager.h260 camera_status_t getCameraIdList(ACameraIdList** cameraIdList);
261 static void deleteCameraIdList(ACameraIdList* cameraIdList);
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp136 ACameraIdList cameraIdList; in initCamera() local
137 cameraIdList.numCameras = idPointerList.size(); in initCamera()
138 cameraIdList.cameraIds = idPointerList.data(); in initCamera()
149 TEMPLATE_STILL_CAPTURE, &cameraIdList, &mStillRequest); in initCamera()