Home
last modified time | relevance | path

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

123

/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(camera_metadata_t *buffer) : in CameraMetadata() function in android::CameraMetadata
55 CameraMetadata &CameraMetadata::operator=(const CameraMetadata &other) { in operator =()
59 CameraMetadata &CameraMetadata::operator=(const camera_metadata_t *buffer) { in operator =()
73 CameraMetadata::~CameraMetadata() { in ~CameraMetadata()
78 const camera_metadata_t* CameraMetadata::getAndLock() const { in getAndLock()
83 status_t CameraMetadata::unlock(const camera_metadata_t *buffer) const { in unlock()
97 camera_metadata_t* CameraMetadata::release() { in release()
[all …]
DCameraUtils.cpp30 status_t CameraUtils::getRotationTransform(const CameraMetadata& staticInfo, in getRotationTransform()
/frameworks/av/camera/include/camera/
DCameraMetadata.h33 class CameraMetadata: public Parcelable {
37 CameraMetadata();
40 CameraMetadata(size_t entryCapacity, size_t dataCapacity = 10);
42 ~CameraMetadata();
45 CameraMetadata(camera_metadata_t *buffer);
47 CameraMetadata(const CameraMetadata &other);
52 CameraMetadata &operator=(const CameraMetadata &other);
53 CameraMetadata &operator=(const camera_metadata_t *buffer);
97 void acquire(CameraMetadata &other);
102 status_t append(const CameraMetadata &other);
[all …]
DCameraUtils.h42 static status_t getRotationTransform(const CameraMetadata& staticInfo,
DCaptureResult.h101 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/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 …]
Dandroid_hardware_camera2_DngCreator.cpp156 NativeContext(const CameraMetadata& characteristics, const CameraMetadata& result);
161 std::shared_ptr<const CameraMetadata> getCharacteristics() const;
162 std::shared_ptr<const CameraMetadata> getResult() const;
189 std::shared_ptr<CameraMetadata> mCharacteristics;
190 std::shared_ptr<CameraMetadata> mResult;
203 NativeContext::NativeContext(const CameraMetadata& characteristics, const CameraMetadata& result) : in NativeContext()
204 mCharacteristics(std::make_shared<CameraMetadata>(characteristics)), in NativeContext()
205 mResult(std::make_shared<CameraMetadata>(result)), mThumbnailWidth(0), in NativeContext()
215 std::shared_ptr<const CameraMetadata> NativeContext::getCharacteristics() const { in getCharacteristics()
219 std::shared_ptr<const CameraMetadata> NativeContext::getResult() const { in getResult()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h94 const CameraMetadata& info() const override;
98 status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) override;
99 status_t captureList(const List<const CameraMetadata> &requests,
102 status_t setStreamingRequest(const CameraMetadata &request,
104 status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
144 status_t createDefaultRequest(int templateId, CameraMetadata *request) override;
338 CameraMetadata mDeviceInfo;
340 CameraMetadata mRequestTemplateCache[CAMERA3_TEMPLATE_COUNT];
401 CameraMetadata mSettings;
421 const List<const CameraMetadata> &metadataList,
[all …]
DCamera3Device.cpp625 CameraMetadata lastRequest = getLatestRequestLocked(); in dump()
670 const CameraMetadata& Camera3Device::info() const { in info()
702 const List<const CameraMetadata> &metadataList, in convertMetadataListToRequestListLocked()
712 List<const CameraMetadata>::const_iterator metadataIt = metadataList.begin(); in convertMetadataListToRequestListLocked()
760 status_t Camera3Device::capture(CameraMetadata &request, int64_t* /*lastFrameNumber*/) { in capture()
763 List<const CameraMetadata> requests; in capture()
770 void Camera3Device::convertToRequestList(List<const CameraMetadata>& requests, in convertToRequestList()
772 const CameraMetadata& request) { in convertToRequestList()
786 const List<const CameraMetadata> &requests, in submitRequestsHelper()
863 hardware::camera::device::V3_2::CameraMetadata resultMetadata; in processOneCaptureResultLocked()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h65 virtual const CameraMetadata& info() const = 0;
72 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
78 virtual status_t captureList(const List<const CameraMetadata> &requests,
87 virtual status_t setStreamingRequest(const CameraMetadata &request,
94 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
184 CameraMetadata *request) = 0;
DFrameProcessorBase.cpp36 CameraMetadata staticInfo = cameraDevice->info(); in FrameProcessorBase()
91 CameraMetadata lastFrame; in dump()
95 lastFrame = CameraMetadata(mLastFrame); in dump()
DCameraProviderManager.h168 CameraMetadata* characteristics) const;
296 virtual status_t getCameraCharacteristics(CameraMetadata *characteristics) const { in getCameraCharacteristics()
347 CameraMetadata *characteristics) const override;
355 CameraMetadata mCameraCharacteristics;
/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;
DFrameProcessor.h59 status_t processFaceDetect(const CameraMetadata &frame,
68 bool updatePendingState(const CameraMetadata& result, int32_t tag, T* value,
DStreamingProcessor.h103 CameraMetadata mPreviewRequest;
109 CameraMetadata mRecordingRequest;
DParameters.h211 const CameraMetadata *info;
256 status_t initialize(const CameraMetadata *info, int deviceVersion);
277 status_t updateRequest(CameraMetadata *request) const;
280 status_t updateRequestJpeg(CameraMetadata *request) const;
DCaptureSequencer.h93 CameraMetadata mNewFrame;
141 CameraMetadata mCaptureRequest;
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.h61 nsecs_t timestamp, const CameraMetadata& metadata);
78 CameraMetadata mLastMonitoredRequestValues;
79 CameraMetadata mLastMonitoredResultValues;
DTagMonitor.cpp75 status_t res = CameraMetadata::getTagFromName(nextTagName, vTags.get(), &tag); in parseTagsToMonitor()
103 const CameraMetadata& metadata) { in monitorMetadata()
114 CameraMetadata &lastValues = (source == REQUEST) ? in monitorMetadata()
117 lastValues = CameraMetadata(mMonitoredTagList.size()); in monitorMetadata()
/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()
139 CameraMetadata<TKey> instance, in getKeys()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.h67 const CameraMetadata& getInternalData();
102 CameraMetadata mData;
/frameworks/base/core/jni/include/android_runtime/
Dandroid_hardware_camera2_CameraMetadata.h30 /*out*/CameraMetadata* metadata);
/frameworks/av/camera/include/camera/camera2/
DCaptureRequest.h43 CameraMetadata mMetadata;
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp300 CameraMetadata metadata(metaBuffer); in TEST()
311 CameraMetadata secondMetadata(metaBuffer); in TEST()
320 CameraMetadata metadataCopy(metadata); in TEST()
356 CameraMetadata regularMetadata(10, 20); in TEST()

123