Searched refs:entropy (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djcphuff.c12 * This file contains Huffman entropy encoding routines for progressive JPEG.
26 /* Expanded entropy encoder object for progressive Huffman encoding. */
112 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
117 entropy->cinfo = cinfo;
118 entropy->gather_statistics = gather_statistics;
127 entropy->pub.encode_mcu = encode_mcu_DC_first;
129 entropy->pub.encode_mcu = encode_mcu_AC_first;
132 entropy->pub.encode_mcu = encode_mcu_DC_refine;
134 entropy
209 dump_buffer(phuff_entropy_ptr entropy) argument
232 emit_bits(phuff_entropy_ptr entropy, unsigned int code, int size) argument
271 flush_bits(phuff_entropy_ptr entropy) argument
285 emit_symbol(phuff_entropy_ptr entropy, int tbl_no, int symbol) argument
301 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
320 emit_eobrun(phuff_entropy_ptr entropy) argument
351 emit_restart(phuff_entropy_ptr entropy, int restart_num) argument
383 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
470 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
577 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
624 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
752 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
773 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
820 phuff_entropy_ptr entropy; local
[all...]
H A Djdphuff.c12 * This file contains Huffman entropy decoding routines for progressive JPEG.
30 * Expanded entropy decoder object for progressive Huffman decoding.
98 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
155 entropy->pub.decode_mcu = decode_mcu_DC_first;
157 entropy->pub.decode_mcu = decode_mcu_AC_first;
160 entropy->pub.decode_mcu = decode_mcu_DC_refine;
162 entropy->pub.decode_mcu = decode_mcu_AC_refine;
174 & entropy->derived_tbls[tbl]);
179 & entropy
234 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
292 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
363 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
448 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
497 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
647 phuff_entropy_ptr entropy; local
[all...]
H A Djdhuff.c12 * This file contains Huffman entropy decoding routines.
28 * Expanded entropy decoder object for Huffman decoding.
92 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
111 & entropy->dc_derived_tbls[dctbl]);
113 & entropy->ac_derived_tbls[actbl]);
115 entropy->saved.last_dc_val[ci] = 0;
123 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no];
124 entropy
474 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
523 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
641 huff_entropy_ptr entropy; local
[all...]
H A Djchuff.c12 * This file contains Huffman entropy encoding routines.
27 /* Expanded entropy encoder object for Huffman encoding.
112 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
118 entropy->pub.encode_mcu = encode_mcu_gather;
119 entropy->pub.finish_pass = finish_pass_gather;
124 entropy->pub.encode_mcu = encode_mcu_huff;
125 entropy->pub.finish_pass = finish_pass_huff;
142 if (entropy->dc_count_ptrs[dctbl] == NULL)
143 entropy
482 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
539 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
651 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
852 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
897 huff_entropy_ptr entropy; local
[all...]
H A Djcmaster.c422 (*cinfo->entropy->start_pass) (cinfo, cinfo->optimize_coding);
441 (*cinfo->entropy->start_pass) (cinfo, TRUE);
460 (*cinfo->entropy->start_pass) (cinfo, FALSE);
511 /* The entropy coder always needs an end-of-pass call,
514 (*cinfo->entropy->finish_pass) (cinfo);
H A Djccoefct.c14 * The coefficient buffer lies between forward-DCT and entropy encoding steps.
208 if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
237 * We must also emit the data to the entropy encoder. This is conveniently
244 * the entropy encoder during this first pass; be careful about looking
329 /* Emit data to the entropy encoder, sharing code with subsequent passes */
338 * The data is obtained from the virtual arrays and fed to the entropy coder.
385 if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
H A Djdcoefct.c14 * The coefficient buffer lies between entropy decoding and inverse-DCT steps.
45 * and let the entropy decoder write into that workspace each time.
171 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
265 /* Note: entropy decoder expects buffer to be zeroed,
289 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
H A Djpeglib.h133 int dc_tbl_no; /* DC entropy table selector (0..3) */
134 int ac_tbl_no; /* AC entropy table selector (0..3) */
326 boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
407 struct jpeg_entropy_encoder * entropy; member in struct:jpeg_compress_struct
614 /* This field is shared between entropy decoder and marker parser.
629 struct jpeg_entropy_decoder * entropy; member in struct:jpeg_decompress_struct
H A Djctrans.c275 * The data is obtained from the virtual arrays and fed to the entropy coder.
341 if (! (*cinfo->entropy->encode_mcu) (cinfo, MCU_buffer)) {
H A Djdinput.c262 (*cinfo->entropy->start_pass) (cinfo);
354 /* Reset progression state -- would be cleaner if entropy decoder did this */

Completed in 49 milliseconds