| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_vdpu_com.c | 242 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[j]); i++) { in get_info_input() 243 if (p_long->RefPicList[j][i].bPicEntry != 0xff) { in get_info_input() 245 priv->refinfo[j][i].dpb_idx = p_long->RefPicList[j][i].Index7Bits; in get_info_input() 246 priv->refinfo[j][i].bottom_flag = p_long->RefPicList[j][i].AssociatedFlag; in get_info_input() 322 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[j]); i++) { in refill_info_input() 324 fill_picture_entry(&p_long->RefPicList[j][i], in refill_info_input() 327 p_long->RefPicList[j][i].bPicEntry = 0xff; in refill_info_input()
|
| H A D | hal_h264d_vdpu382.c | 133 DXVA_PicEntry_H264 RefPicList[3][32]; member 490 dpb_valid = (p_hal->slice_long[0].RefPicList[0][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 491 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 492 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].AssociatedFlag : 0; in prepare_framerps() 502 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 503 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 504 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_framerps() 1048 memcpy(ctx->reg_buf[index].RefPicList, p_hal->slice_long->RefPicList, in vdpu382_h264d_gen_regs() 1049 sizeof(p_hal->slice_long->RefPicList)); in vdpu382_h264d_gen_regs() 1206 dpb_idx = cur_buf->RefPicList[j][i].Index7Bits; in vdpu382_h264_get_ref_used() [all …]
|
| H A D | hal_h264d_rkv_reg.c | 382 dpb_valid = (p_hal->slice_long[0].RefPicList[0][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 383 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 384 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].AssociatedFlag : 0; in prepare_framerps() 392 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 393 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 394 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_framerps()
|
| H A D | hal_h264d_vdpu34x.c | 484 dpb_valid = (p_hal->slice_long[0].RefPicList[0][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 485 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 486 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].AssociatedFlag : 0; in prepare_framerps() 496 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 497 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 498 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_framerps()
|
| H A D | hal_h264d_vdpu383.c | 325 dpb_valid = (p_hal->slice_long[0].RefPicList[0][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 326 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 327 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].AssociatedFlag : 0; in prepare_framerps() 340 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 341 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 342 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_framerps()
|
| H A D | hal_h264d_vdpu384a.c | 276 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_spspps() 277 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_spspps() 278 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_spspps()
|
| /rockchip-linux_mpp/mpp/codec/dec/h264/ |
| H A D | h264d_fill.c | 322 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[0]); i++) { in fill_slice_syntax() 328 fill_picture_entry(&p_long->RefPicList[0][i], dpb_idx, bottom_flag); in fill_slice_syntax() 330 p_long->RefPicList[0][i].bPicEntry = 0xff; in fill_slice_syntax() 335 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[list + 1]); i++) { in fill_slice_syntax() 341 fill_picture_entry(&p_long->RefPicList[list + 1][i], dpb_idx, bottom_flag); in fill_slice_syntax() 343 p_long->RefPicList[list + 1][i].bPicEntry = 0xff; in fill_slice_syntax()
|
| /rockchip-linux_mpp/mpp/codec/dec/h265/ |
| H A D | h265d_parser2_syntax.c | 44 for (i = 0; i < MPP_ARRAY_ELEMS(pp->RefPicList); i++) { in get_refpic_index() 45 if ((pp->RefPicList[i].bPicEntry & 0x7f) == surface_index) { in get_refpic_index() 222 for (i = 0, j = 0; i < MPP_ARRAY_ELEMS(pp->RefPicList); i++) { in fill_picture_parameters() 238 …fill_picture_entry(&pp->RefPicList[i], frame->slot_index, !!(frame->flags & HEVC_FRAME_FLAG_LONG_R… in fill_picture_parameters() 244 pp->RefPicList[i].bPicEntry = 0xff; in fill_picture_parameters() 251 const RefPicList *rpl = &h->rps[ref_idx]; \ in fill_picture_parameters()
|
| H A D | h265d_parser.h | 76 typedef struct RefPicList { struct 81 } RefPicList; typedef 84 RefPicList refPicList[2]; 480 RefPicList *refPicList; 543 RefPicList rps[5];
|
| H A D | h265d_refs.c | 254 static int add_candidate_ref(HEVCContext *s, RefPicList *list, in add_candidate_ref() 286 RefPicList *rps = s->rps; in mpp_hevc_frame_rps()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_vdpu384a.c | 492 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_ctx->pp.RefPicList); i++) { in hal_h265d_v345_output_pps_packet() 493 if (dxva_ctx->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_v345_output_pps_packet() 494 dxva_ctx->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_v345_output_pps_packet() 1047 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_ctx->pp.RefPicList); i++) { in hal_h265d_vdpu384a_gen_regs() 1048 if (dxva_ctx->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu384a_gen_regs() 1049 dxva_ctx->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_vdpu384a_gen_regs() 1053 dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu384a_gen_regs() 1055 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu384a_gen_regs() 1059 dxva_ctx->pp.RefPicList[i].Index7Bits); in hal_h265d_vdpu384a_gen_regs() 1071 … reg_ctx->error_index[syn->dec.reg_index] = dxva_ctx->pp.RefPicList[i].Index7Bits; in hal_h265d_vdpu384a_gen_regs() [all …]
|
| H A D | hal_h265d_vdpu383.c | 524 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_ctx->pp.RefPicList); i++) { in hal_h265d_v345_output_pps_packet() 525 if (dxva_ctx->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_v345_output_pps_packet() 526 dxva_ctx->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_v345_output_pps_packet() 1109 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_ctx->pp.RefPicList); i++) { in hal_h265d_vdpu383_gen_regs() 1110 if (dxva_ctx->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu383_gen_regs() 1111 dxva_ctx->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_vdpu383_gen_regs() 1115 dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu383_gen_regs() 1117 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu383_gen_regs() 1121 dxva_ctx->pp.RefPicList[i].Index7Bits); in hal_h265d_vdpu383_gen_regs() 1133 … reg_ctx->error_index[syn->dec.reg_index] = dxva_ctx->pp.RefPicList[i].Index7Bits; in hal_h265d_vdpu383_gen_regs() [all …]
|
| H A D | hal_h265d_vdpu382.c | 840 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_vdpu382_gen_regs() 841 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu382_gen_regs() 842 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_vdpu382_gen_regs() 847 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu382_gen_regs() 849 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu382_gen_regs() 859 … reg_ctx->error_index[syn->dec.reg_index] = dxva_cxt->pp.RefPicList[i].Index7Bits; in hal_h265d_vdpu382_gen_regs() 867 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.RefPicList[i].Index7Bits); in hal_h265d_vdpu382_gen_regs() 881 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_vdpu382_gen_regs() 883 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu382_gen_regs() 884 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_vdpu382_gen_regs() [all …]
|
| H A D | hal_h265d_com.h | 69 typedef struct RefPicList { struct
|
| H A D | hal_h265d_com.c | 595 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_slice_output_rps() 596 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff) { in hal_h265d_slice_output_rps() 597 …(H265H_DBG_RPS, "dxva_cxt->pp.RefPicList[i].bPicEntry = %d", dxva_cxt->pp.RefPicList[i].bPicEntry); in hal_h265d_slice_output_rps() 639 = dxva_cxt->pp.RefPicList[index].AssociatedFlag; in hal_h265d_slice_output_rps()
|
| H A D | hal_h265d_vdpu34x.c | 1050 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_vdpu34x_gen_regs() 1051 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu34x_gen_regs() 1052 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_vdpu34x_gen_regs() 1058 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu34x_gen_regs() 1060 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu34x_gen_regs() 1088 … reg_ctx->error_index[syn->dec.reg_index] = dxva_cxt->pp.RefPicList[i].Index7Bits; in hal_h265d_vdpu34x_gen_regs() 1092 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu34x_gen_regs() 1100 mv_buf = hal_bufs_get_buf(reg_ctx->cmv_bufs, dxva_cxt->pp.RefPicList[i].Index7Bits); in hal_h265d_vdpu34x_gen_regs()
|
| H A D | hal_h265d_rkv.c | 875 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_rkv_gen_regs() 876 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_rkv_gen_regs() 877 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_rkv_gen_regs() 880 dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_rkv_gen_regs()
|
| /rockchip-linux_mpp/mpp/common/ |
| H A D | h265d_syntax.h | 178 DXVA_PicEntry_HEVC RefPicList[15]; member
|
| H A D | h264d_syntax.h | 139 DXVA_PicEntry_H264 RefPicList[3][32]; /* L0 & L1 */ member
|