Lines Matching refs:syn
609 static MPP_RET hal_h265d_vdpu382_setup_colmv_buf(void *hal, HalTaskInfo *syn) in hal_h265d_vdpu382_setup_colmv_buf() argument
612 h265d_dxva2_picture_context_t *dxva_cxt = (h265d_dxva2_picture_context_t *)syn->dec.syntax.data; in hal_h265d_vdpu382_setup_colmv_buf()
648 static MPP_RET hal_h265d_vdpu382_gen_regs(void *hal, HalTaskInfo *syn) in hal_h265d_vdpu382_gen_regs() argument
664 (h265d_dxva2_picture_context_t *)syn->dec.syntax.data; in hal_h265d_vdpu382_gen_regs()
669 if (syn->dec.flags.parse_err || in hal_h265d_vdpu382_gen_regs()
670 (syn->dec.flags.ref_err && !reg_ctx->cfg->base.disable_error)) { in hal_h265d_vdpu382_gen_regs()
678 syn->dec.reg_index = i; in hal_h265d_vdpu382_gen_regs()
694 syn->dec.reg_index = 0; in hal_h265d_vdpu382_gen_regs()
704 if (syn->dec.syntax.data == NULL) { in hal_h265d_vdpu382_gen_regs()
722 ret = hal_h265d_vdpu382_setup_colmv_buf(hal, syn); in hal_h265d_vdpu382_gen_regs()
777 mpp_buf_slot_get_prop(reg_ctx->packet_slots, syn->dec.input, SLOT_BUFFER, in hal_h265d_vdpu382_gen_regs()
784 hal_h265d_slice_hw_rps(syn->dec.syntax.data, rps_ptr, reg_ctx->sw_rps_buf, reg_ctx->fast_mode); in hal_h265d_vdpu382_gen_regs()
787 hal_h265d_slice_output_rps(syn->dec.syntax.data, rps_ptr); in hal_h265d_vdpu382_gen_regs()
835 reg_ctx->error_index[syn->dec.reg_index] = dxva_cxt->pp.CurrPic.Index7Bits; in hal_h265d_vdpu382_gen_regs()
859 … reg_ctx->error_index[syn->dec.reg_index] = dxva_cxt->pp.RefPicList[i].Index7Bits; in hal_h265d_vdpu382_gen_regs()
874 if ((reg_ctx->error_index[syn->dec.reg_index] == dxva_cxt->pp.CurrPic.Index7Bits) && in hal_h265d_vdpu382_gen_regs()
877 syn->dec.flags.ref_err = 1; in hal_h265d_vdpu382_gen_regs()
895 … mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, reg_ctx->error_index[syn->dec.reg_index]); in hal_h265d_vdpu382_gen_regs()
900 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, reg_ctx->error_index[syn->dec.reg_index]); in hal_h265d_vdpu382_gen_regs()
904 if (reg_ctx->error_index[syn->dec.reg_index] == dxva_cxt->pp.CurrPic.Index7Bits) in hal_h265d_vdpu382_gen_regs()
908 hal_h265d_v382_output_pps_packet(hal, syn->dec.syntax.data); in hal_h265d_vdpu382_gen_regs()
920 reg_ctx->rcb_buf[syn->dec.reg_index] : reg_ctx->rcb_buf[0], in hal_h265d_vdpu382_gen_regs()