Config for the Vp8/Vp9 encoders. More...
Public Member Functions | |
fm.liveswitch.vpx.EncoderConfig | deepCopy () |
Gets a deep copy of this configuration. More... | |
EncoderConfig () | |
Creates a new copy of the VPX encoder configurations with default values. More... | |
fm.liveswitch.vpx.BitDepth | getBitDepth () |
Gets a value that maps to "g_bit_depth". More... | |
int | getBufferInitialSize () |
Gets a value that maps to "rc_buf_initial_sz". More... | |
int | getBufferOptimalSize () |
Gets a value that maps to "rc_buf_optimal_sz". More... | |
int | getBufferSize () |
Gets a value that maps to "rc_buf_sz". More... | |
int | getCpu () |
Gets a value used for "VP8E_SET_CPUUSED". More... | |
int | getDropFrameThreshold () |
Gets a value that maps to "rc_dropframe_thresh". More... | |
fm.liveswitch.vpx.EndUsageMode | getEndUsageMode () |
Gets a value that maps to "rc_end_usage". More... | |
int | getErrorResilient () |
Gets a value that maps to g_error_resilient. More... | |
int | getInputBitDepth () |
Gets a value that maps to "g_input_bit_depth". More... | |
int | getKeyframeMaxDistance () |
Gets a value that maps to "kf_max_dist". More... | |
int | getKeyframeMinDistance () |
Gets a value that maps to "kf_min_dist". More... | |
fm.liveswitch.vpx.KeyframeMode | getKeyframeMode () |
Gets a value that makes to "kf_mode". More... | |
int | getLagInFrames () |
Gets a value that maps to "g_lag_in_frames". More... | |
int[] | getLayerTargetBitrate () |
Gets a value that maps to "layer_trget_bitrater". More... | |
int | getMaxQuantizer () |
Gets a value that maps to "rc_max_quantizer". More... | |
int | getMinQuantizer () |
Gets a value that maps to "rc_min_quantizer". More... | |
int | getOvershootPercentage () |
Gets a value that maps to "rc_overshoot_pct". More... | |
int | getProfile () |
Gets a value that maps to "g_profile". More... | |
boolean | getResizeAllowed () |
Gets a value that maps to "rc_resize_allowed". More... | |
int | getResizeDownThreshold () |
Gets a value that maps to "rc_resize_down_thresh". More... | |
int | getResizeUpThreshold () |
Gets a value that maps to "rc_resize_up_thresh". More... | |
int | getScaledHeight () |
Gets a value that maps to "rc_scaled_height". More... | |
int | getScaledWidth () |
Gets a value that maps to "rc_scaled_width". More... | |
int[] | getSpatialEnableAutoAltRef () |
Gets a value that maps to "ss_enable_auto_alt_ref". More... | |
int | getSpatialLayers () |
Gets a value that maps to "ss_number_layers". More... | |
int[] | getSpatialTargetBitrate () |
Gets a value that maps to "ss_target_bitrate". More... | |
fm.liveswitch.vpx.TemporalLayerMode | getTemporalLayerMode () |
Gets a value that maps to "temporal_layering_mode". More... | |
int | getTemporalLayers () |
Gets a value that maps to "ts_number_layers". More... | |
int[] | getTemporalPattern () |
Gets a value that maps to "ts_layer_id". More... | |
int | getTemporalPeriodicity () |
Gets a value that maps to "ts_periodicity". More... | |
int[] | getTemporalRateDecimator () |
Gets a value that maps to "ts_rate_decimator". More... | |
int[] | getTemporalTargetBitrate () |
Gets a value that maps to "ts_target_bitrate". More... | |
int | getThreads () |
Gets a value that maps to "g_threads". More... | |
int | getTimebaseDenominator () |
Gets a value that maps to "g_timebase.den". More... | |
int | getTimebaseNumerator () |
Gets a value that maps to "g_timebase.num". More... | |
int | getUndershootPercentage () |
Gets a value that maps to "rc_undershoot_pct". More... | |
int | getUsage () |
Gets a value that maps to "g_usage". More... | |
void | setBitDepth (fm.liveswitch.vpx.BitDepth value) |
Sets a value that maps to "g_bit_depth". More... | |
void | setBufferInitialSize (int value) |
Sets a value that maps to "rc_buf_initial_sz". More... | |
void | setBufferOptimalSize (int value) |
Sets a value that maps to "rc_buf_optimal_sz". More... | |
void | setBufferSize (int value) |
Sets a value that maps to "rc_buf_sz". More... | |
void | setCpu (int value) |
Sets a value used for "VP8E_SET_CPUUSED". More... | |
void | setDropFrameThreshold (int value) |
Sets a value that maps to "rc_dropframe_thresh". More... | |
void | setEndUsageMode (fm.liveswitch.vpx.EndUsageMode value) |
Sets a value that maps to "rc_end_usage". More... | |
void | setErrorResilient (int value) |
Sets a value that maps to g_error_resilient. More... | |
void | setInputBitDepth (int value) |
Sets a value that maps to "g_input_bit_depth". More... | |
void | setKeyframeMaxDistance (int value) |
Sets a value that maps to "kf_max_dist". More... | |
void | setKeyframeMinDistance (int value) |
Sets a value that maps to "kf_min_dist". More... | |
void | setKeyframeMode (fm.liveswitch.vpx.KeyframeMode value) |
Sets a value that makes to "kf_mode". More... | |
void | setLagInFrames (int value) |
Sets a value that maps to "g_lag_in_frames". More... | |
void | setLayerTargetBitrate (int[] value) |
Sets a value that maps to "layer_trget_bitrater". More... | |
void | setMaxQuantizer (int value) |
Sets a value that maps to "rc_max_quantizer". More... | |
void | setMinQuantizer (int value) |
Sets a value that maps to "rc_min_quantizer". More... | |
void | setOvershootPercentage (int value) |
Sets a value that maps to "rc_overshoot_pct". More... | |
void | setProfile (int value) |
Sets a value that maps to "g_profile". More... | |
void | setResizeAllowed (boolean value) |
Sets a value that maps to "rc_resize_allowed". More... | |
void | setResizeDownThreshold (int value) |
Sets a value that maps to "rc_resize_down_thresh". More... | |
void | setResizeUpThreshold (int value) |
Sets a value that maps to "rc_resize_up_thresh". More... | |
void | setScaledHeight (int value) |
Sets a value that maps to "rc_scaled_height". More... | |
void | setScaledWidth (int value) |
Sets a value that maps to "rc_scaled_width". More... | |
void | setSpatialEnableAutoAltRef (int[] value) |
Sets a value that maps to "ss_enable_auto_alt_ref". More... | |
void | setSpatialLayers (int value) |
Sets a value that maps to "ss_number_layers". More... | |
void | setSpatialTargetBitrate (int[] value) |
Sets a value that maps to "ss_target_bitrate". More... | |
void | setTemporalLayerMode (fm.liveswitch.vpx.TemporalLayerMode value) |
Sets a value that maps to "temporal_layering_mode". More... | |
void | setTemporalLayers (int value) |
Sets a value that maps to "ts_number_layers". More... | |
void | setTemporalPattern (int[] value) |
Sets a value that maps to "ts_layer_id". More... | |
void | setTemporalPeriodicity (int value) |
Sets a value that maps to "ts_periodicity". More... | |
void | setTemporalRateDecimator (int[] value) |
Sets a value that maps to "ts_rate_decimator". More... | |
void | setTemporalTargetBitrate (int[] value) |
Sets a value that maps to "ts_target_bitrate". More... | |
void | setThreads (int value) |
Sets a value that maps to "g_threads". More... | |
void | setTimebaseDenominator (int value) |
Sets a value that maps to "g_timebase.den". More... | |
void | setTimebaseNumerator (int value) |
Sets a value that maps to "g_timebase.num". More... | |
void | setUndershootPercentage (int value) |
Sets a value that maps to "rc_undershoot_pct". More... | |
void | setUsage (int value) |
Sets a value that maps to "g_usage". More... | |
Config for the Vp8/Vp9 encoders.
Properties map to VPX properties. http://www.webmproject.org/docs/webm-sdk/structvpx__codec__enc__cfg.html
fm.liveswitch.vpx.EncoderConfig.EncoderConfig | ( | ) |
Creates a new copy of the VPX encoder configurations with default values.
fm.liveswitch.vpx.EncoderConfig fm.liveswitch.vpx.EncoderConfig.deepCopy | ( | ) |
Gets a deep copy of this configuration.
fm.liveswitch.vpx.BitDepth fm.liveswitch.vpx.EncoderConfig.getBitDepth | ( | ) |
Gets a value that maps to "g_bit_depth".
int fm.liveswitch.vpx.EncoderConfig.getBufferInitialSize | ( | ) |
Gets a value that maps to "rc_buf_initial_sz".
int fm.liveswitch.vpx.EncoderConfig.getBufferOptimalSize | ( | ) |
Gets a value that maps to "rc_buf_optimal_sz".
int fm.liveswitch.vpx.EncoderConfig.getBufferSize | ( | ) |
Gets a value that maps to "rc_buf_sz".
int fm.liveswitch.vpx.EncoderConfig.getCpu | ( | ) |
Gets a value used for "VP8E_SET_CPUUSED".
Range is [-16, 16] for VP8 and [-8, 8] for VP9.
int fm.liveswitch.vpx.EncoderConfig.getDropFrameThreshold | ( | ) |
Gets a value that maps to "rc_dropframe_thresh".
fm.liveswitch.vpx.EndUsageMode fm.liveswitch.vpx.EncoderConfig.getEndUsageMode | ( | ) |
Gets a value that maps to "rc_end_usage".
int fm.liveswitch.vpx.EncoderConfig.getErrorResilient | ( | ) |
Gets a value that maps to g_error_resilient.
int fm.liveswitch.vpx.EncoderConfig.getInputBitDepth | ( | ) |
Gets a value that maps to "g_input_bit_depth".
int fm.liveswitch.vpx.EncoderConfig.getKeyframeMaxDistance | ( | ) |
Gets a value that maps to "kf_max_dist".
int fm.liveswitch.vpx.EncoderConfig.getKeyframeMinDistance | ( | ) |
Gets a value that maps to "kf_min_dist".
fm.liveswitch.vpx.KeyframeMode fm.liveswitch.vpx.EncoderConfig.getKeyframeMode | ( | ) |
Gets a value that makes to "kf_mode".
int fm.liveswitch.vpx.EncoderConfig.getLagInFrames | ( | ) |
Gets a value that maps to "g_lag_in_frames".
int [] fm.liveswitch.vpx.EncoderConfig.getLayerTargetBitrate | ( | ) |
Gets a value that maps to "layer_trget_bitrater".
int fm.liveswitch.vpx.EncoderConfig.getMaxQuantizer | ( | ) |
Gets a value that maps to "rc_max_quantizer".
If -1, then Quality field used.
int fm.liveswitch.vpx.EncoderConfig.getMinQuantizer | ( | ) |
Gets a value that maps to "rc_min_quantizer".
int fm.liveswitch.vpx.EncoderConfig.getOvershootPercentage | ( | ) |
Gets a value that maps to "rc_overshoot_pct".
int fm.liveswitch.vpx.EncoderConfig.getProfile | ( | ) |
Gets a value that maps to "g_profile".
boolean fm.liveswitch.vpx.EncoderConfig.getResizeAllowed | ( | ) |
Gets a value that maps to "rc_resize_allowed".
int fm.liveswitch.vpx.EncoderConfig.getResizeDownThreshold | ( | ) |
Gets a value that maps to "rc_resize_down_thresh".
int fm.liveswitch.vpx.EncoderConfig.getResizeUpThreshold | ( | ) |
Gets a value that maps to "rc_resize_up_thresh".
int fm.liveswitch.vpx.EncoderConfig.getScaledHeight | ( | ) |
Gets a value that maps to "rc_scaled_height".
int fm.liveswitch.vpx.EncoderConfig.getScaledWidth | ( | ) |
Gets a value that maps to "rc_scaled_width".
int [] fm.liveswitch.vpx.EncoderConfig.getSpatialEnableAutoAltRef | ( | ) |
Gets a value that maps to "ss_enable_auto_alt_ref".
int fm.liveswitch.vpx.EncoderConfig.getSpatialLayers | ( | ) |
Gets a value that maps to "ss_number_layers".
int [] fm.liveswitch.vpx.EncoderConfig.getSpatialTargetBitrate | ( | ) |
Gets a value that maps to "ss_target_bitrate".
fm.liveswitch.vpx.TemporalLayerMode fm.liveswitch.vpx.EncoderConfig.getTemporalLayerMode | ( | ) |
Gets a value that maps to "temporal_layering_mode".
int fm.liveswitch.vpx.EncoderConfig.getTemporalLayers | ( | ) |
Gets a value that maps to "ts_number_layers".
int [] fm.liveswitch.vpx.EncoderConfig.getTemporalPattern | ( | ) |
Gets a value that maps to "ts_layer_id".
int fm.liveswitch.vpx.EncoderConfig.getTemporalPeriodicity | ( | ) |
Gets a value that maps to "ts_periodicity".
int [] fm.liveswitch.vpx.EncoderConfig.getTemporalRateDecimator | ( | ) |
Gets a value that maps to "ts_rate_decimator".
int [] fm.liveswitch.vpx.EncoderConfig.getTemporalTargetBitrate | ( | ) |
Gets a value that maps to "ts_target_bitrate".
int fm.liveswitch.vpx.EncoderConfig.getThreads | ( | ) |
Gets a value that maps to "g_threads".
int fm.liveswitch.vpx.EncoderConfig.getTimebaseDenominator | ( | ) |
Gets a value that maps to "g_timebase.den".
int fm.liveswitch.vpx.EncoderConfig.getTimebaseNumerator | ( | ) |
Gets a value that maps to "g_timebase.num".
int fm.liveswitch.vpx.EncoderConfig.getUndershootPercentage | ( | ) |
Gets a value that maps to "rc_undershoot_pct".
int fm.liveswitch.vpx.EncoderConfig.getUsage | ( | ) |
Gets a value that maps to "g_usage".
void fm.liveswitch.vpx.EncoderConfig.setBitDepth | ( | fm.liveswitch.vpx.BitDepth | value | ) |
Sets a value that maps to "g_bit_depth".
void fm.liveswitch.vpx.EncoderConfig.setBufferInitialSize | ( | int | value | ) |
Sets a value that maps to "rc_buf_initial_sz".
void fm.liveswitch.vpx.EncoderConfig.setBufferOptimalSize | ( | int | value | ) |
Sets a value that maps to "rc_buf_optimal_sz".
void fm.liveswitch.vpx.EncoderConfig.setBufferSize | ( | int | value | ) |
Sets a value that maps to "rc_buf_sz".
void fm.liveswitch.vpx.EncoderConfig.setCpu | ( | int | value | ) |
Sets a value used for "VP8E_SET_CPUUSED".
Range is [-16, 16] for VP8 and [-8, 8] for VP9.
void fm.liveswitch.vpx.EncoderConfig.setDropFrameThreshold | ( | int | value | ) |
Sets a value that maps to "rc_dropframe_thresh".
void fm.liveswitch.vpx.EncoderConfig.setEndUsageMode | ( | fm.liveswitch.vpx.EndUsageMode | value | ) |
Sets a value that maps to "rc_end_usage".
void fm.liveswitch.vpx.EncoderConfig.setErrorResilient | ( | int | value | ) |
Sets a value that maps to g_error_resilient.
void fm.liveswitch.vpx.EncoderConfig.setInputBitDepth | ( | int | value | ) |
Sets a value that maps to "g_input_bit_depth".
void fm.liveswitch.vpx.EncoderConfig.setKeyframeMaxDistance | ( | int | value | ) |
Sets a value that maps to "kf_max_dist".
void fm.liveswitch.vpx.EncoderConfig.setKeyframeMinDistance | ( | int | value | ) |
Sets a value that maps to "kf_min_dist".
void fm.liveswitch.vpx.EncoderConfig.setKeyframeMode | ( | fm.liveswitch.vpx.KeyframeMode | value | ) |
Sets a value that makes to "kf_mode".
void fm.liveswitch.vpx.EncoderConfig.setLagInFrames | ( | int | value | ) |
Sets a value that maps to "g_lag_in_frames".
void fm.liveswitch.vpx.EncoderConfig.setLayerTargetBitrate | ( | int[] | value | ) |
Sets a value that maps to "layer_trget_bitrater".
void fm.liveswitch.vpx.EncoderConfig.setMaxQuantizer | ( | int | value | ) |
Sets a value that maps to "rc_max_quantizer".
If -1, then Quality field used.
void fm.liveswitch.vpx.EncoderConfig.setMinQuantizer | ( | int | value | ) |
Sets a value that maps to "rc_min_quantizer".
void fm.liveswitch.vpx.EncoderConfig.setOvershootPercentage | ( | int | value | ) |
Sets a value that maps to "rc_overshoot_pct".
void fm.liveswitch.vpx.EncoderConfig.setProfile | ( | int | value | ) |
Sets a value that maps to "g_profile".
void fm.liveswitch.vpx.EncoderConfig.setResizeAllowed | ( | boolean | value | ) |
Sets a value that maps to "rc_resize_allowed".
void fm.liveswitch.vpx.EncoderConfig.setResizeDownThreshold | ( | int | value | ) |
Sets a value that maps to "rc_resize_down_thresh".
void fm.liveswitch.vpx.EncoderConfig.setResizeUpThreshold | ( | int | value | ) |
Sets a value that maps to "rc_resize_up_thresh".
void fm.liveswitch.vpx.EncoderConfig.setScaledHeight | ( | int | value | ) |
Sets a value that maps to "rc_scaled_height".
void fm.liveswitch.vpx.EncoderConfig.setScaledWidth | ( | int | value | ) |
Sets a value that maps to "rc_scaled_width".
void fm.liveswitch.vpx.EncoderConfig.setSpatialEnableAutoAltRef | ( | int[] | value | ) |
Sets a value that maps to "ss_enable_auto_alt_ref".
void fm.liveswitch.vpx.EncoderConfig.setSpatialLayers | ( | int | value | ) |
Sets a value that maps to "ss_number_layers".
void fm.liveswitch.vpx.EncoderConfig.setSpatialTargetBitrate | ( | int[] | value | ) |
Sets a value that maps to "ss_target_bitrate".
void fm.liveswitch.vpx.EncoderConfig.setTemporalLayerMode | ( | fm.liveswitch.vpx.TemporalLayerMode | value | ) |
Sets a value that maps to "temporal_layering_mode".
void fm.liveswitch.vpx.EncoderConfig.setTemporalLayers | ( | int | value | ) |
Sets a value that maps to "ts_number_layers".
void fm.liveswitch.vpx.EncoderConfig.setTemporalPattern | ( | int[] | value | ) |
Sets a value that maps to "ts_layer_id".
void fm.liveswitch.vpx.EncoderConfig.setTemporalPeriodicity | ( | int | value | ) |
Sets a value that maps to "ts_periodicity".
void fm.liveswitch.vpx.EncoderConfig.setTemporalRateDecimator | ( | int[] | value | ) |
Sets a value that maps to "ts_rate_decimator".
void fm.liveswitch.vpx.EncoderConfig.setTemporalTargetBitrate | ( | int[] | value | ) |
Sets a value that maps to "ts_target_bitrate".
void fm.liveswitch.vpx.EncoderConfig.setThreads | ( | int | value | ) |
Sets a value that maps to "g_threads".
void fm.liveswitch.vpx.EncoderConfig.setTimebaseDenominator | ( | int | value | ) |
Sets a value that maps to "g_timebase.den".
void fm.liveswitch.vpx.EncoderConfig.setTimebaseNumerator | ( | int | value | ) |
Sets a value that maps to "g_timebase.num".
void fm.liveswitch.vpx.EncoderConfig.setUndershootPercentage | ( | int | value | ) |
Sets a value that maps to "rc_undershoot_pct".
void fm.liveswitch.vpx.EncoderConfig.setUsage | ( | int | value | ) |
Sets a value that maps to "g_usage".