public static class TranscodingAPI.TranFilter
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static float |
BRIGHTNESS_DEFAULT |
static float |
CONTRAST_DEFAULT |
static float |
HUE_DEFAULT |
static float |
SATURATION_DEFAULT |
static float |
SHARPEN_DEFAULT |
| 构造器和说明 |
|---|
TranFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
float |
getBrightness() |
float |
getContrast() |
float |
getHue() |
float |
getSaturation() |
float |
getSharpenness() |
void |
setBrightness(float brightness)
视频亮度调节参数
-1.0 to 1.0 with 0.0 as the normal level
|
void |
setContrast(float contrast)
视频对比度调节参数
0.0 to 4.0, with 1.0 as the normal level
|
void |
setHue(float hue)
视频色相调节参数
0 - 360 with 0.0 as the default
|
void |
setSaturation(float saturation)
视频饱和度调节参数
0.0 - 2.0, with 1.0 as the default
|
void |
setSharpenness(float sharpenness)
视频锐度调节参数
-4.0 to 4.0, with 0.0 as the normal level
注意:锐度调节太大会导致图像复杂度大大加强,导致编码出来的帧率特别低 |
java.lang.String |
toString() |
public static final float BRIGHTNESS_DEFAULT
public static final float CONTRAST_DEFAULT
public static final float SATURATION_DEFAULT
public static final float HUE_DEFAULT
public static final float SHARPEN_DEFAULT
public void setBrightness(float brightness)
public void setContrast(float contrast)
public void setSaturation(float saturation)
public void setSharpenness(float sharpenness)
public void setHue(float hue)
public float getBrightness()
public float getContrast()
public float getSaturation()
public float getSharpenness()
public float getHue()
public java.lang.String toString()
toString 在类中 java.lang.Object