/hardware/libhardware/modules/camera/3_4/ |
D | static_properties_test.cpp | 105 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 …]
|
/hardware/google/gfxstream/scripts/print_gfx_logs/ |
D | print_gfx_logs_test.py | 74 streams = None 78 streams = process_minidump(mm) 79 self.assertEqual(len(streams), 1) 80 self.assertEqual(streams[0].error_message, None) 81 self.assertEqual(streams[0].pos_in_file, offset) 82 self.assertEqual(streams[0].timestamp, stream.timestamp) 83 self.assertEqual(streams[0].thread_id, stream.thread_id) 84 self.assertEqual(streams[0].capture_id, stream.capture_id) 85 self.assertEqual(len(streams[0].commands), 1) 86 self.assertEqual(streams[0].commands[0].opcode, command.opcode) [all …]
|
D | print_gfx_logs.py | 172 streams = [] 178 streams.append(process_stream(mm, pos)) 181 return streams 190 streams = None 193 streams = process_minidump(mm) 195 streams.sort(key=lambda s: s.timestamp) 199 for stream_idx, stream in enumerate(streams):
|
/hardware/interfaces/camera/device/3.5/default/ |
D | ExternalCameraDevice.cpp | 90 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()
|
D | CameraDevice.cpp | 98 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/ |
D | CameraDeviceSession.cpp | 84 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 …]
|
D | convert.cpp | 40 dst->streams.resize(src.num_streams); in convertToHidl() 42 convertToHidl(static_cast<Camera3Stream*>(src.streams[i]), &dst->streams[i]); in convertToHidl()
|
D | ExternalCameraDeviceSession.cpp | 344 const V3_2::StreamConfiguration& streams, in configureStreams() argument 350 Status status = configureStreams(streams, &outStreams_v33); in configureStreams() 351 size_t size = outStreams_v33.streams.size(); in configureStreams() 352 outStreams.streams.resize(size); in configureStreams() 354 outStreams.streams[i] = outStreams_v33.streams[i].v3_2; in configureStreams() 361 const V3_2::StreamConfiguration& streams, in configureStreams_3_3() argument 366 Status status = configureStreams(streams, &outStreams); in configureStreams_3_3() 380 config_v32.streams.resize(requestedConfiguration.streams.size()); in configureStreams_3_4() 383 for (size_t i = 0; i < config_v32.streams.size(); i++) { in configureStreams_3_4() 384 config_v32.streams[i] = requestedConfiguration.streams[i].v3_2; in configureStreams_3_4() [all …]
|
/hardware/interfaces/camera/device/3.6/ |
D | ICameraDeviceSession.hal | 50 * - Not including any OUTPUT streams 51 * - Including streams with unsupported formats, or an unsupported 53 * - Including too many output streams of a certain format. 62 * streams or larger stream resolutions than the minimum required 80 * The streamsToKeep argument contains list of streams IDs where application 81 * still needs its output. For all streams application does not need anymore, 85 * from streams no longer needed and have erased buffer caches of such streams. 91 * switching to offline mode, and collected information on what streams and 98 * requests and unconfigure all streams before returning this call. 101 * unconfigured state as if it is just created and no streams are configured. [all …]
|
/hardware/libhardware/modules/usbcamera/ |
D | Camera.cpp | 230 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 …]
|
D | Camera.h | 97 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/ |
D | Camera.cpp | 172 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.6/default/ |
D | ExternalCameraDeviceSession.cpp | 55 config_v32.streams.resize(requestedConfiguration_3_4.streams.size()); in configureStreams_3_6() 58 for (size_t i = 0; i < config_v32.streams.size(); i++) { in configureStreams_3_6() 59 config_v32.streams[i] = requestedConfiguration_3_4.streams[i].v3_2; in configureStreams_3_6() 60 if (config_v32.streams[i].format == PixelFormat::BLOB) { in configureStreams_3_6() 61 blobBufferSize = requestedConfiguration_3_4.streams[i].bufferSize; in configureStreams_3_6() 109 outStreams_v36->streams.resize(outStreams_v33.streams.size()); in fillOutputStream3_6() 110 for (size_t i = 0; i < outStreams_v36->streams.size(); i++) { in fillOutputStream3_6() 111 outStreams_v36->streams[i].v3_4.v3_3 = outStreams_v33.streams[i]; in fillOutputStream3_6() 112 outStreams_v36->streams[i].supportOffline = in fillOutputStream3_6() 113 supportOfflineLocked(outStreams_v33.streams[i].v3_2.id); in fillOutputStream3_6()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedCameraDeviceSessionHWLImpl.cpp | 284 emulated_pipeline.streams.reserve(request_config.streams.size()); in ConfigurePipeline() 285 for (const auto& stream : request_config.streams) { in ConfigurePipeline() 287 emulated_pipeline.streams.emplace( in ConfigurePipeline() 355 const auto& streams = pipelines_[pipeline_id].streams; in GetConfiguredHalStream() local 356 hal_streams->reserve(streams.size()); in GetConfiguredHalStream() 357 for (const auto& it : streams) { in GetConfiguredHalStream() 390 for (const auto& stream : config.streams) { in GetHalBufferManagedStreams() 419 const std::unordered_map<uint32_t, EmulatedStream>& streams, in CheckOutputFormatsForInput() argument 425 auto output_stream = streams.at(output_buffer.stream_id); in CheckOutputFormatsForInput() 448 const auto& streams = pipelines_[request.pipeline_id].streams; in SubmitRequests() local [all …]
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | dual_ir_capture_session.cc | 75 for (auto& stream : stream_config.streams) { in IsStreamConfigurationSupported() 114 for (auto& stream : stream_config.streams) { in Create() 162 if (stream_config.streams.size() != in AreAllStreamsConfigured() 163 process_block_stream_config.streams.size()) { in AreAllStreamsConfigured() 165 __FUNCTION__, stream_config.streams.size(), in AreAllStreamsConfigured() 166 process_block_stream_config.streams.size()); in AreAllStreamsConfigured() 170 for (auto& stream : stream_config.streams) { in AreAllStreamsConfigured() 172 for (auto& configured_stream : process_block_stream_config.streams) { in AreAllStreamsConfigured() 256 for (auto& stream : stream_config.streams) { in PurgeHalConfiguredStream() 375 process_block_stream_config->streams.insert( in SetupDepthSegment() [all …]
|
D | hdrplus_capture_session.cc | 140 if (stream_config.streams.size() > process_block_stream_config.streams.size()) { in ConfigureStreams() 142 __FUNCTION__, stream_config.streams.size(), in ConfigureStreams() 143 process_block_stream_config.streams.size()); in ConfigureStreams() 147 for (auto& stream : stream_config.streams) { in ConfigureStreams() 149 for (auto& configured_stream : process_block_stream_config.streams) { in ConfigureStreams() 163 for (auto& configured_stream : process_block_stream_config.streams) { in ConfigureStreams() 209 if (stream_config.streams.size() > process_block_stream_config.streams.size()) { in ConfigureHdrplusStreams() 211 __FUNCTION__, stream_config.streams.size(), in ConfigureHdrplusStreams() 212 process_block_stream_config.streams.size()); in ConfigureHdrplusStreams() 216 for (auto& stream : stream_config.streams) { in ConfigureHdrplusStreams() [all …]
|
D | rgbird_capture_session.cc | 133 if (stream_config.streams.size() > process_block_stream_config.streams.size()) { in AreAllStreamsConfigured() 135 __FUNCTION__, stream_config.streams.size(), in AreAllStreamsConfigured() 136 process_block_stream_config.streams.size()); in AreAllStreamsConfigured() 140 for (auto& stream : stream_config.streams) { in AreAllStreamsConfigured() 142 for (auto& configured_stream : process_block_stream_config.streams) { in AreAllStreamsConfigured() 199 for (auto& configured_stream : process_block_stream_config.streams) { in SetDepthInternalStreamId() 202 for (auto& framework_stream : stream_config.streams) { in SetDepthInternalStreamId() 260 for (auto& configured_stream : process_block_stream_config.streams) { in ConfigureHdrplusRawStreamId() 286 for (auto& stream : framework_stream_config.streams) { in AllocateInternalBuffers() 347 for (auto& stream : stream_config.streams) { in PurgeHalConfiguredStream() [all …]
|
D | basic_capture_session.cc | 100 if (stream_config.streams.size() != in ConfigureStreams() 101 process_block_stream_config.streams.size()) { in ConfigureStreams() 103 __FUNCTION__, stream_config.streams.size(), in ConfigureStreams() 104 process_block_stream_config.streams.size()); in ConfigureStreams() 108 for (auto& stream : stream_config.streams) { in ConfigureStreams() 110 for (auto& configured_stream : process_block_stream_config.streams) { in ConfigureStreams()
|
/hardware/interfaces/camera/device/3.3/default/ |
D | convert.cpp | 53 dst->streams.resize(src.num_streams); in convertToHidl() 55 convertToHidl(static_cast<Camera3Stream*>(src.streams[i]), &dst->streams[i]); in convertToHidl()
|
/hardware/google/camera/common/hal/tests/ |
D | process_block_tests.cc | 153 ASSERT_EQ(hal_streams.size(), test_config_.streams.size()); in TEST_F() 177 .Times(test_config_.streams.size()); in TEST_F() 197 EXPECT_EQ(hal_streams.size(), test_config_.streams.size()); in TEST_F() 212 size_t num_streams = test_config_.streams.size(); in TEST_F() 237 EXPECT_EQ(hal_streams.size(), test_config_.streams.size()); in TEST_F() 245 for (auto& stream : test_config_.streams) { in TEST_F()
|
/hardware/interfaces/camera/device/3.2/default/ |
D | CameraDeviceSession.cpp | 534 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 …]
|
/hardware/interfaces/camera/device/aidl/android/hardware/camera/device/ |
D | ICameraDevice.aidl | 158 boolean isStreamCombinationSupported(in StreamConfiguration streams); in isStreamCombinationSupported() argument 388 boolean isStreamCombinationWithSettingsSupported(in StreamConfiguration streams); in isStreamCombinationWithSettingsSupported() argument
|
/hardware/qcom/camera/msm8998/QCamera2/ |
D | QCamera2Factory.cpp | 253 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()
|
D | QCamera2Factory.h | 58 const camera_stream_combination_t *streams); 65 const camera_stream_combination_t *streams);
|
/hardware/interfaces/camera/device/3.5/ |
D | ICameraDeviceSession.hal | 57 * - 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
|