Bring all the missing changes from Kona aa56c67 msm: vidc: Set fps to 1 for image encode sessions bc60bd6 msm: vidc: Add support of level 6.1 to VP9 decoder 349732b msm: vidc: update LTRUse maximum limit 9d3a015 msm-vidc: calculate buffer size based on 512x512 for heic 46e2095 msm: vidc: Update Kona Profile Level Capabilities ad8cd1c msm: vidc: delete v4l2 controls after queue release ea1efd0 msm: vidc: Initialize core ops for bengal VPU version 533aa1c msm: vidc: don't skip set ctrl for the same value e52cd53 msm: vidc: use macro to get/set fields 92344f3 msm: vidc: Add new hfi file for AR50 lite 1931ba3 msm: vidc: Update bitrate constraint check 733ea29 msm: vidc: Add bengal specific functions 81b07d4 msm: vidc: Update control capabilities at SESSION_INIT stage f3e9363 msm: vidc: deprecate firmware buffer requirement property 557ca13 msm: vidc: Update VSP cycle count calculation 7ff089a msm: vidc: fix kw issues b9733c7 msm: vidc: Add config files for bengal 1b0c12b msm: vidc: Allow all-intra encoding in CBR_CFR 3ca1cf0 msm: vidc: Add platform specific data a16c617 msm_vidc: venc: update HEIF output buffer count 622514e msm: vidc: fix extradata none parsing issue 1f61e2c msm: vidc: Update mb/frame resolution to 4096x2304 16ffe6b msm: vidc: add dynamic support of frame quality 46f2efd msm-vidc: return unknown ctrl for internal cvp client 043315f msm: vidc: add support for dpb_buffer_count payload Change-Id: Iee095078d8cd558ea030e65e8d1895b4c7d78948 Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
50 lines
2.2 KiB
C
50 lines
2.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
|
|
*/
|
|
#ifndef _MSM_VENC_H_
|
|
#define _MSM_VENC_H_
|
|
|
|
#include "msm_vidc.h"
|
|
#include "msm_vidc_internal.h"
|
|
#define MSM_VENC_DVC_NAME "msm_vidc_venc"
|
|
|
|
int msm_venc_inst_init(struct msm_vidc_inst *inst);
|
|
int msm_venc_ctrl_init(struct msm_vidc_inst *inst,
|
|
const struct v4l2_ctrl_ops *ctrl_ops);
|
|
int msm_venc_enum_fmt(struct msm_vidc_inst *inst,
|
|
struct v4l2_fmtdesc *f);
|
|
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_set_default_profile(struct msm_vidc_inst *inst);
|
|
int msm_venc_s_ctrl(struct msm_vidc_inst *inst,
|
|
struct v4l2_ctrl *ctrl);
|
|
int msm_venc_set_properties(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_extradata(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_frame_rate(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_bitrate(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_layer_bitrate(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_operating_rate(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_idr_period(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_intra_period(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_ltr_useframe(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_ltr_markframe(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_dyn_qp(struct msm_vidc_inst *inst, struct v4l2_ctrl *ctrl);
|
|
int msm_venc_set_request_keyframe(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_intra_refresh_mode(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_hp_max_layer(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_hp_layer(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_base_layer_priority_id(struct msm_vidc_inst *inst);
|
|
int msm_venc_check_dynamic_flip_constraints(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_dynamic_flip(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_lossless(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_blur_resolution(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_cvp_skipratio(struct msm_vidc_inst *inst);
|
|
int handle_all_intra_restrictions(struct msm_vidc_inst *inst);
|
|
int check_blur_restrictions(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_frame_quality(struct msm_vidc_inst *inst);
|
|
int msm_venc_set_image_grid(struct msm_vidc_inst *inst);
|
|
#endif
|