Searched refs:streams (Results 1 – 16 of 16) sorted by relevance
167 astream = stream_config->streams[i]; in configureStreams()207 void Camera::destroyStreams(Stream **streams, int count) in destroyStreams() argument209 if (streams == NULL) in destroyStreams()213 if (streams[i] != NULL && !streams[i]->mReuse) in destroyStreams()214 delete streams[i]; in destroyStreams()216 delete [] streams; in destroyStreams()232 bool Camera::isValidStreamSet(Stream **streams, int count) in isValidStreamSet() argument237 if (streams == NULL) { in isValidStreamSet()248 if (streams[i]->isInputType()) in isValidStreamSet()250 if (streams[i]->isOutputType()) in isValidStreamSet()[all …]
223 astream = stream_config->streams[i]; in configureStreams()262 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) { in destroyStreamsLocked() argument263 for (size_t i = 0; i < streams.size(); i++) { in destroyStreamsLocked()264 delete streams[i]; in destroyStreamsLocked()266 streams.clear(); in destroyStreamsLocked()281 bool Camera::isValidStreamSetLocked(const android::Vector<Stream *> &streams) { in isValidStreamSetLocked() argument285 if (streams.isEmpty()) { in isValidStreamSetLocked()290 for (size_t i = 0; i < streams.size(); i++) { in isValidStreamSetLocked()292 if (streams[i]->isInputType()) in isValidStreamSetLocked()294 if (streams[i]->isOutputType()) in isValidStreamSetLocked()[all …]
97 void destroyStreamsLocked(android::Vector<Stream *> &streams);99 bool isValidStreamSetLocked(const android::Vector<Stream *> &streams);101 void setupStreamsLocked(android::Vector<Stream *> &streams);
213 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb()214 p_stream = &channel->streams[i]; 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()294 m_stream = &channel->streams[i]; 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()362 m_stream = &channel->streams[i]; 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()390 p_stream = &channel->streams[i]; in mm_app_snapshot_notify_cb()591 mm_app_del_stream(test_obj, ch, &ch->streams[i]); in mm_app_stop_capture_raw()
76 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb()77 p_stream = &channel->streams[i]; in mm_app_metadata_notify_cb()159 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb()160 m_stream = &channel->streams[i]; in mm_app_snapshot_notify_cb()187 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb()188 p_stream = &channel->streams[i]; in mm_app_snapshot_notify_cb()277 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb()278 p_stream = &channel->streams[i]; in mm_app_preview_notify_cb()356 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb()357 p_stream = &channel->streams[i]; in mm_app_zsl_notify_cb()[all …]
63 m_stream = &channel->streams[0]; in mm_app_reprocess_notify_cb()
289 stream = &channel->streams[i]; in mm_app_stop_and_del_rdi_channel()
733 stream = &(channel->streams[channel->num_streams++]); in mm_app_add_stream()
13 in order to encode multiple resolution bit streams.
167 if ((MM_STREAM_STATE_NOTUSED != ch_obj->streams[i].state) && in mm_channel_util_get_stream_by_handler()168 (handler == ch_obj->streams[i].my_hdl)) { in mm_channel_util_get_stream_by_handler()169 s_obj = &ch_obj->streams[i]; in mm_channel_util_get_stream_by_handler()1237 if (MM_STREAM_STATE_NOTUSED == my_obj->streams[idx].state) { in mm_channel_link_stream()1238 stream_obj = &my_obj->streams[idx]; in mm_channel_link_stream()1278 if (MM_STREAM_STATE_NOTUSED == my_obj->streams[idx].state) { in mm_channel_add_stream()1279 stream_obj = &my_obj->streams[idx]; in mm_channel_add_stream()1430 if (my_obj->streams[i].my_hdl > 0) { in mm_channel_get_bundle_info()1432 my_obj->streams[i].my_hdl); in mm_channel_get_bundle_info()1442 i, my_obj->streams[i].my_hdl); in mm_channel_get_bundle_info()[all …]
1706 camera3_stream_t **streams; member
1013 for (stream = streams; stream; stream = stream->next) { \1521 struct stream_state *streams = NULL; in main() local1556 if (!streams) in main()1557 streams = stream; in main()1680 frames_in, streams->frames_out, (int64_t)streams->nbytes); in main()1709 if (!got_data && input.length && !streams->frames_out) { in main()1813 free(streams); in main()
125 delineate output streams. Options persist from one stream to the
11 configuration mode will determine the number of USB interfaces for data streams
184 mm_camera_stream_t streams[MAX_STREAM_NUM_IN_BUNDLE]; member
460 mm_stream_t streams[MAX_STREAM_NUM_IN_BUNDLE]; member