MMA_DataFormat
MMA_DataFormat (V50) [..G.Q], STRPTR
DESCRIPTION
Returns read-only textual NULL-terminated description of decoded format. This class returns "JPEG" string
MMA_Video_FrameCount
MMA_Video_FrameCount (V51) [..G.Q], UQUAD*
DESCRIPTION
Always returns 1
NOTES
As every 64-bit attribute, MMA_Video_FrameCount is passed by pointer to a 64-bit value.
MMA_Video_UseAlpha
MMA_Video_UseAlpha (V50) [..G.Q], BOOL
DESCRIPTION
Returns FALSE
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 image data, 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
background
DESCRIPTION
The class is a Reggae demultiplexer for JPEG images. The class does not process stream. Object of jpeg.demuxer class has two ports: port 0 is an input and accepts MMF_STREAM format, port 1 is an output and produces MMF_VIDEO_JPEG format.
NEW ATTRIBUTES
MMA_DataFormat (V51) [..G.Q], STRPTR MMA_Video_FrameCount (V51) [..G.Q], *UQUAD MMA_Video_UseAlpha (V51) [..G.Q], ULONG
NEW METHODS
MMM_Pull(port, buffer, length) (V51) 51.1 (30.11.2007) - Initial revision.