Home
last modified time | relevance | path

Searched refs:stream_config (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/camera/3_0/
DCamera.cpp139 int Camera::configureStreams(camera3_stream_configuration_t *stream_config) in configureStreams() argument
144 ALOGV("%s:%d: stream_config=%p", __func__, mId, stream_config); in configureStreams()
148 if (stream_config == NULL) { in configureStreams()
152 if (stream_config->num_streams == 0) { in configureStreams()
158 newStreams = new Stream*[stream_config->num_streams]; in configureStreams()
160 stream_config->num_streams); in configureStreams()
166 for (unsigned int i = 0; i < stream_config->num_streams; i++) { in configureStreams()
167 astream = stream_config->streams[i]; in configureStreams()
184 if (!isValidStreamSet(newStreams, stream_config->num_streams)) { in configureStreams()
190 setupStreams(newStreams, stream_config->num_streams); in configureStreams()
[all …]
/hardware/libhardware/modules/usbcamera/
DCamera.cpp194 int Camera::configureStreams(camera3_stream_configuration_t *stream_config) { in configureStreams() argument
198 ALOGV("%s:%d: stream_config=%p", __func__, mId, stream_config); in configureStreams()
206 if (stream_config == NULL) { in configureStreams()
210 if (stream_config->num_streams == 0) { in configureStreams()
216 stream_config->num_streams); in configureStreams()
222 for (unsigned int i = 0; i < stream_config->num_streams; i++) { in configureStreams()
223 astream = stream_config->streams[i]; in configureStreams()