Adding feature support "File Write Task" (FWT): 52 Cams || 41 done || 11 to go - page 13 - General Discussion and Assistance - CHDK Forum

Adding feature support "File Write Task" (FWT): 52 Cams || 41 done || 11 to go

  • 258 Replies
  • 64050 Views
*

Offline koshy

  • *****
  • 1063
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 34 to go
« Reply #120 on: 04 / October / 2014, 19:25:00 »
Advertisements
a2100 palette patch.
With this one the UI overlay gives the strange pixel noise again.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline nafraf

  • *****
  • 1308
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 34 to go
« Reply #121 on: 04 / October / 2014, 19:28:04 »
Can you post a built version for me? FW 100C
Sorry, I forgot to include 100c/filewrite.c and 100c/code_gen.c in the patch.
New patch and compiled version in attachment.

*

Offline koshy

  • *****
  • 1063
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 34 to go
« Reply #122 on: 04 / October / 2014, 19:37:04 »
Patch for ixus95_sd1200 v2.
Previous patches did not include void *vid_get_bitmap_active_buffer().
Attached is a quick composite of what shows on camera and what shows in CHDKPTP. Just because the orange used for everything  on camera seemed unpleasant enough to show it here, too. Also since a memory dump while canon menu was showing was useful for the G7 I made one for the IXUS 95, too.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1063
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 34 to go
« Reply #123 on: 04 / October / 2014, 19:39:05 »
Sorry, I forgot to include 100c/filewrite.c and 100c/code_gen.c in the patch.
New patch and compiled version in attachment.
Don't worry. Thanks for the update. I'll get to it now.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)


*

Offline koshy

  • *****
  • 1063
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 34 to go
« Reply #124 on: 04 / October / 2014, 19:53:27 »
patch for sx100is.
Port was rewritten using code_gen, please do a full test as done for a2100.
Thanks.
Splendid this one worked right away. I think SX100 is done.

Here is what I tested:

- SX100 boots both using power and play button
- SX100 shoots DNG on quick full shutter press without waiting for AF
- SX100 shoots DNG on regular camera operation
- Video Quality overrides (5 and 90) were tested and work
- ETR was tested with 00:01:31 and worked
- FWT was tested in single and continuous mode
    - it worked including switching to playback and back to Rec mode afterwards
- remote DNG capture works
- palettes and UI overlay operation in CHDKPTP are fine
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1063
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 34 to go
« Reply #125 on: 05 / October / 2014, 08:14:59 »
patch for sx100is.
Port was rewritten using code_gen, please do a full test as done for a2100.
Thanks.
Splendid this one worked right away. I think SX100 is done.
I saw this was added to trunk as changeset 3639. Very good, thanks.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline nafraf

  • *****
  • 1308
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 33 to go
« Reply #126 on: 05 / October / 2014, 23:18:43 »
Patch for ixus105_sd1300 fwt support.

*

Offline koshy

  • *****
  • 1063
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 33 to go
« Reply #127 on: 06 / October / 2014, 14:18:57 »
Patch for ixus105_sd1300 fwt support.
FWT is fine in Single mode. One can even go to play and back. In continuous mode I can't shoot from CHDKPTP. I get "ERROR: init failed" for both DNG and JPEG. Palette looks fine but the Live view has a glitch. It works but every few (two or three) seconds it displays a garbled image for half a second or so. The time frame after which that happens seems constant. Pointing the cam elsewhere does not change the distorted image. I'm attaching screen caps of two such distortions I saw. At first it was the lower state and after shooting the first time the upper one.

A request: if you're adding fwt support to DryOS r39...r49 cameras, please test also:
- single and continuous mode with L sized superfine JPEGs shooting a very detailed scene - I'm using a fine black/white grid displayed on my monitor for this. If superfine is not available on the Canon UI, use the CHDK quality override.
I did set it to superfine mode and it kept working in single shot mode. I used this image on screen.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)


*

Offline nafraf

  • *****
  • 1308
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 33 to go
« Reply #128 on: 06 / October / 2014, 14:54:49 »
Patch for ixus105_sd1300 fwt support.
FWT is fine in Single mode. One can even go to play and back. In continuous mode I can't shoot from CHDKPTP. I get "ERROR: init failed" for both DNG and JPEG.
ixus105 and A495 have the same DryOS release version (#0043), then patch for ixus105 was based on A495 port, and defines CAM_FILEWRITETASK_MULTIPASS=1. Maybe the problem is related to a wrong value of OFLAG_NOFLUSH

@srsa_4c:  Could you guide us to determine/check the value of OFLASH_NOFLUSH?
Thanks.

@koshy: I'll check liveview functions.
« Last Edit: 06 / October / 2014, 14:56:45 by nafraf »

*

Offline srsa_4c

  • ******
  • 4426
Re: Adding feature support "File Write Task" (FWT): 50 Cams || 33 to go
« Reply #129 on: 06 / October / 2014, 15:06:48 »
A request: if you're adding fwt support to DryOS r39...r49 cameras, please test also:
- single and continuous mode with L sized superfine JPEGs shooting a very detailed scene - I'm using a fine black/white grid displayed on my monitor for this. If superfine is not available on the Canon UI, use the CHDK quality override.
Forgot to mention that this has to be tested without CAM_FILEWRITETASK_MULTIPASS in platform_camera.h, because multipass cameras are not allowed to remote shoot when in continuous mode. So, the errors in continuous mode are perfectly normal.

@srsa_4c:  Could you guide us to determine/check the value of OFLASH_NOFLUSH?
The fw fwt code tests 'oflags' for OFLAG_NOFLUSH which always seems to be 0x8000, see for example a490 100d:
Code: [Select]
void __attribute__((naked,noinline)) sub_FFDE37A4_my() {
asm volatile (
"    STMFD   SP!, {R4-R6,LR} \n"
...
"    MOV     R4, R0 \n"
...
"    LDR     R1, [R4, #8] \n" -> offset of oflags
...
"    TST     R1, #0x8000 \n" -> OFLAG_NOFLUSH

 

Related Topics