Home
last modified time | relevance | path

Searched refs:MB_WIDTH (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v6.h20 #define MB_WIDTH(x_size) DIV_ROUND_UP(x_size, 16) macro
22 #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) * \
Ds5p_mfc_opr_v6.c67 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()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_hw.h22 #define MB_WIDTH(w) DIV_ROUND_UP(w, MB_DIM) macro
206 return 64 * MB_WIDTH(width) * MB_WIDTH(height) + 32; in hantro_h264_mv_size()
Dhantro_postproc.c87 HANTRO_PP_REG_WRITE(vpu, input_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_enable()
93 HANTRO_PP_REG_WRITE(vpu, orig_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_enable()
Dhantro_g1_h264_dec.c53 reg = G1_REG_DEC_CTRL1_PIC_MB_WIDTH(MB_WIDTH(ctx->src_fmt.width)) | in set_params()
259 offset = bytes_per_mb * MB_WIDTH(ctx->src_fmt.width) * in set_buffers()
267 offset += 32 * MB_WIDTH(ctx->src_fmt.width) * in set_buffers()
Drk3399_vpu_hw_jpeg_enc.c162 reg = VEPU_REG_MB_WIDTH(MB_WIDTH(ctx->src_fmt.width)) in rk3399_vpu_jpeg_enc_run()
Dhantro_h1_jpeg_enc.c130 reg = H1_REG_ENC_CTRL_WIDTH(MB_WIDTH(ctx->src_fmt.width)) in hantro_h1_jpeg_enc_run()
Drk3399_vpu_hw_mpeg2_dec.c223 reg = VDPU_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in rk3399_vpu_mpeg2_dec_run()
Dhantro_g1_mpeg2_dec.c207 reg = G1_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in hantro_g1_mpeg2_dec_run()
Dhantro_g1_vp8_dec.c479 mb_width = MB_WIDTH(width); in hantro_g1_vp8_dec_run()
Drk3399_vpu_hw_vp8_dec.c571 mb_width = MB_WIDTH(width); in rk3399_vpu_vp8_dec_run()