Lines Matching refs:frame_num
87 in[i[0]]->pic_id = is_long ? i[0] : in[i[0]]->frame_num;
92 in[i[1]]->pic_id = is_long ? i[1] : in[i[1]]->frame_num;
252 int frame_num;
266 frame_num = pic_num_extract(h, pred, &pic_structure);
272 if (ref->frame_num == frame_num &&
407 * @param frame_num frame number to search for
413 static H264Picture *find_short(H264Context *h, int frame_num, int *idx)
420 av_log(h->avctx, AV_LOG_DEBUG, "%d %d %p\n", i, pic->frame_num, pic);
421 if (pic->frame_num == frame_num) {
448 static H264Picture *remove_short(H264Context *h, int frame_num, int ref_mask)
454 av_log(h->avctx, AV_LOG_DEBUG, "remove short %d count %d\n", frame_num, h->short_ref_count);
456 pic = find_short(h, frame_num, &i);
517 i, pic->frame_num, pic->poc, pic->f.data[0]);
534 i, pic->frame_num, pic->poc, pic->f.data[0]);
564 mmco[0].short_pic_num = h->short_ref[h->short_ref_count - 1]->frame_num;
598 int av_uninit(structure), av_uninit(frame_num);
605 frame_num = pic_num_extract(h, mmco[i].short_pic_num, &structure);
606 pic = find_short(h, frame_num, &j);
610 h->long_ref[mmco[i].long_arg]->frame_num != frame_num) {
623 remove_short(h, frame_num, structure ^ PICT_FRAME);
686 remove_short(h, h->short_ref[0]->frame_num, 0);
691 h->frame_num = h->cur_pic_ptr->frame_num = 0;
718 pic = remove_short(h, h->cur_pic_ptr->frame_num, 0);
755 remove_short(h, pic->frame_num, 0);
762 int d = (h->cur_pic_ptr->frame_num - pic->frame_num) & ((1 << h->sps.log2_max_frame_num)-1);
764 remove_short(h, pic->frame_num, 0);