IXUS 105 / SD1300 IS porting thread - page 76 - DryOS Development - CHDK Forum supplierdeeply

IXUS 105 / SD1300 IS porting thread

  • 755 Replies
  • 120486 Views
Re: IXUS 105 / SD1300 IS porting thread
« Reply #750 on: 09 / June / 2016, 03:19:24 »
Advertisements
The difference is  almost certainly related to the method used to set zoom rather than the client. The chdkptp GUI just sends click('zoom_in') or click('zoom_out') for each button press. Using script set_zoom lets you go directly to a specific zoom point, but in some ports the camera doesn't update it's distortion correction settings.

Good Hint! It seems. Using manual zoom, everything is fine, using set_zoom shows those distortions.

It is possible we can adjust the port to make set_zoom behave correctly.

Do you have any hint on how to do that?  CHDK 1.5.0-4626 firmware 100d

*

Offline reyalp

  • ******
  • 11919
Re: IXUS 105 / SD1300 IS porting thread
« Reply #751 on: 09 / June / 2016, 13:10:16 »
Do you have any hint on how to do that?  CHDK 1.5.0-4626 firmware 100d
If you want to try to modify the code yourself, look at ports which use CAM_USE_ALT_SET_ZOOM_POINT and CAM_USE_ALT_PT_MoveOpticalZoomAt in platform_camera.h (ixus140_elph130 is an example)

Note that enabling these may have other side effects, like causing the camera to crash after zoom, possibly depending on focus mode. Some cameras may need CAM_NEED_SET_ZOOM_DELAY to prevent crashes.
Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 11919
Re: IXUS 105 / SD1300 IS porting thread
« Reply #752 on: 18 / June / 2016, 19:11:57 »
Here's a test build for ixus105_sd1300 100d, with CAM_NEED_SET_ZOOM_DELAY, CAM_USE_ALT_SET_ZOOM_POINT and CAM_USE_ALT_PT_MoveOpticalZoomAt

Please check whether this fixes (or reduces) the distortion problems, and whether it crashes if you use set_zoom to move through the whole zoom range.
Don't forget what the H stands for.

Re: IXUS 105 / SD1300 IS porting thread
« Reply #753 on: 13 / July / 2016, 12:33:38 »
Works great! Played around for 10mins zooming around, no issues so far.

(images are at 90% zoom). Left reyalp modif working, right CHDK 1.5.0 4659.


*

Offline reyalp

  • ******
  • 11919
Re: IXUS 105 / SD1300 IS porting thread
« Reply #754 on: 16 / July / 2016, 15:18:38 »
Works great! Played around for 10mins zooming around, no issues so far.

(images are at 90% zoom). Left reyalp modif working, right CHDK 1.5.0 4659.
@axoin
Thanks, I've checked this in for both 1.4 and 1.5

Can you check
1) Does the camera re-focus after you use set_zoom. If Continuous AF is enabled in the canon menu, please try with it off.
2) If you use AF lock (either set_aflock(1) or using regular Canon keys) and then use set_zoom, does it crash?
Don't forget what the H stands for.

Re: IXUS 105 / SD1300 IS porting thread
« Reply #755 on: 27 / July / 2016, 18:19:07 »
a). There is no setting for Continous AF.
In Auto Mode, it does refocus after set_zoom.
In P Mode it does not. This is the same behaviour as with stock firmware.

b). No it does not. You can zoom while it says AFL in the display and it doesn't crash. Works only in P though (as intended, says handbook). Looks fine :)

 

Related Topics