1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (c) 2021 Raspberry Pi Ltd.
10 #include <linux/types.h>
11 #include <linux/media-bus-format.h>
12 #include <linux/videodev2.h>
14 extern bool cfe_debug_verbose;
16 enum cfe_remap_types {
22 #define CFE_FORMAT_FLAG_META_OUT BIT(0)
23 #define CFE_FORMAT_FLAG_META_CAP BIT(1)
24 #define CFE_FORMAT_FLAG_FE_OUT BIT(2)
31 u32 remap[CFE_NUM_REMAP];
35 extern const struct v4l2_mbus_framefmt cfe_default_format;
36 extern const struct v4l2_mbus_framefmt cfe_default_meta_format;
38 const struct cfe_fmt *find_format_by_code(u32 code);