| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp9/ |
| H A D | vp9d_parser2_syntax.c | 100 pic->CurrPic.Index7Bits = s->frames[CUR_FRAME].slot_index; in vp9d_fill_picparams() 103 pic->ref_frame_map[i].Index7Bits = s->refs[i].slot_index; in vp9d_fill_picparams() 107 pic->frame_refs[0].Index7Bits = s->refidx[0]; in vp9d_fill_picparams() 108 pic->frame_refs[1].Index7Bits = s->refidx[1]; in vp9d_fill_picparams() 109 pic->frame_refs[2].Index7Bits = s->refidx[2]; in vp9d_fill_picparams()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_rkv_reg.c | 384 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 394 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 457 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 479 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 503 ref_index = pp->RefFrameList[i].Index7Bits; in set_registers() 504 near_index = pp->RefFrameList[i].Index7Bits; in set_registers() 506 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers() 520 ref_index = pp->RefFrameList[15].Index7Bits; in set_registers() 522 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
|
| H A D | hal_h264d_vdpu382.c | 490 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 502 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 560 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 587 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 592 mv_buf = hal_bufs_get_buf(p_hal->cmv_bufs, pp->CurrPic.Index7Bits); in set_registers() 624 ref_index = pp->RefFrameList[i].Index7Bits; in set_registers() 625 near_index = pp->RefFrameList[i].Index7Bits; in set_registers() 627 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers() 631 if (ref_index == pp->CurrPic.Index7Bits) { in set_registers() 1049 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu382_h264d_gen_regs() [all …]
|
| H A D | hal_h264d_vdpu34x.c | 484 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 496 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 551 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 578 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 583 mv_buf = hal_bufs_get_buf(p_hal->cmv_bufs, pp->CurrPic.Index7Bits); in set_registers() 618 ref_index = pp->RefFrameList[i].Index7Bits; in set_registers() 619 near_index = pp->RefFrameList[i].Index7Bits; in set_registers() 621 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers() 627 } else if (ref_index == pp->CurrPic.Index7Bits) { in set_registers()
|
| H A D | hal_h264d_vdpu_com.c | 211 priv->new_dpb[i].slot_index = pp->RefFrameList[i].Index7Bits; in get_info_input() 245 priv->refinfo[j][i].dpb_idx = p_long->RefPicList[j][i].Index7Bits; in get_info_input()
|
| H A D | hal_h264d_vdpu1.c | 557 pp->RefFrameList[i].Index7Bits, in vdpu1_set_asic_regs() 562 pp->CurrPic.Index7Bits, in vdpu1_set_asic_regs() 601 pp->CurrPic.Index7Bits, in vdpu1_set_asic_regs()
|
| H A D | hal_h264d_vdpu2.c | 660 pp->RefFrameList[i].Index7Bits, in set_asic_regs() 669 pp->CurrPic.Index7Bits, in set_asic_regs() 716 pp->CurrPic.Index7Bits, in set_asic_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/m2vd/ |
| H A D | hal_m2vd_vdpu1.c | 220 mpp_buf_slot_get_prop(ctx->frame_slots, dx->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 230 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[0].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 233 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[1].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 236 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[2].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 239 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[3].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs()
|
| H A D | hal_m2vd_vdpu2.c | 270 mpp_buf_slot_get_prop(ctx->frame_slots, dx->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 282 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[0].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 285 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[1].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 288 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[2].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 291 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[3].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_vdpu382.c | 501 ref_idx = pic_param->frame_refs[0].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 502 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 509 ref_idx = pic_param->frame_refs[1].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 510 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 517 ref_idx = pic_param->frame_refs[2].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 518 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 681 ref_idx = pic_param->frame_refs[i].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 682 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu382_gen_regs() 703 if (pic_param->ref_frame_map[ref_idx].Index7Bits < 0x7f) { in hal_vp9d_vdpu382_gen_regs() 704 …mpp_buf_slot_get_prop(p_hal ->slots, pic_param->ref_frame_map[ref_idx].Index7Bits, SLOT_BUFFER, &f… in hal_vp9d_vdpu382_gen_regs() [all …]
|
| H A D | hal_vp9d_vdpu34x.c | 487 ref_idx = pic_param->frame_refs[0].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 488 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 495 ref_idx = pic_param->frame_refs[1].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 496 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 503 ref_idx = pic_param->frame_refs[2].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 504 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 671 ref_idx = pic_param->frame_refs[i].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 672 ref_frame_idx = pic_param->ref_frame_map[ref_idx].Index7Bits; in hal_vp9d_vdpu34x_gen_regs() 693 if (pic_param->ref_frame_map[ref_idx].Index7Bits < 0x7f) { in hal_vp9d_vdpu34x_gen_regs() 694 …mpp_buf_slot_get_prop(p_hal ->slots, pic_param->ref_frame_map[ref_idx].Index7Bits, SLOT_BUFFER, &f… in hal_vp9d_vdpu34x_gen_regs() [all …]
|
| H A D | hal_vp9d_rkv.c | 360 ref_idx = pic_param->frame_refs[i].Index7Bits; in hal_vp9d_rkv_gen_regs() 371 if (pic_param->ref_frame_map[ref_idx].Index7Bits < 0x7f) { in hal_vp9d_rkv_gen_regs() 372 …mpp_buf_slot_get_prop(p_hal->slots, pic_param->ref_frame_map[ref_idx].Index7Bits, SLOT_BUFFER, &fr… in hal_vp9d_rkv_gen_regs() 375 if (pic_param->ref_frame_map[ref_idx].Index7Bits < 0x7f) { in hal_vp9d_rkv_gen_regs() 414 …dress is no valid used out as base slot index 0x%x", pic_param->ref_frame_map[ref_idx].Index7Bits); in hal_vp9d_rkv_gen_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_vdpu382.c | 728 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs() 762 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs() 773 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.CurrPic.Index7Bits); in hal_h265d_vdpu382_gen_regs() 837 reg_ctx->error_index = dxva_cxt->pp.CurrPic.Index7Bits; in hal_h265d_vdpu382_gen_regs() 849 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu382_gen_regs() 851 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu382_gen_regs() 861 reg_ctx->error_index = dxva_cxt->pp.RefPicList[i].Index7Bits; in hal_h265d_vdpu382_gen_regs() 869 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.RefPicList[i].Index7Bits); in hal_h265d_vdpu382_gen_regs() 876 if ((reg_ctx->error_index == dxva_cxt->pp.CurrPic.Index7Bits) && !dxva_cxt->pp.IntraPicFlag) { in hal_h265d_vdpu382_gen_regs() 889 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu382_gen_regs() [all …]
|
| H A D | hal_h265d_vdpu34x.c | 937 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu34x_gen_regs() 973 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu34x_gen_regs() 984 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.CurrPic.Index7Bits); in hal_h265d_vdpu34x_gen_regs() 1044 reg_ctx->error_index = dxva_cxt->pp.CurrPic.Index7Bits; in hal_h265d_vdpu34x_gen_regs() 1054 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu34x_gen_regs() 1056 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu34x_gen_regs() 1066 reg_ctx->error_index = dxva_cxt->pp.RefPicList[i].Index7Bits; in hal_h265d_vdpu34x_gen_regs() 1073 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.RefPicList[i].Index7Bits); in hal_h265d_vdpu34x_gen_regs() 1080 if ((reg_ctx->error_index == dxva_cxt->pp.CurrPic.Index7Bits) && !dxva_cxt->pp.IntraPicFlag) { in hal_h265d_vdpu34x_gen_regs() 1094 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu34x_gen_regs() [all …]
|
| H A D | hal_h265d_rkv.c | 837 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_rkv_gen_regs() 904 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_rkv_gen_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/vp8d/ |
| H A D | hal_vp8d_vdpu2.c | 495 mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu2_gen_regs() 504 } else if (pic_param->lst_fb_idx.Index7Bits < 0x7f) { //config ref0 base in hal_vp8d_vdpu2_gen_regs() 505 … mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->lst_fb_idx.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu2_gen_regs() 512 if (pic_param->gld_fb_idx.Index7Bits < 0x7f) { in hal_vp8d_vdpu2_gen_regs() 513 … mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->gld_fb_idx.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu2_gen_regs() 527 if (pic_param->alt_fb_idx.Index7Bits < 0x7f) { in hal_vp8d_vdpu2_gen_regs() 528 … mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->alt_fb_idx.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu2_gen_regs()
|
| H A D | hal_vp8d_vdpu1.c | 484 mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu1_gen_regs() 492 } else if (pic_param->lst_fb_idx.Index7Bits < 0x7f) { //config ref0 base in hal_vp8d_vdpu1_gen_regs() 493 … mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->lst_fb_idx.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu1_gen_regs() 500 if (pic_param->gld_fb_idx.Index7Bits < 0x7f) { in hal_vp8d_vdpu1_gen_regs() 501 … mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->gld_fb_idx.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu1_gen_regs() 512 if (pic_param->alt_fb_idx.Index7Bits < 0x7f) { in hal_vp8d_vdpu1_gen_regs() 513 … mpp_buf_slot_get_prop(ctx->frame_slots, pic_param->alt_fb_idx.Index7Bits, SLOT_BUFFER, &framebuf); in hal_vp8d_vdpu1_gen_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/m2v/ |
| H A D | m2vd_parser.c | 1396 dst->CurrPic.Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva() 1411 dst->frame_refs[0].Index7Bits = pfw->slot_index; in m2vd_convert_to_dxva() 1412 dst->frame_refs[1].Index7Bits = pfw->slot_index; in m2vd_convert_to_dxva() 1413 dst->frame_refs[2].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva() 1414 dst->frame_refs[3].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva() 1423 dst->frame_refs[0].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva() 1424 dst->frame_refs[1].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva() 1426 dst->frame_refs[0].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva() 1427 dst->frame_refs[1].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva() 1429 dst->frame_refs[0].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp8/ |
| H A D | vp8d_parser.c | 561 p->dxva_ctx->CurrPic.Index7Bits = p->frame_out->slot_index; in vp8d_convert_to_syntx() 565 pic_param->lst_fb_idx.Index7Bits = p->frame_ref->slot_index; in vp8d_convert_to_syntx() 570 pic_param->lst_fb_idx.Index7Bits = 0x7f; in vp8d_convert_to_syntx() 574 pic_param->gld_fb_idx.Index7Bits = p->frame_golden->slot_index; in vp8d_convert_to_syntx() 579 pic_param->gld_fb_idx.Index7Bits = 0x7f; in vp8d_convert_to_syntx() 583 pic_param->alt_fb_idx.Index7Bits = p->frame_alternate->slot_index; in vp8d_convert_to_syntx() 588 pic_param->alt_fb_idx.Index7Bits = 0x7f; in vp8d_convert_to_syntx()
|
| /OK3568_Linux_fs/external/mpp/mpp/common/ |
| H A D | m2vd_syntax.h | 25 RK_U8 Index7Bits : 7; member
|
| H A D | vp8d_syntax.h | 26 RK_U8 Index7Bits : 7; member
|
| H A D | h265d_syntax.h | 50 UCHAR Index7Bits : 7; member
|
| H A D | vp9d_syntax.h | 39 UCHAR Index7Bits : 7; member
|
| H A D | av1d_syntax.h | 39 UCHAR Index7Bits : 7; member
|
| H A D | h264d_syntax.h | 31 RK_U8 Index7Bits : 7; member
|