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

Developer

API Reference

ICAMERA_GETSIZELIST()

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_GetParm() AEESize
Description
Retrieves the list of discrete sizes (for snapshots or movies) supported or continuos ranges (e.g. any size from 10x10 to 100x150) for specified mode.
Params
pICamera
[in]:
Pointer to ICamera Interface.
ppList
[in]:
*ppList is equal to CAM_MODE_SNAPSHOT or CAM_MODE_MOVIE
ppList
[out]:
Pointer to invalid-size (0, 0) terminated list of AEESize (ppList of type AEESize **) If NULL, indicates that any value is supported.
pbRange
[out]:
Pointer to boolean, when TRUE indicates the passed list is a paired list (i.e. multiple of 2) of ranges, terminated by paired invalid-sizes ( (0, 0), (0, 0) )
Interface
  • ICAMERA
Prototype
  •     int ICAMERA_GetSizeList
        (
           ICamera * pICamera,
           AEESize ** ppList,
           boolean * pbRange
        )
    
Return
  • SUCCESS: Successful. Synchronous operation completed. CAM_PENDING: Asynchronous Operation. Result is passed back to the application via the registered callback EBADPARM: Bad parameter is passed ENOMEMORY: Not enough memory EBADSTATE: Cannot execute operation because the camera is in the wrong mode. EUNSUPPORTED: Parameter is not supported
Side Effect
  • None.
Comments
This function may be synchronous or asynchronous depending on the values passed in. The list should be copied and should not be freed.