| java.lang.Object com.sun.media.jai.opimage.FFT com.sun.media.jai.mlib.FFTmediaLib
FFTmediaLib | public class FFTmediaLib extends FFT (Code) | | The Fast Fourier Transform (FFT) class interface to mediaLib.
since: EA4 |
Constructor Summary | |
public | FFTmediaLib(boolean negatedExponent, Integer scaleType, int length) Construct a new FFTmediaLib object. |
Method Summary | |
public void | getData(int dataType, Object realArg, int offsetReal, int strideReal, Object imagArg, int offsetImag, int strideImag) Get data from the internal work data arrays of the FFT object.
Parameters: dataType - The data type of the source data according toone of the DataBuffer TYPE_* flags. | public void | setLength(int length) Initialize the length-dependent fields. | public void | transform() Calculate the DFT of a complex sequence using the FFT algorithm. |
FFTmediaLib | public FFTmediaLib(boolean negatedExponent, Integer scaleType, int length)(Code) | | Construct a new FFTmediaLib object.
Parameters: negatedExponent - Whether the exponent is negated. Parameters: scaleType - The type of scaling to be applied. Parameters: length - The length of the FFT; must be a positive power of 2. |
getData | public void getData(int dataType, Object realArg, int offsetReal, int strideReal, Object imagArg, int offsetImag, int strideImag)(Code) | | Get data from the internal work data arrays of the FFT object.
Parameters: dataType - The data type of the source data according toone of the DataBuffer TYPE_* flags. This should be eitherDataBuffer.TYPE_FLOAT or DataBuffer.TYPE_DOUBLE. Parameters: realArg - Float or double array of real parts. Parameters: offsetReal - Offset into the array of real parts. Parameters: strideReal - The real array stride value. Parameters: imagArg - Float or double array of imaginary parts. Parameters: offsetImag - Offset into the array of imaginary parts. Parameters: strideImag - The imaginary array stride value. Parameters: count - The number of values to copy. |
setLength | public void setLength(int length)(Code) | | Initialize the length-dependent fields.
Parameters: length - The length of the FFT; must be a positive power of 2. |
transform | public void transform()(Code) | | Calculate the DFT of a complex sequence using the FFT algorithm.
|
Methods inherited from com.sun.media.jai.opimage.FFT | public void getData(int dataType, Object realArg, int offsetReal, int strideReal, Object imagArg, int offsetImag, int strideImag)(Code)(Java Doc) public void getFCTData(int dataType, Object data, int offset, int stride)(Code)(Java Doc) public void getIFCTData(int dataType, Object data, int offset, int stride)(Code)(Java Doc) public void setData(int dataType, Object realArg, int offsetReal, int strideReal, Object imagArg, int offsetImag, int strideImag, int count)(Code)(Java Doc) public void setFCTData(int dataType, Object data, int offset, int stride, int count)(Code)(Java Doc) public void setIFCTData(int dataType, Object data, int offset, int stride, int count)(Code)(Java Doc) public void setLength(int length)(Code)(Java Doc) public void transform()(Code)(Java Doc)
|
|
|