Home
last modified time | relevance | path

Searched refs:astream (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/usbcamera/
DCamera.cpp202 camera3_stream_t *astream; in configureStreams() local
230 astream = stream_config->streams[i]; in configureStreams()
231 if (astream->max_buffers > 0) { in configureStreams()
233 newStreams.add(reuseStreamLocked(astream)); in configureStreams()
236 newStreams.add(new Stream(mId, astream)); in configureStreams()
243 astream->priv = reinterpret_cast<void *>(newStreams[i]); in configureStreams()
276 Stream *Camera::reuseStreamLocked(camera3_stream_t *astream) { in reuseStreamLocked() argument
277 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStreamLocked()
279 if (!priv->isValidReuseStream(mId, astream)) { in reuseStreamLocked()
DCamera.h94 Stream *reuseStreamLocked(camera3_stream_t *astream);
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp146 camera3_stream_t *astream; in configureStreams() local
172 astream = stream_config->streams[i]; in configureStreams()
173 if (astream->max_buffers > 0) { in configureStreams()
175 newStreams[i] = reuseStream(astream); in configureStreams()
178 newStreams[i] = new Stream(mId, astream); in configureStreams()
185 astream->priv = newStreams[i]; in configureStreams()
224 Stream *Camera::reuseStream(camera3_stream_t *astream) in reuseStream() argument
226 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStream()
228 if (!priv->isValidReuseStream(mId, astream)) { in reuseStream()
DCamera.h70 Stream *reuseStream(camera3_stream_t *astream);