Home
last modified time | relevance | path

Searched refs:OutputConfiguration (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/av/camera/camera2/
DOutputConfiguration.cpp34 const int OutputConfiguration::INVALID_ROTATION = -1;
35 const int OutputConfiguration::INVALID_SET_ID = -1;
38 OutputConfiguration::getGraphicBufferProducers() const { in getGraphicBufferProducers()
42 int OutputConfiguration::getRotation() const { in getRotation()
46 int OutputConfiguration::getSurfaceSetID() const { in getSurfaceSetID()
50 int OutputConfiguration::getSurfaceType() const { in getSurfaceType()
54 int OutputConfiguration::getWidth() const { in getWidth()
58 int OutputConfiguration::getHeight() const { in getHeight()
62 bool OutputConfiguration::isDeferred() const { in isDeferred()
66 bool OutputConfiguration::isShared() const { in isShared()
[all …]
DSessionConfiguration.cpp67 std::vector<OutputConfiguration> outputStreams; in readFromParcel()
142 const std::vector<OutputConfiguration>& otherOutputStreams = in outputsEqual()
159 const std::vector<OutputConfiguration>& otherOutputStreams = in outputsLessThan()
/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h33 class OutputConfiguration : public android::Parcelable {
94 OutputConfiguration();
99 OutputConfiguration(const android::Parcel& parcel);
101 OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation,
105 OutputConfiguration(const std::vector<sp<IGraphicBufferProducer>>& gbps,
111 bool operator == (const OutputConfiguration& other) const {
133 bool operator != (const OutputConfiguration& other) const {
136 bool operator < (const OutputConfiguration& other) const {
198 bool operator > (const OutputConfiguration& other) const {
202 bool gbpsEqual(const OutputConfiguration& other) const;
[all …]
DSessionConfiguration.h34 const std::vector<OutputConfiguration>& getOutputConfigurations() const { in getOutputConfigurations()
108 void addOutputConfiguration(const OutputConfiguration &config) { in addOutputConfiguration()
114 std::vector<OutputConfiguration> mOutputStreams;
/frameworks/av/camera/tests/fuzzer/
Dcamera_c2OutputConfiguration_fuzzer.cpp39 unique_ptr<OutputConfiguration> getC2OutputConfig();
61 unique_ptr<OutputConfiguration> C2OutputConfigurationFuzzer::getC2OutputConfig() { in getC2OutputConfig()
62 unique_ptr<OutputConfiguration> outputConfiguration = nullptr; in getC2OutputConfig()
65 [&]() { outputConfiguration = make_unique<OutputConfiguration>(); }, in getC2OutputConfig()
73 outputConfiguration = make_unique<OutputConfiguration>( in getC2OutputConfig()
88 outputConfiguration = make_unique<OutputConfiguration>( in getC2OutputConfig()
97 unique_ptr<OutputConfiguration> outputConfiguration = getC2OutputConfig(); in invokeC2OutputConfigFuzzer()
100 unique_ptr<OutputConfiguration> outputConfiguration2 = getC2OutputConfig(); in invokeC2OutputConfigFuzzer()
129 invokeReadWriteNullParcel<OutputConfiguration>(outputConfiguration.get()); in invokeC2OutputConfigFuzzer()
131 invokeReadWriteParcel<OutputConfiguration>(outputConfiguration.get()); in invokeC2OutputConfigFuzzer()
[all …]
Dcamera_c2SessionConfiguration_fuzzer.cpp50 OutputConfiguration* outputConfiguration = nullptr; in LLVMFuzzerTestOneInput()
53 outputConfiguration = new OutputConfiguration(); in LLVMFuzzerTestOneInput()
72 new OutputConfiguration(iGBP, rotation, physicalCameraId, surfaceSetID, isShared); in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/hardware/camera2/params/
DExtensionSessionConfiguration.java41 private List<OutputConfiguration> mOutputs;
42 private OutputConfiguration mPostviewOutput = null;
57 @NonNull List<OutputConfiguration> outputs, @NonNull Executor executor, in ExtensionSessionConfiguration()
82 void setPostviewOutputConfiguration(@Nullable OutputConfiguration postviewOutput) { in setPostviewOutputConfiguration()
93 OutputConfiguration getPostviewOutputConfiguration() { in getPostviewOutputConfiguration()
104 List<OutputConfiguration> getOutputConfigurations() { in getOutputConfigurations()
142 for (OutputConfiguration outputConfiguration : mOutputs) { in setColorSpace()
156 for (OutputConfiguration outputConfiguration : mOutputs) { in clearColorSpace()
DOutputConfiguration.java121 public final class OutputConfiguration implements Parcelable { class
351 public OutputConfiguration(@NonNull Surface surface) { in OutputConfiguration() method in OutputConfiguration
425 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface) { in OutputConfiguration() method in OutputConfiguration
551 public OutputConfiguration(@NonNull Surface surface, int rotation) { in OutputConfiguration() method in OutputConfiguration
577 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface, int rotation) { in OutputConfiguration() method in OutputConfiguration
614 public static @NonNull Collection<OutputConfiguration> createInstancesForMultiResolutionOutput( in createInstancesForMultiResolutionOutput()
620 ArrayList<OutputConfiguration> configs = new ArrayList<OutputConfiguration>(); in createInstancesForMultiResolutionOutput()
625 OutputConfiguration config = new OutputConfiguration( in createInstancesForMultiResolutionOutput()
673 public static @NonNull List<OutputConfiguration> createInstancesForMultiResolutionOutput( in createInstancesForMultiResolutionOutput()
686 ArrayList<OutputConfiguration> configs = new ArrayList<OutputConfiguration>(); in createInstancesForMultiResolutionOutput()
[all …]
DSessionConfiguration.java36 import android.hardware.camera2.params.OutputConfiguration;
98 private List<OutputConfiguration> mOutputConfigurations;
120 @NonNull List<OutputConfiguration> outputs, in SessionConfiguration()
152 @NonNull List<OutputConfiguration> outputs) { in SessionConfiguration()
167 ArrayList<OutputConfiguration> outConfigs = new ArrayList<OutputConfiguration>(); in SessionConfiguration()
168 source.readTypedList(outConfigs, OutputConfiguration.CREATOR); in SessionConfiguration()
289 public List<OutputConfiguration> getOutputConfigurations() { in getOutputConfigurations()
381 for (OutputConfiguration outputConfiguration : mOutputConfigurations) { in setColorSpace()
391 for (OutputConfiguration outputConfiguration : mOutputConfigurations) { in clearColorSpace()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl23 import android.hardware.camera2.params.OutputConfiguration;
112 int createStream(in OutputConfiguration outputConfiguration); in createStream()
161 void updateOutputConfiguration(int streamId, in OutputConfiguration outputConfiguration); in updateOutputConfiguration()
163 void finalizeOutputConfigurations(int streamId, in OutputConfiguration outputConfiguration); in finalizeOutputConfigurations()
/frameworks/hardware/interfaces/cameraservice/device/aidl/android/frameworks/cameraservice/device/
DICameraDeviceUser.aidl21 import android.frameworks.cameraservice.device.OutputConfiguration;
81 int createStream(in OutputConfiguration outputConfiguration); in createStream()
254 void updateOutputConfiguration(in int streamId, in OutputConfiguration outputConfiguration); in updateOutputConfiguration()
DSessionConfiguration.aidl19 import android.frameworks.cameraservice.device.OutputConfiguration;
27 OutputConfiguration[] outputStreams;
/frameworks/av/camera/
DCameraUtils.cpp60 if (mirrorMode == OutputConfiguration::MIRROR_MODE_AUTO && in getRotationTransform()
63 } else if (mirrorMode == OutputConfiguration::MIRROR_MODE_H) { in getRotationTransform()
65 } else if (mirrorMode == OutputConfiguration::MIRROR_MODE_V) { in getRotationTransform()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionUtils.java26 import android.hardware.camera2.params.OutputConfiguration;
109 @Nullable OutputConfiguration outputConfig, in getPostviewSurface()
145 @NonNull List<OutputConfiguration> outputConfigs, in getBurstCaptureSurface()
154 for (OutputConfiguration config : outputConfigs) { in getBurstCaptureSurface()
175 @NonNull List<OutputConfiguration> outputConfigs, in getRepeatingRequestSurface()
177 for (OutputConfiguration config : outputConfigs) { in getRepeatingRequestSurface()
DCameraDeviceImpl.java48 import android.hardware.camera2.params.OutputConfiguration;
142 private final SparseArray<OutputConfiguration> mConfiguredOutputs =
492 ArrayList<OutputConfiguration> outputConfigs = new ArrayList<>(outputs.size()); in configureOutputs()
494 outputConfigs.add(new OutputConfiguration(s)); in configureOutputs()
526 List<OutputConfiguration> outputs, int operatingMode, CaptureRequest sessionParams, in configureStreamsChecked()
531 outputs = new ArrayList<OutputConfiguration>(); in configureStreamsChecked()
545 HashSet<OutputConfiguration> addSet = new HashSet<OutputConfiguration>(outputs); in configureStreamsChecked()
552 OutputConfiguration outConfig = mConfiguredOutputs.valueAt(i); in configureStreamsChecked()
597 for (OutputConfiguration outConfig : outputs) { in configureStreamsChecked()
649 List<OutputConfiguration> outConfigurations = new ArrayList<>(outputs.size()); in createCaptureSession()
[all …]
DCameraAdvancedExtensionSessionImpl.java56 import android.hardware.camera2.params.OutputConfiguration;
103 private OutputConfiguration mClientRepeatingRequestOutputConfig;
104 private OutputConfiguration mClientCaptureOutputConfig;
105 private OutputConfiguration mClientPostviewOutputConfig;
149 for (OutputConfiguration c : config.getOutputConfigurations()) { in createCameraAdvancedExtensionSession()
177 OutputConfiguration repeatingRequestOutputConfig = null; in createCameraAdvancedExtensionSession()
179 for (OutputConfiguration outputConfig : config.getOutputConfigurations()) { in createCameraAdvancedExtensionSession()
207 OutputConfiguration burstCaptureOutputConfig = null; in createCameraAdvancedExtensionSession()
209 for (OutputConfiguration outputConfig : config.getOutputConfigurations()) { in createCameraAdvancedExtensionSession()
228 OutputConfiguration postviewOutputConfig = config.getPostviewOutputConfiguration(); in createCameraAdvancedExtensionSession()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.h99 int timestampBase = OutputConfiguration::TIMESTAMP_BASE_DEFAULT,
100 int mirrorMode = OutputConfiguration::MIRROR_MODE_AUTO,
118 int timestampBase = OutputConfiguration::TIMESTAMP_BASE_DEFAULT,
119 int mirrorMode = OutputConfiguration::MIRROR_MODE_AUTO,
136 int timestampBase = OutputConfiguration::TIMESTAMP_BASE_DEFAULT,
137 int mirrorMode = OutputConfiguration::MIRROR_MODE_AUTO,
287 int timestampBase = OutputConfiguration::TIMESTAMP_BASE_DEFAULT,
288 int mirrorMode = OutputConfiguration::MIRROR_MODE_AUTO,
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/1/android/frameworks/cameraservice/device/
DOutputConfiguration.aidl36 parcelable OutputConfiguration {
38 android.frameworks.cameraservice.device.OutputConfiguration.Rotation rotation;
DICameraDeviceUser.aidl40 …int createStream(in android.frameworks.cameraservice.device.OutputConfiguration outputConfiguratio… in createStream()
50 …ration(in int streamId, in android.frameworks.cameraservice.device.OutputConfiguration outputConfi… in updateOutputConfiguration()
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/current/android/frameworks/cameraservice/device/
DOutputConfiguration.aidl36 parcelable OutputConfiguration {
41 android.frameworks.cameraservice.device.OutputConfiguration.Rotation rotation;
DICameraDeviceUser.aidl40 …int createStream(in android.frameworks.cameraservice.device.OutputConfiguration outputConfiguratio… in createStream()
50 …ration(in int streamId, in android.frameworks.cameraservice.device.OutputConfiguration outputConfi… in updateOutputConfiguration()
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/2/android/frameworks/cameraservice/device/
DOutputConfiguration.aidl36 parcelable OutputConfiguration {
41 android.frameworks.cameraservice.device.OutputConfiguration.Rotation rotation;
DICameraDeviceUser.aidl40 …int createStream(in android.frameworks.cameraservice.device.OutputConfiguration outputConfiguratio… in createStream()
50 …ration(in int streamId, in android.frameworks.cameraservice.device.OutputConfiguration outputConfi… in updateOutputConfiguration()
/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.h38 using ::aidl::android::frameworks::cameraservice::device::OutputConfiguration;
56 OutputConfiguration::Rotation convertToAidl(int rotation);
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java29 import android.hardware.camera2.params.OutputConfiguration;
267 List<OutputConfiguration> outputConfigurations, in createCaptureSessionByOutputConfigurations()
322 @NonNull List<OutputConfiguration> outputs, in createReprocessableCaptureSessionByConfigurations()
501 @NonNull List<OutputConfiguration> outputs, in createCustomCaptureSession()

1234