summaryrefslogtreecommitdiff
path: root/libtiff/tif_predict.h
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2007-11-02 19:43:55 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2007-11-02 19:43:55 +0000
commit4710fe4c8beebd28d1fe526cdc5bd5102326d5a7 (patch)
tree5e670297c815f337ec93a713431d56d40fea9073 /libtiff/tif_predict.h
parentf3c11d49d79693412c67f8180277dd7ac281a029 (diff)
downloadlibtiff-git-4710fe4c8beebd28d1fe526cdc5bd5102326d5a7.tar.gz
Split pfunc into encode and decode versions to avoid mixing things
up in read/write applications. http://trac.osgeo.org/gdal/ticket/1948 Also make a temporary working buffer to modify in PredictorEncodeTile. http://trac.osgeo.org/gdal/ticket/1965
Diffstat (limited to 'libtiff/tif_predict.h')
-rw-r--r--libtiff/tif_predict.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libtiff/tif_predict.h b/libtiff/tif_predict.h
index fbc3e6ad..f52da9e8 100644
--- a/libtiff/tif_predict.h
+++ b/libtiff/tif_predict.h
@@ -1,4 +1,4 @@
-/* $Id: tif_predict.h,v 1.6 2007-11-02 00:25:24 fwarmerdam Exp $ */
+/* $Id: tif_predict.h,v 1.7 2007-11-02 19:43:55 fwarmerdam Exp $ */
/*
* Copyright (c) 1995-1997 Sam Leffler
@@ -40,13 +40,16 @@ typedef struct {
tmsize_t stride; /* sample stride over data */
tmsize_t rowsize; /* tile/strip row size */
- TIFFPostMethod pfunc; /* horizontal differencer/accumulator */
TIFFCodeMethod encoderow; /* parent codec encode/decode row */
TIFFCodeMethod encodestrip; /* parent codec encode/decode strip */
TIFFCodeMethod encodetile; /* parent codec encode/decode tile */
+ TIFFPostMethod encodepfunc; /* horizontal differencer */
+
TIFFCodeMethod decoderow; /* parent codec encode/decode row */
TIFFCodeMethod decodestrip; /* parent codec encode/decode strip */
TIFFCodeMethod decodetile; /* parent codec encode/decode tile */
+ TIFFPostMethod decodepfunc; /* horizontal accumulator */
+
TIFFVGetMethod vgetparent; /* super-class method */
TIFFVSetMethod vsetparent; /* super-class method */
TIFFPrintMethod printdir; /* super-class method */