Checked in trunk
changeset 1921Are the host clients ready ?
The most recent snapshot of chdkptp should work.
Some general notes
The following ports should have pretty much full support:
a540, d10 g12, g1x, sx40hs, g10, a590, ixus310_elph500hs
Other are mostly missing some combination of viewport dimensions and offsets, active bitmap and palette.
There are several ways to obtain some of these values. Where possible, I'd like to try to use the same method across ports. Early in the process, I ported over some of the palette and viewport stuff from ewavrs original live view code. The viewport stuff was done by directly accessing variables. I've since added eventprocs to the sigfinder that return these values (GetVRAM*PixelsSize) for all dryos cameras. This should be used in preference to accessing the variables directly. I will add the functions to vxworks as well.
Supporting stitch (done in some of the ports mentioned above) requires some logic in each lib.c. Before putting this in every single platform, I'd like to find a way to make it mostly generic. As mentioned earlier, I don't think having this show up correctly in ptp is very urgent.
Where possible, I'd like to move the stuff that is common to all firmwares of a given camera to the common lib.c rather than the sub lib.c. See g12 for an example.
The sig finder finds bitmap and palette stuff for recent dryos. It would be worthwhile to do the same for the older versions.
Protocol documentation is in ptp.h and live_view.h