A1100 IS Porting thread - page 61 - DryOS Development - CHDK Forum
supplierdeeply

A1100 IS Porting thread

  • 646 Replies
  • 154438 Views
*

Offline srsa_4c

  • ******
  • 4302
Re: A1100 IS Porting thread
« Reply #600 on: 31 / January / 2014, 16:07:25 »
Advertisements
Test build.

Source diff:
Code: [Select]
Index: platform/a1100/platform_camera.h
===================================================================
--- platform/a1100/platform_camera.h (revision 3344)
+++ platform/a1100/platform_camera.h (working copy)
@@ -38,7 +38,7 @@
     #undef  DEFAULT_RAW_EXT
     #define DEFAULT_RAW_EXT                 2  // use .CR2
     #undef  CAM_EXT_TV_RANGE
-    #undef  CAM_AF_SCAN_DURING_VIDEO_RECORD
+    #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1
     #undef  CAM_CAN_MUTE_MICROPHONE
     #undef  CAM_EV_IN_VIDEO
 
Index: platform/a1100/sub/100c/boot.c
===================================================================
--- platform/a1100/sub/100c/boot.c (revision 3344)
+++ platform/a1100/sub/100c/boot.c (working copy)
@@ -220,7 +220,7 @@
                  "CMP     R0, #0\n"
              //    "ADRLT   R0, sub_FFC04E54\n"// ; "termDriverInit"\n"
                    "LDRLT     R0,=0xFFC04E54\n"
-                 "BLLT    sub_FFC04E2\n"
+                 "BLLT    sub_FFC04E2C\n"
                 // "ADR     R0, sub_FFC04E64\n"      //; "/_term"
                  "LDR     R0,=0xFFC04E64\n"
                  "BL      sub_FFC04A5C\n"
Index: platform/a1100/sub/100c/stubs_auto.S
===================================================================
--- platform/a1100/sub/100c/stubs_auto.S (revision 3344)
+++ platform/a1100/sub/100c/stubs_auto.S (working copy)
@@ -11,7 +11,6 @@
 STUB(FFC03578)
 STUB(FFC04974)
 STUB(FFC04A5C)
-STUB(FFC04E2)
 STUB(FFC04E2C)
 STUB(FFC05394)
 STUB(FFC054B4)
Index: platform/a1100/sub/100c/stubs_entry_2.S
===================================================================
--- platform/a1100/sub/100c/stubs_entry_2.S (revision 3344)
+++ platform/a1100/sub/100c/stubs_entry_2.S (working copy)
@@ -14,3 +14,4 @@
 NHSTUB(TurnOffMic,                  0xFFC31214)
 NHSTUB(TurnOnMic,                   0xFFC311E8)
 NHSTUB(platformsub_kbd_fetch_data,  0xFFC30B28)
+NHSTUB(MakeAFScan,                  0xffcfa90c)

edit:
test build removed
« Last Edit: 04 / April / 2015, 12:43:21 by srsa_4c »

Re: A1100 IS Porting thread
« Reply #601 on: 31 / January / 2014, 16:16:00 »
installed. when i begin to rec i pressed button under button "play" and than zoom +. i saw blue screen with some settings. 1st was manual focus. i used on and off - nothing changed.
« Last Edit: 31 / January / 2014, 16:18:10 by mafiaofcodes »

*

Offline srsa_4c

  • ******
  • 4302
Re: A1100 IS Porting thread
« Reply #602 on: 31 / January / 2014, 16:35:11 »
installed. when i begin to rec i pressed button under button "play" and than zoom +. i saw blue screen with some settings. 1st was manual focus. i used on and off - nothing changed.
That's something different, the CHDK focus override.
You may need to assign a button to be the "AF key" during recording:
Navigate to "Video parameters" -> "AF key" in the CHDK menu and choose a button (use the left/right button for selection). It can probably be either the "shutter" or "SET". I recommend "SET". After you've done that, start a vdeo recording and press "SET". The cam will either do a focus scan or crash... Lets hope it's the former.

Re: A1100 IS Porting thread
« Reply #603 on: 31 / January / 2014, 16:41:02 »
there is no af key in video par
just
- video mode
- bitrate
- quality
- clear vid par
- vid qual control
- enable optical zoom
- show rem time
- refreshrate

this is all


*

Offline srsa_4c

  • ******
  • 4302
Re: A1100 IS Porting thread
« Reply #604 on: 31 / January / 2014, 16:46:32 »
there is no af key in video par
just
- video mode
- bitrate
- quality
- clear vid par
- vid qual control
- enable optical zoom
- show rem time
- refreshrate

this is all
Then you probably aren't using my test version. Copy diskboot.bin from my zip to the root of the card. And remove ps.fi2 from the card, so you don't accidentally start that ;)

Re: A1100 IS Porting thread
« Reply #605 on: 31 / January / 2014, 16:53:44 »
great.
many thx for this!!!
2 more wishes. is it possible to make af without key? and second is - when i begin to rec in normal, during recording i cannot focus to macro. is it possible to change between macro, normal and far modes during rec?

*

Offline srsa_4c

  • ******
  • 4302
Re: A1100 IS Porting thread
« Reply #606 on: 31 / January / 2014, 16:59:53 »
great.
many thx for this!!!
Does that mean it's working?
Quote
is it possible to make af without key?
No. If a camera doesn't support that, we can't enable that either.
Quote
when i begin to rec in normal, during recording i cannot focus to macro. is it possible to change between macro, normal and far modes during rec?
I'm afraid not...

Re: A1100 IS Porting thread
« Reply #607 on: 31 / January / 2014, 17:05:38 »
yes. it is working. anyway many many thx for your job and explanation how to do this. hope that some one will make smth to change from macro to normal during call.
for example - you are recording some nature. many trees, lake... and than you saw little small strange stone or smth else. you want to rec it too and dont want to stop recording. but you have:(
many thx again!!!


*

Offline srsa_4c

  • ******
  • 4302
Re: A1100 IS Porting thread
« Reply #608 on: 31 / January / 2014, 17:36:17 »
yes. it is working. anyway many many thx for your job and explanation how to do this.
You're welcome. I have checked in the changes, so you can use official releases again (revision 3346 or later), once the autobuild server recovers from my little mistake...

Re: A1100 IS Porting thread
« Reply #609 on: 31 / January / 2014, 17:40:20 »
heh. what we have with sd card.
2 patritions. canon dc (fat 16) and photos (fat 32). fat 16 has letter H but photos has not. using computer manager, acronis disk director, paragon partition manager i cannot set the letter to see this disk in my pc. canon dc 16 mb fat16 i can see but photo fat 32 i cannot see in my pc.
i just formated this part by acronis - nothing changed. camera see but pc via cardreader - dont


second
Quote
you can use official releases again (revision 3346 or later), once the autobuild server recovers from my little mistake...
dont understand. in off release this feature (af during rec) exists too?

 

Related Topics