Lines Matching refs:headerbitstream
1444 $headerbitstream = '11111111111'; // A - Frame sync (all bits set) variable
1447 $headerbitstream .= $MPEGversionLookup[$_POST['version']]; // B - MPEG Audio version ID
1450 $headerbitstream .= $MPEGlayerLookup[$_POST['layer']]; // C - Layer description
1452 $headerbitstream .= (($_POST['protection'] == 'Y') ? '0' : '1'); // D - Protection bit
1464 …$headerbitstream .= $MPEGaudioBitrateLookup[$_POST['version']][$_POST['layer']][$_POST['bitrate']]…
1473 …$headerbitstream .= $MPEGaudioFrequencyLookup[$_POST['version']][$_POST['frequency']]; // F - Sam…
1478 $headerbitstream .= (($_POST['padding'] == 'Y') ? '1' : '0'); // G - Padding bit
1480 $headerbitstream .= (($_POST['private'] == 'Y') ? '1' : '0'); // H - Private bit
1483 $headerbitstream .= $MPEGaudioChannelModeLookup[$_POST['channelmode']]; // I - Channel Mode
1489 $headerbitstream .= '00';
1491 …$headerbitstream .= $MPEGaudioModeExtensionLookup[$_POST['layer']][$_POST['modeextension']]; // J…
1496 $headerbitstream .= (($_POST['copyright'] == 'Y') ? '1' : '0'); // K - Copyright
1498 $headerbitstream .= (($_POST['original'] == 'Y') ? '1' : '0'); // L - Original
1502 $headerbitstream .= $MPEGaudioEmphasisLookup[$_POST['emphasis']]; // M - Emphasis
1507 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 0, 8))), 2, '0', STR_PAD_LEFT)).' …
1508 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 8, 8))), 2, '0', STR_PAD_LEFT)).' …
1509 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 16, 8))), 2, '0', STR_PAD_LEFT)).' …
1510 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 24, 8))), 2, '0', STR_PAD_LEFT)).'<…