Add queue buffer support for sending buffers to firmware. Change-Id: Ie573c10a9b2f32a3eb202f97227b5e7edea26705 Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
22 Zeilen
795 B
C
22 Zeilen
795 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MSM_VDEC_H_
|
|
#define _MSM_VDEC_H_
|
|
|
|
#include "msm_vidc_core.h"
|
|
#include "msm_vidc_inst.h"
|
|
|
|
int msm_vdec_stop_input(struct msm_vidc_inst *inst);
|
|
int msm_vdec_start_input(struct msm_vidc_inst *inst);
|
|
int msm_vdec_stop_output(struct msm_vidc_inst *inst);
|
|
int msm_vdec_start_output(struct msm_vidc_inst *inst);
|
|
int msm_vdec_qbuf(struct msm_vidc_inst *inst, struct vb2_buffer *vb2);
|
|
int msm_vdec_s_fmt(struct msm_vidc_inst *inst, struct v4l2_format *f);
|
|
int msm_vdec_g_fmt(struct msm_vidc_inst *inst, struct v4l2_format *f);
|
|
int msm_vdec_enum_fmt(struct msm_vidc_inst *inst, struct v4l2_fmtdesc *f);
|
|
int msm_vdec_inst_init(struct msm_vidc_inst *inst);
|
|
|
|
#endif // _MSM_VDEC_H_
|