/external/jpeg/ |
jcphuff.c | 8 * 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->pub.encode_mcu = encode_mcu_AC_refine 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...] |
jdphuff.c | 8 * This file contains Huffman entropy decoding routines for progressive JPEG. 26 * Expanded entropy decoder object for progressive Huffman decoding. 93 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 150 entropy->pub.decode_mcu = decode_mcu_DC_first; 152 entropy->pub.decode_mcu = decode_mcu_AC_first; 155 entropy->pub.decode_mcu = decode_mcu_DC_refine; 157 entropy->pub.decode_mcu = decode_mcu_AC_refine; 169 & entropy->derived_tbls[tbl]); 174 & entropy->derived_tbls[tbl]) 229 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 287 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 358 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 443 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 492 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 643 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 659 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 688 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 702 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 724 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 744 phuff_entropy_ptr entropy; local [all...] |
jdhuff.c | 8 * 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->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no] 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...] |
jchuff.c | 8 * 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->dc_count_ptrs[dctbl] = (long * 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...] |
jdcoefct.c | 10 * The coefficient buffer lies between entropy decoding and inverse-DCT steps. 41 * and let the entropy decoder write into that workspace each time. 172 /* Try to fetch an MCU. Entropy decoder expects buffer to be zeroed. */ 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)) [all...] |
jdapistd.c | 242 (*cinfo->entropy->start_pass) (cinfo); 254 cinfo->entropy->index = index; 292 (*cinfo->entropy->configure_huffman_decoder) (cinfo, offset_data);
|
jcmaster.c | 418 (*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);
|
jccoefct.c | 10 * 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)) {
|
jdtrans.c | 122 (*cinfo->entropy->configure_huffman_decoder) 228 /* Entropy decoding: either Huffman or arithmetic coding. */
|
jpeglib.h | 129 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. [all...] |
jctrans.c | 168 /* Entropy encoding: either Huffman or arithmetic coding. */ 271 * The data is obtained from the virtual arrays and fed to the entropy coder. 337 if (! (*cinfo->entropy->encode_mcu) (cinfo, MCU_buffer)) {
|
/external/openssl/crypto/rand/ |
md_rand.c | 141 static double entropy=0; variable 186 entropy=0; 312 * much entropy as fits into md. */ 317 if (entropy < ENTROPY_NEEDED) /* stop counting when we have enough */ 318 entropy += add; 398 ok = (entropy >= ENTROPY_NEEDED); 403 * state; thus we have to decrease the entropy estimate. 405 * adjust the entropy count, though, because we're not ambitious 409 * we have enough entropy. Entropy should be collecte [all...] |
rand.h | 86 void (*add)(const void *buf, int num, double entropy); 105 void RAND_add(const void *buf,int num,double entropy);
|
rand_lib.c | 147 void RAND_add(const void *buf, int num, double entropy) 151 meth->add(buf,num,entropy);
|
/external/openssl/include/openssl/ |
rand.h | 86 void (*add)(const void *buf, int num, double entropy); 105 void RAND_add(const void *buf,int num,double entropy);
|
/external/wpa_supplicant_8/src/crypto/ |
random.c | 14 * This random number generator is used to provide additional entropy to the 65 static unsigned int entropy = 0; variable 137 wpa_printf(MSG_MSGDUMP, "Add randomness: count=%u entropy=%u", 138 count, entropy); 139 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) { 141 * No need to add more entropy at this point, so save CPU and 154 entropy++; 165 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u", 166 (unsigned int) len, entropy); 173 /* Mix in additional entropy extracted from the internal pool * [all...] |
/external/wpa_supplicant/ |
eap_pax_common.c | 28 * @entropy: Exchanged entropy to seed the KDF (Z) 29 * @entropy_len: Length of the entropy in bytes 38 const u8 *entropy, size_t entropy_len, 57 addr[1] = entropy; 126 * @e: Entropy
|
eap_pax_common.h | 91 const u8 *entropy, size_t entropy_len,
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_pax_common.c | 28 * @entropy: Exchanged entropy to seed the KDF (Z) 29 * @entropy_len: Length of the entropy in bytes 38 const u8 *entropy, size_t entropy_len, 57 addr[1] = entropy; 126 * @e: Entropy
|
eap_pax_common.h | 87 const u8 *entropy, size_t entropy_len,
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.c | 28 * @entropy: Exchanged entropy to seed the KDF (Z) 29 * @entropy_len: Length of the entropy in bytes 38 const u8 *entropy, size_t entropy_len, 57 addr[1] = entropy; 126 * @e: Entropy
|
eap_pax_common.h | 87 const u8 *entropy, size_t entropy_len,
|
/frameworks/base/cmds/keystore/ |
keystore.cpp | 123 class Entropy { 125 Entropy() : mRandom(-1) {} 126 ~Entropy() { 198 ResponseCode encryptBlob(const char* filename, AES_KEY *aes_key, Entropy* entropy) { 199 if (!entropy->generate_random_data(mBlob.vector, AES_BLOCK_SIZE)) { 291 KeyStore(Entropy* entropy) : mEntropy(entropy), mRetry(MAX_RETRY) { 440 Entropy* mEntropy 765 Entropy entropy; local [all...] |
/external/libvpx/vp8/ |
vp8_common.mk | 22 VP8_COMMON_SRCS-yes += common/entropy.c 35 VP8_COMMON_SRCS-yes += common/entropy.h
|
/external/libvpx/ |
Android.mk | 20 vp8/common/entropy.c \
|