Claims
- 1. A computer program stored in an information recording medium for enabling a computer to implement a method of encoding an input bit stream into a stream of output code words according to variable-length encoding rules using a variable constraint length, wherein a maximum value N of the constraint length is equal to or greater than 2, and the output-code-word stream observes prescribed run length limiting rules RLL (d, k), “d” and “k” denoting a predetermined minimum run length and a predetermined maximum run length respectively, the method comprising the steps of:preparing M encoding tables in accordance with the variable length encoding rules, M denoting a predetermined natural number equal to or greater than 2; periodically inserting a DSV control bit into a first input bit stream at intervals each corresponding to a prescribed number of successive bits in the first input bit stream to change the first input bit stream into a second input bit stream; encoding every m-bit piece of the second input bit stream into an n-bit output signal forming at least a portion of an output code word by referring to the M encoding tables, thereby converting the second input bit stream into a first output bit stream composed of output code words and observing the prescribed run length limiting rules RLL (d, k), “m” and “n” denoting predetermined natural numbers respectively; inserting a sync word of a predetermined bit pattern into the first output bit stream for every frame to change the first output bit stream into a second output bit stream; terminating a frame-end output code word at a position before a next-frame sync word; and implementing DSV control of the second output bit stream in response to the inserted DSV control bits.
- 2. A computer program as recited in claim 1, wherein the M encoding tables register input bit patterns corresponding to the m-bit piece of the second input bit stream, n-bit output signals assigned to the input bit patterns respectively, and next-table selection numbers accompanying the n-bit output signals respectively and each designating one among the M encoding tables which will be used next; wherein the encoding step comprises encoding every m-bit piece of the second input bit stream into an n-bit output signal by referring to one of the M encoding tables which is designated by a current-table selection number being a next-table selection number provided by preceding encoding, and reading a next-table selection number accompanying the n-bit output signal from the designated one of the M encoding tables; and wherein the terminating step comprises using a termination table which registers at least one input bit pattern corresponding to the m-bit piece of the second input bit stream, at least one n-bit output signal assigned to the input bit pattern, and at least one next-table selection number accompanying the n-bit output signal and designating one among the M encoding tables which will be used next.
- 3. A computer program as recited in claim 1, wherein the numbers “d” and “k” are equal to 1 and 7, respectively.
- 4. A computer program as recited in claim 2, wherein the numbers “d” and “k” are equal to 1 and 7, respectively.
Priority Claims (2)
Number |
Date |
Country |
Kind |
2001-330361 |
Oct 2001 |
JP |
|
2001-398679 |
Dec 2001 |
JP |
|
Parent Case Info
This application is a Division of Ser. No. 10/270,537 filed Oct. 16, 2002 now U.S. Pat. No. 6,577,255.
US Referenced Citations (8)
Number |
Name |
Date |
Kind |
5140474 |
Kahiman et al. |
Aug 1992 |
A |
5600315 |
Shimpuku et al. |
Feb 1997 |
A |
5742243 |
Moriyama |
Apr 1998 |
A |
5952944 |
Nonaka et al. |
Sep 1999 |
A |
6172622 |
Nakagawa et al. |
Jan 2001 |
B1 |
6359930 |
Nakagawa et al. |
Mar 2002 |
B1 |
6496541 |
Kahiman et al. |
Dec 2002 |
B1 |
6577255 |
Hayami et al. |
Jun 2003 |
B2 |
Foreign Referenced Citations (3)
Number |
Date |
Country |
9-232963 |
Sep 1997 |
JP |
11-346154 |
Dec 1999 |
JP |
2000-068846 |
Mar 2000 |
JP |