Mercurial > libavcodec.hg
comparison vqavideo.c @ 6903:0f63fc62ea8b libavcodec
consistency cosmetics: indices --> indexes
author | diego |
---|---|
date | Mon, 26 May 2008 23:14:25 +0000 |
parents | 6eeb19edcee3 |
children | e943e1409077 |
comparison
equal
deleted
inserted
replaced
6902:b6e110c575ff | 6903:0f63fc62ea8b |
---|---|
52 * for each of the 8 frames preceding the 8 frames which require the | 52 * for each of the 8 frames preceding the 8 frames which require the |
53 * codebook. A full codebook is also sent on the very first frame of a | 53 * codebook. A full codebook is also sent on the very first frame of a |
54 * file. This is an interesting technique, although it makes random file | 54 * file. This is an interesting technique, although it makes random file |
55 * seeking difficult despite the fact that the frames are all intracoded. | 55 * seeking difficult despite the fact that the frames are all intracoded. |
56 * | 56 * |
57 * V1,2 VQA uses 12-bit codebook indices. If the 12-bit indices were | 57 * V1,2 VQA uses 12-bit codebook indexes. If the 12-bit indexes were |
58 * packed into bytes and then RLE compressed, bytewise, the results would | 58 * packed into bytes and then RLE compressed, bytewise, the results would |
59 * be poor. That is why the coding method divides each index into 2 parts, | 59 * be poor. That is why the coding method divides each index into 2 parts, |
60 * the top 4 bits and the bottom 8 bits, then RL encodes the 4-bit pieces | 60 * the top 4 bits and the bottom 8 bits, then RL encodes the 4-bit pieces |
61 * together and the 8-bit pieces together. If most of the vectors are | 61 * together and the 8-bit pieces together. If most of the vectors are |
62 * clustered into one group of 256 vectors, most of the 4-bit index pieces | 62 * clustered into one group of 256 vectors, most of the 4-bit index pieces |