Lines Matching refs:long_ref
127 len+=build_def_list(h->default_ref_list[list]+len, h->long_ref, 16 , 1, s->picture_structure);
142 len+= build_def_list(h->default_ref_list[0]+len, h-> long_ref, 16 , 1, s->picture_structure);
149 tprintf(h->s.avctx, "List0: %s fn:%d 0x%p\n", (h->default_ref_list[0][i].long_ref ? "LT" : "ST"), h->default_ref_list[0][i].pic_id, h->default_ref_list[0][i].data[0]);
153 tprintf(h->s.avctx, "List1: %s fn:%d 0x%p\n", (h->default_ref_list[1][i].long_ref ? "LT" : "ST"), h->default_ref_list[1][i].pic_id, h->default_ref_list[1][i].data[0]);
233 assert(!ref->long_ref);
252 ref = h->long_ref[long_idx];
256 assert(ref->long_ref);
268 if(ref->long_ref == h->ref_list[list][i].long_ref && ref->pic_id == h->ref_list[list][i].pic_id)
419 pic= h->long_ref[i];
422 assert(h->long_ref[i]->long_ref == 1);
423 h->long_ref[i]->long_ref= 0;
424 h->long_ref[i]= NULL;
470 Picture *pic= h->long_ref[i];
517 if(mmco[i].opcode != MMCO_SHORT2LONG || !h->long_ref[mmco[i].long_arg]
518 || h->long_ref[mmco[i].long_arg]->frame_num != frame_num) {
533 if (h->long_ref[mmco[i].long_arg] != pic)
537 h->long_ref[ mmco[i].long_arg ]= pic;
538 if (h->long_ref[ mmco[i].long_arg ]){
539 h->long_ref[ mmco[i].long_arg ]->long_ref=1;
545 pic = h->long_ref[j];
560 if (h->long_ref[mmco[i].long_arg] != s->current_picture_ptr) {
563 h->long_ref[ mmco[i].long_arg ]= s->current_picture_ptr;
564 h->long_ref[ mmco[i].long_arg ]->long_ref=1;
598 * in long_ref; trying to put it on the short list here is an
604 } else if (s->current_picture_ptr->long_ref) {
631 * short_ref and long_ref buffers.
641 if (h->long_ref[i])