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

Commit b1d44744 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm_vidc: support eof flag for fbd"

parents 68f70f03 cf46c469
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2077,6 +2077,8 @@ static void handle_fbd(enum hal_command_response cmd, void *data)
			vb->v4l2_buf.flags |= V4L2_QCOM_BUF_FLAG_READONLY;
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_EOS)
			vb->v4l2_buf.flags |= V4L2_QCOM_BUF_FLAG_EOS;
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_ENDOFFRAME)
			vb->v4l2_buf.flags |= V4L2_QCOM_BUF_FLAG_ENDOFFRAME;
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_CODECCONFIG)
			vb->v4l2_buf.flags &= ~V4L2_QCOM_BUF_FLAG_CODECCONFIG;
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_SYNCFRAME)
+1 −0
Original line number Diff line number Diff line
@@ -772,6 +772,7 @@ struct v4l2_buffer {
#define V4L2_MSM_BUF_FLAG_YUV_601_709_CLAMP	0x10000000
#define V4L2_MSM_BUF_FLAG_MBAFF			0x20000000
#define V4L2_MSM_BUF_FLAG_DEFER			0x40000000
#define V4L2_QCOM_BUF_FLAG_ENDOFFRAME		0x80000000

/**
 * struct v4l2_exportbuffer - export of video buffer as DMABUF file descriptor