IXUS 1000 HS Porting Thread - page 16 - DryOS Development - CHDK Forum supplierdeeply

IXUS 1000 HS Porting Thread

  • 439 Replies
  • 132969 Views
Re: IXUS 1000 HS Porting Thread
« Reply #150 on: 14 / November / 2010, 05:15:15 »
Advertisements
>maybe because I have the bin file in the folder?

I compile several time and get the error, and then i remove a space before /n in a sub that give error.and then all compile well.
Seem there was a file too old in the stub creation.after i save boot.c  stubs_auto.s have the missing entries.
So when get such a error, it seem help to store the file to get new date.

But i get now image record not work correct.when press shoot half exposure is ok,  but the record image is overexpose a lot
Only when i deactivate this,

//if(!_strcmp(tcb->name, "ExpDrvTask"))      tcb->entry = (void*)exp_drv_task; //JHARP - Verified name - Sept 5, 2010

then it work.

I upload my config with many activate displays here.you can also see that zebra mode  not work.Any idea wy ?.normaly when histogramm work, i think zebra mode should work too, when zebra mode is switch on

or do i miss to set another Option ?

http://www.zshare.net/download/826966455d772bb0/

BTW: Also the jpeg overwrite superfine work.thats great in chdk.file size increase from 2,2 MB to 3.7 MB on near same image.I see on some pictures(with wood and grass  block artefact on Canon value.Now i hope get better quality.But i test more.
« Last Edit: 14 / November / 2010, 05:17:07 by Bernd R »
Ixus 1000 HS

Re: IXUS 1000 HS Porting Thread
« Reply #151 on: 14 / November / 2010, 05:21:28 »
@reyalp

I'm working on movie_rec.c , it could be interesting to mess up with the 240fps movie mode!!


about this high speed of the Sensor, is it maybe possible that the sensor return 16 bit values per Pixel ?

This cost more memory, but 16 bit data can process lots faster from the CPU.

The CMOS Sensor is able to capture 30 fps at 9 megapixel, as can see in the Casio FH100 or other.

in the IXUS 300 thread i read, that its find out that these CAM have lots more memory as other

so maybe it can possible that sensor return 16 bit for faster CPU process ?.this also explain wy wb2000 raw images are larger.
« Last Edit: 14 / November / 2010, 05:23:35 by Bernd R »
Ixus 1000 HS

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: IXUS 1000 HS Porting Thread
« Reply #152 on: 14 / November / 2010, 06:21:24 »
Quote
about this high speed of the Sensor, is it maybe possible that the sensor return 16 bit values per Pixel


maybe we have to dig into the code to find out.

Quote
but the record image is overexpose a lot

This is because you need the new propset3.h , once you have no overexposes

http://www.4shared.com/file/8PLJdFIQ/propset3sx210ixus1000.html

Re: IXUS 1000 HS Porting Thread
« Reply #153 on: 14 / November / 2010, 07:33:52 »
>This is because you need the new propset3.h , once you have no overexposes

>http://www.4shared.com/file/8PLJdFIQ/propset3sx210ixus1000.html

I compile with your propset3.h

it have older filedate.
but the overxpose is the same.

see that images

http://www.zshare.net/download/826998685ce62f6a/

76 is as it look in SHOOT_HALF(with chdk too) and record correct with old firmware or when expdrv task is  disable.
77 is the overexposed version i get with chdk and ExpDrvTask enable.

need this expdrv task RAW Sensor data ?

EDIT:

Have you a new shooting.c file and have you this table ?.the SX210 is diffrent.i change the table to this

const ISOTable iso_table[] = {
   { -1,    1,   "HI", -1},
   {  0,    0, "Auto", -1},
   {  1,  125 , "125", -1},
   {  2,  200,  "200", -1},
   {  3,  400,  "400", -1},
   {  4,  800,  "800", -1},
   {  5, 1600, "1600", -1},
   {  6, 3200, "3200", -1},
};

I think also this need change.The IX1000 begin with 3.4.what highest is i dont know

const ApertureSize aperture_sizes_table[] = {
   {  9, 322, "3.1" },
    { 10, 352, "3.5" },
   { 11, 384, "4.0" },
   { 12, 416, "4.5" },
   { 13, 448, "5.0" },
   { 14, 480, "5.6" },
   { 15, 512, "6.3" },
   { 16, 544, "7.1" },
   { 17, 576, "8.0" }
};
« Last Edit: 14 / November / 2010, 08:01:19 by Bernd R »
Ixus 1000 HS


*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: IXUS 1000 HS Porting Thread
« Reply #154 on: 14 / November / 2010, 09:51:12 »
Hi Bernrd

I dont have the overexpose in 100F, maybe I get something wrong when building 100D,

The tables are wrong too, since the cam dosn't have a manual mode, we must take it from the specs

I have updated the sources to work with the latest trunk  969 here you have all, also the 100F Firmware is in it
http://www.4shared.com/file/yhjULGed/sx210-ixus1000asm1989trunk969.html

I sugest you use http://www.4shared.com to upload files, so you can control them and have less adds
« Last Edit: 14 / November / 2010, 10:12:49 by asm1989 »

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: IXUS 1000 HS Porting Thread
« Reply #155 on: 14 / November / 2010, 12:00:22 »
Bernrd here you have the firs test of the movie stuff, 
It hangs recording video , but not with slow motion, maybe the slowmotion is another task or other part of the code

http://www.4shared.com/file/i2VF5Xay/ixus1000-100Dmovie_recc-v001.html

you cant test with the blink to see where it fails

you need to enable this at boot.

Code: [Select]
if(!_strcmp(tcb->name, "MovieRecord"))     tcb->entry = (void*)movie_record_task;
-in other things, maybe the overexposed thing is because you dont have the 2 hooks in boot.c

Code: [Select]
   *(int*)0x1938=(int)taskHook;
      *(int*)0x193C=(int)taskHook;
« Last Edit: 14 / November / 2010, 13:58:33 by asm1989 »

Re: IXUS 1000 HS Porting Thread
« Reply #156 on: 14 / November / 2010, 14:31:32 »
ok, thanks the 969 build work here too with correct exposure.also the DOF show is correct now.zebra mode not work.does zebra mode work on your CAM ?

for the video:

problem is because of 3.4 volt is need to update chdk, and video mode cost lots of battery power, battery must often reload.

Is it possible that chdk booting on 4gb Card can work ?.Hope here is not the 3.4 Volt Limit.

what feature give chdk for Video ?
IX1000 allow zoom during record and before record you can set exposure compensation.

maybe we should first get the other things working correct ?. have not much time and it seem much work.

only i miss for video is that exposure can change during record.currently there need switch of the record and change.

the important things i want use in chdk and currently not work.

zebra mode or other overexpose that show more clear as a histogram overexpose.
scripts
RAW
possible to change with a key easy EV and ISO
Grid (should center on 16:9 in record mode)

I find out now , when disable the RAW store in jpg dir Option, then no crash happen, also when dcim dir is not here
« Last Edit: 14 / November / 2010, 14:35:04 by Bernd R »
Ixus 1000 HS

*

Offline reyalp

  • ******
  • 13440
Re: IXUS 1000 HS Porting Thread
« Reply #157 on: 14 / November / 2010, 14:57:57 »
@reyalp

I'm working on movie_rec.c , it could be interesting to mess up with the 240fps movie mode!!

and I need to override this
Code: [Select]
" LDR R6, =0xFF986050\n"
could I do it with this:
Code: [Select]
" LDR R6, =sub_FF986050_my\n" ?

Should be, assuming FF986050 is a function ;)
Don't forget what the H stands for.


Re: IXUS 1000 HS Porting Thread
« Reply #158 on: 15 / November / 2010, 09:24:41 »
I see the 969 build have new propset3.h file with diffrent values

compile with GCC 3 there come lots warnings of no newline at end of file.
I add a newline at line 175 and save and the warnings are gone.should i upload file or you wish change yourself ?

In file included from ../../include/platform.h:38,
                 from ubasic.c:50:
../../include/propset3.h:175:7: warning: no newline at end of file
In file included from ../../include/platform.h:38,

.....

Edit:

I test now the video capture, it crash badly when press the record video button.rec is show but then it freeze and after 4 sec camera switch off and do not move the Lens in and restart with Lens out.
I look if something usefull is in romlog, but there is no entry written.what i get was from 13.11
« Last Edit: 15 / November / 2010, 09:51:22 by Bernd R »
Ixus 1000 HS

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: IXUS 1000 HS Porting Thread
« Reply #159 on: 15 / November / 2010, 13:24:00 »
@Bernd R

I have disabled warning,

about video if you can trace where it fails it will help me unbug it.

 

Related Topics