| /OK3568_Linux_fs/external/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 489 dpb_valid = (p_hal->slice_long[0].RefPicList[0][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 490 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 491 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].AssociatedFlag : 0; in prepare_framerps() 501 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 502 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 503 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_framerps() 1069 memcpy(ctx->reg_buf[index].RefPicList, p_hal->slice_long->RefPicList, in vdpu382_h264d_gen_regs() 1070 sizeof(p_hal->slice_long->RefPicList)); in vdpu382_h264d_gen_regs() 1226 dpb_idx = cur_buf->RefPicList[j][i].Index7Bits; in vdpu382_h264_get_ref_used() [all …]
|
| H A D | hal_h264d_rkv_reg.c | 383 dpb_valid = (p_hal->slice_long[0].RefPicList[0][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 384 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 385 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].AssociatedFlag : 0; in prepare_framerps() 393 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 394 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 395 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_framerps()
|
| H A D | hal_h264d_vdpu34x.c | 483 dpb_valid = (p_hal->slice_long[0].RefPicList[0][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 484 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].Index7Bits : 0; in prepare_framerps() 485 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[0][i].AssociatedFlag : 0; in prepare_framerps() 495 dpb_valid = (p_hal->slice_long[0].RefPicList[j][i].bPicEntry == 0xff) ? 0 : 1; in prepare_framerps() 496 dpb_idx = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].Index7Bits : 0; in prepare_framerps() 497 bottom_flag = dpb_valid ? p_hal->slice_long[0].RefPicList[j][i].AssociatedFlag : 0; in prepare_framerps()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/ |
| H A D | h264d_fill.c | 313 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[0]); i++) { in fill_slice_syntax() 319 fill_picture_entry(&p_long->RefPicList[0][i], dpb_idx, bottom_flag); in fill_slice_syntax() 321 p_long->RefPicList[0][i].bPicEntry = 0xff; in fill_slice_syntax() 326 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[list + 1]); i++) { in fill_slice_syntax() 332 fill_picture_entry(&p_long->RefPicList[list + 1][i], dpb_idx, bottom_flag); in fill_slice_syntax() 334 p_long->RefPicList[list + 1][i].bPicEntry = 0xff; in fill_slice_syntax()
|
| /OK3568_Linux_fs/external/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() 209 for (i = 0, j = 0; i < MPP_ARRAY_ELEMS(pp->RefPicList); i++) { in fill_picture_parameters() 225 …fill_picture_entry(&pp->RefPicList[i], frame->slot_index, !!(frame->flags & HEVC_FRAME_FLAG_LONG_R… in fill_picture_parameters() 231 pp->RefPicList[i].bPicEntry = 0xff; in fill_picture_parameters() 238 const RefPicList *rpl = &h->rps[ref_idx]; \ in fill_picture_parameters()
|
| H A D | h265d_parser.h | 76 typedef struct RefPicList { struct 81 } RefPicList; argument 84 RefPicList refPicList[2]; 450 RefPicList *refPicList; 512 RefPicList rps[5];
|
| H A D | h265d_refs.c | 243 static int add_candidate_ref(HEVCContext *s, RefPicList *list, in add_candidate_ref() 275 RefPicList *rps = s->rps; in mpp_hevc_frame_rps()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_vdpu382.c | 842 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_vdpu382_gen_regs() 843 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu382_gen_regs() 844 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { 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() 882 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_vdpu382_gen_regs() 884 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu382_gen_regs() 885 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_vdpu382_gen_regs() [all …]
|
| H A D | hal_h265d_vdpu34x.c | 1047 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_vdpu34x_gen_regs() 1048 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu34x_gen_regs() 1049 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { 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() 1086 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_vdpu34x_gen_regs() 1088 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_vdpu34x_gen_regs() 1089 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { in hal_h265d_vdpu34x_gen_regs() [all …]
|
| H A D | hal_h265d_com.c | 594 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_slice_output_rps() 595 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff) { in hal_h265d_slice_output_rps() 596 …(H265H_DBG_RPS, "dxva_cxt->pp.RefPicList[i].bPicEntry = %d", dxva_cxt->pp.RefPicList[i].bPicEntry); in hal_h265d_slice_output_rps() 638 = dxva_cxt->pp.RefPicList[index].AssociatedFlag; in hal_h265d_slice_output_rps()
|
| H A D | hal_h265d_com.h | 68 typedef struct RefPicList { struct
|
| H A D | hal_h265d_rkv.c | 899 for (i = 0; i < (RK_S32)MPP_ARRAY_ELEMS(dxva_cxt->pp.RefPicList); i++) { in hal_h265d_rkv_gen_regs() 900 if (dxva_cxt->pp.RefPicList[i].bPicEntry != 0xff && in hal_h265d_rkv_gen_regs() 901 dxva_cxt->pp.RefPicList[i].bPicEntry != 0x7f) { 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/common/ |
| H A D | h265d_syntax.h | 164 DXVA_PicEntry_HEVC RefPicList[15]; member
|
| H A D | h264d_syntax.h | 139 DXVA_PicEntry_H264 RefPicList[3][32]; /* L0 & L1 */ member
|