Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateful.c240 &ctx->last_decoded_picinfo)) { in mtk_vdec_pic_info_update()
245 if (ctx->last_decoded_picinfo.pic_w == 0 || in mtk_vdec_pic_info_update()
246 ctx->last_decoded_picinfo.pic_h == 0 || in mtk_vdec_pic_info_update()
247 ctx->last_decoded_picinfo.buf_w == 0 || in mtk_vdec_pic_info_update()
248 ctx->last_decoded_picinfo.buf_h == 0) { in mtk_vdec_pic_info_update()
253 if (ctx->last_decoded_picinfo.cap_fourcc != 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()
262 ctx->last_decoded_picinfo.pic_w, in mtk_vdec_pic_info_update()
263 ctx->last_decoded_picinfo.pic_h, ctx->picinfo.pic_w, in mtk_vdec_pic_info_update()
[all …]
Dmtk_vcodec_dec.c540 ctx->last_decoded_picinfo = ctx->picinfo; in vidioc_vdec_s_fmt()
684 q_data->bytesperline[0] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt()
685 q_data->bytesperline[1] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt()
688 ctx->last_decoded_picinfo.cap_fourcc = q_data->fmt->fourcc; in vidioc_vdec_g_fmt()
882 ctx->picinfo = ctx->last_decoded_picinfo; in vb2ops_vdec_stop_streaming()
886 ctx->id, ctx->last_decoded_picinfo.pic_w, in vb2ops_vdec_stop_streaming()
887 ctx->last_decoded_picinfo.pic_h, in vb2ops_vdec_stop_streaming()
889 ctx->last_decoded_picinfo.buf_w, in vb2ops_vdec_stop_streaming()
890 ctx->last_decoded_picinfo.buf_h); in vb2ops_vdec_stop_streaming()
924 if ((ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w) || in m2mops_vdec_job_ready()
[all …]
Dmtk_vcodec_drv.h311 struct vdec_pic_info last_decoded_picinfo; member
/linux-6.1.9/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()