Main MRPT website > C++ reference for MRPT 1.5.6
Classes | Macros | Typedefs | Functions | Variables
jcphuff.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
#include "jchuff.h"
Include dependency graph for jcphuff.cpp:

Go to the source code of this file.

Classes

struct  phuff_entropy_encoder
 

Macros

#define JPEG_INTERNALS
 
#define MAX_CORR_BITS   1000 /* Max # of correction bits I can buffer */
 
#define ISHIFT_TEMPS
 
#define IRIGHT_SHIFT(x, shft)   ((x) >> (shft))
 
#define emit_byte(entropy, val)
 

Typedefs

typedef phuff_entropy_encoderphuff_entropy_ptr
 

Functions

 METHODDEF (boolean) encode_mcu_DC_first JPP((j_compress_ptr cinfo
 
 METHODDEF (void) finish_pass_phuff JPP((j_compress_ptr cinfo))
 
 start_pass_phuff (j_compress_ptr cinfo, boolean gather_statistics)
 
 dump_buffer (phuff_entropy_ptr entropy)
 
INLINE emit_bits (phuff_entropy_ptr entropy, unsigned int code, int size)
 
 flush_bits (phuff_entropy_ptr entropy)
 
INLINE emit_symbol (phuff_entropy_ptr entropy, int tbl_no, int symbol)
 
 emit_buffered_bits (phuff_entropy_ptr entropy, char *bufstart, unsigned int nbits)
 
 emit_eobrun (phuff_entropy_ptr entropy)
 
 emit_restart (phuff_entropy_ptr entropy, int restart_num)
 
 encode_mcu_DC_first (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 
 encode_mcu_AC_first (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 
 encode_mcu_DC_refine (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 
 encode_mcu_AC_refine (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 
 finish_pass_phuff (j_compress_ptr cinfo)
 
 finish_pass_gather_phuff (j_compress_ptr cinfo)
 
 jinit_phuff_encoder (j_compress_ptr cinfo)
 

Variables

JBLOCKROWMCU_data
 

Macro Definition Documentation

#define emit_byte (   entropy,
  val 
)
Value:
{ *(entropy)->next_output_byte++ = (JOCTET) (val); \
if (--(entropy)->free_in_buffer == 0) \
dump_buffer(entropy); }
dump_buffer(phuff_entropy_ptr entropy)
Definition: jcphuff.cpp:200
GLuint GLfloat * val
Definition: glew.h:7785
char JOCTET
Definition: jmorecfg.h:112

Definition at line 193 of file jcphuff.cpp.

Referenced by emit_bits(), and emit_restart().

#define IRIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))

Definition at line 80 of file jcphuff.cpp.

Referenced by encode_mcu_DC_first().

#define ISHIFT_TEMPS

Definition at line 79 of file jcphuff.cpp.

Referenced by encode_mcu_DC_first().

#define JPEG_INTERNALS

Definition at line 10 of file jcphuff.cpp.

#define MAX_CORR_BITS   1000 /* Max # of correction bits I can buffer */

Definition at line 65 of file jcphuff.cpp.

Referenced by encode_mcu_AC_refine(), and start_pass_phuff().

Typedef Documentation

Definition at line 57 of file jcphuff.cpp.

Function Documentation

dump_buffer ( phuff_entropy_ptr  entropy)
INLINE emit_bits ( phuff_entropy_ptr  entropy,
unsigned int  code,
int  size 
)
emit_buffered_bits ( phuff_entropy_ptr  entropy,
char *  bufstart,
unsigned int  nbits 
)

Definition at line 292 of file jcphuff.cpp.

References emit_bits().

Referenced by emit_eobrun(), and encode_mcu_AC_refine().

emit_eobrun ( phuff_entropy_ptr  entropy)
emit_restart ( phuff_entropy_ptr  entropy,
int  restart_num 
)
INLINE emit_symbol ( phuff_entropy_ptr  entropy,
int  tbl_no,
int  symbol 
)
encode_mcu_AC_first ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
encode_mcu_AC_refine ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
encode_mcu_DC_first ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
encode_mcu_DC_refine ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
finish_pass_gather_phuff ( j_compress_ptr  cinfo)
finish_pass_phuff ( j_compress_ptr  cinfo)
flush_bits ( phuff_entropy_ptr  entropy)

Definition at line 262 of file jcphuff.cpp.

References emit_bits().

Referenced by emit_restart(), and finish_pass_phuff().

jinit_phuff_encoder ( j_compress_ptr  cinfo)
METHODDEF ( boolean  )
METHODDEF ( void  )
start_pass_phuff ( j_compress_ptr  cinfo,
boolean  gather_statistics 
)

Variable Documentation

JBLOCKROW* MCU_data

Definition at line 85 of file jcphuff.cpp.




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018