/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
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() 224 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 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() 241 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || in get_pic_info()
|
D | vdec_vp8_req_if.c | 128 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 64); in vdec_vp8_slice_get_pic_info() 135 inst->vsi->pic.buf_w = ctx->picinfo.buf_w; in vdec_vp8_slice_get_pic_info() 141 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in vdec_vp8_slice_get_pic_info() 343 inst->ctx->picinfo.buf_w * inst->ctx->picinfo.buf_h; in vdec_vp8_slice_decode()
|
D | vdec_vp9_if.c | 148 unsigned int buf_w; member 387 vsi->pic_h, vsi->buf_w, vsi->buf_h); in vp9_alloc_work_buf() 393 mem->size = ((vsi->buf_w / 64) * in vp9_alloc_work_buf() 701 pic->buf_w = inst->vsi->buf_w; in get_pic_info() 705 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
|
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() 354 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 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() 370 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || 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()
|
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() 689 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 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() 705 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || 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()
|
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()
|
D | vdec_vp8_if.c | 285 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
|
D | vdec_av1_req_lat_if.c | 1978 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in vdec_av1_slice_get_pic_info()
|
D | vdec_vp9_req_lat_if.c | 1945 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 64); in vdec_vp9_slice_get_pic_info()
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec.c | 388 s->r.width = ctx->picinfo.buf_w; in vidioc_vdec_g_selection() 542 ctx->picinfo.buf_w; in vidioc_vdec_s_fmt() 547 ctx->picinfo.buf_w; in vidioc_vdec_s_fmt() 551 ctx->picinfo.buf_w; in vidioc_vdec_s_fmt() 554 ctx->q_data[MTK_Q_DATA_DST].coded_width = ctx->picinfo.buf_w; in vidioc_vdec_s_fmt() 559 ctx->picinfo.buf_w, ctx->picinfo.buf_h, in vidioc_vdec_s_fmt() 678 q_data->bytesperline[0] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt() 679 q_data->bytesperline[1] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt() 680 q_data->coded_width = ctx->picinfo.buf_w; in vidioc_vdec_g_fmt() 888 ctx->last_decoded_picinfo.buf_w, in vb2ops_vdec_stop_streaming()
|
D | mtk_vcodec_dec_stateful.c | 246 ctx->last_decoded_picinfo.buf_w == 0 || in mtk_vdec_pic_info_update() 263 ctx->picinfo.pic_h, ctx->last_decoded_picinfo.buf_w, in mtk_vdec_pic_info_update() 508 dst_q_data->bytesperline[i] = ctx->picinfo.buf_w; in vb2ops_vdec_stateful_buf_queue() 512 ctx->id, ctx->picinfo.buf_w, ctx->picinfo.buf_h, ctx->picinfo.pic_w, in vb2ops_vdec_stateful_buf_queue()
|
D | mtk_vcodec_dec_stateless.c | 411 q_data->bytesperline[0] = ctx->picinfo.buf_w * 5 / 4; in mtk_vcodec_get_pic_info() 414 q_data->bytesperline[1] = ctx->picinfo.buf_w * 5 / 4; in mtk_vcodec_get_pic_info() 416 q_data->coded_width = ctx->picinfo.buf_w; in mtk_vcodec_get_pic_info() 419 ctx->id, ctx->picinfo.buf_w, ctx->picinfo.buf_h, in mtk_vcodec_get_pic_info()
|
D | mtk_vcodec_dec_drv.h | 70 unsigned int buf_w; member
|
D | vdec_msg_queue.c | 303 vde_msg_queue_get_trans_size(ctx->picinfo.buf_w, in vdec_msg_queue_init()
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
D | venc_h264_if.c | 86 u32 buf_w; member 157 u32 buf_w; member 715 inst->vsi->config.buf_w = enc_prm->buf_width; in h264_enc_set_vsi_configs() 734 inst->vsi_34->config.buf_w = enc_prm->buf_width; in h264_enc_set_vsi_34_configs()
|
D | venc_vp8_if.c | 69 u32 buf_w; member 388 inst->vsi->config.buf_w = enc_prm->buf_width; in vp8_enc_set_param()
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_dbgfs.c | 127 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in mtk_vdec_dbgfs_read()
|