Searched refs:last_decoded_picinfo (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateful.c | 238 &ctx->last_decoded_picinfo)) { in mtk_vdec_pic_info_update() 244 if (ctx->last_decoded_picinfo.pic_w == 0 || in mtk_vdec_pic_info_update() 245 ctx->last_decoded_picinfo.pic_h == 0 || in mtk_vdec_pic_info_update() 246 ctx->last_decoded_picinfo.buf_w == 0 || in mtk_vdec_pic_info_update() 247 ctx->last_decoded_picinfo.buf_h == 0) { in mtk_vdec_pic_info_update() 252 if (ctx->last_decoded_picinfo.cap_fourcc != ctx->picinfo.cap_fourcc && in mtk_vdec_pic_info_update() 256 if (ctx->last_decoded_picinfo.pic_w == ctx->picinfo.pic_w || in mtk_vdec_pic_info_update() 257 ctx->last_decoded_picinfo.pic_h == ctx->picinfo.pic_h) 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() [all …]
|
H A D | mtk_vcodec_dec.c | 561 ctx->last_decoded_picinfo = ctx->picinfo; in vidioc_vdec_s_fmt() 704 q_data->bytesperline[0] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt() 705 q_data->bytesperline[1] = ctx->last_decoded_picinfo.buf_w; in vidioc_vdec_g_fmt() 708 ctx->last_decoded_picinfo.cap_fourcc = q_data->fmt->fourcc; in vidioc_vdec_g_fmt() 907 ctx->picinfo = ctx->last_decoded_picinfo; in vb2ops_vdec_stop_streaming() 911 ctx->id, ctx->last_decoded_picinfo.pic_w, in vb2ops_vdec_stop_streaming() 912 ctx->last_decoded_picinfo.pic_h, in vb2ops_vdec_stop_streaming() 914 ctx->last_decoded_picinfo.buf_w, in vb2ops_vdec_stop_streaming() 915 ctx->last_decoded_picinfo.buf_h); in vb2ops_vdec_stop_streaming() 949 if ((ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w) || in m2mops_vdec_job_ready() [all …]
|
H A D | mtk_vcodec_dec_drv.h | 202 struct vdec_pic_info last_decoded_picinfo; member
|
H A D | mtk_vcodec_dec_stateless.c | 437 ctx->last_decoded_picinfo = ctx->picinfo; in mtk_vcodec_get_pic_info()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_req_if.c | 238 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in get_pic_info() 239 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in get_pic_info() 241 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || in get_pic_info() 242 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in get_pic_info() 248 ctx->last_decoded_picinfo.pic_w, in get_pic_info() 249 ctx->last_decoded_picinfo.pic_h, in get_pic_info()
|
H A D | vdec_h264_req_multi_if.c | 367 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in vdec_h264_slice_get_pic_info() 368 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in vdec_h264_slice_get_pic_info() 370 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || in vdec_h264_slice_get_pic_info() 371 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in vdec_h264_slice_get_pic_info() 377 ctx->last_decoded_picinfo.pic_w, in vdec_h264_slice_get_pic_info() 378 ctx->last_decoded_picinfo.pic_h, in vdec_h264_slice_get_pic_info()
|
H A D | vdec_hevc_req_multi_if.c | 702 if (ctx->last_decoded_picinfo.pic_w != ctx->picinfo.pic_w || in vdec_hevc_slice_get_pic_info() 703 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in vdec_hevc_slice_get_pic_info() 705 if (ctx->last_decoded_picinfo.buf_w != ctx->picinfo.buf_w || in vdec_hevc_slice_get_pic_info() 706 ctx->last_decoded_picinfo.buf_h != ctx->picinfo.buf_h) in vdec_hevc_slice_get_pic_info() 712 ctx->last_decoded_picinfo.pic_w, in vdec_hevc_slice_get_pic_info() 713 ctx->last_decoded_picinfo.pic_h, in vdec_hevc_slice_get_pic_info()
|