sample 1135 libavcodec/adpcm.c int sample = sign_extend(byte[channel] >> i, 4) << shift[channel]; sample 1136 libavcodec/adpcm.c sample = (sample + sample 1140 libavcodec/adpcm.c c->status[channel].sample1 = av_clip_int16(sample); sample 166 libavcodec/adpcmenc.c int16_t sample) sample 168 libavcodec/adpcmenc.c int delta = sample - c->prev_sample; sample 179 libavcodec/adpcmenc.c int16_t sample) sample 181 libavcodec/adpcmenc.c int delta = sample - c->prev_sample; sample 216 libavcodec/adpcmenc.c int16_t sample) sample 223 libavcodec/adpcmenc.c nibble = sample - predictor; sample 245 libavcodec/adpcmenc.c int16_t sample) sample 254 libavcodec/adpcmenc.c delta = sample - c->predictor; sample 309 libavcodec/adpcmenc.c int sample = samples[i * stride]; sample 321 libavcodec/adpcmenc.c const int div = (sample - predictor) / step; sample 334 libavcodec/adpcmenc.c d = sample - dec_sample;\ sample 399 libavcodec/adpcmenc.c const int div = (sample - predictor) * 4 / STEP_TABLE;\ sample 1479 libavcodec/alsdec.c unsigned int c, sample, ra_frame, bytes_read, shift; sample 1515 libavcodec/alsdec.c for (sample = 0; sample < ctx->cur_frame_length; sample++) \ sample 1517 libavcodec/alsdec.c *dest++ = ctx->raw_samples[c][sample] << shift; \ sample 1519 libavcodec/alsdec.c for (sample = 0; sample < ctx->cur_frame_length; sample++) \ sample 1521 libavcodec/alsdec.c *dest++ = ctx->raw_samples[sconf->chan_pos[c]][sample] << shift; \ sample 1538 libavcodec/alsdec.c for (sample = 0; sample 1539 libavcodec/alsdec.c sample < ctx->cur_frame_length * avctx->channels; sample 1540 libavcodec/alsdec.c sample++) { sample 1544 libavcodec/alsdec.c v = av_bswap32(src[sample]); sample 1546 libavcodec/alsdec.c v = src[sample]; sample 1559 libavcodec/alsdec.c for (sample = 0; sample 1560 libavcodec/alsdec.c sample < ctx->cur_frame_length * avctx->channels; sample 1561 libavcodec/alsdec.c sample++) sample 1562 libavcodec/alsdec.c *dest++ = av_bswap16(src[sample]); sample 528 libavcodec/dcaenc.c int sample; sample 531 libavcodec/dcaenc.c for (sample = 0; sample < SUBBAND_SAMPLES; sample++) { sample 532 libavcodec/dcaenc.c int32_t s = abs(c->subband[sample][band][ch]); sample 540 libavcodec/dcaenc.c int sample; sample 543 libavcodec/dcaenc.c for (sample = 0; sample < DCA_LFE_SAMPLES; sample++) sample 544 libavcodec/dcaenc.c if (m < abs(c->downsampled_lfe[sample])) sample 545 libavcodec/dcaenc.c m = abs(c->downsampled_lfe[sample]); sample 696 libavcodec/dcaenc.c int sample, band, ch; sample 698 libavcodec/dcaenc.c for (sample = 0; sample < SUBBAND_SAMPLES; sample++) sample 701 libavcodec/dcaenc.c c->quantized[sample][band][ch] = quantize_value(c->subband[sample][band][ch], c->quant[band][ch]); sample 773 libavcodec/dnxhdenc.c int const sample = (unsigned) pix[j] >> 6; sample 774 libavcodec/dnxhdenc.c sum += sample; sample 775 libavcodec/dnxhdenc.c sqsum += sample * sample; sample 48 libavcodec/dpcm.c int sample[2]; ///< previous sample (for SOL_DPCM) sample 125 libavcodec/dpcm.c s->sample[0] = s->sample[1] = 0; sample 142 libavcodec/dpcm.c s->sample[0] = s->sample[1] = 0x80; sample 146 libavcodec/dpcm.c s->sample[0] = s->sample[1] = 0x80; sample 301 libavcodec/dpcm.c s->sample[0] += s->sol_table[n >> 4]; sample 302 libavcodec/dpcm.c s->sample[0] = av_clip_uint8(s->sample[0]); sample 303 libavcodec/dpcm.c *output_samples_u8++ = s->sample[0]; sample 305 libavcodec/dpcm.c s->sample[stereo] += s->sol_table[n & 0x0F]; sample 306 libavcodec/dpcm.c s->sample[stereo] = av_clip_uint8(s->sample[stereo]); sample 307 libavcodec/dpcm.c *output_samples_u8++ = s->sample[stereo]; sample 312 libavcodec/dpcm.c if (n & 0x80) s->sample[ch] -= sol_table_16[n & 0x7F]; sample 313 libavcodec/dpcm.c else s->sample[ch] += sol_table_16[n & 0x7F]; sample 314 libavcodec/dpcm.c s->sample[ch] = av_clip_int16(s->sample[ch]); sample 315 libavcodec/dpcm.c *output_samples++ = s->sample[ch]; sample 98 libavcodec/ffv1dec.c int16_t *sample[2], sample 116 libavcodec/ffv1dec.c sample[1][x] = v; sample 124 libavcodec/ffv1dec.c context = get_context(p, sample[1] + x, sample[0] + x, sample[1] + x); sample 175 libavcodec/ffv1dec.c sample[1][x] = (predict(sample[1] + x, sample[0] + x) + diff) & sample 185 libavcodec/ffv1dec.c int16_t *sample[2]; sample 186 libavcodec/ffv1dec.c sample[0] = s->sample_buffer + 3; sample 187 libavcodec/ffv1dec.c sample[1] = s->sample_buffer + w + 6 + 3; sample 194 libavcodec/ffv1dec.c int16_t *temp = sample[0]; // FIXME: try a normal buffer sample 196 libavcodec/ffv1dec.c sample[0] = sample[1]; sample 197 libavcodec/ffv1dec.c sample[1] = temp; sample 199 libavcodec/ffv1dec.c sample[1][-1] = sample[0][0]; sample 200 libavcodec/ffv1dec.c sample[0][w] = sample[0][w - 1]; sample 204 libavcodec/ffv1dec.c decode_line(s, w, sample, plane_index, 8); sample 206 libavcodec/ffv1dec.c src[x + stride * y] = sample[1][x]; sample 208 libavcodec/ffv1dec.c decode_line(s, w, sample, plane_index, s->avctx->bits_per_raw_sample); sample 211 libavcodec/ffv1dec.c ((uint16_t*)(src + stride*y))[x] = sample[1][x]; sample 215 libavcodec/ffv1dec.c ((uint16_t*)(src + stride*y))[x] = sample[1][x] << (16 - s->avctx->bits_per_raw_sample); sample 226 libavcodec/ffv1dec.c int16_t *sample[4][2]; sample 232 libavcodec/ffv1dec.c sample[x][0] = s->sample_buffer + x * 2 * (w + 6) + 3; sample 233 libavcodec/ffv1dec.c sample[x][1] = s->sample_buffer + (x * 2 + 1) * (w + 6) + 3; sample 242 libavcodec/ffv1dec.c int16_t *temp = sample[p][0]; // FIXME: try a normal buffer sample 244 libavcodec/ffv1dec.c sample[p][0] = sample[p][1]; sample 245 libavcodec/ffv1dec.c sample[p][1] = temp; sample 247 libavcodec/ffv1dec.c sample[p][1][-1]= sample[p][0][0 ]; sample 248 libavcodec/ffv1dec.c sample[p][0][ w]= sample[p][0][w-1]; sample 250 libavcodec/ffv1dec.c decode_line(s, w, sample[p], (p + 1)/2, 9); sample 252 libavcodec/ffv1dec.c decode_line(s, w, sample[p], (p + 1)/2, bits + (s->slice_coding_mode != 1)); sample 255 libavcodec/ffv1dec.c int g = sample[0][1][x]; sample 256 libavcodec/ffv1dec.c int b = sample[1][1][x]; sample 257 libavcodec/ffv1dec.c int r = sample[2][1][x]; sample 258 libavcodec/ffv1dec.c int a = sample[3][1][x]; sample 267 libavcodec/ffv1enc.c int16_t *sample[3], sample 292 libavcodec/ffv1enc.c int v = sample[0][x]; sample 304 libavcodec/ffv1enc.c context = get_context(p, sample[0] + x, sample[1] + x, sample[2] + x); sample 305 libavcodec/ffv1enc.c diff = sample[0][x] - predict(sample[0] + x, sample[1] + x); sample 373 libavcodec/ffv1enc.c int16_t *sample[3]; sample 380 libavcodec/ffv1enc.c sample[i] = s->sample_buffer + (w + 6) * ((h + i - y) % ring_size) + 3; sample 382 libavcodec/ffv1enc.c sample[0][-1]= sample[1][0 ]; sample 383 libavcodec/ffv1enc.c sample[1][ w]= sample[1][w-1]; sample 387 libavcodec/ffv1enc.c sample[0][x] = src[x + stride * y]; sample 388 libavcodec/ffv1enc.c if((ret = encode_line(s, w, sample, plane_index, 8)) < 0) sample 393 libavcodec/ffv1enc.c sample[0][x] = ((uint16_t*)(src + stride*y))[x]; sample 397 libavcodec/ffv1enc.c sample[0][x] = ((uint16_t*)(src + stride*y))[x] >> (16 - s->bits_per_raw_sample); sample 400 libavcodec/ffv1enc.c if((ret = encode_line(s, w, sample, plane_index, s->bits_per_raw_sample)) < 0) sample 413 libavcodec/ffv1enc.c int16_t *sample[4][3]; sample 426 libavcodec/ffv1enc.c sample[p][i]= s->sample_buffer + p*ring_size*(w+6) + ((h+i-y)%ring_size)*(w+6) + 3; sample 450 libavcodec/ffv1enc.c sample[0][0][x] = g; sample 451 libavcodec/ffv1enc.c sample[1][0][x] = b; sample 452 libavcodec/ffv1enc.c sample[2][0][x] = r; sample 453 libavcodec/ffv1enc.c sample[3][0][x] = a; sample 457 libavcodec/ffv1enc.c sample[p][0][-1] = sample[p][1][0 ]; sample 458 libavcodec/ffv1enc.c sample[p][1][ w] = sample[p][1][w-1]; sample 460 libavcodec/ffv1enc.c ret = encode_line(s, w, sample[p], (p + 1) / 2, 9); sample 462 libavcodec/ffv1enc.c ret = encode_line(s, w, sample[p], (p + 1) / 2, bits + (s->slice_coding_mode != 1)); sample 1044 libavcodec/ffv1enc.c int16_t *sample[3]; sample 1050 libavcodec/ffv1enc.c sample[p] = fs->sample_buffer + p*w; sample 1070 libavcodec/ffv1enc.c int bg = ag - sample[0][x]; sample 1071 libavcodec/ffv1enc.c int bb = ab - sample[1][x]; sample 1072 libavcodec/ffv1enc.c int br = ar - sample[2][x]; sample 1082 libavcodec/ffv1enc.c sample[0][x] = ag; sample 1083 libavcodec/ffv1enc.c sample[1][x] = ab; sample 1084 libavcodec/ffv1enc.c sample[2][x] = ar; sample 54 libavcodec/flacdsp_template.c sample *samples = (sample *) OUT(out); sample 65 libavcodec/flacdsp_template.c sample *samples = (sample *) OUT(out); sample 79 libavcodec/flacdsp_template.c sample *samples = (sample *) OUT(out); sample 93 libavcodec/flacdsp_template.c sample *samples = (sample *) OUT(out); sample 530 libavcodec/interplayvideo.c unsigned char sample[2]; sample 533 libavcodec/interplayvideo.c sample[0] = bytestream2_get_byte(&s->stream_ptr); sample 534 libavcodec/interplayvideo.c sample[1] = bytestream2_get_byte(&s->stream_ptr); sample 538 libavcodec/interplayvideo.c *s->pixel_ptr++ = sample[ y & 1 ]; sample 539 libavcodec/interplayvideo.c *s->pixel_ptr++ = sample[!(y & 1)]; sample 116 libavcodec/mlpdsp.c int32_t sample = sample_buffer[i][mat_ch] sample 118 libavcodec/mlpdsp.c lossless_check_data ^= (sample & 0xffffff) << mat_ch; sample 120 libavcodec/mlpdsp.c *data_32++ = sample << 8; sample 122 libavcodec/mlpdsp.c *data_16++ = sample >> 8; sample 682 libavcodec/mpegaudioenc_template.c int qindex, steps, m, sample, bits; sample 687 libavcodec/mpegaudioenc_template.c sample = s->sb_samples[ch][k][l + m][i]; sample 692 libavcodec/mpegaudioenc_template.c a = (float)sample * s->scale_factor_inv_table[s->scale_factors[ch][i][k]]; sample 704 libavcodec/mpegaudioenc_template.c q1 = sample << (-shift); sample 706 libavcodec/mpegaudioenc_template.c q1 = sample >> shift; sample 140 libavcodec/rawdec.c int sample = get_bits(&gb, avctx->bits_per_coded_sample); \ sample 141 libavcodec/rawdec.c w16(dst + i*2, SCALE16(sample, avctx->bits_per_coded_sample)); \ sample 797 libavcodec/sonic.c double sample = s->coded_samples[ch][i]; sample 798 libavcodec/sonic.c energy2 += sample*sample; sample 799 libavcodec/sonic.c energy1 += fabs(sample); sample 94 libavcodec/ttaenc.c static int32_t get_sample(const AVFrame *frame, int sample, sample 100 libavcodec/ttaenc.c ret = frame->data[0][sample] - 0x80; sample 103 libavcodec/ttaenc.c ret = ptr[sample]; sample 106 libavcodec/ttaenc.c ret = ptr[sample] >> 8; sample 166 libavcodec/vima.c int sample; sample 168 libavcodec/vima.c for (sample = 0; sample < samples; sample++) { sample 38 libavcodec/wavpackenc.c #define APPLY_WEIGHT_F(weight, sample) ((((((sample) & 0xffff) * (weight)) >> 9) + \ sample 39 libavcodec/wavpackenc.c ((((sample) & ~0xffff) >> 9) * (weight)) + 1) >> 1) sample 41 libavcodec/wavpackenc.c #define APPLY_WEIGHT_I(weight, sample) (((weight) * (sample) + 512) >> 10) sample 43 libavcodec/wavpackenc.c #define APPLY_WEIGHT(weight, sample) ((sample) != (short) (sample) ? \ sample 44 libavcodec/wavpackenc.c APPLY_WEIGHT_F(weight, sample) : APPLY_WEIGHT_I (weight, sample)) sample 218 libavcodec/wavpackenc.c static void process_float(WavPackEncodeContext *s, int32_t *sample) sample 220 libavcodec/wavpackenc.c int32_t shift_count, value, f = *sample; sample 256 libavcodec/wavpackenc.c *sample = get_sign(f) ? -value : value; sample 2048 libavcodec/wavpackenc.c static void wavpack_encode_sample(WavPackEncodeContext *s, WvChannel *c, int32_t sample) sample 2052 libavcodec/wavpackenc.c int sign = sample < 0; sample 2056 libavcodec/wavpackenc.c if (sample) sample 2062 libavcodec/wavpackenc.c } else if (sample) { sample 2073 libavcodec/wavpackenc.c sample = ~sample; sample 2075 libavcodec/wavpackenc.c if (sample < (int32_t) GET_MED(0)) { sample 2083 libavcodec/wavpackenc.c if (sample - low < GET_MED(1)) { sample 2091 libavcodec/wavpackenc.c if (sample - low < GET_MED(2)) { sample 2096 libavcodec/wavpackenc.c ones_count = 2 + (sample - low) / GET_MED(2); sample 2121 libavcodec/wavpackenc.c uint32_t maxcode = high - low, code = sample - low; sample 2170 libavcodec/wavpackenc.c static void pack_float_sample(WavPackEncodeContext *s, int32_t *sample) sample 2176 libavcodec/wavpackenc.c if (get_exponent(*sample) == 255) { sample 2177 libavcodec/wavpackenc.c if (get_mantissa(*sample)) { sample 2179 libavcodec/wavpackenc.c put_bits(pb, 23, get_mantissa(*sample)); sample 2186 libavcodec/wavpackenc.c } else if (get_exponent(*sample)) { sample 2187 libavcodec/wavpackenc.c shift_count = max_exp - get_exponent(*sample); sample 2188 libavcodec/wavpackenc.c value = 0x800000 + get_mantissa(*sample); sample 2191 libavcodec/wavpackenc.c value = get_mantissa(*sample); sample 2201 libavcodec/wavpackenc.c if (get_exponent(*sample) || get_mantissa(*sample)) { sample 2203 libavcodec/wavpackenc.c put_bits(pb, 23, get_mantissa(*sample)); sample 2206 libavcodec/wavpackenc.c put_bits(pb, 8, get_exponent(*sample)); sample 2208 libavcodec/wavpackenc.c put_bits(pb, 1, get_sign(*sample)); sample 2213 libavcodec/wavpackenc.c put_bits(pb, 1, get_sign(*sample)); sample 2218 libavcodec/wavpackenc.c int32_t data = get_mantissa(*sample) & ((1 << shift_count) - 1); sample 2221 libavcodec/wavpackenc.c put_bits(pb, 1, get_mantissa(*sample) & 1); sample 61 libavcodec/ws-snd1.c int sample = 128; sample 121 libavcodec/ws-snd1.c sample += ( code & 0x3) - 2; sample 122 libavcodec/ws-snd1.c sample = av_clip_uint8(sample); sample 123 libavcodec/ws-snd1.c *samples++ = sample; sample 124 libavcodec/ws-snd1.c sample += ((code >> 2) & 0x3) - 2; sample 125 libavcodec/ws-snd1.c sample = av_clip_uint8(sample); sample 126 libavcodec/ws-snd1.c *samples++ = sample; sample 127 libavcodec/ws-snd1.c sample += ((code >> 4) & 0x3) - 2; sample 128 libavcodec/ws-snd1.c sample = av_clip_uint8(sample); sample 129 libavcodec/ws-snd1.c *samples++ = sample; sample 130 libavcodec/ws-snd1.c sample += (code >> 6) - 2; sample 131 libavcodec/ws-snd1.c sample = av_clip_uint8(sample); sample 132 libavcodec/ws-snd1.c *samples++ = sample; sample 138 libavcodec/ws-snd1.c sample += ws_adpcm_4bit[code & 0xF]; sample 139 libavcodec/ws-snd1.c sample = av_clip_uint8(sample); sample 140 libavcodec/ws-snd1.c *samples++ = sample; sample 141 libavcodec/ws-snd1.c sample += ws_adpcm_4bit[code >> 4]; sample 142 libavcodec/ws-snd1.c sample = av_clip_uint8(sample); sample 143 libavcodec/ws-snd1.c *samples++ = sample; sample 151 libavcodec/ws-snd1.c sample += t >> 3; sample 152 libavcodec/ws-snd1.c sample = av_clip_uint8(sample); sample 153 libavcodec/ws-snd1.c *samples++ = sample; sample 158 libavcodec/ws-snd1.c sample = buf[-1]; sample 162 libavcodec/ws-snd1.c memset(samples, sample, smp); sample 301 libavdevice/dshow_pin.c libAVMemInputPin_Receive(libAVMemInputPin *this, IMediaSample *sample) sample 317 libavdevice/dshow_pin.c if (!sample) sample 320 libavdevice/dshow_pin.c IMediaSample_GetTime(sample, &orig_curtime, &dummy); sample 326 libavdevice/dshow_pin.c IMediaSample_GetTime(sample, &curtime, &dummy); sample 338 libavdevice/dshow_pin.c buf_size = IMediaSample_GetActualDataLength(sample); sample 339 libavdevice/dshow_pin.c IMediaSample_GetPointer(sample, &buf); sample 44 libavfilter/af_bs2b.c void (*filter)(t_bs2bdp bs2bdp, uint8_t *sample, int n); sample 97 libavfilter/af_earwax.c int32_t sample; sample 101 libavfilter/af_earwax.c sample = 0; sample 103 libavfilter/af_earwax.c sample += in[j] * filt[j]; sample 104 libavfilter/af_earwax.c *out = av_clip_int16(sample >> 6); sample 163 libavfilter/af_silenceremove.c static double compute_rms(SilenceRemoveContext *s, double sample) sample 169 libavfilter/af_silenceremove.c new_sum += sample * sample; sample 174 libavfilter/af_silenceremove.c static void update_rms(SilenceRemoveContext *s, double sample) sample 177 libavfilter/af_silenceremove.c *s->window_current = sample * sample; sample 56 libavfilter/avf_showwaves.c int16_t sample, int16_t *prev_y, int intensity); sample 182 libavfilter/avf_showwaves.c int16_t sample, int16_t *prev_y, int intensity) sample 184 libavfilter/avf_showwaves.c const int h = height/2 - av_rescale(sample, height/2, INT16_MAX); sample 190 libavfilter/avf_showwaves.c int16_t sample, int16_t *prev_y, int intensity) sample 193 libavfilter/avf_showwaves.c const int h = height/2 - av_rescale(sample, height/2, INT16_MAX); sample 203 libavfilter/avf_showwaves.c int16_t sample, int16_t *prev_y, int intensity) sample 206 libavfilter/avf_showwaves.c const int h = height/2 - av_rescale(sample, height/2, INT16_MAX); sample 222 libavfilter/avf_showwaves.c int16_t sample, int16_t *prev_y, int intensity) sample 225 libavfilter/avf_showwaves.c const int h = av_rescale(abs(sample), height, INT16_MAX); sample 784 libavfilter/f_ebur128.c SET_META_PEAK(sample, SAMPLES); sample 55 libavformat/dv.c static inline uint16_t dv_audio_12to16(uint16_t sample) sample 59 libavformat/dv.c sample = (sample < 0x800) ? sample : sample | 0xf000; sample 60 libavformat/dv.c shift = (sample & 0xf00) >> 8; sample 63 libavformat/dv.c result = sample; sample 66 libavformat/dv.c result = (sample - (256 * shift)) << shift; sample 69 libavformat/dv.c result = ((sample + ((256 * shift) + 1)) << shift) - 1; sample 157 libavformat/libmodplug.c ADD_META_MULTIPLE_ENTRIES(sample, ModPlug_SampleName); sample 3744 libavformat/mov.c AVIndexEntry *sample = &st->index_entries[i]; sample 3750 libavformat/mov.c if (end < sample->timestamp) { sample 3755 libavformat/mov.c if (avio_seek(sc->pb, sample->pos, SEEK_SET) != sample->pos) { sample 3762 libavformat/mov.c if (len > sample->size-2) sample 3788 libavformat/mov.c avpriv_new_chapter(s, i, st->time_base, sample->timestamp, end, title); sample 4179 libavformat/mov.c AVIndexEntry *sample = NULL; sample 4189 libavformat/mov.c if (!sample || (!s->pb->seekable && current_sample->pos < sample->pos) || sample 4192 libavformat/mov.c ((FFABS(best_dts - dts) <= AV_TIME_BASE && current_sample->pos < sample->pos) || sample 4194 libavformat/mov.c sample = current_sample; sample 4200 libavformat/mov.c return sample; sample 4207 libavformat/mov.c AVIndexEntry *sample; sample 4212 libavformat/mov.c sample = mov_find_next_sample(s, &st); sample 4213 libavformat/mov.c if (!sample) { sample 4230 libavformat/mov.c sample->pos = FFMIN(sample->pos, mov->next_root_atom); sample 4231 libavformat/mov.c sample->size = FFMIN(sample->size, (mov->next_root_atom - sample->pos)); sample 4235 libavformat/mov.c if (avio_seek(sc->pb, sample->pos, SEEK_SET) != sample->pos) { sample 4237 libavformat/mov.c sc->ffindex, sample->pos); sample 4240 libavformat/mov.c ret = av_get_packet(sc->pb, pkt, sample->size); sample 4267 libavformat/mov.c pkt->dts = sample->timestamp; sample 4287 libavformat/mov.c pkt->flags |= sample->flags & AVINDEX_KEYFRAME ? AV_PKT_FLAG_KEY : 0; sample 4288 libavformat/mov.c pkt->pos = sample->pos; sample 4297 libavformat/mov.c int sample, time_sample; sample 4300 libavformat/mov.c sample = av_index_search_timestamp(st, timestamp, flags); sample 4301 libavformat/mov.c av_dlog(s, "stream %d, timestamp %"PRId64", sample %d\n", st->index, timestamp, sample); sample 4302 libavformat/mov.c if (sample < 0 && st->nb_index_entries && timestamp < st->index_entries[0].timestamp) sample 4303 libavformat/mov.c sample = 0; sample 4304 libavformat/mov.c if (sample < 0) /* not sure what to do */ sample 4306 libavformat/mov.c sc->current_sample = sample; sample 4321 libavformat/mov.c return sample; sample 4328 libavformat/mov.c int sample; sample 4335 libavformat/mov.c sample = mov_seek_stream(s, st, sample_time, flags); sample 4336 libavformat/mov.c if (sample < 0) sample 4337 libavformat/mov.c return sample; sample 4340 libavformat/mov.c seek_timestamp = st->index_entries[sample].timestamp; sample 212 libavformat/movenc.h int track_index, int sample, sample 100 libavformat/movenchint.c int sample) sample 116 libavformat/movenchint.c queue->samples[queue->len].sample_number = sample; sample 129 libavformat/movenchint.c HintSample *sample = &queue->samples[i]; sample 130 libavformat/movenchint.c if (!sample->own_data) { sample 131 libavformat/movenchint.c uint8_t *ptr = av_malloc(sample->size); sample 139 libavformat/movenchint.c memcpy(ptr, sample->data, sample->size); sample 140 libavformat/movenchint.c sample->data = ptr; sample 141 libavformat/movenchint.c sample->own_data = 1; sample 221 libavformat/movenchint.c HintSample *sample = &queue->samples[0]; sample 224 libavformat/movenchint.c if (sample->offset == 0 && sample->size > 5) sample 225 libavformat/movenchint.c sample->offset = 5; sample 227 libavformat/movenchint.c if (match_segments(data, len, sample->data, sample->offset, sample 228 libavformat/movenchint.c sample->size, pos, match_offset, match_len) == 0) { sample 229 libavformat/movenchint.c *match_sample = sample->sample_number; sample 232 libavformat/movenchint.c sample->offset = *match_offset + *match_len + 5; sample 233 libavformat/movenchint.c if (sample->offset + 10 >= sample->size) sample 238 libavformat/movenchint.c if (sample->offset < 10 && sample->size > 20) { sample 241 libavformat/movenchint.c sample->offset = sample->size/2; sample 402 libavformat/movenchint.c int track_index, int sample, sample 420 libavformat/movenchint.c sample_queue_push(&trk->sample_queue, sample_data, sample_size, sample); sample 422 libavformat/movenchint.c sample_queue_push(&trk->sample_queue, pkt->data, pkt->size, sample); sample 391 libavformat/mxfdec.c uint32_t sample = bytestream_get_le32(&buf_ptr); sample 393 libavformat/mxfdec.c bytestream_put_le24(&data_ptr, (sample >> 4) & 0xffffff); sample 395 libavformat/mxfdec.c bytestream_put_le16(&data_ptr, (sample >> 12) & 0xffff); sample 2068 libavformat/mxfenc.c uint32_t sample; sample 2070 libavformat/mxfenc.c sample = AV_RL24(samples)<< 4; sample 2073 libavformat/mxfenc.c sample = AV_RL16(samples)<<12; sample 2076 libavformat/mxfenc.c avio_wl32(pb, sample | i); sample 216 libavformat/rl2.c AVIndexEntry *sample = NULL; sample 226 libavformat/rl2.c sample = &s->streams[i]->index_entries[ rl2->index_pos[i] ]; sample 227 libavformat/rl2.c pos= sample->pos; sample 238 libavformat/rl2.c avio_seek(pb, sample->pos, SEEK_SET); sample 241 libavformat/rl2.c ret = av_get_packet(pb, pkt, sample->size); sample 242 libavformat/rl2.c if(ret != sample->size){ sample 248 libavformat/rl2.c pkt->pts = sample->timestamp; sample 258 libavformat/segafilm.c film_sample *sample; sample 264 libavformat/segafilm.c sample = &film->sample_table[film->current_sample]; sample 267 libavformat/segafilm.c avio_seek(pb, sample->sample_offset, SEEK_SET); sample 270 libavformat/segafilm.c ret= av_get_packet(pb, pkt, sample->sample_size); sample 271 libavformat/segafilm.c if (ret != sample->sample_size) sample 274 libavformat/segafilm.c pkt->stream_index = sample->stream; sample 275 libavformat/segafilm.c pkt->pts = sample->pts; sample 1406 libavformat/utils.c int64_t sample = ts_to_samples(st, pts); sample 1408 libavformat/utils.c int64_t end_sample = sample + duration; sample 1410 libavformat/utils.c sample < st->last_discard_sample) sample 42 libavresample/avresample-test.c int channels, int sample, int ch, \ sample 48 libavresample/avresample-test.c out[ch][sample] = v; \ sample 50 libavresample/avresample-test.c out[0][sample * channels + ch] = v; \ sample 60 libavresample/avresample-test.c int channels, int sample, int ch, double v_dbl) sample 64 libavresample/avresample-test.c put_sample_u8(data, sample_fmt, channels, sample, ch, v_dbl); sample 67 libavresample/avresample-test.c put_sample_s16(data, sample_fmt, channels, sample, ch, v_dbl); sample 70 libavresample/avresample-test.c put_sample_s32(data, sample_fmt, channels, sample, ch, v_dbl); sample 73 libavresample/avresample-test.c put_sample_flt(data, sample_fmt, channels, sample, ch, v_dbl); sample 76 libavresample/avresample-test.c put_sample_dbl(data, sample_fmt, channels, sample, ch, v_dbl); sample 184 libavresample/dither.c float sample = src[i] * S16_SCALE; sample 195 libavresample/dither.c sample -= err; sample 198 libavresample/dither.c dst[i] = av_clip_int16(lrintf(sample)); sample 201 libavresample/dither.c dst[i] = av_clip_int16(lrintf(sample + dither[i])); sample 202 libavresample/dither.c state->dither_b[0] = av_clipf(dst[i] - sample, -1.5f, 1.5f); sample 388 libavutil/log.c static void missing_feature_sample(int sample, void *avc, const char *msg, sample 396 libavutil/log.c if (sample)