Quote:
I removed the trailing comma (it was a bug in my matrix editor) but i'll keep the alignment for better readability.
|
Alignments won't cause problems, but I'm afraid you misunderstood.. your 8x8 matrix
lack the trailing comma.. the default jvt matrix from the avc reference code has that trailing comma.. so my matrix editor looks for it and uses it as quantizer separator. Your 8x8 matrix looks as follows when read
1,2,3,4,5,6,7,8 9,10,11,12, 13, 14, 15, 16
then I separate the string by comma.. so these two lines turn into the following lines (quantizer separated by -)
1-2-3-4-5-6-7-8 9
10-11-12-13-14-15-16
and in the end I don't have all the 64 values as the value at the end of a line and the first of the subsequent value are combined.. and "8 9" cannot be parsed into an int directly. So quant = Int32.Parse("8 9"); throws an exception, which in turn leads to the "invalid quant" error message.