ExpGolomb
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
data: * |
|
public |
|
Method Summary
Public Methods | ||
public |
loadWord() |
|
public |
readBits(size: *): * |
|
public |
readBoolean(): * |
|
public |
readEG(): * |
|
public |
Read a sequence parameter set and return some interesting video properties. |
|
public |
readSliceType(): * |
|
public |
readUByte(): * |
|
public |
readUEG(): * |
|
public |
readUInt(): * |
|
public |
readUShort(): * |
|
public |
skipBits(count: *) |
|
public |
skipEG() |
|
public |
skipLZ(): * |
|
public |
skipScalingList(count: *) Advance the ExpGolomb decoder past a scaling list. |
|
public |
skipUEG() |
Public Constructors
public constructor() source
Public Methods
public loadWord() source
public readSPS(data: *): object source
Read a sequence parameter set and return some interesting video properties. A sequence parameter set is the H264 metadata that describes the properties of upcoming video frames.
Params:
Name | Type | Attribute | Description |
data | * | {Uint8Array} the bytes of a sequence parameter set |
Return:
object | an object with configuration parsed from the sequence parameter set, including the dimensions of the associated video frames. |
public skipBits(count: *) source
Params:
Name | Type | Attribute | Description |
count | * |
public skipEG() source
public skipScalingList(count: *) source
Advance the ExpGolomb decoder past a scaling list. The scaling list is optionally transmitted as part of a sequence parameter set and is not relevant to transmuxing.
Params:
Name | Type | Attribute | Description |
count | * | {number} the number of entries in this scaling list |