Searched refs:framesize (Results 1 – 13 of 13) sorted by relevance
| /plan9/sys/src/games/mp3enc/ |
| H A D | timestatus.c | 75 const int framesize ) // Size of a frame [bps/kbps] in ts_calc_times() argument 81 tstime->speed_index = framesize * frameNum / (sample_freq * tstime->elapsed_time); in ts_calc_times() 109 const int framesize ) in timestatus() argument 137 ts_calc_times ( &real_time, samp_rate, frameNum, totalframes, framesize ); in timestatus() 138 ts_calc_times ( &proc_time, samp_rate, frameNum, totalframes, framesize ); in timestatus() 180 gfp->framesize ); in timestatus_klemm()
|
| H A D | get_audio.c | 241 int framesize; in get_audio() local 254 samples_to_read = framesize = gfp->framesize; in get_audio() 255 assert(framesize <= 1152); in get_audio() 267 if (remaining < framesize) in get_audio() 282 read_samples_pcm(musicin, insamp, num_channels * framesize, in get_audio() 289 for (j = 0; j < framesize; j++) { in get_audio() 295 for (j = 0; j < framesize; j++) { in get_audio() 474 mp3input_data.framesize = 1152; in lame_decoder() 480 mp3input_data.framesize = 1152; in lame_decoder() 486 mp3input_data.framesize = 1152; in lame_decoder() [all …]
|
| H A D | mpglib_interface.c | 67 mp3data->framesize = smpls [mp.fr.lsf] [mp.fr.lay]; in lame_decode1_headers() 71 ( 1.e3 * mp3data->framesize ) + 0.5; in lame_decode1_headers() 78 mp3data->nsamp=mp3data->framesize * mp.num_frames; in lame_decode1_headers()
|
| H A D | timestatus.h | 29 int framesize);
|
| H A D | lame.c | 681 gfp->framesize = 1024; in lame_init_params() 687 gfp->framesize = 576 * gfc->mode_gr; in lame_init_params() 692 gfc->frame_size = gfp->framesize; in lame_init_params() 966 2 + gfp->num_samples / (gfc->resample_ratio * gfp->framesize); in lame_init_params() 1254 mf_needed = BLKSIZE + gfp->framesize - FFTOFFSET; /* amount needed for FFT */ in lame_encode_buffer_sample_t() 1302 gfc->mf_size -= gfp->framesize; in lame_encode_buffer_sample_t() 1303 gfc->mf_samples_to_encode -= gfp->framesize; in lame_encode_buffer_sample_t() 1306 mfbuf[ch][i] = mfbuf[ch][i + gfp->framesize]; in lame_encode_buffer_sample_t() 1489 return lame_encode_buffer(gfp, in_buffer[0], in_buffer[1], gfp->framesize, in lame_encode() 1522 imp3 = lame_encode_buffer(gfp, buffer[0], buffer[1], gfp->framesize, in lame_encode_flush() [all …]
|
| H A D | main.c | 234 gf->framesize ); in main() 277 gf->framesize); in main()
|
| H A D | lame-analysis.h | 81 int framesize,stereo,js,ms_stereo,i_stereo,emph,bitrate,sampfreq,maindata; member
|
| H A D | vorbis_interface.c | 521 double **buffer = vorbis_analysis_buffer(&vd2,gfp->framesize); in lame_encode_ogg_frame() 524 for ( i = 0; i < gfp->framesize; i++ ) in lame_encode_ogg_frame() 527 for ( i = 0; i < gfp->framesize; i++ ) in lame_encode_ogg_frame()
|
| H A D | lame.h | 184 int framesize; member 781 int framesize; /* number of samples per mp3 frame */ member
|
| H A D | encoder.c | 245 assert(gfc->mf_size>=(BLKSIZE+gfp->framesize-FFTOFFSET)); in lame_encode_mp3_frame() 573 gfc->pinfo->pcmdata[ch][j] = gfc->pinfo->pcmdata[ch][j+gfp->framesize]; in lame_encode_mp3_frame()
|
| H A D | util.c | 436 gfp->framesize, in_buffer[ch], in fill_buffer() 441 *n_out = Min(gfp->framesize, nsamples); in fill_buffer()
|
| H A D | quantize.c | 1564 mean_bits = gfp->VBR_mean_bitrate_kbps * gfp->framesize * 1000; in calc_target_bits()
|
| H A D | vbrquantize.c | 1522 bitsPerFrame = (bit_rate*gfp->framesize*1000)/gfp->out_samplerate; in VBR_quantize()
|