Sony Ericsson / Sony : Software, Firmware and Drivers : Modded Camera Driver for k800i/k810i
>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Software, Firmware and Drivers
> Modded Camera Driver for k800i/k810i
Bookmark topic
number1
did you ever wonder what INIT in JPEG_INIT_QUALITY means? we are talking about initial value, not a constant value. SE phones are using variable compression algorithm, that's why sentence:
that will give a fully uncompressed picture and u will get the true colours
... is completely false
--
Posted: 2007-11-01 15:40:24
Edit :
Quote
On 2007-11-01 15:40:24, Raiderski wrote:
number1
did you ever wonder what INIT in JPEG_INIT_QUALITY means? we are talking about initial value, not a constant value. SE phones are using variable compression algorithm, that's why sentence:
that will give a fully uncompressed picture and u will get the true colours
... is completely false
Holy s..... Now im confuse....
--
Posted: 2007-11-01 16:02:31
Edit :
Quote
@Raiderski
It would be interesting to know more about your cam driver configuration tool, it seems that it supports k800i too?
--
Posted: 2007-11-01 16:12:30
Edit :
Quote
On 2007-11-01 15:40:24, Raiderski wrote:
number1
did you ever wonder what INIT in JPEG_INIT_QUALITY means? we are talking about initial value, not a constant value. SE phones are using variable compression algorithm, that's why sentence:
that will give a fully uncompressed picture and u will get the true colours
... is completely false
wot do u mean it won't give 100% compression all the time, also explain why when the compression is like this i get really nice colours
--
Posted: 2007-11-01 16:28:17
Edit :
Quote
i'll try the 3.71.....
--
Posted: 2007-11-01 16:58:28
Edit :
Quote
I assume that the general consensus is that the modified cam driver takes better quality pictures than the stock drivers? Is that correct?
How does this mod compare with Number1's?
And these should work with the k790a, right?
--
Posted: 2007-11-01 21:18:17
Edit :
Quote
[quote]
On 2007-11-01 14:37:12, Guto_ViP wrote:
On 2007-11-01 14:02:14, number1 wrote:
that 100% compression isn't full 100%compression full 100% compression is
seq_set_prop_5_1 = #SET_REG(19,64) // JPEG_INIT_QUALITY = 0x64
#SET_REG(13,64) #SET_REG(14,03)
#SET_REG(17,64) #SET_REG(18,03)
#SET_REG(15,64) #SET_REG(16,03);
seq_set_prop_5_9 = $"3M_low_comp"
#SET_REG(19,64) // JPEG_INIT_QUALITY = 0x64
#SET_REG(13,64) #SET_REG(14,03)
#SET_REG(17,64) #SET_REG(18,03)
#SET_REG(15,64) #SET_REG(16,03);
that will give a fully uncompressed picture and u will get the true colours
Tnx Kopritis and Number1
Got it! and uploaded on
http://se4u.4shared.com/
^
Is this the kopritis 3.71, with the full 100% compression (kopritis 3.71 + number1 post MODs) ??
[ This Message was edited by: norbi_nw on 2007-11-01 21:27 ]
--
Posted: 2007-11-01 22:25:32
Edit :
Quote
Igor Vidic
yes, it can support all phones, but some of the features are unavailable (or at present not well-known) or they can differ for specific models. camdriver code should be of course adapted to support selected modifications in the tool. project is dead
number1
1. "nice" colors... we should look at this more technically and the only thing we can involve is chroma subsampling. very long story and i'm too lazy to explain, at least we have Google

jpeg encoder by SE can generate 1x1 (perfect! very very very rare but possible on K750 as over 1MB shots), 2x1 (most of the shots) and 2x2 (1: when details amount is huge and can not be encoded in desired jpeg parameters, or 2: when picture is almost as solid color). this values have big influence on jpeg file size
2. 100% quality... notice that we are talking about the quality not compression. jpeg encoder used in our phones is complicated thing (variable quantization) with a dozen of randomness and lucky. driver is sending to jpeg encoder two important informations:
- desired jpeg quality, described in 3 values: minimal (last), average (initial), maximum (first). in K800 driver only initial is used
- desired jpeg file size, described in 3 values: minimal, average, maximum
for example: we want 3MP jpeg with file size 600kb and quality 95% is this possible? no. 600kb file size limit is possible only for 2MP shots in 90% quality. ok, then if we can't fit into desired parameters what will happen? initial quality will be reduced. how much? only jpeg encoder knows how much data is overflowing over the maximum file size. second test can be done for quality ~90%. 3MP, 600kb and quality 90%? somehow this can be possible, if not: quality will be reduced again and third test can be done for quality ~85%. 3MP, 600kb and quality 85%? yes, this is surely possible. final quality can be 85% and file size less than 600kb
you must realize how big distance is between you parameters:
- initial quality 100%
- file size 868kb
3MP photo with quality 100% and file size 868kb? no, because between quality 91-100% file size will grows up dramatically. so, 3MP and quality 100% is near 1500kb. 868kb can be near quality 93% which is much more realistic. phone has 900kb buffer (+ a bit of hidden bytes) - in most cases this can be good enough for quality below 95%
and of course: final jpeg quality depends of details amount on the photo/scene
if you think that "100% gives better colors" you can post examples with original photos, then we can together analyze this, ok?
cheers
_________________
W800 CID36 R1BD001
www.tinyurl.com/2c3quo (gallery)
www.tinyurl.com/ysc2wm (driver + config tool)
[ This Message was edited by: Raiderski on 2007-11-01 21:38 ]
--
Posted: 2007-11-01 22:37:12
Edit :
Quote
Raiderski, can you make camera driver for k800??
--
Posted: 2007-11-01 22:47:50
Edit :
Quote
hi kopritis,
i tried your camdrivers a long time. Here the results in few short words:
There are 2 best drivers:
2,7 give good outdoor pics and indoor has not much noise.
3.7 give good outdoor pics too, and really good pics with flash (more details and not much noise). But 3.7 produce really much noise indoor without flash.
So the best compromise for me is the 2.7 with the flash-settings of 3.7.
I've tried it, it's cool.
But now, i've still a problem:
I cannot find the settings in the driver, which give me more contrast, that the colour grey will be more near black. Today the whether was cloud and the pics have bad colours and grey contrast. What can i change?
I've tried to change the settings above your new setting sharpness 06 to 08, but the result is, that the contrast go near to white and not to black??
I hope, you can understand me. Please help me?
[ This Message was edited by: burner8 on 2007-11-01 23:02 ]
--
Posted: 2007-11-01 23:59:18
Edit :
Quote
New Topic
Reply