encode_Backward_references

encode_Backward_references

Overview

encode_Backward_references เป็นคลาสใน Aspose.Font FOSS สําหรับ Python.

หมวดนี้ให้ 9 วิธีในการทํางานกับวัตถุ encode_Backward_references ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: ComputeDistanceCode, ComputeMinimumCopyLength, CreateBackwardReferences, CreateBackwardReferences_HashLongestMatch, CreateBackwardReferences_HashLongestMatchQuickly, SetDistanceCache, UpdateZopfliNode, ZopfliIterate, __init__. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python.

Methods

SignatureDescription
__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)การคืนระยะที่โค้ดและปรับปรุง cache ระยะทาง
UpdateZopfliNode(nodes, nodes_off, pos, start_pos, _hx_len, len_code, dist, dist_code, max_dist, dist_cache, cost)ปรับเปลี่ยน node 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 ผ่านข้อมูล input
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)สร้างอ้าง flevers หลังโดยใช้ hash longest-match algorithm
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)สร้างอ้าง flewback กับ hash รวดเร็ว ยาวที่สุด-การตรง heuristic
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 โดยใช้ข้อมูลพัฟเฟอร์วงแหวน

See Also

 ภาษาไทย