Home
last modified time | relevance | path

Searched refs:last_decoded_picinfo (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateful.c255 &ctx->last_decoded_picinfo)) { in mtk_vdec_pic_info_update()
260 if (ctx->last_decoded_picinfo.pic_w == 0 || in mtk_vdec_pic_info_update()
261 ctx->last_decoded_picinfo.pic_h == 0 || in mtk_vdec_pic_info_update()
262 ctx->last_decoded_picinfo.buf_w == 0 || in mtk_vdec_pic_info_update()
263 ctx->last_decoded_picinfo.buf_h == 0) { in mtk_vdec_pic_info_update()
268 if (ctx->last_decoded_picinfo.cap_fourcc != ctx->picinfo.cap_fourcc && in mtk_vdec_pic_info_update()
272 if (ctx->last_decoded_picinfo.pic_w == ctx->picinfo.pic_w || in mtk_vdec_pic_info_update()
273 ctx->last_decoded_picinfo.pic_h == ctx->picinfo.pic_h) in mtk_vdec_pic_info_update()
277 ctx->last_decoded_picinfo.pic_w, in mtk_vdec_pic_info_update()
278 ctx->last_decoded_picinfo.pic_h, ctx->picinfo.pic_w, in mtk_vdec_pic_info_update()
[all …]
Dmtk_vcodec_dec.c500 ctx->last_decoded_picinfo = ctx->picinfo; in vidioc_vdec_s_fmt()
637 q_data->bytesperline[0] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt()
638 q_data->bytesperline[1] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt()
641 ctx->last_decoded_picinfo.cap_fourcc = q_data->fmt->fourcc; in vidioc_vdec_g_fmt()
834 ctx->picinfo = ctx->last_decoded_picinfo; in vb2ops_vdec_stop_streaming()
838 ctx->id, ctx->last_decoded_picinfo.pic_w, in vb2ops_vdec_stop_streaming()
839 ctx->last_decoded_picinfo.pic_h, in vb2ops_vdec_stop_streaming()
841 ctx->last_decoded_picinfo.buf_w, in vb2ops_vdec_stop_streaming()
842 ctx->last_decoded_picinfo.buf_h); in vb2ops_vdec_stop_streaming()
876 if ((ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w) || in m2mops_vdec_job_ready()
[all …]
Dmtk_vcodec_drv.h318 struct vdec_pic_info last_decoded_picinfo; member
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_if.c241 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in get_pic_info()
242 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in get_pic_info()
244 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || in get_pic_info()
245 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in get_pic_info()
251 ctx->last_decoded_picinfo.pic_w, in get_pic_info()
252 ctx->last_decoded_picinfo.pic_h, in get_pic_info()
Dvdec_h264_req_multi_if.c368 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in vdec_h264_slice_get_pic_info()
369 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in vdec_h264_slice_get_pic_info()
371 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || in vdec_h264_slice_get_pic_info()
372 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in vdec_h264_slice_get_pic_info()
378 ctx->last_decoded_picinfo.pic_w, in vdec_h264_slice_get_pic_info()
379 ctx->last_decoded_picinfo.pic_h, in vdec_h264_slice_get_pic_info()