KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Definitions for using the Dreameye Camera device. More...
Go to the source code of this file.
Data Structures | |
struct | dreameye_state_t |
Dreameye status structure. More... | |
Macros | |
#define | DREAMEYE_GETCOND_NUM_IMAGES 0x81 |
Get the number of images on the device. | |
#define | DREAMEYE_GETCOND_TRANSFER_COUNT 0x83 |
Get the number of transfers to copy an image. | |
#define | DREAMEYE_SUBCOMMAND_IMAGEREQ 0x04 |
Get an image from the device. | |
#define | DREAMEYE_SUBCOMMAND_ERASE 0x05 |
Erase an image from the device. | |
#define | DREAMEYE_SUBCOMMAND_ERROR 0xFF |
Error return command. | |
#define | DREAMEYE_IMAGEREQ_CONTINUE 0x00 |
Continue transferring an image. | |
#define | DREAMEYE_IMAGEREQ_START 0x40 |
Start transferring an image from its start. | |
Functions | |
int | dreameye_get_image_count (maple_device_t *dev, int block) |
Get the number of images on the Dreameye. | |
int | dreameye_get_image (maple_device_t *dev, uint8 image, uint8 **data, int *img_sz) |
Transfer an image from the Dreameye. | |
int | dreameye_erase_image (maple_device_t *dev, uint8 image, int block) |
Erase an image from the Dreameye. | |
Definitions for using the Dreameye Camera device.
This file contains the definitions needed to access the Maple Camera type device (aka, the Dreameye). Currently, this driver allows you to download the still pictures that are saved on the camera and delete them. It does not allow you to use the camera for video input currently.