Lines Matching refs:pChannel

129         QCameraChannel *pChannel = mPPChannels[i];  in ~QCameraPostProcessor()  local
130 if ( pChannel != NULL ) { in ~QCameraPostProcessor()
131 pChannel->stop(); in ~QCameraPostProcessor()
132 delete pChannel; in ~QCameraPostProcessor()
133 pChannel = NULL; in ~QCameraPostProcessor()
291 QCameraReprocessChannel *pChannel = mPPChannels[i]; in start() local
292 if (pChannel != NULL) { in start()
293 pChannel->stop(); in start()
294 delete pChannel; in start()
295 pChannel = NULL; in start()
374 QCameraReprocessChannel *pChannel = mPPChannels[i]; in stop() local
375 if (pChannel != NULL) { in stop()
376 pChannel->stop(); in stop()
377 delete pChannel; in stop()
378 pChannel = NULL; in stop()
428 QCameraChannel *pChannel = NULL; in createJpegSession() local
430 pChannel = m_parent->needReprocess() ? mPPChannels[ppChannel_idx] : in createJpegSession()
439 if (pChannel == NULL) { in createJpegSession()
445 for (uint32_t i = 0; i < pChannel->getNumOfStreams(); ++i) { in createJpegSession()
446 QCameraStream *pStream = pChannel->getStreamByIndex(i); in createJpegSession()
469 (pChannel == mPPChannels[ppChannel_idx])) { in createJpegSession()
940 QCameraChannel *pChannel = NULL; in validatePostProcess() local
947 pChannel = m_parent->getChannelByHandle(frame->ch_id); in validatePostProcess()
949 if (pChannel == mPPChannels[i]->getSrcChannel()) { in validatePostProcess()
955 if ((m_pReprocChannel != NULL) && (pChannel == m_pReprocChannel->getSrcChannel())) { in validatePostProcess()
987 QCameraChannel *pChannel = NULL; in getOfflinePPInputBuffer() local
1006 pChannel = m_parent->getChannelByHandle(src_frame->ch_id); in getOfflinePPInputBuffer()
1008 src_pStream = pChannel->getStreamByHandle( in getOfflinePPInputBuffer()
1455 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in processPPData() local
1456 if (pChannel == NULL) { in processPPData()
1460 pChannel = mPPChannels[i]; in processPPData()
1465 if (pChannel == NULL) { in processPPData()
1472 pSnapshotStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in processPPData()
1601 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in processPPData() local
1602 if (pChannel == NULL) { in processPPData()
1606 pChannel = mPPChannels[i]; in processPPData()
1611 if (pChannel == NULL) { in processPPData()
1618 pOfflineMetadataStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in processPPData()
1853 QCameraChannel *pChannel = NULL; in releaseSuperBuf() local
1856 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1858 if ( NULL == pChannel ) { in releaseSuperBuf()
1863 pChannel = mPPChannels[i]; in releaseSuperBuf()
1869 if (pChannel != NULL) { in releaseSuperBuf()
1870 pChannel->bufDone(super_buf); in releaseSuperBuf()
1892 QCameraChannel *pChannel = NULL; in releaseSuperBuf() local
1895 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1896 if (pChannel == NULL) { in releaseSuperBuf()
1901 pChannel = mPPChannels[i]; in releaseSuperBuf()
1907 if (pChannel != NULL) { in releaseSuperBuf()
1911 pChannel->getStreamByHandle(super_buf->bufs[i]->stream_id); in releaseSuperBuf()
1914 pChannel->bufDone(super_buf, super_buf->bufs[i]->stream_id); in releaseSuperBuf()
2151 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in queryStreams() local
2153 if (pChannel == NULL) { in queryStreams()
2157 pChannel = mPPChannels[i]; in queryStreams()
2162 if (pChannel == NULL) { in queryStreams()
2180 pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in queryStreams()
2329 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in encodeData() local
2331 if (pChannel == NULL) { in encodeData()
2335 pChannel = mPPChannels[i]; in encodeData()
2341 if (pChannel == NULL) { in encodeData()
2406 QCameraChannel *pChannel = getChannelByHandle(jpeg_job_data->src_frame->ch_id); in encodeData() local
2407 if (pChannel == NULL) { in encodeData()
2413 main_stream = pChannel->getStreamByHandle(jpeg_job_data->src_frame->bufs[0]->stream_id); in encodeData()
2875 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in processRawImageImpl() local
2879 if (pChannel == NULL) { in processRawImageImpl()
2883 pChannel = mPPChannels[i]; in processRawImageImpl()
2888 if (pChannel == NULL) { in processRawImageImpl()
2897 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in processRawImageImpl()
2917 ( pChannel != mPPChannels[0] ); in processRawImageImpl()
3637 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in setYUVFrameInfo() local
3639 if (pChannel == NULL) { in setYUVFrameInfo()
3643 pChannel = mPPChannels[i]; in setYUVFrameInfo()
3649 if (pChannel == NULL) { in setYUVFrameInfo()
3658 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in setYUVFrameInfo()
4207 QCameraChannel *pChannel = m_parent->getChannelByHandle(channelHandle); in getChannelByHandle() local
4209 if (pChannel == NULL) { in getChannelByHandle()
4213 pChannel = mPPChannels[i]; in getChannelByHandle()
4218 return pChannel; in getChannelByHandle()