| 120 | } |
| 121 | |
| 122 | BOOL ArithmeticEncoder::init(ByteStreamOut* outstream) |
| 123 | { |
| 124 | if (outstream == 0) return FALSE; |
| 125 | this->outstream = outstream; |
| 126 | base = 0; |
| 127 | length = AC__MaxLength; |
| 128 | outbyte = outbuffer; |
| 129 | endbyte = endbuffer; |
| 130 | return TRUE; |
| 131 | } |
| 132 | |
| 133 | void ArithmeticEncoder::done() |
| 134 | { |
no outgoing calls
no test coverage detected