Save RAW after shot in review mode - page 2 - Feature Requests - CHDK Forum supplierdeeply

Save RAW after shot in review mode

  • 19 Replies
  • 5852 Views
*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW after shot in review mode
« Reply #10 on: 24 / July / 2008, 07:06:34 »
Advertisements
At this point, I'd say just make it so that when you delete the JPEG, the raw is deleted too (I think this was proposed although I can't find the thread). It's already possible to quick-delete the JPEG while in review mode.

Something like this I make in my personal build (main.c, function spy_jpeg_is_deleted()). If camera exits from review mode and last shooted JPEG is absent, CHDK also erases last shooted RAW.

*

Offline LjL

  • ****
  • 266
  • A720IS
Re: Save RAW after shot in review mode
« Reply #11 on: 24 / July / 2008, 07:44:08 »
That's nice, although it would be nicer if it worked in playback mode, too. But I suppose we have no way to know when a file is being deleted in playback mode.

Still I've been wondering... somewhere else it was said (and I have no doubts it's true) that the mallocable part of the RAM is very small compared to the total RAM.

Now, is the rest of this supposedly quite large RAM actually needed all the time? I somehow doubt one needs 32 or 64 megs of caching when one isn't in continuous mode or something.

Is there no way that memory could safely be used by us, for instance to temporarily store raws? That would open the road to major speedups in continuous mode and whatnot, and more complex real-time operations on raws. As well as this very feature request.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW after shot in review mode
« Reply #12 on: 24 / July / 2008, 08:07:59 »
Is there no way that memory could safely be used by us, for instance to temporarily store raws? That would open the road to major speedups in continuous mode and whatnot, and more complex real-time operations on raws. As well as this very feature request.

Maybe, this is unreal - for 12 MP camera RAW size is 15 Mbytes, JPEG buffer for several shots is ... hmm, I don't know exactly (at least, on 7Mp a710 I can get 7.5 MBytes JPEGs) - and total memoty amount is only 32 Mbytes... Maybe, only for small-megapixel cameras.
« Last Edit: 24 / July / 2008, 08:11:28 by ewavr »

*

Offline LjL

  • ****
  • 266
  • A720IS
Re: Save RAW after shot in review mode
« Reply #13 on: 24 / July / 2008, 08:12:03 »
How do you find out how much actual memory there is, anyway?


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW after shot in review mode
« Reply #14 on: 24 / July / 2008, 08:24:43 »
How do you find out how much actual memory there is, anyway?

I try to dump more than 32 MBytes of memory on G7 and A720  - without success.  :(

*

Offline LjL

  • ****
  • 266
  • A720IS
Re: Save RAW after shot in review mode
« Reply #15 on: 24 / July / 2008, 08:26:18 »
It crashes after that? Mine crashes when reading certain addresses...

*

Offline jeff666

  • ****
  • 181
  • A720IS
Re: Save RAW after shot in review mode
« Reply #16 on: 24 / July / 2008, 08:40:46 »
I try to dump more than 32 MBytes of memory on G7 and A720  - without success.  :(

A720 (and probably most older models) have 32mb. DataGhost found out that his S5 has 64mb.

Cheers.

*

Offline LjL

  • ****
  • 266
  • A720IS
Re: Save RAW after shot in review mode
« Reply #17 on: 24 / July / 2008, 08:57:42 »
I have no doubts, I was just curious how one finds out.

Anyway, even 32 megabytes could conceivably be enough to store a couple of raws, given they're 10 megabytes on the A720... of course, it depends how much of it can actually be "stolen" from the system.


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW after shot in review mode
« Reply #18 on: 24 / July / 2008, 09:10:07 »
Anyway, even 32 megabytes could conceivably be enough to store a couple of raws, given they're 10 megabytes on the A720... of course, it depends how much of it can actually be "stolen" from the system.

I did such test - after several shoots I make memory dump to find free continuos regions (filled with 00 or FF) - no more than 1 Mbytes is unused on A710....

*

Offline LjL

  • ****
  • 266
  • A720IS
Re: Save RAW after shot in review mode
« Reply #19 on: 24 / July / 2008, 09:25:03 »
Well but maybe stuff is simply left un-zeroes, even though it's free? And at any rate, if much of it is used for file caching (and file caching definitely does take place), it would theoretically be feasible to reduce that and use it for other purposes...

 

Related Topics