Searched refs:faces (Results 1 – 12 of 12) sorted by relevance
199 camera_frame_metadata_t *faces; in detectFaces() local278 ret = encodeFaceCoordinates(faceData, &faces, previewWidth, previewHeight); in detectFaces()281 result = new CameraFDResult(faces); in detectFaces()298 camera_face_t *faces; in encodeFaceCoordinates() local324 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 …]
448 p_fd_roi->faces[i].x, p_fd_roi->faces[i].y, in draw_rectangles()449 p_fd_roi->faces[i].dx, p_fd_roi->faces[i].dy); in draw_rectangles()
200 CameraFDResult(camera_frame_metadata_t *faces) : mFaceData(faces) {}; in CameraFDResult() argument203 if ( ( NULL != mFaceData ) && ( NULL != mFaceData->faces ) ) { in ~CameraFDResult()204 free(mFaceData->faces); in ~CameraFDResult()
151 status_t notifyFaceSubscribers(sp<CameraFDResult> &faces);
643 metadata->faces[idx].rect[0], in my_face_callback()644 metadata->faces[idx].rect[1], in my_face_callback()645 metadata->faces[idx].rect[2], in my_face_callback()646 metadata->faces[idx].rect[3]); in my_face_callback()
1853 array[i] = roi.faces[j].x; in roiEvent()1854 array[i+1] = roi.faces[j].y; in roiEvent()1855 array[i+2] = roi.faces[j].dx; in roiEvent()1856 array[i+3] = roi.faces[j].dy; in roiEvent()
396 mHalCamCtrl->mMetadata.faces = mHalCamCtrl->mFace; in notifyROIEvent()
1978 array[i] = roi.faces[j].x; in roiEvent()1979 array[i+1] = roi.faces[j].y; in roiEvent()1980 array[i+2] = roi.faces[j].dx; in roiEvent()1981 array[i+3] = roi.faces[j].dy; in roiEvent()
241 mHalCamCtrl->mMetadata.faces = mHalCamCtrl->mFace; in notifyROIEvent()
410 mHalCamCtrl->mMetadata.faces = mHalCamCtrl->mFace; in notifyROIEvent()
1105 status_t BaseCameraAdapter::notifyFaceSubscribers(sp<CameraFDResult> &faces) in notifyFaceSubscribers() argument1124 faceEvent.mEventData->faceEvent = faces; in notifyFaceSubscribers()
126 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()