API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IMEDIA_GETFRAME()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IMedia_EnableFrameCallback IMedia_IsFrameCallback Multimedia error codes Multimedia Status Codes (MM_STATUS_XXX)
Description
Retrieves the current frame as IBitmap pointer.
Params
po
[]:
Pointer to the IMedia Interface object.
ppFrame
[]:
Frame as IBitmap.
Interface
Prototype
  •    int IMedia_GetFrame(IMedia * po, IBitmap ** ppFrame);
    
Return
  • AEE_SUCCESS: if successful. Another arror code, if otherwise:
    MM_PENDING: Value returned in the registered callback. AEE_EBADPARM: Bad parm. AEE_EBADSTATE: Cannot get parm in the current state. AEE_EUNSUPPORTED: Parm get not supported by the class.
Comments
User calls this API in response to MM_STATUS_FRAME callback. User can blt the bitmap or use it for post-processing.