• Home
  • Raw
  • Download

Lines Matching refs:pChannel

1768     QCameraVideoChannel *pChannel =  in releaseRecordingFrame()  local
1771 if(pChannel != NULL) { in releaseRecordingFrame()
1772 rc = pChannel->releaseFrame(opaque, mStoreMetaDataInFrame > 0); in releaseRecordingFrame()
2188 QCameraReprocessChannel *pChannel = in registerFaceImage() local
2191 if (pChannel == NULL) { in registerFaceImage()
2198 rc = pChannel->start(); in registerFaceImage()
2203 delete pChannel; in registerFaceImage()
2207 rc = pChannel->doReprocess(imgBuf->getFd(0), imgBuf->getSize(0), faceID); in registerFaceImage()
2213 pChannel->stop(); in registerFaceImage()
2214 delete pChannel; in registerFaceImage()
2215 pChannel = NULL; in registerFaceImage()
2693 int32_t QCamera2HardwareInterface::addStreamToChannel(QCameraChannel *pChannel, in addStreamToChannel() argument
2705 rc = pChannel->addStream(*this, in addStreamToChannel()
2735 QCameraChannel *pChannel = NULL; in addPreviewChannel() local
2743 pChannel = new QCameraChannel(mCameraHandle->camera_handle, in addPreviewChannel()
2745 if (NULL == pChannel) { in addPreviewChannel()
2751 rc = pChannel->init(NULL, NULL, NULL); in addPreviewChannel()
2754 delete pChannel; in addPreviewChannel()
2759 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_METADATA, in addPreviewChannel()
2763 delete pChannel; in addPreviewChannel()
2768 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_PREVIEW, in addPreviewChannel()
2771 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_PREVIEW, in addPreviewChannel()
2776 delete pChannel; in addPreviewChannel()
2780 m_channels[QCAMERA_CH_TYPE_PREVIEW] = pChannel; in addPreviewChannel()
2798 QCameraVideoChannel *pChannel = NULL; in addVideoChannel() local
2806 pChannel = new QCameraVideoChannel(mCameraHandle->camera_handle, in addVideoChannel()
2808 if (NULL == pChannel) { in addVideoChannel()
2814 rc = pChannel->init(NULL, NULL, NULL); in addVideoChannel()
2817 delete pChannel; in addVideoChannel()
2821 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_VIDEO, in addVideoChannel()
2825 delete pChannel; in addVideoChannel()
2829 m_channels[QCAMERA_CH_TYPE_VIDEO] = pChannel; in addVideoChannel()
2849 QCameraChannel *pChannel = NULL; in addSnapshotChannel() local
2857 pChannel = new QCameraChannel(mCameraHandle->camera_handle, in addSnapshotChannel()
2859 if (NULL == pChannel) { in addSnapshotChannel()
2864 rc = pChannel->init(NULL, NULL, NULL); in addSnapshotChannel()
2867 delete pChannel; in addSnapshotChannel()
2871 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT, in addSnapshotChannel()
2875 delete pChannel; in addSnapshotChannel()
2879 m_channels[QCAMERA_CH_TYPE_SNAPSHOT] = pChannel; in addSnapshotChannel()
2897 QCameraChannel *pChannel = NULL; in addRawChannel() local
2905 pChannel = new QCameraChannel(mCameraHandle->camera_handle, in addRawChannel()
2907 if (NULL == pChannel) { in addRawChannel()
2912 rc = pChannel->init(NULL, NULL, NULL); in addRawChannel()
2915 delete pChannel; in addRawChannel()
2920 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_METADATA, in addRawChannel()
2924 delete pChannel; in addRawChannel()
2928 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_RAW, in addRawChannel()
2932 delete pChannel; in addRawChannel()
2936 m_channels[QCAMERA_CH_TYPE_RAW] = pChannel; in addRawChannel()
2955 QCameraPicChannel *pChannel = NULL; in addZSLChannel() local
2963 pChannel = new QCameraPicChannel(mCameraHandle->camera_handle, in addZSLChannel()
2965 if (NULL == pChannel) { in addZSLChannel()
2978 rc = pChannel->init(&attr, in addZSLChannel()
2983 delete pChannel; in addZSLChannel()
2988 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_METADATA, in addZSLChannel()
2992 delete pChannel; in addZSLChannel()
2997 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_PREVIEW, in addZSLChannel()
3000 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_PREVIEW, in addZSLChannel()
3005 delete pChannel; in addZSLChannel()
3009 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_SNAPSHOT, in addZSLChannel()
3013 delete pChannel; in addZSLChannel()
3017 m_channels[QCAMERA_CH_TYPE_ZSL] = pChannel; in addZSLChannel()
3038 QCameraChannel *pChannel = NULL; in addCaptureChannel() local
3045 pChannel = new QCameraChannel(mCameraHandle->camera_handle, in addCaptureChannel()
3047 if (NULL == pChannel) { in addCaptureChannel()
3058 rc = pChannel->init(&attr, in addCaptureChannel()
3063 delete pChannel; in addCaptureChannel()
3069 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_METADATA, in addCaptureChannel()
3073 delete pChannel; in addCaptureChannel()
3077 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_POSTVIEW, in addCaptureChannel()
3082 delete pChannel; in addCaptureChannel()
3086 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT, in addCaptureChannel()
3090 delete pChannel; in addCaptureChannel()
3094 m_channels[QCAMERA_CH_TYPE_CAPTURE] = pChannel; in addCaptureChannel()
3112 QCameraChannel *pChannel = NULL; in addMetaDataChannel() local
3119 pChannel = new QCameraChannel(mCameraHandle->camera_handle, in addMetaDataChannel()
3121 if (NULL == pChannel) { in addMetaDataChannel()
3126 rc = pChannel->init(NULL, in addMetaDataChannel()
3131 delete pChannel; in addMetaDataChannel()
3135 rc = addStreamToChannel(pChannel, CAM_STREAM_TYPE_METADATA, in addMetaDataChannel()
3139 delete pChannel; in addMetaDataChannel()
3143 m_channels[QCAMERA_CH_TYPE_METADATA] = pChannel; in addMetaDataChannel()
3162 QCameraReprocessChannel *pChannel = NULL; in addOnlineReprocChannel() local
3169 pChannel = new QCameraReprocessChannel(mCameraHandle->camera_handle, in addOnlineReprocChannel()
3171 if (NULL == pChannel) { in addOnlineReprocChannel()
3181 rc = pChannel->init(&attr, in addOnlineReprocChannel()
3186 delete pChannel; in addOnlineReprocChannel()
3223 rc = pChannel->addReprocStreamsFromSource(*this, in addOnlineReprocChannel()
3229 delete pChannel; in addOnlineReprocChannel()
3233 return pChannel; in addOnlineReprocChannel()
3257 QCameraReprocessChannel *pChannel = NULL; in addOfflineReprocChannel() local
3259 pChannel = new QCameraReprocessChannel(mCameraHandle->camera_handle, in addOfflineReprocChannel()
3261 if (NULL == pChannel) { in addOfflineReprocChannel()
3266 rc = pChannel->init(NULL, NULL, NULL); in addOfflineReprocChannel()
3269 delete pChannel; in addOfflineReprocChannel()
3276 delete pChannel; in addOfflineReprocChannel()
3293 rc = pChannel->addStream(*this, in addOfflineReprocChannel()
3302 delete pChannel; in addOfflineReprocChannel()
3306 return pChannel; in addOfflineReprocChannel()