public class MediaEffectRedEye extends MediaEffect
mEffect, mEffectContext, mEnabled| Constructor and Description |
|---|
MediaEffectRedEye(android.media.effect.EffectContext effect_context,
float[] centers)
コンストラクタ
GLコンテキスト内で生成すること
|
| Modifier and Type | Method and Description |
|---|---|
MediaEffectRedEye |
setParameter(float[] centers) |
apply, apply, enabled, release, resize, setEnable, setParameterpublic MediaEffectRedEye(android.media.effect.EffectContext effect_context,
float[] centers)
effect_context - centers - Multiple center points (x, y) of the red eye regions. An array of floats, where (f[2*i], f[2*i+1]) specifies the center of the i'th eye. Coordinate values are expected to be normalized between 0 and 1.public MediaEffectRedEye setParameter(float[] centers)
centers - Multiple center points (x, y) of the red eye regions. An array of floats, where (f[2*i], f[2*i+1]) specifies the center of the i'th eye. Coordinate values are expected to be normalized between 0 and 1.