interface to implement for the camera HAL
More...
#include <camera.h>
interface to implement for the camera HAL
Definition at line 162 of file camera.h.
◆ Activate
| BOOL(* ICamHal::Activate) (ICamHal *ihal, const char *deviceId, CAM_ERROR_CODE *errorCode) |
callback to activate a given camera device
- Parameters
-
| ihal | the hal interface |
| deviceId | the name of the device |
| errorCode | a pointer to an error code set if the call failed |
- Returns
- if the operation was successful
- Since
- 3.18.0
Definition at line 184 of file camera.h.
◆ callback [1/2]
| ICamHal ICamHalEnumCallback ICamHal::callback |
◆ callback [2/2]
◆ Deactivate
| BOOL(* ICamHal::Deactivate) (ICamHal *ihal, const char *deviceId, CAM_ERROR_CODE *errorCode) |
callback to deactivate a given camera device
- Parameters
-
| ihal | the hal interface |
| deviceId | the name of the device |
| errorCode | a pointer to an error code set if the call failed |
- Returns
- if the operation was successful
- Since
- 3.18.0
Definition at line 194 of file camera.h.
◆ dev
◆ deviceId
| ICamHal const char* ICamHal::deviceId |
◆ ecam
◆ Free
| CAM_ERROR_CODE(* ICamHal::Free) (ICamHal *ihal) |
callback to free the ICamHal
- Parameters
-
- Returns
- CAM_ERROR_CODE_None on success, a CAM_Error otherwise
Definition at line 239 of file camera.h.
◆ hchannel
◆ ihal
callback to enumerate available camera calling callback for each found item
- Parameters
-
| ihal | the hal interface |
| callback | the enum callback |
| ecam | the camera plugin |
| hchannel | the generic freerdp channel |
- Returns
- the number of found cameras
callback that returns the list of compatible media types given a set of supported formats
- Parameters
-
| ihal | the hal interface |
| deviceId | the name of the device |
| streamIndex | stream index number |
| supportedFormats | a pointer to supported formats |
| nSupportedFormats | number of supported formats |
| mediaTypes | resulting media type descriptors |
| nMediaTypes | output number of media descriptors |
- Returns
- number of matched supported formats
callback to start a stream
- Parameters
-
| ihal | the hal interface |
| dev | |
| streamIndex | stream index number |
| mediaType | |
| callback | |
- Returns
- CAM_ERROR_CODE_None on success, a CAM_Error otherwise
Definition at line 173 of file camera.h.
◆ mediaType
◆ mediaTypes
◆ nMediaTypes
◆ nSupportedFormats
◆ StopStream
| CAM_ERROR_CODE(* ICamHal::StopStream) (ICamHal *ihal, const char *deviceId, size_t streamIndex) |
callback to stop a stream
- Parameters
-
| ihal | the hal interface |
| deviceId | the name of the device |
| streamIndex | stream index number |
- Returns
- CAM_ERROR_CODE_None on success, a CAM_Error otherwise
Definition at line 232 of file camera.h.
◆ streamIndex [1/2]
| ICamHal const char size_t ICamHal::streamIndex |
◆ streamIndex [2/2]
◆ supportedFormats
The documentation for this struct was generated from the following file: