1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2020 Jernej Skrabec <jernej.skrabec@siol.net> */
4 #ifndef _SUN8I_FORMATS_H_
5 #define _SUN8I_FORMATS_H_
7 #include <linux/videodev2.h>
9 #define ROTATE_FLAG_YUV BIT(0)
10 #define ROTATE_FLAG_OUTPUT BIT(1)
12 struct rotate_format {
22 const struct rotate_format *rotate_find_format(u32 pixelformat);
23 int rotate_enum_fmt(struct v4l2_fmtdesc *f, bool dst);