Home
last modified time | relevance | path

Searched refs:fast_mode (Results 1 – 25 of 33) sorted by relevance

12

/rockchip-linux_mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu34x.c360 if (!p_hal->fast_mode && !pp->spspps_update) { in prepare_spspps()
717 RK_U32 max_cnt = p_hal->fast_mode ? VDPU34X_FAST_REG_SET_CNT : 1; in vdpu34x_h264d_init()
735 if (!p_hal->fast_mode) { in vdpu34x_h264d_init()
769 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu34x_h264d_deinit()
776 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in vdpu34x_h264d_deinit()
862 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(ctx->reg_buf) : 1; in hal_h264d_rcb_info_update()
937 if (p_hal->fast_mode) { in vdpu34x_h264d_gen_regs()
962 if (!p_hal->fast_mode && !p_hal->pp->spspps_update) { in vdpu34x_h264d_gen_regs()
994 vdpu34x_setup_rcb(&regs->common_addr, p_hal->dev, p_hal->fast_mode ? in vdpu34x_h264d_gen_regs()
1016 Vdpu34xH264dRegSet *regs = p_hal->fast_mode ? in vdpu34x_h264d_start()
[all …]
H A Dhal_h264d_vdpu384a.c153 if (!p_hal->fast_mode && !pp->spspps_update) { in prepare_spspps()
597 RK_U32 max_cnt = p_hal->fast_mode ? VDPU384A_FAST_REG_SET_CNT : 1; in vdpu384a_h264d_init()
615 if (!p_hal->fast_mode) { in vdpu384a_h264d_init()
644 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu384a_h264d_deinit()
654 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in vdpu384a_h264d_deinit()
741 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(ctx->reg_buf) : 1; in hal_h264d_rcb_info_update()
810 if (p_hal->fast_mode) { in vdpu384a_h264d_gen_regs()
857 vdpu384a_setup_rcb(&regs->common_addr, p_hal->dev, p_hal->fast_mode ? in vdpu384a_h264d_gen_regs()
879 Vdpu384aH264dRegSet *regs = p_hal->fast_mode ? in vdpu384a_h264d_start()
955 Vdpu384aH264dRegSet *p_regs = p_hal->fast_mode ? in vdpu384a_h264d_wait()
[all …]
H A Dhal_h264d_rkv_reg.c559 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in rkv_h264d_init()
570 if (!p_hal->fast_mode) { in rkv_h264d_init()
607 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in rkv_h264d_deinit()
639 if (p_hal->fast_mode) { in rkv_h264d_gen_regs()
702 RK_U32 *p_regs = p_hal->fast_mode ? in rkv_h264d_start()
765 H264dRkvRegs_t *p_regs = p_hal->fast_mode ? in rkv_h264d_wait()
798 if (p_hal->fast_mode) { in rkv_h264d_wait()
H A Dhal_h264d_vdpu382.c366 if (!p_hal->fast_mode && !pp->spspps_update) { in prepare_spspps()
738 RK_U32 max_cnt = p_hal->fast_mode ? VDPU382_FAST_REG_SET_CNT : 1; in vdpu382_h264d_init()
756 if (!p_hal->fast_mode) { in vdpu382_h264d_init()
798 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu382_h264d_deinit()
805 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in vdpu382_h264d_deinit()
900 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(ctx->reg_buf) : 1; in hal_h264d_rcb_info_update()
966 if (p_hal->fast_mode) { in vdpu382_h264d_gen_regs()
990 if (!p_hal->fast_mode && !p_hal->pp->spspps_update) { in vdpu382_h264d_gen_regs()
1022 vdpu382_setup_rcb(&regs->common_addr, p_hal->dev, p_hal->fast_mode ? in vdpu382_h264d_gen_regs()
1070 Vdpu382H264dRegSet *regs = p_hal->fast_mode ? in vdpu382_h264d_start()
[all …]
H A Dhal_h264d_vdpu383.c166 if (!p_hal->fast_mode && !pp->spspps_update) { in prepare_spspps()
639 RK_U32 max_cnt = p_hal->fast_mode ? VDPU383_FAST_REG_SET_CNT : 1; in vdpu383_h264d_init()
659 if (!p_hal->fast_mode) { in vdpu383_h264d_init()
693 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu383_h264d_deinit()
703 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in vdpu383_h264d_deinit()
790 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(ctx->reg_buf) : 1; in hal_h264d_rcb_info_update()
858 if (p_hal->fast_mode) { in vdpu383_h264d_gen_regs()
911 vdpu383_setup_rcb(&regs->common_addr, p_hal->dev, p_hal->fast_mode ? in vdpu383_h264d_gen_regs()
933 Vdpu383H264dRegSet *regs = p_hal->fast_mode ? in vdpu383_h264d_start()
1009 Vdpu383H264dRegSet *p_regs = p_hal->fast_mode ? in vdpu383_h264d_wait()
[all …]
H A Dhal_h264d_vdpu1.c757 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu1_h264d_init()
770 if (!p_hal->fast_mode) { in vdpu1_h264d_init()
802 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu1_h264d_deinit()
836 if (p_hal->fast_mode) { in vdpu1_h264d_gen_regs()
878 H264dVdpu1Regs_t *p_regs = (H264dVdpu1Regs_t *)(p_hal->fast_mode ? in vdpu1_h264d_start()
943 H264dVdpu1Regs_t *p_regs = (H264dVdpu1Regs_t *)(p_hal->fast_mode ? in vdpu1_h264d_wait()
967 if (p_hal->fast_mode) { in vdpu1_h264d_wait()
H A Dhal_h264d_global.h119 RK_U32 fast_mode; member
H A Dhal_h264d_vdpu2.c814 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu2_h264d_init()
828 if (!p_hal->fast_mode) { in vdpu2_h264d_init()
861 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in vdpu2_h264d_deinit()
896 if (p_hal->fast_mode) { in vdpu2_h264d_gen_regs()
937 H264dVdpuRegs_t *p_regs = p_hal->fast_mode ? in vdpu2_h264d_start()
1031 H264dVdpuRegs_t *p_regs = (H264dVdpuRegs_t *)(p_hal->fast_mode ? in vdpu2_h264d_wait()
1055 if (p_hal->fast_mode) { in vdpu2_h264d_wait()
/rockchip-linux_mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_vdpu382.c130 RK_U32 max_cnt = reg_ctx->fast_mode ? MAX_GEN_REG : 1; in hal_h265d_vdpu382_init()
149 if (!reg_ctx->fast_mode) { in hal_h265d_vdpu382_init()
177 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_vdpu382_deinit()
185 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in hal_h265d_vdpu382_deinit()
560 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_rcb_info_update()
675 if (reg_ctx ->fast_mode) { 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()
919 vdpu382_setup_rcb(&hw_regs->common_addr, reg_ctx->dev, reg_ctx->fast_mode ? in hal_h265d_vdpu382_gen_regs()
962 if (reg_ctx->fast_mode) { in hal_h265d_vdpu382_start()
1077 if (reg_ctx->fast_mode) { in hal_h265d_vdpu382_wait()
[all …]
H A Dhal_h265d_vdpu383.c142 RK_U32 max_cnt = reg_ctx->fast_mode ? MAX_GEN_REG : 1; in hal_h265d_vdpu383_init()
163 if (!reg_ctx->fast_mode) { in hal_h265d_vdpu383_init()
188 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_vdpu383_deinit()
196 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in hal_h265d_vdpu383_deinit()
745 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_rcb_info_update()
770 static RK_S32 hal_h265d_vdpu383_rps(void *dxva, void *rps_buf, void* sw_rps_buf, RK_U32 fast_mode) in hal_h265d_vdpu383_rps() argument
778 if (fast_mode) { in hal_h265d_vdpu383_rps()
885 if (reg_ctx ->fast_mode) { in hal_h265d_vdpu383_gen_regs()
1070 hal_h265d_vdpu383_rps(syn->dec.syntax.data, rps_ptr, reg_ctx->sw_rps_buf, reg_ctx->fast_mode); in hal_h265d_vdpu383_gen_regs()
1192 vdpu383_setup_rcb(&hw_regs->common_addr, reg_ctx->dev, reg_ctx->fast_mode ? in hal_h265d_vdpu383_gen_regs()
[all …]
H A Dhal_h265d_vdpu34x.c132 RK_U32 max_cnt = reg_ctx->fast_mode ? MAX_GEN_REG : 1; in hal_h265d_vdpu34x_init()
151 if (!reg_ctx->fast_mode) { in hal_h265d_vdpu34x_init()
179 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_vdpu34x_deinit()
187 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in hal_h265d_vdpu34x_deinit()
655 } else if (reg_ctx->fast_mode) { in hal_h265d_output_pps_packet()
789 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_rcb_info_update()
869 if (reg_ctx ->fast_mode) { in hal_h265d_vdpu34x_gen_regs()
997 … hal_h265d_slice_hw_rps(syn->dec.syntax.data, rps_ptr, reg_ctx->sw_rps_buf, reg_ctx->fast_mode); in hal_h265d_vdpu34x_gen_regs()
1144 vdpu34x_setup_rcb(&hw_regs->common_addr, reg_ctx->dev, reg_ctx->fast_mode ? in hal_h265d_vdpu34x_gen_regs()
1169 if (reg_ctx->fast_mode) { in hal_h265d_vdpu34x_start()
[all …]
H A Dhal_h265d_rkv.c46 if (reg_ctx->fast_mode) { in hal_h265d_alloc_res()
102 if (reg_ctx->fast_mode) { in hal_h265d_release_res()
752 if (reg_ctx ->fast_mode) { in hal_h265d_rkv_gen_regs()
835 … hal_h265d_slice_hw_rps(syn->dec.syntax.data, rps_ptr, reg_ctx->sw_rps_buf, reg_ctx->fast_mode); in hal_h265d_rkv_gen_regs()
922 if (reg_ctx->fast_mode) { in hal_h265d_rkv_start()
986 if (reg_ctx->fast_mode) { in hal_h265d_rkv_wait()
1008 if (!reg_ctx->fast_mode) { in hal_h265d_rkv_wait()
1021 if (reg_ctx->fast_mode && reg_ctx->fast_mode_err_found) { in hal_h265d_rkv_wait()
1046 if (reg_ctx->fast_mode) { in hal_h265d_rkv_wait()
H A Dhal_h265d_vdpu384a.c120 RK_U32 max_cnt = reg_ctx->fast_mode ? MAX_GEN_REG : 1; in hal_h265d_vdpu384a_init()
139 if (!reg_ctx->fast_mode) { in hal_h265d_vdpu384a_init()
157 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_vdpu384a_deinit()
165 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1; in hal_h265d_vdpu384a_deinit()
741 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_rcb_info_update()
805 if (reg_ctx ->fast_mode) { in hal_h265d_vdpu384a_gen_regs()
1127 vdpu384a_setup_rcb(&hw_regs->common_addr, reg_ctx->dev, reg_ctx->fast_mode ? in hal_h265d_vdpu384a_gen_regs()
1187 if (reg_ctx->fast_mode) { in hal_h265d_vdpu384a_start()
1278 if (reg_ctx->fast_mode) { in hal_h265d_vdpu384a_wait()
1306 if (!reg_ctx->fast_mode) { in hal_h265d_vdpu384a_wait()
[all …]
H A Dhal_h265d_ctx.h58 RK_U32 fast_mode; member
H A Dhal_h265d_com.h152 RK_S32 hal_h265d_slice_hw_rps(void *dxva, void *rps_buf, void* sw_rps_buf, RK_U32 fast_mode);
/rockchip-linux_mpp/mpp/hal/rkdec/avs2d/
H A Dhal_avs2d_vdpu383.c328 RK_S32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_rcb_info_update()
509 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_vdpu383_deinit()
551 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_vdpu383_init()
564 if (!p_hal->fast_mode) { in hal_avs2d_vdpu383_init()
653 if (p_hal->fast_mode) { in hal_avs2d_vdpu383_gen_regs()
696 vdpu383_setup_rcb(&regs->common_addr, p_hal->dev, p_hal->fast_mode ? in hal_avs2d_vdpu383_gen_regs()
727 regs = p_hal->fast_mode ? reg_ctx->reg_buf[task->dec.reg_index].regs : reg_ctx->regs; in hal_avs2d_vdpu383_start()
893 regs = p_hal->fast_mode ? reg_ctx->reg_buf[task->dec.reg_index].regs : reg_ctx->regs; in hal_avs2d_vdpu383_wait()
936 if (p_hal->fast_mode) in hal_avs2d_vdpu383_wait()
H A Dhal_avs2d_rkv.c304 RK_S32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_rcb_info_update()
486 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_rkv_deinit()
528 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_rkv_init()
540 if (!p_hal->fast_mode) { in hal_avs2d_rkv_init()
628 if (p_hal->fast_mode) { in hal_avs2d_rkv_gen_regs()
692 vdpu34x_setup_rcb(&regs->common_addr, p_hal->dev, p_hal->fast_mode ? in hal_avs2d_rkv_gen_regs()
817 regs = p_hal->fast_mode ? reg_ctx->reg_buf[task->dec.reg_index].regs : reg_ctx->regs; in hal_avs2d_rkv_start()
1037 p_regs = p_hal->fast_mode ? reg_ctx->reg_buf[task->dec.reg_index].regs : reg_ctx->regs; in hal_avs2d_rkv_wait()
1101 if (p_hal->fast_mode) in hal_avs2d_rkv_wait()
H A Dhal_avs2d_global.h92 RK_U32 fast_mode; member
H A Dhal_avs2d_vdpu382.c362 RK_S32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_rcb_info_update()
552 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_vdpu382_deinit()
594 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_avs2d_vdpu382_init()
606 if (!p_hal->fast_mode) { in hal_avs2d_vdpu382_init()
695 if (p_hal->fast_mode) { in hal_avs2d_vdpu382_gen_regs()
759 vdpu382_setup_rcb(&regs->common_addr, p_hal->dev, p_hal->fast_mode ? in hal_avs2d_vdpu382_gen_regs()
883 regs = p_hal->fast_mode ? reg_ctx->reg_buf[task->dec.reg_index].regs : reg_ctx->regs; in hal_avs2d_vdpu382_start()
1103 p_regs = p_hal->fast_mode ? reg_ctx->reg_buf[task->dec.reg_index].regs : reg_ctx->regs; in hal_avs2d_vdpu382_wait()
1167 if (p_hal->fast_mode) in hal_avs2d_vdpu382_wait()
/rockchip-linux_mpp/mpp/hal/rkdec/vp9d/
H A Dhal_vp9d_ctx.h65 RK_U32 fast_mode; member
H A Dhal_vp9d_rkv.c61 if (p_hal->fast_mode) { in hal_vp9d_alloc_res()
122 if (p_hal->fast_mode) { in hal_vp9d_release_res()
274 if (p_hal->fast_mode) { in hal_vp9d_rkv_gen_regs()
533 if (p_hal->fast_mode) { in hal_vp9d_rkv_start()
591 if (p_hal->fast_mode) in hal_vp9d_rkv_wait()
624 if (p_hal->fast_mode) { in hal_vp9d_rkv_wait()
H A Dhal_vp9d_vdpu34x.c106 if (p_hal->fast_mode) { in hal_vp9d_alloc_res()
154 if (p_hal->fast_mode) { in hal_vp9d_release_res()
349 if (p_hal->fast_mode) { in hal_vp9d_rcb_info_update()
438 if (p_hal->fast_mode) { in hal_vp9d_vdpu34x_gen_regs()
839 rcb_buf = p_hal->fast_mode ? hw_ctx->g_buf[task->dec.reg_index].rcb_buf : hw_ctx->rcb_buf; in hal_vp9d_vdpu34x_gen_regs()
860 if (p_hal->fast_mode) { in hal_vp9d_vdpu34x_start()
986 if (p_hal->fast_mode) in hal_vp9d_vdpu34x_wait()
1019 if (p_hal->fast_mode) { in hal_vp9d_vdpu34x_wait()
H A Dhal_vp9d_vdpu382.c106 if (p_hal->fast_mode) { in hal_vp9d_alloc_res()
155 if (p_hal->fast_mode) { in hal_vp9d_release_res()
361 if (p_hal->fast_mode) { in hal_vp9d_rcb_info_update()
451 if (p_hal->fast_mode) { in hal_vp9d_vdpu382_gen_regs()
856 rcb_buf = p_hal->fast_mode ? hw_ctx->g_buf[task->dec.reg_index].rcb_buf : hw_ctx->rcb_buf; in hal_vp9d_vdpu382_gen_regs()
894 if (p_hal->fast_mode) { in hal_vp9d_vdpu382_start()
1018 if (p_hal->fast_mode) in hal_vp9d_vdpu382_wait()
1051 if (p_hal->fast_mode) { in hal_vp9d_vdpu382_wait()
H A Dhal_vp9d_vdpu383.c143 if (p_hal->fast_mode) { in hal_vp9d_alloc_res()
231 if (p_hal->fast_mode) { in hal_vp9d_release_res()
463 if (p_hal->fast_mode) { in hal_vp9d_rcb_info_update()
716 if (p_hal->fast_mode) { in hal_vp9d_vdpu383_gen_regs()
1081 rcb_buf = p_hal->fast_mode ? hw_ctx->g_buf[task->dec.reg_index].rcb_buf : hw_ctx->rcb_buf; in hal_vp9d_vdpu383_gen_regs()
1136 if (p_hal->fast_mode) { in hal_vp9d_vdpu383_start()
1213 if (p_hal->fast_mode) in hal_vp9d_vdpu383_wait()
1290 if (p_hal->fast_mode) { in hal_vp9d_vdpu383_wait()
/rockchip-linux_mpp/mpp/hal/common/av1/
H A Dhal_av1d_common.h190 RK_U32 fast_mode; member

12