Lines Matching defs:_tga_source_struct
43 typedef struct _tga_source_struct { struct
44 struct cjpeg_source_struct pub; /* public fields */
46 j_compress_ptr cinfo; /* back link saves passing separate parm */
48 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */
50 jvirt_sarray_ptr whole_image; /* Needed if funny input row order */
51 JDIMENSION current_row; /* Current logical row number to read */
54 void (*read_pixel) (tga_source_ptr sinfo);
57 U_CHAR tga_pixel[4];
59 int pixel_size; /* Bytes per Targa pixel (1 to 4) */
60 int cmap_length; /* colormap length */
63 int block_count; /* # of pixels remaining in RLE block */
64 int dup_pixel_count; /* # of times to duplicate previous pixel */
67 JDIMENSION (*get_pixel_rows) (j_compress_ptr cinfo, cjpeg_source_ptr sinfo);