Home
last modified time | relevance | path

Searched refs:mb_width (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/staging/media/meson/vdec/
Dcodec_h264.c143 u32 mb_width; member
289 u32 mb_width, mb_height, mb_total; in codec_h264_resume() local
299 mb_width = ALIGN(h264->mb_width, 4); in codec_h264_resume()
301 mb_total = mb_width * mb_height; in codec_h264_resume()
339 h264->mb_width = parsed_info & MB_WIDTH_MASK; in codec_h264_src_change()
341 h264->mb_height = mb_total / h264->mb_width; in codec_h264_src_change()
349 frame_width = h264->mb_width * 16 - crop_right; in codec_h264_src_change()
/Linux-v6.6/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
67 mb_width = MB_WIDTH(ctx->img_width); 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()
90 ALIGN((mb_width * 16), 64) in s5p_mfc_alloc_codec_buffers_v6()
94 ALIGN((mb_width * 16), 64) 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-v6.6/drivers/media/platform/verisilicon/
Dhantro_vp8.c149 unsigned int mb_width, mb_height; in hantro_vp8_dec_init() local
154 mb_width = DIV_ROUND_UP(ctx->dst_fmt.width, 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
477 mb_width = MB_WIDTH(width); in hantro_g1_vp8_dec_run()
479 reg = G1_REG_DEC_CTRL1_PIC_MB_WIDTH(mb_width) | in hantro_g1_vp8_dec_run()
481 G1_REG_DEC_CTRL1_PIC_MB_W_EXT(mb_width >> 9) | in hantro_g1_vp8_dec_run()
Drockchip_vpu2_hw_vp8_dec.c516 u32 mb_width, mb_height; in rockchip_vpu2_vp8_dec_run() local
567 mb_width = MB_WIDTH(width); in rockchip_vpu2_vp8_dec_run()
570 hantro_reg_write(vpu, &vp8_dec_mb_width, mb_width); in rockchip_vpu2_vp8_dec_run()
572 hantro_reg_write(vpu, &vp8_dec_mb_width_ext, mb_width >> 9); in rockchip_vpu2_vp8_dec_run()
/Linux-v6.6/drivers/media/platform/chips-media/
Dcoda-bit.c796 int mb_width; in coda_setup_iram() local
836 mb_width = DIV_ROUND_UP(q_data_src->rect.width, 16); in coda_setup_iram()
837 w128 = mb_width * 128; in coda_setup_iram()
838 w64 = mb_width * 64; in coda_setup_iram()
843 iram_info->search_ram_size = round_up(mb_width * 16 * in coda_setup_iram()
876 mb_width = DIV_ROUND_UP(q_data_dst->width, 16); in coda_setup_iram()
877 w128 = mb_width * 128; in coda_setup_iram()