"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "camlibs/ptp2/ptp.h" between
libgphoto2-2.5.26.tar.bz2 and libgphoto2-2.5.27.tar.bz2

About: libgphoto2 is a library that can be used by applications to access various digital cameras.

ptp.h  (libgphoto2-2.5.26.tar.bz2):ptp.h  (libgphoto2-2.5.27.tar.bz2)
skipping to change at line 443 skipping to change at line 443
#define PTP_OC_CANON_EOS_SetLensAdjust 0x9137 #define PTP_OC_CANON_EOS_SetLensAdjust 0x9137
#define PTP_OC_CANON_EOS_ReadyToSendMusic 0x9138 #define PTP_OC_CANON_EOS_ReadyToSendMusic 0x9138
/* 3 paramaeters, no data, OFC, size, unknown */ /* 3 paramaeters, no data, OFC, size, unknown */
#define PTP_OC_CANON_EOS_CreateHandle 0x9139 #define PTP_OC_CANON_EOS_CreateHandle 0x9139
#define PTP_OC_CANON_EOS_SendPartialObjectEx 0x913A #define PTP_OC_CANON_EOS_SendPartialObjectEx 0x913A
#define PTP_OC_CANON_EOS_EndSendPartialObjectEx 0x913B #define PTP_OC_CANON_EOS_EndSendPartialObjectEx 0x913B
#define PTP_OC_CANON_EOS_SetCTGInfo 0x913C #define PTP_OC_CANON_EOS_SetCTGInfo 0x913C
#define PTP_OC_CANON_EOS_SetRequestOLCInfoGroup 0x913D #define PTP_OC_CANON_EOS_SetRequestOLCInfoGroup 0x913D
#define PTP_OC_CANON_EOS_SetRequestRollingPitchingLevel 0x913E /* 1 arg: onoff? */ #define PTP_OC_CANON_EOS_SetRequestRollingPitchingLevel 0x913E /* 1 arg: onoff? */
/* 3 args, 0x21201020, 0x110, 0x1000000 (potentially reverse order) */ /* 3 args, 0x21201020, 0x110, 0x1000000 (potentially reverse order) */
/* EOS M6 Mark2: opargs: 0x01000000, 0x000001020, 0 (supportkind, modelid
?),
response args: 0x00000811, 0x00000001 */
#define PTP_OC_CANON_EOS_GetCameraSupport 0x913F #define PTP_OC_CANON_EOS_GetCameraSupport 0x913F
#define PTP_OC_CANON_EOS_SetRating 0x9140 /* 2 args, objectid, ratin g? */ #define PTP_OC_CANON_EOS_SetRating 0x9140 /* 2 args, objectid, ratin g? */
#define PTP_OC_CANON_EOS_RequestInnerDevelopStart 0x9141 /* 2 args: 1 type, 1 object? */ #define PTP_OC_CANON_EOS_RequestInnerDevelopStart 0x9141 /* 2 args: 1 type, 1 object? */
#define PTP_OC_CANON_EOS_RequestInnerDevelopParamChange 0x9142 #define PTP_OC_CANON_EOS_RequestInnerDevelopParamChange 0x9142
#define PTP_OC_CANON_EOS_RequestInnerDevelopEnd 0x9143 #define PTP_OC_CANON_EOS_RequestInnerDevelopEnd 0x9143
#define PTP_OC_CANON_EOS_GpsLoggingDataMode 0x9144 /* 1 arg */ #define PTP_OC_CANON_EOS_GpsLoggingDataMode 0x9144 /* 1 arg */
#define PTP_OC_CANON_EOS_GetGpsLogCurrentHandle 0x9145 #define PTP_OC_CANON_EOS_GetGpsLogCurrentHandle 0x9145
#define PTP_OC_CANON_EOS_SetImageRecoveryData 0x9146 /* sends data? */ #define PTP_OC_CANON_EOS_SetImageRecoveryData 0x9146 /* sends data? */
#define PTP_OC_CANON_EOS_GetImageRecoveryList 0x9147 #define PTP_OC_CANON_EOS_GetImageRecoveryList 0x9147
#define PTP_OC_CANON_EOS_FormatImageRecoveryData 0x9148 #define PTP_OC_CANON_EOS_FormatImageRecoveryData 0x9148
skipping to change at line 588 skipping to change at line 592
#define PTP_OC_NIKON_GetSBGroupAttrDesc 0x9418 #define PTP_OC_NIKON_GetSBGroupAttrDesc 0x9418
#define PTP_OC_NIKON_GetSBGroupAttrValue 0x9419 #define PTP_OC_NIKON_GetSBGroupAttrValue 0x9419
#define PTP_OC_NIKON_SetSBGroupAttrValue 0x941a #define PTP_OC_NIKON_SetSBGroupAttrValue 0x941a
#define PTP_OC_NIKON_TestFlash 0x941b #define PTP_OC_NIKON_TestFlash 0x941b
#define PTP_OC_NIKON_GetEventEx 0x941c /* can do multipa rameter events, compared to GetEvent */ #define PTP_OC_NIKON_GetEventEx 0x941c /* can do multipa rameter events, compared to GetEvent */
#define PTP_OC_NIKON_MirrorUpCancel 0x941d #define PTP_OC_NIKON_MirrorUpCancel 0x941d
#define PTP_OC_NIKON_PowerZoomByFocalLength 0x941e #define PTP_OC_NIKON_PowerZoomByFocalLength 0x941e
#define PTP_OC_NIKON_ActiveSelectionControl 0x941f #define PTP_OC_NIKON_ActiveSelectionControl 0x941f
#define PTP_OC_NIKON_SaveCameraSetting 0x9420 #define PTP_OC_NIKON_SaveCameraSetting 0x9420
#define PTP_OC_NIKON_GetObjectSize 0x9421 /* param: objecthandle, r eturns 64bit objectsize as DATA */ #define PTP_OC_NIKON_GetObjectSize 0x9421 /* param: objecthandle, r eturns 64bit objectsize as DATA */
#define PTP_OC_NIKON_ChangeMonitorOff 0x9422
#define PTP_OC_NIKON_GetLiveViewCompressedSize 0x9423 #define PTP_OC_NIKON_GetLiveViewCompressedSize 0x9423
#define PTP_OC_NIKON_StartTracking 0x9424 #define PTP_OC_NIKON_StartTracking 0x9424
#define PTP_OC_NIKON_EndTracking 0x9425 #define PTP_OC_NIKON_EndTracking 0x9425
#define PTP_OC_NIKON_ChangeAELock 0x9426 #define PTP_OC_NIKON_ChangeAELock 0x9426
#define PTP_OC_NIKON_GetLiveViewImageEx 0x9428 #define PTP_OC_NIKON_GetLiveViewImageEx 0x9428
#define PTP_OC_NIKON_GetPartialObjectEx 0x9431 /* p1: objecthand le, p2: offset lower 32bit, p3: offset higher 32bit, p4: maxsize lower 32bit, p5 : maxsize upper 32bit, response is r1: lower 32bit, r2: higher 32bit */ #define PTP_OC_NIKON_GetPartialObjectEx 0x9431 /* p1: objecthand le, p2: offset lower 32bit, p3: offset higher 32bit, p4: maxsize lower 32bit, p5 : maxsize upper 32bit, response is r1: lower 32bit, r2: higher 32bit */
#define PTP_OC_NIKON_GetManualSettingLensData 0x9432 #define PTP_OC_NIKON_GetManualSettingLensData 0x9432
#define PTP_OC_NIKON_InitiatePixelMapping 0x9433
#define PTP_OC_NIKON_GetObjectsMetaData 0x9434
#define PTP_OC_NIKON_ChangeApplicationMode 0x9435
#define PTP_OC_NIKON_ResetMenu 0x9436
/* From Nikon V1 Trace */ /* From Nikon V1 Trace */
#define PTP_OC_NIKON_GetDevicePropEx 0x9504 /* gets device prop data */ #define PTP_OC_NIKON_GetDevicePropEx 0x9504 /* gets device prop data */
/* Casio EX-F1 (from http://code.google.com/p/exf1ctrl/ ) */ /* Casio EX-F1 (from http://code.google.com/p/exf1ctrl/ ) */
#define PTP_OC_CASIO_STILL_START 0x9001 #define PTP_OC_CASIO_STILL_START 0x9001
#define PTP_OC_CASIO_STILL_STOP 0x9002 #define PTP_OC_CASIO_STILL_STOP 0x9002
#define PTP_OC_CASIO_FOCUS 0x9007 #define PTP_OC_CASIO_FOCUS 0x9007
#define PTP_OC_CASIO_CF_PRESS 0x9009 #define PTP_OC_CASIO_CF_PRESS 0x9009
skipping to change at line 917 skipping to change at line 926
#define PTP_OC_PANASONIC_9113 0x9113 /* Skip Objects Transfer , 1 arg */ #define PTP_OC_PANASONIC_9113 0x9113 /* Skip Objects Transfer , 1 arg */
#define PTP_OC_PANASONIC_9401 0x9401 #define PTP_OC_PANASONIC_9401 0x9401
#define PTP_OC_PANASONIC_GetProperty 0x9402 #define PTP_OC_PANASONIC_GetProperty 0x9402
#define PTP_OC_PANASONIC_SetProperty 0x9403 #define PTP_OC_PANASONIC_SetProperty 0x9403
#define PTP_OC_PANASONIC_InitiateCapture 0x9404 /* Rec Ctrl Release */ #define PTP_OC_PANASONIC_InitiateCapture 0x9404 /* Rec Ctrl Release */
#define PTP_OC_PANASONIC_9405 0x9405 /* Rec Ctrl AF AE */ #define PTP_OC_PANASONIC_9405 0x9405 /* Rec Ctrl AF AE */
#define PTP_OC_PANASONIC_9406 0x9406 /* Setup Ctrl various fun ctions: Format, Sensor Cleaning, Menu Save, firmware update? */ #define PTP_OC_PANASONIC_9406 0x9406 /* Setup Ctrl various fun ctions: Format, Sensor Cleaning, Menu Save, firmware update? */
#define PTP_OC_PANASONIC_9408 0x9408 #define PTP_OC_PANASONIC_9408 0x9408
#define PTP_OC_PANASONIC_9409 0x9409 /* 1 arg */ #define PTP_OC_PANASONIC_9409 0x9409 /* 1 arg */
#define PTP_OC_PANASONIC_940A 0x940A /* 1 arg, e.g. 0x08000010 */ #define PTP_OC_PANASONIC_GetCaptureTarget 0x940A /* 1 arg, e.g. 0x08000010 */
#define PTP_OC_PANASONIC_SetCaptureTarget 0x940B /* 1 arg, e.g. 0x08000010 */ #define PTP_OC_PANASONIC_SetCaptureTarget 0x940B /* 1 arg, e.g. 0x08000010 */
#define PTP_OC_PANASONIC_MoveRecControl 0x940C /* 07000011 start , 07000012 stop, 0700013 still capture */ #define PTP_OC_PANASONIC_MovieRecControl 0x940C /* 07000011 start, 070000 12 stop, 0700013 still capture */
#define PTP_OC_PANASONIC_PowerControl 0x940D /* 1 arg: 0x0A000011 powe r off, 0x0a00012 device reset, 0x0a00013 device restart */ #define PTP_OC_PANASONIC_PowerControl 0x940D /* 1 arg: 0x0A000011 powe r off, 0x0a00012 device reset, 0x0a00013 device restart */
#define PTP_OC_PANASONIC_PlayControl 0x940E /* 2 arg? 0x05000011 curr ent=0, next=1, prev=0xffffffff */ #define PTP_OC_PANASONIC_PlayControl 0x940E /* 2 arg? 0x05000011 curr ent=0, next=1, prev=0xffffffff */
#define PTP_OC_PANASONIC_PlayControlPlay 0x940F /* 0x05000020 */ #define PTP_OC_PANASONIC_PlayControlPlay 0x940F /* 0x05000020 */
#define PTP_OC_PANASONIC_9410 0x9410 /* Rec Ctrl Other */ #define PTP_OC_PANASONIC_9410 0x9410 /* Rec Ctrl Other */
#define PTP_OC_PANASONIC_SetGPSDataInfo 0x9411 #define PTP_OC_PANASONIC_SetGPSDataInfo 0x9411
#define PTP_OC_PANASONIC_Liveview 0x9412 /* 0d000010 start, 0d0000 11 stop */ #define PTP_OC_PANASONIC_Liveview 0x9412 /* 0d000010 start, 0d0000 11 stop */
#define PTP_OC_PANASONIC_PollEvents 0x9414 /* ? 1 arg e.g 12000020 * / #define PTP_OC_PANASONIC_PollEvents 0x9414 /* ? 1 arg e.g 12000020 * /
#define PTP_OC_PANASONIC_GetLiveViewParameters 0x9414 /* either all formats 0x0
d800012 or current format 0x0d800011 */
#define PTP_OC_PANASONIC_SetLiveViewParameters 0x9415 /* current format 0x0d800
011 */
#define PTP_OC_PANASONIC_ManualFocusDrive 0x9416 /* Rec Ctrl Mf Assist, Re c Ctrl Backup Req ... 1 arg */ #define PTP_OC_PANASONIC_ManualFocusDrive 0x9416 /* Rec Ctrl Mf Assist, Re c Ctrl Backup Req ... 1 arg */
#define PTP_OC_PANASONIC_ChangeEvent 0x9603 /* 2 args ... e.g. 0x4002 , new (change object added event) */ #define PTP_OC_PANASONIC_ChangeEvent 0x9603 /* 2 args ... e.g. 0x4002 , new (change object added event) */
#define PTP_OC_PANASONIC_GetFromEventInfo 0x9605 /* 1 arg, e.g. 0x41000013 , 15c00021: setup exec menu save comp, 15c00022: setup exec pixel refresh comp */ #define PTP_OC_PANASONIC_GetFromEventInfo 0x9605 /* 1 arg, e.g. 0x41000013 , 15c00021: setup exec menu save comp, 15c00022: setup exec pixel refresh comp */
#define PTP_OC_PANASONIC_SendDataInfo 0x9606 /* no args? used during f irmware update */ #define PTP_OC_PANASONIC_SendDataInfo 0x9606 /* no args? used during f irmware update */
#define PTP_OC_PANASONIC_StartSendData 0x9607 /* no args? used during f irmware update */ #define PTP_OC_PANASONIC_StartSendData 0x9607 /* no args? used during f irmware update */
#define PTP_OC_PANASONIC_9703 0x9703 /* Mnt_GetInfo_GetVersion ... 1 arg? */ #define PTP_OC_PANASONIC_9703 0x9703 /* Mnt_GetInfo_GetVersion ... 1 arg? */
#define PTP_OC_PANASONIC_9704 0x9704 /* Set USB Mode ... 80040 001 */ #define PTP_OC_PANASONIC_9704 0x9704 /* Set USB Mode ... 80040 001 */
#define PTP_OC_PANASONIC_9705 0x9705 /* Ctrl Liveview */ #define PTP_OC_PANASONIC_9705 0x9705 /* Ctrl Liveview */
skipping to change at line 1208 skipping to change at line 1219
/* Nikon extension Event Codes */ /* Nikon extension Event Codes */
/* Nikon extension Event Codes */ /* Nikon extension Event Codes */
#define PTP_EC_Nikon_ObjectAddedInSDRAM 0xC101 /* e1: objecthand le */ #define PTP_EC_Nikon_ObjectAddedInSDRAM 0xC101 /* e1: objecthand le */
#define PTP_EC_Nikon_CaptureCompleteRecInSdram 0xC102 /* no args */ #define PTP_EC_Nikon_CaptureCompleteRecInSdram 0xC102 /* no args */
/* Gets 1 parameter, objectid pointing to DPOF object */ /* Gets 1 parameter, objectid pointing to DPOF object */
#define PTP_EC_Nikon_AdvancedTransfer 0xC103 #define PTP_EC_Nikon_AdvancedTransfer 0xC103
#define PTP_EC_Nikon_PreviewImageAdded 0xC104 #define PTP_EC_Nikon_PreviewImageAdded 0xC104
#define PTP_EC_Nikon_MovieRecordInterrupted 0xC105 /* e1: errocode, e2: reco rdkind */ #define PTP_EC_Nikon_MovieRecordInterrupted 0xC105 /* e1: errocode, e2: reco rdkind */
#define PTP_EC_Nikon_1stCaptureComplete 0xC106 /* 1st phase of m
irror up is complete */
#define PTP_EC_Nikon_MirrorUpCancelComplete 0xC107 /* mirror up canceling is
complete */
#define PTP_EC_Nikon_MovieRecordComplete 0xC108 /* e1: recordkind */ #define PTP_EC_Nikon_MovieRecordComplete 0xC108 /* e1: recordkind */
#define PTP_EC_Nikon_MovieRecordStarted 0xC10A /* e1: recordkind */ #define PTP_EC_Nikon_MovieRecordStarted 0xC10A /* e1: recordkind */
#define PTP_EC_Nikon_PictureControlAdjustChanged 0xC10B /* e1: picctrlite m e2: shootingmode */ #define PTP_EC_Nikon_PictureControlAdjustChanged 0xC10B /* e1: picctrlite m e2: shootingmode */
#define PTP_EC_Nikon_LiveViewStateChanged 0xC10C /* e1: liveview state */ #define PTP_EC_Nikon_LiveViewStateChanged 0xC10C /* e1: liveview state */
#define PTP_EC_Nikon_ManualSettingsLensDataChanged 0xC10E /* e1: lensnr */ #define PTP_EC_Nikon_ManualSettingsLensDataChanged 0xC10E /* e1: lensnr */
#define PTP_EC_Nikon_ActiveSelectionInterrupted 0xC112 /* e1: errorcode */ #define PTP_EC_Nikon_ActiveSelectionInterrupted 0xC112 /* e1: errorcode */
#define PTP_EC_Nikon_SBAdded 0xC120 /* e1: sbhandle */ #define PTP_EC_Nikon_SBAdded 0xC120 /* e1: sbhandle */
#define PTP_EC_Nikon_SBRemoved 0xC121 /* e1: sbhandle */ #define PTP_EC_Nikon_SBRemoved 0xC121 /* e1: sbhandle */
#define PTP_EC_Nikon_SBAttrChanged 0xC122 /* e1: sbhandle, e2: attr id */ #define PTP_EC_Nikon_SBAttrChanged 0xC122 /* e1: sbhandle, e2: attr id */
#define PTP_EC_Nikon_SBGroupAttrChanged 0xC123 /* e1: sbgroupid, e2: groupattrid */ #define PTP_EC_Nikon_SBGroupAttrChanged 0xC123 /* e1: sbgroupid, e2: groupattrid */
skipping to change at line 1587 skipping to change at line 1600
typedef struct _PTPPropDescRangeForm PTPPropDescRangeForm; typedef struct _PTPPropDescRangeForm PTPPropDescRangeForm;
/* Property Describing Dataset, Enum Form */ /* Property Describing Dataset, Enum Form */
struct _PTPPropDescEnumForm { struct _PTPPropDescEnumForm {
uint16_t NumberOfValues; uint16_t NumberOfValues;
PTPPropertyValue *SupportedValue; /* malloced */ PTPPropertyValue *SupportedValue; /* malloced */
}; };
typedef struct _PTPPropDescEnumForm PTPPropDescEnumForm; typedef struct _PTPPropDescEnumForm PTPPropDescEnumForm;
struct _PTPPropDescArrayLengthForm {
uint16_t NumberOfValues;
};
typedef struct _PTPPropDescArrayLengthForm PTPPropDescArrayLengthForm;
struct _PTPPropDescStringForm {
char *String;
};
typedef struct _PTPPropDescStringForm PTPPropDescStringForm;
/* Device Property Describing Dataset (DevicePropDesc) */ /* Device Property Describing Dataset (DevicePropDesc) */
struct _PTPDevicePropDesc { struct _PTPDevicePropDesc {
uint16_t DevicePropertyCode; uint16_t DevicePropertyCode;
uint16_t DataType; uint16_t DataType;
uint8_t GetSet; uint8_t GetSet;
PTPPropertyValue FactoryDefaultValue; PTPPropertyValue FactoryDefaultValue;
PTPPropertyValue CurrentValue; PTPPropertyValue CurrentValue;
uint8_t FormFlag; uint8_t FormFlag;
union { union {
skipping to change at line 1613 skipping to change at line 1636
/* Object Property Describing Dataset (DevicePropDesc) */ /* Object Property Describing Dataset (DevicePropDesc) */
struct _PTPObjectPropDesc { struct _PTPObjectPropDesc {
uint16_t ObjectPropertyCode; uint16_t ObjectPropertyCode;
uint16_t DataType; uint16_t DataType;
uint8_t GetSet; uint8_t GetSet;
PTPPropertyValue FactoryDefaultValue; PTPPropertyValue FactoryDefaultValue;
uint32_t GroupCode; uint32_t GroupCode;
uint8_t FormFlag; uint8_t FormFlag;
union { union {
PTPPropDescEnumForm Enum; PTPPropDescEnumForm Enum;
PTPPropDescRangeForm Range; PTPPropDescRangeForm Range;
PTPPropDescStringForm DateTime;
PTPPropDescArrayLengthForm FixedLengthArray;
PTPPropDescStringForm RegularExpression;
PTPPropDescArrayLengthForm ByteArray;
PTPPropDescStringForm LongString;
} FORM; } FORM;
}; };
typedef struct _PTPObjectPropDesc PTPObjectPropDesc; typedef struct _PTPObjectPropDesc PTPObjectPropDesc;
/* Canon filesystem's folder entry Dataset */ /* Canon filesystem's folder entry Dataset */
#define PTP_CANON_FilenameBufferLen 13 #define PTP_CANON_FilenameBufferLen 13
#define PTP_CANON_FolderEntryLen 28 #define PTP_CANON_FolderEntryLen 28
struct _PTPCANONFolderEntry { struct _PTPCANONFolderEntry {
skipping to change at line 3204 skipping to change at line 3232
#define PTP_DPC_PARROT_MultisensorsExposureTime 0xD214 #define PTP_DPC_PARROT_MultisensorsExposureTime 0xD214
#define PTP_DPC_PARROT_MultisensorsExposureProgramMode 0xD215 #define PTP_DPC_PARROT_MultisensorsExposureProgramMode 0xD215
#define PTP_DPC_PARROT_MultisensorsExposureIndex 0xD216 #define PTP_DPC_PARROT_MultisensorsExposureIndex 0xD216
#define PTP_DPC_PARROT_MultisensorsIrradianceGain 0xD217 #define PTP_DPC_PARROT_MultisensorsIrradianceGain 0xD217
#define PTP_DPC_PARROT_MultisensorsIrradianceIntegrationTime 0xD218 #define PTP_DPC_PARROT_MultisensorsIrradianceIntegrationTime 0xD218
#define PTP_DPC_PARROT_OverlapRate 0xD219 #define PTP_DPC_PARROT_OverlapRate 0xD219
/* Panasonic does not have regular device properties, they use some 32bit values */ /* Panasonic does not have regular device properties, they use some 32bit values */
#define PTP_DPC_PANASONIC_PhotoStyle 0x02000010 #define PTP_DPC_PANASONIC_PhotoStyle 0x02000010
#define PTP_DPC_PANASONIC_ISO 0x02000020 #define PTP_DPC_PANASONIC_ISO 0x02000020
#define PTP_DPC_PANASONIC_ISO_Param 0x02000021
#define PTP_DPC_PANASONIC_ISO_UpperLimit 0x02000022
#define PTP_DPC_PANASONIC_ShutterSpeed 0x02000030 #define PTP_DPC_PANASONIC_ShutterSpeed 0x02000030
#define PTP_DPC_PANASONIC_ShutterSpeed_Param 0x02000031
#define PTP_DPC_PANASONIC_ShutterSpeed_RangeLimit 0x02000032
#define PTP_DPC_PANASONIC_Aperture 0x02000040 #define PTP_DPC_PANASONIC_Aperture 0x02000040
#define PTP_DPC_PANASONIC_Aperture_Param 0x02000041
#define PTP_DPC_PANASONIC_Aperture_RangeLimit 0x02000042
#define PTP_DPC_PANASONIC_WhiteBalance 0x02000050 #define PTP_DPC_PANASONIC_WhiteBalance 0x02000050
#define PTP_DPC_PANASONIC_WhiteBalance_Param 0x02000051
#define PTP_DPC_PANASONIC_WhiteBalance_KSet 0x02000052
#define PTP_DPC_PANASONIC_WhiteBalance_ADJ_AB 0x02000053
#define PTP_DPC_PANASONIC_WhiteBalance_ADJ_GM 0x02000054
#define PTP_DPC_PANASONIC_WhiteBalance_ADJ_AB_Sep 0x02000055
#define PTP_DPC_PANASONIC_Exposure 0x02000060 #define PTP_DPC_PANASONIC_Exposure 0x02000060
#define PTP_DPC_PANASONIC_AFArea 0x02000070 #define PTP_DPC_PANASONIC_Exposure_Param 0x02000061
#define PTP_DPC_PANASONIC_Exposure_RangeLimit 0x02000062
#define PTP_DPC_PANASONIC_AFArea 0x02000070 /* AFCONFIG */
#define PTP_DPC_PANASONIC_AFArea_AFModeParam 0x02000071 /* AFC
ONFIG */
#define PTP_DPC_PANASONIC_AFArea_AFAreaParam 0x02000072 /* AFC
ONFIG */
#define PTP_DPC_PANASONIC_AFArea_SetQuickAFParam 0x02000073 /* AFC
ONFIG */
#define PTP_DPC_PANASONIC_CameraMode 0x02000080 #define PTP_DPC_PANASONIC_CameraMode 0x02000080
#define PTP_DPC_PANASONIC_CameraMode_DriveMode 0x02000081
#define PTP_DPC_PANASONIC_CameraMode_ModePos 0x02000082
#define PTP_DPC_PANASONIC_CameraMode_CreativeMode 0x02000083
#define PTP_DPC_PANASONIC_CameraMode_iAMode 0x02000084
#define PTP_DPC_PANASONIC_ImageFormat 0x020000A2 #define PTP_DPC_PANASONIC_ImageFormat 0x020000A2
#define PTP_DPC_PANASONIC_MeteringInfo 0x020000B0 #define PTP_DPC_PANASONIC_MeteringInfo 0x020000B0
#define PTP_DPC_PANASONIC_IntervalInfo 0x020000C0 #define PTP_DPC_PANASONIC_IntervalInfo 0x020000C0
#define PTP_DPC_PANASONIC_RecDispConfig 0x020000E0 #define PTP_DPC_PANASONIC_RecDispConfig 0x020000E0
#define PTP_DPC_PANASONIC_RecInfoFlash 0x02000110 #define PTP_DPC_PANASONIC_RecInfoFlash 0x02000110
#define PTP_DPC_PANASONIC_BurstBracket 0x02000140 #define PTP_DPC_PANASONIC_BurstBracket 0x02000140
#define PTP_DPC_PANASONIC_RecPreviewConfig 0x02000170 #define PTP_DPC_PANASONIC_RecPreviewConfig 0x02000170
#define PTP_DPC_PANASONIC_RecInfoSelfTimer 0x020001A0 #define PTP_DPC_PANASONIC_RecInfoSelfTimer 0x020001A0
#define PTP_DPC_PANASONIC_RecInfoFlash2 0x020001B0 #define PTP_DPC_PANASONIC_RecInfoFlash2 0x020001B0
#define PTP_DPC_PANASONIC_MovConfig 0x06000010 #define PTP_DPC_PANASONIC_RecCtrlRelease 0x03000010
#define PTP_DPC_PANASONIC_RecCtrlAFAE 0x03000020 /* cmd base fo
r afae */
#define PTP_DPC_PANASONIC_RecCtrlAFAE_LockAE 0x03000021
#define PTP_DPC_PANASONIC_RecCtrlAFAE_LockAF 0x03000022
#define PTP_DPC_PANASONIC_RecCtrlAFAE_LockAFAE 0x03000023
#define PTP_DPC_PANASONIC_RecCtrlAFAE_AF_OneShot 0x03000024
#define PTP_DPC_PANASONIC_RecCtrlAFAE_Lock_Clear 0x03000025
#define PTP_DPC_PANASONIC_Zoom 0x03000080
#define PTP_DPC_PANASONIC_RecCtrlLens 0x03010010
#define PTP_DPC_PANASONIC_MovConfig 0x06000010 /* uses 9
408 */
#define PTP_DPC_PANASONIC_MovConfig_C_Movie_Mode 0x06000011 /
* uses 9409 */
#define PTP_DPC_PANASONIC_MovConfig_HDMI_Mode 0x06000012 /
* uses 9409 */
#define PTP_DPC_PANASONIC_MovConfig_Quality_Mode 0x06000013 /
* uses 9409 */
#define PTP_DPC_PANASONIC_MovConfig_Rec_Mode 0x06000014 /
* uses 9409 */
#define PTP_DPC_PANASONIC_08000010 0x08000010 #define PTP_DPC_PANASONIC_08000010 0x08000010
/* various modes of the camera, HDMI, GetDateTimeWorldTime Mode/Area, SetupCfgIn fo, SetupConfig_DateTime, GetSystemFreq Mode, GetSetupConfig Info */ /* various modes of the camera, HDMI, GetDateTimeWorldTime Mode/Area, SetupCfgIn fo, SetupConfig_DateTime, GetSystemFreq Mode, GetSetupConfig Info */
/* /*
0000 54 00 00 00 02 00 0a 94-04 00 00 00 11 00 00 08 T............... 0000 54 00 00 00 02 00 0a 94-04 00 00 00 11 00 00 08 T...............
0010 0a 00 00 00 e2 07 07 00-10 00 11 00 09 00 12 00 ................ 0010 0a 00 00 00 e2 07 07 00-10 00 11 00 09 00 12 00 ................
0020 00 08 02 00 00 00 00 00-13 00 00 08 02 00 00 00 ................ 0020 00 08 02 00 00 00 00 00-13 00 00 08 02 00 00 00 ................
0030 00 00 14 00 00 08 04 00-00 00 00 00 00 00 15 00 ................ 0030 00 00 14 00 00 08 04 00-00 00 00 00 00 00 15 00 ................
0040 00 08 04 00 00 00 00 00-00 00 16 00 00 08 02 00 ................ 0040 00 08 04 00 00 00 00 00-00 00 16 00 00 08 02 00 ................
0050 00 00 01 00 - .... 0050 00 00 01 00 - ....
skipping to change at line 3258 skipping to change at line 3321
0000 44 00 00 00 02 00 07 91-04 00 00 00 90 00 00 08 D............... 0000 44 00 00 00 02 00 07 91-04 00 00 00 90 00 00 08 D...............
0010 14 00 00 00 14 00 00 00-01 00 01 00 00 00 00 00 ................ 0010 14 00 00 00 14 00 00 00-01 00 01 00 00 00 00 00 ................
0020 01 00 00 00 48 00 00 00-91 00 00 08 14 00 00 00 ....H........... 0020 01 00 00 00 48 00 00 00-91 00 00 08 14 00 00 00 ....H...........
0030 14 00 00 00 01 00 01 00-00 00 00 00 01 00 00 00 ................ 0030 14 00 00 00 01 00 01 00-00 00 00 00 01 00 00 00 ................
0040 2c 00 00 00 - ,... 0040 2c 00 00 00 - ,...
*/ */
#define PTP_DPC_PANASONIC_GetFreeSpaceInImages 0x12000010 #define PTP_DPC_PANASONIC_GetFreeSpaceInImages 0x12000010
/* /*
0000 98 00 00 00 02 00 14 94-04 00 00 00 11 00 00 12 ................ 11 00 00 12
0010 04 00 00 00 4e 00 00 00-12 00 00 12 04 00 00 00 ....N........... 04 00 00 00
0020 00 00 00 00 13 00 00 12-02 00 00 00 00 00 14 00 ................ 4e 00 00 00
0030 00 12 04 00 00 00 00 00-00 00 15 00 00 12 06 00 ................
0040 00 00 02 00 01 00 00 00-16 00 00 12 3a 00 00 00 ............:... 12 00 00 12
0050 02 00 4e 00 00 00 00 00-00 00 4e 00 00 00 ff ff ..N.......N..... 04 00 00 00
0060 ff ff 00 00 00 00 ff ff-ff ff 00 00 00 00 00 00 ................ 00 00 00 00
0070 00 00 00 00 00 00 ff ff-ff ff 00 00 00 00 ff ff ................
0080 ff ff 00 00 00 00 00 00-00 00 17 00 00 12 06 00 ................ 13 00 00 12
0090 00 00 00 00 00 00 00 00- ........ 02 00 00 00
00 00
14 00 00 12
04 00 00 00
00 00 00 00
15 00 00 12
06 00 00 00
02 00 01 00 00 00
16 00 00 12
3a 00 00 00
02 00 4e 00 00 00 00 00 00 00 4e 00 00 00 ff ff
ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 00 00
00 00 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff
ff ff 00 00 00 00 00 00 00 00
17 00 00 12
06 00 00 00
00 00 00 00 00 00
*/ */
#define PTP_DPC_PANASONIC_GetBatteryInfo 0x16000010 #define PTP_DPC_PANASONIC_GetBatteryInfo 0x16000010
/* /*
0000 1c 00 00 00 02 00 14 94-04 00 00 00 11 00 00 16 ................ 0000 1c 00 00 00 02 00 14 94-04 00 00 00 11 00 00 16 ................
0010 08 00 00 00 4b 00 00 00-4b 00 ff ff ....K...K... 0010 08 00 00 00 4b 00 00 00-4b 00 ff ff ....K...K...
*/ */
#define PTP_DPC_PANASONIC_LensGetMFBar 0x12010040 #define PTP_DPC_PANASONIC_LensGetMFBar 0x12010040
/* 15c00010 GetSetupInfo Error */ /* 15c00010 GetSetupInfo Error */
/* 18000010 GetUSBSpeed */ /* 18000010 GetUSBSpeed */
skipping to change at line 3558 skipping to change at line 3641
}; };
typedef struct _MTPPropertyDesc MTPPropertyDesc; typedef struct _MTPPropertyDesc MTPPropertyDesc;
struct _MTPObjectFormat { struct _MTPObjectFormat {
uint16_t ofc; uint16_t ofc;
unsigned int nrofpds; unsigned int nrofpds;
MTPPropertyDesc *pds; MTPPropertyDesc *pds;
}; };
typedef struct _MTPObjectFormat MTPObjectFormat; typedef struct _MTPObjectFormat MTPObjectFormat;
struct _PanasonicLiveViewSize {
uint16_t width;
uint16_t height;
uint16_t x;
uint16_t freq;
};
typedef struct _PanasonicLiveViewSize PanasonicLiveViewSize;
/* Transaction data phase description, internal flags to sendreq / transaction d river. */ /* Transaction data phase description, internal flags to sendreq / transaction d river. */
#define PTP_DP_NODATA 0x0000 /* no data phase */ #define PTP_DP_NODATA 0x0000 /* no data phase */
#define PTP_DP_SENDDATA 0x0001 /* sending data */ #define PTP_DP_SENDDATA 0x0001 /* sending data */
#define PTP_DP_GETDATA 0x0002 /* receiving data */ #define PTP_DP_GETDATA 0x0002 /* receiving data */
#define PTP_DP_DATA_MASK 0x00ff /* data phase mask */ #define PTP_DP_DATA_MASK 0x00ff /* data phase mask */
struct _PTPParams { struct _PTPParams {
/* device flags */ /* device flags */
uint32_t device_flags; uint32_t device_flags;
skipping to change at line 3613 skipping to change at line 3704
MTPObjectFormat *objectformats; MTPObjectFormat *objectformats;
/* PTP: internal structures used by ptp driver */ /* PTP: internal structures used by ptp driver */
PTPObject *objects; PTPObject *objects;
unsigned int nrofobjects; unsigned int nrofobjects;
PTPDeviceInfo deviceinfo; PTPDeviceInfo deviceinfo;
/* PTP: the current event queue */ /* PTP: the current event queue */
PTPContainer *events; PTPContainer *events;
int nrofevents; unsigned int nrofevents;
/* Capture count for SDRAM capture style images */ /* Capture count for SDRAM capture style images */
unsigned int capcnt; unsigned int capcnt;
/* live view enabled */ /* live view enabled */
int inliveview; int inliveview;
/* PTP: caching time for properties, default 2 */ /* PTP: caching time for properties, default 2 */
int cachetime; int cachetime;
skipping to change at line 3881 skipping to change at line 3972
uint16_t ptp_getfilesystemmanifest (PTPParams* params, uint32_t storage, uint16_t ptp_getfilesystemmanifest (PTPParams* params, uint32_t storage,
uint32_t objectformatcode, uint32_t associationOH, uint32_t objectformatcode, uint32_t associationOH,
uint64_t *numoifs, PTPObjectFilesystemInfo **oifs); uint64_t *numoifs, PTPObjectFilesystemInfo **oifs);
uint16_t ptp_getstreaminfo (PTPParams *params, uint32_t streamid, PTPStreamInfo *si); uint16_t ptp_getstreaminfo (PTPParams *params, uint32_t streamid, PTPStreamInfo *si);
uint16_t ptp_getstream (PTPParams* params, unsigned char **data, unsigned int *s ize); uint16_t ptp_getstream (PTPParams* params, unsigned char **data, unsigned int *s ize);
uint16_t ptp_check_event (PTPParams *params); uint16_t ptp_check_event (PTPParams *params);
uint16_t ptp_check_event_queue (PTPParams *params); uint16_t ptp_check_event_queue (PTPParams *params);
uint16_t ptp_wait_event (PTPParams *params); uint16_t ptp_wait_event (PTPParams *params);
uint16_t ptp_add_event (PTPParams *params, PTPContainer *evt); uint16_t ptp_add_event (PTPParams *params, PTPContainer *evt);
int ptp_have_event(PTPParams *params, uint16_t code);
int ptp_get_one_event (PTPParams *params, PTPContainer *evt); int ptp_get_one_event (PTPParams *params, PTPContainer *evt);
int ptp_get_one_event_by_type(PTPParams *params, uint16_t code, PTPContainer *ev ent);
uint16_t ptp_check_eos_events (PTPParams *params); uint16_t ptp_check_eos_events (PTPParams *params);
int ptp_get_one_eos_event (PTPParams *params, PTPCanon_changes_entry *entry); int ptp_get_one_eos_event (PTPParams *params, PTPCanon_changes_entry *entry);
/* Microsoft MTP extensions */ /* Microsoft MTP extensions */
uint16_t ptp_mtp_getobjectpropdesc (PTPParams* params, uint16_t opc, uint16_t of c, uint16_t ptp_mtp_getobjectpropdesc (PTPParams* params, uint16_t opc, uint16_t of c,
PTPObjectPropDesc *objectpropertydesc); PTPObjectPropDesc *objectpropertydesc);
uint16_t ptp_mtp_getobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t o pc, uint16_t ptp_mtp_getobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t o pc,
PTPPropertyValue *value, uint16_t datatype); PTPPropertyValue *value, uint16_t datatype);
uint16_t ptp_mtp_setobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t o pc, uint16_t ptp_mtp_setobjectpropvalue (PTPParams* params, uint32_t oid, uint16_t o pc,
PTPPropertyValue *value, uint16_t datatype); PTPPropertyValue *value, uint16_t datatype);
skipping to change at line 4215 skipping to change at line 4308
uint16_t ptp_canon_eos_905f (PTPParams* params, uint32_t); uint16_t ptp_canon_eos_905f (PTPParams* params, uint32_t);
uint16_t ptp_canon_eos_getdevicepropdesc (PTPParams* params, uint16_t propcode, uint16_t ptp_canon_eos_getdevicepropdesc (PTPParams* params, uint16_t propcode,
PTPDevicePropDesc *devicepropertydesc); PTPDevicePropDesc *devicepropertydesc);
uint16_t ptp_canon_eos_setdevicepropvalue (PTPParams* params, uint16_t propcode, uint16_t ptp_canon_eos_setdevicepropvalue (PTPParams* params, uint16_t propcode,
PTPPropertyValue* value, uint16_t datatype); PTPPropertyValue* value, uint16_t datatype);
uint16_t ptp_nikon_get_vendorpropcodes (PTPParams* params, uint16_t **props, uns igned int *size); uint16_t ptp_nikon_get_vendorpropcodes (PTPParams* params, uint16_t **props, uns igned int *size);
uint16_t ptp_nikon_curve_download (PTPParams* params, uint16_t ptp_nikon_curve_download (PTPParams* params,
unsigned char **data, unsigned int *size); unsigned char **data, unsigned int *size);
uint16_t ptp_nikon_getlargethumb (PTPParams *params, uint32_t handle, uint16_t ptp_nikon_getlargethumb (PTPParams *params, uint32_t handle,
unsigned char** object, unsigned int *len); unsigned char** object, unsigned int *len);
uint16_t ptp_nikon_getobjectsize (PTPParams* params, uint32_t handle, uint64_t *
objectsize);
uint16_t ptp_nikon_getpartialobjectex (PTPParams* params, uint32_t handle, uint6
4_t offset, uint64_t maxbytes, unsigned char** object, uint32_t *len);
uint16_t ptp_nikon_getptpipinfo (PTPParams* params, unsigned char **data, unsign ed int *size); uint16_t ptp_nikon_getptpipinfo (PTPParams* params, unsigned char **data, unsign ed int *size);
uint16_t ptp_nikon_getwifiprofilelist (PTPParams* params); uint16_t ptp_nikon_getwifiprofilelist (PTPParams* params);
uint16_t ptp_nikon_writewifiprofile (PTPParams* params, PTPNIKONWifiProfile* pro file); uint16_t ptp_nikon_writewifiprofile (PTPParams* params, PTPNIKONWifiProfile* pro file);
uint16_t ptp_sony_sdioconnect (PTPParams* params, uint32_t p1, uint32_t p2, uint 32_t p3); uint16_t ptp_sony_sdioconnect (PTPParams* params, uint32_t p1, uint32_t p2, uint 32_t p3);
uint16_t ptp_sony_qx_connect (PTPParams* params, uint32_t p1, uint32_t p2, uint3 2_t p3); uint16_t ptp_sony_qx_connect (PTPParams* params, uint32_t p1, uint32_t p2, uint3 2_t p3);
uint16_t ptp_sony_get_vendorpropcodes (PTPParams* params, uint16_t **props, unsi gned int *size); uint16_t ptp_sony_get_vendorpropcodes (PTPParams* params, uint16_t **props, unsi gned int *size);
uint16_t ptp_sony_qx_get_vendorpropcodes (PTPParams* params, uint16_t **props, u nsigned int *size); uint16_t ptp_sony_qx_get_vendorpropcodes (PTPParams* params, uint16_t **props, u nsigned int *size);
uint16_t ptp_sony_getdevicepropdesc (PTPParams* params, uint16_t propcode, uint16_t ptp_sony_getdevicepropdesc (PTPParams* params, uint16_t propcode,
PTPDevicePropDesc *devicepropertydesc); PTPDevicePropDesc *devicepropertydesc);
skipping to change at line 4262 skipping to change at line 4357
* This command can switch the camera to full PC control mode. * This command can switch the camera to full PC control mode.
* *
* params: PTPParams* * params: PTPParams*
* uint32_t mode - mode * uint32_t mode - mode
* *
* Return values: Some PTP_RC_* code. * Return values: Some PTP_RC_* code.
* *
**/ **/
#define ptp_nikon_changecameramode(params,mode) ptp_generic_no_data(params,PTP_O C_NIKON_ChangeCameraMode,1,mode) #define ptp_nikon_changecameramode(params,mode) ptp_generic_no_data(params,PTP_O C_NIKON_ChangeCameraMode,1,mode)
/** /**
* ptp_nikon_changeapplicationmeramode:
*
* This command can switch the camera between PC control and remote mode.
*
* params: PTPParams*
* uint32_t mode - mode
*
* Return values: Some PTP_RC_* code.
*
**/
#define ptp_nikon_changeapplicationmode(params,mode) ptp_generic_no_data(params,
PTP_OC_NIKON_ChangeApplicationMode,1,mode)
/**
* ptp_nikon_terminatecapture: * ptp_nikon_terminatecapture:
* *
* This command appears to terminate a longer capture * This command appears to terminate a longer capture
* *
* params: PTPParams* * params: PTPParams*
* uint32_t a * uint32_t a
* uint32_t b * uint32_t b
* *
* Return values: Some PTP_RC_* code. * Return values: Some PTP_RC_* code.
* *
skipping to change at line 4460 skipping to change at line 4567
* *
* This command ends LiveView mode of newer Nikons DSLRs. * This command ends LiveView mode of newer Nikons DSLRs.
* *
* params: PTPParams* * params: PTPParams*
* *
* Return values: Some PTP_RC_* code. * Return values: Some PTP_RC_* code.
* *
**/ **/
#define ptp_nikon_end_liveview(params) ptp_generic_no_data(params,PTP_OC_NIKON_E ndLiveView,0) #define ptp_nikon_end_liveview(params) ptp_generic_no_data(params,PTP_OC_NIKON_E ndLiveView,0)
uint16_t ptp_nikon_check_event (PTPParams* params, PTPContainer **evt, unsigned int *evtcnt); uint16_t ptp_nikon_check_event (PTPParams* params, PTPContainer **evt, unsigned int *evtcnt);
uint16_t ptp_nikon_check_eventex (PTPParams* params, PTPContainer **evt, unsigne d int *evtcnt);
uint16_t ptp_nikon_getfileinfoinblock (PTPParams* params, uint32_t p1, uint32_t p2, uint32_t p3, uint16_t ptp_nikon_getfileinfoinblock (PTPParams* params, uint32_t p1, uint32_t p2, uint32_t p3,
unsigned char **data, unsigned int *size) ; unsigned char **data, unsigned int *size) ;
/** /**
* ptp_nikon_device_ready: * ptp_nikon_device_ready:
* *
* This command checks if the device is ready. Used after * This command checks if the device is ready. Used after
* a capture. * a capture.
* *
* params: PTPParams* * params: PTPParams*
* *
skipping to change at line 4615 skipping to change at line 4723
uint16_t ptp_chdk_call_function(PTPParams* params, int *args, int size, int *ret ); uint16_t ptp_chdk_call_function(PTPParams* params, int *args, int size, int *ret );
/*uint16_t ptp_chdk_get_script_output(PTPParams* params, char **output ); */ /*uint16_t ptp_chdk_get_script_output(PTPParams* params, char **output ); */
/*uint16_t ptp_chdk_get_video_settings(PTPParams* params, ptp_chdk_videosettings * vsettings);*/ /*uint16_t ptp_chdk_get_video_settings(PTPParams* params, ptp_chdk_videosettings * vsettings);*/
uint16_t ptp_fuji_getevents (PTPParams* params, uint16_t** events, uint16_t* cou nt); uint16_t ptp_fuji_getevents (PTPParams* params, uint16_t** events, uint16_t* cou nt);
uint16_t ptp_fuji_getdeviceinfo (PTPParams* params, uint16_t **props, unsigned i nt *numprops); uint16_t ptp_fuji_getdeviceinfo (PTPParams* params, uint16_t **props, unsigned i nt *numprops);
#define ptp_panasonic_liveview(params,enable) ptp_generic_no_data(params,PTP_OC_ PANASONIC_Liveview,1,enable?0xD000010:0xD000011) #define ptp_panasonic_liveview(params,enable) ptp_generic_no_data(params,PTP_OC_ PANASONIC_Liveview,1,enable?0xD000010:0xD000011)
uint16_t ptp_panasonic_liveview_image (PTPParams* params, unsigned char **data, unsigned int *size); uint16_t ptp_panasonic_liveview_image (PTPParams* params, unsigned char **data, unsigned int *size);
#define ptp_panasonic_movierec(params,enable) ptp_generic_no_data(params,PTP_OC_ PANASONIC_MovieRecControl,1,enable?0x07000011:0x07000012)
uint16_t ptp_panasonic_setdeviceproperty (PTPParams* params, uint32_t propcode, unsigned char *value, uint16_t valuesize); uint16_t ptp_panasonic_setdeviceproperty (PTPParams* params, uint32_t propcode, unsigned char *value, uint16_t valuesize);
uint16_t ptp_panasonic_getdeviceproperty (PTPParams *params, uint32_t propcode, uint16_t *valuesize, uint32_t *currentValue); uint16_t ptp_panasonic_getdeviceproperty (PTPParams *params, uint32_t propcode, uint16_t *valuesize, uint32_t *currentValue);
uint16_t ptp_panasonic_getdevicepropertydesc (PTPParams *params, uint32_t propco de, uint16_t valuesize, uint32_t *currentValue, uint32_t **propertyValueList, ui nt32_t *propertyValueListLength); uint16_t ptp_panasonic_getdevicepropertydesc (PTPParams *params, uint32_t propco de, uint16_t valuesize, uint32_t *currentValue, uint32_t **propertyValueList, ui nt32_t *propertyValueListLength);
uint16_t ptp_panasonic_getdevicepropertysize (PTPParams *params, uint32_t propco de); uint16_t ptp_panasonic_getdevicepropertysize (PTPParams *params, uint32_t propco de);
uint16_t ptp_panasonic_setcapturetarget (PTPParams *params, uint16_t mode); uint16_t ptp_panasonic_getcapturetarget (PTPParams *params, uint16_t *target);
uint16_t ptp_panasonic_setcapturetarget (PTPParams *params, uint16_t target);
uint16_t ptp_panasonic_manualfocusdrive (PTPParams* params, uint16_t mode); uint16_t ptp_panasonic_manualfocusdrive (PTPParams* params, uint16_t mode);
uint16_t ptp_panasonic_9401 (PTPParams* params, uint32_t x); uint16_t ptp_panasonic_9401 (PTPParams* params, uint32_t x);
uint16_t ptp_panasonic_9414_0d800012 (PTPParams* params, PanasonicLiveViewSize *
*liveviewsizes, unsigned int *nrofliveviewsizes);
uint16_t ptp_panasonic_9414_0d800011 (PTPParams* params, PanasonicLiveViewSize *
liveviewsize);
uint16_t ptp_panasonic_9415 (PTPParams* params, PanasonicLiveViewSize *liveviews
ize);
uint16_t ptp_olympus_liveview_image (PTPParams* params, unsigned char **data, un signed int *size); uint16_t ptp_olympus_liveview_image (PTPParams* params, unsigned char **data, un signed int *size);
#define ptp_olympus_omd_move_focus(params,direction,step_size) ptp_generic_no_da ta(params,PTP_OC_OLYMPUS_OMD_MFDrive,2,direction,step_size) #define ptp_olympus_omd_move_focus(params,direction,step_size) ptp_generic_no_da ta(params,PTP_OC_OLYMPUS_OMD_MFDrive,2,direction,step_size)
uint16_t ptp_olympus_omd_capture (PTPParams* params); uint16_t ptp_olympus_omd_capture (PTPParams* params);
uint16_t ptp_olympus_omd_bulbstart (PTPParams* params); uint16_t ptp_olympus_omd_bulbstart (PTPParams* params);
uint16_t ptp_olympus_omd_bulbend (PTPParams* params); uint16_t ptp_olympus_omd_bulbend (PTPParams* params);
uint16_t ptp_olympus_init_pc_mode (PTPParams* params); uint16_t ptp_olympus_init_pc_mode (PTPParams* params);
uint16_t ptp_olympus_sdram_image (PTPParams* params, unsigned char **data, unsig ned int *size); uint16_t ptp_olympus_sdram_image (PTPParams* params, unsigned char **data, unsig ned int *size);
#define ptp_panasonic_capture(params) ptp_generic_no_data(params,PTP_OC_PANASONI C_InitiateCapture,1,0x3000011) #define ptp_panasonic_capture(params) ptp_generic_no_data(params,PTP_OC_PANASONI C_InitiateCapture,1,0x3000011)
 End of changes. 27 change blocks. 
18 lines changed or deleted 152 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)