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()
2165 …const unsigned n = flac_min(blocksize+OVERREAD_-encoder->private_->current_sample_number, samples-… in FLAC__stream_encoder_process()
2174 …memcpy(&encoder->private_->integer_signal[channel][encoder->private_->current_sample_number], &buf… in FLAC__stream_encoder_process()
2180 for(i = encoder->private_->current_sample_number; i <= blocksize && j < samples; i++, j++) { in FLAC__stream_encoder_process()
2188 encoder->private_->current_sample_number += n; in FLAC__stream_encoder_process()
2191 if(encoder->private_->current_sample_number > blocksize) { in FLAC__stream_encoder_process()
2192 FLAC__ASSERT(encoder->private_->current_sample_number == blocksize+OVERREAD_); in FLAC__stream_encoder_process()
2203 encoder->private_->current_sample_number = 1; in FLAC__stream_encoder_process()
2232 …fer, j, channels, flac_min(blocksize+OVERREAD_-encoder->private_->current_sample_number, samples-j… in FLAC__stream_encoder_process_interleaved()
2235 for(i = encoder->private_->current_sample_number; i <= blocksize && j < samples; i++, j++) { in FLAC__stream_encoder_process_interleaved()
2245 encoder->private_->current_sample_number = i; in FLAC__stream_encoder_process_interleaved()
2257 encoder->private_->current_sample_number = 1; in FLAC__stream_encoder_process_interleaved()
2267 …fer, j, channels, flac_min(blocksize+OVERREAD_-encoder->private_->current_sample_number, samples-j… in FLAC__stream_encoder_process_interleaved()
2270 for(i = encoder->private_->current_sample_number; i <= blocksize && j < samples; i++, j++) { in FLAC__stream_encoder_process_interleaved()
2274 encoder->private_->current_sample_number = i; in FLAC__stream_encoder_process_interleaved()
2284 encoder->private_->current_sample_number = 1; in FLAC__stream_encoder_process_interleaved()
2442 FLAC__ASSERT(encoder->private_->current_sample_number == 0); in resize_buffers_()
3113 encoder->private_->current_sample_number = 0; in process_frame_()