Searched refs:Header4Bytes (Results 1 – 3 of 3) sorted by relevance
1682 function MPEGaudioHeaderDecode($Header4Bytes) { argument1698 if (strlen($Header4Bytes) != 4) {1702 …$MPEGrawHeader['synch'] = (getid3_lib::BigEndian2Int(substr($Header4Bytes, 0, 2)) & 0xFFE0…1703 $MPEGrawHeader['version'] = (ord($Header4Bytes{1}) & 0x18) >> 3; // BB1704 $MPEGrawHeader['layer'] = (ord($Header4Bytes{1}) & 0x06) >> 1; // CC1705 $MPEGrawHeader['protection'] = (ord($Header4Bytes{1}) & 0x01); // D1706 $MPEGrawHeader['bitrate'] = (ord($Header4Bytes{2}) & 0xF0) >> 4; // EEEE1707 $MPEGrawHeader['sample_rate'] = (ord($Header4Bytes{2}) & 0x0C) >> 2; // FF1708 $MPEGrawHeader['padding'] = (ord($Header4Bytes{2}) & 0x02) >> 1; // G1709 $MPEGrawHeader['private'] = (ord($Header4Bytes{2}) & 0x01); // H[all …]
1866 * @param string $Header4Bytes1870 public static function MPEGaudioHeaderDecode($Header4Bytes) { argument1886 if (strlen($Header4Bytes) != 4) {1890 …$MPEGrawHeader['synch'] = (getid3_lib::BigEndian2Int(substr($Header4Bytes, 0, 2)) & 0xFFE0…1891 $MPEGrawHeader['version'] = (ord($Header4Bytes[1]) & 0x18) >> 3; // BB1892 $MPEGrawHeader['layer'] = (ord($Header4Bytes[1]) & 0x06) >> 1; // CC1893 $MPEGrawHeader['protection'] = (ord($Header4Bytes[1]) & 0x01); // D1894 $MPEGrawHeader['bitrate'] = (ord($Header4Bytes[2]) & 0xF0) >> 4; // EEEE1895 $MPEGrawHeader['sample_rate'] = (ord($Header4Bytes[2]) & 0x0C) >> 2; // FF1896 $MPEGrawHeader['padding'] = (ord($Header4Bytes[2]) & 0x02) >> 1; // G[all …]
2729 function MPEGaudioHeaderDecode($Header4Bytes) { argument2745 if (strlen($Header4Bytes) != 4) {2749 $MPEGrawHeader['synch'] = (BigEndian2Int(substr($Header4Bytes, 0, 2)) & 0xFFE0) >> 4;2750 $MPEGrawHeader['version'] = (ord($Header4Bytes[1]) & 0x18) >> 3; // BB2751 $MPEGrawHeader['layer'] = (ord($Header4Bytes[1]) & 0x06) >> 1; // CC2752 $MPEGrawHeader['protection'] = (ord($Header4Bytes[1]) & 0x01); // D2753 $MPEGrawHeader['bitrate'] = (ord($Header4Bytes[2]) & 0xF0) >> 4; // EEEE2754 $MPEGrawHeader['sample_rate'] = (ord($Header4Bytes[2]) & 0x0C) >> 2; // FF2755 $MPEGrawHeader['padding'] = (ord($Header4Bytes[2]) & 0x02) >> 1; // G2756 $MPEGrawHeader['private'] = (ord($Header4Bytes[2]) & 0x01); // H[all …]