SX200is Porting - page 57 - DryOS Development - CHDK Forum

SX200is Porting

  • 1105 Replies
  • 567586 Views
Re: SX200is Porting
« Reply #560 on: 01 / October / 2009, 17:30:50 »
Advertisements
@Aitor86

CHDK Raw support is not available in dcraw based software yet.
But DNG can be taken straight from CHDK by running "badpixel.lua" in scripting menu.
Calibration will be possible as soon as the author of the DNG2PS2 software can add it.
And for the diff file it's only for devoloper to patch the source of CHDK. wait a bit it's only a beta. sorry you have enough knowledge in C i see

@ADamb
I hope you understand i post same thing as you on calibration thread only to verify color palette better from 2 different source.
Cause IMO i think the better it's done the better RAW will be for all of us. If someone has a professionnal screen with also better than my spyder 2. I can be good to do the same

Thanks to all for making such improvements  ;)

edit: Yes thanks Smartkiller sorry for the mistake
« Last Edit: 02 / October / 2009, 12:29:28 by StillNoob »

Re: SX200is Porting
« Reply #561 on: 01 / October / 2009, 17:35:36 »
« Last Edit: 01 / October / 2009, 18:24:38 by smartkiller »
SX200 IS Firm. 100c
SX1 IS Firm. 201a

Re: SX200is Porting
« Reply #562 on: 01 / October / 2009, 17:44:02 »
@Aitor86

CHDK Raw support is not available in dcraw based software yet.
But DNG can be taken straight from CHDK by running "badscript" in scripting menu.


You mean the badpixel.lua.
And yes when the badpixel.bin are exist, then you can turn on DNG.

Smartkiller
SX200 IS Firm. 100c
SX1 IS Firm. 201a

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SX200is Porting
« Reply #563 on: 01 / October / 2009, 19:31:49 »


*

Offline ADamb

  • **
  • 65
  • sx200is
Re: SX200is Porting
« Reply #564 on: 02 / October / 2009, 02:21:43 »
@Aitor86
1. Put patch in your trunk root directory (trunk811 this moment)
2. Open "Command line access to your current compiler" from CHDK-Shell interface.
3. In that command window (should be in trunkXXX directory, point1.) type:
patch --verbose -p0 <name_of_patch_file.diff
For testing you can include --dry-run run switch (no actual patching will be done).
If you would like to remove patch, use this command:
patch --reverse --verbose -p0 <name_of_patch_file.diff

@All
I found a bug with MoveZoomLensWithPoint.
Running from script (set_zoom_rel) is not updating zoom position (neither get_prop(195), nor get_parameter_data(87)).
As result, zoom data is not updated in EXIF.
Workaround:
set_prop(195,get_zoom()) before shooting in script.
« Last Edit: 02 / October / 2009, 04:03:18 by ADamb »
SX200 IS-100C

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SX200is Porting
« Reply #565 on: 02 / October / 2009, 10:01:20 »
@ADamb
@Aitor86
Quote
1. Put patch in your trunk root directory (trunk811 this moment)
2. Open "Command line access to your current compiler" from CHDK-Shell interface.
3. In that command window (should be in trunkXXX directory, point1.) type:
patch --verbose -p0 <name_of_patch_file.diff

Thanks for reminding me of this loose end  :D  , should be in next CHDK-Shell ...
(i'm amazed nobody complained ...)
wim

Re: SX200is Porting
« Reply #566 on: 02 / October / 2009, 12:14:21 »
Hi! That's me again ;)

In http://tools.assembla.com/chdk/browser/trunk/platform/sx200is/sub/100c/lib.c#L60 you have
Code: [Select]
return (void*)(*(int*)(0x2950+0x50));                  // found at FF858A84 and FF859398 (0x58 at FF8594F0)You wrote +0x50 but in comment you stated 0x58. Indeed, in disassembled code at this address you can find:
Code: [Select]
STR        R12, [R5, #0x58]From where this discrepancy came from? Typo?
"Trying is the first step towards failure." (Homer Simpson)

*

Offline ADamb

  • **
  • 65
  • sx200is
Re: SX200is Porting
« Reply #567 on: 03 / October / 2009, 07:20:24 »
Override for PictureQuality ("Compression" in camera settings),
based on ihar's http://chdk.setepontos.com/index.php/topic,3994.msg40666.html#msg40666 image quality diff.
Allows to select SuperFine, Fine, Normal, off.(off means setting from Canon menu is used).
Chosen setting is saved in configuration and remains after reboot or mode change.
Still not clear for me, why Canon did not include this setting, since
SuperFine is shown during playback as S overlayed on "Fine" icon (cycle Canon display modes with "DISP." key).

Previous version had wrong conf.c, so settings were not saved...
Now it has define in camera.h, so it can be merged with trunk...
SX200 IS-100C


Re: SX200is Porting
« Reply #568 on: 03 / October / 2009, 17:59:39 »
Override for PictureQuality ("Compression" in camera settings),
based on ihar's http://chdk.setepontos.com/index.php/topic,3994.msg40666.html#msg40666 image quality diff.
Allows to select SuperFine, Fine, Normal, off.(off means setting from Canon menu is used).
Chosen setting is saved in configuration and remains after reboot or mode change.
Still not clear for me, why Canon did not include this setting, since
SuperFine is shown during playback as S overlayed on "Fine" icon (cycle Canon display modes with "DISP." key).

Previous version had wrong conf.c, so settings were not saved...
Now it has define in camera.h, so it can be merged with trunk...
Hallo
Patch ist OK, but when i save the Superfine Option the Cam go's Off after Start.
After deleting the CHDK config the Cam starts Normal.

Smartkiller
SX200 IS Firm. 100c
SX1 IS Firm. 201a

Re: SX200is Porting
« Reply #569 on: 03 / October / 2009, 18:25:11 »
Hallo
I have added one open Point to the Wiki.

Script funktion "set_backlight" is not working.

See http://chdk.setepontos.com/index.php/topic,2744.msg27703.html#msg27703


But the metronom.lua works. :-[
 
Second Point: The Color Palette (To change Menu Colors ) ist not OK, No Blue and other Colors. It's a very small Table.

Is one parameter missing in /platform/sx200is/sub/100c/lib.c ? I have found in other Cams: " void *vid_get_bitmap_fb() " but not in the SX200is Source.
 
Smartkiller
« Last Edit: 03 / October / 2009, 18:48:43 by smartkiller »
SX200 IS Firm. 100c
SX1 IS Firm. 201a

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal