encode_Histogram_functions
Overview
encode_Histogram_functions is a class in Aspose.Font FOSS for Python.
This class provides 8 methods for working with encode_Histogram_functions objects in Python programs.
Available methods include: BuildHistograms, HistogramBlockLength, HistogramBlockType, HistogramCommand, HistogramContextMap, HistogramDistance, HistogramLiteral, __init__.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this encode_Histogram_functions instance. |
HistogramLiteral() | Returns a histogram for literal byte values |
HistogramCommand() | Returns a histogram for command symbols |
HistogramDistance() | Returns a histogram for distance values |
HistogramBlockLength() | Returns a histogram for block length symbols |
HistogramContextMap() | Returns a histogram for context map entries |
HistogramBlockType() | Returns a histogram for block type identifiers |
BuildHistograms(cmds, num_commands, literal_split, insert_and_copy_split, dist_split, ringbuffer, start_pos, mask, prev_byte, prev_byte2, context_modes, literal_histograms, insert_and_copy_histograms, copy_dist_histograms) | Builds literal, command, distance, and context histograms from a command list, which are later used for entropy coding |