Lines Matching refs:stream_info

84 int32_t mm_stream_calc_offset_preview(cam_stream_info_t *stream_info,
106 int32_t mm_stream_calc_offset_postproc(cam_stream_info_t *stream_info,
321 if (my_obj->stream_info->streaming_mode == CAM_STREAMING_MODE_BATCH) {
1052 my_obj->stream_info = config->stream_info;
1053 my_obj->buf_num = (uint8_t) config->stream_info->num_bufs;
1204 if (rc < 0 && my_obj->stream_info->num_bufs != 0) {
1458 interval_nsec = ((my_obj->stream_info->user_buf_info.frameInterval) * 1000000);
1479 my_obj->stream_info->stream_type, frame_ts);
1529 my_obj->stream_info->stream_type, rc, strerror(errno));
1535 my_obj, my_obj->stream_info->stream_type);
1539 my_obj, my_obj->stream_info->stream_type);
1557 my_obj->stream_info->stream_type, rc,
1749 my_obj->stream_info->stream_type);
1755 planes[0].length = my_obj->stream_info->user_buf_info.size;
1787 my_obj,my_obj->stream_info->stream_type);
1793 my_obj, my_obj->stream_info->stream_type, rc);
1796 my_obj, my_obj->stream_info->stream_type);
1805 my_obj->stream_info->stream_type, rc, strerror(errno));
1811 my_obj, my_obj->stream_info->stream_type);
1815 my_obj, my_obj->stream_info->stream_type);
1820 buffer.index, buf->frame_idx, my_obj->stream_info->stream_type, rc,
1850 buf_num, my_obj->stream_info->stream_type);
1964 && (my_obj->stream_info != NULL)
1965 && (my_obj->stream_info->streaming_mode
2045 && (my_obj->stream_info != NULL)
2046 && (my_obj->stream_info->streaming_mode
2163 my_obj->buf[i].stream_type = my_obj->stream_info->stream_type;
2167 (int8_t)my_obj->stream_info->user_buf_info.frame_buf_cnt;
2172 if (my_obj->stream_info->streaming_mode == CAM_STREAMING_MODE_BATCH) {
2177 my_obj->stream_info->user_buf_info.frame_buf_cnt;
2180 my_obj->plane_buf[i].stream_type = my_obj->stream_info->stream_type;
2191 my_obj->stream_info->num_bufs = my_obj->buf_num;
2467 int32_t mm_stream_calc_offset_preview(cam_stream_info_t *stream_info,
2478 switch (stream_info->fmt) {
2488 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2529 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2567 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2616 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2649 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2667 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2691 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2709 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2735 if (stream_info->stream_type != CAM_STREAM_TYPE_OFFLINE_PROC) {
2789 stream_info->fmt);
4295 * @stream_info: ptr to stream info
4303 int32_t mm_stream_calc_offset_postproc(cam_stream_info_t *stream_info,
4309 if (stream_info->reprocess_config.pp_type == CAM_OFFLINE_REPROCESS_TYPE) {
4310 type = stream_info->reprocess_config.offline.input_type;
4314 *plns = stream_info->reprocess_config.offline.input_buf_planes;
4318 type = stream_info->reprocess_config.offline.input_type;
4321 type = stream_info->reprocess_config.online.input_stream_type;
4326 rc = mm_stream_calc_offset_preview(stream_info,
4327 &stream_info->dim,
4332 rc = mm_stream_calc_offset_post_view(stream_info->fmt,
4333 &stream_info->dim,
4338 rc = mm_stream_calc_offset_snapshot(stream_info->fmt,
4339 &stream_info->dim,
4344 rc = mm_stream_calc_offset_video(stream_info->fmt,
4345 &stream_info->dim, plns);
4348 rc = mm_stream_calc_offset_raw(stream_info->fmt,
4349 &stream_info->dim,
4354 rc = mm_stream_calc_offset_analysis(stream_info->fmt,
4355 &stream_info->dim,
4360 rc = mm_stream_calc_offset_metadata(&stream_info->dim,
4365 rc = mm_stream_calc_offset_snapshot(stream_info->fmt,
4366 &stream_info->dim, padding, plns);
4434 cam_dimension_t dim = my_obj->stream_info->dim;
4435 if (my_obj->stream_info->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION &&
4436 my_obj->stream_info->stream_type != CAM_STREAM_TYPE_VIDEO) {
4437 if (my_obj->stream_info->pp_config.rotation == ROTATE_90 ||
4438 my_obj->stream_info->pp_config.rotation == ROTATE_270) {
4440 dim.width = my_obj->stream_info->dim.height;
4441 dim.height = my_obj->stream_info->dim.width;
4445 switch (my_obj->stream_info->stream_type) {
4447 rc = mm_stream_calc_offset_preview(my_obj->stream_info,
4450 &my_obj->stream_info->buf_planes);
4453 rc = mm_stream_calc_offset_post_view(my_obj->stream_info->fmt,
4455 &my_obj->stream_info->buf_planes);
4459 rc = mm_stream_calc_offset_snapshot(my_obj->stream_info->fmt,
4462 &my_obj->stream_info->buf_planes);
4465 rc = mm_stream_calc_offset_postproc(my_obj->stream_info,
4467 &my_obj->stream_info->buf_planes);
4470 rc = mm_stream_calc_offset_video(my_obj->stream_info->fmt,
4471 &dim, &my_obj->stream_info->buf_planes);
4474 rc = mm_stream_calc_offset_raw(my_obj->stream_info->fmt,
4477 &my_obj->stream_info->buf_planes);
4480 rc = mm_stream_calc_offset_analysis(my_obj->stream_info->fmt,
4483 &my_obj->stream_info->buf_planes);
4488 &my_obj->stream_info->buf_planes);
4492 my_obj->stream_info->stream_type);
4497 my_obj->frame_offset = my_obj->stream_info->buf_planes.plane_info;
4523 my_obj->stream_info->stream_svr_id = my_obj->server_stream_id;
4556 if (my_obj->stream_info->dim.width == 0 ||
4557 my_obj->stream_info->dim.height == 0) {
4559 my_obj->stream_info->dim.width,
4560 my_obj->stream_info->dim.height,
4561 my_obj->stream_info->fmt);
4570 msm_fmt.width = (unsigned int)my_obj->stream_info->dim.width;
4571 msm_fmt.height = (unsigned int)my_obj->stream_info->dim.height;
4572 msm_fmt.pixelformat = mm_stream_get_v4l2_fmt(my_obj->stream_info->fmt);
4574 if (my_obj->stream_info->streaming_mode != CAM_STREAMING_MODE_BATCH) {
4581 msm_fmt.plane_sizes[0] = my_obj->stream_info->user_buf_info.size;
4637 if (my_obj->stream_info->streaming_mode == CAM_STREAMING_MODE_BATCH) {
4645 LOGD("<DEBUG> : Cancel Buffer done for buffer:%d, stream type:%d", buf_idx, my_obj->stream_info->stream_type);
4702 if (my_obj->stream_info->streaming_mode == CAM_STREAMING_MODE_BATCH) {