Logo Search packages:      
Sourcecode: djvulibre version File versions

void IWPixmap::Encode::close_codec ( void   )  [virtual]

Resets the encoder/decoder state. The first call to decode_chunk# or encode_chunk# initializes the coder for encoding or decoding. Function close_codec# must be called after processing the last chunk in order to reset the coder and release the associated memory.

Definition at line 1667 of file IW44EncodeCodec.cpp.

References IW44Image::close_codec().

Referenced by encode_iff(), init(), and ~Encode().

  delete ycodec_enc;
  delete cbcodec_enc;
  delete crcodec_enc;
  ycodec_enc = crcodec_enc = cbcodec_enc = 0;

Generated by  Doxygen 1.6.0   Back to index