ECMA321-2001 Streaming Lossless Data Compression Algorithm - (SLDC).pdf
《ECMA321-2001 Streaming Lossless Data Compression Algorithm - (SLDC).pdf》由会员分享,可在线阅读,更多相关《ECMA321-2001 Streaming Lossless Data Compression Algorithm - (SLDC).pdf(20页珍藏版)》请在麦多课文档分享上搜索。
1、 Standard ECMA-321 June 2001 Standardizing Information and Communication Systems Phone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: http:/www.ecma.ch - Internet: helpdeskecma.ch Streaming Lossless Data Compression Algorithm (SLDC) . Standard ECMA-321 June 2001 Standardizing Information and Commu
2、nication Systems Phone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: http:/www.ecma.ch - Internet: helpdeskecma.ch P ECMA-321.doc 09-07-01 Streaming Lossless Data Compression Algorithm (SLDC) . Brief History In the past decades, ECMA has published numerous ECMA Standards for magnetic tapes, magne
3、tic tape cassettes and cartridges, as well as for optical disk cartridges. Those media developed recently have a very high physical recording density. In order to make optimal use of the resulting data capacity, lossless compression algorithms have been designed that allow a reduction of the number
4、of bits required for the representation of user data. These compression algorithms are registered by ECMA, the International Registration Authority established by ISO/IEC. The registration consists in allocating to each registered algorithm a numerical identifier that will be recorded on the medium
5、and, thus, indicate which compression algorithm(s) has been used. This ECMA Standard is the fourth ECMA Standard for compression algorithms. The three previous standards are: ECMA-151 ISO/IEC 11558 Data Compression for Information Interchange Adaptive Coding with Embedded Dictionary DCLZ Algorithm (
6、June 1991) ECMA-159 ISO/IEC 12042 Data Compression for Information Interchange - Binary Arithmetic Coding Algorithm - (December 1991) ECMA-222 ISO/IEC 15220 Adaptive Lossless Data Compression Algorithm (June 1995) This ECMA Standard ECMA-SLDC is based on ECMA-222. It has been extended by defining a
7、set of control symbols, that identify: record boundaries in user data locations in the Encoded Data Stream at which the history buffer is reset locations in the Encoded Data Stream at which pad bits are inserted up to the next 32-bit boundary sections in the Encoded Data Stream that contain compress
8、ed or uncompressed data This compression algorithm allows for records of different size and compressibility, along with File Marks, to be efficiently encoded into an output stream in which little or no additional control information is needed to later decode user data. All ECMA Standards listed abov
9、e have been adopted by ISO/IEC as International Standards. This ECMA Standard will also be contributed to ISO/IEC for adoption as an International Standard under the fast-track procedure. This ECMA Standard has been adopted by the ECMA General Assembly of June 2001. - i - Table of contents 1 Scope 1
10、 2 Conformance 1 3 Reference 1 4 Definitions 1 4.1 Control Symbol 1 4.2 Copy Pointer 1 4.3 data byte 1 4.4 Data Symbol 1 4.5 Displacement Field 1 4.6 Encoded Data Stream 1 4.7 Encoded Record 1 4.8 End Marker 1 4.9 End Of Record Symbol (EOR Symbol) 1 4.10 File Mark 1 4.11 File Mark Symbol 2 4.12 Flus
11、h Symbol 2 4.13 History Buffer 2 4.14 Literal 1 2 4.15 Literal 2 2 4.16 Matching String 2 4.17 Match Count 2 4.18 Match Count Field 2 4.19 Pad 2 4.20 Record 2 4.21 Record Segment 2 4.22 Re-entry point 1 4.23 Reset X Symbol 2 4.24 Reset 1 Symbol 2 4.25 Reset 2 Symbol 2 4.26 scheme 1 2 4.27 Scheme 1 S
12、ymbol 2 4.28 scheme 2 2 4.29 Scheme 2 Symbol 3 4.30 user data 3 5 Conventions and Notations 3 5.1 Representation of numbers 3 5.2 Names 3 6 Acronyms 3 7 Algorithm Overview 3 7.1 Scheme 1 Encoding 3 - ii - 7.2 Scheme 2 Encoding 3 7.3 History Buffer 4 8 Encoding Specification 4 8.1 User Data 4 8.2 His
13、tory Buffer 4 8.3 Encoded Data Stream 4 8.3.1 Re-entry Point 5 8.4 Data Symbols 5 8.4.1 Literal 1 Data Symbols 5 8.4.2 Copy Pointer Data Symbols 5 8.4.3 Literal 2 Data Symbols 7 8.5 Control Symbols 7 8.6 Pad 8 1 Scope This ECMA Standard specifies a lossless compression algorithm to reduce the number
14、 of 8-bit bytes required to represent data records and File Marks. The algorithm is known as Streaming Lossless Data Compression algorithm (SLDC). One buffer size (1 024 bytes) is specified. The numerical identifier according to ISO/IEC 11576 allocated to this algorithm is 6. 2 Conformance A compres
15、sion algorithm shall be in conformance with this ECMA Standard if its Encoded Data Stream satisfies the requirements of this ECMA Standard. 3 Reference ISO/IEC 11576:1993, Information Technology - Procedure for the Registration of Algorithms for the Lossless Compression of Data. 4 Definitions 4.1 Ac
16、cess Point A location in the Encoded Data Stream at which data may be decoded. 4.2 Control Symbol A Control Symbol may change the compression scheme, reset the History Buffer, mark the end of a Record, indicate a File Mark, or indicate the termination of an Encoded Data Stream. 4.3 Copy Pointer A pa
17、rt of the Encoded Data Stream output in scheme 1 that replaces a string of data bytes with a specification of a Matching String. 4.4 data byte An element of user data that is to be encoded. 4.5 Data Symbol An element of an Encoded Record that represents one or more data bytes. 4.6 Displacement Field
18、 A field in the Copy Pointer that specifies the location within the History Buffer of the first byte of a Matching String. 4.7 Encoded Data Stream The output stream after encoding User Data. 4.8 Encoded Record The output stream after encoding one Record of user data. 4.9 End Marker A Control Symbol
19、that denotes termination of an Encoded Data Stream. 4.10 End Of Record Symbol (EOR Symbol) A Control Symbol that denotes the end of a Record in the Encoded Data Stream. 4.11 File Mark A recorded element used to mark organisational boundaries (e.g. directory boundaries) in user data. - 2 - 4.12 File
20、Mark Symbol A Control Symbol in Encoded Data Stream that denotes a File Mark in user data. 4.13 Flush Symbol A Control Symbol that, if required, is followed by Pad to make the size of the Encoded Data Stream an integer multiple of 32 bits. 4.14 History Buffer A data structure where incoming data byt
21、es are stored for use by scheme 1 compression and decompression. 4.15 Literal 1 A part of the Encoded Data Stream, output in scheme 1, that represents a single data byte not encoded into any Copy Pointer. 4.16 Literal 2 A part of the Encoded Data Stream, output in scheme 2, that represents a single
22、data byte. 4.17 Matching String A sequence of two or more bytes in the History Buffer that is identical with a sequence of bytes in the user data. 4.18 Match Count The length, in bytes, of a Matching String. 4.19 Match Count Field That part of a Copy Pointer that specifies the Match Count. 4.20 Pad
23、A number of bits inserted into the Encoded Data Stream so that the size of Encoded Data Stream is an integer multiple of 32 bits. 4.21 Record An element of user data that contains at least one data byte. 4.22 Record Segment A section of a Record encoded in a given scheme. 4.23 Reset X Symbol A gener
24、ic reference to either the Reset 1 Symbol or the Reset 2 Symbol. 4.24 Reset 1 Symbol A Control Symbol that indicates History Buffer reset, and that subsequent symbols are encoded in scheme 1. 4.25 Reset 2 Symbol A Control Symbol that indicates History Buffer reset, and that subsequent symbols are en
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ECMA3212001STREAMINGLOSSLESSDATACOMPRESSIONALGORITHMSLDCPDF

链接地址:http://www.mydoc123.com/p-704925.html