C# Class HCS_Encoder.EncoderBridge

ファイルを表示 Open project: i-e-b/HLS---Smooth-Encoder Class Usage Examples

Public Methods

Method Description
GetVideoCodecData ( EncoderJob JobSpec ) : byte[]

Returns the codec's startup data (other than in frames). This may be null or empty.

Private Methods

Method Description
CloseDecoderJob ( DecoderJob &jobSpec ) : void
CloseEncoderJob ( EncoderJob &JobSpec ) : void
DecodeFrame ( DecoderJob &jobSpec, MediaFrame &frame ) : int
EncodeFrame ( EncoderJob &JobSpec, MediaFrame &Frame ) : void
GetVideoCodecData ( EncoderJob &JobSpec, IntPtr Buffer ) : void
GetVideoCodecDataSize ( EncoderJob &JobSpec ) : int
InitialiseDecoderJob ( DecoderJob &jobSpec, string Filepath ) : int
InitialiseEncoderJob ( EncoderJob &JobSpec, int Width, int Height, string BaseDirectory, int FrameRate, int Bitrate, double SegmentDuration ) : int
InterleavedScale ( IntPtr Src, IntPtr Dst, int SrcWidth, int SrcHeight, int DstWidth, int DstHeight, bool HighQuality ) : void
PlanarScale ( IntPtr Src, IntPtr Dst, int SrcWidth, int SrcHeight, int DstWidth, int DstHeight, bool HighQuality ) : void
Rgb2YuvIS ( int w, int h, IntPtr RgbSrc, IntPtr Y, IntPtr U, IntPtr V ) : void

Method Details

GetVideoCodecData() public static method

Returns the codec's startup data (other than in frames). This may be null or empty.
public static GetVideoCodecData ( EncoderJob JobSpec ) : byte[]
JobSpec EncoderJob
return byte[]