JPH10248066A - Image data decoder and image data decoding method - Google Patents
Image data decoder and image data decoding methodInfo
- Publication number
- JPH10248066A JPH10248066A JP5012097A JP5012097A JPH10248066A JP H10248066 A JPH10248066 A JP H10248066A JP 5012097 A JP5012097 A JP 5012097A JP 5012097 A JP5012097 A JP 5012097A JP H10248066 A JPH10248066 A JP H10248066A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- register
- memory area
- decoding
- type
- 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
Links
- 238000000034 method Methods 0.000 title claims description 168
- 230000001360 synchronised effect Effects 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 2
- 230000011664 signaling Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 8
- 230000003111 delayed effect Effects 0.000 description 4
- 230000002457 bidirectional effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Synchronizing For Television (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、連続するフレーム
画像を符号化し圧縮した画像データを復号する画像デー
タ復号装置および画像データ復号方法に関するものであ
る。[0001] 1. Field of the Invention [0002] The present invention relates to an image data decoding apparatus and an image data decoding method for decoding image data obtained by encoding and compressing continuous frame images.
【0002】[0002]
【従来の技術】MPEG(Moving Picture Coding Experts G
roup) による符号化方式では、I(Intra coded) ピクチ
ャ、P(Predictive coded)ピクチャ、B(Bidirectional
ly predictive coded)ピクチャの3種類のピクチャ符号
化タイプを用いて連続する動画の画像情報の圧縮化を図
っている。ここで、Iピクチャは、他の画面とは独立し
て符号化されるイントラ符号化画面であり、Pピクチャ
は、時間的に過去に位置するIまたはPピクチャから予
測符号化される前方向予測符号化画面であり、Bピクチ
ャは、時間的に前後に位置するIまたはPピクチャから
予測符号化される双方向予測符号化画面である。2. Description of the Related Art MPEG (Moving Picture Coding Experts G)
roup), an I (Intra coded) picture, a P (Predictive coded) picture, and a B (Bidirectional
It compresses image information of a continuous moving image using three types of picture encoding types, namely, (ly predictive coded) pictures. Here, the I picture is an intra-coded screen that is coded independently of other screens, and the P picture is a forward prediction that is predictively coded from an I or P picture located in the past in time. The B picture is a bidirectional predictive coding screen that is predictively coded from I or P pictures that are temporally located before and after.
【0003】この方式による符号化処理では、例えば、
図10に示すように、原画像V1、V2、V3、V4、V5、V6、V7
…を、I、B、B、P、B、B、P…の各ピクチャタイ
プ(以下、I1、B1、B2、P1、B3、B4、P2…で表わす)に
対応付けるとき、各ピクチャの性質からI1、P1、B1、B
2、P2、B3、B4…の順に符号化が行われ、メディア上に
出力される。一方、復号処理では、メディアからの入力
順I1、P1、B1、B2、P2、B3、B4…の順に復号が行われ、
元の順であるI1、B1、B2、P1、B3、B4、P2…の順に表示
画像が出力される。[0003] In an encoding process using this method, for example,
As shown in FIG. 10, the original images V1, V2, V3, V4, V5, V6, V7
Are associated with each picture type of I, B, B, P, B, B, P (hereinafter represented by I1, B1, B2, P1, B3, B4, P2,...) I1, P1, B1, B
Encoding is performed in the order of 2, P2, B3, B4,... And is output on a medium. On the other hand, in the decoding process, decoding is performed in the order of I1, P1, B1, B2, P2, B3, B4,.
The display images are output in the order of I1, B1, B2, P1, B3, B4, P2,.
【0004】そして、復号装置は、Pピクチャ、Bピク
チャの復号に使用する前方予測画像、後方予測画像とし
てのIまたはPピクチャを格納し、今回復号する画像を
格納するための画面3枚分のメモリエリアを有する画像
メモリと、今回復号する画像、前方予測画像、後方予測
画像、表示画像をそれぞれ格納するメモリエリアを示す
ポインタ値を格納するレジスタRP、FP、BP、DPとを備
え、復号する画像のピクチャタイプ順に応じてポインタ
値を変えながら所定のメモリエリアから画像を読み出し
て復号を行い、所定のメモリエリアの画像を読み出して
表示画像として出力するものであった。The decoding apparatus stores a forward predicted image used for decoding a P picture and a B picture, and an I or P picture as a backward predicted image, and stores three screens for storing an image to be decoded this time. An image memory having a memory area, and registers RP, FP, BP, and DP for storing pointer values indicating a memory area for storing an image to be decoded this time, a forward prediction image, a backward prediction image, and a display image, respectively, for decoding. An image is read from a predetermined memory area and decoded while changing the pointer value according to the picture type order of the image, and the image in the predetermined memory area is read and output as a display image.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上述し
た従来の復号装置では、画像メモリが画面3枚分のメモ
リエリアしか有していないので、復号する画像を書き込
むメモリエリアと表示画像を読み出すメモリエリアとが
同じになる場合が生ずる。そこで、このような場合にも
復号した画像を表示画像として読み出すことができるよ
うにするため、表示画像を読み出すタイミング(表示タ
イミング)を復号処理のタイミング(復号タイミング)
より、一般に、ほぼ1/2 だけ遅らせている。However, in the above-mentioned conventional decoding apparatus, since the image memory has only a memory area for three screens, a memory area for writing an image to be decoded and a memory area for reading a display image are provided. May be the same. In order to enable the decoded image to be read out as a display image even in such a case, the readout timing of the display image (display timing) is determined by the decoding processing timing (decoding timing).
More generally, it is delayed by almost half.
【0006】しかし、復号処理が1フレームの間に終了
しない場合には、復号画像がフレーム構造であると表示
タイミングが復号タイミングを追い抜いてしまうので、
表示画像の画面が乱れて汚くなり、さらには復号処理の
破綻を招くことになる。このため、表示タイミングが復
号タイミングを追い抜く恐れが生じたときには、復号処
理を停止しなければならないという問題があった。この
ような問題に対処するためには、表示タイミングが復号
タイミングを追い抜かないように復号処理の速度を高く
することが考えられる。しかし、復号装置の処理速度を
このような高い速度に設定することは、処理速度を平均
処理速度よりもかなり高く設定することになり、そのた
め復号装置が高価になるという問題点があった。However, if the decoding process is not completed within one frame, the display timing overtakes the decoding timing if the decoded image has a frame structure.
The screen of the display image is disturbed and dirty, and furthermore, the decoding process is broken. Therefore, there is a problem that the decoding process has to be stopped when the display timing may overtake the decoding timing. To cope with such a problem, it is conceivable to increase the speed of the decoding process so that the display timing does not overtake the decoding timing. However, setting the processing speed of the decoding device to such a high speed results in setting the processing speed to be considerably higher than the average processing speed, and there is a problem that the decoding device becomes expensive.
【0007】本発明はこのような従来技術の問題を解消
し、平均の復号処理速度の復号装置でも上述の表示画像
の乱れや復号化処理の破綻を招くことのない画像データ
復号装置および画像データ復号方法を提供することを目
的とする。The present invention solves such a problem of the prior art, and an image data decoding apparatus and an image data decoding method which do not cause the above-mentioned disturbance of the display image or the failure of the decoding processing even with a decoding apparatus having an average decoding processing speed. It is an object to provide a decoding method.
【0008】[0008]
【課題を解決するための手段】本発明は上述の課題を解
決するために、連続するフレーム画像を符号化し圧縮し
た画像データを復号する画像データ復号装置において、
この装置は、復号画像データ、前方予測画像データ、後
方予測画像データ、および表示画像データを格納するメ
モリエリアを有する画像メモリと、画像メモリから所定
の画像データを読み出して復号処理を行い、復号した復
号画像データを画像メモリの所定のメモリエリアに格納
すると共に、この復号画像データを1フレーム以後に表
示画像データとして読み出して出力する復号化処理手段
と、入力される垂直同期信号および水平同期信号に基づ
いてフレームの先頭に同期する割込み信号を生成する生
成手段と、割込み信号を監視し、この割込み信号を検出
したとき復号化手段を制御して復号化処理を開始させる
制御手段とを有することを特徴とする。SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention relates to an image data decoding apparatus for decoding continuous frame images and decoding compressed image data.
This apparatus reads decoded image data, forward predicted image data, backward predicted image data, an image memory having a memory area for storing display image data, and predetermined image data from the image memory, performs decoding processing, and decodes the image data. Decoding processing means for storing the decoded image data in a predetermined memory area of the image memory, reading out the decoded image data as display image data after one frame, and outputting the display image data; Generating means for generating an interrupt signal synchronized with the beginning of the frame based on the interrupt signal, and control means for monitoring the interrupt signal and, when detecting the interrupt signal, controlling the decoding means to start the decoding process. Features.
【0009】この場合、制御手段は、復号化処理手段に
よる1フレームの復号処理が終了する前に割込み信号を
検出した場合には、そのフレームのピクチャタイプを調
べる第1の工程と、第1の工程で調べたピクチャタイプ
がBタイプであるときは、現在の復号処理を強制的に終
了して次のフレームの復号処理を開始する第2の工程
と、第1の工程で調べたピクチャタイプがIまたはPタ
イプであるときは、現在の復号処理を継続する第3の工
程と、第3の工程による復号処理が終了する前に再度の
割込み信号を検出した場合には、現在の復号処理を強制
的に終了し、ピクチャタイプがIタイプの画像データが
入力されたとき、割込み信号の検出を待ってこの画像デ
ータの復号処理を開始する第4の工程とを実行すること
が好ましい。In this case, when the control means detects an interrupt signal before the decoding processing of one frame by the decoding processing means is completed, the control means includes a first step of checking a picture type of the frame; If the picture type checked in the step is the B type, the second step of forcibly terminating the current decoding processing and starting the decoding processing of the next frame, and the picture type checked in the first step are If the type is the I or P type, the current decoding process is continued in the third step of continuing the current decoding process, and if the interruption signal is detected again before the decoding process in the third step is completed, the current decoding process is terminated. It is preferable to execute a fourth step of forcibly terminating and, when image data of the picture type I is input, waiting for detection of an interrupt signal and starting decoding processing of the image data.
【0010】また、この場合、第2の工程は、現在の復
号処理を強制的に終了して次のフレームの復号処理を行
うとき、強制的に終了した復号処理で得られるBタイプ
の画像データを表示画像データとして出力しないことが
好ましい。[0010] In this case, when the current decoding process is forcibly terminated and the decoding process of the next frame is performed, the B-type image data obtained by the forcibly terminated decoding process is used. Is not output as display image data.
【0011】また、本発明は、連続するフレーム画像を
符号化し圧縮した画像データを復号する画像データ復号
装置において、この装置は、復号画像データ、前方予測
画像データ、後方予測画像データ、および表示画像デー
タを格納するメモリエリアを有する画像メモリと、画像
メモリから所定の画像データを読み出して復号処理を行
い、復号した復号画像データを画像メモリの所定のメモ
リエリアに格納すると共に、この復号画像データを1フ
レーム以後に表示画像データとして読み出して出力する
復号化処理手段と、入力される垂直同期信号および水平
同期信号に基づいてフレームの先頭に同期するパルスを
生成して該パルスをカウントするカウント手段と、この
カウント手段におけるカウント値を監視し、カウント値
がインクリメントされたとき復号化手段を制御して復号
化処理を開始させる制御手段とを有することを特徴とす
る。According to the present invention, there is provided an image data decoding apparatus for decoding image data obtained by encoding and compressing continuous frame images, the apparatus comprising: decoded image data; forward predicted image data; backward predicted image data; An image memory having a memory area for storing data; reading out predetermined image data from the image memory to perform decoding processing; storing the decoded image data in a predetermined memory area of the image memory; Decoding means for reading out and outputting as display image data after one frame, and counting means for generating a pulse synchronized with the head of the frame based on the input vertical synchronization signal and horizontal synchronization signal and counting the pulse The count value in the counting means is monitored, and the count value is incremented. Characterized in that a control means for starting the control to decoding processing decoding means when.
【0012】この場合、制御手段は、復号処理の開始時
と終了時における前記カウント値の差を検出する第1の
工程と、第1の工程で検出した差が1であるときは、次
に処理するフレームのピクチャタイプを調べ、ピクチャ
タイプがBタイプのときは該フレームの復号処理を終了
し、ピクチャタイプがIまたはPタイプのときはこのフ
レームの復号処理を実行する第2の工程と、第1の工程
で検出した差が2以上であるときは、ピクチャタイプが
Iタイプの画像データが入力されたとき、カウント値が
インクリメントされるのを待ってこの画像データの復号
処理を開始する第4の工程とを実行することが好まし
い。In this case, the control means includes a first step of detecting a difference between the count values at the start and end of the decoding process, and when the difference detected in the first step is 1, A second step of examining the picture type of the frame to be processed, ending the decoding processing of the frame when the picture type is B type, and executing the decoding processing of this frame when the picture type is I or P type; If the difference detected in the first step is 2 or more, when image data of picture type I is input, the decoding process of this image data is started after waiting for the count value to be incremented. Steps 4 and 4 are preferably performed.
【0013】また、本発明は、連続するフレーム画像を
符号化し圧縮した画像データを復号する画像データ復号
装置における画像データ復号方法において、この方法
は、画像データ復号装置に備えられた4枚のフレーム画
像を格納できるメモリエリアを有する画像メモリと、復
号する画像データを格納するメモリエリアを示すポイン
タ値を格納する第1のレジスタと、前方予測画像データ
として用いられる画像データが格納されているメモリエ
リアを示すポインタ値を格納する第2のレジスタと、後
方予測画像データとして用いられる画像データが格納さ
れているメモリエリアを示すポインタ値を格納する第3
のレジスタと、表示画像として用いられる画像データが
格納されているメモリエリアを示すポインタ値を格納す
る第4のレジスタとを用い、第4のレジスタのポインタ
値が示すメモリエリアに格納されている画像データのピ
クチャタイプを調べる第1の工程と、第1の工程で調べ
たピクチャタイプがBタイプであるときは、第4のレジ
スタのポインタ値が示すメモリエリアの更新を許す第2
の工程と、第1の工程で調べたピクチャタイプがIまた
はPタイプでありかつ第3のレジスタと第4のレジスタ
のポインタ値が同じであるときは、第4のレジスタのポ
インタ値が示すメモリエリアの更新を許し、ピクチャタ
イプがIまたはPタイプであるが第3のレジスタと第4
のレジスタのポインタ値が同じでないときは、そのまま
次の工程に移る第3の工程と、第2および第3の工程に
続いて、第1のレジスタのポインタ値が示すメモリエリ
アに格納されている画像データのピクチャタイプを調べ
る第4の工程と、第4の工程で調べたピクチャタイプが
Bタイプであるときは、第1のレジスタのポインタ値を
第4のレジスタにコピーすると共に、今回復号する画像
のピクチャレイアの解読を行なってピクチャタイプを調
べる第5の工程と、第5の工程で調べたピクチャータイ
プがBタイプであるときは、そのまま次工程に移り、ピ
クチャタイプがIまたはPタイプであるときは、第2の
レジスタのポインタ値が示すメモリエリアの更新を許す
と共に、第3のレジスタのポインタ値を第2のレジスタ
にコピーする第6の工程と、第4の工程で調べたピクチ
ャタイプがIまたはPタイプであるときは、第2のレジ
スタのポインタ値を第4のレジスタにコピーすると共
に、今回復号する画像のピクチャレイアの解読を行なっ
てピクチャタイプを調べる第7の工程と、第7の工程で
調べたピクチャタイプがBタイプであるときは、第1の
レジスタのポインタ値を第3のレジスタにコピーし、ピ
クチャタイプがIまたはPタイプであるときは、第2の
レジスタのポインタ値を第3のレジスタにコピーすると
共に、第1のレジスタのポイント値を第2のレジスタに
コピーする第8の工程と、第6および第8の工程に続い
て、使用されていないメモリエリアの一つをを示すポイ
ンタ値を第1のレジスタに記述する第9の工程とを順次
実行することにより、前方予測画像データ、後方予測画
像データ、表示画像データが格納されているメモリエリ
ア、および復号する画像データを格納するメモリエリア
を決定し、ピクチャレイア以下の復号処理を行なうこと
により1フレームの画像データを復号することを特徴と
する。According to the present invention, there is provided an image data decoding method for an image data decoding apparatus which decodes image data obtained by encoding a continuous frame image and compressing the image data. An image memory having a memory area capable of storing an image, a first register storing a pointer value indicating a memory area storing image data to be decoded, and a memory area storing image data used as forward prediction image data And a third register for storing a pointer value indicating a memory area in which image data used as backward prediction image data is stored.
And a fourth register for storing a pointer value indicating a memory area in which image data used as a display image is stored, and an image stored in the memory area indicated by the pointer value of the fourth register. A first step of examining the picture type of the data, and a second step which permits updating of the memory area indicated by the pointer value of the fourth register when the picture type examined in the first step is the B type.
And if the picture type checked in the first step is the I or P type and the pointer values of the third and fourth registers are the same, the memory indicated by the pointer value of the fourth register Update of the area is permitted, and if the picture type is I or P type, the third register and the fourth
If the pointer values of the first and second registers are not the same, subsequent to the third step and the second and third steps, the data is stored in the memory area indicated by the pointer value of the first register. A fourth step of checking the picture type of the image data, and when the picture type checked in the fourth step is the B type, the pointer value of the first register is copied to the fourth register and decoded at this time. A fifth step of decoding the picture layer of the image to check the picture type, and if the picture type checked in the fifth step is the B type, the process directly proceeds to the next step, and if the picture type is the I or P type, In some cases, the memory area indicated by the pointer value of the second register is updated, and the pointer value of the third register is copied to the second register. When the picture type checked in the step and the fourth step is the I or P type, the pointer value of the second register is copied to the fourth register, and the picture layer of the image to be decoded this time is decoded. The picture type checked in the seventh step, and if the picture type checked in the seventh step is the B type, the pointer value of the first register is copied to the third register, and the picture type is set to I or P If so, an eighth step of copying the pointer value of the second register to the third register and copying the point value of the first register to the second register; Following the step, a ninth step of writing a pointer value indicating one of the unused memory areas in the first register is sequentially executed, whereby the forward prediction image data is read. And a memory area for storing backward prediction image data and display image data, and a memory area for storing image data to be decoded, and decoding image data of one frame by performing decoding processing of a picture layer or less. It is characterized by the following.
【0014】また、本発明は、連続するフレーム画像を
符号化し圧縮した画像データを復号する画像データ復号
装置における画像データ復号方法において、この方法
は、画像データ復号装置に備えられた4枚のフレーム画
像を格納できるメモリエリアを有する画像メモリと、復
号する画像データを格納するメモリエリアを示すポイン
タ値を格納する第1のレジスタと、前方予測画像データ
として用いられる画像データが格納されているメモリエ
リアを示すポインタ値を格納する第2のレジスタと、該
第2のレジスタに格納されているポインタ値と同一のポ
インタ値を格納する第3のレジスタと、後方予測画像デ
ータとして用いられる画像データが格納されているメモ
リエリアを示すポインタ値を格納する第4のレジスタ
と、表示画像として用いられる画像データを格納するメ
モリエリアを示すポインタ値を格納する第5のレジスタ
と、前記第1のレジスタに格納されているポインタ値と
同一のポインタ値を格納する第6のレジスタとを用い、
第1のレジスタのポインタ値が示すメモリエリアに格納
されている画像データのピクチャタイプを調べる第1の
工程と、第1の工程で調べたピクチャタイプがIまたは
Pタイプであるときは、第3のレジスタのポインタ値が
示すメモリエリアの更新を許すと共に、第2のレジスタ
のポインタ値を第3のレジスタと第5のレジスタとにコ
ピーする第2の工程と、第1の工程で調べたピクチャタ
イプがBタイプであるときは、第6のレジスタのポイン
タ値が示すメモリエリアの更新を許し、第1のレジスタ
のポインタ値を第5のレジスタと第6のレジスタにコピ
ーすると共に、第4のレジスタのポインタ値を第1のレ
ジスタにコピーする第3の工程と、第2および第3の工
程に続いて、今回復号する画像のピクチャレイアの解読
を行ってピクチャタイプを調べ、ピクチャタイプがIタ
イプまたはPタイプであるときは、第1のレジスタのポ
インタ値を第2のレジスタにコピーし、ピクチャタイプ
がBタイプであるときは、第1のレジスタのポインタ値
を第4のレジスタにコピーする第4の工程と、第4の工
程に続いて、更新を許されたメモリエリアを示すポイン
タ値を第1のレジスタに記述する第5の工程とを順次実
行することにより、前方予測画像データ、後方予測画像
データ、表示画像データが格納されているメモリエリ
ア、および復号する画像データを格納するメモリエリア
を決定し、ピクチャレイア以下の復号処理を行なうこと
により1フレームの画像データを復号することを特徴と
する。According to the present invention, there is provided an image data decoding method for an image data decoding apparatus which decodes image data obtained by encoding and compressing a continuous frame image. An image memory having a memory area capable of storing an image, a first register storing a pointer value indicating a memory area storing image data to be decoded, and a memory area storing image data used as forward prediction image data A second register for storing a pointer value indicating the same as the pointer value stored in the second register, and a third register for storing a pointer value identical to the pointer value stored in the second register. A fourth register for storing a pointer value indicating the memory area being used, A fifth register for storing a pointer value indicating a memory area for storing image data, and a sixth register for storing the same pointer value and pointer values stored in the first register used to be,
A first step of checking the picture type of the image data stored in the memory area indicated by the pointer value of the first register; and a third step if the picture type checked in the first step is the I or P type. A second step of allowing the memory area indicated by the pointer value of the register to be updated and copying the pointer value of the second register to the third register and the fifth register, and a picture checked in the first step. When the type is the B type, the memory area indicated by the pointer value of the sixth register is allowed to be updated, the pointer value of the first register is copied to the fifth register and the sixth register, and Following the third step of copying the pointer value of the register to the first register, and the second and third steps, the picture layer of the image to be decoded this time is decoded and the picture layer is decoded. When the picture type is I type or P type, the pointer value of the first register is copied to the second register. When the picture type is B type, the pointer value of the first register is copied. Is copied to a fourth register, and, following the fourth step, a fifth step of writing a pointer value indicating a memory area permitted to be updated in the first register is sequentially executed. Thus, the memory area storing the forward predicted image data, the backward predicted image data, the display image data, and the memory area storing the image data to be decoded are determined. Is decoded.
【0015】[0015]
【発明の実施の形態】次に添付図面を参照して本発明に
よる復号装置の実施例を詳細に説明する。先ず、本発明
による復号装置の第1の実施例について説明する。この
復号装置は、ディスプレイのフレームに同期した割込み
信号を生成し、この割込み信号によって復号化処理を開
始することにより復号化処理と表示との同期を図り、ま
た、復号した画像データを少なくと1フレーム遅らせて
表示画像として読み出すことにより、復号化処理の遅れ
による画像の乱れの発生を防止するものである。図1
は、この復号装置の構成を示すブロック図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a decoding apparatus according to the present invention; First, a first embodiment of the decoding device according to the present invention will be described. This decoding device generates an interrupt signal synchronized with the frame of the display, starts the decoding process by this interrupt signal, synchronizes the decoding process with the display, and reduces the decoded image data by at least one. By reading as a display image with a frame delay, the occurrence of image disturbance due to a delay in the decoding process is prevented. FIG.
Is a block diagram illustrating a configuration of the decoding device.
【0016】図1において、入力ポート19は、MPEG規格
により符号化され圧縮された圧縮画像データが入力され
る端子であり、FIFO10に接続されている。FIFO10は、入
力ポート19からの圧縮画像データを内蔵するメモリに順
次格納するものであり、その出力側には可変長復号器(V
LD) 11が接続されている。可変長復号器11は、FIFO10に
所定量の圧縮画像データが格納されたとき、全体を制御
するシーケンサ16から制御バス18を通して送られてくる
制御指示に従ってその格納されたデータを読み出し、可
変長復号を実行するものである。また、可変長復号器11
は、復号したデータから画像のヘッダー情報を検出し、
それを制御バス18を通してシーケンサ16へ送出すると共
に、画像データ(DCT 係数)を出力側に接続される復号
演算器(IQ IDCT) 12へ送出するものである。In FIG. 1, an input port 19 is a terminal to which compressed image data encoded and compressed according to the MPEG standard is input, and is connected to the FIFO 10. The FIFO 10 sequentially stores the compressed image data from the input port 19 in a built-in memory, and has a variable length decoder (V
LD) 11 is connected. When a predetermined amount of compressed image data is stored in the FIFO 10, the variable-length decoder 11 reads the stored data according to a control instruction sent from the sequencer 16 that controls the entire system through the control bus 18, and performs variable-length decoding. Is to execute. Also, the variable length decoder 11
Detects the header information of the image from the decrypted data,
This is sent to the sequencer 16 through the control bus 18 and the image data (DCT coefficient) is sent to the decoding operation unit (IQ IDCT) 12 connected to the output side.
【0017】復号演算器12は、可変長復号器11からの画
像データに対して、シーケンサ16から制御バス18を通し
て送られてくる制御指示に従って周知のランレベル復号
処理、逆量子化処理、逆離散コサイン変換処理等の処理
を施し、元のフレーム画像データを再生するものであ
る。この復号演算器12には、メモリコントローラ13が接
続されており、メモリコントローラ13には、画像メモリ
17およびFIFO14が接続されている。メモリコントローラ
13は、シーケンサ16から制御バス18を通して送られてく
る制御指示に従って画像メモリ17に対する画像データの
入出力を制御するものであり、画像メモリ17は、画面4
枚分の画像データを格納することができるメモリエリア
171 〜174 を有するもである。The decoding arithmetic unit 12 performs a well-known run-level decoding process, an inverse quantization process, and an inverse discrete process on the image data from the variable-length decoder 11 in accordance with a control instruction sent from the sequencer 16 through the control bus 18. The original frame image data is reproduced by performing processing such as cosine conversion processing. A memory controller 13 is connected to the decoding arithmetic unit 12, and an image memory is connected to the memory controller 13.
17 and FIFO 14 are connected. Memory controller
13 controls the input and output of image data to and from the image memory 17 in accordance with control instructions sent from the sequencer 16 through the control bus 18.
Memory area that can store image data for the number of sheets
171 to 174.
【0018】メモリコントローラ13は、フレーム間予測
や双方向予測により符号化された画像データを復号する
場合、シーケンサ16からの制御指示に従って画像メモリ
17に格納されている時間的に前に復号された画像データ
を、前方予測画像データあるいは後方予測画像データと
して読み出し、これを復号演算器12へ送出する。復号演
算器12は、ランレベル復号処理、逆量子化処理、逆離散
コサイン変換処理等の処理を施した画像データとメモリ
コントローラ13からの前方予測画像データ、後方予測画
像データを用いて元の画像データを再生する。そして、
メモリコントローラ13は、復号演算器12で再生された画
像データを画像メモリ17の所定のメモリエリアに格納す
るものである。When decoding image data encoded by inter-frame prediction or bidirectional prediction, the memory controller 13 controls the image memory in accordance with a control instruction from the sequencer 16.
The image data decoded earlier in time stored in 17 is read as forward predicted image data or backward predicted image data, and is sent to the decoding arithmetic unit 12. The decoding arithmetic unit 12 uses the image data subjected to the processes such as the run-level decoding process, the inverse quantization process, and the inverse discrete cosine transform process, and the forward prediction image data and the backward prediction image data from the memory controller 13 to generate the original image. Play the data. And
The memory controller 13 stores the image data reproduced by the decoding arithmetic unit 12 in a predetermined memory area of the image memory 17.
【0019】一方、入力ポート20、21は、外部のディス
プレイからの垂直同期信号VSYNC および水平同期信号HS
YNC が入力される端子であり、ビデオコントローラ15に
接続されている。ビデオコントローラ15は、入力ポート
20、21からの垂直同期信号および水平同期信号に基づい
て割込み信号INT を1フレーム毎にフレームの先頭で発
生し、これをシーケンサ16へ制御線23を通して送出する
ものである。なお、シーケンサ16は、この割込み信号を
受け付けた場合には、割込み受付け信号をビデオコント
ローラ15へ制御線24を通して送出する。On the other hand, the input ports 20 and 21 are connected to a vertical synchronization signal VSYNC and a horizontal synchronization signal HS from an external display.
This is a terminal to which YNC is input, and is connected to the video controller 15. Video controller 15 is an input port
An interrupt signal INT is generated at the head of each frame on the basis of the vertical synchronization signal and the horizontal synchronization signal from 20, 20 and transmitted to the sequencer 16 through the control line 23. When receiving the interrupt signal, the sequencer 16 sends an interrupt reception signal to the video controller 15 through the control line 24.
【0020】また、ビデオコントローラ15は、復号され
た画像データの出力を要求するデータイネーブル信号EN
V をメモリコントローラ13へ制御線25を通して送出し、
FIFO14に書き込まれた画像データをディスプレイの垂直
同期信号および水平同期信号のタイミングに合わせて読
み出し、これを出力側に接続される出力ポート22からデ
ィスプレイへ出力するものである。なお、メモリコント
ローラ13は、ビデオコントローラ15からのデータイネー
ブル信号を受信したとき、ある程度まとまった単位の表
示用の画像データ(例えば、1ライン分の画像データ)
を画像メモリ17から読み出し、これを出力側に接続され
るFIFO14に書き込む。The video controller 15 has a data enable signal EN for requesting output of decoded image data.
V to the memory controller 13 via the control line 25,
The image data written in the FIFO 14 is read out in accordance with the timing of the vertical synchronization signal and the horizontal synchronization signal of the display, and is output from the output port 22 connected to the output side to the display. When the memory controller 13 receives the data enable signal from the video controller 15, the memory controller 13 displays image data for display in a certain unit (for example, image data for one line).
Is read from the image memory 17 and written into the FIFO 14 connected to the output side.
【0021】図1に示す復号装置は、このような構成を
とることにより、入力ポート19から入力されるMPEG規格
の圧縮画像データを可変長復号器11および復号演算器12
により復号して元の画像データを再生し、これを表示画
像データとして出力ポート22から出力するものである。The decoding apparatus shown in FIG. 1 adopts such a configuration, so that the compressed image data of the MPEG standard input from the input port 19 can be decoded by the variable length decoder 11 and the decoding arithmetic unit 12.
And reproduces the original image data, and outputs this from the output port 22 as display image data.
【0022】次に、この復号装置における復号方法を図
2および図3を用いて詳細に説明する。ここで、図2
は、復号方法、特に画像メモリ17のメモリエリア171 〜
174 の切り換えのアルゴリズムを示すフローチャートで
あって、ステップ処理S27 を除く各ステップにおける処
理は図1に示すシーケンサ16により実行される。図3
は、このアルゴリズムによる画像表示のシーケンスを示
すタイムチャートであって、図1に示す入力ポート19か
ら圧縮画像データがピクチャタイプI0、P1、B2、B3、P
4、B5、P6、P7、P8…の順に入力され、出力ポート22か
ら表示画像データがI0、B2、B3、P1、B5、P4、P6…の順
に出力される場合において、復号画像データ、前方予測
画像データ、後方予測画像データ、表示画像データが画
像メモリ17中のどのメモリエリアに格納されるかを表わ
すものである。Next, a decoding method in the decoding apparatus will be described in detail with reference to FIGS. Here, FIG.
The decoding method, in particular, the memory area 171-1 of the image memory 17
174 is a flowchart showing a switching algorithm, and processing in each step excluding step processing S27 is executed by the sequencer 16 shown in FIG. FIG.
Is a time chart showing a sequence of image display by this algorithm, in which compressed image data is transmitted from the input port 19 shown in FIG. 1 to the picture types I0, P1, B2, B3, P
4, B5, P6, P7, P8,..., And when the display image data is output from the output port 22 in the order of I0, B2, B3, P1, B5, P4, P6,. It indicates in which memory area in the image memory 17 the predicted image data, the backward predicted image data, and the display image data are stored.
【0023】図3について更に説明すると、RR、FP、B
P、DPは、図1に示す画像メモリ17のメモリエリア171
〜174 を示すポインタ値を格納するレジスタであって、
ポインタ値"1" 、"2" 、"3" 、"4" は、ぞれぞれメモリ
エリア171 、172 、173 、174を示す。そして、レジス
タRPには、復号される復号画像データを格納するメモリ
エリアを示すポインタ値を格納し、レジスタFPには、前
方予測画像データとなる画像データが格納されているメ
モリエリアを示すポインタ値を格納し、レジスタBPに
は、後方予測画像データとなる画像データが格納されて
いるメモリエリアを示すポインタ値を格納し、レジスタ
DPには、表示画像データとなる画像データが格納されて
いるメモリエリアを示すポインタ値を格納する。Referring further to FIG. 3, RR, FP, B
P and DP are memory areas 171 of the image memory 17 shown in FIG.
A register for storing pointer values indicating
The pointer values "1", "2", "3", and "4" indicate the memory areas 171, 172, 173, and 174, respectively. In the register RP, a pointer value indicating a memory area for storing decoded image data to be decoded is stored. In the register FP, a pointer value indicating a memory area in which image data serving as forward prediction image data is stored. Is stored in a register BP, and a pointer value indicating a memory area in which image data serving as backward prediction image data is stored.
The DP stores a pointer value indicating a memory area in which image data serving as display image data is stored.
【0024】また、図3において、各マスの右下のかぎ
括弧内に記載されている数字は、対応するレジスタに格
納されるポインタ値を示し、各マスに記載されている記
号I0、P1等は、右下のかぎ括弧内に記載されているポイ
ンタ値が示すメモリエリアに格納される画像データの画
像を示し、各マスの左上に記載されている記号(SXX)
は、図2のフローチャートにおけるステップ番号を示し
ている。なお、レジスタRP、FP、BP、DPは、図1のメモ
リコントローラ13に含まれる。In FIG. 3, the numbers described in angle brackets at the lower right of each cell indicate the pointer values stored in the corresponding registers, and the symbols I0, P1, etc., described in each cell. Indicates the image of the image data stored in the memory area indicated by the pointer value described in the lower right angle bracket, and the symbol (SXX) described in the upper left of each cell
Indicates a step number in the flowchart of FIG. Note that the registers RP, FP, BP, and DP are included in the memory controller 13 in FIG.
【0025】本実施例では、図2に示すように、先ず、
復号画像データを格納するメモリエリア、前方予測画像
データ、後方予測画像データ、表示画像データとなる画
像データがそれぞれ格納されているメモリエリアを示す
ポインタ値を所定のレジスタRP〜DPに格納し(ステップ
S11 〜S26 )、次いで、ピクチャレイア以下の復号処理
(ステップS27 )を実行することにより、1フレームの
圧縮画像データを復号するものである。In this embodiment, first, as shown in FIG.
A pointer value indicating a memory area for storing decoded image data, a memory area for storing image data serving as forward prediction image data, backward prediction image data, and image data serving as display image data is stored in predetermined registers RP to DP (step
S11 to S26), and then perform decoding processing for the picture layer and below (step S27) to decode one frame of compressed image data.
【0026】先ず、1番目の画像I0に対応する圧縮画像
データを復号するとき、まだ、レジスタFP、レジスタBP
には意味のある値が設定されていないので、図2のフロ
ーチャートのステップS11 〜S25 では、初期値が示す値
で各処理を実行しステップS26 に進む。このとき、レジ
スタDPにも意味のある値が設定されていないので、復号
装置からは表示画像として初期値の画像データが出力さ
れる。なお、この場合のステップS11 〜S25 における各
処理は、次の画像データP1の復号に直接影響しないので
その説明を省略する。First, when decoding the compressed image data corresponding to the first image I0, the register FP and the register BP
Since a meaningful value is not set in, in steps S11 to S25 in the flowchart of FIG. 2, each process is executed with the value indicated by the initial value, and the process proceeds to step S26. At this time, since a meaningful value is not set in the register DP, image data of an initial value is output as a display image from the decoding device. In this case, since the processes in steps S11 to S25 do not directly affect the decoding of the next image data P1, the description thereof is omitted.
【0027】ステップS26 では、復号画像データを格納
するメモリエリアを決める。このとき、メモリエリア17
1 〜174 が使用可能であるので、番号の若いメモリエリ
ア171 を復号画像データを格納するメモリエリアに決
め、そのポインタ値"1" をレジスタRPに格納する。次い
で、ステップS27 において、ピクチャーレイア以下の復
号処理を行い、復号したI0の画像データをレジスタRPの
ポインタ値"1" が示すメモリエリア171 に格納する。な
お、I0の画像データはIタイプであるので、他の画像と
関係なく独立して復号される。In step S26, a memory area for storing the decoded image data is determined. At this time, memory area 17
Since 1 to 174 can be used, the memory area 171 having the smaller number is determined as the memory area for storing the decoded image data, and the pointer value "1" is stored in the register RP. Next, in step S27, decoding processing for the picture layer and below is performed, and the decoded image data of I0 is stored in the memory area 171 indicated by the pointer value "1" of the register RP. Since the image data of I0 is of the I type, it is decoded independently of other images.
【0028】次に、2番目の画像P1に対応する圧縮画像
データを復号するとき、ステップS11 〜S13 では、先述
のI0に対応する圧縮画像データの場合と同様に初期値が
示す値で処理を実行する。次のステップS14 では、1フ
レーム前に復号した画像のピクチャタイプを調べ、その
ピクチャタイプはIタイプであるのでステップS15 に移
る。ステップS15 では、レジスタFPのポインタ値をレジ
スタDPにコピーする。しかし、レジスタFPにはまだ意味
のある値が設定されていないので、レジスタDPの値も初
期値のままとなる。Next, when the compressed image data corresponding to the second image P1 is decoded, in steps S11 to S13, the processing is performed using the value indicated by the initial value in the same manner as in the case of the compressed image data corresponding to I0 described above. Run. In the next step S14, the picture type of the image decoded one frame before is checked. Since the picture type is the I type, the flow proceeds to step S15. In step S15, the pointer value of the register FP is copied to the register DP. However, since a meaningful value has not yet been set in the register FP, the value of the register DP also remains at the initial value.
【0029】次のステップS16 では、ピクチャレイアの
ヘッダ情報を解読し、ステップS17で、今回復号する画
像のピクチャタイプを調べる。そして、このピクチャタ
イプはPタイプであるのでステップS18 に移る。ステッ
プS18 では、レジスタFPのポインタ値をレジスタBPにコ
ピーする。しかし、レジスタFPにはまだ意味のある値が
設定されていないので、レジスタBPの値も初期値のまま
となる。次のステップS19 では、レジスタRPのポインタ
値"1" をレジスタFPにコピーする。これにより、メモリ
エリア171 に格納されている前回復号したI0の画像デー
タが、今回前方予測画像データ(前方の参照画像デー
タ)として使用されることになる。In the next step S16, the header information of the picture layer is decoded, and in step S17, the picture type of the image to be decoded this time is checked. Then, since the picture type is the P type, the flow proceeds to step S18. In step S18, the pointer value of the register FP is copied to the register BP. However, since a meaningful value has not yet been set in the register FP, the value of the register BP also remains at the initial value. In the next step S19, the pointer value "1" of the register RP is copied to the register FP. As a result, the previously decoded image data of I0 stored in the memory area 171 is used as the current forward predicted image data (forward reference image data).
【0030】次のステップS26 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア172 〜174 が使用可能であるので、番号の若いメモリ
エリア172 を復号画像データを格納するメモリエリアに
決め、そのポインタ値"2" をレジスタRPに格納する。次
いで、ステップS27 において、ピクチャレイア以下の復
号処理を行ない、前方の参照画像としてレジスタFPのポ
インタ値"1" が示すメモリエリア171 のI0の画像データ
を用いてP1の画像データを再生し、これをレジスタRPの
ポインタ値"2" が示すメモリエリア172 に格納する。In the next step S26, a memory area for storing the decoded image data is determined. At this time, since the memory areas 172 to 174 can be used, the memory area 172 having the smaller number is determined as the memory area for storing the decoded image data, and the pointer value “2” is stored in the register RP. Next, in step S27, decoding processing for the picture layer and below is performed, and the image data of P1 is reproduced using the image data of I0 in the memory area 171 indicated by the pointer value "1" of the register FP as a forward reference image. Is stored in the memory area 172 indicated by the pointer value “2” of the register RP.
【0031】次に、3番目の画像B2に対応する圧縮画像
データを復号するとき、ステップS11 〜S13 では、レジ
スタDPにはまだ意味のある値が設定されていないので初
期値が示す値で処理を実行する。次のステップS14 で
は、1フレーム前に復号した画像のピクチャタイプを調
べ、そのピクチャタイプはPタイプであるのでステップ
S15 に移る。ステップS15 では、レジスタFPにポインタ
値"1" が格納されているので、そのポインタ値をレジス
タDPにコピーする。これにより、メモリエリア171 に格
納されている画像データI0が表示画像として出力され
る。Next, when decoding the compressed image data corresponding to the third image B2, in steps S11 to S13, since a meaningful value has not yet been set in the register DP, processing is performed using the value indicated by the initial value. Execute In the next step S14, the picture type of the image decoded one frame before is checked, and the picture type is
Move to S15. In step S15, since the pointer value "1" is stored in the register FP, the pointer value is copied to the register DP. As a result, the image data I0 stored in the memory area 171 is output as a display image.
【0032】次のステップS16 では、ピクチャレイアの
ヘッダ情報を解読し、ステップS17で、今回復号する画
像のピクチャタイプを調べる。このピクチャタイプはB
タイプであるのでステップS20 に移り、ステップS20 で
は、レジスタRPのポインタ値"2" をレジスタBPにコピー
する。これにより、メモリエリア172 に格納されている
前回復号したP1の画像データが、今回後方予測画像デー
タ(後方の参照画像データ)として使用されることにな
る。In the next step S16, the header information of the picture layer is decoded, and in step S17, the picture type of the image to be decoded this time is checked. This picture type is B
Since the type is the type, the process proceeds to step S20, where the pointer value "2" of the register RP is copied to the register BP. As a result, the previously decoded P1 image data stored in the memory area 172 is used as the backward prediction image data (backward reference image data) this time.
【0033】次のステップS26 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア173 〜174 が使用可能であるので、番号の若いメモリ
エリア173 を復号画像データを格納するメモリエリアと
し、そのポインタ値"3" をレジスタRPに格納する。次い
で、ステップS27 において、ピクチャレイア以下の復号
処理を行ない、前方の参照画像としてレジスタFPのポイ
ンタ値"1" が示すメモリエリア171 のI0の画像データ
を、後方の参照画像としてレジスタBPのポインタ値"2"
が示すメモリエリア172 のP1の画像データを用いてB2の
画像データを再生し、これをレジスタRPのポインタ値"
3" が示すメモリエリア173 に格納する。In the next step S26, a memory area for storing the decoded image data is determined. At this time, since the memory areas 173 to 174 can be used, the memory area 173 having the smaller number is used as the memory area for storing the decoded image data, and the pointer value “3” is stored in the register RP. Next, in step S27, decoding processing for the picture layer and below is performed, and the image data of I0 in the memory area 171 indicated by the pointer value "1" of the register FP as the forward reference image, and the pointer value of the register BP as the backward reference image. "2"
B2 image data is reproduced using the P1 image data in the memory area 172 indicated by
3 "is stored in the memory area 173.
【0034】次に、4番目の画像B3に対応する圧縮画像
データを復号するとき、先ず、ステップS11 においてレ
ジスタDPのポインタ値"1" が示すメモリエリア171 の画
像のピクチャタイプを調べる。今回、そのピクチャタイ
プはIタイプであるのでステップS12 に移り、レジスタ
DPとレジスタBPのポインタ値が同じであるか否かを調べ
る。このとき、レジスタDPのポインタ値は"1" であり、
レジスタBPのポインタ値は"2" であるのでステップS14
に移る。ステップS14 では、1フレーム前に復号した画
像のピクチャタイプを調べ、そのピクチャタイプがBタ
イプであるのでステップS21 に移る。ステップS21 で
は、レジスタRPのポインタ値"3" をレジスタDPにコピー
する。これにより、メモリエリア173 に格納されている
B2の画像データが表示画像として出力される。Next, when decoding the compressed image data corresponding to the fourth image B3, first, in step S11, the picture type of the image in the memory area 171 indicated by the pointer value "1" of the register DP is checked. This time, since the picture type is the I type, the process proceeds to step S12 and the register
It is checked whether the pointer values of DP and register BP are the same. At this time, the pointer value of the register DP is "1",
Since the pointer value of the register BP is "2", step S14 is executed.
Move on to In step S14, the picture type of the image decoded one frame before is checked, and since the picture type is the B type, the flow proceeds to step S21. In step S21, the pointer value "3" of the register RP is copied to the register DP. As a result, it is stored in the memory area 173.
The image data of B2 is output as a display image.
【0035】次のステップS22 においては、ピクチャレ
イアのヘッダ情報を解読し、ステップS23 で、今回復号
する画像のピクチャタイプを調べる。そのピクチャタイ
プはBタイプであるのでステップS26 に移る。なお、今
回復号する画像データと1フレーム前に復号した画像デ
ータとは共にBタイプであるので、今回復号に使用する
前方、後方の参照画像データは前回と同じであり、レジ
スタFP、BPのポインタ値についての変更はない。In the next step S22, the header information of the picture layer is decoded, and in step S23, the picture type of the image to be decoded this time is checked. Since the picture type is the B type, the flow proceeds to step S26. Since both the image data to be decoded this time and the image data decoded one frame before are of the B type, the forward and backward reference image data used for the current decoding are the same as those of the previous time, and the pointers of the registers FP and BP are used. No change in value.
【0036】ステップS26 では、復号画像データを格納
するメモリエリアを決める。このとき、メモリエリア17
4 のみが使用可能であるので、そのポインタ値"4" をレ
ジスタRPに格納する。次いで、ステップS27 において、
ピクチャレイア以下の復号処理を行ない、前方の参照画
像としてレジスタFPのポインタ値"1" が示すメモリエリ
ア171 のI0の画像データを、後方の参照画像としてレジ
スタBPのポインタ値"2" が示すメモリエリア172 のP1の
画像データを用いてB3の画像データを再生し、これをレ
ジスタRPのポインタ値"4" が示すメモリエリア174 に格
納する。In step S26, a memory area for storing the decoded image data is determined. At this time, memory area 17
Since only 4 is available, the pointer value "4" is stored in the register RP. Next, in step S27,
The decoding process is performed for the picture layer and below, the image data of I0 in the memory area 171 indicated by the pointer value "1" of the register FP as the forward reference image, and the memory indicated by the pointer value "2" of the register BP as the backward reference image. The image data of B3 is reproduced using the image data of P1 in the area 172, and this is stored in the memory area 174 indicated by the pointer value "4" of the register RP.
【0037】次に、5番目の画像P4に対応する圧縮画像
データを復号するとき、先ず、ステップS11 においてレ
ジスタDPのポインタ値"3" が示すメモリエリア173 の画
像のピクチャタイプを調べる。そのピクチャタイプはB
タイプであるのでステップS13 に移る。ステップS13 で
は、レジスタDPのポインタ値"3" が示すメモリエリア17
3 に格納されているB2の画像データは以後使用されない
ので、メモリエリア173 の更新を許す処理を行なう。こ
れにより、メモリエリア173 は使用可能になる。次のス
テップ14では、1フレーム前に復号した画像のピクチャ
タイプを調べる。そのピクチャタイプはBタイプである
のでステップS21 に移り、レジスタRPのポインタ値"4"
をレジスタDPにコピーする。これにより、メモリエリア
174 に格納されているB3の画像データが表示画像として
出力される。Next, when decoding the compressed image data corresponding to the fifth image P4, first, in step S11, the picture type of the image in the memory area 173 indicated by the pointer value "3" of the register DP is checked. The picture type is B
Since it is a type, the process proceeds to step S13. In step S13, the memory area 17 indicated by the pointer value "3" of the register DP
Since the image data of B2 stored in No. 3 is not used thereafter, a process of allowing the memory area 173 to be updated is performed. As a result, the memory area 173 can be used. In the next step 14, the picture type of the image decoded one frame before is checked. Since the picture type is the B type, the process moves to step S21, where the pointer value "4" of the register RP
To the register DP. This allows the memory area
The image data of B3 stored in 174 is output as a display image.
【0038】次のステップS22 においては、ピクチャレ
イアのヘッダ情報を解読し、ステップS23 で、今回復号
する画像のピクチャタイプを調べる。そのピクチャタイ
プはPタイプであるのでステップS24 に移る。ステップ
S24 では、レジスタFPのポインタ値"1" が示すメモリエ
リア171 に格納されているI0の画像データは以後使用さ
れないので、メモリエリア171 の更新を許す処理を行な
う。これにより、メモリエリア171 は使用可能になる。
次のステップS25 では、レジスタBPのポインタ値"2" を
レジスタFPにコピーする。これにより、メモリエリア17
2 に格納されているP1の画像データが、今回前方の参照
画像として使用されることになる。In the next step S22, the header information of the picture layer is decoded, and in step S23, the picture type of the image to be decoded this time is checked. Since the picture type is the P type, the flow shifts to step S24. Steps
In S24, since the image data of I0 stored in the memory area 171 indicated by the pointer value "1" of the register FP is not used thereafter, a process for allowing the memory area 171 to be updated is performed. As a result, the memory area 171 becomes usable.
In the next step S25, the pointer value "2" of the register BP is copied to the register FP. As a result, the memory area 17
The image data of P1 stored in 2 is used as the reference image ahead this time.
【0039】次のステップS26 では、復号画像データを
格納するメモリエリアを決める。このとき、使用可能な
メモリエリアは、先程ステップS13 とS24 とで更新を許
されたメモリエリア173 と171 とであるので、番号の若
いメモリエリア171 を復号画像データを格納するメモリ
エリアとし、そのポインタ値"1" をレジスタRPに格納す
る。次いで、ステップS27 において、ピクチャレイア以
下の復号処理を行ない、前方の参照画像としてレジスタ
FPのポインタ値"2" が示すメモリエリア172 のP1の画像
データを用いてP4の画像データを再生し、これをレジス
タRPが示すポインタ値"1" が示すメモリエリア171 に格
納する。In the next step S26, a memory area for storing the decoded image data is determined. At this time, the available memory areas are the memory areas 173 and 171 that have been allowed to be updated in steps S13 and S24, so that the memory area 171 with the smaller number is used as the memory area for storing the decoded image data. The pointer value "1" is stored in the register RP. Next, in step S27, decoding processing for the picture layer and below is performed, and the
The image data of P4 is reproduced using the image data of P1 in the memory area 172 indicated by the pointer value "2" of the FP, and this is stored in the memory area 171 indicated by the pointer value "1" indicated by the register RP.
【0040】次に、6番目の画像B5に対応する圧縮画像
データを復号するとき、先ず、ステップS11 においてレ
ジスタDPのポインタ値"4" が示すメモリエリア174 の画
像のピクチャタイプを調べる。このピクチャタイプはB
タイプであるのでステップS13 に移り、ステップS13 で
は、レジスタDPのポインタ値"4" が示すメモリエリア17
4 の更新を許す処理を行なう。次のステップS14 では、
1フレーム前に復号した画像のピクチャタイプを調べ
る。そのピクチャタイプはPタイプであるのでステップ
S15 に移り、ステップS15 では、レジスタFPのポインタ
値"2" をレジスタDPにコピーする。これにより、メモリ
エリア172 に格納されているP1の画像データが表示画像
として出力される。Next, when decoding the compressed image data corresponding to the sixth image B5, first, in step S11, the picture type of the image in the memory area 174 indicated by the pointer value "4" of the register DP is checked. This picture type is B
Since the type is the type, the process proceeds to step S13. In step S13, the memory area 17 indicated by the pointer value "4" of the register DP
Perform processing to allow the update of 4. In the next step S14,
The picture type of the image decoded one frame before is checked. Since the picture type is P type, step
The process moves to S15, and in step S15, the pointer value "2" of the register FP is copied to the register DP. As a result, the image data of P1 stored in the memory area 172 is output as a display image.
【0041】次のステップS16 においては、ピクチャレ
イアのヘッダ情報を解読し、ステップS17 で、今回復号
する画像のピクチャタイプを調べる。このピクチャタイ
プはBタイプであるのでステップS20 に移り、ステップ
S20 では、レジスタRPのポインタ値"1" をレジスタBPに
コピーする。これにより、メモリエリア171 に格納され
ているP4の画像データが、今回後方の参照画像として使
用されることになる。In the next step S16, the header information of the picture layer is decoded, and in step S17, the picture type of the image to be decoded this time is checked. Since the picture type is the B type, the process proceeds to step S20,
In S20, the pointer value "1" of the register RP is copied to the register BP. As a result, the P4 image data stored in the memory area 171 is used as the reference image at the rear of the current time.
【0042】次のステップS26 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア173 と174 が使用可能であるので、番号の若いメモリ
エリア173 を復号画像データを格納するメモリエリアと
し、そのポインタ値"3" をレジスタRPに格納する。次い
で、ステップS27 において、ピクチャレイア以下の復号
処理を行ない、前方の参照画像としてレジスタFPのポイ
ンタ値"2" が示すメモリエリア172 の画像データP1を、
後方の参照画像としてレジスタBPのポインタ値"1" が示
すメモリエリア171 の画像データP4を用いてB5の画像デ
ータを再生し、これをレジスタRPのポインタ値"3" が示
すメモリエリア173 に格納する。In the next step S26, a memory area for storing the decoded image data is determined. At this time, since the memory areas 173 and 174 can be used, the memory area 173 having the smaller number is used as the memory area for storing the decoded image data, and the pointer value “3” is stored in the register RP. Next, in step S27, decoding processing for the picture layer and below is performed, and the image data P1 in the memory area 172 indicated by the pointer value "2" of the register FP is referred to as a forward reference image.
The image data of B5 is reproduced using the image data P4 of the memory area 171 indicated by the pointer value "1" of the register BP as the rear reference image, and stored in the memory area 173 indicated by the pointer value "3" of the register RP. I do.
【0043】次に、7番目の画像P6に対応する圧縮画像
データを復号するとき、先ず、ステップS11 においてレ
ジスタDPのポインタ値"2" が示すメモリエリア172 の画
像のピクチャタイプを調べる。そのピクチャタイプはP
タイプであるのでステップS12 に移り、ステップS12 で
は、レジスタDPとBPのポインタ値が同じであるか否かを
調べる。このとき、レジスタBPのポインタ値は"1" であ
り、レジスタDPのポインタ値は"2" であるのでステップ
S14 に移る。ステップS14 では、1フレーム前に復号し
た画像のピクチャタイプを調べる。そのピクチャタイプ
はBタイプであるのでステップS21 に移り、ステップS2
1 では、レジスタRPのポインタ値"3" をレジスタDPにコ
ピーする。これにより、メモリエリア173 に格納されて
いるB5の画像データが表示画像として出力される。Next, when decoding the compressed image data corresponding to the seventh image P6, first, in step S11, the picture type of the image in the memory area 172 indicated by the pointer value "2" of the register DP is checked. Its picture type is P
Since it is the type, the process moves to step S12, and in step S12, it is checked whether or not the pointer values of the registers DP and BP are the same. At this time, the pointer value of the register BP is "1" and the pointer value of the register DP is "2".
Move to S14. In step S14, the picture type of the image decoded one frame before is checked. Since the picture type is the B type, the process proceeds to step S21 and proceeds to step S2.
In step 1, the pointer value "3" of the register RP is copied to the register DP. Thus, the image data of B5 stored in the memory area 173 is output as a display image.
【0044】次のステップS22 では、ピクチャレイアの
ヘッダ情報を解読し、ステップS23で、今回復号する画
像のピクチャタイプを調べる。そのピクチャタイプはP
タイプであるのでステップS24 に移り、ステップS24 で
は、レジスタFPのポインタ値"2" で示されるメモリエリ
ア172 の更新を許す処理を行ない、次のステップS25で
は、レジスタBPのポインタ値"1" をレジスタFPにコピー
する。これにより、メモリエリア171 に格納されている
P4の画像データが、今回前方の参照画像として使用され
ることになる。In the next step S22, the header information of the picture layer is decoded, and in step S23, the picture type of the image to be decoded this time is checked. Its picture type is P
Since the type is the type, the process proceeds to step S24. In step S24, a process of allowing the updating of the memory area 172 indicated by the pointer value "2" of the register FP is performed. In the next step S25, the pointer value "1" of the register BP is changed to "1". Copy to register FP. Thus, the data stored in the memory area 171 is stored.
The P4 image data will be used as the forward reference image this time.
【0045】次のステップS26 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア174 と、ステップS24 で更新を許されたメモリエリア
172とが使用可能であるので、番号の若いメモリエリア1
72 を復号画像データを格納するメモリエリアとし、そ
のポインタ値"2" をレジスタRPに格納しする。次のステ
ップS27 では、ピクチャレイア以下の復号処理を行な
い、前方の参照画像としてレジスタFPのポインタ値"1"
が示すメモリエリア171 のP4の画像データを用いてP6の
画像データを再生し、これをレジスタRPのポインタ値"
2" が示すメモリエリア172 に格納する。In the next step S26, a memory area for storing the decoded image data is determined. At this time, the memory area 174 and the memory area permitted to be updated in step S24
Since 172 can be used, memory area 1 with a lower number
72 is a memory area for storing decoded image data, and the pointer value “2” is stored in the register RP. In the next step S27, decoding processing for the picture layer and below is performed, and the pointer value "1" of the register FP is set as the forward reference image.
The image data of P6 is reproduced using the image data of P4 in the memory area 171 indicated by.
2 "is stored in the memory area 172.
【0046】次に、8番目の画像P7に対応する圧縮画像
データを復号するとき、先ず、ステップS11 においてレ
ジスタDPのポインタ値"3" が示すメモリエリア173 の画
像のピクチャタイプを調べる。このピクチャタイプはB
タイプであるのでステップS13 に移り、ステップS13 で
は、レジスタDPのポインタ値"3" が示すメモリエリア17
3 の更新を許す処理を行なう。次のステップS14 では、
1フレーム前に復号した画像のピクチャタイプを調べ
る。このピクチャタイプはPタイプであるのでステップ
S15 に移り、ステップS15 では、レジスタFPのポインタ
値"1" をレジスタDPにコピーする。これにより、メモリ
エリア171 に格納されているP4の画像データが表示画像
として出力される。Next, when decoding the compressed image data corresponding to the eighth image P7, first, in step S11, the picture type of the image in the memory area 173 indicated by the pointer value "3" of the register DP is checked. This picture type is B
Since the type is the type, the process proceeds to step S13. In step S13, the memory area 17 indicated by the pointer value "3" of the register DP
Perform the process that allows the update of 3. In the next step S14,
The picture type of the image decoded one frame before is checked. Since this picture type is P type,
In S15, the pointer value "1" of the register FP is copied to the register DP in Step S15. As a result, the P4 image data stored in the memory area 171 is output as a display image.
【0047】次のステップS16 では、ピクチャレイアの
ヘッダ情報を解読し、ステップS17で、今回復号する画
像のピクチャタイプを調べる。このピクチャタイプはP
タイプであるのでステップS18 に移り、ステップS18 で
は、レジスタFPのポインタ値"1" をレジスタBPにコピー
し、ステップS19 では、レジスタRPのポインタ値"2"を
レジスタFPにコピーする。これにより、メモリエリア17
2 に格納されているP6の画像データが今回前方の参照画
像として使用されることになる。In the next step S16, the header information of the picture layer is decoded, and in step S17, the picture type of the image to be decoded this time is checked. This picture type is P
Since the type is the type, the process proceeds to step S18. In step S18, the pointer value "1" of the register FP is copied to the register BP. In step S19, the pointer value "2" of the register RP is copied to the register FP. As a result, the memory area 17
The image data of P6 stored in 2 is used as the reference image ahead this time.
【0048】次のステップS26 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア173 、174 が使用可能であるので、番号の若いメモリ
エリア173 を復号画像データを格納するメモリエリアと
し、そのポインタ値"3" をレジスタRPに格納する。次の
ステップS27 では、ピクチャレイア以下の復号処理を行
ない、前方の参照画像としてレジスタFPのポインタ値"
2" が示すメモリエリア172 のP6の画像データを用いてP
7の画像データを再生し、これをレジスタRPのポインタ
値"3が示すメモリエリア173 に格納する。In the next step S26, a memory area for storing the decoded image data is determined. At this time, since the memory areas 173 and 174 can be used, the memory area 173 having the smaller number is used as the memory area for storing the decoded image data, and the pointer value “3” is stored in the register RP. In the next step S27, decoding processing for the picture layer and below is performed, and the pointer value of the register FP is set as the forward reference image.
2 ", using the image data of P6 in the memory area 172,
The image data of 7 is reproduced and stored in the memory area 173 indicated by the pointer value "3" of the register RP.
【0049】次に、9番目の画像P8に対応する圧縮画像
データを復号するとき、先ず、ステップS11 においてレ
ジスタDPのポインタ値"1" が示すメモリエリア171 の画
像のピクチャタイプを調べる。このピクチャタイプはP
タイプであるのでステップS12 に移り、ステップS12 で
は、レジスタDPとレジスタBPのポインタ値が同じである
かどうかを調べる。そのポインタ値は共に"1" であるの
で、ステップS13 に移る。ステップS13 では、レジスタ
DPのポインタ値"1" が示すメモリエリア171 の更新を許
す処理を行なう。Next, when decoding the compressed image data corresponding to the ninth image P8, first, in step S11, the picture type of the image in the memory area 171 indicated by the pointer value "1" of the register DP is checked. This picture type is P
Since it is the type, the process proceeds to step S12, and in step S12, it is checked whether or not the pointer values of the register DP and the register BP are the same. Since the pointer values are both "1", the process proceeds to step S13. In step S13, the register
A process is performed to allow updating of the memory area 171 indicated by the DP pointer value "1".
【0050】次のステップS14 では、1フレーム前に復
号した画像のピクチャタイプを調べる。そのピクチャタ
イプはPタイプであるのでステップS15 に移り、ステッ
プS15 では、レジスタFPのポインタ値"2" をレジスタDP
にコピーする。これにより、メモリエリア172 に格納さ
れているP6の画像データが表示画像として出力される。
次に、ステップS16 において、ピクチャレイアのヘッダ
情報を解読し、ステップS17 で、今回復号する画像のピ
クチャタイプを調べる。このピクチャタイプはPタイプ
であるのでステップS18 に移り、ステップS18 では、レ
ジスタFPのポインタ値"2" をレジスタBPにコピーし、ス
テップS19 では、レジスタRPのポインタ値"3" をレジス
タFPにコピーする。これにより、メモリエリア173 に格
納されているP6の画像データが、今回前方の参照画像と
して使用されることになる。In the next step S14, the picture type of the picture decoded one frame before is checked. Since the picture type is the P type, the process proceeds to step S15, where the pointer value "2" of the register FP is stored in the register DP.
Copy to Thus, the image data of P6 stored in the memory area 172 is output as a display image.
Next, in step S16, the header information of the picture layer is decoded, and in step S17, the picture type of the image to be decoded this time is checked. Since the picture type is the P type, the process moves to step S18, where the pointer value "2" of the register FP is copied to the register BP in step S18, and the pointer value "3" of the register RP is copied to the register FP in step S19. I do. As a result, the image data of P6 stored in the memory area 173 is used as a reference image ahead this time.
【0051】次のステップS26 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア171 、174 が使用可能であるので、番号の若いメモリ
エリア171 を復号画像データを格納するメモリエリアと
し、そのポインタ値"1" をレジスタRPに格納する。次い
で、ステップS27 において、ピクチャレイア以下の復号
処理を行ない、前方の参照画像としてレジスタFPのポイ
ンタ値"3" が示すメモリエリア173 のP7の画像データを
用いてP8の画像データを再生し、これをレジスタRPのポ
インタ値"1" が示すメモリエリア171 に格納する。In the next step S26, a memory area for storing the decoded image data is determined. At this time, since the memory areas 171 and 174 can be used, the memory area 171 having the smaller number is used as the memory area for storing the decoded image data, and the pointer value “1” is stored in the register RP. Next, in step S27, decoding processing for the picture layer and below is performed, and the P8 image data is reproduced using the P7 image data in the memory area 173 indicated by the pointer value "3" of the register FP as a forward reference image. Is stored in the memory area 171 indicated by the pointer value “1” of the register RP.
【0052】以下同様にして、復号する画像のピクチャ
タイプおよび表示画像の出力順に応じて、レジスタRP〜
DPのポインタ値を変えながら、復号画像データを格納す
るメモリエリア、前方の参照画像、後方の参照画像、表
示画像として使用される画像データが格納されているメ
モリエリアを指定し、復号処理を実行するものである。Similarly, the registers RP to RP are set in accordance with the picture type of the image to be decoded and the output order of the display image.
While changing the DP pointer value, specify the memory area for storing the decoded image data, the front reference image, the rear reference image, and the memory area for storing the image data used as the display image, and execute the decoding process. Is what you do.
【0053】次に、図2に示したフローチャートによる
復号化処理とディスプレイの表示との同期方法について
説明する。Next, a method of synchronizing the decoding processing with the display on the display according to the flowchart shown in FIG. 2 will be described.
【0054】図1に示す復号装置のビデオコントローラ
15は、先述したように、外部のディスプレイからの垂直
同期信号および水平同期信号を用いてそのフレームの先
頭を検出し、フレームの先頭で発生する割込り信号INT
を生成してこれをシーケンサ16に出力する。シーケンサ
16は、この割込み信号を受け付けることにより復号化処
理を開始する。復号化処理は、図1に示すFIFO10から圧
縮画像データを読み出して可変長復号器11に入力すると
ころからスタートし、MPEGの各レイアの復号処理を行
い、ピクチャレイアの復号処理を図2に示すフローに従
って行うことで終了する。Video controller of decoding apparatus shown in FIG.
15 detects the beginning of the frame using the vertical synchronization signal and the horizontal synchronization signal from the external display as described above, and generates an interrupt signal INT generated at the beginning of the frame.
Is generated and output to the sequencer 16. Sequencer
16 starts the decoding process by receiving this interrupt signal. The decoding process starts from reading out the compressed image data from the FIFO 10 shown in FIG. 1 and inputting it to the variable length decoder 11, performs the decoding process for each MPEG layer, and the decoding process for the picture layer is shown in FIG. It ends by performing according to the flow.
【0055】しかし、シーケンサ16は、図2に示すステ
ップS11 〜S12 間における処理中は割込み信号による割
込みをマスクし、ステップS27 の処理に入ってから割込
みを受け付ける。シーケンサ16は、ステップS27 の処理
を終了してもビデオコントローラ15から割込み信号が送
られてこない場合には、次の割込み信号がくるのを待っ
てそのフレームの復号化処理を開始する。このように、
シーケンサ16は、ビデオコントローラ15からの割込みを
必ずステップS27 の処理以降に受け付けるので、復号タ
イミングと表示タイミングとの同期をとることができ
る。However, the sequencer 16 masks the interrupt due to the interrupt signal during the processing between steps S11 and S12 shown in FIG. 2, and accepts the interrupt after entering the processing of step S27. If an interrupt signal has not been sent from the video controller 15 even after completing the processing in step S27, the sequencer 16 waits for the next interrupt signal to start decoding the frame. in this way,
Since the sequencer 16 always receives the interrupt from the video controller 15 after the processing in step S27, the decoding timing and the display timing can be synchronized.
【0056】なお、シーケンサ16は、割込みを受け付け
ると受け付けたことを知らせる割込み受付け信号ACK を
ビデオコントローラ15へ送出し、ビデオコントローラ15
は、出力中の割込り信号を解除する。また、復号化処理
は、ディスプレイの垂直同期信号のブランキング期間内
に行われ、表示画像は、図2に示すステップS27 のピク
チャレイアの復号処理とブランキング期間の終了を待っ
て読み出される。When the sequencer 16 receives the interrupt, the sequencer 16 sends an interrupt acceptance signal ACK notifying the acceptance to the video controller 15 and the video controller 15
Cancels the interrupt signal being output. The decoding process is performed during the blanking period of the vertical synchronizing signal of the display, and the display image is read after the decoding process of the picture layer and the end of the blanking period in step S27 shown in FIG.
【0057】次に、復号化処理が1フレームの時間内に
処理できなかった場合の処理を図4を用いて説明する。Next, the processing in the case where the decoding processing cannot be performed within one frame time will be described with reference to FIG.
【0058】復号装置は、1フレームの画像データの復
号化処理を1フレームの時間内に終了することができる
ように設定されているので、割込みは、復号化処理のタ
イミングと表示のタイミングを合わせる初期状態を除い
て、通常、図2に示すステップS27 までの処理が終了し
てから発生する。しかし、復号化処理が1フレームの時
間内に終了しないという事態が発生すると、割込みがス
テップS27 の処理で発生する。このような場合には、シ
ーケンサ16は、図4に示すフローチャートに従ってその
後の復号化処理を行なう。Since the decoding device is set so that the decoding process of one frame of image data can be completed within the time of one frame, an interruption is made to match the timing of the decoding process with the display timing. Except for the initial state, it usually occurs after the processing up to step S27 shown in FIG. 2 is completed. However, if a situation occurs where the decoding process does not end within the time of one frame, an interrupt is generated in the process of step S27. In such a case, the sequencer 16 performs subsequent decoding processing according to the flowchart shown in FIG.
【0059】先ず、ステップ31において、現在復号処理
を行なっている画像のピクチャタイプを調べ、そのピク
チャタイプがBタイプであるときはステップS32 に移
る。ステップS32 では、Bタイプの画像が欠けても以後
の復号処理に影響がないことを考慮し、そのフレームに
ついての復号処理を強制的に終了する。そして、次のス
テップS33 で、次のフレームの先頭を検出したとき、図
2のフローに従って復号化処理を再開する。ただし、こ
の場合、ステップS32 で復号処理を終了したので表示画
像がないことから、図2に示すステップS20 の処理は行
わない。First, in step 31, the picture type of the image currently being decoded is checked, and if the picture type is the B type, the flow proceeds to step S32. In step S32, the decoding process for the frame is forcibly terminated in consideration that the lack of the B-type image does not affect the subsequent decoding process. Then, when the head of the next frame is detected in the next step S33, the decoding process is restarted according to the flow of FIG. However, in this case, since the decoding process has been completed in step S32 and there is no display image, the process of step S20 shown in FIG. 2 is not performed.
【0060】また、ステップS31 において、現在復号処
理を行なっている画像のピクチャタイプがIまたはPタ
イプであるときはステップS35 に移る。ステップS35 で
は、IまたはPタイプの画像データが以後の復号処理に
おいて参照画像として必要となることを考慮し、そのフ
レームについての復号処理を継続して実行する。ただ
し、そのフレームの復号処理中に、更にもう1度割込み
(1フレームの復号化処理中に2度の割込み)が発生し
た場合は、復号処理を強制的に終了する。そして、次に
Iタイプの画像データを検出するのを待って復号化処理
を再開する。このようにして、復号タイミングと表示タ
イミングとの同期を回復する。If it is determined in step S31 that the picture type of the image currently being decoded is the I or P type, the flow advances to step S35. In step S35, the decoding process for the frame is continuously executed in consideration of the fact that the I or P type image data is required as a reference image in the subsequent decoding process. However, if another interruption (two interruptions during the decoding of one frame) occurs during the decoding of the frame, the decoding is forcibly terminated. Then, the decoding process is restarted after detecting the next type I image data. In this way, the synchronization between the decoding timing and the display timing is restored.
【0061】以上説明したように本実施例によれば、画
像メモリ17に画面4枚分のメモリエリアを設け、表示タ
イミングを復号タイミングよりも完全に1フレーム遅ら
せているので、復号化処理時間が所定の時間を超過する
場合でも、表示画像の乱れや復号化処理の破綻が生じな
い。As described above, according to the present embodiment, a memory area for four screens is provided in the image memory 17 and the display timing is completely delayed by one frame from the decoding timing, so that the decoding processing time is reduced. Even if the predetermined time is exceeded, no disturbance of the displayed image or failure of the decoding process occurs.
【0062】また、本実施例によれば、表示タイミング
に基づく割込み信号により復号化処理の開始し、表示タ
イミングと復号タイミングとの同期をとっているので、
従来行なっていた画像表示位置と復号画像位置の常時監
視が不要となり、それだけシーケンサの処理効率を高め
ることができるため、また、各処理ブロックの性能を必
要以上に持たせる必要がなくなるため、回路の単純化、
小型化を図ることができる。Further, according to the present embodiment, the decoding process is started by the interrupt signal based on the display timing, and the display timing and the decoding timing are synchronized.
It is not necessary to constantly monitor the image display position and the decoded image position, which has been conventionally performed, and the processing efficiency of the sequencer can be increased accordingly. Further, it is not necessary to provide the performance of each processing block more than necessary. simplification,
The size can be reduced.
【0063】また、本実施例によれば、1フレームの時
間内に復号化処理を終了することができない場合には、
あらかじめ定めた例外処理により復号化処理を進めるこ
とができるので、復号する圧縮画像データ中にエラーが
発生し場合でも、従来技術の場合のように復号化処理が
停止したり、表示画像が止まったり乱れたりすることは
ない。このように、割込み信号によりディスプレイのフ
レーム同期を検出し、その時のシーケンサ16の状態に応
じて処理のシーケンスを変えることにより、きめ細かい
エラー処理制御を行うことができる。According to the present embodiment, if the decoding process cannot be completed within one frame time,
Since the decoding process can proceed by a predetermined exception process, even if an error occurs in the compressed image data to be decoded, the decoding process stops or the display image stops as in the related art. It will not be disturbed. As described above, by detecting the frame synchronization of the display by the interrupt signal and changing the processing sequence in accordance with the state of the sequencer 16 at that time, it is possible to perform fine error processing control.
【0064】次に、本発明による復号装置の第2の実施
例について説明する。この復号装置は、ディスプレイの
フレームに同期するパルスをカウントし、そのカウント
値がインクリメントされたとき復号化処理を開始するこ
とにより復号化処理と表示との同期を図り、また、復号
した画像データを完全に1フレーム遅らせて表示画像と
して読み出すことにより、復号処理の遅れによる画像の
乱れの発生を防止するものである。Next, a description will be given of a second embodiment of the decoding apparatus according to the present invention. This decoding device counts pulses synchronized with the frame of the display, and when the count value is incremented, starts the decoding process to synchronize the decoding process with the display. By reading out the display image completely one frame later, it is possible to prevent the image from being disturbed due to the delay of the decoding process.
【0065】図5は、この復号装置の構成を示すブロッ
ク図である。図5において、ビデオコントローラ35は、
入力ポート40、41から入力されるディスプレイの垂直同
期信号VSYNC および水平同期信号HSYNC を用いてそのフ
レームの先頭を検出し、そのフレーム数をカウントする
ものである。また、シーケンサ36は、このカウント値を
制御バス38を介して監視し、復号タイミングと表示タイ
ミングとの同期をとるものであり、レジスタRP、FP、B
P、DPの他にレジスタFPD 、BIPDを含む。本実施例の復
号装置は、これらの点で図1に示す第1の実施例の復号
装置と異なるが、その他の点については同じである。FIG. 5 is a block diagram showing a configuration of the decoding apparatus. In FIG. 5, the video controller 35
The head of the frame is detected by using the vertical synchronization signal VSYNC and the horizontal synchronization signal HSYNC of the display input from the input ports 40 and 41, and the number of frames is counted. The sequencer 36 monitors the count value via the control bus 38, and synchronizes the decoding timing with the display timing. The registers RP, FP, B
Includes registers FPD and BIPD in addition to P and DP. The decoding apparatus of the present embodiment differs from the decoding apparatus of the first embodiment shown in FIG. 1 in these points, but is the same in other points.
【0066】次に、この復号装置における復号方法を図
6および図7を用いて詳細に説明する。ここで、図6
は、復号方法、特に画像メモリ37のメモリエリア371 〜
374 の切り換えのアルゴリズムを示すフローチャートで
あって、ステップS54 を除く各ステップにおける処理は
図5に示すシーケンサ36により実行される。図7は、こ
のアルゴリズムによる画像表示のシーケンスを示すタイ
ムチャートであって、図5の入力ポート39から圧縮画像
データがピクチャタイプI0、P1、B2、B3、P4、B5、P6、
P7、P8…の順に入力され、出力ポート42から表示画像が
I0、B2、B3、P1、B5、P4、P6…の順に出力される場合に
おける、復号画像データ、前方予測画像データ、後方予
測画像データ、および表示画像データが画像メモリ37の
メモリエリア371 〜 374の何処に格納されるかを示すも
のである。Next, a decoding method in the decoding apparatus will be described in detail with reference to FIGS. Here, FIG.
The decoding method, in particular, the memory area 371 of the image memory 37
374 is a flowchart showing the switching algorithm, and the processing in each step except for step S54 is executed by the sequencer 36 shown in FIG. FIG. 7 is a time chart showing a sequence of image display according to this algorithm, in which compressed image data is input from the input port 39 of FIG. 5 to picture types I0, P1, B2, B3, P4, B5, P6,
P7, P8 ... are input in this order, and the display image is output from output port 42.
When output in the order of I0, B2, B3, P1, B5, P4, P6,..., Decoded image data, forward predicted image data, backward predicted image data, and display image data are stored in the memory areas 371 to 374 of the image memory 37. Where is stored.
【0067】なお、図7における各記号の意味は、図3
に示すタイムチャートの場合と同じである。ただし、レ
ジスタFPD 、BIPDは、画像メモリ37のメモリエリア371
〜374 を示すポインタ値を格納するレジスタであって、
レジスタFPD には1フレーム前にレジスタFPに格納され
ていたポインタ値と同じポインタ値が格納され、レジス
タBIPDにはBピクチャが格納されていたメモリエリアを
示すポインタ値が格納される。The meaning of each symbol in FIG. 7 is as shown in FIG.
This is the same as the time chart shown in FIG. However, the registers FPD and BIPD are stored in the memory area 371 of the image memory 37.
A register for storing a pointer value indicating ~ 374
The register FPD stores the same pointer value as the pointer value stored in the register FP one frame before, and the register BIPD stores the pointer value indicating the memory area in which the B picture was stored.
【0068】先ず、1番目の画像I0に対応する圧縮画像
データを復号するとき、レジスタFP、BPには意味のある
値が設定されていないので、図6のフローチャートにお
けるステップS41 〜S52 では、初期値が示す値で各処理
を実行し、ステップS53 に進む。このとき、レジスタDP
にも意味のある値が格納されていないので、復号装置器
からは表示画像として初期値の画像が出力される。な
お、この場合のステップS41 〜S52 における各処理は、
次の画像データの復号に直接影響しないので説明を省略
する。First, when decoding the compressed image data corresponding to the first image I0, meaningful values are not set in the registers FP and BP. Therefore, in steps S41 to S52 in the flowchart of FIG. Each process is executed with the value indicated by the value, and the process proceeds to step S53. At this time, register DP
Since no meaningful value is stored in the decoding device, an image having an initial value is output as a display image from the decoding device. In this case, each process in steps S41 to S52
The description is omitted because it does not directly affect the decoding of the next image data.
【0069】ステップS53 では、復号画像データを格納
するメモリエリアを決める。このとき、メモリエリア37
1 〜374 が使用可能であるので、番号の若いメモリエリ
ア371 を復号画像データを格納するメモリエリアに決
め、そのポインタ値"1" をレジスタRPに格納する。次い
で、ステップS54 において、ピクチャーレイア以下の復
号処理を行い、復号したI0の画像データをレジスタRPの
ポインタ値"1" が示すメモリエリア371 に格納する。な
お、I0の画像データはIタイプであるので、他画像デー
タとは関係なく独立して復号される。In step S53, a memory area for storing the decoded image data is determined. At this time, memory area 37
Since 1 to 374 can be used, the memory area 371 having the smaller number is determined as the memory area for storing the decoded image data, and the pointer value "1" is stored in the register RP. Next, in step S54, decoding processing for the picture layer and below is performed, and the decoded image data of I0 is stored in the memory area 371 indicated by the pointer value "1" of the register RP. Since the image data of I0 is of the I type, it is decoded independently of other image data.
【0070】次に、2番目の画像P1に対応する圧縮画像
データを復号するとき、ステップS41 〜S48 では、先述
の画像I0に対する処理の場合と同様に初期値のまま処理
を実行する。次のステップS49 では、ピクチャレイアの
ヘッダ情報を解読し、ステップS50 で、今回復号する画
像データのピクチャタイプを調べる。そして、そのピク
チャタイプはPタイプであるのでステップS51 に移る。
ステップS51 では、レジスタRPのポインタ値"1" をレジ
スタFPにコピーする。これにより、メモリエリア371 に
格納されているI0の画像データが、今回復号する画像デ
ータの前方の参照画像データとして使用されことにな
る。Next, when the compressed image data corresponding to the second image P1 is decoded, in steps S41 to S48, the process is executed with the initial value as in the case of the above-described process for the image I0. In the next step S49, the header information of the picture layer is decoded, and in step S50, the picture type of the image data to be decoded this time is checked. Then, since the picture type is the P type, the flow shifts to step S51.
In step S51, the pointer value "1" of the register RP is copied to the register FP. As a result, the image data of I0 stored in the memory area 371 is used as reference image data ahead of the image data to be decoded this time.
【0071】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア372 〜374 が使用可能であるので、番号の若いメモリ
エリア372 を復号画像データを格納するメモリエリアと
し、そのポインタ値"2" をレジスタRPに格納する。次い
で、ステップS54 において、ピクチャレイア以下の復号
処理を行ない、前方の参照画像としてレジスタFPのポイ
ンタ値"1" が示すメモリエリア371 のI0の画像データを
用いてP1の画像データを再生し、これをレジスタRPのポ
インタ値"2" が示すメモリエリア372 に格納する。In the next step S53, a memory area for storing the decoded image data is determined. At this time, since the memory areas 372 to 374 can be used, the memory area 372 having the smaller number is used as the memory area for storing the decoded image data, and the pointer value “2” is stored in the register RP. Next, in step S54, decoding processing for the picture layer and below is performed, and P1 image data is reproduced using the I0 image data in the memory area 371 indicated by the pointer value "1" of the register FP as a forward reference image. Is stored in the memory area 372 indicated by the pointer value “2” of the register RP.
【0072】次に、3番目の画像B2に対応する圧縮画像
データを復号するとき、ステップS41 で1フレーム前に
復号した画像のピクチャタイプを調べる。今回、そのピ
クチャタイプはPタイプであるのでステップS42 に移
る。ステップS42 では、レジスタFPD にはまだ意味のあ
る値が設定されていないので初期値のまま処理し、ステ
ップS43 に移る。ステップS43 では、レジスタFPのポイ
ンタ値"1" をレジスタDPにコピーする。これにより、メ
モリエリア371 に格納されているI0の画像データが表示
画像として出力される。Next, when decoding the compressed image data corresponding to the third image B2, the picture type of the image decoded one frame before in step S41 is checked. This time, since the picture type is the P type, the flow proceeds to step S42. In step S42, since a meaningful value has not yet been set in the register FPD, the process is performed with the initial value, and the process proceeds to step S43. In step S43, the pointer value "1" of the register FP is copied to the register DP. As a result, the image data of I0 stored in the memory area 371 is output as a display image.
【0073】次のステップS44 では、レジスタFPのポイ
ンタ値"1" をレジスタFPD にコピーし、ステップS49 に
移る。ステップS49 では、ピクチャレイアのヘッダ情報
を解読し、ステップS50 で、今回復号する画像のピクチ
ャタイプを調べる。このピクチャタイプはBタイプであ
るのでステップS52 に移り、ステップS52 では、レジス
タRPのポインタ値"2" をレジスタBPにコピーする。これ
により、メモリエリア372 に格納されている前回復号し
たP1の画像データが、今回復号する画像データの後方の
参照画像データとして使用されことになる。In the next step S44, the pointer value "1" of the register FP is copied to the register FPD, and the routine goes to a step S49. In step S49, the header information of the picture layer is decoded, and in step S50, the picture type of the image to be decoded this time is checked. Since the picture type is the B type, the process proceeds to step S52, where the pointer value "2" of the register RP is copied to the register BP. As a result, the previously decoded P1 image data stored in the memory area 372 is used as reference image data after the currently decoded image data.
【0074】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア373 〜374 が使用可能であるので、番号の若いメモリ
エリア373 を復号画像データを格納するメモリエリアと
し、そのポインタ値"3" をレジスタRPに格納する。次い
で、ステップS54 において、ピクチャレイア以下の復号
処理を行ない、前方の参照画像としてレジスタFPのポイ
ンタ値"1" が示すメモリエリア371 のI0の画像データ
を、後方の参照画像としてレジスタBPのポインタ値"2"
が示すメモリエリア372 のP1の画像データを用いてB2の
画像データを再生し、これをレジスタRPのポインタ値"
3" が示すメモリエリア373 に格納する。In the next step S53, a memory area for storing the decoded image data is determined. At this time, since the memory areas 373 to 374 can be used, the memory area 373 having the smaller number is used as the memory area for storing the decoded image data, and the pointer value “3” is stored in the register RP. Next, in step S54, decoding processing for the picture layer and below is performed, and the image data of I0 in the memory area 371 indicated by the pointer value "1" of the register FP as the forward reference image, and the pointer value of the register BP as the backward reference image. "2"
The image data of B2 is reproduced using the image data of P1 in the memory area 372 indicated by, and this is stored in the pointer value of the register RP.
3 "is stored in the memory area 373.
【0075】次に、4番目の画像B3に対応する圧縮画像
データを復号するとき、ステップS41 で1フレーム前に
復号した画像のピクチャタイプを調べる。今回、そのピ
クチャタイプはBタイプであるのでステップS45 に移
る。しかし、ステップS45 では、レジスタBIPDの値はま
だ初期値であるので初期値が示す値で処理を実行し、次
のステップS46 に移る。ステップS46 では、レジスタRP
のポインタ値"3" をレジスタDPにコピーする。これによ
り、メモリエリア373 に格納されているB2の画像データ
が表示画像として出力される。Next, when decoding the compressed image data corresponding to the fourth image B3, the picture type of the image decoded one frame before is checked in step S41. This time, since the picture type is the B type, the flow proceeds to step S45. However, in step S45, since the value of the register BIPD is still the initial value, the process is executed with the value indicated by the initial value, and the process proceeds to the next step S46. In step S46, the register RP
Is copied to the register DP. Thus, the image data of B2 stored in the memory area 373 is output as a display image.
【0076】次のステップS47 では、レジスタRPのポイ
ンタ値"3" をレジスタBIPDにコピーする。これにより、
レジスタBIPDのポインタ値は、前回復号されたBタイプ
のB2の画像データが格納されているメモリエリア373 を
示すことになる。次のステップS48 では、レジスタBPの
ポインタ値"2" をレジスタRPに一時的にコピーする。ス
テップS52 において、今回復号する画像のピクチャタイ
プがBタイプのときは、1フレーム前に復号した画像が
Bタイプの場合にもレジスタRPのポインタ値をレジスタ
BPにコピーするという構成をとっているためである。In the next step S47, the pointer value "3" of the register RP is copied to the register BIPD. This allows
The pointer value of the register BIPD indicates the memory area 373 in which the previously decoded B-type B2 image data is stored. In the next step S48, the pointer value "2" of the register BP is temporarily copied to the register RP. In step S52, if the picture type of the image to be decoded this time is the B type, the pointer value of the register RP is also stored in the register even if the image decoded one frame before is the B type.
This is because it is configured to copy to BP.
【0077】次のステップS49 では、ピクチャレイアの
ヘッダ情報を解読し、ステップS50で、今回復号する画
像データのピクチャタイプを調べる。このピクチャタイ
プはBタイプであるのでステップS52 に移り、ステップ
S52 では、レジスタRPのポインタ値"2" をレジスタBPに
コピーする。これにより、ステップS48 においてレジス
タBPからレジスタRPに一時的にコピーされたポインタ
値"2" はレジスタBPにコピーされ、メモリエリア372 に
格納されているP1の画像データが、今回復号するB3の画
像データの前方の参照画像データとして使用されことに
なる。In the next step S49, the header information of the picture layer is decoded, and in step S50, the picture type of the image data to be decoded this time is checked. Since the picture type is the B type, the process proceeds to step S52,
In S52, the pointer value "2" of the register RP is copied to the register BP. As a result, the pointer value "2" temporarily copied from the register BP to the register RP in step S48 is copied to the register BP, and the image data of P1 stored in the memory area 372 is changed to the image of B3 to be decoded this time. It will be used as reference image data ahead of the data.
【0078】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、メモリエリ
ア374 のみが使用可能であるので、メモリエリア374 を
復号画像データを格納するメモリエリアとし、そのポイ
ンタ値"4" をレジスタRPに格納する。次いで、ステップ
S54 において、ピクチャレイア以下の復号処理を行な
い、前方の参照画像としてレジスタFPのポインタ値"1"
が示すメモリエリア371のI0の画像データを、後方の参
照画像としてレジスタBPのポインタ値"2" が示すメモリ
エリア372 のP1の画像データを用いてB2の画像データを
再生し、これをレジスタRPのポインタ値"4" が示すメモ
リエリア374 に格納する。In the next step S53, a memory area for storing the decoded image data is determined. At this time, since only the memory area 374 can be used, the memory area 374 is used as a memory area for storing decoded image data, and the pointer value “4” is stored in the register RP. Then step
In S54, the decoding process for the picture layer and below is performed, and the pointer value "1" of the register FP is set as the forward reference image.
The image data of B2 is reproduced by using the image data of I0 in the memory area 371 indicated by using the image data of P1 in the memory area 372 indicated by the pointer value “2” of the register BP as the subsequent reference image, and this is stored in the register RP Is stored in the memory area 374 indicated by the pointer value "4".
【0079】次に、5番目の画像B3に対応する圧縮画像
データを復号するとき、ステップS41 で1フレーム前に
復号した画像のピクチャタイプを調べる。今回、このピ
クチャタイプはBタイプであるのでステップS45 に移
る。ステップS45 では、レジスタBIPDのポインタ値"3"
が示すメモリエリア373 に格納されているBタイプの画
像B2の画像データは今後使用されることがないので、メ
モリエリア373 の更新を許す処理を行う。これにより、
メモリエリア373 は使用可能な状態となる。次のステッ
プS46 では、レジスタRPのポインタ値"4" をレジスタDP
にコピーする。これにより、メモリエリア374 に格納さ
れているB3の画像データが表示画像として出力される。Next, when decoding the compressed image data corresponding to the fifth image B3, in step S41, the picture type of the image decoded one frame before is checked. This time, since the picture type is the B type, the flow proceeds to step S45. In step S45, the pointer value “3” of the register BIPD
Since the image data of the B-type image B2 stored in the memory area 373 indicated by is not used in the future, a process for allowing the memory area 373 to be updated is performed. This allows
The memory area 373 is in a usable state. In the next step S46, the pointer value "4" of the register RP is
Copy to As a result, the image data of B3 stored in the memory area 374 is output as a display image.
【0080】次のステップS47 では、レジスタRPのポイ
ンタ値"4" をレジスタBIPDにコピーする。これにより、
レジスタBIPDのポインタ値は、前回復号されたBタイプ
の画像B3の画像データが格納されているメモリエリア37
4 を示すことになる。ステップS48 では、レジスタBPの
ポインタ値"2" をレジスタRPに一時的にコピーする。次
いで、ステップS49 では、ピクチャレイアのヘッダ情報
を解読し、ステップS50 で、今回復号する画像データの
ピクチャタイプを調べる。このピクチャタイプはPタイ
プであるのでステップS51 に移り、ステップS51 では、
レジスタRPのポインタ値"2" をレジスタFPにコピーす
る。これにより、メモリエリア372 に格納されているP1
の画像データが、今回復号するP4の画像データの前方の
参照画像データとして使用されことになる。In the next step S47, the pointer value "4" of the register RP is copied to the register BIPD. This allows
The pointer value of the register BIPD is stored in the memory area 37 in which the image data of the previously decoded B-type image B3 is stored.
4 will be shown. In step S48, the pointer value "2" of the register BP is temporarily copied to the register RP. Next, in step S49, the header information of the picture layer is decoded, and in step S50, the picture type of the image data to be decoded this time is checked. Since the picture type is the P type, the process moves to step S51, and in step S51,
Copy the pointer value "2" of the register RP to the register FP. As a result, P1 stored in the memory area 372 is
Will be used as reference image data ahead of the P4 image data to be decoded this time.
【0081】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、ステップ45
で更新を許されたメモリエリア373 のみが使用可能であ
るので、メモリエリア373 を復号画像データを格納する
メモリエリアとし、そのポインタ値"3" をレジスタRPに
格納する。ステップS54 では、ピクチャレイア以下の復
号処理を行ない、前方の参照画像としてレジスタFPのポ
インタ値"2" が示すメモリエリア372 のP1の画像データ
を用いてP4の画像データを再生し、これをレジスタRPの
ポインタ値"3" が示すメモリエリア373 に格納する。In the next step S53, a memory area for storing the decoded image data is determined. At this time, step 45
Since only the memory area 373 that is allowed to be updated in step (3) is usable, the memory area 373 is used as a memory area for storing decoded image data, and the pointer value “3” is stored in the register RP. In step S54, decoding processing for the picture layer and below is performed, and P4 image data is reproduced using the P1 image data in the memory area 372 indicated by the pointer value "2" of the register FP as a forward reference image, and this is stored in the register. The data is stored in the memory area 373 indicated by the pointer value "3" of the RP.
【0082】次に、6番目の画像B5に対応する圧縮画像
データを復号するとき、ステップS41 で1フレーム前に
復号した画像のピクチャタイプを調べる。今回、このピ
クチャタイプはPタイプであるのでステップS42 に移
る。ステップS42 では、レジスタFPD のポインタ値"1"
が示すが示すメモリエリア371 に格納されているI0の画
像データは以後使用されることはないので、メモリエリ
ア371 の更新を許す処理を行う。これにより、メモリエ
リア371 は使用可能な状態となる。ステップS43では、
レジスタFPの値"2" をレジスタDPにコピーする。これに
より、メモリエリア372 に格納されているP1の画像デー
タが表示画像として出力される。Next, when decoding the compressed image data corresponding to the sixth image B5, the picture type of the image decoded one frame before in step S41 is checked. This time, since the picture type is the P type, the flow proceeds to step S42. In step S42, the pointer value "1" of the register FPD
Since the image data of I0 stored in the memory area 371 indicated by is not used thereafter, a process for allowing the memory area 371 to be updated is performed. As a result, the memory area 371 can be used. In step S43,
Copy the value “2” of the register FP to the register DP. As a result, the image data of P1 stored in the memory area 372 is output as a display image.
【0083】次のステップS44 では、レジスタFPの値"
2" をレジスタFPD にコピーする。これにより、レジス
タFPD のポインタ値は、前フレームで前方の参照画像デ
ータとなったP1の画像データが格納されているメモリエ
リア372 を示すことになる。次いで、ステップS49 で
は、ピクチャレイアのヘッダ情報を解読し、ステップS5
0で、今回復号する画像データのピクチャタイプを調べ
る。このピクチャタイプはBタイプであるのでステップ
S52 に移り、ステップS52 では、レジスタRPのポインタ
値"3" をレジスタBPにコピーする。これにより、メモリ
エリア373 に格納されているP4の画像データが、今回復
号するB5の画像データの後方の参照画像データとして使
用されことになる。In the next step S44, the value of the register FP
2 "is copied to the register FPD. Thus, the pointer value of the register FPD indicates the memory area 372 in which the image data of P1 which has become the previous reference image data in the previous frame is stored. In step S49, the header information of the picture layer is decoded, and in step S5
At 0, the picture type of the image data to be decoded this time is checked. Since this picture type is B type, step
The process moves to S52, and in step S52, the pointer value "3" of the register RP is copied to the register BP. As a result, the P4 image data stored in the memory area 373 is used as reference image data after the B5 image data to be decoded this time.
【0084】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、ステップ42
で更新を許されたメモリエリア371 のみが使用可能であ
るので、メモリエリア371 を復号画像データを格納する
メモリエリアとし、そのポインタ値"1" をレジスタRPに
格納する。次のステップS54 では、ピクチャレイア以下
の復号処理を行ない、前方の参照画像としてレジスタFP
のポインタ値"2" が示すメモリエリア372 のP1の画像デ
ータを、後方の参照画像としてレジスタBPのポインタ
値"3" が示すメモリエリア373 の画像データP4を用いて
B5の画像データを再生し、これをレジスタRPのポインタ
値"1" が示すメモリエリア371 に格納する。In the next step S53, a memory area for storing the decoded image data is determined. At this time, step 42
Since only the memory area 371 that is allowed to be updated in step (1) can be used, the memory area 371 is used as a memory area for storing decoded image data, and the pointer value “1” is stored in the register RP. In the next step S54, decoding processing for the picture layer and below is performed, and the register FP is used as a forward reference image.
The image data of P1 in the memory area 372 indicated by the pointer value "2" of the register BP is used as the subsequent reference image by using the image data P4 of the memory area 373 indicated by the pointer value "3" of the register BP.
The image data of B5 is reproduced and stored in the memory area 371 indicated by the pointer value "1" of the register RP.
【0085】次に、7番目の画像P6に対応する圧縮画像
データを復号するとき、ステップS41 で1フレーム前に
復号した画像のピクチャタイプを調べる。今回、このピ
クチャタイプはBタイプであるのでステップS45 に移
る。ステップS45 では、レジスタBIPDのポインタ値"4"
が示すメモリエリア374 の更新を許す処理を行う。これ
により、メモリエリア374 は使用可能な状態となる。次
のステップS46 では、レジスタRPのポインタ値"1" をレ
ジスタDPにコピーする。これにより、メモリエリア371
に格納されているB5の画像データが表示画像として出力
される。Next, when decoding the compressed image data corresponding to the seventh image P6, the picture type of the image decoded one frame before in step S41 is checked. This time, since the picture type is the B type, the flow proceeds to step S45. In step S45, the pointer value "4" of the register BIPD
Is performed to allow the update of the memory area 374 indicated by. As a result, the memory area 374 becomes usable. In the next step S46, the pointer value "1" of the register RP is copied to the register DP. As a result, the memory area 371
Is output as a display image.
【0086】次のステップS47 では、レジスタRPのポイ
ンタ値"1" をレジスタBIPDにコピーし、ステップS48
で、レジスタBPのポインタ値"3" をレジスタRPに一時的
にコピーして、ステップS49 に移る。ステップS49 で
は、ピクチャレイアのヘッダ情報を解読し、ステップS5
0 で、今回復号する画像データのピクチャタイプを調べ
る。このピクチャタイプはPタイプであるのでステップ
S51 に移り、ステップS51では、レジスタRPのポインタ
値"3" をレジスタFPにコピーする。これにより、メモリ
エリア373 に格納されているP4の画像データが、今回復
号するP6の画像データの前方の参照画像データとして使
用されことになる。In the next step S47, the pointer value "1" of the register RP is copied to the register BIPD, and the process proceeds to step S48.
Then, the pointer value "3" of the register BP is temporarily copied to the register RP, and the routine goes to Step S49. In step S49, the header information of the picture layer is decoded, and in step S5
At 0, the picture type of the image data to be decoded this time is checked. Since this picture type is P type,
In S51, the pointer value "3" of the register RP is copied to the register FP. As a result, the P4 image data stored in the memory area 373 is used as reference image data ahead of the P6 image data to be decoded this time.
【0087】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、ステップ45
で更新を許されたメモリエリア374 のみが使用可能であ
るので、メモリエリア374 を復号画像データを格納する
メモリエリアとし、そのポインタ値"4" をレジスタRPに
格納する。次のステップS54 では、ピクチャレイア以下
の復号処理を行ない、前方の参照画像としてレジスタFP
のポインタ値"3" が示すメモリエリア373 のP4の画像デ
ータを用いてP6の画像データを再生し、これをレジスタ
RPのポインタ値"4" が示すメモリエリア374 に格納す
る。In the next step S53, a memory area for storing the decoded image data is determined. At this time, step 45
Since only the memory area 374 that is allowed to be updated in step (1) is usable, the memory area 374 is used as a memory area for storing decoded image data, and the pointer value “4” is stored in the register RP. In the next step S54, decoding processing for the picture layer and below is performed, and the register FP is used as a forward reference image.
The image data of P6 is reproduced using the image data of P4 in the memory area 373 indicated by the pointer value "3", and this is stored in the register.
It is stored in the memory area 374 indicated by the pointer value "4" of the RP.
【0088】次に、8番目の画像P7に対応する圧縮画像
データを復号するとき、ステップS41 で1フレーム前に
復号した画像のピクチャタイプを調べる。今回、そのピ
クチャタイプはPタイプであるのでステップS42 に移
る。ステップS42 では、レジスタBIPDのポインタ値"2"
が示すメモリエリア372 の更新を許す処理を行う。これ
により、メモリエリア372 は使用可能な状態となる。次
のステップS43 では、レジスタFPの値"3" をレジスタDP
にコピーする。これにより、メモリエリア373 に格納さ
れているP4の画像データが表示画像として出力される。Next, when decoding the compressed image data corresponding to the eighth image P7, in step S41, the picture type of the image decoded one frame before is checked. This time, since the picture type is the P type, the flow proceeds to step S42. In step S42, the pointer value "2" of the register BIPD
Is performed to allow the updating of the memory area 372 indicated by. As a result, the memory area 372 can be used. In the next step S43, the value “3” of the register FP is
Copy to As a result, the P4 image data stored in the memory area 373 is output as a display image.
【0089】ステップS44 では、レジスタFPの値"3" を
レジスタFPD にコピーし、次のステップS49 に移る。ス
テップS49 では、ピクチャレイアのヘッダ情報を解読
し、ステップS50 で、今回復号する画像データP7のピク
チャタイプを調べる。このピクチャタイプはPタイプで
あるのでステップS51 に移り、ステップS51 では、レジ
スタRPのポインタ値"4" をレジスタFPにコピーする。こ
れにより、メモリエリア374 に格納されているP6の画像
データが、今回復号するP7の画像データの前方の参照画
像データとして使用されことになる。In step S44, the value "3" of the register FP is copied to the register FPD, and the flow advances to the next step S49. In step S49, the header information of the picture layer is decoded, and in step S50, the picture type of the image data P7 to be decoded this time is checked. Since the picture type is the P type, the process moves to step S51, where the pointer value "4" of the register RP is copied to the register FP. As a result, the P6 image data stored in the memory area 374 is used as reference image data ahead of the P7 image data to be decoded this time.
【0090】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、ステップ42
で更新を許されたメモリエリア372 のみが使用可能であ
るので、メモリエリア372 を復号画像データを格納する
メモリエリアとし、そのポインタ値"2" をレジスタRPに
格納する。次いで、ステップS54 において、ピクチャレ
イア以下の復号処理を行ない、前方の参照画像としてレ
ジスタFPのポインタ値"4" が示すメモリエリア374 のP6
の画像データを用いてP7の画像データを再生し、これを
レジスタRPのポインタ値"2" が示すメモリエリア372 に
格納する。In the next step S53, a memory area for storing the decoded image data is determined. At this time, step 42
Since only the memory area 372 which is allowed to be updated in the above step is usable, the memory area 372 is used as a memory area for storing the decoded image data, and the pointer value “2” is stored in the register RP. Next, in step S54, decoding processing for the picture layer and below is performed, and P6 of the memory area 374 indicated by the pointer value "4" of the register FP as a forward reference image is processed.
The image data of P7 is reproduced by using the image data of (1) and stored in the memory area 372 indicated by the pointer value "2" of the register RP.
【0091】次に、9番目の画像P8に対応する圧縮画像
データを復号するとき、ステップS41 で1フレーム前に
復号した画像のピクチャタイプを調べる。今回、そのピ
クチャタイプはPタイプであるのでステップS42 に移
る。ステップS42 では、レジスタBIPDのポインタ値"3"
が示すメモリエリア373 の更新を許す処理を行う。これ
により、メモリエリア373 は使用可能な状態となる。次
のステップS43 では、レジスタFPの値"4" をレジスタDP
にコピーする。これにより、メモリエリア374 に格納さ
れているP6の画像データが表示画像として出力される。Next, when the compressed image data corresponding to the ninth image P8 is decoded, the picture type of the image decoded one frame before in step S41 is checked. This time, since the picture type is the P type, the flow proceeds to step S42. In step S42, the pointer value "3" of the register BIPD
Is performed to allow the updating of the memory area 373 indicated by. As a result, the memory area 373 can be used. In the next step S43, the value “4” of the register FP is
Copy to As a result, the P6 image data stored in the memory area 374 is output as a display image.
【0092】次のステップS44 では、レジスタFPの値"
4" をレジスタFPD にコピーし、次のステップS49 に移
る。ステップS49 では、ピクチャレイアのヘッダ情報を
解読し、ステップS50 で、今回復号する画像データのピ
クチャタイプを調べる。このピクチャタイプはPタイプ
であるのでステップS51 に移り、ステップS51 では、レ
ジスタRPのポインタ値"2" をレジスタFPにコピーする。
これにより、メモリエリア372 に格納されているP7の画
像データが、今回復号するP8の画像データの前方の参照
画像データとして使用されことになる。In the next step S44, the value of the register FP
4 "is copied to the register FPD, and the process proceeds to the next step S49. In step S49, the header information of the picture layer is decoded, and in step S50, the picture type of the image data to be decoded this time is checked. Therefore, the process proceeds to step S51, where the pointer value "2" of the register RP is copied to the register FP.
Thus, the P7 image data stored in the memory area 372 is used as reference image data ahead of the P8 image data to be decoded this time.
【0093】次のステップS53 では、復号画像データを
格納するメモリエリアを決める。このとき、ステップ42
で更新を許したメモリエリア373 のみが使用可能である
ので、メモリエリア373 を復号画像データを格納するメ
モリエリアとし、そのポインタ値"3" をレジスタRPに格
納する。次のステップS54 では、ピクチャレイア以下の
復号処理を行ない、前方の参照画像としてレジスタFPの
ポインタ値"2" が示すメモリエリア372 のP7の画像デー
タを用いてP8の画像データを再生し、これをレジスタRP
のポインタ値"3" が示すメモリエリア373 に格納する。In the next step S53, a memory area for storing the decoded image data is determined. At this time, step 42
Since only the memory area 373 that is allowed to be updated in step (3) is usable, the memory area 373 is used as a memory area for storing decoded image data, and the pointer value “3” is stored in the register RP. In the next step S54, decoding processing for the picture layer and below is performed, and the P8 image data is reproduced using the P7 image data in the memory area 372 indicated by the pointer value "2" of the register FP as a forward reference image. The register RP
Is stored in the memory area 373 indicated by the pointer value "3".
【0094】以下同様にして、復号する画像のピクチャ
タイプおよび表示画像の出力順に応じて、レジスタRP、
FP、FPD 、BP、DP、BIPDのポインタ値を変えながら復号
画像データを格納するメモリエリア、前方参照画像、後
方参照画像、表示画像として使用される画像データが格
納されているメモリエリアを指定し、復号処理を実行す
るものである。In the same manner, the registers RP and RP are set according to the picture type of the picture to be decoded and the output order of the display picture.
Specify the memory area for storing the decoded image data while changing the pointer values of FP, FPD, BP, DP, and BIPD, and the memory area for storing the image data used as the forward reference image, the backward reference image, and the display image. , And performs a decryption process.
【0095】このように、第1の実施例の復号アルゴリ
ズムは、図2のフローチャートに示すように、ステップ
26の処理までに、以後のフレームの復号処理では使用さ
れない画像データが格納されているメモリエリアを全て
フリーにする方式であり、レジスタFPD およびBIPDを使
用しなくて済むが、アルゴリズムに判定が多くなりアル
ゴリズムが複雑となる。一方、第2の実施例の復号アル
ゴリズムは、図6のフローチャートに示すように、以後
のフレームの復号処理では使用されない画像データが格
納されているメモリエリアを示すポインタ値をレジスタ
FPD またはBIPDに格納し、次のフレームの復号処理の始
まりでそのポインタ値が示すメモリエリアを更新するこ
とにより復号画像データを格納するメモリエリアを決め
てしまう方式であり、2つのレジスタFPD およびBIPDを
必要とするが、全体的なアルゴリズムが簡単となる。な
お、図5に示す構成の復号装置によって図2に示すフロ
ーチャートの復号化処理を実現することも可能である。As described above, the decoding algorithm of the first embodiment has the steps shown in the flowchart of FIG.
This method frees up all memory areas that store image data that is not used in subsequent frame decoding processing by the processing in step 26, eliminating the need to use the registers FPD and BIPD. The algorithm becomes complicated. On the other hand, in the decoding algorithm of the second embodiment, as shown in the flowchart of FIG. 6, a pointer value indicating a memory area in which image data not used in a decoding process of a subsequent frame is stored is registered.
This is a method of storing the decoded image data in the FPD or BIPD by updating the memory area indicated by the pointer value at the beginning of the decoding processing of the next frame, and the two registers FPD and BIPD , But the overall algorithm is simplified. It should be noted that the decoding device of the configuration shown in FIG. 5 can also realize the decoding process of the flowchart shown in FIG.
【0096】次に、図6に示したフローチャートによる
復号化処理とディスプレイの表示との同期方法について
説明する。Next, a description will be given of a method of synchronizing the decoding processing with the display on the display according to the flowchart shown in FIG.
【0097】図5に示す復号装置のビデオコントローラ
35は、先述したように、外部のディスプレイからの垂直
同期信号および水平同期信号を用いてそのフレームの先
頭を検出し、その先頭で発生するパルスを生成してその
パルスを内部カウンタによりカウントする。一方、シー
ケンサ36は、その内部カウンタのカウント値を監視し、
カウント値がインクリメントされるのを検出することよ
りフレームの先頭を検知して復号化処理を開始する。復
号化処理は、図5に示すFIFO30から圧縮画像データを読
み出して可変長復号器31に入力するところからスタート
し、MPEGの各レイアの復号処理を行い、ピクチャレイア
の復号処理を図6に示すフローに従って行うことで終了
する。Video controller of decoding apparatus shown in FIG.
As described above, 35 detects the head of the frame using the vertical synchronization signal and the horizontal synchronization signal from the external display, generates a pulse generated at the head, and counts the pulse by the internal counter. On the other hand, the sequencer 36 monitors the count value of its internal counter,
The head of the frame is detected by detecting that the count value is incremented, and the decoding process is started. The decoding process starts from reading out the compressed image data from the FIFO 30 shown in FIG. 5 and inputting it to the variable length decoder 31. The decoding process of each layer of MPEG is performed, and the decoding process of the picture layer is shown in FIG. It ends by performing according to the flow.
【0098】シーケンサ36は、図6に示すステップS54
までの処理を終了したとき、終了時点におけるビデオコ
ントローラ35の内部カウンタのカウント値A と、復号化
処理を開始した時点におけるカウント値B とを比較す
る。そして、両時点におけるカウント値A 、B が同じで
あるとき、その復号化処理は1フレーム以内に終了した
ことになるので、カウント値が次にインクリメントされ
た時点で次のフレームについて復号化処理を開始する。
このようにして、圧縮画像データの復号タイミングとデ
ィスプレイの表示タイミングとの同期をとっていく。The sequencer 36 determines in step S54 shown in FIG.
When the processes up to the end are completed, the count value A of the internal counter of the video controller 35 at the end time is compared with the count value B at the time when the decoding process is started. When the count values A and B at the same time are the same, the decoding process has been completed within one frame. Start.
In this way, the decoding timing of the compressed image data is synchronized with the display timing of the display.
【0099】次に、復号化処理が1フレームの時間内に
処理できなかった場合の処理を図8を用いて説明する。Next, the processing in the case where the decoding processing cannot be performed within one frame time will be described with reference to FIG.
【0100】復号装置は、1フレームの画像データの復
号化処理を1フレームの時間内に終了することができる
ように設定されているので、復号タイミングと表示タイ
ミングとを合わせる初期状態を除いて、通常、図6に示
すステップS54 までの処理が終了してから、ビデオコン
トローラ35における内部カウンタのカウント値がインク
リメントされる。しかし、復号化処理が1フレームの時
間内に終了しないという事態が発生すると、ステップS5
4 の処理が終了する前にそのカウント値がインクリメン
トされるので、復号化処理と表示のタイミングの関係が
混乱する。Since the decoding apparatus is set so that the decoding of one frame of image data can be completed within the time of one frame, except for the initial state in which the decoding timing and the display timing are matched, Normally, after the processing up to step S54 shown in FIG. 6 is completed, the count value of the internal counter in the video controller 35 is incremented. However, if a situation occurs where the decoding process does not end within the time of one frame, step S5
Since the count value is incremented before the processing of step 4 is completed, the relationship between the decoding processing and the display timing is confused.
【0101】このような場合、シーケンサ36は、図8に
示すフローチャートに従ってその後の復号化処理を行な
う。先ず、図6に示すステップS54 までの処理を終了し
たとき、図8に示すステップ61において、復号化処理を
終了した時点におけるカウント値A とその復号化処理を
開始した時点におけるカウント値B と差を調べて、その
差が1である場合はステップS62 に移る。ステップS62
では、次に復号する画像のピクチャタイプを調べ、それ
がBタイプであるときはステップS63 に移り、Iタイプ
またはPタイプであるときはステップS64 に移る。In such a case, the sequencer 36 performs the subsequent decoding processing according to the flowchart shown in FIG. First, when the processing up to step S54 shown in FIG. 6 is completed, in step 61 shown in FIG. 8, the difference between the count value A at the time when the decoding processing is completed and the count value B at the time when the decoding processing is started is calculated. Is checked, and if the difference is 1, the process proceeds to step S62. Step S62
Then, the picture type of the image to be decoded next is checked. If the picture type is the B type, the flow proceeds to step S63. If the picture type is the I type or the P type, the flow proceeds to step S64.
【0102】ステップS63 では、Bタイプの画像が欠け
てもその後の復号化処理に影響が無いことを考慮し、次
の画像(Bタイプ)については復号化処理を行わない。
また、ステップS64 では、IタイプまたはPタイプの画
像データは、以後の復号化処理において参照画像として
必要になることを考慮し、次の画像(IタイプまたはP
タイプ)の復号化処理を行う。ステップS61 において、
カウント値A とB との差が2以上である場合にはステッ
プS65 に移る。ステップS65 では、Iタイプの画像が入
力されるのを監視し、Iタイプの画像を検出したとき復
号化処理を再開する。このようにして、復号タイミング
と表示タイミングとの同期を回復する。In step S63, the decoding process is not performed on the next image (B type), considering that the lack of the B type image does not affect the subsequent decoding process.
In step S64, considering that the I-type or P-type image data is required as a reference image in the subsequent decoding processing, the next image (I-type or P-type image data) is considered.
Type) decryption processing. In step S61,
If the difference between the count values A and B is 2 or more, the process moves to step S65. In step S65, input of an I-type image is monitored, and when an I-type image is detected, the decoding process is restarted. In this way, the synchronization between the decoding timing and the display timing is restored.
【0103】以上説明したように本実施例によれば、画
像メモリ37に画面4枚分のメモリエリアを設け、表示タ
イミングを復号タイミングよりも完全に1フレーム遅ら
せているので、復号化処理時間が所定の時間を超過する
場合でも、表示画像の乱れや復号化処理の破綻が生じな
い。As described above, according to the present embodiment, a memory area for four screens is provided in the image memory 37, and the display timing is completely delayed by one frame from the decoding timing. Even if the predetermined time is exceeded, no disturbance of the displayed image or failure of the decoding process occurs.
【0104】また、本実施例によれば、フレームの先頭
でインクリメントされるフレームカウンタの値を監視
し、その値がインクリメントされたとき復号化処理を開
始することにより、表示タイミングと復号タイミングと
の同期をとっているので、従来行っていた画像表示位置
と復号画像位置の常時監視が不要となり、それだけシー
ケンサの処理効率を高めることができるため、また、各
処理ブロックの性能を必要以上に持たせる必要がなくな
るため、回路の単純化、小型化を図ることができる。Further, according to this embodiment, the value of the frame counter which is incremented at the beginning of the frame is monitored, and when the value is incremented, the decoding process is started. Synchronization eliminates the need for constant monitoring of the image display position and the decoded image position, which has conventionally been required, and the processing efficiency of the sequencer can be increased accordingly. Since it is not necessary, the circuit can be simplified and downsized.
【0105】また、本実施例によれば、1フレームの時
間内に復号化処理を終了することができない場合には、
あらかじめ定めた例外処理により復号処理を進めること
ができるので、復号する圧縮画像データ中にエラーが発
生した場合でも、従来技術の場合のように復号処理が停
止したり、表示画像が止まったり乱れたりすることはな
い。According to the present embodiment, if the decoding process cannot be completed within one frame time,
Since the decoding process can proceed by a predetermined exception process, even if an error occurs in the compressed image data to be decoded, the decoding process stops as in the case of the related art, or the displayed image stops or is disturbed. I will not do it.
【0106】また、本実施例は、シーケンサ36はフレー
ムのカウント値を監視する構成であるので、第1の実施
例のような割込みのための処理ルーチンが不要となり全
体の回路構成が簡単となり、シーケンサ36で用いる全体
制御のソフトのシーケンスも単純でそのステップ数も少
なくなるという効果が期待できる。Further, in this embodiment, since the sequencer 36 is configured to monitor the frame count value, the processing routine for interruption as in the first embodiment is not required, and the entire circuit configuration is simplified. The effect that the sequence of the software for the overall control used in the sequencer 36 is simple and the number of steps is reduced can be expected.
【0107】図9は、本発明の第3の実施例による復号
装置の構成を示すブロック図である。この復号装置は、
図1に示す第1の実施例の復号装置を中央処理装置(CP
U) を用いて実現したものであって、図1に示す可変長
復号器11、復号演算器12、およびメモリコントローラ13
の機能をCPU 55のソフトで実現し、図1に示すFIFO10お
よび画像メモリ17をCPU 55が管理するメモリ52のメモリ
空間に割当て、圧縮画像データが入力ポート57に入力さ
れたときDMA コントローラ52がCPU バス56の使用権を獲
得してダイレクトに、メモリ52の図1に示すFIFO10に対
応するメモリ空間に画像データを書き込むものである。FIG. 9 is a block diagram showing a configuration of a decoding apparatus according to the third embodiment of the present invention. This decryption device
The decoding device of the first embodiment shown in FIG.
U), the variable length decoder 11, the decoding operation unit 12, and the memory controller 13 shown in FIG.
Function is realized by software of the CPU 55, the FIFO 10 and the image memory 17 shown in FIG. 1 are allocated to the memory space of the memory 52 managed by the CPU 55, and when the compressed image data is input to the input port 57, the DMA controller 52 The right to use the CPU bus 56 is acquired, and image data is written directly to the memory space of the memory 52 corresponding to the FIFO 10 shown in FIG.
【0108】ビデオコントローラ54は、図1に示すビデ
オコントローラ15とほぼ同じように動作するものであっ
て、入力ポート58、59を介して外部のディスプレイから
入力される垂直同期信号および水平同期信号を用いて表
示画像のフレームの先頭を知らせる信号を生成し、その
信号を割込み信号INT として制御線61を通してCPU 55へ
送出する。CPU 55は、その割込み信号を受け付けたとき
復号化処理を開始すると共に、受け付けたことを知らせ
る割込み受付け信号ACK をCPU バス56を通してビデオコ
ントローラ54に知らせる。これにより、ビデオコントロ
ーラ54は、割り込みを解除する。The video controller 54 operates in substantially the same manner as the video controller 15 shown in FIG. 1, and receives a vertical synchronizing signal and a horizontal synchronizing signal input from an external display via input ports 58 and 59. A signal notifying the beginning of the frame of the display image is generated using the signal, and the signal is transmitted to the CPU 55 through the control line 61 as an interrupt signal INT. When the CPU 55 receives the interrupt signal, it starts the decoding process, and notifies the video controller 54 of an interrupt acceptance signal ACK for notifying the reception via the CPU bus 56. As a result, the video controller 54 releases the interrupt.
【0109】また、ビデオコントローラ54は、表示画像
のデータを得たいときはDMA コントローラ51へ要求信号
を送出してCPU バス56の使用権を獲得し、CPU バス56を
通してダイレクトにまとまった単位の表示画像データ
(例えば、1ライン分のデータ)をFIFO53に一旦転送
し、そのFIFO53から画像データを画像表示のタイミング
に合わせて読み出し、これを出力ポート60を介して外部
のディスプレイへ出力するものである。When the video controller 54 wants to obtain display image data, it sends a request signal to the DMA controller 51 to acquire the right to use the CPU bus 56, and displays the unit of the unit directly through the CPU bus 56. The image data (for example, data for one line) is temporarily transferred to the FIFO 53, the image data is read out from the FIFO 53 in synchronization with the image display timing, and is output to an external display via the output port 60. .
【0110】なお、図5に示す第2の実施例の復号装置
も、CPU を用いて実現することができる。Note that the decoding apparatus of the second embodiment shown in FIG. 5 can also be realized using a CPU.
【0111】[0111]
【発明の効果】このように本発明によれば、画像メモリ
に画面4枚分のメモリエリアを設け、表示のタイミング
を復号処理のタイミングよりも完全に1フレーム遅らせ
ているので、復号化処理時間が所定の時間を超過する場
合でも、表示画像の乱れや復号化処理の破綻が生じない
という効果が期待できる。As described above, according to the present invention, a memory area for four screens is provided in the image memory, and the display timing is completely delayed by one frame from the decoding processing timing. Is longer than a predetermined time, it is possible to expect an effect that the disturbance of the display image and the failure of the decoding process do not occur.
【0112】また、ディスプレイの表示タイミングに基
づいて復号化処理を開始することにより復号タイミング
と表示タイミングとの同期をとっているので、従来行っ
ていた画像表示位置と復号画像位置の常時監視が不要と
なり、それだけシーケンサの処理効率を高めることがで
きるため、また、各処理ブロックの性能を必要以上に持
たせる必要がなくなるため、回路の単純化、小型化を図
ることができる。Further, since the decoding timing is synchronized with the display timing by starting the decoding process based on the display timing of the display, it is not necessary to constantly monitor the image display position and the decoded image position which have been conventionally performed. Thus, the processing efficiency of the sequencer can be increased accordingly, and the performance of each processing block does not need to be increased more than necessary, so that the circuit can be simplified and downsized.
【0113】また、1フレームの時間内に復号処理を終
了することができない場合に対処できる例外処理をあら
かじめ設けているので、復号する圧縮画像データ中にエ
ラーが発生した場合でも復号処理の停止、表示画像の停
止や乱れの発生を防止することがでる。Further, since an exception process is provided in advance to deal with the case where the decoding process cannot be completed within the time of one frame, even if an error occurs in the compressed image data to be decoded, the decoding process can be stopped, It is possible to prevent the display image from being stopped or from being disturbed.
【図1】第1の実施例による復号装置の構成を示すブロ
ック図である。FIG. 1 is a block diagram illustrating a configuration of a decoding device according to a first embodiment.
【図2】第1の実施例における復号方法のアルゴリズム
を示すフローチャートである。FIG. 2 is a flowchart illustrating an algorithm of a decoding method according to the first embodiment.
【図3】図2のアルゴリズムによる画像表示のシーケン
スを示すタイムチャートである。FIG. 3 is a time chart showing a sequence of image display according to the algorithm of FIG. 2;
【図4】第1の実施例における復号方法において復号処
理が1フレーム以内に終了しないときの例外処理を示す
フローチャートである。FIG. 4 is a flowchart illustrating exception processing when decoding processing is not completed within one frame in the decoding method according to the first embodiment.
【図5】第2の実施例による復号装置の構成を示すブロ
ック図である。FIG. 5 is a block diagram illustrating a configuration of a decoding device according to a second embodiment.
【図6】第2の実施例における復号方法のアルゴリズム
を示すフローチャートである。FIG. 6 is a flowchart illustrating an algorithm of a decoding method according to the second embodiment.
【図7】図6のアルゴリズムによる画像表示のシーケン
スを示すタイムチャートである。FIG. 7 is a time chart showing a sequence of image display according to the algorithm of FIG. 6;
【図8】第2の実施例における復号方法において復号処
理が1フレーム以内に終了しないときの例外処理を示す
フローチャートである。FIG. 8 is a flowchart illustrating exception processing when decoding processing is not completed within one frame in the decoding method according to the second embodiment.
【図9】第3の実施例による復号装置の構成を示すブロ
ック図である。FIG. 9 is a block diagram illustrating a configuration of a decoding device according to a third embodiment.
【図10】MPEG符号化における符号化処理の順、メディ
ア上の順、復号処理の順、および表示画像の順を示す説
明図である。FIG. 10 is an explanatory diagram showing the order of encoding processing, the order on media, the order of decoding processing, and the order of display images in MPEG encoding.
10、14、30、34、53 FIFO 11、31 可変長復号器 12、32 復号演算器 13、33 メモリコントローラ 15、35、54 ビデオコントローラ 16、36 シーケンサ 17、37 画像メモリ 51 DMA コントローラ 52 メモリ 55 CPU 10, 14, 30, 34, 53 FIFO 11, 31 Variable length decoder 12, 32 Decoding arithmetic unit 13, 33 Memory controller 15, 35, 54 Video controller 16, 36 Sequencer 17, 37 Image memory 51 DMA controller 52 Memory 55 CPU
Claims (7)
た画像データを復号する画像データ復号装置において、
該装置は、 復号画像データ、前方予測画像データ、後方予測画像デ
ータ、および表示画像データを格納するメモリエリアを
有する画像メモリと、 前記画像メモリから所定の画像データを読み出して復号
処理を行い、復号した復号画像データを該画像メモリの
所定のメモリエリアに格納すると共に、該復号画像デー
タを1フレーム以後に表示画像データとして読み出して
出力する復号化処理手段と、 入力される垂直同期信号および水平同期信号に基づいて
フレームの先頭に同期する割込み信号を生成する生成手
段と、 前記割込み信号を監視し、該割込み信号を検出したとき
前記復号化手段を制御して復号化処理を開始させる制御
手段とを有することを特徴とする画像データ復号装置。1. An image data decoding apparatus for decoding image data obtained by encoding and compressing continuous frame images,
The apparatus includes: an image memory having a memory area for storing decoded image data, forward predicted image data, backward predicted image data, and display image data; reading predetermined image data from the image memory to perform decoding processing; Decoding processing means for storing the decoded image data in a predetermined memory area of the image memory, reading and outputting the decoded image data as display image data after one frame, and inputting a vertical synchronizing signal and a horizontal synchronizing signal. Generating means for generating an interrupt signal synchronized with the beginning of a frame based on the signal; control means for monitoring the interrupt signal and controlling the decoding means to start a decoding process when the interrupt signal is detected; An image data decoding device comprising:
御手段は、 前記復号化処理手段による1フレームの復号処理が終了
する前に前記割込み信号を検出した場合には、そのフレ
ームのピクチャタイプを調べる第1の工程と、 該第1の工程で調べたピクチャタイプがBタイプである
ときは、現在の復号処理を強制的に終了して次のフレー
ムの復号処理を開始する第2の工程と、 前記第1の工程で調べたピクチャタイプがIまたはPタ
イプであるときは、現在の復号処理を継続する第3の工
程と、 該第3の工程による復号処理が終了する前に再度の前記
割込み信号を検出した場合には、現在の復号処理を強制
的に終了し、ピクチャタイプがIタイプの画像データが
入力されたとき、前記割込み信号の検出を待って該画像
データの復号処理を開始する第4の工程とを実行するこ
とを特徴とする画像データ復号装置。2. The apparatus according to claim 1, wherein said control means, when detecting said interrupt signal before the decoding processing of one frame by said decoding processing means is completed, sets a picture type of said frame. A second step of forcibly terminating the current decoding process and starting a decoding process of the next frame when the picture type checked in the first process is the B type. A third step of continuing the current decoding process when the picture type checked in the first step is the I or P type; and a third step before the decoding process of the third step ends. When the interrupt signal is detected, the current decoding process is forcibly terminated, and when image data of the picture type I is input, the decoding process of the image data is performed after the detection of the interrupt signal. Open Image data decoding apparatus and executes a fourth step of.
2の工程は、現在の復号処理を強制的に終了して次のフ
レームの復号処理を行うとき、強制的に終了した復号処
理で得られるBタイプの画像データを表示画像データと
して出力しないことを特徴とする画像データ復号装置。3. The apparatus according to claim 3, wherein the second step is a step of forcibly terminating the current decoding process and performing the decoding process of the next frame when the decoding process of the next frame is forcibly terminated. An image data decoding device which does not output the obtained B-type image data as display image data.
た画像データを復号する画像データ復号装置において、
該装置は、 復号画像データ、前方予測画像データ、後方予測画像デ
ータ、および表示画像データを格納するメモリエリアを
有する画像メモリと、 前記画像メモリから所定の画像データを読み出して復号
処理を行い、復号した復号画像データを該画像メモリの
所定のメモリエリアに格納すると共に、該復号画像デー
タを1フレーム以後に表示画像データとして読み出して
出力する復号化処理手段と、 入力される垂直同期信号および水平同期信号に基づいて
フレームの先頭に同期するパルスを生成して該パルスを
カウントするカウント手段と、 該カウント手段におけるカウント値を監視し、該カウン
ト値がインクリメントされたとき前記復号化手段を制御
して復号化処理を開始させる制御手段とを有することを
特徴とする画像データ復号装置。4. An image data decoding device for decoding image data obtained by encoding and compressing continuous frame images,
The apparatus includes: an image memory having a memory area for storing decoded image data, forward predicted image data, backward predicted image data, and display image data; reading predetermined image data from the image memory to perform decoding processing; Decoding processing means for storing the decoded image data in a predetermined memory area of the image memory, reading and outputting the decoded image data as display image data after one frame, and inputting a vertical synchronizing signal and a horizontal synchronizing signal. Counting means for generating a pulse synchronized with the beginning of the frame based on the signal and counting the pulse, monitoring a count value in the counting means, and controlling the decoding means when the count value is incremented. Control means for starting a decoding process.
御手段は、 復号処理の開始時と終了時における前記カウント値の差
を検出する第1の工程と、 前記第1の工程で検出した差が1であるときは、次に処
理するフレームのピクチャタイプを調べ、該ピクチャタ
イプがBタイプのときは該フレームの復号処理を終了
し、該ピクチャタイプがIまたはPタイプのときは該フ
レームの復号処理を実行する第2の工程と、 前記第1の工程で検出した差が2以上であるときは、ピ
クチャタイプがIタイプの画像データが入力されたと
き、前記カウント値がインクリメントされるのを待って
該画像データの復号処理を開始する第4の工程とを実行
することを特徴とする画像データ復号装置。5. The apparatus according to claim 4, wherein the control means detects a difference between the count value at the start and the end of the decoding process, and detects the difference at the first step. When the difference is 1, the picture type of the frame to be processed next is checked. When the picture type is the B type, the decoding process of the frame is terminated. When the picture type is the I or P type, the frame is And if the difference detected in the first step is 2 or more, and the picture type is I-type image data, the count value is incremented. And a fourth step of starting the decoding process of the image data after waiting for the image data.
た画像データを復号する画像データ復号装置における画
像データ復号方法において、該方法は、 前記画像データ復号装置に備えられた4枚のフレーム画
像を格納できるメモリエリアを有する画像メモリと、復
号する画像データを格納するメモリエリアを示すポイン
タ値を格納する第1のレジスタと、前方予測画像データ
として用いられる画像データが格納されているメモリエ
リアを示すポインタ値を格納する第2のレジスタと、後
方予測画像データとして用いられる画像データが格納さ
れているメモリエリアを示すポインタ値を格納する第3
のレジスタと、表示画像として用いられる画像データが
格納されているメモリエリアを示すポインタ値を格納す
る第4のレジスタとを用い、 第4のレジスタのポインタ値が示すメモリエリアに格納
されている画像データのピクチャタイプを調べる第1の
工程と、 前記第1の工程で調べたピクチャタイプがBタイプであ
るときは、第4のレジスタのポインタ値が示すメモリエ
リアの更新を許す第2の工程と、 前記第1の工程で調べたピクチャタイプがIまたはPタ
イプでありかつ第3のレジスタと第4のレジスタのポイ
ンタ値が同じであるときは、第4のレジスタのポインタ
値が示すメモリエリアの更新を許し、該ピクチャタイプ
がIまたはPタイプであるが第3のレジスタと第4のレ
ジスタのポインタ値が同じでないときは、そのまま次の
工程に移る第3の工程と、 前記第2および第3の工程に続いて、第1のレジスタの
ポインタ値が示すメモリエリアに格納されている画像デ
ータのピクチャタイプを調べる第4の工程と、 前記第4の工程で調べたピクチャタイプがBタイプであ
るときは、第1のレジスタのポインタ値を第4のレジス
タにコピーすると共に、今回復号する画像のピクチャレ
イアの解読を行なってピクチャタイプを調べる第5の工
程と、 前記第5の工程で調べたピクチャータイプがBタイプで
あるときは、そのまま次工程に移り、該ピクチャタイプ
がIまたはPタイプであるときは、第2のレジスタのポ
インタ値が示すメモリエリアの更新を許すと共に、第3
のレジスタのポインタ値を第2のレジスタにコピーする
第6の工程と、 前記第4の工程で調べたピクチャタイプがIまたはPタ
イプであるときは、第2のレジスタのポインタ値を第4
のレジスタにコピーすると共に、今回復号する画像のピ
クチャレイアの解読を行なってピクチャタイプを調べる
第7の工程と、 前記第7の工程で調べたピクチャタイプがBタイプであ
るときは、第1のレジスタのポインタ値を第3のレジス
タにコピーし、該ピクチャタイプがIまたはPタイプで
あるときは、第2のレジスタのポインタ値を第3のレジ
スタにコピーすると共に、第1のレジスタのポイント値
を第2のレジスタにコピーする第8の工程と、 前記第6および第8の工程に続いて、使用されていない
メモリエリアの一つをを示すポインタ値を第1のレジス
タに記述する第9の工程とを順次実行することにより、
前方予測画像データ、後方予測画像データ、表示画像デ
ータが格納されているメモリエリア、および復号する画
像データを格納するメモリエリアを決定し、ピクチャレ
イア以下の復号処理を行なうことにより1フレームの画
像データを復号することを特徴とする画像データ復号方
法。6. An image data decoding method in an image data decoding device for decoding image data obtained by encoding and compressing continuous frame images, the method comprising: storing four frame images provided in the image data decoding device. An image memory having an available memory area, a first register storing a pointer value indicating a memory area storing image data to be decoded, and a pointer indicating a memory area storing image data used as forward prediction image data A second register for storing a value, and a third register for storing a pointer value indicating a memory area in which image data used as backward prediction image data is stored.
And a fourth register for storing a pointer value indicating a memory area in which image data used as a display image is stored, and an image stored in the memory area indicated by the pointer value of the fourth register. A first step of checking the picture type of the data; and a second step of permitting updating of the memory area indicated by the pointer value of the fourth register when the picture type checked in the first step is the B type. When the picture type checked in the first step is the I or P type and the pointer values of the third register and the fourth register are the same, the memory area indicated by the pointer value of the fourth register If the picture type is I or P type but the pointer values of the third register and the fourth register are not the same, the next A third step of checking the picture type of the image data stored in the memory area indicated by the pointer value of the first register, following the second and third steps; If the picture type checked in the fourth step is the B type, the pointer value of the first register is copied to the fourth register, and the picture layer of the image to be decoded this time is decoded to change the picture type. A fifth step of checking; and if the picture type checked in the fifth step is the B type, the process proceeds to the next step. If the picture type is the I or P type, a pointer of the second register is used. The update of the memory area indicated by the value is permitted, and the third
A sixth step of copying the pointer value of the second register to the second register; and if the picture type checked in the fourth step is the I or P type, the pointer value of the second register is changed to the fourth value.
A seventh step of decoding the picture layer of the image to be decoded this time and examining the picture type, and when the picture type examined in the seventh step is the B type, the first step is performed. The pointer value of the register is copied to the third register. When the picture type is I or P type, the pointer value of the second register is copied to the third register, and the point value of the first register is copied. In the first register, and following the sixth and eighth steps, write a pointer value indicating one of the unused memory areas in the first register. By sequentially performing the steps of
The memory area storing the forward predicted image data, the backward predicted image data, the display image data, and the memory area storing the image data to be decoded are determined, and the decoding processing of the picture layer or less is performed, so that the image data of one frame is obtained. And decoding the image data.
た画像データを復号する画像データ復号装置における画
像データ復号方法において、該方法は、 前記画像データ復号装置に備えられた4枚のフレーム画
像を格納できるメモリエリアを有する画像メモリと、復
号する画像データを格納するメモリエリアを示すポイン
タ値を格納する第1のレジスタと、前方予測画像データ
として用いられる画像データが格納されているメモリエ
リアを示すポインタ値を格納する第2のレジスタと、該
第2のレジスタに格納されているポインタ値と同一のポ
インタ値を格納する第3のレジスタと、後方予測画像デ
ータとして用いられる画像データが格納されているメモ
リエリアを示すポインタ値を格納する第4のレジスタ
と、表示画像として用いられる画像データを格納するメ
モリエリアを示すポインタ値を格納する第5のレジスタ
と、前記第1のレジスタに格納されているポインタ値と
同一のポインタ値を格納する第6のレジスタとを用い、 第1のレジスタのポインタ値が示すメモリエリアに格納
されている画像データのピクチャタイプを調べる第1の
工程と、 前記第1の工程で調べたピクチャタイプがIまたはPタ
イプであるときは、第3のレジスタのポインタ値が示す
メモリエリアの更新を許すと共に、第2のレジスタのポ
インタ値を第3のレジスタと第5のレジスタとにコピー
する第2の工程と、 前記前記第1の工程で調べたピクチャタイプがBタイプ
であるときは、第6のレジスタのポインタ値が示すメモ
リエリアの更新を許し、第1のレジスタのポインタ値を
第5のレジスタと第6のレジスタにコピーすると共に、
第4のレジスタのポインタ値を第1のレジスタにコピー
する第3の工程と、 前記第2および第3の工程に続いて、今回復号する画像
のピクチャレイアの解読を行ってピクチャタイプを調
べ、該ピクチャタイプがIタイプまたはPタイプである
ときは、第1のレジスタのポインタ値を第2のレジスタ
にコピーし、前記ピクチャタイプがBタイプであるとき
は、第1のレジスタのポインタ値を第4のレジスタにコ
ピーする第4の工程と、 前記第4の工程に続いて、更新を許されたメモリエリア
を示すポインタ値を第1のレジスタに記述する第5の工
程とを順次実行することにより、前方予測画像データ、
後方予測画像データ、表示画像データが格納されている
メモリエリア、および復号する画像データを格納するメ
モリエリアを決定し、ピクチャレイア以下の復号処理を
行なうことにより1フレームの画像データを復号するこ
とを特徴とする画像データ復号方法。7. An image data decoding method in an image data decoding device for decoding image data obtained by encoding and compressing continuous frame images, the method comprising: storing four frame images provided in the image data decoding device. An image memory having an available memory area, a first register storing a pointer value indicating a memory area storing image data to be decoded, and a pointer indicating a memory area storing image data used as forward prediction image data A second register for storing a value, a third register for storing the same pointer value as the pointer value stored in the second register, and image data used as backward prediction image data are stored. A fourth register for storing a pointer value indicating a memory area, and an image used as a display image A fifth register for storing a pointer value indicating a memory area for storing data, and a sixth register for storing the same pointer value as the pointer value stored in the first register. A first step of checking the picture type of the image data stored in the memory area indicated by the pointer value of the register, and a third step when the picture type checked in the first step is the I or P type. A second step of allowing the memory area indicated by the pointer value of the register to be updated and copying the pointer value of the second register to the third register and the fifth register; and checking in the first step. When the picture type is the B type, the memory area indicated by the pointer value of the sixth register is allowed to be updated, and the pointer value of the first register is changed to the fifth register and the sixth register. While copying to the register,
A third step of copying the pointer value of the fourth register to the first register; and following the second and third steps, decoding the picture layer of the image to be decoded this time to check the picture type, When the picture type is I type or P type, the pointer value of the first register is copied to the second register. When the picture type is B type, the pointer value of the first register is copied to the second register. Sequentially executing a fourth step of copying data to a register of No. 4 and a fifth step of writing a pointer value indicating a memory area permitted to be updated in the first register following the fourth step. By the forward prediction image data,
Determining a memory area in which backward prediction image data, display image data is stored, and a memory area in which image data to be decoded is stored, and decoding one frame of image data by performing decoding processing of a picture layer or less. Characteristic image data decoding method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP05012097A JP3611941B2 (en) | 1997-03-05 | 1997-03-05 | Image data decoding apparatus and image data decoding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP05012097A JP3611941B2 (en) | 1997-03-05 | 1997-03-05 | Image data decoding apparatus and image data decoding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10248066A true JPH10248066A (en) | 1998-09-14 |
| JP3611941B2 JP3611941B2 (en) | 2005-01-19 |
Family
ID=12850270
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP05012097A Expired - Fee Related JP3611941B2 (en) | 1997-03-05 | 1997-03-05 | Image data decoding apparatus and image data decoding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3611941B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1406452A3 (en) * | 2002-10-03 | 2005-05-11 | NTT DoCoMo, Inc. | Video signal encoding and decoding method |
| WO2010134482A1 (en) * | 2009-05-22 | 2010-11-25 | 株式会社メガチップス | Video playback system and video playback method |
-
1997
- 1997-03-05 JP JP05012097A patent/JP3611941B2/en not_active Expired - Fee Related
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3200462A1 (en) * | 2002-10-03 | 2017-08-02 | NTT DoCoMo, Inc. | Video decoding apparatus and video decoding method |
| US7751481B2 (en) | 2002-10-03 | 2010-07-06 | Ntt Docomo, Inc. | Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, video encoding program, and video decoding program |
| US10158871B2 (en) | 2002-10-03 | 2018-12-18 | Ntt Docomo, Inc. | Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, video encoding program, and video decoding program |
| EP1406452A3 (en) * | 2002-10-03 | 2005-05-11 | NTT DoCoMo, Inc. | Video signal encoding and decoding method |
| EP2268036A3 (en) * | 2002-10-03 | 2012-05-09 | NTT DoCoMo, Inc. | Video signal encoding and decoding method |
| EP2268035A3 (en) * | 2002-10-03 | 2012-05-09 | NTT DoCoMo, Inc. | Video signal encoding and decoding method |
| EP3355584A1 (en) * | 2002-10-03 | 2018-08-01 | Ntt Docomo, Inc. | Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, video encoding program and video decoding program |
| US9826228B2 (en) | 2002-10-03 | 2017-11-21 | Ntt Docomo, Inc. | Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, video encoding program, and video decoding program |
| US8842728B2 (en) | 2002-10-03 | 2014-09-23 | Ntt Docomo, Inc. | Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, video encoding program, and video decoding program |
| CN102439974A (en) * | 2009-05-22 | 2012-05-02 | 株式会社巨晶片 | Moving picture reproduction system and moving picture reproduction method |
| JP5581317B2 (en) * | 2009-05-22 | 2014-08-27 | 株式会社メガチップス | Moving picture reproduction system and moving picture reproduction method |
| US8582033B2 (en) | 2009-05-22 | 2013-11-12 | Megachips Corporation | Movie reproduction system and movie reproduction method for reducing delay time of reproduced movie |
| WO2010134482A1 (en) * | 2009-05-22 | 2010-11-25 | 株式会社メガチップス | Video playback system and video playback method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3611941B2 (en) | 2005-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6034733A (en) | Timing and control for deinterlacing and enhancement of non-deterministically arriving interlaced video data | |
| KR100232992B1 (en) | Moving picture decoding circuit | |
| KR100376607B1 (en) | Mpeg video decoder with integrated scaling and display functions | |
| JP2000232649A (en) | MPEG video decoder and MPEG video decoding method | |
| AU6550494A (en) | Adaptive video compression using variable quantization | |
| CN100539697C (en) | Video processing method | |
| US6490058B1 (en) | Image decoding and display device | |
| US6445419B1 (en) | Image processing apparatus | |
| JP3611941B2 (en) | Image data decoding apparatus and image data decoding method | |
| JP3416649B2 (en) | Variable length coding device | |
| KR100750096B1 (en) | Pre / Post Processing Method and Efficient Pre / Post Processing System for Image Processing | |
| JP4197184B2 (en) | Video decoding device, video playback device, video decoding method, and video playback method | |
| JP2998640B2 (en) | Video playback device | |
| TWI700921B (en) | Image decryption apparatus and method of the same | |
| JP4769268B2 (en) | MPEG video decoder and MPEG video decoding method | |
| JP3171178B2 (en) | MPEG video decoding device | |
| JP3478003B2 (en) | Decryption device | |
| JP3307822B2 (en) | Image processing device | |
| KR20030091134A (en) | Apparatus and method for generating thumbnail image | |
| JP3083788B2 (en) | Data decoding device | |
| JP3098485B2 (en) | Image decoding device | |
| JP2001268566A (en) | Image processor, its method and computer readable recording medium | |
| JPH11122113A (en) | Data decoding apparatus and method | |
| JP3144480B2 (en) | Image encoding control circuit and image encoding control method | |
| JPH11225332A (en) | Image decoding method and image decoding device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040323 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040510 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040928 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041021 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081029 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081029 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091029 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101029 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |