Home
last modified time | relevance | path

Searched refs:Stream (Results 1 – 25 of 38) sorted by relevance

12

/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/
DStream.impl.h34 Stream::Stream(audio_stream_t* stream) : mStream(stream) {} in Stream() function
36 Stream::~Stream() { in ~Stream()
41 Result Stream::analyzeStatus(const char* funcName, int status) { in analyzeStatus()
47 Result Stream::analyzeStatus(const char* funcName, int status, in analyzeStatus()
52 char* Stream::halGetParameters(const char* keys) { in halGetParameters()
56 int Stream::halSetParameters(const char* keysAndValues) { in halSetParameters()
61 Return<uint64_t> Stream::getFrameSize() { in getFrameSize()
68 Return<uint64_t> Stream::getFrameCount() { in getFrameCount()
74 Return<uint64_t> Stream::getBufferSize() { in getBufferSize()
78 Return<uint32_t> Stream::getSampleRate() { in getSampleRate()
[all …]
DStreamOut.impl.h84 mStatus.retval = Stream::analyzeStatus("write", writeResult); in doWrite()
143 mStreamCommon(new Stream(&stream->common)), in StreamOut()
317 return Stream::analyzeStatus("set_volume", mStream->set_volume(mStream, left, right)); in setVolume()
346 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForWriting()
348 Stream::MAX_BUFFER_SIZE); in prepareForWriting()
402 Result retval = Stream::analyzeStatus("get_render_position", in getRenderPosition()
412 retval = Stream::analyzeStatus("get_next_write_timestamp", in getNextWriteTimestamp()
427 return Stream::analyzeStatus("set_callback", result); in setCallback()
473 return mStream->pause != NULL ? Stream::analyzeStatus("pause", mStream->pause(mStream)) in pause()
478 return mStream->resume != NULL ? Stream::analyzeStatus("resume", mStream->resume(mStream)) in resume()
[all …]
DStream.h48 struct Stream : public IStream, public ParametersUtil { struct
49 explicit Stream(audio_stream_t* stream);
115 virtual ~Stream();
142 return Stream::analyzeStatus("start", result); in start()
149 return Stream::analyzeStatus("stop", result); in stop()
161 retval = Stream::analyzeStatus( in createMmapBuffer()
186 retval = Stream::analyzeStatus("get_mmap_position", in getMmapPosition()
DStreamIn.impl.h94 mStatus.retval = Stream::analyzeStatus("read", readResult); in doRead()
144 mStreamCommon(new Stream(&stream->common)), in StreamIn()
333 return Stream::analyzeStatus("set_gain", mStream->set_gain(mStream, gain)); in setGain()
363 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForReading()
365 Stream::MAX_BUFFER_SIZE); in prepareForReading()
430 retval = Stream::analyzeStatus("get_capture_position", in getCapturePositionImpl()
/hardware/libhardware/modules/camera/3_0/
DStream.cpp35 Stream::Stream(int id, camera3_stream_t *s) in Stream() function in default_camera_hal::Stream
51 Stream::~Stream() in ~Stream()
57 void Stream::setUsage(uint32_t usage) in setUsage()
67 void Stream::setMaxBuffers(uint32_t max_buffers) in setMaxBuffers()
77 int Stream::getType() in getType()
82 bool Stream::isInputType() in isInputType()
88 bool Stream::isOutputType() in isOutputType()
94 const char* Stream::typeToString(int type) in typeToString()
107 const char* Stream::formatToString(int format) in formatToString()
147 bool Stream::isRegistered() in isRegistered()
[all …]
DCamera.h70 Stream *reuseStream(camera3_stream_t *astream);
72 void destroyStreams(Stream **array, int count);
74 bool isValidStreamSet(Stream **array, int count);
76 void setupStreams(Stream **array, int count);
107 Stream **mStreams;
DStream.h27 class Stream {
29 Stream(int id, camera3_stream_t *s);
30 ~Stream();
DCamera.cpp147 Stream **newStreams = NULL; in configureStreams()
163 newStreams = new Stream*[stream_config->num_streams]; in configureStreams()
178 newStreams[i] = new Stream(mId, astream); in configureStreams()
212 void Camera::destroyStreams(Stream **streams, int count) in destroyStreams()
224 Stream *Camera::reuseStream(camera3_stream_t *astream) in reuseStream()
226 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStream()
237 bool Camera::isValidStreamSet(Stream **streams, int count) in isValidStreamSet()
272 void Camera::setupStreams(Stream **streams, int count) in setupStreams()
310 Stream *stream = reinterpret_cast<Stream*>(buf_set->stream->priv); in registerStreamBuffers()
DAndroid.bp29 "Stream.cpp",
/hardware/libhardware/modules/usbcamera/
DStream.cpp36 Stream::Stream(int id, camera3_stream_t *s) in Stream() function in usb_camera_hal::Stream
42 Stream::~Stream() { in ~Stream()
50 void Stream::setUsage(uint32_t usage) { in setUsage()
57 void Stream::setMaxBuffers(uint32_t max_buffers) { in setMaxBuffers()
64 int Stream::getType() { in getType()
68 bool Stream::isInputType() { in isInputType()
73 bool Stream::isOutputType() { in isOutputType()
78 const char* Stream::typeToString(int type) { in typeToString()
90 const char* Stream::formatToString(int format) { in formatToString()
129 bool Stream::isValidReuseStream(int id, camera3_stream_t *s) { in isValidReuseStream()
[all …]
DCamera.h94 Stream *reuseStreamLocked(camera3_stream_t *astream);
97 void destroyStreamsLocked(android::Vector<Stream *> &streams);
99 bool isValidStreamSetLocked(const android::Vector<Stream *> &streams);
101 void setupStreamsLocked(android::Vector<Stream *> &streams);
122 android::Vector<Stream *> mStreams;
DStream.h28 class Stream {
30 Stream(int id, camera3_stream_t *s);
31 ~Stream();
DCamera.cpp203 android::Vector<Stream *> newStreams; in configureStreams()
236 newStreams.add(new Stream(mId, astream)); in configureStreams()
269 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) { in destroyStreamsLocked()
276 Stream *Camera::reuseStreamLocked(camera3_stream_t *astream) { in reuseStreamLocked()
277 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStreamLocked()
288 bool Camera::isValidStreamSetLocked(const android::Vector<Stream *> &streams) { in isValidStreamSetLocked()
318 void Camera::setupStreamsLocked(android::Vector<Stream *> &streams) { in setupStreamsLocked()
DAndroid.bp24 "Stream.cpp",
/hardware/interfaces/camera/device/3.4/
Dtypes.hal21 import @3.2::Stream;
28 * Stream:
34 * This version extends the @3.2 Stream with the physicalCameraId and bufferSize field.
36 struct Stream {
38 * The definition of Stream from the prior version
40 @3.2::Stream v3_2;
65 * The size of a buffer from this Stream, in bytes.
84 * parameters, and the streams vector contains @3.4::Stream.
91 vec<Stream> streams;
DAndroid.bp28 "Stream",
/hardware/interfaces/camera/device/3.4/default/include/
Dconvert.h37 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/camera/device/3.2/default/include/
Dconvert.h45 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/camera/device/3.2/
DAndroid.bp35 "Stream",
/hardware/interfaces/camera/device/3.4/default/
Dconvert.cpp47 void convertFromHidl(const Stream &src, Camera3Stream* dst) { in convertFromHidl()
/hardware/interfaces/audio/core/4.0/default/
DAndroid.bp12 "Stream.cpp",
/hardware/interfaces/audio/core/2.0/default/
DAndroid.bp12 "Stream.cpp",
/hardware/interfaces/audio/2.0/
DIStreamOutCallback.hal34 * Stream hit an error.
/hardware/interfaces/audio/4.0/
DIStreamOutCallback.hal34 * Stream hit an error.
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h57 using ::android::hardware::camera::device::V3_2::Stream;
192 bool isSupported(const Stream&);
228 const hidl_vec<Stream>& streams);
336 std::unordered_map<int, Stream> mStreamMap;

12