commit | 26db5c2aef76bb9ad0f2b6e2961a698e21938327 | [log] [tgz] |
---|---|---|
author | Josuah Demangeon <me@josuah.net> | Mon Feb 24 00:10:47 2025 +0000 |
committer | Benjamin Cabé <kartben@gmail.com> | Sat Mar 08 03:37:38 2025 +0100 |
tree | a9f22c8b6a1a3694ba22c4a4264d272a4a454712 | |
parent | 4c5f85886958c84d0406ccb1ede7928d5020536c [diff] |
drivers: video: introduce VIDEO_FOURCC_TO_STR This adds a macro to generate a C99 compound literal string, which allow to use it in debug log messages, such as: LOG_DBG("The pixel format is '%s'", VIDEO_FOURCC_STR(fmt->pixelformat)); Signed-off-by: Josuah Demangeon <me@josuah.net>