// SPDX-License-Identifier: GPL-2.0 /* * Rockchip RK3288 VPU codec driver * * Copyright (c) 2014 Rockchip Electronics Co., Ltd. * Hertz Wong <[email protected]> * Herman Chen <[email protected]> * * Copyright (C) 2014 Google, Inc. * Tomasz Figa <[email protected]> */ #include <linux/types.h> #include <linux/sort.h> #include <media/v4l2-mem2mem.h> #include "hantro_g1_regs.h" #include "hantro_hw.h" #include "hantro_v4l2.h" static void set_params(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf) { … } static void set_ref(struct hantro_ctx *ctx) { … } static void set_buffers(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf) { … } int hantro_g1_h264_dec_run(struct hantro_ctx *ctx) { … }