Lines Matching full:sampling_rate
230 opus_int32 sampling_rate;
309 sampling_rate = (opus_int32)atol(argv[args]);
312 if (sampling_rate != 8000 && sampling_rate != 12000
313 && sampling_rate != 16000 && sampling_rate != 24000
314 && sampling_rate != 48000)
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;
526 enc = opus_encoder_create(sampling_rate, channels, application, &err);
550 dec = opus_decoder_create(sampling_rate, channels, &err);
588 (long)sampling_rate, channels);
592 (long)sampling_rate, bitrate_bps*0.001,
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)
633 case 0: newsize=sampling_rate/400; break;
634 case 1: newsize=sampling_rate/200; break;
635 case 2: newsize=sampling_rate/100; break;
636 case 3: newsize=sampling_rate/50; break;
637 case 4: newsize=sampling_rate/25; break;
638 case 5: newsize=3*sampling_rate/50; break;
640 while (newsize < sampling_rate/25 && bitrate_bps-fabs(sweep_bps) <= 3*12*sampling_rate/newsize)
642 if (newsize < sampling_rate/100 && frame_size >= sampling_rate/100)
703 nb_encoded = opus_packet_get_samples_per_frame(data[toggle], sampling_rate)*opus_packet_get_nb_frames(data[toggle], len[toggle]);
863 1e-3*bits*sampling_rate/tot_samples);
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);