public static class VideoEncoder.ScalingSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
high |
java.lang.Integer |
low |
static VideoEncoder.ScalingSettings |
OFF
Settings to disable quality based scaling.
|
boolean |
on |
Constructor and Description |
---|
ScalingSettings(boolean on)
Deprecated.
|
ScalingSettings(boolean on,
int low,
int high)
Deprecated.
|
ScalingSettings(int low,
int high)
Creates settings to enable quality based scaling.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public final boolean on
@Nullable public final java.lang.Integer low
@Nullable public final java.lang.Integer high
public static final VideoEncoder.ScalingSettings OFF
public ScalingSettings(int low, int high)
low
- Average QP at which to scale up the resolution.high
- Average QP at which to scale down the resolution.@Deprecated public ScalingSettings(boolean on)
on
- True if quality scaling is turned on.@Deprecated public ScalingSettings(boolean on, int low, int high)
on
- True if quality scaling is turned on.low
- Average QP at which to scale up the resolution.high
- Average QP at which to scale down the resolution.7.0.0