openshot-audio  0.1.6
Classes | Macros | Typedefs | Functions
jquant1.c File Reference
#include "jinclude.h"
#include "jpeglib.h"

Classes

struct  my_cquantizer
 

Macros

#define JPEG_INTERNALS
 
#define ODITHER_SIZE   16 /* dimension of dither matrix */
 
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
 
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
 
#define MAX_Q_COMPS   4 /* max components I can handle */
 
#define JPEG_INTERNALS
 
#define ODITHER_SIZE   16 /* dimension of dither matrix */
 
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
 
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
 
#define MAX_Q_COMPS   4 /* max components I can handle */
 
#define JPEG_INTERNALS
 
#define ODITHER_SIZE   16 /* dimension of dither matrix */
 
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
 
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
 
#define MAX_Q_COMPS   4 /* max components I can handle */
 

Typedefs

typedef int ODITHER_MATRIX[ODITHER_SIZE][ODITHER_SIZE]
 
typedef int(* ODITHER_MATRIX_PTR)[ODITHER_SIZE]
 
typedef INT16 FSERROR
 
typedef int LOCFSERROR
 
typedef FSERROR FARFSERRPTR
 
typedef my_cquantizermy_cquantize_ptr
 

Functions

 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
 
 output_value (j_decompress_ptr, int, int j, int maxj)
 
 largest_input_value (j_decompress_ptr, int, int j, int maxj)
 
 create_colormap (j_decompress_ptr cinfo)
 
 create_colorindex (j_decompress_ptr cinfo)
 
 make_odither_array (j_decompress_ptr cinfo, int ncolors)
 
 create_odither_tables (j_decompress_ptr cinfo)
 
 color_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 color_quantize3 (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 quantize_ord_dither (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 quantize3_ord_dither (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 quantize_fs_dither (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 alloc_fs_workspace (j_decompress_ptr cinfo)
 
 start_pass_1_quant (j_decompress_ptr cinfo, boolean)
 
 finish_pass_1_quant (j_decompress_ptr)
 
 new_color_map_1_quant (j_decompress_ptr cinfo)
 
 jinit_1pass_quantizer (j_decompress_ptr cinfo)
 

Macro Definition Documentation

◆ JPEG_INTERNALS [1/3]

#define JPEG_INTERNALS

◆ JPEG_INTERNALS [2/3]

#define JPEG_INTERNALS

◆ JPEG_INTERNALS [3/3]

#define JPEG_INTERNALS

◆ MAX_Q_COMPS [1/3]

#define MAX_Q_COMPS   4 /* max components I can handle */

◆ MAX_Q_COMPS [2/3]

#define MAX_Q_COMPS   4 /* max components I can handle */

◆ MAX_Q_COMPS [3/3]

#define MAX_Q_COMPS   4 /* max components I can handle */

◆ ODITHER_CELLS [1/3]

#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */

◆ ODITHER_CELLS [2/3]

#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */

◆ ODITHER_CELLS [3/3]

#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */

◆ ODITHER_MASK [1/3]

#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */

◆ ODITHER_MASK [2/3]

#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */

◆ ODITHER_MASK [3/3]

#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */

◆ ODITHER_SIZE [1/3]

#define ODITHER_SIZE   16 /* dimension of dither matrix */

◆ ODITHER_SIZE [2/3]

#define ODITHER_SIZE   16 /* dimension of dither matrix */

◆ ODITHER_SIZE [3/3]

#define ODITHER_SIZE   16 /* dimension of dither matrix */

Typedef Documentation

◆ FSERROR

typedef INT16 FSERROR

◆ FSERRPTR

typedef FSERROR FAR* FSERRPTR

◆ LOCFSERROR

typedef int LOCFSERROR

◆ my_cquantize_ptr

◆ ODITHER_MATRIX

typedef int ODITHER_MATRIX[ODITHER_SIZE][ODITHER_SIZE]

◆ ODITHER_MATRIX_PTR

typedef int(* ODITHER_MATRIX_PTR)[ODITHER_SIZE]

Function Documentation

◆ alloc_fs_workspace()

alloc_fs_workspace ( j_decompress_ptr  cinfo)

◆ color_quantize()

color_quantize ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)

◆ color_quantize3()

color_quantize3 ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)

◆ create_colorindex()

create_colorindex ( j_decompress_ptr  cinfo)

◆ create_colormap()

create_colormap ( j_decompress_ptr  cinfo)

◆ create_odither_tables()

create_odither_tables ( j_decompress_ptr  cinfo)

◆ finish_pass_1_quant()

finish_pass_1_quant ( j_decompress_ptr  )

◆ jinit_1pass_quantizer()

jinit_1pass_quantizer ( j_decompress_ptr  cinfo)

◆ largest_input_value()

largest_input_value ( j_decompress_ptr  ,
int  ,
int  j,
int  maxj 
)

◆ make_odither_array()

make_odither_array ( j_decompress_ptr  cinfo,
int  ncolors 
)

◆ new_color_map_1_quant()

new_color_map_1_quant ( j_decompress_ptr  cinfo)

◆ output_value()

output_value ( j_decompress_ptr  ,
int  ,
int  j,
int  maxj 
)

◆ quantize3_ord_dither()

quantize3_ord_dither ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)

◆ quantize_fs_dither()

quantize_fs_dither ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)

◆ quantize_ord_dither()

quantize_ord_dither ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)

◆ select_ncolors()

select_ncolors ( j_decompress_ptr  cinfo,
int  Ncolors[] 
)

◆ start_pass_1_quant()

start_pass_1_quant ( j_decompress_ptr  cinfo,
boolean   
)