Home
last modified time | relevance | path

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

1234

/frameworks/av/camera/
DCameraMetadata.cpp34 CameraMetadata::CameraMetadata() : in CameraMetadata() function in android::CameraMetadata
38 CameraMetadata::CameraMetadata(size_t entryCapacity, size_t dataCapacity) : in CameraMetadata() function in android::CameraMetadata
44 CameraMetadata::CameraMetadata(const CameraMetadata &other) : in CameraMetadata() function in android::CameraMetadata
49 CameraMetadata::CameraMetadata(camera_metadata_t *buffer) : in CameraMetadata() function in android::CameraMetadata
54 CameraMetadata &CameraMetadata::operator=(const CameraMetadata &other) { in operator =()
58 CameraMetadata &CameraMetadata::operator=(const camera_metadata_t *buffer) { in operator =()
72 CameraMetadata::~CameraMetadata() { in ~CameraMetadata()
77 const camera_metadata_t* CameraMetadata::getAndLock() const { in getAndLock()
82 status_t CameraMetadata::unlock(const camera_metadata_t *buffer) const { in unlock()
96 camera_metadata_t* CameraMetadata::release() { in release()
[all …]
/frameworks/av/camera/include/camera/
DCameraMetadata.h34 class CameraMetadata: public Parcelable {
38 CameraMetadata();
41 CameraMetadata(size_t entryCapacity, size_t dataCapacity = 10);
43 ~CameraMetadata();
46 CameraMetadata(camera_metadata_t *buffer);
48 CameraMetadata(const CameraMetadata &other);
53 CameraMetadata &operator=(const CameraMetadata &other);
54 CameraMetadata &operator=(const camera_metadata_t *buffer);
98 void acquire(CameraMetadata &other);
103 status_t append(const CameraMetadata &other);
[all …]
DCaptureResult.h110 const CameraMetadata& cameraMetadata) in PhysicalCaptureResultInfo()
116 CameraMetadata mPhysicalCameraMetadata;
130 CameraMetadata mMetadata;
/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/utils/
DTagMonitor.h66 nsecs_t timestamp, const CameraMetadata& metadata,
67 const std::unordered_map<std::string, CameraMetadata>& physicalMetadata);
79 const CameraMetadata& metadata);
88 CameraMetadata mLastMonitoredRequestValues;
89 CameraMetadata mLastMonitoredResultValues;
91 std::unordered_map<std::string, CameraMetadata> mLastMonitoredPhysicalRequestKeys;
92 std::unordered_map<std::string, CameraMetadata> mLastMonitoredPhysicalResultKeys;
DTagMonitor.cpp78 status_t res = CameraMetadata::getTagFromName(nextTagName, vTags.get(), &tag); in parseTagsToMonitor()
108 const CameraMetadata& metadata, in monitorMetadata()
109 const std::unordered_map<std::string, CameraMetadata>& physicalMetadata) { in monitorMetadata()
129 const std::string& cameraId, uint32_t tag, const CameraMetadata& metadata) { in monitorSingleMetadata()
131 CameraMetadata &lastValues = (source == REQUEST) ? in monitorSingleMetadata()
139 lastValues = CameraMetadata(mMonitoredTagList.size()); in monitorSingleMetadata()
DExifUtils.h73 virtual bool setFromMetadata(const CameraMetadata& metadata,
74 const CameraMetadata& staticInfo,
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp82 /*out*/CameraMetadata* metadata) { in CameraMetadata_getNativeMetadata()
92 CameraMetadata* nativePtr = reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, in CameraMetadata_getNativeMetadata()
115 static status_t updateAny(CameraMetadata *metadata, in updateAny()
173 static CameraMetadata* CameraMetadata_getPointerNoThrow(JNIEnv *env, jobject thiz) { in CameraMetadata_getPointerNoThrow()
179 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr)); in CameraMetadata_getPointerNoThrow()
183 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jobject thiz, in CameraMetadata_getPointerThrow()
193 CameraMetadata* metadata = CameraMetadata_getPointerNoThrow(env, thiz); in CameraMetadata_getPointerThrow()
208 return reinterpret_cast<jlong>(new CameraMetadata()); in CameraMetadata_allocate()
215 CameraMetadata* otherMetadata = in CameraMetadata_allocateCopy()
222 return reinterpret_cast<jlong>(new CameraMetadata(*otherMetadata)); in CameraMetadata_allocateCopy()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h89 const CameraMetadata& info() const override;
90 const CameraMetadata& info(const String8& physicalId) const override;
94 status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) override;
98 status_t setStreamingRequest(const CameraMetadata &request,
136 status_t configureStreams(const CameraMetadata& sessionParams,
143 status_t createDefaultRequest(int templateId, CameraMetadata *request) override;
313 bool isReconfigurationRequired(CameraMetadata& oldSessionParams,
314 CameraMetadata& newSessionParams);
428 CameraMetadata mDeviceInfo;
429 std::unordered_map<std::string, CameraMetadata> mPhysicalDeviceInfoMap;
[all …]
DDistortionMapper.h41 static bool isDistortionSupported(const CameraMetadata &deviceInfo);
46 status_t setupStaticInfo(const CameraMetadata &deviceInfo);
56 status_t correctCaptureRequest(CameraMetadata *request);
61 status_t correctCaptureResult(CameraMetadata *request);
68 status_t updateCalibration(const CameraMetadata &result);
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h71 virtual const CameraMetadata& info() const = 0;
75 virtual const CameraMetadata& info(const String8& physicalId) const = 0;
79 CameraMetadata metadata;
88 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
103 virtual status_t setStreamingRequest(const CameraMetadata &request,
232 virtual status_t configureStreams(const CameraMetadata& sessionParams,
244 CameraMetadata *request) = 0;
DFrameProcessorBase.cpp36 CameraMetadata staticInfo = cameraDevice->info(); in FrameProcessorBase()
91 CameraMetadata lastFrame; in dump()
92 std::map<std::string, CameraMetadata> lastPhysicalFrames; in dump()
96 lastFrame = CameraMetadata(mLastFrame); in dump()
109 CameraMetadata lastPhysicalMetadata = CameraMetadata(physicalFrame.second); in dump()
DCameraProviderManager.h178 CameraMetadata* characteristics) const;
396 virtual status_t getCameraCharacteristics(CameraMetadata *characteristics) const { in getCameraCharacteristics()
401 CameraMetadata *characteristics) const { in getPhysicalCameraCharacteristics()
483 CameraMetadata *characteristics) const override;
485 CameraMetadata *characteristics) const override;
498 CameraMetadata mCameraCharacteristics;
499 std::unordered_map<std::string, CameraMetadata> mPhysicalCameraCharacteristics;
504 static void getSupportedSizes(const CameraMetadata& ch, uint32_t tag,
507 void getSupportedDurations( const CameraMetadata& ch, uint32_t tag,
520 status_t removeAvailableKeys(CameraMetadata& c, const std::vector<uint32_t>& keys,
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.h122 CameraMetadata frame;
128 Vector<CameraMetadata> mFrameList;
135 CameraMetadata mLatestCapturedRequest;
167 status_t updateRequestWithDefaultStillRequest(CameraMetadata &request) const;
DStreamingProcessor.h103 CameraMetadata mPreviewRequest;
109 CameraMetadata mRecordingRequest;
DFrameProcessor.h59 status_t processFaceDetect(const CameraMetadata &frame,
68 bool updatePendingState(const CameraMetadata& result, int32_t tag, T* value,
DCaptureSequencer.h96 CameraMetadata mNewFrame;
144 CameraMetadata mCaptureRequest;
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.h33 class CameraMetadata; variable
80 const CameraMetadata& settings) override;
114 std::unordered_map<uint64_t, CameraMetadata> mPendingCaptureResults;
117 std::unordered_map<int64_t, std::tuple<int64_t, CameraMetadata>> mCaptureResults;
DDepthCompositeStream.h35 class CameraMetadata; variable
66 const CameraMetadata& ch, std::vector<OutputStreamInfo>* compositeOutput /*out*/);
78 CameraMetadata result;
87 static void getSupportedDepthSizes(const CameraMetadata& ch,
DHeicCompositeStream.h65 const CameraMetadata& settings) override;
72 const CameraMetadata& ch, std::vector<OutputStreamInfo>* compositeOutput /*out*/);
151 std::unique_ptr<CameraMetadata> result;
201 static size_t calcAppSegmentMaxSize(const CameraMetadata& info);
218 CameraMetadata mStaticInfo;
DCompositeStream.cpp39 CameraMetadata staticInfo = cameraDevice->info(); in CompositeStream()
86 const CameraMetadata& /*settings*/) { in onBufferRequestForFrameNumber() argument
89 mPendingCaptureResults.emplace(frameNumber, CameraMetadata()); in onBufferRequestForFrameNumber()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.h29 using CameraMetadata = android::hardware::camera::common::V1_0::helper::CameraMetadata; variable
68 const CameraMetadata& getInternalData() const;
115 CameraMetadata mData;
/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.h34 using CameraMetadata = hardware::camera::common::V1_0::helper::CameraMetadata; variable
35 using HCameraMetadata = frameworks::cameraservice::service::V2_0::CameraMetadata;
169 bool convertFromHidlCloned(const HCameraMetadata &metadata, CameraMetadata *rawMetadata);
/frameworks/hardware/interfaces/cameraservice/service/2.0/
Dtypes.hal19 import android.frameworks.cameraservice.device@2.0::CameraMetadata;
21 typedef android.frameworks.cameraservice.device@2.0::CameraMetadata CameraMetadata;
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java51 public abstract class CameraMetadata<TKey> { class
68 protected CameraMetadata() { in CameraMetadata() method in CameraMetadata
117 Class<CameraMetadata<TKey>> thisClass = (Class<CameraMetadata<TKey>>) getClass(); in getKeys()
141 CameraMetadata<TKey> instance, in getKeys()

1234