Adding new cameras, applying patches into trunk (with source code prepared)

  • 1471 Replies
  • 166676 Views
*

Offline philmoz

  • *****
  • 2936
    • Photos
  • Publish
    Advertisements
    Added in changesets 1103-1106.
    Thanks again.

    Quote
    It's not size that bothers me. What I'd rather not have is a lot of unrelated changes in the same patch.
    Noted, will try and keep things in smaller related chunks (sometimes hard when multiple fixes are in the same files; but I'll do my best).

    Phil.
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)

    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    Patch for SX110is to enable the startup crash fix.
    Tested by danraymond - http://chdk.setepontos.com/index.php?topic=6217.msg63414#msg63414
    Main thread - http://chdk.setepontos.com/index.php?topic=6179.0
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)

    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    Patch (from S95 port) for G12 & SX30 to fix overrides not working if shutter pressed quickly  - i.e. when you don't wait on half press for camera to calculate focus & exposure.
    http://chdk.setepontos.com/index.php?topic=6226

    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)

    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    Patch for G12 & SX30 that reduces the size of the 'movie_rec.c' code by moving the quality override code to the main loop. This removes the need for one of the large functions to be patched in CHDK.
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)


    *

    Offline reyalp

    • ******
    • 9872
  • Publish
    All added, changesets 1107-1109

    Thanks for breaking up the patches.

    I assume you've verified that the video quality is still set with the movie rec change ?
    Don't forget what the H stands for.

    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    All added, changesets 1107-1109

    Thanks for breaking up the patches.

    I assume you've verified that the video quality is still set with the movie rec change ?
    Thank you, yes I've tested the video quality with this change on both cameras (at least for the firmware versions I have). Setting quality to 1 results in a very small file that has massive compression artifacts, and 99 gives a file that is about 2-3 times the size of the Canon default (although I'm hard pressed to see any visual difference).

    I'm afraid I have a few more patches to go to bring everything up to date with the fixes I've made recently, will try and keep them as tidy as possible.

    Phil.
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)

    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    New property value for propset4.h - needed in lens_set_zoom_point for G12 & SX30.
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)

    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    Stub value for zoom_status for G12 & SX30, plus additional stub needed for lens_set_zoom_point for both cameras.
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)


    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    Set zoom_status in gui.c for both G12 & SX30.
    Fixes problem on G12 where camera could not zoom out of digital zoom range into optical zoom range when recording video.
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)

    *

    Offline philmoz

    • *****
    • 2936
      • Photos
  • Publish
    Update to lens_set_zoom_point function for G12 & SX30 (platform/generic/wrappers.c).
    - Set zoom_status value.
    - Zoom out of digital zoom range if camera was in this range when lens_set_zoom_point is called.
    CHDK ports:
      sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
      g12 (1.00c, 1.00e, 1.00f & 1.00g)
      sx130is (1.01d & 1.01f)
      ixus310hs (1.00a & 1.01a)
      sx40hs (1.00d, 1.00g & 1.00i)
      g1x (1.00e, 1.00f & 1.00g)

     

    Related Topics