Lines Matching defs:stream

211   /* find meta stream */
220 LOGE(" cannot find metadata stream");
291 /* find snapshot stream */
299 LOGE(" cannot find snapshot stream");
359 /* find snapshot stream */
367 LOGE(" cannot find snapshot stream");
387 /* find postview stream */
453 mm_camera_stream_t *stream = NULL;
465 stream = mm_app_add_snapshot_stream(test_obj,
471 if (NULL == stream) {
472 LOGE(" add snapshot stream failed\n");
488 mm_camera_stream_t *stream = NULL;
491 stream = mm_app_add_stream(test_obj, channel);
492 if (NULL == stream) {
493 LOGE(" add stream failed\n");
497 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf;
498 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf;
499 stream->s_config.mem_vtbl.clean_invalidate_buf =
501 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf;
502 stream->s_config.mem_vtbl.user_data = (void *)stream;
503 stream->s_config.stream_cb = stream_cb;
504 stream->s_config.stream_cb_sync = NULL;
505 stream->s_config.userdata = userdata;
506 stream->num_of_bufs = num_bufs;
508 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer;
509 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t));
510 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_POSTVIEW;
512 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS;
514 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST;
515 stream->s_config.stream_info->num_of_burst = num_burst;
517 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT;
518 stream->s_config.stream_info->dim.width = DEFAULT_PREVIEW_WIDTH;
519 stream->s_config.stream_info->dim.height = DEFAULT_PREVIEW_HEIGHT;
520 stream->s_config.padding_info = cam_cap->padding_info;
522 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config);
524 LOGE("config postview stream err=%d\n", rc);
528 return stream;
559 LOGE(" add main snapshot stream failed\n");
630 LOGE(" add main snapshot stream failed\n");
642 LOGE(" add main postview stream failed\n");