keeping an up to date list of optional features - General Discussion and Assistance - CHDK Forum

keeping an up to date list of optional features

  • 10 Replies
  • 5595 Views
*

Offline reyalp

  • ******
  • 14128
keeping an up to date list of optional features
« on: 03 / August / 2013, 16:29:03 »
Advertisements
Re: http://chdk.setepontos.com/index.php?topic=10469.msg103510#msg103510

This is something that comes up a lot. It would be possible to make a build target that greps the platform_camera.h files for interesting values and outputs a table of which cameras support which options. This could be output as wiki text or html and periodically posted on the wiki.

Possible "Interesting" values
CAM_PROPSET
CAM_DRYOS
CAM_EXT_TV_RANGE
CAM_HAS_FILEWRITETASK_HOOK
CAM_HAS_ND_FILTER
CAM_HAS_IRIS_DIAPHRAGM
CAM_MULTIPART
CAM_RAW_ROWPIX
CAM_RAW_ROWS
CAM_SENSOR_BITS_PER_PIXEL
CAM_JPEG_WIDTH
CAM_JPEG_HEIGHT

The point here is things that are interesting to end users, not internal implementation stuff like  CAM_UNCACHED_BIT or CAM_STARTUP_CRASH_FILE_OPEN_FIX

I'm not putting this in the 1.3 thread, because there's no particular reason to restrict it to 1.3

A text version of this could also be appended to the camera notes.txt when building the readme.

The shortcut keys would also be useful, but would probably be difficult to parse out.
« Last Edit: 03 / August / 2013, 16:30:55 by reyalp »
Don't forget what the H stands for.

*

Offline nafraf

  • *****
  • 1308
Re: keeping an up to date list of optional features
« Reply #1 on: 04 / August / 2013, 17:33:16 »
In attachment a script to export features.
Temporarily, a sample output is here.
To do: define default values for SENSOR_BITS_PER_PIXEL ?
Suggestions? :)

*

Offline reyalp

  • ******
  • 14128
Re: keeping an up to date list of optional features
« Reply #2 on: 04 / August / 2013, 17:43:46 »
Nice, that's already a big improvement over telling users "grep the source"

For end users, it might be nice to massage the labels and columns a bit, for example, CAM_RAW_ROWPIX CAM_RAW_ROWS becomes just "raw" or "raw size" and the value is 4000x3000
This could make the table a little more compact. A key for what filewrite, ext_tv_range etc mean would also be good.
Don't forget what the H stands for.

*

Offline nafraf

  • *****
  • 1308
Re: keeping an up to date list of optional features
« Reply #3 on: 04 / August / 2013, 22:45:28 »
Thanks for your comments. A new version here.
- Column titles are defined in different field.
- RAW and JPG modified.
To do: Default values and maybe a different format for binary fields.
EDIT:
Latest source code:export_features.bash
To do: Read #undef
« Last Edit: 05 / August / 2013, 02:51:01 by nafraf »

*

Offline reyalp

  • ******
  • 14128
Re: keeping an up to date list of optional features
« Reply #4 on: 10 / August / 2013, 02:15:11 »
Thanks for your comments. A new version here.
- Column titles are defined in different field.
- RAW and JPG modified.
To do: Default values and maybe a different format for binary fields.
EDIT:
Latest source code:export_features.bash
To do: Read #undef
The current http://chdk.wikia.com/wiki/User:Nafraf/csv2wiki looks very nice, except the Diaphragm column is all "No"
Don't forget what the H stands for.

*

Offline nafraf

  • *****
  • 1308
Re: keeping an up to date list of optional features
« Reply #5 on: 10 / August / 2013, 15:02:17 »
The current http://chdk.wikia.com/wiki/User:Nafraf/csv2wiki looks very nice, except the Diaphragm column is all "No"
Thanks for checking that. I updated the script, and wikia page. I think that now it is right.
Script source code: export_features.bash

*

Offline srsa_4c

  • ******
  • 4451
Re: keeping an up to date list of optional features
« Reply #6 on: 11 / August / 2013, 13:05:38 »
@nafraf

IMHO the page is now ready to be official.

The following ports need #undef CAM_HAS_IRIS_DIAPHRAGM:
A3200, A3300, Ixus105/SD1300

*

Offline nafraf

  • *****
  • 1308
Re: keeping an up to date list of optional features
« Reply #7 on: 25 / August / 2013, 18:02:03 »

Re: keeping an up to date list of optional features
« Reply #8 on: 04 / December / 2013, 09:03:22 »
I think it might be good to add a column for cameras that have CAM_CHDK_HAS_EXT_VIDEO_TIME ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1308
Re: keeping an up to date list of optional features
« Reply #9 on: 04 / December / 2013, 09:22:23 »
I think it might be good to add a column for cameras that have CAM_CHDK_HAS_EXT_VIDEO_TIME ?
Done. More columns can be added, the only problem is wikia visualization. Any suggestion? :)

 

Related Topics


SimplePortal © 2008-2014, SimplePortal