Lines Matching refs:head4

466 		$head4 = substr($headerstring, 0, 4);
467 $head4_key = getid3_lib::PrintHexBytes($head4, true, false, false);
472 $MPEGheaderRawArray = self::MPEGaudioHeaderDecode($head4);
491 …$this->error('Invalid MPEG audio header ('.getid3_lib::PrintHexBytes($head4).') at offset '.$offse…
1291 $head4 = $this->fread(4);
1292 if (strlen($head4) < 4) {
1295 if ($head4[0] != "\xFF") {
1297 if ($head4[$i] == "\xFF") {
1304 if (!isset($MPEGaudioHeaderDecodeCache[$head4])) {
1305 $MPEGaudioHeaderDecodeCache[$head4] = self::MPEGaudioHeaderDecode($head4);
1307 if (!isset($MPEGaudioHeaderValidCache[$head4])) {
1308 …$MPEGaudioHeaderValidCache[$head4] = self::MPEGaudioHeaderValid($MPEGaudioHeaderDecodeCache[$head4
1310 if ($MPEGaudioHeaderValidCache[$head4]) {
1312 if (!isset($MPEGaudioHeaderLengthCache[$head4])) {
1313 …$LongMPEGversionLookup[$head4] = $MPEGaudioVersionLookup[$MPEGaudioHeaderDecodeCache[$head4]['ve…
1314 …$LongMPEGlayerLookup[$head4] = $MPEGaudioLayerLookup[$MPEGaudioHeaderDecodeCache[$head4]['laye…
1315 …ateLookup[$head4] = $MPEGaudioBitrateLookup[$LongMPEGversionLookup[$head4]][$LongMPEGlayerLookup…
1316 $LongMPEGpaddingLookup[$head4] = (bool) $MPEGaudioHeaderDecodeCache[$head4]['padding'];
1317 …$LongMPEGfrequencyLookup[$head4] = $MPEGaudioFrequencyLookup[$LongMPEGversionLookup[$head4]][$MPEG…
1318 $MPEGaudioHeaderLengthCache[$head4] = self::MPEGaudioFrameLength(
1319 $LongMPEGbitrateLookup[$head4],
1320 $LongMPEGversionLookup[$head4],
1321 $LongMPEGlayerLookup[$head4],
1322 $LongMPEGpaddingLookup[$head4],
1323 $LongMPEGfrequencyLookup[$head4]);
1325 if ($MPEGaudioHeaderLengthCache[$head4] > 4) {
1327 $this->fseek($MPEGaudioHeaderLengthCache[$head4] - 4, SEEK_CUR);
1339 …teLookup[$head4]] = isset($Distribution['bitrate'][$LongMPEGbitrateLookup[$head4]]) ? ++$Distribut…
1340 …GlayerLookup[$head4]] = isset($Distribution['layer'][$LongMPEGlayerLookup[$head4]]) ? ++$Distribut…
1341 …onLookup[$head4]] = isset($Distribution['version'][$LongMPEGversionLookup[$head4]]) ? ++$Distribut…
1342 …[$head4])] = isset($Distribution['padding'][intval($LongMPEGpaddingLookup[$head4])]) ? ++$Distribu…
1343 …okup[$head4]] = isset($Distribution['frequency'][$LongMPEGfrequencyLookup[$head4]]) ? ++$Distribut…
1777 * @param string $head4
1782 public static function MPEGaudioHeaderBytesValid($head4, $allowBitrate15=false) { argument
1783 return self::MPEGaudioHeaderValid(self::MPEGaudioHeaderDecode($head4), false, $allowBitrate15);