diff options
Diffstat (limited to 'src/Format.h')
| -rw-r--r-- | src/Format.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Format.h b/src/Format.h index 1df883f..fc55f8f 100644 --- a/src/Format.h +++ b/src/Format.h @@ -1,7 +1,9 @@ #pragma once #include <sstream> +#include <vector> +class VideoBuffer; namespace format { template <typename T> std::string NumberToString(T number) @@ -20,4 +22,6 @@ namespace format std::string UnixtimeToDate(time_t unixtime, std::string dateFomat = "%d %b %Y"); std::string UnixtimeToDateMini(time_t unixtime); + std::vector<char> VideoBufferToPNG(const VideoBuffer & vidBuf); + unsigned long CalculateCRC(unsigned char * data, int length); }
\ No newline at end of file |
