Classes | Macros | Typedefs | Functions | Variables
rdtarga.c File Reference
#include "cdjpeg.h"
Include dependency graph for rdtarga.c:

Go to the source code of this file.

Classes

struct  _tga_source_struct
 

Macros

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

Typedefs

typedef struct _tga_source_structtga_source_ptr
 
typedef struct _tga_source_struct tga_source_struct
 
typedef unsigned char U_CHAR
 

Functions

 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)
 
 get_memory_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 
 jinit_read_targa (j_compress_ptr cinfo)
 
 preload_image (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 
 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)
 
 start_input_tga (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 

Variables

static const UINT8 c5to8bits [32]
 

Macro Definition Documentation

#define GET_2B (   offset)
Value:
((unsigned int) UCH(targaheader[offset]) + \
(((unsigned int) UCH(targaheader[offset+1])) << 8))
#define UCH(x)
Definition: rdtarga.c:29
typedef int
Definition: png.h:1113
#define get_32bit_row   get_24bit_row

Definition at line 263 of file rdtarga.c.

#define ReadOK (   file,
  buffer,
  len 
)    (JFREAD(file,buffer,len) == ((size_t) (len)))

Definition at line 41 of file rdtarga.c.

#define UCH (   x)    ((int) (x))

Definition at line 29 of file rdtarga.c.

Typedef Documentation

Definition at line 46 of file rdtarga.c.

typedef unsigned char U_CHAR

Definition at line 28 of file rdtarga.c.

Function Documentation

finish_input_tga ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 473 of file rdtarga.c.

get_16bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 211 of file rdtarga.c.

get_24bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 239 of file rdtarga.c.

get_8bit_gray_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 174 of file rdtarga.c.

get_8bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 190 of file rdtarga.c.

get_memory_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 273 of file rdtarga.c.

jinit_read_targa ( j_compress_ptr  cinfo)

Definition at line 484 of file rdtarga.c.

preload_image ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 300 of file rdtarga.c.

read_byte ( tga_source_ptr  sinfo)

Definition at line 88 of file rdtarga.c.

read_colormap ( tga_source_ptr  sinfo,
int  cmaplen,
int  mapentrysize 
)

Definition at line 101 of file rdtarga.c.

read_non_rle_pixel ( tga_source_ptr  sinfo)

Definition at line 123 of file rdtarga.c.

read_rle_pixel ( tga_source_ptr  sinfo)

Definition at line 136 of file rdtarga.c.

start_input_tga ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 333 of file rdtarga.c.

Variable Documentation

const UINT8 c5to8bits[32]
static
Initial value:
= {
0, 8, 16, 25, 33, 41, 49, 58,
66, 74, 82, 90, 99, 107, 115, 123,
132, 140, 148, 156, 165, 173, 181, 189,
197, 206, 214, 222, 230, 239, 247, 255
}

Definition at line 78 of file rdtarga.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:27