Class EncoderJNI.Wrapper

  • Enclosing class:
    EncoderJNI

    public static class EncoderJNI.Wrapper
    extends java.lang.Object
    • Field Detail

      • context

        protected final long[] context
    • Constructor Detail

      • Wrapper

        public Wrapper​(int inputBufferSize,
                       int quality,
                       int lgwin,
                       Encoder.Mode mode)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • attachDictionary

        public boolean attachDictionary​(java.nio.ByteBuffer dictionary)
      • isSuccess

        public boolean isSuccess()
      • hasMoreOutput

        public boolean hasMoreOutput()
      • hasRemainingInput

        public boolean hasRemainingInput()
      • isFinished

        public boolean isFinished()
      • getInputBuffer

        public java.nio.ByteBuffer getInputBuffer()
      • pull

        public java.nio.ByteBuffer pull()
      • destroy

        public void destroy()
        Releases native resources.