Searched refs:distincts (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/tests/ |
D | mjpegenc_huffman.c | 136 HuffTable distincts[5]; in main() local 140 ff_mjpegenc_huffman_compute_bits(val_counts, distincts, in main() 141 FF_ARRAY_ELEMS(distincts), 3); in main() 143 for (i = 0; i < FF_ARRAY_ELEMS(distincts); i++) { in main() 144 if (distincts[i].code != expected[i].code || in main() 145 distincts[i].length != expected[i].length) { in main() 151 distincts[i].code, distincts[i].length); in main()
|
/third_party/ffmpeg/libavcodec/ |
D | mjpegenc_huffman.c | 80 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts, int size, int max_l… in ff_mjpegenc_huffman_compute_bits() argument 141 distincts[j].code = i; in ff_mjpegenc_huffman_compute_bits() 142 distincts[j].length = nbits[i]; in ff_mjpegenc_huffman_compute_bits() 167 HuffTable distincts[256]; in ff_mjpeg_encode_huffman_close() local 184 ff_mjpegenc_huffman_compute_bits(val_counts, distincts, nval + 1, 16); in ff_mjpeg_encode_huffman_close() 185 AV_QSORT(distincts, nval, HuffTable, compare_by_length); in ff_mjpeg_encode_huffman_close() 189 val[i] = distincts[i].code; in ff_mjpeg_encode_huffman_close() 190 bits[distincts[i].length]++; in ff_mjpeg_encode_huffman_close()
|
D | mjpegenc_huffman.h | 74 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts,
|
D | magicyuvenc.c | 288 static void magy_huffman_compute_bits(PTable *prob_table, HuffEntry *distincts, in magy_huffman_compute_bits() argument 345 distincts[i].len = nbits[i]; in magy_huffman_compute_bits()
|