Skip to content

Commit

Permalink
Update enum dump
Browse files Browse the repository at this point in the history
  • Loading branch information
petabyt committed Apr 12, 2024
1 parent e8790ec commit aff4b76
Showing 1 changed file with 53 additions and 27 deletions.
80 changes: 53 additions & 27 deletions src/enum_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ struct PtpEnum ptp_enums[] = {
{PTP_OC, 2, "PTP_OC_CANON_GetViewFinderImage", 0x901D},
{PTP_OC, 2, "PTP_OC_CANON_LockUI", 0x9004},
{PTP_OC, 2, "PTP_OC_CANON_UnlockUI", 0x9005},
{PTP_OC, 2, "PTP_OC_CANON_DoNothing", 0x902F},
{PTP_OC, 1, "PTP_OC_EOS_GetStorageIDs", 0x9101},
{PTP_OC, 1, "PTP_OC_EOS_GetStorageInfo", 0x9102},
{PTP_OC, 1, "PTP_OC_EOS_GetObjectInfoEx", 0x9109},
{PTP_OC, 1, "PTP_OC_EOS_SetDevicePropValueEx", 0x9110},
{PTP_OC, 1, "PTP_OC_EOS_SetRemoteMode", 0x9114},
{PTP_OC, 1, "PTP_OC_EOS_SetEventMode", 0x9115},
Expand All @@ -78,6 +80,10 @@ struct PtpEnum ptp_enums[] = {
{PTP_OC, 1, "PTP_OC_EOS_DoAutoFocus", 0x9154},
{PTP_OC, 1, "PTP_OC_EOS_AfCancel", 0x9160},
{PTP_OC, 1, "PTP_OC_EOS_SetDefaultSetting", 0x91BE},
{PTP_OC, 1, "PTP_OC_EOS_EnableEventProc", 0x9050},
{PTP_OC, 1, "PTP_OC_EOS_ExecuteEventProc", 0x9052},
{PTP_OC, 1, "PTP_OC_EOS_GetEventProcReturnData", 0x9053},
{PTP_OC, 1, "PTP_OC_EOS_IsEventProcRunning", 0x9057},
{PTP_ENUM, 0, "EOS_DESTINATION_CAM", 0x2},
{PTP_ENUM, 0, "EOS_DESTINATION_PC", 0x4},
{PTP_ENUM, 0, "EOS_DESTINATION_BOTH", 0x6},
Expand Down Expand Up @@ -387,10 +393,48 @@ struct PtpEnum ptp_enums[] = {
{PTP_ENUM, 0, "PTP_AT_Album", 0x1},
{PTP_PC, 0, "PTP_PC_BatteryLevel", 0x5001},
{PTP_PC, 0, "PTP_PC_FunctionalMode", 0x5002},
{PTP_PC, 0, "PTP_PC_ImageSize", 0x5003},
{PTP_PC, 0, "PTP_PC_CompressionSetting", 0x5004},
{PTP_PC, 0, "PTP_PC_WhiteBalance", 0x5005},
{PTP_PC, 0, "PTP_PC_RGBGain", 0x5006},
{PTP_PC, 0, "PTP_PC_FNumber", 0x5007},
{PTP_PC, 0, "PTP_PC_FocalLength", 0x5008},
{PTP_PC, 0, "PTP_PC_FocalDistance", 0x5009},
{PTP_PC, 0, "PTP_PC_FocusMode", 0x500A},
{PTP_PC, 0, "PTP_PC_ExposureMeteringMode", 0x500B},
{PTP_PC, 0, "PTP_PC_FlashMode", 0x500C},
{PTP_PC, 0, "PTP_PC_ExposureTime", 0x500D},
{PTP_PC, 0, "PTP_PC_ExposureProgramMode", 0x500E},
{PTP_PC, 0, "PTP_PC_ExposureIndex", 0x500F},
{PTP_PC, 0, "PTP_PC_ExposureBiasCompensation", 0x5010},
{PTP_PC, 0, "PTP_PC_DateTime", 0x5011},
{PTP_PC, 0, "PTP_PC_CaptureDelay", 0x5012},
{PTP_PC, 0, "PTP_PC_StillCaptureMode", 0x5013},
{PTP_PC, 0, "PTP_PC_Contrast", 0x5014},
{PTP_PC, 0, "PTP_PC_Sharpness", 0x5015},
{PTP_PC, 0, "PTP_PC_DigitalZoom", 0x5016},
{PTP_PC, 0, "PTP_PC_EffectMode", 0x5017},
{PTP_PC, 0, "PTP_PC_BurstNumber", 0x5018},
{PTP_PC, 0, "PTP_PC_BurstInterval", 0x5019},
{PTP_PC, 0, "PTP_PC_TimelapseNumber", 0x501A},
{PTP_PC, 0, "PTP_PC_TimelapseInterval", 0x501B},
{PTP_PC, 0, "PTP_PC_FocusMeteringMode", 0x501C},
{PTP_PC, 0, "PTP_PC_UploadURL", 0x501D},
{PTP_PC, 0, "PTP_PC_Artist", 0x501E},
{PTP_PC, 0, "PTP_PC_CopyrightInfo", 0x501F},
{PTP_PC, 0, "PTP_PC_SupportedStreams", 0x5020},
{PTP_PC, 0, "PTP_PC_EnabledStreams", 0x5021},
{PTP_PC, 0, "PTP_PC_VideoFormat", 0x5022},
{PTP_PC, 0, "PTP_PC_VideoResolution", 0x5023},
{PTP_PC, 0, "PTP_PC_VideoQuality", 0x5024},
{PTP_PC, 0, "PTP_PC_VideoFrameRate", 0x5025},
{PTP_PC, 0, "PTP_PC_VideoContrast", 0x5026},
{PTP_PC, 0, "PTP_PC_VideoBrightness", 0x5027},
{PTP_PC, 0, "PTP_PC_AudioFormat", 0x5028},
{PTP_PC, 0, "PTP_PC_AudioBitrate", 0x5029},
{PTP_PC, 0, "PTP_PC_AudioSamplingRate", 0x502A},
{PTP_PC, 0, "PTP_PC_AudioBitPerSample", 0x502B},
{PTP_PC, 0, "PTP_PC_AudioVolume", 0x502C},
{PTP_PC, 2, "PTP_PC_CANON_BeepCode", 0xD001},
{PTP_PC, 2, "PTP_PC_CANON_ViewFinderMode", 0xD003},
{PTP_PC, 2, "PTP_PC_CANON_ImageQuality", 0xD006},
Expand Down Expand Up @@ -448,6 +492,7 @@ struct PtpEnum ptp_enums[] = {
{PTP_PC, 1, "PTP_PC_EOS_ImageFormatSD", 0xD122},
{PTP_PC, 1, "PTP_PC_EOS_ImageFormatExtHD", 0xD123},
{PTP_PC, 1, "PTP_PC_EOS_AEModeDial", 0xD138},
{PTP_PC, 1, "PTP_PC_EOS_ShutterCounter", 0xD1AC},
{PTP_PC, 1, "PTP_PC_EOS_VF_Output", 0xD1B0},
{PTP_PC, 1, "PTP_PC_EOS_EVFMode", 0xD1B1},
{PTP_PC, 1, "PTP_PC_EOS_DOFPreview", 0xD1B2},
Expand All @@ -456,6 +501,8 @@ struct PtpEnum ptp_enums[] = {
{PTP_PC, 1, "PTP_PC_EOS_FocusInfoEx", 0xD1D3},
{PTP_OC, 0, "PTP_OC_ML_LiveBmpRam", 0x9996},
{PTP_OC, 0, "PTP_OC_ML_Live360x240", 0x9997},
{PTP_OC, 0, "PTP_OC_MagicLantern", 0x9998},
{PTP_OC, 0, "PTP_OC_CHDK", 0x9999},
{PTP_ST, 0, "PTP_ST_Undefined", 0x0},
{PTP_ST, 0, "PTP_ST_FixedROM", 0x1},
{PTP_ST, 0, "PTP_ST_RemovableROM", 0x2},
Expand Down Expand Up @@ -484,6 +531,8 @@ struct PtpEnum ptp_enums[] = {
{PTP_ENUM, 0, "PTP_TC_UINT32ARRAY", 0x4006},
{PTP_ENUM, 0, "PTP_TC_UINT64ARRAY", 0x4008},
{PTP_ENUM, 0, "PTP_TC_STRING", 0xFFFF},
{PTP_ENUM, 0, "PTP_RangeForm", 0x1},
{PTP_ENUM, 0, "PTP_EnumerationForm", 0x2},
{PTP_ENUM, 0, "PTPIP_INIT_COMMAND_REQ", 0x1},
{PTP_ENUM, 0, "PTPIP_INIT_COMMAND_ACK", 0x2},
{PTP_ENUM, 0, "PTPIP_INIT_EVENT_REQ", 0x3},
Expand All @@ -498,6 +547,9 @@ struct PtpEnum ptp_enums[] = {
{PTP_ENUM, 0, "PTPIP_DATA_PACKET_END", 0xC},
{PTP_ENUM, 0, "PTPIP_PING", 0xD},
{PTP_ENUM, 0, "PTPIP_PONG", 0xE},
{PTP_ENUM, 0, "USB_VENDOR_CANON", 0x4A9},
{PTP_ENUM, 0, "MTP_REQ_CANCEL", 0x64},
{PTP_ENUM, 0, "MTP_REQ_GET_EXT_EVENT_DATA", 0x65},
{PTP_ENUM, 0, "USB_REQ_RESET", 0x66},
{PTP_ENUM, 0, "USB_REQ_STATUS", 0x67},
{PTP_ENUM, 0, "USB_REQ_GET_STATUS", 0x00},
Expand All @@ -509,31 +561,5 @@ struct PtpEnum ptp_enums[] = {
{PTP_ENUM, 0, "USB_RECIP_INTERFACE", 0x01},
{PTP_ENUM, 0, "USB_RECIP_ENDPOINT", 0x02},
{PTP_ENUM, 0, "USB_TYPE_CLASS", 0x20},
{PTP_OC, 5, "PTP_OC_FUJI_SendObjectInfo", 0x900c},
{PTP_OC, 5, "PTP_OC_FUJI_SendObject2", 0x900d},
{PTP_OC, 5, "PTP_OC_FUJI_SendObject", 0x901d},
{PTP_PC, 5, "PTP_PC_FUJI_EventsList", 0xd212},
{PTP_PC, 5, "PTP_PC_FUJI_SelectedImgsMode", 0xd220},
{PTP_PC, 5, "PTP_PC_FUJI_ObjectCount", 0xd222},
{PTP_PC, 5, "PTP_PC_FUJI_CameraState", 0xdf00},
{PTP_PC, 5, "PTP_PC_FUJI_FunctionMode", 0xdf01},
{PTP_PC, 5, "PTP_PC_FUJI_CompressSmall", 0xD226},
{PTP_PC, 5, "PTP_PC_FUJI_NoCompression", 0xD227},
{PTP_OC, 5, "PTP_OC_FUJI_InitiateMovieCapture", 0x9020},
{PTP_OC, 5, "PTP_OC_FUJI_TerminateMovieCapture", 0x9021},
{PTP_OC, 5, "PTP_OC_FUJI_GetCapturePreview", 0x9022},
{PTP_OC, 5, "PTP_OC_FUJI_StepZoom", 0x9023},
{PTP_OC, 5, "PTP_OC_FUJI_StartZoom", 0x9024},
{PTP_OC, 5, "PTP_OC_FUJI_StopZoom", 0x9025},
{PTP_OC, 5, "PTP_OC_FUJI_LockS1Lock", 0x9026},
{PTP_OC, 5, "PTP_OC_FUJI_UnlockS1Lock", 0x9027},
{PTP_OC, 5, "PTP_OC_FUJI_GetDeviceInfo", 0x902B},
{PTP_OC, 5, "PTP_OC_FUJI_StepShutterSpeed", 0x902C},
{PTP_OC, 5, "PTP_OC_FUJI_StepFNumber", 0x902D},
{PTP_OC, 5, "PTP_OC_FUJI_StepExposureBias", 0x902E},
{PTP_OC, 5, "PTP_OC_FUJI_CancelInitiateCapture", 0x9030},
{PTP_OC, 5, "PTP_OC_FUJI_FmSendObjectInfo", 0x9040},
{PTP_OC, 5, "PTP_OC_FUJI_FmSendObject", 0x9041},
{PTP_OC, 5, "PTP_OC_FUJI_FmSendPartialObject", 0x9042},

};int ptp_enums_length = 534;
};int ptp_enums_length = 560;

0 comments on commit aff4b76

Please sign in to comment.