Home
last modified time | relevance | path

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

123

/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/include/camera/
DCameraMetadata.h30 class CameraMetadata: public Parcelable {
34 CameraMetadata();
37 CameraMetadata(size_t entryCapacity, size_t dataCapacity = 10);
39 ~CameraMetadata();
42 CameraMetadata(camera_metadata_t *buffer);
44 CameraMetadata(const CameraMetadata &other);
49 CameraMetadata &operator=(const CameraMetadata &other);
50 CameraMetadata &operator=(const camera_metadata_t *buffer);
94 void acquire(CameraMetadata &other);
99 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/av/services/camera/libcameraservice/device3/
DCamera3Device.h81 virtual const CameraMetadata& info() const;
85 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL);
86 virtual status_t captureList(const List<const CameraMetadata> &requests,
88 virtual status_t setStreamingRequest(const CameraMetadata &request,
90 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
126 virtual status_t createDefaultRequest(int templateId, CameraMetadata *request);
200 CameraMetadata mDeviceInfo;
202 CameraMetadata mRequestTemplateCache[CAMERA3_TEMPLATE_COUNT];
276 CameraMetadata mSettings;
296 const List<const CameraMetadata> &metadataList,
[all …]
DCamera3Device.cpp594 CameraMetadata lastRequest = getLatestRequestLocked(); in dump()
637 const CameraMetadata& Camera3Device::info() const { in info()
669 const List<const CameraMetadata> &metadataList, RequestList *requestList) { in convertMetadataListToRequestListLocked()
676 for (List<const CameraMetadata>::const_iterator it = metadataList.begin(); in convertMetadataListToRequestListLocked()
716 status_t Camera3Device::capture(CameraMetadata &request, int64_t* /*lastFrameNumber*/) { in capture()
719 List<const CameraMetadata> requests; in capture()
725 const List<const CameraMetadata> &requests, bool repeating, in submitRequestsHelper()
768 status_t Camera3Device::captureList(const List<const CameraMetadata> &requests, in captureList()
775 status_t Camera3Device::setStreamingRequest(const CameraMetadata &request, in setStreamingRequest()
779 List<const CameraMetadata> requests; in setStreamingRequest()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp83 /*out*/CameraMetadata* metadata) { in CameraMetadata_getNativeMetadata()
93 CameraMetadata* nativePtr = reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, in CameraMetadata_getNativeMetadata()
116 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.cpp155 NativeContext(const CameraMetadata& characteristics, const CameraMetadata& result);
160 std::shared_ptr<const CameraMetadata> getCharacteristics() const;
161 std::shared_ptr<const CameraMetadata> getResult() const;
188 std::shared_ptr<CameraMetadata> mCharacteristics;
189 std::shared_ptr<CameraMetadata> mResult;
202 NativeContext::NativeContext(const CameraMetadata& characteristics, const CameraMetadata& result) : in NativeContext()
203 mCharacteristics(std::make_shared<CameraMetadata>(characteristics)), in NativeContext()
204 mResult(std::make_shared<CameraMetadata>(result)), mThumbnailWidth(0), in NativeContext()
214 std::shared_ptr<const CameraMetadata> NativeContext::getCharacteristics() const { in getCharacteristics()
218 std::shared_ptr<const CameraMetadata> NativeContext::getResult() const { in getResult()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h59 virtual const CameraMetadata& info() const = 0;
66 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
72 virtual status_t captureList(const List<const CameraMetadata> &requests,
80 virtual status_t setStreamingRequest(const CameraMetadata &request,
87 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
174 CameraMetadata *request) = 0;
DCameraModule.h59 static void deriveCameraCharacteristicsKeys(uint32_t deviceVersion, CameraMetadata &chars);
61 static void appendAvailableKeys(CameraMetadata &chars,
DFrameProcessorBase.cpp37 CameraMetadata staticInfo = cameraDevice->info(); in FrameProcessorBase()
92 CameraMetadata lastFrame; in dump()
96 lastFrame = CameraMetadata(mLastFrame); in dump()
DCameraModule.cpp28 uint32_t deviceVersion, CameraMetadata &chars) { in deriveCameraCharacteristicsKeys()
219 void CameraModule::appendAvailableKeys(CameraMetadata &chars, in appendAvailableKeys()
303 CameraMetadata m; in getCameraInfo()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.h121 CameraMetadata frame;
127 Vector<CameraMetadata> mFrameList;
134 CameraMetadata mLatestCapturedRequest;
151 status_t updateRequestWithDefaultStillRequest(CameraMetadata &request) const;
DParameters.h197 const CameraMetadata *info;
241 status_t initialize(const CameraMetadata *info, int deviceVersion);
262 status_t updateRequest(CameraMetadata *request) const;
265 status_t updateRequestJpeg(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.h93 CameraMetadata mNewFrame;
141 CameraMetadata mCaptureRequest;
DZslProcessor.cpp245 status_t ZslProcessor::updateRequestWithDefaultStillRequest(CameraMetadata &request) const { in updateRequestWithDefaultStillRequest()
258 CameraMetadata stillTemplate; in updateRequestWithDefaultStillRequest()
323 CameraMetadata request = mFrameList[metadataIdx]; in pushToReprocess()
534 const CameraMetadata &frame = mFrameList[j]; in getCandidateTimestampLocked()
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java51 public abstract class CameraMetadata<TKey> { class
67 protected CameraMetadata() { in CameraMetadata() method in CameraMetadata
109 Class<CameraMetadata<TKey>> thisClass = (Class<CameraMetadata<TKey>>) getClass(); in getKeys()
131 CameraMetadata<TKey> instance, in getKeysStatic()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.h67 const CameraMetadata& getInternalData();
102 CameraMetadata mData;
/frameworks/base/include/android_runtime/
Dandroid_hardware_camera2_CameraMetadata.h30 /*out*/CameraMetadata* metadata);
/frameworks/av/include/camera/camera2/
DCaptureRequest.h33 CameraMetadata mMetadata;
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h186 bool enforceRequestPermissions(CameraMetadata& metadata);
195 android_dataspace dataSpace, const CameraMetadata& info,
DCameraDeviceClient.cpp146 List<const CameraMetadata> metadataRequestList; in submitRequestList()
165 CameraMetadata metadata(request.mMetadata); in submitRequestList()
319 CameraMetadata staticInfo = mDevice->info(); in endConfigure()
633 int32_t format, android_dataspace dataSpace, const CameraMetadata& info, in roundBufferDimensionNearest()
706 CameraMetadata metadata; in createDefaultRequest()
1072 bool CameraDeviceClient::enforceRequestPermissions(CameraMetadata& metadata) { in enforceRequestPermissions()
1082 CameraMetadata staticInfo = mDevice->info(); in enforceRequestPermissions()
1126 const CameraMetadata& staticInfo = mDevice->info(); in getRotationTransformLocked()

123