Loading msm/vidc/msm_venc.c +7 −0 Original line number Original line Diff line number Diff line Loading @@ -4365,6 +4365,13 @@ int handle_all_intra_restrictions(struct msm_vidc_inst *inst) return -ENOTSUPP; return -ENOTSUPP; } } /* CBR_CFR is one of the advertised rc mode for HEVC encoding. * However, all-intra is intended for quality bitstream. Hence, * fallback to VBR RC mode if client needs all-intra encoding. */ if (inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_CBR) inst->rc_type = V4L2_MPEG_VIDEO_BITRATE_MODE_VBR; /* check supported bit rate mode and frame rate */ /* check supported bit rate mode and frame rate */ capability = &inst->capability; capability = &inst->capability; n_fps = inst->clk_data.frame_rate >> 16; n_fps = inst->clk_data.frame_rate >> 16; Loading Loading
msm/vidc/msm_venc.c +7 −0 Original line number Original line Diff line number Diff line Loading @@ -4365,6 +4365,13 @@ int handle_all_intra_restrictions(struct msm_vidc_inst *inst) return -ENOTSUPP; return -ENOTSUPP; } } /* CBR_CFR is one of the advertised rc mode for HEVC encoding. * However, all-intra is intended for quality bitstream. Hence, * fallback to VBR RC mode if client needs all-intra encoding. */ if (inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_CBR) inst->rc_type = V4L2_MPEG_VIDEO_BITRATE_MODE_VBR; /* check supported bit rate mode and frame rate */ /* check supported bit rate mode and frame rate */ capability = &inst->capability; capability = &inst->capability; n_fps = inst->clk_data.frame_rate >> 16; n_fps = inst->clk_data.frame_rate >> 16; Loading