Home
last modified time | relevance | path

Searched refs:StreamConfiguration (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableStreamConfiguration.java20 import android.hardware.camera2.params.StreamConfiguration;
35 implements MarshalQueryable<StreamConfiguration> {
38 private class MarshalerStreamConfiguration extends Marshaler<StreamConfiguration> {
39 protected MarshalerStreamConfiguration(TypeReference<StreamConfiguration> typeReference, in MarshalerStreamConfiguration()
45 public void marshal(StreamConfiguration value, ByteBuffer buffer) { in marshal()
53 public StreamConfiguration unmarshal(ByteBuffer buffer) { in unmarshal()
59 return new StreamConfiguration(format, width, height, input); in unmarshal()
70 public Marshaler<StreamConfiguration> createMarshaler( in createMarshaler()
71 TypeReference<StreamConfiguration> managedType, int nativeType) { in createMarshaler()
76 public boolean isTypeMappingSupported(TypeReference<StreamConfiguration> managedType, in isTypeMappingSupported()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfiguration.java43 public class StreamConfiguration { class
60 public StreamConfiguration( in StreamConfiguration() method in StreamConfiguration
149 if (obj instanceof StreamConfiguration) { in equals()
150 final StreamConfiguration other = (StreamConfiguration) obj; in equals()
DStreamConfigurationMap.java113 StreamConfiguration[] configurations, in StreamConfigurationMap()
116 StreamConfiguration[] depthConfigurations, in StreamConfigurationMap()
119 StreamConfiguration[] dynamicDepthConfigurations, in StreamConfigurationMap()
122 StreamConfiguration[] heicConfigurations, in StreamConfigurationMap()
125 StreamConfiguration[] jpegRConfigurations, in StreamConfigurationMap()
183 StreamConfiguration[] configurations, in StreamConfigurationMap()
186 StreamConfiguration[] depthConfigurations, in StreamConfigurationMap()
189 StreamConfiguration[] dynamicDepthConfigurations, in StreamConfigurationMap()
192 StreamConfiguration[] heicConfigurations, in StreamConfigurationMap()
195 StreamConfiguration[] jpegRConfigurations, in StreamConfigurationMap()
[all …]
DMultiResolutionStreamConfigurationMap.java75 @NonNull Map<String, StreamConfiguration[]> configurations) { in MultiResolutionStreamConfigurationMap()
85 for (Map.Entry<String, StreamConfiguration[]> entry : in MultiResolutionStreamConfigurationMap()
88 StreamConfiguration[] configs = entry.getValue(); in MultiResolutionStreamConfigurationMap()
91 StreamConfiguration config = configs[i]; in MultiResolutionStreamConfigurationMap()
327 private final Map<String, StreamConfiguration[]> mConfigurations;
DRecommendedStreamConfiguration.java32 public final class RecommendedStreamConfiguration extends StreamConfiguration{
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtilsHidl.h39 hardware::camera::device::V3_7::StreamConfiguration &streamConfiguration,
47 hardware::camera::device::V3_4::StreamConfiguration &streamConfigV34,
48 const hardware::camera::device::V3_7::StreamConfiguration &streamConfigV37);
DSessionConfigurationUtilsHidl.cpp38 const aidl::android::hardware::camera::device::StreamConfiguration &aidl, in convertAidlToHidl37StreamCombination()
39 hardware::camera::device::V3_7::StreamConfiguration &hidl) { in convertAidlToHidl37StreamCombination()
110 hardware::camera::device::V3_7::StreamConfiguration &streamConfiguration, in convertToHALStreamCombination()
112 aidl::android::hardware::camera::device::StreamConfiguration aidlStreamConfiguration; in convertToHALStreamCombination()
133 hardware::camera::device::V3_4::StreamConfiguration &streamConfigV34, in convertHALStreamCombinationFromV37ToV34()
134 const hardware::camera::device::V3_7::StreamConfiguration &streamConfigV37) { in convertHALStreamCombinationFromV37ToV34()
DSessionConfigurationUtils.h65 class StreamConfiguration {
73 std::unordered_map<int, std::vector<StreamConfiguration>> *scm);
76 std::unordered_map<int, std::vector<StreamConfiguration>> *scm);
82 std::unordered_map<int, std::vector<camera3::StreamConfiguration>>
84 std::unordered_map<int, std::vector<camera3::StreamConfiguration>>
157 aidl::android::hardware::camera::device::StreamConfiguration &streamConfiguration,
DSessionConfigurationUtils.cpp44 void StreamConfiguration::getStreamConfigurations( in getStreamConfigurations()
46 std::unordered_map<int, std::vector<StreamConfiguration>> *scm) { in getStreamConfigurations()
62 StreamConfiguration sc = {format, width, height, isInput}; in getStreamConfigurations()
67 void StreamConfiguration::getStreamConfigurations( in getStreamConfigurations()
69 std::unordered_map<int, std::vector<StreamConfiguration>> *scm) { in getStreamConfigurations()
144 camera3::StreamConfiguration::getStreamConfigurations(staticInfo, false, in getStreamConfigurationPair()
146 camera3::StreamConfiguration::getStreamConfigurations(staticInfo, true, in getStreamConfigurationPair()
687 aidl::android::hardware::camera::device::StreamConfiguration &streamConfiguration /*out*/, in mapStream()
750 aidl::android::hardware::camera::device::StreamConfiguration &streamConfiguration, in convertToHALStreamCombination()
1037 const std::unordered_map<int, std::vector<camera3::StreamConfiguration>> &sm) { in inStreamConfigurationMap()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java3097 …public static final Key<android.hardware.camera2.params.StreamConfiguration[]> SCALER_AVAILABLE_ST…
3098 …camera2.params.StreamConfiguration[]>("android.scaler.availableStreamConfigurations", android.hard…
3585 …public static final Key<android.hardware.camera2.params.StreamConfiguration[]> SCALER_PHYSICAL_CAM…
3586 …rams.StreamConfiguration[]>("android.scaler.physicalCameraMultiResolutionStreamConfigurations", an…
3645 …public static final Key<android.hardware.camera2.params.StreamConfiguration[]> SCALER_AVAILABLE_ST…
3646 …params.StreamConfiguration[]>("android.scaler.availableStreamConfigurationsMaximumResolution", and…
5316 …public static final Key<android.hardware.camera2.params.StreamConfiguration[]> DEPTH_AVAILABLE_DEP…
5317 …mera2.params.StreamConfiguration[]>("android.depth.availableDepthStreamConfigurations", android.ha…
5425 …public static final Key<android.hardware.camera2.params.StreamConfiguration[]> DEPTH_AVAILABLE_DYN…
5426 …a2.params.StreamConfiguration[]>("android.depth.availableDynamicDepthStreamConfigurations", androi…
[all …]
/frameworks/av/services/camera/virtualcamera/tests/
DVirtualCameraSessionTest.cc69 using ::aidl::android::hardware::camera::device::StreamConfiguration;
178 StreamConfiguration streamConfiguration; in TEST_F()
200 StreamConfiguration streamConfiguration; in TEST_F()
238 StreamConfiguration streamConfiguration; in TEST_F()
263 StreamConfiguration streamConfiguration; in TEST_F()
279 StreamConfiguration streamConfiguration; in TEST_F()
290 StreamConfiguration streamConfiguration; in TEST_F()
340 StreamConfiguration streamConfiguration; in TEST_F()
368 StreamConfiguration streamConfiguration; in TEST_F()
395 StreamConfiguration streamConfiguration; in TEST_F()
[all …]
DVirtualCameraDeviceTest.cc49 using ::aidl::android::hardware::camera::device::StreamConfiguration;
150 StreamConfiguration configuration{ in TEST_P()
313 StreamConfiguration config; in TEST_F()
324 StreamConfiguration config; in TEST_F()
335 StreamConfiguration config; in TEST_F()
345 StreamConfiguration config; in TEST_F()
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/
DEyesFreeVidService.java45 import android.hardware.camera2.params.StreamConfiguration;
248 StreamConfiguration[] configurations = mCameraCharacteristics in getAvailableCharacteristicsKeyValues()
250 List<StreamConfiguration> tmpConfigs = new ArrayList<>(); in getAvailableCharacteristicsKeyValues()
251 for (StreamConfiguration sc : configurations) { in getAvailableCharacteristicsKeyValues()
256 StreamConfiguration[] filteredConfigurations = in getAvailableCharacteristicsKeyValues()
257 new StreamConfiguration[tmpConfigs.size()]; in getAvailableCharacteristicsKeyValues()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java66 import android.hardware.camera2.params.StreamConfiguration;
1175 ArrayList<ArrayList<StreamConfiguration>> /*out*/streamConfigList, in parseRecommendedConfigurations()
1184 streamConfigList.add(new ArrayList<StreamConfiguration> ()); in parseRecommendedConfigurations()
1203 StreamConfiguration streamConfiguration = new StreamConfiguration(internalFormat, in parseRecommendedConfigurations()
1220 ArrayList<StreamConfiguration> sc = streamConfigList.get(i); in parseRecommendedConfigurations()
1245 ArrayList<StreamConfiguration> sc = streamConfigList.get( in parseRecommendedConfigurations()
1247 sc.add(new StreamConfiguration(internalFormat, in parseRecommendedConfigurations()
1254 StreamConfiguration [] streamConfigurationArray = null;
1259 public void initializeStreamConfigurationData(ArrayList<StreamConfiguration> sc, in initializeStreamConfigurationData()
1266 scData.streamConfigurationArray = new StreamConfiguration[sc.size()]; in initializeStreamConfigurationData()
[all …]
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraDevice.h61 const ::aidl::android::hardware::camera::device::StreamConfiguration&
66 const ::aidl::android::hardware::camera::device::StreamConfiguration&
DVirtualCameraSessionContext.cc33 using ::aidl::android::hardware::camera::device::StreamConfiguration;
102 const StreamConfiguration& streamConfiguration) { in removeStreamsNotInStreamConfiguration()
DVirtualCameraDevice.cc62 using ::aidl::android::hardware::camera::device::StreamConfiguration;
368 std::vector<MetadataBuilder::StreamConfiguration> outputConfigurations; in initCameraCharacteristics()
383 return MetadataBuilder::StreamConfiguration{ in initCameraCharacteristics()
459 const StreamConfiguration& in_streams, bool* _aidl_return) { in isStreamCombinationSupported()
471 const StreamConfiguration& streamConfiguration) const { in isStreamCombinationSupported()
DVirtualCameraSessionContext.h55 const ::aidl::android::hardware::camera::device::StreamConfiguration&
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h415 struct StreamConfiguration { struct
425 Vector<StreamConfiguration> getStreamConfigurations();
428 Vector<StreamConfiguration> getPreferredStreamConfigurations(int32_t usecaseId) const;
DParameters.cpp1282 Vector<StreamConfiguration> scs = getStreamConfigurations(); in buildFastInfo()
3042 Vector<StreamConfiguration> scs = getStreamConfigurations(); in getFilteredSizes()
3044 const StreamConfiguration &sc = scs[i]; in getFilteredSizes()
3103 Vector<Parameters::StreamConfiguration> Parameters::getStreamConfigurations() { in getStreamConfigurations()
3109 Vector<StreamConfiguration> scs; in getStreamConfigurations()
3118 StreamConfiguration sc = {format, width, height, isInput}; in getStreamConfigurations()
3174 Vector<StreamConfiguration> scs = getStreamConfigurations(); in getAvailableOutputFormats()
3176 const StreamConfiguration &sc = scs[i]; in getAvailableOutputFormats()
3187 Vector<StreamConfiguration> scs = getStreamConfigurations(); in getAvailableJpegSizes()
3189 const StreamConfiguration &sc = scs[i]; in getAvailableJpegSizes()
[all …]
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp270 struct StreamConfiguration { struct
362 static StreamConfiguration getStreamConfiguration(const CameraMetadata& characteristics, in getStreamConfiguration()
366 StreamConfiguration streamConfig; in getStreamConfiguration()
437 StreamConfiguration secureStreamConfig = getStreamConfiguration( in BasicCameraTests()
453 StreamConfiguration depthStreamConfig = getStreamConfiguration( in BasicCameraTests()
DVtsHalCameraServiceV2_0TargetTest.cpp284 struct StreamConfiguration { struct
353 StreamConfiguration getStreamConfiguration(const CameraMetadata& characteristics, uint32_t tag, in getStreamConfiguration()
356 StreamConfiguration streamConfig; in getStreamConfiguration()
436 StreamConfiguration secureStreamConfig = in TEST_P()
454 StreamConfiguration depthStreamConfig = getStreamConfiguration( in TEST_P()
/frameworks/av/services/camera/virtualcamera/util/
DMetadataUtil.h42 struct StreamConfiguration { struct
148 const std::vector<StreamConfiguration>& streamConfigurations);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java40 import android.hardware.camera2.params.StreamConfiguration;
866 new StreamConfiguration[] { in testReadWriteStreamConfiguration()
867 new StreamConfiguration(ImageFormat.YUV_420_888, 640, 480, /*input*/false), in testReadWriteStreamConfiguration()
868 new StreamConfiguration(ImageFormat.RGB_565, 320, 240, /*input*/true), in testReadWriteStreamConfiguration()
1136 Key<StreamConfiguration[]> configKey = in testOverrideStreamConfigurationMap()
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3Device.cpp911 device::V3_2::StreamConfiguration requestedConfiguration3_2; in configureStreams()
912 device::V3_4::StreamConfiguration requestedConfiguration3_4; in configureStreams()
913 device::V3_7::StreamConfiguration requestedConfiguration3_7; in configureStreams()
1066 device::V3_5::StreamConfiguration requestedConfiguration3_5; in configureStreams()
1077 device::V3_5::StreamConfiguration requestedConfiguration3_5; in configureStreams()
1230 device::V3_2::StreamConfiguration requestedConfiguration3_2; in configureInjectedStreams()
1231 device::V3_4::StreamConfiguration requestedConfiguration3_4; in configureInjectedStreams()
1232 device::V3_7::StreamConfiguration requestedConfiguration3_7; in configureInjectedStreams()

12