Lines Matching refs:current_sample_number
346 unsigned current_sample_number; member
869 encoder->private_->current_sample_number = 0; in init_stream_internal_()
1460 if(encoder->private_->current_sample_number != 0) { in FLAC__stream_encoder_finish()
1461 …l is_fractional_block = encoder->protected_->blocksize != encoder->private_->current_sample_number; in FLAC__stream_encoder_finish()
1462 encoder->protected_->blocksize = encoder->private_->current_sample_number; in FLAC__stream_encoder_finish()
2163 …const unsigned n = flac_min(blocksize+OVERREAD_-encoder->private_->current_sample_number, samples-… in FLAC__stream_encoder_process()
2169 …memcpy(&encoder->private_->integer_signal[channel][encoder->private_->current_sample_number], &buf… in FLAC__stream_encoder_process()
2174 for(i = encoder->private_->current_sample_number; i <= blocksize && j < samples; i++, j++) { in FLAC__stream_encoder_process()
2182 encoder->private_->current_sample_number += n; in FLAC__stream_encoder_process()
2185 if(encoder->private_->current_sample_number > blocksize) { in FLAC__stream_encoder_process()
2186 FLAC__ASSERT(encoder->private_->current_sample_number == blocksize+OVERREAD_); in FLAC__stream_encoder_process()
2197 encoder->private_->current_sample_number = 1; in FLAC__stream_encoder_process()
2226 …fer, j, channels, flac_min(blocksize+OVERREAD_-encoder->private_->current_sample_number, samples-j… in FLAC__stream_encoder_process_interleaved()
2229 for(i = encoder->private_->current_sample_number; i <= blocksize && j < samples; i++, j++) { in FLAC__stream_encoder_process_interleaved()
2239 encoder->private_->current_sample_number = i; in FLAC__stream_encoder_process_interleaved()
2251 encoder->private_->current_sample_number = 1; in FLAC__stream_encoder_process_interleaved()
2261 …fer, j, channels, flac_min(blocksize+OVERREAD_-encoder->private_->current_sample_number, samples-j… in FLAC__stream_encoder_process_interleaved()
2264 for(i = encoder->private_->current_sample_number; i <= blocksize && j < samples; i++, j++) { in FLAC__stream_encoder_process_interleaved()
2268 encoder->private_->current_sample_number = i; in FLAC__stream_encoder_process_interleaved()
2278 encoder->private_->current_sample_number = 1; in FLAC__stream_encoder_process_interleaved()
2436 FLAC__ASSERT(encoder->private_->current_sample_number == 0); in resize_buffers_()
3107 encoder->private_->current_sample_number = 0; in process_frame_()