• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/jpeg-7/

Lines Matching defs:symbol

43   unsigned int ehufco[256];	/* code for each symbol */
44 char ehufsi[256]; /* length of code for each symbol */
45 /* If no code has been allocated for a symbol S, ehufsi[S] contains 0 */
201 /* Figure C.1: make table of Huffman code length for each symbol */
235 /* These are code and size indexed by symbol value */
417 * Emit (or just count) a Huffman symbol.
422 emit_symbol (huff_entropy_ptr entropy, int tbl_no, int symbol)
425 entropy->count_ptrs[tbl_no][symbol]++;
428 emit_bits_e(entropy, tbl->ehufco[symbol], tbl->ehufsi[symbol]);
453 * Emit any pending EOBRUN symbol.
594 /* Count/emit the Huffman-coded symbol for the number of bits */
693 /* Count/emit Huffman symbol for run length / number of bits */
861 /* Count/emit Huffman symbol for run length / number of bits */
936 /* Emit the Huffman-coded symbol for the number of bits */
976 /* Emit Huffman symbol for run length / number of bits */
1098 * We first scan the supplied data and count the number of uses of each symbol
1135 /* Count the Huffman symbol for the number of bits */
1164 /* Count Huffman symbol for run length / number of bits */
1217 * The JPEG standard requires that no symbol be assigned a codeword of all
1222 * reserving such a slot by pretending that symbol 256 is a valid symbol
1224 * including it in the symbol set anyway should give a better Huffman code.
1246 int codesize[257]; /* codesize[k] = code length of symbol k */
1247 int others[257]; /* next symbol in current branch of tree */
1260 /* Including the pseudo-symbol 256 in the Huffman procedure guarantees
1261 * that no real symbol is given code-value of all ones, because 256
1268 /* Find the smallest nonzero frequency, set c1 = its symbol */
1269 /* In case of ties, take the larger symbol number */
1279 /* Find the next smallest nonzero frequency, set c2 = its symbol */
1280 /* In case of ties, take the larger symbol number */
1347 bits[j]--; /* symbol of this length is now a prefix */
1351 /* Remove the count for the pseudo-symbol 256 from the largest codelength */
1356 /* Return final symbol counts (only for lengths 0..16) */
1397 /* Flush out buffered data (all we care about is counting the EOB symbol) */