Build 49 (hot fix for build 48) - page 2 - AllBest's Builds - CHDK Forum  

Build 49 (hot fix for build 48)

  • 32 Replies
  • 17542 Views
Re: Build 49 (hot fix for build 48)
« Reply #10 on: 30 / March / 2008, 05:36:02 »
Advertisements
I change it to Edit mode, and try to use half-press to add menu items...

try with "rubbish" button instead... it works on my A630

Re: Build 49 (hot fix for build 48)
« Reply #11 on: 30 / March / 2008, 10:07:47 »
every zoom, autofocus
is it possible

Re: Build 49 (hot fix for build 48)
« Reply #12 on: 30 / March / 2008, 12:34:36 »

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Build 49 (hot fix for build 48)
« Reply #13 on: 30 / March / 2008, 13:16:08 »
I am using a Canon A650IS at the widest and tele settings but the values shown are 44mm and 266 (EFL).
That's due to incorrect CF_EFL coefficient coded in CHDK. It should be
#define CF_EFL 47297
for A650.

BTW. This coefficient need to be doublechecked for all cameras. Many of them has the same value.
Code: [Select]
a460/main.c:#define CF_EFL 70371
a530/main.c:#define CF_EFL 60345
a540/main.c:#define CF_EFL 60345
a550/main.c:#define CF_EFL 60345
a560/main.c:#define CF_EFL 60345
a570/main.c:#define CF_EFL 60345
a610/main.c:#define CF_EFL 47946
a620/main.c:#define CF_EFL 47946
a630/main.c:#define CF_EFL 47946
a640/main.c:#define CF_EFL 47946
a650/main.c:#define CF_EFL 47297
a700/main.c:#define CF_EFL 60345
a710/main.c:#define CF_EFL 60345
a720/main.c:#define CF_EFL 60345
g7/main.c:#define CF_EFL 47946
ixus55_sd450/main.c:#define CF_EFL 60345
ixus65_sd630/main.c:#define CF_EFL 47946
ixus700_sd500/main.c:#define CF_EFL 47946
ixus70_sd1000/main.c:#define CF_EFL 60345 // for 1/2,5" sensor (60345) for 1/1,8" sensor (47946)
ixus800_sd700/main.c:#define CF_EFL 60345
ixus850_sd800/main.c:#define CF_EFL 60345 // for 1/2,5" sensor (60345) for 1/1,8" sensor (47946)
ixus860_sd870/main.c:#define CF_EFL 60869
ixus950_sd850/main.c:#define CF_EFL 60345 // 60345 for 1/2.5" sensor, 47946 for 1/1.8" sensor
s2is/main.c:#define CF_EFL 6000
s3is/main.c:#define CF_EFL 6000

CHDK Developer.


*

Offline madp

  • *
  • 3
  • S2 IS
Re: Build 49 (hot fix for build 48)
« Reply #14 on: 31 / March / 2008, 19:00:48 »
Hi All,

First of all big thanks for this marvellous piece of code!!!

Secondly I would like to report a bug:

Camera: Powershot S2 IS
Firmware 1.00E
Build: Allbest #49, Mar 29 2008 (and older too)

[-] Miscellaneous values are not updating (I can get an update in <Alt> mode with half-press)
with 'Show misc values' [Always]
[-] Miscellaneous values are not displayed at all
with 'Show misc values' [Shoot]

And thirdly I've got small feature request:

Maybe it would be possible to have 4 states for all OSD elements ? Like this:
- Always On
- Always Off
- Normal (disappears when half-press & shoot)
- Shoot  (displayed only when half-press)

There are a lot of OSD elements right now, all of them are useful and it is difficult to fit everything on one screen. Having those 4 states it would be possible to have a subset of OSD elements visible only in 'normal' view and other subset of OSD elements only visible during 'half-press'. Now it is not possible with all elements.

And maybe it would be more convenient to move 'Show live histogram' to 'OSD parameters' submenu. This way all OSD elements could be turned on/off from one submenu.



Thanks again,
madp

Re: Build 49 (hot fix for build 48)
« Reply #15 on: 01 / April / 2008, 04:11:08 »
Quote
[-] Miscellaneous values are not updating (I can get an update in <Alt> mode with half-press)
with 'Show misc values' [Always]
When you set this parameter in such state you see values that corresponds you previous shoot (or as a consequence of half press). You can renew this values by half press (or if your camera in MF mode than by distance changing).
Quote
[-] Miscellaneous values are not displayed at all
with 'Show misc values' [Shoot]
You need half press shutter release button to see this values

Re: Build 49 (hot fix for build 48)
« Reply #16 on: 01 / April / 2008, 08:06:55 »
Hi again:
A couple of days ago I wrote about wrong zoom values in a Canon A650 IS. I have just tried the latest release and now I get the following values: 29 - 177 mm (EFL).
I do not know if there is still a problem in the code or my camera has something wrong. If there is anybody out there with a Canon A650 IS that can verify if the current release has the code working properly or has the same problem like me.
Any news will be greatly appreciated
Regards

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Build 49 (hot fix for build 48)
« Reply #17 on: 01 / April / 2008, 08:34:57 »
Heh... Somebody, who did the port, slightly changed the formula which resulted in reducing the accuracy by 10000 times.
Code: [Select]
a460/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a530/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a540/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a550/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a560/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a570/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a610/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a620/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a630/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a640/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a650/main.c:    return ((int)(CF_EFL/10000))*get_focal_length(zp);    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
a700/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a710/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
a720/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
g7/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus55_sd450/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus65_sd630/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus700_sd500/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus70_sd1000/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus800_sd700/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus850_sd800/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus860_sd870/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
ixus950_sd850/main.c:    return (CF_EFL*get_focal_length(zp))/10000;
s2is/main.c:    return (CF_EFL*get_focal_length(zp))/1000;
s3is/main.c:    return (CF_EFL*get_focal_length(zp))/1000;

UPD: Ha! It was Allbest. He did this for "+Fixed: negative values of EFL for a650". But he did that in incorrect way.
« Last Edit: 01 / April / 2008, 09:09:06 by GrAnd »
CHDK Developer.


*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: Build 49 (hot fix for build 48)
« Reply #18 on: 01 / April / 2008, 11:09:41 »
int before multiply?...

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Build 49 (hot fix for build 48)
« Reply #19 on: 01 / April / 2008, 11:22:34 »
int before multiply?...
And? This is a valid syntax. Do not forget that operations (div and mul) are integer, not floating. Without (int) the result will be the same.
CHDK Developer.

 

Related Topics