Name
DoVideoBitMapMethod -- perform custom action on video bitmap (V6.0, optional)
Synopsis
int error = DoVideoBitMapMethod(APTR handle, int method, APTR data);
Function
This function is used to perform custom actions on a video bitmap. It accepts a method and a data parameter. The contents of the data parameter depend on the specified method.

The following methods are currently recognized:

HWVBMMTHD_SETBLEND:
Hollywood will call this method to toggle the blend flag of the video bitmap. If the blend flag is set, this video bitmap has to be drawn with alpha blending enabled. If the blend flag isn't set, the video bitmap should be drawn without any alpha blending. If HWVBMMTHD_SETBLEND is passed, the data parameter will just be an int that is set to True or False to enable or disable the blend flag.

DoVideoBitMapMethod() is an optional API and must only be implemented if HWSDAFLAGS_VIDEOBITMAPADAPTER has been passed to hw_SetDisplayAdapter(). See hw_SetDisplayAdapter for details.

Inputs
handle
handle to a bitmap allocated by AllocVideoBitMap().
method
method to execute (see above)
data
method specific data
Results
error
error code or 0 for success

Show TOC