/* * Rockchip VPU codec driver * * Copyright (C) 2014 Rockchip Electronics Co., Ltd. * Hertz Wong * * Copyright (C) 2014 Google, Inc. * Tomasz Figa * * Based on s5p-mfc driver by Samsung Electronics Co., Ltd. * * Copyright (C) 2011 Samsung Electronics Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef ROCKCHIP_VPU_DEC_H_ #define ROCKCHIP_VPU_DEC_H_ struct vb2_ops *get_dec_queue_ops(void); const struct v4l2_ioctl_ops *get_dec_v4l2_ioctl_ops(void); struct rockchip_vpu_fmt *get_dec_def_fmt(bool src); int rockchip_vpu_dec_init(struct rockchip_vpu_ctx *ctx); void rockchip_vpu_dec_exit(struct rockchip_vpu_ctx *ctx); #endif /* ROCKCHIP_VPU_DEC_H_ */