Home
last modified time | relevance | path

Searched refs:pic_w (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_if.c224 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()
Dvdec_vp8_req_if.c123 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()
Dvdec_vp9_if.c146 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()
Dvdec_h264_req_multi_if.c349 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()
Dvdec_hevc_req_multi_if.c684 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()
Dvdec_vp8_if.c285 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()
Dvdec_h264_if.c247 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
Dvdec_av1_req_lat_if.c1971 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()
Dvdec_vp9_req_lat_if.c1938 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/
Dvenc_vp8_if.c67 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()
Dvenc_h264_if.c84 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/
Dmtk_vcodec_dec_stateful.c244 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()
Dmtk_vcodec_dec.c382 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()
Dmtk_vcodec_dec_drv.h68 unsigned int pic_w; member
Dmtk_vcodec_dec_stateless.c420 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in mtk_vcodec_get_pic_info()
/linux-6.6.21/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_dec_hw.h28 u32 pic_w; member
Dmtk_jpeg_dec_parse.c96 param->pic_w = word; in mtk_jpeg_do_parse()
Dmtk_jpeg_dec_hw.c105 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()
Dmtk_jpeg_core.c739 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/
Dmtk_vcodec_dbgfs.c126 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in mtk_vdec_dbgfs_read()