summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/libdjvu/IW44Image.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kviewshell/plugins/djvu/libdjvu/IW44Image.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/IW44Image.h')
-rw-r--r--kviewshell/plugins/djvu/libdjvu/IW44Image.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/IW44Image.h b/kviewshell/plugins/djvu/libdjvu/IW44Image.h
index 56cf00fa..954eee56 100644
--- a/kviewshell/plugins/djvu/libdjvu/IW44Image.h
+++ b/kviewshell/plugins/djvu/libdjvu/IW44Image.h
@@ -137,11 +137,11 @@
{\bf Masking} --- When we create a DjVu image, we often know that certain
pixels of the background image are going to be covered by foreground
objects like text or drawings. The DjVu IW44 wavelet decomposition
- routine can use an optional bilevel image named the mask. Every non zero
- pixel in the mask means the value of the corresponding pixel in the
+ routine can use an optional bilevel image named the tqmask. Every non zero
+ pixel in the tqmask means the value of the corresponding pixel in the
background image is irrelevant. The wavelet decomposition code will
- replace these masked pixels by a color value whose coding cost is minimal
- (see \URL{http://www.research.att.com/~leonb/DJVU/mask}).
+ replace these tqmasked pixels by a color value whose coding cost is minimal
+ (see \URL{http://www.research.att.com/~leonb/DJVU/tqmask}).
{\bf ToDo} --- There are many improvements to be made. Besides better
quantization algorithms (such as trellis quantization and bitrate
@@ -277,16 +277,16 @@ public:
virtual ~IW44Image();
/** Initializes an IWBitmap with image #bm#. This constructor
performs the wavelet decomposition of image #bm# and records the
- corresponding wavelet coefficient. Argument #mask# is an optional
- bilevel image specifying the masked pixels (see \Ref{IW44Image.h}). */
- static GP<IW44Image> create_encode(const GBitmap &bm, const GP<GBitmap> mask=0);
+ corresponding wavelet coefficient. Argument #tqmask# is an optional
+ bilevel image specifying the tqmasked pixels (see \Ref{IW44Image.h}). */
+ static GP<IW44Image> create_encode(const GBitmap &bm, const GP<GBitmap> tqmask=0);
/** Initializes an IWPixmap with color image #bm#. This constructor
performs the wavelet decomposition of image #bm# and records the
- corresponding wavelet coefficient. Argument #mask# is an optional
- bilevel image specifying the masked pixels (see \Ref{IW44Image.h}).
+ corresponding wavelet coefficient. Argument #tqmask# is an optional
+ bilevel image specifying the tqmasked pixels (see \Ref{IW44Image.h}).
Argument #crcbmode# specifies how the chrominance information should be
encoded (see \Ref{CRCBMode}). */
- static GP<IW44Image> create_encode(const GPixmap &bm, const GP<GBitmap> mask=0, CRCBMode crcbmode=CRCBnormal);
+ static GP<IW44Image> create_encode(const GPixmap &bm, const GP<GBitmap> tqmask=0, CRCBMode crcbmode=CRCBnormal);
// ACCESS
/** Returns the width of the IWBitmap image. */
int get_width(void) const;
@@ -618,7 +618,7 @@ public:
int pixsep=1, int fast=0);
// array of blocks
IW44Image::Block *blocks;
- // geometry
+ // tqgeometry
int iw, ih;
int bw, bh;
int nb;