CHROMIUM: [media] rockchip-vpu: rename rk3288-vpu to rockchip-vpu
[firefly-linux-kernel-4.4.55.git] / drivers / media / platform / rockchip-vpu / rockchip_vpu_dec.h
1 /*
2  * Rockchip VPU codec driver
3  *
4  * Copyright (C) 2014 Rockchip Electronics Co., Ltd.
5  *      Hertz Wong <hertz.wong@rock-chips.com>
6  *
7  * Copyright (C) 2014 Google, Inc.
8  *      Tomasz Figa <tfiga@chromium.org>
9  *
10  * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
11  *
12  * Copyright (C) 2011 Samsung Electronics Co., Ltd.
13  *
14  * This software is licensed under the terms of the GNU General Public
15  * License version 2, as published by the Free Software Foundation, and
16  * may be copied, distributed, and modified under those terms.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  */
23
24 #ifndef ROCKCHIP_VPU_DEC_H_
25 #define ROCKCHIP_VPU_DEC_H_
26
27 struct vb2_ops *get_dec_queue_ops(void);
28 const struct v4l2_ioctl_ops *get_dec_v4l2_ioctl_ops(void);
29 struct rockchip_vpu_fmt *get_dec_def_fmt(bool src);
30 int rockchip_vpu_dec_init(struct rockchip_vpu_ctx *ctx);
31 void rockchip_vpu_dec_exit(struct rockchip_vpu_ctx *ctx);
32
33 #endif /* ROCKCHIP_VPU_DEC_H_ */