Lines Matching defs:index

81     int index = 0;
89 av_assert0(index < def_len);
91 split_field_copy(&def[index++], in[i[0]++], sel, 1);
94 av_assert0(index < def_len);
96 split_field_copy(&def[index++], in[i[1]++], sel ^ 3, 0);
100 return index;
257 * @return frame number (short term) or long term index of picture
300 int list, index, pic_structure;
310 for (index = 0; index < sl->nb_ref_modifications[list]; index++) {
311 unsigned int modification_of_pic_nums_idc = sl->ref_modifications[list][index].op;
312 unsigned int val = sl->ref_modifications[list][index].val;
380 memset(&sl->ref_list[list][index], 0, sizeof(sl->ref_list[0][0])); // FIXME
382 for (i = index; i + 1 < sl->ref_count[list]; i++) {
388 for (; i > index; i--) {
391 ref_from_h264pic(&sl->ref_list[list][index], ref);
393 pic_as_field(&sl->ref_list[list][index], pic_structure);
399 for (index = 0; index < sl->ref_count[list]; index++) {
400 if ( !sl->ref_list[list][index].parent
401 || (!FIELD_PICTURE(h) && (sl->ref_list[list][index].reference&3) != 3)) {
408 sl->ref_list[list][index] = h->default_ref[list];
412 av_assert0(av_buffer_get_ref_count(sl->ref_list[list][index].parent->f->buf[0]) > 0);
424 int list, index;
433 for (index = 0; ; index++) {
439 if (index >= sl->ref_count[list]) {
448 sl->ref_modifications[list][index].val = get_ue_golomb_long(&sl->gb);
449 sl->ref_modifications[list][index].op = op;
486 * @param idx the index into h->short_ref where returned picture is found
508 * Remove a picture from the short term reference list by its index in
509 * that list. This does no checking on the provided index; it is assumed
511 * @param i index into h->short_ref of picture to remove.
543 * Remove a picture from the long term reference list by its index in
681 * at a different long term index.
716 // just remove the long term which index is greater than new max