Searched refs:stream_config (Results 1 – 10 of 10) sorted by relevance
/hardware/libhardware/modules/camera/3_4/ |
D | static_properties.cpp | 255 const camera3_stream_configuration_t* stream_config) { in StreamConfigurationSupported() argument 256 return SanityCheckStreamConfiguration(stream_config) && in StreamConfigurationSupported() 257 InputStreamsSupported(stream_config) && in StreamConfigurationSupported() 258 OutputStreamsSupported(stream_config) && in StreamConfigurationSupported() 259 OperationModeSupported(stream_config); in StreamConfigurationSupported() 263 const camera3_stream_configuration_t* stream_config) { in SanityCheckStreamConfiguration() argument 265 if (stream_config == nullptr) { in SanityCheckStreamConfiguration() 268 } else if (stream_config->num_streams == 0) { in SanityCheckStreamConfiguration() 271 } else if (stream_config->streams == nullptr) { in SanityCheckStreamConfiguration() 277 for (size_t i = 0; i < stream_config->num_streams; ++i) { in SanityCheckStreamConfiguration() [all …]
|
D | static_properties.h | 74 const camera3_stream_configuration_t* stream_config); 96 const camera3_stream_configuration_t* stream_config); 98 const camera3_stream_configuration_t* stream_config); 100 const camera3_stream_configuration_t* stream_config); 102 const camera3_stream_configuration_t* stream_config);
|
D | v4l2_camera.cpp | 299 const camera3_stream_configuration_t* stream_config) { in validateDataspacesAndRotations() argument 302 for (uint32_t i = 0; i < stream_config->num_streams; ++i) { in validateDataspacesAndRotations() 303 if (stream_config->streams[i]->rotation != CAMERA3_STREAM_ROTATION_0) { in validateDataspacesAndRotations() 305 stream_config->streams[i]->rotation, in validateDataspacesAndRotations() 314 int V4L2Camera::setupStreams(camera3_stream_configuration_t* stream_config) { in setupStreams() argument 326 camera3_stream_t* stream = stream_config->streams[0]; in setupStreams() 331 if (stream_config->num_streams > 1) { in setupStreams() 337 for (uint32_t i = 1; i < stream_config->num_streams; ++i) { in setupStreams() 338 stream = stream_config->streams[i]; in setupStreams() 380 for (uint32_t i = 0; i < stream_config->num_streams; ++i) { in setupStreams() [all …]
|
D | camera.cpp | 170 int Camera::configureStreams(camera3_stream_configuration_t *stream_config) in configureStreams() argument 175 ALOGV("%s:%d: stream_config=%p", __func__, mId, stream_config); in configureStreams() 186 int res = validateStreamConfiguration(stream_config); in configureStreams() 194 res = setupStreams(stream_config); in configureStreams() 203 mInFlightTracker->SetStreamConfiguration(*stream_config); in configureStreams() 215 const camera3_stream_configuration_t* stream_config) in validateStreamConfiguration() argument 218 if (stream_config == nullptr) { in validateStreamConfiguration() 221 } else if (stream_config->num_streams == 0) { in validateStreamConfiguration() 224 } else if (stream_config->streams == nullptr) { in validateStreamConfiguration() 237 if (!mStaticInfo->StreamConfigurationSupported(stream_config)) { in validateStreamConfiguration() [all …]
|
D | camera.h | 76 const camera3_stream_configuration_t* stream_config) = 0; 79 camera3_stream_configuration_t* stream_config) = 0; 105 const camera3_stream_configuration_t* stream_config);
|
D | v4l2_camera.h | 70 const camera3_stream_configuration_t* stream_config) override; 72 int setupStreams(camera3_stream_configuration_t* stream_config) override;
|
/hardware/libhardware/modules/camera/3_0/ |
D | Camera.cpp | 144 int Camera::configureStreams(camera3_stream_configuration_t *stream_config) in configureStreams() argument 149 ALOGV("%s:%d: stream_config=%p", __func__, mId, stream_config); in configureStreams() 153 if (stream_config == NULL) { in configureStreams() 157 if (stream_config->num_streams == 0) { in configureStreams() 163 newStreams = new Stream*[stream_config->num_streams]; in configureStreams() 165 stream_config->num_streams); in configureStreams() 171 for (unsigned int i = 0; i < stream_config->num_streams; i++) { in configureStreams() 172 astream = stream_config->streams[i]; in configureStreams() 189 if (!isValidStreamSet(newStreams, stream_config->num_streams)) { in configureStreams() 195 setupStreams(newStreams, stream_config->num_streams); in configureStreams() [all …]
|
/hardware/libhardware/modules/usbcamera/ |
D | Camera.cpp | 201 int Camera::configureStreams(camera3_stream_configuration_t *stream_config) { in configureStreams() argument 205 ALOGV("%s:%d: stream_config=%p", __func__, mId, stream_config); in configureStreams() 213 if (stream_config == NULL) { in configureStreams() 217 if (stream_config->num_streams == 0) { in configureStreams() 223 stream_config->num_streams); in configureStreams() 229 for (unsigned int i = 0; i < stream_config->num_streams; i++) { in configureStreams() 230 astream = stream_config->streams[i]; in configureStreams()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 387 mm_camera_stream_config_t stream_config; in init() local 479 stream_config.stream_info = mStreamInfo; in init() 480 stream_config.mem_vtbl = mMemVtbl; in init() 481 stream_config.padding_info = mPaddingInfo; in init() 482 stream_config.userdata = this; in init() 483 stream_config.stream_cb = dataNotifyCB; in init() 484 stream_config.stream_cb_sync = NULL; in init() 498 mChannelHandle, mHandle, &stream_config); in init()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraStream.cpp | 2758 mm_camera_stream_config_t stream_config; in configStream() local 2759 stream_config.stream_info = mStreamInfo; in configStream() 2760 stream_config.mem_vtbl = mMemVtbl; in configStream() 2761 stream_config.stream_cb_sync = NULL; in configStream() 2762 stream_config.stream_cb = dataNotifyCB; in configStream() 2763 stream_config.padding_info = mPaddingInfo; in configStream() 2764 stream_config.userdata = this; in configStream() 2766 mChannelHandle, mHandle, &stream_config); in configStream()
|