Ignore:
Timestamp:
Jul 25, 2007, 5:59:35 PM (14 years ago)
Author:
Eugene Romanenko
Message:

DJVU plugin: djvulibre updated to version 3.5.19

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/GBitmap.h

    r17 r206  
    66//C-
    77//C- This software is subject to, and may be distributed under, the
    8 //C- GNU General Public License, Version 2. The license should have
     8//C- GNU General Public License, either Version 2 of the license,
     9//C- or (at your option) any later version. The license should have
    910//C- accompanied the software or you may obtain a copy of the license
    1011//C- from the Free Software Foundation at http://www.fsf.org .
     
    1516//C- GNU General Public License for more details.
    1617//C-
    17 //C- DjVuLibre-3.5 is derived from the DjVu(r) Reference Library
    18 //C- distributed by Lizardtech Software.  On July 19th 2002, Lizardtech
    19 //C- Software authorized us to replace the original DjVu(r) Reference
    20 //C- Library notice by the following text (see doc/lizard2002.djvu):
     18//C- DjVuLibre-3.5 is derived from the DjVu(r) Reference Library from
     19//C- Lizardtech Software.  Lizardtech Software has authorized us to
     20//C- replace the original DjVu(r) Reference Library notice by the following
     21//C- text (see doc/lizard2002.djvu and doc/lizardtech2007.djvu):
    2122//C-
    2223//C-  ------------------------------------------------------------------
     
    2728//C- |
    2829//C- | This software is subject to, and may be distributed under, the
    29 //C- | GNU General Public License, Version 2. The license should have
     30//C- | GNU General Public License, either Version 2 of the license,
     31//C- | or (at your option) any later version. The license should have
    3032//C- | accompanied the software or you may obtain a copy of the license
    3133//C- | from the Free Software Foundation at http://www.fsf.org .
     
    5254//C- +------------------------------------------------------------------
    5355//
    54 // $Id: GBitmap.h,v 1.9 2004/04/17 23:56:11 leonb Exp $
    55 // $Name: $
     56// $Id: GBitmap.h,v 1.13 2007/03/25 20:48:31 leonb Exp $
     57// $Name: release_3_5_19 $
    5658
    5759#ifndef _GBITMAP_H_
     
    102104    L\'eon Bottou <leonb@research.att.com>
    103105    @version
    104     #$Id: GBitmap.h,v 1.9 2004/04/17 23:56:11 leonb Exp $#
     106    #$Id: GBitmap.h,v 1.13 2007/03/25 20:48:31 leonb Exp $#
    105107
    106108 */
     
    482484  void decode(unsigned char *runs);
    483485  void read_pbm_text(ByteStream &ref);
    484   void read_pgm_text(ByteStream &ref);
     486  void read_pgm_text(ByteStream &ref, int maxval);
    485487  void read_pbm_raw(ByteStream &ref);
    486   void read_pgm_raw(ByteStream &ref);
     488  void read_pgm_raw(ByteStream &ref, int maxval);
    487489  void read_rle_raw(ByteStream &ref);
    488490  static void append_long_run(unsigned char *&data, int count);
     
    568570GBitmap::operator[](int row)
    569571{
    570   if (!bytes) uncompress();
     572  if (!bytes)
     573    uncompress();
    571574  if (row<0 || row>=nrows) {
    572575#ifndef NDEBUG
     
    582585GBitmap::operator[](int row) const
    583586{
    584   if (!bytes) ((GBitmap*)this)->uncompress();
     587  if (!bytes)
     588    ((GBitmap*)this)->uncompress();
    585589  if (row<0 || row>=nrows) {
    586590#ifndef NDEBUG
Note: See TracChangeset for help on using the changeset viewer.