Home
last modified time | relevance | path

Searched refs:buf_w (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_if.c187 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()
Dvdec_vp8_req_if.c128 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()
Dvdec_vp9_if.c148 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()
Dvdec_h264_req_multi_if.c312 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()
Dvdec_hevc_req_multi_if.c647 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()
Dvdec_h264_if.c169 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()
Dvdec_vp8_if.c285 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
Dvdec_av1_req_lat_if.c1978 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in vdec_av1_slice_get_pic_info()
Dvdec_vp9_req_lat_if.c1945 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/
Dmtk_vcodec_dec.c388 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()
Dmtk_vcodec_dec_stateful.c246 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()
Dmtk_vcodec_dec_stateless.c411 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()
Dmtk_vcodec_dec_drv.h70 unsigned int buf_w; member
Dvdec_msg_queue.c303 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/
Dvenc_h264_if.c86 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()
Dvenc_vp8_if.c69 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/
Dmtk_vcodec_dbgfs.c127 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in mtk_vdec_dbgfs_read()