/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2020 Jernej Skrabec <[email protected]> */ #ifndef _SUN8I_FORMATS_H_ #define _SUN8I_FORMATS_H_ #include <linux/videodev2.h> #define ROTATE_FLAG_YUV … #define ROTATE_FLAG_OUTPUT … struct rotate_format { … }; const struct rotate_format *rotate_find_format(u32 pixelformat); int rotate_enum_fmt(struct v4l2_fmtdesc *f, bool dst); #endif