Developer

API Reference

ICAMERA_SetParm()

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_GetParm() AEEParmInfo
Description
This function sets the camera control parameters.
Parameters
  • pICamera
    []:
    Pointer to ICamera Interface.
  • nParmID
    []:
    CAM_PARM_XXX. See Camera Control Parameters
  • p1
    []:
    Depends on the nParmID parameter
  • p2
    []:
    Depends on the nParmID parameter
Interface
ICAMERA
Prototype
    int ICAMERA_SetParm
    (
       ICamera * pICamera,
       int16 nParmID,
       int32 p1,
       int32 p2
    )
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 EFAILED: General failure
Side Effect
None.
Comment
This function may be synchronous or asynchronous depending on the values passed in. See Camera Control Parameters for parameter details.
  • Follow