Lines Matching refs:m_channels
1691 memset(m_channels, 0, sizeof(m_channels)); in QCamera2HardwareInterface()
2193 if (m_channels[i] != NULL) { in closeCamera()
2194 m_channels[i]->stop(); in closeCamera()
2195 delete m_channels[i]; in closeCamera()
2196 m_channels[i] = NULL; in closeCamera()
3292 if (m_channels[QCAMERA_CH_TYPE_CALLBACK] != NULL) { in enableMsgType()
3325 if (m_channels[QCAMERA_CH_TYPE_CALLBACK] != NULL) { in disableMsgType()
3413 && (m_channels[QCAMERA_CH_TYPE_CALLBACK] != NULL)) { in startPreview()
3581 QCameraChannel *pVideoChannel = m_channels[QCAMERA_CH_TYPE_VIDEO]; in startRecording()
3583 if (m_channels[QCAMERA_CH_TYPE_PREVIEW] != NULL) { in startRecording()
3584 pMetaChannel = m_channels[QCAMERA_CH_TYPE_PREVIEW]; in startRecording()
3610 QCameraChannel *pChannel = m_channels[QCAMERA_CH_TYPE_SNAPSHOT]; in startRecording()
3616 if (m_channels[QCAMERA_CH_TYPE_PREVIEW] != NULL) { in startRecording()
3617 pMetaChannel = m_channels[QCAMERA_CH_TYPE_PREVIEW]; in startRecording()
3695 (QCameraVideoChannel *)m_channels[QCAMERA_CH_TYPE_VIDEO]; in releaseRecordingFrame()
4399 QCameraChannel *pChannel = m_channels[QCAMERA_CH_TYPE_ZSL]; in takePicture()
4405 pPicChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_RAW]; in takePicture()
4566 (NULL != m_channels[QCAMERA_CH_TYPE_CAPTURE])) { in takePicture()
4570 *m_channels[QCAMERA_CH_TYPE_CAPTURE]); in takePicture()
4581 args.pprocArgs = m_channels[QCAMERA_CH_TYPE_CAPTURE]; in takePicture()
4606 rc = m_channels[QCAMERA_CH_TYPE_CAPTURE]->start(); in takePicture()
4622 (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_CAPTURE]; in takePicture()
4678 rc = m_postprocessor.start(m_channels[QCAMERA_CH_TYPE_RAW]); in takePicture()
4794 pChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in longShot()
4796 pChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_CAPTURE]; in longShot()
4875 pPicChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_RAW]; in cancelPicture()
4877 pPicChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in cancelPicture()
5170 rc = m_postprocessor.start(m_channels[QCAMERA_CH_TYPE_RAW]); in takeBackendPic_internal()
5260 pChannel = m_channels[QCAMERA_CH_TYPE_VIDEO]; in takeLiveSnapshot_internal()
5262 pChannel = m_channels[QCAMERA_CH_TYPE_SNAPSHOT]; in takeLiveSnapshot_internal()
5311 rc = configureOnlineRotation(*m_channels[QCAMERA_CH_TYPE_SNAPSHOT]); in takeLiveSnapshot_internal()
5359 if (m_channels[QCAMERA_CH_TYPE_PREVIEW] != NULL) { in takeLiveSnapshot_internal()
5360 pMetaChannel = m_channels[QCAMERA_CH_TYPE_PREVIEW]; in takeLiveSnapshot_internal()
5434 QCameraChannel *pChannel = m_channels[QCAMERA_CH_TYPE_SNAPSHOT]; in cancelLiveSnapshot()
5518 pChannel = m_channels[QCAMERA_CH_TYPE_ZSL]; in sendCommand()
5557 QCameraChannel *pZSLChannel = m_channels[QCAMERA_CH_TYPE_ZSL]; in sendCommand()
5699 if (m_channels[i] != NULL) { in release()
6085 (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in processAutoFocusEvent()
6131 (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in processAutoFocusEvent()
6185 if (m_channels[i] != NULL) { in processZoomEvent()
6186 ret = m_channels[i]->processZoomDone(mPreviewWindow, crop_info); in processZoomEvent()
6358 if (m_channels[QCAMERA_CH_TYPE_ZSL] && in processPrepSnapshotDoneEvent()
6576 if (m_channels[j] != NULL) { in prepareRawStream()
6577 pChannel = m_channels[j]; in prepareRawStream()
6711 if (m_channels[QCAMERA_CH_TYPE_PREVIEW] != NULL) { in addPreviewChannel()
6713 delete m_channels[QCAMERA_CH_TYPE_PREVIEW]; in addPreviewChannel()
6714 m_channels[QCAMERA_CH_TYPE_PREVIEW] = NULL; in addPreviewChannel()
6784 m_channels[QCAMERA_CH_TYPE_PREVIEW] = pChannel; in addPreviewChannel()
6804 if (m_channels[QCAMERA_CH_TYPE_VIDEO] != NULL) { in addVideoChannel()
6806 delete m_channels[QCAMERA_CH_TYPE_VIDEO]; in addVideoChannel()
6807 m_channels[QCAMERA_CH_TYPE_VIDEO] = NULL; in addVideoChannel()
6845 m_channels[QCAMERA_CH_TYPE_VIDEO] = pChannel; in addVideoChannel()
6867 if (m_channels[QCAMERA_CH_TYPE_SNAPSHOT] != NULL) { in addSnapshotChannel()
6869 delete m_channels[QCAMERA_CH_TYPE_SNAPSHOT]; in addSnapshotChannel()
6870 m_channels[QCAMERA_CH_TYPE_SNAPSHOT] = NULL; in addSnapshotChannel()
6903 m_channels[QCAMERA_CH_TYPE_SNAPSHOT] = pChannel; in addSnapshotChannel()
6923 if (m_channels[QCAMERA_CH_TYPE_RAW] != NULL) { in addRawChannel()
6925 delete m_channels[QCAMERA_CH_TYPE_RAW]; in addRawChannel()
6926 m_channels[QCAMERA_CH_TYPE_RAW] = NULL; in addRawChannel()
6982 m_channels[QCAMERA_CH_TYPE_RAW] = pChannel; in addRawChannel()
7005 if (m_channels[QCAMERA_CH_TYPE_ZSL] != NULL) { in addZSLChannel()
7007 delete m_channels[QCAMERA_CH_TYPE_ZSL]; in addZSLChannel()
7008 m_channels[QCAMERA_CH_TYPE_ZSL] = NULL; in addZSLChannel()
7107 m_channels[QCAMERA_CH_TYPE_ZSL] = pChannel; in addZSLChannel()
7132 if (m_channels[QCAMERA_CH_TYPE_CAPTURE] != NULL) { in addCaptureChannel()
7133 delete m_channels[QCAMERA_CH_TYPE_CAPTURE]; in addCaptureChannel()
7134 m_channels[QCAMERA_CH_TYPE_CAPTURE] = NULL; in addCaptureChannel()
7218 m_channels[QCAMERA_CH_TYPE_CAPTURE] = pChannel; in addCaptureChannel()
7238 if (m_channels[QCAMERA_CH_TYPE_METADATA] != NULL) { in addMetaDataChannel()
7239 delete m_channels[QCAMERA_CH_TYPE_METADATA]; in addMetaDataChannel()
7240 m_channels[QCAMERA_CH_TYPE_METADATA] = NULL; in addMetaDataChannel()
7267 m_channels[QCAMERA_CH_TYPE_METADATA] = pChannel; in addMetaDataChannel()
7287 if (m_channels[QCAMERA_CH_TYPE_CALLBACK] != NULL) { in addCallbackChannel()
7288 delete m_channels[QCAMERA_CH_TYPE_CALLBACK]; in addCallbackChannel()
7289 m_channels[QCAMERA_CH_TYPE_CALLBACK] = NULL; in addCallbackChannel()
7315 m_channels[QCAMERA_CH_TYPE_CALLBACK] = pChannel; in addCallbackChannel()
7336 if (m_channels[QCAMERA_CH_TYPE_ANALYSIS] != NULL) { in addAnalysisChannel()
7337 delete m_channels[QCAMERA_CH_TYPE_ANALYSIS]; in addAnalysisChannel()
7338 m_channels[QCAMERA_CH_TYPE_ANALYSIS] = NULL; in addAnalysisChannel()
7363 m_channels[QCAMERA_CH_TYPE_ANALYSIS] = pChannel; in addAnalysisChannel()
7854 if (m_channels[ch_type] != NULL) { in delChannel()
7856 delete m_channels[ch_type]; in delChannel()
7857 m_channels[ch_type] = NULL; in delChannel()
7859 m_channels[ch_type]->deleteChannel(); in delChannel()
7881 if (m_channels[ch_type] != NULL) { in startChannel()
7882 rc = m_channels[ch_type]->start(); in startChannel()
7902 if (m_channels[ch_type] != NULL) { in stopChannel()
7903 rc = m_channels[ch_type]->stop(); in stopChannel()
8081 if (m_channels[i] != NULL && in getChannelByHandle()
8082 m_channels[i]->getMyHandle() == channelHandle) { in getChannelByHandle()
8083 return m_channels[i]; in getChannelByHandle()
8712 if (m_channels[i] != NULL) { in updateParameters()
8713 m_channels[i]->UpdateStreamBasedParameters(mParameters); in updateParameters()
10145 QCameraChannel *pChannel = m_channels[QCAMERA_CH_TYPE_RAW]; in startRAWChannel()