Lines Matching defs:samples
38 * Common to all wmapro frames is the number of samples that are stored in
40 * The number of samples and a few other decode flags are stored
44 * subframes. Every subframe contains the data for 2^N time domain samples
47 * Example wmapro bitstream (in samples):
86 * subframe in order to reconstruct the output samples.
148 uint16_t subframe_len[MAX_SUBFRAMES]; ///< subframe length in samples
151 uint16_t decoded_samples; ///< number of already processed samples
196 uint16_t samples_per_frame; ///< number of samples to output
197 uint16_t trim_start; ///< number of samples to skip at start
198 uint16_t trim_end; ///< number of samples to skip at end
253 AVAudioFifo *samples[2][XMA_MAX_STREAMS];
270 PRINT("samples per frame", s->samples_per_frame);
644 * samples per channel. The data for every channel might be split
649 * channels with the lowest number of total samples.
663 uint16_t num_samples[WMAPRO_MAX_CHANNELS] = { 0 };/**< sum of samples for all currently known subframes of a channel */
667 int min_channel_len = 0; /**< smallest sum of samples (channels with this length will be processed first) */
671 * while loop when always the minimum amount of 128 samples is subtracted
672 * from missing samples in the 8 channel case).
1213 decoded samples
1231 /** subtract already processed samples */
1502 /** copy samples to the output buffer */
1627 /** Must output remaining samples after stream end. WMAPRO 5.1 created
1633 /** clean output buffer and copy last IMDCT samples */
1871 /* copy stream samples (1/2ch) to sample buffer (Nch) */
1877 av_audio_fifo_write(s->samples[0][s->current_stream], left, nb_samples);
1879 av_audio_fifo_write(s->samples[1][s->current_stream], right, nb_samples);
1912 nb_samples = FFMIN(nb_samples, av_audio_fifo_size(s->samples[0][i]));
1918 /* copy samples from buffer to output if possible */
1935 av_audio_fifo_read(s->samples[0][i], left, nb_samples);
1938 av_audio_fifo_read(s->samples[1][i], right, nb_samples);
2010 s->samples[0][i] = av_audio_fifo_alloc(avctx->sample_fmt, 1, 64 * 512);
2011 s->samples[1][i] = av_audio_fifo_alloc(avctx->sample_fmt, 1, 64 * 512);
2012 if (!s->samples[0][i] || !s->samples[1][i])
2031 av_audio_fifo_free(s->samples[0][i]);
2032 av_audio_fifo_free(s->samples[1][i]);
2069 av_audio_fifo_reset(s->samples[0][i]);
2070 av_audio_fifo_reset(s->samples[1][i]);