public class MediaEffect extends java.lang.Object implements IEffect
| Modifier and Type | Field and Description |
|---|---|
protected android.media.effect.Effect |
mEffect |
protected android.media.effect.EffectContext |
mEffectContext |
protected boolean |
mEnabled |
| Constructor and Description |
|---|
MediaEffect(android.media.effect.EffectContext effect_context,
java.lang.String effectName)
コンストラクタ
GLコンテキスト内で生成すること
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int[] src_tex_ids,
int width,
int height,
int out_tex_id) |
void |
apply(ISource src) |
boolean |
enabled() |
void |
release() |
MediaEffect |
resize(int width,
int height) |
IEffect |
setEnable(boolean enable) |
protected MediaEffect |
setParameter(java.lang.String parameterKey,
java.lang.Object value) |
protected final android.media.effect.EffectContext mEffectContext
protected android.media.effect.Effect mEffect
protected boolean mEnabled
public MediaEffect(android.media.effect.EffectContext effect_context,
java.lang.String effectName)
effect_context - public void apply(int[] src_tex_ids,
int width,
int height,
int out_tex_id)
public MediaEffect resize(int width, int height)
protected MediaEffect setParameter(java.lang.String parameterKey, java.lang.Object value)