MMM_Pull

Writes encoded data to specified buffer. (V50)

SYNOPSIS

   ULONG DoMethod(Object *obj, MMM_Pull, ULONG port, APTR buffer, ULONG
     length);

DESCRIPTION

   This class does not process data. It only test PNG signature,
   then pull requests are just forwarded to the connected stream

INPUTS

   obj - object to perform method on.
   port - number of port, must be output (1).
   buffer - destination buffer for bitmap data.
   length - amount of data to be pulled in bytes

RESULT

   Number of bytes pulled, secondary error information via MMA_ErrorCode

SEE ALSO

background

DESCRIPTION

   The class is a Reggae demultiplexer for PNG images. The class
   performs following tasks:
   - PNG signature verification.

   Object of png.demuxer class has two ports: port 0 is an input and
   accepts MMF_STREAM format, port 1 is an output and produces
   MMF_VIDEO_PNG format.

NEW METHODS

   MMM_Pull(port, buffer, length)  (V51)

   51.1  (28.12.2007)
   - Initial revision.