Home
last modified time | relevance | path

Searched refs:prob_table (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmjpegenc_huffman.c72 * @param prob_table input array of a PTable for each distinct input value
74 * @param size size of the prob_table array
77 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts, int size, int max_length) in ff_mjpegenc_huffman_compute_bits() argument
93 AV_QSORT(prob_table, size, PTable, compare_by_prob); in ff_mjpegenc_huffman_compute_bits()
110 prob_table[i].prob < in ff_mjpegenc_huffman_compute_bits()
112 to->items[to->item_idx[to->nitems]++] = prob_table[i].value; in ff_mjpegenc_huffman_compute_bits()
113 to->probability[to->nitems - 1] = prob_table[i].prob; in ff_mjpegenc_huffman_compute_bits()
H A Dmagicyuvenc.c293 static void magy_huffman_compute_bits(PTable *prob_table, HuffEntry *distincts, in magy_huffman_compute_bits() argument
308 AV_QSORT(prob_table, size, PTable, compare_by_prob); in magy_huffman_compute_bits()
325 prob_table[i].prob < in magy_huffman_compute_bits()
327 to->items[to->item_idx[to->nitems]++] = prob_table[i].value; in magy_huffman_compute_bits()
328 to->probability[to->nitems - 1] = prob_table[i].prob; in magy_huffman_compute_bits()
H A Dmjpegenc_huffman.h74 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts,

Completed in 3 milliseconds