-[Quantization type enumeration](#quantization-type-enumeration)
## First version of QCMP file header
## First version of QCMP file header
### Pros:
### Pros:
...
@@ -31,20 +41,49 @@ Data sector consists of codebook data and indices data. If the file uses a singl
...
@@ -31,20 +41,49 @@ Data sector consists of codebook data and indices data. If the file uses a singl
Otherwise (codebook per plane), there are always codebook data followed by the plane indices followed by another plane codebook and so on.
Otherwise (codebook per plane), there are always codebook data followed by the plane indices followed by another plane codebook and so on.
## First version of QCMP cache file header
## QVC File Format V1
QCMP cache file is used to store trained codebook for image file. The coder can load the cache file and encode the source image directly without needing to learn the codebook.
QCMP cache file (QVC) is used to store trained codebook for image file. The coder can load the cache file and encode the source image directly without needing to learn the codebook.
In the first version the Huffman tree is recontructed from the absolute frequencies of codebook indices, which is not space optimal.
In the first version the Huffman tree is recontructed from the absolute frequencies of codebook indices, which is not space optimal.