refactored code and start work on streaming.

This commit is contained in:
Jordan
2024-03-13 09:02:11 -07:00
parent 5d05c42411
commit cc317d0d24
9 changed files with 191 additions and 85 deletions

15
src/streamingview.cxx Normal file
View File

@ -0,0 +1,15 @@
#include "streamingview.hpp"
template<class Archive>
void libdart_openmvg::StreamingView::load(cereal::BinaryOutputArchive &ar) const {
int i = 0;
while (i = fgetc(mFrame->stream) != EOF) {
ar(i);
}
}
template<class Archive>
void libdart_openmvg::StreamingView::save(cereal::BinaryInputArchive &ar) const {
// int i = 0;
// todo
}