Classes | Defines | Typedefs | Functions

rdtarga.c File Reference

#include "cdjpeg.h"
Include dependency graph for rdtarga.c:

Classes

struct  _tga_source_struct

Defines

#define UCH(x)   ((int) (x))
#define ReadOK(file, buffer, len)   (JFREAD(file,buffer,len) == ((size_t) (len)))
#define get_32bit_row   get_24bit_row
#define GET_2B(offset)

Typedefs

typedef unsigned char U_CHAR
typedef struct _tga_source_structtga_source_ptr
typedef struct _tga_source_struct tga_source_struct

Functions

 read_byte (tga_source_ptr sinfo)
 read_colormap (tga_source_ptr sinfo, int cmaplen, int mapentrysize)
 read_non_rle_pixel (tga_source_ptr sinfo)
 read_rle_pixel (tga_source_ptr sinfo)
 get_8bit_gray_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 get_8bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 get_16bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 get_24bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 get_memory_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 preload_image (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 start_input_tga (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 finish_input_tga (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 jinit_read_targa (j_compress_ptr cinfo)

Define Documentation

#define GET_2B (   offset  ) 
Value:
((unsigned int) UCH(targaheader[offset]) + \
                         (((unsigned int) UCH(targaheader[offset+1])) << 8))
#define get_32bit_row   get_24bit_row
#define ReadOK (   file,
  buffer,
  len 
)    (JFREAD(file,buffer,len) == ((size_t) (len)))
#define UCH (   x  )     ((int) (x))

Typedef Documentation

typedef unsigned char U_CHAR

Function Documentation

finish_input_tga ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)
get_16bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)
get_24bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)
get_8bit_gray_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)
get_8bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Here is the call graph for this function:

get_memory_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Here is the caller graph for this function:

jinit_read_targa ( j_compress_ptr  cinfo  ) 

Here is the caller graph for this function:

preload_image ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Here is the call graph for this function:

read_byte ( tga_source_ptr  sinfo  ) 
read_colormap ( tga_source_ptr  sinfo,
int  cmaplen,
int  mapentrysize 
)

Here is the call graph for this function:

read_non_rle_pixel ( tga_source_ptr  sinfo  ) 
read_rle_pixel ( tga_source_ptr  sinfo  ) 

Here is the call graph for this function:

start_input_tga ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Here is the call graph for this function: