Home
last modified time | relevance | path

Searched refs:mp3_buffer_size (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_good/ext/twolame/
Dgsttwolamemp2enc.c658 gint mp3_buffer_size, mp3_size; in gst_two_lame_handle_frame() local
678 mp3_buffer_size = 1.25 * num_samples + 16384; in gst_two_lame_handle_frame()
679 mp3_buf = gst_buffer_new_and_alloc (mp3_buffer_size); in gst_two_lame_handle_frame()
686 (float *) map.data, num_samples, mp3_map.data, mp3_buffer_size); in gst_two_lame_handle_frame()
690 (short int *) map.data, num_samples, mp3_map.data, mp3_buffer_size); in gst_two_lame_handle_frame()
695 num_samples / twolame->num_channels, mp3_map.data, mp3_buffer_size); in gst_two_lame_handle_frame()
699 num_samples / twolame->num_channels, mp3_map.data, mp3_buffer_size); in gst_two_lame_handle_frame()
/third_party/gstreamer/gstplugins_good/ext/lame/
Dgstlamemp3enc.c777 gint mp3_buffer_size, mp3_size; in gst_lamemp3enc_handle_frame() local
794 mp3_buffer_size = 1.25 * num_samples + 7200; in gst_lamemp3enc_handle_frame()
795 mp3_buf = gst_buffer_new_allocate (NULL, mp3_buffer_size, NULL); in gst_lamemp3enc_handle_frame()
802 (short int *) in_map.data, num_samples, mp3_map.data, mp3_buffer_size); in gst_lamemp3enc_handle_frame()
806 num_samples / lame->num_channels, mp3_map.data, mp3_buffer_size); in gst_lamemp3enc_handle_frame()