D10 porting thread - page 8 - DryOS Development - CHDK Forum supplierdeeply

D10 porting thread

  • 131 Replies
  • 71033 Views
New color matrix for D10
« Reply #70 on: 31 / August / 2010, 20:04:39 »
Advertisements
Here's a matrix extracted from my recent profiling of my D10. I've built and tested CHDK with this and I think the results are pretty good.

Code: [Select]
#define CAM_COLORMATRIX1                               \
      14052, 10000, -5229, 10000, -1156, 10000, \
       -1325, 10000,  9420, 10000,  2252, 10000, \
         -498, 10000,  1957, 10000,  4116, 10000
#define cam_CalibrationIlluminant1  21                      // D65

*

Offline reyalp

  • ******
  • 14080
Re: D10 porting thread
« Reply #71 on: 02 / September / 2010, 23:23:49 »
New build, mostly thanks to DavidB. See first post.

Note that with the bitmap stuff fixed, grids that previously worked on this camera will now be wrong. Standard CHDK grids will work, although you may have to adjust the colors.
Don't forget what the H stands for.

Re: D10 porting thread
« Reply #72 on: 03 / September / 2010, 04:14:54 »
Thanks for committing that stuff, and thanks for doublechecking my code! :D

Right now I've got the zebra code drawing stuff in the right places, but the fact that when I have zebras turned on my camera will "randomly" crash and power down seems to indicate that I haven't quite got my head around what's trying to do yet! ;)

*

Offline reyalp

  • ******
  • 14080
Re: D10 porting thread
« Reply #73 on: 03 / September / 2010, 12:07:46 »
Thanks for committing that stuff, and thanks for doublechecking my code! :D

Right now I've got the zebra code drawing stuff in the right places, but the fact that when I have zebras turned on my camera will "randomly" crash and power down seems to indicate that I haven't quite got my head around what's trying to do yet! ;)
You are probably running out of memory if you are saving the whole bitmap buffer (which the "normal" zebra code does). You can check available memory in CHDK, or look at the ROMLOG after it crashes: http://chdk.wikia.com/wiki/LUA/Scripts:Standard/Test/Romlog

To get around this, I suggest looking at the recent work that's been done for SX20. I haven't had time to look at this in detail, but I believe they had the same problem.
Don't forget what the H stands for.


*

Offline reyalp

  • ******
  • 14080
Re: D10 porting thread
« Reply #74 on: 05 / September / 2010, 21:14:03 »
New build, see first post. Zebra is fixed.
Don't forget what the H stands for.

Re: D10 porting thread
« Reply #75 on: 05 / September / 2010, 22:13:34 »
New build, see first post. Zebra is fixed.
Woohoo!

I rebuilt my copy with your changes, and it looks great. In fact I rebuilt CHDK for our A470, SX200, and D10 bodies and zebra's looking great on all of them so far. Much faster redraw than the last version I had, too!

*

Offline reyalp

  • ******
  • 14080
Re: D10 porting thread
« Reply #76 on: 07 / September / 2010, 01:08:27 »
New update, see first post for details. I've added this to the batch builds, so it will appear on the autobuild server shortly.

added:
video quality control and optical zoom unlock.
dark frame subtraction control
Don't forget what the H stands for.

Re: D10 porting thread
« Reply #77 on: 08 / September / 2010, 14:13:06 »
Ah, the video optical zoom unlock will be great, thank you


Re: D10 porting thread
« Reply #78 on: 27 / September / 2010, 15:17:49 »
Rar... I just did some testing and I have to say, reyalp, that it seems you have done an amazing job here. Applause.

Re: D10 porting thread
« Reply #79 on: 14 / October / 2010, 10:44:23 »
Hi, sorry if this is a dumb question, I see that tv bracketing works from a script, and with continuous timer, but I can't seem to get it to work with custom timer. I am able to do it on one of my other cameras, but if I try it with my D10, it doesn't change any exposures, the three pictures are all the same. So, does tv bracket with custom timer just not work yet?
Thanks,
Dan ???
SD780, SX200, SX1, SD890 and SD980 - O.K. Way too many cameras, not enough photos!

 

Related Topics