Update ArRecorder to append metadata and depth image to jpg

This commit is contained in:
Georg Hagen
2025-05-19 20:58:05 +02:00
parent 8716857efe
commit 257430da1d
3 changed files with 35 additions and 19 deletions

View File

@@ -24,6 +24,7 @@ namespace OpenVulkano
class IEventHandler;
class IArchiveWriter;
class MultiPartArchiveWriter;
class JpegWithTagsWriter;
}
namespace OpenVulkano::AR
@@ -100,7 +101,7 @@ namespace OpenVulkano::AR
void Write(ArFrame* frame, bool highRes = false);
void WriteMetadata(ArFrame* frame, IArchiveWriter* metaWriter);
void WriteColorImage(ArFrame* arFrame, IArchiveWriter* colorWriter, const std::filesystem::path* path, bool highRes) const;
void WriteColorImage(ArFrame* arFrame, IArchiveWriter* colorWriter, JpegWithTagsWriter* jpgWriter, bool highRes) const;
void WriteDepthImage(ArFrame *arFrame, IArchiveWriter* depthWriter, IArchiveWriter* confWriter);
void WriteToFile(const std::shared_ptr<ArFrame>& frame, const std::filesystem::path& path, bool downsample, bool saveAux);