/external/chromium_org/third_party/libjpeg_turbo/ |
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 377 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 464 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 571 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 618 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 746 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 767 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 814 phuff_entropy_ptr entropy; local [all...] |
jdarith.c | 8 * This file contains portable arithmetic entropy decoding routines for JPEG 21 /* Expanded entropy decoder object for arithmetic decoding. */ 108 register arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy; 192 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 204 MEMZERO(entropy->dc_stats[compptr->dc_tbl_no], DC_STAT_BINS); 206 entropy->last_dc_val[ci] = 0; 207 entropy->dc_context[ci] = 0; 210 MEMZERO(entropy->ac_stats[compptr->ac_tbl_no], AC_STAT_BINS); 215 entropy->c = 0 243 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 322 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 396 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 429 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 498 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 623 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 732 arith_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. 94 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 151 entropy->pub.decode_mcu = decode_mcu_DC_first; 153 entropy->pub.decode_mcu = decode_mcu_AC_first; 156 entropy->pub.decode_mcu = decode_mcu_DC_refine; 158 entropy->pub.decode_mcu = decode_mcu_AC_refine; 170 & entropy->derived_tbls[tbl]); 175 & entropy->derived_tbls[tbl]) 231 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 289 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 360 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 445 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 494 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 644 phuff_entropy_ptr entropy; local [all...] |
jcarith.c | 8 * This file contains portable arithmetic entropy encoding routines for JPEG 21 /* Expanded entropy encoder object for arithmetic encoding. */ 135 arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy; 221 register arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy; 321 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 335 MEMZERO(entropy->dc_stats[compptr->dc_tbl_no], DC_STAT_BINS); 337 entropy->last_dc_val[ci] = 0; 338 entropy->dc_context[ci] = 0; 342 MEMZERO(entropy->ac_stats[compptr->ac_tbl_no], AC_STAT_BINS) 364 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 455 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 554 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 589 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 682 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 824 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local 907 arith_entropy_ptr entropy; local [all...] |
jdhuff.c | 10 * This file contains Huffman entropy decoding routines. 27 * Expanded entropy decoder object for Huffman decoding. 91 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 110 & entropy->dc_derived_tbls[dctbl]); 112 & entropy->ac_derived_tbls[actbl]); 114 entropy->saved.last_dc_val[ci] = 0; 122 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no]; 123 entropy->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no] 519 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 553 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 648 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 751 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 795 huff_entropy_ptr entropy; local [all...] |
jchuff.c | 10 * This file contains Huffman entropy encoding routines. 61 /* Expanded entropy encoder object for Huffman encoding. 146 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 152 entropy->pub.encode_mcu = encode_mcu_gather; 153 entropy->pub.finish_pass = finish_pass_gather; 158 entropy->pub.encode_mcu = encode_mcu_huff; 159 entropy->pub.finish_pass = finish_pass_huff; 176 if (entropy->dc_count_ptrs[dctbl] == NULL) 177 entropy->dc_count_ptrs[dctbl] = (long * 624 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 681 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 793 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 994 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local 1039 huff_entropy_ptr entropy; local [all...] |
/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 642 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 671 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 685 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 711 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 722 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 742 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...] |
/external/libcxx/test/numerics/rand/rand.device/ |
entropy.pass.cpp | 14 // double entropy() const; 22 double e = r.entropy();
|
Android.mk | 23 test_name := numerics/rand/rand.device/entropy 24 test_src := entropy.pass.cpp
|
/external/chromium_org/third_party/boringssl/src/crypto/rand/ |
rand.c | 24 void RAND_add(const void *buf, int num, double entropy) {}
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
rand.h | 43 OPENSSL_EXPORT void RAND_add(const void *buf, int num, double entropy);
|
/external/chromium_org/net/quic/ |
quic_sent_entropy_manager.h | 5 // Manages the packet entropy calculation for both sent and received packets 23 // Records all sent packets by a connection to track the cumulative entropy of 36 // Retrieves the cumulative entropy up to |sequence_number|. 41 // Returns true if |entropy_hash| matches the expected sent entropy hash 57 CumulativeEntropy() : sequence_number(0), entropy(0) {} 60 QuicPacketEntropyHash entropy; member in struct:net::QuicSentEntropyManager::CumulativeEntropy 66 // Convenience method to get the entropy hash for |sequence_number|. 70 // Update the cumulative entropy to |sequence_number|. 74 // Maps sequence numbers to the sent entropy hash for the sequence number. 78 // Cache the cumulative entropy for IsValidEntropy [all...] |
quic_sent_entropy_manager.cc | 40 cumulative->entropy ^= GetPacketEntropy(cumulative->sequence_number); 49 // Every packet's entropy is recorded, even if it's not sent, so there 55 << " with entropy hash: " << static_cast<int>(entropy_hash); 62 // First the entropy for largest_observed sequence number should be updated. 64 return last_cumulative_entropy_.entropy; 80 // First the entropy for largest_observed sequence number should be updated. 84 QuicPacketEntropyHash expected_entropy_hash = last_valid_entropy_.entropy; 90 << "Invalid entropy hash: " << static_cast<int>(entropy_hash) 91 << " expected entropy hash: " << static_cast<int>(expected_entropy_hash); 97 // Don't discard entropy before updating the cumulative entropy used t [all...] |
/external/openssl/crypto/rand/ |
md_rand.c | 143 static double entropy=0; variable 188 entropy=0; 317 * much entropy as fits into md. */ 322 if (entropy < ENTROPY_NEEDED) /* stop counting when we have enough */ 323 entropy += add; 403 ok = (entropy >= ENTROPY_NEEDED); 408 * state; thus we have to decrease the entropy estimate. 410 * adjust the entropy count, though, because we're not ambitious 414 * 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 | 154 void RAND_add(const void *buf, int num, double entropy) 158 meth->add(buf,num,entropy); 191 /* Entropy gatherer: use standard OpenSSL PRNG to seed (this will gather 192 * entropy internally through RAND_poll(). 196 int entropy, size_t min_len, size_t max_len) 240 double entropy) 242 RAND_SSLeay()->add(in, inlen, 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/chromium_org/third_party/WebKit/Source/wtf/ |
MallocZoneSupport.h | 62 T* nextEntryInHardenedLinkedList(T** address, uintptr_t entropy) const;
|
/external/libcxx/src/ |
random.cpp | 71 random_device::entropy() const _NOEXCEPT
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
bit_cost.h | 41 const EntropyCode<kCodeLengthCodes>& entropy) { 42 return HuffmanTreeBitCost(&histogram.data_[0], &entropy.depth_[0]);
|
/external/chromium_org/third_party/opus/src/celt/tests/ |
test_unit_entropy.c | 57 double entropy; local 68 entropy=0; 85 entropy+=log(ft)*M_LOG2E; 92 entropy+=ftb; 106 "Encoded %0.2lf bits of entropy to %0.2lf bits (%0.3lf%% wasted).\n", 107 entropy,ldexp(nbits,-3),100*(nbits-ldexp(entropy,3))/nbits);
|
/external/libopus/celt/tests/ |
test_unit_entropy.c | 57 double entropy; local 68 entropy=0; 85 entropy+=log(ft)*M_LOG2E; 92 entropy+=ftb; 106 "Encoded %0.2lf bits of entropy to %0.2lf bits (%0.3lf%% wasted).\n", 107 entropy,ldexp(nbits,-3),100*(nbits-ldexp(entropy,3))/nbits);
|