KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
dreameye_state_t Struct Reference

Dreameye status structure. More...

#include <dc/maple/dreameye.h>

Data Fields

int image_count
 The number of images on the device.
 
int image_count_valid
 Is the image_count field valid?
 
int transfer_count
 The number of transfer operations required for the selected image.
 
int img_transferring
 Is an image transferring now?
 
uint8img_buf
 Storage for image data.
 
int img_size
 The size of the image in bytes.
 
uint8 img_number
 The image number currently being transferred.
 

Detailed Description

Dreameye status structure.

This structure contains information about the status of the Camera device and can be fetched with maple_dev_status(). You should not change any of this information, it should all be considered read-only. Most of the fields in here are related to image transfers, and messing with them during a transfer could screw things up.

Field Documentation

◆ image_count

int dreameye_state_t::image_count

The number of images on the device.

◆ image_count_valid

int dreameye_state_t::image_count_valid

Is the image_count field valid?

◆ img_buf

uint8* dreameye_state_t::img_buf

Storage for image data.

◆ img_number

uint8 dreameye_state_t::img_number

The image number currently being transferred.

◆ img_size

int dreameye_state_t::img_size

The size of the image in bytes.

◆ img_transferring

int dreameye_state_t::img_transferring

Is an image transferring now?

◆ transfer_count

int dreameye_state_t::transfer_count

The number of transfer operations required for the selected image.


The documentation for this struct was generated from the following file: