Searched refs:oldMetadata (Results 1 – 2 of 2) sorted by relevance
735 …raMetadataItems(common_metadata_header_t *newMetadata, const common_metadata_header_t *oldMetadata) in CopyCameraMetadataItems() argument737 if (newMetadata == nullptr || oldMetadata == nullptr) { in CopyCameraMetadataItems()742 if (oldMetadata->item_count != 0) { in CopyCameraMetadataItems()743 …cpy_s(GetMetadataItems(newMetadata), sizeof(camera_metadata_item_entry_t[oldMetadata->item_count]), in CopyCameraMetadataItems()744 … GetMetadataItems(oldMetadata), sizeof(camera_metadata_item_entry_t[oldMetadata->item_count])); in CopyCameraMetadataItems()751 if (oldMetadata->data_count != 0) { in CopyCameraMetadataItems()752 ret = memcpy_s(GetMetadataData(newMetadata), sizeof(uint8_t[oldMetadata->data_count]), in CopyCameraMetadataItems()753 GetMetadataData(oldMetadata), sizeof(uint8_t[oldMetadata->data_count])); in CopyCameraMetadataItems()760 newMetadata->item_count = oldMetadata->item_count; in CopyCameraMetadataItems()761 newMetadata->data_count = oldMetadata->data_count; in CopyCameraMetadataItems()
197 …aMetadataItems(common_metadata_header_t *newMetadata, const common_metadata_header_t *oldMetadata);