linux/drivers/staging/media/sunxi/cedrus/cedrus_video.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/*
   3 * Cedrus VPU driver
   4 *
   5 * Copyright (C) 2016 Florent Revest <florent.revest@free-electrons.com>
   6 * Copyright (C) 2018 Paul Kocialkowski <paul.kocialkowski@bootlin.com>
   7 * Copyright (C) 2018 Bootlin
   8 *
   9 * Based on the vim2m driver, that is:
  10 *
  11 * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
  12 * Pawel Osciak, <pawel@osciak.com>
  13 * Marek Szyprowski, <m.szyprowski@samsung.com>
  14 */
  15
  16#ifndef _CEDRUS_VIDEO_H_
  17#define _CEDRUS_VIDEO_H_
  18
  19struct cedrus_format {
  20        u32             pixelformat;
  21        u32             directions;
  22        unsigned int    capabilities;
  23};
  24
  25extern const struct v4l2_ioctl_ops cedrus_ioctl_ops;
  26
  27int cedrus_queue_init(void *priv, struct vb2_queue *src_vq,
  28                      struct vb2_queue *dst_vq);
  29void cedrus_prepare_format(struct v4l2_pix_format *pix_fmt);
  30
  31#endif
  32