Lines Matching refs:jpegtables
179 void* jpegtables; /* JPEGTables tag value, or NULL */ member
470 sp->dest.next_output_byte = (JOCTET*) sp->jpegtables; in tables_init_destination()
481 newbuf = _TIFFrealloc((void*) sp->jpegtables, in tables_empty_output_buffer()
487 sp->jpegtables = newbuf; in tables_empty_output_buffer()
509 if (sp->jpegtables) in TIFFjpeg_tables_dest()
510 _TIFFfree(sp->jpegtables); in TIFFjpeg_tables_dest()
512 sp->jpegtables = (void*) _TIFFmalloc((tmsize_t) sp->jpegtables_length); in TIFFjpeg_tables_dest()
513 if (sp->jpegtables == NULL) { in TIFFjpeg_tables_dest()
623 sp->src.next_input_byte = (const JOCTET*) sp->jpegtables; in tables_init_source()
1719 if( sp->jpegtables == NULL in JPEGSetupEncode()
1720 || memcmp(sp->jpegtables,"\0\0\0\0\0\0\0\0\0",8) == 0 ) in JPEGSetupEncode()
2090 if (sp->jpegtables) /* tag value */ in JPEGCleanup()
2091 _TIFFfree(sp->jpegtables); in JPEGCleanup()
2149 _TIFFsetByteArray(&sp->jpegtables, va_arg(ap, void*), in JPEGVSetField()
2199 *va_arg(ap, void**) = sp->jpegtables; in JPEGVGetField()
2353 sp->jpegtables = NULL; in TIFFInitJPEG()
2402 sp->jpegtables = (void *) _TIFFmalloc(sp->jpegtables_length); in TIFFInitJPEG()
2403 if (sp->jpegtables) in TIFFInitJPEG()
2405 _TIFFmemset(sp->jpegtables, 0, SIZE_OF_JPEGTABLES); in TIFFInitJPEG()