Home
last modified time | relevance | path

Searched refs:mStream (Results 1 – 14 of 14) 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::__anon8370f1880111::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()
143 mStream(stream), in StreamOut()
162 mDevice->closeOutputStream(mStream); in ~StreamOut()
166 mStream = nullptr; in ~StreamOut()
171 return audio_stream_out_frame_size(mStream); in getFrameSize()
307 return mStream->get_latency(mStream); in getLatency()
[all …]
DStream.cpp39 Stream::Stream(audio_stream_t* stream) : mStream(stream) {} in Stream()
42 mStream = nullptr; in ~Stream()
57 return mStream->get_parameters(mStream, keys); in halGetParameters()
61 return mStream->set_parameters(mStream, keysAndValues); in halSetParameters()
79 return mStream->get_buffer_size(mStream); in getBufferSize()
83 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()
188 uint32_t halSampleRate = mStream->get_sample_rate(mStream); in getAudioProperties()
189 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::__anon33680f670111::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()
144 mStream(stream), in StreamIn()
162 mDevice->closeInputStream(mStream); in ~StreamIn()
163 mStream = nullptr; in ~StreamIn()
168 return audio_stream_in_frame_size(mStream); in getFrameSize()
297 return mStreamMmap->createMmapBuffer(minSizeFrames, audio_stream_in_frame_size(mStream), in createMmapBuffer()
334 return Stream::analyzeStatus("set_gain", mStream->set_gain(mStream, gain)); in setGain()
[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.h125 audio_stream_in_t* mStream; member
DStreamOut.h131 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/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.h757 mStream(stream), mGrallocMem(0) {} in QCamera3DepthChannel()
766 camera3_stream_t *getStream() { return mStream; } in getStream()
787 camera3_stream_t *mStream;
DQCamera3Channel.cpp5683 if (nullptr == mStream) { in populateDepthData()