2 * Rockchip RK3288 VPU codec driver
4 * Copyright (C) 2014 Rockchip Electronics Co., Ltd.
5 * Hertz Wong <hertz.wong@rock-chips.com>
7 * Copyright (C) 2014 Google, Inc.
8 * Tomasz Figa <tfiga@chromium.org>
10 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
12 * Copyright (C) 2011 Samsung Electronics Co., Ltd.
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.
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.
24 #ifndef RK3288_VPU_DEC_H_
25 #define RK3288_VPU_DEC_H_
27 struct vb2_ops *get_dec_queue_ops(void);
28 const struct v4l2_ioctl_ops *get_dec_v4l2_ioctl_ops(void);
29 struct rk3288_vpu_fmt *get_dec_def_fmt(bool src);
30 int rk3288_vpu_dec_init(struct rk3288_vpu_ctx *ctx);
31 void rk3288_vpu_dec_exit(struct rk3288_vpu_ctx *ctx);
33 #endif /* RK3288_VPU_DEC_H_ */