Home
last modified time | relevance | path

Searched refs:pChannel (Results 1 – 18 of 18) sorted by relevance

/device/asus/flo/camera/QCamera2/HAL/
DQCamera2HWI.cpp1768 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()
[all …]
DQCamera2HWICallbacks.cpp67 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; in zsl_channel_cb() local
68 if (pChannel == NULL || in zsl_channel_cb()
69 pChannel->getMyHandle() != recvd_frame->ch_id) { in zsl_channel_cb()
79 pChannel->bufDone(recvd_frame); in zsl_channel_cb()
120 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_CAPTURE]; in capture_channel_cb_routine() local
121 if (pChannel == NULL || in capture_channel_cb_routine()
122 pChannel->getMyHandle() != recvd_frame->ch_id) { in capture_channel_cb_routine()
132 pChannel->bufDone(recvd_frame); in capture_channel_cb_routine()
150 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in capture_channel_cb_routine()
DQCameraPostProc.cpp799 QCameraChannel *pChannel = NULL; in releaseSuperBuf() local
802 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
804 if ( NULL == pChannel ) { in releaseSuperBuf()
807 pChannel = m_pReprocChannel; in releaseSuperBuf()
811 if (pChannel != NULL) { in releaseSuperBuf()
812 pChannel->bufDone(super_buf); in releaseSuperBuf()
938 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in encodeData() local
940 if (pChannel == NULL) { in encodeData()
943 pChannel = m_pReprocChannel; in encodeData()
946 if (pChannel == NULL) { in encodeData()
[all …]
DQCamera2HWI.h322 int32_t addStreamToChannel(QCameraChannel *pChannel,
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp1768 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()
[all …]
DQCamera2HWICallbacks.cpp67 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; in zsl_channel_cb() local
68 if (pChannel == NULL || in zsl_channel_cb()
69 pChannel->getMyHandle() != recvd_frame->ch_id) { in zsl_channel_cb()
79 pChannel->bufDone(recvd_frame); in zsl_channel_cb()
120 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_CAPTURE]; in capture_channel_cb_routine() local
121 if (pChannel == NULL || in capture_channel_cb_routine()
122 pChannel->getMyHandle() != recvd_frame->ch_id) { in capture_channel_cb_routine()
132 pChannel->bufDone(recvd_frame); in capture_channel_cb_routine()
150 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in capture_channel_cb_routine()
DQCameraPostProc.cpp799 QCameraChannel *pChannel = NULL; in releaseSuperBuf() local
802 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
804 if ( NULL == pChannel ) { in releaseSuperBuf()
807 pChannel = m_pReprocChannel; in releaseSuperBuf()
811 if (pChannel != NULL) { in releaseSuperBuf()
812 pChannel->bufDone(super_buf); in releaseSuperBuf()
938 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in encodeData() local
940 if (pChannel == NULL) { in encodeData()
943 pChannel = m_pReprocChannel; in encodeData()
946 if (pChannel == NULL) { in encodeData()
[all …]
DQCamera2HWI.h322 int32_t addStreamToChannel(QCameraChannel *pChannel,
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.cpp2165 QCameraVideoChannel *pChannel = in releaseRecordingFrame() local
2168 if(pChannel != NULL) { in releaseRecordingFrame()
2169 rc = pChannel->releaseFrame(opaque, mStoreMetaDataInFrame > 0); in releaseRecordingFrame()
2539 QCameraPicChannel *pChannel) in startAdvancedCapture() argument
2545 rc = pChannel->startAdvancedCapture(MM_CAMERA_AF_BRACKETING); in startAdvancedCapture()
2547 rc = pChannel->startAdvancedCapture(MM_CAMERA_FLASH_BRACKETING); in startAdvancedCapture()
2549 rc = pChannel->startAdvancedCapture(MM_CAMERA_AE_BRACKETING); in startAdvancedCapture()
2551 rc = pChannel->startAdvancedCapture(MM_CAMERA_ZOOM_1X); in startAdvancedCapture()
2818 QCameraPicChannel *pChannel = NULL; in longShot() local
2821 pChannel = (QCameraPicChannel *)m_channels[QCAMERA_CH_TYPE_ZSL]; in longShot()
[all …]
DQCameraPostProc.cpp234 QCameraChannel *pChannel = NULL; in start() local
235 pChannel = m_parent->needReprocess() ? m_pReprocChannel : pSrcChannel; in start()
239 for (int i = 0; i < pChannel->getNumOfStreams(); ++i) { in start()
240 QCameraStream *pStream = pChannel->getStreamByIndex(i); in start()
259 if ((NULL == pThumbStream) && (pChannel == m_pReprocChannel)) { in start()
1092 QCameraChannel *pChannel = NULL; in releaseSuperBuf() local
1095 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1097 if ( NULL == pChannel ) { in releaseSuperBuf()
1100 pChannel = m_pReprocChannel; in releaseSuperBuf()
1104 if (pChannel != NULL) { in releaseSuperBuf()
[all …]
DQCamera2HWICallbacks.cpp72 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; in zsl_channel_cb() local
73 if (pChannel == NULL || in zsl_channel_cb()
74 pChannel->getMyHandle() != recvd_frame->ch_id) { in zsl_channel_cb()
81 pme->selectScene(pChannel, recvd_frame); in zsl_channel_cb()
82 pChannel->bufDone(recvd_frame); in zsl_channel_cb()
122 pChannel->bufDone(recvd_frame); in zsl_channel_cb()
139 QCameraStream *pStream = pChannel->getStreamByHandle(raw_frame->stream_id); in zsl_channel_cb()
155 QCameraStream *pStream = pChannel->getStreamByHandle(yuv_frame->stream_id); in zsl_channel_cb()
170 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb()
220 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb()
[all …]
DQCamera2HWI.h375 int32_t selectScene(QCameraChannel *pChannel,
395 int32_t addStreamToChannel(QCameraChannel *pChannel,
401 int32_t prepareRawStream(QCameraChannel *pChannel);
433 int32_t startAdvancedCapture(QCameraPicChannel *pChannel);
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp782 QCamera3Channel *pChannel = NULL; in encodeData() local
786 pChannel = m_parent; in encodeData()
789 if (pChannel == NULL) { in encodeData()
792 pChannel = m_pReprocChannel; in encodeData()
795 if (pChannel == NULL) { in encodeData()
806 srcChannel = pChannel; in encodeData()
DQCamera3HWI.cpp3630 QCamera3ReprocessChannel *pChannel = NULL; in addOnlineReprocChannel() local
3636 pChannel = new QCamera3ReprocessChannel(mCameraHandle->camera_handle, in addOnlineReprocChannel()
3638 if (NULL == pChannel) { in addOnlineReprocChannel()
3648 rc = pChannel->initialize(); in addOnlineReprocChannel()
3651 delete pChannel; in addOnlineReprocChannel()
3682 rc = pChannel->addReprocStreamsFromSource(pp_config, in addOnlineReprocChannel()
3687 delete pChannel; in addOnlineReprocChannel()
3690 return pChannel; in addOnlineReprocChannel()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp804 QCamera3Channel *pChannel = NULL; in encodeData() local
808 pChannel = m_parent; in encodeData()
811 if (pChannel == NULL) { in encodeData()
814 pChannel = m_pReprocChannel; in encodeData()
818 srcChannel = pChannel; in encodeData()
DQCamera3HWI.cpp6042 QCamera3ReprocessChannel *pChannel = NULL; in addOfflineReprocChannel() local
6048 pChannel = new QCamera3ReprocessChannel(mCameraHandle->camera_handle, in addOfflineReprocChannel()
6050 if (NULL == pChannel) { in addOfflineReprocChannel()
6055 rc = pChannel->initialize(); in addOfflineReprocChannel()
6058 delete pChannel; in addOfflineReprocChannel()
6103 rc = pChannel->addReprocStreamsFromSource(pp_config, in addOfflineReprocChannel()
6108 delete pChannel; in addOfflineReprocChannel()
6111 return pChannel; in addOfflineReprocChannel()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1155 QCamera3Channel *pChannel = NULL; in encodeData() local
1159 pChannel = m_parent; in encodeData()
1162 if (pChannel == NULL) { in encodeData()
1165 pChannel = m_pReprocChannel; in encodeData()
1169 srcChannel = pChannel; in encodeData()
DQCamera3HWI.cpp7089 QCamera3ReprocessChannel *pChannel = NULL; in addOfflineReprocChannel() local
7091 pChannel = new QCamera3ReprocessChannel(mCameraHandle->camera_handle, in addOfflineReprocChannel()
7093 if (NULL == pChannel) { in addOfflineReprocChannel()
7098 rc = pChannel->initialize(IS_TYPE_NONE); in addOfflineReprocChannel()
7101 delete pChannel; in addOfflineReprocChannel()
7111 rc = pChannel->addReprocStreamsFromSource(pp_config, in addOfflineReprocChannel()
7117 delete pChannel; in addOfflineReprocChannel()
7120 return pChannel; in addOfflineReprocChannel()