encode_Backward_references

encode_Backward_references

概要

encode_Backward_references は Aspose.Font FOSS の Python 用クラスです。

このクラスは、Python プログラムにおける encode_Backward_references オブジェクトを操作するための 9 つのメソッドを提供します。利用可能なメソッドは、ComputeDistanceCode、ComputeMinimumCopyLength、CreateBackwardReferences、CreateBackwardReferences_HashLongestMatch、CreateBackwardReferences_HashLongestMatchQuickly、SetDistanceCache、UpdateZopfliNode、ZopfliIterate、__init__ です。すべてのパブリックメンバーは、Aspose.Font FOSS for Python パッケージをインストールした後、任意の Python アプリケーションから利用可能です。

メソッド

シグネチャ説明
__init__()Calls init この encode_Backward_references インスタンスで。
SetDistanceCache(distance, distance_code, max_distance, dist_cache, result_dist_cache, result_dist_cache_off)距離とコードの値をキャッシュ配列に格納し、後で再利用できるようにします
ComputeDistanceCode(distance, max_distance, quality, dist_cache)エンコードされた距離を返し、距離キャッシュを更新します
UpdateZopfliNode(nodes, nodes_off, pos, start_pos, _hx_len, len_code, dist, dist_code, max_dist, dist_cache, cost)Zopfli ノードを長さ、距離、コストデータで修正します
ComputeMinimumCopyLength(queue, nodes, model, pos, min_cost_cmd)コスト制約を満たす最小のコピー長を決定する
ZopfliIterate(num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit, model, num_matches, matches, dist_cache, last_insert_len, commands, commands_off, num_commands, num_literals)入力データに対して Zopfli 圧縮イテレーションを実行する
CreateBackwardReferences_HashLongestMatch(num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit, quality, hasher, dist_cache, last_insert_len, commands, commands_off, num_commands, num_literals)ハッシュ最長一致アルゴリズムを使用して後方参照を生成する
CreateBackwardReferences_HashLongestMatchQuickly(num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit, quality, hasher, dist_cache, last_insert_len, commands, commands_off, num_commands, num_literals)高速ハッシュ最長一致ヒューリスティックで後方参照を作成する
CreateBackwardReferences(num_bytes, position, ringbuffer, ringbuffer_mask, literal_cost, literal_cost_mask, max_backward_limit, quality, hashers, hash_type, dist_cache, last_insert_len, commands, commands_off, num_commands, num_literals)リングバッファ データに基づいて Brotli 圧縮の backward reference コマンドを生成します

参照

 日本語