cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sun8i-formats.h (511B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* Copyright (C) 2020 Jernej Skrabec <jernej.skrabec@siol.net> */
      3
      4#ifndef _SUN8I_FORMATS_H_
      5#define _SUN8I_FORMATS_H_
      6
      7#include <linux/videodev2.h>
      8
      9#define ROTATE_FLAG_YUV    BIT(0)
     10#define ROTATE_FLAG_OUTPUT BIT(1)
     11
     12struct rotate_format {
     13	u32 fourcc;
     14	u32 hw_format;
     15	int planes;
     16	int bpp[3];
     17	int hsub;
     18	int vsub;
     19	unsigned int flags;
     20};
     21
     22const struct rotate_format *rotate_find_format(u32 pixelformat);
     23int rotate_enum_fmt(struct v4l2_fmtdesc *f, bool dst);
     24
     25#endif