Searched refs:entropy (Results 1 - 25 of 102) sorted by last modified time

12345

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
H A Deap_pax_common.h81 const u8 *entropy, size_t entropy_len,
/external/wpa_supplicant_8/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/wpa_supplicant_8/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
H A Deap_pax_common.h81 const u8 *entropy, size_t entropy_len,
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
H A Deap_pax_common.h81 const u8 *entropy, size_t entropy_len,
/external/webp/src/enc/
H A Dbackward_references.c239 // For lower entropy images, the rigorous search loop in HashChainFindCopy
879 // Returns entropy for the given cache bits.
888 double entropy = MAX_ENTROPY; local
926 entropy = VP8LHistogramEstimateBits(histo) +
931 return entropy;
952 // Do a binary search to find the optimal entropy for cache_bits.
/external/qemu/distrib/jpeg-6b/
H A Djccoefct.c10 * The coefficient buffer lies between forward-DCT and entropy encoding steps.
204 if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
233 * We must also emit the data to the entropy encoder. This is conveniently
240 * the entropy encoder during this first pass; be careful about looking
325 /* Emit data to the entropy encoder, sharing code with subsequent passes */
334 * The data is obtained from the virtual arrays and fed to the entropy coder.
381 if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
H A Djchuff.c8 * This file contains Huffman entropy encoding routines.
23 /* Expanded entropy encoder object for Huffman encoding.
108 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
114 entropy->pub.encode_mcu = encode_mcu_gather;
115 entropy->pub.finish_pass = finish_pass_gather;
120 entropy->pub.encode_mcu = encode_mcu_huff;
121 entropy->pub.finish_pass = finish_pass_huff;
138 if (entropy->dc_count_ptrs[dctbl] == NULL)
139 entropy
478 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
535 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
647 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
848 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
893 huff_entropy_ptr entropy; local
[all...]
H A Djcmaster.c418 (*cinfo->entropy->start_pass) (cinfo, cinfo->optimize_coding);
437 (*cinfo->entropy->start_pass) (cinfo, TRUE);
456 (*cinfo->entropy->start_pass) (cinfo, FALSE);
507 /* The entropy coder always needs an end-of-pass call,
510 (*cinfo->entropy->finish_pass) (cinfo);
H A Djcphuff.c8 * This file contains Huffman entropy encoding routines for progressive JPEG.
22 /* Expanded entropy encoder object for progressive Huffman encoding. */
108 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
113 entropy->cinfo = cinfo;
114 entropy->gather_statistics = gather_statistics;
123 entropy->pub.encode_mcu = encode_mcu_DC_first;
125 entropy->pub.encode_mcu = encode_mcu_AC_first;
128 entropy->pub.encode_mcu = encode_mcu_DC_refine;
130 entropy
205 dump_buffer(phuff_entropy_ptr entropy) argument
228 emit_bits(phuff_entropy_ptr entropy, unsigned int code, int size) argument
267 flush_bits(phuff_entropy_ptr entropy) argument
281 emit_symbol(phuff_entropy_ptr entropy, int tbl_no, int symbol) argument
297 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
316 emit_eobrun(phuff_entropy_ptr entropy) argument
347 emit_restart(phuff_entropy_ptr entropy, int restart_num) argument
379 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
466 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
573 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
620 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
748 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
769 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
816 phuff_entropy_ptr entropy; local
[all...]
H A Djctrans.c271 * The data is obtained from the virtual arrays and fed to the entropy coder.
337 if (! (*cinfo->entropy->encode_mcu) (cinfo, MCU_buffer)) {
H A Djdapistd.c242 (*cinfo->entropy->start_pass) (cinfo);
254 cinfo->entropy->index = index;
292 (*cinfo->entropy->configure_huffman_decoder) (cinfo, offset_data);
H A Djdcoefct.c10 * The coefficient buffer lies between entropy decoding and inverse-DCT steps.
41 * and let the entropy decoder write into that workspace each time.
174 (*cinfo->entropy->decode_mcu_discard_coef) (cinfo);
179 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
272 /* Note: entropy decoder expects buffer to be zeroed,
290 * cinfo->entropy->index->MCU_sample_size * iMCU_width_To_MCU_width);
301 cinfo->entropy->index->scan[cinfo->input_scan_number];
303 (*cinfo->entropy->configure_huffman_decoder) (cinfo,
334 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
362 huffman_index *index = cinfo->entropy
[all...]
H A Djdhuff.c8 * This file contains Huffman entropy decoding routines.
26 * Expanded entropy decoder object for Huffman decoding.
89 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
108 & entropy->dc_derived_tbls[dctbl]);
110 & entropy->ac_derived_tbls[actbl]);
112 entropy->saved.last_dc_val[ci] = 0;
120 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no];
121 entropy
471 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
509 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
526 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
553 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
569 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
605 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
724 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
803 huff_entropy_ptr entropy; local
879 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
[all...]
H A Djdinput.c276 (*cinfo->entropy->start_pass) (cinfo);
380 /* Reset progression state -- would be cleaner if entropy decoder did this */
H A Djdphuff.c8 * This file contains Huffman entropy decoding routines for progressive JPEG.
26 * Expanded entropy decoder object for progressive Huffman decoding.
97 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
154 entropy->pub.decode_mcu = decode_mcu_DC_first;
156 entropy->pub.decode_mcu = decode_mcu_AC_first;
159 entropy->pub.decode_mcu = decode_mcu_DC_refine;
161 entropy->pub.decode_mcu = decode_mcu_AC_refine;
173 & entropy->derived_tbls[tbl]);
178 & entropy
233 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
291 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
362 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
447 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
496 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
647 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
663 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
692 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
706 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
728 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
748 phuff_entropy_ptr entropy; local
[all...]
H A Djdtrans.c122 (*cinfo->entropy->configure_huffman_decoder)
H A Djpeglib.h129 int dc_tbl_no; /* DC entropy table selector (0..3) */
130 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
618 /* This field is shared between entropy decoder and marker parser.
633 struct jpeg_entropy_decoder * entropy; member in struct:jpeg_decompress_struct
650 // save the decoder current bit buffer, entropy->bitstate.get_buffer.
/external/pdfium/core/include/thirdparties/libjpeg/
H A Djpeglib.h196 int dc_tbl_no; /* DC entropy table selector (0..3) */
197 int ac_tbl_no; /* AC entropy table selector (0..3) */
389 boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
470 struct jpeg_entropy_encoder * entropy; member in struct:jpeg_compress_struct
677 /* This field is shared between entropy decoder and marker parser.
692 struct jpeg_entropy_decoder * entropy; member in struct:jpeg_decompress_struct
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jccoefct.c11 * The coefficient buffer lies between forward-DCT and entropy encoding steps.
205 if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
234 * We must also emit the data to the entropy encoder. This is conveniently
241 * the entropy encoder during this first pass; be careful about looking
326 /* Emit data to the entropy encoder, sharing code with subsequent passes */
335 * The data is obtained from the virtual arrays and fed to the entropy coder.
382 if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
H A Dfpdfapi_jchuff.c9 * 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...]

Completed in 2347 milliseconds

12345