Esato

Forum > Sony Ericsson / Sony > Software, Firmware and Drivers > Modded Camera Driver for k800i/k810i

Previous  123 ... 9899100 ... 229230231  Next
Author Modded Camera Driver for k800i/k810i
SEKseries
K810 Blue
Joined: Sep 06, 2007
Posts: 46
From: Malaysia
PM
Posted: 2007-11-04 13:32
Reply with quoteEdit/Delete This PostPrint this post

On 2007-11-04 13:11:34, genus wrote:
it that change the property 6 from this:

seq_set_prop_6 = #SET_REG(3d,14) // ZM_SMTH_SPEED = 60
#SET_REG(3e,01) // ZM_SMTH_INTERVAL = 1
$s4 %0 // Place value in reg 4
$s5 40 // Place value 64 in reg 5
$*5 0a // Multiply reg 5 by a
$/5 r4 // Divide reg 5 with reg 4
$"Cam_mag_value_%5"
#COM_EVENT(61,$w5);

to this:

seq_set_prop_6 = $s4 %0 #SM_TEST;


SM_TEST=$c4 40 COM_EVENT(01,11) $cl
$c4 3F COM_EVENT(04,11) $cl
$c4 3E COM_EVENT(05,11) $cl
$c4 3D COM_EVENT(07,11) $cl
$c4 3C COM_EVENT(09,11) $cl
$c4 3B COM_EVENT(0A,11) $cl
$c4 3A COM_EVENT(0B,11) $cl
$c4 39 COM_EVENT(0C,11) $cl
$c4 38 COM_EVENT(0D,11) $cl
$c4 37 COM_EVENT(0E,11) $cl
$c4 36 COM_EVENT(0F,11) $cl
$cx $cx $cx $cx $cx $cx $cx $cx $cx $cx $cx;
//I set the Shutter Speed = 1/125s

seq_set_prop_6 = #SET_REG(3d,14) // ZM_SMTH_SPEED = 60
#SET_REG(3e,01) // ZM_SMTH_INTERVAL = 1
$s4 %0 #SM_TEST; // Place value in reg 4
$s5 40 // Place value 64 in reg 5
$*5 0a // Multiply reg 5 by a
$/5 r4 // Divide reg 5 with reg 4
$"Cam_mag_value_%5"
#COM_EVENT(61,$w5);

Those parameter are not used in K790/K800/K810 camdriver,since the 04 parameter controlling the shutter speed of K750/W800/W810,i believe that the parameter which controlling shutter speed of K790/K800/K810 is one of the parameter i listed......

Who willing to try these code???Your effort will be appreciate......

@Raiderski
correct me if i got any wrong on the code......


[ This Message was edited by: SEKseries on 2007-11-04 12:36 ]

[ This Message was edited by: SEKseries on 2007-11-04 12:42 ]
genus
K800 Black
Joined: Apr 13, 2007
Posts: 385
From: Malaysia
PM
Posted: 2007-11-04 13:59
Reply with quoteEdit/Delete This PostPrint this post
Nothing happen with ur code, i alrdy try it


I do think that the k800i shutter time is not from com_event

because as u can see in k850i, it is from the set_reg(XX,XX)

and also the flash exposure time in k800i, also from set_reg




[ This Message was edited by: genus on 2007-11-04 13:28 ]

[ This Message was edited by: genus on 2007-11-04 13:35 ]
number1
P1
Joined: Sep 12, 2007
Posts: > 500
From: UK,kent,Sittingbourne
PM
Posted: 2007-11-04 16:06
Reply with quoteEdit/Delete This PostPrint this post
y don't we try to get the image stablilizer to work on all scenes, and maybe enable flash on all scenes
SEKseries
K810 Blue
Joined: Sep 06, 2007
Posts: 46
From: Malaysia
PM
Posted: 2007-11-04 16:06
Reply with quoteEdit/Delete This PostPrint this post
How bout this???

SM_TEST=$c4 0A COM_EVENT(01,11) $cl
$c4 0B COM_EVENT(04,11) $cl
$c4 0C COM_EVENT(05,11) $cl
$c4 0D COM_EVENT(07,11) $cl
$c4 0E COM_EVENT(09,11) $cl
$c4 0F COM_EVENT(0A,11) $cl
$c4 10 COM_EVENT(0B,11) $cl
$c4 11 COM_EVENT(0C,11) $cl
$c4 12 COM_EVENT(0D,11) $cl
$c4 13 COM_EVENT(0E,11) $cl
$c4 14 COM_EVENT(0F,11) $cl
$cx $cx $cx $cx $cx $cx $cx $cx $cx $cx $cx;
//I set the Shutter Speed = 1/125s

seq_set_prop_6 = #SET_REG(3d,14) // ZM_SMTH_SPEED = 60
#SET_REG(3e,01) // ZM_SMTH_INTERVAL = 1
$s4 %0 #SM_TEST; // Place value in reg 4
$s5 40 // Place value 64 in reg 5
$*5 0a // Multiply reg 5 by a
$/5 r4 // Divide reg 5 with reg 4
$"Cam_mag_value_%5"
#COM_EVENT(61,$w5);

According to Raiderski ,input value should start from 0A......
As i observed ,the input value should be start from 40 to 04 HEX......
Anyway, try this 1st......
Raiderski
C901 Black
Joined: Jul 03, 2006
Posts: > 500
From: Poland, Hell, Mountains
PM, WWW
Posted: 2007-11-04 17:26
Reply with quoteEdit/Delete This PostPrint this post
1. you have to override default zoom change reaction because we don't need zoom change at this moment, we want only to see camera reaction at selected register changes

seq_set_prop_6 = $s4 %0 $-4 0a #SM_TEST;

// $s4 %0 - place in reg 4 input value for actual zoom
// $-4 0a - substract 0a from reg 4
// #SM_TEST - call macro (subroutine)

input values for zoom are as described in camdriver source code:
// 10 => 1.0 x zoom, 11 => 1.1 x zoom, ... 160 => 16.0 x zoom

but we are using hex values that's why:
0a = 1.0x
0b = 1.1x
0c = 1.2x
...

we want those values not from 0a but from 00 that's why code $-4 0a is used


2. macro called SM_TEST should be declared before seq_set_prop_6

content of this macro can be anything. currently we only want to chceck that this is working:

SM_TEST=#COM_EVENT(55,$w4);

// get value from reg 4 and use as contrast

in this case i used command to change contrast (value will be taken from reg 4). for now you can play with contrast using zoom keys. max contrast should be 09 (zoom 1.9x)

this is very easy example showing how you can test many values for selected register with with zoom keys. replace #COM_EVENT(55,$w4) with anything and you can test every possible register/event (don't forget to use $w4 as input value)

that's pretty easy and can save a lot of time during any test
heara
Satio Black
Joined: Jul 18, 2006
Posts: 135
PM
Posted: 2007-11-04 19:57
Reply with quoteEdit/Delete This PostPrint this post
Hi, how can i mod driver camera to 14 fps video? Just the video.
rockygali
K810 Blue
Joined: Nov 21, 2005
Posts: > 500
From:
PM, WWW
Posted: 2007-11-05 03:04
Reply with quoteEdit/Delete This PostPrint this post

On 2007-07-31 11:54:23, kopritis wrote:
Here you can find Modded Camdriver for k800/k810

3.71 (last mod)

Download link: http://kopritis.4shared.com/



Sharpness to 08 max
Compressions 100% free for fine picture quality



[ This Message was edited by: kopritis on 2007-11-01 12:27 ]



is this what they call RAW Format?! or simply JPEG compression = 0
"Darkness is the absence of light.. and not the opposite..."
SEKseries
K810 Blue
Joined: Sep 06, 2007
Posts: 46
From: Malaysia
PM
Posted: 2007-11-05 03:44
Reply with quoteEdit/Delete This PostPrint this post

On 2007-11-05 03:04:46, rockygali wrote:

On 2007-07-31 11:54:23, kopritis wrote:
Here you can find Modded Camdriver for k800/k810

3.71 (last mod)

Download link: http://kopritis.4shared.com/



Sharpness to 08 max
Compressions 100% free for fine picture quality



[ This Message was edited by: kopritis on 2007-11-01 12:27 ]



is this what they call RAW Format?! or simply JPEG compression = 0



Do u believe that RAW format is only less than 1MB???
rockygali
K810 Blue
Joined: Nov 21, 2005
Posts: > 500
From:
PM, WWW
Posted: 2007-11-05 04:11
Reply with quoteEdit/Delete This PostPrint this post
ok.. and 100% COMPRESSION is a commercial statement...

then may i know wots the sense in this?!
"Darkness is the absence of light.. and not the opposite..."
genus
K800 Black
Joined: Apr 13, 2007
Posts: 385
From: Malaysia
PM
Posted: 2007-11-05 08:11
Reply with quoteEdit/Delete This PostPrint this post
Raiderski, is that it is possible to enable the focus mode and the image stabilization in the portrait and twilightportrait scene in k800i???


Now, k800i just have to type of metering mode, is there any possible to change the metering mode? I think if can, it will make more better.

[ This Message was edited by: genus on 2007-11-05 07:15 ]
number1
P1
Joined: Sep 12, 2007
Posts: > 500
From: UK,kent,Sittingbourne
PM
Posted: 2007-11-05 10:29
Reply with quoteEdit/Delete This PostPrint this post

On 2007-11-05 08:11:14, genus wrote:
Raiderski, is that it is possible to enable the focus mode and the image stabilization in the portrait and twilightportrait scene in k800i???


Now, k800i just have to type of metering mode, is there any possible to change the metering mode? I think if can, it will make more better.

[ This Message was edited by: genus on 2007-11-05 07:15 ]


i think this is what we should be working on, also enable the flash on all scenes
SEKseries
K810 Blue
Joined: Sep 06, 2007
Posts: 46
From: Malaysia
PM
Posted: 2007-11-05 12:17
Reply with quoteEdit/Delete This PostPrint this post
seq_set_prop_10_0 = $"Normal_scene" // IS disabled
$sc 00 // Sensor scene
#COM_EVENT(03,0f) // 7,5 fps AE_SLOW_SHUTTER
#COM_EVENT(51,00) // Sensor scene "Auto 00"
#UPDATE_WB_IF_NECESSARY
#NORM_MODE
$u16; // Update property 16: photometry

seq_set_prop_10_1 = $"Portrait_scene" // IS disabled
$sc 01 // Sensor scene no flash
#COM_EVENT(03,0f) // 7,5 fps AE_SLOW_SHUTTER
#COM_EVENT(51,01) // Sensor scene "Portrait 01"
#UPDATE_WB_IF_NECESSARY
#NORM_MODE;

seq_set_prop_10_2 = $"Landscape_scene" // Flash disabled
$sc 06 // Sensor scene
#COM_EVENT(03,0f) // 7,5 fps AE_SLOW_SHUTTER
$c9 08 // R5 camera version?
#COM_EVENT(51,06) // Landscape
$cl // Else R6
$ce 01 // IS ON?
#COM_EVENT(51,08) // Sensor scene "Custom 08"
#COM_EVENT(08,05) // AE_PHOTOMETRY = 05
$cl
#COM_EVENT(51,06) // Sensor scene "Landscape 06"
$cx
$cx
#UPDATE_WB_IF_NECESSARY
#NORM_MODE;

seq_set_prop_10_3 = $"Twilight_landscape_scene" // Flash disabled
$sc 04 // Sensor scene
#COM_EVENT(03,01) // 1 fps AE_SLOW_SHUTTER
#COM_EVENT(51,04) // "Night 04"
#UPDATE_WB_IF_NECESSARY
#NORM_MODE;

seq_set_prop_10_4 = $"Nightportrait_scene" // IS disabled
$sc 07 // Sensor scene
$c9 08 // R5 camera version?
#COM_EVENT(51,00) // sensor scene R5
$cl
#COM_EVENT(51,07) // Sensor scene R6
$cx
#COM_EVENT(03,0f) // 7,5 fps AE_SLOW_SHUTTER
#COM_EVENT(51,03) // "Party 03"
#UPDATE_WB_IF_NECESSARY
#NORM_MODE;

seq_set_prop_10_5 = $"Beach_snow_scene" // Flash disabled
$sc 02 // Sensor scene
#COM_EVENT(03,0f) // 7,5 fps AE_SLOW_SHUTTER
$c9 08 // R5 camera version
#COM_EVENT(51,02) // Beach/snow
$cl // Else R6 camera
$ce 01 // IS ON?
#COM_EVENT(51,08) // Sensor scene "Custom 08"
#COM_EVENT(08,03) // AE_PHOTOMETRY = 03
$cl // Else R6
#COM_EVENT(51,02) // Sensor scene "Beach/snow 02"
$cx
$cx
#UPDATE_WB_IF_NECESSARY
#NORM_MODE;

seq_set_prop_10_6 = $"Sport_scene" // Flash and IS disabled
$sc 05 // Sensor scene
#COM_EVENT(51,05) // Sensor scene "Sports 05"
#UPDATE_WB_IF_NECESSARY
#NORM_MODE;

seq_set_prop_10_7 = $"Document_scene" // IS disabled
$sc 00 // Sensor scene
#COM_EVENT(03,0f) // 7,5 fps AE_SLOW_SHUTTER
#COM_EVENT(51,00) // Sensor scene "Auto 00"
#UPDATE_WB_IF_NECESSARY
#DOC_MODE;

Anyone noticed that the $sc xx part without $sc 03(I wonder what 03 does),maybe we can enable IS and Flash......:)
genus
K800 Black
Joined: Apr 13, 2007
Posts: 385
From: Malaysia
PM
Posted: 2007-11-05 13:28
Reply with quoteEdit/Delete This PostPrint this post
No, i alrdy try b4, this $sc do nothing...

[ This Message was edited by: genus on 2007-11-05 12:30 ]
SEKseries
K810 Blue
Joined: Sep 06, 2007
Posts: 46
From: Malaysia
PM
Posted: 2007-11-05 13:35
Reply with quoteEdit/Delete This PostPrint this post

On 2007-11-05 13:28:32, genus wrote:
No, i alrdy try b4, this $sc do nothing...

[ This Message was edited by: genus on 2007-11-05 12:30 ]


R u sure?? If it is not doing anything then what is the purpose of putting it there,can it be deleted and the camdriver still function without any error???
genus
K800 Black
Joined: Apr 13, 2007
Posts: 385
From: Malaysia
PM
Posted: 2007-11-05 13:42
Reply with quoteEdit/Delete This PostPrint this post
Sure , this is not the function causing no image stabilization n flash.
This is use for other things, like twilightportrait, it need to set the Reg5 and Reg6 so that when flsh on the exposure time will be differ from normal mode. I now use it to change the document mode $sc to 07 too, and using this function and i change twilightportrait $sc to 00 so that it exposure time when flash on will be same as normal mode.

here is it, document mode, flash on, exposure time is 1/60s, but the normal mode is 1/30s


[ This Message was edited by: genus on 2007-11-05 12:45 ]
Access the forum with a mobile phone via esato.mobi
Previous  123 ... 9899100 ... 229230231  Next
Goto page:
Lock this Topic Move this Topic Delete this Topic