/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_h264_req_if.c | 224 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in get_pic_info() 233 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in get_pic_info() 238 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in get_pic_info() 248 ctx->last_decoded_picinfo.pic_w, in get_pic_info() 250 ctx->picinfo.pic_w, ctx->picinfo.pic_h); in get_pic_info()
|
D | vdec_vp8_req_if.c | 123 data[0] = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info() 128 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 64); in vdec_vp8_slice_get_pic_info() 133 inst->vsi->pic.pic_w = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info() 140 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vdec_vp8_slice_get_pic_info()
|
D | vdec_vp9_if.c | 146 unsigned int pic_w; member 379 if ((vsi->pic_w > max_pic_w) || in vp9_alloc_work_buf() 381 mtk_vdec_err(inst->ctx, "Invalid w/h %d/%d", vsi->pic_w, vsi->pic_h); in vp9_alloc_work_buf() 386 vsi->resolution_changed, vsi->pic_w, in vp9_alloc_work_buf() 592 vsi->pic_w, vsi->pic_h); in vp9_decode_end_proc() 699 pic->pic_w = inst->vsi->pic_w; in get_pic_info() 705 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info() 975 cr->width = inst->vsi->pic_w; in get_crop_info()
|
D | vdec_h264_req_multi_if.c | 349 data[0] = ctx->picinfo.pic_w; in vdec_h264_slice_get_pic_info() 354 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in vdec_h264_slice_get_pic_info() 362 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vdec_h264_slice_get_pic_info() 367 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in vdec_h264_slice_get_pic_info() 377 ctx->last_decoded_picinfo.pic_w, in vdec_h264_slice_get_pic_info() 379 ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_h264_slice_get_pic_info() 388 cr->width = inst->ctx->picinfo.pic_w; in vdec_h264_slice_get_crop_info()
|
D | vdec_hevc_req_multi_if.c | 684 data[0] = ctx->picinfo.pic_w; in vdec_hevc_slice_get_pic_info() 689 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in vdec_hevc_slice_get_pic_info() 697 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vdec_hevc_slice_get_pic_info() 702 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in vdec_hevc_slice_get_pic_info() 712 ctx->last_decoded_picinfo.pic_w, in vdec_hevc_slice_get_pic_info() 714 ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_hevc_slice_get_pic_info() 723 cr->width = inst->ctx->picinfo.pic_w; in vdec_hevc_slice_get_crop_info()
|
D | vdec_vp8_if.c | 285 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info() 554 cr->width = inst->vsi->pic.pic_w; in get_crop_info()
|
D | vdec_h264_if.c | 247 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
|
D | vdec_av1_req_lat_if.c | 1971 mtk_vdec_debug(ctx, "w %u h %u\n", ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_av1_slice_get_pic_info() 1973 data[0] = ctx->picinfo.pic_w; in vdec_av1_slice_get_pic_info() 1978 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in vdec_av1_slice_get_pic_info() 1998 cr->width = ctx->picinfo.pic_w; in vdec_av1_slice_get_crop_info()
|
D | vdec_vp9_req_lat_if.c | 1938 mtk_vdec_debug(instance->ctx, "w %u h %u\n", ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_vp9_slice_get_pic_info() 1940 data[0] = ctx->picinfo.pic_w; in vdec_vp9_slice_get_pic_info() 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/encoder/venc/ |
D | venc_vp8_if.c | 67 u32 pic_w; member 252 ac_tag[6] = inst->vsi->config.pic_w; in vp8_enc_compose_one_frame() 253 ac_tag[7] = inst->vsi->config.pic_w >> 8; in vp8_enc_compose_one_frame() 386 inst->vsi->config.pic_w = enc_prm->width; in vp8_enc_set_param()
|
D | venc_h264_if.c | 84 u32 pic_w; member 155 u32 pic_w; member 713 inst->vsi->config.pic_w = enc_prm->width; in h264_enc_set_vsi_configs() 732 inst->vsi_34->config.pic_w = enc_prm->width; in h264_enc_set_vsi_34_configs()
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_stateful.c | 244 if (ctx->last_decoded_picinfo.pic_w == 0 || in mtk_vdec_pic_info_update() 256 if (ctx->last_decoded_picinfo.pic_w == ctx->picinfo.pic_w || in mtk_vdec_pic_info_update() 261 ctx->last_decoded_picinfo.pic_w, in mtk_vdec_pic_info_update() 262 ctx->last_decoded_picinfo.pic_h, ctx->picinfo.pic_w, 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()
|
D | mtk_vcodec_dec.c | 382 s->r.width = ctx->picinfo.pic_w; in vidioc_vdec_g_selection() 428 s->r.width = ctx->picinfo.pic_w; in vidioc_vdec_s_selection() 522 ctx->picinfo.pic_w = pix_mp->width; in vidioc_vdec_s_fmt() 560 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vidioc_vdec_s_fmt() 885 ctx->id, ctx->last_decoded_picinfo.pic_w, in vb2ops_vdec_stop_streaming() 887 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vb2ops_vdec_stop_streaming() 923 if ((ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w) || in m2mops_vdec_job_ready()
|
D | mtk_vcodec_dec_drv.h | 68 unsigned int pic_w; member
|
D | mtk_vcodec_dec_stateless.c | 420 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in mtk_vcodec_get_pic_info()
|
/linux-6.6.21/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_dec_hw.h | 28 u32 pic_w; member
|
D | mtk_jpeg_dec_parse.c | 96 param->pic_w = word; in mtk_jpeg_do_parse()
|
D | mtk_jpeg_dec_hw.c | 105 param->mcu_w = (param->pic_w + (1 << factor_w) - 1) >> factor_w; in mtk_jpeg_calc_mcu() 108 param->unit_num = ((param->pic_w + 7) >> 3) * ((param->pic_h + 7) >> 3); in mtk_jpeg_calc_mcu()
|
D | mtk_jpeg_core.c | 739 if (q_data->pix_mp.width != param->pic_w || in mtk_jpeg_check_resolution_change() 764 q_data->pix_mp.width = param->pic_w; in mtk_jpeg_set_queue_data() 786 param->pic_w, param->pic_h, in mtk_jpeg_set_queue_data()
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_dbgfs.c | 126 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in mtk_vdec_dbgfs_read()
|