mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
msm: vidc: enable CSC for HEVC
Allow to use CSC for HEVC encodings. Change-Id: I059db52215de56cc1dc38c13df5e0d188b4df5d0 Signed-off-by: Shi Zhongbo <zhongbos@codeaurora.org>
This commit is contained in:
parent
d64baed296
commit
37915f1982
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue