Lines Matching refs:mframe
82 static MPP_RET vdpu383_setup_scale_origin_bufs(HalH265dCtx *ctx, MppFrame mframe) in vdpu383_setup_scale_origin_bufs() argument
87 origin_buf_size = mpp_frame_get_buf_size(mframe); in vdpu383_setup_scale_origin_bufs()
963 MppFrame mframe = NULL; in hal_h265d_vdpu383_gen_regs() local
970 SLOT_FRAME_PTR, &mframe); in hal_h265d_vdpu383_gen_regs()
972 if (mpp_frame_get_thumbnail_en(mframe) == MPP_FRAME_THUMBNAIL_ONLY && in hal_h265d_vdpu383_gen_regs()
974 vdpu383_setup_scale_origin_bufs(reg_ctx, mframe); in hal_h265d_vdpu383_gen_regs()
977 fmt = mpp_frame_get_fmt(mframe); in hal_h265d_vdpu383_gen_regs()
979 stride_y = mpp_frame_get_hor_stride(mframe); in hal_h265d_vdpu383_gen_regs()
980 ver_virstride = mpp_frame_get_ver_stride(mframe); in hal_h265d_vdpu383_gen_regs()
991 RK_U32 fbc_hdr_stride = mpp_frame_get_fbc_hdr_stride(mframe); in hal_h265d_vdpu383_gen_regs()
1113 MppFrame mframe = NULL; in hal_h265d_vdpu383_gen_regs() local
1118 SLOT_FRAME_PTR, &mframe); in hal_h265d_vdpu383_gen_regs()
1119 if (mpp_frame_get_thumbnail_en(mframe) == MPP_FRAME_THUMBNAIL_ONLY) { in hal_h265d_vdpu383_gen_regs()
1129 && (!mpp_frame_get_errinfo(mframe))) { in hal_h265d_vdpu383_gen_regs()
1168 MppFrame mframe = NULL; in hal_h265d_vdpu383_gen_regs() local
1175 SLOT_FRAME_PTR, &mframe); in hal_h265d_vdpu383_gen_regs()
1177 if (framebuf == NULL || mpp_frame_get_errinfo(mframe)) { in hal_h265d_vdpu383_gen_regs()
1200 MppFrame mframe = NULL; in hal_h265d_vdpu383_gen_regs() local
1207 SLOT_FRAME_PTR, &mframe); in hal_h265d_vdpu383_gen_regs()
1208 thumbnail_mode = mpp_frame_get_thumbnail_en(mframe); in hal_h265d_vdpu383_gen_regs()
1217 … vdpu383_setup_down_scale(mframe, reg_ctx->dev, &hw_regs->ctrl_regs, (void*)&hw_regs->h265d_paras); in hal_h265d_vdpu383_gen_regs()
1221 … vdpu383_setup_down_scale(mframe, reg_ctx->dev, &hw_regs->ctrl_regs, (void*)&hw_regs->h265d_paras); in hal_h265d_vdpu383_gen_regs()
1372 MppFrame mframe = NULL; in hal_h265d_vdpu383_wait() local
1374 SLOT_FRAME_PTR, &mframe); in hal_h265d_vdpu383_wait()
1375 if (mframe) { in hal_h265d_vdpu383_wait()
1377 mpp_frame_set_errinfo(mframe, 1); in hal_h265d_vdpu383_wait()