Lines Matching defs:position
489 void ff_cbs_trace_syntax_element(CodedBitstreamContext *ctx, int position,
536 position, name, pad, bits, value);
545 int position;
556 position = get_bits_count(gbc);
567 ff_cbs_trace_syntax_element(ctx, position, name, subscripts,
624 int position;
635 position = get_bits_count(gbc);
646 ff_cbs_trace_syntax_element(ctx, position, name, subscripts,
719 int position)
726 if (position < frag->nb_units)
727 memmove(units + position + 1, units + position,
728 (frag->nb_units - position) * sizeof(*units));
736 if (position > 0)
737 memcpy(units, frag->units, position * sizeof(*units));
739 if (position < frag->nb_units)
740 memcpy(units + position + 1, frag->units + position,
741 (frag->nb_units - position) * sizeof(*units));
744 memset(units + position, 0, sizeof(*units));
757 int position,
766 if (position == -1)
767 position = frag->nb_units;
768 av_assert0(position >= 0 && position <= frag->nb_units);
778 err = cbs_insert_unit(frag, position);
784 unit = &frag->units[position];
796 int position)
802 av_assert0(position >= 0 && position <= frag->nb_units);
814 err = cbs_insert_unit(frag, position);
820 unit = &frag->units[position];
840 int position)
842 av_assert0(0 <= position && position < frag->nb_units
845 cbs_unit_uninit(&frag->units[position]);
850 memmove(frag->units + position,
851 frag->units + position + 1,
852 (frag->nb_units - position) * sizeof(*frag->units));