Skip to content

Commit

Permalink
ixus300_sd4000 RAW stuff updated, now we get at least a corrupt RAW f…
Browse files Browse the repository at this point in the history
…ile with correct filenumber instead of camera shutdown
  • Loading branch information
pixeldoc2000 committed Oct 26, 2010
1 parent ac38b71 commit 7352360
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
13 changes: 6 additions & 7 deletions platform/ixus300_sd4000/shooting.c
@@ -1,12 +1,11 @@
#define PARAM_FILE_COUNTER 0x34 // 0x37 ?!?
//#define PARAM_FILE_COUNTER 0x93 // 0x93 = 147, count of available Camera Parameter (use "Debug Paramenters -> Debug data display -> Params" to view number of Parameters)

// DRYOS-Notes:
// propertycase
// 196 - overall brightness (of viewport?)

#include "platform.h"

// Camera Parameter Number of Image Filenumber
// wrong PARAM_FILE_COUNTER cause camera shutdown if RAW is enabled or wrong number in RAW filename (for example always CRW_0001.CRW)
// use "Debug Paramenters -> Debug data display -> Params" to verify
// 0x93 = 147, count of available Camera Parameter
#define PARAM_FILE_COUNTER 0x3A

// ToDo
// PropertyCase 23 ?!?
// watch PropertyCase Value with "Debug data display" and compare with F value
Expand Down
5 changes: 2 additions & 3 deletions platform/ixus300_sd4000/sub/100d/lib.c
Expand Up @@ -11,17 +11,15 @@
// ROM:FFB28EF4 0xAE0 = 2784 pixel
// 3816 * 2784 = 10623744

/*
// ROM:FFB29270, like SX210
// search String "CRAW BUFF"
char *hook_raw_image_addr() {
return (char*)0x4132C0A0; // first RAW buffer address
//return (char*)0x40AFF8A0; // second RAW buffer address
//return (char*)0x44CF6800; // third RAW buffer address
}
*/


/*
// ROM:FFB2926C 0x4132C0A0 First RAW address
// ROM:FFB60E70 Table contains first RAW address mentioned in SD990
// function ROM:FF87ED4C referens the table with first RAW address (SsImgProcBuf.c)
Expand All @@ -30,6 +28,7 @@ char *hook_raw_image_addr() {
char *hook_raw_image_addr() {
return (char*) (*(int*)(0x2CCC + 0xC)? 0x46000000 : 0x4132C0A0);
}
*/

// ROM:FFB292D0, like SX210
// search String "CRAW BUFF SIZE"
Expand Down

0 comments on commit 7352360

Please sign in to comment.