Searched refs:roi (Results 1 - 16 of 16) sorted by relevance

/hardware/qcom/camera/
H A DQCameraHWI_Preview_7x27A.cpp233 void QCameraStream_preview::notifyROIEvent(fd_roi_t roi) argument
235 switch (roi.type) {
242 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected;
263 int idx = roi.d.data.idx;
270 mHalCamCtrl->mFace[idx].id = roi.d.data.face.id;
271 mHalCamCtrl->mFace[idx].score = roi.d.data.face.score / 10; // keep within range 0~100
275 roi.d.data.face.face_boundary.x*2000/mHalCamCtrl->mDimension.display_width - 1000;
278 roi.d.data.face.face_boundary.y*2000/mHalCamCtrl->mDimension.display_height - 1000;
281 roi.d.data.face.face_boundary.dx*2000/mHalCamCtrl->mDimension.display_width;
284 roi
[all...]
H A DQCameraHWI_Preview.cpp401 void QCameraStream_preview::notifyROIEvent(fd_roi_t roi) argument
404 switch (roi.type) {
411 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected;
433 int idx = roi.d.data.idx;
440 mHalCamCtrl->mFace[idx].id = roi.d.data.face.id;
441 mHalCamCtrl->mFace[idx].score = roi.d.data.face.score;
445 roi.d.data.face.face_boundary.x*2000/mHalCamCtrl->mDimension.display_width - 1000;
448 roi.d.data.face.face_boundary.y*2000/mHalCamCtrl->mDimension.display_height - 1000;
451 roi.d.data.face.face_boundary.dx*2000/mHalCamCtrl->mDimension.display_width;
454 roi
[all...]
H A DQCameraStream.h131 virtual void notifyROIEvent(fd_roi_t roi) {;} argument
229 void notifyROIEvent(fd_roi_t roi);
H A DQCameraHWI.cpp900 roiEvent(event->e.roi, app_cb);
1970 void QCameraHardwareInterface::roiEvent(fd_roi_t roi,app_notify_cb_t *app_cb) argument
1974 if(mStreamDisplay) mStreamDisplay->notifyROIEvent(roi);
1985 int faces_detected = roi.rect_num;
1992 array[i] = roi.faces[j].x;
1993 array[i+1] = roi.faces[j].y;
1994 array[i+2] = roi.faces[j].dx;
1995 array[i+3] = roi.faces[j].dy;
H A DQCameraHWI.h532 void roiEvent(fd_roi_t roi, app_notify_cb_t *);
H A DQualcommCameraHardware.cpp3196 fd_roi_t *roi = (fd_roi_t *)(frame->roi_info.info); local
3198 switch (roi->type) {
3205 mFacesDetected = roi->d.hdr.num_face_detected;
3212 int idx = roi->d.data.idx;
3214 mFaceArray[idx*4+1] = roi->d.data.face.face_boundary.x;
3215 mFaceArray[idx*4+2] = roi->d.data.face.face_boundary.y;
3216 mFaceArray[idx*4+3] = roi->d.data.face.face_boundary.x;
3217 mFaceArray[idx*4+4] = roi->d.data.face.face_boundary.y;
8591 af_roi_value.roi[0].x = 1;
8593 af_roi_value.roi[
[all...]
H A DQCamera_Intf.h740 roi_t roi[MAX_ROI]; member in struct:__anon645
1002 struct fd_roi_t roi; member in union:__anon674::__anon675
H A DQCameraHWI_Parm.cpp1865 num_areas_found = 1; //temp; need to change after the multi-roi is enabled
1896 af_roi_value.roi[0].x = x1;
1897 af_roi_value.roi[0].y = y1;
1898 af_roi_value.roi[0].dx = dx;
1899 af_roi_value.roi[0].dy = dy;
1907 #if 0 //better solution with multi-roi, to be enabled later
1979 num_areas_found = 1; //temp; need to change after the multi-roi is enabled
2016 #if 0 //solution including multi-roi, to be enabled later
/hardware/qcom/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Preview.cpp388 void QCameraStream_preview::notifyROIEvent(fd_roi_t roi) argument
390 switch (roi.type) {
397 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected;
418 int idx = roi.d.data.idx;
425 mHalCamCtrl->mFace[idx].id = roi.d.data.face.id;
426 mHalCamCtrl->mFace[idx].score = roi.d.data.face.score;
430 roi.d.data.face.face_boundary.x*2000/mHalCamCtrl->mDimension.display_width - 1000;
433 roi.d.data.face.face_boundary.y*2000/mHalCamCtrl->mDimension.display_height - 1000;
436 roi.d.data.face.face_boundary.dx*2000/mHalCamCtrl->mDimension.display_width;
439 roi
[all...]
H A DQCameraHWI.cpp868 roiEvent(event->e.roi, app_cb);
1831 void QCameraHardwareInterface::roiEvent(fd_roi_t roi,app_notify_cb_t *app_cb) argument
1835 if(mStreamDisplay) mStreamDisplay->notifyROIEvent(roi);
1846 int faces_detected = roi.rect_num;
1853 array[i] = roi.faces[j].x;
1854 array[i+1] = roi.faces[j].y;
1855 array[i+2] = roi.faces[j].dx;
1856 array[i+3] = roi.faces[j].dy;
H A DQCameraHWI_Parm.cpp1838 num_areas_found = 1; //temp; need to change after the multi-roi is enabled
1869 af_roi_value.roi[0].x = x1;
1870 af_roi_value.roi[0].y = y1;
1871 af_roi_value.roi[0].dx = dx;
1872 af_roi_value.roi[0].dy = dy;
1880 #if 0 //better solution with multi-roi, to be enabled later
1952 num_areas_found = 1; //temp; need to change after the multi-roi is enabled
1989 #if 0 //solution including multi-roi, to be enabled later
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_display.c433 i, camframe_roi.roi[i].x, camframe_roi.roi[i].y,
434 camframe_roi.roi[i].dx, camframe_roi.roi[i].dy);
436 camframe_roi.roi[i].x, camframe_roi.roi[i].y,
437 camframe_roi.roi[i].dx, camframe_roi.roi[i].dy);
/hardware/qcom/camera/QCamera/HAL/core/inc/
H A DQCameraStream.h123 virtual void notifyROIEvent(fd_roi_t roi) {;} argument
219 void notifyROIEvent(fd_roi_t roi);
H A DQCameraHWI.h531 void roiEvent(fd_roi_t roi, app_notify_cb_t *);
/hardware/qcom/camera/QCamera/HAL2/core/inc/
H A DQCameraHWI.h556 void roiEvent(fd_roi_t roi, app_notify_cb_t *);
H A DQCamera_Intf.h676 roi_t roi[MAX_ROI]; member in struct:__anon402
936 struct fd_roi_t roi; member in union:__anon431::__anon432

Completed in 171 milliseconds