Loading drivers/media/platform/msm/vidc/msm_venc.c +9 −5 Original line number Original line Diff line number Diff line Loading @@ -3365,12 +3365,16 @@ int msm_venc_set_8x8_transform(struct msm_vidc_inst *inst) } } hdev = inst->core->device; hdev = inst->core->device; if (inst->fmts[CAPTURE_PORT].fourcc != V4L2_PIX_FMT_H264 && if (inst->fmts[CAPTURE_PORT].fourcc != V4L2_PIX_FMT_H264) { inst->profile != HFI_H264_PROFILE_HIGH && dprintk(VIDC_DBG, "%s: skip due to %#x\n", __func__, inst->fmts[CAPTURE_PORT].fourcc); return 0; } if (inst->profile != HFI_H264_PROFILE_HIGH && inst->profile != HFI_H264_PROFILE_CONSTRAINED_HIGH) { inst->profile != HFI_H264_PROFILE_CONSTRAINED_HIGH) { dprintk(VIDC_DBG, "%s: skip due to %#x %#x\n", dprintk(VIDC_DBG, "%s: skip due to %#x\n", __func__, inst->fmts[CAPTURE_PORT].fourcc, __func__, inst->profile); inst->profile); return 0; return 0; } } Loading Loading
drivers/media/platform/msm/vidc/msm_venc.c +9 −5 Original line number Original line Diff line number Diff line Loading @@ -3365,12 +3365,16 @@ int msm_venc_set_8x8_transform(struct msm_vidc_inst *inst) } } hdev = inst->core->device; hdev = inst->core->device; if (inst->fmts[CAPTURE_PORT].fourcc != V4L2_PIX_FMT_H264 && if (inst->fmts[CAPTURE_PORT].fourcc != V4L2_PIX_FMT_H264) { inst->profile != HFI_H264_PROFILE_HIGH && dprintk(VIDC_DBG, "%s: skip due to %#x\n", __func__, inst->fmts[CAPTURE_PORT].fourcc); return 0; } if (inst->profile != HFI_H264_PROFILE_HIGH && inst->profile != HFI_H264_PROFILE_CONSTRAINED_HIGH) { inst->profile != HFI_H264_PROFILE_CONSTRAINED_HIGH) { dprintk(VIDC_DBG, "%s: skip due to %#x %#x\n", dprintk(VIDC_DBG, "%s: skip due to %#x\n", __func__, inst->fmts[CAPTURE_PORT].fourcc, __func__, inst->profile); inst->profile); return 0; return 0; } } Loading