pos 162 doc/examples/remuxing.c pkt.pos = -1; pos 3620 fftools/ffmpeg.c pkt->pos, av_ts2timestr(pkt->dts, &st->time_base)); pos 161 fftools/ffplay.c int64_t pos; /* byte position of the frame in the input file */ pos 817 fftools/ffplay.c return fp->pos; pos 1476 fftools/ffplay.c static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_bytes) pos 1479 fftools/ffplay.c is->seek_pos = pos; pos 1571 fftools/ffplay.c static void update_video_pts(VideoState *is, double pts, int64_t pos, int serial) { pos 1636 fftools/ffplay.c update_video_pts(is, vp->pts, vp->pos, vp->serial); pos 1747 fftools/ffplay.c static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t pos, int serial) pos 1768 fftools/ffplay.c vp->pos = pos; pos 2100 fftools/ffplay.c af->pos = frame->pkt_pos; pos 3250 fftools/ffplay.c int64_t pos = get_master_clock(is) * AV_TIME_BASE; pos 3259 fftools/ffplay.c if (av_compare_ts(pos, AV_TIME_BASE_Q, ch->start, ch->time_base) < 0) { pos 3279 fftools/ffplay.c double incr, pos, frac; pos 3370 fftools/ffplay.c pos = -1; pos 3371 fftools/ffplay.c if (pos < 0 && cur_stream->video_stream >= 0) pos 3372 fftools/ffplay.c pos = frame_queue_last_pos(&cur_stream->pictq); pos 3373 fftools/ffplay.c if (pos < 0 && cur_stream->audio_stream >= 0) pos 3374 fftools/ffplay.c pos = frame_queue_last_pos(&cur_stream->sampq); pos 3375 fftools/ffplay.c if (pos < 0) pos 3376 fftools/ffplay.c pos = avio_tell(cur_stream->ic->pb); pos 3381 fftools/ffplay.c pos += incr; pos 3382 fftools/ffplay.c stream_seek(cur_stream, pos, incr, 1); pos 3384 fftools/ffplay.c pos = get_master_clock(cur_stream); pos 3385 fftools/ffplay.c if (isnan(pos)) pos 3386 fftools/ffplay.c pos = (double)cur_stream->seek_pos / AV_TIME_BASE; pos 3387 fftools/ffplay.c pos += incr; pos 3388 fftools/ffplay.c if (cur_stream->ic->start_time != AV_NOPTS_VALUE && pos < cur_stream->ic->start_time / (double)AV_TIME_BASE) pos 3389 fftools/ffplay.c pos = cur_stream->ic->start_time / (double)AV_TIME_BASE; pos 3390 fftools/ffplay.c stream_seek(cur_stream, (int64_t)(pos * AV_TIME_BASE), (int64_t)(incr * AV_TIME_BASE), 0); pos 2074 fftools/ffprobe.c if (pkt->pos != -1) print_fmt ("pos", "%"PRId64, pkt->pos); pos 227 libavcodec/aac.h int pos[4]; pos 108 libavcodec/aacdec_template.c int pos = layout[i][2]; pos 110 libavcodec/aacdec_template.c (pos != AAC_CHANNEL_OFF && pos != AAC_CHANNEL_CC); pos 201 libavcodec/aacdec_template.c uint64_t right, int pos) pos 208 libavcodec/aacdec_template.c .aac_position = pos pos 216 libavcodec/aacdec_template.c .aac_position = pos pos 222 libavcodec/aacdec_template.c .aac_position = pos pos 228 libavcodec/aacdec_template.c static int count_paired_channels(uint8_t (*layout_map)[3], int tags, int pos, pos 236 libavcodec/aacdec_template.c if (layout_map[i][2] != pos) pos 240 libavcodec/aacdec_template.c if (pos == AAC_CHANNEL_FRONT && !first_cpe) { pos 254 libavcodec/aacdec_template.c ((pos == AAC_CHANNEL_FRONT && first_cpe) || pos == AAC_CHANNEL_SIDE)) pos 1562 libavcodec/aacdec_template.c pulse->pos[0] = swb_offset[pulse_swb]; pos 1563 libavcodec/aacdec_template.c pulse->pos[0] += get_bits(gb, 5); pos 1564 libavcodec/aacdec_template.c if (pulse->pos[0] >= swb_offset[num_swb]) pos 1568 libavcodec/aacdec_template.c pulse->pos[i] = get_bits(gb, 5) + pulse->pos[i - 1]; pos 1569 libavcodec/aacdec_template.c if (pulse->pos[i] >= swb_offset[num_swb]) pos 1897 libavcodec/aacdec_template.c INTFLOAT co = coef_base[ pulse->pos[i] ]; pos 1898 libavcodec/aacdec_template.c while (offsets[idx + 1] <= pulse->pos[i]) pos 1906 libavcodec/aacdec_template.c coef_base[ pulse->pos[i] ] = ico; pos 1912 libavcodec/aacdec_template.c coef_base[ pulse->pos[i] ] = cbrtf(fabsf(ico)) * ico * sf[idx]; pos 432 libavcodec/aacenc.c put_bits(&s->pb, 5, pulse->pos[i]); pos 342 libavcodec/adpcmenc.c int pos;\ pos 369 libavcodec/adpcmenc.c pos = heap_pos++;\ pos 373 libavcodec/adpcmenc.c pos = (frontier >> 1) +\ pos 375 libavcodec/adpcmenc.c if (ssd > nodes_next[pos]->ssd)\ pos 380 libavcodec/adpcmenc.c u = nodes_next[pos];\ pos 384 libavcodec/adpcmenc.c nodes_next[pos] = u;\ pos 395 libavcodec/adpcmenc.c while (pos > 0) {\ pos 396 libavcodec/adpcmenc.c int parent = (pos - 1) >> 1;\ pos 399 libavcodec/adpcmenc.c FFSWAP(TrellisNode*, nodes_next[parent], nodes_next[pos]);\ pos 400 libavcodec/adpcmenc.c pos = parent;\ pos 564 libavcodec/agm.c int pos = ff_zigzag_direct[i]; pos 566 libavcodec/agm.c s->luma_quant_matrix[i] = luma[pos] * ((pos / 8) & 1 ? -1 : 1); pos 567 libavcodec/agm.c s->chroma_quant_matrix[i] = chroma[pos] * ((pos / 8) & 1 ? -1 : 1); pos 604 libavcodec/agm.c int x = *nx, y = *ny, pos = *np; pos 606 libavcodec/agm.c if (pos == 0) { pos 611 libavcodec/agm.c pos++; pos 612 libavcodec/agm.c } else if (pos == 1) { pos 628 libavcodec/agm.c pos++; pos 629 libavcodec/agm.c } else if (pos == 2) { pos 645 libavcodec/agm.c pos = 0; pos 652 libavcodec/agm.c *np = pos; pos 718 libavcodec/agm.c int runlen, y = 0, x = 0, pos = 0; pos 739 libavcodec/agm.c fill, &x, &y, &pos, pos 752 libavcodec/agm.c fill, &x, &y, &pos, pos 378 libavcodec/amrwbdec.c int pos = BIT_STR(code, 0, m) + off; ///code: m+1 bits pos 380 libavcodec/amrwbdec.c out[0] = BIT_POS(code, m) ? -pos : pos; pos 549 libavcodec/amrwbdec.c int pos = (FFABS(sig_pos[i][j]) - 1) * spacing + i; pos 551 libavcodec/amrwbdec.c fixed_vector[pos] += sig_pos[i][j] < 0 ? -1.0 : 1.0; pos 429 libavcodec/aptx.c int p = prediction->pos; pos 432 libavcodec/aptx.c prediction->pos = p = (p + 1) % order; pos 51 libavcodec/aptx.h int pos; pos 76 libavcodec/aptx.h int32_t pos; pos 167 libavcodec/aptx.h signal->buffer[signal->pos ] = sample; pos 168 libavcodec/aptx.h signal->buffer[signal->pos+FILTER_TAPS] = sample; pos 169 libavcodec/aptx.h signal->pos = (signal->pos + 1) & (FILTER_TAPS - 1); pos 181 libavcodec/aptx.h int32_t *sig = &signal->buffer[signal->pos]; pos 140 libavcodec/aptxdec.c int pos, opos, channel, sample, ret; pos 154 libavcodec/aptxdec.c for (pos = 0, opos = 0; opos < frame->nb_samples; pos += s->block_size, opos += 4) { pos 157 libavcodec/aptxdec.c if (aptx_decode_samples(s, &avpkt->data[pos], samples)) { pos 211 libavcodec/aptxenc.c int pos, ipos, channel, sample, output_size, ret; pos 220 libavcodec/aptxenc.c for (pos = 0, ipos = 0; pos < output_size; pos += s->block_size, ipos += 4) { pos 227 libavcodec/aptxenc.c aptx_encode_samples(s, samples, avpkt->data + pos); pos 177 libavcodec/arm/hevcdsp_init_neon.c static const int8_t pos[4][2][2] = { pos 188 libavcodec/arm/hevcdsp_init_neon.c a_stride = pos[eo][0][0] + pos[eo][0][1] * stride_src; pos 189 libavcodec/arm/hevcdsp_init_neon.c b_stride = pos[eo][1][0] + pos[eo][1][1] * stride_src; pos 28 libavcodec/arm/rv40dsp_init_arm.c #define DECL_QPEL3(type, w, pos) \ pos 29 libavcodec/arm/rv40dsp_init_arm.c void ff_ ## type ## _rv40_qpel ## w ## _mc ## pos ## _neon(uint8_t *dst, \ pos 33 libavcodec/arm/rv40dsp_init_arm.c #define DECL_QPEL2(w, pos) \ pos 34 libavcodec/arm/rv40dsp_init_arm.c DECL_QPEL3(put, w, pos); \ pos 35 libavcodec/arm/rv40dsp_init_arm.c DECL_QPEL3(avg, w, pos) pos 89 libavcodec/atrac.c int i, pos, lastpos; pos 95 libavcodec/atrac.c for (pos = 0; pos < num_samples; pos++) pos 96 libavcodec/atrac.c out[pos] = in[pos] * gc_scale + prev[pos]; pos 98 libavcodec/atrac.c pos = 0; pos 109 libavcodec/atrac.c for (; pos < lastpos; pos++) pos 110 libavcodec/atrac.c out[pos] = (in[pos] * gc_scale + prev[pos]) * lev; pos 113 libavcodec/atrac.c for (; pos < lastpos + gctx->loc_size; pos++) { pos 114 libavcodec/atrac.c out[pos] = (in[pos] * gc_scale + prev[pos]) * lev; pos 119 libavcodec/atrac.c for (; pos < num_samples; pos++) pos 120 libavcodec/atrac.c out[pos] = in[pos] * gc_scale + prev[pos]; pos 109 libavcodec/atrac1.c unsigned int start_pos, ref_pos = 0, pos = 0; pos 140 libavcodec/atrac1.c at1_imdct(q, &q->spec[pos], &su->spectrum[0][ref_pos + start_pos], nbits, band_num); pos 148 libavcodec/atrac1.c pos += block_size; pos 222 libavcodec/atrac1.c int pos; pos 234 libavcodec/atrac1.c pos = su->log2_block_count[band_num] ? bfu_start_short[bfu_num] : bfu_start_long[bfu_num]; pos 243 libavcodec/atrac1.c spec[pos+i] = get_sbits(gb, word_len) * scale_factor * max_quant; pos 246 libavcodec/atrac1.c memset(&spec[pos], 0, num_specs * sizeof(float)); pos 66 libavcodec/atrac3.c int pos; pos 381 libavcodec/atrac3.c cmp->pos = b * 64 + get_bits(gb, 6); pos 383 libavcodec/atrac3.c max_coded_values = SAMPLES_PER_FRAME - cmp->pos; pos 456 libavcodec/atrac3.c last_pos = FFMAX(components[i].pos + components[i].num_coefs, last_pos); pos 458 libavcodec/atrac3.c output = &spectrum[components[i].pos]; pos 338 libavcodec/atrac3plus.c int i, weight_idx = 0, delta, diff, pos, delta_bits, min_val, flag, pos 370 libavcodec/atrac3plus.c pos = get_bits(gb, 5); pos 371 libavcodec/atrac3plus.c if (pos > chan->num_coded_vals) { pos 380 libavcodec/atrac3plus.c for (i = 0; i < pos; i++) pos 383 libavcodec/atrac3plus.c for (i = pos; i < chan->num_coded_vals; i++) pos 457 libavcodec/atrac3plus.c pos = ch_num ? chan->num_coded_vals + chan->split_point pos 459 libavcodec/atrac3plus.c if (pos > FF_ARRAY_ELEMS(chan->qu_wordlen)) { pos 461 libavcodec/atrac3plus.c pos = FF_ARRAY_ELEMS(chan->qu_wordlen); pos 463 libavcodec/atrac3plus.c for (i = chan->num_coded_vals; i < pos; i++) pos 819 libavcodec/atrac3plus.c int i, j, pos, cf; pos 826 libavcodec/atrac3plus.c for (pos = 0; pos < num_specs;) { pos 838 libavcodec/atrac3plus.c out[pos++] = cf; pos 843 libavcodec/atrac3plus.c pos += group_size * num_coeffs; pos 1158 libavcodec/atrac3plus.c AtracGainInfo *dst, int pos) pos 1162 libavcodec/atrac3plus.c if (!pos || dst->loc_code[pos - 1] < 15) pos 1163 libavcodec/atrac3plus.c dst->loc_code[pos] = get_bits(gb, 5); pos 1164 libavcodec/atrac3plus.c else if (dst->loc_code[pos - 1] >= 30) pos 1165 libavcodec/atrac3plus.c dst->loc_code[pos] = 31; pos 1167 libavcodec/atrac3plus.c delta_bits = av_log2(30 - dst->loc_code[pos - 1]) + 1; pos 1168 libavcodec/atrac3plus.c dst->loc_code[pos] = dst->loc_code[pos - 1] + pos 61 libavcodec/atrac3plus.h int pos; pos 131 libavcodec/atrac3plusdsp.c int i, wn, inc, pos; pos 143 libavcodec/atrac3plusdsp.c pos = DEQUANT_PHASE(wave_param->phase_index) - (reg_offset ^ 128) * inc & 2047; pos 147 libavcodec/atrac3plusdsp.c out[i] += sine_table[pos] * amp; pos 148 libavcodec/atrac3plusdsp.c pos = (pos + inc) & 2047; pos 158 libavcodec/atrac3plusdsp.c pos = (envelope->start_pos << 2) - reg_offset; pos 159 libavcodec/atrac3plusdsp.c if (pos > 0 && pos <= 128) { pos 160 libavcodec/atrac3plusdsp.c memset(out, 0, pos * sizeof(*out)); pos 163 libavcodec/atrac3plusdsp.c out[pos + 0] *= hann_window[0]; pos 164 libavcodec/atrac3plusdsp.c out[pos + 1] *= hann_window[32]; pos 165 libavcodec/atrac3plusdsp.c out[pos + 2] *= hann_window[64]; pos 166 libavcodec/atrac3plusdsp.c out[pos + 3] *= hann_window[96]; pos 173 libavcodec/atrac3plusdsp.c pos = (envelope->stop_pos + 1 << 2) - reg_offset; pos 174 libavcodec/atrac3plusdsp.c if (pos > 0 && pos <= 128) { pos 175 libavcodec/atrac3plusdsp.c out[pos - 4] *= hann_window[96]; pos 176 libavcodec/atrac3plusdsp.c out[pos - 3] *= hann_window[64]; pos 177 libavcodec/atrac3plusdsp.c out[pos - 2] *= hann_window[32]; pos 178 libavcodec/atrac3plusdsp.c out[pos - 1] *= hann_window[0]; pos 179 libavcodec/atrac3plusdsp.c memset(&out[pos], 0, (128 - pos) * sizeof(out[pos])); pos 624 libavcodec/atrac3plusdsp.c hist->buf1[hist->pos][i] = idct_out[i + 8]; pos 625 libavcodec/atrac3plusdsp.c hist->buf2[hist->pos][i] = idct_out[7 - i]; pos 628 libavcodec/atrac3plusdsp.c pos_now = hist->pos; pos 643 libavcodec/atrac3plusdsp.c hist->pos = mod23_lut[hist->pos]; // hist->pos = (hist->pos - 1) % 23; pos 2957 libavcodec/avcodec.h int avcodec_enum_to_chroma_pos(int *xpos, int *ypos, enum AVChromaLocation pos); pos 3463 libavcodec/avcodec.h int64_t pos; pos 3589 libavcodec/avcodec.h int64_t pos); pos 39 libavcodec/avpacket.c pkt->pos = -1; pos 577 libavcodec/avpacket.c dst->pos = src->pos; pos 520 libavcodec/cavsdec.c int pos = -1; pos 525 libavcodec/cavsdec.c pos += run_buf[coeff_num]; pos 526 libavcodec/cavsdec.c if (pos > 63) { pos 532 libavcodec/cavsdec.c dst[scantab[pos]] = (level_buf[coeff_num] * mul + round) >> shift; pos 666 libavcodec/cavsdec.c int pos = scan3x3[block]; pos 668 libavcodec/cavsdec.c nA = h->pred_mode_Y[pos - 1]; pos 669 libavcodec/cavsdec.c nB = h->pred_mode_Y[pos - 3]; pos 677 libavcodec/cavsdec.c h->pred_mode_Y[pos] = predpred; pos 750 libavcodec/cbs_av1.c int pos, err, trace; pos 789 libavcodec/cbs_av1.c pos = get_bits_count(&gbc); pos 790 libavcodec/cbs_av1.c av_assert0(pos % 8 == 0 && pos / 8 <= size); pos 792 libavcodec/cbs_av1.c obu_length = pos / 8 + obu_size; pos 866 libavcodec/cbs_av1.c int pos; pos 868 libavcodec/cbs_av1.c pos = get_bits_count(gbc); pos 869 libavcodec/cbs_av1.c if (pos >= 8 * unit->data_size) { pos 871 libavcodec/cbs_av1.c "any data in tile group (%d bits read).\n", pos); pos 875 libavcodec/cbs_av1.c av_assert0(pos % 8 == 0); pos 881 libavcodec/cbs_av1.c td->data = unit->data + pos / 8; pos 882 libavcodec/cbs_av1.c td->data_size = unit->data_size - pos / 8; pos 1232 libavcodec/cbs_av1.c size_t size, pos; pos 1245 libavcodec/cbs_av1.c pos = 0; pos 1247 libavcodec/cbs_av1.c memcpy(frag->data + pos, frag->units[i].data, pos 1249 libavcodec/cbs_av1.c pos += frag->units[i].data_size; pos 1251 libavcodec/cbs_av1.c av_assert0(pos == size); pos 864 libavcodec/cbs_h2645.c int pos, len; pos 879 libavcodec/cbs_h2645.c pos = get_bits_count(&gbc); pos 882 libavcodec/cbs_h2645.c slice->data_size = len - pos / 8; pos 886 libavcodec/cbs_h2645.c slice->data = unit->data + pos / 8; pos 887 libavcodec/cbs_h2645.c slice->data_bit_start = pos % 8; pos 1042 libavcodec/cbs_h2645.c int pos, len; pos 1057 libavcodec/cbs_h2645.c pos = get_bits_count(&gbc); pos 1060 libavcodec/cbs_h2645.c slice->data_size = len - pos / 8; pos 1064 libavcodec/cbs_h2645.c slice->data = unit->data + pos / 8; pos 1065 libavcodec/cbs_h2645.c slice->data_bit_start = pos % 8; pos 1111 libavcodec/cbs_h2645.c const uint8_t *pos = data + data_bit_start / 8; pos 1127 libavcodec/cbs_h2645.c *pos++ & MAX_UINT_BITS(8 - data_bit_start % 8)); pos 1134 libavcodec/cbs_h2645.c memcpy(put_bits_ptr(pbc), pos, rest); pos 1143 libavcodec/cbs_h2645.c for (; rest > 4; rest -= 4, pos += 4) pos 1144 libavcodec/cbs_h2645.c put_bits32(pbc, AV_RB32(pos)); pos 1146 libavcodec/cbs_h2645.c for (; rest > 1; rest--, pos++) pos 1147 libavcodec/cbs_h2645.c put_bits(pbc, 8, *pos); pos 1150 libavcodec/cbs_h2645.c temp = rest ? *pos : *pos & MAX_UINT_BITS(8 - data_bit_start % 8); pos 1153 libavcodec/cbs_h2645.c i = ff_ctz(*pos); pos 279 libavcodec/cbs_jpeg.c int pos; pos 292 libavcodec/cbs_jpeg.c pos = get_bits_count(&gbc); pos 293 libavcodec/cbs_jpeg.c av_assert0(pos % 8 == 0); pos 294 libavcodec/cbs_jpeg.c if (pos > 0) { pos 295 libavcodec/cbs_jpeg.c scan->data_size = unit->data_size - pos / 8; pos 299 libavcodec/cbs_jpeg.c scan->data = unit->data + pos / 8; pos 236 libavcodec/cbs_mpeg2.c int pos, len; pos 251 libavcodec/cbs_mpeg2.c pos = get_bits_count(&gbc); pos 254 libavcodec/cbs_mpeg2.c slice->data_size = len - pos / 8; pos 258 libavcodec/cbs_mpeg2.c slice->data = unit->data + pos / 8; pos 260 libavcodec/cbs_mpeg2.c slice->data_bit_start = pos % 8; pos 340 libavcodec/cbs_mpeg2.c uint8_t *pos = slice->data + slice->data_bit_start / 8; pos 351 libavcodec/cbs_mpeg2.c *pos++ & MAX_UINT_BITS(8 - slice->data_bit_start % 8)); pos 358 libavcodec/cbs_mpeg2.c memcpy(put_bits_ptr(pbc), pos, rest); pos 362 libavcodec/cbs_mpeg2.c for (; rest > 3; rest -= 4, pos += 4) pos 363 libavcodec/cbs_mpeg2.c put_bits32(pbc, AV_RB32(pos)); pos 365 libavcodec/cbs_mpeg2.c for (; rest; rest--, pos++) pos 366 libavcodec/cbs_mpeg2.c put_bits(pbc, 8, *pos); pos 427 libavcodec/cbs_vp9.c size_t index_size, pos; pos 445 libavcodec/cbs_vp9.c pos = 0; pos 447 libavcodec/cbs_vp9.c if (pos + sfi.frame_sizes[i] + index_size > frag->data_size) { pos 455 libavcodec/cbs_vp9.c frag->data + pos, pos 461 libavcodec/cbs_vp9.c pos += sfi.frame_sizes[i]; pos 463 libavcodec/cbs_vp9.c if (pos + index_size != frag->data_size) { pos 466 libavcodec/cbs_vp9.c frag->data_size - (pos + index_size)); pos 494 libavcodec/cbs_vp9.c int err, pos; pos 510 libavcodec/cbs_vp9.c pos = get_bits_count(&gbc); pos 511 libavcodec/cbs_vp9.c av_assert0(pos % 8 == 0); pos 512 libavcodec/cbs_vp9.c pos /= 8; pos 513 libavcodec/cbs_vp9.c av_assert0(pos <= unit->data_size); pos 515 libavcodec/cbs_vp9.c if (pos == unit->data_size) { pos 522 libavcodec/cbs_vp9.c frame->data = unit->data + pos; pos 523 libavcodec/cbs_vp9.c frame->data_size = unit->data_size - pos; pos 579 libavcodec/cbs_vp9.c size_t size, max, pos; pos 615 libavcodec/cbs_vp9.c pos = 0; pos 617 libavcodec/cbs_vp9.c av_assert0(size - pos > frag->units[i].data_size); pos 618 libavcodec/cbs_vp9.c memcpy(data + pos, frag->units[i].data, pos 620 libavcodec/cbs_vp9.c pos += frag->units[i].data_size; pos 622 libavcodec/cbs_vp9.c av_assert0(size - pos == 2 + frag->nb_units * size_len); pos 624 libavcodec/cbs_vp9.c init_put_bits(&pbc, data + pos, size - pos); pos 1910 libavcodec/dca_core.c int pos, spkr; pos 1913 libavcodec/dca_core.c pos = ff_dca_channels[s->audio_mode]; pos 1914 libavcodec/dca_core.c if (ch < pos) { pos 1929 libavcodec/dca_core.c if ((s->ext_audio_mask & DCA_CSS_XCH) && ch == pos) pos 1936 libavcodec/dca_core.c if (pos++ == ch) pos 82 libavcodec/dcadec.c int pos, spkr, max_spkr = av_log2(ch_mask); pos 88 libavcodec/dcadec.c pos = (ch_mask & DCA_SPEAKER_MASK_C); pos 89 libavcodec/dcadec.c dcadsp->dmix_scale(samples[DCA_SPEAKER_L], coeff_l[pos ], nsamples); pos 90 libavcodec/dcadec.c dcadsp->dmix_scale(samples[DCA_SPEAKER_R], coeff_r[pos + 1], nsamples); pos 113 libavcodec/dcadec.c int pos, spkr, max_spkr = av_log2(ch_mask); pos 120 libavcodec/dcadec.c pos = (ch_mask & DCA_SPEAKER_MASK_C); pos 122 libavcodec/dcadec.c coeff_l[pos ] * scale, nsamples); pos 124 libavcodec/dcadec.c coeff_r[pos + 1] * scale, nsamples); pos 348 libavcodec/decode.c frame->pkt_pos = pkt->pos; pos 1711 libavcodec/decode.c frame->pkt_pos = pkt->pos; pos 1205 libavcodec/dnxhdenc.c int pos = buckets[v]++; pos 1206 libavcodec/dnxhdenc.c dst[pos] = data[i]; pos 60 libavcodec/dsd.c unsigned pos, i; pos 64 libavcodec/dsd.c pos = s->pos; pos 69 libavcodec/dsd.c buf[pos] = lsbf ? ff_reverse[*src] : *src; pos 72 libavcodec/dsd.c p = buf + ((pos - CTABLES) & FIFOMASK); pos 77 libavcodec/dsd.c uint8_t a = buf[(pos - i) & FIFOMASK]; pos 78 libavcodec/dsd.c uint8_t b = buf[(pos - (CTABLES*2 - 1) + i) & FIFOMASK]; pos 85 libavcodec/dsd.c pos = (pos + 1) & FIFOMASK; pos 88 libavcodec/dsd.c s->pos = pos; pos 44 libavcodec/dsd.h unsigned pos; pos 58 libavcodec/dsddec.c s[i].pos = 0; pos 56 libavcodec/dvdec.c uint8_t pos; /* position in block */ pos 206 libavcodec/dvdec.c int pos = mb->pos; pos 224 libavcodec/dvdec.c pos, SHOW_UBITS(re, gb, 16), re_index); pos 247 libavcodec/dvdec.c pos += run; pos 248 libavcodec/dvdec.c if (pos >= 64) pos 251 libavcodec/dvdec.c level = (level * factor_table[pos] + (1 << (dv_iweight_bits - 1))) >> pos 253 libavcodec/dvdec.c block[scan_table[pos]] = level; pos 258 libavcodec/dvdec.c mb->pos = pos; pos 396 libavcodec/dvdec.c mb->pos = 0; pos 404 libavcodec/dvdec.c if (mb->pos >= 64) pos 406 libavcodec/dvdec.c if (mb->pos >= 64 && mb->pos < 127) pos 424 libavcodec/dvdec.c if (mb->pos < 64 && get_bits_left(&gb) > 0) { pos 427 libavcodec/dvdec.c if (mb->pos < 64) pos 429 libavcodec/dvdec.c if (mb->pos < 127) pos 448 libavcodec/dvdec.c if (mb->pos < 64 && get_bits_left(&gb) > 0 && !vs_bit_buffer_damaged) { pos 453 libavcodec/dvdec.c if (mb->pos >= 64 && mb->pos < 127) { pos 455 libavcodec/dvdec.c "AC EOB marker is absent pos=%d\n", mb->pos); pos 223 libavcodec/dvdsubdec.c int cmd_pos, pos, cmd, x1, y1, x2, y2, next_cmd_pos; pos 262 libavcodec/dvdsubdec.c pos = cmd_pos + 2 + offset_size; pos 266 libavcodec/dvdsubdec.c while (pos < buf_size) { pos 267 libavcodec/dvdsubdec.c cmd = buf[pos++]; pos 284 libavcodec/dvdsubdec.c if ((buf_size - pos) < 2) pos 286 libavcodec/dvdsubdec.c colormap[3] = buf[pos] >> 4; pos 287 libavcodec/dvdsubdec.c colormap[2] = buf[pos] & 0x0f; pos 288 libavcodec/dvdsubdec.c colormap[1] = buf[pos + 1] >> 4; pos 289 libavcodec/dvdsubdec.c colormap[0] = buf[pos + 1] & 0x0f; pos 290 libavcodec/dvdsubdec.c pos += 2; pos 294 libavcodec/dvdsubdec.c if ((buf_size - pos) < 2) pos 296 libavcodec/dvdsubdec.c alpha[3] = buf[pos] >> 4; pos 297 libavcodec/dvdsubdec.c alpha[2] = buf[pos] & 0x0f; pos 298 libavcodec/dvdsubdec.c alpha[1] = buf[pos + 1] >> 4; pos 299 libavcodec/dvdsubdec.c alpha[0] = buf[pos + 1] & 0x0f; pos 300 libavcodec/dvdsubdec.c pos += 2; pos 305 libavcodec/dvdsubdec.c if ((buf_size - pos) < 6) pos 307 libavcodec/dvdsubdec.c x1 = (buf[pos] << 4) | (buf[pos + 1] >> 4); pos 308 libavcodec/dvdsubdec.c x2 = ((buf[pos + 1] & 0x0f) << 8) | buf[pos + 2]; pos 309 libavcodec/dvdsubdec.c y1 = (buf[pos + 3] << 4) | (buf[pos + 4] >> 4); pos 310 libavcodec/dvdsubdec.c y2 = ((buf[pos + 4] & 0x0f) << 8) | buf[pos + 5]; pos 314 libavcodec/dvdsubdec.c pos += 6; pos 317 libavcodec/dvdsubdec.c if ((buf_size - pos) < 4) pos 319 libavcodec/dvdsubdec.c offset1 = AV_RB16(buf + pos); pos 320 libavcodec/dvdsubdec.c offset2 = AV_RB16(buf + pos + 2); pos 322 libavcodec/dvdsubdec.c pos += 4; pos 325 libavcodec/dvdsubdec.c if ((buf_size - pos) < 8) pos 327 libavcodec/dvdsubdec.c offset1 = AV_RB32(buf + pos); pos 328 libavcodec/dvdsubdec.c offset2 = AV_RB32(buf + pos + 4); pos 330 libavcodec/dvdsubdec.c pos += 8; pos 335 libavcodec/dvdsubdec.c if ((buf_size - pos) < 768) pos 337 libavcodec/dvdsubdec.c yuv_palette = buf + pos; pos 338 libavcodec/dvdsubdec.c pos += 768; pos 342 libavcodec/dvdsubdec.c if ((buf_size - pos) < 256) pos 345 libavcodec/dvdsubdec.c alpha[i] = 0xFF - buf[pos+i]; pos 346 libavcodec/dvdsubdec.c pos += 256; pos 704 libavcodec/dvdsubdec.c int pos = strcspn(data, "\n\r"); pos 705 libavcodec/dvdsubdec.c if (pos==0 && *data==0) pos 720 libavcodec/dvdsubdec.c data += pos; pos 979 libavcodec/dvenc.c int pos; pos 982 libavcodec/dvenc.c pos = put_bits_count(&pbs[j]) >> 3; pos 983 libavcodec/dvenc.c if (pos > size) { pos 988 libavcodec/dvenc.c memset(pbs[j].buf + pos, 0xff, size - pos); pos 273 libavcodec/dxv.c if (idx > pos) { \ pos 274 libavcodec/dxv.c av_log(avctx, AV_LOG_ERROR, "idx %d > %d\n", idx, pos); \ pos 280 libavcodec/dxv.c if (idx > pos) { \ pos 281 libavcodec/dxv.c av_log(avctx, AV_LOG_ERROR, "idx %d > %d\n", idx, pos); \ pos 294 libavcodec/dxv.c int pos = 2; pos 301 libavcodec/dxv.c while (pos + 2 <= ctx->tex_size / 4) { pos 306 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 307 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 308 libavcodec/dxv.c pos++; pos 310 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 311 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 312 libavcodec/dxv.c pos++; pos 317 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 320 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 321 libavcodec/dxv.c pos++; pos 326 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 329 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 330 libavcodec/dxv.c pos++; pos 472 libavcodec/dxv.c int pos = bytestream2_tell(gb); pos 492 libavcodec/dxv.c return bytestream2_tell(gb) - pos; pos 872 libavcodec/dxv.c int pos = 4; pos 883 libavcodec/dxv.c while (pos + 2 <= ctx->tex_size / 4) { pos 887 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 888 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 889 libavcodec/dxv.c pos++; pos 890 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 891 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 892 libavcodec/dxv.c pos++; pos 914 libavcodec/dxv.c while (check && pos + 4 <= ctx->tex_size / 4) { pos 915 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 916 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 917 libavcodec/dxv.c pos++; pos 919 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 920 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 921 libavcodec/dxv.c pos++; pos 923 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 924 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 925 libavcodec/dxv.c pos++; pos 927 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 928 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 929 libavcodec/dxv.c pos++; pos 948 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 949 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 950 libavcodec/dxv.c pos++; pos 952 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - 4)); pos 953 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 954 libavcodec/dxv.c pos++; pos 959 libavcodec/dxv.c if (idx > pos || (unsigned int)(pos - idx) + 2 > ctx->tex_size / 4) pos 961 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 962 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 963 libavcodec/dxv.c pos++; pos 965 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 966 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 967 libavcodec/dxv.c pos++; pos 972 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 973 libavcodec/dxv.c pos++; pos 976 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 977 libavcodec/dxv.c pos++; pos 983 libavcodec/dxv.c if (pos + 2 > ctx->tex_size / 4) pos 988 libavcodec/dxv.c if (idx > pos || (unsigned int)(pos - idx) + 2 > ctx->tex_size / 4) pos 990 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 991 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 992 libavcodec/dxv.c pos++; pos 994 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 995 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 996 libavcodec/dxv.c pos++; pos 1000 libavcodec/dxv.c if (op && (idx > pos || (unsigned int)(pos - idx) + 2 > ctx->tex_size / 4)) pos 1003 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 1006 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 1007 libavcodec/dxv.c pos++; pos 1012 libavcodec/dxv.c prev = AV_RL32(ctx->tex_data + 4 * (pos - idx)); pos 1015 libavcodec/dxv.c AV_WL32(ctx->tex_data + 4 * pos, prev); pos 1016 libavcodec/dxv.c pos++; pos 202 libavcodec/dxva2_hevc.c unsigned i, j, pos; pos 209 libavcodec/dxva2_hevc.c pos = 4 * ff_hevc_diag_scan4x4_y[j] + ff_hevc_diag_scan4x4_x[j]; pos 210 libavcodec/dxva2_hevc.c qm->ucScalingLists0[i][j] = sl->sl[0][i][pos]; pos 214 libavcodec/dxva2_hevc.c pos = 8 * ff_hevc_diag_scan8x8_y[j] + ff_hevc_diag_scan8x8_x[j]; pos 215 libavcodec/dxva2_hevc.c qm->ucScalingLists1[i][j] = sl->sl[1][i][pos]; pos 216 libavcodec/dxva2_hevc.c qm->ucScalingLists2[i][j] = sl->sl[2][i][pos]; pos 219 libavcodec/dxva2_hevc.c qm->ucScalingLists3[i][j] = sl->sl[3][i * 3][pos]; pos 393 libavcodec/elsdec.c ptrdiff_t pos = rung_node - ur->rem_rung_list; pos 404 libavcodec/elsdec.c rung_node = &ur->rem_rung_list[pos]; pos 459 libavcodec/evrcdec.c int pos; pos 463 libavcodec/evrcdec.c pos = ((fixed_index & 0x7) * 7) + 4; pos 464 libavcodec/evrcdec.c cod[pos] += sign; pos 465 libavcodec/evrcdec.c pos = (((fixed_index >> 3) & 0x7) * 7) + 2; pos 466 libavcodec/evrcdec.c cod[pos] -= sign; pos 467 libavcodec/evrcdec.c pos = (((fixed_index >> 6) & 0x7) * 7); pos 468 libavcodec/evrcdec.c cod[pos] += sign; pos 222 libavcodec/ffwavesynth.c int pos = ts & (PINK_UNIT - 1); pos 224 libavcodec/ffwavesynth.c if (pos) { pos 226 libavcodec/ffwavesynth.c ws->pink_pos = pos; pos 47 libavcodec/flashsv.c uint8_t *pos; pos 197 libavcodec/flashsv.c s->blocks[blk_idx].pos, pos 218 libavcodec/flashsv.c s->blocks[blk_idx].pos = s->keyframedata + (get_bits_count(gb) / 8); pos 611 libavcodec/flashsv2enc.c int sl, rsl, col, pos, possl; pos 618 libavcodec/flashsv2enc.c pos = s->image_width * rsl * 3 + col * s->block_width * 3; pos 619 libavcodec/flashsv2enc.c compare_sl(s, b, src + possl, s->current_frame + pos, pos 620 libavcodec/flashsv2enc.c s->key_frame + pos, rsl % s->block_height, keyframe); pos 57 libavcodec/fmvc.c int i, len, pos; pos 82 libavcodec/fmvc.c pos = - (opcode >> 2) - 4 * bytestream2_get_byte(gb) - 2049; pos 85 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); pos 127 libavcodec/fmvc.c pos = - (opcode >> 2) - 4 * bytestream2_get_byte(gb) - 2049; pos 130 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); pos 152 libavcodec/fmvc.c pos = - ((opcode >> 2) & 7) - 1 - 8 * bytestream2_get_byte(gb); pos 156 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); pos 192 libavcodec/fmvc.c pos = - (i >> 2) - 1; pos 195 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); pos 222 libavcodec/fmvc.c pos = -(opcode >> 2) - 1 - 4 * bytestream2_get_byte(gb); pos 225 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); pos 252 libavcodec/fmvc.c pos = bytestream2_tell_p(pb) - 2048 * (opcode & 8); pos 253 libavcodec/fmvc.c pos = pos - (i >> 2); pos 254 libavcodec/fmvc.c if (pos == bytestream2_tell_p(pb)) pos 257 libavcodec/fmvc.c pos = pos - 0x4000; pos 259 libavcodec/fmvc.c bytestream2_seek(&gbc, pos, SEEK_SET); pos 293 libavcodec/fmvc.c int i, pos; pos 342 libavcodec/fmvc.c pos = -(opcode | 32 * bytestream2_get_byte(gb)) - 1; pos 343 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); pos 354 libavcodec/fmvc.c pos = (-((opcode & 0x1F) | 32 * bytestream2_get_byte(gb)) - 1); pos 355 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); pos 374 libavcodec/fmvc.c pos = -bytestream2_get_byte(gb); pos 376 libavcodec/fmvc.c bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos - (bytestream2_get_byte(gb) << 8), SEEK_SET); pos 243 libavcodec/g2meet.c int dc, val, pos; pos 260 libavcodec/g2meet.c pos = 0; pos 261 libavcodec/g2meet.c while (pos < 63) { pos 265 libavcodec/g2meet.c pos += val >> 4; pos 267 libavcodec/g2meet.c if (pos > 63) pos 273 libavcodec/g2meet.c val *= qmat[ff_zigzag_direct[pos]]; pos 274 libavcodec/g2meet.c block[c->scantable.permutated[pos]] = val; pos 697 libavcodec/g2meet.c int pos, run, rle; pos 702 libavcodec/g2meet.c for (pos = start_pos + 2; pos < tile_width; pos++) pos 703 libavcodec/g2meet.c if (!(above_row[pos] == pix)) pos 705 libavcodec/g2meet.c run = pos - start_pos - 1; pos 712 libavcodec/g2meet.c for (pos = idx - 1, rle = 0, flag = 0; pos >= 0; pos--) { pos 713 libavcodec/g2meet.c if ((1 << pos) + rle < run && pos 716 libavcodec/g2meet.c : &dc->runlen_zeroes[pos])) { pos 718 libavcodec/g2meet.c rle |= 1 << pos; pos 762 libavcodec/g2meet.c int pos; pos 774 libavcodec/g2meet.c pos = x + run - 1; pos 775 libavcodec/g2meet.c if (pos < tile_width - 1 && y) { pos 776 libavcodec/g2meet.c uint32_t NE = above_row[pos + 1]; pos 777 libavcodec/g2meet.c if (NE != above_row[pos] && !is_pixel_on_stack(dc, NE)) { pos 217 libavcodec/g722enc.c int decoded, dec_diff, pos; pos 236 libavcodec/g722enc.c pos = heap_pos[index]++;\ pos 238 libavcodec/g722enc.c node = nodes_next[index][pos] = next[index]++;\ pos 243 libavcodec/g722enc.c pos = (frontier>>1) + (heap_pos[index] & ((frontier>>1) - 1));\ pos 244 libavcodec/g722enc.c if (ssd >= nodes_next[index][pos]->ssd)\ pos 247 libavcodec/g722enc.c node = nodes_next[index][pos];\ pos 256 libavcodec/g722enc.c while (pos > 0) {\ pos 257 libavcodec/g722enc.c int parent = (pos - 1) >> 1;\ pos 261 libavcodec/g722enc.c nodes_next[index][pos]);\ pos 262 libavcodec/g722enc.c pos = parent;\ pos 277 libavcodec/g722enc.c int dhigh, decoded, dec_diff, pos; pos 734 libavcodec/g723_1dec.c int signs[SUBFRAMES / 2 * 11], pos[SUBFRAMES / 2 * 11]; pos 767 libavcodec/g723_1dec.c pos[idx] = tmp[idx2] * 2 + off[i]; pos 812 libavcodec/g723_1dec.c b0 += tmp[pos[(i / 2) * 11 + j]] * signs[(i / 2) * 11 + j]; pos 841 libavcodec/g723_1dec.c vector_ptr[pos[idx]] = av_clip_int16(vector_ptr[pos[idx]] + pos 569 libavcodec/golomb.h int pos = get_bits_count(s); pos 571 libavcodec/golomb.h int len = get_bits_count(s) - pos; pos 575 libavcodec/golomb.h bits, len, i, pos, file, func, line); pos 584 libavcodec/golomb.h int pos = get_bits_count(s); pos 586 libavcodec/golomb.h int len = get_bits_count(s) - pos; pos 590 libavcodec/golomb.h bits, len, i, pos, file, func, line); pos 599 libavcodec/golomb.h int pos = get_bits_count(s); pos 601 libavcodec/golomb.h int len = get_bits_count(s) - pos; pos 605 libavcodec/golomb.h bits, len, i, pos, file, func, line); pos 576 libavcodec/h261dec.c int pos = get_bits_count(&s->gb) >> 3; pos 577 libavcodec/h261dec.c if (pos == 0) pos 578 libavcodec/h261dec.c pos = 1; // avoid infinite loops (i doubt that is needed but ...) pos 579 libavcodec/h261dec.c if (pos + 10 > buf_size) pos 580 libavcodec/h261dec.c pos = buf_size; // oops ;) pos 582 libavcodec/h261dec.c return pos; pos 168 libavcodec/h263dec.c int pos = (get_bits_count(&s->gb) + 7) >> 3; pos 175 libavcodec/h263dec.c pos -= s->parse_context.last_index; pos 177 libavcodec/h263dec.c if (pos < 0) pos 178 libavcodec/h263dec.c pos = 0; pos 179 libavcodec/h263dec.c return pos; pos 182 libavcodec/h263dec.c if (pos == 0) pos 183 libavcodec/h263dec.c pos = 1; pos 185 libavcodec/h263dec.c if (pos + 10 > buf_size) pos 186 libavcodec/h263dec.c pos = buf_size; pos 188 libavcodec/h263dec.c return pos; pos 805 libavcodec/h264dec.c static int get_consumed_bytes(int pos, int buf_size) pos 807 libavcodec/h264dec.c if (pos == 0) pos 808 libavcodec/h264dec.c pos = 1; // avoid infinite loops (I doubt that is needed but...) pos 809 libavcodec/h264dec.c if (pos + 10 > buf_size) pos 810 libavcodec/h264dec.c pos = buf_size; // oops ;) pos 812 libavcodec/h264dec.c return pos; pos 1222 libavcodec/hevc_cabac.c int x_cg, y_cg, x_c, y_c, pos; pos 1456 libavcodec/hevc_cabac.c case 3: pos = (y_c << 3) + x_c; break; pos 1457 libavcodec/hevc_cabac.c case 4: pos = ((y_c >> 1) << 3) + (x_c >> 1); break; pos 1458 libavcodec/hevc_cabac.c case 5: pos = ((y_c >> 2) << 3) + (x_c >> 2); break; pos 1459 libavcodec/hevc_cabac.c default: pos = (y_c << 2) + x_c; break; pos 1461 libavcodec/hevc_cabac.c scale_m = scale_matrix[pos]; pos 359 libavcodec/hevc_filter.c int src_idx, pos; pos 364 libavcodec/hevc_filter.c pos = 0; pos 369 libavcodec/hevc_filter.c pos += (1 << sh); pos 373 libavcodec/hevc_filter.c memcpy(dst1 + pos, src1[src_idx] + pos, width << sh); pos 375 libavcodec/hevc_filter.c pos += width << sh; pos 378 libavcodec/hevc_filter.c copy_pixel(dst1 + pos, src1[src_idx] + pos, sh); pos 386 libavcodec/hevc_filter.c int src_idx, pos; pos 391 libavcodec/hevc_filter.c pos = 0; pos 396 libavcodec/hevc_filter.c pos += (1 << sh); pos 400 libavcodec/hevc_filter.c memcpy(dst1 + pos, src1[src_idx] + pos, width << sh); pos 402 libavcodec/hevc_filter.c pos += width << sh; pos 405 libavcodec/hevc_filter.c copy_pixel(dst1 + pos, src1[src_idx] + pos, sh); pos 787 libavcodec/hevc_ps.c int size_id, matrix_id, pos; pos 825 libavcodec/hevc_ps.c pos = 4 * ff_hevc_diag_scan4x4_y[i] + pos 828 libavcodec/hevc_ps.c pos = 8 * ff_hevc_diag_scan8x8_y[i] + pos 833 libavcodec/hevc_ps.c sl->sl[size_id][matrix_id][pos] = next_coef; pos 624 libavcodec/hevcdec.c int poc, pos; pos 638 libavcodec/hevcdec.c pos = get_bits_left(gb); pos 657 libavcodec/hevcdec.c sh->short_term_ref_pic_set_size = pos - get_bits_left(gb); pos 659 libavcodec/hevcdec.c pos = get_bits_left(gb); pos 666 libavcodec/hevcdec.c sh->long_term_ref_pic_set_size = pos - get_bits_left(gb); pos 328 libavcodec/hevcdsp_template.c static const int8_t pos[4][2][2] = { pos 341 libavcodec/hevcdsp_template.c a_stride = pos[eo][0][0] + pos[eo][0][1] * stride_src; pos 342 libavcodec/hevcdsp_template.c b_stride = pos[eo][1][0] + pos[eo][1][1] * stride_src; pos 66 libavcodec/hq_hqa.c int val, pos = 1; pos 83 libavcodec/hq_hqa.c pos += ff_hq_ac_skips[val]; pos 84 libavcodec/hq_hqa.c if (pos >= 64) pos 86 libavcodec/hq_hqa.c block[ff_zigzag_direct[pos]] = (int)(ff_hq_ac_syms[val] * (unsigned)q[pos]) >> 12; pos 87 libavcodec/hq_hqa.c pos++; pos 121 libavcodec/hqx.c int run, lev, pos = 1; pos 147 libavcodec/hqx.c pos += run; pos 148 libavcodec/hqx.c if (pos >= 64) pos 150 libavcodec/hqx.c block[ff_zigzag_direct[pos++]] = lev * q; pos 151 libavcodec/hqx.c } while (pos < 64); pos 343 libavcodec/hqx.c int blk_addr, loc_addr, mb_x, mb_y, pos, loc_row, i; pos 363 libavcodec/hqx.c pos = loc_addr % (grp_h_rest * grp_w); pos 366 libavcodec/hqx.c pos = loc_addr % (grp_h * grp_w); pos 369 libavcodec/hqx.c mb_x += pos % grp_v_rest; pos 370 libavcodec/hqx.c mb_y = loc_row + (pos / grp_v_rest); pos 372 libavcodec/hqx.c mb_x += pos % grp_w; pos 373 libavcodec/hqx.c mb_y = loc_row + (pos / grp_w); pos 118 libavcodec/huffman.c uint32_t pfx, int pl, int *pos, int no_zero_count) pos 124 libavcodec/huffman.c bits[*pos] = pfx; pos 125 libavcodec/huffman.c lens[*pos] = pl; pos 126 libavcodec/huffman.c xlat[*pos] = s; pos 127 libavcodec/huffman.c (*pos)++; pos 132 libavcodec/huffman.c pos, no_zero_count); pos 135 libavcodec/huffman.c pos, no_zero_count); pos 145 libavcodec/huffman.c int pos = 0; pos 148 libavcodec/huffman.c &pos, no_zero_count); pos 149 libavcodec/huffman.c return ff_init_vlc_sparse(vlc, nb_bits, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); pos 816 libavcodec/iff.c unsigned ofssrc, pos; pos 824 libavcodec/iff.c pos = 0; pos 840 libavcodec/iff.c pos += offset * 2; pos 841 libavcodec/iff.c noffset = (pos / planepitch) * pitch + (pos % planepitch) + k * planepitch; pos 847 libavcodec/iff.c pos += 2 * -(offset + 2); pos 851 libavcodec/iff.c pos += 2; pos 852 libavcodec/iff.c noffset = (pos / planepitch) * pitch + (pos % planepitch) + k * planepitch; pos 283 libavcodec/ilbcdec.c int i, j, pos = 0, cb_pos = 0; pos 287 libavcodec/ilbcdec.c lsfdeq[pos + j] = lsf_codebook[cb_pos + index[i] * lsf_dim_codebook[i] + j]; pos 290 libavcodec/ilbcdec.c pos += lsf_dim_codebook[i]; pos 295 libavcodec/ilbcdec.c pos = 0; pos 299 libavcodec/ilbcdec.c lsfdeq[LPC_FILTERORDER + pos + j] = lsf_codebook[cb_pos + pos 303 libavcodec/ilbcdec.c pos += lsf_dim_codebook[i]; pos 442 libavcodec/ilbcdec.c int i, pos, lp_length; pos 452 libavcodec/ilbcdec.c pos = lp_length; pos 457 libavcodec/ilbcdec.c memcpy(syntdenum + pos, lp, lp_length * 2); pos 458 libavcodec/ilbcdec.c bw_expand(weightdenum + pos, lp, kLpcChirpSyntDenum, lp_length); pos 459 libavcodec/ilbcdec.c pos += lp_length; pos 462 libavcodec/ilbcdec.c pos = 0; pos 466 libavcodec/ilbcdec.c memcpy(syntdenum + pos, lp, lp_length * 2); pos 467 libavcodec/ilbcdec.c bw_expand(weightdenum + pos, lp, kLpcChirpSyntDenum, lp_length); pos 468 libavcodec/ilbcdec.c pos += lp_length; pos 1208 libavcodec/ilbcdec.c int16_t pos; pos 1227 libavcodec/ilbcdec.c pos = 0; pos 1255 libavcodec/ilbcdec.c rp = ®ressor[pos]; pos 1303 libavcodec/ilbcdec.c pos += step; pos 425 libavcodec/imc.c int i, level, pos; pos 428 libavcodec/imc.c pos = q->coef0_pos; pos 429 libavcodec/imc.c flcoeffs1[pos] = 20000.0 / pow (2, levlCoeffBuf[0] * 0.18945); // 0.18945 = log2(10) * 0.05703125 pos 430 libavcodec/imc.c flcoeffs2[pos] = log2f(flcoeffs1[pos]); pos 431 libavcodec/imc.c tmp = flcoeffs1[pos]; pos 432 libavcodec/imc.c tmp2 = flcoeffs2[pos]; pos 436 libavcodec/imc.c if (i == pos) pos 103 libavcodec/interplayacm.c unsigned pos = ((r) << s->level) + (c); \ pos 104 libavcodec/interplayacm.c s->block[pos] = s->midbuf[(idx)]; \ pos 572 libavcodec/intrax8.c int pos, n; pos 615 libavcodec/intrax8.c pos = 0; pos 625 libavcodec/intrax8.c pos += run + 1; pos 626 libavcodec/intrax8.c if (pos > 63) { pos 637 libavcodec/intrax8.c level = (level * quant_table[pos]) >> 8; pos 639 libavcodec/intrax8.c w->block[0][scantable[pos]] = level; pos 642 libavcodec/intrax8.c w->block_last_index[0] = pos; pos 214 libavcodec/ituh263dec.c int left, pos, ret; pos 237 libavcodec/ituh263dec.c pos= get_bits_count(&s->gb); pos 243 libavcodec/ituh263dec.c return pos; pos 254 libavcodec/ituh263dec.c pos= get_bits_count(&s->gb); pos 260 libavcodec/ituh263dec.c return pos; pos 146 libavcodec/ivi.c int pos, i, j, codes_per_row, prefix, not_last_row; pos 150 libavcodec/ivi.c pos = 0; /* current position = 0 */ pos 158 libavcodec/ivi.c if (pos >= 256) /* Some Indeo5 codebooks can have more than 256 */ pos 161 libavcodec/ivi.c bits[pos] = i + cb->xbits[i] + not_last_row; pos 162 libavcodec/ivi.c if (bits[pos] > IVI_VLC_BITS) pos 165 libavcodec/ivi.c codewords[pos] = inv_bits((prefix | j), bits[pos]); pos 166 libavcodec/ivi.c if (!bits[pos]) pos 167 libavcodec/ivi.c bits[pos] = 1; pos 169 libavcodec/ivi.c pos++; pos 174 libavcodec/ivi.c return init_vlc(vlc, IVI_VLC_BITS, pos, bits, 1, 1, codewords, 2, 2, pos 510 libavcodec/ivi.c int pos, run, val; pos 557 libavcodec/ivi.c pos = band->scan[scan_pos]; pos 562 libavcodec/ivi.c q = (base_tab[pos] * quant) >> 9; pos 565 libavcodec/ivi.c trvec[pos] = val; pos 567 libavcodec/ivi.c col_flags[pos & col_mask] |= !!val; pos 955 libavcodec/ivi.c int result, i, t, idx1, idx2, pos; pos 1002 libavcodec/ivi.c pos = get_bits_count(&ctx->gb); pos 1038 libavcodec/ivi.c if (((get_bits_count(&ctx->gb) - pos) >> 3) != tile->data_size) { pos 1045 libavcodec/ivi.c pos += tile->data_size << 3; // skip to next tile pos 744 libavcodec/j2kenc.c int yi, xi, pos; pos 751 libavcodec/j2kenc.c for (pos=0, yi = 0; yi < prec->nb_codeblocks_height; yi++){ pos 752 libavcodec/j2kenc.c for (xi = 0; xi < cblknw; xi++, pos++){ pos 753 libavcodec/j2kenc.c prec->cblkincl[pos].val = prec->cblk[yi * cblknw + xi].ninclpasses == 0; pos 754 libavcodec/j2kenc.c tag_tree_update(prec->cblkincl + pos); pos 755 libavcodec/j2kenc.c prec->zerobits[pos].val = expn[bandno] + numgbits - 1 - prec->cblk[yi * cblknw + xi].nonzerobits; pos 756 libavcodec/j2kenc.c tag_tree_update(prec->zerobits + pos); pos 760 libavcodec/j2kenc.c for (pos=0, yi = 0; yi < prec->nb_codeblocks_height; yi++){ pos 761 libavcodec/j2kenc.c for (xi = 0; xi < cblknw; xi++, pos++){ pos 769 libavcodec/j2kenc.c tag_tree_code(s, prec->cblkincl + pos, 1); pos 773 libavcodec/j2kenc.c tag_tree_code(s, prec->zerobits + pos, 100); pos 200 libavcodec/libdav1d.c data->m.offset = pkt.pos; pos 100 libavcodec/libopenjpegdec.c int pos; pos 110 libavcodec/libopenjpegdec.c if (reader->pos == reader->size) { pos 113 libavcodec/libopenjpegdec.c remaining = reader->size - reader->pos; pos 117 libavcodec/libopenjpegdec.c memcpy(out_buffer, reader->buffer + reader->pos, nb_bytes); pos 118 libavcodec/libopenjpegdec.c reader->pos += (int)nb_bytes; pos 126 libavcodec/libopenjpegdec.c if (reader->pos == 0) { pos 129 libavcodec/libopenjpegdec.c if (nb_bytes + reader->pos < 0) { pos 130 libavcodec/libopenjpegdec.c nb_bytes = -reader->pos; pos 135 libavcodec/libopenjpegdec.c if (reader->pos == reader->size) { pos 138 libavcodec/libopenjpegdec.c remaining = reader->size - reader->pos; pos 143 libavcodec/libopenjpegdec.c reader->pos += (int)nb_bytes; pos 153 libavcodec/libopenjpegdec.c reader->pos = (int)nb_bytes; pos 65 libavcodec/libopenjpegenc.c int pos; pos 73 libavcodec/libopenjpegenc.c int remaining = packet->size - writer->pos; pos 84 libavcodec/libopenjpegenc.c memcpy(packet->data + writer->pos, out_buffer, nb_bytes); pos 85 libavcodec/libopenjpegenc.c writer->pos += (int)nb_bytes; pos 94 libavcodec/libopenjpegenc.c if (writer->pos == 0) { pos 97 libavcodec/libopenjpegenc.c if (nb_bytes + writer->pos < 0) { pos 98 libavcodec/libopenjpegenc.c nb_bytes = -writer->pos; pos 101 libavcodec/libopenjpegenc.c int remaining = packet->size - writer->pos; pos 113 libavcodec/libopenjpegenc.c writer->pos += (int)nb_bytes; pos 130 libavcodec/libopenjpegenc.c writer->pos = (int)nb_bytes; pos 710 libavcodec/libopenjpegenc.c av_shrink_packet(pkt, writer.pos); pos 429 libavcodec/magicyuvenc.c int pos, slice, i, j, ret = 0; pos 530 libavcodec/magicyuvenc.c pos = bytestream2_tell_p(&pb); pos 536 libavcodec/magicyuvenc.c bytestream2_seek_p(&pb, pos, SEEK_SET); pos 488 libavcodec/mf_utils.c size_t pos = 0; pos 492 libavcodec/mf_utils.c for (pos = 0; pos < sz; pos++) { pos 494 libavcodec/mf_utils.c if (pos * 3 + 3 > sizeof(str)) pos 496 libavcodec/mf_utils.c str[pos * 3 + 0] = hex[buffer[pos] >> 4]; pos 497 libavcodec/mf_utils.c str[pos * 3 + 1] = hex[buffer[pos] & 15]; pos 498 libavcodec/mf_utils.c str[pos * 3 + 2] = ' '; pos 500 libavcodec/mf_utils.c str[pos * 3 + 0] = 0; pos 231 libavcodec/mimic.c unsigned int pos; pos 237 libavcodec/mimic.c for (pos = 1; pos < num_coeffs; pos++) { pos 249 libavcodec/mimic.c pos += vlc & 15; // pos_add pos 252 libavcodec/mimic.c if (pos >= 64) pos 261 libavcodec/mimic.c if (pos < 3) pos 266 libavcodec/mimic.c block[ctx->scantable.permutated[pos]] = coeff; pos 1045 libavcodec/mjpegdec.c int pos = get_bits_count(&s->gb); pos 1054 libavcodec/mjpegdec.c skip_bits_long(&s->gb, pos - get_bits_count(&s->gb)); pos 245 libavcodec/mlpdec.c unsigned int substr, unsigned int pos) pos 252 libavcodec/mlpdec.c m->bypassed_lsbs[pos + s->blockpos][mat] = get_bits1(gbp); pos 274 libavcodec/mlpdec.c m->sample_buffer[pos + s->blockpos][channel] = result; pos 36 libavcodec/mpeg4_unpack_bframes_bsf.c const uint8_t *end = buf + buf_size, *pos = buf; pos 38 libavcodec/mpeg4_unpack_bframes_bsf.c while (pos < end) { pos 40 libavcodec/mpeg4_unpack_bframes_bsf.c pos = avpriv_find_start_code(pos, end, &startcode); pos 44 libavcodec/mpeg4_unpack_bframes_bsf.c for (int i = 0; i < 255 && pos + i + 1 < end; i++) { pos 45 libavcodec/mpeg4_unpack_bframes_bsf.c if (pos[i] == 'p' && pos[i + 1] == '\0') { pos 46 libavcodec/mpeg4_unpack_bframes_bsf.c *pos_p = pos + i - buf; pos 53 libavcodec/mpeg4_unpack_bframes_bsf.c *pos_vop2 = pos - buf - 4; /* subtract 4 bytes startcode */ pos 2400 libavcodec/mpeg4videodec.c int pos = get_bits_count(gb); pos 2418 libavcodec/mpeg4videodec.c skip_bits_long(gb, pos - get_bits_count(gb)); pos 2436 libavcodec/mpeg4videodec.c skip_bits_long(gb, pos - get_bits_count(gb)); pos 822 libavcodec/mpegaudiodec_template.c static void switch_buffer(MPADecodeContext *s, int *pos, int *end_pos, pos 825 libavcodec/mpegaudiodec_template.c if (s->in_gb.buffer && *pos >= s->gb.size_in_bits - s->extrasize * 8) { pos 830 libavcodec/mpegaudiodec_template.c skip_bits_long(&s->gb, *pos - *end_pos); pos 832 libavcodec/mpegaudiodec_template.c *end_pos = *end_pos2 + get_bits_count(&s->gb) - *pos; pos 833 libavcodec/mpegaudiodec_template.c *pos = get_bits_count(&s->gb); pos 885 libavcodec/mpegaudiodec_template.c int pos = get_bits_count(&s->gb); pos 887 libavcodec/mpegaudiodec_template.c if (pos >= end_pos){ pos 888 libavcodec/mpegaudiodec_template.c switch_buffer(s, &pos, &end_pos, &end_pos2); pos 889 libavcodec/mpegaudiodec_template.c if (pos >= end_pos) pos 949 libavcodec/mpegaudiodec_template.c int pos, code; pos 950 libavcodec/mpegaudiodec_template.c pos = get_bits_count(&s->gb); pos 951 libavcodec/mpegaudiodec_template.c if (pos >= end_pos) { pos 952 libavcodec/mpegaudiodec_template.c if (pos > end_pos2 && last_pos) { pos 956 libavcodec/mpegaudiodec_template.c skip_bits_long(&s->gb, last_pos - pos); pos 957 libavcodec/mpegaudiodec_template.c av_log(s->avctx, AV_LOG_INFO, "overread, skip %d enddists: %d %d\n", last_pos - pos, end_pos-pos, end_pos2-pos); pos 962 libavcodec/mpegaudiodec_template.c switch_buffer(s, &pos, &end_pos, &end_pos2); pos 963 libavcodec/mpegaudiodec_template.c if (pos >= end_pos) pos 966 libavcodec/mpegaudiodec_template.c last_pos = pos; pos 977 libavcodec/mpegaudiodec_template.c int pos = s_index + idxtab[code]; pos 979 libavcodec/mpegaudiodec_template.c READ_FLIP_SIGN(g->sb_hybrid + pos, RENAME(exp_table)+exponents[pos]) pos 133 libavcodec/msrledec.c int p1, p2, line=avctx->height - 1, pos=0, i; pos 158 libavcodec/msrledec.c pos = 0; pos 166 libavcodec/msrledec.c pos += p1; pos 167 libavcodec/msrledec.c if (line < 0 || pos >= width){ pos 171 libavcodec/msrledec.c output = pic->data[0] + line * pic->linesize[0] + pos * (depth >> 3); pos 203 libavcodec/msrledec.c pos += p2; pos 240 libavcodec/msrledec.c pos += p1; pos 506 libavcodec/mss3.c int skip, val, sign, pos = 1, zz_pos, dc; pos 533 libavcodec/mss3.c while (pos < 64) { pos 538 libavcodec/mss3.c pos += 16; pos 545 libavcodec/mss3.c pos += skip; pos 546 libavcodec/mss3.c if (pos >= 64) pos 557 libavcodec/mss3.c zz_pos = ff_zigzag_direct[pos]; pos 559 libavcodec/mss3.c pos++; pos 562 libavcodec/mss3.c return pos == 64 ? 0 : -1; pos 230 libavcodec/mss4.c int skip, val, pos = 1, zz_pos, dc; pos 257 libavcodec/mss4.c while (pos < 64) { pos 264 libavcodec/mss4.c pos += 16; pos 269 libavcodec/mss4.c pos += skip; pos 270 libavcodec/mss4.c if (pos >= 64) pos 273 libavcodec/mss4.c zz_pos = ff_zigzag_direct[pos]; pos 275 libavcodec/mss4.c pos++; pos 278 libavcodec/mss4.c return pos == 64 ? 0 : -1; pos 59 libavcodec/mvha.c uint32_t pfx, int pl, int *pos) pos 65 libavcodec/mvha.c bits[*pos] = (~pfx) & ((1ULL << FFMAX(pl, 1)) - 1); pos 66 libavcodec/mvha.c lens[*pos] = FFMAX(pl, 1); pos 67 libavcodec/mvha.c xlat[*pos] = s + (pl == 0); pos 68 libavcodec/mvha.c (*pos)++; pos 73 libavcodec/mvha.c pos); pos 76 libavcodec/mvha.c pos); pos 87 libavcodec/mvha.c int cur_node, i, j, pos = 0; pos 144 libavcodec/mvha.c get_tree_codes(bits, lens, xlat, nodes, cur_node - 1, 0, 0, &pos); pos 146 libavcodec/mvha.c return ff_init_vlc_sparse(vlc, 12, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); pos 61 libavcodec/mwsc.c int pos = bytestream2_tell_p(pb); pos 63 libavcodec/mwsc.c bytestream2_seek(gbp, pos, SEEK_SET); pos 80 libavcodec/notchlc.c unsigned reference_pos, match_length, delta, pos = 0; pos 95 libavcodec/notchlc.c if (pos + num_literals < HISTORY_SIZE) { pos 96 libavcodec/notchlc.c bytestream2_get_buffer(gb, history + pos, num_literals); pos 97 libavcodec/notchlc.c pos += num_literals; pos 100 libavcodec/notchlc.c history[pos++] = bytestream2_get_byte(gb); pos 101 libavcodec/notchlc.c if (pos == HISTORY_SIZE) { pos 103 libavcodec/notchlc.c pos = 0; pos 124 libavcodec/notchlc.c reference_pos = (pos >= delta) ? (pos - delta) : (HISTORY_SIZE + pos - delta); pos 125 libavcodec/notchlc.c if (pos + match_length < HISTORY_SIZE && reference_pos + match_length < HISTORY_SIZE) { pos 126 libavcodec/notchlc.c if (pos >= reference_pos + match_length || reference_pos >= pos + match_length) { pos 127 libavcodec/notchlc.c memcpy(history + pos, history + reference_pos, match_length); pos 128 libavcodec/notchlc.c pos += match_length; pos 131 libavcodec/notchlc.c history[pos++] = history[reference_pos++]; pos 135 libavcodec/notchlc.c history[pos++] = history[reference_pos++]; pos 136 libavcodec/notchlc.c if (pos == HISTORY_SIZE) { pos 138 libavcodec/notchlc.c pos = 0; pos 145 libavcodec/notchlc.c bytestream2_put_buffer(pb, history, pos); pos 47 libavcodec/nvdec_hevc.c int i, j, pos; pos 51 libavcodec/nvdec_hevc.c pos = 4 * ff_hevc_diag_scan4x4_y[j] + ff_hevc_diag_scan4x4_x[j]; pos 52 libavcodec/nvdec_hevc.c ppc->ScalingList4x4[i][j] = sl->sl[0][i][pos]; pos 56 libavcodec/nvdec_hevc.c pos = 8 * ff_hevc_diag_scan8x8_y[j] + ff_hevc_diag_scan8x8_x[j]; pos 57 libavcodec/nvdec_hevc.c ppc->ScalingList8x8[i][j] = sl->sl[1][i][pos]; pos 58 libavcodec/nvdec_hevc.c ppc->ScalingList16x16[i][j] = sl->sl[2][i][pos]; pos 61 libavcodec/nvdec_hevc.c ppc->ScalingList32x32[i][j] = sl->sl[3][i * 3][pos]; pos 362 libavcodec/on2avc.c int pos = (src2_len - 1) & mask; pos 364 libavcodec/on2avc.c if (pos < tab_len) { pos 366 libavcodec/on2avc.c for (j = pos; j >= 0; j--) pos 368 libavcodec/on2avc.c for (j = 0; j < tab_len - pos - 1; j++) pos 369 libavcodec/on2avc.c src2[src2_len - j - 1] += in0 * tab[pos + 1 + j]; pos 372 libavcodec/on2avc.c src2[pos - j] += in0 * tab[j]; pos 374 libavcodec/on2avc.c mask = pos + step; pos 317 libavcodec/opus_rc.c int i = 1, val = FFABS(*value), pos = *value > 0; pos 328 libavcodec/opus_rc.c low += (++symbol)*pos; pos 330 libavcodec/opus_rc.c const int distance = FFMIN(val - i, (((32768 - low) - !pos) >> 1) - 1); pos 331 libavcodec/opus_rc.c low += pos + (distance << 1); pos 375 libavcodec/packet.h int64_t pos; ///< byte position in stream, -1 if unknown pos 96 libavcodec/parser.c s->pos = -1; pos 109 libavcodec/parser.c s->pos = s->cur_frame_pos[i]; pos 123 libavcodec/parser.c int64_t pts, int64_t dts, int64_t pos) pos 139 libavcodec/parser.c s->cur_offset = pos; pos 155 libavcodec/parser.c s->cur_frame_pos[i] = pos; pos 162 libavcodec/parser.c s->last_pos = s->pos; pos 477 libavcodec/proresdec2.c unsigned pos, run, level; pos 489 libavcodec/proresdec2.c for (pos = block_mask;;) { pos 495 libavcodec/proresdec2.c pos += run + 1; pos 496 libavcodec/proresdec2.c if (pos >= max_coeffs) { pos 497 libavcodec/proresdec2.c av_log(avctx, AV_LOG_ERROR, "ac tex damaged %d, %d\n", pos, max_coeffs); pos 504 libavcodec/proresdec2.c i = pos >> log2_block_count; pos 508 libavcodec/proresdec2.c out[((pos & block_mask) << 6) + ctx->scan[i]] = ((level ^ sign) - sign); pos 50 libavcodec/prosumer.c int pos, idx, cnt, fill; pos 88 libavcodec/prosumer.c pos = bytestream2_tell(gb); pos 89 libavcodec/prosumer.c bytestream2_seek(gb, pos ^ 2, SEEK_SET); pos 91 libavcodec/prosumer.c bytestream2_seek(gb, pos + 2, SEEK_SET); pos 119 libavcodec/prosumer.c pos = bytestream2_tell(gb); pos 120 libavcodec/prosumer.c bytestream2_seek(gb, pos ^ 2, SEEK_SET); pos 122 libavcodec/prosumer.c bytestream2_seek(gb, pos + 2, SEEK_SET); pos 595 libavcodec/qdmc.c int j, group_bits, pos, pindex; pos 602 libavcodec/qdmc.c pos = freqs >> (4 - group); pos 604 libavcodec/qdmc.c imptr = &s->fft_buffer[ stereo_mode][s->fft_offset + s->subframe_size * offset + pos]; pos 605 libavcodec/qdmc.c reptr = &s->fft_buffer[2 + stereo_mode][s->fft_offset + s->subframe_size * offset + pos]; pos 619 libavcodec/qdmc.c imptr = &s->fft_buffer[0 + stereo_mode][pos]; pos 620 libavcodec/qdmc.c reptr = &s->fft_buffer[2 + stereo_mode][pos]; pos 628 libavcodec/qdmc.c int pos; pos 636 libavcodec/qdmc.c pos = s->fft_offset + freqs + s->subframe_size * offset; pos 637 libavcodec/qdmc.c s->fft_buffer[ stereo_mode][pos ] += im; pos 638 libavcodec/qdmc.c s->fft_buffer[2 + stereo_mode][pos ] += re; pos 639 libavcodec/qdmc.c s->fft_buffer[ stereo_mode][pos + 1] -= im; pos 640 libavcodec/qdmc.c s->fft_buffer[2 + stereo_mode][pos + 1] -= re; pos 83 libavcodec/qdrw.c int pos = 0; pos 99 libavcodec/qdrw.c if (pos < offset) pos 100 libavcodec/qdrw.c out[pos++] = (pix & 0xC0) >> 6; pos 101 libavcodec/qdrw.c if (pos < offset) pos 102 libavcodec/qdrw.c out[pos++] = (pix & 0x30) >> 4; pos 103 libavcodec/qdrw.c if (pos < offset) pos 104 libavcodec/qdrw.c out[pos++] = (pix & 0x0C) >> 2; pos 105 libavcodec/qdrw.c if (pos < offset) pos 106 libavcodec/qdrw.c out[pos++] = (pix & 0x03); pos 112 libavcodec/qdrw.c if (pos < offset) pos 113 libavcodec/qdrw.c out[pos++] = (pix & 0xC0) >> 6; pos 114 libavcodec/qdrw.c if (pos < offset) pos 115 libavcodec/qdrw.c out[pos++] = (pix & 0x30) >> 4; pos 116 libavcodec/qdrw.c if (pos < offset) pos 117 libavcodec/qdrw.c out[pos++] = (pix & 0x0C) >> 2; pos 118 libavcodec/qdrw.c if (pos < offset) pos 119 libavcodec/qdrw.c out[pos++] = (pix & 0x03); pos 138 libavcodec/qdrw.c int pos = 0; pos 151 libavcodec/qdrw.c if (pos < offset) pos 152 libavcodec/qdrw.c out[pos++] = (pix & 0xF0) >> 4; pos 153 libavcodec/qdrw.c if (pos < offset) pos 154 libavcodec/qdrw.c out[pos++] = pix & 0xF; pos 160 libavcodec/qdrw.c if (pos < offset) pos 161 libavcodec/qdrw.c out[pos++] = (pix & 0xF0) >> 4; pos 162 libavcodec/qdrw.c if (pos < offset) pos 163 libavcodec/qdrw.c out[pos++] = pix & 0xF; pos 182 libavcodec/qdrw.c int pos = 0; pos 195 libavcodec/qdrw.c if (pos < offset) { pos 196 libavcodec/qdrw.c out[pos++] = pix; pos 202 libavcodec/qdrw.c if (pos < offset) { pos 203 libavcodec/qdrw.c out[pos++] = bytestream2_get_be16(gbc); pos 226 libavcodec/qdrw.c int pos = 0; pos 239 libavcodec/qdrw.c if (pos < offset) pos 240 libavcodec/qdrw.c out[pos] = pix; pos 241 libavcodec/qdrw.c pos += step; pos 242 libavcodec/qdrw.c if (pos >= offset && step > 1) { pos 243 libavcodec/qdrw.c pos -= offset; pos 244 libavcodec/qdrw.c pos++; pos 251 libavcodec/qdrw.c if (pos < offset) pos 252 libavcodec/qdrw.c out[pos] = pix; pos 253 libavcodec/qdrw.c pos += step; pos 254 libavcodec/qdrw.c if (pos >= offset && step > 1) { pos 255 libavcodec/qdrw.c pos -= offset; pos 256 libavcodec/qdrw.c pos++; pos 210 libavcodec/rasc.c unsigned pos, compression, nb_moves; pos 214 libavcodec/rasc.c pos = bytestream2_tell(gb); pos 227 libavcodec/rasc.c size - (bytestream2_tell(gb) - pos), pos 314 libavcodec/rasc.c bytestream2_skip(gb, size - (bytestream2_tell(gb) - pos)); pos 334 libavcodec/rasc.c unsigned uncompressed_size, pos; pos 339 libavcodec/rasc.c pos = bytestream2_tell(gb); pos 465 libavcodec/rasc.c bytestream2_skip(gb, size - (bytestream2_tell(gb) - pos)); pos 476 libavcodec/rasc.c unsigned pos; pos 479 libavcodec/rasc.c pos = bytestream2_tell(gb); pos 528 libavcodec/rasc.c bytestream2_skip(gb, size - (bytestream2_tell(gb) - pos)); pos 538 libavcodec/rasc.c unsigned w, h, pos, uncompressed_size; pos 541 libavcodec/rasc.c pos = bytestream2_tell(gb); pos 559 libavcodec/rasc.c size - (bytestream2_tell(gb) - pos), pos 565 libavcodec/rasc.c bytestream2_skip(gb, size - (bytestream2_tell(gb) - pos)); pos 578 libavcodec/rasc.c unsigned pos; pos 580 libavcodec/rasc.c pos = bytestream2_tell(gb); pos 585 libavcodec/rasc.c bytestream2_skip(gb, size - (bytestream2_tell(gb) - pos)); pos 242 libavcodec/rawdec.c frame->pkt_pos = avctx->internal->last_pkt_props->pos; pos 29 libavcodec/rle.c const uint8_t *pos; pos 32 libavcodec/rle.c for (pos = start + bpp; count < FFMIN(127, len); pos += bpp, count++) { pos 33 libavcodec/rle.c if (same != !memcmp(pos - bpp, pos, bpp)) { pos 38 libavcodec/rle.c if (bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos + 1)) pos 401 libavcodec/rv40.c int pos = mb_pos + neighbour_offs_x[i] + neighbour_offs_y[i]*s->mb_stride; pos 402 libavcodec/rv40.c mvmasks[i] = r->deblock_coefs[pos]; pos 403 libavcodec/rv40.c mbtype [i] = s->current_picture_ptr->mb_type[pos]; pos 404 libavcodec/rv40.c cbp [i] = r->cbp_luma[pos]; pos 405 libavcodec/rv40.c uvcbp[i][0] = r->cbp_chroma[pos] & 0xF; pos 406 libavcodec/rv40.c uvcbp[i][1] = r->cbp_chroma[pos] >> 4; pos 366 libavcodec/sanm.c int pos, int npoints) pos 369 libavcodec/sanm.c points[0] = (x0 * pos + x1 * (npoints - pos) + (npoints >> 1)) / npoints; pos 370 libavcodec/sanm.c points[1] = (y0 * pos + y1 * (npoints - pos) + (npoints >> 1)) / npoints; pos 561 libavcodec/sanm.c int i, j, len, flag, code, val, pos, end; pos 564 libavcodec/sanm.c pos = 0; pos 579 libavcodec/sanm.c if (pos + code > width) pos 584 libavcodec/sanm.c memset(dst + pos, val, code); pos 585 libavcodec/sanm.c pos += code; pos 592 libavcodec/sanm.c dst[pos] = val; pos 593 libavcodec/sanm.c pos++; pos 607 libavcodec/sanm.c int pos, i, j; pos 609 libavcodec/sanm.c pos = x + y * stride; pos 612 libavcodec/sanm.c if ((pos + i) < 0 || (pos + i) >= height * stride) pos 619 libavcodec/sanm.c pos += stride; pos 1403 libavcodec/sanm.c int pos; pos 1407 libavcodec/sanm.c pos = bytestream2_tell(&ctx->gb); pos 1472 libavcodec/sanm.c bytestream2_seek(&ctx->gb, pos + size, SEEK_SET); pos 135 libavcodec/snappy.c int pos = bytestream2_get_bytes_left(gb); pos 138 libavcodec/snappy.c bytestream2_seek(gb, -pos, SEEK_END); pos 258 libavcodec/sonic.c int step = 256, pos = 0, dominant = 0, any = 0; pos 302 libavcodec/sonic.c while (pos < x) pos 306 libavcodec/sonic.c if (pos + steplet > x) pos 307 libavcodec/sonic.c steplet = x - pos; pos 310 libavcodec/sonic.c if (bits[i+pos] != dominant) pos 317 libavcodec/sonic.c pos += steplet; pos 324 libavcodec/sonic.c while (((pos + interloper) < x) && (bits[pos + interloper] == dominant)) pos 330 libavcodec/sonic.c pos += interloper + 1; pos 356 libavcodec/sonic.c int pos = 0, level = 0; pos 419 libavcodec/sonic.c if (pos >= entries) pos 421 libavcodec/sonic.c pos = 0; pos 425 libavcodec/sonic.c if (buf[pos] >= level) pos 428 libavcodec/sonic.c pos++; pos 432 libavcodec/sonic.c buf[pos] += 1 << low_bits; pos 436 libavcodec/sonic.c pos++; pos 76 libavcodec/tests/avpacket.c avpkt->pos = 3; pos 151 libavcodec/tiertexseqv.c int pos, offset; pos 156 libavcodec/tiertexseqv.c pos = *src++; pos 157 libavcodec/tiertexseqv.c offset = ((pos >> 3) & 7) * seq->frame->linesize[0] + (pos & 7); pos 159 libavcodec/tiertexseqv.c } while (!(pos & 0x80)); pos 1247 libavcodec/tiff.c int pos; pos 1644 libavcodec/tiff.c pos = bytestream2_tell(&s->gb); pos 1653 libavcodec/tiff.c bytestream2_seek(&s->gb, pos + s->geotags[i].offset, SEEK_SET); pos 299 libavcodec/truemotion2.c int len, toks, pos; pos 328 libavcodec/truemotion2.c pos = bytestream2_tell(&gb); pos 329 libavcodec/truemotion2.c if (skip <= pos) pos 331 libavcodec/truemotion2.c init_get_bits(&ctx->gb, buf + pos, (skip - pos) * 8); pos 345 libavcodec/truemotion2.c pos = bytestream2_tell(&gb); pos 346 libavcodec/truemotion2.c if (skip <= pos) pos 348 libavcodec/truemotion2.c init_get_bits(&ctx->gb, buf + pos, (skip - pos) * 8); pos 368 libavcodec/truemotion2.c pos = bytestream2_tell(&gb); pos 369 libavcodec/truemotion2.c if (skip <= pos) { pos 373 libavcodec/truemotion2.c init_get_bits(&ctx->gb, buf + pos, (skip - pos) * 8); pos 226 libavcodec/tscc2.c int i, val, len, pos = 0; pos 278 libavcodec/tscc2.c if (pos + len > num_mb) { pos 282 libavcodec/tscc2.c memset(c->slice_quants + pos, val, len); pos 283 libavcodec/tscc2.c pos += len; pos 285 libavcodec/tscc2.c if (pos < num_mb) { pos 287 libavcodec/tscc2.c pos, num_mb); pos 176 libavcodec/twinvq.c int pos = 0; pos 207 libavcodec/twinvq.c out[tctx->permut[ftype][pos + j]] = sign0 * tab0[j] + pos 210 libavcodec/twinvq.c pos += length; pos 353 libavcodec/utils.c int avcodec_enum_to_chroma_pos(int *xpos, int *ypos, enum AVChromaLocation pos) pos 355 libavcodec/utils.c if (pos <= AVCHROMA_LOC_UNSPECIFIED || pos >= AVCHROMA_LOC_NB) pos 357 libavcodec/utils.c pos--; pos 359 libavcodec/utils.c *xpos = (pos&1) * 128; pos 360 libavcodec/utils.c *ypos = ((pos>>1)^(pos<4)) * 128; pos 367 libavcodec/utils.c int pos, xout, yout; pos 369 libavcodec/utils.c for (pos = AVCHROMA_LOC_UNSPECIFIED + 1; pos < AVCHROMA_LOC_NB; pos++) { pos 370 libavcodec/utils.c if (avcodec_enum_to_chroma_pos(&xout, &yout, pos) == 0 && xout == xpos && yout == ypos) pos 371 libavcodec/utils.c return pos; pos 76 libavcodec/vdpau_hevc.c uint8_t pos = 4 * ff_hevc_diag_scan4x4_y[j] + ff_hevc_diag_scan4x4_x[j]; pos 77 libavcodec/vdpau_hevc.c info->ScalingList4x4[i][j] = sl->sl[0][i][pos]; pos 80 libavcodec/vdpau_hevc.c uint8_t pos = 8 * ff_hevc_diag_scan8x8_y[j] + ff_hevc_diag_scan8x8_x[j]; pos 83 libavcodec/vdpau_hevc.c info->ScalingList8x8[i][j] = sl->sl[1][i][pos]; pos 86 libavcodec/vdpau_hevc.c info->ScalingList16x16[i][j] = sl->sl[2][i][pos]; pos 90 libavcodec/vdpau_hevc.c info->ScalingList32x32[i][j] = sl->sl[3][i * 3][pos]; pos 204 libavcodec/vorbis.c int pos = list[i].sort; pos 205 libavcodec/vorbis.c if (flag[pos]) { pos 206 libavcodec/vorbis.c int x1 = list[pos].x; pos 207 libavcodec/vorbis.c int y1 = y_list[pos] * multiplier; pos 48 libavcodec/vp56.c int pos, offset; pos 51 libavcodec/vp56.c for (pos=0; pos<12; pos++) { pos 52 libavcodec/vp56.c mvp.x = col + ff_vp56_candidate_predictor_pos[pos][0]; pos 53 libavcodec/vp56.c mvp.y = row + ff_vp56_candidate_predictor_pos[pos][1]; pos 72 libavcodec/vp56.c s->vector_candidate_pos = pos; pos 190 libavcodec/vp6.c int i, pos, idx = 1; pos 194 libavcodec/vp6.c for (pos=1; pos<64; pos++) pos 195 libavcodec/vp6.c if (s->modelp->coeff_reorder[pos] == i) pos 196 libavcodec/vp6.c s->modelp->coeff_index_to_pos[idx++] = pos; pos 287 libavcodec/vp6.c int node, cg, ctx, pos; pos 303 libavcodec/vp6.c for (pos=1; pos<64; pos++) pos 304 libavcodec/vp6.c if (vp56_rac_get_prob_branchy(c, vp6_coeff_reorder_pct[pos])) pos 305 libavcodec/vp6.c model->coeff_reorder[pos] = vp56_rac_gets(c, 4); pos 2342 libavcodec/vp8.c int pos = (mb_y << 16) | (mb_x & 0xFFFF); \ pos 2347 libavcodec/vp8.c (next_td != td && pos >= atomic_load(&next_td->wait_mb_pos)) || \ pos 2348 libavcodec/vp8.c (prev_td != td && pos >= atomic_load(&prev_td->wait_mb_pos)); \ pos 2349 libavcodec/vp8.c atomic_store(&td->thread_mb_pos, pos); \ pos 779 libavcodec/wavpack.c int pos = 0; pos 812 libavcodec/wavpack.c A = s->decorr[i].samplesA[pos]; pos 813 libavcodec/wavpack.c B = s->decorr[i].samplesB[pos]; pos 814 libavcodec/wavpack.c j = (pos + t) & 7; pos 873 libavcodec/wavpack.c pos = (pos + 1) & 7; pos 910 libavcodec/wavpack.c int pos = 0; pos 933 libavcodec/wavpack.c A = s->decorr[i].samplesA[pos]; pos 934 libavcodec/wavpack.c j = (pos + t) & 7; pos 944 libavcodec/wavpack.c pos = (pos + 1) & 7; pos 198 libavcodec/wma.c int a, b, pos, lpos, k, block_len, i, j, n; pos 213 libavcodec/wma.c pos = ((block_len * 2 * a) + (b >> 1)) / b; pos 214 libavcodec/wma.c if (pos > block_len) pos 215 libavcodec/wma.c pos = block_len; pos 216 libavcodec/wma.c s->exponent_bands[0][i] = pos - lpos; pos 217 libavcodec/wma.c if (pos >= block_len) { pos 221 libavcodec/wma.c lpos = pos; pos 247 libavcodec/wma.c pos = ((block_len * 2 * a) + (b << 1)) / (4 * b); pos 248 libavcodec/wma.c pos <<= 2; pos 249 libavcodec/wma.c if (pos > block_len) pos 250 libavcodec/wma.c pos = block_len; pos 251 libavcodec/wma.c if (pos > lpos) pos 252 libavcodec/wma.c s->exponent_bands[k][j++] = pos - lpos; pos 253 libavcodec/wma.c if (pos >= block_len) pos 255 libavcodec/wma.c lpos = pos; pos 268 libavcodec/wma.c pos = 0; pos 271 libavcodec/wma.c start = pos; pos 272 libavcodec/wma.c pos += s->exponent_bands[k][i]; pos 273 libavcodec/wma.c end = pos; pos 820 libavcodec/wmadec.c int nb_frames, bit_offset, i, pos, len, ret; pos 920 libavcodec/wmadec.c pos = bit_offset + 4 + 4 + s->byte_offset_bits + 3; pos 921 libavcodec/wmadec.c if (pos >= MAX_CODED_SUPERFRAME_SIZE * 8 || pos > buf_size * 8) pos 923 libavcodec/wmadec.c init_get_bits(&s->gb, buf + (pos >> 3), (buf_size - (pos >> 3)) * 8); pos 924 libavcodec/wmadec.c len = pos & 7; pos 936 libavcodec/wmadec.c pos = get_bits_count(&s->gb) + pos 938 libavcodec/wmadec.c s->last_bitoffset = pos & 7; pos 939 libavcodec/wmadec.c pos >>= 3; pos 940 libavcodec/wmadec.c len = buf_size - pos; pos 946 libavcodec/wmadec.c memcpy(s->last_superframe, buf + pos, len); pos 1909 libavcodec/wmavoice.c int size, res, pos; pos 1961 libavcodec/wmavoice.c pos = get_bits_left(gb); pos 1974 libavcodec/wmavoice.c } else if ((s->sframe_cache_size = pos) > 0) { pos 66 libavcodec/ylc.c uint32_t pfx, int pl, int *pos) pos 72 libavcodec/ylc.c bits[*pos] = (~pfx) & ((1ULL << FFMAX(pl, 1)) - 1); pos 73 libavcodec/ylc.c lens[*pos] = FFMAX(pl, 1); pos 74 libavcodec/ylc.c xlat[*pos] = s + (pl == 0); pos 75 libavcodec/ylc.c (*pos)++; pos 80 libavcodec/ylc.c pos); pos 83 libavcodec/ylc.c pos); pos 93 libavcodec/ylc.c int cur_node, i, j, pos = 0; pos 150 libavcodec/ylc.c get_tree_codes(bits, lens, xlat, nodes, cur_node - 1, 0, 0, &pos); pos 152 libavcodec/ylc.c return ff_init_vlc_sparse(vlc, 10, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); pos 209 libavdevice/dshow_capture.h int pos; pos 231 libavdevice/dshow_capture.h int pos; pos 37 libavdevice/dshow_enummediatypes.c if (!this->pos && n == 1) { pos 46 libavdevice/dshow_enummediatypes.c this->pos = 1; pos 66 libavdevice/dshow_enummediatypes.c this->pos = 0; pos 79 libavdevice/dshow_enummediatypes.c new->pos = this->pos; pos 37 libavdevice/dshow_enumpins.c if (!this->pos && n == 1) { pos 41 libavdevice/dshow_enumpins.c this->pos = 1; pos 61 libavdevice/dshow_enumpins.c this->pos = 0; pos 74 libavdevice/dshow_enumpins.c new->pos = this->pos; pos 457 libavdevice/gdigrab.c POINT pos; pos 486 libavdevice/gdigrab.c pos.x = ci.ptScreenPos.x - clip_rect.left - info.xHotspot - rect.left; pos 487 libavdevice/gdigrab.c pos.y = ci.ptScreenPos.y - clip_rect.top - info.yHotspot - rect.top; pos 490 libavdevice/gdigrab.c pos.x = pos.x * desktophorzres / horzres; pos 491 libavdevice/gdigrab.c pos.y = pos.y * desktopvertres / vertres; pos 498 libavdevice/gdigrab.c pos.x = ci.ptScreenPos.x * desktophorzres / horzres - clip_rect.left - info.xHotspot; pos 499 libavdevice/gdigrab.c pos.y = ci.ptScreenPos.y * desktopvertres / vertres - clip_rect.top - info.yHotspot; pos 503 libavdevice/gdigrab.c ci.ptScreenPos.x, ci.ptScreenPos.y, pos.x, pos.y); pos 505 libavdevice/gdigrab.c if (pos.x >= 0 && pos.x <= clip_rect.right - clip_rect.left && pos 506 libavdevice/gdigrab.c pos.y >= 0 && pos.y <= clip_rect.bottom - clip_rect.top) { pos 507 libavdevice/gdigrab.c if (!DrawIcon(gdigrab->dest_hdc, pos.x, pos.y, icon)) pos 380 libavdevice/lavfi.c lavfi->subcc_packet.pos = frame->pkt_pos; pos 483 libavdevice/lavfi.c pkt->pos = frame->pkt_pos; pos 55 libavfilter/af_alimiter.c int pos; pos 153 libavfilter/af_alimiter.c buffer[s->pos + c] = sample; pos 171 libavfilter/af_alimiter.c nextpos[0] = s->pos; pos 183 libavfilter/af_alimiter.c pdelta = (limit / peak - limit / ppeak) / (((buffer_size - nextpos[j] + s->pos) % buffer_size) / channels); pos 192 libavfilter/af_alimiter.c nextpos[(s->nextiter + s->nextlen) % buffer_size] = s->pos; pos 200 libavfilter/af_alimiter.c buf = &s->buffer[(s->pos + channels) % buffer_size]; pos 208 libavfilter/af_alimiter.c if (s->pos == s->asc_pos && !s->asc_changed) pos 221 libavfilter/af_alimiter.c if ((s->pos + channels) % buffer_size == nextpos[s->nextiter]) { pos 232 libavfilter/af_alimiter.c ((s->pos + channels) % buffer_size)) % pos 269 libavfilter/af_alimiter.c s->pos = (s->pos + channels) % buffer_size; pos 171 libavfilter/af_aphaser.c int pos = MOD(delay_pos + s->modulation_buffer[modulation_pos], \ pos 178 libavfilter/af_aphaser.c double v = *src * s->in_gain + buffer[pos + c] * s->decay; \ pos 372 libavfilter/af_dynaudnorm.c static inline double fade(double prev, double next, int pos, int length) pos 375 libavfilter/af_dynaudnorm.c const double f0 = 1.0 - (step_size * (pos + 1.0)); pos 64 libavfilter/af_mcompand.c size_t pos; pos 516 libavfilter/af_mcompand.c p->pos = p->pos ? p->pos - 1 : N - 1; pos 517 libavfilter/af_mcompand.c #define _ out_low += p->coefs[j] * p->previous[ch][p->pos + j].in \ pos 518 libavfilter/af_mcompand.c - p->coefs[2*N+2 + j] * p->previous[ch][p->pos + j].out_low, j++; pos 526 libavfilter/af_mcompand.c #define _ out_high += p->coefs[j+N+1] * p->previous[ch][p->pos + j].in \ pos 527 libavfilter/af_mcompand.c - p->coefs[2*N+2 + j] * p->previous[ch][p->pos + j].out_high, j++; pos 534 libavfilter/af_mcompand.c p->previous[ch][p->pos + N].in = p->previous[ch][p->pos].in = *ibuf++; pos 535 libavfilter/af_mcompand.c p->previous[ch][p->pos + N].out_low = p->previous[ch][p->pos].out_low = out_low; pos 536 libavfilter/af_mcompand.c p->previous[ch][p->pos + N].out_high = p->previous[ch][p->pos].out_high = out_high; pos 56 libavfilter/af_stereotools.c int pos; pos 270 libavfilter/af_stereotools.c buffer[s->pos ] = L; pos 271 libavfilter/af_stereotools.c buffer[s->pos+1] = R; pos 274 libavfilter/af_stereotools.c R = buffer[(s->pos - (int)nbuf + 1 + length) % length]; pos 276 libavfilter/af_stereotools.c L = buffer[(s->pos - (int)nbuf + length) % length]; pos 291 libavfilter/af_stereotools.c s->pos = (s->pos + 2) % s->length; pos 349 libavfilter/af_volume.c int64_t pos; pos 399 libavfilter/af_volume.c pos = buf->pkt_pos; pos 400 libavfilter/af_volume.c vol->var_values[VAR_POS] = pos == -1 ? NAN : pos; pos 1588 libavfilter/avfilter.c int64_t pos = frame->pkt_pos; pos 1597 libavfilter/avfilter.c dstctx->var_values[VAR_POS] = pos == -1 ? NAN : pos; pos 224 libavfilter/opencl.c size_t pos, len, rb; pos 236 libavfilter/opencl.c pos = 0; pos 251 libavfilter/opencl.c pos = err; pos 254 libavfilter/opencl.c rb = fread(src + pos, 1, len - pos - 1, file); pos 259 libavfilter/opencl.c pos += rb; pos 260 libavfilter/opencl.c if (pos < len) pos 267 libavfilter/opencl.c src[pos] = 0; pos 37 libavfilter/opencl/unsharp.cl int2 pos = loc + (int2)(x, y) - centre; pos 39 libavfilter/opencl/unsharp.cl read_imagef(src, sampler, pos); pos 58 libavfilter/opencl/unsharp.cl int2 pos = (int2)(get_local_id(0), get_local_id(1)); pos 68 libavfilter/opencl/unsharp.cl tmp[pos.y + 16 * y][pos.x + 16 * x] = pos 69 libavfilter/opencl/unsharp.cl read_imagef(src, sampler, block + pos + (int2)(16 * x - 8, 16 * y - 8)); pos 75 libavfilter/opencl/unsharp.cl float4 val = tmp[pos.y + 8][pos.x + 8]; pos 81 libavfilter/opencl/unsharp.cl horiz[y] += coef_x[x] * tmp[pos.y + y * 16][pos.x + 8 + x - rad_x]; pos 87 libavfilter/opencl/unsharp.cl tmp[pos.y + y * 16][pos.x + 8] = horiz[y]; pos 94 libavfilter/opencl/unsharp.cl sum += coef_y[y] * tmp[pos.y + 8 + y - rad_y][pos.x + 8]; pos 96 libavfilter/opencl/unsharp.cl if (block.x + pos.x < get_image_width(dst) && pos 97 libavfilter/opencl/unsharp.cl block.y + pos.y < get_image_height(dst)) pos 98 libavfilter/opencl/unsharp.cl write_imagef(dst, block + pos, val + (val - sum) * amount); pos 47 libavfilter/vf_avgblur_vulkan.c C(0, void distort(const ivec2 pos, const int idx) ) pos 51 libavfilter/vf_avgblur_vulkan.c C(1, cache[cp] = texture(input_img[idx], pos); ) pos 53 libavfilter/vf_avgblur_vulkan.c C(1, const ivec2 loc_l = pos - INC(FILTER_RADIUS); ) pos 56 libavfilter/vf_avgblur_vulkan.c C(1, const ivec2 loc_h = pos + INC(DIR(gl_WorkGroupSize)); ) pos 66 libavfilter/vf_avgblur_vulkan.c C(1, imageStore(output_img[idx], pos, sum); ) pos 127 libavfilter/vf_avgblur_vulkan.c GLSLC(1, const ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); pos 131 libavfilter/vf_avgblur_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); pos 133 libavfilter/vf_avgblur_vulkan.c GLSLF(2, distort(pos, %i); ,i); pos 135 libavfilter/vf_avgblur_vulkan.c GLSLF(2, vec4 res = texture(input_img[%i], pos); ,i); pos 136 libavfilter/vf_avgblur_vulkan.c GLSLF(2, imageStore(output_img[%i], pos, res); ,i); pos 170 libavfilter/vf_avgblur_vulkan.c GLSLC(1, const ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); pos 174 libavfilter/vf_avgblur_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); pos 176 libavfilter/vf_avgblur_vulkan.c GLSLF(2, distort(pos, %i); ,i); pos 178 libavfilter/vf_avgblur_vulkan.c GLSLF(2, vec4 res = texture(input_img[%i], pos); ,i); pos 179 libavfilter/vf_avgblur_vulkan.c GLSLF(2, imageStore(output_img[%i], pos, res); ,i); pos 119 libavfilter/vf_bm3d.c double (*do_block_ssd)(struct BM3DContext *s, PosCode *pos, pos 198 libavfilter/vf_bm3d.c static int do_search_boundary(int pos, int plane_boundary, int search_range, int search_step) pos 204 libavfilter/vf_bm3d.c if (pos == plane_boundary) { pos 206 libavfilter/vf_bm3d.c } else if (pos > plane_boundary) { pos 207 libavfilter/vf_bm3d.c search_boundary = pos - search_range; pos 213 libavfilter/vf_bm3d.c search_boundary = pos + search_range; pos 235 libavfilter/vf_bm3d.c static double do_block_ssd(BM3DContext *s, PosCode *pos, const uint8_t *src, int src_stride, int r_y, int r_x) pos 237 libavfilter/vf_bm3d.c const uint8_t *srcp = src + pos->y * src_stride + pos->x; pos 256 libavfilter/vf_bm3d.c static double do_block_ssd16(BM3DContext *s, PosCode *pos, const uint8_t *src, int src_stride, int r_y, int r_x) pos 258 libavfilter/vf_bm3d.c const uint16_t *srcp = (uint16_t *)src + pos->y * src_stride / 2 + pos->x; pos 288 libavfilter/vf_bm3d.c PosCode pos = search_pos[i]; pos 291 libavfilter/vf_bm3d.c dist = s->do_block_ssd(s, &pos, src, src_stride, r_y, r_x); pos 305 libavfilter/vf_bm3d.c sc->match_blocks[index].y = pos.y; pos 306 libavfilter/vf_bm3d.c sc->match_blocks[index].x = pos.x; pos 332 libavfilter/vf_bm3d.c PosCode pos; pos 338 libavfilter/vf_bm3d.c pos.y = j; pos 339 libavfilter/vf_bm3d.c pos.x = i; pos 340 libavfilter/vf_bm3d.c sc->search_positions[index++] = pos; pos 44 libavfilter/vf_chromaber_vulkan.c C(0, void distort_rgb(ivec2 size, ivec2 pos) ) pos 46 libavfilter/vf_chromaber_vulkan.c C(1, const vec2 p = ((vec2(pos)/vec2(size)) - 0.5f)*2.0f; ) pos 54 libavfilter/vf_chromaber_vulkan.c C(1, imageStore(output_img[0], pos, res); ) pos 57 libavfilter/vf_chromaber_vulkan.c C(0, void distort_chroma(int idx, ivec2 size, ivec2 pos) ) pos 59 libavfilter/vf_chromaber_vulkan.c C(1, vec2 p = ((vec2(pos)/vec2(size)) - 0.5f)*2.0f; ) pos 63 libavfilter/vf_chromaber_vulkan.c C(1, imageStore(output_img[idx], pos, res); ) pos 133 libavfilter/vf_chromaber_vulkan.c GLSLC(1, ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); pos 135 libavfilter/vf_chromaber_vulkan.c GLSLC(1, distort_rgb(imageSize(output_img[0]), pos); ); pos 138 libavfilter/vf_chromaber_vulkan.c GLSLC(1, vec2 npos = vec2(pos)/vec2(size); ); pos 140 libavfilter/vf_chromaber_vulkan.c GLSLC(1, imageStore(output_img[0], pos, res); ); pos 144 libavfilter/vf_chromaber_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); pos 145 libavfilter/vf_chromaber_vulkan.c GLSLF(2, distort_chroma(%i, size, pos); ,i); pos 147 libavfilter/vf_chromaber_vulkan.c GLSLC(2, npos = vec2(pos)/vec2(size); ); pos 149 libavfilter/vf_chromaber_vulkan.c GLSLF(2, imageStore(output_img[%i], pos, res); ,i); pos 154 libavfilter/vf_deband.c const int pos = y * s->planewidth[0]; pos 157 libavfilter/vf_deband.c const int x_pos = s->x_pos[pos + x]; pos 158 libavfilter/vf_deband.c const int y_pos = s->y_pos[pos + x]; pos 194 libavfilter/vf_deband.c const int pos = y * s->planewidth[0]; pos 197 libavfilter/vf_deband.c const int x_pos = s->x_pos[pos + x]; pos 198 libavfilter/vf_deband.c const int y_pos = s->y_pos[pos + x]; pos 259 libavfilter/vf_deband.c const int pos = y * s->planewidth[0]; pos 262 libavfilter/vf_deband.c const int x_pos = s->x_pos[pos + x]; pos 263 libavfilter/vf_deband.c const int y_pos = s->y_pos[pos + x]; pos 335 libavfilter/vf_deband.c const int pos = y * s->planewidth[0]; pos 338 libavfilter/vf_deband.c const int x_pos = s->x_pos[pos + x]; pos 339 libavfilter/vf_deband.c const int y_pos = s->y_pos[pos + x]; pos 194 libavfilter/vf_deshake.c int i, j, pos; pos 199 libavfilter/vf_deshake.c pos = (y + i) * stride + (x + j); pos 200 libavfilter/vf_deshake.c if (src[pos] < lowest) pos 201 libavfilter/vf_deshake.c lowest = src[pos]; pos 202 libavfilter/vf_deshake.c else if (src[pos] > highest) { pos 203 libavfilter/vf_deshake.c highest = src[pos]; pos 243 libavfilter/vf_deshake.c int pos; pos 256 libavfilter/vf_deshake.c pos = 0; pos 270 libavfilter/vf_deshake.c deshake->angles[pos++] = block_angle(x, y, 0, 0, &mv); pos 279 libavfilter/vf_deshake.c if (pos) { pos 280 libavfilter/vf_deshake.c center_x /= pos; pos 281 libavfilter/vf_deshake.c center_y /= pos; pos 282 libavfilter/vf_deshake.c t->angle = clean_mean(deshake->angles, pos); pos 260 libavfilter/vf_eq.c int64_t pos = in->pkt_pos; pos 274 libavfilter/vf_eq.c eq->var_values[VAR_POS] = pos == -1 ? NAN : pos; pos 95 libavfilter/vf_frei0r.c f0r_param_position_t pos; pos 125 libavfilter/vf_frei0r.c if (sscanf(param, "%lf/%lf", &val.pos.x, &val.pos.y) != 2) pos 88 libavfilter/vf_fspp.c #define STORE(pos) \ pos 89 libavfilter/vf_fspp.c temp = (src[x + pos] + (d[pos] >> log2_scale)) >> (6 - log2_scale); \ pos 90 libavfilter/vf_fspp.c src[x + pos] = src[x + pos - 8 * src_stride] = 0; \ pos 92 libavfilter/vf_fspp.c dst[x + pos] = temp; pos 118 libavfilter/vf_fspp.c #define STORE2(pos) \ pos 119 libavfilter/vf_fspp.c temp = (src[x + pos] + src[x + pos + 16 * src_stride] + (d[pos] >> log2_scale)) >> (6 - log2_scale); \ pos 120 libavfilter/vf_fspp.c src[x + pos + 16 * src_stride] = 0; \ pos 122 libavfilter/vf_fspp.c dst[x + pos] = temp; pos 945 libavfilter/vf_overlay.c int64_t pos = mainpic->pkt_pos; pos 950 libavfilter/vf_overlay.c s->var_values[VAR_POS] = pos == -1 ? NAN : pos; pos 49 libavfilter/vf_overlay_vulkan.c C(0, void overlay_noalpha(int i, ivec2 pos) ) pos 51 libavfilter/vf_overlay_vulkan.c C(1, if ((o_offset[i].x <= pos.x) && (o_offset[i].y <= pos.y) && pos 52 libavfilter/vf_overlay_vulkan.c (pos.x < (o_offset[i].x + o_size[i].x)) && pos 53 libavfilter/vf_overlay_vulkan.c (pos.y < (o_offset[i].y + o_size[i].y))) { ) pos 54 libavfilter/vf_overlay_vulkan.c C(2, vec4 res = texture(overlay_img[i], pos - o_offset[i]); ) pos 55 libavfilter/vf_overlay_vulkan.c C(2, imageStore(output_img[i], pos, res); ) pos 57 libavfilter/vf_overlay_vulkan.c C(2, vec4 res = texture(main_img[i], pos); ) pos 58 libavfilter/vf_overlay_vulkan.c C(2, imageStore(output_img[i], pos, res); ) pos 64 libavfilter/vf_overlay_vulkan.c C(0, void overlay_alpha_opaque(int i, ivec2 pos) ) pos 66 libavfilter/vf_overlay_vulkan.c C(1, vec4 res = texture(main_img[i], pos); ) pos 67 libavfilter/vf_overlay_vulkan.c C(1, if ((o_offset[i].x <= pos.x) && (o_offset[i].y <= pos.y) && pos 68 libavfilter/vf_overlay_vulkan.c (pos.x < (o_offset[i].x + o_size[i].x)) && pos 69 libavfilter/vf_overlay_vulkan.c (pos.y < (o_offset[i].y + o_size[i].y))) { ) pos 70 libavfilter/vf_overlay_vulkan.c C(2, vec4 ovr = texture(overlay_img[i], pos - o_offset[i]); ) pos 73 libavfilter/vf_overlay_vulkan.c C(2, imageStore(output_img[i], pos, res); ) pos 75 libavfilter/vf_overlay_vulkan.c C(1, imageStore(output_img[i], pos, res); ) pos 154 libavfilter/vf_overlay_vulkan.c GLSLC(1, ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); pos 158 libavfilter/vf_overlay_vulkan.c GLSLC(2, overlay_alpha_opaque(i, pos); ); pos 160 libavfilter/vf_overlay_vulkan.c GLSLC(2, overlay_noalpha(i, pos); ); pos 111 libavfilter/vf_palettegen.c #define DECLARE_CMP_FUNC(name, pos) \ pos 116 libavfilter/vf_palettegen.c return ((*a)->color >> (8 * (2 - (pos))) & 0xff) \ pos 117 libavfilter/vf_palettegen.c - ((*b)->color >> (8 * (2 - (pos))) & 0xff); \ pos 260 libavfilter/vf_paletteuse.c int pos = 0, best_node_id = -1, best_dist = INT_MAX, cur_color_id = 0; pos 295 libavfilter/vf_paletteuse.c pos++; pos 316 libavfilter/vf_paletteuse.c if (--pos < 0) pos 600 libavfilter/vf_paletteuse.c #define DECLARE_CMP_FUNC(name, pos) \ pos 605 libavfilter/vf_paletteuse.c return (a->value >> (8 * (3 - (pos))) & 0xff) \ pos 606 libavfilter/vf_paletteuse.c - (b->value >> (8 * (3 - (pos))) & 0xff); \ pos 56 libavfilter/vf_scale_vulkan.c C(0, vec4 scale_bilinear(int idx, ivec2 pos, vec2 crop_range, vec2 crop_off)) pos 58 libavfilter/vf_scale_vulkan.c C(1, vec2 npos = (vec2(pos) + 0.5f) / imageSize(output_img[idx]); ) pos 80 libavfilter/vf_scale_vulkan.c C(0, void write_nv12(vec4 src, ivec2 pos) ) pos 82 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[0], pos, vec4(src.r, 0.0, 0.0, 0.0)); ) pos 83 libavfilter/vf_scale_vulkan.c C(1, pos /= ivec2(2); ) pos 84 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[1], pos, vec4(src.g, src.b, 0.0, 0.0)); ) pos 89 libavfilter/vf_scale_vulkan.c C(0, void write_420(vec4 src, ivec2 pos) ) pos 91 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[0], pos, vec4(src.r, 0.0, 0.0, 0.0)); ) pos 92 libavfilter/vf_scale_vulkan.c C(1, pos /= ivec2(2); ) pos 93 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[1], pos, vec4(src.g, 0.0, 0.0, 0.0)); ) pos 94 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[2], pos, vec4(src.b, 0.0, 0.0, 0.0)); ) pos 99 libavfilter/vf_scale_vulkan.c C(0, void write_444(vec4 src, ivec2 pos) ) pos 101 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[0], pos, vec4(src.r, 0.0, 0.0, 0.0)); ) pos 102 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[1], pos, vec4(src.g, 0.0, 0.0, 0.0)); ) pos 103 libavfilter/vf_scale_vulkan.c C(1, imageStore(output_img[2], pos, vec4(src.b, 0.0, 0.0, 0.0)); ) pos 200 libavfilter/vf_scale_vulkan.c GLSLC(1, ivec2 pos = ivec2(gl_GlobalInvocationID.xy); ); pos 209 libavfilter/vf_scale_vulkan.c GLSLC(1, if (IS_WITHIN(pos, size)) { ); pos 213 libavfilter/vf_scale_vulkan.c GLSLF(2, vec4 res = scale_bilinear(%i, pos, c_r, c_o); ,i); pos 214 libavfilter/vf_scale_vulkan.c GLSLF(2, imageStore(output_img[%i], pos, res); ,i); pos 220 libavfilter/vf_scale_vulkan.c GLSLC(1, vec4 res = scale_bilinear(0, pos, c_r, c_o); ); pos 223 libavfilter/vf_scale_vulkan.c case AV_PIX_FMT_NV12: GLSLC(1, write_nv12(res, pos); ); break; pos 224 libavfilter/vf_scale_vulkan.c case AV_PIX_FMT_YUV420P: GLSLC(1, write_420(res, pos); ); break; pos 225 libavfilter/vf_scale_vulkan.c case AV_PIX_FMT_YUV444P: GLSLC(1, write_444(res, pos); ); break; pos 143 libavfilter/vf_signature.c static void set_bit(uint8_t* data, size_t pos) pos 145 libavfilter/vf_signature.c uint8_t mask = 1 << 7-(pos%8); pos 146 libavfilter/vf_signature.c data[pos/8] |= mask; pos 167 libavfilter/vf_spp.c #define STORE(pos) do { \ pos 168 libavfilter/vf_spp.c temp = ((src[x + y*src_linesize + pos] << log2_scale) + d[pos]) >> 6; \ pos 171 libavfilter/vf_spp.c dst[x + y*dst_linesize + pos] = temp; \ pos 198 libavfilter/vf_spp.c #define STORE16(pos) do { \ pos 199 libavfilter/vf_spp.c temp = ((src[x + y*src_linesize + pos] << log2_scale) + (d[pos]>>1)) >> 5; \ pos 202 libavfilter/vf_spp.c dst[x + y*dst_linesize + pos] = temp; \ pos 161 libavfilter/vf_uspp.c #define STORE(pos) do { \ pos 162 libavfilter/vf_uspp.c temp = ((src[x + y * src_stride + pos] << log2_scale) + d[pos]) >> 8; \ pos 164 libavfilter/vf_uspp.c dst[x + y * dst_stride + pos] = temp; \ pos 302 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 306 libavfilter/vf_vectorscope.c if (dpd[pos] && (((!j || !dpd[pos - 1]) || ((j == (out->width - 1)) || !dpd[pos + 1])) pos 308 libavfilter/vf_vectorscope.c dpd[pos] = max; pos 323 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 325 libavfilter/vf_vectorscope.c if (dpd[pos]) pos 335 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 339 libavfilter/vf_vectorscope.c dpd[pos] = max; pos 353 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 357 libavfilter/vf_vectorscope.c if (dpd[pos] && (((!j || !dpd[pos - 1]) || ((j == (out->width - 1)) || !dpd[pos + 1])) pos 359 libavfilter/vf_vectorscope.c dpd[pos] = 255; pos 373 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 375 libavfilter/vf_vectorscope.c if (dpd[pos]) pos 385 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 389 libavfilter/vf_vectorscope.c dpd[pos] = 255; pos 464 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 469 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(dpd[pos] + intensity, max); pos 483 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 488 libavfilter/vf_vectorscope.c if (!dpd[pos]) pos 489 libavfilter/vf_vectorscope.c dpd[pos] = FFABS(mid - x) + FFABS(mid - y); pos 490 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 491 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 503 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 508 libavfilter/vf_vectorscope.c if (!dpd[pos]) pos 509 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(x + y, max); pos 510 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 511 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 525 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 530 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(max, dpd[pos] + intensity); pos 531 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 532 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 545 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 550 libavfilter/vf_vectorscope.c dpd[pos] = FFMAX(z, dpd[pos]); pos 551 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 552 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 565 libavfilter/vf_vectorscope.c int pos = i * dlinesize + j; pos 567 libavfilter/vf_vectorscope.c if (dpd[pos]) pos 568 libavfilter/vf_vectorscope.c dst[3][pos] = max; pos 577 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 578 libavfilter/vf_vectorscope.c if (dpd[pos]) { pos 579 libavfilter/vf_vectorscope.c dp1[pos] = s->tint[0]; pos 580 libavfilter/vf_vectorscope.c dp2[pos] = s->tint[1]; pos 587 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 588 libavfilter/vf_vectorscope.c if (dpd[pos]) { pos 589 libavfilter/vf_vectorscope.c dpx[pos] = av_clip(dpd[pos] + dpd[pos] * s->ftint[0], 0, max); pos 590 libavfilter/vf_vectorscope.c dpy[pos] = av_clip(dpd[pos] + dpd[pos] * s->ftint[1], 0, max); pos 660 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 665 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(dpd[pos] + intensity, 255); pos 679 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 684 libavfilter/vf_vectorscope.c if (!dpd[pos]) pos 685 libavfilter/vf_vectorscope.c dpd[pos] = FFABS(128 - x) + FFABS(128 - y); pos 686 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 687 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 699 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 704 libavfilter/vf_vectorscope.c if (!dpd[pos]) pos 705 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(x + y, 255); pos 706 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 707 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 721 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 726 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(255, dpd[pos] + intensity); pos 727 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 728 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 741 libavfilter/vf_vectorscope.c const int pos = y * dlinesize + x; pos 746 libavfilter/vf_vectorscope.c dpd[pos] = FFMAX(z, dpd[pos]); pos 747 libavfilter/vf_vectorscope.c dpx[pos] = x; pos 748 libavfilter/vf_vectorscope.c dpy[pos] = y; pos 761 libavfilter/vf_vectorscope.c int pos = i * dlinesize + j; pos 763 libavfilter/vf_vectorscope.c if (dpd[pos]) pos 764 libavfilter/vf_vectorscope.c dst[3][pos] = 255; pos 773 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 774 libavfilter/vf_vectorscope.c if (dpd[pos]) { pos 775 libavfilter/vf_vectorscope.c dp1[pos] = s->tint[0]; pos 776 libavfilter/vf_vectorscope.c dp2[pos] = s->tint[1]; pos 783 libavfilter/vf_vectorscope.c const int pos = i * dlinesize + j; pos 784 libavfilter/vf_vectorscope.c if (dpd[pos]) { pos 785 libavfilter/vf_vectorscope.c dpx[pos] = av_clip_uint8(dpd[pos] + dpd[pos] * s->ftint[0]); pos 786 libavfilter/vf_vectorscope.c dpy[pos] = av_clip_uint8(dpd[pos] + dpd[pos] * s->ftint[1]); pos 76 libavfilter/vf_waveform.c uint16_t pos; pos 2891 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 2892 libavfilter/vf_waveform.c int x = offset_x + (s->mirror ? s->size - 1 - pos : pos); pos 2901 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 2902 libavfilter/vf_waveform.c int x = offset_x + (s->mirror ? s->size - 1 - pos : pos) - 10; pos 2933 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 2934 libavfilter/vf_waveform.c int x = offset_x + (s->mirror ? s->size - 1 - pos : pos); pos 2943 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 2944 libavfilter/vf_waveform.c int x = offset_x + (s->mirror ? s->size - 1 - pos : pos) - 10; pos 2974 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 2975 libavfilter/vf_waveform.c int y = offset_y + (s->mirror ? s->size - 1 - pos : pos); pos 2984 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 2985 libavfilter/vf_waveform.c int y = offset_y + (s->mirror ? s->size - 1 - pos : pos) - 10; pos 3016 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 3017 libavfilter/vf_waveform.c int y = offset_y + (s->mirror ? s->size - 1 - pos : pos); pos 3026 libavfilter/vf_waveform.c const uint16_t pos = s->glines[l].line[C].pos; pos 3027 libavfilter/vf_waveform.c int y = offset_y + (s->mirror ? s->size - 1 - pos: pos) - 10; pos 232 libavfilter/vsrc_cellauto.c int i, v, pos[3]; pos 242 libavfilter/vsrc_cellauto.c pos[NW] = i-1 < 0 ? s->w-1 : i-1; pos 243 libavfilter/vsrc_cellauto.c pos[N] = i; pos 244 libavfilter/vsrc_cellauto.c pos[NE] = i+1 == s->w ? 0 : i+1; pos 245 libavfilter/vsrc_cellauto.c v = prev_row[pos[NW]]<<2 | prev_row[pos[N]]<<1 | prev_row[pos[NE]]; pos 303 libavfilter/vsrc_life.c int pos[8][2], n, alive, cell; pos 305 libavfilter/vsrc_life.c pos[NW][0] = (i-1) < 0 ? life->h-1 : i-1; pos[NW][1] = (j-1) < 0 ? life->w-1 : j-1; pos 306 libavfilter/vsrc_life.c pos[N ][0] = (i-1) < 0 ? life->h-1 : i-1; pos[N ][1] = j ; pos 307 libavfilter/vsrc_life.c pos[NE][0] = (i-1) < 0 ? life->h-1 : i-1; pos[NE][1] = (j+1) == life->w ? 0 : j+1; pos 308 libavfilter/vsrc_life.c pos[W ][0] = i ; pos[W ][1] = (j-1) < 0 ? life->w-1 : j-1; pos 309 libavfilter/vsrc_life.c pos[E ][0] = i ; pos[E ][1] = (j+1) == life->w ? 0 : j+1; pos 310 libavfilter/vsrc_life.c pos[SW][0] = (i+1) == life->h ? 0 : i+1; pos[SW][1] = (j-1) < 0 ? life->w-1 : j-1; pos 311 libavfilter/vsrc_life.c pos[S ][0] = (i+1) == life->h ? 0 : i+1; pos[S ][1] = j ; pos 312 libavfilter/vsrc_life.c pos[SE][0] = (i+1) == life->h ? 0 : i+1; pos[SE][1] = (j+1) == life->w ? 0 : j+1; pos 314 libavfilter/vsrc_life.c pos[NW][0] = (i-1) < 0 ? -1 : i-1; pos[NW][1] = (j-1) < 0 ? -1 : j-1; pos 315 libavfilter/vsrc_life.c pos[N ][0] = (i-1) < 0 ? -1 : i-1; pos[N ][1] = j ; pos 316 libavfilter/vsrc_life.c pos[NE][0] = (i-1) < 0 ? -1 : i-1; pos[NE][1] = (j+1) == life->w ? -1 : j+1; pos 317 libavfilter/vsrc_life.c pos[W ][0] = i ; pos[W ][1] = (j-1) < 0 ? -1 : j-1; pos 318 libavfilter/vsrc_life.c pos[E ][0] = i ; pos[E ][1] = (j+1) == life->w ? -1 : j+1; pos 319 libavfilter/vsrc_life.c pos[SW][0] = (i+1) == life->h ? -1 : i+1; pos[SW][1] = (j-1) < 0 ? -1 : j-1; pos 320 libavfilter/vsrc_life.c pos[S ][0] = (i+1) == life->h ? -1 : i+1; pos[S ][1] = j ; pos 321 libavfilter/vsrc_life.c pos[SE][0] = (i+1) == life->h ? -1 : i+1; pos[SE][1] = (j+1) == life->w ? -1 : j+1; pos 325 libavfilter/vsrc_life.c n = (pos[NW][0] == -1 || pos[NW][1] == -1 ? 0 : oldbuf[pos[NW][0]*life->w + pos[NW][1]] == ALIVE_CELL) + pos 326 libavfilter/vsrc_life.c (pos[N ][0] == -1 || pos[N ][1] == -1 ? 0 : oldbuf[pos[N ][0]*life->w + pos[N ][1]] == ALIVE_CELL) + pos 327 libavfilter/vsrc_life.c (pos[NE][0] == -1 || pos[NE][1] == -1 ? 0 : oldbuf[pos[NE][0]*life->w + pos[NE][1]] == ALIVE_CELL) + pos 328 libavfilter/vsrc_life.c (pos[W ][0] == -1 || pos[W ][1] == -1 ? 0 : oldbuf[pos[W ][0]*life->w + pos[W ][1]] == ALIVE_CELL) + pos 329 libavfilter/vsrc_life.c (pos[E ][0] == -1 || pos[E ][1] == -1 ? 0 : oldbuf[pos[E ][0]*life->w + pos[E ][1]] == ALIVE_CELL) + pos 330 libavfilter/vsrc_life.c (pos[SW][0] == -1 || pos[SW][1] == -1 ? 0 : oldbuf[pos[SW][0]*life->w + pos[SW][1]] == ALIVE_CELL) + pos 331 libavfilter/vsrc_life.c (pos[S ][0] == -1 || pos[S ][1] == -1 ? 0 : oldbuf[pos[S ][0]*life->w + pos[S ][1]] == ALIVE_CELL) + pos 332 libavfilter/vsrc_life.c (pos[SE][0] == -1 || pos[SE][1] == -1 ? 0 : oldbuf[pos[SE][0]*life->w + pos[SE][1]] == ALIVE_CELL); pos 784 libavfilter/vsrc_testsrc.c int pos, xh, yh; pos 789 libavfilter/vsrc_testsrc.c pos = av_rescale_q(s->pts, s->time_base, av_make_q(64 >> (c << 1), cycle)) % cycle; pos 790 libavfilter/vsrc_testsrc.c xh = pos < 1 * l ? pos : pos 791 libavfilter/vsrc_testsrc.c pos < 2 * l ? l : pos 792 libavfilter/vsrc_testsrc.c pos < 3 * l ? 3 * l - pos : 0; pos 793 libavfilter/vsrc_testsrc.c yh = pos < 1 * l ? 0 : pos 794 libavfilter/vsrc_testsrc.c pos < 2 * l ? pos - l : pos 795 libavfilter/vsrc_testsrc.c pos < 3 * l ? l : pos 796 libavfilter/vsrc_testsrc.c cycle - pos; pos 115 libavformat/3dostr.c int64_t pos; pos 122 libavformat/3dostr.c pos = avio_tell(s->pb); pos 143 libavformat/3dostr.c pkt->pos = pos; pos 336 libavformat/4xm.c pkt->pos = avio_tell(s->pb); pos 255 libavformat/aadec.c uint64_t pos = avio_tell(s->pb); pos 258 libavformat/aadec.c if (pos >= c->content_end) { pos 271 libavformat/aadec.c pos += 8; pos 312 libavformat/aadec.c pkt->pos = pos; pos 63 libavformat/adxdec.c pkt->pos = avio_tell(s->pb); pos 75 libavformat/adxdec.c pkt->pts = (pkt->pos - c->header_size) / size; pos 47 libavformat/aiffenc.c uint64_t pos, end, size; pos 57 libavformat/aiffenc.c pos = avio_tell(pb); pos 69 libavformat/aiffenc.c size = end - pos; pos 72 libavformat/aiffenc.c avio_seek(pb, pos - 4, SEEK_SET); pos 89 libavformat/aixdec.c int64_t pos; pos 92 libavformat/aixdec.c pos = avio_tell(s->pb); pos 106 libavformat/aixdec.c pos = avio_tell(s->pb); pos 128 libavformat/aixdec.c pkt->pos = pos; pos 120 libavformat/amr.c int64_t pos = avio_tell(s->pb); pos 147 libavformat/amr.c pkt->pos = pos; pos 44 libavformat/ape.c int64_t pos; pos 152 libavformat/ape.c ape_ctx->frames[i].pos, ape_ctx->frames[i].size, pos 305 libavformat/ape.c ape->frames[0].pos = ape->firstframe; pos 309 libavformat/ape.c ape->frames[i].pos = ape->seektable[i] + ape->junklength; pos 311 libavformat/ape.c ape->frames[i - 1].size = ape->frames[i].pos - ape->frames[i - 1].pos; pos 312 libavformat/ape.c ape->frames[i].skip = (ape->frames[i].pos - ape->frames[0].pos) & 3; pos 318 libavformat/ape.c final_size = file_size - ape->frames[ape->totalframes - 1].pos - pos 328 libavformat/ape.c ape->frames[i].pos -= ape->frames[i].skip; pos 378 libavformat/ape.c av_add_index_entry(st, ape->frames[i].pos, ape->frames[i].pts, 0, 0, AVINDEX_KEYFRAME); pos 408 libavformat/ape.c ret64 = avio_seek(s->pb, ape->frames[ape->currentframe].pos, SEEK_SET); pos 469 libavformat/ape.c if ((ret = avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET)) < 0) pos 55 libavformat/aqtitledec.c int64_t pos = 0, frame = AV_NOPTS_VALUE; pos 75 libavformat/aqtitledec.c pos = avio_tell(s->pb); pos 92 libavformat/aqtitledec.c sub->pos = pos; pos 1317 libavformat/asfdec_f.c asf_st->pkt.pos = asf_st->packet_pos = asf->packet_pos; pos 1531 libavformat/asfdec_f.c int64_t pos = *ppos; pos 1536 libavformat/asfdec_f.c start_pos[i] = pos; pos 1539 libavformat/asfdec_f.c pos = (pos + s->packet_size - 1 - s->internal->data_offset) / pos 1542 libavformat/asfdec_f.c *ppos = pos; pos 1543 libavformat/asfdec_f.c if (avio_seek(s->pb, pos, SEEK_SET) < 0) pos 1562 libavformat/asfdec_f.c pos = asf_st->packet_pos; pos 1563 libavformat/asfdec_f.c av_assert1(pkt->pos == asf_st->packet_pos); pos 1565 libavformat/asfdec_f.c av_add_index_entry(s->streams[i], pos, pts, pkt->size, pos 1566 libavformat/asfdec_f.c pos - start_pos[i] + 1, AVINDEX_KEYFRAME); pos 1577 libavformat/asfdec_f.c *ppos = pos; pos 1623 libavformat/asfdec_f.c int64_t pos = s->internal->data_offset + s->packet_size * (int64_t)pktnum; pos 1631 libavformat/asfdec_f.c if (pos != last_pos) { pos 1634 libavformat/asfdec_f.c av_add_index_entry(s->streams[stream_index], pos, index_pts, pos 1636 libavformat/asfdec_f.c last_pos = pos; pos 1685 libavformat/asfdec_f.c uint64_t pos = st->index_entries[index].pos; pos 1688 libavformat/asfdec_f.c av_log(s, AV_LOG_DEBUG, "SEEKTO: %"PRId64"\n", pos); pos 1689 libavformat/asfdec_f.c if(avio_seek(s->pb, pos, SEEK_SET) < 0) pos 1401 libavformat/asfdec_o.c int pos = 0, j, l, ret; pos 1407 libavformat/asfdec_o.c while (asf_pkt->data_size >= asf_st->span * pkt_len + pos) { pos 1408 libavformat/asfdec_o.c if (pos >= asf_pkt->data_size) { pos 1412 libavformat/asfdec_o.c if (pos >= asf_pkt->data_size) { pos 1416 libavformat/asfdec_o.c if ((pos + chunk_len) >= asf_pkt->data_size) pos 1418 libavformat/asfdec_o.c memcpy(pkt.data + pos, pos 1421 libavformat/asfdec_o.c pos += chunk_len; pos 1579 libavformat/asfdec_o.c int64_t *pos, int64_t pos_limit) pos 1582 libavformat/asfdec_o.c int64_t pkt_pos = *pos, pkt_offset, dts = AV_NOPTS_VALUE, data_end; pos 1631 libavformat/asfdec_o.c *pos = pkt_pos; pos 1647 libavformat/asfdec_o.c avio_seek(s->pb, s->streams[stream_index]->index_entries[idx].pos, SEEK_SET); pos 280 libavformat/asfenc.c int64_t pos; pos 282 libavformat/asfenc.c pos = avio_tell(pb); pos 285 libavformat/asfenc.c return pos; pos 289 libavformat/asfenc.c static void end_header(AVIOContext *pb, int64_t pos) pos 294 libavformat/asfenc.c avio_seek(pb, pos + 16, SEEK_SET); pos 295 libavformat/asfenc.c avio_wl64(pb, pos1 - pos); pos 63 libavformat/assdec.c int pos = 0; pos 70 libavformat/assdec.c &hh2, &mm2, &ss2, &ms2, &pos) >= 8 && pos > 0) { pos 83 libavformat/assdec.c av_bprintf(dst, "%u,%d,%s", ass->readorder++, layer, p + pos); pos 97 libavformat/assdec.c int64_t pos = ff_text_pos(tr); pos 108 libavformat/assdec.c return pos; pos 134 libavformat/assdec.c int64_t pos = get_line(&line, &tr); pos 151 libavformat/assdec.c sub->pos = pos; pos 84 libavformat/astdec.c int64_t pos; pos 90 libavformat/astdec.c pos = avio_tell(s->pb); pos 103 libavformat/astdec.c pkt->pos = pos; pos 382 libavformat/async.c static int64_t async_seek(URLContext *h, int64_t pos, int whence) pos 395 libavformat/async.c av_log(h, AV_LOG_TRACE, "async_seek: %"PRId64"\n", pos); pos 396 libavformat/async.c new_logical_pos = pos + c->logical_pos; pos 398 libavformat/async.c av_log(h, AV_LOG_TRACE, "async_seek: %"PRId64"\n", pos); pos 399 libavformat/async.c new_logical_pos = pos; pos 544 libavformat/async.c static int64_t async_test_seek(URLContext *h, int64_t pos, int whence) pos 552 libavformat/async.c new_logical_pos = pos + c->logical_pos; pos 554 libavformat/async.c new_logical_pos = pos; pos 600 libavformat/async.c int64_t pos; pos 617 libavformat/async.c pos = ffurl_seek(h, 0, SEEK_CUR); pos 632 libavformat/async.c if (buf[i] != (pos & 0xFF)) { pos 634 libavformat/async.c (int)buf[i], (int)(pos & 0xFF), pos); pos 637 libavformat/async.c pos++; pos 651 libavformat/async.c pos = ffurl_seek(h, TEST_SEEK_POS, SEEK_SET); pos 652 libavformat/async.c printf("seek: %"PRId64"\n", pos); pos 666 libavformat/async.c if (buf[i] != (pos & 0xFF)) { pos 668 libavformat/async.c (int)buf[i], (int)(pos & 0xFF), pos); pos 671 libavformat/async.c pos++; pos 740 libavformat/avformat.h int64_t *pos, int64_t pos_limit); pos 796 libavformat/avformat.h int64_t pos; pos 2845 libavformat/avformat.h int av_add_index_entry(AVStream *st, int64_t pos, int64_t timestamp, pos 213 libavformat/avidec.c int64_t pos = avio_rl32(pb) + base - 8; pos 218 libavformat/avidec.c av_log(s, AV_LOG_TRACE, "pos:%"PRId64", len:%X\n", pos, len); pos 223 libavformat/avidec.c if (last_pos == pos || pos == base - 8) pos 225 libavformat/avidec.c if (last_pos != pos && len) pos 226 libavformat/avidec.c av_add_index_entry(st, pos, ast->cum_len, len, 0, pos 230 libavformat/avidec.c last_pos = pos; pos 232 libavformat/avidec.c int64_t offset, pos; pos 241 libavformat/avidec.c pos = avio_tell(pb); pos 255 libavformat/avidec.c if (avio_seek(pb, pos, SEEK_SET) < 0) { pos 276 libavformat/avidec.c int64_t pos, size, ts; pos 284 libavformat/avidec.c pos = st->index_entries[0].pos; pos 289 libavformat/avidec.c av_add_index_entry(st, pos + j, ts + j, FFMIN(max, size - j), 0, pos 439 libavformat/avidec.c maxpos = FFMAX(maxpos, st->index_entries[j-1].pos); pos 480 libavformat/avidec.c int64_t pos; pos 943 libavformat/avidec.c pos = avio_tell(pb); pos 949 libavformat/avidec.c avio_seek(pb, pos + size, SEEK_SET); pos 1315 libavformat/avidec.c uint64_t pos = avio_tell(pb) - 8; pos 1317 libavformat/avidec.c st->index_entries[st->nb_index_entries - 1].pos < pos) { pos 1318 libavformat/avidec.c av_add_index_entry(st, pos, ast->frame_offset, size, pos 1383 libavformat/avidec.c int64_t pos = best_st->index_entries[i].pos; pos 1384 libavformat/avidec.c pos += best_ast->packet_size - best_ast->remaining; pos 1385 libavformat/avidec.c if (avio_seek(s->pb, pos + 8, SEEK_SET) < 0) pos 1464 libavformat/avidec.c pkt->data, pkt->size, pkt->pos); pos 1521 libavformat/avidec.c if (!avi->non_interleaved && pkt->pos >= 0 && ast->seek_pos > pkt->pos) { pos 1555 libavformat/avidec.c int64_t pos; pos 1585 libavformat/avidec.c pos = avio_rl32(pb); pos 1588 libavformat/avidec.c i, tag, flags, pos, len); pos 1603 libavformat/avidec.c if (avi->movi_list + 4 != pos || pos + 500 > first_packet_pos) pos 1604 libavformat/avidec.c data_offset = first_packet_pos - pos; pos 1607 libavformat/avidec.c pos += data_offset; pos 1613 libavformat/avidec.c if (last_pos == pos) pos 1615 libavformat/avidec.c if (last_idx != pos && len) { pos 1616 libavformat/avidec.c av_add_index_entry(st, pos, ast->cum_len, len, 0, pos 1618 libavformat/avidec.c last_idx= pos; pos 1621 libavformat/avidec.c last_pos = pos; pos 1638 libavformat/avidec.c int64_t min_pos, pos; pos 1643 libavformat/avidec.c for (min_pos = pos = 0; min_pos != INT64_MAX; pos = min_pos + 1LU) { pos 1654 libavformat/avidec.c while (idx[i] < n && st->index_entries[idx[i]].pos < pos) pos 1662 libavformat/avidec.c min_pos = FFMIN(min_pos, st->index_entries[idx[i]].pos); pos 1707 libavformat/avidec.c int64_t pos = st->index_entries[0].pos; pos 1709 libavformat/avidec.c avio_seek(s->pb, pos, SEEK_SET); pos 1714 libavformat/avidec.c if (get_stream_idx(tag) == i && pos + size > st->index_entries[1].pos) pos 1720 libavformat/avidec.c if (st->index_entries[0].pos > last_start) pos 1721 libavformat/avidec.c last_start = st->index_entries[0].pos; pos 1722 libavformat/avidec.c if (st->index_entries[n - 1].pos < first_end) pos 1723 libavformat/avidec.c first_end = st->index_entries[n - 1].pos; pos 1738 libavformat/avidec.c int64_t pos = avio_tell(pb); pos 1769 libavformat/avidec.c avio_seek(pb, pos, SEEK_SET); pos 1789 libavformat/avidec.c int64_t pos, pos_min; pos 1820 libavformat/avidec.c pos = st->index_entries[index].pos; pos 1831 libavformat/avidec.c if (avio_seek(s->pb, pos, SEEK_SET) < 0) pos 1842 libavformat/avidec.c pos_min = pos; pos 1869 libavformat/avidec.c ast2->seek_pos = st2->index_entries[index].pos; pos 1885 libavformat/avidec.c while (!avi->non_interleaved && index>0 && st2->index_entries[index-1].pos >= pos_min) pos 49 libavformat/avienc.c unsigned int pos; pos 134 libavformat/avienc.c idx->cluster[cl][id].pos = avio_tell(pb) - avi->movi_list; pos 599 libavformat/avienc.c int64_t pos; pos 602 libavformat/avienc.c pos = avio_tell(pb); pos 623 libavformat/avienc.c avio_seek(pb, pos, SEEK_SET); pos 639 libavformat/avienc.c int64_t pos; pos 642 libavformat/avienc.c pos = avio_tell(pb); pos 643 libavformat/avienc.c update_odml_entry(s, i, pos, size); pos 645 libavformat/avienc.c av_assert1(avio_tell(pb) - pos == size); pos 674 libavformat/avienc.c avio_wl32(pb, ie->pos + 8); pos 711 libavformat/avienc.c if (empty || tie->pos < ie->pos) { pos 727 libavformat/avienc.c avio_wl32(pb, ie->pos); pos 433 libavformat/avio.c int64_t ffurl_seek(URLContext *h, int64_t pos, int whence) pos 439 libavformat/avio.c ret = h->prot->url_seek(h, pos, whence & ~AVSEEK_FORCE); pos 612 libavformat/avio.c int64_t pos, size; pos 616 libavformat/avio.c pos = ffurl_seek(h, 0, SEEK_CUR); pos 620 libavformat/avio.c ffurl_seek(h, pos, SEEK_SET); pos 238 libavformat/avio.h int64_t pos; /**< position in the file of the current buffer */ pos 100 libavformat/aviobuf.c s->pos = 0; pos 110 libavformat/aviobuf.c s->pos = buffer_size; pos 162 libavformat/aviobuf.c if (s->pos + len > s->written) pos 163 libavformat/aviobuf.c s->written = s->pos + len; pos 172 libavformat/aviobuf.c s->pos += len; pos 244 libavformat/aviobuf.c int64_t pos; pos 258 libavformat/aviobuf.c pos = s->pos - (s->write_flag ? 0 : buffer_size); pos 264 libavformat/aviobuf.c offset1 = pos + (s->buf_ptr - s->buffer); pos 282 libavformat/aviobuf.c offset1 = offset - pos; // "offset1" is the relative offset from the beginning of s->buffer pos 293 libavformat/aviobuf.c while(s->pos < offset && !s->eof_reached) pos 297 libavformat/aviobuf.c s->buf_ptr = s->buf_end - (s->pos - offset); pos 301 libavformat/aviobuf.c pos -= FFMIN(buffer_size>>1, pos); pos 302 libavformat/aviobuf.c if ((res = s->seek(s->opaque, pos, SEEK_SET)) < 0) pos 306 libavformat/aviobuf.c s->pos = pos; pos 323 libavformat/aviobuf.c s->pos = offset; pos 351 libavformat/aviobuf.c s->seek(s->opaque, s->pos, SEEK_SET); pos 571 libavformat/aviobuf.c s->pos += len; pos 646 libavformat/aviobuf.c s->pos += len; pos 704 libavformat/aviobuf.c s->pos += len; pos 1087 libavformat/aviobuf.c if ((buffer_start = s->pos - buffer_size) > buf_size) { pos 1108 libavformat/aviobuf.c s->pos = buf_size; pos 1217 libavformat/aviobuf.c int64_t pos; pos 1219 libavformat/aviobuf.c pos = s->seek(s->opaque, 0, SEEK_CUR); pos 1220 libavformat/aviobuf.c if (pos >= 0) pos 1221 libavformat/aviobuf.c s->pos = pos; pos 1222 libavformat/aviobuf.c else if (pos != AVERROR(ENOSYS)) pos 1223 libavformat/aviobuf.c ret = pos; pos 1266 libavformat/aviobuf.c int pos, size, allocated_size; pos 1278 libavformat/aviobuf.c new_size = (unsigned)d->pos + buf_size; pos 1280 libavformat/aviobuf.c if (new_size < d->pos || new_size > INT_MAX/2) pos 1298 libavformat/aviobuf.c memcpy(d->buffer + d->pos, buf, buf_size); pos 1299 libavformat/aviobuf.c d->pos = new_size; pos 1300 libavformat/aviobuf.c if (d->pos > d->size) pos 1301 libavformat/aviobuf.c d->size = d->pos; pos 1325 libavformat/aviobuf.c offset += d->pos; pos 1330 libavformat/aviobuf.c d->pos = offset; pos 1398 libavformat/aviobuf.c d->pos = d->size = 0; pos 1448 libavformat/aviobuf.c d->pos += buf_size; pos 1449 libavformat/aviobuf.c if (d->pos > d->size) pos 1450 libavformat/aviobuf.c d->size = d->pos; pos 189 libavformat/bethsoftvid.c pkt->pos = position; pos 92 libavformat/bink.c uint32_t pos, next_pos; pos 207 libavformat/bink.c pos = next_pos; pos 216 libavformat/bink.c pos &= ~1; pos 219 libavformat/bink.c if (next_pos <= pos) { pos 223 libavformat/bink.c if ((ret = av_add_index_entry(vst, pos, i, next_pos - pos, 0, pos 229 libavformat/bink.c avio_seek(pb, vst->index_entries[0].pos + bink->smush_size, SEEK_SET); pos 316 libavformat/bink.c ret = avio_seek(s->pb, vst->index_entries[0].pos + bink->smush_size, SEEK_SET); pos 81 libavformat/bit.c int64_t pos= avio_tell(pb); pos 108 libavformat/bit.c pkt->pos = pos; pos 204 libavformat/bluray.c static int64_t bluray_seek(URLContext *h, int64_t pos, int whence) pos 216 libavformat/bluray.c return bd_seek(bd->bd, pos); pos 92 libavformat/brstm.c int64_t h1offset, pos, toffset; pos 124 libavformat/brstm.c pos = avio_tell(s->pb); pos 166 libavformat/brstm.c pos = avio_tell(s->pb); pos 183 libavformat/brstm.c avio_skip(s->pb, pos + h1offset + 8 - avio_tell(s->pb)); pos 254 libavformat/brstm.c avio_skip(s->pb, pos + toffset - avio_tell(s->pb)); pos 262 libavformat/brstm.c avio_skip(s->pb, pos + toffset - avio_tell(s->pb)); pos 276 libavformat/brstm.c if (size < (avio_tell(s->pb) - pos)) { pos 281 libavformat/brstm.c avio_skip(s->pb, size - (avio_tell(s->pb) - pos)); pos 102 libavformat/cache.c int64_t pos = -1; pos 109 libavformat/cache.c pos = lseek(c->fd, 0, SEEK_END); pos 110 libavformat/cache.c if (pos < 0) { pos 115 libavformat/cache.c c->cache_pos = pos; pos 132 libavformat/cache.c entry->physical_pos + entry->size != pos pos 141 libavformat/cache.c entry->physical_pos = pos; pos 227 libavformat/cache.c static int64_t cache_seek(URLContext *h, int64_t pos, int whence) pos 233 libavformat/cache.c pos= ffurl_seek(c->inner, pos, whence); pos 234 libavformat/cache.c if(pos <= 0){ pos 235 libavformat/cache.c pos= ffurl_seek(c->inner, -1, SEEK_END); pos 237 libavformat/cache.c av_log(h, AV_LOG_ERROR, "Inner protocol failed to seekback end : %"PRId64"\n", pos); pos 239 libavformat/cache.c if (pos > 0) pos 241 libavformat/cache.c c->end = FFMAX(c->end, pos); pos 242 libavformat/cache.c return pos; pos 247 libavformat/cache.c pos += c->logical_pos; pos 251 libavformat/cache.c pos += c->end; pos 254 libavformat/cache.c if (whence == SEEK_SET && pos >= 0 && pos < c->end) { pos 256 libavformat/cache.c c->logical_pos = pos; pos 257 libavformat/cache.c return pos; pos 261 libavformat/cache.c ret= ffurl_seek(c->inner, pos, whence); pos 262 libavformat/cache.c if ((whence == SEEK_SET && pos >= c->logical_pos || pos 263 libavformat/cache.c whence == SEEK_END && pos <= 0) && ret < 0) { pos 264 libavformat/cache.c if ( (whence == SEEK_SET && c->read_ahead_limit >= pos - c->logical_pos) pos 267 libavformat/cache.c while (c->logical_pos < pos || whence == SEEK_END) { pos 270 libavformat/cache.c size = FFMIN(sizeof(tmp), pos - c->logical_pos); pos 190 libavformat/cafdec.c int64_t pos = 0, ccount, num_packets; pos 205 libavformat/cafdec.c av_add_index_entry(s->streams[0], pos, st->duration, 0, 0, AVINDEX_KEYFRAME); pos 206 libavformat/cafdec.c pos += caf->bytes_per_packet ? caf->bytes_per_packet : ff_mp4_read_descr_len(pb); pos 216 libavformat/cafdec.c caf->num_bytes = pos; pos 242 libavformat/cafdec.c int64_t size, pos; pos 271 libavformat/cafdec.c pos = avio_tell(pb); pos 319 libavformat/cafdec.c if (pos > INT64_MAX - size) pos 321 libavformat/cafdec.c avio_skip(pb, FFMAX(0, pos + size - avio_tell(pb))); pos 387 libavformat/cafdec.c pkt_size = st->index_entries[caf->packet_cnt + 1].pos - st->index_entries[caf->packet_cnt].pos; pos 390 libavformat/cafdec.c pkt_size = caf->num_bytes - st->index_entries[caf->packet_cnt].pos; pos 419 libavformat/cafdec.c int64_t pos, packet_cnt, frame_cnt; pos 425 libavformat/cafdec.c pos = caf->bytes_per_packet * (timestamp / caf->frames_per_packet); pos 427 libavformat/cafdec.c pos = FFMIN(pos, caf->data_size); pos 428 libavformat/cafdec.c packet_cnt = pos / caf->bytes_per_packet; pos 433 libavformat/cafdec.c pos = st->index_entries[packet_cnt].pos; pos 438 libavformat/cafdec.c if (avio_seek(s->pb, pos + caf->data_start, SEEK_SET) < 0) pos 76 libavformat/cdg.c pkt->pts= pkt->pos / CDG_PACKET_SIZE; pos 113 libavformat/cdxl.c int64_t pos; pos 119 libavformat/cdxl.c pos = avio_tell(pb); pos 174 libavformat/cdxl.c pkt->pos = pos; pos 215 libavformat/cdxl.c pkt->pos = pos; pos 294 libavformat/cinedec.c avio_seek(pb, st->index_entries[cine->pts].pos, SEEK_SET); pos 156 libavformat/concat.c static int64_t concat_seek(URLContext *h, int64_t pos, int whence) pos 167 libavformat/concat.c for (i = data->length - 1; i && pos < -nodes[i].size; i--) pos 168 libavformat/concat.c pos += nodes[i].size; pos 173 libavformat/concat.c pos += nodes[i].size; pos 174 libavformat/concat.c pos += ffurl_seek(nodes[i].uc, 0, SEEK_CUR); pos 178 libavformat/concat.c for (i = 0; i != data->length - 1 && pos >= nodes[i].size; i++) pos 179 libavformat/concat.c pos -= nodes[i].size; pos 185 libavformat/concat.c result = ffurl_seek(nodes[i].uc, pos, whence); pos 233 libavformat/crypto.c static int64_t crypto_seek(URLContext *h, int64_t pos, int whence) pos 253 libavformat/crypto.c pos = pos + c->position; pos 256 libavformat/crypto.c int64_t newpos = ffurl_seek( c->hd, pos, AVSEEK_SIZE ); pos 259 libavformat/crypto.c "Crypto: seek_end - can't get file size (pos=%lld)\r\n", (long long int)pos); pos 262 libavformat/crypto.c pos = newpos - pos; pos 266 libavformat/crypto.c int64_t newpos = ffurl_seek( c->hd, pos, AVSEEK_SIZE ); pos 283 libavformat/crypto.c block = pos/BLOCKSIZE; pos 306 libavformat/crypto.c if (pos - c->position) { pos 308 libavformat/crypto.c int len = pos - c->position; pos 107 libavformat/dashenc.c int64_t init_start_pos, pos; pos 478 libavformat/dashenc.c *range_length = avio_tell(os->ctx->pb) - os->pos; pos 602 libavformat/dashenc.c os->pos = os->init_range_length = range_length; pos 730 libavformat/dashenc.c int pos = 0; pos 734 libavformat/dashenc.c if (pos + 6 > outlen) { pos 745 libavformat/dashenc.c memcpy(&out[pos], "&", 5); pos 746 libavformat/dashenc.c pos += 5; pos 748 libavformat/dashenc.c memcpy(&out[pos], "<", 4); pos 749 libavformat/dashenc.c pos += 4; pos 751 libavformat/dashenc.c memcpy(&out[pos], ">", 4); pos 752 libavformat/dashenc.c pos += 4; pos 754 libavformat/dashenc.c memcpy(&out[pos], "'", 6); pos 755 libavformat/dashenc.c pos += 6; pos 757 libavformat/dashenc.c memcpy(&out[pos], """, 6); pos 758 libavformat/dashenc.c pos += 6; pos 760 libavformat/dashenc.c out[pos++] = *str; pos 763 libavformat/dashenc.c out[pos] = '\0'; pos 1776 libavformat/dashenc.c int64_t pos, int *index_length) pos 1785 libavformat/dashenc.c if (avio_seek(pb, pos, SEEK_SET) != pos) { pos 1940 libavformat/dashenc.c find_index_range(s, os->full_path, os->pos, &index_length); pos 1966 libavformat/dashenc.c add_segment(os, os->filename, os->start_pts, os->max_pts - os->start_pts, os->pos, range_length, index_length, next_exp_index); pos 1969 libavformat/dashenc.c os->pos += range_length; pos 2131 libavformat/dashenc.c pkt->pts, pkt->dts, pkt->pos); pos 30 libavformat/data_uri.c size_t pos; pos 104 libavformat/data_uri.c if (dc->pos >= dc->size) pos 106 libavformat/data_uri.c size = FFMIN(size, dc->size - dc->pos); pos 107 libavformat/data_uri.c memcpy(buf, dc->data + dc->pos, size); pos 108 libavformat/data_uri.c dc->pos += size; pos 427 libavformat/dhav.c pkt->pos = dhav->last_good_pos; pos 444 libavformat/dhav.c if (avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET) < 0) pos 153 libavformat/dsfdec.c int64_t pos = avio_tell(pb); pos 156 libavformat/dsfdec.c if (pos >= dsf->data_end) pos 160 libavformat/dsfdec.c int last_packet = pos == (dsf->data_end - st->codecpar->block_align); pos 163 libavformat/dsfdec.c int64_t data_pos = pos - s->internal->data_offset; pos 184 libavformat/dsfdec.c pkt->pos = pos; pos 186 libavformat/dsfdec.c pkt->pts = (pos - s->internal->data_offset) / st->codecpar->channels; pos 191 libavformat/dsfdec.c ret = av_get_packet(pb, pkt, FFMIN(dsf->data_end - pos, st->codecpar->block_align)); pos 196 libavformat/dsfdec.c pkt->pts = (pos - s->internal->data_offset) / st->codecpar->channels; pos 211 libavformat/dss.c int64_t pos = avio_tell(s->pb); pos 230 libavformat/dss.c pkt->pos = pos; pos 268 libavformat/dss.c int64_t pos = avio_tell(s->pb); pos 286 libavformat/dss.c pkt->pos = pos; pos 38 libavformat/dtsdec.c int sum, max, pos, ret, i; pos 43 libavformat/dtsdec.c for (pos = FFMIN(4096, p->buf_size); pos < p->buf_size - 2; pos += 2) { pos 48 libavformat/dtsdec.c bufp = buf = p->buf + pos; pos 51 libavformat/dtsdec.c if (pos >= 4) { pos 60 libavformat/dtsdec.c if (pos < exss_nextpos) pos 73 libavformat/dtsdec.c if (pos - 2 + hdr_size > p->buf_size) pos 78 libavformat/dtsdec.c if (pos == exss_nextpos) pos 82 libavformat/dtsdec.c exss_nextpos = pos + framesize; pos 365 libavformat/dv.c uint8_t *buf, int buf_size, int64_t pos) pos 380 libavformat/dv.c c->audio_pkt[i].pos = pos; pos 406 libavformat/dv.c pkt->pos = pos; pos 462 libavformat/dv.c int64_t pos = avio_tell(s->pb); pos 490 libavformat/dv.c avio_seek(s->pb, pos, SEEK_SET); pos 562 libavformat/dv.c int64_t pos = avio_tell(s->pb); pos 573 libavformat/dv.c size = avpriv_dv_produce_packet(c->dv_demux, pkt, c->buf, size, pos); pos 250 libavformat/file.c static int64_t file_seek(URLContext *h, int64_t pos, int whence) pos 261 libavformat/file.c ret = lseek(c->fd, pos, whence); pos 145 libavformat/fitsdec.c int64_t pos, ret; pos 161 libavformat/fitsdec.c pos = avio_skip(s->pb, size); pos 162 libavformat/fitsdec.c if (pos < 0) pos 163 libavformat/fitsdec.c return pos; pos 44 libavformat/flacdec.c st->index_entries[i].pos += metadata_head_size; pos 162 libavformat/flacdec.c int64_t pos = bytestream_get_be64(&seekpoint); pos 165 libavformat/flacdec.c av_add_index_entry(st, pos, timestamp, 0, 0, AVINDEX_KEYFRAME); pos 313 libavformat/flacdec.c int64_t pos; pos 326 libavformat/flacdec.c pos = avio_seek(s->pb, e.pos, SEEK_SET); pos 327 libavformat/flacdec.c if (pos >= 0) { pos 223 libavformat/flic.c pkt->pos = avio_tell(pb); pos 239 libavformat/flic.c pkt->pos = avio_tell(pb); pos 56 libavformat/flvdec.c int64_t pos; pos 463 libavformat/flvdec.c flv->validate_index[i].pos = filepositions[i]; pos 824 libavformat/flvdec.c static void clear_index_entries(AVFormatContext *s, int64_t pos) pos 834 libavformat/flvdec.c if (st->index_entries[j].pos < pos) pos 952 libavformat/flvdec.c int64_t pos = avio_tell(s->pb); pos 960 libavformat/flvdec.c if (i >= 8 && pos) { pos 980 libavformat/flvdec.c avio_seek(s->pb, pos + i - lsize1 - lsize2 - 8, SEEK_SET); pos 996 libavformat/flvdec.c int64_t next, pos, meta_pos; pos 1006 libavformat/flvdec.c pos = avio_tell(s->pb); pos 1020 libavformat/flvdec.c int64_t validate_pos = flv->validate_index[flv->validate_next].pos; pos 1021 libavformat/flvdec.c if (pos == validate_pos) { pos 1029 libavformat/flvdec.c } else if (pos > validate_pos) { pos 1060 libavformat/flvdec.c flv->validate_index[0].pos > next && pos 1061 libavformat/flvdec.c flv->validate_index[0].pos - 4 < next pos 1064 libavformat/flvdec.c next = flv->validate_index[0].pos - 4; pos 1127 libavformat/flvdec.c if (flv->time_pos <= pos) { pos 1134 libavformat/flvdec.c av_add_index_entry(st, pos, dts, size, 0, AVINDEX_KEYFRAME); pos 1151 libavformat/flvdec.c const int64_t pos = avio_tell(s->pb); pos 1174 libavformat/flvdec.c avio_seek(s->pb, pos, SEEK_SET); pos 1284 libavformat/flvdec.c pkt->pos = pos; pos 1316 libavformat/flvdec.c avio_seek(s->pb, pos + 1, SEEK_SET); pos 495 libavformat/flvenc.c int64_t pos; pos 502 libavformat/flvenc.c pos = avio_tell(pb); pos 542 libavformat/flvenc.c data_size = avio_tell(pb) - pos; pos 550 libavformat/flvenc.c static int flv_append_keyframe_info(AVFormatContext *s, FLVContext *flv, double ts, int64_t pos) pos 560 libavformat/flvenc.c position->keyframe_position = pos; pos 583 libavformat/flvenc.c int64_t pos, pos_end = avio_tell(s->pb); /* Save the pre-shift size. */ pos 628 libavformat/flvenc.c pos = avio_tell(read_pb); pos 643 libavformat/flvenc.c pos += n; pos 644 libavformat/flvenc.c } while (pos <= pos_end); pos 1061 libavformat/flvenc.c int64_t pos = cur_offset; pos 1064 libavformat/flvenc.c flv->lastkeyframelocation = pos; pos 1065 libavformat/flvenc.c ret = flv_append_keyframe_info(s, flv, ts, pos); pos 169 libavformat/fsb.c int64_t pos; pos 175 libavformat/fsb.c pos = avio_tell(s->pb); pos 197 libavformat/fsb.c pkt->pos = pos; pos 458 libavformat/ftp.c static int ftp_restart(FTPContext *s, int64_t pos) pos 463 libavformat/ftp.c snprintf(command, sizeof(command), "REST %"PRId64"\r\n", pos); pos 756 libavformat/ftp.c static int64_t ftp_seek(URLContext *h, int64_t pos, int whence) pos 762 libavformat/ftp.c ff_dlog(h, "ftp protocol seek %"PRId64" %d\n", pos, whence); pos 768 libavformat/ftp.c new_pos = pos; pos 771 libavformat/ftp.c new_pos = s->position + pos; pos 776 libavformat/ftp.c new_pos = s->filesize + pos; pos 58 libavformat/g723_1.c pkt->pos = avio_tell(s->pb); pos 77 libavformat/g729dec.c pkt->dts = pkt->pts = pkt->pos / st->codecpar->block_align; pos 60 libavformat/gsmdec.c pkt->pos = avio_tell(s->pb); pos 68 libavformat/gsmdec.c pkt->pts = pkt->pos / GSM_BLOCK_SIZE; pos 564 libavformat/gxf.c uint64_t pos; pos 575 libavformat/gxf.c pos = st->index_entries[idx].pos; pos 577 libavformat/gxf.c maxlen = st->index_entries[idx + 2].pos - pos; pos 579 libavformat/gxf.c res = avio_seek(s->pb, pos, SEEK_SET); pos 589 libavformat/gxf.c int64_t *pos, int64_t pos_limit) { pos 592 libavformat/gxf.c if (avio_seek(pb, *pos, SEEK_SET) < 0) pos 594 libavformat/gxf.c res = gxf_resync_media(s, pos_limit - *pos, -1, -1); pos 595 libavformat/gxf.c *pos = avio_tell(pb); pos 142 libavformat/gxfenc.c static int64_t updatePacketSize(AVIOContext *pb, int64_t pos) pos 147 libavformat/gxfenc.c size = avio_tell(pb) - pos; pos 150 libavformat/gxfenc.c size = avio_tell(pb) - pos; pos 153 libavformat/gxfenc.c avio_seek(pb, pos + 6, SEEK_SET); pos 156 libavformat/gxfenc.c return curpos - pos; pos 159 libavformat/gxfenc.c static int64_t updateSize(AVIOContext *pb, int64_t pos) pos 164 libavformat/gxfenc.c avio_seek(pb, pos, SEEK_SET); pos 165 libavformat/gxfenc.c avio_wb16(pb, curpos - pos - 2); pos 167 libavformat/gxfenc.c return curpos - pos; pos 251 libavformat/gxfenc.c int64_t pos; pos 257 libavformat/gxfenc.c pos = avio_tell(pb); pos 305 libavformat/gxfenc.c return updateSize(pb, pos); pos 312 libavformat/gxfenc.c int64_t pos; pos 316 libavformat/gxfenc.c pos = avio_tell(pb); pos 356 libavformat/gxfenc.c return updateSize(pb, pos); pos 363 libavformat/gxfenc.c int64_t pos; pos 366 libavformat/gxfenc.c pos = avio_tell(pb); pos 373 libavformat/gxfenc.c return updateSize(pb, pos); pos 380 libavformat/gxfenc.c int64_t pos = avio_tell(pb); pos 393 libavformat/gxfenc.c gxf->map_offsets[gxf->map_offsets_nb++] = pos; // do not increment here pos 405 libavformat/gxfenc.c return updatePacketSize(pb, pos); pos 412 libavformat/gxfenc.c int64_t pos = avio_tell(pb); pos 430 libavformat/gxfenc.c return updatePacketSize(pb, pos); pos 503 libavformat/gxfenc.c int64_t pos = avio_tell(pb); pos 506 libavformat/gxfenc.c gxf->umf_track_offset = pos - gxf->umf_start_offset; pos 516 libavformat/gxfenc.c return avio_tell(pb) - pos; pos 587 libavformat/gxfenc.c int64_t pos; pos 590 libavformat/gxfenc.c pos = avio_tell(pb); pos 591 libavformat/gxfenc.c gxf->umf_media_offset = pos - gxf->umf_start_offset; pos 642 libavformat/gxfenc.c return avio_tell(pb) - pos; pos 649 libavformat/gxfenc.c int64_t pos = avio_tell(pb); pos 663 libavformat/gxfenc.c return updatePacketSize(pb, pos); pos 840 libavformat/gxfenc.c int64_t pos = avio_tell(pb); pos 843 libavformat/gxfenc.c return updatePacketSize(pb, pos); pos 946 libavformat/gxfenc.c int64_t pos = avio_tell(pb); pos 976 libavformat/gxfenc.c updatePacketSize(pb, pos); pos 208 libavformat/hdsenc.c static void update_size(AVIOContext *out, int64_t pos) pos 211 libavformat/hdsenc.c avio_seek(out, pos, SEEK_SET); pos 212 libavformat/hdsenc.c avio_wb32(out, end - pos); pos 306 libavformat/hdsenc.c int64_t pos = avio_tell(os->out); pos 308 libavformat/hdsenc.c avio_wb32(os->out, pos); pos 1639 libavformat/hls.c int64_t pos = c->first_timestamp == AV_NOPTS_VALUE ? pos 1642 libavformat/hls.c if (timestamp < pos) { pos 1648 libavformat/hls.c int64_t diff = pos + pls->segments[i]->duration - timestamp; pos 1653 libavformat/hls.c pos += pls->segments[i]->duration; pos 2324 libavformat/hls.c pls->pb.pos = 0; pos 79 libavformat/hlsenc.c int64_t pos; pos 902 libavformat/hlsenc.c double duration, int64_t pos, int64_t size) pos 913 libavformat/hlsenc.c if (replace_int_data_in_filename(&filename, vs->avf->url, 's', pos + size) < 1) { pos 1039 libavformat/hlsenc.c VariantStream *vs, double duration, int64_t pos, pos 1051 libavformat/hlsenc.c ret = sls_flags_filename_process(s, hls, vs, en, duration, pos, size); pos 1074 libavformat/hlsenc.c en->pos = pos; pos 1527 libavformat/hlsenc.c en->size, en->pos, hls->baseurl, pos 1548 libavformat/hlsenc.c en->duration, 0, en->size, en->pos, pos 123 libavformat/hlsplaylist.c int byterange_mode, int64_t size, int64_t pos) pos 127 libavformat/hlsplaylist.c avio_printf(out, ",BYTERANGE=\"%"PRId64"@%"PRId64"\"", size, pos); pos 135 libavformat/hlsplaylist.c int64_t pos /* Used only if HLS_SINGLE_FILE flag is set */, pos 153 libavformat/hlsplaylist.c iframe_mode ? video_keyframe_pos : pos); pos 54 libavformat/hlsplaylist.h int byterange_mode, int64_t size, int64_t pos); pos 58 libavformat/hlsplaylist.h int64_t pos /* Used only if HLS_SINGLE_FILE flag is set */, pos 1549 libavformat/http.c int pos = 0; pos 1550 libavformat/http.c while (pos < size) { pos 1551 libavformat/http.c int len = http_read_stream(h, buf + pos, size - pos); pos 1554 libavformat/http.c pos += len; pos 1556 libavformat/http.c return pos; pos 223 libavformat/idroqdec.c pkt->pos= avio_tell(pb); pos 383 libavformat/iff.c pkt->pos = chunk_pos; pos 826 libavformat/iff.c int64_t pos = avio_tell(pb); pos 830 libavformat/iff.c if (st->codecpar->codec_tag != ID_ANIM && pos >= iff->body_end) pos 835 libavformat/iff.c ret = av_get_packet(pb, pkt, FFMIN(iff->body_end - pos, 1024 * st->codecpar->block_align)); pos 869 libavformat/iff.c pkt->pos = orig_pos; pos 871 libavformat/iff.c if (pos == 12) pos 876 libavformat/iff.c pkt->pos = pos; pos 877 libavformat/iff.c if (pos == iff->body_pos) pos 58 libavformat/ifv.c int64_t pos, size, timestamp; pos 73 libavformat/ifv.c pos = avio_rl32(s->pb); pos 79 libavformat/ifv.c ret = av_add_index_entry(st, pos, timestamp, size, 0, 0); pos 259 libavformat/ifv.c avio_seek(s->pb, e_next->pos, SEEK_SET); pos 273 libavformat/ifv.c pkt->pos = e_next->pos; pos 106 libavformat/ilbc.c pkt->pos = avio_tell(s->pb); pos 512 libavformat/img2dec.c pkt->pos = avio_tell(f[0]); pos 531 libavformat/img2dec.c pkt->pos = 0; pos 590 libavformat/img2dec.c s1->img_number = st->index_entries[index].pos; pos 387 libavformat/internal.h int64_t pos, int64_t timestamp, int size, int distance, int flags); pos 434 libavformat/internal.h int ff_find_last_ts(AVFormatContext *s, int stream_index, int64_t *ts, int64_t *pos, pos 191 libavformat/ipmovie.c pkt->pos = s->video_chunk_offset; pos 202 libavformat/ipmovie.c pkt->pos = s->decode_map_chunk_offset; pos 214 libavformat/ipmovie.c pkt->pos = s->skip_map_chunk_offset; pos 90 libavformat/iv8.c pkt->pos -= 16; pos 79 libavformat/ivfdec.c pkt->pos -= 12; pos 181 libavformat/jacosubdec.c int64_t pos = avio_tell(pb); pos 195 libavformat/jacosubdec.c sub->pos = pos; pos 128 libavformat/jvdec.c e->pos = offset; pos 249 libavformat/jvdec.c if (avio_seek(s->pb, ast->index_entries[i].pos, SEEK_SET) < 0) pos 136 libavformat/libsmbclient.c static int64_t libsmbc_seek(URLContext *h, int64_t pos, int whence) pos 149 libavformat/libsmbclient.c if ((newpos = smbc_lseek(libsmbc->fd, pos, whence)) < 0) { pos 250 libavformat/libssh.c static int64_t libssh_seek(URLContext *h, int64_t pos, int whence) pos 264 libavformat/libssh.c newpos = pos; pos 267 libavformat/libssh.c newpos = sftp_tell64(libssh->file) + pos; pos 270 libavformat/libssh.c newpos = libssh->filesize + pos; pos 104 libavformat/lrcdec.c int64_t pos = avio_tell(pb); pos 116 libavformat/lrcdec.c return pos; pos 173 libavformat/lrcdec.c int64_t pos = read_line(&line, s->pb); pos 208 libavformat/lrcdec.c sub->pos = pos; pos 107 libavformat/lvfdec.c int64_t pos; pos 110 libavformat/lvfdec.c pos = avio_tell(s->pb); pos 131 libavformat/lvfdec.c pkt->pos = pos; pos 121 libavformat/matroskadec.c int64_t pos; pos 280 libavformat/matroskadec.c uint64_t pos; pos 285 libavformat/matroskadec.c EbmlList pos; pos 311 libavformat/matroskadec.c uint64_t pos; pos 332 libavformat/matroskadec.c int64_t pos; pos 336 libavformat/matroskadec.c int64_t pos; pos 635 libavformat/matroskadec.c { MATROSKA_ID_CUECLUSTERPOSITION, EBML_UINT, 0, offsetof(MatroskaIndexPos, pos) }, pos 644 libavformat/matroskadec.c { MATROSKA_ID_CUETRACKPOSITION, EBML_NEST, sizeof(MatroskaIndexPos), offsetof(MatroskaIndex, pos), { .n = matroska_index_pos } }, pos 685 libavformat/matroskadec.c { MATROSKA_ID_SEEKPOSITION, EBML_UINT, 0, offsetof(MatroskaSeekhead, pos), { .u = -1 } }, pos 849 libavformat/matroskadec.c int64_t pos; pos 860 libavformat/matroskadec.c pos = avio_tell(pb) - 1; pos 864 libavformat/matroskadec.c "of an EBML number\n", pos, pos); pos 869 libavformat/matroskadec.c read, (uint8_t) total, pos, pos, max_size); pos 889 libavformat/matroskadec.c pos = avio_tell(pb); pos 893 libavformat/matroskadec.c pos, pos); pos 898 libavformat/matroskadec.c "at pos. %"PRIu64" (0x%"PRIx64")\n", pos, pos); pos 1002 libavformat/matroskadec.c int64_t pos, EbmlBin *bin) pos 1013 libavformat/matroskadec.c bin->pos = pos; pos 1030 libavformat/matroskadec.c uint64_t length, int64_t pos) pos 1041 libavformat/matroskadec.c level->start = pos; pos 1139 libavformat/matroskadec.c uint32_t id, int64_t pos) pos 1154 libavformat/matroskadec.c if (matroska->level1_elems[i].pos == pos || pos 1191 libavformat/matroskadec.c int64_t pos = avio_tell(pb), pos_alt; pos 1204 libavformat/matroskadec.c if (level && pos == avio_tell(pb)) { pos 1211 libavformat/matroskadec.c "at pos. %"PRIu64" (0x%"PRIx64")\n", pos, pos); pos 1218 libavformat/matroskadec.c pos_alt = pos + res; pos 1220 libavformat/matroskadec.c pos_alt = pos; pos 1221 libavformat/matroskadec.c pos -= (av_log2(matroska->current_id) + 7) / 8; pos 1241 libavformat/matroskadec.c "%"PRId64"\n", id, pos); pos 1286 libavformat/matroskadec.c pos, elem_end, level_end); pos 1293 libavformat/matroskadec.c "at 0x%"PRIx64" inside parent with finite size\n", pos); pos 1305 libavformat/matroskadec.c "parsing will nevertheless be attempted.\n", id, pos); pos 1317 libavformat/matroskadec.c length, max_lengths[syntax->type], id, pos); pos 1322 libavformat/matroskadec.c "type must be known.\n", id, pos); pos 1327 libavformat/matroskadec.c "available.\n", id, pos); pos 1367 libavformat/matroskadec.c " in a row\n", id, pos, length, matroska->resync_pos, pos 1378 libavformat/matroskadec.c matroska->resync_pos = pos; pos 1411 libavformat/matroskadec.c (level1_elem = matroska_find_level1_elem(matroska, syntax->id, pos))) { pos 1412 libavformat/matroskadec.c if (!level1_elem->pos) { pos 1414 libavformat/matroskadec.c level1_elem->pos = pos; pos 1415 libavformat/matroskadec.c } else if (level1_elem->pos != pos) pos 1472 libavformat/matroskadec.c pos = avio_tell(pb); pos 1476 libavformat/matroskadec.c while (matroska->num_levels && pos == level->start + level->length) { pos 1822 libavformat/matroskadec.c int64_t pos) pos 1829 libavformat/matroskadec.c if (avio_seek(matroska->ctx->pb, pos, SEEK_SET) == pos) { pos 1868 libavformat/matroskadec.c int64_t pos = seekheads[i].pos + matroska->segment_start; pos 1871 libavformat/matroskadec.c if (id != seekheads[i].id || pos < matroska->segment_start) pos 1874 libavformat/matroskadec.c elem = matroska_find_level1_elem(matroska, id, pos); pos 1878 libavformat/matroskadec.c elem->pos = pos; pos 1884 libavformat/matroskadec.c if (matroska_parse_seekhead_entry(matroska, pos) < 0) { pos 1913 libavformat/matroskadec.c EbmlList *pos_list = &index[i].pos; pos 1914 libavformat/matroskadec.c MatroskaIndexPos *pos = pos_list->elem; pos 1917 libavformat/matroskadec.c pos[j].track); pos 1920 libavformat/matroskadec.c pos[j].pos + matroska->segment_start, pos 1936 libavformat/matroskadec.c if (matroska_parse_seekhead_entry(matroska, elem->pos) < 0) pos 2838 libavformat/matroskadec.c int64_t pos; pos 2879 libavformat/matroskadec.c pos = avio_tell(matroska->ctx->pb); pos 2883 libavformat/matroskadec.c res = matroska_resync(matroska, pos); pos 2886 libavformat/matroskadec.c pos = avio_tell(matroska->ctx->pb); pos 3122 libavformat/matroskadec.c int64_t pos) pos 3184 libavformat/matroskadec.c pkt->pos = pos; pos 3308 libavformat/matroskadec.c int64_t pos) pos 3406 libavformat/matroskadec.c pkt->pos = pos; pos 3421 libavformat/matroskadec.c int64_t pos, int is_keyframe, pos 3508 libavformat/matroskadec.c pkt->pos = pos; pos 3535 libavformat/matroskadec.c int size, int64_t pos, uint64_t cluster_time, pos 3650 libavformat/matroskadec.c timecode, pos); pos 3659 libavformat/matroskadec.c pos); pos 3667 libavformat/matroskadec.c pos, !n ? is_keyframe : 0, pos 3695 libavformat/matroskadec.c cluster->pos = avio_tell(matroska->ctx->pb) - 4; pos 3713 libavformat/matroskadec.c block->bin.size, block->bin.pos, pos 3716 libavformat/matroskadec.c block->additional.size, cluster->pos, pos 3777 libavformat/matroskadec.c matroska_reset_status(matroska, 0, st->index_entries[st->nb_index_entries - 1].pos); pos 3798 libavformat/matroskadec.c matroska_reset_status(matroska, 0, st->index_entries[index].pos); pos 3864 libavformat/matroskadec.c cue_desc.start_offset = index_entries[i].pos - matroska->segment_start; pos 3867 libavformat/matroskadec.c cue_desc.end_offset = index_entries[i + 1].pos - matroska->segment_start; pos 3888 libavformat/matroskadec.c cluster_pos = s->streams[0]->index_entries[index].pos; pos 4110 libavformat/matroskadec.c cues_start = seekhead[i].pos + matroska->segment_start; pos 71 libavformat/matroskaenc.c int64_t pos; ///< absolute offset in the containing AVIOContext where the master's elements start pos 77 libavformat/matroskaenc.c int64_t pos; pos 348 libavformat/matroskaenc.c int64_t pos = avio_tell(pb); pos 350 libavformat/matroskaenc.c if (avio_seek(pb, master.pos - master.sizebytes, SEEK_SET) < 0) pos 352 libavformat/matroskaenc.c put_ebml_length(pb, pos - master.pos, master.sizebytes); pos 353 libavformat/matroskaenc.c avio_seek(pb, pos, SEEK_SET); pos 428 libavformat/matroskaenc.c elem->pos = avio_tell(pb); pos 429 libavformat/matroskaenc.c mkv_add_seekhead_entry(mkv, id, elem->pos); pos 2551 libavformat/matroskaenc.c ret = mkv_write_seekhead(pb, mkv, 1, mkv->info.pos); pos 2568 libavformat/matroskaenc.c avio_seek(pb, mkv->track.pos, SEEK_SET); pos 2599 libavformat/matroskaenc.c avio_seek(pb, mkv->tags.pos, SEEK_SET); pos 92 libavformat/mgsts.c pkt->pos -= 16; pos 94 libavformat/microdvddec.c int64_t pos = avio_tell(s->pb); pos 149 libavformat/microdvddec.c sub->pos = pos; pos 383 libavformat/mlvdec.c avio_seek(pb, FFMIN(vst->index_entries[0].pos, ast->index_entries[0].pos), SEEK_SET); pos 385 libavformat/mlvdec.c avio_seek(pb, vst->index_entries[0].pos, SEEK_SET); pos 387 libavformat/mlvdec.c avio_seek(pb, ast->index_entries[0].pos, SEEK_SET); pos 414 libavformat/mlvdec.c avio_seek(pb, st->index_entries[index].pos, SEEK_SET); pos 58 libavformat/mmf.c int64_t pos; pos 60 libavformat/mmf.c pos = avio_tell(pb); pos 62 libavformat/mmf.c avio_wb32(pb, (uint32_t)(pos - start)); pos 63 libavformat/mmf.c avio_seek(pb, pos, SEEK_SET); pos 70 libavformat/mmf.c int64_t pos; pos 94 libavformat/mmf.c pos = ff_start_tag(pb, "CNTI"); pos 100 libavformat/mmf.c end_tag_be(pb, pos); pos 102 libavformat/mmf.c pos = ff_start_tag(pb, "OPDA"); pos 104 libavformat/mmf.c end_tag_be(pb, pos); pos 145 libavformat/mmf.c int64_t pos, size; pos 154 libavformat/mmf.c pos = avio_tell(pb); pos 155 libavformat/mmf.c size = pos - mmf->awapos; pos 173 libavformat/mmf.c avio_seek(pb, pos, SEEK_SET); pos 31 libavformat/mms.c char *pos; pos 35 libavformat/mms.c pos = mms->asf_header + mms->asf_header_read_size; pos 36 libavformat/mms.c memcpy(buf, pos, size_to_copy); pos 213 libavformat/mmsh.c static int mmsh_open_internal(URLContext *h, const char *uri, int flags, int timestamp, int64_t pos) pos 401 libavformat/mmsh.c static int64_t mmsh_seek(URLContext *h, int64_t pos, int whence) pos 406 libavformat/mmsh.c if(pos == 0 && whence == SEEK_CUR) pos 3283 libavformat/mov.c static int64_t add_index_entry(AVStream *st, int64_t pos, int64_t timestamp, pos 3311 libavformat/mov.c ie->pos = pos; pos 3699 libavformat/mov.c if (add_index_entry(st, current->pos, edit_list_dts_counter, current->size, pos 3941 libavformat/mov.c e->pos = current_offset; pos 4073 libavformat/mov.c e->pos = current_offset; pos 4955 libavformat/mov.c st->index_entries[index_entry_pos].pos = offset; pos 7191 libavformat/mov.c if (avio_seek(sc->pb, sample->pos, SEEK_SET) != sample->pos) { pos 7219 libavformat/mov.c if (avio_seek(sc->pb, sample->pos, SEEK_SET) != sample->pos) { pos 7285 libavformat/mov.c avio_seek(sc->pb, st->index_entries->pos, SEEK_SET); pos 7310 libavformat/mov.c avio_seek(sc->pb, st->index_entries->pos, SEEK_SET); pos 7459 libavformat/mov.c int64_t pos = avio_tell(f); pos 7507 libavformat/mov.c avio_seek(f, pos + size, SEEK_SET); pos 7779 libavformat/mov.c if (!sample || (!(s->pb->seekable & AVIO_SEEKABLE_NORMAL) && current_sample->pos < sample->pos) || pos 7782 libavformat/mov.c ((FFABS(best_dts - dts) <= AV_TIME_BASE && current_sample->pos < sample->pos) || pos 7870 libavformat/mov.c if (!sample || (mov->next_root_atom && sample->pos > mov->next_root_atom)) { pos 7883 libavformat/mov.c sample->pos = FFMIN(sample->pos, mov->next_root_atom); pos 7884 libavformat/mov.c sample->size = FFMIN(sample->size, (mov->next_root_atom - sample->pos)); pos 7888 libavformat/mov.c int64_t ret64 = avio_seek(sc->pb, sample->pos, SEEK_SET); pos 7889 libavformat/mov.c if (ret64 != sample->pos) { pos 7891 libavformat/mov.c sc->ffindex, sample->pos); pos 7913 libavformat/mov.c ret = avpriv_dv_produce_packet(mov->dv_demux, pkt, pkt->data, pkt->size, pkt->pos); pos 7970 libavformat/mov.c pkt->pos = sample->pos; pos 135 libavformat/movenc.c static int64_t update_size(AVIOContext *pb, int64_t pos) pos 138 libavformat/movenc.c avio_seek(pb, pos, SEEK_SET); pos 139 libavformat/movenc.c avio_wb32(pb, curpos - pos); /* rewrite size */ pos 142 libavformat/movenc.c return curpos - pos; pos 147 libavformat/movenc.c if (track->entry > 0 && track->cluster[track->entry - 1].pos + track->data_offset > UINT32_MAX) pos 173 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 185 libavformat/movenc.c avio_wb64(pb, track->cluster[i].pos + track->data_offset); pos 187 libavformat/movenc.c avio_wb32(pb, track->cluster[i].pos + track->data_offset); pos 189 libavformat/movenc.c return update_size(pb, pos); pos 198 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 225 libavformat/movenc.c return update_size(pb, pos); pos 234 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 254 libavformat/movenc.c return update_size(pb, pos); pos 262 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 278 libavformat/movenc.c return update_size(pb, pos); pos 286 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 302 libavformat/movenc.c return update_size(pb, pos); pos 639 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 690 libavformat/movenc.c return update_size(pb, pos); pos 712 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 718 libavformat/movenc.c return update_size(pb, pos); pos 724 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 729 libavformat/movenc.c return update_size(pb, pos); pos 734 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 749 libavformat/movenc.c return update_size(pb, pos); pos 754 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 772 libavformat/movenc.c return update_size(pb, pos); pos 777 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 801 libavformat/movenc.c return update_size(pb, pos); pos 807 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 829 libavformat/movenc.c return update_size(pb, pos); pos 834 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 872 libavformat/movenc.c return update_size(pb, pos); pos 1054 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 1200 libavformat/movenc.c ret = update_size(pb, pos); pos 1218 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 1223 libavformat/movenc.c return update_size(pb, pos); pos 1228 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 1233 libavformat/movenc.c return update_size(pb, pos); pos 1238 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 1245 libavformat/movenc.c return update_size(pb, pos); pos 1250 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 1258 libavformat/movenc.c return update_size(pb, pos); pos 1715 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 1727 libavformat/movenc.c return update_size(pb, pos); pos 1901 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 1944 libavformat/movenc.c return update_size(pb, pos); pos 2030 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2209 libavformat/movenc.c return update_size(pb, pos); pos 2214 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2229 libavformat/movenc.c return update_size(pb, pos); pos 2235 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2248 libavformat/movenc.c return update_size(pb,pos); pos 2253 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2304 libavformat/movenc.c return update_size(pb, pos); pos 2309 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2316 libavformat/movenc.c return update_size(pb, pos); pos 2321 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2343 libavformat/movenc.c return update_size(pb, pos); pos 2544 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2577 libavformat/movenc.c return update_size(pb, pos); pos 2582 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2586 libavformat/movenc.c return update_size(pb, pos); pos 2599 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2616 libavformat/movenc.c return update_size(pb, pos); pos 2621 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2668 libavformat/movenc.c return update_size(pb, pos); pos 2700 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2769 libavformat/movenc.c return update_size(pb, pos); pos 2789 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2819 libavformat/movenc.c return update_size(pb, pos); pos 2882 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 2891 libavformat/movenc.c return update_size(pb, pos); pos 3033 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3056 libavformat/movenc.c return update_size(pb, pos); pos 3199 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3207 libavformat/movenc.c return update_size(pb, pos); pos 3240 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3287 libavformat/movenc.c return update_size(pb, pos); pos 3293 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3316 libavformat/movenc.c return update_size(pb, pos); pos 3334 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3340 libavformat/movenc.c return update_size(pb, pos); pos 3445 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3449 libavformat/movenc.c size = update_size(pb, pos); pos 3512 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3556 libavformat/movenc.c return update_size(pb, pos); pos 3617 libavformat/movenc.c int64_t pos = 0; pos 3626 libavformat/movenc.c if (!pos) { pos 3627 libavformat/movenc.c pos = avio_tell(pb); pos 3638 libavformat/movenc.c return pos ? update_size(pb, pos) : 0; pos 3645 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3679 libavformat/movenc.c return update_size(pb, pos); pos 3701 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3722 libavformat/movenc.c return update_size(pb, pos); pos 3729 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3743 libavformat/movenc.c return update_size(pb, pos); pos 3751 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3765 libavformat/movenc.c size = update_size(pb, pos); pos 3810 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3826 libavformat/movenc.c return update_size(pb, pos); pos 3831 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 3852 libavformat/movenc.c return update_size(pb, pos); pos 3929 libavformat/movenc.c int64_t pos, pos2; pos 3932 libavformat/movenc.c pos = avio_tell(pb); pos 3958 libavformat/movenc.c return update_size(pb, pos); pos 3974 libavformat/movenc.c if (chunk->pos + chunkSize == trk->cluster[i].pos && pos 4037 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4106 libavformat/movenc.c return update_size(pb, pos); pos 4130 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4257 libavformat/movenc.c return update_size(pb, pos); pos 4278 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4338 libavformat/movenc.c return update_size(pb, pos); pos 4345 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4378 libavformat/movenc.c track->cluster[first].pos); /* data offset */ pos 4394 libavformat/movenc.c return update_size(pb, pos); pos 4399 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4415 libavformat/movenc.c return update_size(pb, pos); pos 4456 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4463 libavformat/movenc.c avio_seek(pb, pos, SEEK_SET); pos 4523 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4530 libavformat/movenc.c return update_size(pb, pos); pos 4537 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4546 libavformat/movenc.c if (track->cluster[i].pos != track->cluster[i - 1].pos + track->cluster[i - 1].size) { pos 4570 libavformat/movenc.c return update_size(pb, pos); pos 4576 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4590 libavformat/movenc.c mov_write_traf_tag(pb, mov, track, pos, moof_size); pos 4593 libavformat/movenc.c return update_size(pb, pos); pos 4599 libavformat/movenc.c int64_t pos = avio_tell(pb), offset_pos, end_pos; pos 4651 libavformat/movenc.c offset = pos + total_sidx_size - end_pos; pos 4655 libavformat/movenc.c return update_size(pb, pos); pos 4695 libavformat/movenc.c int64_t pos = avio_tell(pb), pts_us, ntp_ts; pos 4740 libavformat/movenc.c return update_size(pb, pos); pos 4777 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4796 libavformat/movenc.c return update_size(pb, pos); pos 4801 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4809 libavformat/movenc.c return update_size(pb, pos); pos 4820 libavformat/movenc.c avio_wb32(pb, avio_tell(pb) + 4 - pos); pos 4822 libavformat/movenc.c return update_size(pb, pos); pos 4877 libavformat/movenc.c int64_t pos = avio_tell(pb); pos 4937 libavformat/movenc.c return update_size(pb, pos); pos 5160 libavformat/movenc.c track->cluster[i].pos += offset; pos 5225 libavformat/movenc.c int64_t pos = avio_tell(s->pb); pos 5238 libavformat/movenc.c mov->tracks[i].data_offset = pos + moov_size + 8; pos 5612 libavformat/movenc.c trk->cluster[trk->entry].pos = avio_tell(pb) - size; pos 6800 libavformat/movenc.c int64_t pos, pos_end; pos 6837 libavformat/movenc.c pos = avio_tell(read_pb); pos 6853 libavformat/movenc.c pos += n; pos 6854 libavformat/movenc.c } while (pos < pos_end); pos 47 libavformat/movenc.h uint64_t pos; pos 282 libavformat/movenccenc.c static int64_t update_size(AVIOContext *pb, int64_t pos) pos 285 libavformat/movenccenc.c avio_seek(pb, pos, SEEK_SET); pos 286 libavformat/movenccenc.c avio_wb32(pb, curpos - pos); /* rewrite size */ pos 289 libavformat/movenccenc.c return curpos - pos; pos 295 libavformat/movenccenc.c int64_t pos = avio_tell(pb); pos 303 libavformat/movenccenc.c return update_size(pb, pos); pos 308 libavformat/movenccenc.c int64_t pos = avio_tell(pb); pos 322 libavformat/movenccenc.c return update_size(pb, pos); pos 327 libavformat/movenccenc.c int64_t pos = avio_tell(pb); pos 336 libavformat/movenccenc.c return update_size(pb, pos); pos 350 libavformat/movenccenc.c int64_t pos = avio_tell(pb); pos 361 libavformat/movenccenc.c return update_size(pb, pos); pos 366 libavformat/movenccenc.c int64_t pos = avio_tell(pb); pos 385 libavformat/movenccenc.c return update_size(pb, pos); pos 216 libavformat/movenchint.c HintSampleQueue *queue, int *pos, pos 228 libavformat/movenchint.c sample->size, pos, match_offset, match_len) == 0) { pos 289 libavformat/movenchint.c int match_sample, match_offset, match_len, pos; pos 290 libavformat/movenchint.c if (find_sample_match(data, size, queue, &pos, &match_sample, pos 293 libavformat/movenchint.c output_immediate(data, pos, out, entries); pos 294 libavformat/movenchint.c data += pos; pos 295 libavformat/movenchint.c size -= pos; pos 63 libavformat/mp3dec.c static int check(AVIOContext *pb, int64_t pos, uint32_t *header); pos 435 libavformat/mp3dec.c st->index_entries[i].pos += avio_tell(s->pb); pos 447 libavformat/mp3dec.c int64_t pos; pos 450 libavformat/mp3dec.c pos = avio_tell(s->pb); pos 451 libavformat/mp3dec.c if (mp3->filesize > ID3v1_TAG_SIZE && pos < mp3->filesize) pos 452 libavformat/mp3dec.c size= FFMIN(size, mp3->filesize - pos); pos 469 libavformat/mp3dec.c static int check(AVIOContext *pb, int64_t pos, uint32_t *ret_header) pos 471 libavformat/mp3dec.c int64_t ret = avio_seek(pb, pos, SEEK_SET); pos 510 libavformat/mp3dec.c int64_t pos = target_pos + (dir > 0 ? i - SEEK_WINDOW/4 : -i); pos 514 libavformat/mp3dec.c if (pos < 0) pos 518 libavformat/mp3dec.c ret = check(s->pb, pos, NULL); pos 523 libavformat/mp3dec.c av_log(s, AV_LOG_ERROR, "Could not seek to %"PRId64".\n", pos); pos 527 libavformat/mp3dec.c if ((target_pos - pos)*dir <= 0 && FFABS(MIN_VALID/2-j) < score) { pos 528 libavformat/mp3dec.c candidate = pos; pos 531 libavformat/mp3dec.c pos += ret; pos 578 libavformat/mp3dec.c ie->pos = av_rescale(timestamp, filesize, st->duration) + s->internal->data_offset; pos 583 libavformat/mp3dec.c best_pos = mp3_sync(s, ie->pos, flags); pos 121 libavformat/mp3enc.c uint32_t pos; pos 232 libavformat/mp3enc.c mp3->pos=0; pos 298 libavformat/mp3enc.c mp3->bag[mp3->pos] = mp3->size; pos 300 libavformat/mp3enc.c if (XING_NUM_BAGS == ++mp3->pos) { pos 308 libavformat/mp3enc.c mp3->pos = XING_NUM_BAGS / 2; pos 417 libavformat/mp3enc.c int j = i * mp3->pos / XING_TOC_SIZE; pos 35 libavformat/mpc.c int64_t pos; pos 112 libavformat/mpc.c int64_t pos = avio_tell(s->pb); pos 116 libavformat/mpc.c avio_seek(s->pb, pos, SEEK_SET); pos 127 libavformat/mpc.c int64_t pos; pos 133 libavformat/mpc.c avio_seek(s->pb, c->frames[c->curframe].pos, SEEK_SET); pos 139 libavformat/mpc.c pos = avio_tell(s->pb); pos 147 libavformat/mpc.c avio_seek(s->pb, pos, SEEK_SET); pos 151 libavformat/mpc.c c->frames[cur].pos = pos; pos 198 libavformat/mpc.c c->curframe = st->index_entries[index].pos; pos 126 libavformat/mpc8.c int64_t pos; pos 127 libavformat/mpc8.c pos = avio_tell(pb); pos 130 libavformat/mpc8.c *size -= avio_tell(pb) - pos; pos 137 libavformat/mpc8.c int64_t size, pos, ppos[2]; pos 176 libavformat/mpc8.c pos = gb_get_v(&gb) + c->header_pos; pos 177 libavformat/mpc8.c ppos[1 - i] = pos; pos 178 libavformat/mpc8.c av_add_index_entry(s->streams[0], pos, i, 0, 0, AVINDEX_KEYFRAME); pos 185 libavformat/mpc8.c pos = (t >> 1) + ppos[0]*2 - ppos[1]; pos 186 libavformat/mpc8.c av_add_index_entry(s->streams[0], pos, i << seekd, 0, 0, AVINDEX_KEYFRAME); pos 188 libavformat/mpc8.c ppos[0] = pos; pos 196 libavformat/mpc8.c int64_t pos, off; pos 200 libavformat/mpc8.c pos = avio_tell(pb) + size; pos 203 libavformat/mpc8.c avio_seek(pb, pos, SEEK_SET); pos 216 libavformat/mpc8.c int64_t size, pos; pos 225 libavformat/mpc8.c pos = avio_tell(pb); pos 233 libavformat/mpc8.c mpc8_handle_chunk(s, tag, pos, size); pos 239 libavformat/mpc8.c pos = avio_tell(pb); pos 264 libavformat/mpc8.c size -= avio_tell(pb) - pos; pos 269 libavformat/mpc8.c int64_t pos = avio_tell(s->pb); pos 271 libavformat/mpc8.c avio_seek(s->pb, pos, SEEK_SET); pos 281 libavformat/mpc8.c int64_t pos, size; pos 284 libavformat/mpc8.c pos = avio_tell(s->pb); pos 287 libavformat/mpc8.c if (c->apetag_start && pos >= c->apetag_start) pos 302 libavformat/mpc8.c mpc8_handle_chunk(s, tag, pos, size); pos 313 libavformat/mpc8.c if (avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET) < 0) pos 640 libavformat/mpeg.c pkt->pos = dummy_pos; pos 655 libavformat/mpeg.c int64_t pos, pts, dts; pos 657 libavformat/mpeg.c pos = *ppos; pos 658 libavformat/mpeg.c if (avio_seek(s->pb, pos, SEEK_SET) < 0) pos 662 libavformat/mpeg.c len = mpegps_read_pes_header(s, &pos, &startcode, &pts, &dts); pos 676 libavformat/mpeg.c pos, dts, dts / 90000.0); pos 677 libavformat/mpeg.c *ppos = pos; pos 812 libavformat/mpeg.c int64_t pos, timestamp; pos 837 libavformat/mpeg.c &hh, &mm, &ss, &ms, &pos) != 5) { pos 851 libavformat/mpeg.c sub->pos = pos; pos 950 libavformat/mpeg.c psize = q->subs[q->current_sub_idx].pos - pkt->pos; pos 953 libavformat/mpeg.c psize = fsize < 0 ? 0xffff : fsize - pkt->pos; pos 956 libavformat/mpeg.c avio_seek(pb, pkt->pos, SEEK_SET); pos 72 libavformat/mpegts.c int is_start, int64_t pos); pos 1012 libavformat/mpegts.c pkt->pos = pes->ts_packet_pos; pos 1119 libavformat/mpegts.c int64_t pos) pos 1139 libavformat/mpegts.c pes->ts_packet_pos = pos; pos 2701 libavformat/mpegts.c static int handle_packet(MpegTSContext *ts, const uint8_t *packet, int64_t pos) pos 2773 libavformat/mpegts.c if (pos >= 0) { pos 2774 libavformat/mpegts.c av_assert0(pos >= TS_PACKET_SIZE); pos 2775 libavformat/mpegts.c ts->pos47_full = pos - TS_PACKET_SIZE; pos 2819 libavformat/mpegts.c if ((types & (1<<AVMEDIA_TYPE_AUDIO) && types & (1<<AVMEDIA_TYPE_VIDEO)) || pos > 100000) { pos 2831 libavformat/mpegts.c pos - ts->raw_packet_size)) < 0) pos 2844 libavformat/mpegts.c uint64_t pos = avio_tell(pb); pos 2845 libavformat/mpegts.c int64_t back = FFMIN(seekback, pos); pos 2862 libavformat/mpegts.c pos = avio_tell(pb); pos 2871 libavformat/mpegts.c avio_seek(pb, pos, SEEK_SET); pos 3037 libavformat/mpegts.c static void seek_back(AVFormatContext *s, AVIOContext *pb, int64_t pos) { pos 3042 libavformat/mpegts.c if (avio_seek(pb, pos, SEEK_SET) < 0) pos 3050 libavformat/mpegts.c int64_t pos, probesize = s->probesize; pos 3057 libavformat/mpegts.c pos = avio_tell(pb); pos 3070 libavformat/mpegts.c seek_back(s, pb, pos); pos 3145 libavformat/mpegts.c seek_back(s, pb, pos); pos 3155 libavformat/mpegts.c int64_t pcr_h, next_pcr_h, pos; pos 3163 libavformat/mpegts.c pkt->pos = avio_tell(s->pb); pos 3174 libavformat/mpegts.c pos = avio_tell(s->pb); pos 3176 libavformat/mpegts.c avio_seek(s->pb, pos + i * ts->raw_packet_size, SEEK_SET); pos 3186 libavformat/mpegts.c avio_seek(s->pb, pos, SEEK_SET); pos 3253 libavformat/mpegts.c int64_t pos, timestamp; pos 3258 libavformat/mpegts.c pos = pos 3261 libavformat/mpegts.c while(pos < pos_limit) { pos 3262 libavformat/mpegts.c if (avio_seek(s->pb, pos, SEEK_SET) < 0) pos 3269 libavformat/mpegts.c pos = avio_tell(s->pb); pos 3274 libavformat/mpegts.c *ppos = pos; pos 3277 libavformat/mpegts.c pos += ts->raw_packet_size; pos 3287 libavformat/mpegts.c int64_t pos; pos 3289 libavformat/mpegts.c pos = ((*ppos + ts->raw_packet_size - 1 - pos47) / ts->raw_packet_size) * ts->raw_packet_size + pos47; pos 3291 libavformat/mpegts.c if (avio_seek(s->pb, pos, SEEK_SET) < 0) pos 3293 libavformat/mpegts.c while(pos < pos_limit) { pos 3300 libavformat/mpegts.c if (pkt.dts != AV_NOPTS_VALUE && pkt.pos >= 0) { pos 3302 libavformat/mpegts.c av_add_index_entry(s->streams[pkt.stream_index], pkt.pos, pkt.dts, 0, 0, AVINDEX_KEYFRAME /* FIXME keyframe? */); pos 3303 libavformat/mpegts.c if (pkt.stream_index == stream_index && pkt.pos >= *ppos) { pos 3305 libavformat/mpegts.c *ppos = pkt.pos; pos 3310 libavformat/mpegts.c pos = pkt.pos; pos 134 libavformat/mpjpegdec.c int64_t pos = avio_tell(s->pb); pos 155 libavformat/mpjpegdec.c avio_seek(s->pb, pos, SEEK_SET); pos 335 libavformat/mpjpegdec.c pkt->pos = avio_tell(s->pb); pos 100 libavformat/mpl2dec.c const int64_t pos = avio_tell(s->pb); pos 118 libavformat/mpl2dec.c sub->pos = pos; pos 117 libavformat/mpsubdec.c const int64_t pos = avio_tell(s->pb); pos 142 libavformat/mpsubdec.c sub->pos = pos; pos 213 libavformat/mtv.c pkt->pos -= MTV_AUDIO_PADDING_SIZE; pos 266 libavformat/mvdec.c uint32_t pos = avio_rb32(pb); pos 269 libavformat/mvdec.c av_add_index_entry(st, pos, timestamp, size, 0, AVINDEX_KEYFRAME); pos 350 libavformat/mvdec.c uint32_t pos = avio_rb32(pb); pos 356 libavformat/mvdec.c av_add_index_entry(ast, pos, timestamp, asize, 0, AVINDEX_KEYFRAME); pos 357 libavformat/mvdec.c av_add_index_entry(vst, pos + asize, i, vsize, 0, AVINDEX_KEYFRAME); pos 432 libavformat/mvdec.c uint64_t pos; pos 436 libavformat/mvdec.c pos = avio_tell(pb); pos 437 libavformat/mvdec.c if (index->pos > pos) pos 438 libavformat/mvdec.c avio_skip(pb, index->pos - pos); pos 439 libavformat/mvdec.c else if (index->pos < pos) { pos 442 libavformat/mvdec.c ret = avio_seek(pb, index->pos, SEEK_SET); pos 402 libavformat/mxfdec.c int64_t length, pos; pos 412 libavformat/mxfdec.c pos = avio_tell(pb); pos 413 libavformat/mxfdec.c if (pos > INT64_MAX - length) pos 415 libavformat/mxfdec.c klv->next_klv = pos + length; pos 3436 libavformat/mxfdec.c int64_t pos = avio_tell(s->pb); pos 3438 libavformat/mxfdec.c if (pos < mxf->current_klv_data.next_klv - mxf->current_klv_data.length || pos >= mxf->current_klv_data.next_klv) { pos 3444 libavformat/mxfdec.c pos = klv.next_klv - klv.length; pos 3457 libavformat/mxfdec.c max_data_size = klv.next_klv - pos; pos 3481 libavformat/mxfdec.c next_ofs = mxf_set_current_edit_unit(mxf, st, pos, 1); pos 3488 libavformat/mxfdec.c if (klv.next_klv - klv.length == pos && max_data_size > MXF_MAX_CHUNK_SIZE) { pos 3494 libavformat/mxfdec.c if ((size = next_ofs - pos) <= 0) { pos 3505 libavformat/mxfdec.c klv.offset = pos; pos 3534 libavformat/mxfdec.c pkt->pos = klv.offset; pos 1010 libavformat/mxfenc.c int64_t pos; pos 1014 libavformat/mxfenc.c pos = avio_tell(pb); pos 1040 libavformat/mxfenc.c return pos; pos 1089 libavformat/mxfenc.c int64_t pos = mxf_write_generic_desc(s, st, key); pos 1259 libavformat/mxfenc.c return pos; pos 1262 libavformat/mxfenc.c static void mxf_update_klv_size(AVIOContext *pb, int64_t pos) pos 1265 libavformat/mxfenc.c int size = cur_pos - pos; pos 1266 libavformat/mxfenc.c avio_seek(pb, pos - 4, SEEK_SET); pos 1274 libavformat/mxfenc.c int64_t pos; pos 1278 libavformat/mxfenc.c pos = avio_tell(pb); pos 1292 libavformat/mxfenc.c mxf_update_klv_size(s->pb, pos); pos 1297 libavformat/mxfenc.c int64_t pos = mxf_write_cdci_common(s, st, mxf_cdci_descriptor_key); pos 1298 libavformat/mxfenc.c mxf_update_klv_size(s->pb, pos); pos 1311 libavformat/mxfenc.c int64_t pos = mxf_write_cdci_common(s, st, mxf_cdci_descriptor_key); pos 1312 libavformat/mxfenc.c mxf_update_klv_size(s->pb, pos); pos 1319 libavformat/mxfenc.c int64_t pos = mxf_write_generic_desc(s, st, mxf_s436m_anc_descriptor_key); pos 1320 libavformat/mxfenc.c mxf_update_klv_size(s->pb, pos); pos 1328 libavformat/mxfenc.c int64_t pos = mxf_write_cdci_common(s, st, mxf_mpegvideo_descriptor_key); pos 1358 libavformat/mxfenc.c mxf_update_klv_size(pb, pos); pos 1366 libavformat/mxfenc.c int64_t pos = mxf_write_generic_desc(s, st, key); pos 1405 libavformat/mxfenc.c return pos; pos 1411 libavformat/mxfenc.c int64_t pos = mxf_write_generic_sound_common(s, st, key); pos 1420 libavformat/mxfenc.c return pos; pos 1425 libavformat/mxfenc.c int64_t pos = mxf_write_wav_common(s, st, mxf_wav_descriptor_key); pos 1426 libavformat/mxfenc.c mxf_update_klv_size(s->pb, pos); pos 1431 libavformat/mxfenc.c int64_t pos = mxf_write_wav_common(s, st, mxf_aes3_descriptor_key); pos 1432 libavformat/mxfenc.c mxf_update_klv_size(s->pb, pos); pos 1437 libavformat/mxfenc.c int64_t pos = mxf_write_generic_sound_common(s, st, mxf_generic_sound_descriptor_key); pos 1438 libavformat/mxfenc.c mxf_update_klv_size(s->pb, pos); pos 1678 libavformat/mxfenc.c int64_t pos; pos 1688 libavformat/mxfenc.c pos = avio_tell(pb); pos 1813 libavformat/mxfenc.c mxf_update_klv_size(pb, pos); pos 1910 libavformat/mxfenc.c int64_t pos, start; pos 1918 libavformat/mxfenc.c pos = avio_tell(s->pb); pos 1919 libavformat/mxfenc.c header_byte_count = pos - start + klv_fill_size(pos); pos 1924 libavformat/mxfenc.c avio_seek(pb, pos, SEEK_SET); pos 2929 libavformat/mxfenc.c uint64_t pos = avio_tell(pb); pos 2949 libavformat/mxfenc.c avio_wb32(pb, avio_tell(pb) - pos + 4); pos 41 libavformat/nspdec.c int64_t pos; pos 53 libavformat/nspdec.c pos = avio_tell(s->pb); pos 62 libavformat/nspdec.c avio_skip(s->pb, size - (avio_tell(s->pb) - pos)); pos 685 libavformat/nsvdec.c if (avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET) < 0) pos 274 libavformat/nut.c return ((va->pos - vb->pos) >> 32) - ((vb->pos - va->pos) >> 32); pos 283 libavformat/nut.c int ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts) pos 296 libavformat/nut.c sp->pos = pos; pos 59 libavformat/nut.h uint64_t pos; pos 137 libavformat/nut.h int ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts); pos 109 libavformat/nutdec.c static uint64_t find_any_startcode(AVIOContext *bc, int64_t pos) pos 113 libavformat/nutdec.c if (pos >= 0) pos 116 libavformat/nutdec.c avio_seek(bc, pos, SEEK_SET); pos 140 libavformat/nutdec.c static int64_t find_startcode(AVIOContext *bc, uint64_t code, int64_t pos) pos 143 libavformat/nutdec.c uint64_t startcode = find_any_startcode(bc, pos); pos 148 libavformat/nutdec.c pos = -1; pos 176 libavformat/nutdec.c static int skip_reserved(AVIOContext *bc, int64_t pos) pos 178 libavformat/nutdec.c pos -= avio_tell(bc); pos 179 libavformat/nutdec.c if (pos < 0) { pos 180 libavformat/nutdec.c avio_seek(bc, pos, SEEK_CUR); pos 183 libavformat/nutdec.c while (pos--) { pos 797 libavformat/nutdec.c int64_t pos; pos 803 libavformat/nutdec.c pos = 0; pos 805 libavformat/nutdec.c pos = find_startcode(bc, MAIN_STARTCODE, pos) + 1; pos 806 libavformat/nutdec.c if (pos < 0 + 1) { pos 813 libavformat/nutdec.c pos = 0; pos 815 libavformat/nutdec.c pos = find_startcode(bc, STREAM_STARTCODE, pos) + 1; pos 816 libavformat/nutdec.c if (pos < 0 + 1) { pos 825 libavformat/nutdec.c pos = 0; pos 827 libavformat/nutdec.c uint64_t startcode = find_any_startcode(bc, pos); pos 828 libavformat/nutdec.c pos = avio_tell(bc); pos 843 libavformat/nutdec.c s->internal->data_offset = pos - 8; pos 1104 libavformat/nutdec.c pkt->pos = avio_tell(bc); // FIXME pos 1107 libavformat/nutdec.c if (read_sm_data(s, bc, pkt, 0, pkt->pos + size) < 0) { pos 1111 libavformat/nutdec.c if (read_sm_data(s, bc, pkt, 1, pkt->pos + size) < 0) { pos 1115 libavformat/nutdec.c sm_size = avio_tell(bc) - pkt->pos; pos 1146 libavformat/nutdec.c int64_t pos = avio_tell(bc); pos 1151 libavformat/nutdec.c pos -= 8; pos 1185 libavformat/nutdec.c av_log(s, AV_LOG_DEBUG, "syncing from %"PRId64"\n", pos); pos 1201 libavformat/nutdec.c int64_t pos, pts, back_ptr; pos 1205 libavformat/nutdec.c pos = *pos_arg; pos 1207 libavformat/nutdec.c pos = find_startcode(bc, SYNCPOINT_STARTCODE, pos) + 1; pos 1208 libavformat/nutdec.c if (pos < 1) { pos 1213 libavformat/nutdec.c *pos_arg = pos - 1; pos 1231 libavformat/nutdec.c int64_t pos, pos2, ts; pos 1245 libavformat/nutdec.c pos2 = st->index_entries[index].pos; pos 1251 libavformat/nutdec.c next_node[0]->pos, next_node[1]->pos, next_node[0]->ts, pos 1253 libavformat/nutdec.c pos = ff_gen_search(s, -1, dummy.ts, next_node[0]->pos, pos 1254 libavformat/nutdec.c next_node[1]->pos, next_node[1]->pos, pos 1257 libavformat/nutdec.c if (pos < 0) pos 1258 libavformat/nutdec.c return pos; pos 1261 libavformat/nutdec.c dummy.pos = pos + 16; pos 1265 libavformat/nutdec.c pos2 = ff_gen_search(s, -2, dummy.pos, next_node[0]->pos, pos 1266 libavformat/nutdec.c next_node[1]->pos, next_node[1]->pos, pos 1270 libavformat/nutdec.c pos = pos2; pos 1273 libavformat/nutdec.c dummy.pos = pos; pos 1281 libavformat/nutdec.c pos = find_startcode(s->pb, SYNCPOINT_STARTCODE, pos2); pos 1282 libavformat/nutdec.c avio_seek(s->pb, pos, SEEK_SET); pos 1283 libavformat/nutdec.c nut->last_syncpoint_pos = pos; pos 1284 libavformat/nutdec.c av_log(s, AV_LOG_DEBUG, "SP: %"PRId64"\n", pos); pos 1285 libavformat/nutdec.c if (pos2 > pos || pos2 + 15 < pos) pos 594 libavformat/nutenc.c Syncpoint dummy= { .pos= 0 }; pos 605 libavformat/nutenc.c put_v(bc, (next_node[1]->pos >> 4) - (dummy.pos>>4)); pos 606 libavformat/nutenc.c dummy.pos = next_node[1]->pos; pos 1016 libavformat/nutenc.c sp_pos = FFMIN(sp_pos, st->index_entries[index].pos); pos 255 libavformat/nuv.c uint64_t pos = avio_tell(pb); pos 280 libavformat/nuv.c pkt->pos = pos; pos 300 libavformat/nuv.c pkt->pos = pos; pos 347 libavformat/nuv.c int64_t pos, dts; pos 374 libavformat/nuv.c pos = avio_tell(s->pb) - HDRSIZE; pos 378 libavformat/nuv.c av_add_index_entry(s->streams[stream_index], pos, dts, size + HDRSIZE, 0, pos 381 libavformat/nuv.c *ppos = pos; pos 93 libavformat/oggdec.c ost->pos = avio_tell(s->pb); pos 140 libavformat/oggdec.c avio_seek(bc, ost->pos, SEEK_SET); pos 868 libavformat/oggdec.c pkt->pos = fpos; pos 95 libavformat/oggdec.h uint64_t pos; pos 136 libavformat/omadec.c unsigned int pos; pos 157 libavformat/omadec.c pos = OMA_ENC_HEADER_SIZE + oc->k_size + oc->e_size; pos 159 libavformat/omadec.c av_des_mac(av_des, oc->sm_val, &enc_header[pos], (oc->i_size >> 3)); pos 161 libavformat/omadec.c pos += oc->i_size; pos 165 libavformat/omadec.c return memcmp(&enc_header[pos], oc->sm_val, 8) ? -1 : 0; pos 172 libavformat/omadec.c uint64_t pos; pos 180 libavformat/omadec.c pos = OMA_ENC_HEADER_SIZE + oc->k_size; pos 181 libavformat/omadec.c if (!memcmp(&enc_header[pos], "EKB ", 4)) pos 182 libavformat/omadec.c pos += 32; pos 184 libavformat/omadec.c if (size < pos + 44) pos 187 libavformat/omadec.c if (AV_RB32(&enc_header[pos]) != oc->rid) pos 190 libavformat/omadec.c taglen = AV_RB32(&enc_header[pos + 32]); pos 191 libavformat/omadec.c datalen = AV_RB32(&enc_header[pos + 36]) >> 4; pos 193 libavformat/omadec.c pos += 44LL + taglen; pos 195 libavformat/omadec.c if (pos + (((uint64_t)datalen) << 4) > size) pos 204 libavformat/omadec.c av_des_crypt(av_des, oc->r_val, &enc_header[pos], 2, NULL, 1); pos 210 libavformat/omadec.c pos += 16; pos 319 libavformat/omadec.c int64_t pos = avio_tell(s->pb); pos 332 libavformat/omadec.c if (pos >= oc->content_start && byte_rate > 0) { pos 334 libavformat/omadec.c pkt->dts = av_rescale(pos - oc->content_start, st->time_base.den, pos 353 libavformat/omadec.c int64_t pos = avio_tell(s->pb); pos 382 libavformat/omadec.c pkt->pos = pos; pos 57 libavformat/pcm.c int64_t pos, ret; pos 71 libavformat/pcm.c pos = av_rescale_rnd(timestamp * byte_rate, pos 75 libavformat/pcm.c pos *= block_align; pos 78 libavformat/pcm.c st->cur_dts = av_rescale(pos, st->time_base.den, byte_rate * (int64_t)st->time_base.num); pos 79 libavformat/pcm.c if ((ret = avio_seek(s->pb, pos + s->internal->data_offset, SEEK_SET)) < 0) pos 81 libavformat/pjsdec.c const int64_t pos = avio_tell(s->pb); pos 101 libavformat/pjsdec.c sub->pos = pos; pos 51 libavformat/pmpdec.c uint64_t pos; pos 96 libavformat/pmpdec.c pos = avio_tell(pb) + 4LL*index_cnt; pos 109 libavformat/pmpdec.c av_add_index_entry(vst, pos, i, size, 0, flags); pos 110 libavformat/pmpdec.c pos += size; pos 111 libavformat/pmpdec.c if (fsize > 0 && i == 0 && pos > fsize) { pos 221 libavformat/psxstr.c pkt->pos= avio_tell(pb) - RAW_CD_SECTOR_SIZE; pos 202 libavformat/pva.c int64_t *pos, int64_t pos_limit) { pos 208 libavformat/pva.c pos_limit = FFMIN(*pos+PVA_MAX_PAYLOAD_LENGTH*8, (uint64_t)*pos+pos_limit); pos 210 libavformat/pva.c while (*pos < pos_limit) { pos 212 libavformat/pva.c avio_seek(pb, *pos, SEEK_SET); pos 216 libavformat/pva.c (*pos)++; pos 220 libavformat/pva.c *pos = avio_tell(pb) + length; pos 219 libavformat/r3d.c int64_t pos = avio_tell(s->pb); pos 250 libavformat/r3d.c tmp = atom->size - 8 - (avio_tell(s->pb) - pos); pos 275 libavformat/r3d.c int64_t pos = avio_tell(s->pb); pos 314 libavformat/r3d.c size = atom->size - 8 - (avio_tell(s->pb) - pos); pos 45 libavformat/rawdec.c pkt->pos= avio_tell(s->pb); pos 79 libavformat/rawvideodec.c pkt->pts = pkt->dts = pkt->pos / s->packet_size; pos 302 libavformat/rdt.c int pos, rmflags; pos 308 libavformat/rdt.c pos = avio_tell(&pb); pos 313 libavformat/rdt.c memcpy (rdt->buffer, buf + pos, len - pos); pos 314 libavformat/rdt.c rdt->rmctx->pb = avio_alloc_context (rdt->buffer, len - pos, 0, pos 80 libavformat/realtextdec.c const int64_t pos = ff_text_pos(&tr) - (c != 0); pos 115 libavformat/realtextdec.c sub->pos = pos; pos 40 libavformat/riffenc.c int64_t pos; pos 44 libavformat/riffenc.c pos = avio_tell(pb); pos 45 libavformat/riffenc.c if (pos & 1) pos 48 libavformat/riffenc.c avio_wl32(pb, (uint32_t)(pos - start)); pos 49 libavformat/riffenc.c avio_seek(pb, FFALIGN(pos, 2), SEEK_SET); pos 236 libavformat/rl2.c int64_t pos = INT64_MAX; pos 241 libavformat/rl2.c && s->streams[i]->index_entries[ rl2->index_pos[i] ].pos < pos){ pos 243 libavformat/rl2.c pos= sample->pos; pos 254 libavformat/rl2.c avio_seek(pb, sample->pos, SEEK_SET); pos 421 libavformat/rmdec.c unsigned int size, n_pkts, str_id, next_off, n, pos, pts; pos 456 libavformat/rmdec.c pos = avio_rb32(pb); pos 459 libavformat/rmdec.c av_add_index_entry(st, pos, pts, 0, 0, AVINDEX_KEYFRAME); pos 677 libavformat/rmdec.c static int rm_sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_index, int64_t *pos){ pos 686 libavformat/rmdec.c *pos= avio_tell(pb) - 3; pos 754 libavformat/rmdec.c int seq = 0, pic_num = 0, len2 = 0, pos = 0; //init to silence compiler warning pos 766 libavformat/rmdec.c pos = get_num(pb, &len); pos 777 libavformat/rmdec.c *timestamp = pos; pos 816 libavformat/rmdec.c len = FFMIN(len, pos); pos 843 libavformat/rmdec.c pkt->pos = vst->pktpos; pos 1002 libavformat/rmdec.c int64_t timestamp, pos; pos 1023 libavformat/rmdec.c pos = avio_tell(s->pb); pos 1025 libavformat/rmdec.c len = rm_sync(s, ×tamp, &flags, &i, &pos); pos 1040 libavformat/rmdec.c av_add_index_entry(st, pos, timestamp, 0, 0, AVINDEX_KEYFRAME); pos 1082 libavformat/rmdec.c int64_t pos, dts; pos 1085 libavformat/rmdec.c pos = *ppos; pos 1090 libavformat/rmdec.c if (avio_seek(s->pb, pos, SEEK_SET) < 0) pos 1098 libavformat/rmdec.c len = rm_sync(s, &dts, &flags, &stream_index2, &pos); pos 1113 libavformat/rmdec.c av_add_index_entry(st, pos, dts, 0, 0, AVINDEX_KEYFRAME); pos 1120 libavformat/rmdec.c *ppos = pos; pos 1172 libavformat/rmdec.c int64_t pos, offset=0, temp; pos 1174 libavformat/rmdec.c pos = avio_tell(pb); pos 1199 libavformat/rmdec.c pos = avio_tell(pb); pos 1299 libavformat/rmdec.c avio_skip(pb, avio_rb64(pb) + pos - avio_tell(s->pb)); pos 1313 libavformat/rmdec.c int64_t pos, pts; pos 1318 libavformat/rmdec.c pos = avio_tell(pb); pos 1367 libavformat/rmdec.c pkt->pos = pos; pos 1371 libavformat/rmdec.c pos = avio_rb64(pb); pos 1372 libavformat/rmdec.c if (!pos) { pos 323 libavformat/rpl.c if (avio_seek(pb, index_entry->pos, SEEK_SET) < 0) pos 173 libavformat/rsd.c int64_t pos; pos 178 libavformat/rsd.c pos = avio_tell(s->pb); pos 205 libavformat/rsd.c pkt->pos = pos; pos 96 libavformat/rtpdec_asf.c pb->pos = len; pos 272 libavformat/rtpdec_asf.c pb->pos += rt->asf_pb_pos; pos 270 libavformat/rtpdec_h264.c int pos = 0; pos 276 libavformat/rtpdec_h264.c memcpy(pkt->data + pos, start_sequence, sizeof(start_sequence)); pos 277 libavformat/rtpdec_h264.c pos += sizeof(start_sequence); pos 278 libavformat/rtpdec_h264.c memcpy(pkt->data + pos, nal_header, nal_header_len); pos 279 libavformat/rtpdec_h264.c pos += nal_header_len; pos 281 libavformat/rtpdec_h264.c memcpy(pkt->data + pos, buf, len); pos 154 libavformat/rtpdec_hevc.c int pos = 0; pos 155 libavformat/rtpdec_hevc.c memcpy(par->extradata + pos, hevc_data->vps, hevc_data->vps_size); pos 156 libavformat/rtpdec_hevc.c pos += hevc_data->vps_size; pos 157 libavformat/rtpdec_hevc.c memcpy(par->extradata + pos, hevc_data->sps, hevc_data->sps_size); pos 158 libavformat/rtpdec_hevc.c pos += hevc_data->sps_size; pos 159 libavformat/rtpdec_hevc.c memcpy(par->extradata + pos, hevc_data->pps, hevc_data->pps_size); pos 160 libavformat/rtpdec_hevc.c pos += hevc_data->pps_size; pos 161 libavformat/rtpdec_hevc.c memcpy(par->extradata + pos, hevc_data->sei, hevc_data->sei_size); pos 31 libavformat/rtpdec_latm.c int pos, len; pos 64 libavformat/rtpdec_latm.c data->pos = 0; pos 73 libavformat/rtpdec_latm.c while (data->pos < data->len) { pos 74 libavformat/rtpdec_latm.c uint8_t val = data->buf[data->pos++]; pos 79 libavformat/rtpdec_latm.c if (data->pos + cur_len > data->len) { pos 86 libavformat/rtpdec_latm.c memcpy(pkt->data, data->buf + data->pos, cur_len); pos 87 libavformat/rtpdec_latm.c data->pos += cur_len; pos 89 libavformat/rtpdec_latm.c return data->pos < data->len; pos 29 libavformat/rtpdec_qcelp.c int pos; pos 135 libavformat/rtpdec_qcelp.c ip->pos = 0; pos 172 libavformat/rtpdec_qcelp.c if (ip->pos >= ip->size) pos 174 libavformat/rtpdec_qcelp.c if (ip->data[ip->pos] >= FF_ARRAY_ELEMS(frame_sizes)) pos 176 libavformat/rtpdec_qcelp.c frame_size = frame_sizes[ip->data[ip->pos]]; pos 177 libavformat/rtpdec_qcelp.c if (ip->pos + frame_size > ip->size) pos 182 libavformat/rtpdec_qcelp.c memcpy(pkt->data, &ip->data[ip->pos], frame_size); pos 184 libavformat/rtpdec_qcelp.c ip->pos += frame_size; pos 185 libavformat/rtpdec_qcelp.c data->group_finished = ip->pos >= ip->size; pos 89 libavformat/rtpdec_qt.c int data_len, pos, is_start, is_finish; pos 92 libavformat/rtpdec_qt.c pos = get_bits_count(&gb) >> 3; pos 93 libavformat/rtpdec_qt.c if (pos + 12 > len) pos 107 libavformat/rtpdec_qt.c avio_seek(&pb, pos + 4, SEEK_SET); pos 116 libavformat/rtpdec_qt.c if (pos + data_len > len) pos 119 libavformat/rtpdec_qt.c while (avio_tell(&pb) + 4 < pos + data_len) { pos 122 libavformat/rtpdec_qt.c if (avio_tell(&pb) + tlv_len > pos + data_len) pos 139 libavformat/rtpenc_h263_rfc2190.c uint32_t pos = AV_RL32(&mb_info[12*mb_info_pos])/8; pos 140 libavformat/rtpenc_h263_rfc2190.c if (pos >= buf - buf_base) pos 146 libavformat/rtpenc_h263_rfc2190.c uint32_t pos = AV_RL32(&mb_info[12*(mb_info_pos + 1)])/8; pos 147 libavformat/rtpenc_h263_rfc2190.c if (pos >= end - buf_base) pos 89 libavformat/s337m.c int i, pos, sum, max, data_type, data_size, offset; pos 92 libavformat/s337m.c for (pos = 0; pos < p->buf_size; pos++) { pos 93 libavformat/s337m.c state = (state << 8) | p->buf[pos]; pos 97 libavformat/s337m.c buf = p->buf + pos + 1; pos 112 libavformat/s337m.c pos += IS_16LE_MARKER(state) ? 4 : 6; pos 113 libavformat/s337m.c pos += offset; pos 150 libavformat/s337m.c int64_t pos; pos 166 libavformat/s337m.c pos = avio_tell(pb); pos 174 libavformat/s337m.c pkt->pos = pos; pos 70 libavformat/samidec.c const int64_t pos = ff_text_pos(&tr) - (c != 0); pos 96 libavformat/samidec.c sub->pos = pos; pos 95 libavformat/sapdec.c int pos; pos 122 libavformat/sapdec.c pos = 4; pos 124 libavformat/sapdec.c pos += 16; /* IPv6 */ pos 126 libavformat/sapdec.c pos += 4; /* IPv4 */ pos 127 libavformat/sapdec.c pos += auth_len * 4; pos 128 libavformat/sapdec.c if (pos + 4 >= ret) { pos 133 libavformat/sapdec.c if (strcmp(&recvbuf[pos], MIME) == 0) { pos 134 libavformat/sapdec.c pos += strlen(MIME) + 1; pos 135 libavformat/sapdec.c } else if (strncmp(&recvbuf[pos], "v=0\r\n", 5) == 0) { pos 139 libavformat/sapdec.c &recvbuf[pos]); pos 143 libavformat/sapdec.c sap->sdp = av_strdup(&recvbuf[pos]); pos 73 libavformat/sapenc.c int port = 9875, base_port = 5004, i, pos = 0, same_port = 0, ttl = 255; pos 205 libavformat/sapenc.c sap->ann[pos] = (1 << 5); pos 208 libavformat/sapenc.c sap->ann[pos] |= 0x10; pos 210 libavformat/sapenc.c pos++; pos 211 libavformat/sapenc.c sap->ann[pos++] = 0; /* Authentication length */ pos 212 libavformat/sapenc.c AV_WB16(&sap->ann[pos], av_get_random_seed()); pos 213 libavformat/sapenc.c pos += 2; pos 215 libavformat/sapenc.c memcpy(&sap->ann[pos], &((struct sockaddr_in*)&localaddr)->sin_addr, pos 217 libavformat/sapenc.c pos += sizeof(struct in_addr); pos 220 libavformat/sapenc.c memcpy(&sap->ann[pos], &((struct sockaddr_in6*)&localaddr)->sin6_addr, pos 222 libavformat/sapenc.c pos += sizeof(struct in6_addr); pos 226 libavformat/sapenc.c av_strlcpy(&sap->ann[pos], "application/sdp", sap->ann_size - pos); pos 227 libavformat/sapenc.c pos += strlen(&sap->ann[pos]) + 1; pos 229 libavformat/sapenc.c if (av_sdp_create(contexts, s->nb_streams, &sap->ann[pos], pos 230 libavformat/sapenc.c sap->ann_size - pos)) { pos 235 libavformat/sapenc.c av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", &sap->ann[pos]); pos 236 libavformat/sapenc.c pos += strlen(&sap->ann[pos]); pos 237 libavformat/sapenc.c sap->ann_size = pos; pos 141 libavformat/sccdec.c sub->pos = current_pos; pos 235 libavformat/sdp.c int pos, i, j; pos 257 libavformat/sdp.c pos = 23; pos 260 libavformat/sdp.c if (pos + 3 > extradata_size) pos 262 libavformat/sdp.c nalu_type = extradata[pos] & 0x3f; pos 266 libavformat/sdp.c ps_pos[0] = pos; pos 268 libavformat/sdp.c ps_pos[1] = pos; pos 270 libavformat/sdp.c ps_pos[2] = pos; pos 271 libavformat/sdp.c num_nalus = AV_RB16(&extradata[pos + 1]); pos 272 libavformat/sdp.c pos += 3; pos 275 libavformat/sdp.c if (pos + 2 > extradata_size) pos 277 libavformat/sdp.c len = AV_RB16(&extradata[pos]); pos 278 libavformat/sdp.c pos += 2; pos 279 libavformat/sdp.c if (pos + len > extradata_size) pos 281 libavformat/sdp.c pos += len; pos 293 libavformat/sdp.c pos = ps_pos[i]; pos 301 libavformat/sdp.c num_nalus = AV_RB16(&extradata[pos + 1]); pos 302 libavformat/sdp.c pos += 3; pos 304 libavformat/sdp.c int len = AV_RB16(&extradata[pos]); pos 306 libavformat/sdp.c pos += 2; pos 311 libavformat/sdp.c &extradata[pos], len)) { pos 315 libavformat/sdp.c pos += len; pos 75 libavformat/sdr2.c int64_t pos; pos 79 libavformat/sdr2.c pos = avio_tell(s->pb); pos 92 libavformat/sdr2.c if (pos == FIRST) { pos 105 libavformat/sdr2.c pkt->pos = pos; pos 126 libavformat/sdsdec.c int64_t pos; pos 132 libavformat/sdsdec.c pos = avio_tell(pb); pos 151 libavformat/sdsdec.c pkt->pos = pos; pos 319 libavformat/segafilm.c int64_t pos; pos 324 libavformat/segafilm.c pos = avio_seek(s->pb, st->index_entries[ret].pos, SEEK_SET); pos 325 libavformat/segafilm.c if (pos < 0) pos 326 libavformat/segafilm.c return pos; pos 212 libavformat/segafilmenc.c int64_t pos, pos_end; pos 242 libavformat/segafilmenc.c pos = avio_tell(read_pb); pos 258 libavformat/segafilmenc.c pos += n; pos 259 libavformat/segafilmenc.c } while (pos < pos_end); pos 105 libavformat/serdec.c int64_t pos; pos 108 libavformat/serdec.c pos = avio_tell(s->pb); pos 109 libavformat/serdec.c if (pos >= ser->end) pos 113 libavformat/serdec.c pkt->pts = pkt->dts = (pkt->pos - s->internal->data_offset) / s->packet_size; pos 289 libavformat/sierravmd.c pkt->pos= avio_tell(pb); pos 258 libavformat/smacker.c int size, sz, t, off, j, pos; pos 270 libavformat/smacker.c pos = avio_tell(s->pb) + size; pos 300 libavformat/smacker.c avio_seek(s->pb, pos, 0); pos 144 libavformat/smjpegdec.c int64_t pos; pos 149 libavformat/smjpegdec.c pos = avio_tell(s->pb); pos 160 libavformat/smjpegdec.c pkt->pos = pos; pos 170 libavformat/smjpegdec.c pkt->pos = pos; pos 197 libavformat/spdifdec.c pkt->pos = avio_tell(pb) - BURST_HEADER_SIZE; pos 407 libavformat/spdifenc.c #define MAT_CODE(position, data) { .pos = position, .code = data, .len = sizeof(data) } pos 410 libavformat/spdifenc.c unsigned int pos; pos 481 libavformat/spdifenc.c if (ctx->hd_buf_filled <= mat_codes[next_code_idx].pos) pos 488 libavformat/spdifenc.c mat_codes[next_code_idx].pos == ctx->hd_buf_filled) { pos 490 libavformat/spdifenc.c if (mat_codes[next_code_idx].pos == ctx->hd_buf_filled) { pos 494 libavformat/spdifenc.c memcpy(hd_buf + mat_codes[next_code_idx].pos, pos 526 libavformat/spdifenc.c int padding_to_insert = FFMIN(mat_codes[next_code_idx].pos - ctx->hd_buf_filled, pos 538 libavformat/spdifenc.c int data_to_insert = FFMIN(mat_codes[next_code_idx].pos - ctx->hd_buf_filled, pos 69 libavformat/srtdec.c int64_t pos; pos 79 libavformat/srtdec.c ei->pos = -1; pos 109 libavformat/srtdec.c sub->pos = ei->pos; pos 150 libavformat/srtdec.c const int64_t pos = ff_text_pos(&tr); pos 193 libavformat/srtdec.c tmp_ei.pos = pos; pos 86 libavformat/stldec.c const int64_t pos = avio_tell(s->pb); pos 104 libavformat/stldec.c sub->pos = pos; pos 32 libavformat/subfile.c int64_t pos; pos 59 libavformat/subfile.c if ((ret = ffurl_seek(c->h, c->pos, SEEK_SET)) != c->pos) { pos 87 libavformat/subfile.c c->pos = c->start; pos 104 libavformat/subfile.c int64_t rest = c->end - c->pos; pos 112 libavformat/subfile.c c->pos += ret; pos 116 libavformat/subfile.c static int64_t subfile_seek(URLContext *h, int64_t pos, int whence) pos 132 libavformat/subfile.c new_pos = c->start + pos; pos 135 libavformat/subfile.c new_pos = c->pos + pos; pos 138 libavformat/subfile.c new_pos = end + pos; pos 143 libavformat/subfile.c c->pos = new_pos; pos 146 libavformat/subfile.c return c->pos - c->start; pos 151 libavformat/subtitles.c return FFDIFFSIGN(s1->pos, s2->pos); pos 159 libavformat/subtitles.c if (s1->pos == s2->pos) { pos 164 libavformat/subtitles.c return s1->pos > s2->pos ? 1 : -1; pos 70 libavformat/subviewer1dec.c const int64_t pos = avio_tell(s->pb); pos 84 libavformat/subviewer1dec.c sub->pos = pos; pos 105 libavformat/subviewerdec.c int64_t pos = 0; pos 149 libavformat/subviewerdec.c pos = avio_tell(s->pb); pos 164 libavformat/subviewerdec.c sub->pos = pos; pos 39 libavformat/supdec.c int64_t pts, dts, pos; pos 42 libavformat/supdec.c pos = avio_tell(s->pb); pos 55 libavformat/supdec.c pkt->pos = pos; pos 217 libavformat/swfdec.c uint64_t pos = avio_tell(pb); pos 289 libavformat/swfdec.c pkt->pos = pos; pos 304 libavformat/swfdec.c pkt->pos = pos; pos 397 libavformat/swfdec.c pkt->pos = pos; pos 463 libavformat/swfdec.c pkt->pos = pos; pos 512 libavformat/swfdec.c pkt->pos = pos; pos 48 libavformat/swfenc.c int64_t pos; pos 51 libavformat/swfenc.c pos = avio_tell(pb); pos 52 libavformat/swfenc.c tag_len = pos - swf->tag_pos - 2; pos 63 libavformat/swfenc.c avio_seek(pb, pos, SEEK_SET); pos 195 libavformat/tedcaptionsdec.c int64_t pos, start, duration; pos 214 libavformat/tedcaptionsdec.c pos = avio_tell(pb) - 1; pos 253 libavformat/tedcaptionsdec.c pkt->pos = pos; pos 132 libavformat/tests/seek.c printf("ret:%-10s st:%2d flags:%d dts:%s pts:%s pos:%7" PRId64 " size:%6d", ret_str(ret), pkt.stream_index, pkt.flags, dts_buf, ts_buf, pkt.pos, pkt.size); pos 176 libavformat/tmv.c int64_t pos; pos 181 libavformat/tmv.c pos = timestamp * pos 184 libavformat/tmv.c if (avio_seek(s->pb, pos + TMV_HEADER_SIZE, SEEK_SET) < 0) pos 140 libavformat/tta.c int64_t pos = avio_tell(s->pb); pos 142 libavformat/tta.c avio_seek(s->pb, pos, SEEK_SET); pos 179 libavformat/tta.c if (avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET) < 0) pos 160 libavformat/tty.c pkt->pts = pkt->pos / s->chars_per_frame; pos 80 libavformat/url.h int64_t (*url_seek)( URLContext *h, int64_t pos, int whence); pos 219 libavformat/url.h int64_t ffurl_seek(URLContext *h, int64_t pos, int whence); pos 309 libavformat/utils.c pkt->pos = avio_tell(s); pos 1466 libavformat/utils.c pkt->pts, pkt->dts, pkt->pos); pos 1469 libavformat/utils.c pkt->pos = -1; pos 1517 libavformat/utils.c out_pkt.pos = st->parser->pos; pos 1521 libavformat/utils.c out_pkt.pos = st->parser->frame_offset; pos 1673 libavformat/utils.c av_add_index_entry(st, pkt->pos, pkt->dts, pos 1860 libavformat/utils.c av_add_index_entry(st, pkt->pos, pkt->dts, 0, 0, AVINDEX_KEYFRAME); pos 1989 libavformat/utils.c int64_t pos, int64_t timestamp, pos 2031 libavformat/utils.c } else if (ie->pos == pos && distance < ie->min_distance) pos 2036 libavformat/utils.c ie->pos = pos; pos 2045 libavformat/utils.c int av_add_index_entry(AVStream *st, int64_t pos, int64_t timestamp, pos 2050 libavformat/utils.c &st->index_entries_allocated_size, pos, pos 2136 libavformat/utils.c pos_delta = FFMAX(pos_delta, e1->pos - e2->pos); pos 2181 libavformat/utils.c int64_t av_uninit(pos_min), av_uninit(pos_max), pos, pos_limit; pos 2207 libavformat/utils.c if (e->timestamp <= target_ts || e->pos == e->min_distance) { pos 2208 libavformat/utils.c pos_min = e->pos; pos 2222 libavformat/utils.c pos_max = e->pos; pos 2230 libavformat/utils.c pos = ff_gen_search(s, stream_index, target_ts, pos_min, pos_max, pos_limit, pos 2232 libavformat/utils.c if (pos < 0) pos 2236 libavformat/utils.c if ((ret = avio_seek(s->pb, pos, SEEK_SET)) < 0) pos 2245 libavformat/utils.c int ff_find_last_ts(AVFormatContext *s, int stream_index, int64_t *ts, int64_t *pos, pos 2277 libavformat/utils.c if (pos) pos 2278 libavformat/utils.c *pos = pos_max; pos 2290 libavformat/utils.c int64_t pos, ts; pos 2332 libavformat/utils.c pos = av_rescale(target_ts - ts_min, pos_max - pos_min, pos 2337 libavformat/utils.c pos = (pos_min + pos_limit) >> 1; pos 2341 libavformat/utils.c pos = pos_min; pos 2343 libavformat/utils.c if (pos <= pos_min) pos 2344 libavformat/utils.c pos = pos_min + 1; pos 2345 libavformat/utils.c else if (pos > pos_limit) pos 2346 libavformat/utils.c pos = pos_limit; pos 2347 libavformat/utils.c start_pos = pos; pos 2350 libavformat/utils.c ts = ff_read_timestamp(s, stream_index, &pos, INT64_MAX, read_timestamp); pos 2351 libavformat/utils.c if (pos == pos_max) pos 2357 libavformat/utils.c pos_min, pos, pos_max, pos 2366 libavformat/utils.c pos_max = pos; pos 2370 libavformat/utils.c pos_min = pos; pos 2375 libavformat/utils.c pos = (flags & AVSEEK_FLAG_BACKWARD) ? pos_min : pos_max; pos 2378 libavformat/utils.c pos_min = pos; pos 2383 libavformat/utils.c pos, av_ts2str(ts_min), av_ts2str(target_ts), av_ts2str(ts_max)); pos 2386 libavformat/utils.c return pos; pos 2390 libavformat/utils.c int64_t pos, int flags) pos 2397 libavformat/utils.c if (pos < pos_min) pos 2398 libavformat/utils.c pos = pos_min; pos 2399 libavformat/utils.c else if (pos > pos_max) pos 2400 libavformat/utils.c pos = pos_max; pos 2402 libavformat/utils.c avio_seek(s->pb, pos, SEEK_SET); pos 2432 libavformat/utils.c if ((ret = avio_seek(s->pb, ie->pos, SEEK_SET)) < 0) pos 2469 libavformat/utils.c if ((ret = avio_seek(s->pb, ie->pos, SEEK_SET)) < 0) pos 4859 libavformat/utils.c char *pos = temp; pos 4867 libavformat/utils.c pos++; pos 4869 libavformat/utils.c pos += 2; pos 4872 libavformat/utils.c for ( ; *pos != '\0'; ++pos) { pos 4873 libavformat/utils.c if (*pos == '/' || *pos == '\\') { pos 4874 libavformat/utils.c tmp_ch = *pos; pos 4875 libavformat/utils.c *pos = '\0'; pos 4877 libavformat/utils.c *pos = tmp_ch; pos 4881 libavformat/utils.c if ((*(pos - 1) != '/') || (*(pos - 1) != '\\')) { pos 74 libavformat/v210.c pkt->pts = pkt->dts = pkt->pos / s->packet_size; pos 114 libavformat/vc1test.c pkt->pos -= 8; pos 644 libavformat/vividas.c pkt->pos += viv->sb_offset + viv->sb_blocks[viv->current_sb].byte_offset; pos 683 libavformat/vividas.c pkt->pos += viv->sb_offset + viv->sb_blocks[viv->current_sb].byte_offset; pos 712 libavformat/vividas.c pkt->pos += viv->sb_offset + viv->sb_blocks[viv->current_sb].byte_offset; pos 88 libavformat/vocdec.c avio_seek(s->pb, e->pos, SEEK_SET); pos 90 libavformat/vpk.c uint64_t pos = avio_tell(s->pb); pos 102 libavformat/vpk.c pkt->pos = pos; pos 72 libavformat/vplayerdec.c const int64_t pos = avio_tell(s->pb); pos 90 libavformat/vplayerdec.c sub->pos = pos; pos 243 libavformat/vqf.c pkt->pos = avio_tell(s->pb); pos 267 libavformat/vqf.c int64_t pos; pos 270 libavformat/vqf.c pos = av_rescale_rnd(timestamp * st->codecpar->bit_rate, pos 275 libavformat/vqf.c pos *= c->frame_bit_len; pos 277 libavformat/vqf.c st->cur_dts = av_rescale(pos, st->time_base.den, pos 280 libavformat/vqf.c if ((ret = avio_seek(s->pb, ((pos-7) >> 3) + s->internal->data_offset, SEEK_SET)) < 0) pos 283 libavformat/vqf.c c->remaining_bits = -7 - ((pos-7)&7); pos 76 libavformat/wavdec.c int64_t pos = avio_tell(s->pb); pos 85 libavformat/wavdec.c avio_seek(s->pb, pos, SEEK_SET); pos 665 libavformat/wavdec.c pkt->pos -= 3; pos 525 libavformat/wavenc.c static void start_guid(AVIOContext *pb, const uint8_t *guid, int64_t *pos) pos 527 libavformat/wavenc.c *pos = avio_tell(pb); pos 535 libavformat/wavenc.c int64_t end, pos = avio_tell(pb); pos 537 libavformat/wavenc.c end = FFALIGN(pos, 8); pos 538 libavformat/wavenc.c ffio_fill(pb, 0, end - pos); pos 78 libavformat/webvttdec.c int64_t pos; pos 90 libavformat/webvttdec.c pos = avio_tell(s->pb); pos 145 libavformat/webvttdec.c sub->pos = pos; pos 433 libavformat/wtvdec.c int64_t pos = avio_tell(pb); pos 459 libavformat/wtvdec.c avio_seek(pb, pos + length, SEEK_SET); pos 764 libavformat/wtvdec.c if (wtv->index_entries[i].pos > broken_pos) { pos 765 libavformat/wtvdec.c int64_t ret = avio_seek(pb, wtv->index_entries[i].pos, SEEK_SET); pos 1037 libavformat/wtvdec.c e->pos = last_position; pos 1044 libavformat/wtvdec.c e_end->pos = last_position; pos 1099 libavformat/wtvdec.c if (avio_seek(pb, wtv->index_entries[wtv->nb_index_entries - 1].pos, SEEK_SET) < 0) pos 1106 libavformat/wtvdec.c if (avio_seek(pb, wtv->index_entries[i].pos, SEEK_SET) < 0) pos 77 libavformat/wtvenc.c int64_t pos; pos 150 libavformat/wtvenc.c t->pos = wctx->last_chunk_pos; pos 196 libavformat/wtvenc.c avio_wl64(pb, t->pos); pos 702 libavformat/wtvenc.c int64_t pos = 0; pos 706 libavformat/wtvenc.c avio_wl64(pb, pos); pos 707 libavformat/wtvenc.c pos += metadata_header_size(tag->key) + strlen(tag->value)*2 + 2; pos 712 libavformat/wtvenc.c avio_wl64(pb, pos); pos 713 libavformat/wtvenc.c pos += metadata_header_size("WM/Picture") + attachment_value_size(&wctx->thumbnail, av_dict_get(st->metadata, "title", NULL, 0)); pos 715 libavformat/wtvenc.c avio_wl64(pb, pos); pos 716 libavformat/wtvenc.c pos += metadata_header_size("WM/MediaThumbType") + 4; pos 58 libavformat/wvdec.c int64_t pos; pos 85 libavformat/wvdec.c wc->pos = avio_tell(pb); pos 88 libavformat/wvdec.c if (wc->apetag_start && wc->pos >= wc->apetag_start) pos 283 libavformat/wvdec.c int64_t pos; pos 293 libavformat/wvdec.c pos = wc->pos; pos 318 libavformat/wvdec.c pkt->pos = pos; pos 69 libavformat/wvenc.c int64_t pos = avio_tell(ctx->pb); pos 72 libavformat/wvenc.c avio_seek(ctx->pb, pos, SEEK_SET); pos 139 libavformat/yop.c yop->video_packet.pos = avio_tell(pb); pos 154 libavformat/yop.c pkt->pos = yop->video_packet.pos; pos 326 libavformat/yuv4mpegdec.c int64_t pos; pos 332 libavformat/yuv4mpegdec.c pos = pts * s->packet_size; pos 334 libavformat/yuv4mpegdec.c if (avio_seek(s->pb, pos + s->internal->data_offset, SEEK_SET) < 0) pos 740 libavutil/avsscanf.c ptrdiff_t pos = 0; pos 751 libavutil/avsscanf.c pos += shcnt(f); pos 767 libavutil/avsscanf.c pos += shcnt(f); pos 835 libavutil/avsscanf.c store_int(dest, size, pos); pos 842 libavutil/avsscanf.c pos += shcnt(f); pos 940 libavutil/avsscanf.c pos += shcnt(f); pos 44 libavutil/tests/pca.c int pos = av_lfg_get(&prng) % LEN; pos 48 libavutil/tests/pca.c if(j<=pos) v[j]= v[0]; pos 44 libswresample/dither_template.c int pos = s->dither.ns_pos; pos 59 libswresample/dither_template.c pos = s->dither.ns_pos; pos 63 libswresample/dither_template.c d -= ns_coeffs[j ] * ns_errors[pos + j ] pos 64 libswresample/dither_template.c +ns_coeffs[j + 1] * ns_errors[pos + j + 1] pos 65 libswresample/dither_template.c +ns_coeffs[j + 2] * ns_errors[pos + j + 2] pos 66 libswresample/dither_template.c +ns_coeffs[j + 3] * ns_errors[pos + j + 3]; pos 69 libswresample/dither_template.c d -= ns_coeffs[j] * ns_errors[pos + j]; pos 70 libswresample/dither_template.c pos = pos ? pos - 1 : taps - 1; pos 72 libswresample/dither_template.c ns_errors[pos + taps] = ns_errors[pos] = d1 - d; pos 79 libswresample/dither_template.c s->dither.ns_pos = pos; pos 38 libswscale/input.c #define input_pixel(pos) (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos)) pos 762 libswscale/input.c #define input_pixel(pos) (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos)) pos 136 libswscale/output.c #define output_pixel(pos, val, bias, signedness) \ pos 138 libswscale/output.c AV_WB16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ pos 140 libswscale/output.c AV_WL16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ pos 312 libswscale/output.c #define output_pixel(pos, val) \ pos 314 libswscale/output.c AV_WB16(pos, av_clip_uintp2(val >> shift, output_bits)); \ pos 316 libswscale/output.c AV_WL16(pos, av_clip_uintp2(val >> shift, output_bits)); \ pos 443 libswscale/output.c #define output_pixel(pos, val) \ pos 445 libswscale/output.c AV_WB16(pos, av_clip_uintp2(val >> shift, 10) << 6); \ pos 447 libswscale/output.c AV_WL16(pos, av_clip_uintp2(val >> shift, 10) << 6); \ pos 537 libswscale/output.c #define output_pixel(pos, acc) \ pos 539 libswscale/output.c pos = acc; \ pos 541 libswscale/output.c pos = ~acc; \ pos 744 libswscale/output.c #define output_pixels(pos, Y1, U, Y2, V) \ pos 746 libswscale/output.c dest[pos + 0] = Y1; \ pos 747 libswscale/output.c dest[pos + 1] = U; \ pos 748 libswscale/output.c dest[pos + 2] = Y2; \ pos 749 libswscale/output.c dest[pos + 3] = V; \ pos 751 libswscale/output.c dest[pos + 0] = Y1; \ pos 752 libswscale/output.c dest[pos + 1] = V; \ pos 753 libswscale/output.c dest[pos + 2] = Y2; \ pos 754 libswscale/output.c dest[pos + 3] = U; \ pos 756 libswscale/output.c dest[pos + 0] = U; \ pos 757 libswscale/output.c dest[pos + 1] = Y1; \ pos 758 libswscale/output.c dest[pos + 2] = V; \ pos 759 libswscale/output.c dest[pos + 3] = Y2; \ pos 887 libswscale/output.c #define output_pixel(pos, val) \ pos 889 libswscale/output.c AV_WB16(pos, val); \ pos 891 libswscale/output.c AV_WL16(pos, val); \ pos 79 libswscale/ppc/swscale_altivec.c #define FIRST_LOAD(sv, pos, s, per) {\ pos 80 libswscale/ppc/swscale_altivec.c sv = vec_ld(pos, s);\ pos 81 libswscale/ppc/swscale_altivec.c per = vec_lvsl(pos, s);\ pos 87 libswscale/ppc/swscale_altivec.c #define LOAD_SRCV(pos, a, s, per, v0, v1, vf) {\ pos 88 libswscale/ppc/swscale_altivec.c v1 = vec_ld(pos + a + 16, s);\ pos 91 libswscale/ppc/swscale_altivec.c #define LOAD_SRCV8(pos, a, s, per, v0, v1, vf) {\ pos 92 libswscale/ppc/swscale_altivec.c if ((((uintptr_t)s + pos) % 16) > 8) {\ pos 93 libswscale/ppc/swscale_altivec.c v1 = vec_ld(pos + a + 16, s);\ pos 110 libswscale/ppc/swscale_altivec.c #define output_pixel(pos, val, bias, signedness) \ pos 112 libswscale/ppc/swscale_altivec.c AV_WB16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ pos 114 libswscale/ppc/swscale_altivec.c AV_WL16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ pos 72 libswscale/ppc/swscale_vsx.c #define FIRST_LOAD(sv, pos, s, per) {} pos 74 libswscale/ppc/swscale_vsx.c #define LOAD_SRCV(pos, a, s, per, v0, v1, vf) {\ pos 75 libswscale/ppc/swscale_vsx.c vf = vec_vsx_ld(pos + a, s);\ pos 77 libswscale/ppc/swscale_vsx.c #define LOAD_SRCV8(pos, a, s, per, v0, v1, vf) LOAD_SRCV(pos, a, s, per, v0, v1, vf) pos 138 libswscale/ppc/swscale_vsx.c #define output_pixel(pos, val) \ pos 140 libswscale/ppc/swscale_vsx.c AV_WB16(pos, av_clip_uintp2(val >> shift, output_bits)); \ pos 142 libswscale/ppc/swscale_vsx.c AV_WL16(pos, av_clip_uintp2(val >> shift, output_bits)); \ pos 259 libswscale/ppc/swscale_vsx.c #define output_pixel(pos, val, bias, signedness) \ pos 261 libswscale/ppc/swscale_vsx.c AV_WB16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ pos 263 libswscale/ppc/swscale_vsx.c AV_WL16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ pos 307 libswscale/utils.c static av_cold int get_local_pos(SwsContext *s, int chr_subsample, int pos, int dir) pos 309 libswscale/utils.c if (pos == -1 || pos <= -513) { pos 310 libswscale/utils.c pos = (128 << chr_subsample) - 128; pos 312 libswscale/utils.c pos += 128; // relative to ideal left edge pos 313 libswscale/utils.c return pos >> chr_subsample; pos 29 tests/audiomatch.c int64_t end, pos = ftell(f); pos 32 tests/audiomatch.c fseek(f, pos, SEEK_SET); pos 38 tests/audiomatch.c int i, pos; pos 97 tests/audiomatch.c for (pos = 0; pos < maxshift; pos = pos < 0 ? -pos: -pos-1) { pos 99 tests/audiomatch.c int testlen = FFMIN(siglen, datlen-pos); pos 100 tests/audiomatch.c for (i = FFMAX(0, -pos); i < testlen; i++) { pos 101 tests/audiomatch.c int j = pos + i; pos 105 tests/audiomatch.c maxshift = FFMIN(maxshift, fabs(pos)+32); pos 108 tests/audiomatch.c bestpos = pos; pos 134 tools/ismindex.c int64_t pos = avio_tell(in); pos 141 tools/ismindex.c avio_seek(in, pos + size, SEEK_SET); pos 232 tools/ismindex.c int64_t pos; pos 248 tools/ismindex.c pos = avio_tell(in); pos 249 tools/ismindex.c for (i = 0; i < entries && pos < end; i++) { pos 264 tools/ismindex.c pos = avio_tell(in); pos 274 tools/ismindex.c int64_t pos = 0; pos 282 tools/ismindex.c while (pos < offset + moof_size) { pos 283 tools/ismindex.c pos = avio_tell(in); pos 287 tools/ismindex.c int64_t traf_pos = pos; pos 289 tools/ismindex.c while (pos < traf_pos + traf_size) { pos 290 tools/ismindex.c pos = avio_tell(in); pos 307 tools/ismindex.c pos + size); pos 309 tools/ismindex.c avio_seek(in, pos + size, SEEK_SET); pos 314 tools/ismindex.c avio_seek(in, pos + size, SEEK_SET); pos 326 tools/ismindex.c int64_t pos = avio_tell(f); pos 409 tools/ismindex.c avio_seek(f, pos + size, SEEK_SET); pos 659 tools/ismindex.c int64_t pos = 0; pos 681 tools/ismindex.c if (pos != track->offsets[i].time) { pos 683 tools/ismindex.c pos = track->offsets[i].time; pos 685 tools/ismindex.c pos += track->offsets[i].duration; pos 133 tools/qt-faststart.c unsigned char *pos = buf; pos 134 tools/qt-faststart.c unsigned char *end = pos + size; pos 138 tools/qt-faststart.c while (end - pos >= ATOM_PREAMBLE_SIZE) { pos 139 tools/qt-faststart.c atom.size = BE_32(pos); pos 140 tools/qt-faststart.c atom.type = BE_32(pos + 4); pos 141 tools/qt-faststart.c pos += ATOM_PREAMBLE_SIZE; pos 146 tools/qt-faststart.c if (end - pos < 8) { pos 151 tools/qt-faststart.c atom.size = BE_64(pos); pos 152 tools/qt-faststart.c pos += 8; pos 157 tools/qt-faststart.c atom.size = ATOM_PREAMBLE_SIZE + end - pos; pos 168 tools/qt-faststart.c if (atom.size > end - pos) { pos 173 tools/qt-faststart.c atom.data = pos; pos 179 tools/qt-faststart.c pos += atom.size; pos 189 tools/qt-faststart.c unsigned char *pos; pos 207 tools/qt-faststart.c for (pos = atom->data + 8, end = pos + offset_count * 4; pos 208 tools/qt-faststart.c pos < end; pos 209 tools/qt-faststart.c pos += 4) { pos 210 tools/qt-faststart.c current_offset = BE_32(pos); pos 215 tools/qt-faststart.c AV_WB32(pos, current_offset); pos 225 tools/qt-faststart.c unsigned char *pos; pos 240 tools/qt-faststart.c for (pos = atom->data + 8, end = pos + offset_count * 8; pos 241 tools/qt-faststart.c pos < end; pos 242 tools/qt-faststart.c pos += 8) { pos 243 tools/qt-faststart.c current_offset = BE_64(pos); pos 245 tools/qt-faststart.c AV_WB64(pos, current_offset); pos 301 tools/qt-faststart.c unsigned char *pos; pos 318 tools/qt-faststart.c for (pos = atom->data + 8, end = pos + offset_count * 4; pos 319 tools/qt-faststart.c pos < end; pos 320 tools/qt-faststart.c pos += 4) { pos 321 tools/qt-faststart.c original_offset = BE_32(pos) - context->original_moov_size; pos 89 tools/sidxindex.c int64_t pos = avio_tell(f); pos 100 tools/sidxindex.c track->sidx_start = pos; pos 102 tools/sidxindex.c } else if (pos == track->sidx_start + track->sidx_length) { pos 103 tools/sidxindex.c track->sidx_length = pos + size - track->sidx_start; pos 107 tools/sidxindex.c if (avio_seek(f, pos + size, SEEK_SET) != pos + size) pos 308 tools/target_dec_fuzzer.c parsepkt.pts, parsepkt.dts, parsepkt.pos); pos 319 tools/target_dec_fuzzer.c parsepkt.pos += ret; pos 322 tools/target_dec_fuzzer.c avpkt.pos = parser->pos; pos 28 tools/target_dem_fuzzer.c int64_t pos; pos 48 tools/target_dem_fuzzer.c c->filesize = FFMIN(c->pos, c->filesize); pos 55 tools/target_dem_fuzzer.c c->pos += size; pos 56 tools/target_dem_fuzzer.c c->filesize = FFMAX(c->filesize, c->pos); pos 66 tools/target_dem_fuzzer.c if (offset > INT64_MAX - c->pos) pos 68 tools/target_dem_fuzzer.c offset += c->pos; pos 78 tools/target_dem_fuzzer.c c->pos = offset; pos 127 tools/target_dem_fuzzer.c opaque.pos = 0; pos 67 tools/trasher.c int pos = ran() * (uint64_t) length / UINT32_MAX; pos 68 tools/trasher.c checked_seek(f, pos, SEEK_SET); pos 73 tools/trasher.c if (pos + burst > length)