Loading drivers/media/platform/msm/vidc/msm_vidc_common.c +5 −2 Original line number Diff line number Diff line Loading @@ -2751,14 +2751,17 @@ bool is_batching_allowed(struct msm_vidc_inst *inst) /* * Enable decode batching based on below conditions * - decode session * - platform supports batching * - decode session and H264/HEVC/VP9 format * - session resolution <= 1080p * - low latency not enabled * - not a thumbnail session * - UBWC color format */ if (is_decode_session(inst) && inst->core->resources.decode_batching && if (inst->core->resources.decode_batching && is_decode_session(inst) && (inst->fmts[OUTPUT_PORT].fourcc == V4L2_PIX_FMT_H264 || inst->fmts[OUTPUT_PORT].fourcc == V4L2_PIX_FMT_HEVC || inst->fmts[OUTPUT_PORT].fourcc == V4L2_PIX_FMT_VP9) && (msm_vidc_get_mbs_per_frame(inst) <= NUM_MBS_PER_FRAME(MAX_DEC_BATCH_HEIGHT, MAX_DEC_BATCH_WIDTH)) && !inst->clk_data.low_latency_mode && Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_common.c +5 −2 Original line number Diff line number Diff line Loading @@ -2751,14 +2751,17 @@ bool is_batching_allowed(struct msm_vidc_inst *inst) /* * Enable decode batching based on below conditions * - decode session * - platform supports batching * - decode session and H264/HEVC/VP9 format * - session resolution <= 1080p * - low latency not enabled * - not a thumbnail session * - UBWC color format */ if (is_decode_session(inst) && inst->core->resources.decode_batching && if (inst->core->resources.decode_batching && is_decode_session(inst) && (inst->fmts[OUTPUT_PORT].fourcc == V4L2_PIX_FMT_H264 || inst->fmts[OUTPUT_PORT].fourcc == V4L2_PIX_FMT_HEVC || inst->fmts[OUTPUT_PORT].fourcc == V4L2_PIX_FMT_VP9) && (msm_vidc_get_mbs_per_frame(inst) <= NUM_MBS_PER_FRAME(MAX_DEC_BATCH_HEIGHT, MAX_DEC_BATCH_WIDTH)) && !inst->clk_data.low_latency_mode && Loading