diff options
Diffstat (limited to 'v4l2++/inc')
| -rw-r--r-- | v4l2++/inc/v4l2++/pixelformats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l2++/inc/v4l2++/pixelformats.h b/v4l2++/inc/v4l2++/pixelformats.h index 609ff4f..c7eda25 100644 --- a/v4l2++/inc/v4l2++/pixelformats.h +++ b/v4l2++/inc/v4l2++/pixelformats.h @@ -78,6 +78,8 @@ static 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) { char buf[5] = { (char)(((uint32_t)f >> 0) & 0xff), |
