Esato Mobile
Sony Ericsson / Sony : Software, Firmware and Drivers : C901 camdriver modded
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > Software, Firmware and Drivers > C901 camdriver modded Bookmark topic
Page <  1234>

code28h4p Posts: > 500

thats why i ask you before how did you managed to change compression levels. And how do you know that compression has changed by increasing file size? FYI, I did this way a long ago (Just a couple days after i've got this C901) and compare two shots (original and mine), and it seems nothing different even we look it at 100% cropped picture.
Remember, increase file size (without do anything) just eat more spaces in your memory.

I've tested your macro and still no forced flash there. Maybe it was removed...
CMIIW
--
Posted: 2009-09-12 23:18:04
Edit : Quote

cyloh Posts: 9

use a software like JPEGSnoop and you'll find out the compression levels.
I have a rough idea which i'll try implement soon. will drop the filesize back to the default values.
1.6mb is more than enough for 100% quality on 5mpix. I will test out further on how to bump up
the quality without changing buffer and file size.

I wonder instead of #WRITE_REG(03,0B,??) if we use #COM_INT(03,0B,??) it'll force the ISO values.

As for macro... I'm still a beginner here, which part of the code is for macro mode/focus?
--
Posted: 2009-09-13 00:10:29
Edit : Quote

code28h4p Posts: > 500

My pc was broken, so i couldn't see through camdriver for a while.
--
Posted: 2009-09-13 04:12:20
Edit : Quote

Goldmen Posts: > 500

cyloh & code28h4p
Found a few interesting post
from Raiderski about K800 compression settings:


On 2008-10-03 15:59:51, Raiderski wrote:
guys, leave these compression settings. you will not squeeze nothing more from K800. moreover if you will stress out compression algorithm using too high values (big quality and file size) result will be opposite from planned (lower quality and small file size)

it's not possible to use 100%. of course you can always use higher value than 91% but you should remember about compression system:

1. rule #1: max jpeg file size
2. rule #2: jpeg quality
3. rule #3: both rules restrict each other

SE phones have variable compression, this means that final quality is calculated from 3 above rules. that's why your pictures don't have constant quality. variable quality is the result of fulfilled rules. ok, simple examples what can happen with 91% quality and 900kb buffer:

1. jpeg can be created with 91% and in ~900kb file
2. 91% is too much for ~900kb, quality will be decreased
3. 91% is good but file size will be much smaller than ~900kb, quality will be increased

results can be various. 800kb file with 75%-97% quality is nothing strange. now look at Goldmen's picture. he wrote that used driver had declared 100% quality, what happened in compression system? something like this:

- can I compress picture at 100% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 98% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 93% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 85% quality in ~900kb?
- no, increase compression and try again
- can I compress picture at 75% quality in ~900kb?
- yes

final result is 75% quality (according to EXIF). good conclusion...
of course we can force compression system to use very high quality but this will be useless. variable compression is really smart thing, no matter of what you won't force it to do impossibe things



On 2008-07-30 23:56:05, Raiderski wrote:
SE phones are equipped in very nice algorithm and great feature - variable compression. it is seeking the best quality % level. question: seeking? yes, this means that quality of all your pictures can be different (therefore name is variable compression). question: so, what for is 91% quality defined in driver? well, this is nothing more than simple tip for the algorithm, in this way it knows where to start process of seeking. question: ok, it knows where to start but where it ends? it's trying to predict jpeg file size with various combinations of quality % levels. predicted file size is then compared to jpeg file size rules (defined by modders in driver). if comparision will be positive then jpeg can be created, otherwise quality % level is increased (if predicted result is below defined file size rules) or decreased (if predicted result is above defined file size rules) for next file size prediction. question: does this means that defined file size rules in driver are major parameters? yes, they are, quality % level will be adequate to max file size we want to have. you can set in driver quality 100% but in fact this level of quality is unreachable in 900kb file (you can check this with EXIF readers). question: no matter of what can I set quality 100%? yes you can but for what? this is only initial stress for compression algorithm and it will blow out into dust your dreams about 100% quality

my observations:
- average file size is ~820kb (many folders, more than 100 files in each folder)
- average file size of shots with flash or low detailed scenery is ~680kb

so, I can push the rules a bit higher in next version. top quality range 90 - 95% in cameraphone? madness! with SE you guys are really in jpeg's compression heaven even if you don't believe


May be JPEG compression settings in C901 uses (almost) the same algorithm and here not major changes...
[ This Message was edited by: Goldmen on 2009-09-13 11:06 ]

--
Posted: 2009-09-13 10:26:16
Edit : Quote

Raiderski Posts: > 500

yes it is. you can play with parameters of compression (they aren't connected with Q tables defined in driver)
--
Posted: 2009-09-13 11:08:07
Edit : Quote

code28h4p Posts: > 500

Hope raiderski will bought C901 sometimes and play with C901 camdriver;-).
--
Posted: 2009-09-13 13:10:57
Edit : Quote

volume100 Posts: 211

Is there any more work being done on this driver?
--
Posted: 2009-09-24 02:15:55
Edit : Quote

anouk82 Posts: > 500


On 2009-09-24 02:15:55, volume100 wrote:
Is there any more work being done on this driver?


Yeah i hope syloh will continue...c901 has a lot to offer.
--
Posted: 2009-09-24 02:26:58
Edit : Quote

anouk82 Posts: > 500

Syloh,could you please tell me what's the default value for sharpness in c901 and what's the highest value we can get?
--
Posted: 2009-09-24 08:05:21
Edit : Quote

longu123 Posts: 7

Could you please send me the Original Cam, Thank you very much. I cant backup it by A2
--
Posted: 2009-09-26 13:30:38
Edit : Quote
Page <  1234>

New Topic   Reply
Forum Index

Esato home