Lines Matching refs:dst_fmt
94 HANTRO_PP_REG_WRITE(vpu, input_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_g1_enable()
95 HANTRO_PP_REG_WRITE(vpu, input_height, MB_HEIGHT(ctx->dst_fmt.height)); in hantro_postproc_g1_enable()
98 HANTRO_PP_REG_WRITE(vpu, output_width, ctx->dst_fmt.width); in hantro_postproc_g1_enable()
99 HANTRO_PP_REG_WRITE(vpu, output_height, ctx->dst_fmt.height); in hantro_postproc_g1_enable()
100 HANTRO_PP_REG_WRITE(vpu, orig_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_g1_enable()
101 HANTRO_PP_REG_WRITE(vpu, display_width, ctx->dst_fmt.width); in hantro_postproc_g1_enable()
106 if (ctx->src_fmt.width == ctx->dst_fmt.width) in down_scale_factor()
109 return DIV_ROUND_CLOSEST(ctx->src_fmt.width, ctx->dst_fmt.width); in down_scale_factor()
123 chroma_offset = ctx->dst_fmt.plane_fmt[0].bytesperline * in hantro_postproc_g2_enable()
124 ctx->dst_fmt.height; in hantro_postproc_g2_enable()
137 out_depth = hantro_get_format_depth(ctx->dst_fmt.pixelformat); in hantro_postproc_g2_enable()