| 1 | /* |
| 2 | * jlossy.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 lossy (DCT-based) |
| 9 | * JPEG codec modules. |
| 10 | */ |
| 11 | |
| 12 | #ifndef JLOSSY_H |
| 13 | #define JLOSSY_Hcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jlossy.h:13:9`! |
| 14 | |
| 15 | |
| 16 | /* Lossy-specific compression codec (compressor proper) */ |
| 17 | typedef structcxx . . $ $anonymous_type_b44d3c6f5583323_0# { |
| 18 | struct jpeg_c_codeccxx . . $ jpeg_c_codec# pubcxx . . $ $anonymous_type_b44d3c6f5583323_0#pub.; /* public fields */ |
| 19 | |
| 20 | |
| 21 | /* Coefficient buffer control */ |
| 22 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, coef_start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); |
| 23 | /* JMETHOD(boolean, coef_compress_data, (j_compress_ptr cinfo, |
| 24 | JSAMPIMAGE input_buf));*/ |
| 25 | |
| 26 | /* Pointer to data which is private to coef module */ |
| 27 | void *coef_privatecxx . . $ $anonymous_type_b44d3c6f5583323_0#coef_private.; |
| 28 | |
| 29 | |
| 30 | /* Forward DCT (also controls coefficient quantization) */ |
| 31 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, fdct_start_pass, (j_compress_ptr cinfo)); |
| 32 | /* perhaps this should be an array??? */ |
| 33 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, fdct_forward_DCT, (j_compress_ptr cinfo, |
| 34 | jpeg_component_info * compptr, |
| 35 | JSAMPARRAY sample_data, JBLOCKROW coef_blocks, |
| 36 | JDIMENSION start_row, JDIMENSION start_col, |
| 37 | JDIMENSION num_blocks)); |
| 38 | |
| 39 | /* Pointer to data which is private to fdct module */ |
| 40 | void *fdct_privatecxx . . $ $anonymous_type_b44d3c6f5583323_0#fdct_private.; |
| 41 | |
| 42 | |
| 43 | /* Entropy encoding */ |
| 44 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(boolean, entropy_encode_mcu, (j_compress_ptr cinfo, |
| 45 | JBLOCKROW *MCU_data)); |
| 46 | |
| 47 | /* Pointer to data which is private to entropy module */ |
| 48 | void *entropy_privatecxx . . $ $anonymous_type_b44d3c6f5583323_0#entropy_private.; |
| 49 | |
| 50 | } jpeg_lossy_c_codeccxx . . $ jpeg_lossy_c_codec#; |
| 51 | |
| 52 | typedef jpeg_lossy_c_codeccxx . . $ jpeg_lossy_c_codec# * j_lossy_c_ptrcxx . . $ j_lossy_c_ptr#; |
| 53 | |
| 54 | |
| 55 | |
| 56 | typedef JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, inverse_DCT_method_ptr, |
| 57 | (j_decompress_ptr cinfo, jpeg_component_info * compptr, |
| 58 | JCOEFPTR coef_block, |
| 59 | JSAMPARRAY output_buf, JDIMENSION output_col)); |
| 60 | |
| 61 | /* Lossy-specific decompression codec (decompressor proper) */ |
| 62 | typedef structcxx . . $ $anonymous_type_b44d3c6f5583323_1# { |
| 63 | struct jpeg_d_codeccxx . . $ jpeg_d_codec# pubcxx . . $ $anonymous_type_b44d3c6f5583323_1#pub.; /* public fields */ |
| 64 | |
| 65 | |
| 66 | /* Coefficient buffer control */ |
| 67 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, coef_start_input_pass, (j_decompress_ptr cinfo)); |
| 68 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, coef_start_output_pass, (j_decompress_ptr cinfo)); |
| 69 | |
| 70 | /* Pointer to array of coefficient virtual arrays, or NULL if none */ |
| 71 | jvirt_barray_ptrcxx . . $ jvirt_barray_ptr# *coef_arrayscxx . . $ $anonymous_type_b44d3c6f5583323_1#coef_arrays.; |
| 72 | |
| 73 | /* Pointer to data which is private to coef module */ |
| 74 | void *coef_privatecxx . . $ $anonymous_type_b44d3c6f5583323_1#coef_private.; |
| 75 | |
| 76 | |
| 77 | /* Entropy decoding */ |
| 78 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, entropy_start_pass, (j_decompress_ptr cinfo)); |
| 79 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(boolean, entropy_decode_mcu, (j_decompress_ptr cinfo, |
| 80 | JBLOCKROW *MCU_data)); |
| 81 | |
| 82 | /* This is here to share code between baseline and progressive decoders; */ |
| 83 | /* other modules probably should not use it */ |
| 84 | booleancxx . . $ boolean# entropy_insufficient_datacxx . . $ $anonymous_type_b44d3c6f5583323_1#entropy_insufficient_data.; /* set TRUE after emitting warning */ |
| 85 | |
| 86 | /* Pointer to data which is private to entropy module */ |
| 87 | void *entropy_privatecxx . . $ $anonymous_type_b44d3c6f5583323_1#entropy_private.; |
| 88 | |
| 89 | |
| 90 | /* Inverse DCT (also performs dequantization) */ |
| 91 | JMETHODcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:256:9`!(void, idct_start_pass, (j_decompress_ptr cinfo)); |
| 92 | |
| 93 | /* It is useful to allow each component to have a separate IDCT method. */ |
| 94 | inverse_DCT_method_ptrcxx . . $ inverse_DCT_method_ptr# inverse_DCTcxx . . $ $anonymous_type_b44d3c6f5583323_1#inverse_DCT.[MAX_COMPONENTScxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:36:9`!]; |
| 95 | |
| 96 | /* Pointer to data which is private to idct module */ |
| 97 | void *idct_privatecxx . . $ $anonymous_type_b44d3c6f5583323_1#idct_private.; |
| 98 | |
| 99 | } jpeg_lossy_d_codeccxx . . $ jpeg_lossy_d_codec#; |
| 100 | |
| 101 | typedef jpeg_lossy_d_codeccxx . . $ jpeg_lossy_d_codec# * j_lossy_d_ptrcxx . . $ j_lossy_d_ptr#; |
| 102 | |
| 103 | |
| 104 | /* Compression module initialization routines */ |
| 105 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_lossy_c_codeccxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:49:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 106 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_c_coef_controllercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:25:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo, |
| 107 | boolean need_full_buffer)); |
| 108 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_forward_dctcxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:42:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 109 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_shuff_encodercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:59:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 110 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_phuff_encodercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:57:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_compress_ptr cinfo)); |
| 111 | |
| 112 | /* Decompression module initialization routines */ |
| 113 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_lossy_d_codeccxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:50:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 114 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_d_coef_controllercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:35:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo, |
| 115 | boolean need_full_buffer)); |
| 116 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_shuff_decodercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:58:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 117 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_phuff_decodercxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:56:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 118 | EXTERNcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jmorecfg.h:245:9`!(void) jinit_inverse_dctcxx . . $ `build/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/8/mangle_jpeg8bits.h:44:9`! JPPcxx . . $ `Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/jpeglib.h:850:9`!((j_decompress_ptr cinfo)); |
| 119 | |
| 120 | #endif /* JLOSSY_H */ |