Lines Matching refs:head4

434 		$head4 = substr($headerstring, 0, 4);
437 if (isset($MPEGaudioHeaderDecodeCache[$head4])) {
438 $MPEGheaderRawArray = $MPEGaudioHeaderDecodeCache[$head4];
440 $MPEGheaderRawArray = getid3_mp3::MPEGaudioHeaderDecode($head4);
441 $MPEGaudioHeaderDecodeCache[$head4] = $MPEGheaderRawArray;
447 if (!isset($MPEGaudioHeaderValidCache[$head4])) {
449 …$MPEGaudioHeaderValidCache[$head4] = getid3_mp3::MPEGaudioHeaderValid($MPEGheaderRawArray, false, …
459 if ($MPEGaudioHeaderValidCache[$head4]) {
1212 $head4 = fread($fd, 4);
1213 if (strlen($head4) < 4) {
1216 if ($head4{0} != "\xFF") {
1218 if ($head4{$i} == "\xFF") {
1225 if (!isset($MPEGaudioHeaderDecodeCache[$head4])) {
1226 $MPEGaudioHeaderDecodeCache[$head4] = getid3_mp3::MPEGaudioHeaderDecode($head4);
1228 if (!isset($MPEGaudioHeaderValidCache[$head4])) {
1229 …$MPEGaudioHeaderValidCache[$head4] = getid3_mp3::MPEGaudioHeaderValid($MPEGaudioHeaderDecodeCache[…
1231 if ($MPEGaudioHeaderValidCache[$head4]) {
1233 if (!isset($MPEGaudioHeaderLengthCache[$head4])) {
1234 …$LongMPEGversionLookup[$head4] = $MPEGaudioVersionLookup[$MPEGaudioHeaderDecodeCache[$head4]['ve…
1235 …$LongMPEGlayerLookup[$head4] = $MPEGaudioLayerLookup[$MPEGaudioHeaderDecodeCache[$head4]['laye…
1236 …ateLookup[$head4] = $MPEGaudioBitrateLookup[$LongMPEGversionLookup[$head4]][$LongMPEGlayerLookup…
1237 $LongMPEGpaddingLookup[$head4] = (bool) $MPEGaudioHeaderDecodeCache[$head4]['padding'];
1238 …$LongMPEGfrequencyLookup[$head4] = $MPEGaudioFrequencyLookup[$LongMPEGversionLookup[$head4]][$MPEG…
1239 $MPEGaudioHeaderLengthCache[$head4] = getid3_mp3::MPEGaudioFrameLength(
1240 $LongMPEGbitrateLookup[$head4],
1241 $LongMPEGversionLookup[$head4],
1242 $LongMPEGlayerLookup[$head4],
1243 $LongMPEGpaddingLookup[$head4],
1244 $LongMPEGfrequencyLookup[$head4]);
1246 if ($MPEGaudioHeaderLengthCache[$head4] > 4) {
1248 fseek($fd, $MPEGaudioHeaderLengthCache[$head4] - 4, SEEK_CUR);
1260 @$Distribution['bitrate'][$LongMPEGbitrateLookup[$head4]]++;
1261 @$Distribution['layer'][$LongMPEGlayerLookup[$head4]]++;
1262 @$Distribution['version'][$LongMPEGversionLookup[$head4]]++;
1263 @$Distribution['padding'][intval($LongMPEGpaddingLookup[$head4])]++;
1264 @$Distribution['frequency'][$LongMPEGfrequencyLookup[$head4]]++;
1606 function MPEGaudioHeaderBytesValid($head4, $allowBitrate15=false) { argument
1607 …return getid3_mp3::MPEGaudioHeaderValid(getid3_mp3::MPEGaudioHeaderDecode($head4), false, $allowBi…