Lines Matching refs:dpb
24 AVCDecPicBuffer *dpb = video->decPicBuf;
40 for (i = 0; i < dpb->num_fs; i++)
42 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm))
45 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num)
47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum;
51 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum;
53 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap;
64 for (i = 0; i < dpb->num_fs; i++)
66 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm))
69 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num)
71 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum;
75 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum;
77 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap;
78 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame);
84 dpb->fs[0]->IsReference = 3;
85 video->RefPicList0[0] = &(dpb->fs[0]->frame);
93 for (i = 0; i < dpb->num_fs; i++)
95 if (dpb->fs[i]->IsLongTerm == 3)
98 dpb->fs[i]->frame.LongTermPicNum = dpb->fs[i]->LongTermFrameIdx;
99 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame);
357 AVCDecPicBuffer *dpb = video->decPicBuf;
359 for (i = 0; i < dpb->num_fs; i++)
362 if (dpb->fs[i]->IsReference == 3)
364 if ((dpb->fs[i]->frame.isLongTerm == FALSE) && (dpb->fs[i]->frame.PicNum == picNum))
366 return &(dpb->fs[i]->frame);
377 AVCDecPicBuffer *dpb = video->decPicBuf;
380 for (i = 0; i < dpb->num_fs; i++)
383 if (dpb->fs[i]->IsReference == 3)
385 if ((dpb->fs[i]->frame.isLongTerm == TRUE) && (dpb->fs[i]->frame.LongTermPicNum == LongtermPicNum))
387 return &(dpb->fs[i]->frame);