/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 125 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_rdi_stream() 126 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_rdi_stream() 127 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_rdi_stream() 129 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_rdi_stream() 130 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_stream() 131 stream->s_config.stream_cb = stream_cb; in mm_app_add_rdi_stream() 132 stream->s_config.userdata = userdata; in mm_app_add_rdi_stream() 135 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_rdi_stream() 136 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_rdi_stream() 137 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_rdi_stream() [all …]
|
D | mm_qcamera_preview.c | 67 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 147 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 226 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb() 238 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb() 250 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb() 403 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_metadata_stream() 404 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_metadata_stream() 405 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_metadata_stream() 407 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_metadata_stream() 408 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_metadata_stream() [all …]
|
D | mm_qcamera_reprocess.c | 134 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_reprocess_stream_from_source() 135 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_reprocess_stream_from_source() 136 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_reprocess_stream_from_source() 138 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_reprocess_stream_from_source() 139 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_reprocess_stream_from_source() 140 stream->s_config.stream_cb = stream_cb; in mm_app_add_reprocess_stream_from_source() 141 stream->s_config.userdata = userdata; in mm_app_add_reprocess_stream_from_source() 144 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() [all …]
|
D | mm_qcamera_video.c | 72 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_video_stream() 73 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_video_stream() 74 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_video_stream() 76 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_video_stream() 77 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_video_stream() 78 stream->s_config.stream_cb = stream_cb; in mm_app_add_video_stream() 79 stream->s_config.userdata = userdata; in mm_app_add_video_stream() 82 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() [all …]
|
D | mm_qcamera_snapshot.c | 108 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() 211 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb() 291 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { in mm_app_snapshot_notify_cb_raw() 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 497 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_postview_stream() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 125 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_rdi_stream() 126 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_rdi_stream() 127 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_rdi_stream() 129 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_rdi_stream() 130 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_stream() 131 stream->s_config.stream_cb = stream_cb; in mm_app_add_rdi_stream() 132 stream->s_config.userdata = userdata; in mm_app_add_rdi_stream() 135 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_rdi_stream() 136 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_rdi_stream() 137 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_rdi_stream() [all …]
|
D | mm_qcamera_preview.c | 67 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 147 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 226 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb() 238 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb() 250 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb() 403 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_metadata_stream() 404 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_metadata_stream() 405 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_metadata_stream() 407 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_metadata_stream() 408 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_metadata_stream() [all …]
|
D | mm_qcamera_reprocess.c | 134 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_reprocess_stream_from_source() 135 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_reprocess_stream_from_source() 136 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_reprocess_stream_from_source() 138 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_reprocess_stream_from_source() 139 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_reprocess_stream_from_source() 140 stream->s_config.stream_cb = stream_cb; in mm_app_add_reprocess_stream_from_source() 141 stream->s_config.userdata = userdata; in mm_app_add_reprocess_stream_from_source() 144 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() [all …]
|
D | mm_qcamera_video.c | 72 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_video_stream() 73 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_video_stream() 74 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_video_stream() 76 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_video_stream() 77 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_video_stream() 78 stream->s_config.stream_cb = stream_cb; in mm_app_add_video_stream() 79 stream->s_config.userdata = userdata; in mm_app_add_video_stream() 82 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() [all …]
|
D | mm_qcamera_snapshot.c | 108 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() 211 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb() 291 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { in mm_app_snapshot_notify_cb_raw() 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 497 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_postview_stream() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 150 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_rdi_stream() 151 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_rdi_stream() 152 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_rdi_stream() 154 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_rdi_stream() 155 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_stream() 156 stream->s_config.stream_cb = stream_cb; in mm_app_add_rdi_stream() 157 stream->s_config.stream_cb_sync = NULL; in mm_app_add_rdi_stream() 158 stream->s_config.userdata = userdata; in mm_app_add_rdi_stream() 161 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_rdi_stream() 162 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_rdi_stream() [all …]
|
D | mm_qcamera_preview.c | 78 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 161 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 189 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 279 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 358 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb() 370 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb() 382 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb() 533 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_metadata_stream() 534 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_metadata_stream() 535 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_metadata_stream() [all …]
|
D | mm_qcamera_reprocess.c | 135 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_reprocess_stream_from_source() 136 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_reprocess_stream_from_source() 137 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_reprocess_stream_from_source() 139 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_reprocess_stream_from_source() 140 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_reprocess_stream_from_source() 141 stream->s_config.stream_cb = stream_cb; in mm_app_add_reprocess_stream_from_source() 142 stream->s_config.stream_cb_sync = NULL; in mm_app_add_reprocess_stream_from_source() 143 stream->s_config.userdata = userdata; in mm_app_add_reprocess_stream_from_source() 146 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_reprocess_stream_from_source() 148 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_reprocess_stream_from_source() [all …]
|
D | mm_qcamera_video.c | 73 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_video_stream() 74 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_video_stream() 75 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_video_stream() 77 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_video_stream() 78 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_video_stream() 79 stream->s_config.stream_cb = stream_cb; in mm_app_add_video_stream() 80 stream->s_config.stream_cb_sync = NULL; in mm_app_add_video_stream() 81 stream->s_config.userdata = userdata; in mm_app_add_video_stream() 84 stream->s_config.stream_info = (cam_stream_info_t *)stream->s_info_buf.buf.buffer; in mm_app_add_video_stream() 85 memset(stream->s_config.stream_info, 0, sizeof(cam_stream_info_t)); in mm_app_add_video_stream() [all …]
|
D | mm_qcamera_snapshot.c | 109 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData() 110 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData() 113 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData() 167 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; in createEncodingSession() 168 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in createEncodingSession() 213 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb() 293 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { in mm_app_snapshot_notify_cb_raw() 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 497 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_postview_stream() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 175 mm_camera_stream_config_t s_config; member
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 173 mm_camera_stream_config_t s_config; member
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 175 mm_camera_stream_config_t s_config; member
|