Home | History | Annotate | Download | only in libFLAC

Lines Matching full:channels

274 static void format_input_(FLAC__multibyte *mbuf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
284 #define BYTES_CHANNEL_SELECTOR(bytes, channels) (bytes * 100 + channels)
287 switch (BYTES_CHANNEL_SELECTOR (bytes_per_sample, channels)) {
457 for (channel = 0; channel < channels; channel++)
463 for (channel = 0; channel < channels; channel++)
469 for (channel = 0; channel < channels; channel++) {
479 for (channel = 0; channel < channels; channel++)
491 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
493 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample;
496 if ((size_t)channels > SIZE_MAX / (size_t)bytes_per_sample)
498 if ((size_t)channels * (size_t)bytes_per_sample > SIZE_MAX / (size_t)samples)
513 format_input_(&ctx->internal_buf, signal, channels, samples, bytes_per_sample);