Home
last modified time | relevance | path

Searched refs:frms (Results 1 – 14 of 14) sorted by relevance

/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_api_v2.c70 H264eFrmInfo frms; member
409 MPP_RET h264e_pskip_ref_check(H264eDpb *dpb, H264eFrmInfo *frms) in h264e_pskip_ref_check() argument
423 if (temp_frm->slot_idx != frms->refr_idx) { in h264e_pskip_ref_check()
448 H264eFrmInfo *frms = &p->frms; in h264e_proc_dpb() local
467 frms->seq_idx = curr->seq_idx; in h264e_proc_dpb()
468 frms->curr_idx = curr->slot_idx; in h264e_proc_dpb()
472 frms->refr_idx = refr->prev_ref_idx; in h264e_proc_dpb()
474 frms->refr_idx = refr->slot_idx; in h264e_proc_dpb()
476 frms->refr_idx = curr->slot_idx; in h264e_proc_dpb()
480 h264e_pskip_ref_check(dpb, frms); in h264e_proc_dpb()
[all …]
H A Dh264e_dpb.c160 H264eDpbFrm *frms = dpb->frames; in find_cpb_frame() local
171 EncFrmStatus *p = &frms[i].status; in find_cpb_frame()
181 return &frms[i]; in find_cpb_frame()
/rockchip-linux_mpp/mpp/codec/enc/h265/
H A Dh265e_dpb.c496 static H265eDpbFrm *h265e_find_cpb_in_dpb(H265eDpbFrm *frms, RK_S32 cnt, EncFrmStatus *frm) in h265e_find_cpb_in_dpb() argument
506 if (!frms[i].inited) { in h265e_find_cpb_in_dpb()
509 EncFrmStatus *p = &frms[i].status; in h265e_find_cpb_in_dpb()
514 return &frms[i]; in h265e_find_cpb_in_dpb()
521 static H265eDpbFrm *h265e_find_cpb_frame(H265eDpbFrm *frms, RK_S32 cnt, EncFrmStatus *frm) in h265e_find_cpb_frame() argument
531 if (!frms[i].dpb_used) { in h265e_find_cpb_frame()
535 EncFrmStatus *p = &frms[i].status; in h265e_find_cpb_frame()
541 return &frms[i]; in h265e_find_cpb_frame()
546 return &frms[i]; in h265e_find_cpb_frame()
555 static MPP_RET h265e_check_frame_cpb(H265eDpbFrm *frm, RK_S32 cnt, EncFrmStatus *frms) in h265e_check_frame_cpb() argument
[all …]
/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu1_v2.c66 H264eFrmInfo *frms; member
177 ctx->frms = desc->p; in update_vepu1_syntax()
203 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu1_get_task_v2() local
225 MppBuffer recn = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->curr_idx); in hal_h264e_vepu1_get_task_v2()
226 MppBuffer refr = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->refr_idx); in hal_h264e_vepu1_get_task_v2()
H A Dhal_h264e_vepu2_v2.c66 H264eFrmInfo *frms; member
178 ctx->frms = desc->p; in update_vepu2_syntax()
204 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu2_get_task_v2() local
226 MppBuffer recn = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->curr_idx); in hal_h264e_vepu2_get_task_v2()
227 MppBuffer refr = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->refr_idx); in hal_h264e_vepu2_get_task_v2()
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580.c82 H264eFrmInfo *frms; member
549 ctx->frms = desc->p; in update_vepu580_syntax()
574 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu580_get_task() local
590 h264e_dpb_hal_start(ctx->dpb, frms->curr_idx); in hal_h264e_vepu580_get_task()
591 h264e_dpb_hal_start(ctx->dpb, frms->refr_idx); in hal_h264e_vepu580_get_task()
595 task->flags.curr_idx = frms->curr_idx; in hal_h264e_vepu580_get_task()
596 task->flags.refr_idx = frms->refr_idx; in hal_h264e_vepu580_get_task()
1629 H264eFrmInfo *frms = ctx->frms; in setup_vepu580_recn_refr() local
1633 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu580_recn_refr()
1634 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu580_recn_refr()
[all …]
H A Dhal_h264e_vepu510.c114 H264eFrmInfo *frms; member
527 ctx->frms = desc->p; in update_vepu510_syntax()
552 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu510_get_task() local
572 h264e_dpb_hal_start(ctx->dpb, frms->curr_idx); in hal_h264e_vepu510_get_task()
573 h264e_dpb_hal_start(ctx->dpb, frms->refr_idx); in hal_h264e_vepu510_get_task()
577 task->flags.curr_idx = frms->curr_idx; in hal_h264e_vepu510_get_task()
578 task->flags.refr_idx = frms->refr_idx; in hal_h264e_vepu510_get_task()
1499 H264eFrmInfo *frms = ctx->frms; in setup_vepu510_recn_refr() local
1503 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu510_recn_refr()
1504 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu510_recn_refr()
[all …]
H A Dhal_h264e_vepu511.c114 H264eFrmInfo *frms; member
526 ctx->frms = desc->p; in update_vepu511_syntax()
551 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu511_get_task() local
571 h264e_dpb_hal_start(ctx->dpb, frms->curr_idx); in hal_h264e_vepu511_get_task()
572 h264e_dpb_hal_start(ctx->dpb, frms->refr_idx); in hal_h264e_vepu511_get_task()
576 task->flags.curr_idx = frms->curr_idx; in hal_h264e_vepu511_get_task()
577 task->flags.refr_idx = frms->refr_idx; in hal_h264e_vepu511_get_task()
1499 H264eFrmInfo *frms = ctx->frms; in setup_vepu511_recn_refr() local
1503 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu511_recn_refr()
1504 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu511_recn_refr()
[all …]
H A Dhal_h264e_vepu541.c64 H264eFrmInfo *frms; member
325 ctx->frms = desc->p; in update_vepu541_syntax()
1132 H264eFrmInfo *frms, HalBufs bufs, in setup_vepu541_recn_refr() argument
1135 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu541_recn_refr()
1136 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu541_recn_refr()
1600 hal_h264e_dbg_detail("frame %d generate regs now", ctx->frms->seq_idx); in hal_h264e_vepu541_gen_regs()
1615 setup_vepu541_recn_refr(regs, ctx->dev, ctx->frms, ctx->hw_recn, in hal_h264e_vepu541_gen_regs()
H A Dhal_h264e_vepu540c.c68 H264eFrmInfo *frms; member
332 ctx->frms = desc->p; in update_vepu540c_syntax()
1066 H264eFrmInfo *frms = ctx->frms; in setup_vepu540c_recn_refr() local
1070 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu540c_recn_refr()
1071 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu540c_recn_refr()
1469 hal_h264e_dbg_detail("frame %d generate regs now", ctx->frms->seq_idx); in hal_h264e_vepu540c_gen_regs()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu511.c103 Vepu511H265eFrmCfg *frms[MAX_FRAME_TASK_NUM]; member
265 RK_U32 frm_num = ctx->frms[enc_task->flags.reg_idx]->frame_count; in vepu511_h265e_dump()
440 Vepu511H265eFrmCfg *frm = ctx->frms[i]; in hal_h265e_vepu511_deinit()
460 MPP_FREE(ctx->frms[i]); in hal_h265e_vepu511_deinit()
519 ctx->frms[i] = frm_cfg; in hal_h265e_vepu511_init()
2416 Vepu511H265eFrmCfg *frm = ctx->frms[enc_task->flags.reg_idx]; in vepu511_h265_set_feedback()
2532 Vepu511H265eFrmCfg *frm = ctx->frms[task_idx]; in vepu511_h265e_update_tune_stat()
2637 Vepu511H265eFrmCfg *frm = ctx->frms[task_idx]; in hal_h265e_vepu511_wait()
2743 frm_cfg = ctx->frms[task_idx]; in hal_h265e_vepu511_get_task()
2784 Vepu511H265eFrmCfg *frm = ctx->frms[task_idx]; in hal_h265e_vepu511_ret_task()
H A Dhal_h265e_vepu510.c104 Vepu510H265eFrmCfg *frms[MAX_FRAME_TASK_NUM]; member
1045 Vepu510H265eFrmCfg *frm = ctx->frms[i]; in hal_h265e_v510_deinit()
1065 MPP_FREE(ctx->frms[i]); in hal_h265e_v510_deinit()
1124 ctx->frms[i] = frm_cfg; in hal_h265e_v510_init()
2224 Vepu510H265eFrmCfg *frm = ctx->frms[enc_task->flags.reg_idx]; in vepu510_h265_set_feedback()
2345 Vepu510H265eFrmCfg *frm = ctx->frms[task_idx]; in hal_h265e_v510_wait()
2504 frm_cfg = ctx->frms[task_idx]; in hal_h265e_v510_get_task()
2546 Vepu510H265eFrmCfg *frm = ctx->frms[task_idx]; in hal_h265e_v510_ret_task()
H A Dhal_h265e_vepu580.c161 Vepu580H265eFrmCfg *frms[MAX_FRAME_TASK_NUM]; member
1408 Vepu580H265eFrmCfg *frm = ctx->frms[i]; in hal_h265e_v580_deinit()
1446 MPP_FREE(ctx->frms[i]); in hal_h265e_v580_deinit()
1554 ctx->frms[i] = frm_cfg; in hal_h265e_v580_init()
2991 Vepu580H265eFrmCfg *frm = ctx->frms[enc_task->flags.reg_idx]; in vepu580_h265_set_feedback()
3107 RK_U32 frm_num = ctx->frms[enc_task->flags.reg_idx]->frame_count; in dump_files()
3186 Vepu580H265eFrmCfg *frm = ctx->frms[task_idx]; in hal_h265e_v580_wait()
3341 frm_cfg = ctx->frms[task_idx]; in hal_h265e_v580_get_task()
3387 Vepu580H265eFrmCfg *frm = ctx->frms[task_idx]; in hal_h265e_v580_ret_task()
H A Dhal_h265e_vepu510_tune.c241 Vepu510H265eFrmCfg *frm = ctx->frms[task_idx]; in vepu510_h265e_tune_stat_update()