Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A 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) * \
H A 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()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_g1_h264_dec.c52 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()
H A Dhantro_hw.h25 #define MB_WIDTH(w) DIV_ROUND_UP(w, MB_DIM) macro
496 return 64 * MB_WIDTH(width) * MB_WIDTH(height) + 32; in hantro_h264_mv_size()
H A Dhantro_postproc.c98 HANTRO_PP_REG_WRITE(vpu, input_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_g1_enable()
104 HANTRO_PP_REG_WRITE(vpu, orig_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_g1_enable()
H A Drockchip_vpu2_hw_h264_dec.c264 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()
H A Dhantro_h1_jpeg_enc.c145 reg = H1_REG_ENC_CTRL_WIDTH(MB_WIDTH(ctx->src_fmt.width)) in hantro_h1_jpeg_enc_run()
H A Drockchip_vpu2_hw_jpeg_enc.c176 reg = VEPU_REG_MB_WIDTH(MB_WIDTH(ctx->src_fmt.width)) in rockchip_vpu2_jpeg_enc_run()
H A Drockchip_vpu2_hw_mpeg2_dec.c213 reg = VDPU_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in rockchip_vpu2_mpeg2_dec_run()
H A Dhantro_g1_mpeg2_dec.c196 reg = G1_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in hantro_g1_mpeg2_dec_run()
H A Dhantro_g1_vp8_dec.c477 mb_width = MB_WIDTH(width); in hantro_g1_vp8_dec_run()
H A Drockchip_vpu2_hw_vp8_dec.c567 mb_width = MB_WIDTH(width); in rockchip_vpu2_vp8_dec_run()