--background--
HISTORY
51.1 (07.01.2016) - Initial release.
DESCRIPTION
This is a Reggae filter for cropping input data. The real format of data is specified by setting MMA_Port_Format attribute for the output port. When no format is set, the default one is MMFC_VIDEO_ARGB32. The output format is the same as input one. An crop.filter object will allow for following formats: Common formats: - MMFC_VIDEO_ARGB32, - MMFC_VIDEO_GRAY8.
METHODS
MMM_Pull(port, buffer, length) (V51)
NEW ATTRIBUTES
Attributes applicability:
I - may be set at creation time.
S - may be set on an existing object.
G - may be get from an object.
P - may be set for an object's port.
Q - may be queried from an object's port.
MMM_Pull
Writes video data to specified buffer. (V51)
SYNOPSIS
ULONG DoMethod(Object *obj, MMM_Pull, ULONG port, APTR buffer, ULONG length);
DESCRIPTION
Pulls needed amount of video data from input and crop it
INPUTS
obj - object to perform method on. port - number of port, data must be pulled from port 1 (output). buffer - destination buffer for 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