Home
last modified time | relevance | path

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

12

/hardware/interfaces/audio/2.0/default/
DStream.cpp38 Stream::Stream(audio_stream_t* stream) in Stream() function in android::hardware::audio::V2_0::implementation::Stream
42 Stream::~Stream() { in ~Stream()
47 Result Stream::analyzeStatus(const char* funcName, int status) { in analyzeStatus()
58 Result Stream::analyzeStatus(const char* funcName, int status, in analyzeStatus()
73 char* Stream::halGetParameters(const char* keys) { in halGetParameters()
77 int Stream::halSetParameters(const char* keysAndValues) { in halSetParameters()
82 Return<uint64_t> Stream::getFrameSize() { in getFrameSize()
89 Return<uint64_t> Stream::getFrameCount() { in getFrameCount()
95 Return<uint64_t> Stream::getBufferSize() { in getBufferSize()
99 Return<uint32_t> Stream::getSampleRate() { in getSampleRate()
[all …]
DStreamOut.cpp86 mStatus.retval = Stream::analyzeStatus("write", writeResult); in doWrite()
147 mStreamCommon(new Stream(&stream->common)), in StreamOut()
294 return Stream::analyzeStatus("set_volume", in setVolume()
326 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForWriting()
328 Stream::MAX_BUFFER_SIZE); in prepareForWriting()
385 Result retval = Stream::analyzeStatus( in getRenderPosition()
397 retval = Stream::analyzeStatus( in getNextWriteTimestamp()
411 return Stream::analyzeStatus("set_callback", result); in setCallback()
452 ? Stream::analyzeStatus("pause", mStream->pause(mStream)) in pause()
458 ? Stream::analyzeStatus("resume", mStream->resume(mStream)) in resume()
[all …]
DStream.h49 struct Stream : public IStream, public ParametersUtil { struct
50 explicit Stream(audio_stream_t* stream);
98 virtual ~Stream();
126 return Stream::analyzeStatus("start", result); in start()
133 return Stream::analyzeStatus("stop", result); in stop()
145 retval = Stream::analyzeStatus( in createMmapBuffer()
171 retval = Stream::analyzeStatus( in getMmapPosition()
DStreamIn.cpp97 mStatus.retval = Stream::analyzeStatus("read", readResult); in doRead()
151 mStreamCommon(new Stream(&stream->common)), in StreamIn()
319 return Stream::analyzeStatus("set_gain", mStream->set_gain(mStream, gain)); in setGain()
351 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForReading()
353 Stream::MAX_BUFFER_SIZE); in prepareForReading()
421 retval = Stream::analyzeStatus("get_capture_position", in getCapturePositionImpl()
DAndroid.mk29 Stream.cpp \
DStreamIn.h107 const sp<Stream> mStreamCommon;
DStreamOut.h118 const sp<Stream> mStreamCommon;
/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.mk31 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.mk31 Stream.cpp \
/hardware/interfaces/camera/device/3.2/default/include/
Dconvert.h45 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/audio/2.0/
DIStreamOutCallback.hal34 * Stream hit an error.
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp80 using ::android::hardware::camera::device::V3_2::Stream;
620 Stream *previewStream /*out*/,
2320 Stream stream = {streamId, in TEST_F()
2328 ::android::hardware::hidl_vec<Stream> streams = {stream}; in TEST_F()
2389 Stream stream = {streamId++, in TEST_F()
2397 ::android::hardware::hidl_vec<Stream> streams = {stream}; in TEST_F()
2552 Stream zslStream = {streamId++, in TEST_F()
2560 Stream inputStream = {streamId++, in TEST_F()
2568 Stream outputStream = {streamId++, in TEST_F()
2577 ::android::hardware::hidl_vec<Stream> streams = {inputStream, zslStream, in TEST_F()
[all …]
/hardware/interfaces/camera/device/3.3/
Dtypes.hal39 * The HAL must respect the requested dataSpace in Stream unless it is
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp60 void convertFromHidl(const Stream &src, Camera3Stream* dst) { in convertFromHidl()
/hardware/interfaces/tv/input/1.0/
Dtypes.hal108 * Stream configurations are changed. Client must regard all open streams
/hardware/interfaces/camera/device/3.2/
Dtypes.hal187 * Stream:
197 struct Stream {
199 * Stream ID - a nonnegative integer identifier for a stream.
311 vec<Stream> streams;
339 * Stream ID - a nonnegative integer identifier for a stream.
348 * The HAL must respect the requested format in Stream unless it is
/hardware/interfaces/audio/2.0/vts/functional/
DAudioPrimaryHidlHalTest.cpp518 template <class Stream>
573 sp<Stream> stream;

12