Home
last modified time | relevance | path

Searched refs:CurrPic (Results 1 – 25 of 29) sorted by relevance

12

/rockchip-linux_mpp/mpp/common/
H A Dvp8d_syntax.h51 DXVA_PicEntry_VP8 CurrPic; member
114 DXVA_PicEntry_VP8 CurrPic;
H A Dh264d_syntax.h42 DXVA_PicEntry_H264 CurrPic; /* flag is bot field flag */ member
316 DXVA_PicEntry_H264 CurrPic; /* flag is bot field flag */ member
329 DXVA_PicEntry_H264 CurrPic; /* flag is bot field flag */ member
H A Dm2vd_syntax.h127 DXVA_PicEntry_M2V CurrPic; member
H A Dvp9d_syntax.h91 DXVA_PicEntry_VPx CurrPic; member
H A Dh265d_syntax.h87 DXVA_PicEntry_HEVC CurrPic; member
H A Dav1d_syntax.h48 DXVA_PicEntry_AV1 CurrPic; member
/rockchip-linux_mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu2.c473 *ptr++ = pp->CurrFieldOrderCnt[pp->CurrPic.AssociatedFlag ? 1 : 0]; in set_vlc_regs()
541 m_lists[0][i].cur_poc = pp->CurrPic.AssociatedFlag in set_ref_regs()
605 pp->frame_num, pp->field_pic_flag, pp->CurrPic.AssociatedFlag); in set_ref_regs()
650 num++, pp->frame_num, pp->field_pic_flag, pp->CurrPic.AssociatedFlag); in set_asic_regs()
670 pp->CurrPic.Index7Bits, in set_asic_regs()
675 cur_poc = pp->CurrPic.AssociatedFlag in set_asic_regs()
717 pp->CurrPic.Index7Bits, in set_asic_regs()
720 if (pp->field_pic_flag && pp->CurrPic.AssociatedFlag) { in set_asic_regs()
736 dirMvOffset += (pp->field_pic_flag && pp->CurrPic.AssociatedFlag) in set_asic_regs()
753 p_regs->sw57.pic_decfield_sel = (!pp->CurrPic.AssociatedFlag) ? 1 : 0; //!< bottomFieldFlag in set_asic_regs()
H A Dhal_h264d_vdpu384a.c225 mpp_put_bits(&bp, (pp->field_pic_flag && pp->CurrPic.AssociatedFlag), 1); in prepare_spspps()
369 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers()
414 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers()
423 mv_buf = hal_bufs_get_buf(p_hal->cmv_bufs, pp->CurrPic.Index7Bits); in set_registers()
442 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
469 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
510 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers()
511 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, in set_registers()
518 origin_buf = hal_bufs_get_buf(ctx->origin_bufs, pp->CurrPic.Index7Bits); in set_registers()
804 … mpp_buf_slot_get_prop(p_hal->frame_slots, p_hal->pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu384a_h264d_gen_regs()
H A Dhal_h264d_vdpu1.c438 *pocBase++ = pp->CurrFieldOrderCnt[pp->CurrPic.AssociatedFlag ? 1 : 0]; in vdpu1_set_vlc_regs()
485 m_lists[0][i].cur_poc = pp->CurrPic.AssociatedFlag in vdpu1_set_ref_regs()
563 pp->CurrPic.Index7Bits, in vdpu1_set_asic_regs()
568 cur_poc = pp->CurrPic.AssociatedFlag in vdpu1_set_asic_regs()
602 pp->CurrPic.Index7Bits, in vdpu1_set_asic_regs()
605 if (pp->field_pic_flag && pp->CurrPic.AssociatedFlag) { in vdpu1_set_asic_regs()
623 dirMvOffset += (pp->field_pic_flag && pp->CurrPic.AssociatedFlag) in vdpu1_set_asic_regs()
643 p_regs->SwReg03.sw_pic_topfield_e = (!pp->CurrPic.AssociatedFlag) ? 1 : 0; /* bottomFieldFlag */ in vdpu1_set_asic_regs()
H A Dhal_h264d_vdpu383.c238 mpp_put_bits(&bp, (pp->field_pic_flag && pp->CurrPic.AssociatedFlag), 1); in prepare_spspps()
433 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers()
464 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers()
470 mv_buf = hal_bufs_get_buf(p_hal->cmv_bufs, pp->CurrPic.Index7Bits); in set_registers()
489 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
516 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
558 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers()
559 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, in set_registers()
566 origin_buf = hal_bufs_get_buf(ctx->origin_bufs, pp->CurrPic.Index7Bits); in set_registers()
852 … mpp_buf_slot_get_prop(p_hal->frame_slots, p_hal->pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu383_h264d_gen_regs()
H A Dhal_h264d_rkv_reg.c456 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers()
478 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers()
505 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
521 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
H A Dhal_h264d_vdpu34x.c552 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers()
579 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers()
584 mv_buf = hal_bufs_get_buf(p_hal->cmv_bufs, pp->CurrPic.Index7Bits); in set_registers()
593 regs->h264d_highpoc.reg204.cur_poc_highbit = pp->CurrPic.AssociatedFlag; in set_registers()
622 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
628 } else if (ref_index == pp->CurrPic.Index7Bits) { in set_registers()
H A Dhal_h264d_vdpu382.c561 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers()
588 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers()
593 mv_buf = hal_bufs_get_buf(p_hal->cmv_bufs, pp->CurrPic.Index7Bits); in set_registers()
597 … regs->h264d_highpoc.reg204.cur_poc_highbit = 1 << pp->CurrPic.AssociatedFlag; // top:1 bot:2 in set_registers()
628 ref_index = (near_index < 0) ? pp->CurrPic.Index7Bits : near_index; in set_registers()
632 if (ref_index == pp->CurrPic.Index7Bits) { in set_registers()
1028 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu382_h264d_gen_regs()
/rockchip-linux_mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_vdpu384a.c881 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu384a_gen_regs()
943 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu384a_gen_regs()
948 dxva_ctx->pp.CurrPic.Index7Bits); in hal_h265d_vdpu384a_gen_regs()
973 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_ctx->pp.CurrPic.Index7Bits); in hal_h265d_vdpu384a_gen_regs()
1044 reg_ctx->error_index[syn->dec.reg_index] = dxva_ctx->pp.CurrPic.Index7Bits; in hal_h265d_vdpu384a_gen_regs()
1084 if ((reg_ctx->error_index[syn->dec.reg_index] == dxva_ctx->pp.CurrPic.Index7Bits) && in hal_h265d_vdpu384a_gen_regs()
1139 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu384a_gen_regs()
1141 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu384a_gen_regs()
1147 origin_buf = hal_bufs_get_buf(reg_ctx->origin_bufs, dxva_ctx->pp.CurrPic.Index7Bits); in hal_h265d_vdpu384a_gen_regs()
H A Dhal_h265d_vdpu383.c969 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu383_gen_regs()
1020 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu383_gen_regs()
1025 dxva_ctx->pp.CurrPic.Index7Bits); in hal_h265d_vdpu383_gen_regs()
1041 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_ctx->pp.CurrPic.Index7Bits); in hal_h265d_vdpu383_gen_regs()
1106 reg_ctx->error_index[syn->dec.reg_index] = dxva_ctx->pp.CurrPic.Index7Bits; in hal_h265d_vdpu383_gen_regs()
1146 if ((reg_ctx->error_index[syn->dec.reg_index] == dxva_ctx->pp.CurrPic.Index7Bits) && in hal_h265d_vdpu383_gen_regs()
1204 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu383_gen_regs()
1206 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu383_gen_regs()
1212 origin_buf = hal_bufs_get_buf(reg_ctx->origin_bufs, dxva_ctx->pp.CurrPic.Index7Bits); in hal_h265d_vdpu383_gen_regs()
H A Dhal_h265d_vdpu382.c730 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs()
761 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs()
772 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.CurrPic.Index7Bits); in hal_h265d_vdpu382_gen_regs()
835 reg_ctx->error_index[syn->dec.reg_index] = dxva_cxt->pp.CurrPic.Index7Bits; in hal_h265d_vdpu382_gen_regs()
874 if ((reg_ctx->error_index[syn->dec.reg_index] == dxva_cxt->pp.CurrPic.Index7Bits) && in hal_h265d_vdpu382_gen_regs()
904 if (reg_ctx->error_index[syn->dec.reg_index] == dxva_cxt->pp.CurrPic.Index7Bits) in hal_h265d_vdpu382_gen_regs()
925 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs()
H A Dhal_h265d_vdpu34x.c939 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu34x_gen_regs()
972 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu34x_gen_regs()
983 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.CurrPic.Index7Bits); in hal_h265d_vdpu34x_gen_regs()
1047 reg_ctx->error_index[syn->dec.reg_index] = dxva_cxt->pp.CurrPic.Index7Bits; in hal_h265d_vdpu34x_gen_regs()
1115 if (reg_ctx->error_index[syn->dec.reg_index] == dxva_cxt->pp.CurrPic.Index7Bits) in hal_h265d_vdpu34x_gen_regs()
1121 if ((reg_ctx->error_index[syn->dec.reg_index] == dxva_cxt->pp.CurrPic.Index7Bits) && in hal_h265d_vdpu34x_gen_regs()
H A Dhal_h265d_rkv.c799 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_rkv_gen_regs()
812 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_rkv_gen_regs()
/rockchip-linux_mpp/mpp/hal/rkdec/av1d/
H A Dhal_av1d_vdpu383.c2136 cdf_buf = hal_bufs_get_buf(reg_ctx->cdf_segid_bufs, dxva->CurrPic.Index7Bits); in vdpu383_av1d_set_cdf()
2197 mpp_buf_slot_get_prop(p_hal->slots, dxva->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu383_av1d_gen_regs()
2332 mpp_buf_slot_get_prop(p_hal->slots, dxva->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu383_av1d_gen_regs()
2413 mv_buf = hal_bufs_get_buf(ctx->colmv_bufs, dxva->CurrPic.Index7Bits); in vdpu383_av1d_gen_regs()
2447 mpp_buf_slot_get_prop(p_hal->slots, dxva->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in vdpu383_av1d_gen_regs()
2448 mpp_buf_slot_get_prop(p_hal->slots, dxva->CurrPic.Index7Bits, in vdpu383_av1d_gen_regs()
2456 origin_buf = hal_bufs_get_buf(ctx->origin_bufs, dxva->CurrPic.Index7Bits); in vdpu383_av1d_gen_regs()
2574 mv_buf = hal_bufs_get_buf(reg_ctx->colmv_bufs, dxva->CurrPic.Index7Bits); in vdpu383_av1d_wait()
2613 cdf_buf = hal_bufs_get_buf(reg_ctx->cdf_segid_bufs, dxva->CurrPic.Index7Bits); in vdpu383_av1d_wait()
/rockchip-linux_mpp/mpp/codec/dec/vp9/
H A Dvp9d_parser2_syntax.c100 pic->CurrPic.Index7Bits = s->frames[CUR_FRAME].slot_index; in vp9d_fill_picparams()
/rockchip-linux_mpp/mpp/hal/vpu/m2vd/
H A Dhal_m2vd_vdpu1.c221 mpp_buf_slot_get_prop(ctx->frame_slots, dx->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs()
H A Dhal_m2vd_vdpu2.c271 mpp_buf_slot_get_prop(ctx->frame_slots, dx->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs()
/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_fill.c107 … fill_picture_entry(&pp->CurrPic, dec_pic->mem_mark->slot_idx, dec_pic->structure == BOTTOM_FIELD); in fill_picparams()
/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_parser2_syntax.c85 fill_picture_entry(&pp->CurrPic, current_picture->slot_index, 0); in fill_picture_parameters()
/rockchip-linux_mpp/mpp/codec/dec/av1/
H A Dav1d_parser2_syntax.c34 pp->CurrPic.Index7Bits = h->cur_frame.slot_index; in av1d_fill_picparams()

12