Home
last modified time | relevance | path

Searched refs:mStream (Results 1 – 15 of 15) sorted by relevance

/hardware/libhardware/modules/usbcamera/
DStream.cpp39 mStream(s){ in Stream()
52 if (usage != mStream->usage) { in setUsage()
53 mStream->usage = usage; in setUsage()
59 if (max_buffers != mStream->max_buffers) { in setMaxBuffers()
60 mStream->max_buffers = max_buffers; in setMaxBuffers()
65 return mStream->stream_type; in getType()
69 return mStream->stream_type == CAMERA3_STREAM_INPUT || in isInputType()
70 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in isInputType()
74 return mStream->stream_type == CAMERA3_STREAM_OUTPUT || in isOutputType()
75 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in isOutputType()
[all …]
DStream.h53 camera3_stream_t *mStream; variable
/hardware/interfaces/audio/core/all-versions/default/
DStreamOut.cpp47 mStream(stream), in WriteThread()
61 audio_stream_out_t* mStream; member in android::hardware::audio::CPP_VERSION::implementation::__anon4890291f0111::WriteThread
81 ssize_t writeResult = mStream->write(mStream, &mBuffer[0], availToRead); in doWrite()
92 StreamOut::getPresentationPositionImpl(mStream, &mStatus.reply.presentationPosition.frames, in doGetPresentationPosition()
98 mStatus.reply.latencyMs = mStream->get_latency(mStream); in doGetLatency()
142 mStream(stream), in StreamOut()
162 mDevice->closeOutputStream(mStream); in ~StreamOut()
167 mStream = nullptr; in ~StreamOut()
172 return audio_stream_out_frame_size(mStream); in getFrameSize()
303 mDevice->closeOutputStream(mStream); in close()
[all …]
DStream.cpp38 Stream::Stream(audio_stream_t* stream) : mStream(stream) {} in Stream()
41 mStream = nullptr; in ~Stream()
56 return mStream->get_parameters(mStream, keys); in halGetParameters()
60 return mStream->set_parameters(mStream, keysAndValues); in halSetParameters()
78 return mStream->get_buffer_size(mStream); in getBufferSize()
82 return mStream->get_sample_rate(mStream); in getSampleRate()
156 return AudioChannelBitfield(mStream->get_channels(mStream)); in getChannelMask()
164 return AudioFormat(mStream->get_format(mStream)); in getFormat()
197 uint32_t halSampleRate = mStream->get_sample_rate(mStream); in getAudioProperties()
198 audio_channel_mask_t halMask = mStream->get_channels(mStream); in getAudioProperties()
[all …]
DStreamIn.cpp48 mStream(stream), in ReadThread()
62 audio_stream_in_t* mStream; member in android::hardware::audio::CPP_VERSION::implementation::__anon4123301e0111::ReadThread
87 ssize_t readResult = mStream->read(mStream, &mBuffer[0], requestedToRead); in doRead()
101 mStream, &mStatus.reply.capturePosition.frames, &mStatus.reply.capturePosition.time); in doGetCapturePosition()
143 mStream(stream), in StreamIn()
162 mDevice->closeInputStream(mStream); in ~StreamIn()
164 mStream = nullptr; in ~StreamIn()
169 return audio_stream_in_frame_size(mStream); in getFrameSize()
298 return mStreamMmap->createMmapBuffer(minSizeFrames, audio_stream_in_frame_size(mStream), in createMmapBuffer()
315 mDevice->closeInputStream(mStream); in close()
[all …]
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DStream.h113 audio_stream_t* mStream;
124 explicit StreamMmap(T* stream) : mStream(stream) {} in StreamMmap()
135 T* mStream; member
140 if (mStream->start == NULL) return Result::NOT_SUPPORTED; in start()
141 int result = mStream->start(mStream); in start()
147 if (mStream->stop == NULL) return Result::NOT_SUPPORTED; in stop()
148 int result = mStream->stop(mStream); in stop()
159 if (mStream->create_mmap_buffer != NULL) { in createMmapBuffer()
162 "create_mmap_buffer", mStream->create_mmap_buffer(mStream, minSizeFrames, &halInfo)); in createMmapBuffer()
199 if (mStream->get_mmap_position != NULL) { in getMmapPosition()
[all …]
DStreamIn.h124 audio_stream_in_t* mStream; member
DStreamOut.h130 audio_stream_out_t* mStream; member
/hardware/libhardware/modules/camera/3_0/
DStream.cpp38 mStream(s), in Stream()
62 mStream->usage = usage; in setUsage()
72 mStream->max_buffers = max_buffers; in setMaxBuffers()
159 if (s != mStream) { in isValidReuseStream()
161 __func__, mId, s, mStream); in isValidReuseStream()
194 if (buf_set->stream != mStream) { in registerBuffers()
196 __func__, mId, buf_set->stream, mStream); in registerBuffers()
227 dprintf(fd, "Stream ID: %d (%p)\n", mId, mStream); in dump()
DStream.h59 camera3_stream_t *mStream; variable
/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp165 mStream = stream; in startVideoStream()
228 mStream = nullptr; in stopVideoStream()
436 auto result = mStream->deliverFrame(buff); in generateFrames()
468 auto result = mStream->deliverFrame(nullBuff); in generateFrames()
DEvsCamera.h80 sp <IEvsCameraStream> mStream = nullptr; // The callback used to deliver each frame variable
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h826 explicit StreamHelper(sp<Stream>& stream) : mStream(stream) {} in StreamHelper()
839 ASSERT_OK(openStream(ioHandle, config, returnIn(*res, mStream, *suggestedConfigPtr))); in open()
842 ASSERT_TRUE(mStream != nullptr); in open()
846 ASSERT_TRUE(mStream == nullptr); in open()
850 returnIn(*res, mStream, suggestedConfigRetry))); in open()
852 ASSERT_TRUE(mStream != nullptr); in open()
860 auto ret = mStream->close(); in close()
864 mStream.clear(); in close()
879 sp<Stream>& mStream;
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.h758 mStream(stream), mGrallocMem(0) {} in QCamera3DepthChannel()
767 camera3_stream_t *getStream() { return mStream; } in getStream()
788 camera3_stream_t *mStream;
DQCamera3Channel.cpp5683 if (nullptr == mStream) { in populateDepthData()