Home
last modified time | relevance | path

Searched refs:streams (Results 1 – 25 of 89) sorted by relevance

1234

/hardware/libhardware/modules/camera/3_4/
Dstatic_properties_test.cpp105 void ExpectConfigurationSupported(std::vector<camera3_stream_t>& streams, in ExpectConfigurationSupported() argument
108 for (size_t i = 0; i < streams.size(); ++i) { in ExpectConfigurationSupported()
109 stream_addresses.push_back(&streams[i]); in ExpectConfigurationSupported()
385 std::vector<camera3_stream_t> streams; in TEST_F() local
386 streams.push_back(MakeStream(output_multisize_non_stalling_)); in TEST_F()
387 ExpectConfigurationSupported(streams, true); in TEST_F()
391 std::vector<camera3_stream_t> streams; in TEST_F() local
393 streams.push_back(MakeStream(bidirectional_raw_)); in TEST_F()
395 streams.push_back(MakeStream(output_multisize_non_stalling_, in TEST_F()
400 ExpectConfigurationSupported(streams, true); in TEST_F()
[all …]
Dv4l2_camera.cpp303 if (stream_config->streams[i]->rotation != CAMERA3_STREAM_ROTATION_0) { in validateDataspacesAndRotations()
305 stream_config->streams[i]->rotation, in validateDataspacesAndRotations()
326 camera3_stream_t* stream = stream_config->streams[0]; in setupStreams()
338 stream = stream_config->streams[i]; in setupStreams()
381 stream = stream_config->streams[i]; in setupStreams()
Dstatic_properties.cpp271 } else if (stream_config->streams == nullptr) { in SanityCheckStreamConfiguration()
278 const camera3_stream_t* stream = stream_config->streams[i]; in SanityCheckStreamConfiguration()
301 const camera3_stream_t* stream = stream_config->streams[i]; in InputStreamsSupported()
352 const camera3_stream_t* stream = stream_config->streams[i]; in InputStreamsSupported()
378 const camera3_stream_t* stream = stream_config->streams[i]; in OutputStreamsSupported()
Drequest_tracker_test.cpp41 uint32_t frame, std::vector<camera3_stream_t*> streams) { in GenerateCaptureRequest() argument
47 for (const auto stream : streams) { in GenerateCaptureRequest()
57 std::vector<camera3_stream_t*> streams, in AddRequest() argument
60 GenerateCaptureRequest(frame, streams); in AddRequest()
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDevice.cpp90 const V3_4::StreamConfiguration& streams, in isStreamCombinationSupported() argument
99 hidl_vec<V3_2::Stream> streamsV3_2(streams.streams.size()); in isStreamCombinationSupported()
101 for (const auto& it : streams.streams) { in isStreamCombinationSupported()
104 V3_2::StreamConfiguration streamConfig = {streamsV3_2, streams.operationMode}; in isStreamCombinationSupported()
DCameraDevice.cpp98 Return<void> CameraDevice::isStreamCombinationSupported(const V3_4::StreamConfiguration& streams, in isStreamCombinationSupported() argument
110 streamComb.operation_mode = static_cast<uint32_t> (streams.operationMode); in isStreamCombinationSupported()
111 streamComb.num_streams = streams.streams.size(); in isStreamCombinationSupported()
115 for (const auto &it : streams.streams) { in isStreamCombinationSupported()
125 streamComb.streams = streamBuffer; in isStreamCombinationSupported()
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp84 for (size_t i = 0; i < requestedConfiguration.streams.size(); i++) { in configureStreams_3_4_Impl()
85 if (requestedConfiguration.streams[i].physicalCameraId.size() > 0) { in configureStreams_3_4_Impl()
134 hidl_vec<camera3_stream_t*> streams; in configureStreams_3_4_Impl() local
137 useOverriddenFields, &stream_list, &streams)) { in configureStreams_3_4_Impl()
170 hidl_vec<camera3_stream_t*> *streams /*out*/) { in preProcessConfigurationLocked_3_4() argument
172 if ((stream_list == nullptr) || (streams == nullptr)) { in preProcessConfigurationLocked_3_4()
177 stream_list->num_streams = requestedConfiguration.streams.size(); in preProcessConfigurationLocked_3_4()
178 streams->resize(stream_list->num_streams); in preProcessConfigurationLocked_3_4()
179 stream_list->streams = streams->data(); in preProcessConfigurationLocked_3_4()
182 int id = requestedConfiguration.streams[i].v3_2.id; in preProcessConfigurationLocked_3_4()
[all …]
Dconvert.cpp40 dst->streams.resize(src.num_streams); in convertToHidl()
42 convertToHidl(static_cast<Camera3Stream*>(src.streams[i]), &dst->streams[i]); in convertToHidl()
DExternalCameraDeviceSession.cpp346 const V3_2::StreamConfiguration& streams, in configureStreams() argument
352 Status status = configureStreams(streams, &outStreams_v33); in configureStreams()
353 size_t size = outStreams_v33.streams.size(); in configureStreams()
354 outStreams.streams.resize(size); in configureStreams()
356 outStreams.streams[i] = outStreams_v33.streams[i].v3_2; in configureStreams()
363 const V3_2::StreamConfiguration& streams, in configureStreams_3_3() argument
368 Status status = configureStreams(streams, &outStreams); in configureStreams_3_3()
382 config_v32.streams.resize(requestedConfiguration.streams.size()); in configureStreams_3_4()
385 for (size_t i = 0; i < config_v32.streams.size(); i++) { in configureStreams_3_4()
386 config_v32.streams[i] = requestedConfiguration.streams[i].v3_2; in configureStreams_3_4()
[all …]
/hardware/libhardware/modules/usbcamera/
DCamera.cpp230 astream = stream_config->streams[i]; in configureStreams()
269 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) { in destroyStreamsLocked() argument
270 for (size_t i = 0; i < streams.size(); i++) { in destroyStreamsLocked()
271 delete streams[i]; in destroyStreamsLocked()
273 streams.clear(); in destroyStreamsLocked()
288 bool Camera::isValidStreamSetLocked(const android::Vector<Stream *> &streams) { in isValidStreamSetLocked() argument
292 if (streams.isEmpty()) { in isValidStreamSetLocked()
297 for (size_t i = 0; i < streams.size(); i++) { in isValidStreamSetLocked()
299 if (streams[i]->isInputType()) in isValidStreamSetLocked()
301 if (streams[i]->isOutputType()) in isValidStreamSetLocked()
[all …]
DCamera.h97 void destroyStreamsLocked(android::Vector<Stream *> &streams);
99 bool isValidStreamSetLocked(const android::Vector<Stream *> &streams);
101 void setupStreamsLocked(android::Vector<Stream *> &streams);
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp172 astream = stream_config->streams[i]; in configureStreams()
212 void Camera::destroyStreams(Stream **streams, int count) in destroyStreams() argument
214 if (streams == NULL) in destroyStreams()
218 if (streams[i] != NULL && !streams[i]->mReuse) in destroyStreams()
219 delete streams[i]; in destroyStreams()
221 delete [] streams; in destroyStreams()
237 bool Camera::isValidStreamSet(Stream **streams, int count) in isValidStreamSet() argument
242 if (streams == NULL) { in isValidStreamSet()
253 if (streams[i]->isInputType()) in isValidStreamSet()
255 if (streams[i]->isOutputType()) in isValidStreamSet()
[all …]
/hardware/interfaces/camera/device/3.3/default/
Dconvert.cpp53 dst->streams.resize(src.num_streams); in convertToHidl()
55 convertToHidl(static_cast<Camera3Stream*>(src.streams[i]), &dst->streams[i]); in convertToHidl()
DCameraDeviceSession.cpp81 hidl_vec<camera3_stream_t*> streams; in configureStreams_3_3() local
82 if (!preProcessConfigurationLocked(requestedConfiguration, &stream_list, &streams)) { in configureStreams_3_3()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp534 std::shared_ptr<InflightBatch> batch, const std::vector<int>& streams) { in sendBatchBuffersLocked() argument
536 for (int streamId : streams) { in sendBatchBuffersLocked()
554 for (int streamId : streams) { in sendBatchBuffersLocked()
576 outBufs.reserve(streams.size()); in sendBatchBuffersLocked()
577 for (int streamId : streams) { in sendBatchBuffersLocked()
598 for (int streamId : streams) { in sendBatchBuffersLocked()
907 hidl_vec<camera3_stream_t*> *streams /*out*/) { in preProcessConfigurationLocked() argument
909 if ((stream_list == nullptr) || (streams == nullptr)) { in preProcessConfigurationLocked()
914 stream_list->num_streams = requestedConfiguration.streams.size(); in preProcessConfigurationLocked()
915 streams->resize(stream_list->num_streams); in preProcessConfigurationLocked()
[all …]
Dconvert.cpp94 dst->streams.resize(src.num_streams); in convertToHidl()
96 convertToHidl(static_cast<Camera3Stream*>(src.streams[i]), &dst->streams[i]); in convertToHidl()
/hardware/qcom/camera/msm8998/QCamera2/
DQCamera2Factory.cpp253 const camera_stream_combination_t *streams) in QCamera2Factory() argument
255 return gQCamera2Factory->isStreamCombinationSupported(camera_id, streams); in QCamera2Factory()
272 const camera_stream_combination_t *streams) in QCamera2Factory() argument
274 if (!mNumOfCameras || camera_id >= mNumOfCameras || !streams || in QCamera2Factory()
278 mNumOfCameras, camera_id, streams); in QCamera2Factory()
282 return QCamera3HardwareInterface::isStreamCombinationSupported(camera_id, streams); in QCamera2Factory()
DQCamera2Factory.h58 const camera_stream_combination_t *streams);
65 const camera_stream_combination_t *streams);
/hardware/interfaces/camera/device/3.5/
DICameraDeviceSession.hal57 * - Not including any OUTPUT streams
58 * - Including streams with unsupported formats, or an unsupported
60 * - Including too many output streams of a certain format.
69 * streams or larger stream resolutions than the minimum required
87 * HAL must return all buffers of designated streams. HAL must finish
89 * designated streams through processCaptureResult or returnStreamBuffer
95 * @param streamIds The ID of streams camera service need all of its
120 * In case Hal returns true, the framework must reconfigure the streams and pass the
/hardware/interfaces/camera/device/3.5/default/include/device_v3_5_impl/
DCameraDevice_3_5.h68 const V3_4::StreamConfiguration& streams,
105 const V3_4::StreamConfiguration& streams, in isStreamCombinationSupported()
107 return mParent->isStreamCombinationSupported(streams, _hidl_cb); in isStreamCombinationSupported()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp625 void setCurrentStreamConfig(const hidl_vec<V3_2::Stream>& streams,
1254 const hidl_vec<V3_2::Stream>& streams, const hidl_vec<V3_2::HalStream>& halStreams) { in setCurrentStreamConfig() argument
1255 ASSERT_EQ(streams.size(), halStreams.size()); in setCurrentStreamConfig()
1256 ASSERT_NE(streams.size(), 0); in setCurrentStreamConfig()
1257 for (size_t i = 0; i < streams.size(); i++) { in setCurrentStreamConfig()
1258 ASSERT_EQ(streams[i].id, halStreams[i].id); in setCurrentStreamConfig()
1262 mStreams = streams; in setCurrentStreamConfig()
1265 for (size_t i = 0; i < streams.size(); i++) { in setCurrentStreamConfig()
2917 ASSERT_EQ(1u, halConfig.streams.size()); in TEST_F()
2918 ASSERT_EQ(halConfig.streams[0].v3_3.v3_2.id, streamId); in TEST_F()
[all …]
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/
DExternalCameraDevice_3_5.h71 const V3_4::StreamConfiguration& streams,
125 const V3_4::StreamConfiguration& streams, in isStreamCombinationSupported()
127 return mParent->isStreamCombinationSupported(streams, _hidl_cb); in isStreamCombinationSupported()
/hardware/libhardware/include/hardware/
Dcamera_common.h799 camera_stream_t *streams; member
1171 const camera_stream_combination_t *streams);
/hardware/interfaces/audio/2.0/
DIStream.hal234 * Function only implemented by streams operating in mmap mode.
237 * NOT_SUPPORTED on non mmap mode streams
244 * Function only implemented by streams operating in mmap mode.
247 * NOT_SUPPORTED on non mmap mode streams
255 * Function only implemented by streams operating in mmap mode.
260 * NOT_SUPPORTED on non mmap mode streams
272 * Function only implemented by streams operating in mmap mode.
275 * NOT_SUPPORTED on non mmap mode streams
/hardware/interfaces/camera/device/3.4/
DICameraDeviceSession.hal51 * - Not including any OUTPUT streams
52 * - Including streams with unsupported formats, or an unsupported
54 * - Including too many output streams of a certain format.
63 * streams or larger stream resolutions than the minimum required

1234