• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/flac/

Lines Matching defs:data_bytes

355 			unsigned int offset= 0U, block_size= 0U, align_remainder= 0U, data_bytes;
370 data_bytes = (unsigned)(-(int)bytes_per_frame); /* max out data_bytes; we'll use EOF as signal to stop reading */
373 data_bytes= xx;
374 data_bytes-= 8U; /* discount the offset and block size fields */
376 pad= (data_bytes & 1U) ? true : false;
382 data_bytes-= offset;
399 if(data_bytes!=(sample_frames*bytes_per_frame)) {
406 total_samples_in_input = data_bytes / bytes_per_frame + *options.common.align_reservoir_samples;
424 data_bytes-= (unsigned int)encoder_session.skip*bytes_per_frame; /*@@@ WATCHOUT: 4GB limit */
437 data_bytes-= (unsigned int)trim*bytes_per_frame;
463 /* decrement the data_bytes counter if we need to align the file */
469 data_bytes-= (*options.common.align_reservoir_samples)*bytes_per_frame;
474 while(data_bytes>0) {
475 size_t bytes_read= fread(ucbuffer_, 1U, min(data_bytes, CHUNK_OF_SAMPLES*bytes_per_frame), infile);
491 data_bytes= 0;
509 data_bytes-= bytes_read;
668 unsigned block_align, data_bytes;
704 data_bytes = xx;
705 if(data_bytes < 16) {
706 flac__utils_printf(stderr, 1, "%s: ERROR: found non-standard 'fmt ' sub-chunk which has length = %u\n", encoder_session.inbasefilename, data_bytes);
790 FLAC__ASSERT(data_bytes >= 16);
791 data_bytes -= 16;
794 if(data_bytes < 40) {
795 flac__utils_printf(stderr, 1, "%s: ERROR: invalid WAVEFORMATEXTENSIBLE chunk with size %u\n", encoder_session.inbasefilename, data_bytes);
904 data_bytes -= 26;
917 if(!fskip_ahead(infile, data_bytes)) {
937 unsigned data_bytes;
944 data_bytes = (unsigned)(-(int)bytes_per_wide_sample); /* max out data_bytes; we'll use EOF as signal to stop reading */
947 data_bytes = xx;
948 if(0 == data_bytes) {
953 pad = (data_bytes & 1U) ? true : false;
957 total_samples_in_input = data_bytes / bytes_per_wide_sample + *options.common.align_reservoir_samples;
975 data_bytes -= (unsigned)encoder_session.skip * bytes_per_wide_sample; /*@@@ WATCHOUT: 4GB limit */
988 data_bytes -= (unsigned int)trim * bytes_per_wide_sample;
1016 * decrement the data_bytes counter if we need to align the file
1024 data_bytes -= (*options.common.align_reservoir_samples) * bytes_per_wide_sample;
1031 while(data_bytes > 0) {
1032 bytes_read = fread(ucbuffer_, sizeof(unsigned char), min(data_bytes, CHUNK_OF_SAMPLES * bytes_per_wide_sample), infile);
1047 data_bytes = 0;
1064 data_bytes -= bytes_read;