SX170 porting - page 16 - DryOS Development - CHDK Forum supplierdeeply

SX170 porting

  • 266 Replies
  • 91972 Views
Re: SX170 porting
« Reply #150 on: 19 / September / 2014, 08:30:33 »
Advertisements
Note that, in the JPEG image that the region that is spoiled belongs to the actual picture. It is not just trash data. It seems that one routine try to make some kind of image processing (collors, bad pixel, etc) in this region.

Re: SX170 porting
« Reply #151 on: 19 / September / 2014, 17:19:43 »

Can you upload a DNG & JPG file to a file share site and post links here.

Phil.
Phil
i will do that tomorrow. now i am in an happy hour. sorry!

Re: SX170 porting
« Reply #152 on: 19 / September / 2014, 23:17:39 »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: SX170 porting
« Reply #153 on: 20 / September / 2014, 00:11:11 »
Can you upload a DNG & JPG file to a file share site and post links here.

Phil.


I took the liberty to upload dng, raw and jpeg

DNG: https://www.dropbox.com/s/f7lybm4j1v3d0sv/CRW_0724.DNG?dl=0
JPG:  https://www.dropbox.com/s/nym4ie8or8odhdm/IMG_0724.JPG?dl=0

RAW: https://www.dropbox.com/s/9ik951lry0zm8iu/CRW_0722.CRW?dl=0
JPG:   https://www.dropbox.com/s/nlrggurvarkjoay/IMG_0722.JPG?dl=0

Thanks for the files.

To me it looks like the raw hook is set too late in the capture sequence task.

RAW saving probably works because the data gets saved quickly enough; but the extra time required for DNG means the DNG save is overlapping the Canon JPEG save.

The DNG save has to reverse the RAW image data byte order - some of this is being seen by the JPEG save hence the weird stripes in the JPEG image. The Canon JPEG conversion alters the RAW image data, so the DNG file is saving the RAW date after the Canon conversion has altered it.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


Re: SX170 porting
« Reply #154 on: 25 / September / 2014, 23:26:55 »
apparently still not over the garden happy hour, I think it became happy days ... I think it lacks support for ending the port ..  :'(  :'(  :'(

Re: SX170 porting
« Reply #155 on: 26 / September / 2014, 11:22:01 »
hahaha, I've lost hope a long time ago ... :(

*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #156 on: 27 / September / 2014, 20:00:59 »
Don't know if this was asked before, but anyway:

Does it make a difference (in the created DNGs) when you shoot like this:

1) shoot half -> wait for AF -> shoot full

or

2) quickly fully press the shutter, not waiting for AF

Re: SX170 porting
« Reply #157 on: 28 / September / 2014, 11:03:39 »
I went to try shooting in 1 and 2, but the result was the same without good news.
Support garden commentary, the raw comes out in an attempt to process what distorts.
Where will the bug?   :blink:


Re: SX170 porting
« Reply #158 on: 28 / September / 2014, 12:04:50 »
Well, i am in everybody's same situation.  I can get raw pictures if DNG is turned off. I think Phil is right but i dont know how to solve this synchronization problem.

*

Offline srsa_4c

  • ******
  • 4451
Re: SX170 porting
« Reply #159 on: 01 / October / 2014, 12:32:04 »
I can get raw pictures if DNG is turned off.
How do you open those raw files? DNG4PS-2?

Try inserting
Code: [Select]
_SleepTask(2000);before
Code: [Select]
    raw_save_stage = RAWDATA_AVAILABLE;in platform/generic/capt_seq.c
If you still get undamaged RAW files with this additional 2 second delay, then the problem is not the placement of the raw hooks.

 

Related Topics