FDPICREAD(3H) — Pixar Programmer’s Manual — libfdpicio
NAME
FdPicReadBuffer− read a picture tile from a fast disk picture
FdPicWriteBuffer− write a picture tile from a fast disk picture
SYNOPSIS
#include <fdpicio.h>
FdPicReadBuffer(channel, ptr, tilenumber)
PFILE ∗channel;
RGBAPixelType ∗ptr;
long tilenumber;
FdPicWriteBuffer(channel, ptr, tilenumber)
PFILE ∗channel;
RGBAPixelType ∗ptr;
long tilenumber;
DESCRIPTION
FdPicReadBuffer reads, into a block beginning at ptr, pixel by pixel contents of tile tilenumber from the named picture input channel. It returns the number of scanlines actually read.
FdPicWriteBuffer writes the pixel by pixel contents of the buffer starting at ptr into tile number tilenumber to the named picture output channel. It returns the number of scanlines actually written.
Note that tile size information is accessible through the channel pointer.
LIBRARY
libfdpicio.a
SEE ALSO
libfdpicio(3H)
FdPicOpen(3H), FdPicClose (3H), FdPicCreat (3H), FdPicLabel (3H), FdPicDecode (3H), FdPicEncode (3H).
DIAGNOSTICS
FdPicReadBuffer and FdPicWriteBuffer return 0 upon end of file or error.
Release β — Last change: 8/3/88