Searched refs:picinfo (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_vp8_req_if.c | 124 data[0] = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info() 125 data[1] = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info() 129 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 64); in vdec_vp8_slice_get_pic_info() 130 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, 64); in vdec_vp8_slice_get_pic_info() 131 ctx->picinfo.fb_sz[0] = inst->vpu.fb_sz[0]; in vdec_vp8_slice_get_pic_info() 132 ctx->picinfo.fb_sz[1] = inst->vpu.fb_sz[1]; in vdec_vp8_slice_get_pic_info() 134 inst->vsi->pic.pic_w = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info() 135 inst->vsi->pic.pic_h = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info() 136 inst->vsi->pic.buf_w = ctx->picinfo.buf_w; in vdec_vp8_slice_get_pic_info() 137 inst->vsi->pic.buf_h = ctx->picinfo.buf_h; in vdec_vp8_slice_get_pic_info() [all …]
|
D | vdec_h264_req_if.c | 227 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in get_pic_info() 228 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in get_pic_info() 229 ctx->picinfo.fb_sz[0] = ctx->picinfo.buf_w * ctx->picinfo.buf_h; in get_pic_info() 230 ctx->picinfo.fb_sz[1] = ctx->picinfo.fb_sz[0] >> 1; in get_pic_info() 234 *pic = ctx->picinfo; in get_pic_info() 236 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in get_pic_info() 237 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in get_pic_info() 238 mtk_vcodec_debug(inst, "Y/C(%d, %d)", ctx->picinfo.fb_sz[0], in get_pic_info() 239 ctx->picinfo.fb_sz[1]); in get_pic_info() 241 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in get_pic_info() [all …]
|
D | vdec_h264_req_multi_if.c | 350 data[0] = ctx->picinfo.pic_w; in vdec_h264_slice_get_pic_info() 351 data[1] = ctx->picinfo.pic_h; in vdec_h264_slice_get_pic_info() 355 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, VCODEC_DEC_ALIGNED_64); in vdec_h264_slice_get_pic_info() 356 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in vdec_h264_slice_get_pic_info() 357 ctx->picinfo.fb_sz[0] = inst->vpu.fb_sz[0]; in vdec_h264_slice_get_pic_info() 358 ctx->picinfo.fb_sz[1] = inst->vpu.fb_sz[1]; in vdec_h264_slice_get_pic_info() 363 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vdec_h264_slice_get_pic_info() 364 ctx->picinfo.buf_w, ctx->picinfo.buf_h); in vdec_h264_slice_get_pic_info() 365 mtk_vcodec_debug(inst, "Y/C(%d, %d)", ctx->picinfo.fb_sz[0], in vdec_h264_slice_get_pic_info() 366 ctx->picinfo.fb_sz[1]); in vdec_h264_slice_get_pic_info() [all …]
|
D | vdec_vp9_req_lat_if.c | 1946 ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_vp9_slice_get_pic_info() 1948 data[0] = ctx->picinfo.pic_w; in vdec_vp9_slice_get_pic_info() 1949 data[1] = ctx->picinfo.pic_h; in vdec_vp9_slice_get_pic_info() 1953 ctx->picinfo.buf_w = ALIGN(ctx->picinfo.pic_w, 64); in vdec_vp9_slice_get_pic_info() 1954 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, 64); in vdec_vp9_slice_get_pic_info() 1955 ctx->picinfo.fb_sz[0] = instance->vpu.fb_sz[0]; in vdec_vp9_slice_get_pic_info() 1956 ctx->picinfo.fb_sz[1] = instance->vpu.fb_sz[1]; in vdec_vp9_slice_get_pic_info()
|
D | vdec_h264_req_common.c | 90 ctx->picinfo.fb_sz[0]; in mtk_vdec_h264_fill_dpb_info()
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec.c | 387 s->r.width = ctx->picinfo.pic_w; in vidioc_vdec_g_selection() 388 s->r.height = ctx->picinfo.pic_h; in vidioc_vdec_g_selection() 393 s->r.width = ctx->picinfo.buf_w; in vidioc_vdec_g_selection() 394 s->r.height = ctx->picinfo.buf_h; in vidioc_vdec_g_selection() 433 s->r.width = ctx->picinfo.pic_w; in vidioc_vdec_s_selection() 434 s->r.height = ctx->picinfo.pic_h; in vidioc_vdec_s_selection() 527 ctx->picinfo.pic_w = pix_mp->width; in vidioc_vdec_s_fmt() 528 ctx->picinfo.pic_h = pix_mp->height; in vidioc_vdec_s_fmt() 534 ret = vdec_if_get_param(ctx, GET_PARAM_PIC_INFO, &ctx->picinfo); in vidioc_vdec_s_fmt() 540 ctx->last_decoded_picinfo = ctx->picinfo; in vidioc_vdec_s_fmt() [all …]
|
D | mtk_vcodec_dec_stateful.c | 253 if (ctx->last_decoded_picinfo.cap_fourcc != ctx->picinfo.cap_fourcc && in mtk_vdec_pic_info_update() 254 ctx->picinfo.cap_fourcc != 0) in mtk_vdec_pic_info_update() 255 mtk_vdec_update_fmt(ctx, ctx->picinfo.cap_fourcc); in mtk_vdec_pic_info_update() 257 if (ctx->last_decoded_picinfo.pic_w == ctx->picinfo.pic_w || in mtk_vdec_pic_info_update() 258 ctx->last_decoded_picinfo.pic_h == ctx->picinfo.pic_h) in mtk_vdec_pic_info_update() 263 ctx->last_decoded_picinfo.pic_h, ctx->picinfo.pic_w, in mtk_vdec_pic_info_update() 264 ctx->picinfo.pic_h, ctx->last_decoded_picinfo.buf_w, in mtk_vdec_pic_info_update() 309 pfb->base_y.size = ctx->picinfo.fb_sz[0]; in mtk_vdec_worker() 314 pfb->base_c.size = ctx->picinfo.fb_sz[1]; in mtk_vdec_worker() 499 if (vdec_if_get_param(ctx, GET_PARAM_PIC_INFO, &ctx->picinfo)) { in vb2ops_vdec_stateful_buf_queue() [all …]
|
D | vdec_msg_queue.c | 245 vde_msg_queue_get_trans_size(ctx->picinfo.buf_w, in vdec_msg_queue_init() 246 ctx->picinfo.buf_h); in vdec_msg_queue_init()
|
D | mtk_vcodec_drv.h | 300 struct vdec_pic_info picinfo; member
|