summaryrefslogtreecommitdiff
path: root/v4l2++
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-12-04 20:45:57 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-12-04 20:46:20 +0200
commit74ff7361c38c4f8620b68c72fd2263c1f2d6a5a2 (patch)
tree990417471280c515f85062a75b97c31ac4db6e57 /v4l2++
parentf22939013aa53b6584503285e32237f52490f3e2 (diff)
Fix clang-tidy warnings
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'v4l2++')
-rw-r--r--v4l2++/inc/v4l2++/pixelformats.h4
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),