*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> ifl/TIFFbuffer (3)              
Title
Content
Arch
Section
 

Contents


TIFFBUFFER(3T)	  Image	Format Library C++ Reference Manual	TIFFBUFFER(3T)


NAME    [Toc]    [Back]

     TIFFReadBufferSetup, TIFFWriteBufferSetup - I/O buffering control
     routines

SYNOPSIS    [Toc]    [Back]

     #include <tiffio.h>
     int TIFFReadBufferSetup(TIFF*, tdata_t buffer, tsize_t size);
     int TIFFWriteBufferSetup(TIFF*, tdata_t buffer, tsize_t size);

DESCRIPTION    [Toc]    [Back]

     The following routines are	provided for client-control of the I/O buffers
     used by the library.  Applications	need never use these routines; they
     are provided only for ``intelligent clients'' that	wish to	optimize
     memory usage and/or eliminate potential copy operations that can occur
     when working with images that have	data stored without compression.

     TIFFReadBufferSetup sets up the data buffer used to read raw (encoded)
     data from a file.	If the specified pointer is NULL (zero), then a	buffer
     of	the appropriate	size is	allocated.  Otherwise the caller must
     guarantee that the	buffer is large	enough to hold any individual strip of
     raw data.	TIFFReadBufferSetup returns a non-zero value if	the setup was
     successful	and zero otherwise.

     TIFFWriteBufferSetup sets up the data buffer used to write	raw (encoded)
     data to a file.  If the specified size is -1 then the buffer size is
     selected to hold a	complete tile or strip,	or at least 8 kilobytes,
     whichever is greater.  If the specified buffer is NULL (zero), then a
     buffer of the appropriate size is dynamically allocated.
     TIFFWriteBufferSetup returns a non-zero value if the setup	was successful
     and zero otherwise.

DIAGNOSTICS    [Toc]    [Back]

     %s: No space for data buffer at scanline %ld.  TIFFReadBufferSetup	was
     unable to dynamically allocate space for a	data buffer.

     %s: No space for output buffer.  TIFFWriteBufferSetup was unable to
     dynamically allocate space	for a data buffer.

SEE ALSO    [Toc]    [Back]

      
      
     libtiff(3T)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mdSetTemporalBuffering IRIX obsolete routines for controlling temporal buffering
BIO_f_buffer NetBSD buffering BIO
BIO_f_buffer Tru64 Buffering BIO
getzbuffer IRIX returns whether z-buffering is on or off
setbuf OpenBSD stream buffering operations
setbuf Tru64 Assign buffering to a stream
setlinebuf OpenBSD stream buffering operations
setvbuf Tru64 Assign buffering to a stream
setvbuf_unlocked Tru64 Assign buffering to a stream
setlinebuf Tru64 Assign buffering to a stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service