Brew MP 1.0.2
This function sets the active video/image encoding type used to encode the recorded
Pointer to ICamera Interface.
Extra info regarding the encoding like sub formats.
If cls is CAM_ENCODE_UUID, dwExtra must point to structure
of type CameraData. The data in this structure specifies
the type of atom that will follow when a subsequent call
to ICAMERA_SetVideoEncode is made with cls=CAM_ENCODE_UUID_DATA.
For example, to set the telop text atom in the movie file,
CameraData->pData would point to something like
If dwExtra is NULL, uuid atoms that were previously set in uuid
list will be cleared.
If cls is CAM_ENCODE_SHORT_HEADER, dwExtra must point to
structure of type CameraData. CameraData->pData should
- 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