Searched refs:Stream (Results 1 - 22 of 22) sorted by relevance

/hardware/interfaces/audio/2.0/default/
H A DStream.cpp30 #include "Stream.h"
38 Stream::Stream(audio_stream_t* stream) function in class:android::hardware::audio::V2_0::implementation::Stream
42 Stream::~Stream() {
47 Result Stream::analyzeStatus(const char* funcName, int status) {
58 Result Stream::analyzeStatus(const char* funcName, int status,
73 char* Stream::halGetParameters(const char* keys) {
77 int Stream::halSetParameters(const char* keysAndValues) {
82 Return<uint64_t> Stream
[all...]
H A DStream.h49 struct Stream : public IStream, public ParametersUtil { struct in namespace:android::hardware::audio::V2_0::implementation
50 explicit Stream(audio_stream_t* stream);
91 virtual ~Stream();
119 return Stream::analyzeStatus("start", result);
126 return Stream::analyzeStatus("stop", result);
138 retval = Stream::analyzeStatus(
164 retval = Stream::analyzeStatus(
H A DStreamOut.cpp86 mStatus.retval = Stream::analyzeStatus("write", writeResult);
147 mStreamCommon(new Stream(&stream->common)),
294 return Stream::analyzeStatus("set_volume",
390 Result retval = Stream::analyzeStatus(
402 retval = Stream::analyzeStatus(
416 return Stream::analyzeStatus("set_callback", result);
457 ? Stream::analyzeStatus("pause", mStream->pause(mStream))
463 ? Stream::analyzeStatus("resume", mStream->resume(mStream))
473 ? Stream::analyzeStatus(
482 ? Stream
[all...]
H A DAndroid.mk29 Stream.cpp \
H A DStreamIn.cpp97 mStatus.retval = Stream::analyzeStatus("read", readResult);
151 mStreamCommon(new Stream(&stream->common)),
319 return Stream::analyzeStatus("set_gain", mStream->set_gain(mStream, gain));
425 retval = Stream::analyzeStatus("get_capture_position",
H A DStreamIn.h31 #include "Stream.h"
107 const sp<Stream> mStreamCommon;
H A DStreamOut.h31 #include "Stream.h"
118 const sp<Stream> mStreamCommon;
/hardware/libhardware/modules/camera/3_0/
H A DStream.cpp24 #define LOG_TAG "Stream"
30 #include "Stream.h"
34 Stream::Stream(int id, camera3_stream_t *s) function in class:default_camera_hal::Stream
50 Stream::~Stream()
56 void Stream::setUsage(uint32_t usage)
66 void Stream::setMaxBuffers(uint32_t max_buffers)
76 int Stream::getType()
81 bool Stream
[all...]
H A DCamera.h24 #include "Stream.h"
70 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;
H A DStream.h26 // Stream represents a single input or output stream for a camera device.
27 class Stream { class in namespace:default_camera_hal
29 Stream(int id, camera3_stream_t *s);
30 ~Stream();
60 // Stream type: CAMERA3_STREAM_* (see <hardware/camera3.h>)
78 // Lock protecting the Stream object for modifications
H A DCamera.cpp26 #include "Stream.h"
142 Stream **newStreams = NULL;
158 newStreams = new Stream*[stream_config->num_streams];
173 newStreams[i] = new Stream(mId, astream);
207 void Camera::destroyStreams(Stream **streams, int count)
219 Stream *Camera::reuseStream(camera3_stream_t *astream)
221 Stream *priv = reinterpret_cast<Stream*>(astream->priv);
232 bool Camera::isValidStreamSet(Stream **streams, int count)
256 ALOGE("%s:%d: Stream confi
[all...]
H A DAndroid.mk31 Stream.cpp \
/hardware/libhardware/modules/usbcamera/
H A DStream.cpp18 #define LOG_TAG "Stream"
30 #include "Stream.h"
34 Stream::Stream(int id, camera3_stream_t *s) function in class:usb_camera_hal::Stream
40 Stream::~Stream() {
48 void Stream::setUsage(uint32_t usage) {
55 void Stream::setMaxBuffers(uint32_t max_buffers) {
62 int Stream::getType() {
66 bool Stream
[all...]
H A DStream.h27 // Stream represents a single input or output stream for a camera device.
28 class Stream { class in namespace:usb_camera_hal
30 Stream(int id, camera3_stream_t *s);
31 ~Stream();
56 // Lock protecting the Stream object for modifications
H A DCamera.h26 #include "Stream.h"
94 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;
H A DCamera.cpp29 #include "Stream.h"
196 android::Vector<Stream *> newStreams;
229 newStreams.add(new Stream(mId, astream));
262 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) {
269 Stream *Camera::reuseStreamLocked(camera3_stream_t *astream) {
270 Stream *priv = reinterpret_cast<Stream*>(astream->priv);
281 bool Camera::isValidStreamSetLocked(const android::Vector<Stream *> &streams) {
300 ALOGE("%s:%d: Stream config must have >= 1 output", __func__, mId);
304 ALOGE("%s:%d: Stream confi
[all...]
H A DAndroid.mk31 Stream.cpp \
/hardware/interfaces/camera/device/3.2/default/include/
H A Dconvert.h45 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/camera/device/3.2/
H A 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/camera/device/3.2/default/
H A Dconvert.cpp60 void convertFromHidl(const Stream &src, Camera3Stream* dst) {
88 ALOGW("%s: Stream type %d is not currently supported!",
/hardware/interfaces/camera/provider/2.4/vts/functional/
H A DVtsHalCameraProviderV2_4TargetTest.cpp72 using ::android::hardware::camera::device::V3_2::Stream;
554 Stream *previewStream /*out*/,
2043 Stream stream = {streamId, StreamType::OUTPUT,
2048 ::android::hardware::hidl_vec<Stream> streams = {stream};
2088 Stream stream = {streamId++, StreamType::OUTPUT,
2093 ::android::hardware::hidl_vec<Stream> streams = {stream};
2201 Stream zslStream = {streamId++, StreamType::OUTPUT,
2207 Stream inputStream = {streamId++, StreamType::INPUT,
2212 Stream outputStream = {streamId++, StreamType::OUTPUT,
2218 ::android::hardware::hidl_vec<Stream> stream
[all...]
/hardware/interfaces/audio/2.0/vts/functional/
H A DAudioPrimaryHidlHalTest.cpp570 ////////////////////////// open{Output,Input}Stream //////////////////////////
573 template <class Stream>
628 sp<Stream> stream;

Completed in 329 milliseconds