diff options
Diffstat (limited to 'v4l2++')
| -rw-r--r-- | v4l2++/inc/v4l2++/pixelformats.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l2++/inc/v4l2++/pixelformats.h b/v4l2++/inc/v4l2++/pixelformats.h index c7eda25..777d0ec 100644 --- a/v4l2++/inc/v4l2++/pixelformats.h +++ b/v4l2++/inc/v4l2++/pixelformats.h @@ -73,14 +73,14 @@ enum class PixelFormat : uint32_t { META_16 = MakeFourCC("ME16"), }; -static inline PixelFormat FourCCToPixelFormat(const std::string& fourcc) +inline PixelFormat FourCCToPixelFormat(const std::string& fourcc) { return (PixelFormat)MakeFourCC(fourcc.c_str()); } PixelFormat DRMFourCCToPixelFormat(const std::string& fourcc); -static inline std::string PixelFormatToFourCC(PixelFormat f) +inline std::string PixelFormatToFourCC(PixelFormat f) { char buf[5] = { (char)(((uint32_t)f >> 0) & 0xff), (char)(((uint32_t)f >> 8) & 0xff), |
