Lines Matching refs:short_ref
123 len= add_sorted(sorted , h->short_ref, h->short_ref_count, cur_poc, 1^list);
124 len+=add_sorted(sorted+len, h->short_ref, h->short_ref_count, cur_poc, 0^list);
141 len = build_def_list(h->default_ref_list[0] , h->short_ref, h->short_ref_count, 0, s->picture_structure);
231 ref = h->short_ref[i];
356 * @param idx the index into h->short_ref where returned picture is found
366 Picture *pic= h->short_ref[i];
381 * @param i index into h->short_ref of picture to remove.
385 h->short_ref[i]= NULL;
387 memmove(&h->short_ref[i], &h->short_ref[i+1], (h->short_ref_count - i)*sizeof(Picture*));
441 unreference_pic(h, h->short_ref[i], 0);
442 h->short_ref[i]= NULL;
455 Picture *pic= h->short_ref[i];
557 remove_short(h, h->short_ref[0]->frame_num, 0);
578 * should be first entry in short_ref. If not, it must exist
582 if (h->short_ref_count && h->short_ref[0] == s->current_picture_ptr) {
597 memmove(&h->short_ref[1], &h->short_ref[0], h->short_ref_count*sizeof(Picture*));
599 h->short_ref[0]= s->current_picture_ptr;
609 * short_ref and long_ref buffers.
623 pic = h->short_ref[h->short_ref_count - 1];
653 /* if(h->mmco[i].short_pic_num >= h->short_ref_count || h->short_ref[ h->mmco[i].short_pic_num ] == NULL){
681 h->mmco[0].short_pic_num= h->short_ref[ h->short_ref_count - 1 ]->frame_num;