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

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

  • 175 Replies
  • 63927 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #100 on: 15 / February / 2008, 11:45:48 »
Advertisements
I thought of maybe a really thin bar that can be snapped to the top or bottom,under or above all other icons,maybe 5 pixel (or less )height,but much wider than the battery symbol.you catch my drift? It is even possible to combine it with the battery,for compactness.

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: Calculation of remaining shots with RAW - done :D
« Reply #101 on: 15 / February / 2008, 12:34:05 »
(Y)our latest diff against trunk revision 300. ;)
Also changed the keys for setting focus to hyperfocal/infinity to up/down.
And removed the now-obsolete RAW indicator.
Plus changed menu text "Show RAW/EXP state" to "Show states" (contains overrides, too).
That might be all.

P.S. Didn't double-check everything, but works at least on my camera. :]
« Last Edit: 15 / February / 2008, 12:41:36 by Jucifer »

*

Offline vit40

  • ****
  • 276
Re: Calculation of remaining shots with RAW - done :D
« Reply #102 on: 15 / February / 2008, 14:16:45 »
Well, previous build was better for me ... Now, we can turn RAW/EXP off, as we have separate RAW: number   indicator. But, that indicator isn't shown in movie mode, so:

- we don't know is raw recording on or off, when we are in movie mode
- we don't know how many jpeg+raw shots we will have when we are back in photo mode

May I suggest that you show RAW: also in video mode. If number of shots can't be determined when you switch the camera on in video mode (I didn't look at the code), that don't show the number at all, doesn't matter



*

Offline whim

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

Congratulations ! Works well, but I found potential problems, the menu
entries in gui_lang.c and english.lng are inconsistent. Have attached
extract from Jucifer's last diff with only files concerned.

wim



*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #104 on: 15 / February / 2008, 17:54:26 »
Quote
(Y)our latest diff against trunk revision 300. ;)
Also changed the keys for setting focus to hyperfocal/infinity to up/down.
And removed the now-obsolete RAW indicator.
Plus changed menu text "Show RAW/EXP state" to "Show states" (contains overrides, too).
That might be all.
thanks, this really is a community project, i like that, gives me a warm feeling in my stomach :)

Quote
- we don't know is raw recording on or off, when we are in movie mode
- we don't know how many jpeg+raw shots we will have when we are back in photo mode

hm, do you really need the raw state in movie mode? the problem is the startup. if you start cam in movie dial mode, the value i readout is 0. best option really is to leave the RAW/EXP icon in then. hm. i'll think about that :)
by the way did it work for you cam that the RAW icon was in the right corner just above the canon counter?

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #105 on: 15 / February / 2008, 18:04:37 »
@PhyrePhox
@Jucifer

Congratulations ! Works well, but I found potential problems, the menu
entries in gui_lang.c and english.lng are inconsistent. Have attached
extract from Jucifer's last diff with only files concerned.

wim
ah i see, there are some new entries in #300. did you test your suggested changes in your supplied diff? i really understand "ugly code" better, even though maybe it's less efficient. but is it really less efficient, at runtime i mean, or is it just a matter of coding style? of course saving cpu cycles should be a concern.
Quote
+"291 \"Remaining RAW\"\n"

// ??????????????

+"292 \"Remaining RAW\"\n"
:D one is for the icon (so when you change it's position in OSD options menu), one is for the option to toggle remaining raw. i guess this can be limited to one entry only, can't it?
for now i'll work on the icon first, so when that is finished we finally can clean it and merge/diff it with latest source and ship it :D
i guess the gui_lang.c and english.lng problems can easily be resolved (only problem i see here is the way chdk handles the config file and the parameters inside, if you know what i mean).
by the way i'm gonna prepare a german lng file, somehow this should get into official trunk, i can maintain it (the russian one doesnt look like its maintained, right?).
« Last Edit: 15 / February / 2008, 18:12:17 by PhyrePhoX »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Calculation of remaining shots with RAW - done :D
« Reply #106 on: 15 / February / 2008, 18:20:33 »
Yeah, tested OK !

Great idea about the lang files, I'll work on a Dutch one !
I also improved (?) the English one a bit, I'll attach it
(I revamped Battery & Filespace a bit)

wim

edit: never mind my edits for gui_osd.c - i stink at
       writing code, am better at debugging  :haha
       again, kudo's to you & jucifer !

 
« Last Edit: 15 / February / 2008, 18:24:54 by whim »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #107 on: 15 / February / 2008, 18:31:24 »
so you already have a working copy with all things you wrote here? of course you have :D this way i dont have to apply the diff myself (i dont really know how to do that automatically - yet). can you upload all changed files (zipped)?
i'll see what i can finally do about the icon. and the RAW/EXP has to be reactivated, or we find another solution to the raw when in movie mode.
have you btw found out why in every movie mode only movie_std is kicked in? what camera model do you have?


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Calculation of remaining shots with RAW - done :D
« Reply #108 on: 15 / February / 2008, 18:33:03 »
Let me up it to Zshare, then i'll link it to this post ...

here (for A620)

allbest-a620-100f-32@300mod.zip - 0.20MB

...and here's the others (not tested, I only have A620)

300mod-phy-juci.zip - 5.25MB

enjoy!

wim

btw: I think it's slightly ridiculous to reactivate it in movie mode again - can't one just activate Filespace MB,
       or turn the knob ?
       Don't know about VIDEO_MODE_STD.
« Last Edit: 15 / February / 2008, 18:50:53 by whim »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #109 on: 15 / February / 2008, 18:50:27 »
hehe, actually i meant the sources :D
and especially the changed files, so can overwrite them into my working copy and commit to my svn and then diff it to see the changes :D
i'll test your build though.

 

Related Topics