Home
last modified time | relevance | path

Searched refs:mb_height (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/staging/media/meson/vdec/
Dcodec_h264.c144 u32 mb_height; member
289 u32 mb_width, mb_height, mb_total; in codec_h264_resume() local
300 mb_height = ALIGN(h264->mb_height, 4); in codec_h264_resume()
301 mb_total = mb_width * mb_height; in codec_h264_resume()
341 h264->mb_height = mb_total / h264->mb_width; in codec_h264_src_change()
350 frame_height = h264->mb_height * 16 - crop_bottom; in codec_h264_src_change()
/linux-5.19.10/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_opr_v6.c63 unsigned int mb_width, mb_height; in s5p_mfc_alloc_codec_buffers_v6() local
68 mb_height = MB_HEIGHT(ctx->img_height); in s5p_mfc_alloc_codec_buffers_v6()
79 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V8(mb_width, mb_height), in s5p_mfc_alloc_codec_buffers_v6()
83 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V6(mb_width, mb_height), in s5p_mfc_alloc_codec_buffers_v6()
91 * ALIGN((mb_height * 16), 32) in s5p_mfc_alloc_codec_buffers_v6()
95 * (mb_height * 8) in s5p_mfc_alloc_codec_buffers_v6()
108 ctx->luma_dpb_size = ALIGN((mb_width * mb_height) * in s5p_mfc_alloc_codec_buffers_v6()
111 ctx->chroma_dpb_size = ALIGN((mb_width * mb_height) * in s5p_mfc_alloc_codec_buffers_v6()
118 mb_width, mb_height), in s5p_mfc_alloc_codec_buffers_v6()
123 mb_width, mb_height), in s5p_mfc_alloc_codec_buffers_v6()
[all …]
/linux-5.19.10/drivers/staging/media/hantro/
Dhantro_vp8.c149 unsigned int mb_width, mb_height; in hantro_vp8_dec_init() local
155 mb_height = DIV_ROUND_UP(ctx->dst_fmt.height, 16); in hantro_vp8_dec_init()
156 segment_map_size = round_up(DIV_ROUND_UP(mb_width * mb_height, 4), 64); in hantro_vp8_dec_init()
Dhantro_g1_vp8_dec.c439 u32 mb_width, mb_height; in hantro_g1_vp8_dec_run() local
478 mb_height = MB_HEIGHT(height); in hantro_g1_vp8_dec_run()
480 G1_REG_DEC_CTRL1_PIC_MB_HEIGHT_P(mb_height) | in hantro_g1_vp8_dec_run()
482 G1_REG_DEC_CTRL1_PIC_MB_H_EXT(mb_height >> 8); in hantro_g1_vp8_dec_run()
Drockchip_vpu2_hw_vp8_dec.c516 u32 mb_width, mb_height; in rockchip_vpu2_vp8_dec_run() local
568 mb_height = MB_HEIGHT(height); in rockchip_vpu2_vp8_dec_run()
571 hantro_reg_write(vpu, &vp8_dec_mb_height, mb_height); in rockchip_vpu2_vp8_dec_run()
573 hantro_reg_write(vpu, &vp8_dec_mb_height_ext, mb_height >> 8); in rockchip_vpu2_vp8_dec_run()