| 1 | /* |
| 2 | * jlossls.h |
| 3 | * |
| 4 | * Copyright (C) 1998, Thomas G. Lane. |
| 5 | * This file is part of the Independent JPEG Group's software. |
| 6 | * For conditions of distribution and use, see the accompanying README file. |
| 7 | * |
| 8 | * This include file contains common declarations for the lossless JPEG |
| 9 | * codec modules. |
| 10 | */ |
| 11 | |
| 12 | #ifndef JLOSSLS_H |
| 13 | #define JLOSSLS_Hcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:13:9`! |
| 14 | |
| 15 | |
| 16 | /* |
| 17 | * Table H.1: Predictors for lossless coding. |
| 18 | */ |
| 19 | |
| 20 | #define PREDICTOR1cxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:20:9`! Ra |
| 21 | #define PREDICTOR2cxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:21:9`! Rb |
| 22 | #define PREDICTOR3cxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:22:9`! Rc |
| 23 | #define PREDICTOR4cxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:23:9`! (int) ((INT32) Ra + (INT32) Rb - (INT32) Rc) |
| 24 | #define PREDICTOR5cxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:24:9`! (int) ((INT32) Ra + RIGHT_SHIFT((INT32) Rb - (INT32) Rc, 1)) |
| 25 | #define PREDICTOR6cxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:25:9`! (int) ((INT32) Rb + RIGHT_SHIFT((INT32) Ra - (INT32) Rc, 1)) |
| 26 | #define PREDICTOR7cxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossls.h:26:9`! (int) RIGHT_SHIFT((INT32) Ra + (INT32) Rb, 1) |
| 27 | |
| 28 | |
| 29 | typedef JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, predict_difference_method_ptr, |
| 30 | (j_compress_ptr cinfo, int ci, |
| 31 | JSAMPROW input_buf, JSAMPROW prev_row, |
| 32 | JDIFFROW diff_buf, JDIMENSION width)); |
| 33 | |
| 34 | typedef JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, scaler_method_ptr, |
| 35 | (j_compress_ptr cinfo, int ci, |
| 36 | JSAMPROW input_buf, JSAMPROW output_buf, |
| 37 | JDIMENSION width)); |
| 38 | |
| 39 | /* Lossless-specific compression codec (compressor proper) */ |
| 40 | typedef structcxx . . $ $anonymous_type_80addf5f86c1e108_0# { |
| 41 | struct jpeg_c_codeccxx . . $ jpeg_c_codec# pubcxx . . $ $anonymous_type_80addf5f86c1e108_0#pub.; /* public fields */ |
| 42 | |
| 43 | |
| 44 | /* Difference buffer control */ |
| 45 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, diff_start_pass, (j_compress_ptr cinfo, |
| 46 | J_BUF_MODE pass_mode)); |
| 47 | |
| 48 | /* Pointer to data which is private to diff controller */ |
| 49 | void *diff_privatecxx . . $ $anonymous_type_80addf5f86c1e108_0#diff_private.; |
| 50 | |
| 51 | |
| 52 | /* Entropy encoding */ |
| 53 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(JDIMENSION, entropy_encode_mcus, (j_compress_ptr cinfo, |
| 54 | JDIFFIMAGE diff_buf, |
| 55 | JDIMENSION MCU_row_num, |
| 56 | JDIMENSION MCU_col_num, |
| 57 | JDIMENSION nMCU)); |
| 58 | |
| 59 | /* Pointer to data which is private to entropy module */ |
| 60 | void *entropy_privatecxx . . $ $anonymous_type_80addf5f86c1e108_0#entropy_private.; |
| 61 | |
| 62 | |
| 63 | /* Prediction, differencing */ |
| 64 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, predict_start_pass, (j_compress_ptr cinfo)); |
| 65 | |
| 66 | /* It is useful to allow each component to have a separate diff method. */ |
| 67 | predict_difference_method_ptrcxx . . $ predict_difference_method_ptr# predict_differencecxx . . $ $anonymous_type_80addf5f86c1e108_0#predict_difference.[MAX_COMPONENTScxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:36:9`!]; |
| 68 | |
| 69 | /* Pointer to data which is private to predictor module */ |
| 70 | void *pred_privatecxx . . $ $anonymous_type_80addf5f86c1e108_0#pred_private.; |
| 71 | |
| 72 | /* Sample scaling */ |
| 73 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, scaler_start_pass, (j_compress_ptr cinfo)); |
| 74 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, scaler_scale, (j_compress_ptr cinfo, |
| 75 | JSAMPROW input_buf, JSAMPROW output_buf, |
| 76 | JDIMENSION width)); |
| 77 | |
| 78 | /* Pointer to data which is private to scaler module */ |
| 79 | void *scaler_privatecxx . . $ $anonymous_type_80addf5f86c1e108_0#scaler_private.; |
| 80 | |
| 81 | } jpeg_lossless_c_codeccxx . . $ jpeg_lossless_c_codec#; |
| 82 | |
| 83 | typedef jpeg_lossless_c_codeccxx . . $ jpeg_lossless_c_codec# * j_lossless_c_ptrcxx . . $ j_lossless_c_ptr#; |
| 84 | |
| 85 | |
| 86 | typedef JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, predict_undifference_method_ptr, |
| 87 | (j_decompress_ptr cinfo, int comp_index, |
| 88 | JDIFFROW diff_buf, JDIFFROW prev_row, |
| 89 | JDIFFROW undiff_buf, JDIMENSION width)); |
| 90 | |
| 91 | /* Lossless-specific decompression codec (decompressor proper) */ |
| 92 | typedef structcxx . . $ $anonymous_type_80addf5f86c1e108_1# { |
| 93 | struct jpeg_d_codeccxx . . $ jpeg_d_codec# pubcxx . . $ $anonymous_type_80addf5f86c1e108_1#pub.; /* public fields */ |
| 94 | |
| 95 | |
| 96 | /* Difference buffer control */ |
| 97 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, diff_start_input_pass, (j_decompress_ptr cinfo)); |
| 98 | |
| 99 | /* Pointer to data which is private to diff controller */ |
| 100 | void *diff_privatecxx . . $ $anonymous_type_80addf5f86c1e108_1#diff_private.; |
| 101 | |
| 102 | |
| 103 | /* Entropy decoding */ |
| 104 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, entropy_start_pass, (j_decompress_ptr cinfo)); |
| 105 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(boolean, entropy_process_restart, (j_decompress_ptr cinfo)); |
| 106 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(JDIMENSION, entropy_decode_mcus, (j_decompress_ptr cinfo, |
| 107 | JDIFFIMAGE diff_buf, |
| 108 | JDIMENSION MCU_row_num, |
| 109 | JDIMENSION MCU_col_num, |
| 110 | JDIMENSION nMCU)); |
| 111 | |
| 112 | /* Pointer to data which is private to entropy module */ |
| 113 | void *entropy_privatecxx . . $ $anonymous_type_80addf5f86c1e108_1#entropy_private.; |
| 114 | |
| 115 | |
| 116 | /* Prediction, undifferencing */ |
| 117 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, predict_start_pass, (j_decompress_ptr cinfo)); |
| 118 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, predict_process_restart, (j_decompress_ptr cinfo)); |
| 119 | |
| 120 | /* It is useful to allow each component to have a separate undiff method. */ |
| 121 | predict_undifference_method_ptrcxx . . $ predict_undifference_method_ptr# predict_undifferencecxx . . $ $anonymous_type_80addf5f86c1e108_1#predict_undifference.[MAX_COMPONENTScxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:36:9`!]; |
| 122 | |
| 123 | /* Pointer to data which is private to predictor module */ |
| 124 | void *pred_privatecxx . . $ $anonymous_type_80addf5f86c1e108_1#pred_private.; |
| 125 | |
| 126 | /* Sample scaling */ |
| 127 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, scaler_start_pass, (j_decompress_ptr cinfo)); |
| 128 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, scaler_scale, (j_decompress_ptr cinfo, |
| 129 | JDIFFROW diff_buf, JSAMPROW output_buf, |
| 130 | JDIMENSION width)); |
| 131 | |
| 132 | /* Pointer to data which is private to scaler module */ |
| 133 | void *scaler_privatecxx . . $ $anonymous_type_80addf5f86c1e108_1#scaler_private.; |
| 134 | |
| 135 | } jpeg_lossless_d_codeccxx . . $ jpeg_lossless_d_codec#; |
| 136 | |
| 137 | typedef jpeg_lossless_d_codeccxx . . $ jpeg_lossless_d_codec# * j_lossless_d_ptrcxx . . $ j_lossless_d_ptr#; |
| 138 | |
| 139 | |
| 140 | /* Compression module initialization routines */ |
| 141 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_lossless_c_codeccxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:47:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 142 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_lhuff_encodercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:46:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 143 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_differencercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:40:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 144 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_c_scalercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:30:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 145 | /* Decompression module initialization routines */ |
| 146 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_lossless_d_codeccxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:48:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 147 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_lhuff_decodercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:45:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 148 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_undifferencercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:60:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 149 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_d_scalercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:39:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 150 | |
| 151 | #endif /* JLOSSLS_H */ |