Searched refs:PTable (Results 1 - 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | mjpegenc_huffman.c | 31 * @param a First PTable to compare 32 * @param b Second PTable to compare 37 PTable a_val = *(PTable *) a; in compare_by_prob() 38 PTable b_val = *(PTable *) b; in compare_by_prob() 72 * @param prob_table input array of a PTable for each distinct input value 77 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts, int size, int max_length) in ff_mjpegenc_huffman_compute_bits() 93 AV_QSORT(prob_table, size, PTable, compare_by_prob); in ff_mjpegenc_huffman_compute_bits() 163 PTable val_count in ff_mjpeg_encode_huffman_close() [all...] |
H A D | mjpegenc_huffman.h | 51 typedef struct PTable { struct 54 } PTable; typedef 74 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts,
|
H A D | magicyuvenc.c | 50 typedef struct PTable { struct 53 } PTable; typedef 267 int height, PTable *counts) in count_usage() 288 const PTable *a2 = a; in compare_by_prob() 289 const PTable *b2 = b; in compare_by_prob() 293 static void magy_huffman_compute_bits(PTable *prob_table, HuffEntry *distincts, in magy_huffman_compute_bits() 308 AV_QSORT(prob_table, size, PTable, compare_by_prob); in magy_huffman_compute_bits() 359 PTable counts[256] = { {0} }; in encode_table()
|
/third_party/ffmpeg/libavcodec/tests/ |
H A D | mjpegenc_huffman.c | 38 PTable val_counts[256]; in check_lengths() 45 val_counts[i] = (PTable){.value = i, .prob = probs[i]}; in check_lengths() 120 PTable val_counts[] = { in main()
|
Completed in 3 milliseconds