/frameworks/av/camera/include/camera/ |
D | CameraMetadata.h | 34 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/ |
D | CameraMetadata.cpp | 35 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/ |
D | CameraServiceProxyTest.java | 29 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/ |
D | DynamicRangeProfiles.java | 22 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/ |
D | SessionConfigurationUtils.h | 62 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 …]
|
D | TagMonitor.h | 69 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;
|
D | SessionConfigurationUtilsHost.cpp | 76 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/ |
D | StaticMetadata.java | 25 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/ |
D | ZoomRatioMapper.h | 39 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,
|
D | UHRCropAndMeteringRegionMapper.h | 36 UHRCropAndMeteringRegionMapper(const CameraMetadata &deviceInfo, bool usePreCorrectionArray); 41 status_t updateCaptureRequest(CameraMetadata *request); 45 void fixCropRegionsIfNeeded(CameraMetadata *request); 46 void fixMeteringRegionsIfNeeded(CameraMetadata *request);
|
D | RotateAndCropMapper.h | 37 static bool isNeeded(const CameraMetadata* deviceInfo); 39 RotateAndCropMapper(const CameraMetadata* deviceInfo); 46 status_t updateCaptureRequest(CameraMetadata *request); 51 status_t updateCaptureResult(CameraMetadata *result);
|
D | DistortionMapper.h | 49 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);
|
D | Camera3Device.h | 127 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 …]
|
D | Camera3OfflineSession.h | 61 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/ |
D | android_hardware_camera2_CameraMetadata.cpp | 83 /*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/ |
D | AidlUtils.h | 44 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/ |
D | camera_metadata_fuzzer.cpp | 38 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()
|
D | camera_captureResult_fuzzer.cpp | 36 CameraMetadata cameraMetadata = CameraMetadata(); in LLVMFuzzerTestOneInput() 45 captureResult->mMetadata = CameraMetadata(); in LLVMFuzzerTestOneInput()
|
/frameworks/av/services/camera/virtualcamera/util/ |
D | MetadataUtil.h | 433 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/ |
D | EyesFreeVidService.java | 34 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/ |
D | RotateAndCropMapperTest.cpp | 54 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 …]
|
D | ExifUtilsTest.cpp | 26 using android::CameraMetadata; 37 CameraMetadata metadata; in TEST() 39 CameraMetadata staticInfo; in TEST()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.h | 34 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/ |
D | ZslProcessor.h | 122 CameraMetadata frame; 128 std::vector<CameraMetadata> mFrameList; 135 CameraMetadata mLatestCapturedRequest; 167 status_t updateRequestWithDefaultStillRequest(CameraMetadata &request) const;
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraDeviceBase.h | 104 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;
|