fm.liveswitch.openh264.EncoderConfig Class Reference

Configuration for the OpenH264 encoder. More...

Public Member Functions

fm.liveswitch.openh264.EncoderConfig deepCopy ()
 Gets a deep copy of this configuration. More...
 
 EncoderConfig ()
 Creates a new copy of the H264 encoder configurations with default values. More...
 
fm.liveswitch.openh264.ComplexityMode getComplexityMode ()
 Gets a value that maps to "iComplexityMode". More...
 
boolean getEnableAdaptiveQuant ()
 Gets a value that maps to "bEnableAdaptiveQuant". More...
 
boolean getEnableBackgroundDetection ()
 Gets a value that maps to "bEnableBackgroundDetection". More...
 
boolean getEnableDenoise ()
 Gets a value that maps to "bEnableDenoise". More...
 
boolean getEnableFrameCroppingFlag ()
 Gets a value that maps to "bEnableFrameCroppingFlag". More...
 
boolean getEnableFrameSkip ()
 Gets a value that maps to "bEnableFrameSkip". More...
 
boolean getEnableLongTermReference ()
 Gets a value that maps to "bEnableLongTermReference". More...
 
boolean getEnableSceneChangeDetect ()
 Gets a value that maps to "bEnableSceneChangeDetect". More...
 
boolean getEnableSsei ()
 Gets a value that maps to "bEnableSSEI". More...
 
int getEntropyCodingModeFlag ()
 Gets a value that maps to "iEntropyCodingModeFlag". More...
 
int getIntraPeriod ()
 Gets a value that maps to "uiIntraPeriod". More...
 
boolean getIsLosslessLink ()
 Gets a value that maps to "bIsLosslessLink". More...
 
int getLoopFilterAlphaC0Offset ()
 Gets a value that maps to "iLoopFilterAlphaC0Offset". More...
 
int getLoopFilterBetaOffset ()
 Gets a value that maps to "iLoopFilterBetaOffset". More...
 
int getLoopFilterDisableIdc ()
 Gets a value that maps to "iLoopFilterDisaleIdc". More...
 
int getLtrMarkPeriod ()
 Gets a value that maps to "iLtrMarkPeriod". More...
 
int getLtrRefNum ()
 Gets a value that maps to "iLTRRefNum". More...
 
float getMaxFrameRate ()
 Gets a value that maps to "fMaxFrameRate". More...
 
int getMaxNalSize ()
 Gets a value that maps to "uiMaxNalSize". More...
 
int getMaxQP ()
 Gets a value that maps to "iMaxQp". More...
 
int getMinQP ()
 Gets a value that maps to "iMinQp". More...
 
int getMultipleThreadIdc ()
 Gets a value that maps to "iMultipleThreadIdc". More...
 
int getNumRefFrame ()
 Gets a value that maps to "iNumRefFrame". More...
 
boolean getPaddingFlag ()
 Gets a value that maps to "iPaddingFlag". More...
 
boolean getPrefixNalAddingControl ()
 Gets a value that maps to "bPrefixNalAddingCtrl". More...
 
fm.liveswitch.openh264.RateControlMode getRcMode ()
 Gets a value that maps to "iRCMode". More...
 
boolean getSimulcastAvc ()
 Gets a value that maps to "bSimulcastAVC". More...
 
int getSpatialLayerNum ()
 Gets a value that maps to "iSpatialLayerNum". More...
 
fm.liveswitch.openh264.EncoderSpatialLayerConfig[] getSpatialLayers ()
 Gets the spatial layer configurations that map to "sSpatialLayers". More...
 
fm.liveswitch.openh264.ParameterSetStrategy getSpsPpsIdStrategy ()
 Gets a value that maps to "eSpsPpsIdStrategy". More...
 
int getTemporalLayerNum ()
 Gets a value that maps to "iTemporalLayerNum". More...
 
fm.liveswitch.openh264.UsageType getUsageType ()
 Gets a value that maps to "iUsageType". More...
 
boolean getUseLoadBalancing ()
 Gets a value that maps to "bUseLoadBalancing". More...
 
void setComplexityMode (fm.liveswitch.openh264.ComplexityMode value)
 Sets a value that maps to "iComplexityMode". More...
 
void setEnableAdaptiveQuant (boolean value)
 Sets a value that maps to "bEnableAdaptiveQuant". More...
 
void setEnableBackgroundDetection (boolean value)
 Sets a value that maps to "bEnableBackgroundDetection". More...
 
void setEnableDenoise (boolean value)
 Sets a value that maps to "bEnableDenoise". More...
 
void setEnableFrameCroppingFlag (boolean value)
 Sets a value that maps to "bEnableFrameCroppingFlag". More...
 
void setEnableFrameSkip (boolean value)
 Sets a value that maps to "bEnableFrameSkip". More...
 
void setEnableLongTermReference (boolean value)
 Sets a value that maps to "bEnableLongTermReference". More...
 
void setEnableSceneChangeDetect (boolean value)
 Sets a value that maps to "bEnableSceneChangeDetect". More...
 
void setEnableSsei (boolean value)
 Sets a value that maps to "bEnableSSEI". More...
 
void setEntropyCodingModeFlag (int value)
 Sets a value that maps to "iEntropyCodingModeFlag". More...
 
void setIntraPeriod (int value)
 Sets a value that maps to "uiIntraPeriod". More...
 
void setIsLosslessLink (boolean value)
 Sets a value that maps to "bIsLosslessLink". More...
 
void setLoopFilterAlphaC0Offset (int value)
 Sets a value that maps to "iLoopFilterAlphaC0Offset". More...
 
void setLoopFilterBetaOffset (int value)
 Sets a value that maps to "iLoopFilterBetaOffset". More...
 
void setLoopFilterDisableIdc (int value)
 Sets a value that maps to "iLoopFilterDisaleIdc". More...
 
void setLtrMarkPeriod (int value)
 Sets a value that maps to "iLtrMarkPeriod". More...
 
void setLtrRefNum (int value)
 Sets a value that maps to "iLTRRefNum". More...
 
void setMaxFrameRate (float value)
 Sets a value that maps to "fMaxFrameRate". More...
 
void setMaxNalSize (int value)
 Sets a value that maps to "uiMaxNalSize". More...
 
void setMaxQP (int value)
 Sets a value that maps to "iMaxQp". More...
 
void setMinQP (int value)
 Sets a value that maps to "iMinQp". More...
 
void setMultipleThreadIdc (int value)
 Sets a value that maps to "iMultipleThreadIdc". More...
 
void setNumRefFrame (int value)
 Sets a value that maps to "iNumRefFrame". More...
 
void setPaddingFlag (boolean value)
 Sets a value that maps to "iPaddingFlag". More...
 
void setPrefixNalAddingControl (boolean value)
 Sets a value that maps to "bPrefixNalAddingCtrl". More...
 
void setRcMode (fm.liveswitch.openh264.RateControlMode value)
 Sets a value that maps to "iRCMode". More...
 
void setSimulcastAvc (boolean value)
 Sets a value that maps to "bSimulcastAVC". More...
 
void setSpatialLayerNum (int value)
 Sets a value that maps to "iSpatialLayerNum". More...
 
void setSpsPpsIdStrategy (fm.liveswitch.openh264.ParameterSetStrategy value)
 Sets a value that maps to "eSpsPpsIdStrategy". More...
 
void setTemporalLayerNum (int value)
 Sets a value that maps to "iTemporalLayerNum". More...
 
void setUsageType (fm.liveswitch.openh264.UsageType value)
 Sets a value that maps to "iUsageType". More...
 
void setUseLoadBalancing (boolean value)
 Sets a value that maps to "bUseLoadBalancing". More...
 

Detailed Description

Configuration for the OpenH264 encoder.

Properties map to OpenH264 properties. http://www.openh264.org

Constructor & Destructor Documentation

◆ EncoderConfig()

fm.liveswitch.openh264.EncoderConfig.EncoderConfig ( )

Creates a new copy of the H264 encoder configurations with default values.

Member Function Documentation

◆ deepCopy()

fm.liveswitch.openh264.EncoderConfig fm.liveswitch.openh264.EncoderConfig.deepCopy ( )

Gets a deep copy of this configuration.

◆ getComplexityMode()

fm.liveswitch.openh264.ComplexityMode fm.liveswitch.openh264.EncoderConfig.getComplexityMode ( )

Gets a value that maps to "iComplexityMode".

◆ getEnableAdaptiveQuant()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableAdaptiveQuant ( )

Gets a value that maps to "bEnableAdaptiveQuant".

◆ getEnableBackgroundDetection()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableBackgroundDetection ( )

Gets a value that maps to "bEnableBackgroundDetection".

◆ getEnableDenoise()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableDenoise ( )

Gets a value that maps to "bEnableDenoise".

◆ getEnableFrameCroppingFlag()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableFrameCroppingFlag ( )

Gets a value that maps to "bEnableFrameCroppingFlag".

◆ getEnableFrameSkip()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableFrameSkip ( )

Gets a value that maps to "bEnableFrameSkip".

◆ getEnableLongTermReference()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableLongTermReference ( )

Gets a value that maps to "bEnableLongTermReference".

◆ getEnableSceneChangeDetect()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableSceneChangeDetect ( )

Gets a value that maps to "bEnableSceneChangeDetect".

◆ getEnableSsei()

boolean fm.liveswitch.openh264.EncoderConfig.getEnableSsei ( )

Gets a value that maps to "bEnableSSEI".

◆ getEntropyCodingModeFlag()

int fm.liveswitch.openh264.EncoderConfig.getEntropyCodingModeFlag ( )

Gets a value that maps to "iEntropyCodingModeFlag".

◆ getIntraPeriod()

int fm.liveswitch.openh264.EncoderConfig.getIntraPeriod ( )

Gets a value that maps to "uiIntraPeriod".

◆ getIsLosslessLink()

boolean fm.liveswitch.openh264.EncoderConfig.getIsLosslessLink ( )

Gets a value that maps to "bIsLosslessLink".

◆ getLoopFilterAlphaC0Offset()

int fm.liveswitch.openh264.EncoderConfig.getLoopFilterAlphaC0Offset ( )

Gets a value that maps to "iLoopFilterAlphaC0Offset".

◆ getLoopFilterBetaOffset()

int fm.liveswitch.openh264.EncoderConfig.getLoopFilterBetaOffset ( )

Gets a value that maps to "iLoopFilterBetaOffset".

◆ getLoopFilterDisableIdc()

int fm.liveswitch.openh264.EncoderConfig.getLoopFilterDisableIdc ( )

Gets a value that maps to "iLoopFilterDisaleIdc".

◆ getLtrMarkPeriod()

int fm.liveswitch.openh264.EncoderConfig.getLtrMarkPeriod ( )

Gets a value that maps to "iLtrMarkPeriod".

◆ getLtrRefNum()

int fm.liveswitch.openh264.EncoderConfig.getLtrRefNum ( )

Gets a value that maps to "iLTRRefNum".

◆ getMaxFrameRate()

float fm.liveswitch.openh264.EncoderConfig.getMaxFrameRate ( )

Gets a value that maps to "fMaxFrameRate".

◆ getMaxNalSize()

int fm.liveswitch.openh264.EncoderConfig.getMaxNalSize ( )

Gets a value that maps to "uiMaxNalSize".

◆ getMaxQP()

int fm.liveswitch.openh264.EncoderConfig.getMaxQP ( )

Gets a value that maps to "iMaxQp".

◆ getMinQP()

int fm.liveswitch.openh264.EncoderConfig.getMinQP ( )

Gets a value that maps to "iMinQp".

◆ getMultipleThreadIdc()

int fm.liveswitch.openh264.EncoderConfig.getMultipleThreadIdc ( )

Gets a value that maps to "iMultipleThreadIdc".

◆ getNumRefFrame()

int fm.liveswitch.openh264.EncoderConfig.getNumRefFrame ( )

Gets a value that maps to "iNumRefFrame".

◆ getPaddingFlag()

boolean fm.liveswitch.openh264.EncoderConfig.getPaddingFlag ( )

Gets a value that maps to "iPaddingFlag".

◆ getPrefixNalAddingControl()

boolean fm.liveswitch.openh264.EncoderConfig.getPrefixNalAddingControl ( )

Gets a value that maps to "bPrefixNalAddingCtrl".

◆ getRcMode()

fm.liveswitch.openh264.RateControlMode fm.liveswitch.openh264.EncoderConfig.getRcMode ( )

Gets a value that maps to "iRCMode".

◆ getSimulcastAvc()

boolean fm.liveswitch.openh264.EncoderConfig.getSimulcastAvc ( )

Gets a value that maps to "bSimulcastAVC".

◆ getSpatialLayerNum()

int fm.liveswitch.openh264.EncoderConfig.getSpatialLayerNum ( )

Gets a value that maps to "iSpatialLayerNum".

◆ getSpatialLayers()

fm.liveswitch.openh264.EncoderSpatialLayerConfig [] fm.liveswitch.openh264.EncoderConfig.getSpatialLayers ( )

Gets the spatial layer configurations that map to "sSpatialLayers".

◆ getSpsPpsIdStrategy()

fm.liveswitch.openh264.ParameterSetStrategy fm.liveswitch.openh264.EncoderConfig.getSpsPpsIdStrategy ( )

Gets a value that maps to "eSpsPpsIdStrategy".

◆ getTemporalLayerNum()

int fm.liveswitch.openh264.EncoderConfig.getTemporalLayerNum ( )

Gets a value that maps to "iTemporalLayerNum".

◆ getUsageType()

fm.liveswitch.openh264.UsageType fm.liveswitch.openh264.EncoderConfig.getUsageType ( )

Gets a value that maps to "iUsageType".

◆ getUseLoadBalancing()

boolean fm.liveswitch.openh264.EncoderConfig.getUseLoadBalancing ( )

Gets a value that maps to "bUseLoadBalancing".

◆ setComplexityMode()

void fm.liveswitch.openh264.EncoderConfig.setComplexityMode ( fm.liveswitch.openh264.ComplexityMode  value)

Sets a value that maps to "iComplexityMode".

◆ setEnableAdaptiveQuant()

void fm.liveswitch.openh264.EncoderConfig.setEnableAdaptiveQuant ( boolean  value)

Sets a value that maps to "bEnableAdaptiveQuant".

◆ setEnableBackgroundDetection()

void fm.liveswitch.openh264.EncoderConfig.setEnableBackgroundDetection ( boolean  value)

Sets a value that maps to "bEnableBackgroundDetection".

◆ setEnableDenoise()

void fm.liveswitch.openh264.EncoderConfig.setEnableDenoise ( boolean  value)

Sets a value that maps to "bEnableDenoise".

◆ setEnableFrameCroppingFlag()

void fm.liveswitch.openh264.EncoderConfig.setEnableFrameCroppingFlag ( boolean  value)

Sets a value that maps to "bEnableFrameCroppingFlag".

◆ setEnableFrameSkip()

void fm.liveswitch.openh264.EncoderConfig.setEnableFrameSkip ( boolean  value)

Sets a value that maps to "bEnableFrameSkip".

◆ setEnableLongTermReference()

void fm.liveswitch.openh264.EncoderConfig.setEnableLongTermReference ( boolean  value)

Sets a value that maps to "bEnableLongTermReference".

◆ setEnableSceneChangeDetect()

void fm.liveswitch.openh264.EncoderConfig.setEnableSceneChangeDetect ( boolean  value)

Sets a value that maps to "bEnableSceneChangeDetect".

◆ setEnableSsei()

void fm.liveswitch.openh264.EncoderConfig.setEnableSsei ( boolean  value)

Sets a value that maps to "bEnableSSEI".

◆ setEntropyCodingModeFlag()

void fm.liveswitch.openh264.EncoderConfig.setEntropyCodingModeFlag ( int  value)

Sets a value that maps to "iEntropyCodingModeFlag".

◆ setIntraPeriod()

void fm.liveswitch.openh264.EncoderConfig.setIntraPeriod ( int  value)

Sets a value that maps to "uiIntraPeriod".

◆ setIsLosslessLink()

void fm.liveswitch.openh264.EncoderConfig.setIsLosslessLink ( boolean  value)

Sets a value that maps to "bIsLosslessLink".

◆ setLoopFilterAlphaC0Offset()

void fm.liveswitch.openh264.EncoderConfig.setLoopFilterAlphaC0Offset ( int  value)

Sets a value that maps to "iLoopFilterAlphaC0Offset".

◆ setLoopFilterBetaOffset()

void fm.liveswitch.openh264.EncoderConfig.setLoopFilterBetaOffset ( int  value)

Sets a value that maps to "iLoopFilterBetaOffset".

◆ setLoopFilterDisableIdc()

void fm.liveswitch.openh264.EncoderConfig.setLoopFilterDisableIdc ( int  value)

Sets a value that maps to "iLoopFilterDisaleIdc".

◆ setLtrMarkPeriod()

void fm.liveswitch.openh264.EncoderConfig.setLtrMarkPeriod ( int  value)

Sets a value that maps to "iLtrMarkPeriod".

◆ setLtrRefNum()

void fm.liveswitch.openh264.EncoderConfig.setLtrRefNum ( int  value)

Sets a value that maps to "iLTRRefNum".

◆ setMaxFrameRate()

void fm.liveswitch.openh264.EncoderConfig.setMaxFrameRate ( float  value)

Sets a value that maps to "fMaxFrameRate".

◆ setMaxNalSize()

void fm.liveswitch.openh264.EncoderConfig.setMaxNalSize ( int  value)

Sets a value that maps to "uiMaxNalSize".

◆ setMaxQP()

void fm.liveswitch.openh264.EncoderConfig.setMaxQP ( int  value)

Sets a value that maps to "iMaxQp".

◆ setMinQP()

void fm.liveswitch.openh264.EncoderConfig.setMinQP ( int  value)

Sets a value that maps to "iMinQp".

◆ setMultipleThreadIdc()

void fm.liveswitch.openh264.EncoderConfig.setMultipleThreadIdc ( int  value)

Sets a value that maps to "iMultipleThreadIdc".

◆ setNumRefFrame()

void fm.liveswitch.openh264.EncoderConfig.setNumRefFrame ( int  value)

Sets a value that maps to "iNumRefFrame".

◆ setPaddingFlag()

void fm.liveswitch.openh264.EncoderConfig.setPaddingFlag ( boolean  value)

Sets a value that maps to "iPaddingFlag".

◆ setPrefixNalAddingControl()

void fm.liveswitch.openh264.EncoderConfig.setPrefixNalAddingControl ( boolean  value)

Sets a value that maps to "bPrefixNalAddingCtrl".

◆ setRcMode()

void fm.liveswitch.openh264.EncoderConfig.setRcMode ( fm.liveswitch.openh264.RateControlMode  value)

Sets a value that maps to "iRCMode".

◆ setSimulcastAvc()

void fm.liveswitch.openh264.EncoderConfig.setSimulcastAvc ( boolean  value)

Sets a value that maps to "bSimulcastAVC".

◆ setSpatialLayerNum()

void fm.liveswitch.openh264.EncoderConfig.setSpatialLayerNum ( int  value)

Sets a value that maps to "iSpatialLayerNum".

◆ setSpsPpsIdStrategy()

void fm.liveswitch.openh264.EncoderConfig.setSpsPpsIdStrategy ( fm.liveswitch.openh264.ParameterSetStrategy  value)

Sets a value that maps to "eSpsPpsIdStrategy".

◆ setTemporalLayerNum()

void fm.liveswitch.openh264.EncoderConfig.setTemporalLayerNum ( int  value)

Sets a value that maps to "iTemporalLayerNum".

◆ setUsageType()

void fm.liveswitch.openh264.EncoderConfig.setUsageType ( fm.liveswitch.openh264.UsageType  value)

Sets a value that maps to "iUsageType".

◆ setUseLoadBalancing()

void fm.liveswitch.openh264.EncoderConfig.setUseLoadBalancing ( boolean  value)

Sets a value that maps to "bUseLoadBalancing".