Home
last modified time | relevance | path

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

/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.audio.ogg.php859 * @param int $nominal_bitrate
863 public static function get_quality_from_nominal_bitrate($nominal_bitrate) { argument
866 $nominal_bitrate = $nominal_bitrate / 1000;
868 if ($nominal_bitrate < 128) {
870 $qval = ($nominal_bitrate - 64) / 16;
871 } elseif ($nominal_bitrate < 256) {
873 $qval = $nominal_bitrate / 32;
874 } elseif ($nominal_bitrate < 320) {
876 $qval = ($nominal_bitrate + 256) / 64;
879 $qval = ($nominal_bitrate + 1300) / 180;