Lines Matching defs:pStream
196 QCameraStream *pStream = new QCameraStream(allocator,
202 if (pStream == NULL) {
207 rc = pStream->init(streamInfoBuf, minStreamBufNum,
210 mStreams[m_numStreams] = pStream;
213 delete pStream;
271 QCameraStream *pStream = getStreamByServerID(bundleInfo.stream_ids[i]);
272 if (pStream != NULL) {
273 if (pStream->isTypeOf(CAM_STREAM_TYPE_METADATA)) {
283 rc = pStream->setParameter(param);
791 QCameraStream *pStream = NULL;
798 pStream = pSrcChannel->getStreamByIndex(i);
799 if (pStream != NULL) {
800 if (pStream->isTypeOf(CAM_STREAM_TYPE_METADATA) ||
801 pStream->isTypeOf(CAM_STREAM_TYPE_RAW)) {
807 if (pStream->isTypeOf(CAM_STREAM_TYPE_POSTVIEW) ||
808 pStream->isTypeOf(CAM_STREAM_TYPE_PREVIEW)) {
815 if(pStream->isTypeOf(CAM_STREAM_TYPE_PREVIEW) ||
816 pStream->isTypeOf(CAM_STREAM_TYPE_POSTVIEW) ||
817 pStream->isOrignalTypeOf(CAM_STREAM_TYPE_PREVIEW) ||
818 pStream->isOrignalTypeOf(CAM_STREAM_TYPE_POSTVIEW)) {
854 rc = pStream->getFormat(streamInfo->fmt);
855 rc = pStream->getFrameDimension(streamInfo->dim);
871 pStream->getFormat(rp_cfg.offline.input_fmt);
872 pStream->getFrameDimension(rp_cfg.offline.input_dim);
873 pStream->getFrameOffset(offset);
875 rp_cfg.offline.input_type = pStream->getMyType();
880 rp_cfg.online.input_stream_id = pStream->getMyServerID();
881 rp_cfg.online.input_stream_type = pStream->getMyType();
886 if (!(pStream->isTypeOf(CAM_STREAM_TYPE_SNAPSHOT) ||
887 pStream->isOrignalTypeOf(CAM_STREAM_TYPE_SNAPSHOT))) {
922 if(pStream->isTypeOf(CAM_STREAM_TYPE_SNAPSHOT)){
939 mSrcStreamHandles[m_numStreams] = pStream->getMyHandle();
971 QCameraStream *pStream = NULL;
975 pStream = mStreams[i];
980 return pStream;
1053 QCameraStream *pStream = NULL;
1055 pStream = m_pSrcChannel->getStreamByHandle(frame->bufs[i]->stream_id);
1056 if (pStream != NULL) {
1057 if (pStream->isTypeOf(CAM_STREAM_TYPE_METADATA)) {
1065 pStream = getStreamBySrouceHandle(frame->bufs[i]->stream_id);
1066 if (pStream != NULL) {
1067 if (pStream->isTypeOf(CAM_STREAM_TYPE_METADATA)) {
1073 rc = pStream->mapBuf(CAM_MAPPING_BUF_TYPE_OFFLINE_META_BUF,
1085 mappedBuffer.stream = pStream;
1090 rc = pStream->mapBuf(CAM_MAPPING_BUF_TYPE_OFFLINE_INPUT_BUF,
1101 mappedBuffer.stream = pStream;
1140 rc = pStream->setParameter(param);
1179 QCameraStream *pStream = m_pSrcChannel->getStreamByHandle(frame->bufs[i]->stream_id);
1180 if (pStream != NULL) {
1181 if (pStream->isTypeOf(CAM_STREAM_TYPE_METADATA)) {
1183 pMetaStream = pStream;
1190 QCameraStream *pStream = getStreamBySrouceHandle(frame->bufs[i]->stream_id);
1191 if (pStream != NULL) {
1192 if (pStream->isTypeOf(CAM_STREAM_TYPE_METADATA)) {
1198 if (pStream->isTypeOf(CAM_STREAM_TYPE_POSTVIEW) ||
1199 pStream->isTypeOf(CAM_STREAM_TYPE_PREVIEW)) {
1218 rc = pStream->setParameter(param);