Home
last modified time | relevance | path

Searched refs:stream_info (Results 1 – 25 of 35) sorted by relevance

12

/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c130 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_rdi_stream()
131 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_rdi_stream()
132 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_rdi_stream()
134 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_rdi_stream()
136 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; in mm_app_add_rdi_stream()
137 stream->s_config.stream_info->num_of_burst = num_burst; in mm_app_add_rdi_stream()
139 stream->s_config.stream_info->fmt = fmt; in mm_app_add_rdi_stream()
140 stream->s_config.stream_info->dim.width = cam_cap->raw_dim.width; in mm_app_add_rdi_stream()
141 stream->s_config.stream_info->dim.height = cam_cap->raw_dim.height; in mm_app_add_rdi_stream()
150 buf_planes = &stream->s_config.stream_info->buf_planes; in mm_app_add_rdi_stream()
[all …]
Dmm_qcamera_preview.c83 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb()
95 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb()
175 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_preview_stream()
176 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_preview_stream()
177 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_preview_stream()
178 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_preview_stream()
179 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT; in mm_app_add_preview_stream()
180 stream->s_config.stream_info->dim.width = DEFAULT_PREVIEW_WIDTH; in mm_app_add_preview_stream()
181 stream->s_config.stream_info->dim.height = DEFAULT_PREVIEW_HEIGHT; in mm_app_add_preview_stream()
220 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_snapshot_stream()
[all …]
Dmm_qcamera_snapshot.c103 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
104 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
107 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
188 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb()
216 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb()
321 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_postview_stream()
322 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_postview_stream()
323 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_POSTVIEW; in mm_app_add_postview_stream()
325 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_postview_stream()
327 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; in mm_app_add_postview_stream()
[all …]
Dmm_qcamera_video.c82 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_video_stream()
83 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_video_stream()
84 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_VIDEO; in mm_app_add_video_stream()
85 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_video_stream()
86 stream->s_config.stream_info->fmt = DEFAULT_VIDEO_FORMAT; in mm_app_add_video_stream()
87 stream->s_config.stream_info->dim.width = DEFAULT_VIDEO_WIDTH; in mm_app_add_video_stream()
88 stream->s_config.stream_info->dim.height = DEFAULT_VIDEO_HEIGHT; in mm_app_add_video_stream()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c130 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_rdi_stream()
131 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_rdi_stream()
132 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_rdi_stream()
134 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_rdi_stream()
136 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; in mm_app_add_rdi_stream()
137 stream->s_config.stream_info->num_of_burst = num_burst; in mm_app_add_rdi_stream()
139 stream->s_config.stream_info->fmt = fmt; in mm_app_add_rdi_stream()
140 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; in mm_app_add_rdi_stream()
141 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height; in mm_app_add_rdi_stream()
150 buf_planes = &stream->s_config.stream_info->buf_planes; in mm_app_add_rdi_stream()
[all …]
Dmm_qcamera_preview.c83 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb()
95 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb()
175 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_preview_stream()
176 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_preview_stream()
177 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_preview_stream()
178 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_preview_stream()
179 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT; in mm_app_add_preview_stream()
180 stream->s_config.stream_info->dim.width = DEFAULT_PREVIEW_WIDTH; in mm_app_add_preview_stream()
181 stream->s_config.stream_info->dim.height = DEFAULT_PREVIEW_HEIGHT; in mm_app_add_preview_stream()
220 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_snapshot_stream()
[all …]
Dmm_qcamera_snapshot.c103 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
104 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
107 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
188 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb()
216 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb()
321 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_postview_stream()
322 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_postview_stream()
323 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_POSTVIEW; in mm_app_add_postview_stream()
325 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_postview_stream()
327 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; in mm_app_add_postview_stream()
[all …]
Dmm_qcamera_video.c82 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_video_stream()
83 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_video_stream()
84 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_VIDEO; in mm_app_add_video_stream()
85 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_video_stream()
86 stream->s_config.stream_info->fmt = DEFAULT_VIDEO_FORMAT; in mm_app_add_video_stream()
87 stream->s_config.stream_info->dim.width = DEFAULT_VIDEO_WIDTH; in mm_app_add_video_stream()
88 stream->s_config.stream_info->dim.height = DEFAULT_VIDEO_HEIGHT; in mm_app_add_video_stream()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c134 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_rdi_stream()
135 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_rdi_stream()
136 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_rdi_stream()
138 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_rdi_stream()
140 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_BURST; in mm_app_add_rdi_stream()
141 stream->s_config.stream_info->num_of_burst = num_burst; in mm_app_add_rdi_stream()
143 stream->s_config.stream_info->fmt = fmt; in mm_app_add_rdi_stream()
147 stream->s_config.stream_info->dim.width = cam_cap->raw_dim[0].width; in mm_app_add_rdi_stream()
148 stream->s_config.stream_info->dim.height = cam_cap->raw_dim[0].height; in mm_app_add_rdi_stream()
157 buf_planes = &stream->s_config.stream_info->buf_planes; in mm_app_add_rdi_stream()
[all …]
Dmm_qcamera_preview.c61 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb()
137 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb()
215 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb()
227 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb()
239 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb()
387 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_metadata_stream()
388 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_metadata_stream()
389 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; in mm_app_add_metadata_stream()
390 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_metadata_stream()
391 stream->s_config.stream_info->fmt = DEFAULT_PREVIEW_FORMAT; in mm_app_add_metadata_stream()
[all …]
Dmm_qcamera_reprocess.c144 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_reprocess_stream_from_source()
146 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_reprocess_stream_from_source()
147 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in mm_app_add_reprocess_stream_from_source()
148 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_reprocess_stream_from_source()
149 stream->s_config.stream_info->fmt = source_stream_info->fmt; in mm_app_add_reprocess_stream_from_source()
150 stream->s_config.stream_info->dim = source_stream_info->dim; in mm_app_add_reprocess_stream_from_source()
154 stream->s_config.stream_info->reprocess_config.pp_type = CAM_ONLINE_REPROCESS_TYPE; in mm_app_add_reprocess_stream_from_source()
155 …stream->s_config.stream_info->reprocess_config.online.input_stream_id = source->s_config.stream_in… in mm_app_add_reprocess_stream_from_source()
156 …stream->s_config.stream_info->reprocess_config.online.input_stream_type = source->s_config.stream_… in mm_app_add_reprocess_stream_from_source()
157 stream->s_config.stream_info->reprocess_config.pp_feature_config = pp_config; in mm_app_add_reprocess_stream_from_source()
[all …]
Dmm_qcamera_snapshot.c108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
166 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; in createEncodingSession()
167 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in createEncodingSession()
205 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb()
277 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { in mm_app_snapshot_notify_cb_raw()
345 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb()
373 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb()
491 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_postview_stream()
[all …]
Dmm_qcamera_video.c82 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_video_stream()
83 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_video_stream()
84 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_VIDEO; in mm_app_add_video_stream()
85 stream->s_config.stream_info->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in mm_app_add_video_stream()
86 stream->s_config.stream_info->fmt = DEFAULT_VIDEO_FORMAT; in mm_app_add_video_stream()
87 stream->s_config.stream_info->dim.width = DEFAULT_VIDEO_WIDTH; in mm_app_add_video_stream()
88 stream->s_config.stream_info->dim.height = DEFAULT_VIDEO_HEIGHT; in mm_app_add_video_stream()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c794 my_obj->stream_info = config->stream_info; in mm_stream_config()
955 …HIGH("%s: Stoping poll on stream %p type :%d", __func__, my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
957 …HIGH("%s: Stopped poll on stream %p type :%d", __func__, my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
971 __func__, vb.index, buf_info->buf->frame_idx, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
1156 …CDBG_HIGH("%s: Starting poll on stream %p type :%d", __func__, my_obj,my_obj->stream_info->stream_… in mm_stream_qbuf()
1163 …CDBG_HIGH("%s: Started poll on stream %p type :%d", __func__, my_obj,my_obj->stream_info->stream_t… in mm_stream_qbuf()
1434 my_obj->buf[i].stream_type = my_obj->stream_info->stream_type; in mm_stream_init_bufs()
2274 int32_t mm_stream_calc_offset_postproc(cam_stream_info_t *stream_info, in mm_stream_calc_offset_postproc() argument
2280 if (stream_info->reprocess_config.pp_type == CAM_OFFLINE_REPROCESS_TYPE) { in mm_stream_calc_offset_postproc()
2281 type = stream_info->reprocess_config.offline.input_stream_type; in mm_stream_calc_offset_postproc()
[all …]
Dmm_camera_channel.c833 if (CAM_STREAM_TYPE_METADATA != s_obj->stream_info->stream_type) { in mm_channel_get_bundle_info()
879 if (s_obj->stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_start()
1014 if (s_obj->stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_stop()
1488 if (NULL == stream_obj->stream_info) { in mm_channel_handle_metadata()
1495 if (CAM_STREAM_TYPE_METADATA == stream_obj->stream_info->stream_type) { in mm_channel_handle_metadata()
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c91 int32_t mm_stream_calc_offset_postproc(cam_stream_info_t *stream_info,
813 my_obj->stream_info = config->stream_info; in mm_stream_config()
963 …HIGH("%s: Stoping poll on stream %p type :%d", __func__, my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
965 …HIGH("%s: Stopped poll on stream %p type :%d", __func__, my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
979 __func__, vb.index, buf_info->buf->frame_idx, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
1164 …CDBG_HIGH("%s: Starting poll on stream %p type :%d", __func__, my_obj,my_obj->stream_info->stream_… in mm_stream_qbuf()
1171 …CDBG_HIGH("%s: Started poll on stream %p type :%d", __func__, my_obj,my_obj->stream_info->stream_t… in mm_stream_qbuf()
1443 my_obj->buf[i].stream_type = my_obj->stream_info->stream_type; in mm_stream_init_bufs()
2280 int32_t mm_stream_calc_offset_postproc(cam_stream_info_t *stream_info, in mm_stream_calc_offset_postproc() argument
2285 if (stream_info->reprocess_config.pp_type == CAM_OFFLINE_REPROCESS_TYPE) { in mm_stream_calc_offset_postproc()
[all …]
Dmm_camera_channel.c830 if (CAM_STREAM_TYPE_METADATA != s_obj->stream_info->stream_type) { in mm_channel_get_bundle_info()
876 if (s_obj->stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_start()
1011 if (s_obj->stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_stop()
1485 if (NULL == stream_obj->stream_info) { in mm_channel_handle_metadata()
1492 if (CAM_STREAM_TYPE_METADATA == stream_obj->stream_info->stream_type) { in mm_channel_handle_metadata()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c797 my_obj->stream_info = config->stream_info; in mm_stream_config()
798 my_obj->buf_num = config->stream_info->num_bufs; in mm_stream_config()
953 __func__, my_obj->stream_info->stream_type, rc, strerror(errno)); in mm_stream_read_msm_frame()
959 my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
963 my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame()
978 my_obj->stream_info->stream_type, rc); in mm_stream_read_msm_frame()
1135 my_obj->stream_info->stream_type); in mm_stream_qbuf()
1167 my_obj,my_obj->stream_info->stream_type); in mm_stream_qbuf()
1173 __func__, my_obj, my_obj->stream_info->stream_type, rc); in mm_stream_qbuf()
1176 my_obj, my_obj->stream_info->stream_type); in mm_stream_qbuf()
[all …]
Dmm_camera_channel.c1028 if (CAM_STREAM_TYPE_METADATA != s_obj->stream_info->stream_type) { in mm_channel_get_bundle_info()
1074 if (s_obj->stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_start()
1227 if (s_obj->stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_stop()
1787 if (NULL == stream_obj->stream_info) { in mm_channel_handle_metadata()
1794 if (CAM_STREAM_TYPE_METADATA == stream_obj->stream_info->stream_type) { in mm_channel_handle_metadata()
1826 ch_obj->streams[i].stream_info->stream_type) { in mm_channel_handle_metadata()
1997 if (CAM_STREAM_TYPE_METADATA == stream_obj->stream_info->stream_type) { in mm_channel_superbuf_comp_and_enqueue()
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dmm_camera_interface.h199 cam_stream_info_t *stream_info; member
658 int32_t mm_stream_calc_offset_postproc(cam_stream_info_t *stream_info,
/device/moto/shamu/camera/QCamera2/stack/common/
Dmm_camera_interface.h202 cam_stream_info_t *stream_info; member
717 int32_t mm_stream_calc_offset_postproc(cam_stream_info_t *stream_info,
/device/asus/flo/camera/QCamera2/stack/common/
Dmm_camera_interface.h199 cam_stream_info_t *stream_info; member
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h201 cam_stream_info_t *stream_info; member
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h201 cam_stream_info_t *stream_info; member
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h221 cam_stream_info_t *stream_info; member

12