ILIAS
release_4-3 Revision
|
getID3() by James Heinrich info@ // geti d3.or gMore...
Public Member Functions | |
PrintHexBytes ($string, $hex=true, $spaces=true, $htmlsafe=true) | |
SafeStripSlashes ($text) | |
trunc ($floatnumber) | |
CastAsInt ($floatnum) | |
DecimalBinary2Float ($binarynumerator) | |
NormalizeBinaryPoint ($binarypointnumber, $maxbits=52) | |
Float2BinaryDecimal ($floatvalue) | |
Float2String ($floatvalue, $bits) | |
LittleEndian2Float ($byteword) | |
BigEndian2Float ($byteword) | |
BigEndian2Int ($byteword, $synchsafe=false, $signed=false) | |
LittleEndian2Int ($byteword, $signed=false) | |
BigEndian2Bin ($byteword) | |
BigEndian2String ($number, $minbytes=1, $synchsafe=false, $signed=false) | |
Dec2Bin ($number) | |
Bin2Dec ($binstring, $signed=false) | |
Bin2String ($binstring) | |
LittleEndian2String ($number, $minbytes=1, $synchsafe=false) | |
array_merge_clobber ($array1, $array2) | |
array_merge_noclobber ($array1, $array2) | |
fileextension ($filename, $numextensions=1) | |
PlaytimeString ($playtimeseconds) | |
image_type_to_mime_type ($imagetypeid) | |
DateMac2Unix ($macdate) | |
FixedPoint8_8 ($rawdata) | |
FixedPoint16_16 ($rawdata) | |
FixedPoint2_30 ($rawdata) | |
CreateDeepArray ($ArrayPath, $Separator, $Value) | |
array_max ($arraydata, $returnkey=false) | |
array_min ($arraydata, $returnkey=false) | |
md5_file ($file) | |
sha1_file ($file) | |
hash_data ($file, $offset, $end, $algorithm) | |
iconv_fallback_int_utf8 ($charval) | |
iconv_fallback_iso88591_utf8 ($string, $bom=false) | |
iconv_fallback_iso88591_utf16be ($string, $bom=false) | |
iconv_fallback_iso88591_utf16le ($string, $bom=false) | |
iconv_fallback_iso88591_utf16 ($string) | |
iconv_fallback_utf8_iso88591 ($string) | |
iconv_fallback_utf8_utf16be ($string, $bom=false) | |
iconv_fallback_utf8_utf16le ($string, $bom=false) | |
iconv_fallback_utf8_utf16 ($string) | |
iconv_fallback_utf16be_utf8 ($string) | |
iconv_fallback_utf16le_utf8 ($string) | |
iconv_fallback_utf16be_iso88591 ($string) | |
iconv_fallback_utf16le_iso88591 ($string) | |
iconv_fallback_utf16_iso88591 ($string) | |
iconv_fallback_utf16_utf8 ($string) | |
iconv_fallback ($in_charset, $out_charset, $string) | |
MultiByteCharString2HTML ($string, $charset='ISO-8859-1') | |
RGADnameLookup ($namecode) | |
RGADoriginatorLookup ($originatorcode) | |
RGADadjustmentLookup ($rawadjustment, $signbit) | |
RGADgainString ($namecode, $originatorcode, $replaygain) | |
RGADamplitude2dB ($amplitude) | |
GetDataImageSize ($imgData) | |
ImageTypesLookup ($imagetypeid) | |
CopyTagsToComments (&$ThisFileInfo) | |
EmbeddedLookup ($key, $begin, $end, $file, $name) | |
IncludeDependency ($filename, $sourcefile, $DieOnFailure=false) |
getID3() by James Heinrich info@ // geti d3.or g
Definition at line 14 of file getid3.lib.php.
getid3_lib::array_max | ( | $arraydata, | |
$returnkey = false |
|||
) |
Definition at line 483 of file getid3.lib.php.
Referenced by getid3_mp3\getOnlyMPEGaudioInfoBruteForce().
getid3_lib::array_merge_clobber | ( | $array1, | |
$array2 | |||
) |
Definition at line 358 of file getid3.lib.php.
Referenced by getid3_gzip\getid3_gzip(), getid3_tar\getid3_tar(), getid3_zip\getid3_zip(), and getid3_iso\ParseDirectoryRecord().
getid3_lib::array_merge_noclobber | ( | $array1, | |
$array2 | |||
) |
Definition at line 376 of file getid3.lib.php.
Referenced by getid3_asf\getid3_asf(), getid3_id3v2\getid3_id3v2(), and getid3_riff\getid3_riff().
getid3_lib::array_min | ( | $arraydata, | |
$returnkey = false |
|||
) |
Definition at line 497 of file getid3.lib.php.
getid3_lib::BigEndian2Bin | ( | $byteword | ) |
Definition at line 271 of file getid3.lib.php.
Referenced by BigEndian2Float(), FixedPoint2_30(), getid3_flac\FLACparseSTREAMINFO(), getid3_aac\getAACADIFheaderFilepointer(), getid3_ac3\getid3_ac3(), getid3_id3v2\getid3_id3v2(), getid3_mpeg\getid3_mpeg(), and getid3_id3v2\ParseID3v2Frame().
getid3_lib::BigEndian2Float | ( | $byteword | ) |
Definition at line 159 of file getid3.lib.php.
References BigEndian2Bin(), Bin2Dec(), and DecimalBinary2Float().
Referenced by getid3_riff\getid3_riff(), LittleEndian2Float(), getid3_id3v2\ParseID3v2Frame(), and AMFStream\readDouble().
getid3_lib::BigEndian2Int | ( | $byteword, | |
$synchsafe = false , |
|||
$signed = false |
|||
) |
Definition at line 234 of file getid3.lib.php.
References CastAsInt().
Referenced by getID3\analyze(), getid3_mp3\decodeMPEGaudioHeader(), getid3_matroska\EBML2Int(), getid3_riff\EitherEndian2Int(), FixedPoint16_16(), FixedPoint8_8(), getid3_flac\FLACparseAPPLICATION(), getid3_flac\FLACparseCUESHEET(), getid3_flac\FLACparseMETAdata(), getid3_flac\FLACparseSEEKTABLE(), getid3_flac\FLACparseSTREAMINFO(), getid3_au\getid3_au(), getid3_avr\getid3_avr(), getid3_flv\getid3_flv(), getid3_id3v2\getid3_id3v2(), getid3_lpac\getid3_lpac(), getid3_midi\getid3_midi(), getid3_mpeg\getid3_mpeg(), getid3_png\getid3_png(), getid3_quicktime\getid3_quicktime(), getid3_real\getid3_real(), getid3_riff\getid3_riff(), getid3_swf\getid3_swf(), getid3_szip\getid3_szip(), getid3_vqf\getid3_vqf(), iconv_fallback_utf16be_iso88591(), iconv_fallback_utf16be_utf8(), LittleEndian2Int(), getid3_mp3\MPEGaudioHeaderDecode(), MultiByteCharString2HTML(), getid3_id3v2\ParseID3v2Frame(), getid3_real\ParseOldRAheader(), getid3_quicktime\QuicktimeParseAtom(), getid3_quicktime\QuicktimeParseContainerAtom(), AMFStream\readByte(), and getid3_tiff\TIFFendian2Int().
getid3_lib::BigEndian2String | ( | $number, | |
$minbytes = 1 , |
|||
$synchsafe = false , |
|||
$signed = false |
|||
) |
Definition at line 281 of file getid3.lib.php.
Referenced by Float2String(), getid3_write_real\GenerateCONTchunk(), getid3_write_id3v2\GenerateID3v2FrameData(), getid3_write_id3v2\GenerateID3v2Tag(), getid3_write_real\GeneratePROPchunk(), getid3_write_real\GenerateRMFchunk(), and iconv_fallback_utf8_utf16be().
getid3_lib::Bin2Dec | ( | $binstring, | |
$signed = false |
|||
) |
Definition at line 316 of file getid3.lib.php.
References CastAsInt().
Referenced by BigEndian2Float(), Bin2String(), DecimalBinary2Float(), FixedPoint2_30(), getid3_flac\FLACparseSTREAMINFO(), Float2String(), getid3_aac\getAACADIFheaderFilepointer(), getid3_aac\getAACADTSheaderFilepointer(), getid3_mpeg\getid3_mpeg(), getid3_riff\getid3_riff(), getid3_swf\getid3_swf(), and getid3_id3v2\ParseID3v2Frame().
getid3_lib::Bin2String | ( | $binstring | ) |
Definition at line 332 of file getid3.lib.php.
References Bin2Dec().
Referenced by getid3_aac\getAACADIFheaderFilepointer().
getid3_lib::CastAsInt | ( | $floatnum | ) |
Definition at line 60 of file getid3.lib.php.
References trunc().
Referenced by BigEndian2Int(), Bin2Dec(), DateMac2Unix(), getid3_id3v2\getid3_id3v2(), getid3_mpc\getid3_mpc(), getid3_riff\getid3_riff(), and getid3_voc\getid3_voc().
getid3_lib::CopyTagsToComments | ( | & | $ThisFileInfo | ) |
Definition at line 1204 of file getid3.lib.php.
References MultiByteCharString2HTML().
getid3_lib::CreateDeepArray | ( | $ArrayPath, | |
$Separator, | |||
$Value | |||
) |
Definition at line 465 of file getid3.lib.php.
Referenced by getid3_gzip\getid3_gzip(), getid3_tar\getid3_tar(), getid3_zip\getid3_zip(), and getid3_iso\ParseDirectoryRecord().
getid3_lib::DateMac2Unix | ( | $macdate | ) |
Definition at line 442 of file getid3.lib.php.
References CastAsInt().
Referenced by getid3_riff\getid3_riff(), and getid3_quicktime\QuicktimeParseAtom().
getid3_lib::Dec2Bin | ( | $number | ) |
Definition at line 302 of file getid3.lib.php.
Referenced by getid3_write_id3v2\GenerateID3v2FrameData(), getid3_riff\getid3_riff(), and getid3_id3v2\ParseID3v2Frame().
getid3_lib::DecimalBinary2Float | ( | $binarynumerator | ) |
Definition at line 76 of file getid3.lib.php.
References Bin2Dec().
Referenced by BigEndian2Float().
getid3_lib::EmbeddedLookup | ( | $key, | |
$begin, | |||
$end, | |||
$file, | |||
$name | |||
) |
Definition at line 1257 of file getid3.lib.php.
References $file.
Referenced by getid3_id3v2\FrameNameLongLookup(), getid3_id3v2\FrameNameShortLookup(), getid3_midi\GeneralMIDIinstrumentLookup(), getid3_midi\GeneralMIDIpercussionLookup(), getid3_id3v2\LanguageLookup(), getid3_id3v2\LookupCurrencyCountry(), getid3_id3v2\LookupCurrencyUnits(), getid3_riff\RIFFfourccLookup(), and getid3_riff\RIFFwFormatTagLookup().
getid3_lib::fileextension | ( | $filename, | |
$numextensions = 1 |
|||
) |
Definition at line 392 of file getid3.lib.php.
References $filename.
Referenced by getid3_optimfrog\ParseOptimFROGheader45().
getid3_lib::FixedPoint16_16 | ( | $rawdata | ) |
Definition at line 454 of file getid3.lib.php.
References BigEndian2Int().
Referenced by getid3_riff\getid3_riff(), and getid3_quicktime\QuicktimeParseAtom().
getid3_lib::FixedPoint2_30 | ( | $rawdata | ) |
Definition at line 459 of file getid3.lib.php.
References BigEndian2Bin(), and Bin2Dec().
Referenced by getid3_bmp\getid3_bmp(), and getid3_quicktime\QuicktimeParseAtom().
getid3_lib::FixedPoint8_8 | ( | $rawdata | ) |
Definition at line 449 of file getid3.lib.php.
References BigEndian2Int().
Referenced by getid3_quicktime\QuicktimeParseAtom().
getid3_lib::Float2BinaryDecimal | ( | $floatvalue | ) |
Definition at line 107 of file getid3.lib.php.
References trunc().
Referenced by Float2String().
getid3_lib::Float2String | ( | $floatvalue, | |
$bits | |||
) |
Definition at line 123 of file getid3.lib.php.
References BigEndian2String(), Bin2Dec(), Float2BinaryDecimal(), and NormalizeBinaryPoint().
Referenced by getid3_write_id3v2\GenerateID3v2FrameData().
getid3_lib::GetDataImageSize | ( | $imgData | ) |
Definition at line 1170 of file getid3.lib.php.
Referenced by getid3_jpg\getid3_jpg(), getid3_id3v2\ParseID3v2Frame(), and getid3_ogg\ParseVorbisCommentsFilepointer().
getid3_lib::hash_data | ( | $file, | |
$offset, | |||
$end, | |||
$algorithm | |||
) |
Definition at line 582 of file getid3.lib.php.
References $file, $result, $size, and GETID3_FREAD_BUFFER_SIZE.
Referenced by getID3\getHashdata().
getid3_lib::iconv_fallback | ( | $in_charset, | |
$out_charset, | |||
$string | |||
) |
Definition at line 951 of file getid3.lib.php.
Referenced by getID3\CharConvert(), getid3_writetags\FormatDataForAPE(), getid3_writetags\FormatDataForID3v1(), getid3_writetags\FormatDataForID3v2(), getid3_writetags\FormatDataForReal(), getid3_writetags\FormatDataForVorbisComment(), getid3_iso\ParseDirectoryRecord(), getid3_id3v2\ParseID3v2Frame(), getid3_iso\ParsePathTable(), getid3_asf\TrimConvert(), and getid3_asf\WMpictureTypeLookup().
getid3_lib::iconv_fallback_int_utf8 | ( | $charval | ) |
Definition at line 669 of file getid3.lib.php.
Referenced by iconv_fallback_iso88591_utf8(), iconv_fallback_utf16be_utf8(), and iconv_fallback_utf16le_utf8().
getid3_lib::iconv_fallback_iso88591_utf16 | ( | $string | ) |
Definition at line 734 of file getid3.lib.php.
References iconv_fallback_iso88591_utf16le().
getid3_lib::iconv_fallback_iso88591_utf16be | ( | $string, | |
$bom = false |
|||
) |
Definition at line 710 of file getid3.lib.php.
getid3_lib::iconv_fallback_iso88591_utf16le | ( | $string, | |
$bom = false |
|||
) |
Definition at line 722 of file getid3.lib.php.
Referenced by iconv_fallback_iso88591_utf16().
getid3_lib::iconv_fallback_iso88591_utf8 | ( | $string, | |
$bom = false |
|||
) |
Definition at line 693 of file getid3.lib.php.
References iconv_fallback_int_utf8().
getid3_lib::iconv_fallback_utf16_iso88591 | ( | $string | ) |
Definition at line 930 of file getid3.lib.php.
References iconv_fallback_utf16be_iso88591(), and iconv_fallback_utf16le_iso88591().
getid3_lib::iconv_fallback_utf16_utf8 | ( | $string | ) |
Definition at line 941 of file getid3.lib.php.
References iconv_fallback_utf16be_utf8(), and iconv_fallback_utf16le_utf8().
getid3_lib::iconv_fallback_utf16be_iso88591 | ( | $string | ) |
Definition at line 902 of file getid3.lib.php.
References BigEndian2Int().
Referenced by iconv_fallback_utf16_iso88591().
getid3_lib::iconv_fallback_utf16be_utf8 | ( | $string | ) |
Definition at line 874 of file getid3.lib.php.
References BigEndian2Int(), and iconv_fallback_int_utf8().
Referenced by iconv_fallback_utf16_utf8().
getid3_lib::iconv_fallback_utf16le_iso88591 | ( | $string | ) |
Definition at line 916 of file getid3.lib.php.
References LittleEndian2Int().
Referenced by iconv_fallback_utf16_iso88591().
getid3_lib::iconv_fallback_utf16le_utf8 | ( | $string | ) |
Definition at line 888 of file getid3.lib.php.
References iconv_fallback_int_utf8(), and LittleEndian2Int().
Referenced by iconv_fallback_utf16_utf8().
getid3_lib::iconv_fallback_utf8_iso88591 | ( | $string | ) |
Definition at line 739 of file getid3.lib.php.
getid3_lib::iconv_fallback_utf8_utf16 | ( | $string | ) |
Definition at line 869 of file getid3.lib.php.
References iconv_fallback_utf8_utf16le().
getid3_lib::iconv_fallback_utf8_utf16be | ( | $string, | |
$bom = false |
|||
) |
Definition at line 783 of file getid3.lib.php.
References BigEndian2String().
getid3_lib::iconv_fallback_utf8_utf16le | ( | $string, | |
$bom = false |
|||
) |
Definition at line 826 of file getid3.lib.php.
References LittleEndian2String().
Referenced by iconv_fallback_utf8_utf16().
getid3_lib::image_type_to_mime_type | ( | $imagetypeid | ) |
Definition at line 419 of file getid3.lib.php.
Referenced by getid3_ogg\ParseVorbisCommentsFilepointer().
getid3_lib::ImageTypesLookup | ( | $imagetypeid | ) |
Definition at line 1183 of file getid3.lib.php.
getid3_lib::IncludeDependency | ( | $filename, | |
$sourcefile, | |||
$DieOnFailure = false |
|||
) |
Definition at line 1301 of file getid3.lib.php.
References $filename.
Referenced by getID3\analyze(), getid3_lyrics3\getid3_lyrics3(), getid3_riff\getid3_riff(), getid3_shorten\getid3_shorten(), getid3_wavpack\getid3_wavpack(), getid3_riff\ParseRIFF(), and getid3_writetags\WriteTags().
getid3_lib::LittleEndian2Float | ( | $byteword | ) |
Definition at line 154 of file getid3.lib.php.
References BigEndian2Float().
Referenced by getid3_mp3\decodeMPEGaudioHeader(), and getid3_riff\getid3_riff().
getid3_lib::LittleEndian2Int | ( | $byteword, | |
$signed = false |
|||
) |
Definition at line 266 of file getid3.lib.php.
References BigEndian2Int().
Referenced by getid3_riff\EitherEndian2Int(), getid3_ac3\getid3_ac3(), getid3_apetag\getid3_apetag(), getid3_asf\getid3_asf(), getid3_bmp\getid3_bmp(), getid3_bonk\getid3_bonk(), getid3_exe\getid3_exe(), getid3_gif\getid3_gif(), getid3_gzip\getid3_gzip(), getid3_la\getid3_la(), getid3_monkey\getid3_monkey(), getid3_mpc\getid3_mpc(), getid3_ogg\getid3_ogg(), getid3_riff\getid3_riff(), getid3_rkau\getid3_rkau(), getid3_shorten\getid3_shorten(), getid3_svg\getid3_svg(), getid3_swf\getid3_swf(), getid3_tta\getid3_tta(), getid3_voc\getid3_voc(), getid3_wavpack\getid3_wavpack(), getid3_nsv\getNSVfHeaderFilepointer(), getid3_nsv\getNSVsHeaderFilepointer(), getid3_bonk\HandleBonkTags(), iconv_fallback_utf16le_iso88591(), iconv_fallback_utf16le_utf8(), MultiByteCharString2HTML(), getid3_apetag\parseAPEheaderFooter(), getid3_bink\ParseBink(), getid3_iso\ParseDirectoryRecord(), getid3_ogg\ParseOggPageHeader(), getid3_optimfrog\ParseOptimFROGheader42(), getid3_optimfrog\ParseOptimFROGheader45(), getid3_iso\ParsePathTable(), getid3_iso\ParsePrimaryVolumeDescriptor(), getid3_riff\ParseRIFF(), getid3_iso\ParseSupplementaryVolumeDescriptor(), getid3_ogg\ParseVorbisCommentsFilepointer(), getid3_riff\RIFFparseWAVEFORMATex(), getid3_riff\RIFFparseWavPackHeader(), getid3_tiff\TIFFendian2Int(), getid3_zip\ZIPparseCentralDirectory(), getid3_zip\ZIPparseEndOfCentralDirectory(), and getid3_zip\ZIPparseLocalFileHeader().
getid3_lib::LittleEndian2String | ( | $number, | |
$minbytes = 1 , |
|||
$synchsafe = false |
|||
) |
Definition at line 343 of file getid3.lib.php.
Referenced by getid3_write_apetag\GenerateAPEtag(), getid3_write_apetag\GenerateAPEtagHeaderFooter(), iconv_fallback_utf8_utf16le(), and getid3_riff\ParseRIFFdata().
getid3_lib::md5_file | ( | $file | ) |
Definition at line 512 of file getid3.lib.php.
References $file.
Referenced by getID3\getHashdata().
getid3_lib::MultiByteCharString2HTML | ( | $string, | |
$charset = 'ISO-8859-1' |
|||
) |
Definition at line 1023 of file getid3.lib.php.
References BigEndian2Int(), and LittleEndian2Int().
Referenced by CopyTagsToComments(), and getID3\HandleAllTags().
getid3_lib::NormalizeBinaryPoint | ( | $binarypointnumber, | |
$maxbits = 52 |
|||
) |
Definition at line 83 of file getid3.lib.php.
Referenced by Float2String().
getid3_lib::PlaytimeString | ( | $playtimeseconds | ) |
Definition at line 408 of file getid3.lib.php.
Referenced by getID3\ChannelsBitratePlaytimeCalculations().
getid3_lib::PrintHexBytes | ( | $string, | |
$hex = true , |
|||
$spaces = true , |
|||
$htmlsafe = true |
|||
) |
Definition at line 17 of file getid3.lib.php.
Referenced by getid3_mp3\FreeFormatFrameLength(), getid3_la\getid3_la(), getid3_wavpack\getid3_wavpack(), and getid3_optimfrog\ParseOptimFROGheader45().
getid3_lib::RGADadjustmentLookup | ( | $rawadjustment, | |
$signbit | |||
) |
Definition at line 1141 of file getid3.lib.php.
Referenced by getid3_mp3\decodeMPEGaudioHeader(), getid3_riff\getid3_riff(), and getid3_id3v2\ParseID3v2Frame().
getid3_lib::RGADamplitude2dB | ( | $amplitude | ) |
Definition at line 1165 of file getid3.lib.php.
Referenced by getid3_ac3\AC3heavyCompression(), getID3\CalculateReplayGain(), and getid3_mp3\decodeMPEGaudioHeader().
getid3_lib::RGADgainString | ( | $namecode, | |
$originatorcode, | |||
$replaygain | |||
) |
Definition at line 1150 of file getid3.lib.php.
Referenced by getid3_write_id3v2\GenerateID3v2FrameData().
getid3_lib::RGADnameLookup | ( | $namecode | ) |
Definition at line 1116 of file getid3.lib.php.
Referenced by getid3_mp3\decodeMPEGaudioHeader(), getid3_riff\getid3_riff(), and getid3_id3v2\ParseID3v2Frame().
getid3_lib::RGADoriginatorLookup | ( | $originatorcode | ) |
Definition at line 1128 of file getid3.lib.php.
Referenced by getid3_mp3\decodeMPEGaudioHeader(), getid3_riff\getid3_riff(), and getid3_id3v2\ParseID3v2Frame().
getid3_lib::SafeStripSlashes | ( | $text | ) |
Definition at line 35 of file getid3.lib.php.
getid3_lib::sha1_file | ( | $file | ) |
Definition at line 545 of file getid3.lib.php.
References $file.
Referenced by getID3\getHashdata().
getid3_lib::trunc | ( | $floatnumber | ) |
Definition at line 43 of file getid3.lib.php.
Referenced by CastAsInt(), Float2BinaryDecimal(), and getid3_voc\getid3_voc().