Lines Matching refs:samples
277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
287 memcpy(buf_, signal[0], sizeof(FLAC__int32) * samples);
288 for(sample = 0; sample < samples; sample++, buf1_+=2)
293 for(sample = 0; sample < samples; sample++)
300 for(sample = 0; sample < samples; sample++) {
310 for(sample = 0; sample < samples; sample++) {
317 for(sample = 0; sample < samples; sample++) {
328 for(sample = 0; sample < samples; sample++) {
340 for(sample = 0; sample < samples; sample++) {
348 for(sample = 0; sample < samples; sample++) {
360 for(sample = 0; sample < samples; sample++) {
368 for(sample = 0; sample < samples; sample++) {
374 for(sample = 0; sample < samples; sample++) {
383 for(sample = 0; sample < samples; sample++) {
398 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
400 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample;
405 if((size_t)channels * (size_t)bytes_per_sample > SIZE_MAX / (size_t)samples)
419 format_input_(ctx->internal_buf, signal, channels, samples, bytes_per_sample);