Lines Matching refs:jpegtables
171 void* jpegtables; /* JPEGTables tag value, or NULL */ member
456 sp->dest.next_output_byte = (JOCTET*) sp->jpegtables; in tables_init_destination()
467 newbuf = _TIFFrealloc((void*) sp->jpegtables, in tables_empty_output_buffer()
473 sp->jpegtables = newbuf; in tables_empty_output_buffer()
495 if (sp->jpegtables) in TIFFjpeg_tables_dest()
496 _TIFFfree(sp->jpegtables); in TIFFjpeg_tables_dest()
498 sp->jpegtables = (void*) _TIFFmalloc((tmsize_t) sp->jpegtables_length); in TIFFjpeg_tables_dest()
499 if (sp->jpegtables == NULL) { in TIFFjpeg_tables_dest()
609 sp->src.next_input_byte = (const JOCTET*) sp->jpegtables; in tables_init_source()
1607 if( sp->jpegtables == NULL in JPEGSetupEncode()
1608 || memcmp(sp->jpegtables,"\0\0\0\0\0\0\0\0\0",8) == 0 ) in JPEGSetupEncode()
1970 if (sp->jpegtables) /* tag value */ in JPEGCleanup()
1971 _TIFFfree(sp->jpegtables); in JPEGCleanup()
2030 _TIFFsetByteArray(&sp->jpegtables, va_arg(ap, void*), in JPEGVSetField()
2080 *va_arg(ap, void**) = sp->jpegtables; in JPEGVGetField()
2234 sp->jpegtables = NULL; in TIFFInitJPEG()
2283 sp->jpegtables = (void *) _TIFFmalloc(sp->jpegtables_length); in TIFFInitJPEG()
2285 _TIFFmemset(sp->jpegtables, 0, SIZE_OF_JPEGTABLES); in TIFFInitJPEG()