4ae4cb1749
This change brings msm vidc driver from base 4.19 kernel project. It is the first source code snapshot from base kernel project. Change-Id: I1d600c4e9459b9013f4b607890c52644f6d94f0c Signed-off-by: Shivendra Kakrania <shiven@codeaurora.org>
27 lines
841 B
C
27 lines
841 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
|
|
*/
|
|
#ifndef _MSM_VDEC_H_
|
|
#define _MSM_VDEC_H_
|
|
|
|
#include "msm_vidc.h"
|
|
#include "msm_vidc_internal.h"
|
|
#define MSM_VDEC_DVC_NAME "msm_vidc_vdec"
|
|
|
|
int msm_vdec_inst_init(struct msm_vidc_inst *inst);
|
|
int msm_vdec_ctrl_init(struct msm_vidc_inst *inst,
|
|
const struct v4l2_ctrl_ops *ctrl_ops);
|
|
int msm_vdec_enum_fmt(struct msm_vidc_inst *inst,
|
|
struct v4l2_fmtdesc *f);
|
|
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_s_ctrl(struct msm_vidc_inst *inst,
|
|
struct v4l2_ctrl *ctrl);
|
|
int msm_vdec_g_ctrl(struct msm_vidc_inst *inst,
|
|
struct v4l2_ctrl *ctrl);
|
|
int msm_vdec_set_properties(struct msm_vidc_inst *inst);
|
|
#endif
|