[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ID3/ -> module.audio-video.matroska.php (summary)

Matroska constants

File Size: 2072 lines (112 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

getid3_matroska:: (23 methods):
  Analyze()
  parseEBML()
  EnsureBufferHasEnoughData()
  readEBMLint()
  readEBMLelementData()
  getEBMLelement()
  unhandledElement()
  ExtractCommentsSimpleTag()
  HandleEMBLSimpleTag()
  HandleEMBLClusterBlock()
  EBML2Int()
  EBMLdate2unix()
  TargetTypeValue()
  BlockLacingType()
  CodecIDtoCommonName()
  EBMLidName()
  displayUnit()
  getDefaultStreamInfo()
  playtimeFromMetadata()
  resetParserBuffer()
  scanStartEndForClusters()
  getTimecodeScale()
  calculatePlaytimeFromClusters()


Class: getid3_matroska  - X-Ref


Analyze()   X-Ref

return: bool

parseEBML(&$info)   X-Ref

param: array $info

EnsureBufferHasEnoughData($min_data=1024)   X-Ref

return: bool
param: int $min_data

readEBMLint()   X-Ref

return: int|float|false

readEBMLelementData($length, $check_buffer=false)   X-Ref

return: string|false
param: int  $length
param: bool $check_buffer

getEBMLelement(&$element, $parent_end, $get_data=false)   X-Ref

return: bool
param: array      $element
param: int        $parent_end
param: array|bool $get_data

unhandledElement($type, $line, $element)   X-Ref

param: string $type
param: int    $line
param: array  $element

ExtractCommentsSimpleTag($SimpleTagArray)   X-Ref

return: bool
param: array $SimpleTagArray

HandleEMBLSimpleTag($parent_end)   X-Ref

return: array
param: int $parent_end

HandleEMBLClusterBlock($element, $block_type, &$info)   X-Ref

return: array
param: array $element
param: int   $block_type
param: array $info

EBML2Int($EBMLstring)   X-Ref

return: int|float|false
param: string $EBMLstring

EBMLdate2unix($EBMLdatestamp)   X-Ref

return: float
param: int $EBMLdatestamp

TargetTypeValue($target_type)   X-Ref

return: string|int
param: int $target_type

BlockLacingType($lacingtype)   X-Ref

return: string|int
param: int $lacingtype

CodecIDtoCommonName($codecid)   X-Ref

return: string
param: string $codecid

EBMLidName($value)   X-Ref

return: string
param: int $value

displayUnit($value)   X-Ref

return: string
param: int $value

getDefaultStreamInfo($streams)   X-Ref

return: array
param: array $streams

playtimeFromMetadata(&$info)   X-Ref

return: float|bool Duration when present in metadata or false
param: array $info

resetParserBuffer($offset)   X-Ref

return: void
param: int $offset New starting offset for the buffer

scanStartEndForClusters(&$info)   X-Ref
Scan start and end of file for cluster information when Duration is missing
Only use this if no Duration was found in the Info element and we are not in parse_whole_file mode

return: void
param: array $info

getTimecodeScale(&$info)   X-Ref
Fetch TimecodeScale from Info element

return: int TimecodeScale value
param: array $info

calculatePlaytimeFromClusters(&$info)   X-Ref
Calculate duration from scanned cluster timecodes

return: void
param: array $info



Generated : Sun Jul 5 08:20:13 2026 Cross-referenced by PHPXref