Home
last modified time | relevance | path

Searched refs:CameraMetadata (Results 1 – 25 of 71) 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() { in getAndLock()
82 status_t CameraMetadata::unlock(const camera_metadata_t *buffer) { in unlock()
96 camera_metadata_t* CameraMetadata::release() { in release()
[all …]
DIProCameraUser.cpp113 CameraMetadata::writeToParcel(data, metadata); in submitRequest()
174 CameraMetadata::readFromParcel(reply, /*out*/request); in createDefaultRequest()
185 CameraMetadata::readFromParcel(reply, /*out*/info); in getCameraInfo()
242 CameraMetadata::readFromParcel(data, /*out*/&metadata); in onTransact()
294 CameraMetadata::writeToParcel(*reply, request); in onTransact()
310 CameraMetadata::writeToParcel(*reply, info); in onTransact()
DIProCameraCallbacks.cpp75 CameraMetadata::writeToParcel(data, result); in onResultReceived()
112 CameraMetadata::readFromParcel(data, &result); in onTransact()
/frameworks/av/include/camera/
DCameraMetadata.h30 class CameraMetadata {
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 …]
DICameraService.h33 class CameraMetadata; variable
81 CameraMetadata* cameraInfo) = 0;
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h79 virtual const CameraMetadata& info() const;
83 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL);
84 virtual status_t captureList(const List<const CameraMetadata> &requests,
86 virtual status_t setStreamingRequest(const CameraMetadata &request,
88 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
119 virtual status_t createDefaultRequest(int templateId, CameraMetadata *request);
175 CameraMetadata mDeviceInfo;
177 CameraMetadata mRequestTemplateCache[CAMERA3_TEMPLATE_COUNT];
222 CameraMetadata mSettings;
233 const List<const CameraMetadata> &metadataList,
[all …]
DCamera3Device.cpp439 CameraMetadata lastRequest = getLatestRequestLocked(); in dump()
455 const CameraMetadata& Camera3Device::info() const { in info()
487 const List<const CameraMetadata> &metadataList, RequestList *requestList) { in convertMetadataListToRequestListLocked()
494 for (List<const CameraMetadata>::const_iterator it = metadataList.begin(); in convertMetadataListToRequestListLocked()
522 status_t Camera3Device::capture(CameraMetadata &request, int64_t* /*lastFrameNumber*/) { in capture()
525 List<const CameraMetadata> requests; in capture()
531 const List<const CameraMetadata> &requests, bool repeating, in submitRequestsHelper()
574 status_t Camera3Device::captureList(const List<const CameraMetadata> &requests, in captureList()
581 status_t Camera3Device::setStreamingRequest(const CameraMetadata &request, in setStreamingRequest()
585 List<const CameraMetadata> requests; in setStreamingRequest()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp67 /*out*/CameraMetadata* metadata) { in CameraMetadata_getNativeMetadata()
77 CameraMetadata* nativePtr = reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, in CameraMetadata_getNativeMetadata()
100 static status_t updateAny(CameraMetadata *metadata, in updateAny()
156 static CameraMetadata* CameraMetadata_getPointerNoThrow(JNIEnv *env, jobject thiz) { in CameraMetadata_getPointerNoThrow()
162 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr)); in CameraMetadata_getPointerNoThrow()
166 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jobject thiz, in CameraMetadata_getPointerThrow()
176 CameraMetadata* metadata = CameraMetadata_getPointerNoThrow(env, thiz); in CameraMetadata_getPointerThrow()
191 return reinterpret_cast<jlong>(new CameraMetadata()); in CameraMetadata_allocate()
198 CameraMetadata* otherMetadata = in CameraMetadata_allocateCopy()
205 return reinterpret_cast<jlong>(new CameraMetadata(*otherMetadata)); in CameraMetadata_allocateCopy()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h56 virtual const CameraMetadata& info() const = 0;
63 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
69 virtual status_t captureList(const List<const CameraMetadata> &requests,
77 virtual status_t setStreamingRequest(const CameraMetadata &request,
84 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
160 CameraMetadata *request) = 0;
DFrameProcessorBase.cpp37 CameraMetadata staticInfo = cameraDevice->info(); in FrameProcessorBase()
92 CameraMetadata lastFrame; in dump()
96 lastFrame = CameraMetadata(mLastFrame); in dump()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor3.h108 CameraMetadata frame;
114 Vector<CameraMetadata> mFrameList;
123 CameraMetadata mLatestCapturedRequest;
140 status_t updateRequestWithDefaultStillRequest(CameraMetadata &request) const;
DZslProcessor.h107 CameraMetadata frame;
112 Vector<CameraMetadata> mFrameList;
121 CameraMetadata mLatestCapturedRequest;
DFrameProcessor.h57 status_t processFaceDetect(const CameraMetadata &frame,
66 bool get3aResult(const CameraMetadata& result, int32_t tag, T* value,
DParameters.h194 const CameraMetadata *info;
238 status_t initialize(const CameraMetadata *info, int deviceVersion);
259 status_t updateRequest(CameraMetadata *request) const;
262 status_t updateRequestJpeg(CameraMetadata *request) const;
DStreamingProcessor.h108 CameraMetadata mPreviewRequest;
119 CameraMetadata mRecordingRequest;
DCaptureSequencer.h90 CameraMetadata mNewFrame;
136 CameraMetadata mCaptureRequest;
/frameworks/av/include/camera/camera2/
DICameraDeviceUser.h32 class CameraMetadata; variable
110 CameraMetadata* request) = 0;
113 CameraMetadata* info) = 0;
DICameraDeviceCallbacks.h30 class CameraMetadata; variable
66 virtual void onResultReceived(const CameraMetadata& metadata,
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h95 CameraMetadata* request);
99 virtual status_t getCameraInfo(/*out*/CameraMetadata* info);
155 bool enforceRequestPermissions(CameraMetadata& metadata);
164 const CameraMetadata& info, /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
DCameraDeviceClient.cpp121 List<const CameraMetadata> metadataRequestList; in submitRequestList()
133 CameraMetadata metadata(request->mMetadata); in submitRequestList()
442 int32_t format, const CameraMetadata& info, in roundBufferDimensionNearest()
499 CameraMetadata* request) in createDefaultRequest()
511 CameraMetadata metadata; in createDefaultRequest()
521 status_t CameraDeviceClient::getCameraInfo(/*out*/CameraMetadata* info) in getCameraInfo()
678 bool CameraDeviceClient::enforceRequestPermissions(CameraMetadata& metadata) { in enforceRequestPermissions()
688 CameraMetadata staticInfo = mDevice->info(); in enforceRequestPermissions()
732 const CameraMetadata& staticInfo = mDevice->info(); in getRotationTransformLocked()
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.h49 virtual const CameraMetadata& info() const;
50 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL);
51 virtual status_t captureList(const List<const CameraMetadata> &requests,
53 virtual status_t setStreamingRequest(const CameraMetadata &request,
55 virtual status_t setStreamingRequestList(const List<const CameraMetadata> &requests,
69 virtual status_t createDefaultRequest(int templateId, CameraMetadata *request);
89 CameraMetadata mDeviceInfo;
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java50 public abstract class CameraMetadata<TKey> { class
66 protected CameraMetadata() { in CameraMetadata() method in CameraMetadata
107 Class<CameraMetadata<TKey>> thisClass = (Class<CameraMetadata<TKey>>) getClass(); in getKeys()
129 CameraMetadata<TKey> instance, in getKeysStatic()
/frameworks/av/services/camera/libcameraservice/api_pro/
DProCamera2Client.cpp203 CameraMetadata metadata(request); in submitRequest()
307 CameraMetadata metadata; in createDefaultRequest()
327 CameraMetadata deviceInfo = mDevice->info(); in getCameraInfo()
384 CameraMetadata tmp(result.mMetadata); in onResultAvailable()
392 bool ProCamera2Client::enforceRequestPermissions(CameraMetadata& metadata) { in enforceRequestPermissions()
402 CameraMetadata staticInfo = mDevice->info(); in enforceRequestPermissions()
/frameworks/av/camera/camera2/
DICameraDeviceUser.cpp234 CameraMetadata* request) in createDefaultRequest()
244 CameraMetadata out; in createDefaultRequest()
256 virtual status_t getCameraInfo(CameraMetadata* info) in getCameraInfo()
265 CameraMetadata out; in getCameraInfo()
437 CameraMetadata request; in onTransact()
453 CameraMetadata info; in onTransact()
/frameworks/base/include/android_runtime/
Dandroid_hardware_camera2_CameraMetadata.h30 /*out*/CameraMetadata* metadata);

123