Home
last modified time | relevance | path

Searched refs:CameraMetadata (Results 1 – 25 of 194) sorted by relevance

12345678

/frameworks/av/camera/include/camera/
DCameraMetadata.h34 class CameraMetadata: public Parcelable {
38 CameraMetadata();
41 CameraMetadata(size_t entryCapacity, size_t dataCapacity = 10);
46 CameraMetadata(CameraMetadata &&other);
48 ~CameraMetadata();
51 CameraMetadata(camera_metadata_t *buffer);
53 CameraMetadata(const CameraMetadata &other);
58 CameraMetadata &operator=(const CameraMetadata &other);
59 CameraMetadata &operator=(const camera_metadata_t *buffer);
64 CameraMetadata &operator=(CameraMetadata &&other);
[all …]
/frameworks/av/camera/
DCameraMetadata.cpp35 CameraMetadata::CameraMetadata() : in CameraMetadata() function in android::CameraMetadata
39 CameraMetadata::CameraMetadata(size_t entryCapacity, size_t dataCapacity) : in CameraMetadata() function in android::CameraMetadata
45 CameraMetadata::CameraMetadata(const CameraMetadata &other) : in CameraMetadata() function in android::CameraMetadata
50 CameraMetadata::CameraMetadata(CameraMetadata &&other) :mBuffer(NULL), mLocked(false) { in CameraMetadata() function in android::CameraMetadata
54 CameraMetadata &CameraMetadata::operator=(CameraMetadata &&other) { in operator =()
59 CameraMetadata::CameraMetadata(camera_metadata_t *buffer) : in CameraMetadata() function in android::CameraMetadata
64 CameraMetadata &CameraMetadata::operator=(const CameraMetadata &other) { in operator =()
68 CameraMetadata &CameraMetadata::operator=(const camera_metadata_t *buffer) { in operator =()
82 CameraMetadata::~CameraMetadata() { in ~CameraMetadata()
87 const camera_metadata_t* CameraMetadata::getAndLock() const { in getAndLock()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/camera/
DCameraServiceProxyTest.java29 import android.hardware.camera2.CameraMetadata;
53 CameraMetadata.SCALER_ROTATE_AND_CROP_NONE); in testGetCropRotateScale()
58 CameraMetadata.SCALER_ROTATE_AND_CROP_90); in testGetCropRotateScale()
64 CameraMetadata.SCALER_ROTATE_AND_CROP_90); in testGetCropRotateScale()
69 CameraMetadata.SCALER_ROTATE_AND_CROP_90); in testGetCropRotateScale()
76 CameraMetadata.SCALER_ROTATE_AND_CROP_NONE); in testGetCropRotateScale()
79 Surface.ROTATION_0, CameraMetadata.SCALER_ROTATE_AND_CROP_NONE, in testGetCropRotateScale()
80 Surface.ROTATION_90, CameraMetadata.SCALER_ROTATE_AND_CROP_90, in testGetCropRotateScale()
81 Surface.ROTATION_270, CameraMetadata.SCALER_ROTATE_AND_CROP_270, in testGetCropRotateScale()
82 Surface.ROTATION_180, CameraMetadata.SCALER_ROTATE_AND_CROP_180); in testGetCropRotateScale()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DDynamicRangeProfiles.java22 import android.hardware.camera2.CameraMetadata;
60 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_STANDARD;
68 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_HLG10;
77 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_HDR10;
86 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_HDR10_PLUS;
94 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_DOLBY_VISION_10B_HDR_REF;
100 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_DOLBY_VISION_10B_HDR_REF_PO;
110 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_DOLBY_VISION_10B_HDR_OEM;
117 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_DOLBY_VISION_10B_HDR_OEM_PO;
124 CameraMetadata.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_DOLBY_VISION_8B_HDR_REF;
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.h62 typedef std::function<CameraMetadata (const std::string &, bool overrideForPerfClass)>
72 const CameraMetadata &static_info, bool maxRes,
75 const CameraMetadata &static_info, int configuration,
90 camera3::Size getMaxJpegResolution(const CameraMetadata &metadata,
101 android_dataspace dataSpace, const CameraMetadata& info, bool maxResolution,
112 const std::string &logicalCameraId, const CameraMetadata &physicalCameraMetadata,
124 bool isDynamicRangeProfileSupported(int64_t dynamicRangeProfile, const CameraMetadata& staticMeta);
126 bool deviceReportsColorSpaces(const CameraMetadata& staticMeta);
129 int64_t dynamicRangeProfile, const CameraMetadata& staticMeta);
133 bool isStreamUseCaseSupported(int64_t streamUseCase, const CameraMetadata &deviceInfo);
[all …]
DTagMonitor.h69 nsecs_t timestamp, const CameraMetadata& metadata,
70 const std::unordered_map<std::string, CameraMetadata>& physicalMetadata,
93 const CameraMetadata& metadata, const std::unordered_set<int32_t> &outputStreamIds,
103 CameraMetadata mLastMonitoredRequestValues;
104 CameraMetadata mLastMonitoredResultValues;
106 std::unordered_map<std::string, CameraMetadata> mLastMonitoredPhysicalRequestKeys;
107 std::unordered_map<std::string, CameraMetadata> mLastMonitoredPhysicalResultKeys;
DSessionConfigurationUtilsHost.cpp76 static bool isKeyPresentWithCount(const CameraMetadata &deviceInfo, uint32_t tag, uint32_t count) { in isKeyPresentWithCount()
81 static bool supportsKeysForBasicUltraHighResolutionCapture(const CameraMetadata &deviceInfo) { in supportsKeysForBasicUltraHighResolutionCapture()
131 bool supportsUltraHighResolutionCapture(const CameraMetadata &deviceInfo) { in supportsUltraHighResolutionCapture()
148 bool getArrayWidthAndHeight(const CameraMetadata *deviceInfo, in getArrayWidthAndHeight()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java25 import android.hardware.camera2.CameraMetadata;
205 return getHardwareLevelChecked() == CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_FULL; in isHardwareLevelFull()
234 return getHardwareLevelChecked() == CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY; in isHardwareLevelLegacy()
243 return getSyncMaxLatency() == CameraMetadata.SYNC_MAX_LATENCY_PER_FRAME_CONTROL; in isPerFrameControlSupported()
256 return CameraMetadata.SYNC_MAX_LATENCY_UNKNOWN; in getSyncMaxLatency()
271 return getHardwareLevelChecked() == CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED; in isHardwareLevelLimited()
295 return hwLevelInt == CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_FULL || in isHardwareLevelLimitedOrBetter()
296 hwLevelInt == CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED; in isHardwareLevelLimitedOrBetter()
363 case CameraMetadata.CONTROL_AF_MODE_AUTO: in hasFocuser()
364 case CameraMetadata.CONTROL_AF_MODE_CONTINUOUS_PICTURE: in hasFocuser()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DZoomRatioMapper.h39 ZoomRatioMapper(const CameraMetadata *deviceInfo,
51 static status_t initZoomRatioInTemplate(CameraMetadata *request);
57 CameraMetadata* deviceInfo, bool* supportNativeZoomRatio);
62 status_t updateCaptureRequest(CameraMetadata *request);
67 status_t updateCaptureResult(CameraMetadata *request, bool requestedZoomRatioIs1);
87 status_t deriveZoomRatio(const CameraMetadata* metadata, float *zoomRatio, int arrayWidth,
92 status_t separateZoomFromCropLocked(CameraMetadata* metadata, bool isResult, int arrayWidth,
94 status_t combineZoomAndCropLocked(CameraMetadata* metadata, bool isResult, int arrayWidth,
96 status_t getArrayDimensionsToBeUsed(const CameraMetadata *settings, int32_t *arrayWidth,
DUHRCropAndMeteringRegionMapper.h36 UHRCropAndMeteringRegionMapper(const CameraMetadata &deviceInfo, bool usePreCorrectionArray);
41 status_t updateCaptureRequest(CameraMetadata *request);
45 void fixCropRegionsIfNeeded(CameraMetadata *request);
46 void fixMeteringRegionsIfNeeded(CameraMetadata *request);
DRotateAndCropMapper.h37 static bool isNeeded(const CameraMetadata* deviceInfo);
39 RotateAndCropMapper(const CameraMetadata* deviceInfo);
46 status_t updateCaptureRequest(CameraMetadata *request);
51 status_t updateCaptureResult(CameraMetadata *result);
DDistortionMapper.h49 static bool isDistortionSupported(const CameraMetadata &deviceInfo);
54 status_t setupStaticInfo(const CameraMetadata &deviceInfo);
64 status_t correctCaptureRequest(CameraMetadata *request);
69 status_t correctCaptureResult(CameraMetadata *request);
79 status_t updateCalibration(const CameraMetadata &result, bool isStatic = false,
194 status_t setupStaticInfoLocked(const CameraMetadata &deviceInfo, bool maxResolution);
DCamera3Device.h127 const CameraMetadata& info() const override;
128 const CameraMetadata& infoPhysical(const std::string& physicalId) const override;
133 status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) override;
137 status_t setStreamingRequest(const CameraMetadata &request,
196 status_t configureStreams(const CameraMetadata& sessionParams,
205 CameraMetadata *request) override;
230 ssize_t getJpegBufferSize(const CameraMetadata &info, uint32_t width,
232 ssize_t getPointCloudBufferSize(const CameraMetadata &info) const;
233 ssize_t getRawOpaqueBufferSize(const CameraMetadata &info, int32_t width, int32_t height,
360 status_t injectSessionParams(const CameraMetadata& sessionParams);
[all …]
DCamera3OfflineSession.h61 const uint32_t nextZslShutterFN, const CameraMetadata& deviceInfo, in Camera3OfflineStates()
62 const std::unordered_map<std::string, CameraMetadata>& physicalDeviceInfoMap, in Camera3OfflineStates()
118 const CameraMetadata& mDeviceInfo;
120 const std::unordered_map<std::string, CameraMetadata>& mPhysicalDeviceInfoMap;
162 const CameraMetadata& info() const override;
216 const CameraMetadata mDeviceInfo;
217 std::unordered_map<std::string, CameraMetadata> mPhysicalDeviceInfoMap;
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp83 /*out*/CameraMetadata* metadata) { in CameraMetadata_getNativeMetadata()
93 auto nativePtr = reinterpret_cast<std::shared_ptr<CameraMetadata> *>( in CameraMetadata_getNativeMetadata()
116 static status_t updateAny(CameraMetadata *metadata, in updateAny()
178 static std::shared_ptr<CameraMetadata>* CameraMetadata_getSharedPtr(jlong metadataLongPtr) { in CameraMetadata_getSharedPtr()
179 return reinterpret_cast<std::shared_ptr<CameraMetadata>* >(metadataLongPtr); in CameraMetadata_getSharedPtr()
183 static CameraMetadata* CameraMetadata_getPointerNoThrow(jlong ptr) { in CameraMetadata_getPointerNoThrow()
192 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jlong ptr, in CameraMetadata_getPointerThrow()
194 CameraMetadata* metadata = CameraMetadata_getPointerNoThrow(ptr); in CameraMetadata_getPointerThrow()
209 return reinterpret_cast<jlong>(new std::shared_ptr<CameraMetadata>(new CameraMetadata())); in CameraMetadata_allocate()
215 CameraMetadata* otherMetadata = in CameraMetadata_allocateCopy()
[all …]
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlUtils.h44 using ::android::CameraMetadata;
49 using SCameraMetadata = ::aidl::android::frameworks::cameraservice::device::CameraMetadata;
88 bool cloneFromAidl(const SCameraMetadata &src, CameraMetadata *dst);
123 status_t filterVndkKeys(int vndkVersion, CameraMetadata &metadata, bool isStatic = true);
125 status_t copySessionCharacteristics(const CameraMetadata& from, CameraMetadata* to,
128 bool areExtensionKeysSupported(const CameraMetadata& metadata);
130 status_t filterExtensionKeys(CameraMetadata* metadata /*out*/);
/frameworks/av/camera/tests/fuzzer/
Dcamera_metadata_fuzzer.cpp38 CameraMetadata* mCameraMetadata = nullptr;
57 mCameraMetadata = new CameraMetadata(mMetaBuffer); in initCameraMetadata()
60 mCameraMetadata = new CameraMetadata(); in initCameraMetadata()
65 mCameraMetadata = new CameraMetadata(entryCapacity, dataCapacity); in initCameraMetadata()
157 [&]() { CameraMetadata metadataCopy(mCameraMetadata->release()); }, in invokeCameraMetadata()
160 CameraMetadata otherCameraMetadata; in invokeCameraMetadata()
170 CameraMetadata otherCameraMetadata(entryCapacityVector.size()); in invokeCameraMetadata()
203 invokeReadWriteNullParcel<CameraMetadata>(mCameraMetadata); in invokeCameraMetadata()
205 invokeReadWriteParcel<CameraMetadata>(mCameraMetadata); in invokeCameraMetadata()
207 invokeNewReadWriteParcel<CameraMetadata>(mCameraMetadata, *mFDP); in invokeCameraMetadata()
Dcamera_captureResult_fuzzer.cpp36 CameraMetadata cameraMetadata = CameraMetadata(); in LLVMFuzzerTestOneInput()
45 captureResult->mMetadata = CameraMetadata(); in LLVMFuzzerTestOneInput()
/frameworks/av/services/camera/virtualcamera/util/
DMetadataUtil.h433 std::unique_ptr<::aidl::android::hardware::camera::device::CameraMetadata>
450 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
454 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
458 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
462 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
467 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
470 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
473 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
478 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
481 const aidl::android::hardware::camera::device::CameraMetadata& metadata);
[all …]
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/
DEyesFreeVidService.java34 import android.hardware.camera2.CameraMetadata;
217 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT, in getAvailableCharacteristicsKeyValues()
218 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_RAW, in getAvailableCharacteristicsKeyValues()
219 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING, in getAvailableCharacteristicsKeyValues()
220 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING, in getAvailableCharacteristicsKeyValues()
221 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_CONSTRAINED_HIGH_SPEED_VIDEO, in getAvailableCharacteristicsKeyValues()
222 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_OFFLINE_PROCESSING, in getAvailableCharacteristicsKeyValues()
223 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_REMOSAIC_REPROCESSING, in getAvailableCharacteristicsKeyValues()
224 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_MONOCHROME, in getAvailableCharacteristicsKeyValues()
225 CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_SECURE_IMAGE_DATA, in getAvailableCharacteristicsKeyValues()
[all …]
/frameworks/av/services/camera/libcameraservice/tests/
DRotateAndCropMapperTest.cpp54 CameraMetadata setupDeviceInfo(int32_t activeArray[4], std::vector<uint8_t> availableCropModes ) { in setupDeviceInfo()
55 CameraMetadata deviceInfo; in setupDeviceInfo()
67 CameraMetadata deviceInfo = setupDeviceInfo(testActiveArray, in TEST()
81 CameraMetadata deviceInfo = setupDeviceInfo(testActiveArray, in TEST()
86 CameraMetadata request; in TEST()
110 CameraMetadata result(request); in TEST()
134 CameraMetadata deviceInfo = setupDeviceInfo(testActiveArray, in TEST()
139 CameraMetadata request; in TEST()
173 CameraMetadata result(request); in TEST()
226 CameraMetadata deviceInfo = setupDeviceInfo(testActiveArray, in TEST()
[all …]
DExifUtilsTest.cpp26 using android::CameraMetadata;
37 CameraMetadata metadata; in TEST()
39 CameraMetadata staticInfo; in TEST()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.h34 using CameraMetadata = android::hardware::camera::common::V1_0::helper::CameraMetadata; variable
63 ACameraMetadata(const std::shared_ptr<CameraMetadata>& cameraMetadata,
87 const CameraMetadata& getInternalData() const;
138 std::shared_ptr<CameraMetadata> mData;
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.h122 CameraMetadata frame;
128 std::vector<CameraMetadata> mFrameList;
135 CameraMetadata mLatestCapturedRequest;
167 status_t updateRequestWithDefaultStillRequest(CameraMetadata &request) const;
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h104 virtual const CameraMetadata& infoPhysical(const std::string& physicalId) const = 0;
110 CameraMetadata metadata;
132 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
147 virtual status_t setStreamingRequest(const CameraMetadata &request,
298 virtual status_t configureStreams(const CameraMetadata& sessionParams,
317 CameraMetadata *request) = 0;
330 virtual ssize_t getJpegBufferSize(const CameraMetadata &info, uint32_t width,
514 const CameraMetadata& sessionParams) = 0;

12345678