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

Commit 836466ab authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge ea1ec635 on remote branch

Change-Id: Ibbd9eb0a3b58bd7bb3c992d3f0def9ab0f5d5e90
parents c9f16f9c ea1ec635
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3277,7 +3277,6 @@ int msm_venc_set_intra_refresh_mode(struct msm_vidc_inst *inst)
		inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_CBR))
		return 0;

	/* Firmware supports only random mode */
	intra_refresh.mode = HFI_INTRA_REFRESH_RANDOM;

	ctrl = get_ctrl(inst, V4L2_CID_MPEG_VIDC_VIDEO_INTRA_REFRESH_RANDOM);
@@ -3296,6 +3295,7 @@ int msm_venc_set_intra_refresh_mode(struct msm_vidc_inst *inst)
	} else {
		ctrl = get_ctrl(inst,
			V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB);
		intra_refresh.mode = HFI_INTRA_REFRESH_CYCLIC;
		intra_refresh.mbs = ctrl->val;
	}
	if (!intra_refresh.mbs) {
+3 −3
Original line number Diff line number Diff line
@@ -820,9 +820,9 @@ static struct msm_vidc_codec_capability kona_capabilities[] = {
	{CAP_I_FRAME_QP, ENC, VP8|VP9, 0, 127, 1, 20},
	{CAP_P_FRAME_QP, ENC, VP8|VP9, 0, 127, 1, 40},
	{CAP_B_FRAME_QP, ENC, VP8|VP9, 0, 127, 1, 40},
	/* 10 slices */
	{CAP_SLICE_BYTE, ENC, H264|HEVC, 1, 10, 1, 10},
	{CAP_SLICE_MB, ENC, H264|HEVC, 1, 10, 1, 10},
	/* 128 slices */
	{CAP_SLICE_BYTE, ENC, H264|HEVC, 1, 128, 1, 10},
	{CAP_SLICE_MB, ENC, H264|HEVC, 1, 128, 1, 10},
	{CAP_MAX_VIDEOCORES, DOMAINS_ALL, CODECS_ALL, 0, 1, 1, 1},

	/* VP8 specific */