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];
487 h->mmco[0].short_pic_num= h->short_ref[ h->short_ref_count - 1 ]->frame_num;
580 remove_short(h, h->short_ref[0]->frame_num, 0);
597 * should be first entry in short_ref. If not, it must exist
601 if (h->short_ref_count && h->short_ref[0] == s->current_picture_ptr) {
618 memmove(&h->short_ref[1], &h->short_ref[0], h->short_ref_count*sizeof(Picture*));
620 h->short_ref[0]= s->current_picture_ptr;
627 (h->short_ref[0] == s->current_picture_ptr) > h->sps.ref_frame_count){
631 * short_ref and long_ref buffers.
647 pic = h->short_ref[h->short_ref_count - 1];
677 /* if(h->mmco[i].short_pic_num >= h->short_ref_count || h->short_ref[ h->mmco[i].short_pic_num ] == NULL){