80b71c2a5979dbad2dd8f1f3fdf602942ca913b7
[firefly-linux-kernel-4.4.55.git] / drivers / media / platform / rk3288-vpu / rk3288_vpu_enc.h
1 /*
2  * Rockchip RK3288 VPU codec driver
3  *
4  * Copyright (c) 2014 Rockchip Electronics Co., Ltd.
5  *      Alpha Lin <Alpha.Lin@rock-chips.com>
6  *      Jeffy Chen <jeffy.chen@rock-chips.com>
7  *
8  * Copyright (C) 2014 Google, Inc.
9  *      Tomasz Figa <tfiga@chromium.org>
10  *
11  * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
12  *
13  * Copyright (C) 2011 Samsung Electronics Co., Ltd.
14  *
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.
18  *
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.
23  */
24
25 #ifndef RK3288_VPU_ENC_H_
26 #define RK3288_VPU_ENC_H_
27
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
34 #endif                          /* RK3288_VPU_ENC_H_  */