Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit defea4e8 authored by Praneeth Paladugu's avatar Praneeth Paladugu Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: New buffer counts exchange



Implement new buffer count exchange method between clients
and driver, which is common for both Encoder and Decoder.

CRs-Fixed: 2022735
Change-Id: I83287e06ad0389868be936d9685be8354bede007
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent aff73b63
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1069,6 +1069,7 @@ int create_pkt_cmd_session_set_property(
		hfi = (struct hfi_buffer_count_actual *)
			&pkt->rg_property_data[1];
		hfi->buffer_count_actual = prop->buffer_count_actual;
		hfi->buffer_count_min_host = prop->buffer_count_min_host;

		buffer_type = get_hfi_buffer(prop->buffer_type);
		if (buffer_type)
+83 −665

File changed.

Preview size limit exceeded, changes collapsed.

+0 −2
Original line number Diff line number Diff line
@@ -22,10 +22,8 @@ int msm_vdec_ctrl_init(struct msm_vidc_inst *inst,
	const struct v4l2_ctrl_ops *ctrl_ops);
int msm_vdec_enum_fmt(void *instance, struct v4l2_fmtdesc *f);
int msm_vdec_s_fmt(void *instance, struct v4l2_format *f);
int msm_vdec_g_fmt(void *instance, struct v4l2_format *f);
int msm_vdec_s_ctrl(void *instance, struct v4l2_ctrl *ctrl);
int msm_vdec_g_ctrl(void *instance, struct v4l2_ctrl *ctrl);
int msm_vdec_s_ext_ctrl(void *instance, struct v4l2_ext_controls *a);
struct vb2_ops *msm_vdec_get_vb2q_ops(void);

#endif
+149 −541

File changed.

Preview size limit exceeded, changes collapsed.

+0 −2
Original line number Diff line number Diff line
@@ -22,9 +22,7 @@ int msm_venc_ctrl_init(struct msm_vidc_inst *inst,
	const struct v4l2_ctrl_ops *ctrl_ops);
int msm_venc_enum_fmt(void *instance, struct v4l2_fmtdesc *f);
int msm_venc_s_fmt(void *instance, struct v4l2_format *f);
int msm_venc_g_fmt(void *instance, struct v4l2_format *f);
int msm_venc_s_ctrl(void *instance, struct v4l2_ctrl *ctrl);
int msm_venc_s_ext_ctrl(void *instance, struct v4l2_ext_controls *a);
struct vb2_ops *msm_venc_get_vb2q_ops(void);

#endif
Loading