Config for the Vp8/Vp9 encoders. More...
Instance Methods | |
(FMLiveSwitchVpxBitDepth *) | - bitDepth |
Gets a value that maps to "g_bit_depth". More... | |
(int) | - bufferInitialSize |
Gets a value that maps to "rc_buf_initial_sz". More... | |
(int) | - bufferOptimalSize |
Gets a value that maps to "rc_buf_optimal_sz". More... | |
(int) | - bufferSize |
Gets a value that maps to "rc_buf_sz". More... | |
(int) | - cpu |
Gets a value used for "VP8E_SET_CPUUSED". More... | |
(FMLiveSwitchVpxEncoderConfig *) | - deepCopy |
Gets a deep copy of this configuration. More... | |
(int) | - dropFrameThreshold |
Gets a value that maps to "rc_dropframe_thresh". More... | |
(FMLiveSwitchVpxEndUsageMode *) | - endUsageMode |
Gets a value that maps to "rc_end_usage". More... | |
(int) | - errorResilient |
Gets a value that maps to g_error_resilient. More... | |
(instancetype) | - init |
Creates a new copy of the VPX encoder configurations with default values. More... | |
(int) | - inputBitDepth |
Gets a value that maps to "g_input_bit_depth". More... | |
(int) | - keyframeMaxDistance |
Gets a value that maps to "kf_max_dist". More... | |
(int) | - keyframeMinDistance |
Gets a value that maps to "kf_min_dist". More... | |
(FMLiveSwitchVpxKeyframeMode *) | - keyframeMode |
Gets a value that makes to "kf_mode". More... | |
(int) | - lagInFrames |
Gets a value that maps to "g_lag_in_frames". More... | |
(NSMutableArray *) | - layerTargetBitrate |
Gets a value that maps to "layer_trget_bitrater". More... | |
(int) | - maxQuantizer |
Gets a value that maps to "rc_max_quantizer". More... | |
(int) | - minQuantizer |
Gets a value that maps to "rc_min_quantizer". More... | |
(int) | - overshootPercentage |
Gets a value that maps to "rc_overshoot_pct". More... | |
(int) | - profile |
Gets a value that maps to "g_profile". More... | |
(bool) | - resizeAllowed |
Gets a value that maps to "rc_resize_allowed". More... | |
(int) | - resizeDownThreshold |
Gets a value that maps to "rc_resize_down_thresh". More... | |
(int) | - resizeUpThreshold |
Gets a value that maps to "rc_resize_up_thresh". More... | |
(int) | - scaledHeight |
Gets a value that maps to "rc_scaled_height". More... | |
(int) | - scaledWidth |
Gets a value that maps to "rc_scaled_width". More... | |
(void) | - setBitDepth: |
Sets a value that maps to "g_bit_depth". More... | |
(void) | - setBufferInitialSize: |
Sets a value that maps to "rc_buf_initial_sz". More... | |
(void) | - setBufferOptimalSize: |
Sets a value that maps to "rc_buf_optimal_sz". More... | |
(void) | - setBufferSize: |
Sets a value that maps to "rc_buf_sz". More... | |
(void) | - setCpu: |
Sets a value used for "VP8E_SET_CPUUSED". More... | |
(void) | - setDropFrameThreshold: |
Sets a value that maps to "rc_dropframe_thresh". More... | |
(void) | - setEndUsageMode: |
Sets a value that maps to "rc_end_usage". More... | |
(void) | - setErrorResilient: |
Sets a value that maps to g_error_resilient. More... | |
(void) | - setInputBitDepth: |
Sets a value that maps to "g_input_bit_depth". More... | |
(void) | - setKeyframeMaxDistance: |
Sets a value that maps to "kf_max_dist". More... | |
(void) | - setKeyframeMinDistance: |
Sets a value that maps to "kf_min_dist". More... | |
(void) | - setKeyframeMode: |
Sets a value that makes to "kf_mode". More... | |
(void) | - setLagInFrames: |
Sets a value that maps to "g_lag_in_frames". More... | |
(void) | - setLayerTargetBitrate: |
Sets a value that maps to "layer_trget_bitrater". More... | |
(void) | - setMaxQuantizer: |
Sets a value that maps to "rc_max_quantizer". More... | |
(void) | - setMinQuantizer: |
Sets a value that maps to "rc_min_quantizer". More... | |
(void) | - setOvershootPercentage: |
Sets a value that maps to "rc_overshoot_pct". More... | |
(void) | - setProfile: |
Sets a value that maps to "g_profile". More... | |
(void) | - setResizeAllowed: |
Sets a value that maps to "rc_resize_allowed". More... | |
(void) | - setResizeDownThreshold: |
Sets a value that maps to "rc_resize_down_thresh". More... | |
(void) | - setResizeUpThreshold: |
Sets a value that maps to "rc_resize_up_thresh". More... | |
(void) | - setScaledHeight: |
Sets a value that maps to "rc_scaled_height". More... | |
(void) | - setScaledWidth: |
Sets a value that maps to "rc_scaled_width". More... | |
(void) | - setSpatialEnableAutoAltRef: |
Sets a value that maps to "ss_enable_auto_alt_ref". More... | |
(void) | - setSpatialLayers: |
Sets a value that maps to "ss_number_layers". More... | |
(void) | - setSpatialTargetBitrate: |
Sets a value that maps to "ss_target_bitrate". More... | |
(void) | - setTemporalLayerMode: |
Sets a value that maps to "temporal_layering_mode". More... | |
(void) | - setTemporalLayers: |
Sets a value that maps to "ts_number_layers". More... | |
(void) | - setTemporalPattern: |
Sets a value that maps to "ts_layer_id". More... | |
(void) | - setTemporalPeriodicity: |
Sets a value that maps to "ts_periodicity". More... | |
(void) | - setTemporalRateDecimator: |
Sets a value that maps to "ts_rate_decimator". More... | |
(void) | - setTemporalTargetBitrate: |
Sets a value that maps to "ts_target_bitrate". More... | |
(void) | - setThreads: |
Sets a value that maps to "g_threads". More... | |
(void) | - setTimebaseDenominator: |
Sets a value that maps to "g_timebase.den". More... | |
(void) | - setTimebaseNumerator: |
Sets a value that maps to "g_timebase.num". More... | |
(void) | - setUndershootPercentage: |
Sets a value that maps to "rc_undershoot_pct". More... | |
(void) | - setUsage: |
Sets a value that maps to "g_usage". More... | |
(NSMutableArray *) | - spatialEnableAutoAltRef |
Gets a value that maps to "ss_enable_auto_alt_ref". More... | |
(int) | - spatialLayers |
Gets a value that maps to "ss_number_layers". More... | |
(NSMutableArray *) | - spatialTargetBitrate |
Gets a value that maps to "ss_target_bitrate". More... | |
(FMLiveSwitchVpxTemporalLayerMode *) | - temporalLayerMode |
Gets a value that maps to "temporal_layering_mode". More... | |
(int) | - temporalLayers |
Gets a value that maps to "ts_number_layers". More... | |
(NSMutableArray *) | - temporalPattern |
Gets a value that maps to "ts_layer_id". More... | |
(int) | - temporalPeriodicity |
Gets a value that maps to "ts_periodicity". More... | |
(NSMutableArray *) | - temporalRateDecimator |
Gets a value that maps to "ts_rate_decimator". More... | |
(NSMutableArray *) | - temporalTargetBitrate |
Gets a value that maps to "ts_target_bitrate". More... | |
(int) | - threads |
Gets a value that maps to "g_threads". More... | |
(int) | - timebaseDenominator |
Gets a value that maps to "g_timebase.den". More... | |
(int) | - timebaseNumerator |
Gets a value that maps to "g_timebase.num". More... | |
(int) | - undershootPercentage |
Gets a value that maps to "rc_undershoot_pct". More... | |
(int) | - usage |
Gets a value that maps to "g_usage". More... | |
Class Methods | |
(FMLiveSwitchVpxEncoderConfig *) | + encoderConfig |
Creates a new copy of the VPX encoder configurations with default values. More... | |
Config for the Vp8/Vp9 encoders.
Properties map to VPX properties. http://www.webmproject.org/docs/webm-sdk/structvpx__codec__enc__cfg.html
- (FMLiveSwitchVpxBitDepth*) bitDepth |
Gets a value that maps to "g_bit_depth".
- (int) bufferInitialSize |
Gets a value that maps to "rc_buf_initial_sz".
- (int) bufferOptimalSize |
Gets a value that maps to "rc_buf_optimal_sz".
- (int) bufferSize |
Gets a value that maps to "rc_buf_sz".
- (int) cpu |
Gets a value used for "VP8E_SET_CPUUSED".
Range is [-16, 16] for VP8 and [-8, 8] for VP9.
- (FMLiveSwitchVpxEncoderConfig*) deepCopy |
Gets a deep copy of this configuration.
- (int) dropFrameThreshold |
Gets a value that maps to "rc_dropframe_thresh".
+ (FMLiveSwitchVpxEncoderConfig*) encoderConfig |
Creates a new copy of the VPX encoder configurations with default values.
- (FMLiveSwitchVpxEndUsageMode*) endUsageMode |
Gets a value that maps to "rc_end_usage".
- (int) errorResilient |
Gets a value that maps to g_error_resilient.
- (instancetype) init |
Creates a new copy of the VPX encoder configurations with default values.
- (int) inputBitDepth |
Gets a value that maps to "g_input_bit_depth".
- (int) keyframeMaxDistance |
Gets a value that maps to "kf_max_dist".
- (int) keyframeMinDistance |
Gets a value that maps to "kf_min_dist".
- (FMLiveSwitchVpxKeyframeMode*) keyframeMode |
Gets a value that makes to "kf_mode".
- (int) lagInFrames |
Gets a value that maps to "g_lag_in_frames".
- (NSMutableArray*) layerTargetBitrate |
Gets a value that maps to "layer_trget_bitrater".
- (int) maxQuantizer |
Gets a value that maps to "rc_max_quantizer".
If -1, then Quality field used.
- (int) minQuantizer |
Gets a value that maps to "rc_min_quantizer".
- (int) overshootPercentage |
Gets a value that maps to "rc_overshoot_pct".
- (int) profile |
Gets a value that maps to "g_profile".
- (bool) resizeAllowed |
Gets a value that maps to "rc_resize_allowed".
- (int) resizeDownThreshold |
Gets a value that maps to "rc_resize_down_thresh".
- (int) resizeUpThreshold |
Gets a value that maps to "rc_resize_up_thresh".
- (int) scaledHeight |
Gets a value that maps to "rc_scaled_height".
- (int) scaledWidth |
Gets a value that maps to "rc_scaled_width".
- (void) setBitDepth: | (FMLiveSwitchVpxBitDepth *) | value |
Sets a value that maps to "g_bit_depth".
- (void) setBufferInitialSize: | (int) | value |
Sets a value that maps to "rc_buf_initial_sz".
- (void) setBufferOptimalSize: | (int) | value |
Sets a value that maps to "rc_buf_optimal_sz".
- (void) setBufferSize: | (int) | value |
Sets a value that maps to "rc_buf_sz".
- (void) setCpu: | (int) | value |
Sets a value used for "VP8E_SET_CPUUSED".
Range is [-16, 16] for VP8 and [-8, 8] for VP9.
- (void) setDropFrameThreshold: | (int) | value |
Sets a value that maps to "rc_dropframe_thresh".
- (void) setEndUsageMode: | (FMLiveSwitchVpxEndUsageMode *) | value |
Sets a value that maps to "rc_end_usage".
- (void) setErrorResilient: | (int) | value |
Sets a value that maps to g_error_resilient.
- (void) setInputBitDepth: | (int) | value |
Sets a value that maps to "g_input_bit_depth".
- (void) setKeyframeMaxDistance: | (int) | value |
Sets a value that maps to "kf_max_dist".
- (void) setKeyframeMinDistance: | (int) | value |
Sets a value that maps to "kf_min_dist".
- (void) setKeyframeMode: | (FMLiveSwitchVpxKeyframeMode *) | value |
Sets a value that makes to "kf_mode".
- (void) setLagInFrames: | (int) | value |
Sets a value that maps to "g_lag_in_frames".
- (void) setLayerTargetBitrate: | (NSMutableArray *) | value |
Sets a value that maps to "layer_trget_bitrater".
- (void) setMaxQuantizer: | (int) | value |
Sets a value that maps to "rc_max_quantizer".
If -1, then Quality field used.
- (void) setMinQuantizer: | (int) | value |
Sets a value that maps to "rc_min_quantizer".
- (void) setOvershootPercentage: | (int) | value |
Sets a value that maps to "rc_overshoot_pct".
- (void) setProfile: | (int) | value |
Sets a value that maps to "g_profile".
- (void) setResizeAllowed: | (bool) | value |
Sets a value that maps to "rc_resize_allowed".
- (void) setResizeDownThreshold: | (int) | value |
Sets a value that maps to "rc_resize_down_thresh".
- (void) setResizeUpThreshold: | (int) | value |
Sets a value that maps to "rc_resize_up_thresh".
- (void) setScaledHeight: | (int) | value |
Sets a value that maps to "rc_scaled_height".
- (void) setScaledWidth: | (int) | value |
Sets a value that maps to "rc_scaled_width".
- (void) setSpatialEnableAutoAltRef: | (NSMutableArray *) | value |
Sets a value that maps to "ss_enable_auto_alt_ref".
- (void) setSpatialLayers: | (int) | value |
Sets a value that maps to "ss_number_layers".
- (void) setSpatialTargetBitrate: | (NSMutableArray *) | value |
Sets a value that maps to "ss_target_bitrate".
- (void) setTemporalLayerMode: | (FMLiveSwitchVpxTemporalLayerMode *) | value |
Sets a value that maps to "temporal_layering_mode".
- (void) setTemporalLayers: | (int) | value |
Sets a value that maps to "ts_number_layers".
- (void) setTemporalPattern: | (NSMutableArray *) | value |
Sets a value that maps to "ts_layer_id".
- (void) setTemporalPeriodicity: | (int) | value |
Sets a value that maps to "ts_periodicity".
- (void) setTemporalRateDecimator: | (NSMutableArray *) | value |
Sets a value that maps to "ts_rate_decimator".
- (void) setTemporalTargetBitrate: | (NSMutableArray *) | value |
Sets a value that maps to "ts_target_bitrate".
- (void) setThreads: | (int) | value |
Sets a value that maps to "g_threads".
- (void) setTimebaseDenominator: | (int) | value |
Sets a value that maps to "g_timebase.den".
- (void) setTimebaseNumerator: | (int) | value |
Sets a value that maps to "g_timebase.num".
- (void) setUndershootPercentage: | (int) | value |
Sets a value that maps to "rc_undershoot_pct".
- (void) setUsage: | (int) | value |
Sets a value that maps to "g_usage".
- (NSMutableArray*) spatialEnableAutoAltRef |
Gets a value that maps to "ss_enable_auto_alt_ref".
- (int) spatialLayers |
Gets a value that maps to "ss_number_layers".
- (NSMutableArray*) spatialTargetBitrate |
Gets a value that maps to "ss_target_bitrate".
- (FMLiveSwitchVpxTemporalLayerMode*) temporalLayerMode |
Gets a value that maps to "temporal_layering_mode".
- (int) temporalLayers |
Gets a value that maps to "ts_number_layers".
- (NSMutableArray*) temporalPattern |
Gets a value that maps to "ts_layer_id".
- (int) temporalPeriodicity |
Gets a value that maps to "ts_periodicity".
- (NSMutableArray*) temporalRateDecimator |
Gets a value that maps to "ts_rate_decimator".
- (NSMutableArray*) temporalTargetBitrate |
Gets a value that maps to "ts_target_bitrate".
- (int) threads |
Gets a value that maps to "g_threads".
- (int) timebaseDenominator |
Gets a value that maps to "g_timebase.den".
- (int) timebaseNumerator |
Gets a value that maps to "g_timebase.num".
- (int) undershootPercentage |
Gets a value that maps to "rc_undershoot_pct".
- (int) usage |
Gets a value that maps to "g_usage".