openshot-audio  0.1.7
Classes | Macros | Typedefs | Functions
jcphuff.c File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jchuff.h"

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)
 
#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)
 
#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)
 
 dump_buffer_p (phuff_entropy_ptr entropy)
 
INLINE emit_bits_p (phuff_entropy_ptr entropy, unsigned int code, int size)
 
 flush_bits_p (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_p (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)
 

Macro Definition Documentation

#define emit_byte (   entropy,
  val 
)
Value:
{ *(entropy)->next_output_byte++ = (JOCTET) (val); \
if (--(entropy)->free_in_buffer == 0) \
dump_buffer_p(entropy); }
int val
Definition: jpeglib.h:956
dump_buffer_p(phuff_entropy_ptr entropy)
Definition: jcphuff.c:205
char JOCTET
Definition: jmorecfg.h:115
#define emit_byte (   entropy,
  val 
)
Value:
{ *(entropy)->next_output_byte++ = (JOCTET) (val); \
if (--(entropy)->free_in_buffer == 0) \
dump_buffer_p(entropy); }
int val
Definition: jpeglib.h:956
dump_buffer_p(phuff_entropy_ptr entropy)
Definition: jcphuff.c:205
char JOCTET
Definition: jmorecfg.h:115
#define emit_byte (   entropy,
  val 
)
Value:
{ *(entropy)->next_output_byte++ = (JOCTET) (val); \
if (--(entropy)->free_in_buffer == 0) \
dump_buffer_p(entropy); }
int val
Definition: jpeglib.h:956
dump_buffer_p(phuff_entropy_ptr entropy)
Definition: jcphuff.c:205
char JOCTET
Definition: jmorecfg.h:115
#define IRIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))
#define IRIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))
#define IRIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))
#define ISHIFT_TEMPS
#define ISHIFT_TEMPS
#define ISHIFT_TEMPS
#define JPEG_INTERNALS
#define JPEG_INTERNALS
#define JPEG_INTERNALS
#define MAX_CORR_BITS   1000 /* Max # of correction bits I can buffer */
#define MAX_CORR_BITS   1000 /* Max # of correction bits I can buffer */
#define MAX_CORR_BITS   1000 /* Max # of correction bits I can buffer */

Typedef Documentation

Function Documentation

dump_buffer_p ( phuff_entropy_ptr  entropy)
INLINE emit_bits_p ( phuff_entropy_ptr  entropy,
unsigned int  code,
int  size 
)
emit_buffered_bits ( phuff_entropy_ptr  entropy,
char *  bufstart,
unsigned int  nbits 
)
emit_eobrun ( phuff_entropy_ptr  entropy)
emit_restart_p ( 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_p ( phuff_entropy_ptr  entropy)
jinit_phuff_encoder ( j_compress_ptr  cinfo)
METHODDEF ( boolean  )