SX110IS - howto start porting - page 46 - DryOS Development - CHDK Forum

SX110IS - howto start porting

  • 573 Replies
  • 231565 Views
Re: SX110IS - howto start porting
« Reply #450 on: 14 / June / 2009, 23:23:21 »
Advertisements

Re: SX110IS - howto start porting
« Reply #451 on: 15 / June / 2009, 05:29:02 »
I don't know the answers. I'm only thinking about scripting but I hadn't started yet.

My first idea was to make 10mp jpeg's with 33mm EFL instead of 9mp with 36mm.
I used basic language last on C64. :]
« Last Edit: 15 / June / 2009, 07:15:59 by zodiac757 »

*

Offline chdkj

  • ***
  • 140
Re: SX110IS - howto start porting
« Reply #452 on: 15 / June / 2009, 14:24:55 »
Maybe the "on/off error" solved (again:)
I've deleted the empty folders in "\dcim", and their .ctg files, in "\dcim\canonmsc".
No errors after it.
That could be the reason that there wasn't any problems for a few weeks after formatting the card.
Hmmm.. I don't know. DCIM is a standard folder by Canon and has nothing to do with CHDK. But apparently it helps..
I've made a mistake .... I'm gonna crazy.
;)
I've made a mistake by calculating EFL, so the right values are about 33-330mm. I'm gonna crazy.
So Main Menu / OSD / Misc values / Adapter Lens scale is 100 for RAW, 108 for JPEG.
It was wondering why need to modify Lens scale to 108 and why 33mm is the default. Now we know it.
Zodiac757, may I ask you to have a look in platform\sx110is\main.c ?
There is one interesting thing (at row 78):
- static const int fl_tbl[] = {6000, 6700, 7300, 8200, 9100, 10300, 11500, 12800, 14400, 16100, 18100, 20100, 22400, 25200, 28100, 31500, 34900, 38900, 42500, 46600, 51100, 55900, 60000};
It's the focal length table.

Is there anything that we should change?
sx110

*

Offline chdkj

  • ***
  • 140
Re: SX110IS - howto start porting
« Reply #453 on: 15 / June / 2009, 14:32:10 »
A note on the ALT button ISO shift bug:

If I set the ALT button to FACE from PRINT, this seems to disable the ALT button in CHDK when I turn the camera off and back on. This makes it so I can't excess the CHDK menu anymore.
I did notice it also from time to time. Pressed ALT-button (FACE) twice and CHDK menu appears. Sometime I had to to press FACE a third time because Canon Face Mode instead CHDK menu appeared. Could be a timing problem ...
sx110


*

Offline chdkj

  • ***
  • 140
Re: SX110IS - howto start porting
« Reply #454 on: 15 / June / 2009, 15:04:58 »
sx110

*

Offline chdkj

  • ***
  • 140
Re: SX110IS - howto start porting
« Reply #455 on: 15 / June / 2009, 15:08:27 »
I don't know the answers. I'm only thinking about scripting but I hadn't started yet.

My first idea was to make 10mp jpeg's with 33mm EFL instead of 9mp with 36mm.
I used basic language last on C64. :]
JPG will be written by the camera itself. I don't believe that one can extend the original 9MP to 10MP even if the sensor might be a larger one than 9MP.

Greetings!
sx110

Re: SX110IS - howto start porting
« Reply #456 on: 15 / June / 2009, 15:27:50 »
A note on the ALT button ISO shift bug:

If I set the ALT button to FACE from PRINT, this seems to disable the ALT button in CHDK when I turn the camera off and back on. This makes it so I can't excess the CHDK menu anymore.
I did notice it also from time to time. Pressed ALT-button (FACE) twice and CHDK menu appears. Sometime I had to to press FACE a third time because Canon Face Mode instead CHDK menu appeared. Could be a timing problem ...

I gave it another try and to no avail. Cant for the life of me get the CHDK menu to appear. Display of battery left, time, and card capacity is good enough for now.

Re: SX110IS - howto start porting
« Reply #457 on: 15 / June / 2009, 15:58:25 »
I don't know the answers. I'm only thinking about scripting but I hadn't started yet.

My first idea was to make 10mp jpeg's with 33mm EFL instead of 9mp with 36mm.
I used basic language last on C64. :]
JPG will be written by the camera itself. I don't believe that one can extend the original 9MP to 10MP even if the sensor might be a larger one than 9MP.

Greetings!

I'll read after the ubasic commands. I don't know the opportunities.
The sensor is 10mp but sx110 uses 9 only. If we could change the sensor for a greater, EFL won't grow.
The only way is to use the whole sensor - without taking raw. Maybe a script can't do that.


*

Offline reyalp

  • ******
  • 14098
Re: SX110IS - howto start porting
« Reply #458 on: 15 / June / 2009, 18:01:42 »
The sensor is 10mp but sx110 uses 9 only.
What do you mean ? Are you talking about the difference between jpeg size and raw size ?

FWIW, it looks to me like CAM_ACTIVE_AREA* are not correct for SX110, since there's usually some black border around the active area. If you are looking at DNG, it might have been modified by the badpixel stuff so you don't see this as zero value pixels. The difference between active area and jpeg size is usually quite a bit less than the difference between sensor size and jpeg size.
Quote
If we could change the sensor for a greater, EFL won't grow.
The only way is to use the whole sensor - without taking raw. Maybe a script can't do that.
Definitely not with script, or without a lot of asm hacking.
Don't forget what the H stands for.

Re: SX110IS - howto start porting
« Reply #459 on: 16 / June / 2009, 08:24:26 »
reyalp:
9mp jpeg is 3456x2592=8,957952 mp
10mp raw (after cropping the black border) is 3684x2772=10,212048 mp
it has larger field of view compared to jpeg, ~33mm EFL instead of the default 36mm

but my assembly knowledge is very-very poor
« Last Edit: 16 / June / 2009, 10:59:00 by zodiac757 »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal