Home
last modified time | relevance | path

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

/plugin/jukebox/id3/
Dmodule.audio.mp3.php1682 function MPEGaudioHeaderDecode($Header4Bytes) { argument
1698 if (strlen($Header4Bytes) != 4) {
1702 …$MPEGrawHeader['synch'] = (getid3_lib::BigEndian2Int(substr($Header4Bytes, 0, 2)) & 0xFFE0…
1703 $MPEGrawHeader['version'] = (ord($Header4Bytes{1}) & 0x18) >> 3; // BB
1704 $MPEGrawHeader['layer'] = (ord($Header4Bytes{1}) & 0x06) >> 1; // CC
1705 $MPEGrawHeader['protection'] = (ord($Header4Bytes{1}) & 0x01); // D
1706 $MPEGrawHeader['bitrate'] = (ord($Header4Bytes{2}) & 0xF0) >> 4; // EEEE
1707 $MPEGrawHeader['sample_rate'] = (ord($Header4Bytes{2}) & 0x0C) >> 2; // FF
1708 $MPEGrawHeader['padding'] = (ord($Header4Bytes{2}) & 0x02) >> 1; // G
1709 $MPEGrawHeader['private'] = (ord($Header4Bytes{2}) & 0x01); // H
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
Dmodule.audio.mp3.php1866 * @param string $Header4Bytes
1870 public static function MPEGaudioHeaderDecode($Header4Bytes) { argument
1886 if (strlen($Header4Bytes) != 4) {
1890 …$MPEGrawHeader['synch'] = (getid3_lib::BigEndian2Int(substr($Header4Bytes, 0, 2)) & 0xFFE0…
1891 $MPEGrawHeader['version'] = (ord($Header4Bytes[1]) & 0x18) >> 3; // BB
1892 $MPEGrawHeader['layer'] = (ord($Header4Bytes[1]) & 0x06) >> 1; // CC
1893 $MPEGrawHeader['protection'] = (ord($Header4Bytes[1]) & 0x01); // D
1894 $MPEGrawHeader['bitrate'] = (ord($Header4Bytes[2]) & 0xF0) >> 4; // EEEE
1895 $MPEGrawHeader['sample_rate'] = (ord($Header4Bytes[2]) & 0x0C) >> 2; // FF
1896 $MPEGrawHeader['padding'] = (ord($Header4Bytes[2]) & 0x02) >> 1; // G
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
Ddemo.mp3header.php2729 function MPEGaudioHeaderDecode($Header4Bytes) { argument
2745 if (strlen($Header4Bytes) != 4) {
2749 $MPEGrawHeader['synch'] = (BigEndian2Int(substr($Header4Bytes, 0, 2)) & 0xFFE0) >> 4;
2750 $MPEGrawHeader['version'] = (ord($Header4Bytes[1]) & 0x18) >> 3; // BB
2751 $MPEGrawHeader['layer'] = (ord($Header4Bytes[1]) & 0x06) >> 1; // CC
2752 $MPEGrawHeader['protection'] = (ord($Header4Bytes[1]) & 0x01); // D
2753 $MPEGrawHeader['bitrate'] = (ord($Header4Bytes[2]) & 0xF0) >> 4; // EEEE
2754 $MPEGrawHeader['sample_rate'] = (ord($Header4Bytes[2]) & 0x0C) >> 2; // FF
2755 $MPEGrawHeader['padding'] = (ord($Header4Bytes[2]) & 0x02) >> 1; // G
2756 $MPEGrawHeader['private'] = (ord($Header4Bytes[2]) & 0x01); // H
[all …]