encode_Backward_references
Overview
encode_Backward_references là một lớp trong Aspose.Font FOSS cho Python.
Khóa học này cung cấp 9 phương pháp để làm việc với các đối tượng encode_Backward_references trong chương trình Python. Các phương pháp có sẵn bao gồm: ComputeDistanceCode, ComputeMinimumCopyLength, CreateBackwardReferences, CreateBackwardReferences_HashLongestMatch, CreateBackwardReferences_HashLongestMatchQuickly, SetDistanceCache, UpdateZopfliNode, ZopfliIterate, __init__. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.Font FOSS cho gói Python.
Methods
| Signature | Description |
|---|---|
__init__() | Calls Intô trong trường hợp này encode_Backward_references. |
SetDistanceCache(distance, distance_code, max_distance, dist_cache, result_dist_cache, result_dist_cache_off) | Lưu trữ khoảng cách và giá trị mã trong cache rays để sử dụng lại sau này |
ComputeDistanceCode(distance, max_distance, quality, dist_cache) | Trả lại khoảng cách mã hóa và cập nhật cache khoảng thời gian |
UpdateZopfliNode(nodes, nodes_off, pos, start_pos, _hx_len, len_code, dist, dist_code, max_dist, dist_cache, cost) | Thay đổi nút Zopfli với chiều dài, khoảng cách và chi phí dữ liệu |
ComputeMinimumCopyLength(queue, nodes, model, pos, min_cost_cmd) | Tính toán nhỏ nhất độ dài sao đáp ứng chi phí giới hạn |
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) | Thực hiện một iteration phức tạp Zopfli trên dữ liệu nhập |
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) | Tạo các tham chiếu ngược bằng cách sử dụng một thuật toán hash dài nhất-match |
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) | Tạo các tham chiếu về phía sau với hash nhanh nhất-match 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) | Tạo lệnh tham chiếu trở lại cho Brotli Compression dựa trên dữ liệu buffer nhẫn |