TABLE OF CONTENTS

  1. iffilbm.demuxer/background
  2. iffilbm.demuxer/MMA_DataFormat
  3. iffilbm.demuxer/MMA_Video_BgColor
  4. iffilbm.demuxer/MMA_Video_BitsPerPixel
  5. iffilbm.demuxer/MMA_Video_FrameCount
  6. iffilbm.demuxer/MMA_Video_Height
  7. iffilbm.demuxer/MMA_Video_Palette
  8. iffilbm.demuxer/MMA_Video_UseAlpha
  9. iffilbm.demuxer/MMA_Video_Width
  10. iffilbm.demuxer/MMM_Pull

iffilbm.demuxer/background

DESCRIPTION
   The class is a Reggae demultiplexer for IFF ILBM images. The class performs
   following tasks:
   - IFF ILBM signature verification.
   - Parsing IFF Chunks
   - Storing palette table (standard/ehb/ham)
   The class does not process image stream data following the BODY chunk.

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

NEW ATTRIBUTES
   MMA_Video_BitsPerPixel      (V51)    [..G.Q], ULONG
   MMA_Video_FrameCount        (V51)    [..G.Q], *UQUAD
   MMA_Video_Height            (V51)    [..G.Q], ULONG
   MMA_Video_Width             (V51)    [..G.Q], ULONG
   MMA_DataFormat              (V51)    [..G.Q], STRPTR
   MMA_Video_UseAlpha          (V51)    [..G.Q], ULONG
   MMA_Video_BgColor           (V51)    [..G.Q], ULONG
   MMA_Video_Palette           (V51)    [..G.Q], *ULONG

NEW METHODS
   MMM_Pull(port, buffer, length)  (V51)

   51.1  (08.09.2007)
   - Initial revision.


iffilbm.demuxer/MMA_DataFormat

NAME
       MMA_DataFormat (V50) [..G.Q], STRPTR

FUNCTION
       Returns read-only textual NULL-terminated description of decoded
       format. This class returns "IFF ILBM" string.


iffilbm.demuxer/MMA_Video_BgColor

NAME
   MMA_Video_BgColor (V51.3) [..G.Q], ULONG

FUNCTION
   This is the background color ARGB32 value as specified in the screen
   descriptor.

SEE ALSO
   MMA_Video_Palette


iffilbm.demuxer/MMA_Video_BitsPerPixel

NAME
   MMA_Video_BitsPerPixel (V51) [..G.Q], ULONG

FUNCTION
   Return number of bits used to represent one pixel in the source data.


iffilbm.demuxer/MMA_Video_FrameCount

NAME
   MMA_Video_FrameCount (V51) [..G.Q], UQUAD*

FUNCTION
   Always return 1.

NOTES
   As every 64-bit attribute, MMA_Video_FrameCount is passed by pointer to a
   64-bit value.


iffilbm.demuxer/MMA_Video_Height

NAME
   MMA_Video_Height (V51) [..G.Q], ULONG

FUNCTION
   Returns height of image in pixels.


iffilbm.demuxer/MMA_Video_Palette

NAME
   MMA_Video_Palette (V51) [..G.Q], *ULONG

FUNCTION
   Specifies image data palette as a table of 32-bit ARGB entries.
   o 1-256 standard palette
   o generated EHB palette
   o 16/64 colors HAM6/8 base palette


iffilbm.demuxer/MMA_Video_UseAlpha

NAME
   MMA_Video_UseAlpha (V50) [..G.Q], BOOL

FUNCTION
   Returns TRUE if IFF ILBM  image data contain alpha channel or image
   mask (which is merged with alpha channel), FALSE otherwise.


iffilbm.demuxer/MMA_Video_Width

NAME
   MMA_Video_Width (V51) [..G.Q], ULONG

FUNCTION
   Returns width of image in pixels.


iffilbm.demuxer/MMM_Pull

NAME
   MMM_Pull -- Writes encoded data to specified buffer. (V50)

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

FUNCTION
   This class does not process image data, it only strips IFF ILBM signature,
   screen descriptor and palette table (if present). 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
   multimedia.class/MMA_ErrorCode