public static final class ShadowMediaCodec.CodecConfig extends Object
ShadowMediaCodec
to simulate actual
encoding/decoding.Modifier and Type | Class | Description |
---|---|---|
static interface |
ShadowMediaCodec.CodecConfig.Codec |
A codec is implemented as part of the configuration to allow the
ShadowMediaCodec to
simulate actual encoding/decoding. |
Constructor | Description |
---|---|
CodecConfig(int inputBufferSize,
int outputBufferSize,
ShadowMediaCodec.CodecConfig.Codec codec) |
public CodecConfig(int inputBufferSize, int outputBufferSize, ShadowMediaCodec.CodecConfig.Codec codec)
inputBufferSize
- the size of the buffers offered as input to the codec.outputBufferSize
- the size of the buffers offered as output from the codec.codec
- should be able to map from input size -> output size