Twin raw buffers without jpeg creation would permit twin hdr exposure - RAW Shooting and Processing - CHDK Forum  

Twin raw buffers without jpeg creation would permit twin hdr exposure

  • 3 Replies
  • 3838 Views
*

Offline Lebeau

  • ***
  • 187
Advertisements
When we capture raw image, it uses one raw buffer that get "corrupted" by the jpeg creation process.

If we annihilate the jpeg creation process, on twin raw buffer apparatus, we would be able to rapidly catch a second capture (with different exposure) and then save both buffers. The twin capture would create an hdr compound.

That could motivate jpeg creation process hacking !!

Some ideas how-to ?

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Twin raw buffers without jpeg creation would permit twin hdr exposure
« Reply #1 on: 15 / September / 2011, 22:43:48 »
When we capture raw image, it uses one raw buffer that get "corrupted" by the jpeg creation process.

If we annihilate the jpeg creation process, on twin raw buffer apparatus, we would be able to rapidly catch a second capture (with different exposure) and then save both buffers. The twin capture would create an hdr compound.

That could motivate jpeg creation process hacking !!

Some ideas how-to ?

From what I've seen the camera firmware does not always switch buffers between shots.

In addition to disabling the jpeg conversion (which I don't think anyone has figure out how to do), you will also need to find a way to make sure that the camera alternates between the two raw buffers.

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)

*

Offline Lebeau

  • ***
  • 187
Re: Twin raw buffers without jpeg creation would permit twin hdr exposure
« Reply #2 on: 16 / September / 2011, 17:16:15 »
Didn't know about the buffer switching. I will get a look to before exploring jpeg trap. Thks.

*

Offline Lebeau

  • ***
  • 187
Re: Twin raw buffers without jpeg creation would permit twin hdr exposure
« Reply #3 on: 13 / November / 2011, 11:11:24 »
I made some tests:
 - rawadr and altrawadr are swapping for each exposure
 - moving raw data to altrawadr and moving it back to rawadr in postprocess didn't work since it seams that jpg process use altrawadr :(

The only way, imho, is to trap jpg process.


 

Related Topics