Go to the source code of this file.
Classes | |
struct | my_marker_writer |
Macros | |
#define | JPEG_INTERNALS |
Typedefs | |
typedef my_marker_writer * | my_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 } |
Functions | |
emit_byte (j_compress_ptr cinfo, int val) | |
emit_marker (j_compress_ptr cinfo, JPEG_MARKER mark) | |
emit_2bytes (j_compress_ptr cinfo, int value) | |
emit_dqt (j_compress_ptr cinfo, int index) | |
emit_dht (j_compress_ptr cinfo, int index, boolean is_ac) | |
emit_dac (j_compress_ptr) | |
emit_dri (j_compress_ptr cinfo) | |
emit_sof (j_compress_ptr cinfo, JPEG_MARKER code) | |
emit_sos (j_compress_ptr cinfo) | |
emit_jfif_app0 (j_compress_ptr cinfo) | |
emit_adobe_app14 (j_compress_ptr cinfo) | |
write_marker_header (j_compress_ptr cinfo, int marker, unsigned int datalen) | |
write_marker_byte (j_compress_ptr cinfo, int val) | |
write_file_header (j_compress_ptr cinfo) | |
write_frame_header (j_compress_ptr cinfo) | |
write_scan_header (j_compress_ptr cinfo) | |
write_file_trailer (j_compress_ptr cinfo) | |
write_tables_only (j_compress_ptr cinfo) | |
jinit_marker_writer (j_compress_ptr cinfo) | |
#define JPEG_INTERNALS |
Definition at line 10 of file jcmarker.cpp.
typedef my_marker_writer* my_marker_ptr |
Definition at line 91 of file jcmarker.cpp.
enum JPEG_MARKER |
Definition at line 15 of file jcmarker.cpp.
emit_2bytes | ( | j_compress_ptr | cinfo, |
int | value | ||
) |
Definition at line 130 of file jcmarker.cpp.
References emit_byte().
Referenced by emit_adobe_app14(), emit_dac(), emit_dht(), emit_dqt(), emit_dri(), emit_jfif_app0(), emit_sof(), emit_sos(), and write_marker_header().
emit_adobe_app14 | ( | j_compress_ptr | cinfo | ) |
Definition at line 383 of file jcmarker.cpp.
References emit_2bytes(), emit_byte(), emit_marker(), JCS_YCbCr, JCS_YCCK, and M_APP14.
Referenced by write_file_header().
emit_byte | ( | j_compress_ptr | cinfo, |
int | val | ||
) |
Definition at line 107 of file jcmarker.cpp.
References ERREXIT, jpeg_destination_mgr::free_in_buffer, jpeg_destination_mgr::next_output_byte, and val.
Referenced by emit_2bytes(), emit_adobe_app14(), emit_dac(), emit_dht(), emit_dqt(), emit_jfif_app0(), emit_marker(), emit_sof(), emit_sos(), and write_marker_byte().
emit_dac | ( | j_compress_ptr | ) |
Definition at line 221 of file jcmarker.cpp.
References jpeg_component_info::ac_tbl_no, compptr, jpeg_component_info::dc_tbl_no, emit_2bytes(), emit_byte(), emit_marker(), M_DAC, and NUM_ARITH_TBLS.
Referenced by write_scan_header().
emit_dht | ( | j_compress_ptr | cinfo, |
int | index, | ||
boolean | is_ac | ||
) |
Definition at line 183 of file jcmarker.cpp.
References JHUFF_TBL::bits, emit_2bytes(), emit_byte(), emit_marker(), ERREXIT1, htbl, JHUFF_TBL::huffval, M_DHT, JHUFF_TBL::sent_table, and TRUE.
Referenced by write_scan_header(), and write_tables_only().
emit_dqt | ( | j_compress_ptr | cinfo, |
int | index | ||
) |
Definition at line 143 of file jcmarker.cpp.
References DCTSIZE2, emit_2bytes(), emit_byte(), emit_marker(), ERREXIT1, jpeg_natural_order, M_DQT, JQUANT_TBL::quantval, JQUANT_TBL::sent_table, and TRUE.
Referenced by write_frame_header(), and write_tables_only().
emit_dri | ( | j_compress_ptr | cinfo | ) |
Definition at line 264 of file jcmarker.cpp.
References emit_2bytes(), emit_marker(), and M_DRI.
Referenced by write_scan_header().
emit_jfif_app0 | ( | j_compress_ptr | cinfo | ) |
Definition at line 348 of file jcmarker.cpp.
References emit_2bytes(), emit_byte(), emit_marker(), and M_APP0.
Referenced by write_file_header().
emit_marker | ( | j_compress_ptr | cinfo, |
JPEG_MARKER | mark | ||
) |
Definition at line 121 of file jcmarker.cpp.
References emit_byte().
Referenced by emit_adobe_app14(), emit_dac(), emit_dht(), emit_dqt(), emit_dri(), emit_jfif_app0(), emit_sof(), emit_sos(), write_file_header(), write_file_trailer(), write_marker_header(), and write_tables_only().
emit_sof | ( | j_compress_ptr | cinfo, |
JPEG_MARKER | code | ||
) |
Definition at line 276 of file jcmarker.cpp.
References jpeg_component_info::component_id, compptr, emit_2bytes(), emit_byte(), emit_marker(), ERREXIT1, jpeg_component_info::h_samp_factor, jpeg_component_info::quant_tbl_no, and jpeg_component_info::v_samp_factor.
Referenced by write_frame_header().
emit_sos | ( | j_compress_ptr | cinfo | ) |
Definition at line 307 of file jcmarker.cpp.
References jpeg_component_info::ac_tbl_no, jpeg_component_info::component_id, compptr, jpeg_component_info::dc_tbl_no, emit_2bytes(), emit_byte(), emit_marker(), and M_SOS.
Referenced by write_scan_header().
jinit_marker_writer | ( | j_compress_ptr | cinfo | ) |
Definition at line 644 of file jcmarker.cpp.
References JPOOL_IMAGE, marker, SIZEOF, write_file_header(), write_file_trailer(), write_frame_header(), write_marker_byte(), write_marker_header(), write_scan_header(), and write_tables_only().
Referenced by jinit_compress_master(), jpeg_write_tables(), and transencode_master_selection().
write_file_header | ( | j_compress_ptr | cinfo | ) |
Definition at line 468 of file jcmarker.cpp.
References emit_adobe_app14(), emit_jfif_app0(), emit_marker(), M_SOI, and marker.
Referenced by jinit_marker_writer().
write_file_trailer | ( | j_compress_ptr | cinfo | ) |
Definition at line 601 of file jcmarker.cpp.
References emit_marker(), and M_EOI.
Referenced by jinit_marker_writer().
write_frame_header | ( | j_compress_ptr | cinfo | ) |
Definition at line 493 of file jcmarker.cpp.
References jpeg_component_info::ac_tbl_no, compptr, jpeg_component_info::dc_tbl_no, emit_dqt(), emit_sof(), FALSE, M_SOF0, M_SOF1, M_SOF2, M_SOF9, jpeg_component_info::quant_tbl_no, TRACEMS, and TRUE.
Referenced by jinit_marker_writer().
write_marker_byte | ( | j_compress_ptr | cinfo, |
int | val | ||
) |
Definition at line 449 of file jcmarker.cpp.
References emit_byte(), and val.
Referenced by jinit_marker_writer(), and jpeg_write_marker().
write_marker_header | ( | j_compress_ptr | cinfo, |
int | marker, | ||
unsigned int | datalen | ||
) |
Definition at line 437 of file jcmarker.cpp.
References datalen, emit_2bytes(), emit_marker(), ERREXIT, and marker.
Referenced by jinit_marker_writer().
write_scan_header | ( | j_compress_ptr | cinfo | ) |
Definition at line 550 of file jcmarker.cpp.
References jpeg_component_info::ac_tbl_no, compptr, jpeg_component_info::dc_tbl_no, emit_dac(), emit_dht(), emit_dri(), emit_sos(), FALSE, marker, and TRUE.
Referenced by jinit_marker_writer().
write_tables_only | ( | j_compress_ptr | cinfo | ) |
Definition at line 615 of file jcmarker.cpp.
References emit_dht(), emit_dqt(), emit_marker(), FALSE, M_EOI, M_SOI, NUM_HUFF_TBLS, NUM_QUANT_TBLS, TRUE, and void().
Referenced by jinit_marker_writer().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |