CN1140366A - Parameter table reduction device for changeable length decoder - Google Patents

Parameter table reduction device for changeable length decoder Download PDF

Info

Publication number
CN1140366A
CN1140366A CN95108191A CN95108191A CN1140366A CN 1140366 A CN1140366 A CN 1140366A CN 95108191 A CN95108191 A CN 95108191A CN 95108191 A CN95108191 A CN 95108191A CN 1140366 A CN1140366 A CN 1140366A
Authority
CN
China
Prior art keywords
parameter list
input data
symbol bit
list device
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN95108191A
Other languages
Chinese (zh)
Other versions
CN1049309C (en
Inventor
黄柏川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
United Microelectronics Corp
Original Assignee
United Microelectronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by United Microelectronics Corp filed Critical United Microelectronics Corp
Priority to CN95108191A priority Critical patent/CN1049309C/en
Publication of CN1140366A publication Critical patent/CN1140366A/en
Application granted granted Critical
Publication of CN1049309C publication Critical patent/CN1049309C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A parameter table reducer for length-variable decoder is composed of a parameter table device and a mask circuit. Said parameter table device decodes input data into one-bit order code and a length code. The input data and length code are operated in mask circuit to generate sign bit. Said one-bit order code along with said sign bit are used as output.

Description

The parameter table reduction device of variable-length decoder
The invention relates to the decoding device in the data transmission system, particularly the parameter list (codetable) relevant for a kind of variable-length decoder (variable length decoder) installs.
Variable length code (variable length coding) technology is that the data compression system by needs lossless (lossless) is utilized, and convert the data of regular length to code word according to statistics with indefinite length, make frequency of occurrences higher data store or transmit with less amount of information, huger data volume just can be compressed.Also therefore, in the transmission or treatment system of the relatively large data of needs, for example hd-tv (HDTV) promptly to cooperate the length-changeable decoding circuit of faster treatment speed, provides the high efficiency conversion of video information data.
General in order to carry out the structure of length-changeable decoding, as shown in Figure 1, comprise a barrel shifter (barrel shifter) 15, one parameter list device (code table) 17 and one multiplexer 19 etc.In said structure, particularly in order to cooperate the video information process system of MPEG I (MotionPicture Experts Group) or MPEG II standard, it is in order to decoding discrete cosine transform (Discrete cosine transform, the parameter list device of coefficient abbreviation DCT) will be the hugest part.The zero DCT parameter list device that for example is applicable to MPEG II standard promptly has 114 variable length codewords, and the longest central code word more contains 17 bits.Therefore, if can suitably design this partial structure, make the area occupied reduction, make the exquisiter and densification of whole video information process system.
Provide decoding required information because general parallel variable-length decoder is many with programmable logic array (PLA), so that the key factor that is the variable-length decoder decoding efficiency time of delay of the size of programmable logic array and transmission signal thereof.Thereby, in order to satisfy the requirement of the whole video information process systemic-function of above-mentioned raising, have at present, or rebuild the combination form of programmable logic array the redesign of variable-length decoder structure.Even, attempt so as to improving processing speed with read-only memory (ROM) replacement programmable logic array.But it is bigger to take up room because of read-only memory is required eventually, though faster operation function is provided, also is difficult to accept.
So the configuration scenario of analysis variable-length decoder intrinsic parameter meter apparatus is an example with the mpeg standard, and the discrete cosine transform coefficient table is decoded into a length code (run) and an exponent (Level), an order position exponent is the code word that possesses positive negative value.Please refer to parameter list apparatus structure shown in Figure 2, because of have positive negative value so, exponent inside, position contains data and a symbol bit (sign bit), and be both some of planning of constant bit word in the parameter list device with the symbol bit in the lump in conjunction with its data.That is, in the parameter list device, corresponding to identical data but distinct symbols bit code word just must handle respectively, the position exponent of positive and negative values is considered as two incoherent code words, and respectively at changing on the occasion of sign indicating number district 11 and negative value sign indicating number district 12.Thus, the parameter list device certainly will be handled the only different code word of symbol bit because of providing, and must repeat the data of supporting that other are identical, causes the hardware space waste, more causes time of delay elongated, and influences treatment effeciency.
Therefore, main purpose of the present invention is to provide a kind of variable-length decoder parameter table reduction device, avoids the reprocessing of code-word symbol bit, to save hardware space, improves decoding efficiency.
In order to achieve the above object, the present invention promptly provides a kind of variable-length decoder parameter table reduction device, and in order to the input data with positive negative value of decoding, this device comprises:
One parameter list device partly produces the position exponent and a length code of a correspondence with the numerical value of these input data; And
One mask circuit, this length code that these input data of computing and this parameter list device provide, and produce a symbol bit; This symbol bit combines with the position exponent that this parameter list device produces and is decoded result.
Wherein, this parameter list device can be a programmable logic array.This parameter list device also can be a ROM device.
This input value data that this parameter list device utilized partly can be got by the symbol bit of removing these input data.
This mask circuit can comprise:
One with door, have two group input ports, in order to import this length code respectively and this input data are done logical operation;
One or door, have a plurality of input ports, this each bit of output with door is carried out " or " logical operation produces this symbol bit.These input data can be provided by a barrel shifter.
Because the mask circuit only needs to form with the simple logic circuit and get final product, can significantly reduce the space of decoder, and be the parameter list device, can be reduced to the shortest time of delay with the formula logic array able to programme of reduced size, and the lifting decoding efficiency.
For make above-mentioned and other purposes of the present invention, feature and advantage can be more obvious, especially exemplified by a preferred embodiment, and conjunction with figs., be described in detail below:
Fig. 1 has illustrated a structure of knowing variable-length decoder.
Fig. 2 has illustrated the configuration schematic diagram of Fig. 1 structure intrinsic parameter meter apparatus.
Fig. 3 is the variable-length decoder structure according to a preferred embodiment of the present invention.
Fig. 4 is the mask circuit structure diagram in Fig. 3 structure.
In variable-length decoder of the present invention, the symbol bit of enter code word is not sent into decoding in the parameter list device, but handles with a mask circuit in addition, and circuit structure is as shown in Figure 3 arranged.
In preferred embodiment circuit shown in Figure 3, include barrel shifter 25, a parameter list device 27 and mask circuit 29.Barrel shifter 25 is the code word size information that provides according to parameter list device 27 and will import data feed-in parameter list device 27.But parameter list device 27 is only got the numerical value of input data and is partly decoded, and the symbol bit of the input data of forgoing.That is for having identical numerical value part but the input data of symbol inequality, parameter list device 27 is to be handled by mutually same area decoder to produce a position exponent, and makes decoding circuit can reduce half.
On the other hand, the length information that parameter list device 27 solves, promptly aforesaid length code, the input data that then cooperate barrel shifter 25 to be provided are carried out logical operation in the lump in mask circuit 29, to select out the symbol bit of input data.Since this logical operation only be simple " with " (AND) and " or " (OR) handle, circuit structure is very simple, very suitable integrated circuit high density manufacturing use.
So if the result that parameter list device 27 and mask circuit 29 produced, promptly a symbol bit and a position exponent combine, decoded result gets final product.For making the easier understanding of ruuning situation of the present invention, below for an embodiment to explain.
Suppose if some inputs data of being sent by barrel shifter 25 are 0111, nibble altogether, its last bit is-symbol bit S, i.e. S=1, then its numerical value partly is 011.So code word 011 is decoded after parameter list device 27 receives and is produced an exponent, and length code 0001000 is arranged ... 0 delivers to barrel shifter 25 and mask circuit 29 respectively.
29 in the mask circuit of a preferred embodiment of the present invention as shown in Figure 4, comprise one with door 290 and one or door 291.Provide two groups of input ports respectively by parameter list device 27 and barrel shifter 25 input data with door 290, the identical bit with each group data carries out AND operation again.Owing to value " 1 " with respect to the single position of symbol bit is only arranged from the length code of parameter list device 27, other bits are all " 0 ", as above-mentioned 000100......0, its with the input data carry out with logical operation after, if the symbol bit of input data is " 1 ", its result will be identical with the form of length code, otherwise, will be all " 0 " with each bit of output of door 290.Therefore via or door 291 will carry out with door 290 all bits of input " or " after the logical operation, can produce symbol bit value " 1 " or " 0 ".
So the symbol bit and the position exponent that produce via mask circuit 29 and parameter list device 27 can be combined into output.
Because parameter list device of the present invention does not limit by programmable logic array and makes, it also can be made because of actual needs changes by read-only memory.With know technology and compare, make the parameter list device if adopt with programmable logic array, device of the present invention singly can be saved the circuit space of half in this some, establish the mask circuit in addition though have, so it only is a simple logic, and design easily, volume is also little, generally speaking, the design of variable-length decoder and size all have very big advantage, even consider to select read-only memory more feasible as the parameter list device.
Though the present invention discloses preferred embodiment as above; right its is not in order to qualification the present invention, any those who are familiar with this art, without departing from the spirit and scope of the present invention; change and modification when doing some, so protection scope of the present invention is as the criterion when looking the accompanying Claim person of defining.

Claims (6)

1, the parameter table reduction device of a kind of variable-length decoder (variable Length decoder), in order to the input data with positive negative value of decoding, this device comprises:
One parameter list device partly produces the position exponent and a length code of a correspondence with the numerical value of these input data; And
One mask circuit, this length code that these input data of computing and this parameter list device provide, and produce a symbol bit; This symbol bit combines with the position exponent that this parameter list device produces and is decoded result.
2, device as claimed in claim 1, wherein, this parameter list device is a programmable logic array (PLA).
3, device as claimed in claim 1, wherein, this parameter list device is a ROM device.
4, device as claimed in claim 1, wherein, this input value data that this parameter list device utilized partly is to get with the symbol bit of removing these input data.
5, device as claimed in claim 1, wherein, this mask circuit comprises:
One with door, have two group input ports, in order to import this length code respectively and this input data are done logical operation;
One or door, have a plurality of input ports, this each bit of output with door is carried out " or " logical operation, and produce this symbol bit.
6, device as claimed in claim 1, wherein, these input data are provided by a barrel shifter.
CN95108191A 1995-07-10 1995-07-10 Parameter table reduction device for changeable length decoder Expired - Lifetime CN1049309C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN95108191A CN1049309C (en) 1995-07-10 1995-07-10 Parameter table reduction device for changeable length decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN95108191A CN1049309C (en) 1995-07-10 1995-07-10 Parameter table reduction device for changeable length decoder

Publications (2)

Publication Number Publication Date
CN1140366A true CN1140366A (en) 1997-01-15
CN1049309C CN1049309C (en) 2000-02-09

Family

ID=5076667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN95108191A Expired - Lifetime CN1049309C (en) 1995-07-10 1995-07-10 Parameter table reduction device for changeable length decoder

Country Status (1)

Country Link
CN (1) CN1049309C (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2766302B2 (en) * 1989-04-06 1998-06-18 株式会社東芝 Variable length code parallel decoding method and apparatus
JPH04185119A (en) * 1990-11-20 1992-07-02 Matsushita Electric Ind Co Ltd Variable length coder

Also Published As

Publication number Publication date
CN1049309C (en) 2000-02-09

Similar Documents

Publication Publication Date Title
US7161507B2 (en) Fast, practically optimal entropy coding
US6819271B2 (en) Parallel compression and decompression system and method having multiple parallel compression and decompression engines
US5818877A (en) Method for reducing storage requirements for grouped data values
US6885319B2 (en) System and method for generating optimally compressed data from a plurality of data compression/decompression engines implementing different data compression algorithms
JP2800880B2 (en) High-speed decoding arithmetic coding device
US7817864B2 (en) Coding apparatus and decoding apparatus
CN1085461C (en) Data coding device and digital code decoding device
US6771196B2 (en) Programmable variable-length decoder
Langdon et al. A double-adaptive file compression algorithm
AU2203695A (en) Compact source coding tables for encoder/decoder system
US5594435A (en) Permutation-based data compression
US5648774A (en) Variable length coding with three-field codes
US6518895B1 (en) Approximate prefix coding for data compression
US6985633B2 (en) Device and method for decoding class-based codewords
US7095341B2 (en) Programmable variable-length decoder
US5825312A (en) DX JPEG Huffman decoder
US5663725A (en) VLC decoder with sign bit masking
CN1049309C (en) Parameter table reduction device for changeable length decoder
Li et al. Parallel high-speed architecture for EBCOT in JPEG2000
Min et al. A memory-efficient VLC decoder architecture for MPEG-2 application
CN112449191A (en) Method for compressing a plurality of images, method and apparatus for decompressing an image
Robert et al. Simple lossless preprocessing algorithms for text compression
EP1130926A2 (en) Variable length decoding system and method
US7193541B2 (en) Representation of sign in encoding scheme
CN101093998A (en) Decoding method and device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Expiration termination date: 20150710

Granted publication date: 20000209

EXPY Termination of patent right or utility model