JP2942738B2 - Data decryption IC - Google Patents

Data decryption IC

Info

Publication number
JP2942738B2
JP2942738B2 JP9083272A JP8327297A JP2942738B2 JP 2942738 B2 JP2942738 B2 JP 2942738B2 JP 9083272 A JP9083272 A JP 9083272A JP 8327297 A JP8327297 A JP 8327297A JP 2942738 B2 JP2942738 B2 JP 2942738B2
Authority
JP
Japan
Prior art keywords
data
circuit
decoding
decoder
rom
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.)
Expired - Fee Related
Application number
JP9083272A
Other languages
Japanese (ja)
Other versions
JPH10261270A (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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP9083272A priority Critical patent/JP2942738B2/en
Publication of JPH10261270A publication Critical patent/JPH10261270A/en
Application granted granted Critical
Publication of JP2942738B2 publication Critical patent/JP2942738B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、データ復号IC
に関し、MPEG(Moving Picture C
oding Experts Group)1や,MP
EG2,MPEG4,あるいはこれに準ずるH.261
などに代表される規格等に則って符号化された画像デー
タや音声データに対して復号化の処理を行うデータ復号
ICに関する。
The present invention relates to a data decoding IC.
MPEG (Moving Picture C)
Odging Experts Group) 1, MP
EG2, MPEG4, or an equivalent H.264. 261
The present invention relates to a data decoding IC that performs a decoding process on image data and audio data encoded in accordance with a standard represented by a standard.

【0002】[0002]

【従来の技術】従来、集積度の高いデータ復号ICとし
て、動画などの再生に用いられるMPEGデコーダが知
られている。これは、記録媒体としてCD−ROMを用
いたプレーヤ(再生装置)などに応用されつつあるが、
CD−ROMには、MPEG規格に則って符号化された
データストリームが予め記録されており、MPEGデコ
ーダは、そのようなCD−ROMを対象にして再生を行
うに際し、CD−ROMからデータストリームを読み取
るとともに、読み出したデータストリームを対象として
MPEGデコーダによって復号処理を行うことで、映像
や音響を復元するようになっている。
2. Description of the Related Art Conventionally, as a data integration IC having a high degree of integration, an MPEG decoder used for reproducing moving images and the like has been known. This is being applied to a player (reproducing apparatus) using a CD-ROM as a recording medium.
A data stream encoded in accordance with the MPEG standard is recorded on the CD-ROM in advance, and the MPEG decoder reads the data stream from the CD-ROM when performing reproduction on such a CD-ROM. At the same time as reading, the MPEG decoder decodes the read data stream to restore video and audio.

【0003】MPEGが記録媒体を特定しない汎用のデ
ータ圧縮に関するものであるのに対し、CD−ROMが
傷や汚れの影響を受ける特定の媒体であることから、C
D−ROMに記録されるデータには、冗長データの付加
や空間的な分散などの特定処理が施されている。このた
め、パソコン等の汎用処理装置がバイト又はその倍数を
単位としているのに対応してMPEGデコーダは通常8
ビット又は16ビット単位のデータストリームを取り扱
う一方、CD−ROMからの読み出しデータは1ビット
を単位とした列のビットストリームで取り扱われる。
[0003] While MPEG relates to general-purpose data compression that does not specify a recording medium, CD-ROM is a specific medium that is affected by scratches and dirt.
Data recorded in the D-ROM has been subjected to specific processing such as addition of redundant data and spatial distribution. For this reason, MPEG decoders usually have 8 bytes, whereas general-purpose processors such as personal computers use bytes or multiples of bytes as units.
While a data stream in units of bits or 16 bits is handled, data read from a CD-ROM is handled in a bit stream of a column in units of 1 bit.

【0004】そこで、一般に、CD−ROMプレーヤ
は、図3にその機能ブロック図を示したが、CD−RO
Mの読み取り回路とMPEGデコーダとの間にCD−R
OMデコーダを介在させて整合を採るものとなる。すな
わち、CD−ROM10から記録データを読み取るとと
もに特定処理対応の復元処理を行ってビットストリーム
を出力するデジタルシグナルプロセッサ製等のCD−D
SP20と、そのビットストリームを複数ビット並列の
データストリームに変換するCD−ROMデコーダ30
と、そのデータストリームを入力してこれに所定の復号
処理を施して映像信号およびオーディオ信号を復元しそ
れぞれCRT60及びスピーカ70へ送出するものとな
っている。
Therefore, generally, a functional block diagram of a CD-ROM player is shown in FIG.
CD-R between the M reading circuit and the MPEG decoder
Matching is achieved with an OM decoder interposed. That is, a CD-D made of a digital signal processor or the like that reads recorded data from the CD-ROM 10 and performs a restoration process corresponding to a specific process and outputs a bit stream.
SP20 and a CD-ROM decoder 30 for converting the bit stream into a data stream of a plurality of bits in parallel
Then, the data stream is input, and a predetermined decoding process is performed on the data stream to restore a video signal and an audio signal, which are sent to the CRT 60 and the speaker 70, respectively.

【0005】また、MPEGデコーダ40は、「最新M
PEG教科書」等の出版物にも記載されているが、次の
ような機能を持ったものである。すなわち、先入れ先出
しのFIFO等で構成されるバッファ41を有してデー
タストリームの入力タイミングを緩衝させ、バッファ4
1を介してデータストリームを受ける分離部(DMU
X)42を有してデータストリームを可変長符号ごとに
オーディオデータとビデオデータとに分離させるととも
に各々をリングバッファ81,82に区分して記憶させ
る。そして、リングバッファ81からオーディオデータ
を入力してオーディオ信号を復元するオーディオデコー
ダ71を有し、そのオーディオ信号をスピーカ70へ送
出するとともに、次のビデオデコーダも具えて映像の復
号も行うものである。
[0005] The MPEG decoder 40 uses the "latest M
Although it is described in publications such as "PEG textbooks", it has the following functions. That is, it has a buffer 41 composed of a first-in first-out FIFO or the like to buffer the data stream input timing.
1 (DMU) which receives the data stream via
X) 42 to separate the data stream into audio data and video data for each variable length code, and to store them separately in ring buffers 81 and 82. An audio decoder 71 for inputting audio data from the ring buffer 81 and restoring an audio signal is provided. The audio decoder 71 transmits the audio signal to the speaker 70 and decodes a video with the next video decoder. .

【0006】MPEGデコーダ40のビデオデコーダ
は、リングバッファ82からビデオデータを入力しビデ
オ信号を復元してCRT60へ送出するに際し、リング
バッファ82からハフマン符号化その他のエントロピー
符号化による可変長符号単位でデータを入力する可変長
復号部51を有して可逆的な復号処理を行うとともに、
その単位データごとに後続の逆量子化部52及び逆DC
T(逆離散コサイン変換)部53による非可逆的な復号
処理を行ってから、各ピクチャ種に対応した動き補償処
理を補償部54によって施すことで、Iピクチャ83
や,Pピクチャ84,Bピクチャ85,そして表示画像
86を生成する。さらに、映像出力部61も設けられて
いて、これによって表示画像86がCRT60へ送出さ
れて表示されるようになっている。なお、Iピクチャ8
3は、それのデータ単独で復号可能な画像であり、Pピ
クチャ84はそれのデータに加えてIピクチャ83を参
照することで復号可能な画像であり、Bピクチャ85は
それのデータに加えてIピクチャ83及びPピクチャ8
4の双方を参照することで復号可能な画像である。
The video decoder of the MPEG decoder 40 receives video data from the ring buffer 82, restores the video signal, and sends the video signal to the CRT 60 in units of variable-length code from the ring buffer 82 by Huffman coding or other entropy coding. While having a variable length decoding unit 51 for inputting data to perform a reversible decoding process,
The subsequent inverse quantization unit 52 and inverse DC
After performing an irreversible decoding process by a T (Inverse Discrete Cosine Transform) unit 53, and performing a motion compensation process corresponding to each picture type by the compensating unit 54, the I picture 83
, A P picture 84, a B picture 85, and a display image 86. Further, a video output unit 61 is also provided so that a display image 86 is sent to the CRT 60 and displayed. Note that I picture 8
3 is an image that can be decoded by itself, P picture 84 is an image that can be decoded by referring to I picture 83 in addition to the data, and B picture 85 is an image that can be decoded in addition to the data. I picture 83 and P picture 8
4 is an image that can be decoded by referring to both of them.

【0007】このような機能を持つCD−ROMプレー
ヤは、具体的なハードウェア化に際して、上述したCD
−DSP20,CD−ROMデコーダ30,MPEGデ
コーダ40や、後述のコントローラ90が、それぞれ別
個のICに集積化されたうえで、単一基板又は複数の基
板に実装される。図4は、その回路ブロック図である
が、図3の該当機能を担う回路ブロックには同一の符号
を付してある。CD−ROMデコーダ30のICには、
CD−DSP20に集積しきれなかった誤り符号訂正処
理(ECC)の回路などの他、CD−DSP20からの
ビットストリームAを8ビット又は16ビットのデータ
ストリームBに変換してMPEGデコーダ40のバッフ
ァ41へ送出するシリアルパラレル変換(S/P変換)
の回路も設けられる。
[0007] A CD-ROM player having such a function is used for the above-mentioned CD-ROM player when realizing hardware.
-The DSP 20, the CD-ROM decoder 30, the MPEG decoder 40, and the controller 90 described later are integrated on separate ICs, respectively, and then mounted on a single substrate or a plurality of substrates. FIG. 4 is a circuit block diagram of the circuit, and the same reference numerals are given to circuit blocks having the corresponding functions in FIG. The IC of the CD-ROM decoder 30 includes:
In addition to an error code correction (ECC) circuit that could not be integrated on the CD-DSP 20, a bit stream A from the CD-DSP 20 is converted into an 8-bit or 16-bit data stream B, and the buffer 41 of the MPEG decoder 40 is converted. Serial-to-parallel conversion (S / P conversion)
Circuit is also provided.

【0008】MPEGデコーダ40のICは、バッファ
41,分離部42を含んだシステムデコーダと、可変長
復号部51,逆量子化部52,逆DCT部53,動き補
償部54,映像出力部61を含んだビデオデコーダと、
オーディオデコーダ71とに大別される。なお、リング
バッファ81,82、及び各ピクチャ83,84,8
5、更に表示画像86は、メモリ80に割り付けられ
る。
[0008] The IC of the MPEG decoder 40 includes a system decoder including a buffer 41 and a separation unit 42, a variable length decoding unit 51, an inverse quantization unit 52, an inverse DCT unit 53, a motion compensation unit 54, and a video output unit 61. A video decoder including
The audio decoder 71 is roughly classified. The ring buffers 81 and 82 and the pictures 83, 84 and 8
5. Further, the display image 86 is allocated to the memory 80.

【0009】MPEGデコーダ40のシステムデコーダ
部には、データストリームから分離部42によって抽出
されたタイミング情報に基づきオーディオ同期調整回路
43にオーディオデコーダ71の同期調整等を行わせる
タイミング制御回路44と、このタイミング制御回路4
4の制御に従って可変長復号部51等の同期調整等を行
うビデオ同期回路45とが設けられる。また、その他
に、MPEGデコーダ40から見ればホストコンピュー
タともいえるコントローラ90に対するホストインター
フェイス46も設けられる。このホストインターフェイ
ス46には、アドレスの付された多数のレジスタが具わ
っていて、コントローラ90から送られてきたパラメー
タが指定アドレスのレジスタに設定されるようになって
いる。各レジスタに設定されたパラメータは、リセット
あるいは上書きされるまで設定値が保持され、ビデオデ
コーダやオーディオデコーダ等の内部回路へ制御信号ま
たはそれに準じる信号として送出される。これにより、
MPEGデコーダ40は、復号処理に対する復号条件を
含んだパラメータを保持するパラメータ保持手段が設け
られたものとなっている。
The system decoder section of the MPEG decoder 40 includes a timing control circuit 44 for causing the audio synchronization adjustment circuit 43 to perform synchronization adjustment and the like of the audio decoder 71 based on the timing information extracted from the data stream by the separation section 42. Timing control circuit 4
And a video synchronization circuit 45 that performs synchronization adjustment and the like of the variable length decoding unit 51 and the like in accordance with the control of (4). In addition, a host interface 46 for a controller 90 which can be regarded as a host computer when viewed from the MPEG decoder 40 is also provided. The host interface 46 has a number of registers with addresses, and the parameters sent from the controller 90 are set in the registers of the designated address. The parameters set in the registers retain their set values until reset or overwritten, and are sent to internal circuits such as a video decoder and an audio decoder as control signals or signals equivalent thereto. This allows
The MPEG decoder 40 is provided with parameter holding means for holding parameters including decoding conditions for decoding processing.

【0010】MPEGデコーダ40のビデオデコーダ部
には、分離部42と可変長復号部51とオーディオデコ
ーダ71とによるリングバッファ81,82へのアクセ
スを整合させる制御を行うビデオ・オーディオ・リング
バッファ制御回路55と、各ピクチャ83,84,85
等への動き補償部54によるアクセスをバンク切換手法
によって処理するMCバンク処理回路56と、ビデオ・
オーディオ・リングバッファ制御回路55及びMCバン
ク処理回路56による競合等を回避するようにメモリ8
0へのアクセスを制御するバスアービタ57と、可変長
復号部51や動き補償部54による復号処理がフレーム
ごとに同期したタイミングでなされるような同期制御を
行うビデオ・フレーム同期調整回路58と、バスアービ
タ57を介することでMCバンク処理回路56等との競
合を回避しながら表示画像86を読み出して映像出力部
61へ送出するラインメモリ・リード部62などが設け
られる。さらに、ビデオデコーダ部の可変長復号部51
には、誤り検出回路59が設けられ、入力データに想定
外の符号が含まれていたり冗長ビットに基づく誤り訂正
ができないほどに入力データが壊れていたりしていて、
入力データに復号不能な誤りが存在することを検出した
ときには、有意の誤り検出信号Eを動き補償部54へ送
出してそのデータによるピクチャ生成・画像更新をスキ
ップさせるようになっている。これにより、MPEGデ
コーダ40は、復号回路の一部として可変長復号処理に
伴う誤り検出を行う検出手段が設けられたものとなって
いる。
The video decoder section of the MPEG decoder 40 includes a video / audio ring buffer control circuit for performing control for matching access to the ring buffers 81 and 82 by the separation section 42, the variable length decoding section 51 and the audio decoder 71. 55 and each picture 83, 84, 85
An MC bank processing circuit 56 for processing the access to the motion compensator 54 by the bank switching method.
The memory 8 is designed to avoid contention and the like caused by the audio ring buffer control circuit 55 and the MC bank processing circuit 56.
A bus arbiter 57 for controlling access to the arbiter 0; a video / frame synchronization adjusting circuit 58 for performing synchronization control such that decoding processing by the variable length decoding unit 51 and the motion compensation unit 54 is performed at a timing synchronized for each frame; A line memory read unit 62 for reading the display image 86 and sending it to the video output unit 61 while avoiding competition with the MC bank processing circuit 56 and the like via the 57 is provided. Further, the variable length decoding unit 51 of the video decoder unit
Is provided with an error detection circuit 59, and the input data contains an unexpected code or the input data is broken so that error correction based on redundant bits cannot be performed.
When it is detected that an undecodable error exists in the input data, a significant error detection signal E is sent to the motion compensator 54 to skip the picture generation / image update based on the data. As a result, the MPEG decoder 40 is provided with a detecting means for detecting an error accompanying the variable length decoding as a part of the decoding circuit.

【0011】コントローラ90は、マイクロプロセッサ
システムを有してプログラマブルになっており、所定プ
ログラムの処理等によってCD−DSP20の動作状態
を制御するDSP制御部91に加えて、やはり所定プロ
グラムの処理等によってMPEGデコーダ40のホスト
インターフェイス46にパラメータを送出するMPEG
制御部92も設けられる。MPEG制御部92は、CD
−DSP20によるCD−ROM10からの読み取りに
先だってMPEGデコーダ40の初期化等に必要なパラ
メータを設定する他、CD−DSP20によるCD−R
OM10からの読み取りが行われていないときであれば
必要に応じて随時パラメータの設定を行うが、その送出
に際し、ホストインターフェイス46におけるレジスタ
アドレスCとパラメータ値のデータDとを対にして出力
するようになっている。
The controller 90 has a microprocessor system and is programmable. In addition to a DSP control unit 91 for controlling the operation state of the CD-DSP 20 by processing of a predetermined program, the controller 90 also performs processing of a predetermined program. MPEG sending parameters to host interface 46 of MPEG decoder 40
A control unit 92 is also provided. The MPEG control unit 92 controls the CD
Prior to reading from the CD-ROM 10 by the DSP 20, parameters necessary for initialization of the MPEG decoder 40 are set, and the CD-R by the CD-DSP 20
If the reading from the OM 10 is not performed, the parameters are set as needed. When sending the parameters, the register address C and the parameter value data D in the host interface 46 are output as a pair. It has become.

【0012】このように、従来のデータ復号ICでは、
復号処理の対象とされる複数ビットのデータストリーム
に加えて、その処理条件等を定める多数のパラメータも
入力することから、そのためのデータ入力用ピンなどI
C外部との接続端子もそのビット数に対応した数だけ設
けられている。
As described above, in the conventional data decoding IC,
In addition to a multi-bit data stream to be decoded, a large number of parameters that determine processing conditions and the like are also input.
The number of connection terminals to the outside of C is provided in a number corresponding to the number of bits.

【0013】[0013]

【発明が解決しようとする課題】ところで、最近のIC
集積度の向上やCD−ROMプレーヤ等の装置の開発進
展などに基づいて、回路実装規模を削減して装置の小形
化を図るために、CD−ROMデコーダ少なくともその
S/P変換回路をMPEGデコーダICに取り込んで、
CD−ROMデコーダICの個別実装を不要にすること
が要請されるようになってきた。そして、次には、MP
EGデコーダICについてのサイズ縮小も要請されると
予想される。
However, recent ICs
In order to reduce the circuit mounting scale and downsize the device based on the improvement of the integration degree and the development progress of the device such as a CD-ROM player, at least the S / P conversion circuit of the CD-ROM decoder is provided by an MPEG decoder. Take in the IC,
It has been demanded that the individual mounting of the CD-ROM decoder IC becomes unnecessary. And then, MP
It is expected that a size reduction for the EG decoder IC will also be required.

【0014】しかしながら、単純にCD−ROMデコー
ダをMPEGデコーダICに内蔵した場合(図5参
照)、ICの集積度が向上してもその割には実装規模が
削減されない。データストリームに代えて直接にビット
ストリームを入力するようにしたことでそれ用のICピ
ン等は減少したが、パラメータ入力のためにレジスタア
ドレスC及びデータDの各ビットに対応して設けられた
多数のICピン等が残っており、これらがICパッケー
ジの小形化を妨げているためである。
However, when the CD-ROM decoder is simply incorporated in the MPEG decoder IC (see FIG. 5), the mounting scale is not reduced even if the degree of integration of the IC is improved. By directly inputting the bit stream instead of the data stream, the number of IC pins and the like for the bit stream is reduced, but a large number of pins provided corresponding to each bit of the register address C and the data D for inputting the parameter are provided. This is because IC pins and the like remain, which hinder miniaturization of the IC package.

【0015】そこで、パラメータ設定も含めてデータ復
号処理に関係する機能を損なうことなくそれらICピン
等の外部接続端子の数を削減することが課題となる。こ
の発明は、このような課題を解決するためになされたも
のであり、外部接続端子を少なくして小形のデータ復号
ICを実現することを目的とする。
Therefore, it is an object to reduce the number of external connection terminals such as IC pins without impairing functions relating to data decoding processing including parameter setting. The present invention has been made to solve such a problem, and has as its object to realize a small-sized data decoding IC with a reduced number of external connection terminals.

【0016】[0016]

【課題を解決するための手段】このような課題を解決す
るために発明された第1乃至第4の解決手段について、
その構成および作用効果を以下に説明する。
Means for Solving the Problems First to fourth solving means invented to solve such problems are as follows.
The configuration and operation and effect will be described below.

【0017】[第1の解決手段]第1の解決手段のデー
タ復号ICは(、出願当初の請求項1に記載の如く)、
データストリームを対象として復号処理を行う復号回路
と、この復号回路の一部として又は別個に設けられ前記
復号処理に伴う誤り検出を行う検出手段と、前記復号処
理に対する復号条件を含んだパラメータを保持するパラ
メータ保持手段とが設けられたデータ復号ICにおい
て、外部からデータを入力しその送出先を前記復号回路
および前記パラメータ保持手段のうち何れか一方に切り
換える切換回路と、前記検出手段の検出結果に応じて
(復号不能な誤りの検出時に入力データが前記パラメー
タ保持手段へ送出されるように且つそうでないときは入
力データが前記復号回路へ送出されるように)前記入力
データの送出先を選択し(この選択に基づい)て前記切
換回路を制御する選択手段とを備えたことを特徴とする
ものである。
[First Solution] The data decoding IC of the first solution (as described in claim 1 at the time of filing the application)
A decoding circuit that performs a decoding process on a data stream, a detection unit that is provided as a part of the decoding circuit or that is separately provided and that detects an error associated with the decoding process, and holds a parameter including a decoding condition for the decoding process. A data decoding IC provided with a parameter holding means for receiving data from the outside and a switching circuit for switching a destination of the data to one of the decoding circuit and the parameter holding means; The destination of the input data is selected accordingly (so that the input data is sent to the parameter holding means when an undecodable error is detected, and otherwise the input data is sent to the decoding circuit). Selecting means for controlling the switching circuit (based on this selection).

【0018】このような第1の解決手段のデータ復号I
Cにあっては、データストリームは正規に符号化されて
から本ICへ送り込まれ、パラメータは符号化されない
又は異なる符号化がなされてから本ICへ送り込まれる
環境で用いられることを前提とする。
The data decoding I of the first solving means as described above.
In C, it is assumed that the data stream is normally encoded before being sent to the present IC, and the parameters are used in an environment in which the parameters are not coded or are differently encoded before being sent to the present IC.

【0019】そして、外部からデータが入力されると、
このデータが正しく符号化されたデータストリームの場
合、そのデータは、切換回路によって復号回路へ送り込
まれ、そこで復号処理が施される。これにより、この場
合、復号処理が適正になされる。一方、外部からのデー
タがパラメータである場合、正しく符号化されていない
ので検出手段によってそのことが検出されて、この検出
結果に応じた選択手段によって切換回路が送出先を変え
るよう制御され、その結果、外部からの入力データは、
パラメータ保持手段へ送出される。これにより、この場
合も、パラメータの設定が適切になされる。このよう
に、従来の機能は何ら損なわれることなく維持される。
When data is input from outside,
If the data is a correctly encoded data stream, the data is sent by a switching circuit to a decoding circuit, where it is decoded. Thus, in this case, the decoding process is properly performed. On the other hand, when the data from the outside is a parameter, the data is not correctly encoded, so that it is detected by the detecting means, and the switching circuit is controlled by the selecting means according to the detection result so as to change the transmission destination. As a result, external input data is
It is sent to the parameter holding means. As a result, also in this case, the parameters are set appropriately. In this way, conventional functions are maintained without any loss.

【0020】しかも、データストリームとパラメータと
が同じ切換回路に入力されることから、切換回路の入力
ライン又は入力端子がデータストリーム及びパラメータ
によって共用されるので、このライン等に外部から接続
されるICピン等の外部接続端子も共用されることとな
る。これにより、共用化された分だけ外部接続端子の数
が減少する。
In addition, since the data stream and the parameter are input to the same switching circuit, the input line or the input terminal of the switching circuit is shared by the data stream and the parameter. External connection terminals such as pins are also shared. As a result, the number of external connection terminals is reduced by the amount shared.

【0021】そこで、パラメータ設定も含めてデータ復
号処理に関係する機能を損なうことなく、ICピン等の
外部接続端子の数を削減することが可能となる。したが
って、この発明によれば、外部接続端子を少なくして小
形のデータ復号ICを実現することができる。
Therefore, the number of external connection terminals such as IC pins can be reduced without impairing functions relating to data decoding processing including parameter setting. Therefore, according to the present invention, a small-sized data decoding IC can be realized with a reduced number of external connection terminals.

【0022】[第2の解決手段]第2の解決手段のデー
タ復号ICは(、出願当初の請求項2に記載の如く)、
上記の第1の解決手段のデータ復号ICであって、上記
の切換回路は、その入力ライン又は入力端子が単一のも
のであることを特徴とするものである。
[Second Solution] The data decoding IC of the second solution (as described in claim 2 at the beginning of the application)
In the data decoding IC according to the first solving means, the switching circuit has a single input line or input terminal.

【0023】このような第2の解決手段のデータ復号I
Cにあっては、外部からビットストリームで送り込まれ
た入力データが切換回路等によってデータストリームと
パラメータとに適切に分けられて復号回路又はパラメー
タ保持手段へ送出される。これにより、データストリー
ム及びパラメータを入力するためのピン数を最小限の1
本で済ませることが可能となる。したがって、この発明
によれば、外部接続端子を最も少なくして小形のデータ
復号ICを実現することができる。
The data decoding I of such a second solution means
In the case of C, input data sent as a bit stream from the outside is appropriately divided into a data stream and parameters by a switching circuit or the like and sent to a decoding circuit or parameter holding means. This minimizes the number of pins for inputting data streams and parameters to one.
You can do it with a book. Therefore, according to the present invention, it is possible to realize a small-sized data decoding IC with the least number of external connection terminals.

【0024】[第3の解決手段]第3の解決手段のデー
タ復号ICは(、出願当初の請求項3に記載の如く)、
上記の第1,第2の解決手段のデータ復号ICであっ
て、上記の復号回路がMPEGデコーダであって、しか
も、上記の検出手段がそのデコーダの可変長復号部にお
いて符号誤りを検出する回路であることを特徴とするも
のである。
[Third Solution] The data decoding IC of the third solution (as described in claim 3 at the beginning of the application)
A data decoding IC according to the first and second solving means, wherein the decoding circuit is an MPEG decoder, and the detecting means detects a code error in a variable length decoding unit of the decoder. It is characterized by being.

【0025】このような第3の解決手段のデータ復号I
Cにあっては、データストリームとパラメータとを選択
して振り分けるのに必要な符号誤り検出が可変長復号部
の内部回路によって行われるので、検出回路を新たに付
加しなくても既存の回路を利用して済ませることができ
る。なお、データストリームに本当にノイズが乗ったと
きは、可変長符号の誤りによって一旦パラメータ処理に
切り替わってしまうが、パラメータとしても不適合なの
で速やかにデータストリーム復号処理になるよう切換状
態等が戻される一方、MPEGデコーダにあっては可変
長符号の誤りが検出されると後続の動き補償部等の働き
によってその間のピクチャ生成処理等がスキップされる
ので、その間データストリームが一時中断しても実用上
の不都合は無い。これにより、不都合なく既存の検出回
路が共用されるのでその分だけ付加回路の規模を抑制す
ることができる。したがって、この発明によれば、外部
接続端子を少なくするとともにそのための付加回路の規
模まで不都合無く抑制して一層小形のデータ復号ICを
実現することができる。
The data decoding I of the third solving means as described above.
In C, the code error detection necessary for selecting and sorting the data stream and the parameters is performed by the internal circuit of the variable length decoding unit, so that the existing circuit can be used without adding a new detection circuit. You can use it. In addition, when the data stream is really noisy, it is temporarily switched to the parameter processing due to the error of the variable length code. However, since the parameter is incompatible, the switching state etc. is returned so that the data stream decoding processing is promptly performed. In the MPEG decoder, when an error of a variable length code is detected, the subsequent motion compensator or the like skips the picture generation processing or the like during the operation. There is no. As a result, the existing detection circuit is shared without inconvenience, so that the scale of the additional circuit can be suppressed accordingly. Therefore, according to the present invention, a smaller data decoding IC can be realized by reducing the number of external connection terminals and suppressing the scale of an additional circuit for that purpose without inconvenience.

【0026】[第4の解決手段]第4の解決手段のデー
タ復号ICは(、出願当初の請求項4に記載の如く)、
上記の第1〜第3の解決手段のデータ復号ICであっ
て、CD−ROMデコーダが上記切換回路と上記復号回
路との間に介在するようにして内蔵されていることを特
徴とするものである。
[Fourth Solution] A data decoding IC according to a fourth solution (as described in claim 4 at the beginning of the application)
A data decoding IC according to any one of the first to third solving means, wherein a CD-ROM decoder is incorporated so as to be interposed between the switching circuit and the decoding circuit. is there.

【0027】このような第4の解決手段のデータ復号I
Cにあっては、CD−ROMデコーダを内蔵したことに
より、実装されるCD−ROMプレーヤの小形化に寄与
する。しかも、CD−ROMから記録データを読み取っ
てビットストリームで出力する一般のCD−DSPに対
し、そのビットストリームを入力する後続回路として組
み合わせることで、規模の大きい回路や特別な回路を介
在させなくても容易に、CD−ROMプレーヤのシステ
ムを構築することが可能となる。これにより、小形で安
価なCD−ROMプレーヤを実現することができる。
The data decoding I of the fourth solving means as described above.
C has a built-in CD-ROM decoder, which contributes to downsizing of a mounted CD-ROM player. Moreover, by combining with a general CD-DSP that reads recorded data from a CD-ROM and outputs it as a bit stream as a subsequent circuit that inputs the bit stream, a large-scale circuit or a special circuit is not interposed. It is also possible to easily construct a CD-ROM player system. Thus, a compact and inexpensive CD-ROM player can be realized.

【0028】[0028]

【発明の実施の形態】このような解決手段で達成された
本発明のデータ復号ICは、その使用に際しては次の如
きコントローラと共に用いられて所望のシステムを構成
する。そのコントローラは、データ復号ICにパラメー
タを設定するに際し、データストリームがそのICへ送
出されていないとき又は送出する必要のないときに、デ
ータストリームの送出ラインにパラメータを送出するよ
うになっている。また、パラメータ送出の際には、本来
の符号化に適合しないヘッダー・ダミーデータ等を先行
させるようにもなっている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The data decoding IC of the present invention achieved by such a solution is used together with a controller as follows to constitute a desired system. When setting the parameters in the data decoding IC, the controller transmits the parameters to the transmission line of the data stream when the data stream is not transmitted to the IC or when the data stream does not need to be transmitted. Also, when sending parameters, headers and dummy data that do not conform to the original encoding are preceded.

【0029】[0029]

【実施例】本発明のデータ復号ICの一実施例としての
CD−ROMプレーヤについて、その具体的な構成を、
図1の回路ブロックを引用して説明する。この図1のプ
レーヤが従来例における図4のものと相違するのは、課
題の項で挙げた図5のものと同様にCD−ROMデコー
ダ330がバッファ41の直前に集積されて切換回路と
復号回路との間に介在するように内蔵されたものとなっ
ている点に加えて、コントローラによってホストインタ
ーフェイス46の各レジスタに設定されるパラメータが
ビットストリームAの信号ラインを介してMPEGデコ
ーダICに入力されるようになっている点である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A specific configuration of a CD-ROM player as one embodiment of the data decoding IC of the present invention is as follows.
The description will be made with reference to the circuit block of FIG. The difference between the player shown in FIG. 1 and the one shown in FIG. 4 in the conventional example is that the CD-ROM decoder 330 is integrated immediately before the buffer 41 and the switching circuit and the decoding circuit are similar to the player shown in FIG. In addition to being built in so as to be interposed between the circuit and the circuit, parameters set in each register of the host interface 46 by the controller are input to the MPEG decoder IC via the signal line of the bit stream A. This is the point that is to be done.

【0030】具体的には、CD−DSP20とMPEG
デコーダIC400間のビットストリームAのラインに
セレクタ401が介挿され、コントローラ900はパラ
メータを直接MPEGデコーダIC400へ送出する代
わりにセレクタ401を介して送るようにされ、MPE
GデコーダIC400には切換回路としてのスイッチ回
路402及び選択手段としてのモード選択回路404の
他にシリアルパラレル変換回路403が付加される。な
お、従来と同様の構成要素には同一の符号を付して図示
したので、重複する再度の説明は割愛して、以下、相違
点を中心に説明する。
Specifically, the CD-DSP 20 and the MPEG
A selector 401 is inserted in the line of the bit stream A between the decoder ICs 400, and the controller 900 sends parameters via the selector 401 instead of sending the parameters directly to the MPEG decoder IC 400.
The G decoder IC 400 is provided with a serial / parallel conversion circuit 403 in addition to a switch circuit 402 as a switching circuit and a mode selection circuit 404 as selection means. Note that the same components as those in the related art are denoted by the same reference numerals and are not illustrated, so that repeated description will be omitted, and the following description will focus on the differences.

【0031】コントローラ900は、MPEG制御部9
2がMPEG制御部920によって置換され、ユニバー
サルアシンクロナスレシーバトランスミッタ(UAR
T)921が追加された点でコントローラ90と相違す
るものである。UART921は、汎用の並列直列変換
回路であり、ここではトランスミッタの方が用いられ
て、パラメータを調歩同期式でシリアル伝送可能に変換
して出力するようになっている。
The controller 900 includes an MPEG control unit 9
2 is replaced by the MPEG control unit 920, and the universal asynchronous receiver transmitter (UAR
T) 921 is different from the controller 90 in that a T) 921 is added. The UART 921 is a general-purpose parallel-serial conversion circuit. Here, a transmitter is used, and the UART 921 converts a parameter into a start-stop synchronous type so that serial transmission is possible and outputs the converted parameter.

【0032】MPEG制御部920は、パラメータを直
接MPEGデコーダIC400へ出力する代わりにUA
RT921へ出力して間接的に送るとともに、セレクタ
401へ制御信号を送出するように改められる。また、
DSP制御部91の動作状態を監視することでビットス
トリームAがCD−DSP20から出力されているか否
かを検知して、データストリームAの出力がなされてい
ないときに限り、UART921を介したパラメータ送
出を行う。このとき、セレクタ401の制御状態を切り
換えることも行う。さらに、そのパラメータ送出の際に
は、誤り検出回路59による誤り検出に十分なビット数
のブレーク信号を出力しておいてから、有効なパラメー
タを送出する。これにより、コントローラ900は、パ
ラメータ送出の際に本来の符号化に適合しないダミーデ
ータを先行させるものとなっている。なお、パラメータ
送出の最後には、所定の終了コードを送出するようにも
なっている。
The MPEG control section 920 outputs the parameters to the UA instead of directly outputting the parameters to the MPEG decoder IC 400.
The output is sent to the RT 921 and sent indirectly, and the control signal is sent to the selector 401. Also,
By monitoring the operation state of the DSP control unit 91, it is detected whether or not the bit stream A is output from the CD-DSP 20, and only when the data stream A is not output, the parameter transmission via the UART 921 is performed. I do. At this time, the control state of the selector 401 is also switched. Further, at the time of sending the parameters, a break signal having a sufficient number of bits for error detection by the error detection circuit 59 is output, and then valid parameters are sent. As a result, the controller 900 precedes dummy data that does not conform to the original encoding when sending parameters. At the end of the parameter transmission, a predetermined end code is transmitted.

【0033】セレクタ401は、2入力1出力のセレク
タであり、各入出力が1ビットのものである。その一方
の入力としてCD−DSP20からのビットストリーム
Aを受け、他方の入力としてUART921の出力を受
け、MPEG制御部920の制御に従って何れか一方の
入力をMPEGデコーダIC400へ出力する。その出
力ラインはMPEGデコーダIC400の1本のICピ
ン即ち外部接続端子に接続されている。これにより、セ
レクタ401は、データストリームの送出ラインにパラ
メータも送出するものとなっている。
The selector 401 is a two-input one-output selector, and each input and output is of one bit. The bit stream A from the CD-DSP 20 is received as one input, the output of the UART 921 is received as the other input, and one of the inputs is output to the MPEG decoder IC 400 under the control of the MPEG control unit 920. The output line is connected to one IC pin of the MPEG decoder IC 400, that is, an external connection terminal. As a result, the selector 401 also sends parameters to the sending line of the data stream.

【0034】スイッチ回路402は、1入力2出力の切
換回路であり、各入出力が1ビットのものである。その
入力端子はセレクタ401の出力が接続されたICピン
即ち外部接続端子に接続され、一方の出力端子はCD−
ROMデコーダ330の入力端子に接続され、他方の出
力端子はホストインターフェイス46前に付設のシリア
ルパラレル変換回路403に接続されている。これによ
り、スイッチ回路402は、入力端子さらに入力ライン
が単一のものであり、且つ外部からデータを入力しその
送出先をCD−ROMデコーダ330に後続の可変長復
号部51等(復号回路)およびホストインターフェイス
46のレジスタ(パラメータ保持手段)のうち何れか一
方に切り換えるものとなっている。
The switch circuit 402 is a one-input two-output switch circuit, and each input and output is one bit. Its input terminal is connected to an IC pin to which the output of the selector 401 is connected, that is, an external connection terminal.
The input terminal of the ROM decoder 330 is connected to the input terminal, and the other output terminal is connected to a serial / parallel conversion circuit 403 provided before the host interface 46. As a result, the switch circuit 402 has a single input terminal and a single input line, inputs data from the outside, and sends the data to the CD-ROM decoder 330 and the variable-length decoding unit 51 or the like (decoding circuit). And switch to one of the registers (parameter holding means) of the host interface 46.

【0035】シリアルパラレル変換回路403は、UA
RTのレシーバの方とほぼ等価な回路であり、調歩同期
式でシリアル伝送されてきたデータをパラレルデータに
戻す直列並列変換を行うものである。シリアルパラレル
変換回路403はスイッチ回路402の他方の出力を受
けることでパラメータを入力して元のデータ形式に戻す
ようになっている。さらに、シリアルパラレル変換回路
403は、パラメータをレジスタアドレスCとデータD
とに振り分けてホストインターフェイス46へ送出する
とともに、パラメータの最後に所定の終了コードを受け
取ったときにはモード選択回路404へモード変更のト
リガ信号を送出するようにもなっている。
The serial / parallel conversion circuit 403 has a UA
This circuit is substantially equivalent to the RT receiver, and performs serial-parallel conversion for returning data serially transmitted in an asynchronous system to parallel data. The serial-to-parallel conversion circuit 403 receives the other output of the switch circuit 402, inputs parameters, and returns to the original data format. Further, the serial / parallel conversion circuit 403 stores the parameters in the register address C and the data D
Are sent to the host interface 46, and when a predetermined end code is received at the end of the parameter, a mode change trigger signal is sent to the mode selection circuit 404.

【0036】モード選択回路404は、誤り検出回路5
9からの誤り検出信号Eと、シリアルパラレル変換回路
403からのモード変更トリガ信号とを入力とし、スイ
ッチ回路402の出力先を切り換えさせるためにスイッ
チ回路402へ制御信号を送出するものであるが、初期
化直後や定常状態ではデータストリーム復号モードを選
択していてスイッチ回路402の出力先がCD−ROM
デコーダ330側になるような制御を行う。そして、誤
り検出信号Eが有意となったときには、パラメータ設定
モードを選択して、スイッチ回路402の出力先がシリ
アルパラレル変換回路403側になるようにスイッチ回
路402を制御する。
The mode selection circuit 404 includes an error detection circuit 5
9 and a mode change trigger signal from the serial / parallel conversion circuit 403, and sends a control signal to the switch circuit 402 to switch the output destination of the switch circuit 402. Immediately after initialization or in a steady state, the data stream decoding mode is selected and the output destination of the switch circuit 402 is a CD-ROM.
Control is performed on the decoder 330 side. Then, when the error detection signal E becomes significant, the parameter setting mode is selected, and the switch circuit 402 is controlled such that the output of the switch circuit 402 is to the serial / parallel conversion circuit 403 side.

【0037】さらに、パラメータ設定モード時にシリア
ルパラレル変換回路403からモード変更のトリガを受
けると、再びデータストリーム復号モードを選択して、
スイッチ回路402の出力先がCD−ROMデコーダ3
30側になるようにスイッチ回路402を制御する。こ
れにより、モード選択回路404は、検出手段としての
誤り検出回路59の検出結果である誤り検出信号Eに応
じてスイッチ回路402の入力データの送出先としてC
D−ROMデコーダ330又はシリアルパラレル変換回
路403の何れかを選択してスイッチ回路402を制御
するものとなっている。そして、復号不能な誤りの検出
時にスイッチ回路402の入力データがパラメータ保持
手段へ送出される一方、そうでないときは入力データが
復号回路へ送出される。
Further, when a mode change trigger is received from the serial / parallel conversion circuit 403 in the parameter setting mode, the data stream decoding mode is selected again.
The output of the switch circuit 402 is the CD-ROM decoder 3
The switch circuit 402 is controlled so as to be on the 30 side. As a result, the mode selection circuit 404 sends the input data to the switch circuit 402 as the destination of the input data of the switch circuit 402 according to the error detection signal E which is the detection result of the error detection circuit 59 as the detection means.
The switch circuit 402 is controlled by selecting either the D-ROM decoder 330 or the serial / parallel conversion circuit 403. Then, when an undecodable error is detected, the input data of the switch circuit 402 is sent to the parameter holding means. Otherwise, the input data is sent to the decoding circuit.

【0038】この実施例のデータ復号ICについて、そ
の使用態様及び動作を説明する。
The usage and operation of the data decoding IC of this embodiment will be described.

【0039】CD−ROMプレーヤに電源が投入される
と、ハードウェアリセットの後、コントローラ900
は、その制御下にある各回路に所定の初期設定を行う。
MPEGデコーダIC400に対してもホストインター
フェイス46の各レジスタに所定のパラメータを次のよ
うにして設定する。すなわち、MPEG制御部920
が、セレクタ401を制御してUART921の出力が
セレクタ401の入力として選択されるようにしてお
き、UART921に所定長のブレーク信号の送出を行
わせる。
When the power of the CD-ROM player is turned on, the controller 900 is reset after hardware reset.
Performs a predetermined initial setting for each circuit under the control.
For the MPEG decoder IC 400, predetermined parameters are set in the respective registers of the host interface 46 as follows. That is, the MPEG control unit 920
Controls the selector 401 so that the output of the UART 921 is selected as the input of the selector 401, and causes the UART 921 to transmit a break signal of a predetermined length.

【0040】すると、ブレーク信号がセレクタ401,
スイッチ回路402,CD−ROMデコーダ330,バ
ッファ41,分離部42,そしてビデオ・オーディオ・
リングバッファ制御回路55を順に経由して可変長復号
部51に送られる。可変長復号部51では誤り検出回路
59によってブレーク信号が符号誤りの一種として検出
され、誤り検出信号Eが有意とされる。そして、これを
受けたモード選択回路404ではパラメータ設定モード
が選択されて、スイッチ回路402の出力先がCD−R
OMデコーダ330からシリアルパラレル変換回路40
3へ切り換えられる。
Then, the break signal is supplied to the selector 401,
The switch circuit 402, the CD-ROM decoder 330, the buffer 41, the separation unit 42, and the video / audio
The data is sent to the variable length decoding unit 51 via the ring buffer control circuit 55 in order. In the variable-length decoding unit 51, the error detection circuit 59 detects the break signal as a kind of code error, and makes the error detection signal E significant. Then, in response to this, the parameter selection mode is selected in the mode selection circuit 404, and the output destination of the switch circuit 402 is the CD-R
From the OM decoder 330 to the serial / parallel conversion circuit 40
Switched to 3.

【0041】ブレーク信号の送出が終わると、MPEG
制御部920は一連のパラメータをUART921へ送
出する。そうすると、これらのパラメータが、逐次、U
ART921でシリアルデータに変換されてから、セレ
クタ401,スイッチ回路402を介してシリアルパラ
レル変換回路403に伝送され、そこでレジスタアドレ
スC,データDに逆変換され、さらにホストインターフ
ェイス46の該当アドレスのレジスタに該当データが次
々に設定される。こうして、パラメータが、ビットスト
リームAの信号経路を介して、ホストインターフェイス
46の各レジスタに対し順次書き込まれる。
When the transmission of the break signal is completed, the MPEG
The control unit 920 sends a series of parameters to the UART 921. Then, these parameters are sequentially
After being converted into serial data by the ART 921, the data is transmitted to the serial / parallel conversion circuit 403 via the selector 401 and the switch circuit 402, where it is inversely converted into a register address C and data D, and further converted into a register of the corresponding address of the host interface 46. The corresponding data is set one after another. Thus, the parameters are sequentially written to each register of the host interface 46 via the signal path of the bit stream A.

【0042】一連のパラメータ設定が終わると、MPE
G制御部920は、所定の終了コードをUART921
へ送出する。そうすると、これも、パラメータ同様に、
UART921でシリアルデータに変換されてから、セ
レクタ401,スイッチ回路402を介してシリアルパ
ラレル変換回路403に伝送される。ただし、そこで終
了コードが検出されると、ホストインターフェイス46
ではなくモード選択回路404へモード変更のトリガが
送出される。そして、これを受けたモード選択回路40
4ではデータストリーム復号モードが選択されて、スイ
ッチ回路402の出力先がシリアルパラレル変換回路4
03からCD−ROMデコーダ330へ切り換えられ
る。さらに、MPEG制御部920は、セレクタ401
を制御してCD−DSP20の出力すなわちビットスト
リームAがセレクタ401の入力として選択されるよう
な状態に戻しておく。こうして、MPEGデコーダIC
400に対するパラメータ設定が完了し、定常動作可能
な装置状態となる。
When a series of parameter settings are completed, the MPE
The G control unit 920 sends a predetermined end code to the UART 921
Send to Then, as with the parameters,
After being converted into serial data by the UART 921, the data is transmitted to the serial / parallel conversion circuit 403 via the selector 401 and the switch circuit 402. However, when the end code is detected there, the host interface 46
Instead, a mode change trigger is sent to the mode selection circuit 404. Then, the mode selection circuit 40 receiving this
4, the data stream decoding mode is selected and the output destination of the switch circuit 402 is the serial / parallel conversion circuit 4.
03 to the CD-ROM decoder 330. Further, the MPEG control unit 920 controls the selector 401
To return to the state where the output of the CD-DSP 20, that is, the bit stream A is selected as the input of the selector 401. Thus, the MPEG decoder IC
The parameter setting for 400 is completed, and the apparatus is brought into a state where the apparatus can be operated in a steady state.

【0043】この状態で、CD−ROM10が図示しな
い読み取り部にセットされ、再生開始の操作がなされる
と、CD−ROM10から読み取られた記録データがC
D−DSP20によってビットストリームAにされ、こ
のビットストリームAがセレクタ401を経てスイッチ
回路402へ送られる。こうして1本のICピンを介し
てMPEGデコーダIC400に入力されたデータスト
リームには、MPEGデコーダIC400内のCD−R
OMデコーダ330や,バッファ41以降の回路によっ
て従来例において既述した復号処理が施される。こうし
て、映像及び音響が再生されてCRT60及びスピーカ
70から出力される。
In this state, when the CD-ROM 10 is set in a reading section (not shown) and a reproduction start operation is performed, the recording data read from the CD-ROM 10
The bit stream A is converted into a bit stream A by the D-DSP 20, and the bit stream A is sent to the switch circuit 402 via the selector 401. The data stream input to the MPEG decoder IC 400 via one IC pin in this manner includes a CD-R in the MPEG decoder IC 400.
The decoding process described in the conventional example is performed by the OM decoder 330 and the circuits after the buffer 41. Thus, the video and the sound are reproduced and output from the CRT 60 and the speaker 70.

【0044】なお、CD−DSP20とMPEGデコー
ダIC400との間におけるビットストリームAの信号
ラインに対してCD−ROMデコーダ330の訂正能力
を超えるノイズが乗ったようなときには、以下のように
なる。この場合は、可変長符号がノイズによって不適正
な符号に変えられ、そのことが誤り検出回路59によっ
て検出される。そして、誤り検出信号Eが有意となり、
これを受けた動き補償部54によって、次の基準となる
適正な画像データ例えば新たなIピクチャが得られるま
で表示画像86の更新が止められる。こうして、映像の
動き・変化を一瞬停止することで、ノイズによって乱さ
れた映像が表示されるのを回避する。
When noise exceeding the correction capability of the CD-ROM decoder 330 is applied to the signal line of the bit stream A between the CD-DSP 20 and the MPEG decoder IC 400, the following occurs. In this case, the variable length code is changed to an incorrect code by noise, and this is detected by the error detection circuit 59. Then, the error detection signal E becomes significant,
In response to this, the motion compensation unit 54 stops updating the display image 86 until appropriate image data serving as the next reference, for example, a new I picture is obtained. In this way, by temporarily stopping the movement / change of the image, the image disturbed by the noise is prevented from being displayed.

【0045】一方、誤り検出信号Eが有意にされると、
これを受けたモード選択回路404のモード変更によっ
てスイッチ回路402の出力先もシリアルパラレル変換
回路403側へ変更されてしまうが、この場合は、シリ
アルパラレル変換回路403の受けるデータがブレーク
信号でもなく調歩同期式のデータ形式にも合致しないの
で、直ちにシリアルパラレル変換回路403からモード
選択回路404へモード変更のトリガが送出されて、ス
イッチ回路402の送出先がCD−ROMデコーダ33
0側へ速やかに戻される。こうして、動き補償部54に
よって映像の動き・変化が停止させられているうちに、
再びビットストリームAがCD−ROMデコーダ330
やバッファ41以降の復号回路へ送り込まれるので、再
生処理が、何ら支障なく継続される。
On the other hand, when the error detection signal E is made significant,
The output destination of the switch circuit 402 is also changed to the serial / parallel conversion circuit 403 side by the mode change of the mode selection circuit 404 receiving this. In this case, however, the data received by the serial / parallel conversion circuit 403 is not a break signal, and the start / stop is performed. Since the data does not conform to the synchronous data format, a mode change trigger is immediately transmitted from the serial / parallel conversion circuit 403 to the mode selection circuit 404, and the transmission destination of the switch circuit 402 is set to the CD-ROM decoder 33.
It is quickly returned to the 0 side. Thus, while the motion / change of the video is stopped by the motion compensation unit 54,
The bit stream A is again transmitted to the CD-ROM decoder 330.
And the data is sent to the decoding circuit after the buffer 41, so that the reproduction process is continued without any trouble.

【0046】図2にブロック図を示したCD−ROMプ
レーヤは、本発明のデータ復号ICの第2実施例のもの
である。これは、セレクタ401がワイヤードオア結線
部405によって置換された点で上述の第1実施例のも
のと相違する。なお、セレクタ401の制御も不要とな
ることから、MPEG制御部920はMPEG制御部9
2で間に合う。そして、UART921の出力およびC
D−DSP20の出力にはオープンコレクタタイプのド
ライバが採用され、それらの出力ラインが一つに接続さ
れてからMPEGデコーダIC400の該当ピンへ接続
される。この場合、セレクタ401に代えて適宜のプル
アップ抵抗を設けるだけで済むので、回路の簡素化が一
段と進む。
FIG. 2 is a block diagram showing a CD-ROM player according to a second embodiment of the data decoding IC of the present invention. This is different from the above-described first embodiment in that the selector 401 is replaced by a wired OR connection unit 405. Since the control of the selector 401 becomes unnecessary, the MPEG control unit 920
2. Make it in time. Then, the output of UART 921 and C
An open-collector type driver is adopted for the output of the D-DSP 20, and their output lines are connected to one and then to the corresponding pin of the MPEG decoder IC 400. In this case, it is only necessary to provide an appropriate pull-up resistor instead of the selector 401, so that the simplification of the circuit is further advanced.

【0047】なお、上述の各例では、MPEG制御部9
2,920とホストインターフェイス46との間に介在
する汎用並列直列変換手段としてUARTを用いたが、
これはシリアル転送できるものであって所要の伝送速度
を持ったものであれば良く、例えばUSBあるいはIE
EE1394相当物を使用することも可能である。
In each of the above examples, the MPEG control unit 9
UART is used as a general-purpose parallel / serial conversion means interposed between the host interface 46 and the host interface 46,
This can be any device that can perform serial transfer and has a required transmission speed, such as USB or IE.
It is also possible to use EE1394 equivalents.

【0048】[0048]

【発明の効果】以上の説明から明らかなように、本発明
の第1の解決手段のデータ復号ICにあっては、機能を
損うことなくデータストリーム及びパラメータ入力用の
外部接続端子を共用し得るようにしたことにより、外部
接続端子を少なくして小形のデータ復号ICを実現する
ことができたという有利な効果が有る。
As is apparent from the above description, in the data decoding IC according to the first solution of the present invention, the external connection terminals for inputting data streams and parameters are shared without impairing the functions. With this arrangement, there is an advantageous effect that a small-sized data decoding IC can be realized with a reduced number of external connection terminals.

【0049】また、本発明の第2の解決手段のデータ復
号ICにあっては、データストリームとパラメータとを
ビットストリームで受け取れるようにしたことにより、
外部接続端子を最も少なくして小形のデータ復号ICを
実現することができたという有利な効果を奏する。
In the data decoding IC according to the second solving means of the present invention, the data stream and the parameter can be received as a bit stream.
There is an advantageous effect that a small-sized data decoding IC can be realized with the minimum number of external connection terminals.

【0050】さらに、本発明の第3の解決手段のデータ
復号ICにあっては、実用上不都合なく既存の検出回路
が共用されるようにしたことにより、外部接続端子を少
なくするとともにそのための付加回路の規模まで抑制し
て一層小形のデータ復号ICを実現することができたと
いう有利な効果が有る。
Further, in the data decoding IC according to the third solution of the present invention, the existing detection circuit is shared without inconvenience in practical use, so that the number of external connection terminals is reduced and additional data is added. There is an advantageous effect that a smaller data decoding IC can be realized by suppressing the circuit scale.

【0051】また、本発明の第4の解決手段のデータ復
号ICにあっては、一般的なCD−DSPを容易に利用
しうるようにしたことにより、小形で安価なCD−RO
Mプレーヤを実現することができたという有利な効果を
奏する。
Further, in the data decoding IC according to the fourth solution of the present invention, a compact and inexpensive CD-RO can be used because a general CD-DSP can be easily used.
There is an advantageous effect that the M player can be realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明のデータ復号ICの第1実施例につい
て、その回路ブロック図である。
FIG. 1 is a circuit block diagram of a first embodiment of a data decoding IC according to the present invention.

【図2】 本発明のデータ復号ICの第2実施例につい
て、その回路ブロック図である。
FIG. 2 is a circuit block diagram of a data decoding IC according to a second embodiment of the present invention;

【図3】 一般的なMPEGデコーダの機能ブロック図
である。
FIG. 3 is a functional block diagram of a general MPEG decoder.

【図4】 従来のMPEGデコーダICのブロック図で
ある。
FIG. 4 is a block diagram of a conventional MPEG decoder IC.

【図5】 CD−ROMデコーダも集積したときの予想
構成図である。
FIG. 5 is an expected configuration diagram when a CD-ROM decoder is also integrated.

【符号の説明】[Explanation of symbols]

10 CD−ROM(コンパクトディスク、記録媒体) 20 CD−DSP(CDデジタルシグナルプロセッ
サ) 30 CD−ROMデコーダ(CD−ROM復号部) 40 MPEGデコーダ 41 バッファ(FIFO、データストリームバッフ
ァ) 42 分離部(DMUX、オーディオ・ビデオ分離部) 43 オーディオ同期調整回路 44 タイミング制御回路 45 ビデオ同期回路 46 ホストインターフェイス(H−I/F) 51 可変長復号部(VLD) 52 逆量子化部(Q−1) 53 逆DCT部(DCT−1、逆離散コサイン変換) 54 動き補償部(MC) 55 ビデオ・オーディオ・リングバッファ制御回路 56 MCバンク処理回路(画像メモリバンク処理) 57 バスアービタ 58 ビデオ・フレーム同期調整回路 59 誤り検出回路 60 CRT(映像表示部) 61 映像出力部(VOUT) 62 ラインメモリ・リード部(表示画像読出回路) 70 スピーカ(音響出力部) 71 オーディオデコーダ 80 メモリ 81 リングバッファ(オーディオ可変長データバッフ
ァ) 82 リングバッファ(ビデオ可変長データバッファ) 83 Iピクチャ(復元画像) 84 Pピクチャ(復元画像) 85 Bピクチャ(復元画像) 86 表示画像(復元画像、再生映像) 90 コントローラ(CPU、マイクロプロセッサ) 91 DSP制御部 92 MPEG制御部 300 MPEGデコーダIC(データ復号IC) 330 CD−ROMデコーダ(CD−ROM復号部) 400 MPEGデコーダIC(データ復号IC) 401 セレクタ 402 スイッチ回路(切換回路) 403 シリアルパラレル変換回路(直列並列変換手
段) 404 モード選択回路(選択手段) 405 ワイヤードオア結線部 900 コントローラ(CPU、マイクロプロセッサ) 920 MPEG制御部 921 UART(パラレルシリアル変換、汎用並列直
列変換手段) A ビットストリーム B データストリーム C レジスタアドレス D データ(パラメータ) E 誤り検出信号
Reference Signs List 10 CD-ROM (compact disk, recording medium) 20 CD-DSP (CD digital signal processor) 30 CD-ROM decoder (CD-ROM decoding unit) 40 MPEG decoder 41 Buffer (FIFO, data stream buffer) 42 Separation unit (DMUX) , Audio / video separation unit) 43 audio synchronization adjustment circuit 44 timing control circuit 45 video synchronization circuit 46 host interface (HI / F) 51 variable length decoding unit (VLD) 52 inverse quantization unit (Q-1) 53 inverse DCT unit (DCT-1, inverse discrete cosine transform) 54 Motion compensation unit (MC) 55 Video / audio ring buffer control circuit 56 MC bank processing circuit (image memory bank processing) 57 Bus arbiter 58 Video / frame synchronization adjustment circuit 59 Error Detection times Road 60 CRT (video display unit) 61 video output unit (VOUT) 62 line memory read unit (display image readout circuit) 70 speaker (sound output unit) 71 audio decoder 80 memory 81 ring buffer (audio variable length data buffer) 82 Ring buffer (video variable length data buffer) 83 I picture (restored image) 84 P picture (restored image) 85 B picture (restored image) 86 Display image (restored image, reproduced video) 90 Controller (CPU, microprocessor) 91 DSP Control unit 92 MPEG control unit 300 MPEG decoder IC (data decoding IC) 330 CD-ROM decoder (CD-ROM decoding unit) 400 MPEG decoder IC (data decoding IC) 401 selector 402 switch circuit (switching circuit) 403 serial 405 Mode selection circuit (selection means) 405 Wired OR connection section 900 Controller (CPU, microprocessor) 920 MPEG control section 921 UART (parallel-serial conversion, general-purpose parallel-serial conversion means) A Bit stream B data stream C register address D data (parameter) E error detection signal

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データストリームを対象として復号処理を
行う復号回路と、この復号回路の一部として又は別個に
設けられ前記復号処理に伴う誤り検出を行う検出手段
と、前記復号処理に対する復号条件を含んだパラメータ
を保持するパラメータ保持手段とが設けられたデータ復
号ICにおいて、外部からデータを入力しその送出先を
前記復号回路および前記パラメータ保持手段のうち何れ
か一方に切り換える切換回路と、前記検出手段の検出結
果に応じて前記入力データの送出先を選択して前記切換
回路を制御する選択手段とを備えたことを特徴とするデ
ータ復号IC。
1. A decoding circuit for performing a decoding process on a data stream, a detecting means provided as a part of or separately from the decoding circuit for detecting an error accompanying the decoding process, and a decoding condition for the decoding process. A switching circuit for externally inputting data and switching the destination to one of the decoding circuit and the parameter holding means in a data decoding IC provided with parameter holding means for holding the included parameters; Selecting means for selecting a transmission destination of the input data in accordance with a detection result of the means and controlling the switching circuit.
【請求項2】前記切換回路は入力ライン又は入力端子が
単一のものであることを特徴とする請求項1記載のデー
タ復号IC。
2. The data decoding IC according to claim 1, wherein said switching circuit has a single input line or input terminal.
【請求項3】前記復号回路がMPEGデコーダであり、
且つ前記検出手段がその可変長復号部において符号誤り
を検出する回路であることを特徴とする請求項1又は請
求項2に記載されたデータ復号IC。
3. The decoding circuit is an MPEG decoder,
3. The data decoding IC according to claim 1, wherein the detection means is a circuit for detecting a code error in the variable length decoding unit.
【請求項4】前記切換回路と前記復号回路との間に介在
させて内蔵したCD−ROMデコーダを備えたことを特
徴とする請求項1乃至請求項3の何れかに記載されたデ
ータ復号IC。
4. A data decoding IC according to claim 1, further comprising a built-in CD-ROM decoder interposed between said switching circuit and said decoding circuit. .
JP9083272A 1997-03-17 1997-03-17 Data decryption IC Expired - Fee Related JP2942738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9083272A JP2942738B2 (en) 1997-03-17 1997-03-17 Data decryption IC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9083272A JP2942738B2 (en) 1997-03-17 1997-03-17 Data decryption IC

Publications (2)

Publication Number Publication Date
JPH10261270A JPH10261270A (en) 1998-09-29
JP2942738B2 true JP2942738B2 (en) 1999-08-30

Family

ID=13797726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9083272A Expired - Fee Related JP2942738B2 (en) 1997-03-17 1997-03-17 Data decryption IC

Country Status (1)

Country Link
JP (1) JP2942738B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8284844B2 (en) 2002-04-01 2012-10-09 Broadcom Corporation Video decoding system supporting multiple standards

Also Published As

Publication number Publication date
JPH10261270A (en) 1998-09-29

Similar Documents

Publication Publication Date Title
JP3926873B2 (en) Computer system
JP5753889B2 (en) Interface for transmitting synchronized audio and video data
US20110091124A1 (en) System for multi-byte reading
US6111592A (en) DMA data transfer apparatus, motion picture decoding apparatus using the same, and DMA data transfer method
US8464006B2 (en) Method and apparatus for data transmission between processors using memory remapping
JPH10276164A (en) Multiplexer, multiplexing method, transmitter, transmission method and recording medium
US20110316862A1 (en) Multi-Processor
JP2611637B2 (en) Image compression / decompression device
JP3639580B2 (en) Cascade output of encoder system with multiple encoders
US6313766B1 (en) Method and apparatus for accelerating software decode of variable length encoded information
JP2942738B2 (en) Data decryption IC
JP3306374B2 (en) Storage reproduction method and storage reproduction system
JP2004032494A (en) Image processor and image processing method
JPH1079922A (en) Image sound decoding and reproducing device
KR20040006965A (en) Apparatus and method for selectively displaying an image
US6636639B1 (en) Image recording apparatus, image recording method and storage medium
JPH09247466A (en) Encoding device
JP3330813B2 (en) Image compression device and image decompression device
JP3083788B2 (en) Data decoding device
US5805826A (en) Method for transmitting compressed video data and apparatus for performing the same
JP3200864B2 (en) Inter-frame prediction coding / decoding device
JPH04255187A (en) Information recording device
JP3456201B2 (en) Inter-frame prediction coding / decoding device
JP4496935B2 (en) Audio / video output device and audio / video output method
JP2002281079A (en) Image data transmitting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees