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

Developer

API Reference

ICAMERAFRAMEMODEL_GETSIZE()

Brew Release
Brew MP 1.0.2
See Also
ICameraFrameModel_SetSize
Description
This function retrieves the size of the frame. This size may not be the same as the widget extent used to render the frame. The results of this function is also dependent on the underlying media object represented by the model.
Params
pif
[]:
Pointer to the ICameraFrameModel interface object.
pcx
[]:
Pointer to an integer to receive the width of the frame.
pcy
[]:
Pointer to an integer to receive the height of the frame.
Interface
Prototype
  •    void ICameraFrameModel_GetSize(ICameraFrameModel *pif, int *pcx, int *pcy)
    
Return
  • None
Side Effect
  • Upon returnning, *pcx stores the width of the frame, *pcy stores the height of the frame.
Comments
None