
public class MediaResampler extends Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
MediaResampler.State |
| Modifier and Type | Method and Description |
|---|---|
MediaResampler |
copyReference()
Create a new MediaResampler object that is actually referring to the
exact same underlying native object.
|
boolean |
equals(Object obj)
Compares two values, returning true if the underlying objects in native code are the same object.
|
MediaResampler.State |
getState() |
int |
hashCode()
Get a hashable value for this object.
|
int |
resample(MediaSampled out,
MediaSampled in)
Resample in to out based on the resampler parameters.
Resamples the in media based on the parameters set when this resampler was constructed. |
getNumProperties, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsInt, getPropertyAsLong, getPropertyAsRational, getPropertyAsString, getPropertyMetaData, getPropertyMetaData, setProperty, setProperty, setProperty, setProperty, setProperty, setPropertydelete, getCurrentRefCountpublic MediaResampler copyReference()
copyReference in class Configurablepublic boolean equals(Object obj)
equals in class Configurablepublic int hashCode()
hashCode in class Configurablepublic MediaResampler.State getState()
public int resample(MediaSampled out, MediaSampled in)
out - The media we'll resample to. Checkin - The media we'll resample from.InvalidArgument - if in our out does not match the parameters thisInvalidArgument - if the sub-class of in our out is of an invalidCopyright © 2018 Humble Software. All rights reserved.