Searched refs:vp9_hw_regs (Results 1 – 4 of 4) sorted by relevance
275 Vdpu382Vp9dRegSet *vp9_hw_regs, in vp9d_refine_rcb_size() argument326 if (vp9_hw_regs->common.reg012.fbc_e) { in vp9d_refine_rcb_size()334 if (vp9_hw_regs->common.reg012.fbc_e) { in vp9d_refine_rcb_size()471 Vdpu382Vp9dRegSet *vp9_hw_regs = (Vdpu382Vp9dRegSet*)hw_ctx->hw_regs; in hal_vp9d_vdpu382_gen_regs() local484 vp9_hw_regs->vp9d_param.reg103.prob_update_en = 1; in hal_vp9d_vdpu382_gen_regs()485 vp9_hw_regs->vp9d_param.reg103.intra_only_flag = intraFlag; in hal_vp9d_vdpu382_gen_regs()487 vp9_hw_regs->vp9d_param.reg103.txfmmode_rfsh_en = (pic_param->txmode == 4) ? 1 : 0; in hal_vp9d_vdpu382_gen_regs()488 … vp9_hw_regs->vp9d_param.reg103.interp_filter_switch_en = pic_param->interp_filter == 4 ? 1 : 0; in hal_vp9d_vdpu382_gen_regs()490 vp9_hw_regs->vp9d_param.reg103.ref_mode_rfsh_en = 1; in hal_vp9d_vdpu382_gen_regs()491 vp9_hw_regs->vp9d_param.reg103.single_ref_rfsh_en = 1; in hal_vp9d_vdpu382_gen_regs()[all …]
274 Vdpu34xVp9dRegSet *vp9_hw_regs, in vp9d_refine_rcb_size() argument317 if (vp9_hw_regs->common.reg012.fbc_e) { in vp9d_refine_rcb_size()323 if (vp9_hw_regs->common.reg012.fbc_e) { in vp9d_refine_rcb_size()458 Vdpu34xVp9dRegSet *vp9_hw_regs = (Vdpu34xVp9dRegSet*)hw_ctx->hw_regs; in hal_vp9d_vdpu34x_gen_regs() local471 vp9_hw_regs->vp9d_param.reg103.prob_update_en = 1; in hal_vp9d_vdpu34x_gen_regs()472 vp9_hw_regs->vp9d_param.reg103.intra_only_flag = intraFlag; in hal_vp9d_vdpu34x_gen_regs()474 vp9_hw_regs->vp9d_param.reg103.txfmmode_rfsh_en = (pic_param->txmode == 4) ? 1 : 0; in hal_vp9d_vdpu34x_gen_regs()475 … vp9_hw_regs->vp9d_param.reg103.interp_filter_switch_en = pic_param->interp_filter == 4 ? 1 : 0; in hal_vp9d_vdpu34x_gen_regs()477 vp9_hw_regs->vp9d_param.reg103.ref_mode_rfsh_en = 1; in hal_vp9d_vdpu34x_gen_regs()478 vp9_hw_regs->vp9d_param.reg103.single_ref_rfsh_en = 1; in hal_vp9d_vdpu34x_gen_regs()[all …]
292 VP9_REGS *vp9_hw_regs = (VP9_REGS*)hw_ctx->hw_regs; in hal_vp9d_rkv_gen_regs() local298 vp9_hw_regs->swreg2_sysctrl.sw_dec_mode = 2; //set as vp9 dec in hal_vp9d_rkv_gen_regs()299 vp9_hw_regs->swreg5_stream_len = ((stream_len + 15) & (~15)) + 0x80; in hal_vp9d_rkv_gen_regs()303 aglin_offset = vp9_hw_regs->swreg5_stream_len - stream_len; in hal_vp9d_rkv_gen_regs()318 vp9_hw_regs->swreg3_picpar.sw_y_hor_virstride = sw_y_hor_virstride; in hal_vp9d_rkv_gen_regs()319 vp9_hw_regs->swreg3_picpar.sw_uv_hor_virstride = sw_uv_hor_virstride; in hal_vp9d_rkv_gen_regs()320 vp9_hw_regs->swreg8_y_virstride.sw_y_virstride = sw_y_virstride; in hal_vp9d_rkv_gen_regs()321 vp9_hw_regs->swreg9_yuv_virstride.sw_yuv_virstride = sw_yuv_virstride; in hal_vp9d_rkv_gen_regs()331 vp9_hw_regs->swreg7_decout_base = mpp_buffer_get_fd(framebuf); in hal_vp9d_rkv_gen_regs()332 vp9_hw_regs->swreg4_strm_rlc_base = mpp_buffer_get_fd(streambuf); in hal_vp9d_rkv_gen_regs()[all …]
710 Vdpu383Vp9dRegSet *vp9_hw_regs = NULL; in hal_vp9d_vdpu383_gen_regs() local733 vp9_hw_regs = (Vdpu383Vp9dRegSet*)hw_ctx->hw_regs; in hal_vp9d_vdpu383_gen_regs()734 memset(vp9_hw_regs, 0, sizeof(Vdpu383Vp9dRegSet)); in hal_vp9d_vdpu383_gen_regs()752 vp9_hw_regs->vp9d_paras.reg67_global_len = GBL_SIZE / 16; in hal_vp9d_vdpu383_gen_regs()753 vp9_hw_regs->common_addr.reg131_gbl_base = mpp_buffer_get_fd(hw_ctx->global_base); in hal_vp9d_vdpu383_gen_regs()805 vp9_hw_regs->vp9d_addrs.reg184_lastprob_base = in hal_vp9d_vdpu383_gen_regs()811 … vp9_hw_regs->vp9d_addrs.reg184_lastprob_base = mpp_buffer_get_fd(hw_ctx->prob_default_base); in hal_vp9d_vdpu383_gen_regs()817 vp9_hw_regs->vp9d_addrs.reg185_updateprob_base = in hal_vp9d_vdpu383_gen_regs()820 vp9_hw_regs->vp9d_addrs.reg183_kfprob_base = mpp_buffer_get_fd(hw_ctx->probe_base); in hal_vp9d_vdpu383_gen_regs()840 vp9_hw_regs->vp9d_paras.reg66_stream_len = ((stream_len + 15) & (~15)) + 0x80; in hal_vp9d_vdpu383_gen_regs()[all …]