C# Class CSharpRTMP.Core.Streaming.VideoAvc

Datei anzeigen Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
Height uint
PPS byte[]
Rate uint
SPS byte[]
Width uint
_PPSInfo Variant
_SPSInfo Variant
_heightOverride uint
_widthOverride uint

Public Methods

Method Description
Clear ( ) : void
Deserialize ( Stream src, VideoAvc &dest ) : bool
Init ( byte pSPS, byte pPPS ) : bool
Serialize ( H2NBinaryWriter writer ) : bool

Private Methods

Method Description
ReadPPS ( BitReader ppsReader, Variant ppsInfo ) : bool
ReadSPS ( BitReader spsReader, Variant spsInfo ) : bool
ReadSPSVUI ( BitReader spsReader, Variant v ) : bool
ReadSPSVUIHRD ( BitReader spsReader, Variant v ) : bool
scaling_list ( BitReader spsReader, byte sizeOfScalingList ) : bool

Method Details

Clear() public method

public Clear ( ) : void
return void

Deserialize() public static method

public static Deserialize ( Stream src, VideoAvc &dest ) : bool
src Stream
dest VideoAvc
return bool

Init() public method

public Init ( byte pSPS, byte pPPS ) : bool
pSPS byte
pPPS byte
return bool

Serialize() public method

public Serialize ( H2NBinaryWriter writer ) : bool
writer CSharpRTMP.Common.H2NBinaryWriter
return bool

Property Details

Height public_oe property

public uint Height
return uint

PPS public_oe property

public byte[] PPS
return byte[]

Rate public_oe property

public uint Rate
return uint

SPS public_oe property

public byte[] SPS
return byte[]

Width public_oe property

public uint Width
return uint

_PPSInfo public_oe property

public Variant _PPSInfo
return Variant

_SPSInfo public_oe property

public Variant _SPSInfo
return Variant

_heightOverride public_oe property

public uint _heightOverride
return uint

_widthOverride public_oe property

public uint _widthOverride
return uint