C# 클래스 HCS_Encoder.Utilities.EncoderPackage

EncoderPackage bundles a set of classes and structures for the core encoder loop of EncoderController
파일 보기 프로젝트 열기: i-e-b/HLS---Smooth-Encoder 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Frame HCS_Encoder.MediaFrame
Job HCS_Encoder.EncoderJob

공개 메소드들

메소드 설명
BuffersEmpty ( uint MinimumBufferPopulation ) : bool

Returns true if any of the package's buffers are empty.

EncoderPackage ( PackageSpec SrcSpec, int Index, EncoderJob Job, MediaFrame Frame ) : System

Create a new EncoderPackage

LoadAllBuffers ( ) : void

Load and Lock all buffers to the MediaFrame. IMPORTANT: You must call UnloadAllFrames after this method is called. For efficiency, unload as soon as possible.

UnloadAllBuffers ( ) : void

Release memory previously locked by LoadToFrame()

메소드 상세

BuffersEmpty() 공개 메소드

Returns true if any of the package's buffers are empty.
public BuffersEmpty ( uint MinimumBufferPopulation ) : bool
MinimumBufferPopulation uint
리턴 bool

EncoderPackage() 공개 메소드

Create a new EncoderPackage
public EncoderPackage ( PackageSpec SrcSpec, int Index, EncoderJob Job, MediaFrame Frame ) : System
SrcSpec PackageSpec
Index int
Job HCS_Encoder.EncoderJob
Frame HCS_Encoder.MediaFrame
리턴 System

LoadAllBuffers() 공개 메소드

Load and Lock all buffers to the MediaFrame. IMPORTANT: You must call UnloadAllFrames after this method is called. For efficiency, unload as soon as possible.
public LoadAllBuffers ( ) : void
리턴 void

UnloadAllBuffers() 공개 메소드

Release memory previously locked by LoadToFrame()
public UnloadAllBuffers ( ) : void
리턴 void

프로퍼티 상세

Frame 공개적으로 프로퍼티

Prepared media frame for loading and unloading.
public MediaFrame,HCS_Encoder Frame
리턴 HCS_Encoder.MediaFrame

Job 공개적으로 프로퍼티

Correctly configured encoder job.
public EncoderJob,HCS_Encoder Job
리턴 HCS_Encoder.EncoderJob