Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullReader ¶
type SideInfo ¶
type SideInfo struct { MainDataBegin int // 9 bits PrivateBits int // 3 bits in mono, 5 in stereo Scfsi [2][4]int // 1 bit Part2_3Length [2][2]int // 12 bits BigValues [2][2]int // 9 bits GlobalGain [2][2]int // 8 bits ScalefacCompress [2][2]int // 4 bits WinSwitchFlag [2][2]int // 1 bit BlockType [2][2]int // 2 bits MixedBlockFlag [2][2]int // 1 bit TableSelect [2][2][3]int // 5 bits SubblockGain [2][2][3]int // 3 bits Region0Count [2][2]int // 4 bits Region1Count [2][2]int // 3 bits Preflag [2][2]int // 1 bit ScalefacScale [2][2]int // 1 bit Count1TableSelect [2][2]int // 1 bit Count1 [2][2]int // Not in file, calc by huffman decoder }
A SideInfo is MPEG1 Layer 3 Side Information. [2][2] means [gr][ch].
func Read ¶
func Read(source FullReader, header frameheader.FrameHeader) (*SideInfo, error)
Click to show internal directories.
Click to hide internal directories.