Home
last modified time | relevance | path

Searched refs:buf_pass1 (Results 1 – 6 of 6) sorted by relevance

/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580.c110 MppBuffer buf_pass1; member
260 if (p->buf_pass1) { in hal_h264e_vepu580_deinit()
261 mpp_buffer_put(p->buf_pass1); in hal_h264e_vepu580_deinit()
262 p->buf_pass1 = NULL; in hal_h264e_vepu580_deinit()
831 if (NULL == ctx->buf_pass1) { in vepu580_h264e_save_pass1_patch()
832 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu580_h264e_save_pass1_patch()
833 if (!ctx->buf_pass1) { in vepu580_h264e_save_pass1_patch()
840 regs->reg_base.rfpw_h_addr = mpp_buffer_get_fd(ctx->buf_pass1); in vepu580_h264e_save_pass1_patch()
859 RK_S32 fd_in = mpp_buffer_get_fd(ctx->buf_pass1); in vepu580_h264e_use_pass1_patch()
H A Dhal_h264e_vepu510.c130 MppBuffer buf_pass1; member
260 if (p->buf_pass1) { in hal_h264e_vepu510_deinit()
261 mpp_buffer_put(p->buf_pass1); in hal_h264e_vepu510_deinit()
262 p->buf_pass1 = NULL; in hal_h264e_vepu510_deinit()
852 if (NULL == ctx->buf_pass1) { in vepu510_h264e_save_pass1_patch()
853 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu510_h264e_save_pass1_patch()
854 if (!ctx->buf_pass1) { in vepu510_h264e_save_pass1_patch()
861 reg_frm->common.rfpw_h_addr = mpp_buffer_get_fd(ctx->buf_pass1); in vepu510_h264e_save_pass1_patch()
878 RK_S32 fd_in = mpp_buffer_get_fd(ctx->buf_pass1); in vepu510_h264e_use_pass1_patch()
H A Dhal_h264e_vepu511.c133 MppBuffer buf_pass1; member
260 if (p->buf_pass1) { in hal_h264e_vepu511_deinit()
261 mpp_buffer_put(p->buf_pass1); in hal_h264e_vepu511_deinit()
262 p->buf_pass1 = NULL; in hal_h264e_vepu511_deinit()
824 if (NULL == ctx->buf_pass1) { in vepu511_h264e_save_pass1_patch()
825 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu511_h264e_save_pass1_patch()
826 if (!ctx->buf_pass1) { in vepu511_h264e_save_pass1_patch()
833 reg_frm->common.rfpw_h_addr = mpp_buffer_get_fd(ctx->buf_pass1); in vepu511_h264e_save_pass1_patch()
849 RK_S32 fd_in = mpp_buffer_get_fd(ctx->buf_pass1); in vepu511_h264e_use_pass1_patch()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu510.c162 MppBuffer buf_pass1; member
1075 if (ctx->buf_pass1) { in hal_h265e_v510_deinit()
1076 mpp_buffer_put(ctx->buf_pass1); in hal_h265e_v510_deinit()
1077 ctx->buf_pass1 = NULL; in hal_h265e_v510_deinit()
1692 if (NULL == ctx->buf_pass1) { in vepu510_h265e_save_pass1_patch()
1693 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu510_h265e_save_pass1_patch()
1694 if (!ctx->buf_pass1) { in vepu510_h265e_save_pass1_patch()
1701 reg_frm->common.rfpw_h_addr = mpp_buffer_get_fd(ctx->buf_pass1); in vepu510_h265e_save_pass1_patch()
1740 reg_frm->common.adr_src0 = mpp_buffer_get_fd(ctx->buf_pass1); in vepu510_h265e_use_pass1_patch()
H A Dhal_h265e_vepu511.c162 MppBuffer buf_pass1; member
470 if (ctx->buf_pass1) { in hal_h265e_vepu511_deinit()
471 mpp_buffer_put(ctx->buf_pass1); in hal_h265e_vepu511_deinit()
472 ctx->buf_pass1 = NULL; in hal_h265e_vepu511_deinit()
669 if (NULL == ctx->buf_pass1) { in vepu511_h265e_save_pass1_patch()
670 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu511_h265e_save_pass1_patch()
671 if (!ctx->buf_pass1) { in vepu511_h265e_save_pass1_patch()
678 reg_frm->common.rfpw_h_addr = mpp_buffer_get_fd(ctx->buf_pass1); in vepu511_h265e_save_pass1_patch()
719 reg_frm->common.adr_src0 = mpp_buffer_get_fd(ctx->buf_pass1); in vepu511_h265e_use_pass1_patch()
H A Dhal_h265e_vepu580.c200 MppBuffer buf_pass1; member
1463 if (ctx->buf_pass1) { in hal_h265e_v580_deinit()
1464 mpp_buffer_put(ctx->buf_pass1); in hal_h265e_v580_deinit()
1465 ctx->buf_pass1 = NULL; in hal_h265e_v580_deinit()
2546 if (NULL == ctx->buf_pass1) { in vepu580_h265e_save_pass1_patch()
2547 mpp_buffer_get(NULL, &ctx->buf_pass1, width_align * height_align * 3 / 2); in vepu580_h265e_save_pass1_patch()
2548 if (!ctx->buf_pass1) { in vepu580_h265e_save_pass1_patch()
2555 reg_base->reg0163_rfpw_h_addr = mpp_buffer_get_fd(ctx->buf_pass1); in vepu580_h265e_save_pass1_patch()
2594 reg_base->reg0160_adr_src0 = mpp_buffer_get_fd(ctx->buf_pass1); in vepu580_h265e_use_pass1_patch()