3 #ifndef HELPER_FUNCTIONS_HPP
4 #define HELPER_FUNCTIONS_HPP
24 std::string string_from_unterminated(
const char* data,
size_t data_length);
28 static constexpr
size_t BYTE = 0x1;
29 static constexpr
size_t WCHAR = 0x2;
30 static constexpr
size_t WORD = 0X2;
31 static constexpr
size_t DWORD = 0x4;
32 static constexpr
size_t QWORD = 0x8;
33 static constexpr
size_t GUID = 0x10;
48 [[nodiscard]] std::string
getAspectRatio(uint64_t width, uint64_t height);
51 #endif // HELPER_FUNCTIONS_HPP
std::unique_ptr< BasicIo > UniquePtr
BasicIo auto_ptr type.
Definition: basicio.hpp:38
Class CrwImage to access Canon CRW images. References: The Canon RAW (CRW) File Format by Phil Harv...
Definition: asfvideo.hpp:15
std::string getAspectRatio(uint64_t width, uint64_t height)
Calculates Aspect Ratio of a video.
Definition: helper_functions.cpp:56