|
libnx
|
HID IR sensor (irs) service IPC wrapper. More...
Go to the source code of this file.
Data Structures | |
| struct | IrsPackedMomentProcessorConfig |
| struct | IrsImageTransferProcessorConfig |
| struct | IrsPackedImageTransferProcessorConfig |
| struct | IrsImageTransferProcessorState |
Functions | |
| Result | irsInitialize (void) |
| void | irsExit (void) |
| Service * | irsGetSessionService (void) |
| void * | irsGetSharedmemAddr (void) |
| Result | irsActivateIrsensor (bool activate) |
| (De)activate the IR sensor, this is automatically used by irsExit(). Must be called after irsInitialize() to activate the IR sensor. | |
| Result | irsGetIrCameraHandle (u32 *IrCameraHandle, HidControllerID id) |
| Result | irsRunImageTransferProcessor (u32 IrCameraHandle, IrsImageTransferProcessorConfig *config, size_t size) |
| Start ImageTransferProcessor. More... | |
| Result | irsGetImageTransferProcessorState (u32 IrCameraHandle, void *buffer, size_t size, IrsImageTransferProcessorState *state) |
| Result | irsStopImageProcessor (u32 IrCameraHandle) |
| Stop ImageTransferProcessor. More... | |
| Result | irsSuspendImageProcessor (u32 IrCameraHandle) |
| "Suspend" ImageTransferProcessor. More... | |
| void | irsGetDefaultImageTransferProcessorConfig (IrsImageTransferProcessorConfig *config) |
| Gets the default configuration for Image Transfer mode. More... | |
HID IR sensor (irs) service IPC wrapper.
| void irsGetDefaultImageTransferProcessorConfig | ( | IrsImageTransferProcessorConfig * | config | ) |
Gets the default configuration for Image Transfer mode.
Defaults are exposure 300us, IR LEDs all ON, 8x digital gain, normal image and resolution 240 x 320.
| Result irsRunImageTransferProcessor | ( | u32 | IrCameraHandle, |
| IrsImageTransferProcessorConfig * | config, | ||
| size_t | size | ||
| ) |
Start ImageTransferProcessor.
| [in] | IrCameraHandle | Camera handle. |
| [in] | config | Input config. |
| [in] | size | Work-buffer size, must be 0x1000-byte aligned. |
Stop ImageTransferProcessor.
Do not use if already stopped. irsExit calls this with all IrCameraHandles which were not already used with irsStopImageProcessor.
1.8.11