Lines Matching defs:frame_num
90 in[i[0]]->pic_id = is_long ? i[0] : in[i[0]]->frame_num;
95 in[i[1]]->pic_id = is_long ? i[1] : in[i[1]]->frame_num;
227 i, pic->frame_num, pic->poc, pic->f->data[0]);
244 i, pic->frame_num, pic->poc, pic->f->data[0]);
321 int frame_num;
335 frame_num = pic_num_extract(h, pred, &pic_structure);
341 if (ref->frame_num == frame_num &&
485 * @param frame_num frame number to search for
491 static H264Picture *find_short(H264Context *h, int frame_num, int *idx)
498 av_log(h->avctx, AV_LOG_DEBUG, "%d %d %p\n", i, pic->frame_num, pic);
499 if (pic->frame_num == frame_num) {
525 static H264Picture *remove_short(H264Context *h, int frame_num, int ref_mask)
531 av_log(h->avctx, AV_LOG_DEBUG, "remove short %d count %d\n", frame_num, h->short_ref_count);
533 pic = find_short(h, frame_num, &i);
596 mmco[0].short_pic_num = h->short_ref[h->short_ref_count - 1]->frame_num;
632 int av_uninit(structure), av_uninit(frame_num);
639 frame_num = pic_num_extract(h, mmco[i].short_pic_num, &structure);
640 pic = find_short(h, frame_num, &j);
644 h->long_ref[mmco[i].long_arg]->frame_num != frame_num) {
657 remove_short(h, frame_num, structure ^ PICT_FRAME);
723 remove_short(h, h->short_ref[0]->frame_num, 0);
728 h->poc.frame_num = h->cur_pic_ptr->frame_num = 0;
755 pic = remove_short(h, h->cur_pic_ptr->frame_num, 0);
792 remove_short(h, pic->frame_num, 0);
799 int d = av_mod_uintp2(h->cur_pic_ptr->frame_num - pic->frame_num, h->ps.sps->log2_max_frame_num);
801 remove_short(h, pic->frame_num, 0);