Home
last modified time | relevance | path

Searched refs:characteristics (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraErrorCollector.java640 public <T> T expectKeyValueNotNull(CameraCharacteristics characteristics, in expectKeyValueNotNull() argument
643 T value = characteristics.get(key); in expectKeyValueNotNull()
832 CameraCharacteristics characteristics, CameraCharacteristics.Key<T> key, T expected) { in expectKeyValueGreaterThan() argument
834 if ((value = expectKeyValueNotNull(characteristics, key)) == null) { in expectKeyValueGreaterThan()
850 CameraCharacteristics characteristics, CameraCharacteristics.Key<T> key, T min, T max) { in expectKeyValueInRange() argument
852 if ((value = expectKeyValueNotNull(characteristics, key)) == null) { in expectKeyValueInRange()
865 public <T> void expectKeyValueIsIn(CameraCharacteristics characteristics, in expectKeyValueIsIn() argument
867 T value = expectKeyValueNotNull(characteristics, key); in expectKeyValueIsIn()
900 public <T> void expectKeyValueContains(CameraCharacteristics characteristics, in expectKeyValueContains() argument
903 if ((value = expectKeyValueNotNull(characteristics, key)) == null) { in expectKeyValueContains()
[all …]
DCameraUtils.java45 CameraCharacteristics characteristics = in isLegacyHAL() local
48 return characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == in isLegacyHAL()
DStaticMetadata.java139 public StaticMetadata(CameraCharacteristics characteristics) { in StaticMetadata() argument
140 this(characteristics, CheckLevel.WARN, /*collector*/null); in StaticMetadata()
154 public StaticMetadata(CameraCharacteristics characteristics, CameraErrorCollector collector) { in StaticMetadata() argument
155 this(characteristics, CheckLevel.COLLECT, collector); in StaticMetadata()
172 public StaticMetadata(CameraCharacteristics characteristics, CheckLevel level, in StaticMetadata() argument
174 if (characteristics == null) { in StaticMetadata()
181 mCharacteristics = characteristics; in StaticMetadata()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp174 NativeContext(const CameraMetadata& characteristics, const CameraMetadata& result);
221 NativeContext::NativeContext(const CameraMetadata& characteristics, const CameraMetadata& result) : in NativeContext() argument
222 mCharacteristics(std::make_shared<CameraMetadata>(characteristics)), in NativeContext()
802 static bool isMaximumResolutionModeImage(const CameraMetadata& characteristics, uint32_t imageWidth, in isMaximumResolutionModeImage() argument
807 characteristics.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES); in isMaximumResolutionModeImage()
823 camera_metadata_ro_entry entry = characteristics.find( in isMaximumResolutionModeImage()
832 characteristics.find(ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE_MAXIMUM_RESOLUTION); in isMaximumResolutionModeImage()
847 static status_t calculateAndSetCrop(JNIEnv* env, const CameraMetadata& characteristics, in calculateAndSetCrop() argument
849 camera_metadata_ro_entry entry = characteristics.find( in calculateAndSetCrop()
879 const CameraMetadata& characteristics, jint width, jint height) { in validateDngHeader() argument
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h230 bool overrideForPerfClass, CameraMetadata* characteristics) const;
478 CameraMetadata *characteristics) const { in getCameraCharacteristics()
480 (void) characteristics; in getCameraCharacteristics()
484 CameraMetadata *characteristics) const { in getPhysicalCameraCharacteristics()
486 (void) characteristics; in getPhysicalCameraCharacteristics()
548 CameraMetadata *characteristics) const override;
550 CameraMetadata *characteristics) const override;
703 CameraMetadata* characteristics) const;
DCameraProviderManager.cpp282 bool overrideForPerfClass, CameraMetadata* characteristics) const { in getCameraCharacteristics()
284 return getCameraCharacteristicsLocked(id, overrideForPerfClass, characteristics); in getCameraCharacteristics()
2491 bool overrideForPerfClass, CameraMetadata *characteristics) const { in getCameraCharacteristics()
2492 if (characteristics == nullptr) return BAD_VALUE; in getCameraCharacteristics()
2495 *characteristics = *mCameraCharNoPCOverride; in getCameraCharacteristics()
2497 *characteristics = mCameraCharacteristics; in getCameraCharacteristics()
2504 const std::string& physicalCameraId, CameraMetadata *characteristics) const { in getPhysicalCameraCharacteristics()
2505 if (characteristics == nullptr) return BAD_VALUE; in getPhysicalCameraCharacteristics()
2511 *characteristics = mPhysicalCameraCharacteristics.at(physicalCameraId); in getPhysicalCameraCharacteristics()
3123 bool overrideForPerfClass, CameraMetadata* characteristics) const { in getCameraCharacteristicsLocked()
[all …]
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp326 bool doesCapabilityExist(const CameraMetadata& characteristics, int capability) { in doesCapabilityExist() argument
328 characteristics.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES); in doesCapabilityExist()
338 bool isSecureOnlyDevice(const CameraMetadata& characteristics) { in isSecureOnlyDevice() argument
340 characteristics.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES); in isSecureOnlyDevice()
351 StreamConfiguration getStreamConfiguration(const CameraMetadata& characteristics, uint32_t tag, in getStreamConfiguration() argument
353 camera_metadata_ro_entry rawEntry = characteristics.find(tag); in getStreamConfiguration()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java87 public DngCreator(@NonNull CameraCharacteristics characteristics, in DngCreator() argument
89 if (characteristics == null || metadata == null) { in DngCreator()
98 int timestampSource = characteristics.get( in DngCreator()
131 nativeInit(characteristics.getNativeCopy(), metadata.getNativeCopy(), in DngCreator()
DCameraManager.java466 CameraCharacteristics characteristics = null; in getCameraCharacteristics() local
498 characteristics = new CameraCharacteristics(info); in getCameraCharacteristics()
507 return characteristics; in getCameraCharacteristics()
570 CameraCharacteristics characteristics = getCameraCharacteristics(cameraId); in openCameraDeviceUserAsync() local
573 getPhysicalIdToCharsMap(characteristics); in openCameraDeviceUserAsync()
582 characteristics, in openCameraDeviceUserAsync()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraManager.h232 /*out*/ACameraMetadata** characteristics) __INTRODUCED_IN(24);
/frameworks/base/core/proto/android/view/
Ddisplayinfo.proto24 // Represents DisplayInfo. Describes the characteristics of a particular
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverView.java.template38 // Initialize renderscript with desired surface characteristics.
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java71 CameraCharacteristics characteristics) { in CameraConstrainedHighSpeedCaptureSessionImpl() argument
72 mCharacteristics = characteristics; in CameraConstrainedHighSpeedCaptureSessionImpl()
DCameraOfflineSessionImpl.java96 public CameraOfflineSessionImpl(String cameraId, CameraCharacteristics characteristics, in CameraOfflineSessionImpl() argument
103 if ((cameraId == null) || (characteristics == null)) { in CameraOfflineSessionImpl()
108 mCharacteristics = characteristics; in CameraOfflineSessionImpl()
/frameworks/rs/script_api/
Drs_for_each.spec22 The other functions are used to get the characteristics of the invocation of
50 The kernel context contains common characteristics of the allocations being iterated
241 The kernel context contains common characteristics of the allocations being iterated
Drs_object_info.spec20 The functions below can be used to query the characteristics of an Allocation, Element,
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java785 CameraDeviceInfo.Characteristics characteristics =
788 mCameraIndex, mCamera, characteristics, props);
988 CameraDeviceInfo.Characteristics characteristics, in AndroidCamera2ProxyImpl() argument
993 mCharacteristics = characteristics; in AndroidCamera2ProxyImpl()
DAndroidCameraAgentImpl.java769 CameraDeviceInfo.Characteristics characteristics, in AndroidCameraProxyImpl() argument
774 mCharacteristics = characteristics; in AndroidCameraProxyImpl()
/frameworks/rs/script_api/include/
Drs_for_each.rsh24 * The other functions are used to get the characteristics of the invocation of
53 * The kernel context contains common characteristics of the allocations being iterated
212 * The kernel context contains common characteristics of the allocations being iterated
361 * The kernel context contains common characteristics of the allocations being iterated
Drs_object_info.rsh22 * The functions below can be used to query the characteristics of an Allocation, Element,
46 * The functions below let you query the characteristics of the type specificiation.
140 * Get the Element object describing the type, kind, and other characteristics of a cell
/frameworks/av/camera/ndk/impl/
DACameraManager.h274 const char* cameraId, android::sp<ACameraMetadata>* characteristics);
DACameraManager.cpp683 const char* cameraIdStr, sp<ACameraMetadata>* characteristics) { in getCameraCharacteristics() argument
710 *characteristics = new ACameraMetadata( in getCameraCharacteristics()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.h265 const char* cameraId, android::sp<ACameraMetadata>* characteristics);
DACameraManager.cpp714 const char *cameraIdStr, sp<ACameraMetadata> *characteristics) { in getCameraCharacteristics() argument
738 *characteristics = new ACameraMetadata( in getCameraCharacteristics()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMainActivity.java356 CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in openCamera() local
358 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in openCamera()

12