Searched refs:faces (Results 1 – 12 of 12) sorted by relevance
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXFD.cpp | 199 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/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXFD.cpp | 307 camera_face_t *faces; in encodeFaceCoordinates() local 320 if ( (0 < metadataResult->number_of_faces) && (NULL != metadataResult->faces) ) { in encodeFaceCoordinates() 321 free(metadataResult->faces); in encodeFaceCoordinates() 323 metadataResult->faces = NULL; in encodeFaceCoordinates() 330 faces = ( camera_face_t * ) malloc(sizeof(camera_face_t)*faceData->ulFaceCount); in encodeFaceCoordinates() 331 if ( NULL == faces ) { in encodeFaceCoordinates() 408 faces[i].rect[trans_left] = tmp; in encodeFaceCoordinates() 413 faces[i].rect[trans_top] = tmp; in encodeFaceCoordinates() 418 faces[i].rect[trans_right] = faces[i].rect[trans_left] + tmp; in encodeFaceCoordinates() 423 faces[i].rect[trans_bot] = faces[i].rect[trans_top] + tmp; in encodeFaceCoordinates() [all …]
|
D | OMXMetadata.cpp | 84 …struct camera_metadata_face *faces = reinterpret_cast<struct camera_metadata_face *> (static_cast<… in getMetaData() local 92 faces[idx].left = faceData->tFacePosition[j].nLeft; in getMetaData() 93 faces[idx].top = faceData->tFacePosition[j].nTop; in getMetaData() 94 faces[idx].bottom = faceData->tFacePosition[j].nWidth; in getMetaData() 95 faces[idx].right = faceData->tFacePosition[j].nHeight; in getMetaData()
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 8224 camera_face_t *faces = (camera_face_t *) ( faceData + sizeof(camera_frame_metadata_t) ); in processFaceDetectionResult() local 8227 roiData->faces = faces; in processFaceDetectionResult() 8230 faces[i].id = detect_data->faces[i].face_id; in processFaceDetectionResult() 8231 faces[i].score = detect_data->faces[i].score; in processFaceDetectionResult() 8234 faces[i].rect[0] = MAP_TO_DRIVER_COORDINATE( in processFaceDetectionResult() 8235 detect_data->faces[i].face_boundary.left, in processFaceDetectionResult() 8239 faces[i].rect[1] = MAP_TO_DRIVER_COORDINATE( in processFaceDetectionResult() 8240 detect_data->faces[i].face_boundary.top, in processFaceDetectionResult() 8244 faces[i].rect[2] = faces[i].rect[0] + in processFaceDetectionResult() 8246 detect_data->faces[i].face_boundary.width, in processFaceDetectionResult() [all …]
|
/hardware/ti/omap4xxx/camera/inc/ |
D | CameraHal.h | 200 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()
|
D | BaseCameraAdapter.h | 151 status_t notifyFaceSubscribers(sp<CameraFDResult> &faces);
|
/hardware/ti/omap4-aah/camera/inc/ |
D | CameraHal.h | 257 mMetadata.faces = NULL; in CameraMetadataResult() 267 mMetadata.faces = NULL; in CameraMetadataResult() 280 if ( NULL != mMetadata.faces ) { in ~CameraMetadataResult() 281 free(mMetadata.faces); in ~CameraMetadataResult()
|
/hardware/ti/omap4xxx/test/CameraHal/ |
D | camera_test_menu.cpp | 645 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/ti/omap4xxx/camera/ |
D | BaseCameraAdapter.cpp | 1105 status_t BaseCameraAdapter::notifyFaceSubscribers(sp<CameraFDResult> &faces) in notifyFaceSubscribers() argument 1124 faceEvent.mEventData->faceEvent = faces; in notifyFaceSubscribers()
|
/hardware/ti/omap4-aah/test/CameraHal/ |
D | camera_test_menu.cpp | 762 metadata->faces[idx].rect[0], in my_face_callback() 763 metadata->faces[idx].rect[1], in my_face_callback() 764 metadata->faces[idx].rect[2], in my_face_callback() 765 metadata->faces[idx].rect[3]); in my_face_callback()
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | cam_types.h | 1212 cam_face_detection_info_t faces[MAX_ROI]; /* detailed information of faces detected */ member
|
/hardware/qcom/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 4773 faceScores[i] = (uint8_t)faceDetectionInfo->faces[i].score; in translateFromHalMetadata() 4776 cam_rect_t& rect = faceDetectionInfo->faces[i].face_boundary; in translateFromHalMetadata() 4780 convertToRegions(faceDetectionInfo->faces[i].face_boundary, in translateFromHalMetadata()
|