What is the "AF key" video setting in build 51-425 for?? - AllBest's Builds - CHDK Forum

What is the "AF key" video setting in build 51-425 for??

  • 9 Replies
  • 5910 Views
What is the "AF key" video setting in build 51-425 for??
« on: 21 / June / 2008, 06:29:40 »
Advertisements
What does the new function "AF key" in the video settings of the "allbest-a720-100c-51-425" do?

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #1 on: 21 / June / 2008, 09:51:57 »
Press this key ('set' or 'shutter-half') during video recording: camera makes single autofocus scan. I don't know how it works n a720, but it works good on a650 (also a710, a610, a620).

Re: What is the "AF key" video setting in build 51-425 for??
« Reply #2 on: 21 / June / 2008, 13:33:30 »
OK. Thanks.

*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #3 on: 24 / June / 2008, 07:40:44 »
on a650 locks exposure... on a630 works well

*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #4 on: 24 / June / 2008, 07:59:38 »
ok i saw that the  continuous ae functions does not work or they are mapped incorrectly... camera crash...
« Last Edit: 24 / June / 2008, 08:01:59 by dzsemx »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #5 on: 24 / June / 2008, 08:30:10 »
Here wap4 reported that some exposure control functions (also ExpCtrlTool_StartConti()) crashes DRYOS cameras. So, ExpCtrlTool_StartConti() for DRYOS replaced by nullsub(). Unfortunately, I have only VxWorks camera and cannot debug this functions on DRYOS. Maybe, someone else?

*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #6 on: 24 / June / 2008, 12:53:11 »
nope... i don't understand arm asm, just i know some pic ucontroller and pc assembler at basic level

« Last Edit: 24 / June / 2008, 13:10:48 by dzsemx »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #7 on: 24 / June / 2008, 15:38:27 »
Well, I try correct this. Binaries for a650/a720:
af_test_dryos.zip - 0.16MB

Code: (diff) [Select]
Index: include/lolevel.h
===================================================================
--- include/lolevel.h (revision 425)
+++ include/lolevel.h (working copy)
@@ -178,8 +178,8 @@
 
 
 extern void _MakeAFScan(int*, int);
-extern void _ExpCtrlTool_StartContiAE(void);
-extern void _ExpCtrlTool_StopContiAE(void);
+extern void _ExpCtrlTool_StartContiAE(int, int);
+extern void _ExpCtrlTool_StopContiAE(int, int);
 
 extern int some_flag_for_af_scan;
 extern int parameter_for_af_scan;
Index: platform/a720/sub/100c/stubs_entry_2.S
===================================================================
--- platform/a720/sub/100c/stubs_entry_2.S (revision 425)
+++ platform/a720/sub/100c/stubs_entry_2.S (working copy)
@@ -111,10 +111,10 @@
 NHSTUB(TurnOnMic, 0xFFC376CC)
 NHSTUB(TurnOffMic, 0xFFC376F8)
 
-//NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC8DA00)
-//NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC8D9C4)
-NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC00958) // null stub
-NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC00958) // null stub
+NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC23A2C)
+NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC23930)
+//NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC00958) // null stub
+//NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC00958) // null stub
 NHSTUB(MakeAFScan,  0xFFDD4AA4)
 
 
Index: platform/a650/sub/100d/stubs_entry_2.S
===================================================================
--- platform/a650/sub/100d/stubs_entry_2.S (revision 425)
+++ platform/a650/sub/100d/stubs_entry_2.S (working copy)
@@ -93,10 +93,10 @@
 NHSTUB(TurnOnMic, 0xFFC38288)
 NHSTUB(TurnOffMic, 0xFFC382B4)
 
-//NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC8FD80)
-//NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC8FD44)
-NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC00958) // null stub
-NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC00958) // null stub
+NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC24410)
+NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC24250)
+//NHSTUB(ExpCtrlTool_StopContiAE,  0xFFC00958) // null stub
+//NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC00958) // null stub
 NHSTUB(MakeAFScan,  0xFFDE3A8C)
 
 
Index: platform/generic/wrappers.c
===================================================================
--- platform/generic/wrappers.c (revision 425)
+++ platform/generic/wrappers.c (working copy)
@@ -562,6 +562,6 @@
 #endif
  _MakeAFScan(&a, 3);
  some_flag_for_af_scan=save;
- _ExpCtrlTool_StartContiAE();
+ _ExpCtrlTool_StartContiAE(0,0);
 }
 #endif


*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #8 on: 24 / June / 2008, 18:25:24 »
ok i'll try tomorrow... rigth now i'm unable to insert my sd card to the raeder... beer rulez:)))

*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: What is the "AF key" video setting in build 51-425 for??
« Reply #9 on: 26 / June / 2008, 13:43:56 »
oh... i'm sorry:(( i forgot... i wanted right now to test these modifications but i saw that you added to trunc...

thank you, you are the best
« Last Edit: 26 / June / 2008, 13:45:56 by dzsemx »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal