video: driver: dynamic control support

- Set dynamic flag in inst database to allow
  dynamic setting of necessary controls.
- avoid enc qbuf call routed to dec.

Change-Id: I66cfcc6be86bfbfe237191a11d533ab6c9455f32
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
此提交包含在:
Akshata Sahukar
2021-02-10 19:56:47 -08:00
提交者 Gerrit - the friendly Code Review server
父節點 622febc90c
當前提交 b5ce6c94cc
共有 7 個檔案被更改,包括 29 行新增22 行删除

查看文件

@@ -13,6 +13,7 @@ int msm_venc_streamoff_input(struct msm_vidc_inst *inst);
int msm_venc_streamon_input(struct msm_vidc_inst *inst);
int msm_venc_streamoff_output(struct msm_vidc_inst *inst);
int msm_venc_streamon_output(struct msm_vidc_inst *inst);
int msm_venc_qbuf(struct msm_vidc_inst *inst, struct vb2_buffer *vb2);
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);

查看文件

@@ -350,6 +350,7 @@ enum msm_vidc_inst_capability_type {
THUMBNAIL_MODE,
DEFAULT_HEADER,
RAP_FRAME,
SEQ_CHANGE_AT_SYNC_FRAME,
META_LTR_MARK_USE,
META_DPB_MISR,
META_OPB_MISR,
@@ -585,12 +586,6 @@ struct msm_vidc_rectangle {
u32 height;
};
struct msm_vidc_properties {
u32 frame_rate;
u32 operating_rate;
u32 bitrate;
};
struct msm_vidc_subscription_params {
u32 bitstream_resolution;
u64 crop_offsets;