org.jcodec.codecs.common.biari
Class MQEncoder
java.lang.Object
org.jcodec.codecs.common.biari.MQEncoder
public class MQEncoder
- extends Object
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
Binary ariphmetic encoder
Half-way to MQ Coder
- Author:
- Jay Codec
|
Method Summary |
void |
encode(int symbol,
Context cm)
Encodes one symbol either 0 or 1 |
void |
finish()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CARRY_MASK
public static final int CARRY_MASK
- See Also:
- Constant Field Values
MQEncoder
public MQEncoder(OutputStream out)
encode
public void encode(int symbol,
Context cm)
throws IOException
- Encodes one symbol either 0 or 1
- Parameters:
symbol -
- Throws:
IOException
finish
public void finish()
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.