Remaining RAW+JPG shots + filespace icon/text- done :D - page 9 - General Discussion and Assistance - CHDK Forum

Remaining RAW+JPG shots + filespace icon/text- done :D

  • 175 Replies
  • 65685 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Calculation of remaining shots with RAW - done :D
« Reply #80 on: 14 / February / 2008, 05:01:14 »
Advertisements
Hi PhyrePhox (+ other contributors), thanks for all the great work !
Studying the diffs now. About your errors.txt: if checked that out
a bit, and there're all hardcoded in the source. The ones that refer
to wrappers.c appear to be obsolete, I checked the sizeof thingies
and they both seem OK. The others are in the A560 & A720 code,
so probably non-resolved, DryOs-related addresses.
BTW, after intensive surfing I finally found a usefull cross-referencing
tool for C under Windows (Understand for C++, 15 days free evaluation)
and used it to create a HTML hyperlinked crossreference for CHDK trunk 299.
If you're interested, you can find it here:

chdk299m-xref.zip - 3.80MB

(unpack anywhere with path and open index.html)

enjoy,
wim
 
« Last Edit: 14 / February / 2008, 05:41:59 by whim »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #81 on: 14 / February / 2008, 07:01:07 »
oh, this looks very interesting, thanks!
chdk - about 80.000 lines of code. pretty much if you asked me. during the last days i got the feeling there are millions of lines of code :D

Quote
Ratio Comment/Code:   0.29
come on, this should get better :D

maybe this useful in the wiki? dont know if it can be uploaded there though, legally.using this table i accidentially found the draw_circle function, this might mean i can draw the apple-pie chart.
but come to think of it, most people probably wont use the filespace icon but rather the filespace text in megabyte or percent (i have to find a way to optically make it distinguishable from the battery percent, maybe with with leading letters "SPC" or "SD" or something? and one thing i noticed last night is that the RAW state is coupled with the EXP state, you can't push it in the right bottom of the screen via the OSD menu. as the right bottom of my screen would be the perfect place for the rawcounte (directly beneath the canon jpeg counter) i think i will have to introduce a new raw icon, including its option to turn it off via menu.
opinions?

edit: as a note to myself: remember to always include an extra s3is binary directly attached and zipped as tightly as can be, for barney, the poor old man on modem :D
« Last Edit: 14 / February / 2008, 07:28:05 by PhyrePhoX »

*

Offline vit40

  • ****
  • 276
Re: Calculation of remaining shots with RAW - done :D
« Reply #82 on: 14 / February / 2008, 07:24:31 »
Well, filespace in MB is enough for me. Filespace in % also wouldn't be a problem for me, because I'm using battery voltage instead of percent and even if I wouldn't, I would place it on different part of the screen. I don't need SD filespace indicator icon either

It would be nice to make an option to turn off the EXP warning, I suppose nobody is using it because we have histogram with the same indicator (red dot) and I don't see any connection between RAW and EXP indicator. There was one build without EXP several months ago ... or move EXP warning to other OSD section with ISO, SD, Av .... with option on/off
« Last Edit: 14 / February / 2008, 07:29:15 by vit40 »

*

Offline Wilson

  • *
  • 8
  • *float*
    • death by vanilla
Re: Calculation of remaining shots with RAW - done :D
« Reply #83 on: 14 / February / 2008, 07:31:18 »
Testing on my SD1000 now. Working pretty good. I have an RGB Full histogram in the bottom right corner of the screen on shutter half-press, so I put the icon/MB-left just above that on the edge of the screen.
- Wilson


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Calculation of remaining shots with RAW - done :D
« Reply #84 on: 14 / February / 2008, 09:30:48 »
@PhyrePhox re: #81

I posted the link in General Discussion & Assistance as well, seems to be
the better place for this:

http://chdk.setepontos.com/index.php/topic,549.0.html

wim

*

Offline vit40

  • ****
  • 276
Re: Calculation of remaining shots with RAW - done :D
« Reply #85 on: 14 / February / 2008, 11:29:23 »
Noticed a small bug: when camera is started in video mode (A620), raw indicator is showing DISK FULL, with EXP below RAW (like before). Anyway, this is corrected as soon as command wheel is turned to to some of photo modes

I suppose some lines of code are missing to deal with this condition

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #86 on: 14 / February / 2008, 11:37:58 »
yes, you are right. this document will help me alot, thanks again :)

on a further note i noticed that the remaining raw feature will not work in movie rec mode, which is quiet understandable :D

so, off to bugfixing :D

edit: funny vit40 was posting this just moments before i would post the same :D
« Last Edit: 14 / February / 2008, 11:48:13 by PhyrePhoX »

Re: Calculation of remaining shots with RAW - done :D
« Reply #87 on: 14 / February / 2008, 13:33:25 »
PhyrePhoX ,
about the diff files, do you know how to apply the diff to the source?. Should it be possible to use the patch command to do that? (I can't get it to work, but that may be my gcc none-experience,  I only use Windows to build).


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #88 on: 14 / February / 2008, 13:49:18 »
havent done that yet, i manually added jucifers changes by openening the diff in notepad and copy & pasting things. very professionally :D
my diff files are somewhat just there for others to get a rough idea what i changed, i dont know if they can be used actually. i will, after bugfixing and code cleaning, try if i can find a way to add these patches automatically to a fresh downloaded trunk.if that works i'll post the way how i did it, along with the diff.

Re: Calculation of remaining shots with RAW - done :D
« Reply #89 on: 14 / February / 2008, 15:01:16 »
Deleted
« Last Edit: 22 / April / 2008, 11:09:00 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal