Lines Matching refs:MAX_DELAYED_PIC_COUNT
1126 for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
1261 copy_picture_range(h->delayed_pic, h1->delayed_pic, MAX_DELAYED_PIC_COUNT+2, s, s1);
1443 s->avctx->has_b_frames = MAX_DELAYED_PIC_COUNT - 1;
1450 assert(pics <= MAX_DELAYED_PIC_COUNT);
1469 for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++) {
1473 if (!h->mmco_reset && !cur->f.key_frame && cnt + invalid == MAX_DELAYED_PIC_COUNT && cnt > 0) {
1479 for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
1482 invalid = MAX_DELAYED_PIC_COUNT;
1486 for (i = 1; i < MAX_DELAYED_PIC_COUNT && h->delayed_pic[i] &&
1501 s->avctx->has_b_frames < MAX_DELAYED_PIC_COUNT) {
1502 if (invalid + cnt < MAX_DELAYED_PIC_COUNT) {
1520 memmove(h->last_pocs, &h->last_pocs[1], sizeof(*h->last_pocs) * (MAX_DELAYED_PIC_COUNT - 1));
1521 h->last_pocs[MAX_DELAYED_PIC_COUNT - 1] = cur->poc;
2387 for(i=0; i<MAX_DELAYED_PIC_COUNT; i++) {
2392 for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)