Author |
All about camdriver modding (for modders) |
number1 Joined: Sep 12, 2007 Posts: > 500 From: UK,kent,Sittingbourne PM |
could this be used in the k800i, k800i has CHANGE_MODE, so it should work. |
|
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
i don't know, you can try
|
number1 Joined: Sep 12, 2007 Posts: > 500 From: UK,kent,Sittingbourne PM |
i'll try it later |
sadeghi85 Joined: Oct 13, 2007 Posts: 341 PM |
How can i change jpeg header to add some value to exif? i've seen that "Model" in exif data can be changed.
another question, when camera will take picture it'll read the camdriver for instructions, but after taking and saving pic will it read camdriver from beginning?(i mean, will it read seq_init again?)
yet another question, i used this code for linear zoom:
Code:
|
seq_set_prop_6 = $s4 %0 $c4 0a $s5 00 $cl $s5 64 $<5 3 $<4 4 $-5 r4 $/5 0a $cx
$+5 80 #COM_EVENT(61,$w5);
|
|
but it works when ambient light is low, it won't work in outdoor, why? |
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
1. nobody knows this, only SE engineers
2. no
3. as for me seq_set_prop_6 is entirely dead in normal camera work. it is refreshed after snapshot (i don't remember). it is used in VideoTelephony after switch from front to back camera
_________________
K800 R1KG001 (camdriver 6.1)
raider.4shared.com
flickr.com/photos/raiderek
[ This Message was edited by: Raiderski on 2008-03-05 15:07 ] |
number1 Joined: Sep 12, 2007 Posts: > 500 From: UK,kent,Sittingbourne PM |
i changed the phone name in my exif data, it's not done in the driver it requires a customize_upgrade.xml script, it changes the name of your phone. |
sadeghi85 Joined: Oct 13, 2007 Posts: 341 PM |
Thanks for replies. |
number1 Joined: Sep 12, 2007 Posts: > 500 From: UK,kent,Sittingbourne PM |
are these post-processing things really needed???
//**************************************************
// Contrast, property 20 ****
//**************************************************
// 0 => -8 ... 8 => 0 ... 17 => 8
//-------------------------------------------------
seq_set_prop_14 = $s5 %0
$-5 08
#COM_EVENT(55,$w5);
//**************************************************
// Sharpening, property 21 ****
//**************************************************
// 0 => -8 ... 8 => 0 ... 17 => 8
//-------------------------------------------------
seq_set_prop_15 = $s5 %0
$-5 08
#COM_EVENT(56,$w5);
i erased them from the driver it seems to make no difference
|
ahil13 Joined: Oct 09, 2007 Posts: 83 From: BULGARIA PM |
Code:
| //============ JPEG HEADER CREATION ==============
//================================================
//
// Same header as in clara with the difference that
// restart is added.
//
jpeg_qtable_selector_0=$s2 00 #READ_REG(26, $r2 0 0);
jpeg_qtable_selector_1=$s2 01 #READ_REG(26, $r2 0 0); //changed from 1a
jpeg_qtable_0=10 0B 0C 0E 0C 0A 10 0E
;
jpeg_qtable_1=11 12 12 18 15 18 2F 1A
;
jpeg_qtable_factors =
jpeg_header= FF D8
; |
|
i use this and it`s all right
also this in t650`s driver
Code:
|
// Digital Sharpening, property 21
//
// 0 => Off 1 => +1 1 => +2 1 => +3
// 4 => +4 5 => +5 6 => Auto
//**************************************************
seq_set_prop_15_0 = #WR_REG(21, 80);
seq_set_prop_15_1 = #WR_REG(21, 00);
seq_set_prop_15_2 = #WR_REG(21, 01);
seq_set_prop_15_3 = #WR_REG(21, 02);
seq_set_prop_15_4 = #WR_REG(21, 03);
seq_set_prop_15_5 = #WR_REG(21, 04);
seq_set_prop_15_6 = #WR_REG(21, 40); |
|
40 is auto ? i will try on my k800 just for fun
|
Raiderski Joined: Jul 03, 2006 Posts: > 500 From: Poland, Hell, Mountains PM, WWW
|
many things in code are useless, they were used only during driver creation process
|
number1 Joined: Sep 12, 2007 Posts: > 500 From: UK,kent,Sittingbourne PM |
remember to change it for the k800i the k800i doesn't know what a WR_REG is, & 21 isn't sharping in the k800i it's 56 it makes no difference anyway i already tried it ages ago like this for k800i.
Code:
|
// Digital Sharpening, property 21
//
// 0 => Off 1 => +1 1 => +2 1 => +3
// 4 => +4 5 => +5 6 => Auto
//**************************************************
seq_set_prop_15_0 = #COM_EVENT(56,80);
seq_set_prop_15_1 = #COM_EVENT(56,00);
seq_set_prop_15_2 = #COM_EVENT(56,01);
seq_set_prop_15_3 = #COM_EVENT(56,02);
seq_set_prop_15_4 = #COM_EVENT(56,03);
seq_set_prop_15_5 = #COM_EVENT(56,04);
seq_set_prop_15_6 = #COM_EVENT(56,40); |
|
also TO_DRAFT does nothing in the k800i.
[ This Message was edited by: number1 on 2008-03-05 20:23 ] |
jomateixa Joined: Dec 09, 2007 Posts: > 500 From: PM |
On 2008-03-05 17:57:45, number1 wrote:
are these post-processing things really needed???
//**************************************************
// Contrast, property 20 ****
//**************************************************
// 0 => -8 ... 8 => 0 ... 17 => 8
//-------------------------------------------------
seq_set_prop_14 = $s5 %0
$-5 08
#COM_EVENT(55,$w5);
//**************************************************
// Sharpening, property 21 ****
//**************************************************
// 0 => -8 ... 8 => 0 ... 17 => 8
//-------------------------------------------------
seq_set_prop_15 = $s5 %0
$-5 08
#COM_EVENT(56,$w5);
i erased them from the driver it seems to make no difference
That can't be used because it's for control with the stick unexisting contrast/sharpening settings on the firmware (camera menu)
[ This Message was edited by: jomateixa on 2008-03-05 21:03 ] |
sadeghi85 Joined: Oct 13, 2007 Posts: 341 PM |
Some questions:
1. we can write this code:
Code:
|
if (a == y):
// some code
else:
// some other code
endif;
|
|
this way:
Code:
|
$ca y
// some code
$cl
// some other code
$cx;
|
|
but what about this:
Code:
|
switch (a):
case y:
case z:
// some code
endswitch;
|
|
?
2. how can i force ISO and Shutter speed in the same time?
[ This Message was edited by: sadeghi85 on 2008-03-28 09:38 ] |
number1 Joined: Sep 12, 2007 Posts: > 500 From: UK,kent,Sittingbourne PM |
if (a == y):
// some code
else:
// some other code
endif;
that should be possible but it depends what for,
iso + shutter #COM_EVENT(04,00) for shutter #COM_EVENT(05,00) for iso just put em together should work.
colour correction is the saturation and correction of green/yellow/red colours etc, like this
#COM_EVENT(58,10) saturation
#COM_EVENT(55,00) contrast
#SET_REG(20,FD) green/yellow colour correction (i think)
#SET_REG(21,F6) dunno what this one is
#COMMAND(13,01); engage colour correction |
sadeghi85 Joined: Oct 13, 2007 Posts: 341 PM |
On 2008-03-23 18:00:11, number1 wrote:
if (a == y):
// some code
else:
// some other code
endif;
that should be possible but it depends what for,
i want something like 'switch'.
iso + shutter #COM_EVENT(04,00) for shutter #COM_EVENT(05,00) for iso just put em together should work.
separately they're working but together not!
|
|