History

media: uapi: add MEDIA_BUS_FMT_METADATA_FIXED media bus format.

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.

Dafna Hirschfeld committed 6 years ago

Commit 6ad253c1 parent 940727b2 files · +35 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/media-bus-format.h+8−0
@@ -156,4 +156,12 @@ · 155 unmodified lines
156/* HSV - next is 0x6002 */156/* HSV - next is 0x6002 */
157#define MEDIA_BUS_FMT_AHSV8888_1X32 0x6001157#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#endif /* __LINUX_MEDIA_BUS_FORMAT_H */167#endif /* __LINUX_MEDIA_BUS_FORMAT_H */