juGGaKNot
22nd April 2009, 18:40
Hello
We have to make a small ref calculator for a tutorial/gui and i have some questions :
1 : Is the maximum ref = 12288 * 1024 / ( width * height * 1.5) formula good for all levels or only 4.0 ?
2 : Is my math good :
640x480x1.5 = 460800
800x600x1.5 = 720000
960x540x1.5 = 777600
960x600x1.5 = 864000
1024x576x1.5 = 884736
1024x640x1.5 = 983040
1280x720x1.5 = 1382400
1280x800x1.5 = 1536000
1440x1080x1.5 = 2332800
1920x1080x1.5 = 3110400
maximum ref = 12582912 / ( 460800 ) = 16
maximum ref = 12582912 / ( 720000 ) = 16
maximum ref = 12582912 / ( 777600 ) = 16
maximum ref = 12582912 / ( 864000 ) = 14
maximum ref = 12582912 / ( 884736 ) = 14
maximum ref = 12582912 / ( 983040 ) = 12
maximum ref = 12582912 / ( 1382400 ) = 9
maximum ref = 12582912 / ( 1536000 ) = 8
maximum ref = 12582912 / ( 2332800 ) = 5
maximum ref = 12582912 / ( 3110400 ) = 4
640x480 = 16 refs
800x600 = 16 refs
960x540 = 16 refs
960x600 = 14 refs
1024x576 = 14 refs
1024x640 = 12 refs
1280x720 = 9 refs
1280x800 = 8 refs
1440x1080 = 5 refs
1920x1080 = 4 refs
I tested the formula by hand and now i see that custom resolutions might need more or less refs so we decided to make a small app similar to the Uncompressed filesize calculator ( this is the beta version ) (http://www.mediafire.com/download.php?kzy5kyi0zk2) to help the users.
THNX in advance.
Cheers.
We have to make a small ref calculator for a tutorial/gui and i have some questions :
1 : Is the maximum ref = 12288 * 1024 / ( width * height * 1.5) formula good for all levels or only 4.0 ?
2 : Is my math good :
640x480x1.5 = 460800
800x600x1.5 = 720000
960x540x1.5 = 777600
960x600x1.5 = 864000
1024x576x1.5 = 884736
1024x640x1.5 = 983040
1280x720x1.5 = 1382400
1280x800x1.5 = 1536000
1440x1080x1.5 = 2332800
1920x1080x1.5 = 3110400
maximum ref = 12582912 / ( 460800 ) = 16
maximum ref = 12582912 / ( 720000 ) = 16
maximum ref = 12582912 / ( 777600 ) = 16
maximum ref = 12582912 / ( 864000 ) = 14
maximum ref = 12582912 / ( 884736 ) = 14
maximum ref = 12582912 / ( 983040 ) = 12
maximum ref = 12582912 / ( 1382400 ) = 9
maximum ref = 12582912 / ( 1536000 ) = 8
maximum ref = 12582912 / ( 2332800 ) = 5
maximum ref = 12582912 / ( 3110400 ) = 4
640x480 = 16 refs
800x600 = 16 refs
960x540 = 16 refs
960x600 = 14 refs
1024x576 = 14 refs
1024x640 = 12 refs
1280x720 = 9 refs
1280x800 = 8 refs
1440x1080 = 5 refs
1920x1080 = 4 refs
I tested the formula by hand and now i see that custom resolutions might need more or less refs so we decided to make a small app similar to the Uncompressed filesize calculator ( this is the beta version ) (http://www.mediafire.com/download.php?kzy5kyi0zk2) to help the users.
THNX in advance.
Cheers.