Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 9 of 9) sorted by relevance

/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXFD.cpp199 camera_frame_metadata_t *faces; in detectFaces() local
278 ret = encodeFaceCoordinates(faceData, &faces, previewWidth, previewHeight); in detectFaces()
281 result = new CameraFDResult(faces); in detectFaces()
298 camera_face_t *faces; in encodeFaceCoordinates() local
324 faces = ( camera_face_t * ) malloc(sizeof(camera_face_t)*faceData->ulFaceCount); in encodeFaceCoordinates()
325 if ( NULL == faces ) { in encodeFaceCoordinates()
401 faces[i].rect[trans_left] = tmp; in encodeFaceCoordinates()
406 faces[i].rect[trans_top] = tmp; in encodeFaceCoordinates()
411 faces[i].rect[trans_right] = faces[i].rect[trans_left] + tmp; in encodeFaceCoordinates()
416 faces[i].rect[trans_bot] = faces[i].rect[trans_top] + tmp; in encodeFaceCoordinates()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWI.cpp3590 camera_face_t *faces = (camera_face_t *) ( faceData + sizeof(camera_frame_metadata_t) ); in processFaceDetectionResult() local
3593 roiData->faces = faces; in processFaceDetectionResult()
3596 faces[i].id = fd_data->faces[i].face_id; in processFaceDetectionResult()
3597 faces[i].score = fd_data->faces[i].score; in processFaceDetectionResult()
3600 faces[i].rect[0] = in processFaceDetectionResult()
3601 … MAP_TO_DRIVER_COORDINATE(fd_data->faces[i].face_boundary.left, display_dim.width, 2000, -1000); in processFaceDetectionResult()
3604 faces[i].rect[1] = in processFaceDetectionResult()
3605 … MAP_TO_DRIVER_COORDINATE(fd_data->faces[i].face_boundary.top, display_dim.height, 2000, -1000); in processFaceDetectionResult()
3608 faces[i].rect[2] = faces[i].rect[0] + in processFaceDetectionResult()
3609 … MAP_TO_DRIVER_COORDINATE(fd_data->faces[i].face_boundary.width, display_dim.width, 2000, 0); in processFaceDetectionResult()
[all …]
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h200 CameraFDResult(camera_frame_metadata_t *faces) : mFaceData(faces) {}; in CameraFDResult() argument
203 if ( ( NULL != mFaceData ) && ( NULL != mFaceData->faces ) ) { in ~CameraFDResult()
204 free(mFaceData->faces); in ~CameraFDResult()
DBaseCameraAdapter.h151 status_t notifyFaceSubscribers(sp<CameraFDResult> &faces);
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp645 metadata->faces[idx].rect[0], in my_face_callback()
646 metadata->faces[idx].rect[1], in my_face_callback()
647 metadata->faces[idx].rect[2], in my_face_callback()
648 metadata->faces[idx].rect[3]); in my_face_callback()
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_types.h674 cam_face_detection_info_t faces[MAX_ROI]; /* detailed information of faces detected */ member
/hardware/ti/omap4xxx/camera/
DBaseCameraAdapter.cpp1105 status_t BaseCameraAdapter::notifyFaceSubscribers(sp<CameraFDResult> &faces) in notifyFaceSubscribers() argument
1124 faceEvent.mEventData->faceEvent = faces; in notifyFaceSubscribers()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.cpp1801 faceIds[i] = faceDetectionInfo->faces[i].face_id; in translateCbMetadataToResultMetadata()
1802 faceScores[i] = faceDetectionInfo->faces[i].score; in translateCbMetadataToResultMetadata()
1803 convertToRegions(faceDetectionInfo->faces[i].face_boundary, in translateCbMetadataToResultMetadata()
1805 convertLandmarks(faceDetectionInfo->faces[i], faceLandmarks+k); in translateCbMetadataToResultMetadata()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCameraHWInterface.cpp126 m_frameMetadata.faces = m_faces; in ExynosCameraHWInterface()
2799 m_frameMetadata.faces = m_faces; in m_previewThreadFunc()
2806 m_frameMetadata.faces = m_faces; in m_previewThreadFunc()