3#ifndef HELPER_FUNCTIONS_HPP
4#define HELPER_FUNCTIONS_HPP
24std::string string_from_unterminated(
const char* data,
size_t data_length);
28static constexpr size_t BYTE = 0x1;
29static constexpr size_t WCHAR = 0x2;
30static constexpr size_t WORD = 0X2;
31static constexpr size_t DWORD = 0x4;
32static constexpr size_t QWORD = 0x8;
33static constexpr size_t GUID = 0x10;
48[[nodiscard]] std::string
getAspectRatio(uint64_t width, uint64_t height);
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