Lines Matching refs:cinfo
29 jpeg_abort (j_common_ptr cinfo)
34 if (cinfo->mem == NULL)
41 (*cinfo->mem->free_pool) (cinfo, pool);
45 if (cinfo->is_decompressor) {
46 cinfo->global_state = DSTATE_START;
50 ((j_decompress_ptr) cinfo)->marker_list = NULL;
52 cinfo->global_state = CSTATE_START;
69 jpeg_destroy (j_common_ptr cinfo)
73 if (cinfo->mem != NULL)
74 (*cinfo->mem->self_destruct) (cinfo);
75 cinfo->mem = NULL; /* be safe if jpeg_destroy is called twice */
76 cinfo->global_state = 0; /* mark it destroyed */
86 jpeg_alloc_quant_table (j_common_ptr cinfo)
91 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL));
98 jpeg_alloc_huff_table (j_common_ptr cinfo)
103 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JHUFF_TBL));