A1100 IS Porting thread - page 20 - DryOS Development - CHDK Forum  

A1100 IS Porting thread

  • 646 Replies
  • 193759 Views
Re: A1100 IS Porting thread
« Reply #190 on: 30 / April / 2010, 03:15:02 »
Advertisements
Latest WOKR LIST:
1.RAW saving              ----->doing
2.super fine image quality option -------------->doing
3.allow optical zooming during recording
4.ISO ,aperture ,shutter speed,       cover

Re: A1100 IS Porting thread
« Reply #191 on: 30 / April / 2010, 04:42:33 »
Will PICASA display the raw file ?


Re: A1100 IS Porting thread
« Reply #192 on: 30 / April / 2010, 08:43:27 »
Will PICASA display the raw file ?


sure!
like this:
first is raw,
second is dng.

Re: A1100 IS Porting thread
« Reply #193 on: 01 / May / 2010, 19:33:04 »
OK,the super fine JPEG file quality work fine now.
The RAW also have problem.


Re: A1100 IS Porting thread
« Reply #194 on: 01 / May / 2010, 19:41:14 »
The RAW also have problem.

I am surprised that people who have ported other cameras have not been able to give you any advice.


*

Offline ERR99

  • ****
  • 339
Re: A1100 IS Porting thread
« Reply #195 on: 02 / May / 2010, 02:06:04 »
OK,the super fine JPEG file quality work fine now.
The RAW also have problem.
So what are the values your are currently using for:
#define CAM_RAW_ROWPIX
#define CAM_RAW_ROWS
char *hook_raw_image_addr()
long hook_raw_size()

Re: A1100 IS Porting thread
« Reply #196 on: 02 / May / 2010, 11:11:29 »
So what are the values your are currently using for:
#define CAM_RAW_ROWPIX
#define CAM_RAW_ROWS
char *hook_raw_image_addr()
long hook_raw_size()

lib.c
char *hook_raw_image_addr()
{
   return (char*) 0x4139E56C; // "CRAW BUFF"---fixed
}

long hook_raw_size()
{
   return 0x11E4EE0;           // "CRAW BUFF SIZE"---fixed
}

camera.h

   #define CAM_RAW_ROWPIX              4080  
    #define CAM_RAW_ROWS                3048  


I think in lib.c the two function  
char *hook_raw_image_addr()
long hook_raw_size()
address are rigth.I have  checked many times.
But do not konw how  to to caculate the  CAM_RAW_ROWPIX and   CAM_RAW_ROWS.
After see some comment on other camera,I still not very clear.
I need help.
« Last Edit: 02 / May / 2010, 11:14:58 by xiaofeng »

*

Offline ERR99

  • ****
  • 339
Re: A1100 IS Porting thread
« Reply #197 on: 02 / May / 2010, 12:45:13 »
But do not konw how  to to caculate the  CAM_RAW_ROWPIX and   CAM_RAW_ROWS.
After see some comment on other camera,I still not very clear.
I need help.
Regarding to the assembler code you posted before, it should be:
CAM_RAW_ROWPIX 4104
CAM_RAW_ROWS 3048


Re: A1100 IS Porting thread
« Reply #198 on: 03 / May / 2010, 10:01:48 »
Quote
Regarding to the assembler code you posted before, it should be:
CAM_RAW_ROWPIX 4104
CAM_RAW_ROWS 3048
Thanks ERR99.
the camera work more good now.
The raw file cant open with picasa and any other software.
But the DNG file works.
The DNG file's color is not correct.
How to resovle it?
Here is  the dng and jpg.
« Last Edit: 03 / May / 2010, 21:28:53 by xiaofeng »

*

Offline ERR99

  • ****
  • 339
Re: A1100 IS Porting thread
« Reply #199 on: 03 / May / 2010, 10:11:34 »
Which values you are using in camera.h for the DNG Colormatrix stuff? (for cam_CFAPattern, CAM_COLORMATRIX1, cam_CalibrationIlluminant1).

You have to calibrate/generate this values for every camera, as described here: http://chdk.wikia.com/wiki/DNG4PS-2/Calibration

 

Related Topics