Lines Matching refs:buffer
95 /* in freeformat the buffer is constant */
117 /* All mp3 decoders should have enough buffer to handle this value: size of a 320kbps 32kHz frame */
482 /* yikes! we are out of header buffer space */
787 currently in the buffer. This should be the same as the
789 only after all headers and data have been added to the buffer
793 size of mp3 buffer (including frame headers which may not
794 have yet been send to the mp3 buffer) +
797 total_bytes_output is the size of the mp3 output buffer if
845 /* if flushbits < 0, this would mean that the buffer looks like:
856 ERRORF(gfc, "strange error flushing buffer ... \n");
941 ERRORF(gfc, "Internal buffer inconsistency. flushbits <> ResvSize");
988 do_gain_analysis(lame_internal_flags * gfc, unsigned char* buffer, int minimum)
1002 samples_out = hip_decode1_unclipped(gfc->hip, buffer, mp3_in, pcm_buf[0], pcm_buf[1]);
1007 /* set the lenght of the mp3 input buffer to zero, so that in the
1021 * overflown the pcm_buf buffer */
1056 do_copy_buffer(lame_internal_flags * gfc, unsigned char *buffer, int size)
1063 return -1; /* buffer is too small */
1064 memcpy(buffer, bs->buf, minimum);
1070 /* copy data out of the internal MP3 bit buffer into a user supplied
1071 unsigned char buffer.
1073 mp3data=0 indicates data in buffer is an id3tags and VBR tags
1079 copy_buffer(lame_internal_flags * gfc, unsigned char *buffer, int size, int mp3data)
1081 int const minimum = do_copy_buffer(gfc, buffer, size);
1083 UpdateMusicCRC(&gfc->nMusicCRC, buffer, minimum);
1090 return do_gain_analysis(gfc, buffer, minimum);