Branch for development of remote capture over ptp
initial remote capture patch from srsa_4c in http://chdk.setepontos.com/index.php?topic=4338.msg89733#msg89733
bump ptp version so we can detect remote capture capability
Merged revision(s) 2118 from trunk:
correct comment in PTP protocol history
remote-capture-test - enable remote capture (raw only) by default
implement filewritetask hook for a540, appears to work
remote capture - reorganize code, initial (untested) lua interface for initialization
remote capture - cosmetic cleanup
initial support code for getting YUV image data via PTP
implemented on A410
rework to eliminate some unnecessary (zero size) ptp data transfers, does not affect the existing client implementation, incremented PTP_CHDK_VERSION_MINOR to indicate the change
changed SHOOTING_PROGRESS_DONE to SHOOTING_PROGRESS_PROCESSING in remotecap.c
raw hook reworked to time out after a while
made the code build without CAM_CHDK_PTP_REMOTESHOOT
file number saved at the start of a remote capture operation regardless of requested image type, makes file numbering more reliable
image type only marked as completed after it has actually been transferred
update remote capture test branch from trunk through 2171
- core/ptp.c more return parameters defined for PTP_CHDK_RemoteCaptureGetData
- little cleanup in platform/generic/capt_seq.c
- s90 1.01a filewritetask added, 1.00c and 1.01c are not yet done!
- added filewritetask hook to the remaining two fw revisions of s90
- core/remotecap.c: fix for a bug introduced in changeset 2163 which caused undesired operation and instablility
- core/main.c (...), new trial method to detect when file is really saved, see: http://chdk.setepontos.com/index.php?topic=8613.msg91236#msg91236 - only effective on DryOS cameras with FileWriteTask hook, doesn't support multiple filetypes (RAW + JPG)
- platform/generic/capt_seq.c: added wrapper functions for use in the filewritetask hook (DryOS only)
- a470: converted filewritetask hook to use the new generic wrapper functions for file operations
- PT_CompleteFileWrite support: at the moment the event procedure registration will be called in spytask, the current method may not work on every camera generation
- resolved a bug which made the camera crash on fwt_close()
- if succesfsfully registered, PT_CompleteFileWrite is used now to detect when files are saved - currently does not support cameras which do multiple invocations on filewritetask per shoot
merged trunk changesets r2179-2181,2183 into the remote capture test branch
a810: added filewritetask hook, not tested in action yet
move PT hook registration code to arm to prevent crash on older cams, try registration functions for new and old cams
update remove capture branch from trunk through r2202