linux/drivers/staging/media/sunxi/cedrus/cedrus_hw.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_HW_H_
  17#define _CEDRUS_HW_H_
  18
  19int cedrus_engine_enable(struct cedrus_dev *dev, enum cedrus_codec codec);
  20void cedrus_engine_disable(struct cedrus_dev *dev);
  21
  22void cedrus_dst_format_set(struct cedrus_dev *dev,
  23                           struct v4l2_pix_format *fmt);
  24
  25int cedrus_hw_probe(struct cedrus_dev *dev);
  26void cedrus_hw_remove(struct cedrus_dev *dev);
  27
  28#endif
  29