• 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 refs:lookahead_length

95 	unsigned lookahead_length;
164 int flac__encode_aif(FILE *infile, off_t infilesize, const char *infilename, const char *outfilename, const FLAC__byte *lookahead, unsigned lookahead_length, wav_encode_options_t options, FLAC__bool is_aifc)
177 (void)lookahead_length; /* silence compiler warning about unused parameter */
609 int flac__encode_wav(FILE *infile, off_t infilesize, const char *infilename, const char *outfilename, const FLAC__byte *lookahead, unsigned lookahead_length, wav_encode_options_t options)
624 (void)lookahead_length;
1164 int flac__encode_raw(FILE *infile, off_t infilesize, const char *infilename, const char *outfilename, const FLAC__byte *lookahead, unsigned lookahead_length, raw_encode_options_t options)
1248 if(skip_bytes > lookahead_length) {
1249 skip_bytes -= lookahead_length;
1250 lookahead_length = 0;
1258 lookahead_length -= skip_bytes;
1295 if(lookahead_length > 0) {
1296 FLAC__ASSERT(lookahead_length < CHUNK_OF_SAMPLES * bytes_per_wide_sample);
1297 memcpy(ucbuffer_, lookahead, lookahead_length);
1298 bytes_read = fread(ucbuffer_+lookahead_length, sizeof(unsigned char), CHUNK_OF_SAMPLES * bytes_per_wide_sample - lookahead_length, infile) + lookahead_length;
1303 lookahead_length = 0;
1338 if(lookahead_length > 0) {
1339 FLAC__ASSERT(lookahead_length <= wanted);
1340 memcpy(ucbuffer_, lookahead, lookahead_length);
1341 wanted -= lookahead_length;
1342 bytes_read = lookahead_length;
1344 bytes_read += fread(ucbuffer_+lookahead_length, sizeof(unsigned char), wanted, infile);
1350 lookahead_length = 0;
1432 int flac__encode_flac(FILE *infile, off_t infilesize, const char *infilename, const char *outfilename, const FLAC__byte *lookahead, unsigned lookahead_length, flac_encode_options_t options, FLAC__bool input_is_ogg)
1461 decoder_data.lookahead_length = lookahead_length;
2489 if (data->lookahead_length) {
2490 n = min(data->lookahead_length, *bytes);
2494 data->lookahead_length -= n;