encode_Backward_references
encode_Backward_references
Összefoglaló
encode_Backward_references egy osztály a FOSS-ban Pythonhoz.
Ez a osztály 9 módszert biztosít az encode_Backward_references objektumokkal való munkavégzéshez Python programokban. A rendelkezésre álló módszerek közé tartozik: ComputeDistanceCode, ComputeMinimumCopyLength, CreateBackwardReferences, CreateBackwardReferences_HashLongestMatch, CreateBackwardReferences_HashLongestMatchQuickly, SetDistanceCache, UpdateZopfliNode, ZopfliIterate, __init__. Minden nyilvános tag hozzáférhető bármely Python alkalmazás után telepítése a Aspose.Font FOSS for Python csomag.
Módszerek
| Az aláírás: | Leírás |
|---|---|
__init__() | Hívások init ez a kód_vissza_referenciák példány. |
SetDistanceCache(distance, distance_code, max_distance, dist_cache, result_dist_cache, result_dist_cache_off) | A távolság és a kódértékek tárolása az előlegben, később újrahasznosításra. |
ComputeDistanceCode(distance, max_distance, quality, dist_cache) | Visszaadja a kódolt távolságot és frissíti az elhelyezkedési távközlést. |
UpdateZopfliNode(nodes, nodes_off, pos, start_pos, _hx_len, len_code, dist, dist_code, max_dist, dist_cache, cost) | Módosítja a Zopfli csomópontot hosszával, távolsággal és költségadatokkal. |
ComputeMinimumCopyLength(queue, nodes, model, pos, min_cost_cmd) | A legkisebb példányhossz meghatározása, amely megfelel a költségkövetelményeknek. |
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 kompressziós iterációt futtat az input adatokon keresztül. |
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) | A legidősebb hash-megegyezés algoritmus segítségével generálja a visszafelé történő hivatkozásokat. |
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) | Visszafelé hivatkozásokat hoz létre gyors hash-számítással, a leghosszabb megfeleléshez szükséges heurisztikával. |
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) | A Brotli-kompresszió visszamenőleges hivatkozási parancsát generálja a gyűrűpuffer adatokon alapulva. |