Classes | Defines | 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

Defines

#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)

Define Documentation

#define GET_2B (   array,
  offset 
)
Value:
((unsigned int) UCH(array[offset]) + \
                               (((unsigned int) UCH(array[offset+1])) << 8))
#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))
#define ReadOK (   file,
  buffer,
  len 
)    (JFREAD(file,buffer,len) == ((size_t) (len)))

Definition at line 45 of file rdbmp.c.

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

Definition at line 33 of file rdbmp.c.


Typedef Documentation

Definition at line 50 of file rdbmp.c.

typedef unsigned char U_CHAR

Definition at line 32 of file rdbmp.c.


Function Documentation

Definition at line 412 of file rdbmp.c.

Definition at line 150 of file rdbmp.c.

Definition at line 119 of file rdbmp.c.

Definition at line 423 of file rdbmp.c.

Definition at line 187 of file rdbmp.c.

Definition at line 68 of file rdbmp.c.

read_colormap ( bmp_source_ptr  sinfo,
int  cmaplen,
int  mapentrysize 
)

Definition at line 81 of file rdbmp.c.

Definition at line 241 of file rdbmp.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:43:58