Searched refs:entropy (Results 76 - 100 of 102) sorted by last modified time

12345

/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/arm/neon/
H A Dfastquantizeb_neon.asm249 ; default inverse zigzag table is defined in vp8/common/entropy.c
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/
H A Dvp8_common.mk21 VP8_COMMON_SRCS-yes += common/entropy.c
34 VP8_COMMON_SRCS-yes += common/entropy.h
/external/chromium_org/third_party/libjpeg_turbo/
H A Djcarith.c8 * 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
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...]
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.c10 * 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
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...]
H A Djcmaster.c453 (*cinfo->entropy->start_pass) (cinfo, cinfo->optimize_coding);
472 (*cinfo->entropy->start_pass) (cinfo, TRUE);
491 (*cinfo->entropy->start_pass) (cinfo, FALSE);
542 /* The entropy coder always needs an end-of-pass call,
545 (*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
227 emit_bits(phuff_entropy_ptr entropy, unsigned int code, int size) argument
266 flush_bits(phuff_entropy_ptr entropy) argument
279 emit_symbol(phuff_entropy_ptr entropy, int tbl_no, int symbol) argument
295 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
314 emit_eobrun(phuff_entropy_ptr entropy) argument
345 emit_restart(phuff_entropy_ptr entropy, int restart_num) argument
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...]
H A Djctrans.c282 * The data is obtained from the virtual arrays and fed to the entropy coder.
348 if (! (*cinfo->entropy->encode_mcu) (cinfo, MCU_buffer)) {
H A Djdarith.c8 * 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
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...]
H A Djdcoefct.c12 * The coefficient buffer lies between entropy decoding and inverse-DCT steps.
44 * and let the entropy decoder write into that workspace each time.
173 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
267 /* Note: entropy decoder expects buffer to be zeroed,
291 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
H A Djdhuff.c10 * 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
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...]
H A Djdinput.c275 (*cinfo->entropy->start_pass) (cinfo);
367 /* 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.
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
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...]
H A Djpeglib.h136 int dc_tbl_no; /* DC entropy table selector (0..3) */
137 int ac_tbl_no; /* AC entropy table selector (0..3) */
373 boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
468 struct jpeg_entropy_encoder * entropy; member in struct:jpeg_compress_struct
687 const int * natural_order; /* natural-order position array for entropy decode */
688 int lim_Se; /* min( Se, DCTSIZE2-1 ) for entropy decode */
691 /* This field is shared between entropy decoder and marker parser.
706 struct jpeg_entropy_decoder * entropy; member in struct:jpeg_decompress_struct
/external/chromium_org/third_party/boringssl/src/crypto/rand/
H A Drand.c24 void RAND_add(const void *buf, int num, double entropy) {} argument
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Drand.h43 OPENSSL_EXPORT void RAND_add(const void *buf, int num, double entropy);
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dbit_cost.h41 const EntropyCode<kCodeLengthCodes>& entropy) {
42 return HuffmanTreeBitCost(&histogram.data_[0], &entropy.depth_[0]);
39 HuffmanTreeBitCost( const Histogram<kCodeLengthCodes>& histogram, const EntropyCode<kCodeLengthCodes>& entropy) argument
H A Dencode.cc214 const EntropyCode<kCodeLengthCodes>& entropy,
219 if (entropy.count_ > 1) {
220 WriteBits(entropy.depth_[ix], entropy.bits_[ix], storage_ix, storage);
363 const EntropyCodeCommand& entropy,
366 WriteBits(entropy.depth_[code], entropy.bits_[code], storage_ix, storage);
383 void EncodeCopyDistance(const Command& cmd, const EntropyCodeDistance& entropy, argument
388 WriteBits(entropy.depth_[code], entropy
210 StoreHuffmanTreeToBitMask( const uint8_t* huffman_tree, const uint8_t* huffman_tree_extra_bits, const int huffman_tree_size, const EntropyCode<kCodeLengthCodes>& entropy, int* storage_ix, uint8_t* storage) argument
362 EncodeCommand(const Command& cmd, const EntropyCodeCommand& entropy, int* storage_ix, uint8_t* storage) argument
620 EncodeBlockLength(const EntropyCodeBlockLength& entropy, int length, int* storage_ix, uint8_t* storage) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DMallocZoneSupport.h62 T* nextEntryInHardenedLinkedList(T** address, uintptr_t entropy) const;
/external/chromium_org/tools/symsrc/
H A Dpefile.py880 """Calculate and return the entropy for the section."""
914 """Calculate the entropy of a chunk of data."""
924 entropy = 0
928 entropy -= p_x*math.log(p_x, 2)
930 return entropy
/external/chromium_org/third_party/libwebp/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/chromium_org/net/quic/
H A Dquic_connection_test.cc2162 // Entropy flag should be false, so entropy should be 0.
2228 // Entropy flag should be true, so entropy should not be 0.
2239 // Ensure QUIC no longer revives entropy for lost packets.
2251 // Entropy flag should be false, so entropy should be 0.
2264 // Ensure entropy is not revived for the missing packet.
3161 // FEC packets should not change the entropy hash calculation.
3178 // Make 4th packet my least unacked, and update entropy for 2, 3 packets.
3216 QuicPacketEntropyHash entropy[51]; local
3217 entropy[0] = 0;
3222 entropy[
[all...]
H A Dquic_sent_entropy_manager.cc40 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 befor
[all...]
H A Dquic_sent_entropy_manager.h5 // 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 fo
[all...]
/external/chromium_org/net/quic/test_tools/
H A Dquic_connection_peer.cc114 return last_entropy_copy.entropy;

Completed in 424 milliseconds

12345