/hardware/libhardware/modules/usbcamera/ |
D | Stream.cpp | 39 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 …]
|
D | Stream.h | 53 camera3_stream_t *mStream; variable
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamOut.cpp | 47 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 …]
|
D | Stream.cpp | 39 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 …]
|
D | StreamIn.cpp | 48 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/ |
D | Stream.h | 113 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 …]
|
D | StreamIn.h | 125 audio_stream_in_t* mStream; member
|
D | StreamOut.h | 131 audio_stream_out_t* mStream; member
|
/hardware/libhardware/modules/camera/3_0/ |
D | Stream.cpp | 38 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()
|
D | Stream.h | 59 camera3_stream_t *mStream; variable
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | EvsCamera.cpp | 165 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()
|
D | EvsCamera.h | 80 sp <IEvsCameraStream> mStream = nullptr; // The callback used to deliver each frame variable
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Channel.h | 757 mStream(stream), mGrallocMem(0) {} in QCamera3DepthChannel() 766 camera3_stream_t *getStream() { return mStream; } in getStream() 787 camera3_stream_t *mStream;
|
D | QCamera3Channel.cpp | 5683 if (nullptr == mStream) { in populateDepthData()
|