Home
last modified time | relevance | path

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

1234

/hardware/interfaces/audio/core/all-versions/default/
DStream.cpp43 Stream::Stream(bool isInput, audio_stream_t* stream) : mIsInput(isInput), mStream(stream) { in Stream() function in android::hardware::audio::CPP_VERSION::implementation::Stream
47 Stream::~Stream() { in ~Stream()
52 Result Stream::analyzeStatus(const char* funcName, int status) { in analyzeStatus()
57 Result Stream::analyzeStatus(const char* funcName, int status, in analyzeStatus()
62 char* Stream::halGetParameters(const char* keys) { in halGetParameters()
66 int Stream::halSetParameters(const char* keysAndValues) { in halSetParameters()
71 Return<uint64_t> Stream::getFrameSize() { in getFrameSize()
78 Return<uint64_t> Stream::getFrameCount() { in getFrameCount()
84 Return<uint64_t> Stream::getBufferSize() { in getBufferSize()
89 Return<uint32_t> Stream::getSampleRate() { in getSampleRate()
[all …]
DStreamOut.cpp92 mStatus.retval = Stream::analyzeStatus("write", writeResult); in doWrite()
150 mStreamCommon(new Stream(false /*isInput*/, &stream->common)), in StreamOut()
341 return Stream::analyzeStatus("set_volume", mStream->set_volume(mStream, left, right), in setVolume()
374 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForWriting()
376 Stream::MAX_BUFFER_SIZE); in prepareForWriting()
434 Result retval = Stream::analyzeStatus("get_render_position", in getRenderPosition()
445 retval = Stream::analyzeStatus("get_next_write_timestamp", in getNextWriteTimestamp()
461 return Stream::analyzeStatus("set_callback", result, {ENOSYS} /*ignore*/); in setCallback()
510 ? Stream::analyzeStatus("pause", mStream->pause(mStream), {ENOSYS} /*ignore*/) in pause()
516 ? Stream::analyzeStatus("resume", mStream->resume(mStream), {ENOSYS} /*ignore*/) in resume()
[all …]
DStreamIn.cpp98 mStatus.retval = Stream::analyzeStatus("read", readResult); in doRead()
147 mStreamCommon(new Stream(true /*isInput*/, &stream->common)), in StreamIn()
342 retval = Stream::analyzeStatus( in getAudioSource()
355 return Stream::analyzeStatus("set_gain", mStream->set_gain(mStream, gain)); in setGain()
388 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForReading()
390 Stream::MAX_BUFFER_SIZE); in prepareForReading()
459 retval = Stream::analyzeStatus("get_capture_position", in getCapturePositionImpl()
498 return Stream::analyzeStatus("sinkMetadataToHal", status); in doUpdateSinkMetadata()
515 return Stream::analyzeStatus("sinkMetadataToHal", status); in doUpdateSinkMetadataV7()
579 return Stream::analyzeStatus( in setMicrophoneDirection()
[all …]
/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;
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()
/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()
/hardware/google/camera/common/hal/utils/
Dutils.h30 bool IsPreviewStream(const Stream& stream);
31 bool IsJPEGSnapshotStream(const Stream& stream);
32 bool IsVideoStream(const Stream& stream);
33 bool IsRawStream(const Stream& stream);
34 bool IsInputRawStream(const Stream& stream);
35 bool IsArbitraryDataSpaceRawStream(const Stream& stream);
36 bool IsYUVSnapshotStream(const Stream& stream);
37 bool IsDepthStream(const Stream& stream);
38 bool IsOutputZslStream(const Stream& stream);
39 bool IsSoftwareDenoiseEligibleSnapshotStream(const Stream& stream);
Dinternal_stream_manager.h45 status_t RegisterNewInternalStream(const Stream& stream, int32_t* stream_id);
117 status_t GetBufferDescriptor(const Stream& stream, const HalStream& hal_stream,
126 bool AreStreamsCompatible(const Stream& stream_0,
128 const Stream& stream_1,
149 std::unordered_map<int32_t, Stream> registered_streams_;
Dutils.cc39 bool IsDepthStream(const Stream& stream) { in IsDepthStream()
49 bool IsPreviewStream(const Stream& stream) { in IsPreviewStream()
60 bool IsJPEGSnapshotStream(const Stream& stream) { in IsJPEGSnapshotStream()
71 bool IsOutputZslStream(const Stream& stream) { in IsOutputZslStream()
81 bool IsVideoStream(const Stream& stream) { in IsVideoStream()
90 bool IsRawStream(const Stream& stream) { in IsRawStream()
101 bool IsInputRawStream(const Stream& stream) { in IsInputRawStream()
112 bool IsArbitraryDataSpaceRawStream(const Stream& stream) { in IsArbitraryDataSpaceRawStream()
116 bool IsYUVSnapshotStream(const Stream& stream) { in IsYUVSnapshotStream()
126 bool IsSoftwareDenoiseEligibleSnapshotStream(const Stream& stream) { in IsSoftwareDenoiseEligibleSnapshotStream()
/hardware/google/camera/common/hal/tests/
Dtest_utils.cc29 void GetDummyPreviewStream(Stream* stream, uint32_t width, uint32_t height, in GetDummyPreviewStream()
52 Stream preview_stream = {}; in GetPreviewOnlyStreamConfiguration()
71 Stream preview_stream; in GetPhysicalPreviewStreamConfiguration()
/hardware/interfaces/camera/device/3.7/
Dtypes.hal22 import @3.4::Stream;
27 * Stream:
33 * This version extends the @3.4 Stream with the multi-resolution output surface
36 struct Stream {
38 * The definition of Stream from the prior version.
40 @3.4::Stream v3_4;
76 * vector contains @3.7::Stream.
83 vec<Stream> streams;
/hardware/interfaces/audio/policy/1.0/xml/api/
Dcurrent.txt11 method public audio.policy.V1_0.Stream getStreamType();
18 method public void setStreamType(audio.policy.V1_0.Stream);
192 public enum Stream {
194 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ACCESSIBILITY;
195 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ALARM;
196 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ASSISTANT;
197 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_BLUETOOTH_SCO;
198 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_DEFAULT;
199 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_DTMF;
200 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ENFORCED_AUDIBLE;
[all …]
/hardware/interfaces/automotive/evs/1.1/vts/fuzzing/
DVtsHalEvsV1_1CameraOpenFuzz.cpp20 using ::android::hardware::camera::device::V3_2::Stream;
39 Stream nullCfg = {}; in LLVMFuzzerTestOneInput()
/hardware/interfaces/camera/device/3.4/default/include/
Dconvert.h37 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/cas/1.2/
Dtypes.hal59 * Live Stream.
63 * Playback Recorded Stream.
67 * Record Live Stream.
/hardware/interfaces/audio/4.0/config/api/
Dcurrent.txt339 public enum Stream {
341 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_ACCESSIBILIT…
342 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_ALARM;
343 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_BLUETOOTH_SC…
344 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_DTMF;
345 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_ENFORCED_AUD…
346 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_MUSIC;
347 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_NOTIFICATION;
348 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_PATCH;
349 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_REROUTING;
[all …]
/hardware/interfaces/camera/device/3.2/default/include/
Dconvert.h45 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/audio/6.0/config/api/
Dcurrent.txt369 public enum Stream {
371 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ACCESSIBILIT…
372 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ALARM;
373 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ASSISTANT;
374 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_BLUETOOTH_SC…
375 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_DTMF;
376 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ENFORCED_AUD…
377 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_MUSIC;
378 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_NOTIFICATION;
379 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_PATCH;
[all …]
/hardware/google/camera/common/hal/google_camera_hal/
Ddepth_process_block.h94 status_t GetStreamBufferSize(const Stream& stream, int32_t* buffer_size);
170 std::map<int32_t, Stream> depth_io_streams_;
/hardware/google/camera/common/hal/hidl_service/
Dhidl_utils.h52 using ::android::hardware::camera::device::V3_4::Stream;
169 status_t ConvertToHalStream(const Stream& hidl_stream,
170 google_camera_hal::Stream* hal_stream);
/hardware/interfaces/audio/5.0/config/api/
Dcurrent.txt359 public enum Stream {
361 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ACCESSIBILIT…
362 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ALARM;
363 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_BLUETOOTH_SC…
364 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_DTMF;
365 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ENFORCED_AUD…
366 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_MUSIC;
367 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_NOTIFICATION;
368 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_PATCH;
369 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_REROUTING;
[all …]

1234