Searched refs:PTable (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mjpegenc_huffman.c | 40 PTable a_val = *(PTable *) a; in compare_by_prob() 41 PTable b_val = *(PTable *) b; in compare_by_prob() 80 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts, int size, int max_l… in ff_mjpegenc_huffman_compute_bits() 96 AV_QSORT(prob_table, size, PTable, compare_by_prob); in ff_mjpegenc_huffman_compute_bits() 166 PTable val_counts[257]; in ff_mjpeg_encode_huffman_close()
|
D | mjpegenc_huffman.h | 51 typedef struct PTable { struct 54 } PTable; argument 74 void ff_mjpegenc_huffman_compute_bits(PTable *prob_table, HuffTable *distincts,
|
D | magicyuvenc.c | 47 typedef struct PTable { struct 50 } PTable; argument 262 int height, PTable *counts) in count_usage() 283 const PTable *a2 = a; in compare_by_prob() 284 const PTable *b2 = b; in compare_by_prob() 288 static void magy_huffman_compute_bits(PTable *prob_table, HuffEntry *distincts, in magy_huffman_compute_bits() 303 AV_QSORT(prob_table, size, PTable, compare_by_prob); in magy_huffman_compute_bits() 354 PTable counts[256] = { {0} }; in encode_table()
|
/third_party/ffmpeg/libavcodec/tests/ |
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()
|