Lines Matching refs:mStreamInfo
80 if (stream->mStreamInfo != NULL in get_bufs()
81 && stream->mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) { in get_bufs()
152 if (stream->mStreamInfo != NULL in put_bufs()
153 && stream->mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) { in put_bufs()
211 if (stream->mStreamInfo->is_secure == SECURE){ in invalidate_buf()
215 if (stream->mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) { in invalidate_buf()
248 if (stream->mStreamInfo->is_secure == SECURE){ in clean_invalidate_buf()
252 if (stream->mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) { in clean_invalidate_buf()
285 if (stream->mStreamInfo->is_secure == SECURE){ in clean_buf()
289 if (stream->mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) { in clean_buf()
356 mStreamInfo(NULL), in QCameraStream()
543 mStreamInfo = NULL; in releaseStreamInfoBuf()
747 mStreamInfo = reinterpret_cast<cam_stream_info_t *>(mStreamInfoBuf->getPtr(0)); in init()
748 mNumBufs = mStreamInfo->num_bufs; in init()
753 rc = calcOffset(mStreamInfo); in init()
1032 if (crop_info.crop_info[i].stream_id == mStreamInfo->stream_svr_id) { in processZoomDone()
1039 (mStreamInfo->stream_type == CAM_STREAM_TYPE_PREVIEW || in processZoomDone()
1040 mStreamInfo->stream_type == CAM_STREAM_TYPE_POSTVIEW) ) { in processZoomDone()
1282 if ((mStreamInfo != NULL) in bufDone()
1283 && (mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) in bufDone()
1402 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in getBufs()
1405 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs()
1500 mStreamInfo->stream_type, regFlags, mNumBufs); in getBufs()
1626 mFrameLenOffset = mStreamInfo->buf_planes.plane_info; in allocateBuffers()
1628 if (mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) { in allocateBuffers()
1651 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBuffers()
1821 mStreamBatchBufs = mAllocator.allocateStreamUserBuf (mStreamInfo); in allocateBatchBufs()
1860 (mNumBufs * mStreamInfo->user_buf_info.frame_buf_cnt); in allocateBatchBufs()
1865 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in allocateBatchBufs()
1868 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBatchBufs()
1978 for (uint32_t i = 0; i < mStreamInfo->num_bufs; i++) { in allocateBatchBufs()
1979 mStreamBatchBufs->getUserBufDef(mStreamInfo->user_buf_info, in allocateBatchBufs()
1988 mStreamInfo->stream_type, mNumBufs, mNumPlaneBufs); in allocateBatchBufs()
2023 if (mStreamInfo->streaming_mode == CAM_STREAMING_MODE_BATCH) { in releaseBuffs()
2346 if (mStreamInfo != NULL && (mStreamInfo->stream_type == type)) { in isTypeOf()
2366 if (mStreamInfo != NULL && in isOrignalTypeOf()
2367 mStreamInfo->stream_type == CAM_STREAM_TYPE_OFFLINE_PROC && in isOrignalTypeOf()
2368 mStreamInfo->reprocess_config.pp_type == CAM_ONLINE_REPROCESS_TYPE && in isOrignalTypeOf()
2369 mStreamInfo->reprocess_config.online.input_stream_type == type) { in isOrignalTypeOf()
2372 mStreamInfo != NULL && in isOrignalTypeOf()
2373 mStreamInfo->stream_type == CAM_STREAM_TYPE_OFFLINE_PROC && in isOrignalTypeOf()
2374 mStreamInfo->reprocess_config.pp_type == CAM_OFFLINE_REPROCESS_TYPE && in isOrignalTypeOf()
2375 mStreamInfo->reprocess_config.offline.input_type == type) { in isOrignalTypeOf()
2393 if (mStreamInfo != NULL) { in getMyType()
2394 return mStreamInfo->stream_type; in getMyType()
2411 if (mStreamInfo != NULL) { in getMyOriginalType()
2412 if (mStreamInfo->stream_type == CAM_STREAM_TYPE_OFFLINE_PROC && in getMyOriginalType()
2413 mStreamInfo->reprocess_config.pp_type == CAM_ONLINE_REPROCESS_TYPE) { in getMyOriginalType()
2414 return mStreamInfo->reprocess_config.online.input_stream_type; in getMyOriginalType()
2415 } else if (mStreamInfo->stream_type == CAM_STREAM_TYPE_OFFLINE_PROC && in getMyOriginalType()
2416 mStreamInfo->reprocess_config.pp_type == CAM_OFFLINE_REPROCESS_TYPE) { in getMyOriginalType()
2417 return mStreamInfo->reprocess_config.offline.input_type; in getMyOriginalType()
2419 return mStreamInfo->stream_type; in getMyOriginalType()
2440 if (NULL == mStreamInfo) { in getFrameOffset()
2448 cam_stream_info_t streamInfo = *mStreamInfo; in getFrameOffset()
2511 if (mStreamInfo != NULL) { in getFrameDimension()
2513 dim.width = mStreamInfo->dim.height; in getFrameDimension()
2514 dim.height = mStreamInfo->dim.width; in getFrameDimension()
2516 dim = mStreamInfo->dim; in getFrameDimension()
2537 if (mStreamInfo != NULL) { in getFormat()
2538 fmt = mStreamInfo->fmt; in getFormat()
2554 if (mStreamInfo != NULL) { in getMyServerID()
2555 return mStreamInfo->stream_svr_id; in getMyServerID()
2682 mStreamInfo->parm_buf = param; in setParameter()
2686 &mStreamInfo->parm_buf); in setParameter()
2688 param = mStreamInfo->parm_buf; in setParameter()
2710 mStreamInfo->parm_buf = param; in getParameter()
2714 &mStreamInfo->parm_buf); in getParameter()
2716 param = mStreamInfo->parm_buf; in getParameter()
2759 stream_config.stream_info = mStreamInfo; in configStream()
2870 if ((mStreamInfo->pp_config.feature_mask & CAM_QTI_FEATURE_SAT) in needCbSwitch()
2871 || (mStreamInfo->pp_config.feature_mask & CAM_QTI_FEATURE_SAC) in needCbSwitch()
2949 mStreamInfo->parm_buf = param; in setBundleInfo()
2951 && (mStreamInfo->aux_str_info != NULL)) { in setBundleInfo()
2952 mStreamInfo->aux_str_info->parm_buf = aux_param; in setBundleInfo()
2955 if ((mStreamInfo->parm_buf.bundleInfo.num_of_streams > 1) in setBundleInfo()
2956 || (((mStreamInfo->aux_str_info != NULL) && in setBundleInfo()
2957 (mStreamInfo->aux_str_info->parm_buf.bundleInfo.num_of_streams > 1)))) { in setBundleInfo()
2960 &mStreamInfo->parm_buf); in setBundleInfo()