Lines Matching refs:m_channels

1079     memset(m_channels, 0, sizeof(m_channels));  in QCamera2HardwareInterface()
1276 if (m_channels[i] != NULL) { in closeCamera()
1277 m_channels[i]->stop(); in closeCamera()
1278 delete m_channels[i]; in closeCamera()
1279 m_channels[i] = NULL; in closeCamera()
1398 ( m_channels[QCAMERA_CH_TYPE_PREVIEW] == NULL ) ) { in prepareTorchCamera()
1421 ( m_channels[QCAMERA_CH_TYPE_PREVIEW] != NULL ) ) { in releaseTorchCamera()
1422 delete m_channels[QCAMERA_CH_TYPE_PREVIEW]; in releaseTorchCamera()
1423 m_channels[QCAMERA_CH_TYPE_PREVIEW] = NULL; in releaseTorchCamera()
2166 (QCameraVideoChannel *)m_channels[QCAMERA_CH_TYPE_VIDEO]; in releaseRecordingFrame()
2601 (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in takePicture()
2667 allocArgs.ch = m_channels[QCAMERA_CH_TYPE_CAPTURE]; in takePicture()
2694 (NULL != m_channels[QCAMERA_CH_TYPE_CAPTURE])) { in takePicture()
2697 rc = m_channels[QCAMERA_CH_TYPE_CAPTURE]->config(); in takePicture()
2707 args.pprocArgs = m_channels[QCAMERA_CH_TYPE_CAPTURE]; in takePicture()
2712 rc = m_channels[QCAMERA_CH_TYPE_CAPTURE]->start(); in takePicture()
2720 (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_CAPTURE]; in takePicture()
2750 rc = m_postprocessor.start(m_channels[QCAMERA_CH_TYPE_RAW]); in takePicture()
2821 pChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in longShot()
2823 pChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_CAPTURE]; in longShot()
2891 (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in cancelPicture()
2982 rc = m_postprocessor.start(m_channels[QCAMERA_CH_TYPE_SNAPSHOT]); in takeLiveSnapshot_internal()
3129 QCameraChannel *pZSLChannel = m_channels[QCAMERA_CH_TYPE_ZSL]; in sendCommand()
3258 if (m_channels[i] != NULL) { in release()
3571 if (m_channels[i] != NULL) { in processZoomEvent()
3572 ret = m_channels[i]->processZoomDone(mPreviewWindow, crop_info); in processZoomEvent()
3674 if (m_channels[QCAMERA_CH_TYPE_ZSL] && in processPrepSnapshotDoneEvent()
3896 if (m_channels[j] != NULL) { in prepareRawStream()
3897 pChannel = m_channels[j]; in prepareRawStream()
4056 if (m_channels[QCAMERA_CH_TYPE_PREVIEW] != NULL) { in addPreviewChannel()
4107 m_channels[QCAMERA_CH_TYPE_PREVIEW] = pChannel; in addPreviewChannel()
4127 if (m_channels[QCAMERA_CH_TYPE_VIDEO] != NULL) { in addVideoChannel()
4129 delete m_channels[QCAMERA_CH_TYPE_VIDEO]; in addVideoChannel()
4130 m_channels[QCAMERA_CH_TYPE_VIDEO] = NULL; in addVideoChannel()
4156 m_channels[QCAMERA_CH_TYPE_VIDEO] = pChannel; in addVideoChannel()
4178 if (m_channels[QCAMERA_CH_TYPE_SNAPSHOT] != NULL) { in addSnapshotChannel()
4180 delete m_channels[QCAMERA_CH_TYPE_SNAPSHOT]; in addSnapshotChannel()
4181 m_channels[QCAMERA_CH_TYPE_SNAPSHOT] = NULL; in addSnapshotChannel()
4206 m_channels[QCAMERA_CH_TYPE_SNAPSHOT] = pChannel; in addSnapshotChannel()
4226 if (m_channels[QCAMERA_CH_TYPE_RAW] != NULL) { in addRawChannel()
4228 delete m_channels[QCAMERA_CH_TYPE_RAW]; in addRawChannel()
4229 m_channels[QCAMERA_CH_TYPE_RAW] = NULL; in addRawChannel()
4264 m_channels[QCAMERA_CH_TYPE_RAW] = pChannel; in addRawChannel()
4287 if (m_channels[QCAMERA_CH_TYPE_ZSL] != NULL) { in addZSLChannel()
4289 delete m_channels[QCAMERA_CH_TYPE_ZSL]; in addZSLChannel()
4290 m_channels[QCAMERA_CH_TYPE_ZSL] = NULL; in addZSLChannel()
4293 if (m_channels[QCAMERA_CH_TYPE_PREVIEW] != NULL) { in addZSLChannel()
4294 delete m_channels[QCAMERA_CH_TYPE_PREVIEW]; in addZSLChannel()
4295 m_channels[QCAMERA_CH_TYPE_PREVIEW] = NULL; in addZSLChannel()
4370 m_channels[QCAMERA_CH_TYPE_ZSL] = pChannel; in addZSLChannel()
4395 if (m_channels[QCAMERA_CH_TYPE_CAPTURE] != NULL) { in addCaptureChannel()
4396 delete m_channels[QCAMERA_CH_TYPE_CAPTURE]; in addCaptureChannel()
4397 m_channels[QCAMERA_CH_TYPE_CAPTURE] = NULL; in addCaptureChannel()
4479 m_channels[QCAMERA_CH_TYPE_CAPTURE] = pChannel; in addCaptureChannel()
4499 if (m_channels[QCAMERA_CH_TYPE_METADATA] != NULL) { in addMetaDataChannel()
4500 delete m_channels[QCAMERA_CH_TYPE_METADATA]; in addMetaDataChannel()
4501 m_channels[QCAMERA_CH_TYPE_METADATA] = NULL; in addMetaDataChannel()
4528 m_channels[QCAMERA_CH_TYPE_METADATA] = pChannel; in addMetaDataChannel()
4833 if (m_channels[ch_type] != NULL) { in delChannel()
4835 delete m_channels[ch_type]; in delChannel()
4836 m_channels[ch_type] = NULL; in delChannel()
4838 m_channels[ch_type]->deleteChannel(); in delChannel()
4860 if (m_channels[ch_type] != NULL) { in startChannel()
4861 rc = m_channels[ch_type]->config(); in startChannel()
4863 rc = m_channels[ch_type]->start(); in startChannel()
4885 if (m_channels[ch_type] != NULL) { in stopChannel()
4886 rc = m_channels[ch_type]->stop(); in stopChannel()
5012 if (m_channels[i] != NULL && in getChannelByHandle()
5013 m_channels[i]->getMyHandle() == channelHandle) { in getChannelByHandle()
5014 return m_channels[i]; in getChannelByHandle()
5555 if (m_channels[i] != NULL) { in updateParameters()
5556 m_channels[i]->UpdateStreamBasedParameters(mParameters); in updateParameters()