/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_req_if.c | 187 unsigned int buf_sz = mtk_vdec_h264_get_mv_buf_size(pic->buf_w, pic->buf_h); in alloc_mv_buf() 225 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in get_pic_info() 226 ctx->picinfo.fb_sz[0] = ctx->picinfo.buf_w * ctx->picinfo.buf_h; in get_pic_info() 234 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in get_pic_info() 242 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in get_pic_info()
|
H A D | vdec_vp8_req_if.c | 129 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, 64); in vdec_vp8_slice_get_pic_info() 136 inst->vsi->pic.buf_h = ctx->picinfo.buf_h; in vdec_vp8_slice_get_pic_info() 141 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in vdec_vp8_slice_get_pic_info() 347 inst->ctx->picinfo.buf_w * inst->ctx->picinfo.buf_h; in vdec_vp8_slice_decode()
|
H A D | vdec_vp9_if.c | 149 unsigned int buf_h; member 387 vsi->pic_h, vsi->buf_w, vsi->buf_h); in vp9_alloc_work_buf() 394 (vsi->buf_h / 64) + 2) * 36 * 16; in vp9_alloc_work_buf() 702 pic->buf_h = inst->vsi->buf_h; in get_pic_info() 705 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
|
H A D | vdec_h264_req_multi_if.c | 312 unsigned int buf_sz = mtk_vdec_h264_get_mv_buf_size(pic->buf_w, pic->buf_h); in vdec_h264_slice_alloc_mv_buf() 355 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in vdec_h264_slice_get_pic_info() 363 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in vdec_h264_slice_get_pic_info() 371 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in vdec_h264_slice_get_pic_info() 481 y_fb_dma + inst->ctx->picinfo.buf_w * inst->ctx->picinfo.buf_h; in vdec_h264_slice_core_decode()
|
H A D | vdec_hevc_req_multi_if.c | 647 unsigned int buf_sz = vdec_hevc_get_mv_buf_size(pic->buf_w, pic->buf_h); in vdec_hevc_slice_alloc_mv_buf() 690 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in vdec_hevc_slice_get_pic_info() 698 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in vdec_hevc_slice_get_pic_info() 706 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in vdec_hevc_slice_get_pic_info() 815 y_fb_dma + inst->ctx->picinfo.buf_w * inst->ctx->picinfo.buf_h; in vdec_hevc_slice_setup_core_buffer()
|
H A D | vdec_h264_if.c | 169 unsigned int buf_sz = get_mv_buf_size(pic->buf_w, pic->buf_h); in alloc_mv_buf() 247 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
|
H A D | vdec_vp8_if.c | 285 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
|
H A D | vdec_av1_req_lat_if.c | 1987 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in vdec_av1_slice_get_pic_info()
|
H A D | vdec_vp9_req_lat_if.c | 1946 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, 64); in vdec_vp9_slice_get_pic_info()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_h264_if.c | 87 u32 buf_h; member 158 u32 buf_h; member 717 inst->vsi->config.buf_h = enc_prm->buf_height; in h264_enc_set_vsi_configs() 736 inst->vsi_34->config.buf_h = enc_prm->buf_height; in h264_enc_set_vsi_34_configs()
|
H A D | venc_vp8_if.c | 70 u32 buf_h; member 389 inst->vsi->config.buf_h = enc_prm->buf_height; in vp8_enc_set_param()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateful.c | 247 ctx->last_decoded_picinfo.buf_h == 0) { in mtk_vdec_pic_info_update() 264 ctx->last_decoded_picinfo.buf_h); in mtk_vdec_pic_info_update() 512 ctx->id, ctx->picinfo.buf_w, ctx->picinfo.buf_h, ctx->picinfo.pic_w, in vb2ops_vdec_stateful_buf_queue()
|
H A D | mtk_vcodec_dec.c | 389 s->r.height = ctx->picinfo.buf_h; in vidioc_vdec_g_selection() 555 ctx->q_data[MTK_Q_DATA_DST].coded_height = ctx->picinfo.buf_h; in vidioc_vdec_s_fmt() 559 ctx->picinfo.buf_w, ctx->picinfo.buf_h, in vidioc_vdec_s_fmt() 681 q_data->coded_height = ctx->picinfo.buf_h; in vidioc_vdec_g_fmt() 889 ctx->last_decoded_picinfo.buf_h); in vb2ops_vdec_stop_streaming()
|
H A D | mtk_vcodec_dec_drv.h | 71 unsigned int buf_h; member
|
H A D | mtk_vcodec_dec_stateless.c | 417 q_data->coded_height = ctx->picinfo.buf_h; in mtk_vcodec_get_pic_info() 419 ctx->id, ctx->picinfo.buf_w, ctx->picinfo.buf_h, in mtk_vcodec_get_pic_info()
|
H A D | vdec_msg_queue.c | 304 ctx->picinfo.buf_h); in vdec_msg_queue_init()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_dbgfs.c | 127 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in mtk_vdec_dbgfs_read()
|