Searched defs:stream (Results 1 - 25 of 80) sorted by relevance

1234

/hardware/interfaces/camera/device/3.2/default/
H A Dconvert.cpp87 // bi-directional stream to HIDL.
102 buffer_handle_t* bufPtr, BufferStatus status, camera3_stream_t* stream, int acquireFence,
104 dst->stream = stream;
118 // indeed one of active stream IDs
119 Camera3Stream* stream = static_cast<Camera3Stream*>( local
122 dst->msg.error.errorStreamId = (stream != nullptr) ? stream->mId : -1;
101 convertFromHidl( buffer_handle_t* bufPtr, BufferStatus status, camera3_stream_t* stream, int acquireFence, camera3_stream_buffer_t* dst) argument
/hardware/interfaces/audio/2.0/default/
H A DStream.h50 explicit Stream(audio_stream_t* stream);
108 explicit StreamMmap(T* stream) : mStream(stream) {} argument
H A DDevice.cpp70 void Device::closeInputStream(audio_stream_in_t* stream) { argument
71 mDevice->close_input_stream(mDevice, stream);
74 void Device::closeOutputStream(audio_stream_out_t* stream) { argument
75 mDevice->close_output_stream(mDevice, stream);
180 ALOGV("open_output_stream status %d stream %p", status, halStream);
213 ALOGV("open_input_stream status %d stream %p", status, halStream);
H A DStream.cpp38 Stream::Stream(audio_stream_t* stream) argument
39 : mStream(stream) {
61 ALOGW("Error from HAL stream in function %s: %s", funcName, strerror(-status));
/hardware/interfaces/camera/device/3.3/default/
H A DCameraDeviceSession.cpp50 // inflight request/results during stream configuration.
92 Camera3Stream stream; local
93 V3_2::implementation::convertFromHidl(requestedConfiguration.streams[i], &stream);
94 mStreamMap[id] = stream;
97 mCirculatingBuffers.emplace(stream.mId, CirculatingBuffers{});
108 ALOGE("%s: stream %d configuration changed!", __FUNCTION__, id);
125 // delete unused streams, note we do this after adding new streams to ensure new stream
126 // will not have the same address as deleted stream, and HAL has a chance to reference
127 // the to be deleted stream in configure_streams call
131 for (const auto& stream
[all...]
/hardware/libhardware/modules/camera/3_4/metadata/
H A Dtypes.h30 // StreamSpec describe the attributes of a single stream.
38 StreamSpec(const camera3_stream_t* stream) argument
39 : format(stream->format), width(stream->width), height(stream->height) {}
53 // a given set of stream specifications.
64 // when a stream with a given set of specifications is used as output.
/hardware/libhardware/modules/camera/3_4/
H A Drequest_tracker_test.cpp49 for (const auto stream : streams) {
50 // All we really care about for the buffers is which stream they're for.
51 camera3_stream_buffer_t buffer{stream, nullptr, 0, -1, -1};
98 // Should have added to the count of buffers for stream 1.
118 camera3_stream_t stream; local
120 EXPECT_TRUE(dut_->StreamFull(&stream));
121 AddRequest(1, {&stream}, false);
125 // Set the limit of stream 2 to 1.
133 // Filled up stream 1.
141 // Should not have added to the count of stream
[all...]
H A Dv4l2_gralloc.cpp94 camera3_stream_t* stream = camera_buffer->stream; local
96 switch (StreamFormat::HalToV4L2PixelFormat(stream->format)) {
102 stream->usage,
105 stream->width,
106 stream->height,
119 (stream->height * yuv_data.ystride)) &&
122 (stream->height / 2 * yuv_data.cstride))) {
138 stream->usage,
155 stream
[all...]
H A Dstatic_properties.cpp29 // Build stream capabilities from configs + stall durations.
46 ALOGE("%s: Unrecognized stream config direction %d.",
236 // Helper functions for checking stream properties when verifying support.
265 ALOGE("%s: NULL stream configuration array", __func__);
268 ALOGE("%s: Empty stream configuration array", __func__);
271 ALOGE("%s: NULL stream configuration streams", __func__);
277 const camera3_stream_t* stream = stream_config->streams[i]; local
278 if (stream == nullptr) {
281 } else if (!IsInputType(stream->stream_type) &&
282 !IsOutputType(stream
300 const camera3_stream_t* stream = stream_config->streams[i]; local
351 const camera3_stream_t* stream = stream_config->streams[i]; local
377 const camera3_stream_t* stream = stream_config->streams[i]; local
[all...]
H A Dstatic_properties_test.cpp120 // Some helper values used for stream testing.
461 // Only an input stream, no output.
612 // A valid stream set.
613 camera3_stream_t stream = MakeStream(output_multisize_non_stalling_); local
614 camera3_stream_t* stream_address = &stream;
H A Dv4l2_camera.cpp131 // whenever the stream is turned off.
147 // Extract max streams for use in verifying stream configs.
276 // Make sure the stream is on (no effect if already on).
279 HAL_LOGE("Device failed to turn on stream.");
334 HAL_LOGV("Rotation %d for stream %d not supported",
354 // stream_config should have been validated; assume at least 1 stream.
355 camera3_stream_t* stream = stream_config->streams[0]; local
356 int format = stream->format;
357 uint32_t width = stream->width;
358 uint32_t height = stream
[all...]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCameraChannel.h61 virtual int32_t linkStream(QCameraChannel *ch, QCameraStream *stream);
169 QCameraStream *stream; member in struct:qcamera::QCameraReprocessChannel::__anon1881
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c99 mm_camera_stream_t *stream = NULL; local
142 stream = mm_app_add_stream(test_obj, channel);
143 if (NULL == stream) {
144 LOGE(" add stream failed\n");
148 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf;
149 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf;
150 stream->s_config.mem_vtbl.clean_invalidate_buf =
152 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf;
153 stream->s_config.mem_vtbl.clean_buf = mm_app_stream_clean_buf;
154 stream
201 mm_camera_stream_t *stream = NULL; local
249 mm_camera_stream_t *stream = NULL; local
281 mm_camera_stream_t *stream = NULL; local
[all...]
H A Dmm_qcamera_reprocess.c61 // We have only one stream and buffer
116 mm_camera_stream_t *stream = NULL; local
129 stream = mm_app_add_stream(test_obj, channel);
130 if (NULL == stream) {
131 LOGE(" add stream failed\n");
135 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf;
136 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf;
137 stream->s_config.mem_vtbl.clean_invalidate_buf =
139 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf;
140 stream
175 mm_camera_stream_t *stream = NULL; local
[all...]
H A Dmm_qcamera_snapshot.c293 /* find meta stream */
302 LOGE(" cannot find metadata stream");
373 /* find snapshot stream */
381 LOGE(" cannot find snapshot stream");
441 /* find snapshot stream */
449 LOGE(" cannot find snapshot stream");
469 /* find postview stream */
533 mm_camera_stream_t *stream = NULL; local
545 stream = mm_app_add_snapshot_stream(test_obj,
551 if (NULL == stream) {
568 mm_camera_stream_t *stream = NULL; local
[all...]
H A Dmm_qcamera_video.c63 /* find preview stream */
72 LOGE("cannot find metadata stream");
147 /* find snapshot stream */
155 LOGE("cannot find snapshot stream");
175 /* find postview stream */
265 /* find preview stream */
274 LOGE("cannot find preview stream");
342 mm_camera_stream_t *stream = NULL; local
356 stream = mm_app_add_stream(test_obj, channel);
357 if (NULL == stream) {
402 mm_camera_stream_t *stream = NULL; local
463 mm_camera_stream_t *stream = NULL; local
539 mm_camera_stream_t *stream = NULL; local
[all...]
H A Dmm_qcamera_preview.c76 /* find preview stream */
85 LOGE("cannot find metadata stream");
248 /* find snapshot stream */
256 LOGE("cannot find snapshot stream");
276 /* find postview stream */
369 /* find preview stream */
378 LOGE("cannot find preview stream");
448 /* find preview stream */
456 LOGE("cannot find preview stream");
460 /* find snapshot stream */
626 mm_camera_stream_t *stream = NULL; local
705 mm_camera_stream_t *stream = NULL; local
769 mm_camera_stream_t *stream = NULL; local
839 mm_camera_stream_t *stream = NULL; local
942 mm_camera_stream_t *stream = NULL; local
1024 mm_camera_stream_t *stream = NULL; local
1113 mm_camera_stream_t *stream = NULL; local
1196 mm_camera_stream_t *stream = NULL; local
1226 mm_camera_stream_t *stream = NULL; local
1266 mm_camera_stream_t *stream = NULL; local
[all...]
/hardware/intel/common/libva/test/decode/
H A Dtinyjpeg-internal.h105 const unsigned char *stream; /* Pointer to the current stream */ member in struct:jdec_private
/hardware/interfaces/automotive/evs/1.0/default/
H A DEvsCamera.cpp81 // Make sure our output stream is cleaned up
142 Return<EvsResult> EvsCamera::startVideoStream(const ::android::sp<IEvsCameraStream>& stream) { argument
152 ALOGE("ignoring startVideoStream call when a stream is already running.");
159 ALOGE("Failed to start stream because we couldn't get a graphics buffer");
165 mStream = stream;
222 ALOGD("Waiting for stream thread to end...");
442 // frames. Note, however, that the stream remains in the "STREAMING" state
466 // If we've been asked to stop, send one last NULL frame to signal the actual end of stream
470 ALOGE("Error delivering end of stream marker");
/hardware/interfaces/tv/input/1.0/default/
H A DTvInput.cpp107 tv_stream_t stream; local
108 stream.stream_id = streamId;
109 int ret = mDevice->open_stream(mDevice, deviceId, &stream);
113 if (isSupportedStreamType(stream.type)) {
115 sidebandStream = stream.sideband_stream_source_handle;
/hardware/intel/common/libmix/videodecoder/securevideo/clovertrail/
H A DVideoDecoderAVCSecure.cpp28 // mask for little endian, to mast the second and fourth bytes in the byte stream
352 int32_t VideoDecoderAVCSecure::findNalUnitOffset(uint8_t *stream, int32_t offset, int32_t length) { argument
366 ptr = (uint8_t *) (stream + offset);
413 return (int32_t)(ptr - stream);
419 Decode_Status VideoDecoderAVCSecure::copyNaluHeader(uint8_t *stream, NaluByteStream *naluStream) { argument
423 naluType = *(uint8_t *)(stream + naluStream->naluOffset);
446 memcpy(naluStream->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen);
453 // parse start-code prefixed stream, also knowns as Annex B byte stream, commonly used in AVI, ES, MPEG2 TS container
454 Decode_Status VideoDecoderAVCSecure::parseAnnexBStream(uint8_t *stream, int32_ argument
[all...]
/hardware/intel/common/libmix/videodecoder/securevideo/merrplus/
H A DVideoDecoderAVCSecure.cpp28 // mask for little endian, to mast the second and fourth bytes in the byte stream
355 int32_t VideoDecoderAVCSecure::findNalUnitOffset(uint8_t *stream, int32_t offset, int32_t length) { argument
369 ptr = (uint8_t *) (stream + offset);
416 return (int32_t)(ptr - stream);
422 Decode_Status VideoDecoderAVCSecure::copyNaluHeader(uint8_t *stream, NaluByteStream *naluStream) { argument
426 naluType = *(uint8_t *)(stream + naluStream->naluOffset);
449 memcpy(naluStream->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen);
456 // parse start-code prefixed stream, also knowns as Annex B byte stream, commonly used in AVI, ES, MPEG2 TS container
457 Decode_Status VideoDecoderAVCSecure::parseAnnexBStream(uint8_t *stream, int32_ argument
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_policy.c98 audio_stream_type_t stream,
109 audio_stream_type_t stream, int session)
115 audio_stream_type_t stream, int session)
149 audio_stream_type_t stream, int index_min,
155 audio_stream_type_t stream,
162 audio_stream_type_t stream,
169 audio_stream_type_t stream,
177 audio_stream_type_t stream,
185 audio_stream_type_t stream)
191 audio_stream_type_t stream)
97 ap_get_output(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampling_rate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *info) argument
108 ap_start_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument
114 ap_stop_output(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, int session) argument
148 ap_init_stream_volume(struct audio_policy *pol, audio_stream_type_t stream, int index_min, int index_max) argument
154 ap_set_stream_volume_index(struct audio_policy *pol, audio_stream_type_t stream, int index) argument
161 ap_get_stream_volume_index(const struct audio_policy *pol, audio_stream_type_t stream, int *index) argument
168 ap_set_stream_volume_index_for_device(struct audio_policy *pol, audio_stream_type_t stream, int index, audio_devices_t device) argument
176 ap_get_stream_volume_index_for_device(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t device) argument
184 ap_get_strategy_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument
190 ap_get_devices_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) argument
222 ap_is_stream_active(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms) argument
[all...]
/hardware/libhardware/modules/camera/3_0/
H A DCamera.cpp154 ALOGE("%s:%d: NULL stream configuration array", __func__, mId);
158 ALOGE("%s:%d: Empty stream configuration array", __func__, mId);
162 // Create new stream array
170 // Fill new stream array with reused streams and new streams
174 ALOGV("%s:%d: Reusing stream %d", __func__, mId, i);
177 ALOGV("%s:%d: Creating new stream %d", __func__, mId, i);
182 ALOGE("%s:%d: Error processing stream %d", __func__, mId, i);
190 ALOGE("%s:%d: Invalid stream set", __func__, mId);
197 // Destroy all old streams and replace stream array with new one
227 // Verify the re-used stream'
310 Stream *stream = reinterpret_cast<Stream*>(buf_set->stream->priv); local
[all...]
/hardware/libhardware/tests/keymaster/
H A Dkeymaster_test.cpp73 friend std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob);
79 std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob) { argument
81 stream << "Blob length=" << length << " < ";
85 stream << std::hex << std::setw(2) << std::setfill('0')
88 stream << '>' << std::endl;
90 return stream;

Completed in 3356 milliseconds

1234