public class EncoderPassThrough extends Encoder
| Constructor and Description |
|---|
EncoderPassThrough() |
| Modifier and Type | Method and Description |
|---|---|
MatrixBlock |
apply(FrameBlock in,
MatrixBlock out)
Encode input data blockwise according to existing transform meta
data (transform apply).
|
void |
build(FrameBlock in)
Build the transform meta data for the given block input.
|
MatrixBlock |
encode(FrameBlock in,
MatrixBlock out)
Block encode: build and apply (transform encode).
|
FrameBlock |
getMetaData(FrameBlock meta)
Construct a frame block out of the transform meta data.
|
void |
initMetaData(FrameBlock meta)
Sets up the required meta data for a subsequent call to apply.
|
void |
mergeAt(Encoder other,
int row,
int col)
Merges another encoder, of a compatible type, in after a certain position.
|
Encoder |
subRangeEncoder(IndexRange ixRange)
Returns a new Encoder that only handles a sub range of columns.
|
getColList, getColMapping, getNumCols, initColList, initColList, isApplicable, isApplicable, setColList, updateIndexRangespublic MatrixBlock encode(FrameBlock in, MatrixBlock out)
Encoderpublic void build(FrameBlock in)
Encoderpublic MatrixBlock apply(FrameBlock in, MatrixBlock out)
Encoderpublic Encoder subRangeEncoder(IndexRange ixRange)
EncodersubRangeEncoder in class EncoderixRange - the range (1-based, begin inclusive, end exclusive)public void mergeAt(Encoder other, int row, int col)
EncoderEncoders are compatible with themselves and EncoderComposite is compatible with every
other Encoder.public FrameBlock getMetaData(FrameBlock meta)
EncodergetMetaData in class Encodermeta - output frame blockpublic void initMetaData(FrameBlock meta)
EncoderinitMetaData in class Encodermeta - frame blockCopyright © 2020 The Apache Software Foundation. All rights reserved.