MEDIA_BUS_FMT_METADATA_FIXED should be used when the same driver handles both sides of the link and the bus format is a fixed metadata format that is not configurable from userspace. The width and height will be set to 0 for this format.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -156,4 +156,12 @@ · 155 unmodified lines | ||
| 156 | 156 | /* HSV - next is 0x6002 */ |
| 157 | 157 | #define MEDIA_BUS_FMT_AHSV8888_1X32 0x6001 |
| 158 | 158 | |
| 159 | +/* | |
| 160 | + * This format should be used when the same driver handles | |
| 161 | + * both sides of the link and the bus format is a fixed | |
| 162 | + * metadata format that is not configurable from userspace. | |
| 163 | + * Width and height will be set to 0 for this format. | |
| 164 | + */ | |
| 165 | +#define MEDIA_BUS_FMT_METADATA_FIXED 0x7001 | |
| 166 | + | |
| 159 | 167 | #endif /* __LINUX_MEDIA_BUS_FORMAT_H */ |