Lines Matching refs:cmv_bufs
213 if (reg_ctx->cmv_bufs) { in hal_h265d_vdpu34x_deinit()
214 hal_bufs_deinit(reg_ctx->cmv_bufs); in hal_h265d_vdpu34x_deinit()
215 reg_ctx->cmv_bufs = NULL; in hal_h265d_vdpu34x_deinit()
916 if (reg_ctx->cmv_bufs == NULL || reg_ctx->mv_size < mv_size) { in hal_h265d_vdpu34x_gen_regs()
919 if (reg_ctx->cmv_bufs) { in hal_h265d_vdpu34x_gen_regs()
920 hal_bufs_deinit(reg_ctx->cmv_bufs); in hal_h265d_vdpu34x_gen_regs()
921 reg_ctx->cmv_bufs = NULL; in hal_h265d_vdpu34x_gen_regs()
924 hal_bufs_init(®_ctx->cmv_bufs); in hal_h265d_vdpu34x_gen_regs()
925 if (reg_ctx->cmv_bufs == NULL) { in hal_h265d_vdpu34x_gen_regs()
932 hal_bufs_setup(reg_ctx->cmv_bufs, reg_ctx->mv_count, 1, &size); in hal_h265d_vdpu34x_gen_regs()
983 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.CurrPic.Index7Bits); in hal_h265d_vdpu34x_gen_regs()
1100 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.RefPicList[i].Index7Bits); in hal_h265d_vdpu34x_gen_regs()
1108 … mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, reg_ctx->error_index[syn->dec.reg_index]); in hal_h265d_vdpu34x_gen_regs()
1112 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, reg_ctx->error_index[syn->dec.reg_index]); in hal_h265d_vdpu34x_gen_regs()