| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/ |
| H A D | h265e_dpb.c | 460 static H265eDpbFrm *h265e_find_cpb_in_dpb(H265eDpbFrm *frms, RK_S32 cnt, EncFrmStatus *frm) in h265e_find_cpb_in_dpb() argument 470 if (!frms[i].inited) { in h265e_find_cpb_in_dpb() 473 EncFrmStatus *p = &frms[i].status; in h265e_find_cpb_in_dpb() 478 return &frms[i]; in h265e_find_cpb_in_dpb() 485 static H265eDpbFrm *h265e_find_cpb_frame(H265eDpbFrm *frms, RK_S32 cnt, EncFrmStatus *frm) in h265e_find_cpb_frame() argument 495 if (!frms[i].on_used) { in h265e_find_cpb_frame() 499 EncFrmStatus *p = &frms[i].status; in h265e_find_cpb_frame() 508 return &frms[i]; in h265e_find_cpb_frame() 517 static MPP_RET h265e_check_frame_cpb(H265eDpbFrm *frm, RK_S32 cnt, EncFrmStatus *frms) in h265e_check_frame_cpb() argument 527 if (!frms[i].valid) { in h265e_check_frame_cpb() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/ |
| H A D | h264e_api_v2.c | 66 H264eFrmInfo frms; member 729 H264eFrmInfo *frms = &p->frms; in h264e_proc_dpb() local 748 frms->seq_idx = curr->seq_idx; in h264e_proc_dpb() 749 frms->curr_idx = curr->slot_idx; in h264e_proc_dpb() 750 frms->refr_idx = (refr) ? refr->slot_idx : curr->slot_idx; in h264e_proc_dpb() 752 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(frms->usage); i++) in h264e_proc_dpb() 753 frms->usage[i] = dpb->frames[i].on_used; in h264e_proc_dpb() 778 h264e_add_syntax(p, H264E_SYN_FRAME, &p->frms); in h264e_proc_hal()
|
| H A D | h264e_dpb.c | 160 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()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu1_v2.c | 65 H264eFrmInfo *frms; member 176 ctx->frms = desc->p; in update_vepu1_syntax() 202 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu1_get_task_v2() local 223 MppBuffer recn = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->curr_idx); in hal_h264e_vepu1_get_task_v2() 224 MppBuffer refr = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->refr_idx); in hal_h264e_vepu1_get_task_v2()
|
| H A D | hal_h264e_vepu2_v2.c | 65 H264eFrmInfo *frms; member 177 ctx->frms = desc->p; in update_vepu2_syntax() 203 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu2_get_task_v2() local 224 MppBuffer recn = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->curr_idx); in hal_h264e_vepu2_get_task_v2() 225 MppBuffer refr = h264e_vepu_buf_get_frame_buffer(hw_bufs, frms->refr_idx); in hal_h264e_vepu2_get_task_v2()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/stkwebcam/ |
| H A D | stk-webcam.c | 1176 void *priv, struct v4l2_frmsizeenum *frms) in stk_vidioc_enum_framesizes() argument 1178 if (frms->index >= ARRAY_SIZE(stk_sizes)) in stk_vidioc_enum_framesizes() 1180 switch (frms->pixel_format) { in stk_vidioc_enum_framesizes() 1186 frms->type = V4L2_FRMSIZE_TYPE_DISCRETE; in stk_vidioc_enum_framesizes() 1187 frms->discrete.width = stk_sizes[frms->index].w; in stk_vidioc_enum_framesizes() 1188 frms->discrete.height = stk_sizes[frms->index].h; in stk_vidioc_enum_framesizes()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/ |
| H A D | hal_h264e_vepu580.c | 82 H264eFrmInfo *frms; member 526 ctx->frms = desc->p; in update_vepu580_syntax() 551 H264eFrmInfo *frms = ctx->frms; in hal_h264e_vepu580_get_task() local 567 h264e_dpb_hal_start(ctx->dpb, frms->curr_idx); in hal_h264e_vepu580_get_task() 568 h264e_dpb_hal_start(ctx->dpb, frms->refr_idx); in hal_h264e_vepu580_get_task() 572 task->flags.curr_idx = frms->curr_idx; in hal_h264e_vepu580_get_task() 573 task->flags.refr_idx = frms->refr_idx; in hal_h264e_vepu580_get_task() 1684 H264eFrmInfo *frms = ctx->frms; in setup_vepu580_recn_refr() local 1688 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu580_recn_refr() 1689 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu580_recn_refr() [all …]
|
| H A D | hal_h264e_vepu541.c | 63 H264eFrmInfo *frms; member 320 ctx->frms = desc->p; in update_vepu541_syntax() 1119 H264eFrmInfo *frms, HalBufs bufs, in setup_vepu541_recn_refr() argument 1122 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu541_recn_refr() 1123 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu541_recn_refr() 1557 hal_h264e_dbg_detail("frame %d generate regs now", ctx->frms->seq_idx); in hal_h264e_vepu541_gen_regs() 1572 setup_vepu541_recn_refr(regs, ctx->dev, ctx->frms, ctx->hw_recn, in hal_h264e_vepu541_gen_regs()
|
| H A D | hal_h264e_vepu540c.c | 66 H264eFrmInfo *frms; member 325 ctx->frms = desc->p; in update_vepu540c_syntax() 1128 H264eFrmInfo *frms = ctx->frms; in setup_vepu540c_recn_refr() local 1132 HalBuf *curr = hal_bufs_get_buf(bufs, frms->curr_idx); in setup_vepu540c_recn_refr() 1133 HalBuf *refr = hal_bufs_get_buf(bufs, frms->refr_idx); in setup_vepu540c_recn_refr() 1523 hal_h264e_dbg_detail("frame %d generate regs now", ctx->frms->seq_idx); in hal_h264e_vepu540c_gen_regs()
|