Можете пояснить?
CString FormChunksString(int val)
{
/* This function forms the chunk string
The total val is simply distributed evenly
among 3 chunks (the first chunk is always a constant).
*/
CString st_chunks;
int num = val / 16;
int last = val % 16; // the remainder from int-division
int i;
if (val > 48) // special case
{
st_chunks += "+" + st(val-32);
for (i=1; i<num; i++)
st_chunks += "+16";
}
else
{
if (num)
for (int i=0; i<num; i++)
st_chunks += "+16";
if (last) st_chunks += "+" +st(last);
}
return st_chunks;
}
Исходя их исходников
(ну и тавтология)
качество определяется в slices так
BASE_CHUNK "70"
к нему прибавляется Bg quality так
i=bgq/16
slices=70 i раз по (+16) + остаток bgq-i*16
если bgq >48, то "+" + st(val-32) непонятно что это?
поскольку crcb нигде не применяется, то по умолчанию это crcbnormal
-crcbnormal
Select normal chrominance encoding. Chrominance information is encoded at the same resolution as the luminance. This is the default.
-crcbdelay n
This option can be used with -crcbnormal and -crcbhalf to modify the quality of the chrominance information. The option arguments specifies a parameter n, expressed in slices, that reduces the bit-rate associated with the chrominance. The default chrominance encoding delay is 10 slices.
вот это значит, что качество цвета понижается. насколько -неясно. поскольку есть опция макс качества, соответствующая -crcbdelay 0
вот это и интересно - что за качество можно получить.
предварительный вывод:
цвет/2+120slices из 199 возможных (примерно 60% качество и цвет 2:1 в терминах jpeg)
т.е. все богатство c44 невозможно применить...
жаль! можете добавить опции crcbdelay (spinbutton) и slices увеличить с 50 до 130?