w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

jcmarker.c File Reference
#include "jinclude.h"
#include "jpeglib.h"
Include dependency graph for jcmarker.c:

Go to the source code of this file.

Classes

struct  my_marker_writer
 

Macros

#define JPEG_INTERNALS
 

Typedefs

typedef my_marker_writermy_marker_ptr
 

Enumerations

enum  JPEG_MARKER {
  M_SOF0 = 0xc0 , M_SOF1 = 0xc1 , M_SOF2 = 0xc2 , M_SOF3 = 0xc3 ,
  M_SOF5 = 0xc5 , M_SOF6 = 0xc6 , M_SOF7 = 0xc7 , M_JPG = 0xc8 ,
  M_SOF9 = 0xc9 , M_SOF10 = 0xca , M_SOF11 = 0xcb , M_SOF13 = 0xcd ,
  M_SOF14 = 0xce , M_SOF15 = 0xcf , M_DHT = 0xc4 , M_DAC = 0xcc ,
  M_RST0 = 0xd0 , M_RST1 = 0xd1 , M_RST2 = 0xd2 , M_RST3 = 0xd3 ,
  M_RST4 = 0xd4 , M_RST5 = 0xd5 , M_RST6 = 0xd6 , M_RST7 = 0xd7 ,
  M_SOI = 0xd8 , M_EOI = 0xd9 , M_SOS = 0xda , M_DQT = 0xdb ,
  M_DNL = 0xdc , M_DRI = 0xdd , M_DHP = 0xde , M_EXP = 0xdf ,
  M_APP0 = 0xe0 , M_APP1 = 0xe1 , M_APP2 = 0xe2 , M_APP3 = 0xe3 ,
  M_APP4 = 0xe4 , M_APP5 = 0xe5 , M_APP6 = 0xe6 , M_APP7 = 0xe7 ,
  M_APP8 = 0xe8 , M_APP9 = 0xe9 , M_APP10 = 0xea , M_APP11 = 0xeb ,
  M_APP12 = 0xec , M_APP13 = 0xed , M_APP14 = 0xee , M_APP15 = 0xef ,
  M_JPG0 = 0xf0 , M_JPG13 = 0xfd , M_COM = 0xfe , M_TEM = 0x01 ,
  M_ERROR = 0x100 , M_SOF0 = 0xc0 , M_SOF1 = 0xc1 , M_SOF2 = 0xc2 ,
  M_SOF3 = 0xc3 , M_SOF5 = 0xc5 , M_SOF6 = 0xc6 , M_SOF7 = 0xc7 ,
  M_JPG = 0xc8 , M_SOF9 = 0xc9 , M_SOF10 = 0xca , M_SOF11 = 0xcb ,
  M_SOF13 = 0xcd , M_SOF14 = 0xce , M_SOF15 = 0xcf , M_DHT = 0xc4 ,
  M_DAC = 0xcc , M_RST0 = 0xd0 , M_RST1 = 0xd1 , M_RST2 = 0xd2 ,
  M_RST3 = 0xd3 , M_RST4 = 0xd4 , M_RST5 = 0xd5 , M_RST6 = 0xd6 ,
  M_RST7 = 0xd7 , M_SOI = 0xd8 , M_EOI = 0xd9 , M_SOS = 0xda ,
  M_DQT = 0xdb , M_DNL = 0xdc , M_DRI = 0xdd , M_DHP = 0xde ,
  M_EXP = 0xdf , M_APP0 = 0xe0 , M_APP1 = 0xe1 , M_APP2 = 0xe2 ,
  M_APP3 = 0xe3 , M_APP4 = 0xe4 , M_APP5 = 0xe5 , M_APP6 = 0xe6 ,
  M_APP7 = 0xe7 , M_APP8 = 0xe8 , M_APP9 = 0xe9 , M_APP10 = 0xea ,
  M_APP11 = 0xeb , M_APP12 = 0xec , M_APP13 = 0xed , M_APP14 = 0xee ,
  M_APP15 = 0xef , M_JPG0 = 0xf0 , M_JPG13 = 0xfd , M_COM = 0xfe ,
  M_TEM = 0x01 , M_ERROR = 0x100 , M_SOF0 = 0xc0 , M_SOF1 = 0xc1 ,
  M_SOF2 = 0xc2 , M_SOF3 = 0xc3 , M_SOF5 = 0xc5 , M_SOF6 = 0xc6 ,
  M_SOF7 = 0xc7 , M_JPG = 0xc8 , M_SOF9 = 0xc9 , M_SOF10 = 0xca ,
  M_SOF11 = 0xcb , M_SOF13 = 0xcd , M_SOF14 = 0xce , M_SOF15 = 0xcf ,
  M_DHT = 0xc4 , M_DAC = 0xcc , M_RST0 = 0xd0 , M_RST1 = 0xd1 ,
  M_RST2 = 0xd2 , M_RST3 = 0xd3 , M_RST4 = 0xd4 , M_RST5 = 0xd5 ,
  M_RST6 = 0xd6 , M_RST7 = 0xd7 , M_SOI = 0xd8 , M_EOI = 0xd9 ,
  M_SOS = 0xda , M_DQT = 0xdb , M_DNL = 0xdc , M_DRI = 0xdd ,
  M_DHP = 0xde , M_EXP = 0xdf , M_APP0 = 0xe0 , M_APP1 = 0xe1 ,
  M_APP2 = 0xe2 , M_APP3 = 0xe3 , M_APP4 = 0xe4 , M_APP5 = 0xe5 ,
  M_APP6 = 0xe6 , M_APP7 = 0xe7 , M_APP8 = 0xe8 , M_APP9 = 0xe9 ,
  M_APP10 = 0xea , M_APP11 = 0xeb , M_APP12 = 0xec , M_APP13 = 0xed ,
  M_APP14 = 0xee , M_APP15 = 0xef , M_JPG0 = 0xf0 , M_JPG13 = 0xfd ,
  M_COM = 0xfe , M_TEM = 0x01 , M_ERROR = 0x100 , M_SOF0 = 0xc0 ,
  M_SOF1 = 0xc1 , M_SOF2 = 0xc2 , M_SOF3 = 0xc3 , M_SOF5 = 0xc5 ,
  M_SOF6 = 0xc6 , M_SOF7 = 0xc7 , M_JPG = 0xc8 , M_SOF9 = 0xc9 ,
  M_SOF10 = 0xca , M_SOF11 = 0xcb , M_SOF13 = 0xcd , M_SOF14 = 0xce ,
  M_SOF15 = 0xcf , M_DHT = 0xc4 , M_DAC = 0xcc , M_RST0 = 0xd0 ,
  M_RST1 = 0xd1 , M_RST2 = 0xd2 , M_RST3 = 0xd3 , M_RST4 = 0xd4 ,
  M_RST5 = 0xd5 , M_RST6 = 0xd6 , M_RST7 = 0xd7 , M_SOI = 0xd8 ,
  M_EOI = 0xd9 , M_SOS = 0xda , M_DQT = 0xdb , M_DNL = 0xdc ,
  M_DRI = 0xdd , M_DHP = 0xde , M_EXP = 0xdf , M_APP0 = 0xe0 ,
  M_APP1 = 0xe1 , M_APP2 = 0xe2 , M_APP3 = 0xe3 , M_APP4 = 0xe4 ,
  M_APP5 = 0xe5 , M_APP6 = 0xe6 , M_APP7 = 0xe7 , M_APP8 = 0xe8 ,
  M_APP9 = 0xe9 , M_APP10 = 0xea , M_APP11 = 0xeb , M_APP12 = 0xec ,
  M_APP13 = 0xed , M_APP14 = 0xee , M_APP15 = 0xef , M_JPG0 = 0xf0 ,
  M_JPG13 = 0xfd , M_COM = 0xfe , M_TEM = 0x01 , M_ERROR = 0x100 ,
  M_SOF0 = 0xc0 , M_SOF1 = 0xc1 , M_SOF2 = 0xc2 , M_SOF3 = 0xc3 ,
  M_SOF5 = 0xc5 , M_SOF6 = 0xc6 , M_SOF7 = 0xc7 , M_JPG = 0xc8 ,
  M_SOF9 = 0xc9 , M_SOF10 = 0xca , M_SOF11 = 0xcb , M_SOF13 = 0xcd ,
  M_SOF14 = 0xce , M_SOF15 = 0xcf , M_DHT = 0xc4 , M_DAC = 0xcc ,
  M_RST0 = 0xd0 , M_RST1 = 0xd1 , M_RST2 = 0xd2 , M_RST3 = 0xd3 ,
  M_RST4 = 0xd4 , M_RST5 = 0xd5 , M_RST6 = 0xd6 , M_RST7 = 0xd7 ,
  M_SOI = 0xd8 , M_EOI = 0xd9 , M_SOS = 0xda , M_DQT = 0xdb ,
  M_DNL = 0xdc , M_DRI = 0xdd , M_DHP = 0xde , M_EXP = 0xdf ,
  M_APP0 = 0xe0 , M_APP1 = 0xe1 , M_APP2 = 0xe2 , M_APP3 = 0xe3 ,
  M_APP4 = 0xe4 , M_APP5 = 0xe5 , M_APP6 = 0xe6 , M_APP7 = 0xe7 ,
  M_APP8 = 0xe8 , M_APP9 = 0xe9 , M_APP10 = 0xea , M_APP11 = 0xeb ,
  M_APP12 = 0xec , M_APP13 = 0xed , M_APP14 = 0xee , M_APP15 = 0xef ,
  M_JPG0 = 0xf0 , M_JPG13 = 0xfd , M_COM = 0xfe , M_TEM = 0x01 ,
  M_ERROR = 0x100 , M_SOF0 = 0xc0 , M_SOF1 = 0xc1 , M_SOF2 = 0xc2 ,
  M_SOF3 = 0xc3 , M_SOF5 = 0xc5 , M_SOF6 = 0xc6 , M_SOF7 = 0xc7 ,
  M_JPG = 0xc8 , M_SOF9 = 0xc9 , M_SOF10 = 0xca , M_SOF11 = 0xcb ,
  M_SOF13 = 0xcd , M_SOF14 = 0xce , M_SOF15 = 0xcf , M_DHT = 0xc4 ,
  M_DAC = 0xcc , M_RST0 = 0xd0 , M_RST1 = 0xd1 , M_RST2 = 0xd2 ,
  M_RST3 = 0xd3 , M_RST4 = 0xd4 , M_RST5 = 0xd5 , M_RST6 = 0xd6 ,
  M_RST7 = 0xd7 , M_SOI = 0xd8 , M_EOI = 0xd9 , M_SOS = 0xda ,
  M_DQT = 0xdb , M_DNL = 0xdc , M_DRI = 0xdd , M_DHP = 0xde ,
  M_EXP = 0xdf , M_APP0 = 0xe0 , M_APP1 = 0xe1 , M_APP2 = 0xe2 ,
  M_APP3 = 0xe3 , M_APP4 = 0xe4 , M_APP5 = 0xe5 , M_APP6 = 0xe6 ,
  M_APP7 = 0xe7 , M_APP8 = 0xe8 , M_APP9 = 0xe9 , M_APP10 = 0xea ,
  M_APP11 = 0xeb , M_APP12 = 0xec , M_APP13 = 0xed , M_APP14 = 0xee ,
  M_APP15 = 0xef , M_JPG0 = 0xf0 , M_JPG13 = 0xfd , M_COM = 0xfe ,
  M_TEM = 0x01 , M_ERROR = 0x100 , M_SOF0 = 0xc0 , M_SOF1 = 0xc1 ,
  M_SOF2 = 0xc2 , M_SOF3 = 0xc3 , M_SOF5 = 0xc5 , M_SOF6 = 0xc6 ,
  M_SOF7 = 0xc7 , M_JPG = 0xc8 , M_SOF9 = 0xc9 , M_SOF10 = 0xca ,
  M_SOF11 = 0xcb , M_SOF13 = 0xcd , M_SOF14 = 0xce , M_SOF15 = 0xcf ,
  M_DHT = 0xc4 , M_DAC = 0xcc , M_RST0 = 0xd0 , M_RST1 = 0xd1 ,
  M_RST2 = 0xd2 , M_RST3 = 0xd3 , M_RST4 = 0xd4 , M_RST5 = 0xd5 ,
  M_RST6 = 0xd6 , M_RST7 = 0xd7 , M_SOI = 0xd8 , M_EOI = 0xd9 ,
  M_SOS = 0xda , M_DQT = 0xdb , M_DNL = 0xdc , M_DRI = 0xdd ,
  M_DHP = 0xde , M_EXP = 0xdf , M_APP0 = 0xe0 , M_APP1 = 0xe1 ,
  M_APP2 = 0xe2 , M_APP3 = 0xe3 , M_APP4 = 0xe4 , M_APP5 = 0xe5 ,
  M_APP6 = 0xe6 , M_APP7 = 0xe7 , M_APP8 = 0xe8 , M_APP9 = 0xe9 ,
  M_APP10 = 0xea , M_APP11 = 0xeb , M_APP12 = 0xec , M_APP13 = 0xed ,
  M_APP14 = 0xee , M_APP15 = 0xef , M_JPG0 = 0xf0 , M_JPG13 = 0xfd ,
  M_COM = 0xfe , M_TEM = 0x01 , M_ERROR = 0x100 , M_SOF0 = 0xc0 ,
  M_SOF1 = 0xc1 , M_SOF2 = 0xc2 , M_SOF3 = 0xc3 , M_SOF5 = 0xc5 ,
  M_SOF6 = 0xc6 , M_SOF7 = 0xc7 , M_JPG = 0xc8 , M_SOF9 = 0xc9 ,
  M_SOF10 = 0xca , M_SOF11 = 0xcb , M_SOF13 = 0xcd , M_SOF14 = 0xce ,
  M_SOF15 = 0xcf , M_DHT = 0xc4 , M_DAC = 0xcc , M_RST0 = 0xd0 ,
  M_RST1 = 0xd1 , M_RST2 = 0xd2 , M_RST3 = 0xd3 , M_RST4 = 0xd4 ,
  M_RST5 = 0xd5 , M_RST6 = 0xd6 , M_RST7 = 0xd7 , M_SOI = 0xd8 ,
  M_EOI = 0xd9 , M_SOS = 0xda , M_DQT = 0xdb , M_DNL = 0xdc ,
  M_DRI = 0xdd , M_DHP = 0xde , M_EXP = 0xdf , M_APP0 = 0xe0 ,
  M_APP1 = 0xe1 , M_APP2 = 0xe2 , M_APP3 = 0xe3 , M_APP4 = 0xe4 ,
  M_APP5 = 0xe5 , M_APP6 = 0xe6 , M_APP7 = 0xe7 , M_APP8 = 0xe8 ,
  M_APP9 = 0xe9 , M_APP10 = 0xea , M_APP11 = 0xeb , M_APP12 = 0xec ,
  M_APP13 = 0xed , M_APP14 = 0xee , M_APP15 = 0xef , M_JPG0 = 0xf0 ,
  M_JPG13 = 0xfd , M_COM = 0xfe , M_TEM = 0x01 , M_ERROR = 0x100
}
 

Functions

static void emit_byte (j_compress_ptr cinfo, int val)
 
static void emit_marker (j_compress_ptr cinfo, JPEG_MARKER mark)
 
static void emit_2bytes (j_compress_ptr cinfo, int value)
 
static int emit_dqt (j_compress_ptr cinfo, int index)
 
static void emit_dht (j_compress_ptr cinfo, int index, boolean is_ac)
 
static void emit_dac (j_compress_ptr cinfo)
 
static void emit_dri (j_compress_ptr cinfo)
 
static void emit_sof (j_compress_ptr cinfo, JPEG_MARKER code)
 
static void emit_sos (j_compress_ptr cinfo)
 
static void emit_jfif_app0 (j_compress_ptr cinfo)
 
static void emit_adobe_app14 (j_compress_ptr cinfo)
 
static void write_marker_header (j_compress_ptr cinfo, int marker, unsigned int datalen)
 
static void write_marker_byte (j_compress_ptr cinfo, int val)
 
static void write_file_header (j_compress_ptr cinfo)
 
static void write_frame_header (j_compress_ptr cinfo)
 
static void write_scan_header (j_compress_ptr cinfo)
 
static void write_file_trailer (j_compress_ptr cinfo)
 
static void write_tables_only (j_compress_ptr cinfo)
 
void jinit_marker_writer (j_compress_ptr cinfo)
 

Macro Definition Documentation

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 11 of file jcmarker.c.

Typedef Documentation

◆ my_marker_ptr

Definition at line 92 of file jcmarker.c.

Enumeration Type Documentation

◆ JPEG_MARKER

Enumerator
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR 

Definition at line 16 of file jcmarker.c.

Function Documentation

◆ emit_2bytes()

static void emit_2bytes ( j_compress_ptr  cinfo,
int  value 
)
static

◆ emit_adobe_app14()

static void emit_adobe_app14 ( j_compress_ptr  cinfo)
static

Definition at line 384 of file jcmarker.c.

References emit_2bytes(), emit_byte(), emit_marker(), JCS_YCbCr, JCS_YCCK, and M_APP14.

Referenced by write_file_header().

◆ emit_byte()

static void emit_byte ( j_compress_ptr  cinfo,
int  val 
)
static

◆ emit_dac()

◆ emit_dht()

◆ emit_dqt()

◆ emit_dri()

static void emit_dri ( j_compress_ptr  cinfo)
static

Definition at line 265 of file jcmarker.c.

References emit_2bytes(), emit_marker(), and M_DRI.

Referenced by write_scan_header().

◆ emit_jfif_app0()

static void emit_jfif_app0 ( j_compress_ptr  cinfo)
static

Definition at line 349 of file jcmarker.c.

References emit_2bytes(), emit_byte(), emit_marker(), and M_APP0.

Referenced by write_file_header().

◆ emit_marker()

◆ emit_sof()

◆ emit_sos()

◆ jinit_marker_writer()

void jinit_marker_writer ( j_compress_ptr  cinfo)

◆ write_file_header()

static void write_file_header ( j_compress_ptr  cinfo)
static

◆ write_file_trailer()

static void write_file_trailer ( j_compress_ptr  cinfo)
static

Definition at line 602 of file jcmarker.c.

References emit_marker(), and M_EOI.

◆ write_frame_header()

◆ write_marker_byte()

static void write_marker_byte ( j_compress_ptr  cinfo,
int  val 
)
static

Definition at line 450 of file jcmarker.c.

References emit_byte().

Referenced by jpeg_write_marker().

◆ write_marker_header()

static void write_marker_header ( j_compress_ptr  cinfo,
int  marker,
unsigned int  datalen 
)
static

Definition at line 438 of file jcmarker.c.

References emit_2bytes(), emit_marker(), ERREXIT, and JERR_BAD_LENGTH.

◆ write_scan_header()

◆ write_tables_only()

static void write_tables_only ( j_compress_ptr  cinfo)
static

Definition at line 616 of file jcmarker.c.

References emit_dht(), emit_dqt(), emit_marker(), FALSE, i, M_EOI, M_SOI, NULL, NUM_HUFF_TBLS, NUM_QUANT_TBLS, TRUE, and void.