2 * Rockchip RK3288 VPU codec driver
4 * Copyright (c) 2014 Rockchip Electronics Co., Ltd.
5 * Alpha Lin <Alpha.Lin@rock-chips.com>
6 * Jeffy Chen <jeffy.chen@rock-chips.com>
8 * Copyright (C) 2014 Google, Inc.
9 * Tomasz Figa <tfiga@chromium.org>
11 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
13 * Copyright (C) 2011 Samsung Electronics Co., Ltd.
15 * This software is licensed under the terms of the GNU General Public
16 * License version 2, as published by the Free Software Foundation, and
17 * may be copied, distributed, and modified under those terms.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
25 #ifndef RK3288_VPU_ENC_H_
26 #define RK3288_VPU_ENC_H_
28 struct vb2_ops *get_enc_queue_ops(void);
29 const struct v4l2_ioctl_ops *get_enc_v4l2_ioctl_ops(void);
30 struct rk3288_vpu_fmt *get_enc_def_fmt(bool src);
31 int rk3288_vpu_enc_init(struct rk3288_vpu_ctx *ctx);
32 void rk3288_vpu_enc_exit(struct rk3288_vpu_ctx *ctx);
33 int rk3288_vpu_enc_init_dummy_ctx(struct rk3288_vpu_dev *dev);
34 void rk3288_vpu_enc_free_dummy_ctx(struct rk3288_vpu_dev *dev);
36 #endif /* RK3288_VPU_ENC_H_ */