Two-dimensional run-length-limited constraint coding and decoding device and method used for variable length code rate
An encoding and decoding method and a two-dimensional run-length technology are applied in the field of data storage to achieve the effect of a simple encoding and decoding rule table.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0145] Figure 8 The specific encoding process is given. The one-dimensional data stream 00110111111011001011 is combined and divided into 10 2-bit data words from right to left according to the order of 2 bits. The 10 one-dimensional 2-bit data words are as follows: 11, 01, 00, 11, 01 , 11, 11, 10, 11, 00. According to the output scheme three of the basic coding table described in Tables 1 and 2, encoding is performed to generate 10 2×2 two-dimensional constraint codeword sequences, and the generated 2×2 two-dimensional constraint codewords are arranged as follows according to the corresponding relationship:
[0146] , , , , , , , , ,
[0147] Then write the above-mentioned 10 2×2 two-dimensional constrained code words into the previously constructed 4×4 two-dimensional word cell array. Before implementation, each unit of the 4×4 two-dimensional word cell array is written into flag position 0, that is, the unit flag bit is equal to 0, indicating that th...
Embodiment 2
[0149] Figure 10 The specific decoding process is given. First read data from the two-dimensional recording device to the two-dimensional array buffer module. In this embodiment, the 8×8 two-dimensional data array is as follows:
[0150]
[0151] Then the two-dimensional data array is divided into two-dimensional word cell arrays whose size is equal to 4×4 with 2×2 as a basic unit as follows:
[0152]
[0153] Then read the 2×2 two-dimensional constraint codeword row by row along the diagonal rows of the two-dimensional word cell array. Before reading data, set the read flag bit for each word unit of the 4×4 two-dimensional word unit array , the flag bit "0" indicates the two-dimensional word unit coordinates The 2×2 two-dimensional constraint codeword at can be read, and the flag bit "1" means it cannot be read, where 。
[0154] First read the 2×2 two-dimensional constraint codeword from the coordinate (0,0) of the 0th row of the diagonal , the read two-dimen...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 