
handle decoder and encoder drain command. send hfi drain command to firmware. Change-Id: I94835ce0b2a8b06e7a9ad64f7cc8642913987659 Signed-off-by: Darshana Patil <darshana@codeaurora.org>
22 lines
787 B
C
22 lines
787 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MSM_VENC_H_
|
|
#define _MSM_VENC_H_
|
|
|
|
#include "msm_vidc_core.h"
|
|
#include "msm_vidc_inst.h"
|
|
|
|
int msm_venc_stop_input(struct msm_vidc_inst *inst);
|
|
int msm_venc_start_input(struct msm_vidc_inst *inst);
|
|
int msm_venc_stop_output(struct msm_vidc_inst *inst);
|
|
int msm_venc_start_output(struct msm_vidc_inst *inst);
|
|
int msm_venc_process_cmd(struct msm_vidc_inst *inst, u32 cmd);
|
|
int msm_venc_s_fmt(struct msm_vidc_inst *inst, struct v4l2_format *f);
|
|
int msm_venc_g_fmt(struct msm_vidc_inst *inst, struct v4l2_format *f);
|
|
int msm_venc_enum_fmt(struct msm_vidc_inst *inst, struct v4l2_fmtdesc *f);
|
|
int msm_venc_inst_init(struct msm_vidc_inst *inst);
|
|
|
|
#endif // _MSM_VENC_H_
|