Lines Matching refs:m
52 CameraMetadata metadataCompact(const CameraMetadata& m) { in metadataCompact() argument
53 return metadataCompactRaw(reinterpret_cast<const camera_metadata_t*>(m.metadata.data())); in metadataCompact()
56 std::optional<CameraMetadata> serializeCameraMetadataMap(const CameraMetadataMap& m) { in serializeCameraMetadataMap() argument
57 const size_t dataSize = std::accumulate(m.begin(), m.end(), 0, in serializeCameraMetadataMap()
63 CameraMetadataPtr cm(allocate_camera_metadata(m.size() * 5 / 4, dataSize * 3 / 2)); in serializeCameraMetadataMap()
66 for (const auto& [tag, value] : m) { in serializeCameraMetadataMap()
102 CameraMetadataMap parseCameraMetadataMap(const CameraMetadata& m) { in parseCameraMetadataMap() argument
104 reinterpret_cast<const camera_metadata_t*>(m.metadata.data()); in parseCameraMetadataMap()
123 void metadataSetShutterTimestamp(CameraMetadata* m, const int64_t shutterTimestampNs) { in metadataSetShutterTimestamp() argument
124 if (m->metadata.empty()) { in metadataSetShutterTimestamp()
129 reinterpret_cast<camera_metadata_t*>(m->metadata.data()); in metadataSetShutterTimestamp()
141 void prettyPrintCameraMetadata(const CameraMetadata& m) { in prettyPrintCameraMetadata() argument
143 reinterpret_cast<const camera_metadata_t*>(m.metadata.data()); in prettyPrintCameraMetadata()