Searched refs:MB_WIDTH (Results 1 – 12 of 12) sorted by relevance
20 #define MB_WIDTH(x_size) DIV_ROUND_UP(x_size, 16) macro22 #define S5P_MFC_DEC_MV_SIZE_V6(x, y) (MB_WIDTH(x) * \24 #define S5P_MFC_DEC_MV_SIZE_V10(x, y) (MB_WIDTH(x) * \
67 mb_width = MB_WIDTH(ctx->img_width); in s5p_mfc_alloc_codec_buffers_v6()475 mb_width = MB_WIDTH(ctx->img_width); in s5p_mfc_enc_calc_src_size_v6()
22 #define MB_WIDTH(w) DIV_ROUND_UP(w, MB_DIM) macro407 return 64 * MB_WIDTH(width) * MB_WIDTH(height) + 32; in hantro_h264_mv_size()
52 reg = G1_REG_DEC_CTRL1_PIC_MB_WIDTH(MB_WIDTH(ctx->src_fmt.width)) | in set_params()233 offset = bytes_per_mb * MB_WIDTH(ctx->src_fmt.width) * in set_buffers()241 offset += 32 * MB_WIDTH(ctx->src_fmt.width) * in set_buffers()
94 HANTRO_PP_REG_WRITE(vpu, input_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_g1_enable()100 HANTRO_PP_REG_WRITE(vpu, orig_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_g1_enable()
264 VDPU_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->src_fmt.width)); in set_params()450 offset = bytes_per_mb * MB_WIDTH(ctx->src_fmt.width) * in set_buffers()458 offset += 32 * MB_WIDTH(ctx->src_fmt.width) * in set_buffers()
145 reg = H1_REG_ENC_CTRL_WIDTH(MB_WIDTH(ctx->src_fmt.width)) in hantro_h1_jpeg_enc_run()
176 reg = VEPU_REG_MB_WIDTH(MB_WIDTH(ctx->src_fmt.width)) in rockchip_vpu2_jpeg_enc_run()
196 reg = G1_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in hantro_g1_mpeg2_dec_run()
213 reg = VDPU_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in rockchip_vpu2_mpeg2_dec_run()
477 mb_width = MB_WIDTH(width); in hantro_g1_vp8_dec_run()
567 mb_width = MB_WIDTH(width); in rockchip_vpu2_vp8_dec_run()