|
PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>#include <kernel.h>#include <sifrpc.h>#include <stdio.h>#include <string.h>#include "../include/ps2cam_rpc.h"
Include dependency graph for ps2cam_rpc.c:Go to the source code of this file.
Macros | |
| #define | PS2_CAM_RPC_ID 0x00FD000 +2 |
Functions | |
| static SifRpcClientData_t cdata | __attribute__ ((aligned(64))) |
| int | PS2CamInit (int mode) |
| int | PS2CamGetIRXVersion (void) |
| int | PS2CamGetDeviceCount (void) |
| int | PS2CamOpenDevice (int device_index) |
| int | PS2CamCloseDevice (int handle) |
| int | PS2CamGetDeviceStatus (int handle) |
| int | PS2CamGetDeviceInfo (int handle, PS2CAM_DEVICE_INFO *info) |
| int | PS2CamSetDeviceBandwidth (int handle, char bandwidth) |
| int | PS2CamReadPacket (int handle) |
| int | PS2CamSetLEDMode (int handle, int mode) |
| int | PS2CamSetDeviceConfig (int handle, PS2CAM_DEVICE_CONFIG *cfg) |
| int | PS2CamExtractFrame (int handle, char *buffer, int bufsize) |
Variables | |
| static int | CamInited = 0 |
| ee_sema_t | compSema |
| int | sem |
PS2CAM.irx rpc client
Definition in file ps2cam_rpc.c.
| #define PS2_CAM_RPC_ID 0x00FD000 +2 |
Definition at line 21 of file ps2cam_rpc.c.
| int PS2CamInit | ( | int | mode | ) |
Definition at line 37 of file ps2cam_rpc.c.
| int PS2CamGetIRXVersion | ( | void | ) |
Definition at line 86 of file ps2cam_rpc.c.
| int PS2CamGetDeviceCount | ( | void | ) |
Definition at line 102 of file ps2cam_rpc.c.
| int PS2CamOpenDevice | ( | int | device_index | ) |
Definition at line 118 of file ps2cam_rpc.c.
| int PS2CamCloseDevice | ( | int | handle | ) |
Definition at line 134 of file ps2cam_rpc.c.
| int PS2CamGetDeviceStatus | ( | int | handle | ) |
Definition at line 151 of file ps2cam_rpc.c.
| int PS2CamGetDeviceInfo | ( | int | handle, |
| PS2CAM_DEVICE_INFO * | info ) |
Definition at line 170 of file ps2cam_rpc.c.
| int PS2CamSetDeviceBandwidth | ( | int | handle, |
| char | bandwidth ) |
Definition at line 194 of file ps2cam_rpc.c.
| int PS2CamReadPacket | ( | int | handle | ) |
Definition at line 216 of file ps2cam_rpc.c.
| int PS2CamSetLEDMode | ( | int | handle, |
| int | mode ) |
Definition at line 251 of file ps2cam_rpc.c.
| int PS2CamSetDeviceConfig | ( | int | handle, |
| PS2CAM_DEVICE_CONFIG * | cfg ) |
Definition at line 267 of file ps2cam_rpc.c.
| int PS2CamExtractFrame | ( | int | handle, |
| char * | buffer, | ||
| int | bufsize ) |
Definition at line 284 of file ps2cam_rpc.c.
|
static |
Definition at line 25 of file ps2cam_rpc.c.
| ee_sema_t compSema |
Definition at line 30 of file ps2cam_rpc.c.
| int sem |
Definition at line 32 of file ps2cam_rpc.c.