Lines Matching defs:frame_size
226 int frame_size, channels;
320 frame_size = sampling_rate/50;
377 frame_size = sampling_rate/400;
379 frame_size = sampling_rate/200;
381 frame_size = sampling_rate/100;
383 frame_size = sampling_rate/50;
385 frame_size = sampling_rate/25;
387 frame_size = 3*sampling_rate/50;
593 bandwidth_string, frame_size);
606 if (frame_size==sampling_rate/400)
608 else if (frame_size==sampling_rate/200)
610 else if (frame_size==sampling_rate/100)
612 else if (frame_size==sampling_rate/50)
614 else if (frame_size==sampling_rate/25)
620 frame_size = 2*48000;
626 frame_size = newsize;
642 if (newsize < sampling_rate/100 && frame_size >= sampling_rate/100)
647 frame_size = newsize;
683 frame_size = mode_list[curr_mode][2];
685 err = fread(fbytes, sizeof(short)*channels, frame_size-remaining, fin);
695 if (curr_read+remaining < frame_size)
697 for (i=(curr_read+remaining)*channels;i<frame_size*channels;i++)
702 len[toggle] = opus_encode(enc, in, frame_size, data[toggle], max_payload_bytes);
704 remaining = frame_size-nb_encoded;
730 curr_mode_count += frame_size;
848 for ( k = 0; k < frame_size * channels; k++ ) {
852 if ( ( nrg / ( frame_size * channels ) ) > 1e5 ) {
865 1e-3*bits_max*sampling_rate/frame_size);
868 1e-3*bits_act*sampling_rate/(frame_size*(double)count_act));
870 1e-3*sqrt(bits2/count - bits*bits/(count*(double)count))*sampling_rate/frame_size);