AF in video on custom key press for ixus70_sd1000... and others?

  • 3 Replies
  • 997 Views
*

Offline cyril42e

  • ***
  • 111
  • SD1000/Ixus70 1.02a
    • CR-TEKnologies
  • Publish
    Advertisements
    I saw that ewavr added this feature to A series cameras in the trunk. And this feature is great, thank you evawr!
    Unfortunately I own an ixus70_sd1000 camera, so I had a look to the code, and found the adresses for this camera:
    Code: [Select]
    DEF(some_flag_for_af_scan, 0xCDB4) // found in _SsPrepareSeq.c__444+0x58, CMP R2,#0 | LDREQ R3,=0xCDB4 | STREQ R2,[R3]
    DEF (movie_status,0xBB558) // found in subroutine after _MovieRecorder.c__816, BL SetValidSystemCalender | LDR R2,=0xBB558 | MOV R3,#1
    NHSTUB(MakeAFScan, 0xFFB000D0) // _sub_FFB000D0__SsPrepareSeqBase.c__572
    NHSTUB(ExpCtrlTool_StartContiAE, 0xFF96553C) // SetFocusLensDefaultCondition_3
    NHSTUB(ExpCtrlTool_StopContiAE,  0xFF96556C) // SetFocusLensDefaultCondition_5

    And it seems to work ok (focusing in and only in video mode, AE ok...)
    However, how to know if parameter_for_af_scan is needed (CAM_AF_SCAN_DURING_VIDEO_RECORD is 1 or 2) ?

    Subsidiary question: why only A series cameras were updated for this feature?
    « Last Edit: 29 / June / 2008, 14:58:14 by cyril42e »

    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: AF in video on custom key press for ixus70_sd1000... and others?
    « Reply #1 on: 29 / June / 2008, 10:10:48 »
    However, how to know if parameter_for_af_scan is needed (CAM_AF_SCAN_DURING_VIDEO_RECORD is 1 or 2) ?

    1 for this camera (MakeAFScan() has two arguments, second must be =3). If MakeAFScan() has no arguments like for a610, CAM_AF_SCAN_DURING_VIDEO_RECORD must be 2.

    Subsidiary question: why only A series cameras were updated for this feature?

    Too many cameras and not enough time. And some old cameras (IXUS700) has different CaptSeqTask(), I cannot find MakeAFScan() for this camera.

    *

    Offline cyril42e

    • ***
    • 111
    • SD1000/Ixus70 1.02a
      • CR-TEKnologies
  • Publish
    Re: AF in video on custom key press for ixus70_sd1000... and others?
    « Reply #2 on: 29 / June / 2008, 10:31:54 »
    1 for this camera (MakeAFScan() has two arguments, second must be =3). If MakeAFScan() has no arguments like for a610, CAM_AF_SCAN_DURING_VIDEO_RECORD must be 2.
    Ok, thanks!

    Too many cameras and not enough time.
    That's a very good reason :D. Honestly I prefer that you find more great stuff and let other people port it to other cameras, rather than wasting your time doing it yourself :).

    Btw, maybe it could be a good idea to create a board or thread with stuff to do for volunteers, things that don't require high skills but only time, like finding adresses for other cameras once signatures are known. It would also make more clear what features aren't available on which cameras, and what features haven't been ported yet to which cameras.

    *

    Offline PhyrePhoX

    • *****
    • 2253
    • make RAW not WAR
      • PhyreWorX
  • Publish
    Re: AF in video on custom key press for ixus70_sd1000... and others?
    « Reply #3 on: 29 / June / 2008, 10:41:28 »
    well, it requires IDA pro, a tool not everybody can call their own. it also requires more skills than you think it does (i guess you are already used to using ida pro and you know the whole concept of asm and the likes). anyhow, such a thread does exist already, see 1st link in my signature. there are easy things listed and also very difficult things listed, so freelance devs can pick what they think is "doable". of course i can extend this list, no biggie. have to update it anyways these days, to reflect latest development & achievements.


     

    Related Topics