IDA Disassemble where i found RAW Pixel values for SD4000 1.00D:
In function Getcaptureinfodata it's at the first brache:
ROM:FFB28F14 Getcaptureinfodata ; DATA XREF: ROM:FFC2B46C
ROM:FFB28F14
ROM:FFB28F14 var_10 = -0x10
ROM:FFB28F14 var_C = -0xC
ROM:FFB28F14
ROM:FFB28F14 STMFD SP!, {R0-R4,LR}
ROM:FFB28F18 LDR R0, [R0]
ROM:FFB28F1C MOV R1, SP
ROM:FFB28F20 ADR R3, aShd_capture_info ; "SHD_CAPTURE_INFO"
ROM:FFB28F24 BL sub_FFB28EAC ; <--------------------------------
ROM:FFB28F28 TST R0, #1
ROM:FFB28F2C BNE loc_FFB28F68
ROM:FFB28F30 MOV R2, #0x10
ROM:FFB28F34 MOV R1, SP
ROM:FFB28F38 MOV R0, R3
ROM:FFB28F3C BL sub_FF8679E8
ROM:FFB28F40 TST R0, #1
ROM:FFB28F44 BNE loc_FFB28F68
ROM:FFB28F48 LDMFD SP, {R1,R2}
ROM:FFB28F4C ADR R0, aCapturesize04l ; "CaptureSize : ( %04ld, %04ld )\r"
ROM:FFB28F50 BL sub_FF93CE94
ROM:FFB28F54 LDR R1, [SP,#8]
ROM:FFB28F58 LDR R2, [SP,#0xC]
ROM:FFB28F5C ADR R0, aAngeloutputsiz ; "AngelOutputSize : ( %04ld, %04ld )\r"
ROM:FFB28F60 BL sub_FF93CE94
ROM:FFB28F64 MOV R0, #0
ROM:FFB28F68
ROM:FFB28F68 loc_FFB28F68 ; CODE XREF: Getcaptureinfodata
ROM:FFB28F68 ; Getcaptureinfodata
ROM:FFB28F68 ADD SP, SP, #0x10
ROM:FFB28F6C LDMFD SP!, {R4,PC}
ROM:FFB28EAC sub_FFB28EAC ; CODE XREF: Getcaptureinfodata
ROM:FFB28EAC CMP R1, #0
ROM:FFB28EB0 MOVEQ R0, #0x11
ROM:FFB28EB4 BXEQ LR
ROM:FFB28EB8 CMP R0, #0
ROM:FFB28EBC BEQ loc_FFB28EEC
ROM:FFB28EC0 CMP R0, #1
ROM:FFB28EC4 MOVNE R0, #3
ROM:FFB28EC8 BXNE LR
ROM:FFB28ECC MOV R0, #1904
ROM:FFB28ED0 STR R0, [R1]
ROM:FFB28ED4 LDR R0, =1390
ROM:FFB28ED8 STR R0, [R1,#4]
ROM:FFB28EDC MOV R0, #1824
ROM:FFB28EE0 STR R0, [R1,#8]
ROM:FFB28EE4 SUB R0, R0, #0x1C8
ROM:FFB28EE8 B loc_FFB28F08
ROM:FFB28EEC ; ---------------------------------------------------------------------------
ROM:FFB28EEC
ROM:FFB28EEC loc_FFB28EEC ; CODE XREF: sub_FFB28EAC
ROM:FFB28EEC LDR R0, =3816 ; RAW H Pixel
ROM:FFB28EF0 STR R0, [R1]
ROM:FFB28EF4 MOV R0, #2784 ; RAW V Pixel
ROM:FFB28EF8 STR R0, [R1,#4]
ROM:FFB28EFC MOV R0, #3648 ; JPEG H Pixel
ROM:FFB28F00 STR R0, [R1,#8]
ROM:FFB28F04 MOV R0, #2736 ; JPEG V Pixel
ROM:FFB28F08
ROM:FFB28F08 loc_FFB28F08 ; CODE XREF: sub_FFB28EAC
ROM:FFB28F08 STR R0, [R1,#0xC]
ROM:FFB28F0C MOV R0, #0
ROM:FFB28F10 BX LR
Reference to Getcaptureinfodata function:
ROM:FFC2B464 DCD GetUnpackCrwIntegralMultiValueForShadin ; StartRedirectUART
ROM:FFC2B468 DCD aGetcaptureinfodata ; "GetCaptureInfoData"
ROM:FFC2B46C DCD Getcaptureinfodata ; <----------------- Points to function
ROM:FFC2B470 DCD aReloaddefectadjustmentdata ; "ReloadDefectAdjustmentData"
ROM:FFC2B474 DCD Reloaddefectadjustmentdata
ROM:FFC2B478 DCD aReloadshadingadjustmentdata ; "ReloadShadingAdjustmentData"