Interface ShadowMediaCodec.CodecConfig.Codec

  • Enclosing class:
    ShadowMediaCodec.CodecConfig

    public static interface ShadowMediaCodec.CodecConfig.Codec
    A codec is implemented as part of the configuration to allow the ShadowMediaCodec to simulate actual encoding/decoding. It's not expected for implementations to perform real encoding/decoding, but to produce a output similar in size ratio to the expected codec..
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void process​(java.nio.ByteBuffer in, java.nio.ByteBuffer out)
      Move the bytes on the in buffer to the out buffer
    • Method Detail

      • process

        void process​(java.nio.ByteBuffer in,
                     java.nio.ByteBuffer out)
        Move the bytes on the in buffer to the out buffer