Home
last modified time | relevance | path

Searched refs:rawMetadata (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp95 void H2BCameraDeviceCallbacks::convertResultMetadataToHidl(const camera_metadata_t *rawMetadata, in convertResultMetadataToHidl() argument
98 size_t metadata_size = get_camera_metadata_size(rawMetadata); in convertResultMetadataToHidl()
101 if (mCaptureResultMetadataQueue->write((uint8_t *)rawMetadata, metadata_size)) { in convertResultMetadataToHidl()
106 hardware::cameraservice::utils::conversion::convertToHidl(rawMetadata, &metadata); in convertResultMetadataToHidl()
147 const camera_metadata_t *rawMetadata = result.getAndLock(); in processResultMessage() local
148 converter->convertResultMetadataToHidl(rawMetadata, &hResult); in processResultMessage()
149 result.unlock(rawMetadata); in processResultMessage()
DConvert.cpp252 const camera_metadata_t *rawMetadata = in convertToHidl() local
255 size_t metadata_size = get_camera_metadata_size(rawMetadata); in convertToHidl()
257 if (captureResultMetadataQueue->write((uint8_t *)rawMetadata, metadata_size)) { in convertToHidl()
262 convertToHidl(rawMetadata, &metadata); in convertToHidl()
266 physicalCaptureResultInfo.mPhysicalCameraMetadata.unlock(rawMetadata); in convertToHidl()
DHidlCameraDeviceUser.cpp232 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in createDefaultRequest() local
233 convertToHidl(rawMetadata, &hidlMetadata); in createDefaultRequest()
235 cameraMetadata.unlock(rawMetadata); in createDefaultRequest()
DHidlCameraService.cpp79 const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); in getCameraCharacteristics() local
80 convertToHidl(rawMetadata, &hidlMetadata); in getCameraCharacteristics()
82 cameraMetadata.unlock(rawMetadata); in getCameraCharacteristics()
DAidlCameraDeviceCallbacks.h113 void convertResultMetadataToHidl(const camera_metadata *rawMetadata,
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp214 static bool convertFromHidlCloned(const hidl_vec<uint8_t>& metadata, CameraMetadata* rawMetadata) { in convertFromHidlCloned() argument
219 *rawMetadata = buffer; in convertFromHidlCloned()
319 CameraMetadata rawMetadata; in TEST_P() local
325 it.cameraId, [&status, &rawMetadata](auto s, const hidl_vec<uint8_t>& metadata) { in TEST_P()
327 bool cStatus = convertFromHidlCloned(metadata, &rawMetadata); in TEST_P()
331 EXPECT_FALSE(rawMetadata.isEmpty()); in TEST_P()
350 !doesCapabilityExist(rawMetadata, in TEST_P()
352 doesCapabilityExist(rawMetadata, ANDROID_REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT); in TEST_P()
357 StreamConfiguration depthStreamConfig = getDepthStreamConfiguration(rawMetadata); in TEST_P()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp519 CameraMetadata rawMetadata; in getCameraCharacteristics() local
523 [&status, &rawMetadata] (auto s , in getCameraCharacteristics()
527 utils::convertFromHidlCloned(metadata, &rawMetadata); in getCameraCharacteristics()
536 rawMetadata.release(), ACameraMetadata::ACM_CHARACTERISTICS); in getCameraCharacteristics()
601 const camera_metadata_t *rawMetadata = metadata.getAndLock(); in getTagFromName() local
602 metadata_vendor_id_t vendorTagId = get_camera_metadata_vendor_id(rawMetadata); in getTagFromName()
603 metadata.unlock(rawMetadata); in getTagFromName()
Dutils.cpp54 bool convertFromHidlCloned(const HCameraMetadata &metadata, CameraMetadata *rawMetadata) { in convertFromHidlCloned() argument
59 *rawMetadata = buffer; in convertFromHidlCloned()
Dutils.h169 bool convertFromHidlCloned(const HCameraMetadata &metadata, CameraMetadata *rawMetadata);
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp395 const camera_metadata_t* rawMetadata = mData.getAndLock(); in getTags() local
398 int ret = get_camera_metadata_ro_entry(rawMetadata, i, &entry); in getTags()
408 mData.unlock(rawMetadata); in getTags()
DACameraManager.cpp493 CameraMetadata rawMetadata; in getCameraCharacteristics() local
494 binder::Status serviceRet = cs->getCameraCharacteristics(String16(cameraIdStr), &rawMetadata); in getCameraCharacteristics()
511 rawMetadata.release(), ACameraMetadata::ACM_CHARACTERISTICS); in getCameraCharacteristics()