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

Commit 37915f19 authored by Shi Zhongbo's avatar Shi Zhongbo Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: enable CSC for HEVC



Allow to use CSC for HEVC encodings.

Change-Id: I059db52215de56cc1dc38c13df5e0d188b4df5d0
Signed-off-by: default avatarShi Zhongbo <zhongbos@codeaurora.org>
parent d64baed2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3432,7 +3432,8 @@ int msm_venc_set_video_csc(struct msm_vidc_inst *inst)
	}
	hdev = inst->core->device;

	if (get_v4l2_codec(inst) != V4L2_PIX_FMT_H264)
	if (get_v4l2_codec(inst) != V4L2_PIX_FMT_H264 &&
		get_v4l2_codec(inst) != V4L2_PIX_FMT_HEVC)
		return 0;

	ctrl = get_ctrl(inst, V4L2_CID_MPEG_VIDC_VIDEO_VPE_CSC);