daemon of camera

1.camframe.c

(1)vendor/com/proprietary/mm-camera/app/appslib

pthread_create(&frame_thread, NULL, cam_frame, (void *)parms);     //create a thread

(2)  pthread_create(&frame_v4l2_thread, NULL, cam_frame_v4l2, (void *)parms);    //another thread


2.cam_display.c

vendor/qcom/proprietary/mm-camera/apps/appslib

(1)  pthread_create(&cam_frame_fb_thread_id, NULL, camframe_fb_thread, NULL);


3.config.c

vendor/qcom/proprietary/mm-camera/targets/tgtcommon/config

(1)  rc = pthread_create(&cam_conf_thread_id, NULL, cam_conf_v4l2, arg);


4.face_detection.c

vendor/qcom/proprietary/mm-camera/targets/tgtcommon/postproc/facial

(1) rc = pthread_create(&p_ctrl->thread, NULL, fd_thread, (void*)p_ctrl);    //face detection thread


5.frameproc.c

vendor/qcom/proprietary/mm-camera/server/frameproc

(1) return pthread_create(&frame_proc_thread, NULL, frame_processing, (void *)&handle1);


6.liveshot.c

vendor/qcom/proprietary/mm-camera/apps/appslib

  int rc = pthread_create(&liveshot_thread_id, NULL, liveshot_thread, NULL);  //live shot thread


7.mctl.c

vendor/qcom/proprietary/mm-camera/server/core/mctl

rc = pthread_create(&pme->cam_mctl_thread_id, NULL, cam_mctl_thread, pme);


8.mctl_app.c

vendor/qcom/proprietary/mm-camera/server/core/mctl

rc = pthread_create(&poll_cb->data.pid, NULL, mctl_pp_poll_thread, (void *)poll_cb);


9.mm_camera_poll_thread.c

hardware/qcom/camera/mm-camera-interface

    pthread_create(&poll_cb->data.pid, NULL, mm_camera_poll_thread, (void *)poll_cb);


10.mm_qcamera_display.c

vendor/qcom/proprietary/mm-camera/apps/mm-qcamera-app

  pthread_create(&cam_frame_fb_thread_id, NULL, camframe_fb_thread, NULL);


11.QCameraHWI_Still.cpp

hardware/qcom/camera

pthread_create(&mSnapshotThread,&attr,  snapshot_thread, (void *)this);


12.QualcommCameraHardware.cpp

hardware/qcom/camera

(1) if( (pthread_create(&mDeviceOpenThread, NULL, openCamera, NULL)) != 0)



(2)mPreviewThreadRunning = !pthread_create(&mPreviewThread,
                                      &pattr,
                                      preview_thread,
                                      (void*)NULL);


(3)        mFrameThreadRunning = !pthread_create(&mFrameThread,
                                              &attr,
                                              frame_thread,
                                              &camframeParams);


(4)                !pthread_create(&thr, &attr,
                                auto_focus_thread, NULL);


(5) mSnapshotThreadRunning = !pthread_create(&mSnapshotThread,
                                             &attr,
                                             snapshot_thread,
                                             NULL);


(6)          mVideoThreadRunning = pthread_create(&mVideoThread,
                &attr,
                video_thread,
                NULL);


13.snapshot.c

vendor/qcom/proprietary/mm-camera/apps/applib

if ((pthread_create(&g_snapshot_context->zsl_info.zsl_thread_id, NULL,
      zsl_snapshot_thread_func, (void *)g_snapshot_context)) != 0)



14.wavelet_denoise.c

vendor/qcom/proprietary/mm-camera/targets/tgtcommon/postproc/wavelet_denoise

rc = pthread_create(&pp_thread, NULL, wavelet_denoising_segment,
        (void *)(&dwtYSegmentStruct));




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值