Package org.robolectric.shadows
Class ShadowMediaCodec.CodecConfig
- java.lang.Object
-
- org.robolectric.shadows.ShadowMediaCodec.CodecConfig
-
- Enclosing class:
- ShadowMediaCodec
public static final class ShadowMediaCodec.CodecConfig extends Object
Configuration that can be supplied toShadowMediaCodecto simulate actual encoding/decoding.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShadowMediaCodec.CodecConfig.CodecA codec is implemented as part of the configuration to allow theShadowMediaCodecto simulate actual encoding/decoding.
-
Constructor Summary
Constructors Constructor Description CodecConfig(int inputBufferSize, int outputBufferSize, ShadowMediaCodec.CodecConfig.Codec codec)
-
-
-
Constructor Detail
-
CodecConfig
public CodecConfig(int inputBufferSize, int outputBufferSize, ShadowMediaCodec.CodecConfig.Codec codec)- Parameters:
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
-
-