public abstract class DCTFactory extends Object
Factory for DCTransform
s. Using the factory allows for sliding-in a faster, perhaps
native implementation.
In order to use a factory other than the default factory, you need to specify
its classname with the system property com.tagtraum.jipes.math.DCTFactory
.
I.e.
Modifier and Type | Field and Description |
---|---|
static String |
FACTORYCLASS_PROPERTY_NAME |
Modifier | Constructor and Description |
---|---|
protected |
DCTFactory() |
Modifier and Type | Method and Description |
---|---|
abstract Transform |
create(int numberOfSamples)
Creates an instance of the discrete cosine transform (DCT).
|
static DCTFactory |
getInstance()
Creates a factory for DCT
Transform objects. |
public static final String FACTORYCLASS_PROPERTY_NAME
public static DCTFactory getInstance()
Transform
objects.public abstract Transform create(int numberOfSamples)
numberOfSamples
- number of samples the DCT instance should be able to processCopyright © 2011–2020 tagtraum industries incorporated. All rights reserved.