/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 56 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 59 //pme->cam->ops->get_parm(pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &dim); 73 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 75 if (pme->cam_mode == RDI_MODE) { 83 pme->cam_mode = RDI_MODE; 89 void rdi_cb_signal(mm_camera_app_obj_t *pme) 91 if (pme->cam_mode == RDI_MODE) { 101 mm_camera_app_obj_t *pme = NULL; local 104 pme = (mm_camera_app_obj_t *)user_data 129 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 197 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 223 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 254 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 293 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 321 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local [all...] |
mm_qcamera_video.c | 77 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 80 fmt->fmt = pme->dim.enc_format; 81 fmt->width = pme->dim.video_width; 82 fmt->height = pme->dim.video_height; 93 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data; 96 rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->video_buf.frame[i].fd_data), 97 (void *)pme->video_buf.frame[i].buffer, pme->video_buf.frame_len); 118 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data 193 mm_camera_app_obj_t *pme = NULL; local 216 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 249 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 285 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 306 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 329 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 349 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 364 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 390 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 438 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 473 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local [all...] |
mm_qcamera_snapshot.c | 110 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 113 fmt->fmt = pme->dim.thumb_format; 114 fmt->width = pme->dim.thumbnail_width; 115 fmt->height = pme->dim.thumbnail_height; 124 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 126 fmt->fmt = pme->dim.main_img_format; 127 fmt->width = pme->dim.picture_width; 128 fmt->height = pme->dim.picture_height; 136 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 138 fmt->fmt = pme->dim.enc_format 304 mm_camera_app_obj_t *pme = NULL; local 566 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 594 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 602 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 637 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 675 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 716 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 759 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1098 mm_camera_app_obj_t *pme = NULL; local 1135 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1178 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1201 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1235 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1254 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1284 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1330 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local [all...] |
mm_qcamera_preview.c | 114 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 117 fmt->fmt = pme->dim.prev_format; 118 fmt->width = pme->dim.display_width; 119 fmt->height = pme->dim.display_height; 178 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 180 if (pme->cam_mode == CAMERA_MODE) { 189 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); 196 pme->cam_mode = CAMERA_MODE; 207 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id) local 339 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data; local 482 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data; local 563 mm_camera_app_obj_t *pme = NULL; local 600 mm_camera_app_obj_t *pme = NULL; local 644 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 692 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 716 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 780 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 837 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 873 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 914 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 941 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 977 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1012 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1041 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 1062 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local [all...] |
mm_qcamera_app.c | 213 mm_camera_app_obj_t *pme = NULL; local 217 pme = mm_app_get_cam_obj(cam_id); 220 if(pme != NULL) { 226 pme = my_cam_app.obj[cam_id]; 228 pme->mem_cam = (mm_camear_mem_vtbl_t *)malloc(sizeof(mm_camear_mem_vtbl_t)); 229 memset(pme->mem_cam,0,sizeof(mm_camear_mem_vtbl_t)); 230 pme->mem_cam->user_data = pme; 232 pme->cam = my_cam_app.hal_lib.mm_camera_open(cam_id,pme->mem_cam) 262 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 292 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 313 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 343 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local 387 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); local [all...] |
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 59 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 60 if (pme == NULL || 61 pme->mCameraHandle == NULL || 62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 67 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; 85 pme->m_postprocessor.processData(frame); 110 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 111 if (pme == NULL || 112 pme->mCameraHandle == NULL || 113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle) 201 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 251 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 376 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 453 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 525 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 594 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 633 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 669 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 776 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 1045 QCameraCbNotifier *pme = (QCameraCbNotifier *)data; local [all...] |
QCameraPostProc.cpp | 707 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; local 708 if (NULL != pme) { 709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); 726 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; local 727 if (NULL != pme) { 728 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); 745 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; local 746 if (NULL != pme) { 749 pme->releaseSuperBuf(pp_job->src_frame); 1222 QCameraPostProcessor *pme = (QCameraPostProcessor *)data; local [all...] |
QCameraStream.cpp | 436 QCameraStream *pme = (QCameraStream *)data; local 437 QCameraCmdThread *cmdThread = &pme->mProcTh; 457 (mm_camera_super_buf_t *)pme->mDataQ.dequeue(); 459 if (pme->mDataCB != NULL) { 460 pme->mDataCB(frame, pme, pme->mUserData); 463 pme->bufDone(frame->bufs[0]->buf_idx); 472 pme->mDataQ.flush();
|
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 59 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 60 if (pme == NULL || 61 pme->mCameraHandle == NULL || 62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ 67 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; 85 pme->m_postprocessor.processData(frame); 110 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 111 if (pme == NULL || 112 pme->mCameraHandle == NULL || 113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle) 201 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 251 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 376 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 453 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 525 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 594 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 633 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 669 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 776 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; local 1045 QCameraCbNotifier *pme = (QCameraCbNotifier *)data; local [all...] |
QCameraPostProc.cpp | 707 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; local 708 if (NULL != pme) { 709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); 726 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; local 727 if (NULL != pme) { 728 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); 745 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; local 746 if (NULL != pme) { 749 pme->releaseSuperBuf(pp_job->src_frame); 1222 QCameraPostProcessor *pme = (QCameraPostProcessor *)data; local [all...] |
QCameraStream.cpp | 436 QCameraStream *pme = (QCameraStream *)data; local 437 QCameraCmdThread *cmdThread = &pme->mProcTh; 457 (mm_camera_super_buf_t *)pme->mDataQ.dequeue(); 459 if (pme->mDataCB != NULL) { 460 pme->mDataCB(frame, pme, pme->mUserData); 463 pme->bufDone(frame->bufs[0]->buf_idx); 472 pme->mDataQ.flush();
|
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | 579 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; local 580 if (NULL != pme) { 581 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); 598 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; local 599 if (NULL != pme) { 600 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); 617 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; local 618 if (NULL != pme) { 621 pme->releaseSuperBuf(pp_job->src_frame); 994 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)data; local [all...] |
QCamera3Stream.cpp | 434 QCamera3Stream *pme = (QCamera3Stream *)data; local 435 QCameraCmdThread *cmdThread = &pme->mProcTh; 455 (mm_camera_super_buf_t *)pme->mDataQ.dequeue(); 457 if (pme->mDataCB != NULL) { 458 pme->mDataCB(frame, pme, pme->mUserData); 461 pme->bufDone(frame->bufs[0]->buf_idx); 469 pme->mDataQ.flush();
|
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | 584 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; local 585 if (NULL != pme) { 586 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); 603 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; local 604 if (NULL != pme) { 605 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); 622 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; local 623 if (NULL != pme) { 626 pme->releaseSuperBuf(pp_job->src_frame); 1023 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)data; local [all...] |
QCamera3Stream.cpp | 435 QCamera3Stream *pme = (QCamera3Stream *)data; local 436 QCameraCmdThread *cmdThread = &pme->mProcTh; 457 (mm_camera_super_buf_t *)pme->mDataQ.dequeue(); 459 if (pme->mDataCB != NULL) { 460 pme->mDataCB(frame, pme, pme->mUserData); 463 pme->bufDone(frame->bufs[0]->buf_idx); 471 pme->mDataQ.flush();
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_snapshot.c | 41 mm_camera_test_obj_t *pme = NULL; local 44 pme = (mm_camera_test_obj_t *)userData; 45 if (pme->jpeg_hdl != client_hdl || 46 jobId != pme->current_job_id || 47 !pme->current_job_frames) { 49 __func__, jobId, pme->current_job_id); 60 pme->current_job_id = 0; 61 for (i = 0; i < pme->current_job_frames->num_bufs; i++) { 62 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle 164 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local [all...] |
mm_qcamera_preview.c | 38 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 42 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 60 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 71 if (pme->channels[i].ch_id == bufs->ch_id) { 72 channel = &pme->channels[i]; 129 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 138 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_video.c | 38 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 42 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_rdi.c | 66 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 70 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); 73 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_snapshot.c | 41 mm_camera_test_obj_t *pme = NULL; local 44 pme = (mm_camera_test_obj_t *)userData; 45 if (pme->jpeg_hdl != client_hdl || 46 jobId != pme->current_job_id || 47 !pme->current_job_frames) { 49 __func__, jobId, pme->current_job_id); 60 pme->current_job_id = 0; 61 for (i = 0; i < pme->current_job_frames->num_bufs; i++) { 62 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle 164 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local [all...] |
mm_qcamera_preview.c | 38 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 42 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 60 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 71 if (pme->channels[i].ch_id == bufs->ch_id) { 72 channel = &pme->channels[i]; 129 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, 138 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_video.c | 38 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 42 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); 45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
mm_qcamera_rdi.c | 66 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; local 70 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); 73 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle,
|
/device/lge/mako/camera/ |
QCameraHWI_Record_7x27A.cpp | 46 QCameraStream* pme = new QCameraStream_record(cameraId, mode); local 48 return pme; 106 QCameraStream_record *pme = (QCameraStream_record *)user_data; local 113 pme->processRecordFrame(bufs_new);
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | 1475 QCameraHardwareInterface *pme = (QCameraHardwareInterface *)user_data; local [all...] |