| 84 | */ |
| 85 | |
| 86 | GLOBAL(JQUANT_TBL *) |
| 87 | jpeg_alloc_quant_table (j_common_ptr cinfo) |
| 88 | { |
| 89 | JQUANT_TBL *tbl; |
| 90 | |
| 91 | tbl = (JQUANT_TBL *) |
| 92 | (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL)); |
| 93 | tbl->sent_table = FALSE; /* make sure this is false in any new table */ |
| 94 | return tbl; |
| 95 | } |
| 96 | |
| 97 | |
| 98 | GLOBAL(JHUFF_TBL *) |
no outgoing calls
no test coverage detected