pict
Documentation for pict is still a work-in-progress
Loading...
Searching...
No Matches
cl_data.h File Reference

Go to the source code of this file.

Classes

struct  PtpDeviceInfo
struct  PtpStorageInfo
struct  PtpObjectInfo
struct  PtpEnumerationForm
struct  PtpRangeForm
struct  PtpPropDesc
struct  PtpObjPropDesc
struct  PtpCanonEvent
struct  PtpEOSViewFinderData
struct  PtpMlLvInfo
struct  PtpMlLvHeader

Enumerations

enum  PtpMlBmpLvOption { PTP_ML_BMP_LV_GET_FRAME = 0 , PTP_ML_BMP_LV_GET_SPEC = 1 }
enum  PtpCHDKCommands { PTP_CHDK_Version = 0 , PTP_CHDK_UploadFile = 5 }

Functions

int ptp_pack_object_info (struct PtpRuntime *r, struct PtpObjectInfo *oi, uint8_t *buf, unsigned int max)
int ptp_parse_prop_value (struct PtpRuntime *r)
int ptp_parse_device_info (struct PtpRuntime *r, struct PtpDeviceInfo *di)
int ptp_device_info_json (const struct PtpDeviceInfo *di, char *buffer, unsigned int max)
int ptp_parse_prop_desc (struct PtpRuntime *r, struct PtpPropDesc *oi)
int ptp_prop_desc_json (const struct PtpPropDesc *pd, char *buffer, unsigned int max)
int ptp_parse_object_info (struct PtpRuntime *r, struct PtpObjectInfo *oi)
int ptp_storage_info_json (const struct PtpStorageInfo *so, char *buffer, unsigned int max)
int ptp_object_info_json (const struct PtpObjectInfo *so, char *buffer, unsigned int max)
int ptp_parse_storage_info (struct PtpRuntime *r, struct PtpStorageInfo *si)
 __attribute__ ((deprecated)) int ptp_eos_events(struct PtpRuntime *r
int ptp_eos_events_open (struct PtpRuntime *r, struct PtpEventReader *reader)
int ptp_eos_events_next (struct PtpRuntime *r, struct PtpEventReader *reader, struct PtpGenericEvent *event)
int ptp_eos_events_json (struct PtpRuntime *r, char *buffer, unsigned int max)
 Reads event list currently in r->data and converts to JSON.
int ptp_eos_get_shutter (int data, int *out, int dir)
int ptp_eos_get_iso (int data, int *out, int dir)
int ptp_eos_get_aperture (int data, int *out, int dir)
int ptp_eos_get_white_balance (int data, int *out, int dir)
int ptp_eos_get_imgformat_value (uint32_t data[5], int *out)
void * ptp_pack_chdk_upload_file (struct PtpRuntime *r, char *in, char *out, unsigned int *length)
void * canon_evproc_pack (int *out_length, char *string)

Variables

struct PtpGenericEvent ** p