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

Go to the source code of this file.

Classes

struct  _bmp_source_struct
 

Macros

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

Typedefs

typedef struct _bmp_source_structbmp_source_ptr
 
typedef struct _bmp_source_struct bmp_source_struct
 
typedef unsigned char U_CHAR
 

Functions

 finish_input_bmp (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 
 get_24bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 
 get_8bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 
 jinit_read_bmp (j_compress_ptr cinfo)
 
 preload_image (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 
 read_byte (bmp_source_ptr sinfo)
 
 read_colormap (bmp_source_ptr sinfo, int cmaplen, int mapentrysize)
 
 start_input_bmp (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
 

Macro Definition Documentation

◆ GET_2B

#define GET_2B (   array,
  offset 
)
Value:
((unsigned int) UCH(array[offset]) + \
(((unsigned int) UCH(array[offset+1])) << 8))

◆ GET_4B

#define GET_4B (   array,
  offset 
)
Value:
((INT32) UCH(array[offset]) + \
(((INT32) UCH(array[offset+1])) << 8) + \
(((INT32) UCH(array[offset+2])) << 16) + \
(((INT32) UCH(array[offset+3])) << 24))

◆ ReadOK

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

Definition at line 45 of file rdbmp.c.

◆ UCH

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

Definition at line 33 of file rdbmp.c.

Typedef Documentation

◆ bmp_source_ptr

Definition at line 50 of file rdbmp.c.

◆ bmp_source_struct

◆ U_CHAR

typedef unsigned char U_CHAR

Definition at line 32 of file rdbmp.c.

Function Documentation

◆ finish_input_bmp()

finish_input_bmp ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 412 of file rdbmp.c.

◆ get_24bit_row()

get_24bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 150 of file rdbmp.c.

◆ get_8bit_row()

get_8bit_row ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 119 of file rdbmp.c.

◆ jinit_read_bmp()

jinit_read_bmp ( j_compress_ptr  cinfo)

Definition at line 423 of file rdbmp.c.

◆ preload_image()

preload_image ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 187 of file rdbmp.c.

◆ read_byte()

read_byte ( bmp_source_ptr  sinfo)

Definition at line 68 of file rdbmp.c.

◆ read_colormap()

read_colormap ( bmp_source_ptr  sinfo,
int  cmaplen,
int  mapentrysize 
)

Definition at line 81 of file rdbmp.c.

◆ start_input_bmp()

start_input_bmp ( j_compress_ptr  cinfo,
cjpeg_source_ptr  sinfo 
)

Definition at line 241 of file rdbmp.c.

UCH
#define UCH(x)
Definition: rdbmp.c:33
int
typedef int
Definition: png.h:1111
INT32
long INT32
Definition: jmorecfg.h:161


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:05