JPH11298857A - Image decoding apparatus for decoding an image so as to give another use to a frame area occupying a large area in a storage device, and a computer-readable recording medium storing an image decoding program - Google Patents
Image decoding apparatus for decoding an image so as to give another use to a frame area occupying a large area in a storage device, and a computer-readable recording medium storing an image decoding programInfo
- Publication number
- JPH11298857A JPH11298857A JP3501099A JP3501099A JPH11298857A JP H11298857 A JPH11298857 A JP H11298857A JP 3501099 A JP3501099 A JP 3501099A JP 3501099 A JP3501099 A JP 3501099A JP H11298857 A JPH11298857 A JP H11298857A
- Authority
- JP
- Japan
- Prior art keywords
- data
- area
- macroblock
- picture
- decoded
- 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.)
- Pending
Links
Landscapes
- Color Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
(57)【要約】
【解決手段】 画質を犠牲にせずに、OSDデータを始め
とする各種データを格納するためのワークエリアをメモ
リ上に確保することができる画像復号化装置を提供す
る。
【課題】 データ削減制御部64は、OSDデータの格納
領域を確保せよと要求されると、前記表示画面における
所定の部位に位置するマクロブロックを廃棄する。OSD
データアクセス部63は、フレーム記憶装置において廃
棄されたマクロブロックが書き込まれるべき領域にOSD
データを書き込む。このようにOSDデータの格納領域の
確保が求められた場合のみ、フレーム記憶装置内の前記
表示画面における所定の部位に対応する領域をOSDデー
タ格納領域に割り当てるので、画質劣化を伴わない。
(57) Abstract: Provided is an image decoding device which can secure a work area for storing various data including OSD data in a memory without sacrificing image quality. When a request is made to secure a storage area for OSD data, a data reduction control unit discards a macroblock located at a predetermined position on the display screen. OSD
The data access unit 63 stores the OSD in the area where the discarded macroblock is to be written in the frame storage device.
Write data. Only when the securing of the OSD data storage area is required in this way, an area corresponding to a predetermined portion of the display screen in the frame storage device is assigned to the OSD data storage area, so that image quality does not deteriorate.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像復号化装置に
関し、特にメモリの使用効率を向上させる改善に関す
る。[0001] 1. Field of the Invention [0002] The present invention relates to an image decoding apparatus, and more particularly to an improvement for improving the efficiency of memory use.
【0002】[0002]
【従来の技術】Moving Picture Expert Group2(MPEG2)
規格は動画像圧縮の国際標準技術として世界中の技術者
から高い支持を得ている。とりわけフレーム間双方向予
測方式による画像符号化処理では、過去・未来に表示さ
れるべき画像との相関性に基づいて画像を圧縮するの
で、その圧縮率が非常に高く、動画像を記録媒体に記録
して持ち運ぶ場合、或は、通信媒体を通じて遠方に送信
する場合にその真価を発揮する。[Prior Art] Moving Picture Expert Group 2 (MPEG2)
The standard has gained high support from engineers around the world as an international standard technology for video compression. Especially in the image coding processing by the inter-frame bidirectional prediction method, since the image is compressed based on the correlation with the image to be displayed in the past and the future, the compression ratio is extremely high, and the moving image is recorded on the recording medium. It shows its true value when it is recorded and carried, or when it is transmitted to a remote place through a communication medium.
【0003】一方、高圧縮率実現という華々しい成果の
影で、画像復号装置の複雑化−大規模化についての懸念
が技術者の間で囁かれている。これはフレーム間双方向
予測方式により符号化されたピクチャデータ(一般にBi
directionally Predictive(B)ピクチャと呼ばれる。)
を復号する場合、画像復号装置はBピクチャより過去に
表示されるべき画像、未来に表示されるべき画像を参照
せねばならないので、復号済みの画像と、復号時の参照
先となる画像とを個別にフレームメモリに展開しておく
必要があり、フレームメモリが大規模になるからであ
る。フレームメモリとは、1フレームに表示すべき1画面
分の画素データを格納するためのメモリ領域であり、フ
レームメモリに書き込まれた画素データは、ディスプレ
ィにおける水平同期信号に同期して、例えば横720画素
×縦1画素というライン単位に読み出され、映像信号に
変換される。[0003] On the other hand, under the brilliant achievement of realizing a high compression ratio, there has been some whispering among engineers about the complexity and large scale of the image decoding device. This is picture data (generally Bi
It is called a directionally Predictive (B) picture. )
When decoding the image, the image decoding apparatus must refer to the image to be displayed in the past and the image to be displayed in the future from the B picture, so that the decoded image and the image to be referred to at the time of decoding are This is because it is necessary to individually develop the frame memory, and the frame memory becomes large. The frame memory is a memory area for storing pixel data for one screen to be displayed in one frame, and the pixel data written in the frame memory is synchronized with a horizontal synchronization signal in the display, for example, in a horizontal area of 720 pixels. The data is read out on a line basis of pixels × one pixel and converted into a video signal.
【0004】図27は、3つのフレームメモリが確保さ
れたSD-RAMの一例を示す図である。本図では、2Bank×2
048ロウ×256カラムのSD-RAM使用時を想定している。ま
たピクチャデータのタイプには、Bピクチャの他に、フ
レーム内符号化方式により符号化されたIntra(I)ピクチ
ャ、フレーム間順方向予測符号化方式により符号化され
たPredictive(P)ピクチャがあり、本SD-RAMは、復号後
の画像を符号方式のタイプ別に格納するための3つのフ
レームメモリを有している。FIG. 27 shows an example of an SD-RAM in which three frame memories are secured. In this figure, 2Bank × 2
It is assumed that SD-RAM with 048 rows x 256 columns is used. In addition to the B picture, the types of picture data include Intra (I) pictures coded by the intra-frame coding method, and Predictive (P) pictures coded by the inter-frame forward prediction coding method. The SD-RAM has three frame memories for storing the decoded image for each type of coding scheme.
【0005】具体的にいうと、本図における非参照画像
データフレームメモリは、復号済みのBピクチャを格納
する。参照画像データAフレームメモリ、参照画像デー
タBフレームメモリは、復号済みのIピクチャ又はPピク
チャを格納する。これらのフレームメモリは、SD-RAMに
おいて2Bank×608ロウ×256カラムという領域を占有し
ており、参照画像データAフレームメモリ、参照画像デ
ータBフレームメモリに格納された復号済みのピクチャ
データは、Bピクチャの復号時において参照される。More specifically, the non-reference image data frame memory in FIG. 1 stores decoded B pictures. The reference image data A frame memory and the reference image data B frame memory store decoded I pictures or P pictures. These frame memories occupy an area of 2 Bank × 608 rows × 256 columns in the SD-RAM, and the decoded picture data stored in the reference image data A frame memory and the reference image data B frame memory is It is referred when decoding a picture.
【0006】ところで上記のような従来技術では、3つ
のフレームメモリにSD-RAM上の多くの領域を割り当てて
いるため、フレームメモリ以外の作業用領域(ワークエ
リア)をSD-RAM上に割り当てる余裕がないという問題点
がある。ここでフレームメモリ以外のワークエリアの代
表的なものは、オンスクリーンディスプレイ(OSD)用の
データの格納に用いるワークエリアである。OSDとは、
操作者の指示に従って動画像上にオーバレイされる文字
フォントやコンピュ−タグラフィックスであり、現在時
刻を表示するためのカウンタや、『再生』『停止』『録
画』等、画像復号装置が現在行っている処理内容を表示
画面上に表示する際に用いられる。また操作者からの入
力を受け付けるためのメニューを描画する場合にも本OS
Dは用いられる。In the prior art described above, since a large area on the SD-RAM is allocated to the three frame memories, a work area (work area) other than the frame memory has a margin to be allocated on the SD-RAM. There is a problem that there is no. Here, a typical work area other than the frame memory is a work area used for storing data for an on-screen display (OSD). What is OSD?
A character font or computer graphics that is overlaid on a moving image in accordance with an operator's instruction. A counter for displaying the current time and an image decoding device such as "play", "stop", "record", etc. It is used when displaying the processing content being performed on the display screen. This OS is also used when drawing menus to accept input from the operator.
D is used.
【0007】OSDデータを格納するだけの余裕がSD-RAM
に存在しない場合、OSDデータ格納領域を確保するため
にメモリ増設を行わねばならない。そのような増設が非
現実的であるなら、図28に示すようなメモリマッピン
グを行うことが考えられる。図28は、図27において
2Bank×608ロウ×256カラムという領域を占めていた非
参照画像データフレームメモリを2Bank×507ロウ×256
カラムというサイズに削減し、削減により生じた2Bank
×101ロウ×256カラムという空き領域をOSDデータ格納
領域に割り当てている。[0007] SD-RAM has room for storing OSD data
If it does not exist, additional memory must be added to secure the OSD data storage area. If such expansion is impractical, memory mapping as shown in FIG. 28 may be performed. FIG. 28 corresponds to FIG.
The non-reference image data frame memory that occupied the area of 2 Bank x 608 rows x 256 columns is changed to 2 Bank x 507 rows x 256
Reduced to the size of a column, 2Bank created by the reduction
A free area of × 101 rows × 256 columns is allocated to the OSD data storage area.
【0008】このようなBピクチャ削減策は、Bピクチャ
が参照されないという特質に着眼している。即ち、フレ
ームメモリに格納されているIピクチャやPピクチャを
削減すれば画質劣化が、これらのピクチャデータを参照
している他のピクチャデータの画質に波及する可能性が
あるが、フレームメモリに格納されているBピクチャ
は、復号時において参照されないので、Bピクチャの画
質劣化は他のピクチャデータの画質に波及する恐れはな
い。従って、フレームメモリにおけるBピクチャの占有
領域の削減は、IピクチャやPピクチャの占有領域の削減
と比較して画質劣化を許容しやすいものと考え、Bピク
チャのピクチャデータを格納するフレームメモリを他の
タイプのピクチャデータのフレームメモリと比較して小
さくとっているのである。[0008] Such B picture reduction measures focus on the characteristic that B pictures are not referenced. In other words, if I-pictures and P-pictures stored in the frame memory are reduced, the picture quality degradation may affect the picture quality of other picture data referring to these picture data. Since the B-picture is not referred to at the time of decoding, the deterioration of the picture quality of the B-picture does not affect the picture quality of other picture data. Therefore, it is considered that the reduction of the occupied area of the B picture in the frame memory is more likely to allow image quality degradation than the reduction of the occupied area of the I picture or P picture. Is smaller than the frame memory of the picture data of the type.
【0009】Bピクチャのサイズを小さくする方法に
は、Bピクチャを構成する色差データを飛び飛びに生成
する(サブサンプルする)方法がある。これは、一般に
人間の目は輝度のきめ細かさを高精度に認識することが
できるが、色差のきめ細かさについての認識精度はそれ
ほど高くない。このような人間の視覚特性を根拠とし
て、上記のようなデータ削減は実現されている。As a method of reducing the size of a B picture, there is a method of generating (sub-sampling) color difference data constituting the B picture at intervals. In general, human eyes can recognize the fineness of luminance with high accuracy, but the recognition accuracy of fineness of color difference is not so high. On the basis of such human visual characteristics, data reduction as described above has been realized.
【0010】[0010]
【発明が解決しようとする課題】しかしながらBピクチ
ャの色差のみのサブサンプルを行うと、表示の際、Iピ
クチャ、Pピクチャが表示されている期間と、Bピクチャ
が表示されている期間との画質の整合性が悪化する。即
ち、Iピクチャ、Pピクチャが表示されている期間におい
て画質の劣化が無いのに対して、Bピクチャが表示され
ている期間においてのみ、画質が劣化するので、動画像
の再生中、画質が良い期間と悪い期間の双方が画面上に
現れることになる。特に動画像を記録媒体に記録して持
ち運ぶ場合、或は、通信媒体を通じて遠方に送信する場
合、高い圧縮率を得るため、動画像において多くの画像
がBピクチャに符号化され、I,Pピクチャに符号化される
画像の数は僅かとなるので、これらの多くのBピクチャ
の画質が劣化すると、動画像全体の画質が悪いような印
象を操作者に与えてしまう。However, when a sub-sample of only the color difference of a B picture is performed, the image quality of a period in which an I picture or a P picture is displayed and a period in which a B picture is displayed are displayed. The consistency of the data is deteriorated. That is, the image quality is not deteriorated during the period in which the I picture and the P picture are displayed, but is deteriorated only in the period in which the B picture is displayed. Both periods and bad periods will appear on the screen. In particular, when a moving image is recorded on a recording medium and carried, or when transmitted distantly through a communication medium, in order to obtain a high compression ratio, many images in the moving image are encoded into B pictures, and I and P pictures are encoded. Since the number of images to be encoded is small, the image quality of these many B pictures deteriorates, giving the operator an impression that the image quality of the entire moving image is poor.
【0011】ここで多くの再生装置において、OSDデー
タ用の格納領域を必要とするのは、操作者からの指示に
従って、OSDを表示する場合である。OSDは、操作者から
の指示に従って表示されるため、OSDデータのための領
域確保は、OSDデータ表示が要求されている時点にだけ
行なえばよいが、従来技術では、ワークエリアを常時確
保するため、Bピクチャの画質が必要以上に犠牲にされ
ているという問題点がある。Here, in many reproducing apparatuses, a storage area for OSD data is required when an OSD is displayed in accordance with an instruction from an operator. Since the OSD is displayed according to an instruction from the operator, the area for the OSD data needs to be secured only when the OSD data display is requested, but in the related art, the work area is always secured. However, there is a problem that the image quality of the B picture is sacrificed more than necessary.
【0012】本発明の目的は、画質を犠牲にせずに、OS
Dデータを始めとする各種データを格納するためのワー
クエリアをメモリ上に確保することができる画像復号化
装置を得ることである。[0012] It is an object of the present invention to provide an operating system without sacrificing image quality.
It is an object of the present invention to provide an image decoding apparatus which can secure a work area for storing various data including D data on a memory.
【0013】[0013]
【課題を解決するための手段】上記目的は、ホスト装置
からの指示に従って、ビデオストリームに含まれる複数
のピクチャデータを1つずつ復号し、復号済みのピクチ
ャデータを記憶装置に書き込む画像復号装置であって、
ここで複数のピクチャデータには、符号化方式が相違す
る複数タイプのピクチャデータが含まれていて、前記記
憶装置は、復号済みのピクチャデータであって、最新の
ものをタイプ別に書き込む複数のフレーム領域を有して
おり、フレーム領域に格納されている復号済みの他のピ
クチャデータを参照しながら、ビデオストリームに含ま
れる複数のピクチャデータを1つずつ復号する復号手段
と、新たなピクチャデータが復号されると、そのピクチ
ャデータを、既にフレーム領域に書き込まれている復号
済みピクチャデータに上書きする上書手段と、ホスト装
置が記憶装置にワークエリアを確保する旨の要求を発す
ると、所定タイプのピクチャデータの一部分であって復
号手段による復号がなされる前のもの、又は、所定タイ
プのピクチャデータの復号済みの一部分であって上書手
段による上書き前のものが書き込まれるべきフレーム領
域内の部分領域をワークエリアに割り当てる領域割当手
段とを備える前記画像復号装置により達成される。An object of the present invention is to provide an image decoding apparatus which decodes a plurality of picture data contained in a video stream one by one according to an instruction from a host device and writes the decoded picture data to a storage device. So,
Here, the plurality of picture data includes a plurality of types of picture data having different encoding schemes, and the storage device stores a plurality of frames of decoded picture data, in which the latest one is written by type. Decoding means for decoding a plurality of pieces of picture data included in the video stream one by one while referring to other decoded picture data stored in the frame area. When the picture data is decoded, the picture data is overwritten with the decoded picture data already written in the frame area. When the host device issues a request to secure a work area in the storage device, a predetermined type A part of the picture data before decoding by the decoding means, or a predetermined type of picture data And a region allocating unit for allocating, to the work area, a partial region in a frame region in which a decoded part of the above and overwritten by the overwriting unit is to be written.
【0014】[0014]
【発明の実施の形態】(第1実施形態)以降、図面を参
照しながら画像復号装置が備えられるMPEGストリームの
再生装置について説明する。図1は、MPEGストリーム再
生装置の構成を示す図である。本図において再生装置
は、画像復号装置に相当するAVデコーダ21と、SD-RAM
22と、ホストマイコン23とからなる。DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) Hereinafter, an MPEG stream reproducing apparatus provided with an image decoding apparatus will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration of an MPEG stream reproducing apparatus. In the figure, a playback device includes an AV decoder 21 corresponding to an image decoding device, and an SD-RAM.
22 and a host microcomputer 23.
【0015】SD-RAM22は、2Bank×2048ロウ×256カラ
ムの領域を有している。これらの領域のうち、512byte
のサイズを有する1ロウの領域をページ領域という。図
2は、SD-RAM22のメモリ割り当てを示す図である。本
図において、SD-RAM22上には、符号化ストリームバッ
ファ領域51、参照画像データAフレームメモリ52、
参照画像データBフレームメモリ53、非参照画像デー
タフレームメモリ54が割り当てられている。The SD-RAM 22 has an area of 2 Bank × 2048 rows × 256 columns. 512 bytes of these areas
Is called a page area. FIG. 2 is a diagram showing the memory allocation of the SD-RAM 22. In this figure, an encoded stream buffer area 51, a reference image data A frame memory 52,
A reference image data B frame memory 53 and a non-reference image data frame memory 54 are allocated.
【0016】符号化ストリームバッファ領域51は、外
部から入力されてきたMPEGストリームを未復号のまま蓄
積しておくための領域である。ここでMPEGストリームと
は、複数のエレメンタリーストリームを含むビットスト
リームである。エレメンタリーストリームには、ビデオ
ストリームと、オーディオストリームとがあり、そのう
ちビデオストリームのデータ構造を図3に示す。The coded stream buffer area 51 is an area for storing an MPEG stream input from the outside without decoding. Here, the MPEG stream is a bit stream including a plurality of elementary streams. The elementary stream includes a video stream and an audio stream, and the data structure of the video stream is shown in FIG.
【0017】図3は、ビデオストリームのデータ構造を
示す図である。ビデオストリームは、画像の空間周波数
成分に基づいて圧縮されている。このような画像圧縮方
式では、画面上の数画素を一つの圧縮単位としている。
その圧縮単位の中で最も小さいものはブロックと呼ばれ
る。ブロックとは、縦8画素×横8画素からなる画素の
集まりである。圧縮単位においてブロックの次に小さい
ものが、図3の第5段目に示すMB(マクロブロック)であ
り、縦16画素×横16画素からなる。通常符号化時には、
このマクロブロックを符号化単位として、画像間の時間
的相関性に基づいた情報圧縮が行われる。また復号時に
もこのマクロブロックを復号化単位としてフレーム間予
測方式の動き補償が行われる。FIG. 3 is a diagram showing a data structure of a video stream. The video stream has been compressed based on the spatial frequency components of the image. In such an image compression method, several pixels on the screen are used as one compression unit.
The smallest compression unit is called a block. A block is a group of pixels consisting of 8 pixels vertically and 8 pixels horizontally. The next smallest block in the compression unit is the MB (macroblock) shown in the fifth row of FIG. 3, which is composed of 16 pixels vertically by 16 pixels horizontally. During normal encoding,
Using this macroblock as a coding unit, information compression based on temporal correlation between images is performed. At the time of decoding, motion compensation of the inter-frame prediction method is performed using the macro block as a decoding unit.
【0018】本図の第1段目は、ビデオストリームの構
成を示す。本図においてビデオストリームは、Group of
Picture(GOP)を複数配してなる。本図の第2段目は、G
OPの構成を示す。GOPは、Iピクチャ、Bピクチャ、Pピク
チャという3つのタイプのピクチャデータ(図中のI,P,
B)を1以上含み、先頭には必ずIピクチャが存在する。The first row of the figure shows the structure of a video stream. In this figure, the video stream is group of
It consists of multiple pictures (GOPs). The second row in the figure is G
3 shows the configuration of the OP. GOP is composed of three types of picture data (I, P,
B), and an I picture always exists at the beginning.
【0019】本図の第3段目は、ピクチャデータの構成
を示す。ピクチャデータは、ピクチャヘッダと、複数の
スライスから構成される。本図の第4段目は、スライス
の構成を示す。スライスは、スライスヘッダと、複数の
マクロブロックとを有する。本図の第5段目は、マクロ
ブロックの構成を示す。マクロブロックは、マクロブロ
ックヘッダを有し、横16×縦16の画素データからなる。
ここで横16×縦16の画素データは、横8×縦8の輝度デー
タからなる輝度ブロックを4個有しており、横8×縦8の
青色差データからなる青色差ブロック(Cbブロック)
と、横8×縦8の赤色差データからなる赤色差ブロック
(Crブロック)とを含む。ここで、マクロブロックに含
まれる輝度データの数が横16×縦16であるのに、マクロ
ブロックに含まれている色差データの数が横8×縦8であ
るのは、色差データは、輝度データ程の解像度を必要と
しないからであり、色差データの数を減らしてマクロブ
ロックのデータサイズの縮小を図っているのである。The third row in the figure shows the structure of picture data. The picture data includes a picture header and a plurality of slices. The fourth row in the figure shows the configuration of the slice. A slice has a slice header and a plurality of macroblocks. The fifth row in the figure shows the configuration of a macroblock. The macro block has a macro block header and is composed of 16 × 16 pixel data.
Here, the 16 × 16 pixel data has four luminance blocks composed of 8 × 8 luminance data, and a blue difference block (Cb block) composed of 8 × 8 blue difference data
And a red color difference block (Cr block) composed of 8 × 8 vertical red color difference data. Here, the number of pieces of luminance data included in a macroblock is 16 × 16, but the number of chrominance data included in a macroblock is 8 × 8 is that the chrominance data is This is because the resolution of data is not required as much as the data, and the number of color difference data is reduced to reduce the data size of the macroblock.
【0020】本図におけるピクチャヘッダ、スライスヘ
ッダ、マクロブロックヘッダは、動き補償に関する情報
等様々なデータを含んでいるが、この中で本実施形態に
おいて特に参照するのはピクチャヘッダにおけるPictur
e Coding Type、スライスヘッダにおけるSlice Start C
ode、マクロブロックヘッダにおけるMacroblock Addres
s Incrementである。The picture header, slice header, and macroblock header in the figure include various data such as information on motion compensation. Among them, the picture header in the present embodiment is particularly referred to in this embodiment.
e Coding Type, Slice Start C in slice header
ode, Macroblock Addres in macroblock header
s Increment.
【0021】Picture Coding Type(PCT)は、当該ヘッダ
を含むピクチャデータがIピクチャであるか、Bピクチ
ャ、Pピクチャであるかを示す。このPCTを参照すること
により、本ヘッダを含むピクチャデータがBピクチャを
構成するか、Iピクチャ、Pピクチャを構成するかを判定
することができる。Slice Start Code(SSC)は、スライ
スの先頭を示す4Byteのコードであり、その最後の1Byte
は、スライスの垂直位置を示す。The Picture Coding Type (PCT) indicates whether the picture data including the header is an I picture, a B picture, or a P picture. By referring to the PCT, it can be determined whether the picture data including the header forms a B picture, an I picture, or a P picture. Slice Start Code (SSC) is a 4-byte code indicating the start of a slice, and the last 1 byte
Indicates the vertical position of the slice.
【0022】Macroblock Address Increment(MBAI)は、
スライス先頭のものと、それ以外のものとで何を表すか
が異なる。即ちスライス先頭のマクロブロックについて
のMBAIは、このスライス先頭のマクロブロックが画像の
1ラインにおいて画面左から何番目に位置するかを画面
上の絶対座標を用いて表現している。それ以外のマクロ
ブロックについてのMBAIは、直前マクロブロックからの
スキップ数を示す。即ち、複数マクロブロックが連続し
ているがそのうち幾つかのマクロブロックが欠落してい
る場合、その欠落部の直後に位置するマクロブロックの
MBAIは、その欠落しているマクロブロックの数を示すた
めに用いられる。Macroblock Address Increment (MBAI) is
What is represented by the first slice and the other slices are different. That is, the MBAI for the macroblock at the beginning of the slice is such that the macroblock at the beginning of the slice is
The position of one line from the left of the screen in one line is expressed using absolute coordinates on the screen. The MBAI for other macroblocks indicates the number of skips from the previous macroblock. That is, when a plurality of macroblocks are continuous but some of them are missing, the macroblock located immediately after the missing portion
MBAI is used to indicate the number of the missing macroblock.
【0023】以上のSSC,MBAIを参照することにより、本
ヘッダに後続するマクロブロックの本体がピクチャデー
タにおいてどこに位置するかを知ることができる。参照
画像データAフレームメモリ52、参照画像データBフレ
ームメモリ53、非参照画像データフレームメモリ54
は、2Bank×608ロウ×256カラムの領域からなり、Iピク
チャ、Pピクチャ、Bピクチャを復号して得られた1画面
分の画素データが格納される。By referring to the above SSC and MBAI, it is possible to know where the main body of the macroblock following this header is located in the picture data. Reference image data A frame memory 52, reference image data B frame memory 53, non-reference image data frame memory 54
Is composed of an area of 2 Bank × 608 rows × 256 columns, and stores pixel data of one screen obtained by decoding an I picture, a P picture, and a B picture.
【0024】これらのフレームメモリにおける復号済み
ピクチャデータは、所定の順序でラインバッファメモリ
140に読み出されて、ビデオ出力部108により映像
信号に変換される。この"所定の順序"とは表示順序と呼
ばれ、ビデオストリームにおけるピクチャデータの順序
(符号化順序)と異なる順序である。参照画像データA
フレームメモリ52、参照画像データBフレームメモリ
53、非参照画像データフレームメモリ54を設けてい
るのは、符号化順序から表示順序への入れ替えを行うと
いう意味合いもある。The decoded picture data in these frame memories is read out to the line buffer memory 140 in a predetermined order, and is converted into a video signal by the video output unit 108. The “predetermined order” is called a display order, which is different from the order (encoding order) of the picture data in the video stream. Reference image data A
The provision of the frame memory 52, the reference image data B frame memory 53, and the non-reference image data frame memory 54 also means that the encoding order is switched to the display order.
【0025】ここでGOPに含まれる複数のピクチャデー
タがフレームメモリ上の参照画像データAフレームメモ
リ52、参照画像データBフレームメモリ53、非参照
画像データフレームメモリ54にどのように格納される
かについて説明する。図16は、GOPに含まれる複数の
ピクチャデータと、フレームメモリの対応を示す図であ
る。図16(a)においてGOPにはピクチャデータI1,B
2,B3,P4,B5,B6,P7,B8,B9が含まれている。また図16
(a)、図16(b)における矢印は、復号時において
参照される側のピクチャデータと参照する側のピクチャ
データとの関係を示している。この矢印を参照すると、
ピクチャデータB2の復号時にはピクチャデータI1,P0が
参照され、ピクチャデータB3の復号時にもピクチャデー
タI1,P0が、ピクチャデータP4の復号時にはピクチャデ
ータI1が参照されることがわかる。Here, how a plurality of picture data included in the GOP are stored in the reference image data A frame memory 52, the reference image data B frame memory 53, and the non-reference image data frame memory 54 in the frame memory. explain. FIG. 16 is a diagram illustrating the correspondence between a plurality of pieces of picture data included in a GOP and a frame memory. In FIG. 16A, the GOP contains picture data I1, B
2, B3, P4, B5, B6, P7, B8, B9. FIG.
Arrows in (a) and (b) of FIG. 16 indicate the relationship between the referenced picture data and the referenced picture data during decoding. Referring to this arrow,
It can be seen that the picture data I1 and P0 are referenced when decoding the picture data B2, the picture data I1 and P0 are also referenced when decoding the picture data B3, and the picture data I1 is referenced when decoding the picture data P4.
【0026】これらのピクチャデータは図16(c)に
示すように参照画像データAフレームメモリ52、参照
画像データBフレームメモリ53、非参照画像データフ
レームメモリ54に格納される。参照画像データAフレ
ームメモリ52にはIピクチャI1、PピクチャP7が格納さ
れ、参照画像データBフレームメモリ53にはPピクチャ
P4、IピクチャI10が格納されることがわかる。非参照画
像データフレームメモリ54にはBピクチャB2,B3,B5,B
6,B8,B9が格納されることがわかる。These picture data are stored in a reference image data A frame memory 52, a reference image data B frame memory 53, and a non-reference image data frame memory 54, as shown in FIG. The reference picture data A frame memory 52 stores an I picture I1 and a P picture P7, and the reference picture data B frame memory 53 stores a P picture
It can be seen that P4 and I picture I10 are stored. The B picture B2, B3, B5, B
6, B8 and B9 are stored.
【0027】図16(d)は図16(a)、図16
(b)に示したピクチャデータI1,B2,B3,P4,B5,B6,P7,B
8,B9がどのような順序で表示されるかを示す図である。
図16(d)を参照すると、GOPにおいて先頭に位置し
ているピクチャデータI1はピクチャデータB2,B3より後
に表示され、またピクチャデータB5,B6より前に位置し
ていたピクチャデータP4はピクチャデータB5,B6より後
に表示されている。FIG. 16D shows FIGS. 16A and 16B.
Picture data I1, B2, B3, P4, B5, B6, P7, B shown in (b)
FIG. 9 is a diagram showing the order in which 8, B9 are displayed.
Referring to FIG. 16D, the picture data I1 located at the top of the GOP is displayed after the picture data B2 and B3, and the picture data P4 located before the picture data B5 and B6 is the picture data. It is displayed after B5 and B6.
【0028】これらのフレームメモリにおいて1つのペ
ージ領域には、マクロブロック2個分の複数の輝度デー
タ、又はマクロブロック4個分の青色差データと赤色差
データとの組みが格納されている。各マクロブロックを
格納しているページ領域のアドレス(BANKアドレス−RO
Wアドレス)は、表示画面におけるマクロブロックのX座
標、Y座標を所定の演算式に適用することにより算出さ
れる。各画素データの格納アドレス(BANKアドレス−RO
Wアドレス−COLUMNアドレス)も、表示画面における画
素のX座標、Y座標を所定の演算式に適用することにより
算出される。In each of these frame memories, one page area stores a plurality of luminance data for two macroblocks or a set of blue difference data and red difference data for four macroblocks. Address of the page area storing each macroblock (BANK address-RO
W address) is calculated by applying the X and Y coordinates of the macroblock on the display screen to a predetermined arithmetic expression. Storage address of each pixel data (BANK address-RO
W address−COLUMN address) is also calculated by applying the X and Y coordinates of the pixel on the display screen to a predetermined arithmetic expression.
【0029】フレームメモリの一例として輝度データを
格納したROWアドレス0000_0000以降のフレームメモリの
内容を図4に示し、色差データを格納したROWアドレス1
000_0000以降のフレームメモリの内容を図5に示す。図
4において、バンク0−ROWアドレス0000_0000のページ
領域には、左上頂点を(0,0)とし、右下頂点を(15,31)と
した矩形領域(0,0)〜(15,31)の輝度データ(図6の一例
では、ハッチング範囲h1部に相当する。)が格納され、
バンク1−ROWアドレス0000_0000のページ領域には、左
上頂点を(16,0)とし、右下頂点を(31,31)とした矩形領
域(16,0)〜(31,31)の輝度データ(図6の一例では、ハ
ッチング範囲h2部に相当する。)が格納されている。FIG. 4 shows the contents of the frame memory after the ROW address 0000_0000 storing the luminance data as an example of the frame memory, and the ROW address 1 storing the color difference data.
FIG. 5 shows the contents of the frame memory after 000_0000. In FIG. 4, in the page area of bank 0-ROW address 0000_0000, rectangular areas (0,0) to (15,31) with the upper left vertex being (0,0) and the lower right vertex being (15,31) (Corresponding to the hatched area h1 in the example of FIG. 6).
In the page area of bank 1-ROW address 0000_0000, luminance data of rectangular areas (16,0) to (31,31) where the upper left vertex is (16,0) and the lower right vertex is (31,31) In the example of FIG. 6, it corresponds to the hatched area h2).
【0030】図5において、バンク0−ROWアドレス1000
_0000のページ領域には、左上頂点を(0,0)とし、右下頂
点を(7,31)とした矩形領域(0,0)〜(7,31)の青色差デー
タと、左上頂点を(0,0)とし、右下頂点を(7,31)とした
矩形領域(0,0)〜(7,31)の赤色差データと(図7の一例
では、ハッチング範囲h31部に相当する。)が格納さ
れ、バンク1−ROWアドレス1000_0000のページ領域に
は、左上頂点を(8,0)とし、右下頂点を(15,31)とした矩
形領域(8,0)〜(15,31)の赤色差データ、青色差データ
(図7の一例では、ハッチング範囲h32部に相当す
る。)が格納されている。In FIG. 5, bank 0-ROW address 1000
In the page area of _0000, the upper left vertex is (0,0), the lower right vertex is (7,31), the rectangular area (0,0) to (7,31) blue difference data, and the upper left vertex is (0,0) and the red difference data of the rectangular areas (0,0) to (7,31) with the lower right vertex being (7,31) (corresponding to the hatched area h31 in the example of FIG. 7). ) Is stored, and in the page area of bank 1-ROW address 1000_0000, rectangular areas (8,0) to (15,31) in which the upper left vertex is (8,0) and the lower right vertex is (15,31). 31) stores red difference data and blue difference data (corresponding to a hatched area h32 in the example of FIG. 7).
【0031】ホストマイコン23は、ストリーム再生装
置における主制御を行う。主制御において、ホストマイ
コン23は、装置外部からMPEGストリームが入力されて
くると、当該MPEGストリームの復号をAVデコーダ21に
指示する。また、操作者がOSDを表示する旨の操作を行
った場合、オンデマンド式に領域確保要求信号をAVデコ
ーダ21に出力することによりOSDデータ格納領域の領
域確保を要求する。AVデコーダ21がSD-RAM22内に領
域を確保すると、確保領域に書き込むべきLookUp Table
(LUT)と、OSDデータを転送する。The host microcomputer 23 performs main control in the stream reproducing device. In the main control, when an MPEG stream is input from outside the device, the host microcomputer 23 instructs the AV decoder 21 to decode the MPEG stream. In addition, when the operator performs an operation to display the OSD, an area securing request signal is output to the AV decoder 21 in an on-demand manner to request the area securing of the OSD data storage area. When the AV decoder 21 secures an area in the SD-RAM 22, a LookUp Table to be written to the secured area
(LUT) and transfer OSD data.
【0032】LUTとは、複数のエントリデータを含む。
各エントリデータは、OSDにおける一画素に割り当てる
べき輝度データと、当該一画素に割り当てるべき赤色差
データと、当該一画素に割り当てるべき青色差データ
と、OSDを表示映像としてどのような割合で混合し、出
力するかを示す混合率αとを含む。LUTにおけるそれぞ
れのエントリデータは、赤、青、緑、黄等の固有色を表
現するよう輝度データ、青色差データ、赤色差データの
値が設定されており、それぞれの値は互いに異なる。The LUT includes a plurality of entry data.
Each entry data is a mixture of the luminance data to be assigned to one pixel in the OSD, the red difference data to be assigned to the one pixel, the blue difference data to be assigned to the one pixel, and the OSD as a display image at any ratio. And a mixing ratio α indicating whether to output. In each entry data in the LUT, values of luminance data, blue difference data, and red difference data are set so as to express unique colors such as red, blue, green, and yellow, and the respective values are different from each other.
【0033】OSDデータは、OSDイメージデータと、コマ
ンドとを含む。このコマンドは、OSDイメージデータを
展開する場合の縦横サイズ、画面にオーバレイすべき座
標を示す座標情報と、LUTのエントリアドレスと、OSDイ
メージデータの先頭アドレスとを含む。ここでOSDイメ
ージデータとは、所定ビットが各画素に割り当てられて
おり、それらの所定ビットのビット値の設定により画像
内容を表現したデータである。この所定ビットのビット
長の長さは、画素を描画する際の色数を表す、例えば、
この所定ビットが1ビットなら、2色を用いてOSDイメー
ジデータの各画素は着色されることになり、所定ビット
が2ビットなら4色を用いて、所定ビットが4ビットなら1
6色を用いてOSDイメージデータの各画素は着色されるこ
とになる。The OSD data includes OSD image data and a command. This command includes the vertical and horizontal sizes when the OSD image data is expanded, coordinate information indicating the coordinates to be overlaid on the screen, the entry address of the LUT, and the start address of the OSD image data. Here, the OSD image data is data in which predetermined bits are assigned to each pixel, and image contents are represented by setting the bit values of the predetermined bits. The bit length of the predetermined bit indicates the number of colors when drawing a pixel, for example,
If the predetermined bit is one bit, each pixel of the OSD image data is colored using two colors.If the predetermined bit is two bits, four colors are used, and if the predetermined bit is four bits, one pixel is used.
Each pixel of the OSD image data is colored using six colors.
【0034】LUTのエントリアドレスは、所定ビットの
それぞれの値に対応づけられており、当該値が割り当て
られた画素を表示する際、LUTのうちどのエントリデー
タにおける輝度データ、青色差データ、赤色差データを
用いて各画素を着色するかを示す。例えば、OSDイメー
ジデータは、"0 1"の羅列により図14に示すような文
字「P」を描画しているものとする。その1bitが"0"と設
定された画素は背景色に設定されることを示し、1bit
が"1"と設定された画素は前景色に設定されることを示
す。ここでビット"0"は、緑色の輝度データ、青色差デ
ータ、赤色差データを有するエントリデータのエントリ
アドレスに対応づけられており、ビット"1"は、黄色の
輝度データ、青色差データ、赤色差データを有するエン
トリデータのエントリアドレスに対応づけられているも
のとすると、図14に示した文字「P」は画面上で、緑
色を背景にして黄色で表示されることになる。The entry address of the LUT is associated with each value of a predetermined bit. When displaying a pixel to which the value is assigned, the luminance data, the blue color difference data, and the red color difference data of any entry data of the LUT are displayed. Indicates whether each pixel is colored using data. For example, in the OSD image data, it is assumed that a character “P” as shown in FIG. 14 is drawn by a sequence of “01”. A pixel whose 1 bit is set to "0" indicates that the pixel is set to the background color.
The pixel for which is set to "1" indicates that the pixel is set to the foreground color. Here, bit “0” is associated with an entry address of entry data having green luminance data, blue difference data, and red difference data, and bit “1” is yellow luminance data, blue difference data, red Assuming that the character "P" shown in FIG. 14 is associated with the entry address of the entry data having the difference data, the character "P" shown on the screen is displayed in yellow with a green background.
【0035】またホストマイコン23は、上記のように
OSDデータを転送する際、当該OSDデータが透明にて表示
されるか、非透明で表示されるかをAVデコーダ21に通
知する。本実施形態において不透明なOSDデータとは、
複数のエントリアドレスにて指定されているエントリデ
ータにおける混合率αの全てが100%に設定されているOS
Dデータをいい、透明なOSDデータとは、複数のエントリ
アドレスにて指定されている全エントリデータにおける
混合率αのうち少なくとも1つ以上が99%以下に設定され
ているOSDデータをいう。The host microcomputer 23 operates as described above.
When the OSD data is transferred, the OSD data is notified to the AV decoder 21 as to whether the OSD data is displayed in a transparent or non-transparent manner. In this embodiment, the opaque OSD data is
An OS where the mixture ratio α in the entry data specified by multiple entry addresses is all set to 100%
D data, and transparent OSD data refers to OSD data in which at least one or more of the mixture ratios α in all entry data specified by a plurality of entry addresses is set to 99% or less.
【0036】AVデコーダ21が、このように出力された
LUTと、OSDデータをSD-RAM22に書き込むと、AVデコー
ダ21からフレームメモリ54上の書込先領域の先頭ア
ドレスと、LUT及びOSDデータのデータ長とが出力される
ので、ホストマイコン23はこれらを保持する。以降、
操作者からOSDの消去が指示されるまで、ホストマイコ
ン23は領域確保要求信号の出力を継続して行う。The AV decoder 21 outputs in this manner.
When the LUT and the OSD data are written into the SD-RAM 22, the head address of the write destination area on the frame memory 54 and the data length of the LUT and the OSD data are output from the AV decoder 21. Hold. Or later,
Until the operator instructs to delete the OSD, the host microcomputer 23 continuously outputs the area reservation request signal.
【0037】逆に、動画像の再生のみが操作者から指示
されており、OSDデータ格納領域を確保する必要がない
場合に、ホストマイコン23は領域確保を指示しない。
ホストマイコン23がOSDデータを読み出そうとする場
合、上記のように出力された空き領域の先頭アドレスに
基づいて、OSDデータの読出指示と、OSDデータの読出先
の先頭アドレスと、データ長とをAVデコーダ21に出力
する。Conversely, when only the reproduction of the moving image is instructed by the operator and it is not necessary to secure the OSD data storage area, the host microcomputer 23 does not instruct the area reservation.
When the host microcomputer 23 attempts to read the OSD data, the OSD data read instruction, the start address of the OSD data read destination, the data length, and the like are set based on the start address of the empty area output as described above. To the AV decoder 21.
【0038】本実施形態においてホストマイコン23
は、領域確保要求信号をOSDを格納する際に発するがそ
の他にも、ストリーム再生装置における他の処理のメモ
リ使用状況から画像復号化処理に必要なメモリをすべて
確保できない恐れがある場合、および、ストリーム再生
装置に追加機能を実行させるため、新たにメモリを確保
する必要がある場合等に出力してもよい。In this embodiment, the host microcomputer 23
Is issued when storing an OSD, an area reservation request signal, in addition, when there is a possibility that not all the memory required for image decoding processing can be reserved due to the memory usage status of other processing in the stream reproduction device, and It may be output when it is necessary to secure a new memory in order to cause the stream reproducing device to execute the additional function.
【0039】AVデコーダ21は、装置外部から入力され
てくるMPEGストリームを復号して、映像信号、音声信号
として出力する。図8は、AVデコーダ21の内部構成を
示す図である。図8に示すようにAVデコーダ21は、外
部I/Oユニット100、ストリーム入力部101、ホス
トバッファメモリ102、ビットストリームFIFO10
3、Setup部104、コード変換部105、Pixel演算部
106、動き補償部107、ビデオ出力部108、オー
ディオ出力部109、SD-RAM制御ユニット111、I/O
プロセッサ113、及びラインバッファメモリ140と
からなる。The AV decoder 21 decodes an MPEG stream input from outside the device and outputs it as a video signal and an audio signal. FIG. 8 is a diagram showing the internal configuration of the AV decoder 21. As shown in FIG. 8, the AV decoder 21 includes an external I / O unit 100, a stream input unit 101, a host buffer memory 102, a bit stream FIFO 10
3. Setup unit 104, code conversion unit 105, Pixel calculation unit 106, motion compensation unit 107, video output unit 108, audio output unit 109, SD-RAM control unit 111, I / O
It comprises a processor 113 and a line buffer memory 140.
【0040】外部I/Oユニット100は、ホストマイコ
ン23がOSDデータを出力すると、これをホストバッフ
ァメモリ102に一旦書き込み、その後SD-RAM22上に
確保されたOSDデータ領域に転送させる。また、ホスト
マイコン23からの読み出し指示に応じてOSDデータを
読み出し、ホストマイコン23に出力する。ストリーム
入力部101は、記録媒体や通信媒体からMPEGストリー
ムが取り出されてAVデコーダ21に入力されてくると、
MPEGストリームをビデオエレメンタリーストリーム(ビ
デオストリーム)、オーディオエレメンタリーストリー
ム(オーディオストリーム)に分離してホストバッファ
メモリ102に書き込む。When the host microcomputer 23 outputs the OSD data, the external I / O unit 100 writes the OSD data into the host buffer memory 102 once, and then transfers the OSD data to the OSD data area secured on the SD-RAM 22. In addition, in response to a read instruction from the host microcomputer 23, the OSD data is read and output to the host microcomputer 23. When an MPEG stream is extracted from a recording medium or a communication medium and input to the AV decoder 21, the stream input unit 101
The MPEG stream is separated into a video elementary stream (video stream) and an audio elementary stream (audio stream) and written into the host buffer memory 102.
【0041】ホストバッファメモリ102は、ストリー
ム入力部101により書き込まれたエレメンタリースト
リームを格納している。SDRAM制御ユニット111は、
これまでホストバッファメモリ102が格納しているMP
EGストリームを転送するようI/Oプロセッサ113がSD-
RAM制御ユニット111に命じると、当該MPEGストリー
ムを符号化ストリームバッファ領域51にDMA転送す
る。またビットストリームFIFO103における未復号の
MPEGストリームの残量に応じて、SD-RAM制御ユニット1
11はエレメンタリーストリームをビットストリームFI
FO103に読み出す。更にSD-RAM制御ユニット111
は、動き補償部107と参照画像データAフレームメモ
リ52〜非参照画像データフレームメモリ54との間の
DMA転送と、参照画像データAフレームメモリ52〜非参
照画像データフレームメモリ54及びOSDデータ格納領
域からラインバッファメモリ140へのDMA転送と、SD-
RAMのOSDデータ格納領域にあるLUTからLUT-RAMへのDMA
転送とを行う。The host buffer memory 102 stores the elementary stream written by the stream input unit 101. The SDRAM control unit 111
MP stored in the host buffer memory 102 so far
The I / O processor 113 transfers the EG stream to the SD-
When the RAM control unit 111 is instructed, the MPEG stream is DMA-transferred to the encoded stream buffer area 51. The undecoded data in the bit stream FIFO 103
SD-RAM control unit 1 according to the remaining amount of MPEG stream
11 is a bit stream FI for the elementary stream.
Read to FO103. Furthermore, SD-RAM control unit 111
Is between the motion compensation unit 107 and the reference image data A frame memory 52 to the non-reference image data frame memory 54.
DMA transfer, DMA transfer from the reference image data A frame memory 52 to the non-reference image data frame memory 54 and the OSD data storage area to the line buffer memory 140,
DMA from LUT to LUT-RAM in OSD data storage area of RAM
And transfer.
【0042】ビットストリームFIFO103は、符号化ス
トリームバッファ領域51に格納されているエレメンタ
リーストリームを取り込む。ビットストリームFIFO10
3は取り込んだエレメンタリーストリームを先入れ先出
し方式に保持する。このようにして保持したエレメンタ
リーストリームのうち、ビデオストリームをコード変換
部105に出力し、オーディオストリームをSetup部1
04に出力する。The bit stream FIFO 103 takes in the elementary stream stored in the coded stream buffer area 51. Bitstream FIFO10
Reference numeral 3 holds the captured elementary stream in a first-in first-out manner. Of the elementary streams held in this manner, the video stream is output to the code conversion unit 105, and the audio stream is output to the Setup unit 1.
04.
【0043】Setup部104は、ビットストリームFIFO
103に保持されているエレメンタリーストリームがビ
デオストリームなら、コード変換部105による復号に
よりそのヘッダ部が伸長されるのを待つ。ヘッダが伸長
されるとこれの解析処理を行い、動きベクトルの抽出を
行う。その後、可変符号長デコード、逆量子化、逆離散
余弦変換、動き補償等が行われている間、音声ストリー
ムの復号処理を行う。The setup unit 104 includes a bit stream FIFO
If the elementary stream held in the video stream 103 is a video stream, it waits until the header section is expanded by decoding by the code conversion section 105. When the header is decompressed, the header is analyzed to extract a motion vector. Thereafter, while variable code length decoding, inverse quantization, inverse discrete cosine transform, motion compensation, and the like are being performed, decoding processing of the audio stream is performed.
【0044】コード変換部105は、マクロブロックが
出力されると、マクロブロックに含まれている4つの輝
度ブロックY0,Y1,Y2,Y3と、2つの色差ブロックCb,Crと
に対して可変符号長デコードを行う。Pixel演算部10
6は、可変符号長デコードがなされた四つの輝度ブロッ
クと、2つの色差ブロックとに対して逆量子化及び逆離
散余弦変換を行う。When the macroblock is output, the code conversion unit 105 performs variable code coding on the four luminance blocks Y0, Y1, Y2, and Y3 and the two color difference blocks Cb and Cr included in the macroblock. Perform long decoding. Pixel operation unit 10
Numeral 6 performs inverse quantization and inverse discrete cosine transform on the four luminance blocks subjected to variable code length decoding and the two chrominance blocks.
【0045】動き補償部107は、Pixel演算部106
により逆量子化及び逆離散余弦変換がなされると、これ
らの処理がなされた輝度ブロック及び色差ブロックに対
応する参照画像のデータをSD-RAM22における参照画像
データAフレームメモリ52、参照画像データBフレーム
メモリ53から読み出し、それぞれにハーフペル処理を
行い、その結果を平均化したものにPixel演算部106
からの出力を加えるという動き補償を行う。その後、動
き補償の結果をSD-RAM22の参照画像データAフレーム
メモリ52〜非参照画像データフレームメモリ54の何
れかに書き込ませる。The motion compensator 107 includes a Pixel calculator 106
When the inverse quantization and the inverse discrete cosine transform are performed, the reference image data corresponding to the luminance block and the chrominance block subjected to these processes is stored in the reference image data A frame memory 52 and the reference image data B frame in the SD-RAM 22. The pixel calculation unit 106 reads the data from the memory 53, performs half-pel processing on each of them, and averages the results.
Motion compensation by adding the output from Thereafter, the result of the motion compensation is written to any one of the reference image data A frame memory 52 to the non-reference image data frame memory 54 of the SD-RAM 22.
【0046】ラインバッファメモリ140は、SD-RAM2
2の参照画像データAフレームメモリ52〜非参照画像
データフレームメモリ54から読み出された画素データ
を2ライン格納しておくためのバッファである。ビデオ
出力部108は、ラインバッファメモリ140に読み出
された2ライン分の画素データと、1ライン分のOSDデー
タ及びLUT RAMからのエントリデータを入力し、所定の
拡大率と、各データの混合率αとに応じてフィルタリン
グを行うことにより、映像信号に変換して外部に接続さ
れたテレビ受像器等のディスプレィ装置に出力する。The line buffer memory 140 is an SD-RAM 2
It is a buffer for storing two lines of pixel data read from the second reference image data A frame memory 52 to the non-reference image data frame memory 54. The video output unit 108 receives the two lines of pixel data read into the line buffer memory 140, the one line of OSD data, and the entry data from the LUT RAM, and inputs a predetermined enlargement ratio and a mixture of each data. By performing filtering in accordance with the rate α, the signal is converted into a video signal and output to an externally connected display device such as a television receiver.
【0047】図9は、ビデオ出力部108の内部構成を
示す図である。本図においてビデオ出力部108は、表
示すべき画像の拡大縮小比率(SRC)に基づいたライン単
位のフィルタリングを行う2つの水平フィルタ71、7
2(Horizonal Filter)と、ライン間のフィルタリングを
行う垂直フィルタ73(Vertical Filter)と、ライン単
位の画素データを背景色(BGColor)と混合する混合器7
4(Blend BGColor)と、ラインバッファメモリ140か
ら読み出されたOSDデータと、LUT-RAMに格納されたLUT
とに基づいてOSDを生成するOSD生成器75(OSD Generat
or)と、ライン単位で画素データとOSDとを混合する混合
器76(Blend OSD)とを備える。FIG. 9 is a diagram showing the internal configuration of the video output unit 108. In the figure, the video output unit 108 is provided with two horizontal filters 71 and 7 that perform line-by-line filtering based on the scaling ratio (SRC) of the image to be displayed.
2 (Horizontal Filter), a vertical filter 73 (Vertical Filter) for filtering between lines, and a mixer 7 for mixing pixel data of each line with a background color (BGColor).
4 (Blend BGColor), the OSD data read from the line buffer memory 140, and the LUT stored in the LUT-RAM
OSD generator 75 (OSD Generat
or) and a mixer 76 (Blend OSD) for mixing pixel data and OSD in line units.
【0048】ここで透明色のOSDデータについては、そ
の混合率αが99%以下であるため、図9における混合器
74の出力画素データのうち、不可視部位についての混
合率は1%以上として混合器76によりフィルタリングが
行われる。非透明色のOSDデータについては、その混合
率αが100%であるため、混合器74の出力画素データの
うち、不可視部位についての混合率は0%として混合器7
6によりフィルタリングが行われる。Since the mixing ratio α of the transparent OSD data is 99% or less, the mixing ratio for the invisible portion of the output pixel data of the mixer 74 in FIG. 9 is set to 1% or more. Filtering is performed by the unit 76. Since the mixing ratio α of the non-transparent OSD data is 100%, the mixing ratio for the invisible portion of the output pixel data of the mixer 74 is set to 0%, and
6 performs filtering.
【0049】オーディオ出力部109は、Setup部10
4により復号されたオーディオデータをSD-RAM22−ホ
ストバッファメモリ102を介して受け取り、音声信号
に変換して装置外部に接続されたスピーカ装置に出力す
る。I/Oプロセッサ113は、AVデコーダにおける複数
のタスクを複数のスレッドに割り当てることにより、複
数タスクを時分割多重にて実行する。The audio output unit 109 is provided for the setup unit 10
4 receives the audio data decoded through the SD-RAM 22-host buffer memory 102, converts it into an audio signal, and outputs it to a speaker device connected to the outside of the device. The I / O processor 113 executes a plurality of tasks by time division multiplexing by assigning a plurality of tasks in the AV decoder to a plurality of threads.
【0050】本実施形態においてこれらのタスクは、復
号処理の復号負荷削減処理と、OSDデータ格納領域確保
処理と、各メモリ間のDMA転送制御とを行う。これらの
処理内容をI/Oプロセッサ113に割り付けるとAVデコ
ーダ21の機能構成は図10に示すものとなる。図10
においてI/Oプロセッサ113は、機能的に出力画像管
理部61、オンデマンド式領域確保部62、OSDデータ
アクセス部63、データ削減制御部64、表示ライン読
出部67から構成され、動き補償部107は機能的に動
き補償処理部65、復号済画素書込部66から構成され
る。In the present embodiment, these tasks perform decoding load reduction processing of decoding processing, OSD data storage area securing processing, and DMA transfer control between memories. When these processing contents are assigned to the I / O processor 113, the functional configuration of the AV decoder 21 is as shown in FIG. FIG.
The I / O processor 113 functionally comprises an output image management unit 61, an on-demand area reservation unit 62, an OSD data access unit 63, a data reduction control unit 64, and a display line reading unit 67. Is functionally composed of a motion compensation processing unit 65 and a decoded pixel writing unit 66.
【0051】出力画像管理部61は、フレームメモリに
格納されている復号済みのピクチャデータにおいて、表
示がなされず、操作者が見ることができない部位(以降
不可視部位という)の縦幅−横幅、座標情報を記憶して
いる。不可視部位には、OSDデータがオーバレイされる
部位と、ディスプレイの性能上、その表示が不可能とな
る部位とがある。The output image management unit 61 calculates the vertical width-horizontal width and coordinates of a part of the decoded picture data stored in the frame memory which is not displayed and cannot be seen by the operator (hereinafter referred to as an invisible part). Information is stored. The invisible part includes a part where the OSD data is overlaid and a part where the display is impossible due to the performance of the display.
【0052】例えばAVデコーダ21から出力された映像
信号はディスプレィ装置において図11(a)に示すよ
うに表示されるものとする。この場合、前者の部位(OS
Dがオーバレイされる部位)は、図11(a)におけるO
SD"PLAY",OSD"12/18 21:36:58"がオーバレイされる領域
である。後者の部位(ディスプレイの性能上、その表示
が不可能となる部位)は、図11(b)におけるピクチ
ャデータの周縁部に位置する縦16画素、横16画素の範囲
である。図中の周縁部を不可視部位としているのは、テ
レビ放送受像用のディスプレィ装置では、このような周
縁部に、色のにじみ等が現れるので、画像復号装置はそ
の画像出力を避けている場合が多いからである。For example, it is assumed that a video signal output from the AV decoder 21 is displayed on the display device as shown in FIG. In this case, the former part (OS
The portion where D is overlaid) corresponds to O in FIG.
SD "PLAY" and OSD "12/18 21:36:58" are areas to be overlaid. The latter part (part that cannot be displayed due to the performance of the display) is a range of 16 pixels vertically and 16 pixels horizontally located at the periphery of the picture data in FIG. 11B. The reason why the peripheral portion in the figure is set as the invisible portion is that, in a display device for receiving a television broadcast, color fringing or the like appears at such a peripheral portion, so that the image decoding device may avoid outputting the image. Because there are many.
【0053】OSDによって現れる不可視部位について
は、表示座標、縦幅−横幅がOSDデータのコマンドに含
まれているので、コマンドに含まれる表示座標、OSDの
縦幅−横幅に基づいて、その位置を特定して縦幅−横
幅、座標情報を算出する。図12は、『PLAY』という文
字列を示すOSDを示す図であり、図13は、OSD『PLAY』
をオーバレイすることにより現れる不可視部位を示す図
である。Since the display coordinates and the height and width are included in the OSD data command, the position of the invisible part appearing by the OSD is determined based on the display coordinates and the OSD height and width included in the command. Specifically, the height-width and coordinate information are calculated. FIG. 12 is a diagram showing an OSD indicating a character string “PLAY”, and FIG. 13 is a diagram showing the OSD “PLAY”.
It is a figure showing an invisible part which appears by overlaying.
【0054】図12に示すようにOSDが(USx,USy)におい
て表示され、その縦幅、横幅が(length_u2,width_u1)で
ある場合、出力画像管理部61は、これらを不可視部位
の座標情報として保持する。尚、本実施形態においてOS
Dデータのサイズは、縦16画素×横16画素の整数倍単位
であり、不可視部位はマクロブロックを最小単位として
管理されているものとする。As shown in FIG. 12, when the OSD is displayed in (USx, USy) and its length and width are (length_u2, width_u1), the output image management unit 61 uses these as coordinate information of the invisible part. Hold. In this embodiment, the OS
It is assumed that the size of the D data is an integral multiple of 16 × 16 pixels, and the invisible portion is managed with a macroblock as a minimum unit.
【0055】オンデマンド式領域確保部62は、OSDデ
ータ格納領域を確保する旨の指示をホストマイコン23
が行うと、OSDデータ格納領域の確保を行う。オンデマ
ンド式領域確保部62により確保される領域とは、フレ
ームメモリにおいてOSDがオーバレイされる部位に対応
する領域と、ディスプレイの性能上、その表示が不可能
となる部位に対応する領域とがある。オンデマンド式領
域確保部62はこれらの領域をOSDデータ格納領域に割
り当てることにより、メモリ増設を行うことなく、復号
化処理に使用しているメモリのみでOSDデータ格納領域
を確保することができる。The on-demand area reservation section 62 issues an instruction to reserve an OSD data storage area to the host microcomputer 23.
Then, the OSD data storage area is secured. The area secured by the on-demand area securing unit 62 includes an area corresponding to the area where the OSD is overlaid in the frame memory and an area corresponding to the area where display is impossible due to the performance of the display. . By allocating these areas to the OSD data storage area, the on-demand area reservation section 62 can secure the OSD data storage area only with the memory used for the decoding process without performing additional memory.
【0056】ここでOSDがオーバレイされる部位につい
て更に詳しく説明する。上述した通り、透明色のもの、
不透明色のものがあり、これから表示すべきOSDデータ
がこの何れであるかはホストマイコン23から通知され
る。オンデマンド式領域確保部62は、透明色のOSDデ
ータに対応する空き領域と、不透明のOSDデータに対応
する空き領域とを異なる管理方法で管理する。Here, the portion where the OSD is overlaid will be described in more detail. As mentioned above, those of transparent color,
There is an opaque color, and the host microcomputer 23 notifies which of these OSD data is to be displayed. The on-demand area securing unit 62 manages a free area corresponding to transparent OSD data and a free area corresponding to opaque OSD data by different management methods.
【0057】ピクチャデータのうち、不透明色のOSDが
オーバレイされる部位はその輝度データ−色差データの
双方が表示画面に現れない。そのため、不透明色のOSD
がオーバレイされる部位は、輝度データの占有領域−色
差データの占有領域の双方を空き領域として管理する。
逆にオンデマンド式領域確保部62は透明色のOSDがオ
ーバレイされる部分については、色差データの占有領域
のみを空き領域として管理する。ここでオンデマンド式
領域確保部62において色差データのみを削減する方法
を採用している理由は、以下の通りである。即ち、ピク
チャデータのうち輪郭を示す輝度データに関しては、た
とえ透明色のOSDがオーバレイされても人間の目ははっ
きり認識できるのに対し、色に関しては、透明色のOSD
がオーバレイされると色の推測が困難となる。このよう
に、OSDがオーバレイされるべき部位において、色デー
タに関する重要度は低く、オーバレイする部位の色を単
一色にしても大きな違和感を感じないためである。In the portion of the picture data where the opaque OSD is overlaid, both the luminance data and the color difference data do not appear on the display screen. Therefore, the opaque OSD
Are managed as empty areas, both of the area occupied by the luminance data and the area occupied by the color difference data.
Conversely, the on-demand area securing unit 62 manages only the occupied area of the color difference data as a free area for the portion where the transparent OSD is overlaid. Here, the reason why the method for reducing only the color difference data is adopted in the on-demand area securing unit 62 is as follows. That is, the luminance data indicating the outline of the picture data can be clearly recognized by the human eye even if the transparent OSD is overlaid, whereas the color OSD of the transparent color is
Is overlaid, it is difficult to estimate the color. As described above, the importance of the color data is low in a portion where the OSD is to be overlaid, and a large uncomfortable feeling is not felt even if the color of the portion to be overlaid is a single color.
【0058】ここでOSDデータ格納領域をこのような空
き領域に確保できるのは以下の理由による。即ち、マク
ロブロックはそのデータサイズが大きく、また連続した
領域に格納されねばならないのに対して、OSDデータ
は、そのサイズが小さく、またそれに含まれるコマンド
は、連続領域に格納されなくてもよい。即ち、分散して
格納されていもよいという性質を有している。そのた
め、フレームメモリ内に断続的に現れる空き領域であっ
ても充分格納可能なのである。The reason why the OSD data storage area can be secured in such a free area is as follows. That is, the macro block has a large data size and must be stored in a continuous area, whereas the OSD data has a small size and the commands included in the OSD data need not be stored in a continuous area. . That is, it has the property that it may be stored in a distributed manner. Therefore, it is possible to sufficiently store even an empty area that appears intermittently in the frame memory.
【0059】尚、動画像上にオーバレイされるものに
は、OSDデータの他にも字幕等の副映像があるが、副映
像は、その表示位置や表示内容、表示範囲が時々刻々と
変化する。このように位置や大きさが変化する領域は、
OSDデータ格納領域としての利用に向かない。また、参
照画像データAフレームメモリ52−参照画像データBフ
レームメモリ53のうち、不可視部位に対応する領域も
OSDデータ格納領域にはむかない。何故なら、Iピクチャ
−Pピクチャは他のピクチャデータ復号時に、不可視部
位も必ず参照されるため、これらのデータの欠落は復号
処理の性能を低下させるからである。It is to be noted that there are sub-images such as subtitles in addition to OSD data to be overlaid on the moving image, and the display position, display content, and display range of the sub-image change every moment. . The area where the position and size change like this is
Not suitable for use as OSD data storage area. Further, in the reference image data A frame memory 52-reference image data B frame memory 53, an area corresponding to the invisible part
Not suitable for OSD data storage area. This is because an I-picture-P-picture always refers to an invisible part when decoding other picture data, and the lack of such data lowers the performance of the decoding process.
【0060】更に、Iピクチャ-Pピクチャが表示されて
いる期間のみ、OSDの消去を許可し、Bピクチャが表示さ
れている期間はOSDの消去を禁ずるという処理を行うの
が望ましい。オンデマンド式領域確保部62は、ホスト
マイコン23が領域確保要求信号を出力することにより
OSDデータ格納領域の領域確保を要求された場合のみ、
空き領域の先頭アドレスと、空き領域の連続長とを示す
空き領域情報と、不可視部位に対応するマクロブロック
の位置情報とを対応づけたテーブルを生成して保持す
る。具体的にいうと、オンデマンド式領域確保部62
は、出力画像管理部61が管理している不可視部位の座
標情報、縦幅−横幅に基づいて、不可視部位に対応する
マクロブロックの位置情報を算出し、それらをテーブル
に登録する。フレームメモリ内空き領域管理テーブルの
一例を図15に示す。図15において本テーブルは、マ
クロブロック位置情報と、アドレス情報とからなる。図
中において(i0,j0)〜(i44,j0)に位置するマクロブロッ
クは不可視部位に位置していて、page_addressY0からLe
ngth45×512のサイズ、page_addressC0からLength45×5
12のサイズを占有しており、これらの領域がOSDデータ
格納領域に割り当てられていることを示す。Further, it is desirable to perform a process of permitting the erasure of the OSD only during the period in which the I picture-P picture is displayed, and prohibiting the erasure of the OSD in the period in which the B picture is displayed. The on-demand area reservation unit 62 outputs the area reservation request signal from the host microcomputer 23.
Only when requested to secure the OSD data storage area,
A table in which the free area information indicating the start address of the free area, the continuous length of the free area, and the position information of the macroblock corresponding to the invisible part is generated and held. More specifically, the on-demand area securing unit 62
Calculates the position information of the macroblock corresponding to the invisible part based on the coordinate information of the invisible part and the height-width width managed by the output image management unit 61 and registers them in a table. FIG. 15 shows an example of the free area management table in the frame memory. In FIG. 15, this table includes macroblock position information and address information. In the figure, the macroblocks located at (i0, j0) to (i44, j0) are located in the invisible region,
ngth45 × 512 size, from page_addressC0 to Length45 × 5
Twelve sizes are occupied, indicating that these areas are allocated to the OSD data storage area.
【0061】尚、第1実施形態では、不可視部位のサイ
ズをマクロブロックの整数倍単位としており、ページ領
域の1/2倍又は1/4倍単位のOSDデータ格納領域が得られ
るようにするものとする。ここでマクロブロックの位置
情報と、空き領域のアドレスとの対応付けについて図1
7を参照しながら説明する。図17において1つの升目
はマクロブロックを意味しており、ハッチングを付した
部位は、不可視部位を意味するものとする。これらのマ
クロブロックには、画面左上からの相対位置を示す位置
情報(i、j)が割り当てられている。In the first embodiment, the size of the invisible portion is set to an integral multiple of the macroblock, so that an OSD data storage area of 1/2 or 1/4 of the page area can be obtained. And Here, the correspondence between the position information of the macro block and the address of the empty area is shown in FIG.
This will be described with reference to FIG. In FIG. 17, one square indicates a macroblock, and a hatched portion indicates an invisible portion. Position information (i, j) indicating a relative position from the upper left of the screen is assigned to these macroblocks.
【0062】そうすると、不可視部位に位置するマクロ
ブロックは、位置情報が(0,0)(1,0)(2,0)(0,1)(1,1)(2,
1)となる。これらの位置情報により指示されるマクロブ
ロックの占有領域を未使用領域とし、マクロブロックが
格納されるページ領域のサイズが512Byteとすると、フ
レームメモリにおいて(i,j)に位置するマクロブロック
に相当する未使用領域のアドレスは以下の式により算出
される。 ADDij=ROWアドレス+COLUMNアドレス ROWアドレス=512×i+α×(W/16)×512byte COLUMNアドレス=β×512byte ここで α=j/Pnumの整数部 β=j/Pnumの小数部 W:ピクチャデータの横幅(720pixel) 16:マクロブロックにおいて1行に位置する画素数 Pnum:ページ領域に格納可能なマクロブロックの数 輝度データ Pnum=2 色差データ Pnum=4 i,j≧0 輝度データについては以上の式により表される先頭アド
レスから256Byteが使用可となり、色差データについて
は以上の式により表される先頭アドレスから128Byteが
使用可となる。Then, the macroblock located in the invisible part has position information of (0,0) (1,0) (2,0) (0,1) (1,1) (2,
1). Assuming that the occupied area of the macroblock indicated by these pieces of position information is an unused area and the size of the page area in which the macroblock is stored is 512 bytes, the macroblock corresponds to the macroblock located at (i, j) in the frame memory. The address of the unused area is calculated by the following equation. ADDij = ROW address + COLUMN address ROW address = 512 × i + α × (W / 16) × 512 bytes COLUMN address = β × 512 bytes where α = integer part of j / Pnum β = decimal part of j / Pnum W: Picture data Width (720 pixels) 16: Number of pixels located in one row in macroblock Pnum: Number of macroblocks that can be stored in page area Luminance data Pnum = 2 Chrominance data Pnum = 4 i, j ≧ 0 , 256 bytes can be used from the start address expressed by the above equation, and 128 bytes can be used from the start address expressed by the above equation for the color difference data.
【0063】尚、画素の座標とアドレスとの対応づけに
は、特開平6-189298号公報や、特開平8-294115号公報に
記載されているものが挙げられるが、画面上の座標とメ
モリ上の配置が一意に決まるものであればその他の手法
を適用してもよい。OSDデータアクセス部63は、LUT
と、OSDデータとの書き込みをホストマイコン23が指
示し、外部からLUTと、OSDデータが転送されてきた場
合、転送されてきたLUTと、OSDデータをオンデマンド式
領域確保部62により管理されている複数の空き領域の
うち1つに書き込むと共に、その書き込まれた空き領域
の先頭アドレスと、データ長とをホストマイコン23に
返す。それによりホストマイコン23は転送したLUTとO
SDデータとがSD-RAM22のどの領域に格納されたかを知
ることができる。The correspondence between the coordinates of the pixels and the addresses includes those described in JP-A-6-189298 and JP-A-8-294115. Other methods may be applied as long as the above arrangement is uniquely determined. The OSD data access unit 63 has a LUT
When the host microcomputer 23 instructs writing of the OSD data, the LUT and the OSD data are transferred from the outside, and the transferred LUT and the OSD data are managed by the on-demand area securing unit 62. In addition to writing to one of a plurality of free areas, the head address of the written free area and the data length are returned to the host microcomputer 23. As a result, the host microcomputer 23 transfers the transferred LUT and O
It is possible to know in which area of the SD-RAM 22 the SD data has been stored.
【0064】ホストマイコン23がOSDデータの読出指
示と、OSDデータの読出先の先頭アドレスと、データ長
とを出力した場合、OSDデータアクセス部63は、その
先頭アドレス以降に格納されたOSDデータを読み出す。
データ削減制御部64は、OSDデータ格納領域を確保す
る旨の指示をホストマイコン23が行うと、Bピクチャ
のピクチャデータのうちこれからフレームメモリに書き
込まれようとしているマクロブロックであって、当該OS
Dデータ格納領域を格納先としたマクロブロックを廃棄
する。以降、オンデマンド式領域確保部62によりフレ
ームメモリ内にOSDデータ格納領域が確保されている
間、当該OSDデータ格納領域に格納されているOSDデータ
が上書きされないよう、Bピクチャのピクチャデータの
うちこれからフレームメモリに書き込まれようとしてい
るマクロブロックであって、当該OSDデータ格納領域を
格納先としたマクロブロックの廃棄を継続する。マクロ
ブロックの廃棄方法には様々なものがあるが、そのうち
画像復号装置全体の効率化に最も貢献する方法は、未だ
復号がなされていないマクロブロックを廃棄する方法で
ある。When the host microcomputer 23 outputs the OSD data read instruction, the start address of the OSD data read destination, and the data length, the OSD data access unit 63 reads the OSD data stored after the start address. read out.
When the host microcomputer 23 issues an instruction to secure the OSD data storage area, the data reduction control unit 64 determines that the macro block of the picture data of the B picture to be written to the frame memory from now on,
Discard the macro block whose D data storage area is the storage destination. Thereafter, while the OSD data storage area is secured in the frame memory by the on-demand area securing section 62, the OSD data stored in the OSD data storage area is not overwritten so that the OSD data stored in the OSD data storage area is not overwritten. The macro block to be written to the frame memory and the macro block having the OSD data storage area as a storage destination continue to be discarded. There are various methods for discarding macroblocks. Among them, the method that most contributes to the efficiency improvement of the entire image decoding apparatus is a method for discarding macroblocks that have not been decoded yet.
【0065】具体的にいうと、データ削減制御部64
は、まず入力された未復号のMPEGストリームのピクチャ
データのピクチャヘッダ内のPicture Coding Typeを参
照して、入力された未復号ピクチャデータがIピクチ
ャ、Pピクチャであるか、Bピクチャであるかを判定し、
入力された未復号ピクチャデータがIピクチャ、Pピクチ
ャの場合はホストバッファメモリ102から符号化スト
リームバッファ領域51へと転送する。入力された未復
号のピクチャデータがBピクチャの場合は、データ削減
制御部64は、各スライスに含まれるSSCと、不可視部
位の位置情報とを照合して、不可視部位のマクロブロッ
クを含むスライスがどれであるかを判定する。不可視部
位を含む未復号スライスについては、各マクロブロック
についてのMBAIと、不可視部位の位置情報とを照合し
て、不可視部位に該当するマクロブロックがどれである
かを判定する。不可視部位に該当しないマクロブロック
はホストバッファメモリ102から符号化ストリームバ
ッファ領域51へのDMA転送をSD-RAM制御ユニット11
1に行わせ、不可視部位に該当する未復号マクロブロッ
クについては符号化ストリームバッファ領域51へのDM
A転送を行わせない。このように不可視部位に該当する
未復号マクロブロックについてのDMA転送を省略するこ
とにより、不可視部位に該当する未復号マクロブロック
をホストバッファメモリ102内で廃棄する。More specifically, the data reduction control unit 64
First refers to the Picture Coding Type in the picture header of the input undecoded MPEG stream picture data to determine whether the input undecoded picture data is an I picture, a P picture, or a B picture. Judge,
When the input undecoded picture data is an I picture or a P picture, the picture data is transferred from the host buffer memory 102 to the encoded stream buffer area 51. If the input undecoded picture data is a B picture, the data reduction control unit 64 checks the SSC included in each slice with the position information of the invisible part, and determines that the slice including the macroblock of the invisible part is not. Determine which one is. For the undecoded slice including the invisible part, the MBAI of each macroblock is collated with the position information of the invisible part to determine which macroblock corresponds to the invisible part. Macroblocks that do not correspond to invisible parts are transferred from the host buffer memory 102 to the coded stream buffer area 51 by the SD-RAM control unit 11.
1 for the undecoded macroblock corresponding to the invisible part,
ADo not transfer. By omitting the DMA transfer for the undecoded macroblock corresponding to the invisible part, the undecoded macroblock corresponding to the invisible part is discarded in the host buffer memory 102.
【0066】ここで不可視部位がOSDがオーバレイされ
る部位であり、当該OSDが透明色である場合、データ削
減制御部64は非参照画像データの不可視部位に該当す
るマクロブロックのうち、色差データのみを廃棄し、輝
度データについては全てホストバッファメモリ102か
ら符号化ストリームバッファ領域51への転送を行わせ
る。Here, the invisible portion is a portion on which the OSD is overlaid, and when the OSD is a transparent color, the data reduction control unit 64 determines whether only the color difference data is included in the macroblock corresponding to the invisible portion of the non-reference image data. Is discarded, and all the luminance data is transferred from the host buffer memory 102 to the encoded stream buffer area 51.
【0067】例えば不可視部位の一つが図13に示すも
のである場合、データ削減制御部64はマクロブロック
MB152,MB153,MB154,MB155がホストバッファメモリ10
2に入力されてくるのを待つ。もし入力されると、図1
8の第2段目に示すように、データ削減制御部64はホ
ストバッファメモリ102内においてこれらマクロブロ
ックMB152,MB153,MB154,MB155を廃棄し、不可視部位直
前に位置するマクロブロックMB150,MB151と、不可視部
位直後に位置するマクロブロックMB156,MB157,MB158と
が隣り合って符号化ストリームバッファ領域51に格納
されるようにSD-RAM制御ユニット111にDMA転送を行
わせる。図18において第1段目にはマクロブロックMB
150,MB151,MB152,MB153,MB154,MB155,MB156,MB157,MB15
8が示されているが第2段目ではマクロブロックMB150,M
B151,MB156,MB157,MB158が示されている。これは、SD-R
AM22内の符号化ストリームバッファ領域51では、マ
クロブロックMB152,MB153,MB154,MB155抜きのマクロブ
ロック列が格納されていることを示す。For example, when one of the invisible parts is the one shown in FIG. 13, the data reduction control unit 64
MB152, MB153, MB154, MB155 are host buffer memory 10
Wait for input to 2. If entered, Figure 1
8, the data reduction control unit 64 discards these macroblocks MB152, MB153, MB154, and MB155 in the host buffer memory 102, and macroblocks MB150 and MB151 located immediately before the invisible part. The SD-RAM control unit 111 performs DMA transfer so that the macroblocks MB156, MB157, and MB158 located immediately after the invisible part are stored adjacently in the encoded stream buffer area 51. In FIG. 18, the first row shows a macro block MB.
150, MB151, MB152, MB153, MB154, MB155, MB156, MB157, MB15
8 is shown, but in the second row, macroblocks MB150, M
B151, MB156, MB157, MB158 are shown. This is SD-R
This indicates that the coded stream buffer area 51 in the AM 22 stores a macroblock sequence excluding the macroblocks MB152, MB153, MB154, and MB155.
【0068】このように未復号のマクロブロックを廃棄
することにより、復号すべきマクロブロックの数を減ら
せば、コード変換部105−Pixel演算部106の復号
負荷を減らし、かつ復号化に伴うホストバッファメモリ
102−SD-RAM22、SD-RAM22−ビットストリームFI
FO103、SD-RAM22−動き補償部107間のDMA転送
の転送量及びその頻度を下げることも可能となる。これ
により画像復号装置において、復号処理量が減るため、
電力の消費量を軽減することができ、また復号化処理に
伴うDMA転送の減少により、その他のDMA転送、特に外部
から入力されるLUTやOSDデータのSD-RAM22書き込みの
DMA転送の高速化が実現できる。更に画像復号装置にお
ける電磁波輻射を軽減することができる。By discarding the undecoded macroblocks as described above, the number of macroblocks to be decoded is reduced, the decoding load on the code conversion unit 105-Pixel operation unit 106 is reduced, and the host buffer associated with the decoding is reduced. Memory 102-SD-RAM22, SD-RAM22-bit stream FI
It is also possible to reduce the transfer amount and the frequency of the DMA transfer between the FO 103, the SD-RAM 22 and the motion compensation unit 107. This reduces the amount of decoding processing in the image decoding device.
The power consumption can be reduced, and the decrease in the number of DMA transfers associated with the decoding process allows other DMA transfers, especially the writing of externally input LUTs and OSD data to the SD-RAM 22 to be written.
High-speed DMA transfer can be realized. Furthermore, electromagnetic wave radiation in the image decoding device can be reduced.
【0069】尚、本実施形態では、マクロブロックヘッ
ダ、スライスヘッダを解析する機能をI/Oプロセッサ1
13に設け、I/Oプロセッサ113を構成するデータ削
減制御部64が不可視部位に位置するマクロブロックを
ホストバッファメモリ102において検出した。しかし
このようにマクロブロックヘッダ、スライスヘッダを解
析する機能は一般にコード変換部105が具備している
ものであり、I/Oプロセッサ113にそのような解析機
能を設けることが望ましく無い場合は、コード変換部1
05において不可視部位に位置するマクロブロックを検
出させ、廃棄させることも可能である。In this embodiment, the function of analyzing the macroblock header and the slice header is provided by the I / O processor 1.
The data reduction control unit 64 provided in the I / O processor 113 and included in the I / O processor 113 detects a macroblock located in an invisible part in the host buffer memory 102. However, the function of analyzing the macroblock header and the slice header as described above is generally provided in the code conversion unit 105, and if it is not desirable to provide such an analysis function in the I / O processor 113, Conversion unit 1
At 05, it is also possible to detect a macroblock located in an invisible part and discard it.
【0070】動き補償処理部65は、SD-RAM22におけ
る参照画像データAフレームメモリ52、参照画像デー
タBフレームメモリ53から読み出し、それぞれにハー
フペル処理を行い、その結果を平均化したものにPixel
演算部106からの出力を加えるという動き補償を行
う。その後、動き補償の結果を復号済画素書込部66に
出力する。The motion compensation processing section 65 reads out from the reference image data A frame memory 52 and the reference image data B frame memory 53 in the SD-RAM 22, performs half-pel processing on each of them, and averages the results to Pixel.
Motion compensation is performed by adding the output from the operation unit 106. Thereafter, the result of the motion compensation is output to the decoded pixel writing unit 66.
【0071】復号済画素書込部66は、格納先となるペ
ージ領域の先頭アドレスを示すポインタを有しており、
動き補償処理部65から次々と出力される復号済みマク
ロブロックを順次ページ領域に書き込んでゆく。図19
(a)は、復号済画素書込部66による輝度データ書き
込みを示す図である。本図において復号済画素書込部6
6は、縦方向に並ぶ2つのマクロブロックMB0,MB44を構
成する輝度データを、矢印(0)(1)(2)(3)・・・・・(29)(30)
(31)に示すようにフレームメモリに書き込む。同様に縦
方向に並ぶ2つのマクロブロックMB1,MB45を構成する画
素データを、矢印(32)(33)(34)(35)・・・・・(61)(62)(63)
に示すようにフレームメモリに書き込む。以上のような
画素データの書き込みは復号済画素書込部66がリニア
アドレッシングモードとよばれるDMA転送をSD-RAM制御
ユニット111に行わせることにより実現される。ここ
でリニアアドレッシングモードとはアドレスを順次イン
クリメントしてゆくアドレス増加法をいう。The decoded pixel writing section 66 has a pointer indicating the head address of the page area to be stored, and
The decoded macroblocks output one after another from the motion compensation processing unit 65 are sequentially written in the page area. FIG.
(A) is a figure which shows the brightness data writing by the decoded pixel writing part 66. In the figure, the decoded pixel writing unit 6
Reference numeral 6 denotes the luminance data constituting the two macroblocks MB0 and MB44 arranged in the vertical direction by arrows (0) (1) (2) (3) ... (29) (30)
Write to the frame memory as shown in (31). Similarly, the pixel data constituting the two macro blocks MB1 and MB45 arranged in the vertical direction are indicated by arrows (32) (33) (34) (35) ... (61) (62) (63)
Write to the frame memory as shown in FIG. The writing of pixel data as described above is realized by the decoded pixel writing unit 66 causing the SD-RAM control unit 111 to perform a DMA transfer called a linear addressing mode. Here, the linear addressing mode refers to an address increment method in which addresses are sequentially incremented.
【0072】特に注意すべきは、復号済画素書込部66
は不可視部位直前のマクロブロックがページ領域に格納
された段階で、当該マクロブロックに隣り合っている不
可視部位直後のマクロブロックを格納するよう、マクロ
ブロックの格納先をスキップさせる処理を行う点であ
る。具体的にいうと、不可視部位以外のマクロブロック
を格納するにあたって復号済画素書込部66はポインタ
のインクリメントを行い、書込先アドレスを進行させ
て、ポインタが指示するアドレスに復号済みのマクロブ
ロックを書き込む。その後、不可視部位直前に位置する
マクロブロックが出力され、ページ領域に格納された段
階で、格納先アドレスを、不可視部位直後のマクロブロ
ックが格納されるべきページ領域の先頭アドレスにまで
進めて、ポインタのインクリメントを再開する。It should be particularly noted that the decoded pixel writing unit 66
Is that, when the macroblock immediately before the invisible part is stored in the page area, a process of skipping the storage destination of the macroblock is performed so that the macroblock immediately after the invisible part adjacent to the macroblock is stored. . Specifically, upon storing a macroblock other than the invisible part, the decoded pixel writing unit 66 increments the pointer, advances the write destination address, and sets the decoded macroblock to the address indicated by the pointer. Write. After that, when the macro block located immediately before the invisible part is output and stored in the page area, the storage destination address is advanced to the head address of the page area where the macro block immediately after the invisible part is to be stored, and a pointer is stored. Restarts the increment of.
【0073】図18の第4段目におけるページ領域P15
0,P151,P152,P153・・・・・P157,P158は、マクロブロックMB
150,MB151,MB152,MB153・・・・・MB157,MB158をそれぞれ格
納するためのページ領域である。ここで、第2段目に示
す未復号のマクロブロックMB150は、読み出されて復号
処理後、ポインタの示すページ領域P150に書き込まれ
る。書き込みが終了すると、ポインタのインクリメント
を行い、書込先アドレスをP151の先頭アドレスに進行さ
せる。その後、不可視部位直前に位置するマクロブロッ
クMB151が出力され当該マクロブロックが格納される
と、格納先アドレスをページ領域P156の先頭アドレスに
まで進めてポインタのインクリメントを再開する。これ
により、第4段目に示すように、非参照画像データフレ
ームメモリ54においてマクロブロックMB152,MB153,MB
154,MB155が格納されるべき領域P152,P153,P154,P155は
空き領域として確保され、これをOSDデータ格納領域と
して利用することができる。The page area P15 in the fourth row of FIG.
0, P151, P152, P153 ... P157 and P158 are macro blocks MB
150, MB151, MB152, MB153,... Are page areas for storing MB157 and MB158, respectively. Here, the undecoded macroblock MB150 shown in the second row is read and decoded, and then written into the page area P150 indicated by the pointer. When the writing is completed, the pointer is incremented, and the write destination address is advanced to the start address of P151. After that, when the macro block MB151 located immediately before the invisible portion is output and the macro block is stored, the storage destination address is advanced to the top address of the page area P156, and the increment of the pointer is restarted. As a result, as shown in the fourth row, the macro blocks MB152, MB153, MB
The areas P152, P153, P154, and P155 in which 154 and MB155 are to be stored are secured as free areas, and can be used as OSD data storage areas.
【0074】尚、横方向において第s列目(s≧0)に位置
するマクロブロックを書き込む場合、第s列目のマクロ
ブロックについてのオフセットは、その画面左端からそ
のマクロブロックまでに位置するマクロブロック数によ
って決まる。ページ領域のサイズが512Byteなので、横
方向において第s列目に位置するマクロブロックを書き
込む際、そのマクロブロックが含まれるライン先頭アド
レスに(512)×sByteを足したアドレスからマクロブロッ
クを書き込めばよい。When writing a macroblock located in the s-th column (s ≧ 0) in the horizontal direction, the offset for the macroblock in the s-th column is the macroblock located from the left edge of the screen to the macroblock. Determined by the number of blocks. Since the size of the page area is 512 bytes, when writing a macroblock located in the s-th column in the horizontal direction, it is sufficient to write the macroblock from the address obtained by adding (512) × sByte to the line head address containing the macroblock .
【0075】表示ライン読出部67は、フレームメモリ
に格納されている画素データをライン単位でラインバッ
ファメモリ140に読み出し、ビデオ出力部108に受
け渡す。そのため、表示ライン読出部67は読出先を示
すポインタを有しており、当該ポインタを更新させなが
ら各ページ領域に格納されている画素データを一行ずつ
読み出してゆく。図19(b)は、表示ライン読出部6
7による画素データ読み出しの一例を示す図である。本
図において各マクロブロックの第1行目の画素データを
読み出すには、画素データを矢印(0)(1)(2)(3)・・・・・(4
4)に示すように読み出せばよい。続いて各マクロブロッ
クの第2、第3行目を読み出すには、画素データを矢印
(45)(46)(47)・・・・・(89)、矢印(90)(91)(92)・・・・・(134)
に示すように読み出せばよい。このような行単位の画素
データの読み出しは、ビデオアウトモードと呼ばれるDM
A転送をSD-RAM制御ユニット111に行わせることによ
り実現される。ここでビデオアウトモードとはアドレス
を順次インクリメントしてゆき、16Byte単位に512Byte
のオフセットを加えるアドレス増加法をいう。The display line reading section 67 reads the pixel data stored in the frame memory into the line buffer memory 140 line by line and transfers it to the video output section 108. Therefore, the display line reading unit 67 has a pointer indicating the reading destination, and reads out the pixel data stored in each page area line by line while updating the pointer. FIG. 19B shows the display line reading unit 6.
7 is a diagram showing an example of pixel data reading by No. 7; FIG. In this figure, in order to read the pixel data in the first row of each macro block, the pixel data is indicated by arrows (0) (1) (2) (3).
What is necessary is just to read as shown in 4). Then, to read the second and third rows of each macro block,
(45) (46) (47) ... (89), Arrow (90) (91) (92) ... (134)
What is necessary is just to read as shown in FIG. Such readout of pixel data on a row-by-row basis is referred to as a video-out mode.
This is realized by causing the SD-RAM control unit 111 to perform the A transfer. Here, the video-out mode means that the address is incremented sequentially, 512 bytes in 16 byte units.
Address increase method that adds an offset of
【0076】本実施形態において特に留意すべきは、非
参照画像データフレームメモリ54において不可視部位
に対応する部分領域に設けられているOSDデータ領域で
ある。ここでOSDデータが不透明(OSDデータの混合率α
が100%)である場合、不可視部位における復号画像の混
合率は0%に設定されるので、ビデオ出力部108内のフ
ィルタにより、不可視部位の内容は、全く表示されるこ
とが無い。従って、フレームメモリ内にOSDデータ領域
が存在しており、その内部のデータが、画像として全く
意味をなさないものであっても、そのようなOSDデータ
領域の内容は、混合率0%としてOSDと混合されるので、
出力映像信号には影響を与えず、画面上にそのような内
容が現れることは無い。故に、OSDデータ領域の前後に
位置する画素データと区別することなく、OSDデータ領
域の内容を含めた1ライン分のデータをまとめてライン
バッファメモリ140へと読み出しても、画面上には目
障りな表示ゴミが表示されることはない。What should be particularly noted in this embodiment is the OSD data area provided in the partial area corresponding to the invisible part in the non-reference image data frame memory 54. Here, the OSD data is opaque (mixing rate of OSD data α
Is 100%), the mixing ratio of the decoded image in the invisible part is set to 0%, and the content of the invisible part is not displayed at all by the filter in the video output unit 108. Therefore, even if the OSD data area exists in the frame memory, and the data inside the OSD data area does not make any sense as an image, the contents of such an OSD data area are regarded as OSD data with a mixing ratio of 0%. Is mixed with
It has no effect on the output video signal and no such content appears on the screen. Therefore, even if one line of data including the contents of the OSD data area is collectively read out to the line buffer memory 140 without being distinguished from the pixel data located before and after the OSD data area, there is no obstruction on the screen. No garbage is displayed.
【0077】また表示ライン読出部67は、透明色のOS
Dデータを表示させようとする場合、不可視部位直前の
マクロブロックから行単位の画素データが読み出された
段階で輝度データについてはその他の部位と同様に画素
データを読み出すが、色差データについては不可視部位
に対応する領域に確保されているOSDデータ格納領域を
スキップすると共に、OSDデータ領域に対応する不可視
部位の色差データの代わりに単一色又はグレイスケール
のデータをラインバッファメモリ140に供給する。具
体的にいうと、次に読み出すべきラインが不可視部位と
重複している場合、その不可視部位の直前まで画素デー
タを読み出す。続いて不可視部位の直後から画素データ
を読み出すとともに不可視部位については、不可視部位
に相当する色差データに割り当てられた単一色又はグレ
イスケールのデータをラインバッファメモリ140に供
給するのである。The display line reading section 67 is provided with a transparent OS
When the D data is to be displayed, the pixel data is read out from the macroblock immediately before the invisible portion at the stage when the pixel data is read out in units of rows in the same manner as the other portions, but the chrominance data is invisible. The OSD data storage area secured in the area corresponding to the part is skipped, and single color or gray scale data is supplied to the line buffer memory 140 instead of the color difference data of the invisible part corresponding to the OSD data area. Specifically, when a line to be read next overlaps an invisible part, pixel data is read up to immediately before the invisible part. Subsequently, the pixel data is read immediately after the invisible part, and for the invisible part, single color or gray scale data assigned to the color difference data corresponding to the invisible part is supplied to the line buffer memory 140.
【0078】表示ライン読出部67の処理の具体例を図
18を対象として説明する。図18の第4段目に示すペ
ージ領域P150,P151,P152,P153・・・・・P157,P158において
ページ領域P150,P151にはマクロブロックが格納され、
ページ領域P156,P157,P158には、マクロブロックMB156,
MB157,MB158が格納されている。これらの間に位置する
ページ領域P152,P153,P154,P155はOSDデータ格納領域と
して利用されている。A specific example of the processing of the display line reading section 67 will be described with reference to FIG. In the page areas P150, P151, P152, P153... Shown in the fourth row of FIG. 18, macroblocks are stored in the page areas P150 and P151 in P157 and P158,
In the page areas P156, P157, P158, macro blocks MB156,
MB157 and MB158 are stored. The page areas P152, P153, P154, and P155 located therebetween are used as OSD data storage areas.
【0079】これらの領域から一ラインの画素データを
読み出す際、ページ領域P150,P151からは、マクロブロ
ックMB150,MB151の画素を一行ずつ読み出す。その後、
ポインタに示されている読出先をページ領域P151からペ
ージ領域P156の先頭アドレスにまで進めてマクロブロッ
クMB156,MB157,MB158以降の同一ラインを示す画素デー
タを一行ずつ読み出す。また、表示ライン読出部は不可
視部位の色差データに該当するラインバッファメモリ1
40内の領域に単一色又はグレイスケールのデータを供
給する。When one line of pixel data is read from these areas, the pixels of the macro blocks MB150 and MB151 are read from the page areas P150 and P151 line by line. afterwards,
The read destination indicated by the pointer is advanced from the page area P151 to the start address of the page area P156, and pixel data indicating the same line after the macroblocks MB156, MB157, MB158 is read line by line. Further, the display line reading unit stores the line buffer memory 1 corresponding to the color difference data of the invisible part.
A single color or gray scale data is supplied to the area within 40.
【0080】これにより図18の第5段目に示すよう
に、ラインバッファメモリ140において不可視部位に
該当する箇所には単一色又はグレイスケールのデータが
格納されることになる。以降、フロ−チャ−トを参照し
ながらデータ削減制御部64、復号済画素書込部66、
表示ライン読出部67の処理内容について説明する。As a result, as shown in the fifth row of FIG. 18, data of a single color or gray scale is stored in a portion corresponding to an invisible portion in the line buffer memory 140. Thereafter, referring to the flowchart, the data reduction control unit 64, the decoded pixel writing unit 66,
The processing contents of the display line reading unit 67 will be described.
【0081】先ず図20のフロ−チャ−トを参照してデ
ータ削減制御部64の処理内容について説明する。本フロ
−チャ−トにおいてデータ削減制御部64は先ずステッ
プS1においてピクチャヘッダがホストバッファメモリ
102内に新たに格納されるのを待つ。もし格納されれ
ば、ステップS2に移行する。ステップS2では、新た
に格納されたピクチャヘッダがBピクチャを示している
かを判定する。もしIピクチャ、Pピクチャを示している
場合、ステップS3においてホストバッファメモリ10
2に順次蓄積されるピクチャデータを符号化ストリーム
バッファ領域51に転送し、転送されたピクチャデータ
が占有していたホストバッファメモリ102上の領域を
空き領域に解放する。解放後、ステップS1に移行し
て、ピクチャデータのピクチャヘッダがホストバッファ
メモリ102に格納されるのを待つ。空き領域の解放
後、外部からストリームの一部分が新たに入力されれ
ば、入力されたその一部分は当該空き領域に書き込まれ
る。First, the processing contents of the data reduction control unit 64 will be described with reference to the flowchart of FIG. In this flowchart, the data reduction control unit 64 first waits for a picture header to be newly stored in the host buffer memory 102 in step S1. If it is stored, the process proceeds to step S2. In step S2, it is determined whether the newly stored picture header indicates a B picture. If it indicates an I picture or a P picture, in step S3 the host buffer memory 10
2 is transferred to the encoded stream buffer area 51, and the area on the host buffer memory 102 occupied by the transferred picture data is released to a free area. After the release, the process shifts to step S1 to wait for the picture header of the picture data to be stored in the host buffer memory 102. If a part of the stream is newly input from outside after the release of the free area, the input part is written to the free area.
【0082】ここでピクチャデータのヘッダが検出さ
れ、そのヘッダがBピクチャを示している場合、ステッ
プS13に移行する。ステップS13は、ループ処理の
エントリステップであり、Bピクチャに含まれる複数の
スライスのうち、先頭のものを選んで、第1のループ処
理の対象とする。第1のループ処理は、ステップS4か
らステップS12までの処理、ステップS17−ステッ
プS18を対象としており、ステップS13によって選
ばれたスライスは、このループ処理の対象となる。Here, the header of the picture data is detected, and if the header indicates a B picture, the flow shifts to step S13. Step S13 is an entry step of the loop processing, in which a leading slice is selected from among a plurality of slices included in the B picture and is set as a target of the first loop processing. The first loop processing covers the processing from step S4 to step S12, steps S17 to S18, and the slice selected in step S13 is the target of this loop processing.
【0083】先ずステップS4においてデータ削減制御
部64は、Bピクチャに含まれる先頭スライスのスライ
スヘッダをホストバッファメモリ102から検出し、ス
テップS5においてスライスヘッダにおけるSSCが不可
視部位に該当しているかを判定する。該当しない場合、
ステップS6に移行して、データ削減制御部64は当該
ヘッダを有するスライスをホストバッファメモリ102
から符号化ストリームバッファ領域51に転送し、ステ
ップS7において転送されたスライスが占有していたホ
ストバッファメモリ102上の領域を空き領域に解放し
た後、ステップS14に移行する。First, in step S4, the data reduction control unit 64 detects the slice header of the first slice included in the B picture from the host buffer memory 102, and determines in step S5 whether the SSC in the slice header corresponds to an invisible part. I do. If not,
In step S6, the data reduction control unit 64 stores the slice having the header in the host buffer memory 102.
To the coded stream buffer area 51, and releases the area on the host buffer memory 102 occupied by the transferred slice in step S7 to an empty area, and then proceeds to step S14.
【0084】スライスヘッダにおけるSSCが不可視部位
に該当していると判定された場合、ステップS15に移
行する。ステップS15は、第2のループ処理のエント
リステップであり、スライスに含まれる複数のマクロブ
ロックのうち、先頭のものを選んで、第2のループ処理
の対象とする。第2のループ処理は、ステップS8から
ステップS12までの処理、ステップS17−ステップ
S18の処理を繰り返すものであり、ステップS15に
よって選ばれたマクロブロックは、このループ処理の対
象となる。If it is determined that the SSC in the slice header corresponds to the invisible part, the flow shifts to step S15. Step S15 is an entry step of the second loop processing, in which the head one of the plurality of macroblocks included in the slice is selected and set as the target of the second loop processing. The second loop processing repeats the processing from step S8 to step S12 and the processing from step S17 to step S18, and the macro block selected in step S15 is subjected to this loop processing.
【0085】先ずステップS8においてマクロブロック
ヘッダを検出し、ステップS9において当該マクロブロ
ックのヘッダにおけるMBAIが不可視部位に該当している
かを判定する。もし該当しない場合、ステップS10に
おいて当該ヘッダを有するマクロブロックを符号化スト
リームバッファ領域51に転送し、ステップS11にお
いて転送されたマクロブロックが占有していたホストバ
ッファメモリ102上の領域を空き領域に解放した後、
ステップS16に移行する。First, in step S8, a macroblock header is detected, and in step S9, it is determined whether the MBAI in the header of the macroblock corresponds to an invisible part. If not, the macro block having the header is transferred to the coded stream buffer area 51 in step S10, and the area in the host buffer memory 102 occupied by the transferred macro block in step S11 is released to a free area. After doing
Move to step S16.
【0086】ステップS9において当該マクロブロック
のヘッダにおけるMBAIが不可視部位に該当していると判
定された場合、ステップS17においてデータ削減制御
部64は不可視部位が透明色のOSDに対応するかを判定
する。もし対応しない場合、ステップS18をスキップ
してステップS12に移行する。もし対応する場合、そ
のままステップS18に移行する。ステップS18にお
いてデータ削減制御部64は不可視部位に該当するマク
ロブロックのうち輝度データのみを符号化ストリームバ
ッファ領域51に転送する。If it is determined in step S9 that the MBAI in the header of the macroblock corresponds to the invisible part, in step S17, the data reduction control unit 64 determines whether the invisible part corresponds to the transparent OSD. . If not, the process skips step S18 and moves to step S12. If so, the process proceeds directly to step S18. In step S18, the data reduction control unit 64 transfers only the luminance data of the macroblock corresponding to the invisible part to the encoded stream buffer area 51.
【0087】ステップS12において不可視部位に該当
するマクロブロックを符号化ストリームバッファ領域5
1に転送せず、当該マクロブロックが占有している領域
を空き領域に解放した後、ステップS16に移行する。
ステップS16は、ステップS15を分岐先とした条件
付き分岐ステップである。この分岐のための条件とは、
ステップS15により未だ選択されていないマクロブロ
ックが残っていることであり、条件が満たされた場合ス
テップS15に移行してスライスにおける次順位のマク
ロブロックを選択させ、この条件が満たされない場合の
みステップS14に移行する。In step S12, the macroblock corresponding to the invisible part is stored in the coded stream buffer area 5
After releasing the area occupied by the macroblock to a free area without transferring to step S1, the process proceeds to step S16.
Step S16 is a conditional branch step with step S15 as a branch destination. The conditions for this branch are
This means that there remains a macroblock that has not yet been selected in step S15. If the condition is satisfied, the process proceeds to step S15, where the next-order macroblock in the slice is selected. If the condition is not satisfied, step S14 is performed. Move to
【0088】ステップS14は、ステップS13を分岐
先とした条件付き分岐ステップである。この分岐のため
の条件とは、ステップS13により未だ選択されていな
いスライスが残っていることであり、条件が満たされた
場合ステップS13に移行してピクチャデータにおいて
次順位のスライスを選択させ、この条件が満たされない
場合のみステップS1に移行する。このような条件付き
分岐により、ステップS2においてBピクチャであると
判定されたBピクチャに含まれる全てのスライスがステ
ップS4〜ステップS12及びステップS15、ステッ
プS17、ステップS18の処理の対象となる。条件が
満たされずステップS1に移行すると、ステップS1に
おいてピクチャヘッダの格納待ちとなる。Step S14 is a conditional branching step with step S13 as a branch destination. The condition for this branch is that there remains a slice that has not yet been selected in step S13. If the condition is satisfied, the flow proceeds to step S13 to cause the next slice in the picture data to be selected. Only when the condition is not satisfied, the process proceeds to step S1. By such a conditional branch, all slices included in the B picture determined to be a B picture in step S2 are subjected to the processing in steps S4 to S12 and steps S15, S17, and S18. When the condition is not satisfied and the process proceeds to step S1, the process waits for storing a picture header in step S1.
【0089】次に図21のフロ−チャ−トを参照して復
号済画素書込部66の処理内容について説明する。復号済
画素書込部66は、ステップS21において次に参照画
像データBフレームメモリ53に書き込むべきマクロブ
ロックが不可視部位の直後に位置するマクロブロックか
を判定する。もしそうでない場合、ステップS20にお
いてポインタにより指示されるページ領域にマクロブロ
ックを転送する。続いてステップS22において書込先
を示すポインタに所定のオフセットを加算する。ここで
所定のオフセットとは、次のマクロブロックを格納する
ページ領域を指示するため、スキップすべきデータ量を
示すものであり、マクロブロック1個分のデータ量に相
当する。Next, the processing contents of the decoded pixel writing section 66 will be described with reference to the flowchart of FIG. In step S21, the decoded pixel writing unit 66 determines whether the next macroblock to be written to the reference image data B frame memory 53 is a macroblock located immediately after the invisible part. If not, the macro block is transferred to the page area indicated by the pointer in step S20. Subsequently, in step S22, a predetermined offset is added to the pointer indicating the write destination. Here, the predetermined offset indicates an amount of data to be skipped in order to indicate a page area for storing the next macroblock, and corresponds to the data amount of one macroblock.
【0090】ステップS21においてそうであると判定
された場合、ステップS23において書込先を示すポイ
ンタに不可視部位に相当するオフセットを加算する。次
に図22のフロ−チャ−トを参照して透明色のOSDデー
タがOSDデータ領域に格納されている場合の表示ライン
読出部67の処理内容について説明する。表示ライン読出
部67は、先ずステップS30においてポインタにより
指示されたライン、即ち、次にラインバッファメモリ14
0に読み出すべきラインが透明色のOSDがオーバレイされ
るべき不可視部位と重複するかを判定する。もし重複し
ない場合、ステップS32において次にラインバッファ
メモリ140に読み出すべきラインをラインバッファメモ
リ140に転送した後、ステップS33においてポインタ
を次のラインに設定して後、ステップS30に移行す
る。もし重複する場合、ステップS30からステップS
31に移行し、ステップS31において次にラインバッ
ファメモリ140に読み出すべきラインのうち、不可視部位
より前に位置する画素データ行と、不可視部位より後に
位置する画素データ行とをラインバッファメモリ140に
個別に転送すると共に、OSDデータ領域に対応する不可
視部位の色差データの代わりに単一色又はグレイスケー
ルのデータをラインバッファメモリ140に供給する。If it is determined in step S21 that it is, an offset corresponding to the invisible part is added to the pointer indicating the write destination in step S23. Next, the processing contents of the display line reading section 67 when the OSD data of the transparent color is stored in the OSD data area will be described with reference to the flowchart of FIG. The display line reading unit 67 first stores the line designated by the pointer in step S30, that is, the line buffer memory 14
It is determined whether the line to be read to 0 overlaps the invisible part on which the transparent OSD is to be overlaid. If they do not overlap, the line to be read next to the line buffer memory 140 is transferred to the line buffer memory 140 in step S32, the pointer is set to the next line in step S33, and the process proceeds to step S30. If they overlap, step S30 to step S30
Then, in step S31, among the lines to be read next to the line buffer memory 140, the pixel data rows located before the invisible part and the pixel data rows located after the invisible part are individually stored in the line buffer memory 140. To the line buffer memory 140 instead of the color difference data of the invisible portion corresponding to the OSD data area.
【0091】以上のように本実施形態によれば、操作者
からOSDの表示が要求された場合のみ、操作者には見え
ない部位を破棄するので、画質の劣化なしに、ワークエ
リアを確保することができる。そのため、メモリの増設
なしに、AVデコーダ21は、OSDを表示させることがで
きる。また、OSDデータの格納領域を確保する際、未復
号のMPEGストリームの一部分を削減するので、復号化処
理の負荷を軽減することができ、復号処理の高速化、省
電力化、及び、他のDMA転送を伴う処理の高速化、例え
ばOSDデータの書き込み処理の高速化が可能となる。As described above, according to the present embodiment, only when the OSD is requested by the operator, the part invisible to the operator is discarded, so that the work area is secured without deteriorating the image quality. be able to. Therefore, the AV decoder 21 can display the OSD without adding a memory. In addition, when securing the storage area for the OSD data, a part of the undecoded MPEG stream is reduced, so that the load of the decoding process can be reduced, and the speed of the decoding process can be increased, the power consumption can be reduced, and other processes can be performed. It is possible to increase the speed of processing involving DMA transfer, for example, the writing processing of OSD data.
【0092】尚、データ削減制御部64が復号前に廃棄
するとしたが、コード変換部105、Pixel演算部10
6にマクロブロックの復号を行わせて、復号済みマクロ
ブロックを廃棄してもよい。加えて、以上の説明では削
減する画像データをBピクチャを一例にして説明した
が、以後の画像復号化処理において参照されない画像で
あればどのような画像データであっても同様に実施可能
である。Although the data reduction control unit 64 discards the data before decoding, the code conversion unit 105 and the Pixel operation unit 10
6 may perform decoding of the macroblock, and the decoded macroblock may be discarded. In addition, in the above description, the B-picture is used as an example of the image data to be reduced. However, any image data that is not referred to in the subsequent image decoding processing can be similarly implemented. .
【0093】(第2実施形態)第1実施形態では、不可
視部位に対応する領域を空き領域として管理していた
が、第2実施形態は、このような空き領域を詰めてゆく
方法についての実施形態である。ここで図23(a)に
示すように、フレームメモリに複数のマクロブロック
(1)(2)(3)〜(14)(15)(16)が格納されており、そのフレ
ームメモリに後続する領域にデータA,B,C,D〜I,J,K,Lが
格納されている場合を想定している。(Second Embodiment) In the first embodiment, an area corresponding to an invisible part is managed as an empty area. However, the second embodiment is an implementation of a method for filling such an empty area. It is a form. Here, as shown in FIG. 23A, a plurality of macro blocks are stored in the frame memory.
(1) (2) (3) ~ (14) (15) (16) are stored, and data A, B, C, D ~ I, J, K, L are stored in the area following the frame memory. It is assumed that it is stored.
【0094】フレームメモリにおいて本図に示すように
不可視部位が存在するものとすると、上から3番目−左
から0番目以降に位置するマクロブロック(7)(11)(15)、
上から3番目−左から1番目以降に位置するマクロブロッ
ク(8)(12)(16)を、当該不可視部位を詰めるようにずら
してゆく。そうすると、図23(b)に示すようにデー
タA,B,C,D,E,F〜I,J,K,Lが占有している領域のうち、デ
ータI,Jの占有領域より下側、データC,D,G,H,K,Lが占有
している領域より左側に空き領域は現れる。Assuming that there is an invisible part in the frame memory as shown in FIG. 10, macro blocks (7), (11), (15),
The macroblocks (8), (12), and (16) located from the third position from the top to the first position from the left are shifted so as to fill the invisible portion. Then, as shown in FIG. 23B, of the area occupied by the data A, B, C, D, E, F to I, J, K, L, the area lower than the area occupied by the data I, J An empty area appears to the left of the area occupied by the data C, D, G, H, K, and L.
【0095】上からi番目,左から0〜j-1番目までの不可
視部位に位置するマクロブロック数をNijとすると、上
からi番目,左から0〜j番目のマクロブロックを格納する
際のSD-RAMにおける格納先アドレスADDijは、以下の式
に示すものとなる。 ADDij=ROWアドレス+COLUMNアドレス ROWアドレス=512×i+α×(W/16)×512byte COLUMN
アドレス=β×512byte W:ピクチャデータの横幅(720pixel) α={ (j-Nij)/Pnumの整数部} β={ (j-Nij)/Pnumの小数部} i,j≧0 Nij≦j Pnum:ページ領域に格納可能なマクロブロックの数 輝度データ Pnum=2 色差データ Pnum=4 表示時における読出先アドレスの算出方法について説明
する。ここで画面の右向き方向にX座標軸を配し、画面
下向き方向にY座標軸を配する。Assuming that the number of macroblocks located at the i-th invisible portion from the top and the 0th to j-1th from the left is Nij, the i-th macroblock from the left and the 0th to jth macroblock from the left are stored. The storage address ADDij in the SD-RAM is given by the following equation. ADDij = ROW address + COLUMN address ROW address = 512 × i + α × (W / 16) × 512 byte COLUMN
Address = β × 512 bytes W: Width of picture data (720 pixels) α = {integer part of (j-Nij) / Pnum} β = {decimal part of (j-Nij) / Pnum} i, j ≧ 0 Nij ≦ j Pnum: Number of macroblocks that can be stored in the page area Luminance data Pnum = 2 Color difference data Pnum = 4 A method of calculating a read destination address when displayed will be described. Here, the X coordinate axis is arranged in the rightward direction of the screen, and the Y coordinate axis is arranged in the downward direction of the screen.
【0096】上から3番目に位置するマクロブロックま
で、画素単位に換算すると、48行目までの画素データの
読み出しついては、第1実施形態と同様、フレームメモ
リの先頭アドレスにX座標分のオフセットとY座標分のオ
フセットとを足したアドレスを先頭アドレスとする。上
から3番目に位置するマクロブロック以降、第1実施形
態と同様、画素単位に換算すると、48行目以降の画素デ
ータの読み出しついては、0〜31列目に位置する画素デ
ータと、32列目以降に位置する画素データとで読出先ア
ドレスが異なる。When converted into a pixel unit up to the third macroblock located from the top, reading of pixel data up to the 48th row is similar to that of the first embodiment in that the offset of the X coordinate is added to the start address of the frame memory. An address obtained by adding the offset for the Y coordinate is set as the start address. After the third macroblock from the top, as in the first embodiment, when converted into pixel units, the reading of the pixel data in the 48th row and thereafter is equivalent to the pixel data in the 0th to 31st columns and the 32nd column. The read destination address is different from the pixel data located thereafter.
【0097】0〜31列目に位置する画素データについて
は、フレームメモリ先頭アドレスに、X座標分のオフセ
ットと、(Y座標−不要マクロブロック数×16)行分の
オフセットとを足したアドレスを先頭アドレスとする。
32列目以降に位置する画素データについては、フレーム
メモリ先頭アドレスに、X座標分のオフセットと、Y座標
分のオフセットとを足したアドレスを先頭アドレスとす
る。For the pixel data located in the 0th to 31st columns, an address obtained by adding the offset for the X coordinate and the offset for the (Y coordinate−number of unnecessary macroblocks × 16) rows to the frame memory start address. Start address.
For the pixel data located in the 32nd and subsequent columns, an address obtained by adding an offset for the X coordinate and an offset for the Y coordinate to the frame memory start address is set as the start address.
【0098】以上のように本実施形態によれば、フレー
ムメモリ内に飛び飛びに出現する空き領域を一ヶ所にま
とめて、より大きなサイズのOSDデータ格納領域を確保
することができる。 (第3実施形態)第1実施形態では、不可視部位のサイ
ズをマクロブロックの整数倍単位としており、ページ領
域の1/2倍又は1/4倍単位のOSDデータ格納領域が得られ
るようにしていたが、第3実施形態では、不可視部位の
サイズを自由に定めるようにしている。As described above, according to the present embodiment, it is possible to collect free space areas that appear in the frame memory at one place, and secure a larger OSD data storage area. (Third Embodiment) In the first embodiment, the size of an invisible part is set to an integral multiple of a macroblock, and an OSD data storage area of 1/2 or 1/4 that of a page area can be obtained. However, in the third embodiment, the size of the invisible portion is freely determined.
【0099】そのため第3実施形態では、図24
(a)、図24(b)、図24(c)に示すような3つ
の態様の空き領域がフレームメモリ上に現れる。これら
の空き領域の内容を以下に示す。(1)図24(a)に示
すように不可視部位によりすっぽり覆われるマクロブロ
ックは、256Byte又は128Byteの整数倍単位の空き領域に
対応する。Therefore, in the third embodiment, FIG.
(A), three empty areas as shown in FIGS. 24 (b) and 24 (c) appear on the frame memory. The contents of these free areas are shown below. (1) As shown in FIG. 24A, a macroblock completely covered by an invisible part corresponds to a free area of an integer multiple of 256 bytes or 128 bytes.
【0100】(2)図24(b)に示すように不可視部位
によりすっぽり覆われている行が存在する場合、16Byte
×ライン数というデータサイズの空き領域が現れる。
(3)図24(c)に示すように不可視部位によりその途
中までが覆われている行が存在する場合、その覆われて
いるデータに対応する空き領域が飛び飛びに現れる。(2) As shown in FIG. 24 (b), when there is a line completely covered by an invisible part, 16 bytes
A free area having a data size of × number of lines appears.
(3) As shown in FIG. 24 (c), when there is a row that is partially covered by an invisible part, empty areas corresponding to the covered data appear at intervals.
【0101】パターン(3)の空き領域では、16Byte未満
の空き領域が飛び飛びに現れるので利用価値は低い、そ
のため本実施形態では、(1)(2)の空き領域をOSDデータ
格納領域として利用する。続いて第3実施形態における
AVデコーダ21の構成について説明する。第3実施形態
におけるAVデコーダ21は以下に説明するようにデータ
削減制御部64、復号済画素書込部66に改良が加えら
れている。In the free space of the pattern (3), since the free space of less than 16 bytes appears at intervals, the utility is low. Therefore, in this embodiment, the free space of (1) and (2) is used as the OSD data storage area. . Subsequently, in the third embodiment
The configuration of the AV decoder 21 will be described. In the AV decoder 21 according to the third embodiment, the data reduction control unit 64 and the decoded pixel writing unit 66 are improved as described below.
【0102】データ削減制御部64は、第1実施形態に
示した同様の手順で不可視部位の座標情報と、スライス
に含まれるSSC、マクロブロックに含まれるMBAIとを照
合して、不可視部位に該当するマクロブロックを判定
し、これらを廃棄すると共に、図24(b)に示すよう
な不可視部位を一部に含むマクロブロックを判定し、そ
れらのマクロブロックの位置情報を復号済画素書込部6
6に送信する。The data reduction control unit 64 checks the coordinate information of the invisible part, the SSC included in the slice, and the MBAI included in the macroblock in the same procedure as described in the first embodiment, and 24, discard these macroblocks, discriminate macroblocks partially including an invisible part as shown in FIG. 24B, and determine the position information of those macroblocks in the decoded pixel writing unit 6.
Send to 6.
【0103】復号済画素書込部66は、第1実施形態に
示したのと同様の手順で復号済みのマクロブロックを参
照画像データ領域に書き込むと共に、データ削減制御部
64から通知された不可視部位を一部に含むマクロブロ
ックの書き込みを特別処理で行う。以降図24(d)、
図25(a)、図25(b)を参照してその特別処理に
ついて説明する。ここで、不可視部位を一部に含むマク
ロブロックを図24(d)に示すものと想定する。図2
4(d)においてA部については、不可視部位がマクロ
ブロックと部分的に重複していないが、B,C部は、不可
視部位がマクロブロックの一部領域に重複している。The decoded pixel writing unit 66 writes the decoded macro block in the reference image data area in the same procedure as described in the first embodiment, and writes the invisible part notified from the data reduction control unit 64. Is written by a special process. Hereinafter, FIG.
The special processing will be described with reference to FIGS. 25 (a) and 25 (b). Here, it is assumed that a macroblock partially including an invisible part is shown in FIG. FIG.
In part (d) of FIG. 4A, the invisible part does not partially overlap with the macroblock in the part A, but the invisible part overlaps in a part of the macroblock in the parts B and C.
【0104】図25(a)及び図25(b)は、図24
(d)に示したB,C部をどのようにフレームメモリに書
き込むかを示す図である。図25(a)に示すB部をど
のようにして非参照画像データフレームメモリ54に書
き込むかを説明する。図25(a)においてスライスの
左上座標を(SSx,SSy)とする。FIG. 25A and FIG. 25B show FIG.
It is a figure which shows how the B and C parts shown to (d) write in a frame memory. How the portion B shown in FIG. 25A is written to the non-reference image data frame memory 54 will be described. In FIG. 25A, the upper left coordinate of the slice is (SSx, SSy).
【0105】先ずスライス先頭(SSx,SSy)から不可視部
位の直前(USx-1,SSy+15)までのマクロブロックを書き込
むようSD-RAM制御ユニット111にDMA転送を行わせ
る。続いて不可視部位と重複するマクロブロックのう
ち、第1番目のマクロブロックの左上座標(USx,SSy)か
ら、不可視部位の直前座標(USx+15,USy-1)迄を非参照画
像データフレームメモリ54に書き込むようSD-RAM制御
ユニット111にDMA転送を行わせる。First, the SD-RAM control unit 111 is caused to perform DMA transfer so that macroblocks from the slice head (SSx, SSy) to immediately before the invisible part (USx-1, SSy + 15) are written. Subsequently, among the macroblocks overlapping the invisible part, the non-reference image data frame memory extends from the upper left coordinate (USx, SSy) of the first macroblock to the immediately preceding coordinate (USx + 15, USy-1) of the invisible part. Then, the SD-RAM control unit 111 is caused to perform a DMA transfer so as to write the data into the RAM.
【0106】第2番目のマクロブロックの左上座標(USx+
16,SSy)から、不可視部位の直前座標(USx+15+16,USy-1)
迄、第3番目のマクロブロックの左上座標(USx+32,SSy)
から不可視部位の直前座標(USx+15+32,USy-1)迄、第y番
目のマクロブロックの左上座標(USx+16×(y-1),SSy)か
ら、不可視部位の直前座標(USx+15+16×(y-1),USy-1)迄
を非参照画像データフレームメモリ54に書き込むよう
SD-RAM制御ユニット111にDMA転送を行わせる。The upper left coordinates of the second macroblock (USx +
16, SSy), the coordinates immediately before the invisible part (USx + 15 + 16, USy-1)
Up to the upper left coordinate of the third macro block (USx + 32, SSy)
From the top left coordinates (USx + 16 × (y-1), SSy) of the y-th macroblock to the coordinates immediately before the invisible part (USx + 15 + 32, USy-1) Write up to + 15 + 16 × (y-1), USy-1) to the non-reference image data frame memory 54
Causes the SD-RAM control unit 111 to perform DMA transfer.
【0107】最後に不可視部位の直後(UEx+1,SSy)から
スライスの末尾までのマクロブロックを書き込むようSD
-RAM制御ユニット111にDMA転送を行わせる。続いて
図25(b)に示すC部をどのようにして非参照画像デ
ータフレームメモリ54に書き込むかを説明する。図2
5(b)においてスライスの左上座標を(SSx,SSy)とす
る。Finally, the SD is written so that macroblocks from immediately after the invisible part (UEx + 1, SSy) to the end of the slice are written.
-Have the RAM control unit 111 perform a DMA transfer. Next, how to write the portion C shown in FIG. 25B into the non-reference image data frame memory 54 will be described. FIG.
In 5 (b), the upper left coordinate of the slice is set to (SSx, SSy).
【0108】先ずスライス先頭(SSx,SSy)から不可視部
位の直前(USx-1,SSy+15)までのマクロブロックを書き込
むようSD-RAM制御ユニット111にDMA転送を行わせ
る。先頭行から途中行までが不可視部位により隠れてい
るマクロブロックについて説明する。不可視部位直後座
標(USx,USy+1)から、マクロブロックの末尾座標(USx+1
5,SSy+15)迄を参照画像データBフレームメモリ53に書
き込む。First, the SD-RAM control unit 111 is caused to perform DMA transfer so as to write macroblocks from the slice head (SSx, SSy) to immediately before the invisible part (USx-1, SSy + 15). A macroblock in which the first to middle rows are hidden by an invisible part will be described. From the coordinates immediately after the invisible part (USx, USy + 1), the end coordinates of the macroblock (USx + 1
5, SSy + 15) are written in the reference image data B frame memory 53.
【0109】第2番目のマクロブロックにおいて不可視
部位直後の座標(USx+16,USy+1)から、マクロブロックの
末尾座標(USx+15+16,SSy+15)迄、第3番目のマクロブロ
ックにおいて不可視部位直後の座標(USx+32,USy+1)か
ら、マクロブロックの末尾座標(USx+15+32,SSy+15)迄、
第y番目のマクロブロックにおいて不可視部位直後の座
標(USx+16×(y-1),USy+1)から、マクロブロックの末尾
座標(USx+15+16×(y-1),SSy+15)迄を参照画像データBフ
レームメモリ53に書き込む。In the second macro block, from the coordinates (USx + 16, USy + 1) immediately after the invisible part to the end coordinates (USx + 15 + 16, SSy + 15) of the macro block, the third macro block From the coordinates (USx + 32, USy + 1) immediately after the invisible part to the end coordinates (USx + 15 + 32, SSy + 15) of the macro block,
From the coordinates (USx + 16 × (y-1), USy + 1) immediately after the invisible part in the y-th macroblock, the end coordinates of the macroblock (USx + 15 + 16 × (y-1), SSy + 15 ) Are written in the reference image data B frame memory 53.
【0110】最後に、不可視部位の直後(UEx+1,SSy)か
らスライスの末尾までのマクロブロックを書き込むよう
SD-RAM制御ユニット111にDMA転送を行わせる。続い
てビデオアウトモードによる画素データ読み出しについ
て説明する。不可視部位に他のデータを格納しているの
で、他の領域と同様に不可視部位を読み出す訳にはいか
ない。そこで不可視部位をスキップするようビデオアウ
トモードにてDMA転送を行う。Finally, write the macroblock from immediately after the invisible part (UEx + 1, SSy) to the end of the slice.
Causes the SD-RAM control unit 111 to perform DMA transfer. Next, reading of pixel data in the video-out mode will be described. Since other data is stored in the invisible part, the invisible part cannot be read out like other areas. Therefore, DMA transfer is performed in the video-out mode so as to skip the invisible part.
【0111】図26は、図24(d)に示したA,B,C部
からどのように画素データを読み出すかを示す図であ
る。不可視部位を含まないラインについては通常通りの
1ライン分の転送を行うが、不可視部位を含む場合は、
不可視部位直前、不可視部位直後の2回に分けて転送を
行う。スライス先頭(SSx,SSy)から不可視部位の直前(US
x-1,USy)までの画素データのDMA転送をSD-RAM制御ユニ
ット111に行わせる。続いて不可視部位の直後(UEx+
1,USy)からスライスの末尾(SEx,USy)までの画素データ
のDMA転送をSD-RAM制御ユニット111に行わせる。FIG. 26 is a diagram showing how pixel data is read from the A, B, and C portions shown in FIG. For lines that do not include invisible parts,
Transfers one line, but if it contains an invisible part,
The transfer is performed twice before the invisible part and immediately after the invisible part. Immediately before the invisible part from the slice start (SSx, SSy) (US
The SD-RAM control unit 111 performs a DMA transfer of pixel data up to x-1, USy). Then immediately after the invisible part (UEx +
The SD-RAM control unit 111 performs a DMA transfer of pixel data from (1, USy) to the end of the slice (SEx, USy).
【0112】尚、本実施形態においても、第1実施形態
と同様、空き領域を不可視部位に対応する箇所(アドレ
ス)に配置することも可能であり、第2実施形態と同
様、不可視部位の前後に位置する画素データを詰めるこ
とにより空き領域をまとめて、大きく連続した空き領域
を確保することも可能である。以上のように本実施形態
によれば、マクロブロックのサイズに満たない不可視部
位でさえもOSDデータ格納領域として利用するので、OSD
データ格納領域をより多く確保することができる。In this embodiment, as in the first embodiment, it is also possible to arrange the empty area at a location (address) corresponding to the invisible part, as in the second embodiment. It is also possible to collect the empty areas by packing the pixel data located in the, and to secure a large continuous empty area. As described above, according to the present embodiment, even an invisible part smaller than the size of a macroblock is used as an OSD data storage area.
More data storage areas can be secured.
【0113】最後に、第1実施形態〜第3実施形態に示
したデータ削減制御部64、動き補償処理部65、復号
済画素書込部66の手順(図20、図21、図22のフ
ロ−チャ−トの手順)等を機械語プログラムにより実現
し、これを記録媒体に記録して流通・販売の対象にして
も良い。このような記録媒体には、ICカードや光ディス
ク、フロッピーディスク等があるが、これらに記録され
た機械語プログラムは汎用のコンピュ−タにインストー
ルされることにより利用に供される。このようなコンピ
ュ−タは、インストールした機械語プログラムを逐次実
行して実施形態に示した画像復号装置の機能を実現する
のである。Finally, the procedures of the data reduction control unit 64, the motion compensation processing unit 65, and the decoded pixel writing unit 66 shown in the first to third embodiments (flow charts of FIGS. 20, 21 and 22). -Chart procedure) may be realized by a machine language program, and this may be recorded on a recording medium to be distributed and sold. Such a recording medium includes an IC card, an optical disk, a floppy disk and the like, and the machine language program recorded on these is used by being installed in a general-purpose computer. Such a computer implements the functions of the image decoding apparatus described in the embodiment by sequentially executing the installed machine language programs.
【0114】[0114]
【発明の効果】以上説明したように本発明に係る画像復
号装置によれば、ホスト装置からの指示に従って、ビデ
オストリームに含まれる複数のピクチャデータを1つず
つ復号し、復号済みのピクチャデータを記憶装置に書き
込む画像復号装置であって、ここで複数のピクチャデー
タには、符号化方式が相違する複数タイプのピクチャデ
ータが含まれていて、前記記憶装置は、復号済みのピク
チャデータであって、最新のものをタイプ別に書き込む
複数のフレーム領域を有しており、フレーム領域に格納
されている復号済みの他のピクチャデータを参照しなが
ら、ビデオストリームに含まれる複数のピクチャデータ
を1つずつ復号する復号手段と、新たなピクチャデータ
が復号されると、そのピクチャデータを、既にフレーム
領域に書き込まれている復号済みピクチャデータに上書
きする上書手段と、ホスト装置が記憶装置にワークエリ
アを確保する旨の要求を発すると、所定タイプのピクチ
ャデータの一部分であって復号手段による復号がなされ
る前のもの、又は、所定タイプのピクチャデータの復号
済みの一部分であって上書手段による上書き前のものが
書き込まれるべきフレーム領域内の部分領域をワークエ
リアに割り当てる領域割当手段とを備える前記画像復号
装置により達成される。As described above, according to the image decoding apparatus of the present invention, a plurality of picture data included in a video stream are decoded one by one according to an instruction from a host apparatus, and the decoded picture data is decoded. An image decoding device for writing to a storage device, wherein the plurality of picture data includes a plurality of types of picture data having different encoding schemes, and the storage device includes decoded picture data. Has a plurality of frame areas in which the latest one is written for each type, and refers to other decoded picture data stored in the frame area, and a plurality of picture data included in the video stream are read one by one. Decoding means for decoding, and when the new picture data is decoded, the picture data is already written in the frame area. Overwriting means for overwriting the decoded picture data, and when the host device issues a request to secure a work area in the storage device, it is a part of the picture data of a predetermined type and is not decoded by the decoding means. Or an area allocating means for allocating, to a work area, a partial area in a frame area in which a picture or a decoded part of predetermined type picture data before overwriting by the overwriting means is to be written. Is achieved by
【0115】本画像復号装置によれば、ホスト装置がワ
ークエリアの確保を要求した場合のみ、ピクチャデータ
の一部分を廃棄して、廃棄された一部分が格納されるべ
きフレーム領域上の部分領域にワークエリアを確保する
ので、画像の一部が欠落することがあっても、ピクチャ
データの画質全体が劣化することはない。そのためホス
ト装置は、メモリの増設なしに追加機能を起動させるこ
とができる。According to the present image decoding apparatus, only when the host device requests the securing of the work area, a part of the picture data is discarded, and the discarded part is moved to the partial area on the frame area where the discarded part is to be stored. Since the area is secured, even if a part of the image is lost, the overall image quality of the picture data does not deteriorate. Therefore, the host device can activate the additional function without adding a memory.
【0116】上記復号化データの削減を、復号前のピク
チャデータの一部分の削減により実現する場合には、不
要な復号化処理を省くことが可能となり、復号処理の高
速化、省電力化が可能となる。ここで前記ホスト装置
は、確保要求の出力と共に記憶装置に書き込むべきホス
トデータを出力し、前記ピクチャデータは、一表示画面
分の複数の画素データを含み、前記領域割当手段は、表
示画面上の所定の部位を示す位置情報を記憶する領域記
憶部と、復号前のピクチャデータに含まれる画素データ
であって前記所定の部位に位置するものの復号、又は、
復号済みのピクチャデータに含まれる画素データであっ
て前記所定の部位に位置するものの上書きを禁止する禁
止部と、所定タイプのピクチャデータが書き込まれるべ
きフレーム領域上の部分領域であって、表示画面上の前
記所定の部位に対応するものに、ホスト装置が出力した
ホストデータを書き込む第1書込部とを備えていてもよ
い。When the decoding data is reduced by reducing a part of the picture data before decoding, unnecessary decoding processing can be omitted, and the decoding processing can be speeded up and power consumption can be reduced. Becomes Here, the host device outputs host data to be written to the storage device together with the output of the reservation request, the picture data includes a plurality of pieces of pixel data for one display screen, and the area allocating unit includes: An area storage unit that stores position information indicating a predetermined part, and decoding of pixel data included in picture data before decoding and positioned at the predetermined part, or
A prohibition section for prohibiting overwriting of pixel data included in the decoded picture data and located at the predetermined site, and a partial area on a frame area to which a predetermined type of picture data is to be written; The apparatus may further include a first writing unit for writing host data output by the host device in an area corresponding to the above predetermined part.
【0117】ここで前記確保要求は、所定の期間におい
てワークエリアを継続して確保する旨を含み、前記禁止
部は、前記第1書込部により部分領域に書き込まれたホ
ストデータが上書きされないよう、復号前のピクチャデ
ータに含まれる画素データであって前記所定の部位に位
置するものの復号禁止、又は、復号済みのピクチャデー
タに含まれる画素データであって前記所定の部位に位置
するものの上書き禁止を前記所定の期間において継続し
てもよい。Here, the reservation request includes a request to continuously reserve a work area for a predetermined period, and the prohibiting section prevents the host data written in the partial area by the first writing section from being overwritten. Prohibition of decoding of pixel data included in picture data before decoding and located at the predetermined portion, or prohibition of overwriting of pixel data included in decoded picture data and located at the predetermined portion. May be continued during the predetermined period.
【0118】ここで前記領域記憶部は、表示画面の周縁
部を示す位置情報を前記所定の部位の位置情報として記
憶してもよい。この画像復号装置によれば、所定部位
は、ピクチャデータの周縁部であり、このような周縁部
は表示画面において現れないことが多いのでこの部分が
欠落することがあっても、そのような欠落を操作者は意
識しないで済む。Here, the area storage section may store position information indicating a peripheral portion of the display screen as position information of the predetermined portion. According to this image decoding device, the predetermined portion is a peripheral portion of the picture data, and such a peripheral portion often does not appear on the display screen. Operator need not be conscious.
【0119】ここでワークエリアの確保要求は、オンス
クリーンディスプレィデータを前記ワークエリアに書き
込む際に発せられ、前記ホスト装置は、確保要求と共に
記憶装置に格納すべきオンスクリーンディスプレィデー
タを出力し、前記領域記憶部は、表示画面において前記
オンスクリーンディスプレィデータに割り当てられる部
位を示す位置情報を所定の部位を示す位置情報として記
憶してもよい。Here, the work area reservation request is issued when writing on-screen display data to the work area, and the host device outputs the on-screen display data to be stored in the storage device together with the reservation request, and The area storage unit may store position information indicating a part assigned to the on-screen display data on the display screen as position information indicating a predetermined part.
【0120】この画像復号装置によれば、所定部位は、
OSDが貼りつけられる部位であり、このような部位は表
示画面には見えないのでこの部分が欠落することがあっ
ても、そのような欠落を操作者は意識しないで済む。According to this image decoding apparatus, the predetermined part is:
The OSD is a part to be pasted, and such a part is not visible on the display screen. Therefore, even if this part is missing, the operator does not need to be aware of such a missing part.
【図1】MPEGストリーム再生装置の構成を示す図であ
る。FIG. 1 is a diagram showing a configuration of an MPEG stream reproducing device.
【図2】SD-RAM22のメモリ割り当てを示す図である。FIG. 2 is a diagram showing memory allocation of an SD-RAM 22.
【図3】ビデオストリームのデータ構造を示す図であ
る。FIG. 3 is a diagram showing a data structure of a video stream.
【図4】輝度データを格納したページ領域の内容を示す
図である。FIG. 4 is a diagram showing contents of a page area storing luminance data.
【図5】色差データを格納したページ領域の内容を示す
図である。FIG. 5 is a diagram showing the contents of a page area storing color difference data.
【図6】1つのページ領域に格納されている輝度データ
を示す図である。FIG. 6 is a diagram showing luminance data stored in one page area.
【図7】1つのページ領域に格納されている色差データ
を示す図である。FIG. 7 is a diagram illustrating color difference data stored in one page area.
【図8】AVデコーダ21の内部構成を示す図である。FIG. 8 is a diagram showing an internal configuration of the AV decoder 21.
【図9】ビデオ出力部108の内部構成を示す図であ
る。FIG. 9 is a diagram showing an internal configuration of a video output unit 108.
【図10】AVデコーダ21の内部構成を機能的に示す図
である。FIG. 10 is a diagram functionally showing an internal configuration of an AV decoder 21.
【図11】(a) ディスプレィ装置の表示画面の一例
を示す図である。(b) 図11(a)に示した表示画
面における不可視部位の一例を示す図である。FIG. 11A is a diagram illustrating an example of a display screen of a display device. FIG. 12B is a diagram illustrating an example of an invisible portion on the display screen illustrated in FIG.
【図12】OSDが貼りつけられた部位を示す図である。FIG. 12 is a diagram showing a portion to which an OSD is attached.
【図13】OSDにより隠れるマクロブロックを示す図で
ある。FIG. 13 is a diagram showing macro blocks hidden by the OSD.
【図14】"0 1"の羅列により文字「P」を描画したOSD
イメージデータを示す図である。FIG. 14 is an OSD in which a character “P” is drawn using a sequence of “01”
FIG. 3 is a diagram showing image data.
【図15】マクロブロック位置情報と、アドレス情報と
からなるフレームメモリ内空き領域管理テーブルを示す
図である。FIG. 15 is a diagram showing a free area management table in a frame memory including macroblock position information and address information.
【図16】(a)〜(d)フレームメモリ52〜54に
おいて複数のピクチャデータがどのように格納されるか
を示す図である。16A to 16D are diagrams illustrating how a plurality of pieces of picture data are stored in the frame memories 52 to 54.
【図17】マクロブロックの位置情報からアドレスを算
出するための一例を示す図である。FIG. 17 is a diagram illustrating an example for calculating an address from position information of a macroblock.
【図18】マクロブロックの廃棄が行われる過程を示す
図である。FIG. 18 is a diagram illustrating a process in which macroblocks are discarded.
【図19】(a) 復号済画素書込部66による画素デ
ータ書き込みを示す図である。 (b) 表示ライン読出部67による画素データ読み出
しの一例を示す図である。19A is a diagram showing pixel data writing by a decoded pixel writing unit 66. FIG. FIG. 7B is a diagram illustrating an example of pixel data reading by the display line reading unit 67.
【図20】データ削減制御部64の処理内容を示すフロ
−チャ−トである。FIG. 20 is a flowchart showing processing contents of a data reduction control unit 64;
【図21】復号済画素書込部66の処理内容を示すフロ
−チャ−トである。FIG. 21 is a flowchart showing processing contents of a decoded pixel writing unit 66;
【図22】表示ライン読出部67の処理内容を示すフロ
−チャ−トである。FIG. 22 is a flowchart showing processing contents of a display line reading section 67;
【図23】(a) フレームメモリに複数のマクロブロ
ック(1)(2)(3)〜(14)(15)(16)が格納されており、その
フレームメモリに後続する領域にデータA,B,C,D〜I,J,
K,Lが格納されている場合を想定した図である。 (b) データA,B,C,D,E,F〜I,J,K,Lが占有している領
域のうち、データI,Jの占有領域より下側、データC,D,
G,H,K,Lが占有している領域より左側に空き領域が現れ
た様子を示す図である。23A shows a case where a plurality of macroblocks (1) (2) (3) to (14) (15) (16) are stored in a frame memory, and data A, B, C, D〜I, J,
It is a diagram assuming a case where K and L are stored. (B) Of the area occupied by the data A, B, C, D, E, F to I, J, K, L, the data C, D,
FIG. 11 is a diagram illustrating a state in which an empty area appears on the left side of an area occupied by G, H, K, and L.
【図24】(a) 不可視部位によりすっぽり覆われる
マクロブロックを示す図である。 (b) 不可視部位によりすっぽり覆われている行が存
在するマクロブロックを示す図である。 (c) 不可視部位によりその途中までが覆われている
行が存在するマクロブロックを示す図である。 (d) A部,B部,C部をページ領域に書き込む場合の復
号済画素書込部66の処理を示す説明図である。FIG. 24A is a diagram showing a macro block completely covered by an invisible part. (B) is a diagram showing a macroblock in which a line completely covered by an invisible portion exists. (C) is a diagram showing a macroblock in which a row partially covered by an invisible portion exists. (D) It is explanatory drawing which shows the process of the decoded pixel writing part 66 at the time of writing A part, B part, and C part in a page area.
【図25】(a) 図24(d)に示したB部に対して
画素データを書き込む一例を示す図である。 (b) 図24(d)に示したC部に対して画素データ
を書き込む一例を示す図である。FIG. 25 (a) is a diagram showing an example of writing pixel data to the B section shown in FIG. 24 (d). FIG. 25 (b) is a diagram illustrating an example of writing pixel data to the C section illustrated in FIG. 24 (d).
【図26】図24(d)に示したA,B,C部からどのよう
に画素データを読み出すかを示す図である。FIG. 26 is a diagram showing how pixel data is read from the A, B, and C parts shown in FIG.
【図27】3つのフレームメモリが確保されたSD-RAMの
一例を示す図である。FIG. 27 is a diagram illustrating an example of an SD-RAM in which three frame memories are secured.
【図28】非参照画像データフレームメモリを2Bank×5
07ロウ×256カラムというサイズに削減し、削減により
生じた領域をOSDデータ格納領域に割り当てた場合の一
例を示す図である。FIG. 28 shows a non-reference image data frame memory of 2 Bank × 5
FIG. 14 is a diagram illustrating an example of a case where the size is reduced to 07 rows × 256 columns, and an area resulting from the reduction is assigned to an OSD data storage area.
23 ホストマイコン 51 符号化ストリームバッファ領域 54 非参照画像データフレームメモリ 61 出力画像管理部 62 オンデマンド式領域確保部 63 データアクセス部 64 データ削減制御部 65 動き補償処理部 66 復号済画素書込部 67 表示ライン読出部 100 外部I/Oユニット 101 ストリーム入力部 102 ホストバッファメモリ 105 コード変換部 106 Pixel演算部 107 動き補償部 108 ビデオ出力部 109 オーディオ出力部 111 SDRAM制御ユニット 113 I/Oプロセッサ 140 ラインバッファメモリ 23 Host microcomputer 51 Encoded stream buffer area 54 Non-reference image data frame memory 61 Output image management unit 62 On-demand area reservation unit 63 Data access unit 64 Data reduction control unit 65 Motion compensation processing unit 66 Decoded pixel writing unit 67 Display line reading unit 100 External I / O unit 101 Stream input unit 102 Host buffer memory 105 Code conversion unit 106 Pixel calculation unit 107 Motion compensation unit 108 Video output unit 109 Audio output unit 111 SDRAM control unit 113 I / O processor 140 Line buffer memory
───────────────────────────────────────────────────── フロントページの続き (72)発明者 西田 英志 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Eiji Nishida, Inventor 1006 Kazuma Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd.
Claims (30)
ストリームに含まれる複数のピクチャデータを1つずつ
復号し、復号済みのピクチャデータを記憶装置に書き込
む画像復号装置であって、 複数のピクチャデータには、符号化方式が相違する複数
タイプのピクチャデータが含まれていて、 前記記憶装置は、復号済みのピクチャデータであって、
最新のものをタイプ別に書き込む複数のフレーム領域を
有しており、 前記画像復号装置はフレーム領域に格納されている復号
済みの他のピクチャデータを必要参照しながら、ビデオ
ストリームに含まれる複数のピクチャデータを1つずつ
復号する復号手段と、 新たなピクチャデータが復号されると、そのピクチャデ
ータを、既にフレーム領域に書き込まれている復号済み
ピクチャデータに上書きする上書手段と、 ホスト装置が記憶装置にワークエリアを確保する旨の要
求を発すると、所定タイプのピクチャデータの一部分で
あって復号手段による復号がなされる前のもの、又は、
所定タイプのピクチャデータの復号済みの一部分であっ
て上書手段による上書き前のものが書き込まれるべきフ
レーム領域内の部分領域をワークエリアに割り当てる領
域割当手段とを備えることを特徴とする画像復号装置。1. An image decoding apparatus which decodes a plurality of picture data included in a video stream one by one according to an instruction from a host device and writes the decoded picture data to a storage device. Contains a plurality of types of picture data with different encoding methods, the storage device is decoded picture data,
The image decoding apparatus has a plurality of frame areas for writing the latest ones by type, and the image decoding apparatus includes a plurality of pictures included in the video stream while necessary referring to other decoded picture data stored in the frame areas. Decoding means for decoding data one by one; overwriting means for overwriting the decoded picture data already written in the frame area with new picture data when new picture data is decoded; When a request for securing a work area is issued to the device, a portion of the predetermined type of picture data which is not decoded by the decoding unit, or
An image decoding apparatus, comprising: a region allocating unit that allocates, to a work area, a partial region in a frame region in which a pre-decoded portion of picture data of a predetermined type that has not been overwritten by overwriting means is to be written. .
に記憶装置に書き込むべきホストデータを出力し、 前記ピクチャデータは、一表示画面分の複数の画素デー
タを含み、 前記領域割当手段は、 表示画面上の所定の部位を示す位置情報を記憶する領域
記憶部と、 復号前のピクチャデータに含まれる画素データであって
前記所定の部位に位置するものの復号、又は、復号済み
のピクチャデータに含まれる画素データであって前記所
定の部位に位置するものの上書きを禁止する禁止部と、 所定タイプのピクチャデータが書き込まれるべきフレー
ム領域上の部分領域であって、表示画面上の前記所定の
部位に対応するものに、ホスト装置が出力したホストデ
ータを書き込む第1書込部とを備えることを特徴とする
請求項1記載の画像復号装置。2. The host device outputs host data to be written to a storage device together with an output of a reservation request. The picture data includes a plurality of pixel data for one display screen. An area storage unit for storing position information indicating a predetermined part on the screen, decoding of pixel data included in the picture data before decoding and located in the predetermined part, or included in the decoded picture data A prohibition unit that prohibits overwriting of pixel data that is located at the predetermined part, and a partial area on a frame area where a predetermined type of picture data is to be written. 2. The image decoding apparatus according to claim 1, further comprising a first writing unit for writing the host data output by the host device.
ークエリアを継続して確保する旨を含み、 前記禁止部は、 前記第1書込部により部分領域に書き込まれたホストデ
ータが上書きされないよう、復号前のピクチャデータに
含まれる画素データであって前記所定の部位に位置する
ものの復号禁止、又は、復号済みのピクチャデータに含
まれる画素データであって前記所定の部位に位置するも
のの上書き禁止を前記所定の期間において継続すること
を特徴とする請求項2記載の画像復号装置。3. The reservation request includes a request to continuously reserve a work area for a predetermined period, and the prohibiting unit prevents the host data written in the partial area by the first writing unit from being overwritten. Prohibition of decoding of pixel data included in picture data before decoding and located at the predetermined portion, or prohibition of overwriting of pixel data included in decoded picture data and located at the predetermined portion. 3. The image decoding apparatus according to claim 2, wherein the process is continued during the predetermined period.
置情報として記憶していることを特徴とする請求項3記
載の画像復号装置。4. The image decoding apparatus according to claim 3, wherein the area storage unit stores position information indicating a peripheral portion of a display screen as position information of the predetermined part.
クリーンディスプレィデータを前記ワークエリアに書き
込む際に発せられ、 前記ホスト装置は、確保要求と共に記憶装置に格納すべ
きオンスクリーンディスプレィデータを出力し、 前記領域記憶部は、 表示画面において前記オンスクリーンディスプレィデー
タに割り当てられる部位を示す位置情報を所定の部位を
示す位置情報として記憶していることを特徴とする請求
項3記載の画像復号装置。5. A request for securing a work area is issued when writing on-screen display data to the work area, and the host device outputs on-screen display data to be stored in a storage device together with the secure request. The image decoding apparatus according to claim 3, wherein the area storage unit stores position information indicating a part assigned to the on-screen display data on a display screen as position information indicating a predetermined part.
は、画面にオーバレイすべきイメージデータと、当該デ
ータを展開する場合の縦横サイズと、画面にオーバレイ
すべき座標を示す座標情報とを含み、 前記ホスト装置は、 ワークエリアの確保要求と共に、前記縦横サイズと、前
記座標情報とを領域割当手段に通知し、 前記領域割当手段はホスト装置により通知された縦横サ
イズと、前記座標情報とに基づいて所定の部位を示す位
置情報を算出し、前記領域記憶部に書き込む前記位置情
報算出部を備えることを特徴とする請求項5記載の画像
復号装置。6. The on-screen display data includes image data to be overlaid on a screen, a vertical and horizontal size when the data is expanded, and coordinate information indicating coordinates to be overlaid on the screen. Along with the request for securing a work area, the vertical / horizontal size and the coordinate information are notified to an area allocating unit. The image decoding apparatus according to claim 5, further comprising the position information calculation unit that calculates position information indicating the position information and writes the position information to the area storage unit.
は、透明色のものと不透明色のものとがあり、 フレーム領域に書き込まれている復号済みのピクチャデ
ータは、一画面分の輝度データと、色差データとを含
み、 前記領域割当手段は更に透明色のオンスクリーンディス
プレィデータについては、フレーム領域上の部分領域で
あって、色差データが占有している領域を特定し、 不透明色のオンスクリーンディスプレィデータについて
は、フレーム領域上の部分領域であって、輝度データ及
び色差データが占有している領域を特定する領域特定部
を備え、 前記第1書込部は、 前記領域特定部により特定された領域にオンスクリーン
ディスプレィデータを書き込み、 前記画像復号装置は、 表示画面横幅分の画素データ行を順次フレーム領域から
読み出す水平読出手段と、 読み出された画素データ行を映像信号に変換する変換手
段と、 読み出された画素データ行が透明色のオンスクリーンデ
ィスプレィデータと重複している場合、読み出された画
素データ行における重複部分の色差データに代えて、所
定のデータを変換手段に供給する画像データ供給部とを
備えることを特徴とする請求項6記載の画像復号装置。7. The on-screen display data includes a transparent color data and an opaque color data. Decoded picture data written in a frame area includes luminance data for one screen, color difference data, The area allocating means further specifies an area occupied by the color difference data, which is a partial area on the frame area, for the transparent on-screen display data, and for the opaque on-screen display data, A region specifying unit for specifying a region occupied by the luminance data and the color difference data, which is a partial region on the frame region, wherein the first writing unit turns on the region specified by the region specifying unit. Screen display data is written, and the image decoding device sequentially writes pixel data rows for the width of the display screen in a frame area. Horizontal reading means for reading from the pixel data, converting means for converting the read pixel data row into a video signal, and reading when the read pixel data row overlaps the transparent on-screen display data. 7. The image decoding apparatus according to claim 6, further comprising: an image data supply unit that supplies predetermined data to the conversion unit instead of the color difference data of the overlapping portion in the pixel data row.
所定の部位と重複している場合、前記所定の部位より前
方に位置する画素データ行及び/又は前記所定の部位よ
り後方に位置する画素データ行を順次読み出すことを特
徴とする請求項7記載の画像復号装置。8. The horizontal reading means, when a pixel data row to be read next overlaps with a predetermined portion on the display screen, a pixel data row located ahead of the predetermined portion and / or the predetermined pixel data line. 8. The image decoding apparatus according to claim 7, wherein pixel data rows located behind said part are sequentially read.
スライスデータからなり、 各スライスデータは、スライスヘッダと、m行×n列分の
画素データとを含み(m,nは1以上の整数)、スライスヘッ
ダは、それら画素データの配置先を示しており、 装置外部から入力されてくる複数のスライスデータを順
次格納するバッファメモリと、 バッファメモリに格納されたスライスデータを順次復号
手段に転送する転送手段とを備え、 前記領域割当手段はスライスヘッダに示されている配置
先が前記表示画面における所定の部位と一致しているス
ライスデータを検出する第1検出部を備え、 前記禁止部は、 前記表示画面における所定の部位直前に位置する未復号
のスライスと、前記表示画面における所定の部位直後に
位置する未復号のスライスとが連続してバッファメモリ
から復号手段へと転送されるよう転送手段を制御するこ
とを特徴とする請求項3記載の請求項記載の画像復号装
置。9. The undecoded picture data includes a plurality of slice data, and each slice data includes a slice header and pixel data for m rows × n columns (m and n are integers of 1 or more). ), The slice header indicates the arrangement destination of the pixel data, and a buffer memory for sequentially storing a plurality of slice data input from the outside of the apparatus, and the slice data stored in the buffer memory are sequentially transferred to the decoding means. The area allocating unit includes a first detecting unit that detects slice data whose arrangement destination indicated by a slice header matches a predetermined portion on the display screen. An undecoded slice located immediately before a predetermined portion on the display screen and an undecoded slice located immediately after a predetermined portion on the display screen are continuous. The image decoding apparatus according to claim of claims 3, wherein the controlling the transfer means to be transferred from the buffer memory to the decoding means.
クを複数有しており、 各マクロブロックは、マクロブロックヘッダと、s行×t
列分の画素データとを含み(sはs≦mの関係を満たす1以
上の整数であり、tはt≦nの関係を満たす1以上の整
数)、マクロブロックヘッダは、それら画素データの配
置先を示しており、 前記領域割当手段はマクロブロックヘッダに示されてい
る配置先が前記表示画面における所定の部位と一致して
いるマクロブロックを検出する第2検出部を備え、 前記禁止部は、 前記表示画面における所定の部位直前に位置する未復号
のマクロブロックと、前記表示画面における所定の部位
直後に位置する未復号のマクロブロックとが連続してバ
ッファメモリから復号手段へと転送されるよう転送手段
を制御することを特徴とする請求項9記載の画像復号装
置。10. The slice data has a plurality of macroblocks, and each macroblock includes a macroblock header and s rows × t
(S is an integer of 1 or more that satisfies the relationship of s ≦ m, and t is an integer of 1 or more that satisfies the relationship of t ≦ n), and the macro block header is the arrangement of the pixel data. The area allocating means includes a second detection unit that detects a macroblock in which an arrangement destination indicated in a macroblock header matches a predetermined portion on the display screen; An undecoded macroblock located immediately before a predetermined portion on the display screen and an undecoded macroblock located immediately after a predetermined portion on the display screen are successively transferred from the buffer memory to the decoding means. 10. The image decoding device according to claim 9, wherein the transfer means is controlled in such a manner.
済マクロブロックの格納先を示す格納先アドレスを保持
するポインタ保持部と、 前記復号手段によるマクロブロックの復号が済むと、ポ
インタ保持部が保持している格納先アドレスに新たに復
号された復号済マクロブロックを書き込む第2書込部
と、 マクロブロックが書き込まれると、ポインタ保持部が保
持している格納先アドレスにマクロブロックのデータ長
に相当するオフセットを加算するインクリメンタとを備
えることを特徴とする請求項10記載の画像復号装置。11. A pointer holding unit for holding a storage destination address indicating a storage destination of a newly decoded decoded macroblock, and a pointer holding unit when the decoding of the macroblock is completed. And a second writing unit for writing the newly decoded macroblock in the storage address held by the pointer. When the macroblock is written, the data of the macroblock is stored in the storage address held by the pointer holding unit. The image decoding apparatus according to claim 10, further comprising: an incrementer that adds an offset corresponding to the length.
に位置する復号済みのマクロブロックと、前記表示画面
における所定の部位直後に位置する復号済みのマクロブ
ロックとが復号手段に転送され、 前記インクリメンタは、 次に格納すべきマクロブロックが前記表示画面における
所定の部位直後に位置するマクロブロックである場合、
前記表示画面における所定の部位のデータ長に相当する
オフセットをポインタ保持部が保持している格納先アド
レスに加算し、 前記第2書込部は、 前記オフセットが加算された格納先アドレスに前記表示
画面における所定の部位直後に位置するマクロブロック
を書き込むことを特徴とする請求項11記載の画像復号
装置。12. A decoded macroblock located immediately before a predetermined portion on the display screen and a decoded macroblock located immediately after a predetermined portion on the display screen are transferred to decoding means, and the incrementer Is a macro block to be stored next is a macro block located immediately after a predetermined portion on the display screen,
An offset corresponding to a data length of a predetermined portion on the display screen is added to a storage destination address held by a pointer holding unit, and the second writing unit adds the display to the storage destination address to which the offset has been added. 12. The image decoding apparatus according to claim 11, wherein a macroblock located immediately after a predetermined portion on the screen is written.
の部位と重複する画素データが存在する場合、前記所定
の部位より前方に位置する複数画素データ及び/又は前
記所定の部位より後方に位置する複数画素データをピク
チャタイプに応じたフレーム領域に順次書き込むよう上
書手段を制御することを特徴とする請求項12記載の画
像復号装置。13. When the macroblock decoded by the decoding unit includes pixel data overlapping with the predetermined portion, the prohibition unit may include a plurality of pixel data located ahead of the predetermined portion and / or 13. The image decoding apparatus according to claim 12, wherein the overwriting means is controlled to sequentially write a plurality of pixel data located behind a predetermined part in a frame area corresponding to a picture type.
フレーム間双方向予測方式により符号化されたピクチャ
データであることを特徴とする請求項3記載の画像復号
装置。14. The predetermined type of picture data includes:
4. The image decoding apparatus according to claim 3, wherein the image data is picture data encoded by an inter-frame bidirectional prediction method.
前記所定の部位より前方に位置する複数画素データ及び
/又は前記所定の部位より後方に位置する複数画素デー
タをピクチャタイプに応じたフレーム領域に順次書き込
むよう上書手段を制御することを特徴とする請求項3記
載の画像復号装置。15. The prohibition unit, when new picture data is decoded by a decoding unit,
The overwriting means is controlled to sequentially write a plurality of pixel data located before the predetermined portion and / or a plurality of pixel data located behind the predetermined portion in a frame area corresponding to a picture type. The image decoding device according to claim 3.
オストリームに含まれる複数のピクチャデータを1つず
つ復号し、復号済みのピクチャデータを記憶装置に書き
込む画像復号プログラムを記録したコンピュータ読取可
能な記録媒体であって、 前記画像復号プログラムはここで複数のピクチャデータ
には、符号化方式が相違する複数タイプのピクチャデー
タが含まれていて、 前記記憶装置は、復号済みのピクチャデータであって、
最新のものをタイプ別に書き込む複数のフレーム領域を
有しており、 前記画像復号プログラムはフレーム領域に格納されてい
る復号済みの他のピクチャデータを参照しながら、ビデ
オストリームに含まれる複数のピクチャデータを1つず
つ復号する復号ステップと、 新たなピクチャデータが復号されると、そのピクチャデ
ータを、既にフレーム領域に書き込まれている同じタイ
プの復号済みピクチャデータに上書きする上書ステップ
と、 ホスト装置が記憶装置にワークエリアを確保する旨の要
求を発すると、所定タイプのピクチャデータの一部分で
あって復号ステップによる復号がなされる前のもの、又
は、所定タイプのピクチャデータの復号済みの一部分で
あって上書ステップによる上書き前のものが書き込まれ
るべきフレーム領域内の部分領域をワークエリアに割り
当てる領域割当ステップとからなることを特徴とする記
録媒体。16. A computer-readable recording medium storing an image decoding program for decoding a plurality of picture data included in a video stream one by one according to an instruction from a host device and writing the decoded picture data to a storage device. In the image decoding program, the plurality of pieces of picture data here include a plurality of types of picture data having different encoding schemes, and the storage device is decoded picture data,
The image decoding program has a plurality of frame areas in which the latest one is written for each type, and the image decoding program refers to other decoded picture data stored in the frame area, and a plurality of picture data included in the video stream. A new picture data is decoded, and when new picture data is decoded, an overwrite step of overwriting the picture data with decoded picture data of the same type already written in the frame area, and a host device Issues a request to secure a work area in the storage device, a portion of the predetermined type of picture data before being decoded by the decoding step, or a portion of the predetermined type of decoded picture data of the picture data. The part in the frame area where the one before overwriting by the overwrite step should be written And a region allocating step of allocating a divided region to a work area.
共に記憶装置に書き込むべきホストデータを出力し、 前記ピクチャデータは、一表示画面分の複数の画素デー
タを含み、 前記領域割当ステップは、 復号前のピクチャデータに含まれる画素データであって
表示画面上の所定の部位に位置するものの復号、又は、
復号済みのピクチャデータに含まれる画素データであっ
て前記所定の部位に位置するものの上書きを禁止する禁
止サブステップと、 所定タイプのピクチャデータが書き込まれるべきフレー
ム領域上の部分領域であって、表示画面上の前記所定の
部位に対応するものに、ホスト装置が出力したホストデ
ータを書き込む第1書込サブステップとからなることを
特徴とする請求項16記載の記録媒体。17. The host device outputs host data to be written to a storage device together with an output of a reservation request, the picture data includes a plurality of pixel data for one display screen, and the area allocating step includes decoding Decoding of pixel data included in the previous picture data and located at a predetermined portion on the display screen, or
A prohibition sub-step of prohibiting overwriting of pixel data included in the decoded picture data and located at the predetermined site; and a partial area on a frame area where predetermined-type picture data is to be written. 17. The recording medium according to claim 16, comprising: a first writing sub-step of writing host data output by a host device to a portion corresponding to the predetermined portion on a screen.
ワークエリアを継続して確保する旨を含み、 前記禁止サブステップは、 前記第1書込サブステップにより部分領域に書き込まれ
たホストデータが上書きされないよう、復号前のピクチ
ャデータに含まれる画素データであって前記所定の部位
に位置するものの復号禁止、又は、復号済みのピクチャ
データに含まれる画素データであって前記所定の部位に
位置するものの上書き禁止を前記所定の期間において継
続することを特徴とする請求項17記載の記録媒体。18. The securing request includes securing a work area continuously for a predetermined period, and the prohibiting sub-step includes overwriting host data written in a partial area by the first writing sub-step. The pixel data included in the pre-decoded picture data and located at the predetermined portion is prohibited from decoding, or the pixel data included in the decoded picture data and located at the predetermined portion is not 18. The recording medium according to claim 17, wherein overwriting prohibition is continued during the predetermined period.
面の周縁部であることを特徴とする請求項18記載の記
録媒体。19. The recording medium according to claim 18, wherein the position information of the predetermined portion is a peripheral portion of a display screen.
スクリーンディスプレィデータを前記ワークエリアに書
き込む際に発せられ、 前記ホスト装置は、確保要求と共に記憶装置に格納すべ
きオンスクリーンディスプレィデータを出力し、 前記所定の部位は、表示画面において前記オンスクリー
ンディスプレィデータに割り当てられる部位であること
を特徴とする請求項18記載の記録媒体。20. The work area reservation request is issued when writing on-screen display data to the work area, and the host device outputs on-screen display data to be stored in a storage device together with the reservation request, 19. The recording medium according to claim 18, wherein the predetermined part is a part allocated to the on-screen display data on a display screen.
タは、画面にオーバレイすべきイメージデータと、当該
データを展開する場合の縦横サイズと、画面にオーバレ
イすべき座標を示す座標情報とを含み、 前記ホスト装置は、 ワークエリアの確保要求と共に、前記縦横サイズと、前
記座標情報とを領域割当ステップに通知し、 前記領域割当ステップはホスト装置により通知された縦
横サイズと、前記座標情報とに基づいて所定の部位を示
す位置情報を算出する前記位置情報算出サブステップを
有することを特徴とする請求項20記載の記録媒体。21. The on-screen display data includes image data to be overlaid on a screen, a vertical and horizontal size when the data is expanded, and coordinate information indicating coordinates to be overlaid on a screen. Along with a request for securing a work area, the vertical and horizontal sizes and the coordinate information are notified to an area allocating step, and the area allocating step is performed based on the vertical and horizontal sizes notified by the host device and the coordinate information. 21. The recording medium according to claim 20, further comprising the position information calculating sub-step of calculating position information indicating the following.
タは、透明色のものと不透明色のものとがあり、 フレーム領域に書き込まれている復号済みのピクチャデ
ータは、一画面分の輝度データと、色差データとを含
み、 前記領域割当ステップは更に透明色のオンスクリーンデ
ィスプレィデータについては、フレーム領域上の部分領
域であって、色差データが占有している領域を特定し、 不透明色のオンスクリーンディスプレィデータについて
は、フレーム領域上の部分領域であって、輝度データ及
び色差データが占有している領域を特定する領域特定サ
ブステップを備え、 前記第1書込サブステップは、 前記領域特定サブステップにより特定された領域にオン
スクリーンディスプレィデータを書き込み、 前記画像復号プログラムは、 表示画面横幅分の画素データ行を順次フレーム領域から
読み出す水平読出ステップと、 読み出された画素データ行を映像信号に変換する変換ス
テップと、 読み出された画素データ行が透明色のオンスクリーンデ
ィスプレィデータと重複している場合、読み出された画
素データ行における重複部分の色差データに代えて、所
定のデータを変換ステップに供給する画像データ供給サ
ブステップとからなることを特徴とする請求項21記載
の記録媒体。22. The on-screen display data includes transparent color data and opaque color data. Decoded picture data written in a frame area includes luminance data for one screen, chrominance data, and the like. The area assigning step further includes: for transparent on-screen display data, specifying a partial area on the frame area occupied by the color difference data, and for opaque on-screen display data, And an area specifying sub-step for specifying an area occupied by luminance data and chrominance data, which is a partial area on the frame area, wherein the first writing sub-step is specified by the area specifying sub-step. Writing on-screen display data in the area, the image decoding program displays A horizontal reading step for sequentially reading pixel data rows for the width of the surface from the frame area; a converting step for converting the read pixel data rows into a video signal; and an on-screen display data in which the read pixel data rows are transparent. 22. An image data supply sub-step of supplying predetermined data to the conversion step in place of the color difference data of the overlapped portion in the read pixel data row when the image data overlaps with the pixel data row. Recording medium.
所定の部位と重複している場合、前記所定の部位より前
方に位置する画素データ行及び/又は前記所定の部位よ
り後方に位置する画素データ行を順次読み出すことを特
徴とする請求項22記載の記録媒体。23. The horizontal reading step, wherein, when a pixel data row to be read next overlaps with a predetermined portion on the display screen, the pixel data line located ahead of the predetermined portion and / or 23. The recording medium according to claim 22, wherein the pixel data rows located behind the portion are sequentially read.
のm行×s列分の画素データからなるスライスデータから
なり、 各スライスデータは、スライスヘッダと、m行×n列分の
画素データとを含み(m,nは1以上の整数)、スライスヘッ
ダは、それら画素データの配置先を示しており、 前記画像復号プログラムを読み取るコンピュータはコン
ピュータ外部から入力されてくる複数のスライスデータ
を順次格納するバッファメモリを備え、 前記領域割当ステップは バッファメモリに格納されたスライスデータを順次復号
ステップに転送する転送ステップと、 スライスヘッダに示されている配置先が前記表示画面に
おける所定の部位と一致しているスライスデータを検出
する第1検出サブステップとを備え、 前記禁止サブステップは、 前記表示画面における所定の部位直前に位置する未復号
のスライスと、前記表示画面における所定の部位直後に
位置する未復号のスライスとが連続してバッファメモリ
から復号ステップへと転送されるよう転送ステップを制
御することを特徴とする請求項18記載の記録媒体。24. The undecoded picture data includes slice data composed of a plurality of m rows × s columns of pixel data. Each slice data includes a slice header and m rows × n columns of pixel data. (M and n are integers of 1 or more), and the slice header indicates an arrangement destination of the pixel data.The computer that reads the image decoding program sequentially stores a plurality of slice data input from outside the computer. A transfer step of sequentially transferring slice data stored in the buffer memory to a decoding step; and an arrangement destination indicated in a slice header matches a predetermined portion on the display screen. A first detection sub-step of detecting slice data that is present, wherein the prohibition sub-step is performed on the display screen. The transfer step is controlled such that the undecoded slice located immediately before the predetermined part and the undecoded slice located immediately after the predetermined part on the display screen are continuously transferred from the buffer memory to the decoding step. 19. The recording medium according to claim 18, wherein:
クを複数有しており、 各マクロブロックは、マクロブロックヘッダと、s行×t
列分の画素データとを含み(sはs≦mの関係を満たす1以
上の整数であり、tはt≦nの関係を満たす1以上の整
数)、マクロブロックヘッダは、それら画素データの配
置先を示しており、 前記領域割当ステップはマクロブロックヘッダに示され
ている配置先が前記表示画面における所定の部位と一致
しているマクロブロックを検出する第2検出サブステッ
プを備え、 前記禁止サブステップは、 前記表示画面における所定の部位直前に位置する未復号
のマクロブロックと、前記表示画面における所定の部位
直後に位置する未復号のマクロブロックとが連続してバ
ッファメモリから復号ステップへと転送されるよう転送
ステップを制御することを特徴とする請求項24記載の
記録媒体。25. The slice data has a plurality of macroblocks, and each macroblock includes a macroblock header and s rows × t
(S is an integer of 1 or more that satisfies the relationship of s ≦ m, and t is an integer of 1 or more that satisfies the relationship of t ≦ n), and the macro block header is the arrangement of the pixel data. Wherein the area allocation step includes a second detection sub-step of detecting a macro block whose arrangement destination indicated in the macro block header matches a predetermined portion on the display screen; In the step, an undecoded macroblock located immediately before a predetermined portion on the display screen and an undecoded macroblock located immediately after a predetermined portion on the display screen are sequentially transferred from the buffer memory to the decoding step. 25. The recording medium according to claim 24, wherein a transfer step is controlled so as to be performed.
グラムを読み取るコンピュータは新たに復号された復号
済マクロブロックの格納先を示す格納先アドレスを保持
するポインタ保持部を備え、 前記画像復号プログラムは前記復号ステップによるマク
ロブロックの復号が済むと、ポインタ保持部が保持して
いる格納先アドレスに新たに復号された復号済マクロブ
ロックを書き込む第2書込サブステップと、 マクロブロックが書き込まれると、ポインタ保持部が保
持している格納先アドレスにマクロブロックのデータ長
に相当するオフセットを加算するインクリメントステッ
プとからなることを特徴とする請求項25記載の記録媒
体。26. The overwriting step, wherein the computer that reads the image decoding program includes a pointer holding unit that holds a storage destination address indicating a storage destination of a newly decoded macroblock. When the decoding of the macroblock in the decoding step is completed, a second writing sub-step of writing the newly decoded macroblock to the storage destination address held by the pointer holding unit; 26. The recording medium according to claim 25, further comprising an increment step of adding an offset corresponding to the data length of the macroblock to the storage destination address held by the holding unit.
に位置する未復号のマクロブロックと、前記表示画面に
おける所定の部位直後に位置する未復号のマクロブロッ
クとが連続してバッファメモリから復号ステップへと転
送され、 前記インクリメントステップは、 次に格納すべきマクロブロックが前記表示画面における
所定の部位直後に位置するマクロブロックである場合、
前記表示画面における所定の部位のデータ長に相当する
オフセットをポインタ保持部が保持している格納先アド
レスに加算し、 前記第2書込サブステップは、 前記オフセットが加算
された格納先アドレスに前記表示画面における所定の部
位直後に位置するマクロブロックを書き込むことを特徴
とする請求項26記載の記録媒体。27. An undecoded macroblock located immediately before a predetermined portion on the display screen and an undecoded macroblock located immediately after a predetermined portion on the display screen continuously from the buffer memory to the decoding step. And the incrementing step includes: when a macro block to be stored next is a macro block located immediately after a predetermined portion on the display screen,
Adding an offset corresponding to a data length of a predetermined portion on the display screen to a storage destination address held by a pointer holding unit; and the second writing sub-step includes: adding the offset to the storage destination address to which the offset has been added. 27. The recording medium according to claim 26, wherein a macro block located immediately after a predetermined portion on the display screen is written.
所定の部位と重複する画素データが存在する場合、前記
所定の部位より前方に位置する複数画素データ及び/又
は前記所定の部位より後方に位置する複数画素データを
ピクチャタイプに応じたフレーム領域に順次書き込むよ
う上書ステップを制御することを特徴とする請求項27
記載の記録媒体。28. The prohibition sub-step includes: when pixel data overlapping with the predetermined portion exists in the macroblock decoded in the decoding step, a plurality of pixel data located ahead of the predetermined portion and / or 28. An overwriting step is controlled to sequentially write a plurality of pixel data located behind the predetermined part in a frame area corresponding to a picture type.
The recording medium according to the above.
フレーム間双方向予測方式により符号化されたピクチャ
データであることを特徴とする請求項28記載の記録媒
体。29. The predetermined type of picture data includes:
The recording medium according to claim 28, wherein the recording medium is picture data encoded by an inter-frame bidirectional prediction method.
と、前記所定の部位より前方に位置する複数画素データ
及び/又は前記所定の部位より後方に位置する複数画素
データをピクチャタイプに応じたフレーム領域に順次書
き込むよう上書ステップを制御することを特徴とする請
求項28記載の記録媒体。30. The prohibition sub-step includes: when new picture data is decoded in a decoding step, a plurality of pixel data located before the predetermined portion and / or a plurality of pixel data located behind the predetermined portion. 29. The recording medium according to claim 28, wherein the overwriting step is controlled so that data is sequentially written in a frame area corresponding to a picture type.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3501099A JPH11298857A (en) | 1998-02-13 | 1999-02-12 | Image decoding apparatus for decoding an image so as to give another use to a frame area occupying a large area in a storage device, and a computer-readable recording medium storing an image decoding program |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3096398 | 1998-02-13 | ||
| JP10-30963 | 1998-02-13 | ||
| JP3501099A JPH11298857A (en) | 1998-02-13 | 1999-02-12 | Image decoding apparatus for decoding an image so as to give another use to a frame area occupying a large area in a storage device, and a computer-readable recording medium storing an image decoding program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11298857A true JPH11298857A (en) | 1999-10-29 |
Family
ID=26369410
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3501099A Pending JPH11298857A (en) | 1998-02-13 | 1999-02-12 | Image decoding apparatus for decoding an image so as to give another use to a frame area occupying a large area in a storage device, and a computer-readable recording medium storing an image decoding program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11298857A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002035512A1 (en) * | 2000-10-26 | 2002-05-02 | Matsushita Electric Industrial Co., Ltd. | Image display apparatus |
| WO2003034745A3 (en) * | 2001-10-19 | 2003-11-20 | Koninkl Philips Electronics Nv | Method and system for skipping decoding of overlaid areas of video |
| WO2004075562A1 (en) * | 2003-02-19 | 2004-09-02 | Matsushita Electric Industrial Co., Ltd. | Image decoding device, image encoding device, and method thereof |
| JP2006042364A (en) * | 2004-07-28 | 2006-02-09 | Samsung Electronics Co Ltd | Memory mapping apparatus in video decoder / encoder and memory mapping method in video decoder / encoder |
| JP2009522650A (en) * | 2005-12-30 | 2009-06-11 | インテル コーポレイション | Hardware motion compensation in video recording |
| CN113709496A (en) * | 2021-08-24 | 2021-11-26 | 天津津航计算技术研究所 | Multi-channel video decoding method based on fault-tolerant mechanism |
-
1999
- 1999-02-12 JP JP3501099A patent/JPH11298857A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002035512A1 (en) * | 2000-10-26 | 2002-05-02 | Matsushita Electric Industrial Co., Ltd. | Image display apparatus |
| WO2003034745A3 (en) * | 2001-10-19 | 2003-11-20 | Koninkl Philips Electronics Nv | Method and system for skipping decoding of overlaid areas of video |
| US7016414B2 (en) | 2001-10-19 | 2006-03-21 | Koninklijke Philips Electronics N.V. | Method and system for skipping decoding of overlaid areas of video |
| WO2004075562A1 (en) * | 2003-02-19 | 2004-09-02 | Matsushita Electric Industrial Co., Ltd. | Image decoding device, image encoding device, and method thereof |
| JP2006042364A (en) * | 2004-07-28 | 2006-02-09 | Samsung Electronics Co Ltd | Memory mapping apparatus in video decoder / encoder and memory mapping method in video decoder / encoder |
| US8442107B2 (en) | 2004-07-28 | 2013-05-14 | Samsung Electronics Co., Ltd. | Memory mapping apparatus and method for video decoder/encoder |
| JP2009522650A (en) * | 2005-12-30 | 2009-06-11 | インテル コーポレイション | Hardware motion compensation in video recording |
| US8249140B2 (en) | 2005-12-30 | 2012-08-21 | Intel Corporation | Direct macroblock mode techniques for high performance hardware motion compensation |
| CN113709496A (en) * | 2021-08-24 | 2021-11-26 | 天津津航计算技术研究所 | Multi-channel video decoding method based on fault-tolerant mechanism |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6462744B1 (en) | Image decoding apparatus that performs image decoding so that frame areas that occupy a large area in a storage apparatus can be used for other purposes, and a recording medium recording an image decoding program | |
| US8698840B2 (en) | Method and apparatus for processing video and graphics data to create a composite output image having independent and separate layers of video and graphics display planes | |
| KR100376207B1 (en) | Method and apparatus for efficient addressing of DRAM in video expansion processor | |
| KR0160189B1 (en) | Method for forming sub-image data packet including data of sub image super imposed on main image, recording medium for recording sub-image data packet and image process apparatus | |
| JP5008431B2 (en) | Image processing apparatus and image processing method | |
| US7623140B1 (en) | Method and apparatus for processing video and graphics data to create a composite output image having independent and separate layers of video and graphics | |
| KR100190250B1 (en) | Digital television set | |
| EP0729276B1 (en) | Memory control system and video decoder using the same | |
| GB2336267A (en) | Image processor controlling B-picture memory | |
| US5929911A (en) | Multiformat reduced memory MPEG-2 compliant decoder | |
| EP1147671B1 (en) | Method and apparatus for performing motion compensation in a texture mapping engine | |
| JP4879381B2 (en) | Image decoding method and image decoding apparatus | |
| JPH08294115A (en) | MPEG decoder and decoding method thereof | |
| JPH11298857A (en) | Image decoding apparatus for decoding an image so as to give another use to a frame area occupying a large area in a storage device, and a computer-readable recording medium storing an image decoding program | |
| CN102549650B (en) | Image processing device, control method for image processing device, control program for image processing device, and recording medium in which control program is recorded | |
| US6683986B1 (en) | Efficient transmission of quarter-VGA images using DVC codecs | |
| JP2007293533A (en) | Processor system and data transfer method | |
| JPH11355683A (en) | Video display device | |
| JP3297309B2 (en) | Device for decoding and displaying encoded image data | |
| JP2001148815A (en) | Image display device and medium | |
| JP2010032801A (en) | Display device and display control method | |
| JP3522567B2 (en) | Video output processing device | |
| US7389004B2 (en) | Image processing apparatus | |
| JP3307822B2 (en) | Image processing device | |
| JP2000333166A (en) | High-efficiency encoded image decoding means and image display apparatus having the same |