Adding new cameras, applying patches into trunk (with source code prepared) - page 100 - General Discussion and Assistance - CHDK Forum  

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1679 Replies
  • 768631 Views
*

Offline rudi

  • ***
  • 129
  • A590IS_101B, SX260HS_100B
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #990 on: 08 / February / 2013, 06:26:53 »
Advertisements
Patch enabled DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY on sx260 and cleanup stubs.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #991 on: 08 / February / 2013, 07:43:11 »
Patch enabled DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY on sx260 and cleanup stubs.

Added in revision 2557 (trunk) and 2558 (release-1.1 - stubs changes only).

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 blackhole

  • *****
  • 936
  • A590IS 101b
    • Planetary astrophotography
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #992 on: 09 / February / 2013, 11:16:06 »
Update for Croatian language file-developer version 1.2

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #993 on: 10 / February / 2013, 15:02:55 »
Small patch for camera_set_led() function of the A1200.   
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline nafraf

  • *****
  • 1308
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #994 on: 10 / February / 2013, 15:39:07 »
a2300 100f port (ALPHA)
Thanks to merxator and stefanb for testing.

*

Offline reyalp

  • ******
  • 14072
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #995 on: 10 / February / 2013, 20:41:13 »
Update for Croatian language file-developer version 1.2
Added, trunk changeset 2561

Small patch for camera_set_led() function of the A1200.   
Added, trunk changeset 2562, stable changeset 2563

Edit:
a2300 100f port (ALPHA)
Thanks to merxator and stefanb for testing.
Added trunk changeset 2565 stable changeset 2566
« Last Edit: 10 / February / 2013, 21:14:55 by reyalp »
Don't forget what the H stands for.

*

Offline srsa_4c

  • ******
  • 4451
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #996 on: 16 / February / 2013, 10:06:09 »
As written here, running the trunk version of the benchmark seems to make all (DIGIC ... DIGIC III) cameras shut down in the middle of tests.
Attached is a possible solution. I have split the 4 memory related tests into separate functions, and left the rest in place. Leaving the O0 attribute on gui_bench_run() also works now (the patch doesn't include it).
I'd like to ask for others' opinion.
I don't mind if I'm not the one committing this, especially if it could be (further) improved.

Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #997 on: 16 / February / 2013, 10:56:58 »
Patch file to add a script function md_get_cell_val() that returns motion detection actual cell values rather than just differences as returned by md_get_cell_diff().

Discussion thread is here :  http://chdk.setepontos.com/index.php?topic=9437.0

Per the linked thread, function can be useful in MD scripts for determining if a scene has returned to its original quiescent state.  Should also be very handy for implementing AGC for the md_detect_motion()'s sensitivity parameter.


« Last Edit: 16 / February / 2013, 11:01:16 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #998 on: 17 / February / 2013, 11:17:15 »
Two small patches to enable MD testing for the G10 and ixus120_sd940.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4451
Re: Adding new cameras, applying patches into trunk (with source code prepared)
« Reply #999 on: 17 / February / 2013, 11:28:47 »
For vxworks, we need to find sys_mempart_id, which I haven't finished doing for all cameras. Baring typos, I think to should be safe to turn on for all that have been found.
From a quick look, sys_mempart_id could be found by looking at an eventproc named "memShow" which is a wrapper for memPartShow. The latter needs sys_mempart_id as its first param.
Done. I have also verified the already found values (A, G series) except for a570 101a (that dump seems to be missing from the "collection"). Patch attached, enables CAM_FIRMWARE_MEMINFO  for all VxWorks ports which support it.
I chose not to commit this without consent, as it has impact on many ports and the only one I can test is the Ixus65.
« Last Edit: 17 / February / 2013, 19:39:10 by srsa_4c »

 

Related Topics