JPH08275111A - Encoding/decoding system for image information - Google Patents

Encoding/decoding system for image information

Info

Publication number
JPH08275111A
JPH08275111A JP1888596A JP1888596A JPH08275111A JP H08275111 A JPH08275111 A JP H08275111A JP 1888596 A JP1888596 A JP 1888596A JP 1888596 A JP1888596 A JP 1888596A JP H08275111 A JPH08275111 A JP H08275111A
Authority
JP
Japan
Prior art keywords
sub
picture
information
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1888596A
Other languages
Japanese (ja)
Other versions
JP2712099B2 (en
Inventor
Tetsuya Kitamura
哲也 北村
Tae Aoki
妙 青木
Toshiaki Shirasago
俊明 白砂
Hidenori Mimura
英紀 三村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP1888596A priority Critical patent/JP2712099B2/en
Publication of JPH08275111A publication Critical patent/JPH08275111A/en
Application granted granted Critical
Publication of JP2712099B2 publication Critical patent/JP2712099B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To reduce waste in sub video data in terms of display space and display time. CONSTITUTION: A sub video packet is encoded by using packet header information PH including a time stamp expressing a reproduction start time of the sub video packet, sub video information 32 for the sub video image and including picture element data PXD compressed by a prescribed method, display control sequence information 33 including one display control sequence DCSQT or over to control the display order of the sub video image through the use of the sub video information 32, and sub video header information SPUH including the size of the sub video image packet and the location of the display control sequence information 33. The content of the encoded sub video packet is decoded at reproduction and displayed based on the display control sequence DCSQT.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、主映像とともに
同時再生される副映像などの画像情報をエンコードしデ
コードするシステムの改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in a system for encoding and decoding image information such as sub-pictures which are reproduced simultaneously with a main picture.

【0002】またこの発明は、映像データとともに供給
され同時再生される副映像データの、たとえば光ディス
クのような記録媒体へのデータ記録方法および記録媒体
等に関する。
The present invention also relates to a data recording method and a recording medium for recording sub-video data supplied together with video data and simultaneously reproduced on a recording medium such as an optical disk.

【0003】[0003]

【従来の技術】映画の字幕やテレビ音量の設定値として
表示されるイメージなど主映像にスーパーインポーズさ
れる副映像は、大きく分けて、キャラクタコード方式お
よびビットマップデータ方式の2つの方式で実現されて
いる。
2. Description of the Related Art Sub-pictures superimposed on a main picture, such as images displayed as movie subtitles or TV volume setting values, can be roughly divided into two types: a character code method and a bitmap data method. Has been done.

【0004】[0004]

【発明が解決しようとする課題】キャラクタコード方式
とは、予め登録・用意された文字あるいは模様などのキ
ャラクタをキャラクタジェネレータのキャラクタ記録領
域に保持しておき、キャラクタに割り当てられたコード
をキャラクタジェネレータに与えて所望のキャラクタを
表示させるものである。
The character code system is a method in which a character such as a character or a pattern which is registered and prepared in advance is held in a character recording area of a character generator, and the code assigned to the character is stored in the character generator. This is given to display a desired character.

【0005】この方式では、キャラクタジェネレータな
どの専用ハードウエアが必要となるが、コードを与えて
キャラクタを表示させるので、キャラクタのビットマッ
プデータをそのまま表示系に送って副映像を表示する場
合よりも、表示系に送るべきデータの量は少なくて済
む。しかし、予め登録・用意されたキャラクタしか表示
することができないため、この方式による副映像の表示
用途は限られたものになる。
This system requires special hardware such as a character generator, but since a code is given to display the character, the bit map data of the character is sent as it is to the display system to display the sub-picture. , The amount of data to be sent to the display system can be small. However, since only characters that have been registered and prepared in advance can be displayed, the display application of the sub-picture by this method is limited.

【0006】一方、ビットマップデータ方式の場合は、
副映像のビットマップデータをそのまま表示系に送るの
で、副映像をコードから生成するような専用ハードウエ
アは必要としない。また、表示できる副映像の形に制限
がないので、副映像の表示用途が広がる。
On the other hand, in the case of the bitmap data system,
Since the bitmap data of the sub-picture is sent to the display system as it is, the dedicated hardware for generating the sub-picture from the code is not required. In addition, since the shape of the sub-picture that can be displayed is not limited, the display application of the sub-picture is expanded.

【0007】しかし、この方式では、副映像の色データ
と、副映像を主映像にスーパーインポーズするときに必
要な副映像輪郭の色データと、主映像と副映像のスーパ
ーインポーズ混合比率データとを、1画素毎に持たねば
ならず、表示系に送るべきデータの量は膨大なものにな
ってしまう。
However, in this method, the color data of the sub-picture, the color data of the sub-picture contour necessary when superimposing the sub-picture on the main picture, and the superimposing mixture ratio data of the main picture and the sub-picture. Must be provided for each pixel, and the amount of data to be sent to the display system becomes enormous.

【0008】さらに、一般的にいって、ビットマップデ
ータ方式では、副映像の大きさに拘わらず表示画面(以
下フレームを呼ぶ)全ての画素に関するデータが表示系
へ送られるため、表示空間的に無駄なデータが多い(図
50参照)。
Further, generally, in the bitmap data method, data relating to all the pixels of the display screen (hereinafter referred to as a frame) is sent to the display system regardless of the size of the sub-picture, so that the display space is limited. There is a lot of useless data (see FIG. 50).

【0009】また、キャラクタコード方式・ビットマッ
プデータ方式のどちらの方式でも、表示している副映像
の形に変化が生じなくても、基本的には、表示フレーム
周期毎に副映像データを与え続けなければならず、表示
時間的に無駄なデータが多くなる(図51参照)。
In both the character code system and the bit map data system, even if the shape of the sub-picture being displayed does not change, the sub-picture data is basically given every display frame period. This must be continued, and there is a lot of wasted data in terms of display time (see FIG. 51).

【0010】この発明は、上述したような課題を解決す
るためになされたもので、副映像データの表示空間的な
無駄および表示時間的な無駄を大幅に削減でき、そのう
え副映像表現の自由性に優れ、幅広い副映像利用用途を
確保できる画像情報のエンコード/デコードシステムを
提供することを、目的としている。
The present invention has been made to solve the above-mentioned problems, and can significantly reduce the waste of display space and the waste of display time of sub-picture data, and further, the freedom of sub-picture expression. It is an object of the present invention to provide an image information encoding / decoding system which is excellent and can secure a wide range of sub-picture use applications.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、第1の発明では、主映像データとともに同時再生可
能な副映像データを所定の単位でパケット化して記録媒
体に記録するデータ記録方法において、少なくとも、基
準時刻を用いて表現した前記副映像データパケットの再
生開始時刻を含むパケットヘッダ情報(PH)と、副映
像の表示内容である副映像データ(PXD)と、この副
映像データを用いて前記副映像を表示するための制御手
順を示す1以上の表示制御シーケンス情報(DCSQ
T)と、前記副映像データパケットのサイズおよび前記
表示制御シーケンス情報の記録位置を含む副映像ヘッダ
情報(SPUH)とで、前記副映像パケットを構成して
いる。
In order to achieve the above object, according to the first invention, a data recording method of packetizing main video data and sub video data which can be simultaneously reproduced in a predetermined unit and recording them in a recording medium. In at least the packet header information (PH) including the reproduction start time of the sub-picture data packet expressed using the reference time, the sub-picture data (PXD) which is the display content of the sub-picture, and the sub-picture data. One or more display control sequence information (DCSQ) indicating a control procedure for displaying the sub-picture using
T) and sub-picture header information (SPUH) including the size of the sub-picture data packet and the recording position of the display control sequence information make up the sub-picture packet.

【0012】第2の発明では、主映像データとともに同
時再生可能な複数チャネル分の副映像データをそれぞれ
所定の単位でパケット化し、かつ前記複数のチャネルの
中から選ばれたチャネルの複数のデータパケットを1つ
の副映像データブロックとして記録媒体に記録するデー
タ記録方法において、少なくとも、基準時刻を用いて表
現した前記副映像データパケットの再生開始時刻を含む
パケットヘッダ情報(PH)と、副映像の表示内容であ
る副映像データ(PXD)と、この副映像データを用い
て前記副映像を表示するための制御手順を示す1以上の
表示制御シーケンス情報(DCSQT)と、前記副映像
データパケットのサイズおよび前記表示制御シーケンス
情報の記録位置を含む副映像ヘッダ情報(SPUH)と
で、前記副映像パケットを構成し;かつ、前記パケット
ヘッダ情報内の前記副映像データパケットの再生時刻
(PTS)は、前記副映像データブロック内の先頭の副
映像データパケットに対してのみ記録している。
In the second invention, sub-picture data for a plurality of channels that can be simultaneously reproduced together with the main picture data is packetized in a predetermined unit, and a plurality of data packets of a channel selected from the plurality of channels are packetized. In a data recording method for recording as a sub-picture data block on a recording medium, at least packet header information (PH) including a reproduction start time of the sub-picture data packet expressed using a reference time, and a sub-picture display. The sub-picture data (PXD) which is the content, one or more display control sequence information (DCSQT) indicating a control procedure for displaying the sub-picture using the sub-picture data, the size of the sub-picture data packet, and The sub-picture header information (SPUH) including the recording position of the display control sequence information and the sub-picture part Configure Tsu bets; and reproduction time of the sub-picture data packets in the packet header information (PTS) is recorded only to the top of the sub-picture data packets of the sub-picture data block.

【0013】第3の発明では、第1または第2の発明に
おいて、少なくとも、副映像の表示開始時刻および表示
終了時刻と、表示すべき前記副映像データの記録位置
と、この記録位置に記録された副映像データに対する表
示制御情報群とで、前記表示制御シーケンス情報(図3
3のDCSQ)を構成している。
According to a third invention, in the first or second invention, at least the display start time and the display end time of the sub-picture, the recording position of the sub-picture data to be displayed, and the recording position are recorded at this recording position. Display control information group for the sub-picture data and the display control sequence information (see FIG. 3).
3 DCSQ).

【0014】第4の発明では、第3の発明において、前
記副映像の表示開始時刻および表示終了時刻は、前記副
映像データパケットの再生開始時刻からの相対時間で規
定されている。
In a fourth aspect based on the third aspect, the display start time and display end time of the sub-picture are defined by relative time from the reproduction start time of the sub-picture data packet.

【0015】第5の発明では、第3の発明の前記表示制
御情報として、前記表示制御シーケンス情報に含まれる
前記表示開始時刻を基に前記副映像データの表示を開始
するような制御を行なうための表示開始制御情報(図3
4のSTADSP)が記録される。
In the fifth aspect of the invention, as the display control information of the third aspect of the invention, the control for starting the display of the sub-picture data is performed based on the display start time included in the display control sequence information. Display start control information (Fig. 3
4 STADSP) is recorded.

【0016】第6の発明では、第3の発明の前記表示制
御情報として、前記表示制御シーケンス情報に含まれる
前記表示終了時刻を基に前記副映像データの表示が終了
するような制御を行なうための表示終了制御情報(図3
4のSTPDSP)が記録される。
In the sixth aspect of the invention, as the display control information of the third aspect of the invention, the control for terminating the display of the sub-picture data is performed based on the display end time included in the display control sequence information. Display end control information (Fig. 3
4 STPDSP) is recorded.

【0017】第7の発明では、第3の発明の前記表示制
御情報として、前記副映像データの画素種別毎の色を設
定するための色設定情報(図34のSETCOLOR)
が記録される。
In the seventh invention, as the display control information of the third invention, color setting information (SETCOLOR in FIG. 34) for setting a color for each pixel type of the sub-picture data.
Is recorded.

【0018】第8の発明では、第3の発明の前記表示制
御情報として、前記主映像に対する前記副映像データの
画素種別毎の混合比を設定するための混合比設定情報
(図34のSETCONTR)が記録される。
In the eighth invention, as the display control information of the third invention, mixture ratio setting information (SETCONTR in FIG. 34) for setting a mixture ratio of the sub-picture data with respect to the main picture for each pixel type. Is recorded.

【0019】第9の発明では、第3の発明の前記表示制
御情報として、前記主映像上の前記副映像データの表示
領域を設定するための表示領域設定情報(図34のSE
TDAREA)が記録される。
In the ninth invention, as the display control information of the third invention, display area setting information (SE in FIG. 34) for setting a display area of the sub-picture data on the main picture.
TDAREA) is recorded.

【0020】第10の発明では、第3の発明の前記表示
制御情報として、前記副映像データ中の表示に使用すべ
き範囲を設定するための使用範囲設定情報(図34のS
ETDSPXA)が記録される。
In the tenth invention, as the display control information of the third invention, use range setting information for setting a range to be used for display in the sub-picture data (S in FIG. 34).
ETDSPXA) is recorded.

【0021】第11の発明では、第3の発明の前記表示
制御情報として、前記副映像データの画素種別毎の色の
変化、および前記主映像に対する前記副映像データの画
素種別毎の混合比の変化を、画素単位で設定するための
色/混合比変化設定情報(図34のCHGCOLCO
N)が記録される。
In the eleventh invention, as the display control information of the third invention, a color change of each pixel type of the sub-picture data and a mixture ratio of the sub-picture data to the main picture for each pixel type. Color / mixing ratio change setting information (CHGCOLCO in FIG. 34) for setting changes in pixel units.
N) is recorded.

【0022】第12の発明では、第3の発明の前記表示
制御情報として、前記副映像データの表示制御の終了を
設定するための表示制御終了設定情報(図34のCMD
END)が記録される。
In the twelfth invention, as the display control information of the third invention, display control end setting information (CMD in FIG. 34) for setting the end of the display control of the sub-picture data.
END) is recorded.

【0023】第13の発明では、主映像データとともに
同時再生可能な副映像データが所定の単位でパケット化
されて記録される記録媒体において、記録されるデータ
パケットが、少なくとも、基準時刻を用いて表現した前
記副映像データパケットの再生開始時刻を含むパケット
ヘッダ情報(PH)と、副映像の表示内容である副映像
データ(PXD)と、この副映像データを用いて前記副
映像を表示するための制御手順を示す1以上の表示制御
シーケンス情報(DCSQT)と、前記副映像データパ
ケットのサイズおよび前記表示制御シーケンス情報の記
録位置を含む副映像ヘッダ情報(SPUH)とで構成さ
れる。
In the thirteenth invention, in the recording medium in which the sub-picture data which can be simultaneously reproduced together with the main picture data is packetized and recorded in a predetermined unit, the recorded data packet uses at least the reference time. Packet header information (PH) including the reproduction start time of the expressed sub-picture data packet, sub-picture data (PXD) which is the display content of the sub-picture, and for displaying the sub-picture using this sub-picture data And one or more pieces of display control sequence information (DCSQT) indicating the control procedure of (1), and sub-picture header information (SPUH) including the size of the sub-picture data packet and the recording position of the display control sequence information.

【0024】第14の発明では、主映像データとともに
同時再生可能な複数チャネル分の副映像データが所定の
単位でパケット化され、かつ前記複数のチャネルの中か
ら選ばれたチャネルの複数のデータパケットが1つの副
映像データブロックとして記録される記録媒体におい
て、記録されるデータパケットが、少なくとも、基準時
刻を用いて表現した前記副映像データパケットの再生開
始時刻を含むパケットヘッダ情報(PH)と、副映像の
表示内容である副映像データ(PXD)と、この副映像
データを用いて前記副映像を表示するための制御手順を
示す1以上の表示制御シーケンス情報(DCSQT)
と、前記副映像データパケットのサイズおよび前記表示
制御シーケンス情報の記録位置を含む副映像ヘッダ情報
(SPUH)とで構成され、かつ、前記パケットヘッダ
情報内の前記副映像データパケットの再生時刻(PT
S)が、前記副映像データブロック内の先頭の副映像デ
ータパケットに対してのみ記録される。
In the fourteenth invention, sub-picture data for a plurality of channels that can be simultaneously reproduced together with the main picture data is packetized in a predetermined unit, and a plurality of data packets of a channel selected from the plurality of channels. In a recording medium in which is recorded as one sub-picture data block, the recorded data packet includes packet header information (PH) including at least a reproduction start time of the sub-picture data packet expressed using a reference time. Sub-picture data (PXD) which is the display content of the sub-picture, and one or more display control sequence information (DCSQT) indicating a control procedure for displaying the sub-picture using the sub-picture data.
And sub-picture header information (SPUH) including the size of the sub-picture data packet and the recording position of the display control sequence information, and the reproduction time (PT) of the sub-picture data packet in the packet header information.
S) is recorded only for the first sub-picture data packet in the sub-picture data block.

【0025】この発明においては、1以上の表示制御シ
ーケンス情報(DCSQT)を利用することで副映像デ
ータの表示空間的な無駄および表示時間的な無駄を大幅
に削減できるとともに、ビットマップデータ方式並の副
映像表現自由性を得ることができ、幅広い副映像の用途
を確保することができる。
According to the present invention, use of one or more pieces of display control sequence information (DCSQT) can significantly reduce display space waste and display time waste of the sub-picture data, and at the same time as the bit map data method. The freedom of sub-picture expression can be obtained, and a wide range of sub-picture applications can be secured.

【0026】すなわち、この発明では、副映像データ中
で表示に使用すべき範囲を設定する使用範囲設定情報
(SETDSPXA)を設け、その使用範囲以外のデー
タを表示しないようにすることで、1フレーム分全ての
データを表示系に送る場合に生じてしまうデータ量の表
示空間的な無駄を大幅に削減することができる。
That is, according to the present invention, use range setting information (SETDSPXA) for setting a range to be used for display in the sub-picture data is provided, and data other than the use range is not displayed, so that one frame is displayed. It is possible to significantly reduce display space waste of the data amount that occurs when all the data is sent to the display system.

【0027】また、この発明においては、副映像データ
のパターン画素、ふちどり、背景などの、画素種別毎の
色設定情報(SETCOLOR)および混合比設定情報
(SETCONTR)を設け、副映像表示データとして
副映像イメージの形状情報だけを持たせることで、画素
毎に色情報および混合比情報を持たせる従来方式と比
べ、同程度の副映像形状表現性を、より少ないデータ量
で保証できる。
Further, in the present invention, the color setting information (SETCOLOR) and the mixture ratio setting information (SETCONTR) for each pixel type such as the pattern pixel, the trimming, and the background of the sub-picture data are provided, and the sub-picture display data is sub-picture data. By providing only the shape information of the video image, it is possible to guarantee the same sub-video shape representation with a smaller amount of data, as compared with the conventional method in which the color information and the mixing ratio information are provided for each pixel.

【0028】さらにこの発明では、副映像データの画素
種別毎の色の変化、および主映像に対する副映像データ
の画素種別毎の混合比の変化を、画素単位で設定する色
/混合比変化設定情報(CHGCOLCON)を設けた
ので、副映像の動的な表示を、従来のビットマップデー
タ方式と同等の精度で、しかもビットマップデータ方式
よりも少ないデータ量で、実現できる。
Further, according to the present invention, the color / mixing ratio change setting information for setting the change of the color of the sub-picture data for each pixel type and the change of the mixture ratio of the sub-picture data for the main image for each pixel type in pixel units. Since (CHGCOLCON) is provided, the dynamic display of the sub-picture can be realized with the same accuracy as that of the conventional bitmap data method and with a smaller data amount than the bitmap data method.

【0029】なお、副映像は1画素毎に色情報が変化す
るものは希であり、色/混合比変化設定情報自体のデー
タ量が過度なものとなる心配はない。
It is rare that the color information of each sub-picture changes in each pixel, and there is no fear that the data amount of the color / mixing ratio change setting information itself becomes excessive.

【0030】さらにこの発明では、副映像イメージの色
が変化したとしても、その形状が変化しない限り、同じ
副映像データを用いて複数フレームの表示時間に跨って
副映像を表示できる。したがって、色・形が変化するし
ないに拘わらずフレーム周期で副映像データを表示系に
与え続けなければならない従来方式に比べ、副映像デー
タの表示時間的な無駄を大幅に削減することができる。
Further, according to the present invention, even if the color of the sub-picture image changes, the sub-picture can be displayed over the display time of a plurality of frames using the same sub-picture data as long as the shape does not change. Therefore, it is possible to significantly reduce the waste of display time of the sub-picture data as compared with the conventional method in which the sub-picture data must be continuously supplied to the display system at the frame cycle regardless of the color / shape change.

【0031】[0031]

【発明の実施の形態】以下、図面を参照して、この発明
の一実施の形態に係る画像情報のエンコード/デコード
システムを説明する。なお、重複説明を避けるために、
複数の図面に渡り機能上共通する部分には共通の参照符
号が用いられている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An image information encoding / decoding system according to an embodiment of the present invention will be described below with reference to the drawings. In order to avoid duplicate explanation,
Common reference numerals are used for parts that are functionally common to a plurality of drawings.

【0032】図1〜図59は、この発明の一実施の形態
に係る画像情報のエンコード/デコードシステムを説明
するための図である。
1 to 59 are views for explaining an image information encoding / decoding system according to an embodiment of the present invention.

【0033】図1は、この発明を適用できる情報保持媒
体の一例としての光ディスクODの記録データ構造を略
示している。
FIG. 1 schematically shows a recording data structure of an optical disc OD as an example of an information holding medium to which the present invention can be applied.

【0034】この光ディスクODは、たとえば片面約5
Gバイトの記憶量量をもつ両面貼合せディスクであり、
ディスク内周側のリードインエリアからディスク外周側
のリードアウトエリアまでの間に多数の記録トラックが
配置されている。各トラックは多数の論理セクタで構成
されており、それぞれのセクタに各種情報(適宜圧縮さ
れたデジタルデータ)が格納されている。
This optical disk OD has, for example, about 5 per side.
A double-sided bonded disc with a storage capacity of G bytes,
A large number of recording tracks are arranged between the lead-in area on the inner side of the disc and the lead-out area on the outer side of the disc. Each track is composed of a large number of logical sectors, and various information (appropriately compressed digital data) is stored in each sector.

【0035】図2は、図1の光ディスクODに記録され
る映像(ビデオ)用ファイルのデータ構造を例示してい
る。
FIG. 2 exemplifies the data structure of a video file recorded on the optical disc OD of FIG.

【0036】図2に示すように、この映像用ファイル
は、ファイル管理情報1および映像用データ2を含んで
いる。映像用データ2は、ビデオデータブロック、オー
ディオデータブロック、副映像データブロック、そして
これらのデータ再生を制御するために必要な情報(DS
I;Disk Search Information)を記録したDSIブロ
ックから構成されている。各ブロックは、たとえばデー
タの種類毎に一定のデータサイズのパケットに、それぞ
れ分割される。ビデオデータブロック、オーディオデー
タブロックおよび副映像データブロックは、これらブロ
ック群の直前に配置されたDSIを基に、それぞれ同期
をとって再生される。
As shown in FIG. 2, this video file includes file management information 1 and video data 2. The video data 2 includes a video data block, an audio data block, a sub-video data block, and information (DS) necessary for controlling reproduction of these data.
I: Disk Search Information). Each block is divided into packets each having a constant data size for each data type, for example. The video data block, audio data block, and sub-picture data block are reproduced in synchronization with each other based on the DSI arranged immediately before these block groups.

【0037】すなわち、図1の複数論理セクタの集合体
の中に、ディスクODで使用されるシステムデータを格
納するシステムエリアと、ボリューム管理情報エリアと
複数ファイルエリアが、形成される。
That is, a system area for storing system data used in the disk OD, a volume management information area, and a plurality of file areas are formed in the aggregate of the plurality of logical sectors in FIG.

【0038】上記複数のファイルエリアのうち、たとえ
ばファイル1は、主映像情報(図中のVIDEO)、主
映像に対して補助的な内容を持つ副映像情報(図中のS
UB−PICTURE)、音声情報(図中のAUDI
O)、再生情報(図中のPLAYBACK INF
O.)等を含んでいる。
Of the plurality of file areas, for example, file 1 has main video information (VIDEO in the figure) and sub-video information (S in the figure) having auxiliary contents to the main video.
UB-PICTURE), audio information (AUDI in the figure)
O), reproduction information (PLAYBACK INF in the figure)
O. ) Etc. are included.

【0039】図3は、図2で例示したデータ構造のう
ち、エンコード(ランレングス圧縮)された副映像情報
のパックの論理構造を例示している。
FIG. 3 shows an example of the logical structure of a pack of encoded (run-length compressed) sub-picture information in the data structure shown in FIG.

【0040】図3の上部に示すように、ビデオデータに
含まれる副映像情報の1パックはたとえば2048バイ
ト(2kB)で構成される。この副映像情報の1パック
は、先頭のパックのヘッダのあとに、1以上の副映像パ
ケットを含んでいる。第1の副映像パケットは、そのパ
ケットのヘッダのあとに、ランレングス圧縮された副映
像データ(SP DATA1)を含んでいる。同様に、
第2の副映像パケットは、そのパケットのヘッダのあと
に、ランレングス圧縮された副映像データ(SP DA
TA2)を含んでいる。
As shown in the upper part of FIG. 3, one pack of sub-picture information included in the video data is composed of, for example, 2048 bytes (2 kB). This one pack of sub-picture information includes one or more sub-picture packets after the header of the first pack. The first sub-picture packet includes run-length compressed sub-picture data (SP DATA1) after the header of the packet. Similarly,
The second sub-picture packet includes run-length compressed sub-picture data (SP DA) after the header of the packet.
TA2) is included.

【0041】このような複数の副映像データ(SP D
ATA1、SP DATA2、…)をランレングス圧縮
の1ユニット(1単位)分集めたもの、すなわち副映像
データユニット30に、副映像ユニットヘッダ31が付
与される。この副映像ユニットヘッダ31のあとに、1
ユニット分の映像データ(たとえば2次元表示画面の1
水平ライン分のデータ)をランレングス圧縮した画素デ
ータ32、および各副映像パックの表示制御シーケンス
情報を含むテーブル33が続く。
A plurality of such sub-picture data (SP D
A sub-picture unit header 31 is attached to a sub-picture data unit 30 that is a collection of one unit (one unit) of run-length compression of ATA1, SP DATA2, ... After this sub-picture unit header 31, 1
Video data for a unit (for example, 1 of 2D display screen)
Pixel data 32 obtained by run-length compression of horizontal line data) and a table 33 containing display control sequence information of each sub-picture pack follow.

【0042】換言すると、1ユニット分のランレングス
圧縮データ30は、1以上の副映像パケットの副映像デ
ータ部分(SP DATA1、SP DATA2、…)
の集まりで形成されている。この副映像データユニット
30は、副映像表示用の各種パラメータが記録されてい
る副映像ユニットヘッダSPUH31と、ランレングス
符号からなる表示データ(圧縮された画素データ)PX
D32と、表示制御シーケンステーブルDCSQT33
とで構成されている。
In other words, the run length compressed data 30 for one unit is the sub-picture data portion (SP DATA1, SP DATA2, ...) Of one or more sub-picture packets.
It is formed of a group of. The sub-picture data unit 30 includes a sub-picture unit header SPUH31 in which various parameters for sub-picture display are recorded, and display data (compressed pixel data) PX including run-length codes.
D32 and display control sequence table DCSQT33
It consists of and.

【0043】図4は、図3で例示した1ユニット分のラ
ンレングス圧縮データ30のうち、副映像ユニットヘッ
ダ31の内容の一部を例示している(SPUH31の他
部については図31参照)。ここでは、主映像(たとえ
ば映画の映像本体)とともに記録・伝送(通信)される
副映像(たとえば主映像の映画のシーンに対応した字
幕)のデータに関して、説明を行なう。
FIG. 4 illustrates a part of the contents of the sub-picture unit header 31 of the run-length compressed data 30 for one unit illustrated in FIG. 3 (see FIG. 31 for other parts of the SPUH31). . Here, the data of the sub-picture (for example, the subtitle corresponding to the scene of the movie of the main picture) that is recorded / transmitted (communicated) together with the main picture (for example, the picture body of the movie) will be described.

【0044】図4に示すように、副映像ユニットヘッダ
SPUH31には、副映像の画素データ(表示データ)
32の開始アドレスSPDDADRと、画素データ32
の終了アドレスSPEDADRと、画素データ32のT
V画面上での表示サイズすなわち表示開始位置および表
示範囲(幅と高さ)SPDSZと、副映像データパケッ
ト内の表示制御シーケンステーブル33の記録開始位置
SPDCSQTAとが、記録されている。
As shown in FIG. 4, the sub-picture unit header SPUH31 has sub-picture pixel data (display data).
32 start address SPDD ADR and pixel data 32
End address SPED ADR and T of pixel data 32
The display size on the V screen, that is, the display start position and display range (width and height) SPDSZ, and the recording start position SPDCSQTA of the display control sequence table 33 in the sub-picture data packet are recorded.

【0045】なお、場合によっては、SPUH31に、
システムから指定された背景色SPCHIと、システム
から指定された副映像色SPCINFOと、システムか
ら指定された強調色のパレット色番号SPADJINF
Oと、副映像画素データ32の修飾情報SPMODと、
主映像(MP)に対する副映像(SP)の混合比SPC
ONTと、副映像の開始タイミング(主映像のフレーム
番号に対応)SPDSTと、各ラインおきのデコードデ
ータの開始アドレスSPLine1〜SPlineNと
が、記録されていてもよい。
In some cases, SPUH31
Background color SPCHI specified by the system, sub-picture color SPCINFO specified by the system, and palette color number SPADJINF of the emphasis color specified by the system
O and modification information SPMOD of the sub-picture pixel data 32,
Mixing ratio SPC of sub-picture (SP) to main picture (MP)
The ONT, the start timing of the sub-picture (corresponding to the frame number of the main picture) SPDST, and the start addresses SPLine1 to SPlineN of the decoded data for each line may be recorded.

【0046】なお、各ラインおきのデコードデータの開
始アドレスSPLine1〜SPlineNは、この発
明の好ましい実施形態では、SPUH31に含ませるの
ではなく、複数の副映像フィールド毎に設けられる。
In the preferred embodiment of the present invention, the start addresses SPLine1 to SPlineN of the decoded data for each line are not included in the SPUH31 but are provided for each of a plurality of sub-picture fields.

【0047】もう少し具体的にいうと、副映像ユニット
ヘッダSPUH31には、図4に示すように、以下の内
容を持つ種々なパラメータ(SPDDADRなど)が記
録されている: (1)このヘッダに続く表示データ(副映像の画素デー
タ)の開始アドレス情報(SPDDADR:ヘッダの先
頭からの相対アドレス)と; (2)この表示データの終了アドレス情報(SPEDA
DR:ヘッダの先頭からの相対アドレス)と; (3)この表示データのモニタ画面上における表示開始
位置および表示範囲(幅および高さ)を示す情報(SP
DSZ)と; (4)パケット内の表示制御シーケンステーブル33の
記録開始位置情報(副映像の表示制御シーケンステーブ
ル開始アドレスSPDCSQTA)。
More specifically, in the sub-picture unit header SPUH31, as shown in FIG. 4, various parameters (SPDDADR, etc.) having the following contents are recorded: (1) Following this header Start address information (SPDD ADR: relative address from the beginning of the header) of display data (sub-picture pixel data); (2) End address information (SPEDA) of this display data
DR: Relative address from the beginning of the header); (3) Information (SP) indicating the display start position and display range (width and height) of this display data on the monitor screen.
(4) Recording start position information (display control sequence table start address SPDCSQTA of sub-picture) of the display control sequence table 33 in the packet.

【0048】また、種々考えられるこの発明の実施形態
の1つにおいて、副映像ユニットヘッダSPUH31
が、以下のものを含む場合もあり得る: (5)システムにより指定された背景色(ストーリィ情
報テーブルまたは表示制御シーケンステーブルで設定し
た16色カラーパレットの番号)を示す情報(SPCH
I)と; (6)システムにより指定された副映像色(ストーリィ
情報テーブルまたは表示制御シーケンステーブルで設定
した16色カラーパレットの番号)を示す情報(SPC
INFO)と; (7)システムにより指定された副映像強調色(ストー
リィ情報テーブルまたは表示制御シーケンステーブルで
設定したカラーパレットの番号)を示す情報(SPAJ
DNFO)と; (8)システムにより指定され、ノンインターレースの
フィールドモードかインターレースのフレームモードか
等を示す副映像画像モード情報(SPMOD)と(圧縮
対象の画素データが種々なビット数で構成されるとき
は、画素データが何ビット構成であるかをこのモード情
報の内容で特定できる。); (9)システムにより指定された副映像と主映像の混合
比を示す情報(SPCONT)と; (10)副映像の表示開始タイミングを、主映像のフレ
ーム番号(たとえばMPEGのIピクチャフレーム番
号)により示す情報(SPDST)と; (11)副映像の1ライン目〜Nライン目の符号化デー
タの開始アドレス(副映像ユニットヘッダの先頭からの
相対アドレス)を示す情報(SPlin1〜SPlin
N)。
Also, in one of various possible embodiments of the present invention, the sub-picture unit header SPUH31.
May include the following: (5) Information (SPCH) indicating the background color (number of 16-color palette set in story information table or display control sequence table) specified by the system.
I) and; (6) Information (SPC) indicating the sub-picture color designated by the system (number of 16-color palette set in story information table or display control sequence table)
(INFO) and; (7) Information (SPAJ) indicating the sub-picture emphasis color designated by the system (color palette number set in the story information table or display control sequence table)
(8) Sub-picture image mode information (SPMOD) designated by the system and indicating a non-interlaced field mode or interlaced frame mode, etc. (the pixel data to be compressed is composed of various numbers of bits) In this case, the number of bits of pixel data can be specified by the contents of this mode information.): (9) Information (SPCONT) indicating the mixture ratio of the sub-picture and the main picture designated by the system; (10) ) Information (SPDST) indicating the display start timing of the sub video by the frame number of the main video (for example, the I picture frame number of MPEG); (11) Start of encoded data of the first line to the Nth line of the sub video Information (SPlin1 to SPlin) indicating an address (relative address from the beginning of the sub-picture unit header)
N).

【0049】なお、上記副映像と主映像の混合比を示す
情報SPCONTは、たとえば、(システム設定値)/
16または(システム設定値)/255により副映像の
混合比を表し、(16ー設定値)/16または(255
ー設定値)/255により主映像の混合比を表すように
なっている。
The information SPCONT indicating the mixing ratio of the sub-picture and the main picture is, for example, (system setting value) /
16 or (system setting value) / 255 represents the mixture ratio of the sub-picture, and (16-setting value) / 16 or (255
-Set value) / 255 represents the mixing ratio of the main image.

【0050】この副映像ユニットヘッダ31(または各
副映像フィールド)には、各ラインおきのデコードデー
タの開始アドレス(SPLine1〜SPlineN)
が存在する。このため、デコード開始ラインの指定をデ
コーダ側のマイクロコンピュータ(MPUまたはCP
U)などからの指示で変えることにより、表示画面にお
ける副映像のみのスクロールを実現することができる。
(このスクロールについては、図21を参照して後述す
る。) ところで、この発明の実施の形態によっては、副映像ユ
ニットヘッダ31には、副映像がNTSC方式のTVフ
ィールド/フレームにどのように対応するかを示すフィ
ールド/フレームモード(SPMOD)を記録すること
ができるようになっている。
In the sub-picture unit header 31 (or each sub-picture field), the start address (SPLine1 to SPlineN) of the decoded data for each line.
Exists. Therefore, the decoding start line is specified by the microcomputer (MPU or CP) on the decoder side.
U) or the like makes it possible to realize scrolling of only the sub-picture on the display screen.
(This scroll will be described later with reference to FIG. 21.) By the way, according to the embodiment of the present invention, the sub-picture unit header 31 corresponds to how the sub-picture corresponds to the TV field / frame of the NTSC system. It is possible to record a field / frame mode (SPMOD) indicating whether to perform.

【0051】通常、このフィールド/フレームモード記
録部(SPMOD)にはビット”0”が書き込まれてい
る。このような副映像データユニット30を受信したデ
コーダ側では、このビット”0”によりフレームモード
(ノンインターレースモード)であることが判定され、
受信した符号データはライン毎にデコードされる。する
と、図8の左下に例示するようなデコードしたままの画
像がデコーダから出力され、これがモニタまたはテレビ
ジョン(TV)のような表示画面に表示される。
Normally, bit "0" is written in this field / frame mode recording section (SPMOD). On the decoder side receiving such a sub-picture data unit 30, it is determined by the bit “0” that the frame mode (non-interlace mode) is set,
The received code data is decoded line by line. Then, the decoded image as illustrated in the lower left of FIG. 8 is output from the decoder and displayed on a display screen such as a monitor or a television (TV).

【0052】一方、フィールド/フレームモード記録部
(SPMOD)にビット”1”が書き込まれている場合
は、デコーダ側はフィールドモード(インターレースモ
ード)であると判定する。この場合は、符号データがラ
イン毎にデコードされたあと、図8の右下に例示するよ
うに、同じデータが2ライン分連続出力される。する
と、TVのインターレースモードに対応した画面が得ら
れる。これにより、フレームモード(ノンインターレー
スモード)よりも画質は荒くなるが、フレームモードと
同じデータ量でその2倍の量の画像を表示できるように
なる。
On the other hand, when the bit "1" is written in the field / frame mode recording section (SPMOD), the decoder side determines that the field mode (interlace mode) is set. In this case, after the coded data is decoded line by line, the same data is continuously output for two lines as illustrated in the lower right part of FIG. Then, a screen corresponding to the interlaced mode of the TV is obtained. As a result, the image quality becomes rougher than in the frame mode (non-interlace mode), but it is possible to display an image with the same amount of data as in the frame mode and twice as much.

【0053】図3または図4に示す副映像の画素データ
(ランレングスデータ)32は、図5または図6に示す
ランレングス圧縮規則1〜6またはランレングス圧縮規
則11〜15のいずれの規則が適用されるかによって、
その1単位のデータ長(可変長)が決まる。そして、決
まったデータ長でエンコード(ランレングス圧縮)およ
びデコード(ランレングス伸張)が行われる。
The pixel data (run length data) 32 of the sub-picture shown in FIG. 3 or FIG. 4 is based on any of the run length compression rules 1 to 6 or the run length compression rules 11 to 15 shown in FIG. 5 or 6. Depending on what is applied
The data length of one unit (variable length) is determined. Then, encoding (run length compression) and decoding (run length expansion) are performed with a fixed data length.

【0054】図5の規則1〜6は圧縮対象の画素データ
が複数ビット構成(ここでは2ビット)である場合に使
用され、図6の規則11〜15は圧縮対象の画素データ
が1ビット構成である場合に使用される。
Rules 1 to 6 in FIG. 5 are used when the pixel data to be compressed has a multi-bit structure (here, 2 bits), and rules 11 to 15 in FIG. 6 are pixel data to be compressed having a 1-bit structure. Is used when

【0055】ランレングス圧縮規則1〜6またはランレ
ングス圧縮規則11〜15のどれが使用されるかは、副
映像ユニットヘッダ31内のパラメータSPMOD(図
4の下部の表の中央付近参照)の内容(ビット幅フラグ
など)によって決めることができる。たとえば、パラメ
ータSPMODのビット幅フラグが”1”の場合はラン
レングス圧縮対象の画素データが2ビットデータであ
り、図5の規則1〜6が使用される。一方、パラメータ
SPMODのビット幅フラグが”0”の場合はランレン
グス圧縮対象の画素データが1ビットデータであり、図
6の規則11〜15が使用される。
Which of the run length compression rules 1 to 6 or the run length compression rules 11 to 15 is used is the content of the parameter SPMOD in the sub-picture unit header 31 (see near the center of the table in the lower part of FIG. 4). (Bit width flag etc.). For example, if the bit width flag of the parameter SPMOD is "1", the run-length compression target pixel data is 2-bit data, and rules 1 to 6 in FIG. 5 are used. On the other hand, when the bit width flag of the parameter SPMOD is "0", the run-length compression target pixel data is 1-bit data, and the rules 11 to 15 in FIG. 6 are used.

【0056】今、画素データが1、2、3または4ビッ
ト構成を取り得る場合において、これらのビット構成値
に対応して4種類の圧縮規則群A、B、C、Dが用意さ
れていると仮定する。この場合、パラメータSPMOD
を2ビットフラグとし、フラグ”00”で規則群Aを使
用する1ビット画素データを特定し、フラグ”01”で
規則群Bを使用する2ビット画素データを特定し、フラ
グ”10”で規則群Cを使用する3ビット画素データを
特定し、フラグ”11”で規則群Dを使用する4ビット
画素データを特定することができる。ここで、圧縮規則
群Aには図6の規則11〜15を利用でき、圧縮規則B
には図5の規則1〜6を利用できる。圧縮規則群Cおよ
びDは、図5の符号化ヘッダ、継続画素数、および画素
データの構成ビット値および規則数を適宜変更すること
で、得られる。
When the pixel data can have a 1, 2, 3 or 4 bit configuration, four types of compression rule groups A, B, C and D are prepared corresponding to these bit configuration values. Suppose In this case, the parameter SPMOD
Is used as a 2-bit flag, 1-bit pixel data that uses rule group A is specified by flag “00”, 2-bit pixel data that uses rule group B is specified by flag “01”, and rule is set by flag “10”. The 3-bit pixel data using the group C can be specified, and the 4-bit pixel data using the rule group D can be specified by the flag “11”. Here, the rules 11 to 15 of FIG. 6 can be used for the compression rule group A, and the compression rule B
The rules 1 to 6 in FIG. The compression rule groups C and D are obtained by appropriately changing the coding header, the number of continuous pixels, the constituent bit value of pixel data and the number of rules in FIG.

【0057】図5は、図4で例示した副映像画素データ
(ランレングスデータ)32部分が複数ビット(ここで
は2ビット)の画素データで構成される場合において、
この発明の一実施の形態に係るエンコード方法で採用さ
れるランレングス圧縮規則1〜6を説明するものであ
る。
FIG. 5 shows a case where the sub-picture pixel data (run length data) 32 portion illustrated in FIG. 4 is composed of a plurality of bits (here, 2 bits) of pixel data.
The run length compression rules 1 to 6 adopted in the encoding method according to the embodiment of the present invention will be described.

【0058】また、図9は、図4で例示した副映像画素
データ(ランレングスデータ)32部分が2ビットの画
素データで構成される場合において、上記圧縮規則1〜
6を具体的に説明するための図である。
Further, FIG. 9 shows that when the sub-picture pixel data (run length data) 32 part illustrated in FIG. 4 is composed of 2-bit pixel data, the above compression rules 1 to
It is a figure for demonstrating 6 concretely.

【0059】図5の1列目に示す規則1では、同一画素
が1〜3個続く場合、4ビットデータでエンコード(ラ
ンレングス圧縮)のデータ1単位を構成する。この場
合、最初の2ビットで継続画素数を表し、続く2ビット
で画素データ(画素の色情報など)を表す。
According to the rule 1 shown in the first column of FIG. 5, when 1 to 3 identical pixels continue, 4-bit data constitutes one data unit of encoding (run length compression). In this case, the first 2 bits represent the number of continuous pixels, and the subsequent 2 bits represent pixel data (pixel color information, etc.).

【0060】たとえば、図9の上部に示される圧縮前の
映像データPXDの最初の圧縮データ単位CU01は、
2個の2ビット画素データd0、d1=(0000)b
を含んでいる(bはバイナリであることを指す)。この
例では、同一の2ビット画素データ(00)bが2個連
続(継続)している。
For example, the first compressed data unit CU01 of the uncompressed video data PXD shown in the upper part of FIG.
Two pieces of 2-bit pixel data d0, d1 = (0000) b
Is included (b indicates that it is binary). In this example, two pieces of the same 2-bit pixel data (00) b continue (continue).

【0061】この場合、図9の下部に示すように、継続
数「2」の2ビット表示(10)bと画素データの内容
(00)bとを繋げたd0、d1=(1000)bが、
圧縮後の映像データPXDのデータ単位CU01*とな
る。
In this case, as shown in the lower part of FIG. 9, d0 and d1 = (1000) b are obtained by connecting the 2-bit display (10) b of the continuation number "2" and the content (00) b of the pixel data. ,
It becomes the data unit CU01 * of the compressed video data PXD.

【0062】換言すれば、規則1によってデータ単位C
U01の(0000)bがデータ単位CU01*の(1
000)bに変換される。この例では実質的なビット長
の圧縮は得られていないが、たとえば同一画素(00)
bが3個連続するCU01=(000000)bなら
ば、圧縮後はCU01*=(1100)bとなって、2
ビットの圧縮効果が得られる。
In other words, according to Rule 1, the data unit C
(0000) b of U01 is (1) of the data unit CU01 *.
000) b. In this example, compression of a substantial bit length is not obtained, but for example, the same pixel (00)
If CU01 = (000000) b in which three b are consecutive, CU01 * = (1100) b after compression, which is 2
A bit compression effect is obtained.

【0063】図5の2列目に示す規則2では、同一画素
が4〜15個続く場合、8ビットデータでエンコードの
データ1単位を構成する。この場合、最初の2ビットで
規則2に基づくことを示す符号化ヘッダを表し、続く4
ビットで継続画素数を表し、その後の2ビットで画素デ
ータを表す。
According to Rule 2 shown in the second column of FIG. 5, when 4 to 15 identical pixels continue, one unit of encoded data is constituted by 8-bit data. In this case, the first 2 bits represent a coding header indicating that it is based on Rule 2, followed by 4
Bits represent the number of continuous pixels, and the subsequent 2 bits represent pixel data.

【0064】たとえば、図9の上部に示される圧縮前の
映像データPXDの2番目の圧縮データ単位CU02
は、5個の2ビット画素データd2、d3、d4、d
5、d6=(0101010101)bを含んでいる。
この例では、同一の2ビット画素データ(01)bが5
個連続(継続)している。
For example, the second compressed data unit CU02 of the uncompressed video data PXD shown in the upper part of FIG.
Is five pieces of 2-bit pixel data d2, d3, d4, d
5, d6 = (0101010101) b is included.
In this example, the same 2-bit pixel data (01) b is 5
It is continuous (continuous).

【0065】この場合、図9の下部に示すように、符号
化ヘッダ(00)bと、継続数「5」の4ビット表示
(0101)bと画素データの内容(01)bとを繋げ
たd2〜d6=(00010101)bが、圧縮後の映
像データPXDのデータ単位CU02*となる。
In this case, as shown in the lower part of FIG. 9, the coding header (00) b, the 4-bit display (0101) b of the continuation number "5", and the content (01) b of the pixel data are connected. d2-d6 = (00010101) b becomes the data unit CU02 * of the compressed video data PXD.

【0066】換言すれば、規則2によってデータ単位C
U02の(0101010101)b(10ビット長)
がデータ単位CU02*の(00010101)b(8
ビット長)に変換される。この例では実質的なビット長
圧縮分は10ビットから8ビットへの2ビットしかない
が、継続数がたとえば15(CU02の01が15個連
続するので30ビット長)の場合は、これが8ビットの
圧縮データ(CU02*=00111101)となり、
30ビットに対して22ビットの圧縮効果が得られる。
つまり、規則2に基づくビット圧縮効果は、規則1のも
のよりも大きい。しかし、解像度の高い微細な画像のラ
ンレングス圧縮に対応するためには、規則1も必要とな
る。
In other words, according to rule 2, the data unit C
(021010101) b (10-bit length) of U02
Is (00010101) b (8 in the data unit CU02 *
Bit length). In this example, the effective bit length compression is only 2 bits from 10 bits to 8 bits, but when the number of continuations is 15 (30 bits length because 15 01s in CU02 are consecutive), this is 8 bits. Compressed data (CU02 * = 00111101) of
A compression effect of 22 bits is obtained with respect to 30 bits.
That is, the bit compression effect based on rule 2 is larger than that based on rule 1. However, Rule 1 is also required to support run-length compression of fine images with high resolution.

【0067】図5の3列目に示す規則3では、同一画素
が16〜63個続く場合、12ビットデータでエンコー
ドのデータ1単位を構成する。この場合、最初の4ビッ
トで規則3に基づくことを示す符号化ヘッダを表し、続
く6ビットで継続画素数を表し、その後の2ビットで画
素データを表す。
According to Rule 3 shown in the third column of FIG. 5, if 16 to 63 identical pixels continue, 12-bit data constitutes one unit of encoded data. In this case, the first 4 bits represent the coding header indicating that it is based on Rule 3, the subsequent 6 bits represent the number of continuous pixels, and the subsequent 2 bits represent the pixel data.

【0068】たとえば、図9の上部に示される圧縮前の
映像データPXDの3番目の圧縮データ単位CU03
は、16個の2ビット画素データd7〜d22=(10
1010………1010)bを含んでいる。この例で
は、同一の2ビット画素データ(10)bが16個連続
(継続)している。
For example, the third compressed data unit CU03 of the video data PXD before compression shown in the upper part of FIG.
Is 16 pieces of 2-bit pixel data d7 to d22 = (10
1010 ... 1010) b is included. In this example, 16 pieces of the same 2-bit pixel data (10) b continue (continue).

【0069】この場合、図9の下部に示すように、符号
化ヘッダ(0000)bと、継続数「16」の6ビット
表示(010000)bと画素データの内容(10)b
とを繋げたd7〜d22=(00000100001
0)bが、圧縮後の映像データPXDのデータ単位CU
03*となる。
In this case, as shown in the lower part of FIG. 9, the coded header (0000) b, the 6-bit display (010000) b of the continuation number "16", and the content (10) b of the pixel data.
D7 to d22 = (000000100001)
0) b is a data unit CU of the compressed video data PXD
It becomes 03 *.

【0070】換言すれば、規則3によってデータ単位C
U03の(101010………1010)b(32ビッ
ト長)がデータ単位CU03*の(000001000
010)b(12ビット長)に変換される。この例では
実質的なビット長圧縮分は32ビットから12ビットへ
の20ビットであるが、継続数がたとえば63(CU0
3の10が63個連続するので126ビット長)の場合
は、これが12ビットの圧縮データ(CU03*=00
0011111110)となり、126ビットに対して
114ビットの圧縮効果が得られる。つまり、規則3に
基づくビット圧縮効果は、規則2のものよりも大きい。
In other words, the data unit C according to Rule 3
(101010 ......... 1010) b (32-bit length) of U03 is (000001000) of the data unit CU03 *.
010) b (12-bit length). In this example, the substantial bit length compression is 20 bits from 32 bits to 12 bits, but the number of continuations is, for example, 63 (CU0
In the case of 126 bits, since 10 of 3 are 63 consecutive, this is 12 bits of compressed data (CU03 * = 00).
0011111110), a compression effect of 114 bits can be obtained with respect to 126 bits. That is, the bit compression effect based on rule 3 is larger than that based on rule 2.

【0071】図5の4列目に示す規則4では、同一画素
が64〜255個続く場合、16ビットデータでエンコ
ードのデータ1単位を構成する。この場合、最初の6ビ
ットで規則4に基づくことを示す符号化ヘッダを表し、
続く8ビットで継続画素数を表し、その後の2ビットで
画素データを表す。
According to the rule 4 shown in the fourth column of FIG. 5, if 64 to 255 identical pixels continue, 16-bit data constitutes one unit of encoded data. In this case, the first 6 bits represent a coding header indicating that it is based on rule 4,
The subsequent 8 bits represent the number of continuous pixels, and the subsequent 2 bits represent pixel data.

【0072】たとえば、図9の上部に示される圧縮前の
映像データPXDの4番目の圧縮データ単位CU04
は、69個の2ビット画素データd23〜d91=(1
11111………1111)bを含んでいる。この例で
は、同一の2ビット画素データ(11)bが69個連続
(継続)している。
For example, the fourth compressed data unit CU04 of the video data PXD before compression shown in the upper part of FIG.
Is 69 2-bit pixel data d23 to d91 = (1
11111 ... 1111) b is included. In this example, 69 pieces of the same 2-bit pixel data (11) b continue (continue).

【0073】この場合、図9の下部に示すように、符号
化ヘッダ(000000)bと、継続数「69」の8ビ
ット表示(00100101)bと画素データの内容
(11)bとを繋げたd23〜d91=(000000
0010010111)bが、圧縮後の映像データPX
Dのデータ単位CU04*となる。
In this case, as shown in the lower part of FIG. 9, the encoded header (000000) b, the 8-bit display (00100101) b of the continuation number "69", and the content (11) b of the pixel data are connected. d23 to d91 = (000000
0010010111) b is the compressed video data PX
It becomes the data unit CU04 * of D.

【0074】換言すれば、規則4によってデータ単位C
U04の(111111………1111)b(138ビ
ット長)がデータ単位CU04*の(00000000
10010111)b(16ビット長)に変換される。
この例では実質的なビット長圧縮分は138ビットから
16ビットへの122ビットであるが、継続数がたとえ
ば255(CU01の11が255個連続するので51
0ビット長)の場合は、これが16ビットの圧縮データ
(CU04*=0000001111111111)と
なり、510ビットに対して494ビットの圧縮効果が
得られる。つまり、規則4に基づくビット圧縮効果は、
規則3のものよりも大きい。
In other words, according to Rule 4, the data unit C
(111111 ......... 1111) b (138 bit length) of U04 is (00000000) of the data unit CU04 *.
10010111) b (16-bit length).
In this example, the substantial bit length compression amount is 122 bits from 138 bits to 16 bits, but the number of continuations is, for example, 255 (since 11 of CU01 are 255 consecutive, 51
In the case of 0 bit length), this becomes 16-bit compressed data (CU04 * = 00000011111111111), and a compression effect of 494 bits is obtained for 510 bits. That is, the bit compression effect based on Rule 4 is
Greater than that of Rule 3.

【0075】図5の5列目に示す規則5では、エンコー
ドデータ単位の切換点からラインの終わりまで同一画素
が続く場合に、16ビットデータでエンコードのデータ
1単位を構成する。この場合、最初の14ビットで規則
5に基づくことを示す符号化ヘッダを表し、続く2ビッ
トで画素データを表す。
According to the rule 5 shown in the fifth column of FIG. 5, when the same pixel continues from the switching point of the encoded data unit to the end of the line, 16-bit data constitutes one unit of encoded data. In this case, the first 14 bits represent the coding header indicating that it is based on Rule 5, and the subsequent 2 bits represent the pixel data.

【0076】たとえば、図9の上部に示される圧縮前の
映像データPXDの5番目の圧縮データ単位CU05
は、1個以上の2ビット画素データd92〜dn=(0
00000………0000)bを含んでいる。この例で
は、同一の2ビット画素データ(00)bが有限個連続
(継続)しているが、規則5では継続画素数が1以上い
くつでも良い。
For example, the fifth compressed data unit CU05 of the video data PXD before compression shown in the upper part of FIG.
Is one or more 2-bit pixel data d92 to dn = (0
000000 ... 0000) b is included. In this example, a finite number of the same 2-bit pixel data (00) b are continuous (continuous), but in the rule 5, the number of continuous pixels may be one or more.

【0077】この場合、図9の下部に示すように、符号
化ヘッダ(00000000000000)bと、画素
データの内容(00)bとを繋げたd92〜dn=(0
000000000000000)bが、圧縮後の映像
データPXDのデータ単位CU05*となる。
In this case, as shown in the lower part of FIG. 9, the coding header (0000000000000000) b and the content (00) b of the pixel data are connected to each other, d92 to dn = (0
000000000000) b is the data unit CU05 * of the compressed video data PXD.

【0078】換言すれば、規則5によってデータ単位C
U05の(000000………0000)b(不特定ビ
ット長)がデータ単位CU05*の(00000000
00000000)b(16ビット長)に変換される。
規則5では、ラインエンドまでの同一画素継続数が16
ビット長以上あれば、圧縮効果が得られる。
In other words, according to rule 5, the data unit C
(000000 ......... 0000) b (unspecified bit length) of U05 is (00000000) of the data unit CU05 *.
00000000) b (16-bit length).
In rule 5, the number of continuous same pixels up to the line end is 16
A compression effect can be obtained if the bit length or more.

【0079】図5の6列目に示す規則6では、エンコー
ド対象データが並んだ画素ラインが1ライン終了した時
点で、1ライン分の圧縮データPXDの長さが8ビット
の整数倍でない(すなわちバイトアラインでない)場合
に、4ビットのダミーデータを追加して、1ライン分の
圧縮データPXDがバイト単位になるように(すなわち
バイトアラインされるように)している。
According to Rule 6 shown in the sixth column of FIG. 5, the length of the compressed data PXD for one line is not an integral multiple of 8 bits when one pixel line in which the data to be encoded is lined up is finished (ie, In the case of non-byte alignment), 4-bit dummy data is added so that the compressed data PXD for one line becomes a byte unit (that is, byte aligned).

【0080】たとえば、図9の下部に示される圧縮後の
映像データPXDのデータ単位CU01*〜CU05*
の合計ビット長は、必ず4ビットの整数倍にはなってい
るが、必ずしも8ビットの整数倍になっているとは限ら
ない。
For example, the data units CU01 * to CU05 * of the compressed video data PXD shown in the lower part of FIG.
The total bit length of is always an integral multiple of 4 bits, but is not necessarily an integral multiple of 8 bits.

【0081】たとえばデータ単位CU01*〜CU05
*の合計ビット長が1020ビットでありバイトアライ
ンとするために4ビット不足しているなら、図9の下部
に示すように、4ビットのダミーデータCU06*=
(0000)bを1020ビットの末尾に付加して、バ
イトアラインされた1024ビットのデータ単位CU0
1*〜CU06*を出力する。
For example, data units CU01 * to CU05
If the total bit length of * is 1020 bits and there is a shortage of 4 bits for byte alignment, as shown in the lower part of FIG. 9, 4-bit dummy data CU06 * =
Byte-aligned 1024-bit data unit CU0 by adding (0000) b to the end of 1024 bits
Outputs 1 * to CU06 *.

【0082】なお、2ビット画素データは、必ずしも4
種類の画素色を表示するものに限定されない。たとえ
ば、画素データ(00)bで副映像の背景画素を表し、
画素データ(01)bで副映像のパターン画素を表し、
画素データ(10)bで副映像の第1強調画素を表し、
画素データ(11)bで副映像の第2強調画素を表わす
ようにしても良い。
The 2-bit pixel data is not always 4
The type of pixel color is not limited to that displayed. For example, the pixel data (00) b represents the background pixel of the sub-picture,
Pixel data (01) b represents a sub-picture pattern pixel,
Pixel data (10) b represents the first emphasized pixel of the sub-picture,
The pixel data (11) b may represent the second emphasized pixel of the sub-picture.

【0083】画素データの構成ビット数がもっと多けれ
ば、より他種類の副映像画素を指定できる。たとえば画
素データが3ビットの(000)b〜(111)bで構
成されているときは、ランレングスエンコード/デコー
ドされる副映像データにおいて、最大8種類の画素色+
画素種類(強調効果)を指定できるようになる。
If the number of bits constituting the pixel data is larger, another type of sub-picture pixel can be designated. For example, when the pixel data is composed of 3-bit (000) b to (111) b, a maximum of eight types of pixel colors + in the sub-picture data to be run-length encoded / decoded +
It becomes possible to specify the pixel type (enhancement effect).

【0084】図6は、図4で例示した副映像画素データ
(ランレングスデータ)32部分が1ビットの画素デー
タで構成される場合において、この発明の他実施の形態
に係るエンコード方法で採用されるランレングス圧縮規
則11〜15を説明するものである。
FIG. 6 is used in an encoding method according to another embodiment of the present invention when the sub-picture pixel data (run length data) 32 portion illustrated in FIG. 4 is composed of 1-bit pixel data. The run length compression rules 11 to 15 will be described.

【0085】図6の1列目に示す規則11では、同一画
素が1〜7個続く場合、4ビットデータでエンコード
(ランレングス圧縮)のデータ1単位を構成する。この
場合、最初の3ビットで継続画素数を表し、続く1ビッ
トで画素データ(画素種類の情報など)を表す。たとえ
ば1ビット画素データが”0”なら副映像の背景画素を
示し、それが”1”なら副映像のパターン画素を示す。
According to the rule 11 shown in the first column of FIG. 6, when 1 to 7 identical pixels continue, one data unit of encoding (run length compression) is constituted by 4-bit data. In this case, the first 3 bits represent the number of consecutive pixels, and the subsequent 1 bit represents pixel data (pixel type information, etc.). For example, if the 1-bit pixel data is "0", it indicates the background pixel of the sub-picture, and if it is "1", it indicates the pattern pixel of the sub-picture.

【0086】図6の2列目に示す規則12では、同一画
素が8〜15個続く場合、8ビットデータでエンコード
のデータ1単位を構成する。この場合、最初の3ビット
で規則12に基づくことを示す符号化ヘッダ(たとえば
000)を表し、続く4ビットで継続画素数を表し、そ
の後の1ビットで画素データを表す。
According to the rule 12 shown in the second column of FIG. 6, when 8 to 15 identical pixels continue, one unit of encoded data is formed by 8-bit data. In this case, the first 3 bits represent a coding header (for example, 000) indicating that it is based on rule 12, the subsequent 4 bits represent the number of continuous pixels, and the subsequent 1 bit represents pixel data.

【0087】図6の3列目に示す規則13では、同一画
素が16〜127個続く場合、12ビットデータでエン
コードのデータ1単位を構成する。この場合、最初の4
ビットで規則13に基づくことを示す符号化ヘッダ(た
とえば0000)を表し、続く7ビットで継続画素数を
表し、その後の1ビットで画素データを表す。
According to the rule 13 shown in the third column of FIG. 6, if 16 to 127 identical pixels continue, 12-bit data constitutes one unit of encoded data. In this case, the first 4
A bit represents a coded header (for example, 0000) indicating that it is based on Rule 13, the following 7 bits represent the number of continuous pixels, and the subsequent 1 bit represents pixel data.

【0088】図6の4列目に示す規則14では、エンコ
ードデータ単位の切換点からラインの終わりまで同一画
素が続く場合に、8ビットデータでエンコードのデータ
1単位を構成する。この場合、最初の7ビットで規則1
4に基づくことを示す符号化ヘッダ(たとえば0000
000)を表し、続く1ビットで画素データを表す。
According to the rule 14 shown in the fourth column of FIG. 6, when the same pixel continues from the switching point of the encoded data unit to the end of the line, one unit of encoded data is constituted by 8-bit data. In this case, the first 7 bits are rule 1
A coded header that indicates that it is based on 4 (for example, 0000
000), and the subsequent 1 bit represents pixel data.

【0089】図6の5列目に示す規則15では、エンコ
ード対象データが並んだ画素ラインが1ライン終了した
時点で、1ライン分の圧縮データPXDの長さが8ビッ
トの整数倍でない(すなわちバイトアラインでない)場
合に、4ビットのダミーデータを追加して、1ライン分
の圧縮データPXDがバイト単位になるように(すなわ
ちバイトアラインされるように)している。
According to rule 15 shown in the fifth column of FIG. 6, the length of the compressed data PXD for one line is not an integral multiple of 8 bits at the time when one pixel line in which the data to be encoded is lined up is finished (that is, In the case of non-byte alignment), 4-bit dummy data is added so that the compressed data PXD for one line becomes a byte unit (that is, byte aligned).

【0090】次に、図7を参照して画像符号化方法(ラ
ンレングス圧縮符号化を用いたエンコード方法)を具体
的に説明する。
Next, the image encoding method (encoding method using run-length compression encoding) will be specifically described with reference to FIG.

【0091】図7は、図4で例示した副映像画素データ
(ランレングスデータ)32を構成する画素データが、
たとえば第1〜第9ラインで構成され、各ライン上に2
ビット構成の画素(最大4種類の内容を持つ)が並んで
おり、各ライン上の2ビット画素により文字パターン
「A」および「B」が表現されている場合を示してい
る。この場合において、各ラインの画素データが、どの
ようにエンコード(ランレングス圧縮)されるかを具体
的に説明する。
FIG. 7 shows that the pixel data forming the sub-picture pixel data (run length data) 32 illustrated in FIG.
For example, it is composed of the 1st to 9th lines and 2
Pixels having bit configurations (having a maximum of four types of contents) are lined up, and character patterns "A" and "B" are represented by 2-bit pixels on each line. In this case, how the pixel data of each line is encoded (run length compression) will be specifically described.

【0092】図7の上部に例示するように、ソースとな
る画像は、3種類(最大4種類)の画素データで構成さ
れている。すなわち、2ビット画像データ(00)bで
副映像の背景の画素色が示され、2ビット画像データ
(01)bで副映像内の文字「A」および「B」の画素
色が示され、2ビット画像データ(10)bで副映像文
字「A」および「B」に対する強調画素色が示されてい
る。
As illustrated in the upper part of FIG. 7, the source image is composed of three types (up to four types) of pixel data. That is, the 2-bit image data (00) b indicates the pixel color of the background of the sub-picture, the 2-bit image data (01) b indicates the pixel colors of the characters "A" and "B" in the sub-picture, The emphasized pixel color for the sub-picture characters "A" and "B" is indicated by the 2-bit image data (10) b.

【0093】文字「A」および「B」を含む原画像がス
キャナなどにより走査されると、これらの文字パターン
は、走査ライン毎に左から右へ向かって、1画素単位で
読み取られる。こうして読み取られた映像データは、こ
の発明に基づくランレングス圧縮を行なうエンコーダ
(後述する図10の実施形態では200)に入力され
る。
When the original image including the characters "A" and "B" is scanned by a scanner or the like, these character patterns are read pixel by pixel from left to right for each scanning line. The video data thus read is input to an encoder (200 in the embodiment shown in FIG. 10 described later) that performs run-length compression according to the present invention.

【0094】このエンコーダは、図5で説明した規則1
〜規則6に基づくランレングス圧縮を実行するソフトウ
エアが動作するマイクロコンピュータ(MPUまたはC
PU)で構成できる。このエンコーダソフトウエアにつ
いては、図13および図14のフローチャートを参照し
て後述する。
This encoder uses the rule 1 described in FIG.
~ Microcomputer (MPU or C that runs software that executes run-length compression based on Rule 6)
PU). This encoder software will be described later with reference to the flowcharts of FIGS. 13 and 14.

【0095】以下、1画素単位で読み取られた文字パタ
ーン「A」および「B」の順次(sequential)ビット列
をランレングス圧縮するエンコード処理について、説明
する。
The encoding process for run-length compressing the sequential bit strings of the character patterns "A" and "B" read in pixel units will be described below.

【0096】図7の例では、ソース画像の画素色が3つ
の場合を想定しているので、エンコード処理対象の映像
データ(文字パターン「A」および「B」の順次ビット
列)は、背景画素色「・」を2ビット画素データ(0
0)bで表し、文字画素色「#」を2ビット画素データ
(01)bで表し、強調画素色「o」を2ビット画素デ
ータ(10)bで表している。この画素データ(00、
01など)のビット数(=2)は、画素幅と呼ぶことも
ある。
In the example of FIG. 7, it is assumed that the source image has three pixel colors. Therefore, the video data to be encoded (sequential bit strings of the character patterns "A" and "B") has the background pixel color. “•” is set to 2-bit pixel data (0
0) b, the character pixel color “#” is represented by 2-bit pixel data (01) b, and the emphasized pixel color “o” is represented by 2-bit pixel data (10) b. This pixel data (00,
The number of bits (= 01, etc.) (= 2) is sometimes called the pixel width.

【0097】なお、単純化のために、図7の例では、エ
ンコード処理対象映像データ(副映像データ)の表示幅
を16画素とし、走査ライン数(表示の高さ)は9ライ
ンとしている。
For the sake of simplicity, in the example of FIG. 7, the display width of the encoding target video data (sub-video data) is 16 pixels, and the number of scanning lines (display height) is 9 lines.

【0098】まず、スキャナから得られた画素データ
(副映像データ)は、マイクロコンピュータにより、一
旦、圧縮前のランレングス値に変換される。
First, the pixel data (sub-picture data) obtained from the scanner is once converted into a run length value before compression by the microcomputer.

【0099】すなわち、図7の上部の1ライン目を例に
取れば、3個の連像「・・・」は(・*3)に変換さ
れ、その後の1個の「o」は(o*1)に変換され、そ
の後の1個の「#」は(#*1)に変換され、その後の
1個の「o」は(o*1)に変換され、その後の3連像
「・・・」は(・*3)に変換され、その後の1個の
「o」は(o*1)に変換され、その後の4連像「##
##」は(#*4)に変換され、その後の1個の「o」
は(o*1)に変換され、最後の1個の「・」は(・*
1)に変換される。
That is, taking the first line in the upper part of FIG. 7 as an example, three consecutive images "..." are converted into (. * 3) and one subsequent "o" is converted into (o * 1), one subsequent “#” is converted to (# * 1), one subsequent “o” is converted to (o * 1), and the subsequent triple image “• .. "is converted to (. * 3), one subsequent" o "is converted to (o * 1), and the four consecutive images"##
## "is converted to (## 4), and one" o "after that is converted.
Is converted to (o * 1), and the last single "・" is (・ *
Converted to 1).

【0100】その結果、図7の中部に示すように、1ラ
イン目の圧縮前ランレングスデータは、「・*3/o*
1/#*1/o*1/・*3/o*1/#*4/o*1
/・*1」のようになる。このデータは、文字画素色な
どの画像情報と、その連続数を示す継続画素数との組み
合わせにより、構成されている。
As a result, as shown in the middle part of FIG. 7, the run length data before compression of the first line is ". * 3 / o *".
1 / # * 1 / o * 1 / ・ * 3 / o * 1 / # * 4 / o * 1
/ ・ * 1 ”. This data is composed of a combination of image information such as a character pixel color and the number of consecutive pixels indicating the number of consecutive pixels.

【0101】以下同様に、図7上部の2ライン〜9ライ
ン目の画素データ列は、図7中部の2ライン〜9ライン
目に示すような圧縮前ランレングスデータ列になる。
Similarly, the pixel data strings on the 2nd to 9th lines in the upper part of FIG. 7 become the pre-compression run length data strings as shown on the 2nd to 9th lines in the middle part of FIG.

【0102】ここで、1ライン目のデータに注目する
と、ラインのスタートから背景画素色「・」が3個続い
ているので、図5の圧縮規則1が適用される。その結
果、1ライン目の最初の「・・・」すなわち(・*3)
は、「3」を表す2ビット(11)と背景画素色「・」
を表す(00)とを組み合わせた(1100)にエンコ
ードされる。
Here, paying attention to the data of the first line, the compression rule 1 of FIG. 5 is applied because three background pixel colors "." Continue from the start of the line. As a result, the first "..." on the first line, ie, (* 3)
Is 2 bits (11) representing "3" and the background pixel color "."
Is encoded as (1100) in combination with (00).

【0103】1ライン目の次のデータは、「o」が1個
なのでやはり規則1が適用される。その結果、1ライン
目の次の[o」すなわち(o*1)は、「1」を表す2
ビット(01)と強調画素色「o」を表す(10)とを
組み合わせた(0110)にエンコードされる。
Since the next data on the first line has one "o", rule 1 is still applied. As a result, the next [o] on the first line, that is, (o * 1), represents 2
It is encoded into (0110) which is a combination of the bit (01) and (10) representing the emphasized pixel color “o”.

【0104】さらに次のデータは、「#」が1個なので
やはり規則1が適用される。その結果、1ライン目の次
の[#」すなわち(#*1)は、「1」を表す2ビット
(01)と文字画素色「#」を表す(01)とを組み合
わせた(0101)にエンコードされる。(この#に関
する部分は、図7の中部および下部では破線で囲って図
示してある。) 以下同様に、(o*1)は(0110)にエンコードさ
れ、(・*3)は(1100)にエンコードされ、(o
*1)は(0110)にエンコードされる。
Further, since the next data has one "#", the rule 1 is applied. As a result, the next [#] on the first line, that is, (# * 1), is a combination of 2 bits (01) representing "1" and (01) representing the character pixel color "#" into (0101). Encoded. (The part related to # is shown surrounded by broken lines in the middle part and the lower part of FIG. 7.) Similarly, (o * 1) is encoded into (0110), and (. * 3) is (1100). Encoded to (o
* 1) is encoded as (0110).

【0105】1ライン目のその後のデータは、「#」が
4個なので、図5の圧縮規則2が適用される。その結
果、1ライン目のこの[#」すなわち(#*4)は、規
則2が適用されたことを示す2ビットヘッダ(00)
と、継続画素数「4」を表す4ビット(0100)と、
文字画素色「#」を表す(01)とを組み合わせた(0
0010001)にエンコードされる。(この#に関す
る部分は、破線で囲って図示してある。) 1ライン目のさらにその後のデータは、「o」が1個な
ので規則1が適用される。その結果、この[o」すなわ
ち(o*1)は、「1」を表す2ビット(01)と強調
画素色「o」を表す(10)とを組み合わせた(011
0)にエンコードされる。
Since the data after the first line has four "#" s, the compression rule 2 of FIG. 5 is applied. As a result, this [#] on the first line, that is, (# * 4), is a 2-bit header (00) indicating that rule 2 has been applied.
And 4 bits (0100) representing the number of continuous pixels “4”,
Combined with (01), which represents the character pixel color "#" (0
0001001). (The part related to # is shown surrounded by a broken line.) Since the data after the first line is one "o", rule 1 is applied. As a result, this [o], that is, (o * 1) is a combination of 2 bits (01) representing "1" and (10) representing the emphasized pixel color "o" (011).
0) is encoded.

【0106】1ライン目最後のデータは、「・」が1個
なので規則1が適用される。その結果、この[・」すな
わち(・*1)は、「1」を表す2ビット(01)と背
景画素色「・」を表す(00)とを組み合わせた(01
00)にエンコードされる。
Since the last data on the first line has one ".", Rule 1 is applied. As a result, this [•], that is, (• * 1), is a combination of 2 bits (01) representing “1” and (00) representing the background pixel color “•” (01).
00) is encoded.

【0107】以上のようにして、1ライン目の圧縮前ラ
ンレングスデータ「・*3/o*1/#*1/o*1/
・*3/o*1/#*4/o*1/・*1」は、(11
00)(0110)(0101)(0110)(110
0)(0110)(00010001)(0110)
(0100)のようにランレングス圧縮され、1ライン
目のエンコードが終了する。
As described above, the pre-compression run length data of the first line "* 3 / o * 1 / # * 1 / o * 1 /
* 3 / o * 1 / # * 4 / o * 1 / * 1 ”is (11
00) (0110) (0101) (0110) (110
0) (0110) (00010001) (0110)
The run length compression is performed as in (0100), and the encoding of the first line ends.

【0108】以下同様にして、8ライン目までエンコー
ドが進行する。9ライン目では、1ライン全てが同一の
背景画素色「・」で占められている。この場合は、図5
の圧縮規則5が適用される。その結果、9ライン目の圧
縮前ランレングスデータ「・*16」は、同一の背景画
素色「・」がラインエンドまで続いていることを示す1
4ビットのヘッダ(00000000000000)
と、背景画素色「・」を示す2ビット画素データ(0
0)とを組み合わせた、16ビットの(0000000
000000000)にエンコードされる。
In the same manner, the encoding proceeds up to the 8th line. In the ninth line, all the one lines are occupied by the same background pixel color ".". In this case,
The compression rule 5 is applied. As a result, the pre-compression run length data “· * 16” on the 9th line indicates that the same background pixel color “·” continues to the line end 1
4-bit header (0000000000000000)
And 2-bit pixel data (0
16 bit (0000000) in combination with
It is encoded to (000000000000).

【0109】なお、上記規則5に基づくエンコードは、
圧縮対象データがラインの途中から始まりラインエンド
まで続いている場合にも適用される。
The encoding based on the above rule 5 is
It is also applied when the data to be compressed starts in the middle of the line and continues to the end of the line.

【0110】図10は、この発明に基づきエンコードさ
れた画像情報(図3の31+32+33)を持つ高密度
光ディスクの、量産からユーザサイドにおける再生まで
の流れを説明するとともに;この発明に基づきエンコー
ドされた画像情報の、放送/ケーブル配信からユーザ/
加入者における受信/再生までの流れを説明するブロッ
ク図である。
FIG. 10 explains the flow from mass production to reproduction on the user side of a high density optical disc having image information (31 + 32 + 33 in FIG. 3) encoded according to the present invention; and encoded according to the present invention. Broadcast / cable distribution of image information to users /
It is a block diagram explaining the flow up to reception / reproduction in the subscriber.

【0111】たとえば図7の中部に示すような圧縮前ラ
ンレングスデータが図10のエンコーダ200に入力さ
れると、エンコーダ200は、たとえば図5の圧縮規則
1〜6に基づくソフトウエア処理により、入力されたデ
ータがランレングス圧縮(エンコード)される。
When the pre-compression run length data as shown in the middle part of FIG. 7 is input to the encoder 200 of FIG. 10, the encoder 200 is input by software processing based on the compression rules 1 to 6 of FIG. 5, for example. The run data is run length compressed (encoded).

【0112】図1に示すような光ディスクODに図2に
示すような論理構成のデータが記録される場合は、図1
0のエンコーダ200によるランレングス圧縮処理(エ
ンコード処理)は、図3の副映像データに対して実施さ
れる。
When data having a logical structure as shown in FIG. 2 is recorded on the optical disc OD as shown in FIG.
The run length compression processing (encoding processing) by the encoder 200 of 0 is performed on the sub-picture data of FIG.

【0113】図10のエンコーダ200には、上記光デ
ィスクODを完成させるに必要な種々なデータも入力さ
れる。これらのデータは、たとえばMPEG(Mortion
Picture Expert Group)の規格に基づき圧縮され、圧縮
後のデジタルデータがレーザカッティングマシン202
または変調器/送信器210に送られる。
Various data necessary for completing the optical disc OD is also input to the encoder 200 of FIG. These data are, for example, MPEG (Mortion).
The digital data is compressed according to the standard of Picture Expert Group) and the compressed digital data is laser cutting machine 202.
Or sent to modulator / transmitter 210.

【0114】レーザカッティングマシン202におい
て、図示しないマザーディスクにエンコーダ200から
のMPEG圧縮データがカッティングされて、光ディス
クマスタ204が製造される。
In the laser cutting machine 202, MPEG compressed data from the encoder 200 is cut on a mother disk (not shown) to manufacture the optical disk master 204.

【0115】2枚貼合せ高密度光ディスク量産設備20
6では、このマスタ204を雛形にして、たとえば厚さ
0.6ミリのポリカーボネート基板上のレーザ光反射膜
に、マスタの情報が転写される。それぞれ別のマスタ情
報が転写された大量2枚のポリカーボネート基板は、張
り合わされて、厚さ1.2ミリの両面光ディスク(ある
いは片面読み取り形両面ディスク)となる。
Mass production equipment for high density optical disc 20
In 6, the master information is transferred to a laser light reflection film on a polycarbonate substrate having a thickness of 0.6 mm, using the master 204 as a template. A large amount of two polycarbonate substrates to which different master information is transferred are stuck together to form a 1.2-mm-thick double-sided optical disc (or a single-sided read double-sided disc).

【0116】設備206で量産された貼合せ高密度光デ
ィスクODは各種市場に頒布され、ユーザの手元に届
く。
The laminated high-density optical disc OD mass-produced by the equipment 206 is distributed to various markets and reaches the user's hand.

【0117】頒布されたディスクODは、ユーザの再生
装置300で再生される。この装置300は、エンコー
ダ200でエンコードされたデータを元の情報に復元す
るデコーダ101を備えている。デコーダ101でデコ
ードされた情報は、たとえばユーザのモニタTVに送ら
れ、映像化される。こうして、エンドユーザは大量頒布
されたディスクODから、元の映像情報を観賞すること
ができるようになる。
The distributed disc OD is reproduced by the reproducing device 300 of the user. The device 300 includes a decoder 101 that restores the data encoded by the encoder 200 to the original information. The information decoded by the decoder 101 is sent to, for example, the monitor TV of the user and visualized. In this way, the end user can watch the original video information from the mass-distributed discs OD.

【0118】一方、エンコーダ200から変調器/送信
器210に送られた圧縮情報は、所定の規格に沿って変
調され、送信される。たとえば、エンコーダ200から
の圧縮映像情報は、対応する音声情報とともに衛星放送
(212)される。あるいは、エンコーダ200からの
圧縮映像情報は、対応する音声情報とともにケーブル伝
送(212)される。
On the other hand, the compression information sent from the encoder 200 to the modulator / transmitter 210 is modulated according to a predetermined standard and then sent. For example, compressed video information from encoder 200 is satellite broadcast (212) along with corresponding audio information. Alternatively, the compressed video information from encoder 200 is cable transmitted (212) with the corresponding audio information.

【0119】放送あるいはケーブル伝送された圧縮映像
/音声情報は、ユーザあるいは加入者の受信器/復調器
400で受信される。この受信器/復調器400は、エ
ンコーダ200でエンコードされたデータを元の情報に
復元するデコーダ101を備えている。デコーダ101
でデコードされた情報は、たとえばユーザのモニタTV
に送られ、映像化される。こうして、エンドユーザは放
送あるいはケーブル伝送された圧縮映像情報から、元の
映像情報を観賞することができるようになる。
The compressed video / audio information broadcast or cable-transmitted is received by the receiver / demodulator 400 of the user or subscriber. The receiver / demodulator 400 includes a decoder 101 that restores the data encoded by the encoder 200 to the original information. Decoder 101
The information decoded by, for example, the user's monitor TV
Sent to and visualized. In this way, the end user can watch the original video information from the compressed video information broadcast or cable transmitted.

【0120】図11は、この発明に基づく画像デコード
(ランレングス伸張)を実行するデコーダハードウエア
の一実施形態(ノンインターレース仕様)を示すブロッ
ク図である。ランレングス圧縮された副映像データSP
D(図3のデータ32相当)をデコードするデコーダ1
01(図10参照)は、図11のように構成することが
できる。
FIG. 11 is a block diagram showing an embodiment (non-interlaced specification) of decoder hardware for executing image decoding (run length expansion) according to the present invention. Run length compressed sub-picture data SP
Decoder 1 for decoding D (corresponding to data 32 in FIG. 3)
01 (see FIG. 10) can be configured as in FIG.

【0121】以下、図11を参照しながら、図4に示す
ようなフォーマットのランレングス圧縮された画素デー
タを含む信号をランレングス伸張する副映像データデコ
ーダについて、説明する。
A sub-picture data decoder for run-length expanding a signal containing run-length compressed pixel data in the format shown in FIG. 4 will be described below with reference to FIG.

【0122】図11に示すように、この副映像デコーダ
101は、副映像データSPDが入力されるデータI/
O102と;副映像データSPDを保存するメモリ10
8と;このメモリ108の読み書き動作を制御するメモ
リ制御部105と;メモリ108から読み出された符号
データ(ランレングス圧縮された画素データ)のラン情
報から1単位(1ブロック)の継続コード長(符号化ヘ
ッダ)を検知し、その継続コード長の切り分け情報を出
力する継続コード長検知部106と;この継続コード長
検知部106からの情報にしたがって1ブロック分の符
号データを取り出す符号データ切分部103と;この符
号データ切分部103から出力されるものであって1圧
縮単位のラン情報を示す信号と、継続コード長検知部1
06から出力されるものであってデータビットの「0」
が1ブロック分の符号データの先頭から幾つ連続してい
るかという「0」ビット連続数を示す信号(期間信号)
とを受け取り、これらの信号から1ブロックの継続画素
数を計算するラン長設定部107と;符号データ切分部
103からの画素色情報とラン長設定部107から出力
された期間信号とを受け取り、その期間だけ色情報を出
力する画素色出力部104(Fast-in/Fast-outタイプ)
と;メモリ108から読み出された副映像データSPD
中のヘッダデータ(図4参照)を読み込み、読み込んだ
データに基づき各種処理設定および制御を行なうマイク
ロコンピュータ112と;メモリ108の読み書きアド
レスを制御するアドレス制御部109と;ラン情報が存
在しないラインに対する色情報がマイクロコンピュータ
112により設定される不足画素色設定部111と;T
V画面などに副映像を表示するときの表示エリアを決定
する表示有効許可部110などで、構成されている。
As shown in FIG. 11, the sub-picture decoder 101 uses the data I / I to which the sub-picture data SPD is input.
O102 and memory 10 for storing sub-picture data SPD
8; a memory control unit 105 for controlling the read / write operation of the memory 108; a continuous code length of 1 unit (1 block) from run information of code data (run length compressed pixel data) read from the memory 108 A continuation code length detection unit 106 that detects (encoding header) and outputs the division information of the continuation code length; and a code data cutout that extracts one block of code data according to the information from the continuation code length detection unit 106. A dividing section 103; a signal which is output from the code data dividing section 103 and which shows run information of one compression unit, and a continuous code length detecting section 1.
Data bit "0" that is output from 06
A signal indicating the number of consecutive "0" bits (period signal), which indicates how many consecutive blocks from the beginning of the code data for one block
And a run length setting unit 107 that calculates the number of continuous pixels of one block from these signals; pixel color information from the code data dividing unit 103 and a period signal output from the run length setting unit 107 , Pixel color output unit 104 (Fast-in / Fast-out type) that outputs color information only during that period
And; sub-picture data SPD read from the memory 108
A microcomputer 112 that reads the header data (see FIG. 4) therein and performs various processing settings and controls based on the read data; an address control unit 109 that controls a read / write address of the memory 108; a line for which run information does not exist A pixel-deficiency color setting unit 111 whose color information is set by the microcomputer 112;
The display valid permission unit 110 determines the display area when the sub-picture is displayed on the V screen or the like.

【0123】なお、図53〜図57の説明で言及される
が、デコーダ101のMPU112には、システムタイ
マ120およびバッファ121が接続されている。
As mentioned in the description of FIGS. 53 to 57, the system timer 120 and the buffer 121 are connected to the MPU 112 of the decoder 101.

【0124】上記説明を別の言い方で再度説明すると、
次のようになる。すなわち、図11に示すように、ラン
レングス圧縮された副映像データSPDは、データI/
O102を介して、デコーダ101内部のバスに送り込
まれる。バスに送り込まれたデータSPDは、メモリ制
御部105を介してメモリ108へ送られ、そこに記憶
される。また、デコーダ101の内部バスは、符号デー
タ切分部103と、継続コード長検知部106と、マイ
クロコンピュータ(MPUまたはCPU)112とに接
続されている。
To explain the above description in another way,
It looks like this: That is, as shown in FIG. 11, the run-length compressed sub-picture data SPD has the data I /
It is sent to the bus inside the decoder 101 via O102. The data SPD sent to the bus is sent to the memory 108 via the memory control unit 105 and stored therein. Further, the internal bus of the decoder 101 is connected to the code data dividing unit 103, the continuation code length detecting unit 106, and the microcomputer (MPU or CPU) 112.

【0125】メモリ108から読み出された副映像デー
タの副映像ユニットヘッダ31は、マイクロコンピュー
タ112により読み取られる。マイクロコンピュータ1
12は、読み出したヘッダ31から、図4に示す各種パ
ラメータに基づいて、アドレス制御部109にデコード
開始アドレス(SPDDADR)を設定し、表示有効許
可部110に副映像の表示開始位置と表示幅と表示高と
の情報(SPDSZ)を設定し、符号データ切分部10
3に副映像の表示幅(ライン上のドット数)を設定す
る。設定された各種情報は各部(109、110、10
3)の内部レジスタに保存される。それ以後、レジスタ
に保存された各種情報は、マイクロコンピュータ112
によりアクセスできるようになる。
The sub-picture unit header 31 of the sub-picture data read from the memory 108 is read by the microcomputer 112. Microcomputer 1
Reference numeral 12 sets the decoding start address (SPDDADR) in the address control unit 109 from the read header 31 based on various parameters shown in FIG. Information about display height (SPDSZ) is set, and the code data segmentation unit 10
The display width (the number of dots on the line) of the sub-picture is set to 3. The various information that has been set is for each part (109, 110, 10
It is saved in the internal register of 3). After that, various information stored in the register is stored in the microcomputer 112.
Will be accessible by.

【0126】アドレス制御部109は、レジスタに設定
されたデコード開始アドレス(SPDDADR)に基づ
き、メモリ制御部105を介しメモリ108にアクセス
して、デコードしようとする副映像データの読み出しを
開始する。こうしてメモリ108から読み出された副映
像データは、符号データ切出部103および継続コード
長検知部106に与えられる。
The address control unit 109 accesses the memory 108 via the memory control unit 105 based on the decoding start address (SPDDADR) set in the register to start reading the sub-picture data to be decoded. The sub-picture data read from the memory 108 in this way is given to the code data cutout unit 103 and the continuation code length detection unit 106.

【0127】ランレングス圧縮された副映像データSP
Dの符号化ヘッダ(図5の規則2〜5では2〜14ビッ
ト)は継続コード長検知部106により検出され、デー
タSPD内における同一画素データの継続画素数が継続
コード長検知部106からの信号を基にラン長設定部1
07により検出される。
Run length compressed sub-picture data SP
The coded header of D (2 to 14 bits in rules 2 to 5 of FIG. 5) is detected by the continuous code length detection unit 106, and the number of continuous pixels of the same pixel data in the data SPD is determined by the continuous code length detection unit 106. Run length setting unit 1 based on signal
Detected by 07.

【0128】すなわち、継続コード長検知部106は、
メモリ108から読み込んだデータの”0”ビットの数
を数えて、符号化ヘッダ(図5参照)を検知する。この
検知部106は、検知した符号化ヘッダの値にしたがっ
て、符号データ切分部103に切り分け情報SEP.I
NFO.を与える。
That is, the continuation code length detecting unit 106
The encoded header (see FIG. 5) is detected by counting the number of “0” bits of the data read from the memory 108. The detecting unit 106 causes the code data dividing unit 103 to divide the information SEP. I
NFO. give.

【0129】符号データ切分部103は、与えられた切
り分け情報SEP.INFO.にしたがって、継続画素
数(ラン情報)をラン長設定部107に設定するととも
に、画素データ(SEPARATED DATA;ここ
では画素色)をFIFOタイプの画素色出力部104に
設定する。その際、符号データ切分部103は、副映像
データの画素数をカウントし、画素数カウント値と副映
像の表示幅(1ラインの画素数)とを比較している。
The code data segmentation unit 103 receives the segmentation information SEP. INFO. Accordingly, the number of continuous pixels (run information) is set in the run length setting unit 107, and the pixel data (SEPARATED DATA; pixel color in this case) is set in the FIFO type pixel color output unit 104. At that time, the code data dividing unit 103 counts the number of pixels of the sub-picture data and compares the pixel count value with the display width of the sub-picture (the number of pixels in one line).

【0130】1ライン分のデコードが終了した時点でバ
イトアラインされていない(つまり1ライン分のデータ
ビット長が8の倍数でない)場合は、符号データ切分部
103は、そのライン上の末尾4ビットデータをエンコ
ード時に付加されたダミーデータであるとみなして、切
り捨てる。
If byte-alignment is not completed at the time when the decoding for one line is completed (that is, the data bit length for one line is not a multiple of 8), the code data dividing unit 103 determines the end 4 on that line. The bit data is regarded as dummy data added at the time of encoding and is truncated.

【0131】ラン長設定部107は、前記継続画素数
(ラン情報)と画素ドットクロック(DOTCLK)と
水平/垂直同期信号(H−SYNC/V−SYNC)と
に基づいて、画素色出力部104に、画素データを出力
させるための信号(PERIOD SIGNAL)を与
える。すると、画素色出力部104は、画素データ出力
信号(PERIOD SIGNAL)がアクティブであ
る間(つまり同じ画素色を出力する期間中)、符号デー
タ切分部103からの画素データを、デコードされた表
示データとして出力する。
The run length setting unit 107, based on the number of continuous pixels (run information), the pixel dot clock (DOTCLK), and the horizontal / vertical synchronization signal (H-SYNC / V-SYNC), outputs the pixel color output unit 104. A signal (PERIOD SIGNAL) for outputting pixel data. Then, the pixel color output unit 104 displays the decoded pixel data from the code data segmentation unit 103 while the pixel data output signal (PERIOD SIGNAL) is active (that is, during the period in which the same pixel color is output). Output as data.

【0132】その際、マイクロコンピュータ112から
の指示によりデコード開始ラインが変更されている場合
には、ラン情報のないラインが存在することがある。そ
の場合には、不足画素色設定部111が、予め設定され
た不足の画素色のデータ(COLOR INFO.)を
画素色出力部104に与える。すると、ラン情報のない
ラインデータが符号データ切分部103に与えられてい
る間、画素色出力部104は、不足画素色設定部111
からの不足画素色データ(COLOR INFO.)を
出力する。
At this time, if the decoding start line is changed by an instruction from the microcomputer 112, there may be a line without run information. In that case, the insufficient pixel color setting unit 111 supplies the preset insufficient pixel color data (COLOR INFO.) To the pixel color output unit 104. Then, while the line data having no run information is given to the code data dividing unit 103, the pixel color output unit 104 causes the insufficient pixel color setting unit 111.
To output the insufficient pixel color data (COLOR INFO.).

【0133】すなわち、図11のデコーダ101の場
合、入力された副映像データSPD中に画像データがな
いと、マイクロコンピュータ112はその分不足する画
素色情報を不足画素色設定部111に設定するようにな
っている。
That is, in the case of the decoder 101 shown in FIG. 11, if there is no image data in the input sub-picture data SPD, the microcomputer 112 sets the insufficient pixel color information in the insufficient pixel color setting section 111. It has become.

【0134】この画素色出力部104へは、図示しない
モニタ画面上のどの位置にデコードされた副映像を表示
させるかを決定する表示許可(Display Enable)信号
が、副映像画像の水平/垂直同期信号に同期して、表示
有効許可部(Display Activator)110から与えられ
る。また、マイクロコンピュータ112からの色情報指
示に基づいて、許可部110から出力部104へ、色切
換信号が送られる。
A display enable signal for deciding at which position on the monitor screen (not shown) to display the decoded sub-picture is sent to the pixel color output section 104 by the horizontal / vertical synchronization of the sub-picture image. It is given from a display validating unit (Display Activator) 110 in synchronization with the signal. Further, a color switching signal is sent from the permitting unit 110 to the output unit 104 based on the color information instruction from the microcomputer 112.

【0135】アドレス制御部109は、マイクロコンピ
ュータ112による処理設定後、メモリ制御部105、
継続コード長検知部106、符号データ切分部103お
よびラン長設定部107に対して、アドレスデータおよ
び各種タイミング信号を送出する。
The address control unit 109, after the processing setting by the microcomputer 112,
Address data and various timing signals are sent to the continuation code length detecting unit 106, the code data dividing unit 103, and the run length setting unit 107.

【0136】データI/O部102を介して副映像デー
タSPDのパックが取り込まれ、それがメモリ108に
格納される際、このデータSPDのパックヘッダの内容
(デコード開始アドレス、デコード終了アドレス、表示
開始位置、表示幅、表示高さなど)がマイクロコンピュ
ータ112により読み取られる。マイクロコンピュータ
112は、読み取った内容に基づいて、表示有効許可部
110に、デコード開始アドレス、デコード終了アドレ
ス、表示開始位置、表示幅、表示高さなどを設定する。
このとき、圧縮された画素データが何ビット構成である
か(ここでは画素データ2ビットとしている)は、図4
の副映像ユニットヘッダ31の内容で決定できるように
構成できる。
When a pack of sub-picture data SPD is fetched via the data I / O unit 102 and stored in the memory 108, the contents of the pack header of this data SPD (decoding start address, decoding end address, display) The starting position, display width, display height, etc.) are read by the microcomputer 112. The microcomputer 112 sets the decode start address, the decode end address, the display start position, the display width, the display height, etc. in the display validity permission section 110 based on the read content.
At this time, the number of bits of the compressed pixel data (here, the pixel data is 2 bits) is shown in FIG.
The sub-picture unit header 31 can be determined based on the contents of the sub-picture unit header 31.

【0137】以下、圧縮された画素データが2ビット構
成(使用規則は図5の規則1〜6)の場合について、図
11のデコーダ101の動作を説明する。
The operation of the decoder 101 of FIG. 11 will be described below in the case where the compressed pixel data has a 2-bit structure (the usage rule is rules 1 to 6 of FIG. 5).

【0138】マイクロコンピュータ112によりデコー
ドスタートアドレスが設定されると、アドレス制御部1
09は、メモリ制御部105に対応するアドレスデータ
を送るとともに、継続コード長検知部106に読込開始
信号を送る。
When the decode start address is set by the microcomputer 112, the address controller 1
09 sends the corresponding address data to the memory control unit 105 and also sends a read start signal to the continuation code length detection unit 106.

【0139】継続コード長検知部106は、送られてき
た読込開始信号に応答してメモリ制御部105にリード
信号を送って符号化データ(圧縮された副映像データ3
2)を読み込む。そして、この検知部106において、
読み込んだデータのうち上位2ビット全てが「0」かど
うかがチェックされる。
The continuation code length detection unit 106 sends a read signal to the memory control unit 105 in response to the sent read start signal to send encoded data (compressed sub-picture data 3
2) Read in. Then, in this detection unit 106,
It is checked whether all the upper 2 bits of the read data are "0".

【0140】それらが「0」でない場合は、圧縮単位の
ブロック長が4ビットであると判定される(図5の規則
1参照)。
If they are not "0", it is determined that the block length of the compression unit is 4 bits (see Rule 1 in FIG. 5).

【0141】それら(上位2ビット)が「0」であれ
ば、さらに続く2ビット(上位4ビット)がチェックさ
れる。それらが「0」でない場合は、圧縮単位のブロッ
ク長が8ビットであると判定される(図5の規則2参
照)。
If they (upper 2 bits) are "0", the following 2 bits (upper 4 bits) are checked. If they are not “0”, it is determined that the block length of the compression unit is 8 bits (see Rule 2 in FIG. 5).

【0142】それら(上位4ビット)が「0」であれ
ば、さらに続く2ビット(上位6ビット)がチェックさ
れる。それらが「0」でない場合は、圧縮単位のブロッ
ク長が12ビットであると判定される(図5の規則3参
照)。
If they (upper 4 bits) are "0", the following 2 bits (upper 6 bits) are checked. If they are not "0", it is determined that the block length of the compression unit is 12 bits (see Rule 3 in FIG. 5).

【0143】それら(上位6ビット)が「0」であれ
ば、さらに続く8ビット(上位14ビット)がチェック
される。それらが「0」でない場合は、圧縮単位のブロ
ック長が16ビットであると判定される(図5の規則4
参照)。
If they (upper 6 bits) are "0", the following 8 bits (upper 14 bits) are checked. If they are not "0", it is determined that the block length of the compression unit is 16 bits (Rule 4 in FIG. 5).
reference).

【0144】それら(上位14ビット)が「0」であれ
ば、圧縮単位のブロック長が16ビットであるととも
に、ラインエンドまで同じ画素データが連続していると
判定される(図5の規則5参照)。
If these (upper 14 bits) are "0", it is determined that the block length of the compression unit is 16 bits and that the same pixel data continues until the line end (Rule 5 in FIG. 5). reference).

【0145】また、ラインエンドまで読み込んだ画素デ
ータのビット数が8の整数倍であればそのままとし、8
の整数倍でなければ、バイトアラインを実現するため
に、読み込んだデータの末尾に4ビットのダミーデータ
が必要であると判定される(図5の規則6参照)。
If the bit number of the pixel data read up to the line end is an integral multiple of 8, leave it as it is, and
If it is not an integral multiple of, it is determined that 4-bit dummy data is required at the end of the read data in order to realize byte alignment (see Rule 6 in FIG. 5).

【0146】符号データ切分部103は、継続コード長
検知部106による上記判定結果に基づいて、メモリ1
08から副映像データ32の1ブロック分(1圧縮単
位)を取り出す。そして、切分部103において、取り
出された1ブロック分データが、継続画素数と画素デー
タ(画素の色情報など)に切り分けられる。切り分けら
れた継続画素数のデータ(RUN INFO.)はラン
長設定部107に送られ、切り分けられた画素データ
(SEPARATED DATA)は画素色出力部10
4に送られる。
The code data segmentation unit 103 determines whether the memory 1 has the memory 1 based on the determination result by the continuation code length detection unit 106.
One block (one compression unit) of the sub-picture data 32 is extracted from 08. Then, in the dividing unit 103, the extracted data for one block is divided into the number of continuous pixels and pixel data (color information of pixels, etc.). The separated data of the number of continuous pixels (RUN INFO.) Is sent to the run length setting unit 107, and the separated pixel data (SEPARATED DATA) is output to the pixel color output unit 10.
Sent to 4.

【0147】一方、表示有効許可部110は、マイクロ
コンピュータ112から受け取った表示開始位置情報、
表示幅情報および表示高情報にしたがい、装置外部から
供給される画素ドットクロック(PIXELーDOT
CLK)、水平同期信号(H−SYNC)および垂直同
期信号(V−SYNC)に同期して、副映像表示期間を
指定する表示許可信号(イネーブル信号)を生成する。
この表示許可信号は、ラン長設定部107に出力され
る。
On the other hand, the display validity permission unit 110 receives the display start position information received from the microcomputer 112,
A pixel dot clock (PIXEL-DOT) supplied from the outside of the device according to the display width information and the display height information.
CLK), the horizontal synchronizing signal (H-SYNC) and the vertical synchronizing signal (V-SYNC), a display permission signal (enable signal) designating a sub-picture display period is generated.
This display permission signal is output to the run length setting unit 107.

【0148】ラン長設定部107には、継続コード長検
知部106から出力されるものであって現在のブロック
データがラインエンドまで連続するかどうかを示す信号
と、符号データ切分部103からの継続画素データ(R
UN INFO.)とが送られる。ラン長設定部107
は、検知部106からの信号および切分部103からの
データに基づいて、デコード中のブロックが受け持つ画
素ドット数を決定し、このドット数に対応する期間中、
画素色出力部104へ表示許可信号(出力イネーブル信
号)を出力するように構成されている。
The run length setting unit 107 outputs a signal output from the continuation code length detecting unit 106, which indicates whether or not the current block data continues up to the line end, and a signal from the code data dividing unit 103. Continuous pixel data (R
UN INFO. ) And are sent. Run length setting unit 107
Determines the number of pixel dots covered by the block being decoded, based on the signal from the detection unit 106 and the data from the segmentation unit 103, and during the period corresponding to this dot number,
It is configured to output a display permission signal (output enable signal) to the pixel color output unit 104.

【0149】画素色出力部104は、ラン長設定部10
7からの期間信号受信中イネーブルとなり、その期間
中、符号データ切分部103から受け取った画素色情報
を、画素ドットクロック(PIXELーDOT CL
K)に同期して、デコードされた表示データとして、図
示しない表示装置などへ送出する。すなわち、デコード
中ブロックの画素パターン連続ドット数分の同じ表示デ
ータが、画素色出力部104から出力される。
The pixel color output unit 104 includes a run length setting unit 10
7 is enabled during the period signal reception, and during that period, the pixel color information received from the code data dividing unit 103 is set to the pixel dot clock (PIXEL-DOT CL
In synchronism with K), the decoded display data is sent to a display device (not shown) or the like. That is, the same display data as the number of continuous pixel pattern dots in the block being decoded is output from the pixel color output unit 104.

【0150】また、継続コード長検知部106は、符号
化データがラインエンドまで同じ画素色データであると
判定すると、符号データ切分部103へ継続コード長1
6ビット用の信号を出力し、ラン長設定部107にはラ
インエンドまで同じ画素色データであることを示す信号
を出力する。
If the continuous code length detecting unit 106 determines that the encoded data is the same pixel color data until the line end, the continuous code length 1 is sent to the code data dividing unit 103.
A 6-bit signal is output, and a signal indicating that the same pixel color data is output up to the line end is output to the run length setting unit 107.

【0151】ラン長設定部107は、検知部106から
上記信号を受け取ると、水平同期信号H−SYNCが非
アクティブになるまで符号化データの色情報がイネーブ
ル状態を保持し続けるように、画素色出力部104へ出
力イネーブル信号(期間信号)を出力する。
When the run length setting unit 107 receives the above-mentioned signal from the detection unit 106, the pixel color is set so that the color information of the coded data keeps the enabled state until the horizontal synchronizing signal H-SYNC becomes inactive. The output enable signal (period signal) is output to the output unit 104.

【0152】なお、マイクロコンピュータ112が副映
像の表示内容をスクロールさせるためにデコード開始ラ
インを変更した場合は、予め設定していた表示領域内に
デコード使用とするデータラインが存在しない(つまり
デコードラインが不足する)可能性がある。
When the microcomputer 112 changes the decode start line in order to scroll the display contents of the sub-picture, there is no data line to be used for decoding in the preset display area (that is, the decode line). Shortage).

【0153】図11のデコーダ101は、このような場
合に対処するために、不足したラインを埋める画素色デ
ータを予め用意している。そして、実際にライン不足が
検知されると、不足画素色データの表示モードに切り換
えられる。具体的にいえば、データエンド信号がアドレ
ス制御部109から表示有効許可部110に与えられる
と、許可部110は画素色出力部104に色切換信号
(COLOR SW SIGNAL)を送る。画素色出
力部104は、この切換信号に応答して、符号データか
らの画素色データのデコード出力を、不足画素色設定部
110からの色情報(COLOR INFO.)のデコ
ード出力に切り換える。この切換状態は、不足ラインの
表示期間中(DISPLAY ENABLE=アクティ
ブ)、維持される。
To deal with such a case, the decoder 101 of FIG. 11 prepares pixel color data for filling the insufficient lines in advance. Then, when the line shortage is actually detected, the display mode of the insufficient pixel color data is switched to. Specifically, when the data end signal is given from the address control unit 109 to the display valid permission unit 110, the permission unit 110 sends a color switching signal (COLOR SW SIGNAL) to the pixel color output unit 104. In response to this switching signal, the pixel color output unit 104 switches the decode output of the pixel color data from the code data to the decode output of the color information (COLOR INFO.) From the insufficient pixel color setting unit 110. This switching state is maintained during the display period of the insufficient line (DISPLAY ENABLE = active).

【0154】なお、上記ライン不足が生じた場合、不足
画素色データを用いる代わりに、その間、デコード処理
動作を中止することもできる。
When the line shortage occurs, the decoding process operation can be stopped during that period instead of using the insufficient pixel color data.

【0155】具体的には、例えばデータエンド信号がア
ドレス制御部109から表示有効許可部110へ入力さ
れたときに、許可部110から画素色出力部104へ表
示中止を指定する色切換信号を出力すればよい。する
と、画素色出力部104は、この表示中止指定色切換信
号がアクティブの期間中、副映像の表示を中止するよう
になる。
Specifically, for example, when a data end signal is input from the address control unit 109 to the display valid permission unit 110, the permission unit 110 outputs to the pixel color output unit 104 a color switching signal designating display stop. do it. Then, the pixel color output unit 104 stops displaying the sub-picture while the display stop designation color switching signal is active.

【0156】図8は、図7の例でエンコードされた画素
データ(副映像データ)のうち、文字パターン「A」が
どのようにデコードされるかを、2例(ノンインターレ
ース表示およびインターレース表示)説明するものであ
る。
FIG. 8 shows two examples of how the character pattern “A” is decoded in the pixel data (sub-picture data) encoded in the example of FIG. 7 (non-interlaced display and interlaced display). To explain.

【0157】図11のデコーダ101は、図8の上部で
示すような圧縮データを図8の左下部に示すようなノン
インターレース表示データにデコードする場合に用いる
ことができる。
The decoder 101 of FIG. 11 can be used when decoding compressed data as shown in the upper part of FIG. 8 into non-interlaced display data as shown in the lower left part of FIG.

【0158】これに対し、図8の上部で示すような圧縮
データを図8の右下部に示すようなインターレース表示
データにデコードする場合は、同一画素ラインを二度ス
キャンするラインダブラ(たとえば、奇数フィールドの
ライン#1と同じ内容のライン#10を、偶数フィール
ドにおいて再スキャンする;V−SYNC単位の切換)
が必要になる。
On the other hand, when the compressed data as shown in the upper part of FIG. 8 is decoded into the interlaced display data as shown in the lower right part of FIG. 8, a line doubler (for example, an odd field) for scanning the same pixel line twice is used. Line # 10 having the same content as the line # 1 of No. 1 is rescanned in the even field; switching in V-SYNC unit)
Will be required.

【0159】また、インターレース表示と同等の画像表
示量をノンインターレース表示する場合は、別のインダ
ブラ(たとえば、図8右下部のライン#1と同じ内容を
持つライン#10をライン#1に連続させる;H−SY
NC単位の切換)が必要になる。
Further, in the case of non-interlaced display with an image display amount equivalent to that of interlaced display, another in doubler (for example, line # 10 having the same contents as line # 1 in the lower right part of FIG. 8 is continued to line # 1). H-SY
Switching of NC unit) is required.

【0160】図12は、上記ラインダブラの機能を持つ
デコーダハードウエアの実施形態(インターレース仕
様)を説明するブロック図である。図10のデコーダ1
01は、図12の構成のデコーダで構成することもでき
る。
FIG. 12 is a block diagram for explaining an embodiment (interlace specification) of decoder hardware having the line doubler function. Decoder 1 of FIG.
01 can also be configured by the decoder having the configuration of FIG.

【0161】図12の構成において、マイクロコンピュ
ータ112は、副映像の水平/垂直同期信号に基づい
て、インターレース表示の奇数フィールドと偶数フィー
ルドの発生タイミングを検知している。
In the configuration of FIG. 12, the microcomputer 112 detects the generation timing of the odd field and the even field of the interlaced display based on the horizontal / vertical synchronizing signal of the sub-picture.

【0162】奇数フィールドを検知すると、マイクロコ
ンピュータ112は選択信号生成部118に「現在奇数
フィールドである」ことを示すモード信号を与える。す
ると、選択信号生成部118からセレクタ115へ、デ
コーダ101からのデコードデータを選択させる信号が
出力される。すると、奇数フィールドのライン#1〜#
9の画素データ(図8の右下部参照)が、デコーダ10
1からセレクタ115を介して、ビデオ出力として外部
へ送出される。このとき、これら奇数フィールドのライ
ン#1〜#9の画素データは、一旦、ラインメモリ11
4に格納される。
When the odd field is detected, the microcomputer 112 gives the mode signal to the selection signal generator 118, which indicates "currently is an odd field". Then, the selection signal generation unit 118 outputs a signal for selecting the decoded data from the decoder 101 to the selector 115. Then, lines # 1 to # of the odd field
9 pixel data (see the lower right part of FIG. 8)
From 1 through the selector 115, it is sent to the outside as a video output. At this time, the pixel data of the lines # 1 to # 9 of these odd fields are temporarily stored in the line memory 11
Stored in 4.

【0163】偶数フィールドに移ったことを検知する
と、マイクロコンピュータ112は選択信号生成部11
8に「現在偶数フィールドである」ことを示すモード信
号を与える。すると、選択信号生成部118からセレク
タ115へ、ラインメモリ114に格納されたを選択さ
せる信号が出力される。すると、偶数フィールドのライ
ン#10〜#18の画素データ(図8の右下部参照)
が、ラインメモリ114からセレクタ115を介して、
ビデオ出力として外部へ送出される。
When it is detected that the field has moved to an even field, the microcomputer 112 causes the selection signal generation section 11
8 is given a mode signal indicating "currently even field". Then, the signal stored in the line memory 114 is output from the selection signal generation unit 118 to the selector 115. Then, the pixel data of lines # 10 to # 18 of the even field (see the lower right part of FIG. 8)
From the line memory 114 via the selector 115,
It is sent to the outside as video output.

【0164】こうして、奇数フィールドのライン#1〜
#9の副映像画像(図8の例では文字「A」)と、偶数
フィールドのライン#10〜#18の副映像画像(図8
の文字「A」)とが合成されて、インターレース表示が
実現される。
Thus, lines # 1 to # 1 of the odd field
The sub-picture image of # 9 (character "A" in the example of FIG. 8) and the sub-picture images of lines # 10 to # 18 of the even field (FIG. 8).
Character “A”) is combined to realize interlaced display.

【0165】ところで、図4に示した副映像データの副
映像ユニットヘッダ31には、TV画面のフレーム表示
モード/フィールド表示モードを示すパラメータビット
(SPMOD)が設けられている。
By the way, the sub-picture unit header 31 of the sub-picture data shown in FIG. 4 is provided with a parameter bit (SPMOD) indicating the frame display mode / field display mode of the TV screen.

【0166】インターレース表示と同等の画像表示量を
ノンインターレース表示する場合は、たとえば以下のよ
うになる。
In the case of non-interlaced display with the same image display amount as interlaced display, for example, the following is performed.

【0167】図12のマイクロコンピュータ112は、
副映像ユニットヘッダ31を読み込んだとき、上記パラ
メータSPMODの設定値(アクティブ=「1」;非ア
クティブ=「0」)から、インターレースモード(アク
ティブ「1」)であるかノンインターレースモードであ
るか(非アクティブ「0」)を判断できる。
The microcomputer 112 shown in FIG.
When the sub-picture unit header 31 is read, whether the mode is the interlace mode (active “1”) or the non-interlace mode based on the setting value of the parameter SPMOD (active = “1”; inactive = “0”) ( Inactive “0”) can be determined.

【0168】図12の構成において、パラメータSPM
ODがアクティブ=「1」であると、マイクロコンピュ
ータ112はインターレースモードであることを検知
し、インターレースモードを示すモード信号を選択信号
生成部118に送る。このモード信号を受けた生成部1
18は、水平同期信号H−SYNCの発生毎に、切換信
号をセレクタ115に与える。すると、セレクタ115
は、副映像デコーダ101からの現在フィールドのデコ
ード出力(DECODED DATA)と、ラインメモ
リ114に一時記憶された現在フィールドのデコード出
力とを、水平同期信号H−SYNCの発生毎に交互に切
り換えて、ビデオ出力を外部TVなどに送出する。
In the configuration of FIG. 12, the parameter SPM
When OD is active = 1, the microcomputer 112 detects that the interlace mode is set, and sends a mode signal indicating the interlace mode to the selection signal generator 118. The generation unit 1 that receives this mode signal
18 gives a switching signal to the selector 115 every time the horizontal synchronizing signal H-SYNC is generated. Then, the selector 115
Switches alternately between the decode output of the current field (DECODED DATA) from the sub-picture decoder 101 and the decode output of the current field temporarily stored in the line memory 114 each time the horizontal synchronization signal H-SYNC is generated. Send video output to external TV etc.

【0169】以上のようにして、現在のデコードデータ
とラインメモリ114内のデコードデータとがH−SY
NC毎に切り換え出力されると、TV画面上には、元の
画像(デコードされたデータ)の2倍の密度(水平走査
線が2倍)を持つ映像が、インターレースモードで表示
される。
As described above, the current decoded data and the decoded data in the line memory 114 are H-SY.
When switched and output for each NC, an image having a density twice as high as the original image (decoded data) (horizontal scanning lines twice) is displayed on the TV screen in the interlaced mode.

【0170】このような構成の副映像デコーダ101で
は、データが1ライン分読み込まれてからデコード処理
されるのではなく、順次入力されるビットデータが、デ
コードデータ単位ブロックの初めから1ビットづつカウ
ントされつつ2〜16ビット読み込まれ、デコード処理
される。この場合、デコードデータ1単位のビット長
(4ビット、8ビット、12ビット、16ビットなど)
はデコード直前に検知される。そして、検知されたデー
タ長単位で、圧縮された画素データが、たとえば3種類
の画素(図7の例では「・」、「o」、「#」)に、リ
アルタイムで復元(再生)されて行く。
In the sub-picture decoder 101 having such a configuration, the bit data that is sequentially input is counted one bit at a time from the beginning of the decoded data unit block, instead of being decoded after the data is read for one line. While being read, 2 to 16 bits are read and decoded. In this case, the bit length of one unit of decoded data (4 bits, 8 bits, 12 bits, 16 bits, etc.)
Is detected just before decoding. Then, in the detected data length unit, the compressed pixel data is restored (reproduced) in real time into, for example, three types of pixels (“·”, “o”, and “#” in the example of FIG. 7). go.

【0171】たとえば図5の規則1〜規則6にしたがっ
てエンコードされた画素データをデコードするにあた
り、副映像デコーダ101は、ビットカウンタと比較的
小容量のデータバッファ(ラインメモリ114など)を
備えておればよい。換言すれば、副映像デコーダ101
の回路構成は比較的単純なものとすることができ、この
エンコーダを含む装置全体を小型化できることになる。
For example, in decoding pixel data encoded according to rules 1 to 6 in FIG. 5, the sub-picture decoder 101 is provided with a bit counter and a relatively small capacity data buffer (line memory 114, etc.). Good. In other words, the sub-picture decoder 101
The circuit configuration of can be made relatively simple, and the entire apparatus including this encoder can be miniaturized.

【0172】すなわち、この発明エンコーダは、従来の
MH符号化方法のようにデコーダ内に大掛かりなコード
表を必要とせず、また算術符号化方法のようにエンコー
ド時にデータを二度読みする必要もなくなる。さらに、
この発明のデコーダは、掛算器のよな比較的複雑なハー
ドウエアを必要とせず、カウンタおよび小容量バッファ
などの簡単な回路の追加で具現できる。
That is, the encoder of the present invention does not require a large code table in the decoder as in the conventional MH encoding method, and does not need to read data twice at the time of encoding as in the arithmetic encoding method. . further,
The decoder of the present invention does not require relatively complicated hardware such as a multiplier, and can be implemented by adding a simple circuit such as a counter and a small capacity buffer.

【0173】この発明によれば、多種類の画素データ
(2ビット構成では最大4種類)のランレングス圧縮/
エンコードおよびそのランレングス伸張/デコードを、
比較的簡単な構成で実現できるようになる。
According to the present invention, run length compression / compression of various types of pixel data (up to four types in the 2-bit configuration) is performed.
Encoding and its run length expansion / decoding
It can be realized with a relatively simple configuration.

【0174】図13は、この発明の一実施の形態に係る
画像エンコード(ランレングス圧縮)を実行するもので
あって、たとえば図10のエンコーダ(200)により
実行されるソフトウエアを説明するフローチャートであ
る。
FIG. 13 is a flow chart for explaining the software executed by the encoder (200) of FIG. 10 for executing the image encoding (run length compression) according to the embodiment of the present invention. is there.

【0175】図5のランレングス圧縮規則1〜6に基づ
く一連のエンコード処理は、図10に示すエンコーダ2
00内部のマイクロコンピュータにより、ソフトウエア
処理として、実行される。エンコーダ200によるエン
コード全体の処理は図13のフローにしたがって行うこ
とができ、副映像データ中の画素データのランレングス
圧縮は図14のフローにしたがって行うことができる。
(ここでは、図3の表示制御シーケンステーブルDCS
QT33のエンコードについては触れない。DCSQT
33部分のエンコードについては、図53を参照して後
述する。) この場合、エンコーダ200内部のコンピュータは、ま
ず、キー入力などによって画像データのライン数とドッ
ト数が指定されると(ステップST801)、副映像デ
ータのヘッダ領域を用意し、ラインカウント数を「0」
に初期化する(ステップST802)。
A series of encoding processes based on the run length compression rules 1 to 6 shown in FIG. 5 is performed by the encoder 2 shown in FIG.
This is executed as a software process by a microcomputer inside 00. The entire encoding process by the encoder 200 can be performed according to the flow of FIG. 13, and the run length compression of the pixel data in the sub-picture data can be performed according to the flow of FIG.
(Here, the display control sequence table DCS of FIG.
The encoding of QT33 will not be touched upon. DCSQT
The encoding of the 33rd part will be described later with reference to FIG. In this case, when the number of lines and the number of dots of the image data are designated by key input or the like (step ST801), the computer inside the encoder 200 prepares the header area of the sub-picture data and sets the line count number to " 0 ”
Are initialized (step ST802).

【0176】そして画素パターンが1画素づつ順次入力
されると、エンコーダ200内部のコンピュータは、最
初の1画素分の画素データ(ここでは2ビット)を取得
して、その画素データを保存し、画素カウントを「1」
に設定するとともに、ドットカウント数を「1」に設定
する(ステップST803)。
When the pixel patterns are sequentially input pixel by pixel, the computer in the encoder 200 acquires the pixel data for the first pixel (here, 2 bits), saves the pixel data, and stores the pixel data. Count "1"
And the dot count number is set to "1" (step ST803).

【0177】続いて、エンコーダ200の内部コンピュ
ータは、次の画素パターンの画素データ(2ビット)を
取得し、1つ前に入力された保存中の画素データと比較
する(ステップST804)。
Subsequently, the internal computer of the encoder 200 acquires the pixel data (2 bits) of the next pixel pattern, and compares it with the pixel data that has been input and is being stored (step ST804).

【0178】この比較の結果、画素データが等しくない
場合は(ステップST805のノー)、エンコード変換
処理1が行われ(ステップST806)、現在の画素デ
ータが保存される(ステップST807)。そして画素
カウント数が+1インクリメントされ、これに対応して
ドットカウント数も+1インクリメントされる(ステッ
プST808)。
As a result of this comparison, if the pixel data are not equal (NO in step ST805), the encoding conversion process 1 is performed (step ST806) and the current pixel data is saved (step ST807). Then, the pixel count number is incremented by +1 and the dot count number is also incremented by +1 correspondingly (step ST808).

【0179】なお、ステップST804での比較の結
果、画素データが等しい場合は(ステップST805イ
エス)、ステップST806のエンコード変換処理1は
スキップされステップST808に移る。
As a result of the comparison in step ST804, if the pixel data are the same (YES in step ST805), the encode conversion process 1 in step ST806 is skipped and the process proceeds to step ST808.

【0180】画素カウント数およびドットカウント数の
インクリメント(ステップST808)の後、エンコー
ダ200の内部コンピュータは、現在エンコード中の画
素ラインが終端であるかどうかチェックする(ステップ
ST809)。ラインエンドであれば(ステップST8
09イエス)、エンコード変換処理2が行われる(ステ
ップST810)。ラインエンドでなければ(ステップ
ST809ノー)、ステップST804に戻り、ステッ
プST804〜ステップST808の処理が反復され
る。
After the pixel count number and the dot count number are incremented (step ST808), the internal computer of the encoder 200 checks whether the pixel line currently being encoded is the end (step ST809). If the line end (step ST8
09), and the encoding conversion process 2 is performed (step ST810). If it is not the line end (NO in step ST809), the process returns to step ST804, and the processes of steps ST804 to ST808 are repeated.

【0181】ステップST810のエンコード変換処理
2が済むと、エンコーダ200内部のコンピュータは、
エンコード後のビット列が8ビットの整数倍(バイトア
ラインされた状態)であるかどうかチェックする(ステ
ップST811A)。バイトアラインされていなければ
(ステップST811Aノー)、エンコード後のビット
列の末尾に4ビットのダミーデータ(0000)が追加
される(ステップST811B)。このダミー追加処理
後、あるいはエンコード後のビット列がバイトアライン
されていれば(ステップST811Aイエス)、エンコ
ーダ内コンピュータのラインカウンタ(マイクロコンピ
ュータ内部の汎用レジスタなど)が+1インクリメント
される(ステップST812)。
Upon completion of the encode conversion process 2 in step ST810, the computer inside the encoder 200 is
It is checked whether the encoded bit string is an integer multiple of 8 bits (byte aligned) (step ST811A). If it is not byte-aligned (NO in step ST811A), 4-bit dummy data (0000) is added to the end of the encoded bit string (step ST811B). If the bit string after the dummy addition process or after the encoding is byte-aligned (YES in step ST811A), the line counter (general-purpose register in the microcomputer) of the computer in the encoder is incremented by +1 (step ST812).

【0182】ラインカウンタのインクリメント後、最終
ラインに到達していなければ(ステップST813ノ
ー)、ステップST803に戻り、ステップST803
〜ステップST812の処理が反復される。
After the line counter is incremented, if the final line has not been reached (NO in step ST813), the process returns to step ST803, and step ST803.
~ The process of step ST812 is repeated.

【0183】ラインカウンタのインクリメント後、最終
ラインに到達しておれば(ステップST813イエ
ス)、エンコード処理(ここでは2ビット画素データの
ビット列のランレングス圧縮)が終了する。
If the final line is reached after the line counter is incremented (YES in step ST813), the encoding process (run length compression of the bit string of the 2-bit pixel data in this case) ends.

【0184】図14は、図13のエンコード変換処理1
の内容の一例を説明するフローチャートである。
FIG. 14 shows the encoding conversion process 1 of FIG.
It is a flowchart explaining an example of the content of.

【0185】図13のエンコード変換処理1(ステップ
ST806)では、エンコード対象画素データが2ビッ
ト幅であることを想定しているので、図5のランレング
ス圧縮規則1〜6が適用される。
In the encoding conversion process 1 (step ST806) of FIG. 13, since it is assumed that the pixel data to be encoded has a 2-bit width, the run length compression rules 1 to 6 of FIG. 5 are applied.

【0186】これらの規則1〜6に対応して、画素カウ
ント数が0(ステップST901)であるか、画素カウ
ント数が1〜3(ステップST902)であるか、画素
カウント数が4〜15(ステップST903)である
か、画素カウント数が16〜63(ステップST90
4)であるか、画素カウント数が64〜255(ステッ
プST905)であるか、画素カウント値がラインエン
ド(ステップST906)を示しているか、画素カウン
ト数が256以上であるか(ステップST907)の判
断が、コンピュータソフトウエアにより行われる。
In accordance with these rules 1 to 6, the pixel count number is 0 (step ST901), the pixel count number is 1 to 3 (step ST902), or the pixel count number is 4 to 15 ( Step ST903) or the pixel count number is 16 to 63 (step ST90).
4), the pixel count number is 64 to 255 (step ST905), the pixel count value indicates the line end (step ST906), or the pixel count number is 256 or more (step ST907). The decision is made by computer software.

【0187】エンコーダ200の内部コンピュータは、
上記判断結果に基づいて、ランフィールドのビット数
(同一種類の画素データの1単位長)を決定し(ステッ
プST908〜ステップST913)、副映像ユニット
ヘッダ31の後に、このランフィールドビット数分の領
域を確保する。こうして確保されたランフィールドに継
続画素数が出力され、画素フィールドに画素データが出
力され、エンコーダ200内部の記憶装置(図示せず)
に記録される(ステップST914)。
The internal computer of the encoder 200 is
Based on the above determination result, the number of bits of the run field (one unit length of pixel data of the same type) is determined (steps ST908 to ST913), and after the sub-picture unit header 31, the area for the number of run fields bits Secure. The number of continuous pixels is output to the run field thus secured, pixel data is output to the pixel field, and a storage device (not shown) inside the encoder 200 is provided.
Is recorded (step ST914).

【0188】図15は、この発明の一実施の形態に係る
画像デコード(ランレングス伸張)を実行するものであ
って、たとえば図11あるいは図12マイクロコンピュ
ータ112により実行されるソフトウエアを説明するフ
ローチャートである。(ここでは、図3の表示制御シー
ケンステーブルDCSQT33のデコードについては触
れない。DCSQT33部分のデコードについては、図
54〜図57を参照して後述する。) また、図16は、図15のソフトウエアで使用されるデ
コードステップ(ST1005)の内容の一例を説明す
るフローチャートである。
FIG. 15 is a flow chart for explaining the software executed by the microcomputer 112 of FIG. 11 or FIG. 12 for executing the image decoding (run length expansion) according to the embodiment of the present invention. Is. (Here, the decoding of the display control sequence table DCSQT33 of FIG. 3 is not mentioned. The decoding of the DCSQT33 portion will be described later with reference to FIGS. 54 to 57.) Further, FIG. 16 is the software of FIG. 6 is a flowchart illustrating an example of the contents of a decoding step (ST1005) used in.

【0189】すなわち、マイクロコンピュータ112
は、ランレングス圧縮された副映像データ(画素データ
は2ビット構成)の初めのヘッダ31部分を読み込ん
で、その内容(図4参照)を解析する。そして、解析さ
れたヘッダの内容に基づいて、デコードされるがそうデ
ータのライン数およびドット数が指定される。これらラ
イン数およびドット数が指定されると(ステップST1
001)、ラインカウント数およびドットカウント数が
「0」に初期化される(ステップST1002〜ステッ
プST1003)。
That is, the microcomputer 112
Reads the first header 31 portion of the run-length compressed sub-picture data (pixel data has a 2-bit structure) and analyzes the content (see FIG. 4). Then, the number of lines and the number of dots of the data to be decoded are designated based on the content of the analyzed header. When the number of lines and the number of dots are designated (step ST1
001), the line count number and the dot count number are initialized to “0” (step ST1002 to step ST1003).

【0190】マイクロコンピュータ112は、副映像ユ
ニットヘッダ31の後に続くデータビット列を順次取り
込んで行き、ドット数およびドットカウント数を計数す
る。そしてドット数からドットカウント数を引き算し
て、継続画素数を算出する(ステップST1004)。
The microcomputer 112 sequentially takes in the data bit string following the sub-picture unit header 31, and counts the number of dots and the number of dot counts. Then, the number of dots is subtracted from the number of dots to calculate the number of continuous pixels (step ST1004).

【0191】こうして継続画素数が算出されると、マイ
クロコンピュータ112は、この継続画素数の値に応じ
てデコード処理を実行する(ステップST1005)。
When the number of continuous pixels is calculated in this way, the microcomputer 112 executes a decoding process according to the value of the number of continuous pixels (step ST1005).

【0192】ステップST1005のデコード処理後、
マイクロコンピュータ112はドットカウント数と継続
画素数とを加算し、これを新たなドットカウント数とす
る(ステップST1006)。
After the decoding processing in step ST1005,
The microcomputer 112 adds the dot count number and the continuous pixel number, and sets this as a new dot count number (step ST1006).

【0193】そして、マイクロコンピュータ112はデ
ータを順次とりこんではステップST1005のデコー
ド処理を実行し、累積したドットカウント数が初めに設
定したライン終了数(ラインエンドの位置)と一致した
とき、1ライン分のデータについてのデコード処理を終
了する(ステップST1007イエス)。
Then, the microcomputer 112 sequentially takes in the data and executes the decoding process of step ST1005. When the accumulated dot count number matches the initially set line end number (line end position), one line The decoding process for the data is ended (YES in step ST1007).

【0194】次に、デコードしたデータがバイトアライ
ンされておれば(ステップST1008Aイエス)、ダ
ミーデータ分を取り除く(ステップST1008B)。
そしてラインカウント数を+1インクリメントし(ステ
ップST1009)、最終ラインに到達するまで(ステ
ップST1010ノー)、ステップST1002〜ステ
ップST1009の処理を反復する。最終ラインに到達
すれば(ステップST1010イエス)、デコードは終
了する。
Next, if the decoded data is byte-aligned (YES in step ST1008A), dummy data is removed (step ST1008B).
Then, the line count number is incremented by +1 (step ST1009), and the processes of steps ST1002 to ST1009 are repeated until the final line is reached (NO in step ST1010). When the final line is reached (YES in step ST1010), the decoding ends.

【0195】図15のデコード処理ステップST100
5の処理内容は、たとえば図16に示すようになってい
る。
Decoding processing step ST100 in FIG.
The processing contents of No. 5 are as shown in FIG. 16, for example.

【0196】この処理では、初めから2ビットを取得し
ては、そのビットが「0」か否かを判定する織りを繰り
返す(ステップST1101〜ステップST110
9)。これにより、図5のランレングス圧縮規則1〜6
に対応した継続画素数、つまりラン連続数が決定される
(ステップST1110〜ステップST1113)。
In this process, two bits are acquired from the beginning, and the weaving for determining whether or not the bit is "0" is repeated (steps ST1101 to ST110).
9). As a result, the run length compression rules 1 to 6 in FIG.
The number of continuous pixels corresponding to, that is, the number of consecutive runs is determined (step ST1110 to step ST1113).

【0197】そしてラン連続数が決定された後、そのあ
とに続けて読み込んだ2ビットが画素パターン(画素デ
ータ;画素の色情報)とされる(ステップST111
4)。
After the number of continuous runs is determined, the 2 bits read subsequently after that are set as a pixel pattern (pixel data; pixel color information) (step ST111).
4).

【0198】画素データ(画素の色情報)が決まると、
インデックスパラメータ「i」を0とし(ステップST
1115)、パラメータ「i」がラン連続数と一致する
まで(ステップST1116)、2ビット画素パターン
を出力しては(ステップST1117)、パラメータ
「i」を+1インクリメントし(ステップST111
8)、同じ画素データの1単位分の出力を終えて、デコ
ード処理を終了する。
When pixel data (pixel color information) is determined,
The index parameter “i” is set to 0 (step ST
1115) until the parameter "i" matches the number of consecutive runs (step ST1116), the 2-bit pixel pattern is output (step ST1117), and the parameter "i" is incremented by +1 (step ST111).
8) Then, the output of one unit of the same pixel data is finished, and the decoding process is finished.

【0199】このように、この副映像データのデコード
方法によれば、副映像データのデコード処理が、数ビッ
トの判定処理とデータブロックの切り分け処理とデータ
ビットの計数処理だけという、簡単な処理で済む。この
ため、従来のMH符号化方法などで使用される大掛かり
なコード表は必要なくなり、エンコードされたビットデ
ータを元の画素情報にデコードする処理・構成が簡単に
なる。
As described above, according to this sub-picture data decoding method, the sub-picture data decoding processing is a simple process of only a few bit determination process, a data block dividing process, and a data bit counting process. I'm done. For this reason, a large-scale code table used in the conventional MH encoding method or the like is not required, and the process / structure for decoding the encoded bit data into the original pixel information becomes simple.

【0200】なお、上記実施の形態では、データデコー
ド時に最大16ビットのビットデータを読み取れば、同
じ画素の1単位分の符号ビット長を決定できるものとし
たが、この符号ビット長はこれに限定されない。たとえ
ばこの符号ビット長は32ビットでも64ビットでもよ
い。ただしビット長が増えれば、その分容量の大きなデ
ータバッファが必要になる。
In the above embodiment, the code bit length for one unit of the same pixel can be determined by reading the maximum 16-bit bit data at the time of data decoding, but the code bit length is not limited to this. Not done. For example, this code bit length may be 32 bits or 64 bits. However, as the bit length increases, a data buffer with a large capacity is required.

【0201】また、上記実施の形態では画素データ(画
素の色情報)を、たとえば16色のカラーパレットから
選択された3色の色情報としたが、これ以外に、色の3
原色(赤成分R、緑成分G、青成分B;または輝度信号
成分Y、クロマ赤信号成分Cr、クロマ青信号成分Cb
など)それぞれの振幅情報を、2ビットの画素データで
表現することもできる。つまり、画素データは特定種類
の色情報に限定されることはない。
In the above embodiment, the pixel data (pixel color information) is color information of three colors selected from a color palette of 16 colors, for example.
Primary colors (red component R, green component G, blue component B; or luminance signal component Y, chroma red signal component Cr, chroma blue signal component Cb
Each of the amplitude information can be represented by 2-bit pixel data. That is, the pixel data is not limited to the specific type of color information.

【0202】図17は、図11の変形例を示す。図11
ではマイクロコンピュータ112がヘッダを切り出す操
作をソフトウエア的に行っているが、図17では、ヘッ
ダの切り出し操作を、デコーダ101の内部でハードウ
エア的に行っている。
FIG. 17 shows a modification of FIG. Figure 11
In FIG. 17, the operation of cutting out the header by the microcomputer 112 is performed by software. However, in FIG. 17, the operation of cutting out the header is performed by hardware inside the decoder 101.

【0203】すなわち、図17に示すように、ランレン
グス圧縮された副映像データSPDは、データI/O1
02を介して、デコーダ101内部のバスに送り込まれ
る。バスに送り込まれたデータSPDは、メモリ制御部
105を介してメモリ108へ送られ、そこに記憶され
る。また、デコーダ101の内部バスは、符号データ切
分部103と、継続コード長検知部106と、マイクロ
コンピュータ(MPUまたはCPU)112に繋がった
ヘッダ切出部113とに接続されている。
That is, as shown in FIG. 17, the run-length compressed sub-picture data SPD is the data I / O1.
It is sent to the bus inside the decoder 101 via 02. The data SPD sent to the bus is sent to the memory 108 via the memory control unit 105 and stored therein. Further, the internal bus of the decoder 101 is connected to the code data cutout unit 103, the continuation code length detection unit 106, and a header cutout unit 113 connected to a microcomputer (MPU or CPU) 112.

【0204】メモリ108から読み出された副映像デー
タの副映像ユニットヘッダ31は、ヘッダ切出部113
により読み取られる。切出部113は、読み出したヘッ
ダ31から、図4に示す各種パラメータに基づいて、ア
ドレス制御部109にデコード開始アドレス(SPDD
ADR)を設定し、表示有効許可部110に副映像の表
示開始位置と表示幅と表示高との情報(SPDSZ)を
設定し、符号データ切分部103に副映像の表示幅(ラ
イン上のドット数)を設定する。設定された各種情報は
各部(109、110、103)の内部レジスタに保存
される。それ以後、レジスタに保存された各種情報は、
マイクロコンピュータ112によりアクセスできるよう
になる。
The sub-picture unit header 31 of the sub-picture data read out from the memory 108 has the header cutout section 113.
Read by. The cutout unit 113 sends the decoding start address (SPDD) from the read header 31 to the address control unit 109 based on various parameters shown in FIG.
(ADR) is set, information (SPDSZ) about the display start position, the display width, and the display height of the sub-picture is set in the display valid permission section 110, and the display width (on the line) of the sub-picture is set in the code data dividing section 103. Set the number of dots. The set various information is stored in the internal register of each unit (109, 110, 103). After that, various information stored in the register is
It can be accessed by the microcomputer 112.

【0205】アドレス制御部109は、レジスタに設定
されたデコード開始アドレス(SPDDADR)に基づ
き、メモリ制御部105を介しメモリ108にアクセス
して、デコードしようとする副映像データの読み出しを
開始する。こうしてメモリ108から読み出された副映
像データは、符号データ切出部103および継続コード
長検知部106に与えられる。
The address control unit 109 accesses the memory 108 via the memory control unit 105 based on the decoding start address (SPDDADR) set in the register to start reading the sub-picture data to be decoded. The sub-picture data read from the memory 108 in this way is given to the code data cutout unit 103 and the continuation code length detection unit 106.

【0206】ランレングス圧縮された副映像データSP
Dの符号化ヘッダ(図5の規則2〜5では2〜14ビッ
ト)は継続コード長検知部106により検出され、デー
タSPD内における同一画素データの継続画素数が継続
コード長検知部106からの信号を基にラン長設定部1
07により検出される。
Run-length compressed sub-picture data SP
The coded header of D (2 to 14 bits in rules 2 to 5 of FIG. 5) is detected by the continuous code length detection unit 106, and the number of continuous pixels of the same pixel data in the data SPD is determined by the continuous code length detection unit 106. Run length setting unit 1 based on signal
Detected by 07.

【0207】以下、図17〜図21を参照しながら、図
15および図16を用いて説明したデコード方法とは別
のデコード方法を説明する。
A decoding method different from the decoding method described with reference to FIGS. 15 and 16 will be described below with reference to FIGS. 17 to 21.

【0208】図18は、この発明の他実施の形態に係る
画像デコード(ランレングス伸張)処理の前半を説明す
るフローチャートである。
FIG. 18 is a flow chart for explaining the first half of the image decoding (run length expansion) processing according to another embodiment of the present invention.

【0209】デコードを開始する場合、図17のデコー
ダ101内部の各ブロックは初期化(レジスタのクリ
ア、カウンタのリセットなど)される。その後、副映像
ユニットヘッダ31が読み取られ、その内容(図4の各
種パラメータ)がヘッダ切分部113の内部レジスタに
セットされる(ステップST1200)。
When decoding is started, each block in the decoder 101 shown in FIG. 17 is initialized (register clear, counter reset, etc.). After that, the sub-picture unit header 31 is read, and its contents (various parameters in FIG. 4) are set in the internal register of the header dividing section 113 (step ST1200).

【0210】ヘッダ切分部113のレジスタにヘッダ3
1の各種パラメータがセットされると、ヘッダ31の読
み取りが終了したステータスが、マイクロコンピュータ
112に通知される(ステップST1201)。
The header 3 is stored in the register of the header dividing section 113.
When the various parameters 1 are set, the status in which the reading of the header 31 is completed is notified to the microcomputer 112 (step ST1201).

【0211】マイクロコンピュータ112は、ヘッダ読
取終了ステータスを受けると、デコード開始ライン(た
とえば図4のSPLine1)を指定し、その開始ライ
ンをヘッダ切分部113に通知する(ステップST12
02)。
Upon receiving the header read end status, the microcomputer 112 designates a decoding start line (eg SPLine1 in FIG. 4) and notifies the header cutting section 113 of the start line (step ST12).
02).

【0212】ヘッダ切分部113は、指定されたデコー
ド開始ラインの通知を受けると、自分のレジスタにセッ
トされているヘッダ31の各種パラメータに基づいて、
指定されたデコード開始ラインのアドレス(図4のSP
DDADR)およびデコード終了アドレス(図4のSP
EDADR;開始ラインアドレスから相対的に1ライン
分シフトしたアドレス)がアドレス制御部109にセッ
トされ、デコードされた副映像の表示開始位置と表示幅
と表示高と(図4のSPDSZ)が表示有効許可部11
0にセットされ、表示幅の値(LNEPIX;図4では
図示されていないがSPDSZに含まれている1ライン
分の画素数)が符号データ切分部103にセットされる
(ステップST1203)。
When the header dividing unit 113 receives the notification of the designated decoding start line, the header dividing unit 113 determines, based on various parameters of the header 31 set in its own register,
Address of the specified decode start line (SP in Fig. 4
DDADR) and decoding end address (SP of FIG. 4
EDADR; an address that is shifted by one line relative to the start line address) is set in the address control unit 109, and the display start position, display width, and display height (SPDSZ of FIG. 4) of the decoded sub-picture are displayed valid. Permission section 11
The display width value (LNEPIX; the number of pixels for one line included in SPDSZ, which is not shown in FIG. 4) is set to 0 in the code data dividing unit 103 (step ST1203).

【0213】アドレス制御部109は、デコードアドレ
スをメモリ制御部105に送る。すると、デコードしよ
うとするデータ(圧縮された副映像データSPD)が、
メモリ制御部105を介して、メモリ108から符号化
データ切分部103および継続コード長検知部106
に、読み出される。その際、読み出されたデータは、バ
イト単位で、切分部103および検知部106それぞれ
の内部レジスタにセットされる(ステップST120
4)。
The address control unit 109 sends the decode address to the memory control unit 105. Then, the data to be decoded (compressed sub-picture data SPD) is
From the memory 108 via the memory control unit 105, the encoded data segmentation unit 103 and the continuation code length detection unit 106 are provided.
Is read out. At that time, the read data is set in the internal register of each of the dividing unit 103 and the detecting unit 106 in units of bytes (step ST120).
4).

【0214】継続コード長検知部106は、メモリ10
8から読み出されてきたデータの”0”ビットの数をカ
ウントし、そのカウント値から、図5の規則1〜5のい
ずれかに該当する符号化ヘッダを検知する(ステップS
T1205)。この符号化ヘッダ検知の詳細は、図20
を参照して後述する。
The continuation code length detecting unit 106 uses the memory 10
The number of "0" bits of the data read from 8 is counted, and the coded header corresponding to any one of rules 1 to 5 of FIG. 5 is detected from the count value (step S
T1205). Details of this encoded header detection are shown in FIG.
Will be described later with reference to.

【0215】継続コード長検知部106は、検知した符
号化ヘッダの値にしたがって、図5の規則1〜5のいず
れかの規則に対応した切分情報SEP.INFO.を生
成する(ステップST1206)。
The continuation code length detecting unit 106 determines, according to the detected value of the encoded header, the segment information SEP. INFO. Is generated (step ST1206).

【0216】たとえば、メモリ108から読み出されて
きたデータの”0”ビットのカウント値がゼロなら規則
1を示す切分情報SEP.INFO.が生成され、この
カウント値が2なら規則2を示す切分情報SEP.IN
FO.が生成され、このカウント値が4なら規則3を示
す切分情報SEP.INFO.が生成され、このカウン
ト値が6なら規則4を示す切分情報SEP.INFO.
が生成され、このカウント値が14なら規則5を示す切
分情報SEP.INFO.が生成される。こうして生成
された切分情報SEP.INFO.は、符号化データ切
分部103に転送される。
For example, if the count value of the "0" bit of the data read from the memory 108 is zero, the segment information SEP. INFO. Is generated, and if this count value is 2, the segment information SEP. IN
FO. Is generated, and if this count value is 4, the segment information SEP. INFO. Is generated, and if this count value is 6, the segment information SEP. INFO.
Is generated, and if the count value is 14, the segment information SEP. INFO. Is generated. The segment information SEP. INFO. Is transferred to the encoded data segmentation unit 103.

【0217】符号化データ切分部103は、継続コード
長検知部106からの切分情報SEP.INFO.の内
容にしたがって、継続画素数(PIXCNT;ラン情
報)をラン長設定部107にセットするとともに、継続
画素数データのあとに続く2ビット画素データ(画素色
データ;副映像データパケットから切り分けられたデー
タ)を、画素色出力部104にセットする。このとき、
切分部103の内部では、画素カウンタ(図示せず)の
現カウント値NOWPIXが、継続画素数PIXCNT
の分だけインクリメントされる(ステップST120
7)。
The coded data segmentation unit 103 receives segmentation information SEP. INFO. In accordance with the contents of the above, the continuous pixel number (PIXCNT; run information) is set in the run length setting unit 107, and 2-bit pixel data (pixel color data; sub-picture data packet) following the continuous pixel number data is separated. Data) is set in the pixel color output unit 104. At this time,
Inside the dividing unit 103, the current count value NOWPIX of a pixel counter (not shown) is set to the continuous pixel number PIXCNT.
Is incremented by (step ST120
7).

【0218】図19は、この発明の他実施の形態に係る
画像デコード(ランレングス伸張)処理の後半(図18
のノードA以降)を説明するフローチャートである。
FIG. 19 shows the latter half (FIG. 18) of the image decoding (run length extension) processing according to another embodiment of the present invention.
14 is a flowchart for explaining (from node A onward).

【0219】先行ステップST1203において、符号
化データ切分部103には、ヘッダ切分部113から、
副映像の表示幅に対応した1ライン分の画素データ数
(ドット数)LNEPIXが通知されている。符号化デ
ータ切分部103では、その内部画素カウンタの値NO
WPIXが通知された1ライン分画素データ数LNEP
IXを超えているかどうか、チェックされる(ステップ
ST1208)。
In the preceding step ST1203, the coded data segmentation unit 103 receives from the header segmentation unit 113,
The pixel data number (dot number) LNEPIX for one line corresponding to the display width of the sub-picture is notified. In the encoded data segmentation unit 103, the value NO of the internal pixel counter
Number of pixel data for one line notified of WPIX LNEP
It is checked whether or not it exceeds IX (step ST1208).

【0220】このステップにおいて、画素カウンタ値N
OWPIXが1ライン分画素データ数LNEPIX以上
になっているときは(ステップST1208ノー)、1
バイト分のデータがセットされていた切分部103の内
部レジスタがクリアされ、画素カウンタ値NOWPIX
がゼロになる(ステップST1209)。このとき、バ
イトアラインされている場合には、4ビットのデータが
切り捨てられることになる。画素カウンタ値NOWPI
Xが1ライン分画素データ数LNEPIXよりも小さい
ときは(ステップST1208イエス)、切分部103
の内部レジスタはクリアされずそのままとなる。
At this step, the pixel counter value N
When OWPIX is equal to or more than the number of pixel data for one line LNEPIX (NO in step ST1208), 1
The internal register of the dividing unit 103 in which the byte data has been set is cleared, and the pixel counter value NOWPIX
Becomes zero (step ST1209). At this time, if byte-aligned, 4-bit data is truncated. Pixel counter value NOWPI
When X is smaller than the pixel data number LNEPIX for one line (YES in step ST1208), the dividing unit 103
The internal register of is not cleared and remains as it is.

【0221】ラン長設定部107は、先行ステップST
1207でセットされた継続画素数PIXCNT(ラン
情報)と、画素ドットの転送レートを決めるドットクロ
ックDOTCLKと、副映像を主映像の表示画面に同期
させる水平および垂直同期信号H−SYNCおよびVー
SYNCとから、画素色出力部104にセットされた画
素データを必要な期間出力させるための表示期間信号
(PERIOD SIGNAL)を生成する。生成され
た表示期間信号は、画素色出力部104に与えられる
(ステップST1210)。
The run length setting unit 107 determines the preceding step ST.
The continuous pixel number PIXCNT (run information) set in 1207, the dot clock DOTCLK that determines the pixel dot transfer rate, and the horizontal and vertical synchronization signals H-SYNC and V-SYNC that synchronize the sub-image with the display screen of the main image. From this, a display period signal (PERIOD SIGNAL) for outputting the pixel data set in the pixel color output unit 104 for a necessary period is generated. The generated display period signal is provided to the pixel color output unit 104 (step ST1210).

【0222】画素色出力部104は、ラン長設定部10
7から表示期間信号が与えられている間、先行ステップ
ST1207においてセットされた切分データ(たとえ
ば画素色を示す画素データ)を、デコードされた副映像
の表示データとして出力する(ステップST121
1)。
The pixel color output unit 104 includes a run length setting unit 10
While the display period signal is given from 7, the cut data (for example, pixel data indicating the pixel color) set in the preceding step ST1207 is output as the decoded sub video display data (step ST121).
1).

【0223】こうして出力された副映像表示データは、
後に、図示しない回路部分において適宜主映像の画像に
合成され、図示しないTVモニタにおいて表示されるこ
とになる。
The sub-picture display data thus output is
After that, it is appropriately combined with the image of the main video in a circuit part (not shown) and displayed on a TV monitor (not shown).

【0224】ステップST1211の画素データ出力処
理後、デコードデータが終了していなければ、図18の
ステップST1204に戻る(ステップST1212ノ
ー)。デコードデータが終了しているかどうかは、ヘッ
ダ切分部113によりセットされた副映像表示データの
終了アドレス(SPEDADR)までのデータが符号化
データ切分部103において処理され終わったかどうか
で判定できる。
After the pixel data output process of step ST1211, if the decoded data is not completed, the process returns to step ST1204 of FIG. 18 (NO in step ST1212). Whether or not the decoded data has ended can be determined by whether or not the data up to the end address (SPEDADR) of the sub-picture display data set by the header cutout unit 113 has been processed by the encoded data cutout unit 103.

【0225】データのデコードが終了したならば(ステ
ップST1212イエス)、表示有効許可部110から
の表示許可信号(DISPLAY ENABLE)がア
クティブかどうかチェックされる。表示有効許可部11
0は、アドレス制御部109からデータ終了信号(DA
TA END SIGNAL)が送られてくるまでは、
アクティブ状態(たとえばハイレベル)の表示許可信号
を発生している。
When the data decoding is completed (YES in step ST1212), it is checked whether or not the display permission signal (DISPLAY ENABLE) from the display valid permission section 110 is active. Display validation unit 11
0 is a data end signal (DA
Until TA END SIGNAL is sent,
The display permission signal in the active state (for example, high level) is generated.

【0226】表示許可信号がアクティブであれば、デー
タデコードが終了しているにも拘わらずまだ表示期間中
であると判定される(ステップST1213イエス)。
この場合は、表示有効許可部110はラン長設定部10
7および画素色出力部104へ色切換信号を送る(ステ
ップST1214)。
If the display permission signal is active, it is determined that the display period is still in spite of the completion of the data decoding (YES in step ST1213).
In this case, the display validity permitting unit 110 uses the run length setting unit 10
7 and the pixel color output unit 104 to send a color switching signal (step ST1214).

【0227】このとき、画素色出力部104は不足画素
色設定部111から不足画素色データを受け取ってい
る。表示有効許可部110から色切換信号を受信した画
素色出力部104は、出力する画素色データを、不足画
素色設定部111からの不足画素色データに切り換える
(ステップST1215)。すると、表示許可信号がア
クティブの間(ステップST1213〜ステップST1
215のループ)、デコードデータが存在しない副映像
の表示期間中は、不足画素色設定部111が提供する不
足画素色で、副映像の表示エリアが埋められる。
At this time, the pixel color output unit 104 receives the insufficient pixel color data from the insufficient pixel color setting unit 111. The pixel color output unit 104 that receives the color switching signal from the display valid permission unit 110 switches the pixel color data to be output to the insufficient pixel color data from the insufficient pixel color setting unit 111 (step ST1215). Then, while the display permission signal is active (step ST1213 to step ST1).
(Loop of 215), during the display period of the sub-picture in which the decoded data does not exist, the sub-pixel display area is filled with the insufficient pixel color provided by the insufficient pixel color setting unit 111.

【0228】表示許可信号が非アクティブであれば、デ
コードされた副映像の表示期間が終了したと判定される
(ステップST1213ノー)。すると、表示有効許可
部110は、1フレーム分の副映像デコードが終了した
ことを示すエンドステータスを、マイクロコンピュータ
112に転送する(ステップST1216)。こうし
て、1画面(1フレーム)分の副映像デコード処理が終
了する。
If the display permission signal is inactive, it is determined that the display period of the decoded sub-picture has ended (NO in step ST1213). Then, the display validity enabling unit 110 transfers the end status indicating that the sub-picture decoding for one frame is completed to the microcomputer 112 (step ST1216). Thus, the sub-picture decoding process for one screen (one frame) is completed.

【0229】図20は、図18の符号化ヘッダ検出ステ
ップ(ST1205)の内容の一例を説明するフローチ
ャートである。この符号化ヘッダ検出処理は、図17
(または図11)の継続コード長検知部106により、
実行される。
FIG. 20 is a flow chart for explaining an example of the contents of the encoded header detection step (ST1205) of FIG. This encoded header detection process is shown in FIG.
(Or FIG. 11), the continuation code length detection unit 106
Be executed.

【0230】まず、継続コード長検知部106が初期化
され、その内部のステータスカウンタ(STSCNT)
がゼロにセットされる(ステップST1301)。その
後、メモリ108からバイト単位で検知部106に読み
込まれているデータの後続2ビット分の内容がチェック
される。この2ビットの内容が”00”であれば(ステ
ップST1302イエス)、カウンタSTSCNTが1
つインクリメントされる(ステップST1303)。チ
ェックした2ビットが、検知部106に読み込まれてい
る1バイトの終わりに達していなければ(ステップST
1304ノー)、さらに後続2ビット分の内容がチェッ
クされる。この2ビットの内容が”00”であれば(ス
テップST1302イエス)、カウンタSTSCNTが
さらに1つインクリメントされる(ステップST130
3)。
First, the continuation code length detection unit 106 is initialized, and its internal status counter (STSCNT).
Is set to zero (step ST1301). After that, the contents of the subsequent 2 bits of the data read by the detection unit 106 from the memory 108 in byte units are checked. If the content of these 2 bits is "00" (YES in step ST1302), the counter STSCNT is set to 1
Is incremented by one (step ST1303). If the checked 2 bits do not reach the end of 1 byte read by the detection unit 106 (step ST
No of 1304), and the contents of the subsequent 2 bits are checked. If the content of these two bits is "00" (YES in step ST1302), the counter STSCNT is further incremented by one (step ST130).
3).

【0231】ステップST1302〜ステップST13
04のループが反復された結果、ステップST1302
でチェックした後続2ビットが検知部106に読み込ま
れている1バイトの終わりに達していたときは(ステッ
プST1304イエス)、図5の符号化ヘッダが6ビッ
トより大であることになる。この場合は、メモリ108
から検知部106に次のデータバイトが読み込まれ(ス
テップST1305)、ステータスカウンタSTSCN
Tが”4”にセットされる(ステップST1307)。
このとき同時に、符号化データ切分部103にも、同じ
データが1バイト読み込まれる。
Step ST1302 to step ST13
As a result of repeating the loop of 04, step ST1302
When the subsequent 2 bits checked in step 1 have reached the end of 1 byte read by the detection unit 106 (YES in step ST1304), the encoded header of FIG. 5 is larger than 6 bits. In this case, the memory 108
Next, the next data byte is read from the detection unit 106 (step ST1305), and the status counter STSCN is read.
T is set to "4" (step ST1307).
At the same time, one byte of the same data is also read into the encoded data segmentation unit 103.

【0232】ステータスカウンタSTSCNTが”4”
にセットされたあと、あるいは先行ステップST130
2においてチェックされた2ビット分の内容が”00”
でなければ(ステップST1302ノー)、ステータス
カウンタSTSCNTの内容が確定し、その内容が図5
の符号化ヘッダの内容として出力される(ステップST
1307)。
Status counter STSCNT is "4".
After being set to or in the preceding step ST130
The content of 2 bits checked in 2 is "00"
If not (NO in step ST1302), the contents of the status counter STSCNT are confirmed, and the contents are shown in FIG.
Is output as the content of the encoded header of (step ST
1307).

【0233】すなわち、ステータスカウンタSTSCN
T=”0”であれば図5の規則1を示す符号化ヘッダが
検出され、ステータスカウンタSTSCNT=”1”で
あれば図5の規則2を示す符号化ヘッダが検出され、ス
テータスカウンタSTSCNT=”2”であれば図5の
規則3を示す符号化ヘッダが検出され、ステータスカウ
ンタSTSCNT=”3”であれば図5の規則4を示す
符号化ヘッダが検出され、ステータスカウンタSTSC
NT=”4”であれば図5の規則5(ラインの終わりま
で同一画素データが連続する場合)を示す符号化ヘッダ
が検出される。
That is, the status counter STSCN
If T = “0”, the coding header indicating rule 1 in FIG. 5 is detected, and if the status counter STSCNT = “1”, the coding header indicating rule 2 in FIG. 5 is detected, and the status counter STSCNT = If it is "2", the coding header showing rule 3 of FIG. 5 is detected, and if the status counter STSCNT = "3", the coding header showing rule 4 of FIG. 5 is detected and the status counter STSC is detected.
If NT = “4”, the coding header indicating Rule 5 of FIG. 5 (when the same pixel data continues until the end of the line) is detected.

【0234】図21は、デコードされた画像がスクロー
ルされる場合において、この発明の画像デコード処理が
どのようになされるかを説明するフローチャートであ
る。
FIG. 21 is a flow chart for explaining how the image decoding process of the present invention is performed when the decoded image is scrolled.

【0235】まず、図11または図17のデコーダ10
1内部の各ブロックが初期化され、図示しないラインカ
ウンタLINCNTがゼロクリアされる(ステップST
1401)。次に、マイクロコンピュータ112(図1
1)またはヘッダ切分部113(図17)は、図18の
ステップST1201で送出されたヘッダ読取終了ステ
ータスを受け取る(ステップST1402)。
First, the decoder 10 shown in FIG. 11 or FIG.
Each block inside 1 is initialized, and a line counter LINCNT (not shown) is cleared to zero (step ST
1401). Next, the microcomputer 112 (see FIG.
1) or the header dividing section 113 (FIG. 17) receives the header read end status transmitted in step ST1201 of FIG. 18 (step ST1402).

【0236】ラインカウンタLINCNTの内容(初め
はゼロ)は、マイクロコンピュータ112(図11)ま
たはヘッダ切分部113(図17)に転送される(ステ
ップST1403)。マイクロコンピュータ112また
はヘッダ切分部113は、受け取ったステータスが1フ
レーム(1画面)の終了ステータス(ステップST12
06)であるかどうかチェックする(ステップST14
04)。
The contents of the line counter LINCNT (initially zero) are transferred to the microcomputer 112 (FIG. 11) or the header dividing section 113 (FIG. 17) (step ST1403). The microcomputer 112 or the header dividing section 113 receives the end status of one frame (one screen) (step ST12).
06) is checked (step ST14)
04).

【0237】受け取ったステータスが1フレームの終了
ステータスでなければ(ステップST1405ノー)、
この終了ステータスが来るまで待機する。受け取ったス
テータスが1フレームの終了ステータスであれば(ステ
ップST1405イエス)、ラインカウンタLINCN
Tが1つインクリメントされる(ステップST140
6)。
If the received status is not the end status of one frame (NO in step ST1405),
Wait until this end status comes. If the received status is the end status of one frame (YES in step ST1405), the line counter LINCN
T is incremented by 1 (step ST140
6).

【0238】インクリメントされたラインカウンタLI
NCNTの内容がラインの終わりに達していなければ
(ステップST1407ノー)、図15〜図16のデコ
ード処理、あるいは図18〜図19のデコード処理が再
開され(ステップST1408)、ステップST140
3に戻る。このデコードの反復ループ(ステップST1
403〜ステップST1408)が反復されることによ
り、ランレングス圧縮された副映像がデコードされなが
らスクロールされるようになる。
Incremented line counter LI
If the content of NCNT has not reached the end of the line (NO in step ST1407), the decoding process of FIGS. 15 to 16 or the decoding process of FIGS. 18 to 19 is restarted (step ST1408), and step ST140.
Return to 3. This decoding iteration loop (step ST1
By repeating steps 403 to ST1408, the run-length compressed sub-picture is scrolled while being decoded.

【0239】一方、インクリメントされたラインカウン
タLINCNTの内容がラインの終わりに達していると
きは(ステップST1407イエス)、スクロールを伴
う副映像データのデコード処理は終了する。
On the other hand, when the content of the incremented line counter LINCNT reaches the end of the line (YES in step ST1407), the decoding process of the sub-picture data accompanied by scrolling ends.

【0240】図22は、この発明に基づくエンコード
(図3のSPUH+PXD+DCSQTのエンコード)
およびデコード(SPUH+PXD+DCSQTのデコ
ード)が実行される光ディスク記録再生装置の概要を説
明するブロック図である。
FIG. 22 is an encoding based on the present invention (encoding of SPUH + PXD + DCSQT of FIG. 3).
FIG. 3 is a block diagram illustrating an outline of an optical disc recording / reproducing apparatus in which a decoding process (SPUH + PXD + DCSQT decoding) is performed.

【0241】図22において、光ディスクプレーヤ30
0は、基本的には従来の光ディスク再生装置(コンパク
トディスクプレーヤあるいはレーザディスクプレーヤ)
と同様な構成を持つ。ただし、この光ディスクプレーヤ
300は、挿入された光ディスクOD(この発明に基づ
きランレングス圧縮された副映像データを含む画像情報
が記録されたもの)から、ランレングス圧縮された画像
情報をデコードする前のデジタル信号(エンコードされ
たままのデジタル信号)を出力できるようになってい
る。このエンコードされたままのデジタル信号は圧縮さ
れているので、必要な伝送帯域幅は非圧縮データを伝送
する場合に比べて少なくて良い。
In FIG. 22, the optical disk player 30
0 is basically a conventional optical disk reproducing device (compact disk player or laser disk player)
It has the same structure as. However, the optical disc player 300 before decoding the run-length-compressed image information from the inserted optical disc OD (the image information containing the run-length-compressed sub-picture data according to the present invention is recorded). It can output digital signals (digital signals that have been encoded). Since the encoded digital signal is compressed, the required transmission bandwidth may be smaller than that in the case of transmitting uncompressed data.

【0242】光ディスクプレーヤ300からの圧縮デジ
タル信号は変調器/送信器210を介してオンエアさ
れ、または通信ケーブルに送出される。
The compressed digital signal from the optical disk player 300 is sent on air via the modulator / transmitter 210 or sent to the communication cable.

【0243】オンエアされた圧縮デジタル信号、あるい
はケーブル送信された圧縮デジタル信号は、受信者ある
いはケーブル加入者の受信器/復調器400により、受
信される。この受信器400は、たとえば図11あるい
は図17に示すような構成のデコーダ101を備えてい
る。受信器400のデコーダ101は、受信し復調した
圧縮デジタル信号をデコードして、エンコードされる前
の原副映像データを含む画像情報を出力する。
The compressed digital signal which is on-air or the compressed digital signal which is transmitted by the cable is received by the receiver / demodulator 400 of the receiver or the cable subscriber. The receiver 400 includes a decoder 101 having a structure as shown in FIG. 11 or 17, for example. The decoder 101 of the receiver 400 decodes the compressed digital signal received and demodulated, and outputs the image information including the original sub-picture data before being encoded.

【0244】図22の構成において、送受信の伝送系が
およそ5Mビット/秒以上の平均ビットレートを持つも
のであれば、高品位なマルチメディア映像・音声情報の
放送ができる。
In the configuration of FIG. 22, if the transmission / reception transmission system has an average bit rate of about 5 Mbit / sec or more, high quality multimedia video / audio information can be broadcast.

【0245】図23は、この発明に基づきエンコードさ
れた画像情報が、通信ネットワーク(インターネットな
ど)を介して、任意の2コンピュータユーザ間で送受さ
れる場合を説明するブロック図である。
FIG. 23 is a block diagram for explaining a case where image information encoded according to the present invention is transmitted and received between arbitrary two computer users via a communication network (Internet or the like).

【0246】図示しないホストコンピュータで管理する
自己情報#1を持つユーザ#1はパーソナルコンピュー
タ5001を所有しており、このパーソナルコンピュー
タ5001には、種々な入出力機器5011および種々
な外部記憶装置5021が接続されている。また、この
パーソナルコンピュータ5001の内部スロット(図示
せず)には、この発明に基づくエンコーダおよびデコー
ダが組み込まれ、通信に必要な機能を持つモデムカード
5031が装着されている。
A user # 1 having self-information # 1 managed by a host computer (not shown) owns a personal computer 5001, and this personal computer 5001 includes various input / output devices 5011 and various external storage devices 5021. It is connected. An encoder and a decoder according to the present invention are incorporated in an internal slot (not shown) of the personal computer 5001 and a modem card 5031 having a function necessary for communication is attached.

【0247】同様に、別の自己情報#Nを持つユーザ#
Nはパーソナルコンピュータ500Nを所有しており、
このパーソナルコンピュータ500Nには、種々な入出
力機器501Nおよび種々な外部記憶装置502Nが接
続されている。また、このパーソナルコンピュータ50
0Nの内部スロット(図示せず)には、この発明に基づ
くエンコーダおよびデコーダが組み込まれ、通信に必要
な機能を持つモデムカード503Nが装着されている。
Similarly, a user # having another self-information #N
N owns a personal computer 500N,
Various input / output devices 501N and various external storage devices 502N are connected to the personal computer 500N. In addition, this personal computer 50
An encoder and a decoder according to the present invention are incorporated in an internal slot (not shown) of 0N, and a modem card 503N having a function necessary for communication is attached.

【0248】いま、あるユーザ#1がコンピュータ50
01を操作し、インターネットなどの回線600を介し
て別のユーザ#Nのコンピュータ500Nと通信を行な
う場合を想定してみる。この場合、ユーザ#1およびユ
ーザ#Nは双方ともエンコーダおよびデコーダが組み込
まれたモデムカード5031および503Nを持ってい
るので、この発明により効率よく圧縮された画像データ
を短時間で交換できる。
Now, a user # 1 is a computer 50.
It is assumed that the user operates 01 to communicate with the computer 500N of another user #N via the line 600 such as the Internet. In this case, both the user # 1 and the user #N have the modem cards 5031 and 503N in which the encoder and the decoder are incorporated, so that the image data compressed efficiently by the present invention can be exchanged in a short time.

【0249】図24は、この発明に基づきエンコードさ
れた画像情報(図3のSPUH+PXD+DCSQT)
を光ディスクODに記録し、記録された情報(SPUH
+PXD+DCSQT)をこの発明に基づきデコードす
る記録再生装置の概要を示している。
FIG. 24 shows image information encoded according to the present invention (SPUH + PXD + DCSQT in FIG. 3).
Recorded on the optical disc OD and recorded information (SPUH
2 shows an outline of a recording / reproducing apparatus for decoding + PXD + DCSQT) based on the present invention.

【0250】図24のエンコーダ200は、図10のエ
ンコーダ200と同様なエンコード処理(図13〜図1
4に対応する処理)を、ソフトウエアあるいはハードウ
エア(ファームウエアあるいはワイアードロジック回路
を含む)で実行するように構成されている。
The encoder 200 of FIG. 24 performs the same encoding process as that of the encoder 200 of FIG. 10 (see FIGS.
4) is executed by software or hardware (including firmware or wired logic circuit).

【0251】エンコーダ200でエンコードされた副映
像データその他を含む記録信号は、変調器/レーザドラ
イバ702において、たとえば(2、7)RLL変調さ
れる。変調された記録信号は、レーザドライバ702か
ら光ヘッド704の高出力レーザダイオードに送られ
る。この光ヘッド704からの記録用レーザにより、記
録信号に対応したパターンが、光磁気記録ディスクまた
は相変化光ディスクODに、書き込まれる。
A recording signal including sub-picture data encoded by the encoder 200 and the like is, for example, (2,7) RLL modulated in the modulator / laser driver 702. The modulated recording signal is sent from the laser driver 702 to the high power laser diode of the optical head 704. A pattern corresponding to the recording signal is written on the magneto-optical recording disk or the phase change optical disk OD by the recording laser from the optical head 704.

【0252】ディスクODに書き込まれた情報は、光ヘ
ッド706のレーザピックアップにより読み取られ、復
調器/エラー訂正部708において復調され、かつ必要
に応じてエラー訂正処理を受ける。復調されエラー訂正
された信号は、音声/映像用データ処理部710におい
て種々なデータ処理を受けて、記録前の情報が再生され
る。
The information written on the disc OD is read by the laser pickup of the optical head 706, demodulated by the demodulator / error correction unit 708, and subjected to error correction processing as necessary. The demodulated and error-corrected signal is subjected to various data processing in the audio / video data processing unit 710 to reproduce the information before recording.

【0253】このデータ処理部710は、図11のデコ
ーダ101に対応するデコード処理部を含んでいる。こ
のデコード処理部により、図15〜図16に対応するデ
コード処理(圧縮された副映像データの伸張)が実行さ
れる。
The data processing section 710 includes a decoding processing section corresponding to the decoder 101 shown in FIG. This decoding processing unit executes decoding processing (expansion of compressed sub-picture data) corresponding to FIGS. 15 to 16.

【0254】図25は、この発明に基づくエンコーダが
その周辺回路とともにIC化された状態を例示してい
る。
FIG. 25 exemplifies a state in which the encoder according to the present invention is integrated into an IC together with its peripheral circuits.

【0255】図26は、この発明に基づくデコーダがそ
の周辺回路とともにIC化された状態を例示している。
FIG. 26 exemplifies a state in which the decoder according to the present invention is integrated into an IC together with its peripheral circuits.

【0256】図27は、この発明に基づくエンコーダお
よびデコーダがその周辺回路とともにIC化された状態
を例示している。
FIG. 27 exemplifies a state in which the encoder and the decoder according to the present invention are integrated into an IC together with their peripheral circuits.

【0257】つまり、この発明に基づくエンコーダまた
はデコーダは、必要な周辺回路とともにIC化でき、こ
のICは種々な機器に組み込まれてこの発明を実施する
ことができるようになる。
That is, the encoder or decoder based on the present invention can be integrated into an IC together with necessary peripheral circuits, and this IC can be incorporated into various devices to implement the present invention.

【0258】なお、図9に例示したような圧縮後のデー
タ(PXD)のビット列が乗るデータラインは、通常は
TV表示画面の水平走査線の1本分の画像情報を含むよ
うに構成される。しかし、このデータラインは、TV画
面の水平走査線の複数本分の画像情報を含むように構成
すること、あるいはTV画面の1画面分の水平走査線全
て(つまり1フレーム分)の画像情報を含むように構成
することもできる。
The data line on which the bit string of the compressed data (PXD) as shown in FIG. 9 is normally arranged is configured to include the image information for one horizontal scanning line of the TV display screen. . However, this data line may be configured to include image information of a plurality of horizontal scanning lines of the TV screen, or image information of all horizontal scanning lines of one screen of the TV screen (that is, one frame). It can also be configured to include.

【0259】この発明の圧縮規則に基づくデータエンコ
ードの対象は、明細書説明で用いた副映像データ(3〜
4色の色情報)に限定されない。副映像データを構成す
る画素データ部分を多ビット化し、ここに種々な情報を
詰め込んでもよい。たとえば、画素データを画素1ドッ
トあたり8ビット構成とすると、副映像だけで256色
のカラー映像を(主映像の他に)伝送できる。
The subject of data encoding based on the compression rule of the present invention is the sub-picture data (3 to
It is not limited to the four color information). The pixel data portion forming the sub-picture data may be multi-bited and various information may be packed therein. For example, if the pixel data is composed of 8 bits per pixel, a color image of 256 colors (in addition to the main image) can be transmitted only by the sub-image.

【0260】ここで、図2または図3に示される副映像
データは、図52に示すように複数チャネルで構成され
ている。副映像データブロックは、これら複数チャネル
の中から任意に選択されたチャネルの、複数副映像デー
タパケットで構成される。ここでの副映像は、文字ある
いは図形などの情報を持ち、ビデオデータやオーディオ
データと同時に再生処理されて、ビデオデータの再生画
面上にスーパーインポーズ表示される。
The sub-picture data shown in FIG. 2 or 3 is composed of a plurality of channels as shown in FIG. The sub-picture data block is composed of a plurality of sub-picture data packets of a channel arbitrarily selected from these plural channels. The sub-picture here has information such as characters or figures, is reproduced at the same time as the video data and audio data, and is superimposed and displayed on the reproduction screen of the video data.

【0261】図29は、副映像パケットのデータ構造を
示す。図29に示すように、副映像のパケットデータ
は、パケットヘッダ3と、副映像ヘッダ31と、副映像
データ32と、表示制御シーケンステーブル33とで構
成されている。
FIG. 29 shows the data structure of the sub-picture packet. As shown in FIG. 29, the sub-picture packet data includes a packet header 3, a sub-picture header 31, sub-picture data 32, and a display control sequence table 33.

【0262】パケットヘッダ3には、再生システムがそ
の副映像データブロックの表示制御を開始すべき時刻が
プレゼンテーションタイムスタンプ(PTS;Presenta
tionTime Stamp)として記録されている。ただし、この
PTSは、図28に示すように、各副映像データブロッ
ク(Y,W)内の先頭の副映像データパケットのヘッダ
3にだけ記録されるようになっている。
In the packet header 3, the time when the playback system should start the display control of the sub video data block is the presentation time stamp (PTS; Presenter).
tionTime Stamp). However, as shown in FIG. 28, this PTS is recorded only in the header 3 of the head sub-picture data packet in each sub-picture data block (Y, W).

【0263】図30は、1以上の副映像パケットで構成
される副映像ユニット(図3の30参照)の直列配列状
態(n、n+1)と、そのうちの1ユニット(n+1)
のパケットヘッダに記述されたタイムスタンプPTS
と、このPTSに対応したユニット(n+1)の表示制
御の状態(それ以前の副映像の表示クリアと、これから
表示する副映像の表示制御シーケンスの指定)とを、例
示している。
FIG. 30 shows a serial arrangement state (n, n + 1) of sub-picture units (see 30 in FIG. 3) formed of one or more sub-picture packets, and one unit (n + 1) of them.
Time stamp PTS described in the packet header of
And the state of display control of the unit (n + 1) corresponding to this PTS (clearing the display of the previous sub-picture and designating the display control sequence of the sub-picture to be displayed from now on).

【0264】副映像ヘッダ31には、副映像データパケ
ットのサイズ(2バイトのSPCSZ)と、パケット内
の表示制御シーケンステーブル33の記録開始位置(2
バイトのSPDCSQTA)とが記録されている。
The sub-picture header 31 contains the size of the sub-picture data packet (SPCSZ of 2 bytes) and the recording start position (2) of the display control sequence table 33 in the packet.
Byte SPDCSQTA) is recorded.

【0265】表示制御シーケンステーブル33には、映
像データの表示開始時刻/表示終了時刻を示す副映像表
示制御タイムスタンプ(SPDCTS;Sub-Picture Di
splay Control Time Stamp)と、表示すべき副映像デー
タ(PXD)32の記録位置(SPNDCSQA;Sub-
Picture Next Display Control Sequence Address)
と、副映像データの表示制御コマンド(COMMAN
D)とを1グループとする表示制御シーケンス情報(D
CSQT;Display Control Sequence Table)が、1以
上記録される。
In the display control sequence table 33, a sub-picture display control time stamp (SPDCTS; Sub-Picture Digest) indicating the display start time / display end time of the video data.
splay Control Time Stamp) and the recording position (SPNDCSQA; Sub-) of the sub-picture data (PXD) 32 to be displayed.
Picture Next Display Control Sequence Address)
And a sub-picture data display control command (COMMAN
D) and display control sequence information (D
One or more CSQTs (Display Control Sequence Tables) are recorded.

【0266】ここで、パケットヘッダ3内のタイムスタ
ンプPTSは、たとえばファイル(図2)先頭の再生開
始時刻のような、ファイル全体の再生を通じて基準とな
る時刻(SCR;System Clock Reference)からの相対
時間で規定されている。一方、表示制御シーケンステー
ブル33内の各タイムスタンプSPDCTSは、上記P
TSからの相対時間で規定される。
Here, the time stamp PTS in the packet header 3 is relative to the reference time (SCR; System Clock Reference) during reproduction of the entire file, such as the reproduction start time at the beginning of the file (FIG. 2). It is regulated by time. On the other hand, each time stamp SPDCTS in the display control sequence table 33 is
It is defined by the relative time from TS.

【0267】次に、再生システムにおける副映像データ
パケットのタイムスタンプPTS処理について説明す
る。ここでは、再生システム内の副映像プロセサ(たと
えば図11のMPU112およびその周辺回路)におい
て、このPTS処理が実行されるものとする。
Next, the time stamp PTS processing of the sub-picture data packet in the reproduction system will be described. Here, it is assumed that this PTS processing is executed in the sub-picture processor (for example, MPU 112 in FIG. 11 and its peripheral circuits) in the reproduction system.

【0268】図52は、副映像データをデコードする場
合において、副映像データブロックのバッファリング状
態が、タイムスタンプPTSのある副映像チャネルによ
ってどのように変化するかを説明するための図である。
FIG. 52 is a diagram for explaining how the buffering state of the sub-picture data block changes depending on the sub-picture channel having the time stamp PTS when sub-picture data is decoded.

【0269】(1)副映像プロセサ(図11、図17そ
の他)は、外部(光ディスクあるいは放送局など)から
送られてくる副映像データパケットの中から、予め選択
されたチャネルの副映像データパケットをデコードし、
そのパケット内にPTSがあるかどうかを調べる。
(1) The sub-picture processor (FIG. 11, FIG. 17, etc.) is a sub-picture data packet of a channel selected in advance from sub-picture data packets sent from the outside (optical disk, broadcasting station, etc.). Decode
Check if there is a PTS in the packet.

【0270】たとえば図52のチャネル*4fに示すよ
うにPTSが存在する場合は、そのPTSがパケットヘ
ッダ3から切り離される。その後、たとえば図28に示
すように副映像データの頭にPTSが付けられ、PTS
ヘッダ付きの副映像データが副映像バッファ(たとえば
図11のバッファ121)にバッファリング(格納)さ
れる。
For example, when a PTS exists as shown in channel * 4f in FIG. 52, the PTS is separated from the packet header 3. After that, for example, as shown in FIG. 28, PTS is added to the head of the sub-picture data.
The sub-picture data with the header is buffered (stored) in the sub-picture buffer (for example, the buffer 121 in FIG. 11).

【0271】なお、図52のグラフは、PTS付きチャ
ネル*4fの副映像データパケットがバッファリングさ
れるにつれて、副映像バッファ121へのバッファリン
グ量が累積して行く様子を例示している。
The graph of FIG. 52 exemplifies how the buffering amount in the sub-picture buffer 121 is accumulated as the sub-picture data packets of the PTS-added channel * 4f are buffered.

【0272】(2)システムリセット後、副映像プロセ
サは、PTSを含んだ最初のパケットを受け取った直後
の垂直ブランキング期間中(ある表示画面フレーム/フ
ィールドから次の表示画面フレーム/フィールドへの切
り換わり期間中)にこのPTSを取り込み、取り込んだ
PTSを基準タイムカウンタSTCのカウント値と比較
する。この基準タイムカウンタSTCは、たとえばファ
イル先頭の再生開始時刻などファイル全体の再生を通じ
て基準となる時刻SCRからの経過時間を計る、副映像
プロセサ内のカウンタ(例えば図11のタイマ120の
一部)で構成される。
(2) After the system reset, the sub-picture processor is in the vertical blanking period immediately after receiving the first packet including the PTS (switching from one display screen frame / field to the next display screen frame / field). During the replacement period), the PTS is fetched and the fetched PTS is compared with the count value of the reference time counter STC. The reference time counter STC is a counter (for example, a part of the timer 120 in FIG. 11) in the sub-picture processor that measures the elapsed time from the reference time SCR during the reproduction of the entire file, such as the reproduction start time at the beginning of the file. Composed.

【0273】(3)上記PTSとSTCとの比較の結
果、STCがPTSより大きい場合には、その副映像デ
ータは直ちに表示処理される。一方、STCがPTSよ
り小さい場合には何の処理も行われない。この比較は、
次の垂直ブランキング期間中に、再度実行される。
(3) As a result of the comparison between PTS and STC, if STC is larger than PTS, the sub-picture data is immediately displayed. On the other hand, if STC is smaller than PTS, no processing is performed. This comparison is
It is executed again during the next vertical blanking period.

【0274】(4)副映像データの処理に入ると、同じ
垂直ブランキング期間中に、その副映像データパケット
内の表示制御シーケンステーブル33に記録されている
最初の副映像表示制御タイムスタンプSPDCTSが、
副映像プロセサ内のサブ基準タイムカウンタ(サブST
C)のカウント値と比較される。このサブSTCは、副
映像データブロックの再生開始時刻からの経過時間を計
る、副映像プロセサ内のサブ基準タイムカウンタ(例え
ば図11のタイマ120の他部)で構成される。したが
って、このサブSTCは、次の(後続の)副映像データ
ブロックに表示が切り替わる度に、全ビットが”0”に
クリアされ、その後再びインクリメント(タイムカウン
ト)を開始する。
(4) When the processing of the sub-picture data is started, the first sub-picture display control time stamp SPDCTS recorded in the display control sequence table 33 in the sub-picture data packet in the same vertical blanking period is set. ,
Sub-reference time counter (sub-ST) in sub-picture processor
It is compared with the count value of C). The sub-STC is composed of a sub-reference time counter (for example, the other part of the timer 120 in FIG. 11) in the sub-picture processor that measures the elapsed time from the reproduction start time of the sub-picture data block. Therefore, in this sub-STC, all the bits are cleared to "0" every time the display is switched to the next (subsequent) sub-picture data block, and then the increment (time count) is started again.

【0275】(5)サブSTCと副映像表示制御タイム
スタンプSPDCTSとの比較の結果、サブSTCがS
PDCTSよりも大きい場合は、表示制御シーケンステ
ーブル33の先頭の表示制御シーケンスの制御データ
(DCSQT;たとえば図29のDCSQT0)が直ち
に実行され、副映像の表示処理が開始される。
(5) As a result of the comparison between the sub-STC and the sub-picture display control time stamp SPDCTS, the sub-STC is S
If it is larger than PDCTS, the control data (DCSQT; for example, DCSQT0 in FIG. 29) of the top display control sequence of the display control sequence table 33 is immediately executed, and the sub-picture display process is started.

【0276】(6)一旦表示処理が開始されると、垂直
ブランキング期間毎に、現在表示している副映像データ
ブロックの次の副映像データブロックの先頭パケットに
付加されているPTSが読み込まれ、この読み込まれた
PTSと基準タイムカウンタSTCのカウント値とが比
較される。
(6) Once the display process is started, the PTS added to the head packet of the sub-picture data block next to the sub-picture data block currently displayed is read in every vertical blanking period. The read PTS is compared with the count value of the reference time counter STC.

【0277】この比較の結果、STCがPTSよりも大
きければ、図29のチャネルポインタが次の副映像デー
タブロックのPTSのアドレス値に設定され、処理すべ
き副映像データブロックが次のものに切り替えられる。
たとえば、図28を例にとると、上記チャネルポインタ
の設定変更により、副映像データブロックYから次の副
映像データブロックWに切り替わる。この時点で、副映
像データブロックYのデータはもう必要ないので、副映
像バッファ(たとえば図11ではメモリ108)にはデ
ータブロックYの大きさの空き領域が生じる。このた
め、新たに副映像データパケットをこの空き領域に転送
することができる。
If STC is larger than PTS as a result of this comparison, the channel pointer of FIG. 29 is set to the address value of the PTS of the next sub-picture data block, and the sub-picture data block to be processed is switched to the next one. To be
For example, taking FIG. 28 as an example, the sub-picture data block Y is switched to the next sub-picture data block W by changing the setting of the channel pointer. At this point, the data of the sub-picture data block Y is no longer needed, so that an empty area having the size of the data block Y is created in the sub-picture buffer (for example, memory 108 in FIG. 11). Therefore, the sub-picture data packet can be newly transferred to this empty area.

【0278】これによって、副映像データブロック(た
とえば図28のブロックW)のサイズおよびその切り換
わり時刻(ブロックYからブロックWへの切り換わり時
刻)から、副映像データパケットのバッファリング状態
(図52参照)を、(ブロックWの)副映像データのエ
ンコード時点で、事前に一意的に規定することができる
ようになる。したがって、映像・音声・副映像のパケッ
トをシリアル転送したときに、それぞれのデコーダ部の
バッファ(副映像デコーダの場合は図11その他のメモ
リ108)においてオーバーフローあるいはアンダーフ
ローが生じないようなビットストリームの生成が可能に
なる。
Thus, from the size of the sub-picture data block (for example, block W in FIG. 28) and its switching time (the switching time from block Y to block W), the buffering state of the sub-picture data packet (FIG. 52). (Reference) can be uniquely defined in advance at the time of encoding the sub-picture data (of the block W). Therefore, when video / audio / sub-picture packets are serially transferred, bitstreams of bitstreams that do not cause overflow or underflow in the buffers of the respective decoder units (in the case of the sub-picture decoder, the other memory 108 in FIG. 11) Can be generated.

【0279】また、上記PTSとSTCとの比較の結
果、STCがPTSよりも大きくない場合は副映像デー
タブロックの切り替えは行われず、表示制御シーケンス
テーブルポインタ(図29のDCSQTポインタ)が次
の表示制御シーケンステーブルDCSQTのアドレス値
に設定される。そして、現在の副映像データパケット内
の次のDCSQTの副映像表示制御タイムスタンプSP
DCTSとサブSTCとが比較される。この比較結果を
基に、次のDCSQTを実行するかどうかが判定され
る。この動作については、後に詳述する。
As a result of the comparison between PTS and STC, if STC is not larger than PTS, the sub-picture data block is not switched and the display control sequence table pointer (DCSQT pointer in FIG. 29) indicates the next display. It is set to the address value of the control sequence table DCSQT. Then, the sub-picture display control time stamp SP of the next DCSQT in the current sub-picture data packet
DCTS and sub-STC are compared. Based on the comparison result, it is determined whether to execute the next DCSQT. This operation will be described later in detail.

【0280】なお、副映像データパケット内の最後のD
CSQTは、次の表示制御シーケンステーブルDCSQ
Tとして自分自身を指し示しているので、前記(5)の
DCSQT処理は基本的には変わらない。
[0280] Note that the last D in the sub-picture data packet
CSQT is the next display control sequence table DCSQ.
Since it points itself to T, the DCSQT process of (5) above is basically unchanged.

【0281】(7)通常再生では、前記(4)、
(5)、(6)の処理が繰り返される。
(7) In normal reproduction, the above (4),
The processes of (5) and (6) are repeated.

【0282】なお、前記(6)の処理において、次の副
映像データブロックのPTSを読み込む際にそのPTS
を指し示すチャネルポインタ(図29参照)の値は、現
在の副映像データブロック内のパケットサイズ(SPC
SZ)を用いることで、求めるられる。
In the process (6), when the PTS of the next sub-picture data block is read, the PTS of that PTS is read.
The value of the channel pointer (see FIG. 29) that indicates the packet size in the current sub-picture data block (SPC
SZ) is used.

【0283】同様に、表示制御シーケンステーブル33
内で次のDCSQTの副映像表示制御タイムスタンプS
PDCTSを指し示すDCSQTポインタの値は、この
テーブル33内に記述されているDCSQTのサイズ情
報(次の副映像表示制御シーケンスのアドレスSPND
CSQTA)を用いて求められる。
Similarly, the display control sequence table 33
Sub-picture display control time stamp S of the next DCSQT in the
The value of the DCSQT pointer indicating the PDCTS is the size information of the DCSQT described in the table 33 (address SPND of the next sub-picture display control sequence).
CSQTA).

【0284】次に、副映像ヘッダ31、副映像データ3
2、および表示制御シーケンステーブル33それぞれの
詳細について説明する。
Next, sub-picture header 31, sub-picture data 3
2 and the display control sequence table 33 will be described in detail.

【0285】図31は、副映像ユニットヘッダ(SPU
H)31の構造を示す。副映像ユニットヘッダSPUH
は、副映像データパケットのサイズ(SPDSZ)およ
びパケット内の表示制御シーケンステーブル33の記録
開始位置情報(副映像の表示制御シーケンステーブル開
始アドレスSPDCSQTA;DCSQの相対アドレス
ポインタ)を含んでいる。
FIG. 31 shows the sub-picture unit header (SPU
H) 31 shows the structure. Sub-picture unit header SPUH
Includes the size (SPDSZ) of the sub-picture data packet and recording start position information of the display control sequence table 33 in the packet (sub-picture display control sequence table start address SPDCSQTA; relative address pointer of DCSQ).

【0286】なお、アドレスSPDCSQTAで指し示
される副映像表示制御シーケンステーブルSPDCSQ
Tの内容は、図32に示すように、複数の表示制御シー
ケンスDCSQ1〜DCSQnで構成されている。
The sub-picture display control sequence table SPDCSQ indicated by the address SPDCSQTA.
As shown in FIG. 32, the content of T is composed of a plurality of display control sequences DCSQ1 to DCSQn.

【0287】また、各表示制御シーケンスDCSQ(1
〜n)は、図33に示すように、副映像の表示制御開始
時間を示す副映像表示制御タイムスタンプSPDCTS
と、次の表示制御シーケンスの位置を示すアドレスSP
NDCSQAと、1以上の副映像表示制御コマンドSP
DCCMDとを含んでいる。
In addition, each display control sequence DCSQ (1
~ N) are sub-picture display control time stamps SPDCTS indicating the sub-picture display control start time, as shown in FIG.
And the address SP indicating the position of the next display control sequence
NDCSQA and one or more sub-picture display control commands SP
It includes DCCMD.

【0288】副映像データ32は、個々の副映像データ
パケットと1対1で対応するデータ領域(PXDエリ
ア)の集まりで構成されている。
The sub-picture data 32 is composed of a collection of data areas (PXD areas) that correspond to the individual sub-picture data packets on a one-to-one basis.

【0289】ここで、副映像データブロックが切り替わ
るまでは、同じデータ領域中の任意のアドレスの副映像
画素データPXDを読み出せるるようになっている。こ
れにより、1つの副映像表示イメージに固定されない、
任意の副映像表示(たとえば副映像のスクロール表示)
が可能となる。この任意のアドレスは、副映像データ
(画素データPXD)の表示開始アドレスを設定するコ
マンド(図34のコマンドテーブル中のSETDSPX
A)により設定される。
Until the sub-picture data block is switched, the sub-picture pixel data PXD at an arbitrary address in the same data area can be read. By this, it is not fixed to one sub-picture display image,
Arbitrary sub-picture display (for example, sub-picture scroll display)
Becomes possible. This arbitrary address is a command for setting the display start address of the sub-picture data (pixel data PXD) (SETDSPX in the command table of FIG. 34).
It is set by A).

【0290】図43は、図34に例示されたコマンドセ
ットのうち、副映像画素データの表示開始アドレスをセ
ットするコマンドSETDSPXAのビット構成を示
す。以下、このコマンドの構成の意義について説明す
る。
FIG. 43 shows the bit configuration of the command SETDSPXA for setting the display start address of the sub-picture pixel data in the command set shown in FIG. The significance of the structure of this command will be described below.

【0291】副映像データ32に含まれる副映像ライン
のラインデータサイズが異なる場合、直前のラインデー
タをデコードした後でしか次のラインの先頭アドレスを
判別することはできない。したがって、従来のようにラ
イン番号順に画像データが並べられていると、インター
レースモード時に1ライン分スキップしながら副映像画
素データ(PXD)をバッファ(メモリ108)から読
み出すことが、非常に困難になる。
When the line data sizes of the sub-picture lines included in the sub-picture data 32 are different, the start address of the next line can be discriminated only after decoding the immediately preceding line data. Therefore, if the image data is arranged in the order of the line numbers as in the conventional case, it becomes very difficult to read the sub-picture pixel data (PXD) from the buffer (memory 108) while skipping one line in the interlace mode. .

【0292】そこで、図58に示すように、個々の副映
像データパケットに対応するデータ領域毎に、副映像デ
ータ32をトップフィールド用領域61とボトムフィー
ルド用領域62とに分けて記録するようにしている。そ
して、インターレースモード時はトップフィールドおよ
びボトムフィールドの2つの先頭アドレスを設定できる
ようにするために、コマンドSETDSPXAに、トッ
プフィールド用開始アドレス領域63とボトムフィール
ド用開始アドレス領域64とを設けている。
Therefore, as shown in FIG. 58, the sub-picture data 32 is recorded separately in the top field area 61 and the bottom field area 62 for each data area corresponding to each sub-picture data packet. ing. In the interlaced mode, a top field start address area 63 and a bottom field start address area 64 are provided in the command SETDSPXA so that the two top addresses of the top field and the bottom field can be set.

【0293】なお、ノンインターレースモードの場合
は、1フィールド分の副映像データだけを記録してお
き、トップフィールド用開始アドレス領域63およびボ
トムフィールド用開始アドレス領域64の2領域に同じ
アドレスを記録しておけばよい。
In the non-interlaced mode, only one field of sub-picture data is recorded, and the same address is recorded in two areas, the top field start address area 63 and the bottom field start address area 64. You can leave it.

【0294】図59は、表示制御シーケンステーブル3
3の具体例を示す。前述したように、表示制御シーケン
ステーブル33内の1つの表示制御シーケンス情報(D
CSQT)には、副映像表示制御タイムスタンプ(SP
DCTS)および副映像データ記録位置(SPNDCS
QA)の後に、複数の表示制御コマンド(COMMAN
D3、COMMAND4など)とそのコマンドにより設
定される各種パラメータデータが配置されている。そし
て、表示制御の終了を示す終了コマンド(エンドコー
ド)が最後に付加されている。
FIG. 59 shows the display control sequence table 3
3 shows a specific example. As described above, one display control sequence information (D
The sub-picture display control time stamp (SP
DCTS) and sub video data recording position (SPNDCS
QA) followed by multiple display control commands (COMMAN
(D3, COMMAND4, etc.) and various parameter data set by the command are arranged. An end command (end code) indicating the end of display control is added at the end.

【0295】次に、表示制御シーケンステーブル33の
処理手順を説明する。
Next, the processing procedure of the display control sequence table 33 will be described.

【0296】(1)まず、表示制御シーケンステーブル
33の最初のDCSQT(図29ではDCSQT0)に
記録されているタイムスタンプ(SPDCTS)が、副
映像プロセサのサブSTC(たとえば図11のタイマ1
20の一機能)と比較される。
(1) First, the time stamp (SPDCTS) recorded in the first DCSQT (DCSQT0 in FIG. 29) of the display control sequence table 33 is the sub-STC of the sub-picture processor (for example, timer 1 in FIG. 11).
20 functions).

【0297】(2)比較の結果、サブSTCがタイムス
タンプSPDCTSよりも大きい場合には、表示制御シ
ーケンステーブル33内の全ての表示制御コマンドCO
MMANDが、表示制御終了コマンドCMDEND(図
34)が現れるまで実行される。
(2) As a result of the comparison, if the sub-STC is larger than the time stamp SPDCTS, all the display control commands CO in the display control sequence table 33.
MMAND is executed until the display control end command CMDEND (FIG. 34) appears.

【0298】(3)表示制御が開始されたあとは、一定
時間毎(たとえば垂直ブランキング期間毎)に、次の表
示制御シーケンステーブルDCSQTに記録されている
副映像表示制御タイムスタンプSPDCTSとサブST
Cとを比較することにより、次のDCSQTに更新する
か(つまり図29のDCSQTポインタを次のDCSQ
Tに移すか)どうかが、判定される。
(3) After the display control is started, the sub-picture display control time stamp SPDCTS and the sub-ST recorded in the next display control sequence table DCSQT are set at regular intervals (for example, every vertical blanking period).
Whether to update to the next DCSQT by comparing with C (that is, to change the DCSQT pointer in FIG. 29 to the next DCSQT).
Whether to move to T) is determined.

【0299】ここで、表示制御シーケンステーブル33
内のタイムスタンプSPDCTSは、PTSが更新され
てから(つまり副映像データブロックが更新されてか
ら)の相対時間で記録されているので、副映像データパ
ケットのPTSが変わってもSPDCTSを書き替える
必要はない。したがって、同じ副映像データ32を複数
の異なる時刻で表示する場合でも全く同じ表示制御シー
ケンステーブルDCSQTを用いることができる。すな
わち、表示制御シーケンステーブルDCSQTをリロケ
ータブルとすることができる。
Here, the display control sequence table 33
Since the time stamp SPDCTS in is recorded at the relative time after the PTS is updated (that is, after the sub-picture data block is updated), it is necessary to rewrite SPDCTS even if the PTS of the sub-picture data packet changes. There is no. Therefore, the same display control sequence table DCSQT can be used even when the same sub-picture data 32 is displayed at a plurality of different times. That is, the display control sequence table DCSQT can be made relocatable.

【0300】次に、副映像の表示制御コマンドの詳細に
ついて説明する。図34は、副映像表示制御コマンドS
PDCCMDの一覧を示す。主な副映像表示制御コマン
ドとしては、次のようなものがある。
Next, details of the sub-picture display control command will be described. FIG. 34 shows the sub-picture display control command S
A list of PDCCMD is shown. The main sub-picture display control commands are as follows.

【0301】(1)副映像画素データの表示開始タイミ
ングをセットするコマンドSTADSP 図37は、このコマンドSTADSPの構成を示す。こ
れは、副映像データ32の表示開始制御を実行するコマ
ンドである。すなわち、あるDCSQTからこのコマン
ドSTADSPを含むDCSQTに切り替わったとき
に、副映像データ32の表示が、このコマンドを含むD
CSQTのタイムスタンプSPDCTSで示された時刻
から開始されることになる。
(1) Command STADSP for Setting Display Start Timing of Sub-Video Pixel Data FIG. 37 shows the structure of this command STADSP. This is a command for executing the display start control of the sub-picture data 32. That is, when a certain DCSQT is switched to a DCSQT including this command STADSP, the display of the sub-picture data 32 is D including this command.
It will start from the time indicated by the time stamp SPDCTS of CSQT.

【0302】副映像プロセサ(たとえば図11のMPU
112)は、このコマンドをデコードすると、(このコ
マンドをアクセスした時点ではこのコマンドが属するD
CSQTのSPDCTSで示された時刻はすぎているの
で)直ちに、副映像プロセサ内部の表示制御系のイネー
ブルビットを、アクティブ状態にする。
Sub-picture processor (for example, MPU in FIG. 11)
112) decodes this command, and (when this command is accessed, the D to which this command belongs
Immediately (because the time indicated by SPDCTS of CSQT has passed), the enable bit of the display control system inside the sub-picture processor is immediately activated.

【0303】(2)副映像画素データの表示終了タイミ
ングをセットするコマンドSTPDSP 図38は、このコマンドSTPDSPの構成を示す。こ
れは、副映像データ32の表示終了制御を実行するため
のコマンドである。副映像プロセサは、このコマンドを
デコードすると、(このコマンドをアクセスした時点で
はこのコマンドが属するDCSQTのSPDCTSで示
された時刻はすぎているので)直ちに、副映像プロセサ
内部の表示制御系のイネーブルビットを、アクティブ状
態にする。
(2) Command STPDSP for setting display end timing of sub-picture pixel data FIG. 38 shows the structure of this command STPDSP. This is a command for executing the display end control of the sub-picture data 32. The sub-picture processor immediately decodes this command (since the time indicated by the SPDCTS of the DCSQT to which this command belongs is past at the time of accessing this command), the enable bit of the display control system inside the sub-picture processor is immediately transmitted. To the active state.

【0304】(3)副映像画素データのカラーコードを
セットするコマンドSETCOLOR 図39は、このコマンドSETCOLORの構成を示
す。これは、副映像画素データの色コードを設定するた
めのコマンドである。このコマンドによって、副映像
は、文字あるいは模様などのパターン画素と、パターン
画素のふちどり等の強調画素と、副映像が表示される範
囲領域でパターン画素および強調画素以外の領域の画素
である背景画素とに分けて、色情報を設定することがで
きる。
(3) Command SETCOLOR for setting color code of sub-picture pixel data FIG. 39 shows the structure of this command SETCOLOR. This is a command for setting the color code of the sub-picture pixel data. This command causes the sub-picture to be a pattern pixel such as a character or a pattern, an emphasis pixel such as a border of the pattern pixel, and a background pixel which is a pixel in the area other than the pattern pixel and the emphasis pixel in the area where the sub-picture is displayed. Color information can be set separately for and.

【0305】副映像プロセサは、図40に示すように、
このコマンドSETCOLORによって色コードを設定
できる色レジスタ1210を内蔵している。レジスタ1
210は、一旦色コードが設定されると、同じコマンド
で再設定がなされるまで、この色コードデータを保持す
る。副映像データ32で示される画素種別(たとえば図
5の2ビット画素データにより特定される種別)に従っ
た色データが色レジスタ1210から選択(SEL0)
される。
The sub-picture processor, as shown in FIG.
A color register 1210 that can set a color code by this command SETCOLOR is incorporated. Register 1
Once the color code is set, the 210 holds this color code data until it is reset by the same command. Color data according to the pixel type indicated by the sub-picture data 32 (for example, the type specified by the 2-bit pixel data in FIG. 5) is selected from the color register 1210 (SEL0).
To be done.

【0306】副映像プロセサはまた、副映像画素データ
の色変化およびコントラスト変化を設定するコマンド
(CHGCOLCON)によって設定される変化色デー
タレジスタ1220を備えている。このレジスタ122
0から選択(SEL0)されたデータ出力がアクティブ
である場合は、レジスタ1210からの選択出力よりも
レジスタ1220からの選択出力の方が優先して選択
(SEL1)され、その選択結果が色データとして出力
される。
The sub-picture processor also includes a change color data register 1220 set by a command (CHGCOLCON) for setting color change and contrast change of sub-picture pixel data. This register 122
When the data output selected from 0 (SEL0) is active, the selection output from the register 1220 is selected (SEL1) with priority over the selection output from the register 1210, and the selection result is set as color data. Is output.

【0307】(4)主映像に対する副映像画素データの
コントラストをセットするコマンドSETCONTR 図41は、このコマンドSETCONTRの構成を示
す。これは、コマンドSETCOLORと同様、図40
で例示した4種類の画素に対して色コードデータの代わ
りにコントラストデータを設定するためのコマンドであ
る。
(4) Command SETCONTR for setting contrast of sub-picture pixel data with respect to main picture FIG. 41 shows the structure of this command SETCONTR. This is similar to the command SETCOLOR in FIG.
It is a command for setting contrast data instead of the color code data for the four types of pixels illustrated in FIG.

【0308】(5)主映像上における副映像画素データ
の表示エリアをセットするコマンドSETDAREA 図42は、このコマンドSETDAREAの構成を示
す。これは、副映像画素データ32を表示する位置を指
定するためのコマンドである。
(5) Command SETDAREA for setting display area of sub-picture pixel data on main picture FIG. 42 shows the structure of this command SETDAREA. This is a command for designating the position where the sub-picture pixel data 32 is displayed.

【0309】(6)副映像画素データの表示開始アドレ
スをセットするコマンドSETDSPXA 図43は、このコマンドSETDSPXAの構成を示
す。これは、副映像画素データ32の表示開始アドレス
を設定するためのコマンドである。
(6) Command SETDSPXA for setting the display start address of sub-picture pixel data FIG. 43 shows the structure of this command SETDSPXA. This is a command for setting the display start address of the sub-picture pixel data 32.

【0310】(7)副映像画素データのカラーコードお
よび主映像に対する副映像画素データのコントラストの
切換をセットするコマンドCHGCOLCON 図44は、このコマンドCHGCOLCONの構成を示
す。これは、副映像画素データ32の色コードおよび主
映像に対する副映像画素データ32のコントラストを表
示中に変更するためのコマンドである。
(7) Command CHGCOLCON for setting color code of sub-picture pixel data and switching of contrast of sub-picture pixel data with respect to main picture FIG. 44 shows the configuration of this command CHGCOLCON. This is a command for changing the color code of the sub-picture pixel data 32 and the contrast of the sub-picture pixel data 32 with respect to the main picture during display.

【0311】このコマンドCHGCOLCONは、図4
4に示すように、画素制御データのサイズ(拡張フィー
ルドサイズ)および画素制御データ(PCD)を含んで
いる。
This command CHGCOLCON is shown in FIG.
4, the pixel control data size (extended field size) and the pixel control data (PCD) are included.

【0312】なお、図34のコマンドテーブルは、上述
したコマンドの他に、副映像画素データの表示開始タイ
ミングを強制的にセットするコマンドFSTADSPと
(図36参照)、および副映像の表示制御を終了するコ
マンドCMDEND(図45参照)を含んでいる。
The command table of FIG. 34 includes the command FSTADSP for forcibly setting the display start timing of the sub-picture pixel data (see FIG. 36) and the sub-picture display control in addition to the above-mentioned commands. Command CMDEND (see FIG. 45) to execute.

【0313】図35、図46および図47は、画素制御
データPCDの構成を説明する図である。図35に示す
ように、画素制御データPCDは、ライン制御情報LC
INF、画素制御情報PCINF、および画素制御デー
タの終了を示す終了コードで、構成されている。
FIGS. 35, 46 and 47 are diagrams for explaining the structure of the pixel control data PCD. As shown in FIG. 35, the pixel control data PCD is the line control information LC.
INF, pixel control information PCINF, and an end code indicating the end of pixel control data.

【0314】ここで、ライン制御情報LCINFは、図
46に示すように、変更(変化)開始ライン番号、変更
数(変化点数)、変更(変化)終了ライン番号(または
継続ライン数)で構成されている。つまり、輪郭補正
色、副映像色、主映像に対する副映像のコントラスト制
御を、表示フレーム上のどのラインから開始し、それら
のライン上で何回、輪郭補正色、副映像色、コントラス
トが変更され(または変化し)、さらにそれらに共通し
た変更(変化)がどのラインまで続くかが、ライン制御
情報LCINFにより示される。
As shown in FIG. 46, the line control information LCINF is composed of a change (change) start line number, a change number (change point), and a change (change) end line number (or continuous line number). ing. In other words, the contour correction color, sub-picture color, and contrast control of the sub-picture with respect to the main picture are started from which line on the display frame, and how many times the contour-correction color, sub-picture color, and contrast are changed on those lines. The line control information LCINF indicates to which line the changes (or changes) and the changes (changes) common to them continue.

【0315】また、画素制御情報PCINFは、ライン
制御情報LCINFによって示されるライン上におい
て、輪郭補正色、副映像色、およびコントラストを変更
(変化)させる画素位置と、変更(変化)後の輪郭補正
色、副映像色、およびコントラストなどの変更(変化)
内容とを、示している。
The pixel control information PCINF is the pixel position for changing (changing) the contour correction color, the sub-picture color, and the contrast on the line indicated by the line control information LCINF, and the contour correction after the change (change). Change (change) such as color, sub-picture color, and contrast
The contents and are shown.

【0316】このライン制御情報LCINFおよび画素
制御情報PCINFからなる画素制御データPCDは、
副映像表示フレームに対して必要数設定される。
Pixel control data PCD composed of this line control information LCINF and pixel control information PCINF is
The required number is set for the sub-picture display frame.

【0317】たとえば図48に示すような副映像表示フ
レームのイメージに対して設定される画素表示データP
CDは、図49に示すようになる。
Pixel display data P set for an image of a sub-picture display frame as shown in FIG. 48, for example.
The CD becomes as shown in FIG.

【0318】すなわち、この具体例において、変更(変
化)が始まっているラインは「ライン4」であるので、
変更(変化)開始ライン番号は「4」となり、画素が変
更(変化)している位置は「位置A」、「位置B」、
「位置C」の3カ所にあるので、画素変更数(画素変化
点数)は「3」となり、この画素の共通変化状態が「ラ
イン11」まで続くので、継続ライン数は「7」とな
る。
That is, in this specific example, since the line where the change (change) has started is "line 4",
The change (change) start line number is "4", and the position where the pixel is changed (change) is "position A", "position B",
Since there are three positions "Position C", the number of pixel changes (the number of pixel change points) is "3", and since the common change state of this pixel continues to "Line 11", the number of continuous lines is "7".

【0319】また、「ライン12」は画素変化状態がそ
れまでと異なるものであり、次の「ライン13」は画素
変化がないため、変化開始ライン番号を「12」とし、
変化点数を「2」とし、継続ライン数を「1」とする別
のライン制御情報LCINFが、設定される。
Further, since the pixel change state of "line 12" is different from that before, and the next "line 13" has no pixel change, the change start line number is set to "12",
Another line control information LCINF having the number of change points of “2” and the number of continuous lines of “1” is set.

【0320】さらに、「ライン14」は4箇所の画素変
化を含み、次の「ライン15」は画素変化がないため、
変化開始ライン番号を「14」とし、変化点数を「4」
とし、継続ライン数を「1」とする別のライン制御情報
LCINFが設定される。そして、最後に終了コードが
設定される。
Furthermore, "line 14" includes pixel changes at four locations, and the next "line 15" has no pixel changes.
Change start line number is "14" and change point number is "4"
Then, another line control information LCINF having the number of continuous lines set to "1" is set. Finally, the end code is set.

【0321】次に、上記ライン制御情報LCINFおよ
び画素制御情報PCINFを用いた表示制御の手順につ
いて説明する。
Next, the procedure of display control using the line control information LCINF and the pixel control information PCINF will be described.

【0322】(1)副映像の表示制御は、表示制御シー
ケンステーブル33(図29のDCSQT1〜DCSQ
TN)に含まれる制御コマンド(COMMAND1〜)
を、副映像表示フィールド毎に繰り返し実行すること
で、なされる。この制御コマンドの内容は、図34の副
映像表示制御コマンドSPDCCMDのテーブルで示さ
れている。
(1) Display control of the sub-picture is performed by the display control sequence table 33 (DCSQT1 to DCSQ in FIG. 29).
Control command (COMMAND1 to) included in TN)
Is repeatedly performed for each sub-picture display field. The contents of this control command are shown in the table of the sub-picture display control command SPDCCMD in FIG.

【0323】どの表示制御シーケンス(DCSQT1〜
DCSQTN)のコマンド(図34の各種コマンド)が
実行されるかは、図29のDCSQTポインタにより決
められる。
Which display control sequence (DCSQT1 to DCSQT1
Whether the DCSQTN) command (various commands in FIG. 34) is executed is determined by the DCSQT pointer in FIG.

【0324】(2)図34に示される各表示制御コマン
ド(STADSP,STPDSP,SETCOLOR,
SETCONTR,SETDAREA,SETDSPX
A,CHGCOLCONなど)により設定された各種パ
ラメータは、同じコマンドにより書き換えられない限
り、副映像情報のデコード中、副映像プロセサ(たとえ
ば図11のMPU112)の内部レジスタに保持され
る。しかし、この内部レジスタに保持された各種パラメ
ータは、副映像データブロックが切り換わる(たとえば
図28のブロックYからブロックWへの切換時)と、一
部のパラメータ(LCINF,PCINF)を除き、全
てクリアされる。
(2) Each of the display control commands (STADSP, STPDSP, SETCOLOR, shown in FIG. 34).
SETCONTR, SETDAREA, SETDSPX
Various parameters set by A, CHGCOLCON, etc.) are held in the internal register of the sub-picture processor (for example, MPU 112 in FIG. 11) during the decoding of the sub-picture information unless rewritten by the same command. However, all the various parameters held in this internal register except for some parameters (LCINF, PCINF) when the sub-picture data block is switched (for example, when switching from block Y to block W in FIG. 28). Cleared.

【0325】なお、図35の画素制御データPCDのパ
ラメータ(LCINF,PCINF)は、図34のコマ
ンドCHGCOLCONが再実行されるまで、MPU1
12の内部レジスタに保持されるようになっている。
The parameters (LCINF, PCINF) of the pixel control data PCD shown in FIG. 35 remain unchanged until the command CHGCOLCON shown in FIG. 34 is re-executed.
It is designed to be held in 12 internal registers.

【0326】(3)ハイライトモードになると、システ
ムMPU112によって設定されたパラメータLCIN
FおよびPCINFによって表示制御が行われ、副映像
チャネルデータのLCINFおよびPCINFは一切無
視される。設定されたこれらのパラメータは、ハイライ
トモード中に再びシステムMPU112によって再設定
されるか、ノーマルモードになって副映像データ中のL
CINFおよびPCINFが再設定されるまでは、MP
U内部で保持され、それらのパラメータによる副映像表
示が継続される。
(3) In the highlight mode, the parameter LCIN set by the system MPU 112 is set.
The display control is performed by F and PCINF, and LCINF and PCINF of the sub-picture channel data are ignored. These set parameters are reset by the system MPU 112 again during the highlight mode, or the normal mode is set and the L in the sub-picture data is set.
Until CINF and PCINF are reset, MP
It is held inside U and the sub-picture display by those parameters is continued.

【0327】(4)表示領域は、水平方向・垂直方向と
もに、開始と終了で指定された番号のラインおよびドッ
トで設定される。したがって、1ラインだけを表示する
場合は、表示開始ラインと表示終了ラインの番号は同じ
となる。また、表示させないばあいには、表示終了コマ
ンドで表示を停止させる。
(4) The display area is set by lines and dots having numbers designated by start and end in both the horizontal and vertical directions. Therefore, when only one line is displayed, the display start line and the display end line have the same number. If not displayed, the display is stopped by the display end command.

【0328】図53は、図3に示すような副映像ユニッ
ト30を生成する方法の一例を説明するフローチャート
である。
FIG. 53 is a flow chart for explaining an example of a method for generating the sub-picture unit 30 as shown in FIG.

【0329】副映像として、たとえばビデオ(主映像)
の台詞に対応した字幕および/またはイメージが使用さ
れる場合、この台詞字幕/イメージがビットマップデー
タ化される(ステップST10)。このビットマップデ
ータを作成するときには、字幕部分をビデオの画面のど
の位置のどの領域に表示するかを、決定しなければなら
ない。そのために、表示制御コマンドSETDAREA
(図34参照)のパラメータが決定される(ステップS
T12)。
As a sub-picture, for example, video (main picture)
When a subtitle and / or image corresponding to the dialogue is used, the dialogue subtitle / image is converted into bitmap data (step ST10). When creating this bitmap data, it is necessary to determine in which area of the video screen the subtitle portion should be displayed. Therefore, the display control command SETDAREA
Parameters (see FIG. 34) are determined (step S).
T12).

【0330】副映像の表示位置(空間的パラメータ)が
決定されると、副映像を構成する画素データPXDのエ
ンコードに移る(主映像全体をエンコードするわけでは
ない;このPXDエンコードの詳細は、図5〜図14を
参照して別の箇所で説明されている)。その際、字幕
(副映像)の色、字幕領域の背景色、字幕色・背景色の
ビデオ主映像に対する混合比が決定される。そのため
に、表示制御コマンドSETCOLORおよびSETC
ONTR(図34参照)のパラメータが決定される(ス
テップST14)。
When the display position (spatial parameter) of the sub-picture is determined, the pixel data PXD forming the sub-picture is encoded (the whole main picture is not encoded; details of this PXD encoding are shown in FIG. 5 to 14 and described elsewhere). At that time, the color of the subtitle (sub-picture), the background color of the subtitle area, and the mixture ratio of the subtitle color / background color to the video main picture are determined. Therefore, the display control commands SETCOLOR and SETC
The parameters of ONTR (see FIG. 34) are determined (step ST14).

【0331】次に、作成したビットマップデータをビデ
オの台詞に合わせて表示すべきタイミングが決定され
る。このタイミング決定は副映像タイムスタンプPTS
により行なわれる。その際、タイムスタンプPTSの最
大限度時刻と、表示制御コマンドSTADSP、STP
DSPおよびCHGCOLCON(図34参照)の各パ
ラメータ(時間的パラメータ)が決定される(ステップ
ST16)。
Next, the timing at which the created bitmap data should be displayed is determined according to the dialogue of the video. This timing is determined by the sub-picture time stamp PTS
Performed by. At that time, the maximum limit time of the time stamp PTS and the display control commands STADSP, STP
Each parameter (temporal parameter) of the DSP and CHGCOLCON (see FIG. 34) is determined (step ST16).

【0332】ここで、副映像タイムスタンプPTSは、
MPEG2システムレイヤのターゲットデコーダバッフ
ァの消費モデルから、最終的に決定される。ここでは、
字幕の表示を開始する時刻が、副映像タイムスタンプP
TSの最大限度時刻として決められる。
Here, the sub-picture time stamp PTS is
It is finally determined from the consumption model of the target decoder buffer of the MPEG2 system layer. here,
The time when the display of subtitles starts is the sub-picture time stamp P.
Determined as the maximum time limit for TS.

【0333】表示制御コマンドSTADSPおよびST
PDSPは、副映像タイムスタンプPTSからの相対時
刻として記録される。そのため、PTSが決まるまでは
コマンドSTADSPおよびSTPDSPを決定するこ
とはできない。そこで、この実施形態では、絶対時刻を
決めておき、PTSの絶対時間が決まってから、その相
対値を決定するようにしている。
Display control commands STADSP and ST
The PDSP is recorded as a relative time from the sub-picture time stamp PTS. Therefore, commands STADSP and STPDSP cannot be determined until PTS is determined. Therefore, in this embodiment, the absolute time is set in advance, and after the absolute time of the PTS is set, the relative value thereof is set.

【0334】また、作成した字幕に対して、空間的・時
間的に表示色や表示領域を変化させたい場合には、その
変化に基づいたコマンドCHGCOLCONのパラメー
タが決定される。
When it is desired to change the display color or the display area of the created subtitle spatially and temporally, the parameter of the command CHGCOLCON based on the change is determined.

【0335】副映像の表示位置(空間的パラメータ)お
よび表示タイミング(時間的パラメータ)が(仮に)決
定されると、副映像表示制御シーケンステーブルDCS
QTの内容(DCSQ)が作成される(ステップST1
8)。具体的には、表示制御シーケンステーブルDCS
Qの表示制御開始時間SPDCTS(図33参照)の値
は、表示制御コマンドSTADSP(表示開始タイミン
グ)の発効時刻および表示制御コマンドSTPDSP
(表示終了タイミング)の発効時刻に準拠して、決定さ
れる。
When the display position (spatial parameter) and display timing (temporal parameter) of the sub-picture are (tentatively) determined, the sub-picture display control sequence table DCS.
The content of QT (DCSQ) is created (step ST1).
8). Specifically, the display control sequence table DCS
The value of the display control start time SPDCTS (see FIG. 33) of Q is the effective time of the display control command STADSP (display start timing) and the display control command STPDSP.
It is determined based on the effective time of (display end timing).

【0336】作成された画素データPXD32および表
示制御シーケンステーブルDCSQT33を合わせる
と、副映像データユニット30(図3参照)のサイズを
決定することができる。そこで、そのサイズを元に副映
像ユニットヘッダSPUH31のパラメータSPDSZ
(副映像サイズ;図31参照)およびSPDCSQTA
(表示制御シーケンステーブルの開始アドレス;図31
参照)を決めて、副映像ユニットヘッダSPUH31を
作成する。その後、SPUH31とPXD32とDCS
QT33とを結合することにより、1つの字幕に対する
副映像ユニットが作成される(ステップST20)。
By combining the created pixel data PXD32 and the display control sequence table DCSQT33, the size of the sub-picture data unit 30 (see FIG. 3) can be determined. Therefore, based on the size, the parameter SPDSZ of the sub-picture unit header SPUH31
(Sub-picture size; see Fig. 31) and SPDCSQTA
(Start Address of Display Control Sequence Table; FIG. 31
(See reference), and the sub-picture unit header SPUH31 is created. After that, SPUH31, PXD32 and DCS
A sub-picture unit for one subtitle is created by combining with QT33 (step ST20).

【0337】作成された副映像ユニット30のサイズが
所定値(2048バイトあるいは2kバイト)を超える
場合は(ステップST22イエス)、2kバイト単位で
複数パケットに分割される(ステップST24)。この
場合、タイムスタンプPTSは、副映像ユニット30の
先頭になるパケットにのみ記録される(ステップST2
6)。
If the size of the created sub-picture unit 30 exceeds a predetermined value (2048 bytes or 2 kbytes) (YES in step ST22), the packet is divided into a plurality of packets in units of 2 kbytes (step ST24). In this case, the time stamp PTS is recorded only in the first packet of the sub-picture unit 30 (step ST2).
6).

【0338】作成された副映像ユニット30のサイズが
所定値(2kバイト)以内である場合は(ステップST
22ノー)、1つだけパケットが生成され(ステップS
T23)、タイムスタンプPTSはそのパケットの頭に
記録される(ステップST26)。
If the size of the created sub-picture unit 30 is within the predetermined value (2 kbytes) (step ST
22 No) Only one packet is generated (step S
T23), the time stamp PTS is recorded at the beginning of the packet (step ST26).

【0339】こうして出来上がった1以上のパケットは
パック化され、ビデオその他のパックと合わされて、1
本のデータストリームが出来上がる(ステップST2
8)。このとき、各パックのならび順は、MPEG2シ
ステムレイヤのターゲットデコーダバッファの消費モデ
ルから、そのシーケンス記録コードSRCと副映像タイ
ムスタンプPTSとを基に決定される。ここで初めてP
TSが確定し、これにより図33の各パラメータ(SP
DCTS等)が最終的に決定されることになる。
One or more packets thus created are packed and combined with video and other packs to obtain 1
A book data stream is completed (step ST2)
8). At this time, the arrangement order of each pack is determined based on the sequence recording code SRC and the sub-picture time stamp PTS from the consumption model of the target decoder buffer of the MPEG2 system layer. First time here P
TS is fixed, and as a result, each parameter (SP
DCTS etc.) will be finally decided.

【0340】図54は、図53の処理手順にしたがって
生成された副映像データストリームのパック分解および
デコードを並列処理する手順の一例を説明するフローチ
ャートである。
FIG. 54 is a flow chart for explaining an example of a procedure for carrying out parallel processing of pack decomposition and decoding of the sub-picture data stream generated according to the processing procedure of FIG.

【0341】まず、デコードシステムは、転送されてく
るストリームのIDを読み取って、選択された副映像パ
ック(データストリームから分離されたもの)だけを副
映像デコーダ(たとえば図11または図17の副映像デ
コーダ101)に転送する(ステップST40)。
First, the decoding system reads the ID of the stream to be transferred, and only the selected sub-picture pack (separated from the data stream) is sub-picture decoder (for example, the sub-picture of FIG. 11 or FIG. 17). The data is transferred to the decoder 101) (step ST40).

【0342】最初のパック転送が行われると、インデッ
クスパラメータ”i”が「1」にセットされ(ステップ
ST42)、1番目の副映像パックの分解処理(ステッ
プST44;図55を参照して後述する)が実行され
る。
When the first pack transfer is performed, the index parameter "i" is set to "1" (step ST42), and the first sub-picture pack is decomposed (step ST44; described later with reference to FIG. 55). ) Is executed.

【0343】分解されたパック(図9下部に示すような
圧縮された副映像データPXDを含む)は、副映像バッ
ファ(図11または図17ではメモリ108)に一時格
納され(ステップST46)、インデックスパラメー
タ”i”が1つインクリメントされる(ステップST5
0)。
The decomposed pack (including the compressed sub-picture data PXD as shown in the lower part of FIG. 9) is temporarily stored in the sub-picture buffer (memory 108 in FIG. 11 or FIG. 17) (step ST46), and the index is stored. The parameter "i" is incremented by 1 (step ST5
0).

【0344】インクリメントされたi番目のパックが存
在すれば、すなわちステップST44で分解処理したパ
ックが最終パックでなければ(ステップST52ノ
ー)、インクリメントされたi番目の副映像パックに対
する分解処理(ステップST44)が実行される。
If there is the incremented i-th pack, that is, if the pack decomposed in step ST44 is not the final pack (NO in step ST52), the incremented i-th sub-picture pack is decomposed (step ST44). ) Is executed.

【0345】分解されたi番目の副映像パック(ここで
は2番目のパック)は、1番目に分解されたパックと同
様に副映像バッファ(メモリ108)に一時格納され
(ステップST46)、インデックスパラメータ”i”
がさらに1つインクリメントされる(ステップST5
0)。
The decomposed i-th sub-picture pack (here, the second pack) is temporarily stored in the sub-picture buffer (memory 108) similarly to the first decomposed pack (step ST46), and the index parameter is set. "I"
Is further incremented by 1 (step ST5
0).

【0346】以上のようにして、インデックスパラメー
タ”i”をインクリメントしながら複数の副映像パック
が連続的に分解され(ステップST44)、副映像バッ
ファ(メモリ108)に格納される(ステップST4
6)。
As described above, a plurality of sub-picture packs are continuously decomposed while incrementing the index parameter "i" (step ST44) and stored in the sub-picture buffer (memory 108) (step ST4).
6).

【0347】連続してインクリメントされたi番目のパ
ックが存在しなくなれば、すなわちステップST44で
分解処理したパックが最終パックであれば(ステップS
T52イエス)、デコードしようとするストリームの副
映像パック分解処理が終了する。
If there is no i-th pack that is continuously incremented, that is, if the pack decomposed in step ST44 is the final pack (step S
(YES at T52), the sub-picture pack decomposition process of the stream to be decoded ends.

【0348】上記副映像パック分解処理(ステップST
44〜ST52)が連続的に実行されている最中に、こ
の副映像パック分解処理と独立・並行して、副映像バッ
ファ(メモリ108)に一時格納された副映像パックの
デコード処理が行われる。
Sub-picture pack disassembly processing (step ST
44 to ST52) are continuously executed, the sub-picture packs temporarily stored in the sub-picture buffer (memory 108) are decoded independently and in parallel with the sub-picture pack decomposition processing. .

【0349】すなわち、インデックスパラメータ”j”
が「1」にセットされると(ステップST60)、1番
目の副映像パックを副映像バッファ(メモリ108)か
ら読み出す動作に入る(ステップST62)。この時点
で、まだメモリ108に1番目の副映像パックが格納さ
れていないならば(ステップST63ノー;ステップS
T46の処理がまだ行われていないとき)、読出対象の
パックデータがメモリ108に格納されるまで、デコー
ド処理は、パック読出動作の空ループ(ステップST6
2〜ST63)を実行している。
That is, the index parameter "j"
Is set to "1" (step ST60), the operation for reading the first sub-picture pack from the sub-picture buffer (memory 108) is started (step ST62). At this point, if the first sub-picture pack is not yet stored in the memory 108 (NO in step ST63; step S63).
Until the pack data to be read is stored in the memory 108 (when the process of T46 is not yet performed), the decoding process is performed in an empty loop of the pack read operation (step ST6).
2 to ST63) are executed.

【0350】メモリ108に1番目の副映像パックが格
納されておれば(ステップST63イエス)、その副映
像パックが読み出され、デコード処理される(ステップ
ST64;デコード処理の具体例は図53〜図57を参
照して後述する)。
If the first sub-picture pack is stored in the memory 108 (YES in step ST63), the sub-picture pack is read and decoded (step ST64; a specific example of the decoding processing is shown in FIGS. This will be described later with reference to FIG. 57).

【0351】このデコード処理の結果(たとえば図9上
部に示すような圧縮前の副映像データPXDを含む)
は、デコード処理中に図11または図17副映像デコー
ダ101から表示系(図示せず)へ送られ、デコードデ
ータに対応する副映像の表示がなされる。
Results of this decoding processing (including uncompressed sub-picture data PXD as shown in the upper part of FIG. 9)
Is sent from the sub-picture decoder 101 in FIG. 11 or FIG. 17 to the display system (not shown) during the decoding process, and the sub-picture corresponding to the decoded data is displayed.

【0352】上記デコード処理において表示制御終了コ
マンド(図34のCMDEND)が実行されていなけれ
ば(ステップST66ノー)、インデックスパラメー
タ”j”が1つインクリメントされる(ステップST6
7)。
If the display control end command (CMDEND in FIG. 34) is not executed in the above decoding processing (NO in step ST66), the index parameter "j" is incremented by 1 (step ST6).
7).

【0353】インクリメントされたj番目のパック(こ
こでは2番目)がメモリ108に存在すれば、そのパッ
クがメモリ108から読み出され、デコードされる(ス
テップST64)。デコードされたj番目の副映像パッ
ク(ここでは2番目のパック)は、1番目にデコードさ
れたパックと同様に表示系に送られ、インデックスパラ
メータ”j”がさらに1つインクリメントされる(ステ
ップST67)。
If the incremented j-th pack (here, the second pack) exists in the memory 108, the pack is read from the memory 108 and decoded (step ST64). The decoded jth sub-picture pack (here, the second pack) is sent to the display system similarly to the first decoded pack, and the index parameter “j” is further incremented by 1 (step ST67). ).

【0354】以上のようにして、インデックスパラメー
タ”j”をインクリメントしながら(ステップST6
7)、メモリ108に格納されている1以上の副映像パ
ックが連続的にデコードされ(ステップST64)、デ
コードされた副映像データ(PXD)に対応する副映像
の画像表示が実行される。
As described above, the index parameter "j" is incremented (step ST6).
7) One or more sub-picture packs stored in the memory 108 are continuously decoded (step ST64), and the sub-picture image display corresponding to the decoded sub-picture data (PXD) is executed.

【0355】上記デコード処理において表示制御終了コ
マンド(図34のCMDEND)が実行されれば(ステ
ップST66イエス)、副映像バッファ(メモリ10
8)内の副映像データのデコード処理が終了する。
If the display control end command (CMDEND in FIG. 34) is executed in the above decoding process (YES in step ST66), the sub-picture buffer (memory 10).
The decoding process of the sub-picture data in 8) is completed.

【0356】以上のデコード処理(ステップST62〜
ST64)は、終了コマンドCMDENDが実行されな
い限り(ステップST66ノー)反復される。この実施
の形態では、デコード処理は、終了コマンドCMDEN
Dの実行(ステップST66イエス)をもって終了する
ようになっている。
The above decoding process (steps ST62-
ST64) is repeated unless end command CMDEND is executed (NO in step ST66). In this embodiment, the decoding process is performed by the end command CMDEN.
The process is ended by executing D (YES in step ST66).

【0357】図55は、図54のパック分解処理の一例
を説明するフローチャートである。副映像デコーダ10
1は、転送されてくるパックからパックヘッダ(図3参
照)を読み飛ばして、パケットを得る(ステップST4
42)。このパケットにタイムスタンプPTSがないと
きは(ステップST444ノー)、パケットヘッダ(P
H)を削除して、副映像ユニットデータ(PXD)だけ
を、副映像デコーダのバッファ(たとえば121)に格
納する(ステップST446)。
FIG. 55 is a flow chart for explaining an example of the pack disassembling process of FIG. Sub video decoder 10
1 skips the pack header (see FIG. 3) from the transferred pack to obtain a packet (step ST4).
42). If the time stamp PTS does not exist in this packet (NO in step ST444), the packet header (P
H) is deleted and only the sub-picture unit data (PXD) is stored in the buffer (eg, 121) of the sub-picture decoder (step ST446).

【0358】上記パケットにタイムスタンプPTSがあ
るときは(ステップST444イエス)、パケットヘッ
ダ(PH)からPTSだけが抜き取られ、抜き取られた
PTSが副映像ユニットデータ(30)に接続されて、
副映像デコーダ101のバッファ121に格納される
(ステップST448)。
If the packet has the time stamp PTS (YES in step ST444), only the PTS is extracted from the packet header (PH), and the extracted PTS is connected to the sub-picture unit data (30).
It is stored in the buffer 121 of the sub-picture decoder 101 (step ST448).

【0359】図56は、図54の副映像デコード処理の
一例を説明するフローチャートである。副映像デコーダ
101は、システムタイマ120の時刻SCRとバッフ
ァ121に格納されたタイムスタンプPTSとを比較す
る(ステップST640)。それらが一致すれば(ステ
ップST642イエス)、その副映像ユニット(30)
のデコード処理が開始される。このデコード処理のう
ち、たとえば図9の下部に示す圧縮データPXDを図9
の上部に示す非圧縮データPXDに戻す処理について
は、図15、図16その他を参照して説明済みである。
FIG. 56 is a flow chart for explaining an example of the sub-picture decoding process of FIG. The sub-picture decoder 101 compares the time SCR of the system timer 120 with the time stamp PTS stored in the buffer 121 (step ST640). If they match (YES in step ST642), the sub-picture unit (30)
The decoding process of is started. In this decoding process, for example, the compressed data PXD shown in the lower part of FIG.
The process of returning to the non-compressed data PXD shown in the upper part of FIG. 16 has already been described with reference to FIGS.

【0360】このデコード処理において、表示制御シー
ケンスDCSQの各コマンドが実行される。すなわち、
コマンドSETDAREAにより副映像の表示位置およ
び表示領域が設定され、コマンドSETCOLORによ
り副映像の表示色が設定され、コマンドSETCONT
Rによりビデオ主映像に対する副映像のコントラストが
設定される(ステップST644)。
In this decoding process, each command of the display control sequence DCSQ is executed. That is,
The command SETDAREA sets the display position and display area of the sub-picture, the command SETCOLOR sets the display color of the sub-picture, and the command SETCONT
The contrast of the sub-picture with respect to the video main picture is set by R (step ST644).

【0361】そして、表示開始タイミングコマンドST
ADSPを実行してから別の表示制御シーケンスDCS
Qで表示終了タイミングコマンドSTPDSPが実行さ
れるまで、切換コマンドCHGCOLCONに準拠した
表示制御を行いつつ、ランレングス圧縮されている画素
データPXD(32)のデコードが行われる(ステップ
ST646)。
Then, the display start timing command ST
After executing ADSP, another display control sequence DCS
Until the display end timing command STPDSP is executed in Q, the run length compressed pixel data PXD (32) is decoded while performing the display control based on the switching command CHGCOLCON (step ST646).

【0362】なお、上記処理ステップST644および
ST646は、システムタイマ120の時刻SCRとバ
ッファ121に格納されたタイムスタンプPTSとが一
致しないときは(ステップST642ノー)、スキップ
される。
The above processing steps ST644 and ST646 are skipped when the time SCR of the system timer 120 and the time stamp PTS stored in the buffer 121 do not match (NO in step ST642).

【0363】図57は、図53の手順にしたがって生成
されたデータストリームをデコードする方法の一例を説
明するフローチャートである。図54の処理は、副映像
パックの分解と副映像デコードとが時間的に独立した並
列処理であったが、図57の処理は、副映像パックの分
解と副映像デコードとが時間的にリンクした並列処理で
ある。すなわち、図57では、副映像パックの分解処理
および副映像デコード処理が同じペースで同時進行する
場合を想定している。
FIG. 57 is a flow chart for explaining an example of a method of decoding the data stream generated according to the procedure of FIG. In the processing of FIG. 54, the sub-picture pack decomposition and the sub-picture decoding are time-independent parallel processing, but in the processing of FIG. 57, the sub-picture pack decomposition and the sub-picture decoding are temporally linked. It is parallel processing. That is, in FIG. 57, it is assumed that the sub-picture pack decomposition processing and the sub-picture decoding processing proceed simultaneously at the same pace.

【0364】図57の処理において、デコードシステム
は、まず、転送されてくるストリームのIDを読み取っ
て、選択された副映像パック(データストリームから分
離されたもの)だけを副映像デコーダ(図11または図
17の副映像デコーダ101)に転送する(ステップS
T40)。
In the process of FIG. 57, the decoding system first reads the ID of the stream to be transferred, and extracts only the selected sub-picture pack (separated from the data stream) into the sub-picture decoder (FIG. 11 or Transfer to the sub-picture decoder 101 in FIG. 17 (step S)
T40).

【0365】最初のパック転送が行われると、インデッ
クスパラメータ”i”が「1」にセットされ(ステップ
ST42)、1番目の副映像パックの分解処理(ステッ
プST44)が実行される。
When the first pack transfer is performed, the index parameter "i" is set to "1" (step ST42), and the first sub-picture pack decomposition process (step ST44) is executed.

【0366】分解されたパックは、副映像バッファ(メ
モリ108)に一時格納される(ステップST46)。
その後、インデックスパラメータ”j”にインデックス
パラメータ”i”がセットされ(ステップST48)、
インデックスパラメータ”i”が1つインクリメントさ
れる(ステップST50)。
The decomposed pack is temporarily stored in the sub-picture buffer (memory 108) (step ST46).
After that, the index parameter “i” is set to the index parameter “j” (step ST48),
The index parameter “i” is incremented by 1 (step ST50).

【0367】インクリメントされたi番目のパックが存
在すれば、すなわちステップST44で分解処理したパ
ックが最終パックでなければ(ステップST52ノ
ー)、インクリメントされたi番目の副映像パックに対
する分解処理(ステップST44)が実行される。
If the incremented i-th pack exists, that is, if the pack decomposed in step ST44 is not the final pack (NO in step ST52), the incremented i-th sub-picture pack is decomposed (step ST44). ) Is executed.

【0368】分解されたi番目の副映像パック(ここで
は2番目のパック)は、1番目に分解されたパックと同
様に副映像バッファ(メモリ108)に一時格納され
(ステップST46)、インデックスパラメータ”i”
がさらに1つインクリメントされる(ステップST5
0)。
The decomposed i-th sub-picture pack (here, the second pack) is temporarily stored in the sub-picture buffer (memory 108) similarly to the first decomposed pack (step ST46), and the index parameter is set. "I"
Is further incremented by 1 (step ST5
0).

【0369】以上のようにして、インデックスパラメー
タ”i”をインクリメントしながら複数の副映像パック
が連続的に分解され(ステップST44)、副映像バッ
ファ(メモリ108)に格納される(ステップST4
6)。
As described above, a plurality of sub-picture packs are continuously decomposed while incrementing the index parameter "i" (step ST44) and stored in the sub-picture buffer (memory 108) (step ST4).
6).

【0370】連続してインクリメントされたi番目のパ
ックが存在しなくなれば、すなわちステップST44で
分解処理したパックが最終パックであれば(ステップS
T52イエス)、デコードしようとするストリームの副
映像パック分解処理が終了する。
If there is no i-th pack that is continuously incremented, that is, if the pack decomposed in step ST44 is the final pack (step S
(YES at T52), the sub-picture pack decomposition process of the stream to be decoded ends.

【0371】上記副映像パック分解処理(ステップST
44〜ST52)が連続的に実行されている最中に、こ
の副映像パック分解処理と並行して、副映像バッファ
(メモリ108)に一時格納された副映像パックのデコ
ード処理が行われる。
[0371] The sub-picture pack decomposition process (step ST
44 to ST52) are continuously executed, the sub-picture packs temporarily stored in the sub-picture buffer (memory 108) are decoded in parallel with the sub-picture pack decomposition processing.

【0372】すなわち、インデックスパラメータ”j”
にインデックスパラメータ”i=1”がセットされると
(ステップST48)、j=1番目の副映像パックがメ
モリ108から読み出され(ステップST62)、j=
1番目の副映像パックのデコード処理が行われる(ステ
ップST64)。
That is, the index parameter "j"
When the index parameter “i = 1” is set to (step ST48), the j = 1st sub-picture pack is read from the memory 108 (step ST62), and j =
The first sub-picture pack is decoded (step ST64).

【0373】このj=1番目の副映像パックのデコード
処理(ステップST64)中に、ステップST50で1
つインクリメントされたi=2番目の副映像パックの分
解処理(ステップST44)が並列処理される。
During the decoding process (step ST64) of this j = 1st sub-picture pack, 1 is set in step ST50.
The i = 2nd sub-picture pack that has been incremented by one is decomposed (step ST44) in parallel.

【0374】以上のデコード処理(ステップST62〜
ST64)は、終了コマンドCMDENDが実行されな
い限り(ステップST66ノー)反復される。デコード
処理は、終了コマンドCMDENDの実行をもって終了
する(ステップST66イエス)。
The above decoding process (steps ST62-
ST64) is repeated unless end command CMDEND is executed (NO in step ST66). The decoding process ends when the end command CMDEND is executed (YES in step ST66).

【0375】[0375]

【発明の効果】以上説明したように、この発明によれ
ば、副映像データの表示空間的な無駄と表示時間的な無
駄とを大幅に削減できるとともに、ビットマップデータ
方式並の副映像表現の自由性を達成でき、幅広い副映像
の用途を確保することができる。
As described above, according to the present invention, display space waste and display time waste of sub-picture data can be significantly reduced, and a sub-picture representation similar to that of the bit map data system can be achieved. Freedom can be achieved and a wide range of sub-picture applications can be secured.

【0376】すなわち、この発明においては、副映像デ
ータ中の表示に使用すべき範囲を設定するための使用範
囲設定情報を設け、その使用範囲以外のデータを表示し
ないようにすることで、1フレーム分全てのデータを表
示系に送る場合に生じてしまうデータ量の表示空間的な
無駄を大幅に削減することができる。
That is, according to the present invention, the use range setting information for setting the range to be used for display in the sub-picture data is provided, and the data other than the use range is not displayed so that one frame is displayed. It is possible to significantly reduce display space waste of the data amount that occurs when all the data is sent to the display system.

【0377】また、この発明においては、副映像データ
のパターン画素、ふちどり、背景等、画素種別毎の色設
定情報および副映像の混合比設定情報を設け、副映像表
示データとして副映像イメージの形状情報だけを持たせ
ることで、画素毎に色情報および混合比情報を持たせる
従来方式と同程度の副映像形状表現性を、より少ないデ
ータ量で保証できる。
Further, according to the present invention, color setting information for each pixel type such as pattern pixels, trimming, background, etc. of sub-picture data and sub-picture mixture ratio setting information are provided, and the shape of the sub-picture image is used as sub-picture display data. By providing only the information, it is possible to guarantee the sub-image shape expression similar to the conventional method in which the color information and the mixing ratio information are provided for each pixel with a smaller amount of data.

【0378】さらにこの発明においては、副映像データ
の画素種別毎の色、および主映像に対する副映像データ
の画素種別毎の混合比の変化を、画素単位で設定するた
めに色/混合比変化設定情報を設けたので、副映像の動
的な表示を、従来のビットマップデータ方式と同等の精
度で、しかもビットマップデータ方式よりも少ないデー
タ量で、実現できる。
Further, according to the present invention, the color / mixing ratio change setting is performed in order to set the change of the color for each pixel type of the sub-picture data and the change of the mixing ratio for each pixel type of the sub-picture data with respect to the main picture in pixel units. Since the information is provided, the dynamic display of the sub-picture can be realized with the same accuracy as that of the conventional bitmap data method and with a smaller data amount than that of the bitmap data method.

【0379】なお、副映像は1画素毎に色情報が変化す
るものは希であり、色/混合比変化設定情報自体のデー
タ量が過度なものになる心配はない。
It is rare that the color information of each sub-picture changes in each pixel, and there is no fear that the data amount of the color / mixing ratio change setting information itself becomes excessive.

【0380】さらに、この発明においては、副映像イメ
ージの色が変化したとしても、その形状が変化しない限
り、同じ副映像データを用いて複数フレーム時間に跨っ
て副映像を表示できる。したがって、色・形が変化する
しないに拘わらずフレーム周期で副映像データを表示系
に与え続けなければならない従来方式に比べて、副映像
データの表示時間的な無駄を大幅に削減することができ
る。
Furthermore, in the present invention, even if the color of the sub-picture image changes, the sub-picture can be displayed over a plurality of frame times using the same sub-picture data as long as the shape does not change. Therefore, it is possible to significantly reduce the waste of the display time of the sub-picture data, as compared with the conventional method in which the sub-picture data must be continuously supplied to the display system at the frame cycle regardless of the color / shape change. .

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

【図1】この発明を適用できる情報保持媒体の一例とし
ての光ディスクの記録データ構造を略示する図。
FIG. 1 is a diagram schematically showing a recording data structure of an optical disc as an example of an information holding medium to which the present invention can be applied.

【図2】図1の光ディスクに記録されるデータの論理構
造を例示する図。
FIG. 2 is a diagram illustrating a logical structure of data recorded on the optical disc of FIG.

【図3】図2で例示したデータ構造のうち、エンコード
(ランレングス圧縮、表示制御シーケンステーブルの付
加など)される副映像パックの論理構造を例示する図。
3 is a diagram exemplifying a logical structure of a sub-picture pack to be encoded (run length compression, addition of a display control sequence table, etc.) among the data structures illustrated in FIG. 2;

【図4】図3で例示した副映像パックのうち、この発明
の一実施の形態に係るエンコード方法が適用される副映
像データ部分の内容を例示する図。
FIG. 4 is a diagram exemplifying the contents of a sub-picture data portion of the sub-picture pack illustrated in FIG. 3 to which the encoding method according to the embodiment of the present invention is applied.

【図5】図4で例示した副映像データ部分を構成する画
素データが複数ビット(ここでは2ビット)で構成され
る場合において、この発明の一実施の形態に係るエンコ
ード方法で採用される圧縮規則1〜6を説明する図。
FIG. 5 is a compression adopted by the encoding method according to the embodiment of the present invention when the pixel data forming the sub-picture data portion illustrated in FIG. 4 is formed of a plurality of bits (here, 2 bits). The figure explaining rule 1-6.

【図6】図4で例示した副映像データ部分を構成する画
素データが1ビットで構成される場合において、この発
明の他実施の形態に係るエンコード方法で採用される圧
縮規則11〜15を説明する図。
FIG. 6 illustrates compression rules 11 to 15 used in an encoding method according to another embodiment of the present invention when pixel data forming the sub-picture data portion illustrated in FIG. 4 is formed of 1 bit. Figure to do.

【図7】図4で例示した副映像データ部分を構成する画
素データが、たとえば第1〜第9ラインで構成され、各
ライン上に2ビット構成の画素(最大4種類)が並んで
おり、各ライン上の2ビット画素により文字パターン
「A」および「B」が表現されている場合において、各
ラインの画素データが、どのようにエンコード(ランレ
ングス圧縮)されるかを具体的に説明する図。
FIG. 7 is a diagram in which pixel data configuring the sub-picture data portion illustrated in FIG. 4 is configured of, for example, first to ninth lines, and 2-bit configuration pixels (up to four types) are arranged on each line, A specific description will be given of how the pixel data of each line is encoded (run-length compressed) when the character patterns “A” and “B” are expressed by the 2-bit pixels on each line. Fig.

【図8】図7の例でエンコードされた画素データ(副映
像データ)のうち、文字パターン「A」がどのようにデ
コードされるかを、2例(ノンインターレース表示およ
びインターレース表示)説明する図。
8A and 8B are diagrams illustrating two examples (non-interlaced display and interlaced display) of how the character pattern "A" is decoded in the pixel data (sub-picture data) encoded in the example of FIG. .

【図9】図4で例示した副映像データ部分を構成する画
素データが2ビットで構成される場合において、この発
明の一実施の形態に係るエンコード方法で採用される圧
縮規則1〜6を具体的に説明する図。
9 illustrates compression rules 1 to 6 used in the encoding method according to the embodiment of the present invention when pixel data forming the sub-picture data portion illustrated in FIG. 4 is formed of 2 bits. FIG.

【図10】この発明に基づきエンコードされた画像情報
を持つ高密度光ディスクの、量産からユーザサイドにお
ける再生までの流れを説明するとともに;この発明に基
づきエンコードされた画像情報の、放送/ケーブル配信
からユーザ/加入者における受信/再生までの流れを説
明するブロック図。
FIG. 10 illustrates the flow from mass production to reproduction on the user side of a high-density optical disc having image information encoded according to the present invention; from broadcasting / cable distribution of image information encoded according to the present invention. The block diagram explaining the flow to a user / subscriber's reception / playback.

【図11】この発明に基づく画像デコード(ランレング
ス伸張など)を実行するデコーダハードウエアの一実施
形態(ノンインターレース仕様)を説明するブロック
図。
FIG. 11 is a block diagram illustrating an embodiment (non-interlaced specification) of decoder hardware that executes image decoding (run length extension, etc.) according to the present invention.

【図12】この発明に基づく画像デコード(ランレング
ス伸張部分)を実行するデコーダハードウエアの他実施
形態(インターレース仕様)を説明するブロック図。
FIG. 12 is a block diagram illustrating another embodiment (interlace specification) of decoder hardware that executes image decoding (run length extension part) according to the present invention.

【図13】この発明の一実施の形態に係る画像エンコー
ド(ランレングス圧縮部分)を実行するものであって、
たとえば図10のエンコーダ(200)により実行され
るソフトウエアを説明するフローチャート図。
FIG. 13 is a diagram for performing image encoding (run-length compression part) according to the embodiment of the present invention,
FIG. 11 is a flow chart diagram illustrating software executed by the encoder (200) of FIG. 10, for example.

【図14】図13のソフトウエアで使用されるエンコー
ドステップ(ST806)の内容の一例を説明するフロ
ーチャート図。
14 is a flowchart illustrating an example of contents of an encoding step (ST806) used by the software of FIG.

【図15】この発明の一実施の形態に係る画像デコード
(ランレングス伸張部分)を実行するものであって、た
とえば図11あるいは図12のMPU(112)により
実行されるソフトウエアを説明するフローチャート図。
FIG. 15 is a flowchart for explaining the software executed by the MPU (112) of FIG. 11 or 12 for executing the image decoding (run-length extension part) according to the embodiment of the present invention. Fig.

【図16】図15のソフトウエアで使用されるデコード
ステップ(ST1005)の内容の一例を説明するフロ
ーチャート図。
16 is a flowchart diagram illustrating an example of the contents of a decoding step (ST1005) used in the software of FIG.

【図17】この発明に基づく画像デコード(ランレング
ス伸張など)を実行するデコーダハードウエアの他実施
形態を説明するブロック図。
FIG. 17 is a block diagram illustrating another embodiment of decoder hardware for performing image decoding (run length extension, etc.) according to the present invention.

【図18】この発明の他実施の形態に係る画像デコード
(ランレングス伸張部分)処理の前半を説明するフロー
チャート図。
FIG. 18 is a flowchart diagram for explaining the first half of the image decoding (run length extension part) processing according to another embodiment of the present invention.

【図19】この発明の他実施の形態に係る画像デコード
(ランレングス伸張部分)処理の後半を説明するフロー
チャート図。
FIG. 19 is a flowchart diagram for explaining the latter half of the image decoding (run length extension portion) processing according to another embodiment of the present invention.

【図20】図18の符号化ヘッダ検出ステップ(ST1
205)の内容の一例を説明するフローチャート図。
FIG. 20 is a step of detecting the encoded header of FIG. 18 (ST1
205) is a flow chart for explaining an example of the contents of (205).

【図21】デコードされた画像がスクロールされる場合
において、この発明の画像デコード処理がどのようにな
されるかを説明するフローチャート図。
FIG. 21 is a flowchart showing how the image decoding process of the present invention is performed when the decoded image is scrolled.

【図22】この発明に基づきエンコードされた画像情報
を持つ高密度光ディスクから再生された圧縮データがそ
のまま放送またはケーブル配信され、放送またはケーブ
ル配信された圧縮データがユーザまたは加入者側でデコ
ードされる場合を説明するブロック図。
FIG. 22: Compressed data reproduced from a high density optical disc having image information encoded according to the present invention is directly broadcast or cable distributed, and the compressed data broadcast or cable distributed is decoded by the user or subscriber side. The block diagram explaining a case.

【図23】この発明に基づきエンコードされた画像情報
が、通信ネットワーク(インターネットなど)を介し
て、任意の2コンピュータユーザ間で送受される場合を
説明するブロック図。
FIG. 23 is a block diagram illustrating a case where image information encoded according to the present invention is transmitted and received between arbitrary two computer users via a communication network (Internet or the like).

【図24】この発明に基づくエンコードおよびデコード
が実行される光ディスク記録再生装置の概要を説明する
ブロック図。
FIG. 24 is a block diagram illustrating an outline of an optical disc recording / reproducing device that performs encoding and decoding according to the present invention.

【図25】この発明に基づくエンコーダがIC化された
状態を例示する図。
FIG. 25 is a diagram exemplifying a state in which an encoder according to the present invention is integrated into an IC.

【図26】この発明に基づくデコーダがIC化された状
態を例示する図。
FIG. 26 is a diagram exemplifying a state in which a decoder according to the present invention is integrated into an IC.

【図27】この発明に基づくエンコーダおよびデコーダ
がIC化された状態を例示する図。
FIG. 27 is a diagram exemplifying a state in which an encoder and a decoder according to the present invention are integrated.

【図28】副映像データブロック内のタイムスタンプ
(PTS)の位置を説明する図。
FIG. 28 is a diagram illustrating the position of a time stamp (PTS) in a sub-picture data block.

【図29】副映像パケットのデータ構造を説明する図。FIG. 29 is a diagram illustrating a data structure of a sub-picture packet.

【図30】直列に並んだ副映像ユニットと、そのうちの
1ユニットのパケットヘッダに記述されたタイムスタン
プ(PTS)および表示制御シーケンス(DCSQ)と
の対応関係を例示する図。
FIG. 30 is a diagram exemplifying a correspondence relationship between sub-picture units arranged in series and a time stamp (PTS) and a display control sequence (DCSQ) described in the packet header of one of the sub-picture units.

【図31】図3または図4の副映像ユニットヘッダ(S
PUH)に含まれるパラメータのうち、副映像サイズお
よび表示制御シーケンステーブルの開始アドレス(DC
SQの相対アドレスポインタ)を説明する図。
FIG. 31 shows a sub-picture unit header (S
Of the parameters included in PUH), the sub-picture size and the start address (DC) of the display control sequence table
The figure explaining the relative address pointer of SQ.

【図32】副映像表示制御シーケンステーブル(SPD
CSQT)の構成を説明する図。
FIG. 32 is a sub-picture display control sequence table (SPD
The figure explaining the structure of CSQT).

【図33】図32のテーブル(SPDCSQT)を構成
する各パラメータ(DCSQ)の中身を説明する図。
FIG. 33 is a diagram for explaining the contents of each parameter (DCSQ) that constitutes the table (SPDCSQT) of FIG. 32.

【図34】副映像の表示制御コマンド(SPDCCM
D)の内容を説明する図。
FIG. 34 is a sub-picture display control command (SPDCCM
The figure explaining the content of D).

【図35】画素制御データ(PCD)の内容を説明する
図。
FIG. 35 is a diagram for explaining the content of pixel control data (PCD).

【図36】図34に例示されたコマンドセットのうち、
副映像の画素データの表示開始タイミングを強制的にセ
ットするコマンドFSTADSPのビット構成を説明す
る図。
36 is a diagram showing a command set illustrated in FIG.
The figure explaining the bit structure of the command FSTADSP which forcibly sets the display start timing of the pixel data of a subvideo.

【図37】図34に例示されたコマンドセットのうち、
副映像の画素データの表示開始タイミングをセットする
コマンドSTADSPのビット構成を説明する図。
37 is a diagram showing a command set illustrated in FIG.
The figure explaining the bit structure of command STADSP which sets the display start timing of the pixel data of a subvideo.

【図38】図34に例示されたコマンドセットのうち、
副映像の画素データの表示終了タイミングをセットする
コマンドSTPDSPのビット構成を説明する図。
38 is a diagram showing a command set illustrated in FIG.
The figure explaining the bit structure of the command STPDSP which sets the display end timing of the pixel data of a subvideo.

【図39】図34に例示されたコマンドセットのうち、
副映像の画素データのカラーコードをセットするコマン
ドSETCOLORのビット構成を説明する図。
FIG. 39 is a block diagram showing an example of the command set shown in FIG.
The figure explaining the bit structure of command SETCOLOR which sets the color code of the pixel data of a subpicture.

【図40】副映像データプロセサ(たとえば図11のデ
コーダ101)内部での色データの処理の一例を説明す
る図。
FIG. 40 is a diagram illustrating an example of color data processing inside a sub-picture data processor (for example, the decoder 101 in FIG. 11).

【図41】図34に例示されたコマンドセットのうち、
副映像と主映像との間のコントラストをセットするコマ
ンドSETCONTRのビット構成を説明する図。
FIG. 41 is a block diagram showing the command set illustrated in FIG.
The figure explaining the bit structure of the command SETCONTR which sets the contrast between a subpicture and a main picture.

【図42】図34に例示されたコマンドセットのうち、
副映像画素データの表示エリアをセットするコマンドS
ETDAREAのビット構成を説明する図。
42 is a diagram showing the command set illustrated in FIG.
Command S to set the display area of sub-picture pixel data
The figure explaining the bit structure of ETDAREA.

【図43】図34に例示されたコマンドセットのうち、
副映像画素データの表示開始アドレスをセットするコマ
ンドSETDSPXAのビット構成を説明する図。
FIG. 43 is a block diagram showing an example of the command set shown in FIG.
The figure explaining the bit structure of the command SETDSPXA which sets the display start address of sub-picture pixel data.

【図44】図34に例示されたコマンドセットのうち、
副映像画素データのカラーおよびコントラストを切り換
えるコマンドCHGCOLCONのビット構成を説明す
る図。
FIG. 44 is a block diagram showing an example of the command set shown in FIG.
The figure explaining the bit structure of command CHGCOLCON which switches the color and contrast of sub-picture pixel data.

【図45】図34に例示されたコマンドセットのうち、
副映像の表示制御を終了するコマンドCMDENDのビ
ット構成を説明する図。
FIG. 45 is a block diagram showing an example of the command set illustrated in FIG.
The figure explaining the bit structure of command CMDEND which ends the display control of a subpicture.

【図46】図35に例示された画素制御データ(PC
D)のパラメータのうち、画素ラインのライン制御情報
LCINFのビット構成を説明する図。
FIG. 46 is a block diagram of the pixel control data (PC
FIG. 6 is a diagram illustrating a bit configuration of line control information LCINF of a pixel line among parameters of D).

【図47】図35に例示された画素制御データ(PC
D)のパラメータのうち、画素制御情報PCINFのビ
ット構成を説明する図。
FIG. 47 is a block diagram of the pixel control data (PC
FIG. 6 is a diagram illustrating a bit configuration of pixel control information PCINF among parameters of D).

【図48】副映像表示フレームの具体例を説明する図。FIG. 48 is a diagram illustrating a specific example of a sub-picture display frame.

【図49】副映像表示フレームが図48に示すようにな
っている場合に、図35の画素制御データ(PCD)の
各パラメータの内容がどのようになるかを具体的に説明
する図。
FIG. 49 is a diagram for specifically explaining what the contents of each parameter of the pixel control data (PCD) in FIG. 35 will be when the sub-picture display frame is as shown in FIG. 48.

【図50】この発明を用いずに副映像をビットマップデ
ータ処理する場合の問題点を説明する図。
FIG. 50 is a diagram for explaining a problem when sub-picture is bitmap data processed without using the present invention.

【図51】この発明を用いずに副映像を処理する場合の
問題点をさらに説明する図。
FIG. 51 is a view for further explaining the problem when processing a sub-picture without using the present invention.

【図52】この発明により副映像データをデコードする
場合において、副映像データブロックのバッファリング
状態が、タイムスタンプ(PTS)のある副映像チャネ
ルによってどのように変化するかを説明する図。
FIG. 52 is a diagram for explaining how the buffering state of a sub-picture data block changes according to a sub-picture channel having a time stamp (PTS) when sub-picture data is decoded according to the present invention.

【図53】表示制御シーケンス(DCSQ)の処理を中
心にした、この発明の副映像エンコード処理手順の一例
を説明するフローチャート図。
FIG. 53 is a flow chart for explaining an example of the sub-picture encoding processing procedure of the present invention, focusing on the processing of the display control sequence (DCSQ).

【図54】図53の処理手順でエンコードされた副映像
データストリームのパック分解およびデコードを並列処
理する手順の一例を説明するフローチャート図。
54 is a flow chart diagram illustrating an example of a procedure for performing parallel processing of pack decomposition and decoding of the sub-picture data stream encoded by the processing procedure of FIG. 53.

【図55】図54のパック分解処理の一例を説明するフ
ローチャート図。
55 is a flowchart showing an example of the pack disassembling process shown in FIG. 54.

【図56】図54の副映像デコード処理の一例を説明す
るフローチャート図。
56 is a flowchart diagram illustrating an example of sub-picture decoding processing in FIG. 54.

【図57】図53の処理手順でエンコードされた副映像
データストリームのパック分解およびデコードを並列処
理する手順の他例を説明するフローチャート図。
FIG. 57 is a flowchart diagram illustrating another example of a parallel processing of pack decomposition and decoding of the sub-picture data stream encoded by the processing procedure of FIG. 53.

【図58】副映像の表示モードがインターレースモード
である場合の、副映像データ(PXD)の記録方法を説
明する図。
FIG. 58 is a diagram illustrating a method of recording sub-picture data (PXD) when the sub-picture display mode is the interlace mode.

【図59】図29に示すパケット内の表示制御シーケン
ステーブルの具体例を示す図。
FIG. 59 is a diagram showing a specific example of a display control sequence table in the packet shown in FIG. 29.

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

1…ファイル管理情報;2…映像用データ;PH…パケ
ットヘッダ;30…副映像ユニット;31…副映像ユニ
ットヘッダSPUH;32…副映像の画素データPX
D;33…表示制御シーケンステーブルDCSQT;1
01…デコーダ;102…データI/O;103…符号
化データ切分部;104…画素色出力部(FIFOタイ
プ);105…メモリ制御部;106…継続コード長検
知部;107…ラン長設定部;108…メモリ;109
…アドレス制御部;110…表示有効許可部;111…
不足画素色設定部;112…マイクロコンピュータ(M
PUまたはCPU);113…ヘッダ切分部;114…
ラインメモリ;115…セレクタ;118…セレクト信
号生成部;120…システムタイマ;121…バッファ
メモリ;1210…色レジスタ;1220…変化色レジ
スタ;200…エンコーダ;202…レーザカッティン
グ装置;204…光ディスクマスタ;206…2枚貼合
せ高密度光ディスク量産設備;202〜206…記録装
置;210…変調器/送信器;212…放送部/ケーブ
ル出力部;300…ディスクプレーヤ(再生装置);4
00…受信器/復調器(再生装置);5001(500
N)…パーソナルコンピュータ;5011(501N)
…入出力機器類;5021(502N)…外部記憶装置
類;5031(503N)…エンコーダ/デコーダおよ
びモデム;702…変調器/レーザドライバ;704…
光ヘッド(記録レーザ);706…光ヘッド(読取レー
ザ/レーザピックアップ);708…復調器/エラー訂
正部;710…オーディオ/ビデオデータ処理部(副映
像データのデコード処理部を含む);OD…2枚貼合せ
高密度光ディスク(記録媒体)。
1 ... File management information; 2 ... Video data; PH ... Packet header; 30 ... Sub-picture unit; 31 ... Sub-picture unit header SPUH; 32 ... Sub-picture pixel data PX
D; 33 ... Display control sequence table DCSQT; 1
01 ... Decoder; 102 ... Data I / O; 103 ... Encoded data dividing section; 104 ... Pixel color output section (FIFO type); 105 ... Memory control section; 106 ... Continuation code length detection section; 107 ... Run length setting Part; 108 ... Memory; 109
... Address control unit; 110 ... Display validity permission unit; 111 ...
Insufficient pixel color setting unit; 112 ... Microcomputer (M
PU or CPU); 113 ... Header division part; 114 ...
Line memory; 115 ... Selector; 118 ... Select signal generation unit; 120 ... System timer; 121 ... Buffer memory; 1210 ... Color register; 1220 ... Change color register; 200 ... Encoder; 202 ... Laser cutting device; 204 ... Optical disc master; 206 ... Two-sheet laminated high-density optical disk mass production facility; 202-206 ... Recording device; 210 ... Modulator / transmitter; 212 ... Broadcast unit / cable output unit; 300 ... Disc player (playback device);
00 ... Receiver / demodulator (reproducing device); 5001 (500
N) ... Personal computer; 5011 (501N)
Input / output devices 5021 (502N) External storage devices 5031 (503N) Encoder / decoder and modem 702 Modulator / laser driver 704
Optical head (recording laser); 706 ... Optical head (reading laser / laser pickup); 708 ... Demodulator / error correction unit; 710 ... Audio / video data processing unit (including sub-picture data decoding processing unit); OD ... Two high-density optical discs (recording media).

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三村 英紀 神奈川県川崎市幸区柳町70番地 株式会社 東芝柳町工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hideki Mimura 70 Yanagimachi, Saiwai-ku, Kawasaki-shi, Kanagawa Toshiba Yanagimachi factory

Claims (71)

【特許請求の範囲】[Claims] 【請求項1】 主映像データとともに同時再生可能な副
映像データを所定の単位でパケット化して記録媒体に記
録するものにおいて、 少なくとも、基準時刻を用いて表現した前記副映像デー
タパケットの再生開始時刻を含むパケットヘッダ情報
と、副映像の表示内容である副映像データと、この副映
像データを用いて前記副映像を表示するための制御手順
を示す1以上の表示制御シーケンス情報と、前記副映像
データパケットのサイズおよび前記表示制御シーケンス
情報の記録位置を含む副映像ヘッダ情報とで、前記副映
像パケットを構成したことを特徴とするデータ記録方
法。
1. A reproduction start time of the sub-picture data packet expressed by using at least a reference time, in which sub-picture data that can be reproduced simultaneously with the main picture data is packetized in a predetermined unit and recorded in a recording medium. Including packet header information, sub-picture data that is the display content of the sub-picture, one or more display control sequence information indicating a control procedure for displaying the sub-picture using the sub-picture data, and the sub-picture. A data recording method, characterized in that the sub-picture packet is composed of sub-picture header information including a size of a data packet and a recording position of the display control sequence information.
【請求項2】 主映像データとともに同時再生可能な副
映像データを所定の単位でパケット化して記録媒体に記
録するものにおいて、 少なくとも、基準時刻を用いて表現した前記副映像デー
タパケットの再生開始時刻を含むパケットヘッダ情報
と、副映像の表示内容である副映像データと、この副映
像データを用いて前記副映像を表示するための制御手順
を示す1以上の表示制御シーケンス情報と、前記副映像
データパケットのサイズおよび前記表示制御シーケンス
情報の記録位置を含む副映像ヘッダ情報とで、前記副映
像パケットを構成し;かつ、前記パケットヘッダ情報内
の前記副映像データパケットの再生時刻を、前記副映像
データブロック内の先頭の副映像データパケットに対し
てのみ記録したことを特徴とするデータ記録方法。
2. A sub-picture data packet which can be reproduced simultaneously with the main picture data is packetized in a predetermined unit and recorded on a recording medium, and at least a reproduction start time of the sub-picture data packet expressed using a reference time. Including packet header information, sub-picture data that is the display content of the sub-picture, one or more display control sequence information indicating a control procedure for displaying the sub-picture using the sub-picture data, and the sub-picture. The sub-picture header information including the size of the data packet and the recording position of the display control sequence information constitutes the sub-picture packet; and the reproduction time of the sub-picture data packet in the packet header information is set to the sub-picture data. A data recording method characterized in that recording is performed only for the first sub-video data packet in a video data block.
【請求項3】 前記表示制御シーケンス情報が、少なく
とも、副映像の表示開始時刻および表示終了時刻と、表
示すべき前記副映像データの記録位置と、この記録位置
に記録された副映像データに対する表示制御情報群とで
構成されることを特徴とする請求項1または2に記載の
データ記録方法。
3. The display control sequence information includes at least a display start time and a display end time of a sub-picture, a recording position of the sub-picture data to be displayed, and a display for the sub-picture data recorded at this recording position. The data recording method according to claim 1 or 2, comprising a control information group.
【請求項4】 前記副映像の表示開始時刻および表示終
了時刻が、前記副映像データパケットの再生開始時刻か
らの相対時間で規定されていることを特徴とする請求項
3に記載のデータ記録方法。
4. The data recording method according to claim 3, wherein the display start time and the display end time of the sub-picture are defined by relative time from the reproduction start time of the sub-picture data packet. .
【請求項5】 前記表示制御情報として、前記表示制御
シーケンス情報に含まれる前記表示開始時刻を基に前記
副映像データの表示を開始するような制御を行なうため
の表示開始制御情報が記録されることを特徴とする請求
項3に記載のデータ記録方法。
5. As the display control information, display start control information for performing control for starting display of the sub-picture data based on the display start time included in the display control sequence information is recorded. The data recording method according to claim 3, wherein:
【請求項6】 前記表示制御情報として、前記表示制御
シーケンス情報に含まれる前記表示終了時刻を基に前記
副映像データの表示が終了するような制御を行なうため
の表示終了制御情報が記録されることを特徴とする請求
項3に記載のデータ記録方法。
6. The display control information is recorded as display end control information for performing control such that display of the sub-picture data ends based on the display end time included in the display control sequence information. The data recording method according to claim 3, wherein:
【請求項7】 前記表示制御情報として、前記副映像デ
ータの画素種別毎の色を設定するための色設定情報が記
録されることを特徴とする請求項3に記載のデータ記録
方法。
7. The data recording method according to claim 3, wherein as the display control information, color setting information for setting a color for each pixel type of the sub-picture data is recorded.
【請求項8】 前記表示制御情報として、前記主映像に
対する前記副映像データの画素種別毎の混合比を設定す
るための混合比設定情報が記録されることを特徴とする
請求項3に記載のデータ記録方法。
8. The mixture ratio setting information for setting a mixture ratio for each pixel type of the sub-picture data with respect to the main picture is recorded as the display control information. Data recording method.
【請求項9】 前記表示制御情報として、前記主映像上
の前記副映像データの表示領域を設定するための表示領
域設定情報が記録されることを特徴とする請求項3に記
載のデータ記録方法。
9. The data recording method according to claim 3, wherein display area setting information for setting a display area of the sub-picture data on the main picture is recorded as the display control information. .
【請求項10】 前記表示制御情報として、前記副映像
データ中の表示に使用すべき範囲を設定するための使用
範囲設定情報が記録されることを特徴とする請求項3に
記載のデータ記録方法。
10. The data recording method according to claim 3, wherein use range setting information for setting a range to be used for display in the sub-picture data is recorded as the display control information. .
【請求項11】 前記表示制御情報として、前記副映像
データの画素種別毎の色の変化、および前記主映像に対
する前記副映像データの画素種別毎の混合比の変化を、
画素単位で設定するための色/混合比変化設定情報が記
録されることを特徴とする請求項3に記載のデータ記録
方法。
11. The display control information includes a change in color of each sub-picture data for each pixel type and a change in a mixing ratio of each sub-picture data with respect to the main video for each pixel type.
4. The data recording method according to claim 3, wherein color / mixing ratio change setting information for setting in pixel units is recorded.
【請求項12】 前記表示制御情報として、前記副映像
データの表示制御の終了を設定するための表示制御終了
設定情報が記録されることを特徴とする請求項3に記載
のデータ記録方法。
12. The data recording method according to claim 3, wherein display control end setting information for setting an end of display control of the sub-picture data is recorded as the display control information.
【請求項13】 主映像データとともに同時再生可能な
副映像データが所定の単位でパケット化されて記録され
るものにおいて、 記録されるデータパケットが、少なくとも、基準時刻を
用いて表現した前記副映像データパケットの再生開始時
刻を含むパケットヘッダ情報と、副映像の表示内容であ
る副映像データと、この副映像データを用いて前記副映
像を表示するための制御手順を示す1以上の表示制御シ
ーケンス情報と、前記副映像データパケットのサイズお
よび前記表示制御シーケンス情報の記録位置を含む副映
像ヘッダ情報とで構成されることを特徴とする記録媒
体。
13. The sub-picture data, which can be reproduced simultaneously with the main picture data, is packetized and recorded in a predetermined unit, and the recorded data packet is represented by using at least a reference time. Packet header information including a reproduction start time of a data packet, sub-picture data that is the display content of the sub-picture, and one or more display control sequences indicating a control procedure for displaying the sub-picture using the sub-picture data. A recording medium comprising information and sub-picture header information including a size of the sub-picture data packet and a recording position of the display control sequence information.
【請求項14】 主映像データとともに同時再生可能な
副映像データが所定の単位でパケット化されて記録され
るものにおいて、 記録されるデータパケットが、少なくとも、基準時刻を
用いて表現した前記副映像データパケットの再生開始時
刻を含むパケットヘッダ情報と、副映像の表示内容であ
る副映像データと、この副映像データを用いて前記副映
像を表示するための制御手順を示す1以上の表示制御シ
ーケンス情報と、前記副映像データパケットのサイズお
よび前記表示制御シーケンス情報の記録位置を含む副映
像ヘッダ情報とで構成され、 かつ、前記パケットヘッダ情報内の前記副映像データパ
ケットの再生時刻が、前記副映像データブロック内の先
頭の副映像データパケットに対してのみ記録されること
を特徴とする記録媒体。
14. The sub-picture data that can be simultaneously reproduced together with the main picture data is recorded in a packet in a predetermined unit, and the recorded data packet is at least the reference time. Packet header information including a reproduction start time of a data packet, sub-picture data that is the display content of the sub-picture, and one or more display control sequences indicating a control procedure for displaying the sub-picture using the sub-picture data. Information and sub-picture header information including the size of the sub-picture data packet and the recording position of the display control sequence information, and the reproduction time of the sub-picture data packet in the packet header information is the sub-picture data packet. A recording medium characterized in that it is recorded only for the first sub-picture data packet in the picture data block.
【請求項15】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を構
成するものであって所定の方法で圧縮された画素データ
を含む副映像情報と;前記副映像情報を用いて前記副映
像を表示する順序を制御するための、1またはそれ以上
の表示制御シーケンスを含む表示制御シーケンス情報
と;前記副映像パケットのサイズおよび前記表示制御シ
ーケンス情報のロケーションを含む副映像ヘッダ情報
と;を用いて、前記副映像パケットをエンコードするこ
とを特徴とする画像情報のエンコード方法。
15. A sub-picture that is reproducible together with a main picture is packetized in a predetermined unit, packet header information including a time stamp representing a reproduction start time of a packet of the sub-picture; And sub-picture information including pixel data compressed by a predetermined method; and one or more display control sequences for controlling the order in which the sub-pictures are displayed using the sub-picture information. A method for encoding image information, characterized in that the sub-picture packet is encoded using display control sequence information including: sub-picture header information including a size of the sub-picture packet and a location of the display control sequence information. .
【請求項16】 主映像とともに再生可能な副映像を所
定の単位でパケット化し、複数のパケット化された画像
情報をパック化するものにおいて、 a)前記画像データパックの先頭パケットについては、
以下のものを用いてエンコードを行う:前記副映像のパ
ケットの再生開始時刻を表現したタイムスタンプを含む
パケットヘッダ情報、 前記副映像を構成するものであって所定の方法で圧縮さ
れた画素データを含む副映像情報、 前記副映像情報を用いて前記副映像を表示する順序を制
御するための、1またはそれ以上の表示制御シーケンス
を含む表示制御シーケンス情報、および前記副映像パケ
ットのサイズおよび前記表示制御シーケンス情報のロケ
ーションを含む副映像ヘッダ情報; b)前記画像データパックの2番目以降パケットについ
ては、以下のものを用いてエンコードを行う:前記副映
像を構成するものであって所定の方法で圧縮された画素
データを含む副映像情報、 前記副映像情報を用いて前記副映像を表示する順序を制
御するための、1またはそれ以上の表示制御シーケンス
を含む表示制御シーケンス情報、および前記副映像パケ
ットのサイズおよび前記表示制御シーケンス情報のロケ
ーションを含む副映像ヘッダ情報。
16. A sub-picture which is reproducible together with a main picture is packetized in a predetermined unit to pack a plurality of packetized image information, wherein: a) the first packet of the image data pack is:
Encoding is performed using the following: packet header information including a time stamp representing the reproduction start time of the packet of the sub-picture, pixel data that composes the sub-picture and is compressed by a predetermined method. Sub video information including, display control sequence information including one or more display control sequences for controlling an order of displaying the sub video using the sub video information, and size of the sub video packet and the display Sub-picture header information including location of control sequence information; b) Encode the second and subsequent packets of the image data pack using the following: Configure the sub-picture by a predetermined method. Sub-picture information including compressed pixel data, and controlling the order of displaying the sub-pictures using the sub-picture information Display control sequence information including one or more display control sequences, and sub-picture header information including a size of the sub-picture packet and a location of the display control sequence information.
【請求項17】 前記表示制御シーケンス情報が、 前記副映像の表示開始・終了時刻を特定するタイムデー
タと;表示すべき前記副映像の位置を特定するでアドレ
スデータと;前記アドレスデータで特定された位置の前
記表示すべき副映像に対する表示制御コマンド群とを含
むことを特徴とする請求項15または16に記載のエン
コード方法。
17. The display control sequence information is specified by time data specifying a display start / end time of the sub-picture; address data specifying a position of the sub-picture to be displayed; and address data specified by the address data. 17. The encoding method according to claim 15, further comprising a display control command group for the sub-image to be displayed at different positions.
【請求項18】 前記副映像情報の1フレームは、単一
のフィールドまたはトップフィールドとボトムフィール
ドの2つのフィールドで構成され;前記副映像情報のイ
ンターレース表示を行なう場合に、前記副映像情報の1
フレーム分は前記トップフィールドおよび前記ボトムフ
ィールドそれぞれに分離配置され;前記副映像情報のノ
ンインターレース表示を行なう場合に、前記副映像情報
の1フレーム分は前記単一のフィールドに配置されるこ
とを特徴とする請求項15または16に記載のエンコー
ド方法。
18. One frame of the sub-picture information is composed of a single field or two fields of a top field and a bottom field; when performing interlaced display of the sub-picture information, one frame of the sub-picture information is displayed.
A frame portion is separately arranged in each of the top field and the bottom field; when performing non-interlaced display of the sub-picture information, one frame of the sub-picture information is arranged in the single field. The encoding method according to claim 15 or 16.
【請求項19】 前記タイムデータは、前記副映像パケ
ットの再生開始時刻に対する相対時間で規定されている
ことを特徴とする請求項17に記載のエンコード方法。
19. The encoding method according to claim 17, wherein the time data is defined by a relative time with respect to a reproduction start time of the sub-picture packet.
【請求項20】 前記表示制御コマンド群中の表示制御
コマンドが、前記表示制御シーケンス情報に含まれる前
記タイムデータに基づき前記副映像情報の表示が開始さ
れるような制御を行なうための表示開始制御情報を含む
ことを特徴とする請求項17に記載のエンコード方法。
20. A display start control for controlling a display control command in the display control command group to start displaying the sub-picture information based on the time data included in the display control sequence information. 18. The encoding method according to claim 17, wherein the encoding method includes information.
【請求項21】 前記表示制御コマンド群中の表示制御
コマンドが、前記表示制御シーケンス情報に含まれる前
記タイムデータに基づき前記副映像情報の表示が終了さ
れるような制御を行なうための表示終了制御情報を含む
ことを特徴とする請求項17に記載のエンコード方法。
21. A display end control for performing control such that a display control command in the display control command group ends display of the sub-picture information based on the time data included in the display control sequence information. 18. The encoding method according to claim 17, wherein the encoding method includes information.
【請求項22】 前記表示制御コマンド群中の表示制御
コマンドが、前記副映像情報を構成する画素の色を設定
するための画素色設定情報を含むことを特徴とする請求
項17に記載のエンコード方法。
22. The encode according to claim 17, wherein the display control command in the display control command group includes pixel color setting information for setting a color of a pixel forming the sub-picture information. Method.
【請求項23】 前記表示制御コマンド群中の表示制御
コマンドが、前記主映像と前記副映像との混合比を設定
するためのコントラスト設定情報を含むことを特徴とす
る請求項17に記載のエンコード方法。
23. The encode according to claim 17, wherein the display control command in the display control command group includes contrast setting information for setting a mixing ratio of the main video and the sub video. Method.
【請求項24】 前記表示制御コマンド群中の表示制御
コマンドが、前記主映像の表示領域上における前記副映
像の表示領域を設定するための副映像表示領域設定情報
を含むことを特徴とする請求項17に記載のエンコード
方法。
24. The display control command in the display control command group includes sub-picture display area setting information for setting a display area of the sub-picture on the display area of the main picture. Item 17. The encoding method according to Item 17.
【請求項25】 前記表示制御コマンド群中の表示制御
コマンドが、前記副映像の表示領域上において前記副映
像の内容表示に使用される位置を設定するための副映像
使用範囲設定情報を含むことを特徴とする請求項17に
記載のエンコード方法。
25. A display control command in the display control command group includes sub-picture use range setting information for setting a position used for displaying the content of the sub-picture on the display area of the sub-picture. 18. The encoding method according to claim 17, wherein:
【請求項26】 前記表示制御コマンド群中の表示制御
コマンドが、前記副映像情報を構成する画素の色および
前記主映像に対する前記副映像のコントラストのうちの
少なくとも一方の切り換わり変化を、前記副映像情報を
構成する画素の単位で設定するための色/コントラスト
切換制御情報を含むことを特徴とする請求項17に記載
のエンコード方法。
26. A display control command in the display control command group changes the change of at least one of a color of a pixel forming the sub-picture information and a contrast of the sub-picture with respect to the main picture by the sub-picture. 18. The encoding method according to claim 17, further comprising color / contrast switching control information for setting in units of pixels forming video information.
【請求項27】 前記表示制御コマンド群中の表示制御
コマンドが、前記副映像の表示制御終了を指令するため
の表示制御終了コマンドを含むことを特徴とする請求項
17に記載のエンコード方法。
27. The encoding method according to claim 17, wherein the display control command in the display control command group includes a display control end command for instructing the end of display control of the sub-picture.
【請求項28】 主映像とともに再生可能な副映像を所
定の単位でパケット化した情報を保持するものであっ
て、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像パケ
ットのサイズを含む副映像ヘッダ情報と;前記副映像を
構成するものであって所定の方法で圧縮された画素デー
タを含む副映像情報と;前記副映像情報を用いて前記副
映像を表示する順序を制御するための、1またはそれ以
上の表示制御シーケンスを含む表示制御シーケンス情報
とが記録されていることを特徴とする画像情報の記録媒
体。
28. Information for packetizing sub video reproducible together with the main video in a predetermined unit is held, and packet header information including a time stamp expressing a reproduction start time of the packet of the sub video. Sub-picture header information including the size of the sub-picture packet; sub-picture information that constitutes the sub-picture and includes pixel data compressed by a predetermined method; and the sub-picture information using the sub-picture information. A recording medium for image information, characterized in that display control sequence information including one or more display control sequences for controlling the order of displaying images is recorded.
【請求項29】 主映像とともに再生可能な副映像を所
定の単位でパケット化し、複数のパケット化された画像
情報をパック化した情報を保持するものであって、 a)前記画像データパックの先頭パケットについては、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像パケ
ットのサイズを含む副映像ヘッダ情報と;前記副映像を
構成するものであって所定の方法で圧縮された画素デー
タを含む副映像情報と;前記副映像情報を用いて前記副
映像を表示する順序を制御するための、1またはそれ以
上の表示制御シーケンスを含む表示制御シーケンス情報
とが記録され、 b)前記画像データパックの2番目以降パケットについ
ては、 前記副映像パケットのサイズを含む副映像ヘッダ情報
と;前記副映像を構成するものであって所定の方法で圧
縮された画素データを含む副映像情報と;前記副映像情
報を用いて前記副映像を表示する順序を制御するため
の、1またはそれ以上の表示制御シーケンスを含む表示
制御シーケンス情報とが記録されていることを特徴とす
る画像情報の記録媒体。
29. A sub-picture that can be reproduced together with the main picture is packetized in a predetermined unit, and a plurality of pieces of packetized image information are held as a pack, and a) the top of the image data pack is stored. Regarding the packet, packet header information including a time stamp representing the reproduction start time of the packet of the sub-picture; sub-picture header information including the size of the sub-picture packet; Sub-picture information including pixel data compressed by the above method; and display control sequence information including one or more display control sequences for controlling the order of displaying the sub-pictures using the sub-picture information. B) for the second and subsequent packets of the image data pack, sub-picture header information including the size of the sub-picture packet Sub-picture information that constitutes the sub-picture and includes pixel data compressed by a predetermined method; and one or more for controlling the order in which the sub-picture is displayed using the sub-picture information A recording medium for image information, characterized in that display control sequence information including the above display control sequence is recorded.
【請求項30】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報を作成し;前記副映
像パケットのサイズおよび前記表示制御シーケンス情報
のロケーションを含む副映像ヘッダ情報を作成し;前記
副映像を構成するものであって所定の方法で圧縮された
画素データを含む副映像情報を作成し;前記副映像情報
を用いて前記副映像を表示する順序を制御するための、
1またはそれ以上の表示制御シーケンスを含む表示制御
シーケンス情報を作成することを特徴とする画像情報の
エンコード方法。
30. Packetizing sub video that can be played back together with a main video in a predetermined unit, wherein packet header information including a time stamp representing a reproduction start time of a packet of the sub video is created; Creating sub-picture header information including packet size and location of the display control sequence information; creating sub-picture information that constitutes the sub-picture and includes pixel data compressed by a predetermined method; For controlling the order of displaying the sub-pictures using the sub-picture information,
A method for encoding image information, characterized in that display control sequence information including one or more display control sequences is created.
【請求項31】 主映像とともに再生可能な副映像を所
定の単位でパケット化し、複数のパケット化された画像
情報をパック化するものにおいて、 a)前記画像データパックの先頭パケットについては、
以下のようにエンコードを行う:前記副映像のパケット
の再生開始時刻を表現したタイムスタンプを含むパケッ
トヘッダ情報を作成し、 前記副映像パケットのサイズおよび前記表示制御シーケ
ンス情報のロケーションを含む副映像ヘッダ情報を作成
し、 前記副映像を構成するものであって所定の方法で圧縮さ
れた画素データを含む副映像情報を作成し、そして前記
副映像情報を用いて前記副映像を表示する順序を制御す
るための、1またはそれ以上の表示制御シーケンスを含
む表示制御シーケンス情報を作成する; b)前記画像データパックの2番目以降パケットについ
ては、以下のように用いてエンコードを行う:前記副映
像パケットのサイズおよび前記表示制御シーケンス情報
のロケーションを含む副映像ヘッダ情報を作成し、 前記副映像を構成するものであって所定の方法で圧縮さ
れた画素データを含む副映像情報を作成し、そして前記
副映像情報を用いて前記副映像を表示する順序を制御す
るための、1またはそれ以上の表示制御シーケンスを含
む表示制御シーケンス情報を作成する。
31. A sub-picture which is reproducible together with a main picture is packetized in a predetermined unit to pack a plurality of packetized image information, wherein: a) the first packet of the image data pack is:
Encoding is performed as follows: packet header information including a time stamp representing the reproduction start time of the sub-picture packet is created, and a sub-picture header including the size of the sub-picture packet and the location of the display control sequence information. Information is created, sub-picture information that composes the sub-picture and includes pixel data compressed by a predetermined method is created, and the order in which the sub-picture is displayed is controlled using the sub-picture information. Display control sequence information including one or more display control sequences for performing the following: b) The second and subsequent packets of the image data pack are encoded as follows: the sub-picture packet Sub-picture header information including the size of the sub-picture header and the location of the display control sequence information, One or more for creating sub-picture information that constitutes an image and includes pixel data compressed by a predetermined method, and controlling the order of displaying the sub-picture using the sub-picture information. Display control sequence information including the above display control sequence is created.
【請求項32】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像の内容をビットマップデータ化し;前記主映
像の表示領域上における前記副映像の表示領域を設定す
るた空間的パラメータを作成し;前記ビットマップデー
タ化された副映像の内容を所定の方法で圧縮した画素デ
ータを作成し;前記副映像の表示開始タイミングおよび
表示終了タイミングを特定するための時間的パラメータ
を作成し;前記副映像を表示する順序を制御するための
1またはそれ以上の表示制御シーケンステーブルを作成
し;前記副映像のパケットのサイズおよび前記表示制御
シーケンステーブルのロケーションを含む副映像ユニッ
トヘッダを作成し、この副映像ユニットヘッダに前記圧
縮された画素データおよび前記表示制御シーケンステー
ブルを加えることで、副映像ユニットを作成し;作成さ
れた副映像ユニットのサイズが所定値以上なら作成され
た副映像ユニットをパケット化し;前記所定値以上のサ
イズの副映像ユニットのパケット、または前記所定値以
内のサイズの副映像ユニットに、前記副映像の再生開始
時刻を表現したタイムスタンプを記録し;前記タイムス
タンプが記録された副映像ユニットのパケット、または
前記タイムスタンプが記録された副映像ユニットをパッ
ク化し、パック化された副映像ユニットのデータを他の
データとともにストリーム化することを特徴とする画像
情報のエンコード方法。
32. A sub-picture that can be reproduced together with the main picture is packetized in a predetermined unit, wherein the contents of the sub-picture are converted into bitmap data; a display area of the sub-picture on the display area of the main picture is displayed. Creating the set spatial parameter; creating pixel data by compressing the contents of the sub-picture converted into bitmap data by a predetermined method; specifying the display start timing and the display end timing of the sub-picture Creating a temporal parameter; creating one or more display control sequence tables for controlling the order of displaying the sub-pictures; a sub-comprising a packet size of the sub-picture and a location of the display control sequence table A video unit header is created, and the compressed pixel data and the compressed pixel data are added to the sub video unit header. A sub-picture unit is created by adding the display control sequence table; if the size of the created sub-picture unit is greater than or equal to a predetermined value, the created sub-picture unit is packetized; A packet or a sub-picture unit having a size within the predetermined value is recorded with a time stamp representing the reproduction start time of the sub-picture; the packet of the sub-picture unit in which the time stamp is recorded, or the time stamp is recorded. A method for encoding image information, characterized in that the packed sub-picture unit is packed and the data of the packed sub-picture unit is streamed together with other data.
【請求項33】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像の内容をビットマップデータ化し;前記主映
像の表示領域上における前記副映像の表示領域を設定す
るた空間的パラメータを作成し;前記ビットマップデー
タ化された副映像の内容を所定の方法でエンコードし
て、圧縮した画素データを作成し;前記副映像の表示開
始タイミングおよび表示終了タイミングを特定するため
の時間的パラメータを作成し;前記副映像を表示する順
序を制御するための1またはそれ以上の表示制御シーケ
ンステーブルを作成し;前記副映像のパケットのサイズ
および前記表示制御シーケンステーブルのロケーション
を含む副映像ユニットヘッダを作成し、この副映像ユニ
ットヘッダに前記圧縮された画素データおよび前記表示
制御シーケンステーブルを加えることで、副映像ユニッ
トを作成し;作成された副映像ユニットのサイズが所定
値以上なら作成された副映像ユニットをパケット化し;
前記所定値以上のサイズの副映像ユニットのパケット、
または前記所定値以内のサイズの副映像ユニットに、前
記副映像の再生開始時刻を表現したタイムスタンプを記
録し;前記タイムスタンプが記録された副映像ユニット
のパケット、または前記タイムスタンプが記録された副
映像ユニットをパック化し、パック化された副映像ユニ
ットのデータを他のデータとともにストリーム化し;前
記ストリーム化されたデータから前記パック化された副
映像ユニットのデータを分離し;前記分離された副映像
ユニットのパックを分解し;分解したパックに前記タイ
ムスタンプが記録されている場合は、このタイムスタン
プを抽出し;所定のシステムタイマが示す時間を前記抽
出されたタイムスタンプの内容と比較し、両者が一致し
たときに、1またはそれ以上の前記表示制御シーケンス
テーブルの内容に基づいて、前記圧縮された画素データ
を伸張して、エンコードされる前の前記副映像を生成す
ることを特徴とする画像情報のエンコード/デコードシ
ステム。
33. A sub-picture which is reproducible together with the main picture is packetized in a predetermined unit, wherein the contents of the sub-picture are converted into bitmap data; a display area of the sub-picture on the display area of the main picture. Create the set spatial parameter; encode the contents of the sub-picture converted into bitmap data by a predetermined method to create compressed pixel data; display start timing and display end timing of the sub-picture Creating one or more display control sequence tables for controlling the order in which the sub-pictures are displayed; packet size of the sub-pictures and the display control sequence table Create a sub-picture unit header containing the location, and in this sub-picture unit header the compressed pixel The addition of over data and the display control sequence table, to create a sub-picture unit; size of sub-picture unit which is created packetizes the sub-picture units created if more than a predetermined value;
A packet of a sub-picture unit having a size equal to or larger than the predetermined value,
Alternatively, a time stamp expressing the reproduction start time of the sub video is recorded in the sub video unit having a size within the predetermined value; the packet of the sub video unit in which the time stamp is recorded, or the time stamp is recorded. Packing a sub-picture unit, streaming the data of the packed sub-picture unit together with other data; separating the data of the packed sub-picture unit from the streamed data; separating the sub-picture Disassembling a pack of video units; extracting the time stamp if the time stamp is recorded in the disassembled pack; comparing the time indicated by a predetermined system timer with the content of the extracted time stamp, When both match, the contents of one or more of the display control sequence tables Zui and the compressed pixel data and decompressing, the encoding / decoding system of the image information and generates the sub-picture before being encoded.
【請求項34】 ビットマップデータ化されかつパケッ
ト化される副映像の再生開始時刻を表現したタイムスタ
ンプと、前記副映像を表示する順序を制御するための1
またはそれ以上の表示制御シーケンステーブルと、前記
副映像のビットマップデータを圧縮した画素データと、
前記副映像のパケットのサイズおよび前記表示制御シー
ケンステーブルのロケーションを含む副映像ユニットヘ
ッダとを含む副映像ユニットが複数パック化されたデー
タストリームをデコードするものにおいて、 前記データストリームから前記パック化された副映像ユ
ニットのデータを分離し;前記分離された副映像ユニッ
トのパックを分解し;分解したパックに前記タイムスタ
ンプが記録されている場合は、このタイムスタンプを抽
出し;所定のシステムタイマが示す時間を前記抽出され
たタイムスタンプの内容と比較し、両者が一致したとき
に、1またはそれ以上の前記表示制御シーケンステーブ
ルの内容に基づいて、前記圧縮された画素データを伸張
して、エンコードされる前の前記副映像を生成すること
を特徴とする画像情報のデコード方法。
34. A time stamp representing a reproduction start time of a sub-picture which is bit-mapped and packetized, and 1 for controlling an order of displaying the sub-picture.
Or more display control sequence table, pixel data obtained by compressing the bitmap data of the sub-picture,
A sub-picture unit including a sub-picture unit header including a size of a packet of the sub-picture and a location of the display control sequence table is decoded to decode a data stream in which a plurality of sub-picture units are packed. Data of sub-picture unit is separated; pack of the separated sub-picture unit is decomposed; if the time stamp is recorded in the decomposed pack, this time stamp is extracted; and a predetermined system timer indicates The time is compared to the content of the extracted time stamp, and when they match, the compressed pixel data is decompressed and encoded based on the content of one or more of the display control sequence tables. Image information decoupling characterized by generating the sub-picture before Method.
【請求項35】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報を生成する手段と;
前記副映像を構成するものであって所定の方法で圧縮さ
れた画素データを含む副映像情報を生成する手段と;前
記副映像情報を用いて前記副映像を表示する順序を制御
するための、1またはそれ以上の表示制御シーケンスを
含む表示制御シーケンス情報を生成する手段と;前記副
映像パケットのサイズおよび前記表示制御シーケンス情
報のロケーションを含む副映像ヘッダ情報と、前記圧縮
された画素データと、前記1またはそれ以上の表示制御
シーケンスとを用いて、前記副映像パケットの各単位を
生成する手段と;を備えたことを特徴とする画像情報の
エンコード装置。
35. A device for packetizing a sub-image reproducible together with a main image in a predetermined unit, and means for generating packet header information including a time stamp representing a reproduction start time of the packet of the sub-image;
Means for generating sub-picture information that constitutes the sub-picture and includes pixel data compressed by a predetermined method; for controlling the order of displaying the sub-picture using the sub-picture information, Means for generating display control sequence information including one or more display control sequences; sub-picture header information including a size of the sub-picture packet and a location of the display control sequence information, the compressed pixel data, Means for generating each unit of the sub-picture packet using the one or more display control sequences; and an image information encoding apparatus.
【請求項36】 主映像とともに再生可能な副映像を所
定の単位でパケット化し、複数のパケット化された画像
情報をパック化するものであって、以下の手段を備えた
エンコード装置: a)前記画像データパックの先頭パケットについては、
以下のものを用いてエンコードを行う第1手段:前記副
映像のパケットの再生開始時刻を表現したタイムスタン
プを含むパケットヘッダ情報、 前記副映像を構成するものであって所定の方法で圧縮さ
れた画素データを含む副映像情報、 前記副映像情報を用いて前記副映像を表示する順序を制
御するための、1またはそれ以上の表示制御シーケンス
を含む表示制御シーケンス情報、および前記副映像パケ
ットのサイズおよび前記表示制御シーケンス情報のロケ
ーションを含む副映像ヘッダ情報; b)前記画像データパックの2番目以降パケットについ
ては、以下のものを用いてエンコードを行う第2手段:
前記副映像を構成するものであって所定の方法で圧縮さ
れた画素データを含む副映像情報、 前記副映像情報を用いて前記副映像を表示する順序を制
御するための、1またはそれ以上の表示制御シーケンス
を含む表示制御シーケンス情報、および前記副映像パケ
ットのサイズおよび前記表示制御シーケンス情報のロケ
ーションを含む副映像ヘッダ情報。
36. An encoding device for packetizing a sub-image reproducible together with a main image in a predetermined unit to pack a plurality of packetized image information, the encoding device comprising the following means: a) For the first packet of the image data pack,
First means for encoding using the following: packet header information including a time stamp representing the reproduction start time of the packet of the sub-picture, constituting the sub-picture, compressed by a predetermined method Sub-picture information including pixel data, display control sequence information including one or more display control sequences for controlling an order of displaying the sub-pictures using the sub-picture information, and size of the sub-picture packet And sub-picture header information including the location of the display control sequence information; b) Second means for encoding the second and subsequent packets of the image data pack using the following:
Sub-picture information that constitutes the sub-picture and includes pixel data compressed by a predetermined method, and one or more for controlling the order in which the sub-picture is displayed using the sub-picture information. Display control sequence information including a display control sequence, and sub-picture header information including a size of the sub-picture packet and a location of the display control sequence information.
【請求項37】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を構
成するものであって所定の方法で圧縮された画素データ
を含む副映像情報と;前記副映像情報を用いて前記副映
像を表示する順序を制御するための、1またはそれ以上
の表示制御シーケンスを含む表示制御シーケンス情報
と;前記副映像パケットのサイズおよび前記表示制御シ
ーケンス情報のロケーションを含む副映像ヘッダ情報
と;を用いて前記副映像パケットをエンコードし、 エンコードした副映像パケットのデータストリームを放
送することを特徴とする画像情報の放送システム。
37. In a sub-video which is reproducible together with a main video, is packetized in a predetermined unit, packet header information including a time stamp representing a reproduction start time of a packet of the sub-video; And sub-picture information including pixel data compressed by a predetermined method; and one or more display control sequences for controlling the order in which the sub-pictures are displayed using the sub-picture information. The sub-video packet is encoded using display control sequence information including; sub-video header information including the size of the sub-video packet and the location of the display control sequence information; and a data stream of the encoded sub-video packet is broadcast. An image information broadcasting system characterized by:
【請求項38】 主映像とともに再生可能な副映像を所
定の単位でパケット化し、複数のパケット化された画像
情報をパック化する放送システムにおいて、以下のこと
を特徴とする: a)前記画像データパックの先頭パケットについては、
以下のものを用いてエンコードを行う:前記副映像のパ
ケットの再生開始時刻を表現したタイムスタンプを含む
パケットヘッダ情報、 前記副映像を構成するものであって所定の方法で圧縮さ
れた画素データを含む副映像情報、 前記副映像情報を用いて前記副映像を表示する順序を制
御するための、1またはそれ以上の表示制御シーケンス
を含む表示制御シーケンス情報、および前記副映像パケ
ットのサイズおよび前記表示制御シーケンス情報のロケ
ーションを含む副映像ヘッダ情報; b)前記画像データパックの2番目以降パケットについ
ては、以下のものを用いてエンコードを行う:前記副映
像を構成するものであって所定の方法で圧縮された画素
データを含む副映像情報、 前記副映像情報を用いて前記副映像を表示する順序を制
御するための、1またはそれ以上の表示制御シーケンス
を含む表示制御シーケンス情報、 前記副映像パケットのサイズおよび前記表示制御シーケ
ンス情報のロケーションを含む副映像ヘッダ情報; C)エンコードした副映像パケットのデータストリーム
を放送する。
38. A broadcasting system for packetizing a sub video reproducible together with a main video in a predetermined unit and packing a plurality of packetized image information, characterized in that: a) the image data For the first packet of the pack,
Encoding is performed using the following: packet header information including a time stamp representing the reproduction start time of the packet of the sub-picture, pixel data that composes the sub-picture and is compressed by a predetermined method. Sub video information including, display control sequence information including one or more display control sequences for controlling an order of displaying the sub video using the sub video information, and size of the sub video packet and the display Sub-picture header information including location of control sequence information; b) Encode the second and subsequent packets of the image data pack using the following: Configure the sub-picture by a predetermined method. Sub-picture information including compressed pixel data, and controlling the order of displaying the sub-pictures using the sub-picture information Display control sequence information including one or more display control sequences, sub-picture header information including a size of the sub-picture packet and a location of the display control sequence information, and C) a data stream of encoded sub-picture packets. To broadcast.
【請求項39】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像の内容をビットマップデータ化する手段と;
前記主映像の表示領域上における前記副映像の表示領域
を設定するた空間的パラメータを作成する手段と;前記
ビットマップデータ化された副映像の内容を所定の方法
で圧縮した画素データを作成する手段と;前記副映像の
表示開始タイミングおよび表示終了タイミングを特定す
るための時間的パラメータを作成する手段と;前記副映
像を表示する順序を制御するための1またはそれ以上の
表示制御シーケンステーブルを作成する手段と;前記副
映像のパケットのサイズおよび前記表示制御シーケンス
テーブルのロケーションを含む副映像ユニットヘッダを
作成し、この副映像ユニットヘッダに前記圧縮された画
素データおよび前記表示制御シーケンステーブルを加え
ることで、副映像ユニットを作成する手段と;作成され
た副映像ユニットのサイズが所定値以上なら作成された
副映像ユニットをパケット化する手段と;前記所定値以
上のサイズの副映像ユニットのパケット、または前記所
定値以内のサイズの副映像ユニットに、前記副映像の再
生開始時刻を表現したタイムスタンプを記録する手段
と;前記タイムスタンプが記録された副映像ユニットの
パケット、または前記タイムスタンプが記録された副映
像ユニットをパック化し、パック化された副映像ユニッ
トのデータを他のデータとともにストリーム化する手段
と;を備えたことを特徴とする画像情報のエンコード装
置。
39. A sub-picture that can be reproduced together with the main picture is packetized in a predetermined unit, and means for converting the contents of the sub-picture into bitmap data;
Means for creating a spatial parameter for setting the display area of the sub-picture on the display area of the main picture; and creating pixel data by compressing the contents of the sub-picture converted into bitmap data by a predetermined method. Means for creating a temporal parameter for specifying the display start timing and the display end timing of the sub-picture; and one or more display control sequence tables for controlling the order of displaying the sub-pictures. Creating means for creating a sub-picture unit header including the size of the sub-picture packet and the location of the display control sequence table, and adding the compressed pixel data and the display control sequence table to the sub-picture unit header By this means, means for creating a sub-picture unit; created sub-picture unit Means for packetizing the created sub-picture unit if the size is equal to or larger than a predetermined value; reproduction of the sub-picture in a packet of the sub-picture unit having a size not smaller than the predetermined value, or to a sub-picture unit having a size not larger than the predetermined value Means for recording a time stamp representing the start time; packet of the sub-picture unit in which the time stamp is recorded, or sub-picture unit in which the time stamp is recorded, and data of the packed sub-picture unit And a means for converting the stream into a stream together with other data; and an image information encoding apparatus.
【請求項40】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像の内容をビットマップデータ化する手段と;
前記主映像の表示領域上における前記副映像の表示領域
を設定するた空間的パラメータを作成する手段と;前記
ビットマップデータ化された副映像の内容を所定の方法
で圧縮した画素データを作成する手段と;前記副映像の
表示開始タイミングおよび表示終了タイミングを特定す
るための時間的パラメータを作成する手段と;前記副映
像を表示する順序を制御するための1またはそれ以上の
表示制御シーケンステーブルを作成する手段と;前記副
映像のパケットのサイズおよび前記表示制御シーケンス
テーブルのロケーションを含む副映像ユニットヘッダを
作成し、この副映像ユニットヘッダに前記圧縮された画
素データおよび前記表示制御シーケンステーブルを加え
ることで、副映像ユニットを作成する手段と;作成され
た副映像ユニットのサイズが所定値以上なら作成された
副映像ユニットをパケット化する手段と;前記所定値以
上のサイズの副映像ユニットのパケット、または前記所
定値以内のサイズの副映像ユニットに、前記副映像の再
生開始時刻を表現したタイムスタンプを記録する手段
と;前記タイムスタンプが記録された副映像ユニットの
パケット、または前記タイムスタンプが記録された副映
像ユニットをパック化し、パック化された副映像ユニッ
トのデータを他のデータとともにストリーム化する手段
と;前記ストリーム化されたデータから前記パック化さ
れた副映像ユニットのデータを分離する手段と;前記分
離された副映像ユニットのパックを分解する手段と;分
解したパックに前記タイムスタンプが記録されている場
合は、このタイムスタンプを抽出する手段と;所定のシ
ステムタイマが示す時間を前記抽出されたタイムスタン
プの内容と比較し、両者が一致したときに、1またはそ
れ以上の前記表示制御シーケンステーブルの内容に基づ
いて、前記圧縮された画素データを伸張して、エンコー
ドされる前の前記副映像を生成する手段と;を備えたこ
とを特徴とする画像情報のエンコード/デコード装置。
40. A sub-picture that can be reproduced together with the main picture is packetized in a predetermined unit, and means for converting the content of the sub-picture into bitmap data.
Means for creating a spatial parameter for setting the display area of the sub-picture on the display area of the main picture; and creating pixel data by compressing the contents of the sub-picture converted into bitmap data by a predetermined method. Means for creating a temporal parameter for specifying the display start timing and the display end timing of the sub-picture; and one or more display control sequence tables for controlling the order of displaying the sub-pictures. Creating means for creating a sub-picture unit header including the size of the sub-picture packet and the location of the display control sequence table, and adding the compressed pixel data and the display control sequence table to the sub-picture unit header By this means, means for creating a sub-picture unit; created sub-picture unit Means for packetizing the created sub-picture unit if the size is equal to or larger than a predetermined value; reproduction of the sub-picture in a packet of the sub-picture unit having a size not smaller than the predetermined value, or to a sub-picture unit having a size not larger than the predetermined value Means for recording a time stamp representing the start time; packet of the sub-picture unit in which the time stamp is recorded, or sub-picture unit in which the time stamp is recorded, and data of the packed sub-picture unit Means for streaming together with other data; means for separating the data of the packed sub-picture unit from the streamed data; means for disassembling the pack of the separated sub-picture unit; If the time stamp is recorded in the selected pack, extract this time stamp. And the time indicated by a predetermined system timer is compared with the contents of the extracted time stamp, and when the two match, the compressed data is compressed based on one or more contents of the display control sequence table. Means for decompressing pixel data to generate the sub-picture before being encoded; and a device for encoding / decoding image information.
【請求項41】 ビットマップデータ化されかつパケッ
ト化される副映像の再生開始時刻を表現したタイムスタ
ンプと、前記副映像を表示する順序を制御するための1
またはそれ以上の表示制御シーケンステーブルと、前記
副映像のビットマップデータを圧縮エンコードした画素
データと、前記副映像のパケットのサイズおよび前記表
示制御シーケンステーブルのロケーションを含む副映像
ユニットヘッダとを含む副映像ユニットが複数パック化
されたデータストリームをデコードするものにおいて、 前記データストリームから前記パック化された副映像ユ
ニットのデータを分離する手段と;前記分離された副映
像ユニットのパックを分解する手段と;分解したパック
に前記タイムスタンプが記録されている場合は、このタ
イムスタンプを抽出する手段と;所定のシステムタイマ
が示す時間を前記抽出されたタイムスタンプの内容と比
較し、両者が一致したときに、1またはそれ以上の前記
表示制御シーケンステーブルの内容に基づいて、前記圧
縮された画素データを伸張して、エンコードされる前の
前記副映像を生成する手段と;を備えたことを特徴とす
る画像情報のデコード装置。
41. A time stamp representing a reproduction start time of a sub-picture that is bit-mapped and packetized, and 1 for controlling an order of displaying the sub-picture.
Or a sub-picture unit including a display control sequence table or more, pixel data obtained by compressing and encoding the bitmap data of the sub-picture, and a sub-picture unit header including the size of the sub-picture packet and the location of the display control sequence table. Decoding a data stream in which a plurality of video units are packed, means for separating data of the packed sub-picture unit from the data stream; means for disassembling a pack of the separated sub-picture units A means for extracting the time stamp if the time stamp is recorded in the disassembled pack; a time indicated by a predetermined system timer is compared with the content of the extracted time stamp, and when both match And one or more of the above display control sequences A unit for expanding the compressed pixel data based on the contents of the stable to generate the sub-picture before being encoded;
【請求項42】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像の内容をビットマップデータ化する手段と;
前記主映像の表示領域上における前記副映像の表示領域
を設定するた空間的パラメータを作成する手段と;前記
ビットマップデータ化された副映像の内容を所定の方法
で圧縮した画素データを作成する手段と;前記副映像の
表示開始タイミングおよび表示終了タイミングを特定す
るための時間的パラメータを作成する手段と;前記副映
像を表示する順序を制御するための1またはそれ以上の
表示制御シーケンステーブルを作成する手段と;前記副
映像のパケットのサイズおよび前記表示制御シーケンス
テーブルのロケーションを含む副映像ユニットヘッダを
作成し、この副映像ユニットヘッダに前記圧縮された画
素データおよび前記表示制御シーケンステーブルを加え
ることで、副映像ユニットを作成する手段と;作成され
た副映像ユニットのサイズが所定値以上なら作成された
副映像ユニットをパケット化する手段と;前記所定値以
上のサイズの副映像ユニットのパケット、または前記所
定値以内のサイズの副映像ユニットに、前記副映像の再
生開始時刻を表現したタイムスタンプを記録する手段
と;前記タイムスタンプが記録された副映像ユニットの
パケット、または前記タイムスタンプが記録された副映
像ユニットをパック化し、パック化された副映像ユニッ
トのデータを他のデータとともにストリーム化する手段
と;前記ストリーム化された副映像ユニットパックを含
む情報を記録媒体に記録する手段と;を備えたことを特
徴とする記録装置。
42. A sub-picture which is reproducible together with the main picture is packetized in a predetermined unit, and means for converting the content of the sub-picture into bitmap data.
Means for creating a spatial parameter for setting the display area of the sub-picture on the display area of the main picture; and creating pixel data by compressing the contents of the sub-picture converted into bitmap data by a predetermined method. Means for creating a temporal parameter for specifying the display start timing and the display end timing of the sub-picture; and one or more display control sequence tables for controlling the order of displaying the sub-pictures. Creating means for creating a sub-picture unit header including the size of the sub-picture packet and the location of the display control sequence table, and adding the compressed pixel data and the display control sequence table to the sub-picture unit header By this means, means for creating a sub-picture unit; created sub-picture unit Means for packetizing the created sub-picture unit if the size is equal to or larger than a predetermined value; reproduction of the sub-picture in a packet of the sub-picture unit having a size not smaller than the predetermined value, or to a sub-picture unit having a size not larger than the predetermined value Means for recording a time stamp representing the start time; packet of the sub-picture unit in which the time stamp is recorded, or sub-picture unit in which the time stamp is recorded, and data of the packed sub-picture unit A recording device comprising: a means for streaming the stream together with other data; a means for recording information including the streamed sub-picture unit pack on a recording medium.
【請求項43】 ビットマップデータ化されかつパケッ
ト化される副映像の再生開始時刻を表現したタイムスタ
ンプと、前記副映像を表示する順序を制御するための1
またはそれ以上の表示制御シーケンステーブルと、前記
副映像のビットマップデータを圧縮した画素データと、
前記副映像のパケットのサイズおよび前記表示制御シー
ケンステーブルのロケーションを含む副映像ユニットヘ
ッダとを含む副映像ユニットが複数パック化されたデー
タストリームが記録された記録媒体から、前記データス
トリームの内容を再生するものにおいて、 前記データストリームから前記パック化された副映像ユ
ニットのデータを分離する手段と;前記分離された副映
像ユニットのパックを分解する手段と;分解したパック
に前記タイムスタンプが記録されている場合は、このタ
イムスタンプを抽出する手段と;所定のシステムタイマ
が示す時間を前記抽出されたタイムスタンプの内容と比
較し、両者が一致したときに、1またはそれ以上の前記
表示制御シーケンステーブルの内容に基づいて、前記圧
縮された画素データを伸張して、エンコードされる前の
前記副映像を生成する手段と;を備えたことを特徴とす
る再生装置。
43. A time stamp representing a reproduction start time of a sub-picture which is bit-mapped and packetized, and 1 for controlling an order of displaying the sub-picture.
Or more display control sequence table, pixel data obtained by compressing the bitmap data of the sub-picture,
The content of the data stream is reproduced from a recording medium on which a data stream in which a plurality of sub-picture units including a sub-picture unit header including the size of the sub-picture packet and the location of the display control sequence table is recorded is recorded. A means for separating the data of the packed sub-picture unit from the data stream; a means for disassembling the pack of the separated sub-picture unit; a time stamp being recorded on the decomposed pack Means for extracting this time stamp; comparing the time indicated by a predetermined system timer with the content of the extracted time stamp, and when both match, one or more display control sequence tables Decompress the compressed pixel data based on the contents of And a means for generating the sub-picture before being encoded.
【請求項44】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものであって、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を構
成するものであって所定の方法で圧縮された画素データ
を含む副映像情報と;前記副映像情報を用いて前記副映
像を表示する順序を制御するための、1またはそれ以上
の表示制御シーケンスを含む表示制御シーケンス情報
と;前記副映像パケットのサイズおよび前記表示制御シ
ーケンス情報のロケーションを含む副映像ヘッダ情報
と;を用いて前記副映像パケットをエンコードするもの
において、 前記圧縮された画素データのうち、1圧縮単位のデータ
ブロックを特定する圧縮データ特定ステップと;前記1
圧縮単位のデータブロックにおける同一画素データ連続
数に対応した符号化ヘッダと、この同一画素データ連続
数を示す継続画素数データと、前記1圧縮単位のデータ
ブロックにおける同一画素データ自体を示すデータとに
よって、圧縮された単位データブロックを生成する圧縮
データ生成ステップと;を備えたことを特徴とする画像
情報のエンコード方法。
44. A sub-picture that is reproducible together with the main picture is packetized in a predetermined unit, and packet header information including a time stamp representing a reproduction start time of the packet of the sub-picture; And sub-picture information including pixel data compressed by a predetermined method; and one or more display controls for controlling the order in which the sub-pictures are displayed using the sub-picture information. Encoding the sub-picture packet using display control sequence information including a sequence; sub-picture header information including a size of the sub-picture packet and a location of the display control sequence information; A compressed data identification step of identifying a data block of one compression unit;
An encoding header corresponding to the same number of consecutive pixel data in the data block of compression unit, continuous pixel number data indicating the number of consecutive same pixel data, and data indicating the same pixel data itself in the data block of one compression unit. And a compressed data generating step of generating a compressed unit data block;
【請求項45】 ビットマップデータ化されかつパケッ
ト化される副映像の再生開始時刻を表現したタイムスタ
ンプと、前記副映像を表示する順序を制御するための1
またはそれ以上の表示制御シーケンステーブルと、前記
副映像のビットマップデータを圧縮した画素データと、
前記副映像のパケットのサイズおよび前記表示制御シー
ケンステーブルのロケーションを含む副映像ユニットヘ
ッダとを含む副映像ユニットが複数パック化されたデー
タストリームをデコードするものであって、 前記データストリームから前記パック化された副映像ユ
ニットのデータを分離し;前記分離された副映像ユニッ
トのパックを分解し;分解したパックに前記タイムスタ
ンプが記録されている場合は、このタイムスタンプを抽
出し;所定のシステムタイマが示す時間を前記抽出され
たタイムスタンプの内容と比較し、両者が一致したとき
に、1またはそれ以上の前記表示制御シーケンステーブ
ルの内容に基づいて、前記圧縮された画素データを伸張
して、エンコードされる前の前記副映像を生成するもの
において、 前記圧縮された画素データのうち、1圧縮単位のデータ
ブロックから、符号化ヘッダを取り出す符号化ヘッダ取
出ステップと;前記符号化ヘッダ取出ステップにおいて
取り出された符号化ヘッダの内容に基づいて、前記1圧
縮単位のデータブロックから、継続画素数データを取り
出す継続画素数取出ステップと;前記1圧縮単位のデー
タブロックから、前記符号化ヘッダ取出ステップにおい
て取り出された符号化ヘッダと、前記継続画素数取出ス
テップにおいて取り出された継続画素数データとを差し
引いた残りに基づいて、前記1圧縮単位のデータブロッ
クを構成していた圧縮前の画素データの内容を決定する
画素データ決定ステップと;前記画素データ決定ステッ
プにより決定された内容のビットデータを、前記継続画
素数取出ステップにおいて取り出された継続画素数デー
タが示すビット長分並べて、前記1圧縮単位における圧
縮前の画素パターンを復元する画素パターン復元ステッ
プと;を備えたことを特徴とする情報集合体のデコード
方法。
45. A time stamp representing a reproduction start time of a sub-picture which is bit-mapped and packetized, and 1 for controlling an order of displaying the sub-picture.
Or more display control sequence table, pixel data obtained by compressing the bitmap data of the sub-picture,
A sub-picture unit including a sub-picture unit header including a size of a packet of the sub-picture and a location of the display control sequence table is decoded for decoding a plurality of packed data streams. The data of the separated sub-picture unit is separated; the pack of the separated sub-picture unit is decomposed; if the time stamp is recorded in the decomposed pack, this time stamp is extracted; a predetermined system timer Is compared with the content of the extracted time stamp, and when the two match, the compressed pixel data is expanded based on the content of one or more of the display control sequence tables, In generating the sub-picture before being encoded, the compressed An encoding header extraction step of extracting an encoding header from a data block of one compression unit of the raw data; and data of one compression unit based on the content of the encoding header extracted in the encoding header extraction step A continuous pixel number extracting step of extracting continuous pixel number data from the block; an encoded header extracted in the encoding header extracting step and a continuous pixel number extracting step from the data block of one compression unit Pixel data determination step of determining the content of the pixel data before compression that has constituted the data block of one compression unit based on the remainder obtained by subtracting the continuous pixel number data; and determined by the pixel data determination step. The bit data of the content is extracted in the continuous pixel number extraction step. A pixel pattern restoration step of arranging by the bit length indicated by the continuous pixel count data to restore the pixel pattern before compression in the one compression unit;
【請求項46】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を構
成するものであって所定の方法で圧縮された画素データ
を含む副映像情報と;前記副映像情報を用いて前記副映
像を表示する順序を制御するための、1またはそれ以上
の表示制御シーケンスを含む表示制御シーケンス情報
と;前記表示制御シーケンスに含まれる、表示制御開始
時間情報、後続の表示制御シーケンスのアドレス情報、
および1以上の表示制御コマンドと;前記副映像パケッ
トのサイズおよび前記表示制御シーケンス情報のロケー
ションを含む副映像ヘッダ情報と;を用いて前記副映像
パケットをエンコードすることを特徴とする画像情報の
エンコード方法。
46. A sub-picture which is reproducible together with a main picture is packetized in a predetermined unit, packet header information including a time stamp representing a reproduction start time of a packet of the sub-picture; and the sub-picture. And sub-picture information including pixel data compressed by a predetermined method; and one or more display control sequences for controlling the order in which the sub-pictures are displayed using the sub-picture information. Display control sequence information including; display control start time information included in the display control sequence, address information of a subsequent display control sequence,
And encoding the sub-picture packet using one or more display control commands; sub-picture header information including the size of the sub-picture packet and the location of the display control sequence information. Method.
【請求項47】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を構
成するものであって所定の方法で圧縮された画素データ
を含む副映像情報と;前記副映像情報を用いて前記副映
像を表示する順序を制御するための、1またはそれ以上
の表示制御シーケンスを含む表示制御シーケンス情報
と;前記副映像パケットのサイズおよび前記表示制御シ
ーケンス情報のロケーションを含む副映像ヘッダ情報
と;前記副映像ヘッダ情報に含まれる、副映像サイズ情
報および表示制御シーケンスの開始アドレス情報と;を
用いて、前記副映像パケットをエンコードすることを特
徴とする画像情報のエンコード方法。
47. A sub-video that is reproducible together with the main video is packetized in a predetermined unit, and packet header information including a time stamp representing a reproduction start time of the packet of the sub-video; And sub-picture information including pixel data compressed by a predetermined method; and one or more display control sequences for controlling the order in which the sub-pictures are displayed using the sub-picture information. Display control sequence information including; sub-picture header information including the size of the sub-picture packet and the location of the display control sequence information; sub-picture size information and start address information of the display control sequence included in the sub-picture header information And ;; are used to encode the sub-picture packet, and the image information encoding method is characterized.
【請求項48】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を構
成するものであって所定の方法で圧縮された画素データ
を含む副映像情報と;前記副映像情報を用いて前記副映
像を表示する順序を制御するための、1またはそれ以上
の表示制御シーケンスを含む表示制御シーケンス情報
と;前記表示制御シーケンスに含まれる、表示制御開始
時間情報、後続の表示制御シーケンスのアドレス情報、
および1以上の表示制御コマンドと;前記副映像パケッ
トのサイズおよび前記表示制御シーケンス情報のロケー
ションを含む副映像ヘッダ情報と;前記副映像ヘッダ情
報に含まれる、副映像サイズ情報および表示制御シーケ
ンスの開始アドレス情報と;を用いて、前記副映像パケ
ットをエンコードすることを特徴とする画像情報のエン
コード方法。
48. A sub-video that is reproducible together with the main video is packetized in a predetermined unit, and packet header information including a time stamp representing a reproduction start time of the packet of the sub-video; And sub-picture information including pixel data compressed by a predetermined method; and one or more display control sequences for controlling the order in which the sub-pictures are displayed using the sub-picture information. Display control sequence information including; display control start time information included in the display control sequence, address information of a subsequent display control sequence,
And one or more display control commands; sub-picture header information including the size of the sub-picture packet and the location of the display control sequence information; start of sub-picture size information and display control sequence included in the sub-picture header information An image information encoding method, characterized in that the sub-picture packet is encoded using address information and.
【請求項49】 前記1以上の表示制御コマンドが、前
記画素データに対応する画素の表示開始タイミングをセ
ットするコマンドと、前記画素データに対応する画素の
表示終了タイミングをセットするコマンドと、前記画素
データに対応する画素の表示エリアをセットするコマン
ドと、前記画素データに対応する画素の表示開始アドレ
スをセットするコマンドとを含むことを特徴とする請求
項46に記載のエンコード方法。
49. The one or more display control commands include a command for setting a display start timing of a pixel corresponding to the pixel data, a command for setting a display end timing of a pixel corresponding to the pixel data, and the pixel The encoding method according to claim 46, further comprising a command for setting a display area of a pixel corresponding to data and a command for setting a display start address of a pixel corresponding to the pixel data.
【請求項50】 前記1以上の表示制御コマンドが、前
記画素データのカラーコードをセットするコマンドをさ
らに含むことを特徴とする請求項49に記載のエンコー
ド方法。
50. The encoding method according to claim 49, wherein the one or more display control commands further include a command for setting a color code of the pixel data.
【請求項51】 前記1以上の表示制御コマンドが、前
記主映像に対する前記画素データのコントラストをセッ
トするコマンドをさらに含むことを特徴とする請求項5
0に記載のエンコード方法。
51. The one or more display control commands further include a command to set a contrast of the pixel data with respect to the main image.
The encoding method described in 0.
【請求項52】 前記1以上の表示制御コマンドが、前
記画素データのカラーコードおよび前記主映像に対する
前記画素データのコントラストの少なくとも一方の切り
換えをセットするコマンドをさらに含むことを特徴とす
る請求項51に記載のエンコード方法。
52. The one or more display control commands further include a command for setting switching of at least one of a color code of the pixel data and a contrast of the pixel data with respect to the main image. Encoding method described in.
【請求項53】 主映像とともに再生可能なものであっ
てインターレース表示される副映像を所定の単位でパケ
ット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を表
示する1画像フレームのうちのトップフィールドを構成
するものであって所定の方法で圧縮された画素データを
含む第1副映像情報と;前記副映像を表示する1画像フ
レームのうちのボトムフィールドを構成するものであっ
て前記所定の方法で圧縮された画素データを含む第2副
映像情報と;前記第1および第2副映像情報を用いて前
記副映像を表示する順序を制御するための、1またはそ
れ以上の表示制御シーケンスを含む表示制御シーケンス
情報と;前記表示制御シーケンスに含まれる、表示制御
開始時間情報、後続の表示制御シーケンスのアドレス情
報、および1以上の表示制御コマンドと;前記表示制御
コマンドに含まれるものであって、前記トップフィール
ドの画素の表示開始アドレスをセットする第1コマンド
と;前記表示制御コマンドに含まれるものであって、前
記ボトムフィールドの画素の表示開始アドレスをセット
する第2コマンドと;前記副映像パケットのサイズおよ
び前記表示制御シーケンス情報のロケーションを含む副
映像ヘッダ情報と;を用いて、前記副映像パケットをエ
ンコードすることを特徴とする画像情報のエンコード方
法。
53. A packet header, which is reproducible together with a main image and packetizes an interlaced sub-image in a predetermined unit, including a time stamp representing a reproduction start time of a packet of the sub-image. Information; first sub-picture information which constitutes a top field of one picture frame for displaying the sub-picture and includes pixel data compressed by a predetermined method; and one picture for displaying the sub-picture Second sub-picture information that constitutes a bottom field of the frame and includes pixel data compressed by the predetermined method; and displays the sub-picture using the first and second sub-picture information. Display control sequence information including one or more display control sequences for controlling order; included in the display control sequence, Display control start time information, address information of a subsequent display control sequence, and one or more display control commands; included in the display control command and setting a display start address of a pixel of the top field; A second command included in the display control command for setting the display start address of the pixel of the bottom field; and a sub-picture including the size of the sub-picture packet and the location of the display control sequence information. An image information encoding method, characterized in that the sub-picture packet is encoded using header information.
【請求項54】 主映像とともに再生可能な副映像を所
定の単位でパケット化するものにおいて、 前記副映像のパケットの再生開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副映像を構
成するものであって所定の方法で圧縮された画素データ
を含む副映像情報と;前記副映像情報を用いて前記副映
像を表示する順序を制御するための、1またはそれ以上
の表示制御シーケンスを含む表示制御シーケンス情報
と;前記圧縮された画素データに対応する副映像が表示
されている間の色およびコントラストの少なくとも一方
を制御する画素制御データと;前記副映像パケットのサ
イズおよび前記表示制御シーケンス情報のロケーション
を含む副映像ヘッダ情報と;を用いて、前記副映像パケ
ットをエンコードすることを特徴とする画像情報のエン
コード方法。
54. In the packetization of a sub-picture reproducible together with the main picture in a predetermined unit, packet header information including a time stamp representing a reproduction start time of the packet of the sub-picture; and the sub-picture. And sub-picture information including pixel data compressed by a predetermined method; and one or more display control sequences for controlling the order in which the sub-pictures are displayed using the sub-picture information. Display control sequence information including; pixel control data for controlling at least one of color and contrast while a sub-picture corresponding to the compressed pixel data is displayed; size of the sub-picture packet and the display control sequence Encoding the sub-picture packet using sub-picture header information including the location of the information; Encoding method of the image information to be.
【請求項55】 前記副映像は複数ラインで構成される
副映像フレームに表示され、前記画素制御データが、 前記副映像フレームの複数ラインのうち、前記画素デー
タの色またはコントラストに変化があるラインを示すラ
イン制御情報と、 前記ライン制御情報が示す副映像フレームのラインにお
いて、色またはコントラストに変化が生じた画素の位置
を示す画素制御情報とを含むことを特徴とする請求項5
4に記載のエンコード方法。
55. The sub-picture is displayed in a sub-picture frame composed of a plurality of lines, and the pixel control data is a line of the plurality of lines of the sub-picture frame in which color or contrast of the pixel data changes. And line control information indicating the position of a pixel where a change in color or contrast occurs in a line of the sub-picture frame indicated by the line control information.
4. The encoding method according to 4.
【請求項56】 主映像とともに再生可能な副映像を所
定の単位でパケット化し、その後パケット化された情報
を通信するものにおいて、 前記副映像の内容をビットマップデータ化する手段と;
前記主映像の表示領域上における前記副映像の表示領域
を設定するた空間的パラメータを作成する手段と;前記
ビットマップデータ化された副映像の内容を所定の方法
で圧縮したデータを作成する手段と;前記副映像の表示
開始タイミングおよび表示終了タイミングを特定するた
めの時間的パラメータを作成する手段と;前記副映像を
表示する順序を制御するための1またはそれ以上の表示
制御シーケンステーブルを作成する手段と;前記副映像
のパケットのサイズおよび前記表示制御シーケンステー
ブルのロケーションを含む副映像ユニットヘッダを作成
し、この副映像ユニットヘッダに前記圧縮されたデータ
および前記表示制御シーケンステーブルを加えること
で、副映像ユニットを作成する手段と;作成された副映
像ユニットのサイズが所定値以上なら作成された副映像
ユニットをパケット化する手段と;前記所定値以上のサ
イズの副映像ユニットのパケット、または前記所定値以
内のサイズの副映像ユニットに、前記副映像の再生開始
時刻を表現したタイムスタンプを記録する手段と;前記
タイムスタンプが記録された副映像ユニットのパケッ
ト、または前記タイムスタンプが記録された副映像ユニ
ットをパック化し、パック化された副映像ユニットのデ
ータを他のデータとともにストリーム化する手段と;前
記ストリーム化されたデータを送信する送信手段と;前
記送信手段により送信されたストリーム化データを受信
する受信手段と;前記受信手段により受信された前記ス
トリーム化データから前記パック化された副映像ユニッ
トのデータを分離する手段と;前記分離された副映像ユ
ニットのパックを分解する手段と;分解したパックに前
記タイムスタンプが記録されている場合は、このタイム
スタンプを抽出する手段と;所定のシステムタイマが示
す時間を前記抽出されたタイムスタンプの内容と比較
し、両者が一致したときに、1またはそれ以上の前記表
示制御シーケンステーブルの内容に基づいて、前記圧縮
されたデータを伸張して、エンコードされる前の前記副
映像を生成する手段と;を備えたことを特徴とする画像
情報の送受信システム。
56. A means for packetizing a sub-picture reproducible together with the main picture in a predetermined unit and then communicating the packetized information, and means for converting the content of the sub-picture into bitmap data.
Means for creating a spatial parameter for setting the display area of the sub-picture on the display area for the main picture; means for creating data obtained by compressing the content of the sub-picture converted into bitmap data by a predetermined method Means for creating a temporal parameter for specifying a display start timing and a display end timing of the sub-picture; and one or more display control sequence tables for controlling the order of displaying the sub-picture Creating a sub-picture unit header including the packet size of the sub-picture and the location of the display control sequence table, and adding the compressed data and the display control sequence table to the sub-picture unit header. , Means for creating a sub-picture unit; size of the created sub-picture unit Means for packetizing the created sub-picture unit if the value is equal to or more than a predetermined value; a packet of the sub-picture unit having a size not less than the predetermined value, or a sub-picture unit having a size not more than the predetermined value, the reproduction start time of the sub-picture Means for recording a time stamp expressing the above; or a packet of the sub-picture unit in which the time stamp is recorded, or a sub-picture unit in which the time stamp is recorded, is packed, and the data of the packed sub-picture unit is Means for streaming together with the data of; stream transmitting data for transmitting the streamed data; receiving means for receiving the streamed data transmitted by the transmitting means; streamed data received by the receiving means Means for separating the data of the packed sub-picture unit from the; Means for disassembling the pack of the sub-picture unit that has been decomposed; means for extracting the time stamp if the time stamp is recorded in the decomposed pack; and a time indicated by a predetermined system timer for the extracted time. The contents of the stamp are compared with each other, and when they match each other, the compressed data is expanded based on the contents of the one or more display control sequence tables to generate the sub-picture before being encoded. An image information transmission / reception system, comprising:
【請求項57】 主情報とともに再生可能な副情報を所
定の単位でパケット化し、その後パケット化された情報
を通信するものにおいて、 前記副情報の内容を所定の方法で圧縮したデータを作成
する手段と;前記副情報の表示開始タイミングおよび表
示終了タイミングを特定するための時間的パラメータを
作成する手段と;前記副情報を表示する順序を制御する
ための1またはそれ以上の表示制御シーケンステーブル
を作成する手段と;前記副情報のパケットのサイズおよ
び前記表示制御シーケンステーブルのロケーションを含
む副情報ユニットヘッダを作成し、この副情報ユニット
ヘッダに前記圧縮されたデータおよび前記表示制御シー
ケンステーブルを加えることで、副情報ユニットを作成
する手段と;作成された副情報ユニットのサイズが所定
値以上なら作成された副情報ユニットをパケット化する
手段と;前記所定値以上のサイズの副情報ユニットのパ
ケット、または前記所定値以内のサイズの副情報ユニッ
トに、前記副情報の再生開始時刻を表現したタイムスタ
ンプを記録する手段と;前記タイムスタンプが記録され
た副情報ユニットのパケット、または前記タイムスタン
プが記録された副情報ユニットをパック化し、パック化
された副情報ユニットのデータをストリーム化する手段
と;前記ストリーム化されたデータを送信する送信手段
と;前記送信手段により送信されたストリーム化データ
を受信する受信手段と;前記受信手段により受信された
前記ストリーム化データから前記パック化された副情報
ユニットのデータを分離する手段と;前記分離された副
情報ユニットのパックを分解する手段と;分解したパッ
クに前記タイムスタンプが記録されている場合は、この
タイムスタンプを抽出する手段と;所定のシステムタイ
マが示す時間を前記抽出されたタイムスタンプの内容と
比較し、両者が一致したときに、1またはそれ以上の前
記表示制御シーケンステーブルの内容に基づいて、前記
圧縮されたデータを伸張して、エンコードされる前の前
記副情報を生成する手段と;を備えたことを特徴とする
情報の送受信システム。
57. A method for packetizing sub-information that can be reproduced together with main information in a predetermined unit and then communicating the packetized information, wherein the content of the sub-information is compressed by a predetermined method to create data. Means for creating a temporal parameter for specifying the display start timing and display end timing of the sub information; and one or more display control sequence tables for controlling the order of displaying the sub information Creating a sub-information unit header including the packet size of the sub-information and the location of the display control sequence table, and adding the compressed data and the display control sequence table to the sub-information unit header. , A means for creating a sub-information unit; a size of the created sub-information unit Means for packetizing the created sub-information unit if the value is equal to or more than a predetermined value; start of reproduction of the sub-information in a packet of the sub-information unit having a size not less than the predetermined value or a sub-information unit having a size not more than the predetermined value Means for recording a time stamp representing time; packet of the sub information unit recorded with the time stamp, or the sub information unit recorded with the time stamp is packed, and data of the packed sub information unit is packed. Streaming means; Sending means for sending the streamed data; Receiving means for receiving the streamed data sent by the sending means; The pack from the streamed data received by the receiving means Means for separating the data of the divided sub-information unit; said separated sub-information unit A means for disassembling the packet pack; a means for extracting the time stamp if the time stamp is recorded in the decomposed pack; and a time indicated by a predetermined system timer as the content of the extracted time stamp. Means for comparing and, when they match, decompressing the compressed data based on one or more contents of the display control sequence table to generate the sub-information before being encoded; An information transmission / reception system comprising:
【請求項58】 主情報とともに使用可能な副情報を所
定の単位でパケット化するものにおいて、 前記副情報のパケットの使用開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副情報を構
成するものであって所定の方法で圧縮されたデータを含
む圧縮情報と;前記圧縮情報を用いて前記副情報を使用
する順序を制御するための、1またはそれ以上の制御シ
ーケンスを含む制御シーケンス情報と;前記副情報パケ
ットのサイズおよび前記制御シーケンス情報のロケーシ
ョンを含む副情報ヘッダ情報と;を用いて、前記副情報
パケットをエンコードすることを特徴とする情報のエン
コード方法。
58. A packet header information including a time stamp representing a use start time of a packet of the sub information, wherein the sub information usable together with the main information is packetized in a predetermined unit; and the sub information is configured. Compression information including data compressed by a predetermined method; and control sequence information including one or more control sequences for controlling the order of using the sub-information by using the compression information. And a sub-information header information including a size of the sub-information packet and a location of the control sequence information; and the sub-information packet is encoded.
【請求項59】 主情報とともに使用可能な副情報を所
定の単位でパケット化するものにおいて、 前記副情報のパケットの使用開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副情報を構
成するものであって所定の方法で処理されたデータを含
む処理情報と;前記処理情報を用いて前記副情報を使用
する順序を制御するための、1またはそれ以上の制御シ
ーケンスを含む制御シーケンス情報と;前記副情報パケ
ットのサイズおよび前記制御シーケンス情報のロケーシ
ョンを含む副情報ヘッダ情報と;を用いて、前記副情報
パケットをエンコードすることを特徴とする情報のエン
コード方法。
59. A packet header information including a time stamp representing a use start time of a packet of the sub information, wherein the sub information usable together with the main information is packetized in a predetermined unit; and the sub information is configured. And processing sequence information including data processed by a predetermined method; control sequence information including one or more control sequences for controlling the order in which the sub information is used by using the processing information. And a sub-information header information including a size of the sub-information packet and a location of the control sequence information; and the sub-information packet is encoded.
【請求項60】 主情報とともに使用可能な副情報を所
定の単位でパケット化し、複数のパケット化された情報
をパック化するものにおいて、 a)前記情報パックの先頭パケットについては、以下の
ものを用いてエンコードを行う:前記副情報のパケット
の使用開始時刻を表現したタイムスタンプを含むパケッ
トヘッダ情報、 前記副情報を構成するものであって所定の方法で圧縮さ
れたデータを含む圧縮情報、 前記圧縮情報を用いて前記副情報を使用する順序を制御
するための、1またはそれ以上の制御シーケンスを含む
制御シーケンス情報、および前記副情報パケットのサイ
ズおよび前記制御シーケンス情報のロケーションを含む
副情報ヘッダ情報; b)前記情報パックの2番目以降パケットについては、
以下のものを用いてエンコードを行う:前記副情報を構
成するものであって所定の方法で圧縮されたデータを含
む圧縮情報、 前記圧縮情報を用いて前記副情報を使用する順序を制御
するための、1またはそれ以上の制御シーケンスを含む
制御シーケンス情報、および前記副情報パケットのサイ
ズおよび前記制御シーケンス情報のロケーションを含む
副情報ヘッダ情報。
60. A sub-information which can be used together with the main information is packetized in a predetermined unit and a plurality of packetized information is packed. A) As for the head packet of the information pack, Encode using: packet header information including a time stamp representing the use start time of the packet of the sub-information, compression information including data that constitutes the sub-information and is compressed by a predetermined method, Control sequence information including one or more control sequences for controlling an order of using the sub information with compressed information, and a sub information header including a size of the sub information packet and a location of the control sequence information. Information; b) For the second and subsequent packets of the information pack,
Encode using the following: compression information that composes the sub-information and that includes data compressed by a predetermined method, to control the order in which the sub-information is used using the compression information , Control sequence information including one or more control sequences, and sub-information header information including a size of the sub-information packet and a location of the control sequence information.
【請求項61】 主情報とともに使用可能な副情報を所
定の単位でパケット化し、複数のパケット化された情報
をパック化するものにおいて、 a)前記情報パックの先頭パケットについては、以下の
ものを用いてエンコードを行う:前記副情報のパケット
の使用開始時刻を表現したタイムスタンプを含むパケッ
トヘッダ情報、 前記副情報を構成するものであって所定の方法で処理さ
れたデータを含む処理情報、 前記処理情報を用いて前記副情報を使用する順序を制御
するための、1またはそれ以上の制御シーケンスを含む
制御シーケンス情報、および前記副情報パケットのサイ
ズおよび前記制御シーケンス情報のロケーションを含む
副情報ヘッダ情報; b)前記情報パックの2番目以降パケットについては、
以下のものを用いてエンコードを行う:前記副情報を構
成するものであって所定の方法で処理されたデータを含
む処理情報、 前記処理情報を用いて前記副情報を使用する順序を制御
するための、1またはそれ以上の制御シーケンスを含む
制御シーケンス情報、および前記副情報パケットのサイ
ズおよび前記制御シーケンス情報のロケーションを含む
副情報ヘッダ情報。
61. A sub-information usable in combination with the main information is packetized in a predetermined unit to pack a plurality of packetized information, wherein a) the head packet of the information pack is: Encoding using: packet header information including a time stamp representing the use start time of the packet of the sub-information, processing information including the data that constitutes the sub-information and is processed by a predetermined method, Control sequence information including one or more control sequences for controlling an order of using the sub information with processing information, and a sub information header including a size of the sub information packet and a location of the control sequence information. Information; b) For the second and subsequent packets of the information pack,
Encode using the following: processing information that composes the sub-information and includes data processed in a predetermined manner, to control the order in which the sub-information is used using the processing information , Control sequence information including one or more control sequences, and sub-information header information including a size of the sub-information packet and a location of the control sequence information.
【請求項62】 主情報とともに使用可能な副情報を所
定の単位でパケット化した情報を保持するものであっ
て、 前記副情報のパケットの使用開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副情報パケ
ットのサイズを含む副情報ヘッダ情報と;前記副情報を
構成するものであって所定の方法で圧縮されたデータを
含む圧縮情報と;前記圧縮情報を用いて前記副情報を使
用する順序を制御するための、1またはそれ以上の制御
シーケンスを含む制御シーケンス情報とが記録されてい
ることを特徴とする情報記録媒体。
62. Information for packetizing sub-information usable in combination with the main information in a predetermined unit is held, and packet header information including a time stamp expressing a use start time of the packet of the sub-information. Sub-information header information including the size of the sub-information packet; compression information including the data that constitutes the sub-information and is compressed by a predetermined method; and uses the sub-information by using the compression information. An information recording medium, on which control sequence information including one or more control sequences for controlling the order of recording is recorded.
【請求項63】 主情報とともに使用可能な副情報を所
定の単位でパケット化した情報を保持するものであっ
て、 前記副情報のパケットの使用開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副情報パケ
ットのサイズを含む副情報ヘッダ情報と;前記副情報を
構成するものであって所定の方法で処理されたデータを
含む処理情報と;前記処理情報を用いて前記副情報を使
用する順序を制御するための、1またはそれ以上の制御
シーケンスを含む制御シーケンス情報とが記録されてい
ることを特徴とする情報記録媒体。
63. Information for packetizing sub-information that can be used together with main information in a predetermined unit is held, and packet header information including a time stamp representing a use start time of a packet of the sub-information. Sub-information header information including the size of the sub-information packet; processing information including the data that constitutes the sub-information and processed by a predetermined method; and uses the sub-information by using the processing information. An information recording medium, on which control sequence information including one or more control sequences for controlling the order of recording is recorded.
【請求項64】 主情報とともに使用可能な副情報を所
定の単位でパケット化するものにおいて、 前記主情報の使用領域上における前記副情報の使用領域
を設定するた空間的パラメータを作成し;前記副情報の
内容を所定の方法でエンコードして、圧縮したデータを
作成し;前記副情報の使用開始タイミングおよび使用終
了タイミングを特定するための時間的パラメータを作成
し;前記副情報を使用する順序を制御するための1また
はそれ以上の制御シーケンステーブルを作成し;前記副
情報のパケットのサイズおよび前記制御シーケンステー
ブルのロケーションを含む副情報ユニットヘッダを作成
し、この副情報ユニットヘッダに前記圧縮されたデータ
および前記制御シーケンステーブルを加えることで、副
情報ユニットを作成し;作成された副情報ユニットのサ
イズが所定値以上なら作成された副情報ユニットをパケ
ット化し;前記所定値以上のサイズの副情報ユニットの
パケット、または前記所定値以内のサイズの副情報ユニ
ットに、前記副情報の使用開始時刻を表現したタイムス
タンプを記録し;前記タイムスタンプが記録された副情
報ユニットのパケット、または前記タイムスタンプが記
録された副情報ユニットをパック化し、パック化された
副情報ユニットのデータを他のデータとともにストリー
ム化し;前記ストリーム化されたデータから前記パック
化された副情報ユニットのデータを分離し;前記分離さ
れた副情報ユニットのパックを分解し;分解したパック
に前記タイムスタンプが記録されている場合は、このタ
イムスタンプを抽出し;所定のシステムタイマが示す時
間を前記抽出されたタイムスタンプの内容と比較し、両
者が一致したときに、1またはそれ以上の前記制御シー
ケンステーブルの内容に基づいて、前記圧縮されたデー
タを伸張して、エンコードされる前の前記副情報を生成
することを特徴とする情報のエンコード/デコードシス
テム。
64. In a method of packetizing sub information usable with main information in a predetermined unit, a spatial parameter for setting a use area of the sub information on a use area of the main information is created; The content of the sub-information is encoded by a predetermined method to create compressed data; temporal parameters for specifying the use start timing and the use end timing of the sub-information are created; the order of using the sub-information Creating one or more control sequence tables for controlling a sub-information unit header, the sub-information unit header including a size of a packet of the sub-information and a location of the control sequence table; A sub-information unit is created by adding the data and the control sequence table described above; If the size of the sub-information unit is equal to or larger than a predetermined value, the created sub-information unit is packetized; the sub-information unit having a size equal to or larger than the predetermined value or the sub-information unit having a size within the predetermined value is added to the sub-information. A time stamp representing the start time of use of the sub information unit in which the time stamp is recorded, or the sub information unit in which the time stamp is recorded is packed, and the data of the packed sub information unit is packed. With the other data; separating the packed sub-information unit data from the streamed data; decomposing the separated sub-information unit pack; If recorded, extract this time stamp; a predetermined system timer indicates Time is compared with the content of the extracted time stamp, and when they match, the compressed data is decompressed and encoded based on the content of one or more of the control sequence tables. An encoding / decoding system for information, characterized in that said sub-information before is generated.
【請求項65】 主情報とともに使用可能な副情報を所
定の単位でパケット化するものにおいて、 前記主情報の使用領域上における前記副情報の使用領域
を設定するた空間的パラメータを作成し;前記副情報の
内容を所定の方法でエンコードしたデータを作成し;前
記副情報の使用開始タイミングおよび使用終了タイミン
グを特定するための時間的パラメータを作成し;前記副
情報を使用する順序を制御するための1またはそれ以上
の制御シーケンステーブルを作成し;前記副情報のパケ
ットのサイズおよび前記制御シーケンステーブルのロケ
ーションを含む副情報ユニットヘッダを作成し、この副
情報ユニットヘッダに前記デコードされたデータおよび
前記制御シーケンステーブルを加えることで、副情報ユ
ニットを作成し;作成された副情報ユニットのサイズが
所定値以上なら作成された副情報ユニットをパケット化
し;前記所定値以上のサイズの副情報ユニットのパケッ
ト、または前記所定値以内のサイズの副情報ユニット
に、前記副情報の使用開始時刻を表現したタイムスタン
プを記録し;前記タイムスタンプが記録された副情報ユ
ニットのパケット、または前記タイムスタンプが記録さ
れた副情報ユニットをパック化し、パック化された副情
報ユニットのデータを他のデータとともにストリーム化
し;前記ストリーム化されたデータから前記パック化さ
れた副情報ユニットのデータを分離し;前記分離された
副情報ユニットのパックを分解し;分解したパックに前
記タイムスタンプが記録されている場合は、このタイム
スタンプを抽出し;所定のシステムタイマが示す時間を
前記抽出されたタイムスタンプの内容と比較し、両者が
一致したときに、1またはそれ以上の前記制御シーケン
ステーブルの内容に基づいて、前記エンコードされたデ
ータをデコードして、エンコードされる前の前記副情報
を生成することを特徴とする情報のエンコード/デコー
ドシステム。
65. In a method of packetizing sub information usable together with main information in a predetermined unit, a spatial parameter for setting a use area of the sub information on a use area of the main information is created; To create data in which the contents of the sub information are encoded by a predetermined method; to create a temporal parameter for specifying the use start timing and the use end timing of the sub information; to control the order of using the sub information Creating one or more control sequence tables of; a sub information unit header containing the size of the packet of said sub information and the location of said control sequence table, and in this sub information unit header said decoded data and said Creating a sub-information unit by adding a control sequence table; If the size of the information unit is greater than or equal to a predetermined value, the created sub-information unit is packetized; use of the sub-information in a packet of the sub-information unit having a size greater than or equal to the predetermined value or in a sub-information unit having a size within the predetermined value A time stamp expressing a start time is recorded; a packet of the sub information unit recorded with the time stamp or the sub information unit recorded with the time stamp is packed, and the data of the packed sub information unit is The data of the packed sub information unit is separated from the streamed data; the pack of the separated sub information unit is decomposed; the time stamp is recorded in the decomposed pack. If so, extract this timestamp; the time indicated by the given system timer Is compared with the content of the extracted time stamp, and when they match each other, the encoded data is decoded based on the content of one or more of the control sequence tables, before being encoded. An information encoding / decoding system characterized by generating the sub-information.
【請求項66】 主情報とともに使用可能な副情報を所
定の単位でパケット化するものにおいて、 前記副情報のパケットの使用開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副情報を構
成するものであって所定の方法で圧縮されたデータを含
む圧縮情報と;前記圧縮情報を用いて前記副情報を使用
する順序を制御するための、1またはそれ以上の制御シ
ーケンスを含む制御シーケンス情報と;前記副情報パケ
ットのサイズおよび前記制御シーケンス情報のロケーシ
ョンを含む副情報ヘッダ情報と;を用いて前記副情報パ
ケットをエンコードし、 エンコードした副情報パケットのデータストリームを放
送することを特徴とする情報放送システム。
66. A packet header information including a time stamp representing a use start time of a packet of the sub information, wherein the sub information usable together with the main information is packetized in a predetermined unit; and the sub information is configured. Compression information including data compressed by a predetermined method; and control sequence information including one or more control sequences for controlling the order of using the sub-information by using the compression information. And; sub-information header information including the size of the sub-information packet and the location of the control sequence information; and encoding the sub-information packet and broadcasting a data stream of the encoded sub-information packet. Information broadcasting system.
【請求項67】 主情報とともに使用可能な副情報を所
定の単位でパケット化するものにおいて、 前記副情報のパケットの使用開始時刻を表現したタイム
スタンプを含むパケットヘッダ情報と;前記副情報を構
成するものであって所定の方法で処理されたデータを含
む処理情報と;前記処理情報を用いて前記副情報を使用
する順序を制御するための、1またはそれ以上の制御シ
ーケンスを含む制御シーケンス情報と;前記副情報パケ
ットのサイズおよび前記制御シーケンス情報のロケーシ
ョンを含む副情報ヘッダ情報と;を用いて前記副情報パ
ケットをエンコードし、 エンコードした副情報パケットのデータストリームを放
送することを特徴とする情報放送システム。
67. In the sub-packetizing of sub-information usable together with the main information in a predetermined unit, packet header information including a time stamp representing a use start time of the packet of the sub-information; And processing sequence information including data processed by a predetermined method; control sequence information including one or more control sequences for controlling the order in which the sub information is used by using the processing information. And; sub-information header information including the size of the sub-information packet and the location of the control sequence information; and encoding the sub-information packet and broadcasting a data stream of the encoded sub-information packet. Information broadcasting system.
【請求項68】 パケット化される情報の使用開始時刻
を表現したタイムスタンプと、前記パケット化情報を使
用する順序を制御するための1またはそれ以上の制御シ
ーケンステーブルと、前記パケット化情報の少なくとも
一部を圧縮エンコードしたデータと、前記パケット化情
報のパケットサイズおよび前記制御シーケンステーブル
のロケーションを含む情報ユニットヘッダとを含む情報
ユニットが複数パック化されたデータストリームをデコ
ードするものにおいて、 前記データストリームから前記パック化された情報ユニ
ットのデータを分離する手段と;前記分離された情報ユ
ニットのパックを分解する手段と;分解したパックに前
記タイムスタンプが記録されている場合は、このタイム
スタンプを抽出する手段と;所定のシステムタイマが示
す時間を前記抽出されたタイムスタンプの内容と比較
し、両者が一致したときに、1またはそれ以上の前記制
御シーケンステーブルの内容に基づいて、前記圧縮エン
コードされたデータを伸張して、エンコードされる前の
前記パケット化情報の内容をデコードする手段と;を備
えたことを特徴とするデコード装置。
68. A time stamp representing the use start time of packetized information, one or more control sequence tables for controlling the order in which the packetized information is used, and at least the packetized information. A data stream in which a plurality of information units, each of which includes compression-encoded data and an information unit header including a packet size of the packetization information and a location of the control sequence table, is decoded. Means for separating the data of the packed information unit from; means for disassembling the separated pack of information units; if the time stamp is recorded in the decomposed pack, this time stamp is extracted Means to do; predetermined system ties Is compared with the content of the extracted time stamp, and when both match, the compressed encoded data is decompressed and encoded based on the content of one or more of the control sequence tables. Decoding means for decoding the contents of the packetized information before being processed.
【請求項69】 パケット化される情報の使用開始時刻
を表現したタイムスタンプと、前記パケット化情報を使
用する順序を制御するための1またはそれ以上の制御シ
ーケンステーブルと、前記パケット化情報の少なくとも
一部をエンコードしたデータと、前記パケット化情報の
パケットサイズおよび前記制御シーケンステーブルのロ
ケーションを含む情報ユニットヘッダとを含む情報ユニ
ットが複数パック化されたデータストリームをデコード
するものにおいて、 前記データストリームから前記パック化された情報ユニ
ットのデータを分離する手段と;前記分離された情報ユ
ニットのパックを分解する手段と;分解したパックに前
記タイムスタンプが記録されている場合は、このタイム
スタンプを抽出する手段と;所定のシステムタイマが示
す時間を前記抽出されたタイムスタンプの内容と比較
し、両者が一致したときに、1またはそれ以上の前記制
御シーケンステーブルの内容に基づいて、前記エンコー
ドされたデータをデコードして、エンコードされる前の
前記パケット化情報の内容を生成する手段と;を備えた
ことを特徴とするデコード装置。
69. A time stamp representing the use start time of packetized information, one or more control sequence tables for controlling the order in which the packetized information is used, and at least the packetized information. Decoding a data stream in which a plurality of information units including partially encoded data and an information unit header including a packet size of the packetization information and a location of the control sequence table are decoded, wherein: Means for separating the data of the packed information unit; means for disassembling the separated information unit pack; and if the time stamp is recorded in the disassembled pack, this time stamp is extracted. Means and; predetermined system timer Time is compared with the content of the extracted time stamp, and when both match, the encoded data is decoded and encoded based on the content of one or more control sequence tables. Means for generating the contents of the previous packetization information; and the decoding device.
【請求項70】 主情報とともに使用可能な副情報を所
定の単位でパケット化し、その後パケット化された情報
を通信するものにおいて、 前記副情報の内容を所定の方法で圧縮したデータを作成
する手段と;前記副情報の使用開始タイミングおよび使
用終了タイミングを特定するための時間的パラメータを
作成する手段と;前記副情報を使用する順序を制御する
ための1またはそれ以上の制御シーケンステーブルを作
成する手段と;前記副情報のパケットのサイズおよび前
記制御シーケンステーブルのロケーションを含む副情報
ユニットヘッダを作成し、この副情報ユニットヘッダに
前記圧縮されたデータおよび前記制御シーケンステーブ
ルを加えることで、副情報ユニットを作成する手段と;
作成された副情報ユニットのサイズが所定値以上なら作
成された副情報ユニットをパケット化する手段と;前記
所定値以上のサイズの副情報ユニットのパケット、また
は前記所定値以内のサイズの副情報ユニットに、前記副
情報の使用開始時刻を表現したタイムスタンプを記録す
る手段と;前記タイムスタンプが記録された副情報ユニ
ットのパケット、または前記タイムスタンプが記録され
た副情報ユニットをパック化し、パック化された副情報
ユニットのデータをストリーム化する手段と;前記スト
リーム化されたデータを送信する送信手段と;前記送信
手段により送信されたストリーム化データを受信する受
信手段と;前記受信手段により受信された前記ストリー
ム化データから前記パック化された副情報ユニットのデ
ータを分離する手段と;前記分離された副情報ユニット
のパックを分解する手段と;分解したパックに前記タイ
ムスタンプが記録されている場合は、このタイムスタン
プを抽出する手段と;所定のシステムタイマが示す時間
を前記抽出されたタイムスタンプの内容と比較し、両者
が一致したときに、1またはそれ以上の前記制御シーケ
ンステーブルの内容に基づいて、前記圧縮されたデータ
を伸張して、エンコードされる前の前記副情報を生成す
る手段と;を備えたことを特徴とする情報の送受信シス
テム。
70. A sub-information packetized in a predetermined unit that can be used together with the main information, and then the packetized information is communicated. A means for creating data by compressing the contents of the sub-information by a predetermined method. Means for creating a temporal parameter for specifying a use start timing and a use end timing of the sub information; and one or more control sequence tables for controlling the order of using the sub information A sub information unit header including a size of the packet of the sub information and a location of the control sequence table, and adding the compressed data and the control sequence table to the sub information unit header, Means to create units;
Means for packetizing the created sub-information unit if the size of the created sub-information unit is greater than or equal to a predetermined value; a packet of the sub-information unit having a size equal to or greater than the predetermined value, or a sub-information unit having a size within the predetermined value Means for recording a time stamp expressing the start time of use of the sub information; and a packet of the sub information unit recorded with the time stamp or the sub information unit recorded with the time stamp is packed and packed. Means for streaming data of the sub-information unit which has been converted; transmission means for transmitting the streamed data; receiving means for receiving the streamed data transmitted by the transmitting means; received by the receiving means A method of separating the data of the packed sub-information unit from the streamed data A means for disassembling the separated pack of sub-information units; a means for extracting the time stamp if the time stamp is recorded in the disassembled pack; and a time indicated by a predetermined system timer, The contents of the extracted time stamp are compared, and when they match each other, the compressed data is decompressed based on the contents of the one or more control sequence tables, and the sub data before being encoded is decompressed. An information transmission / reception system comprising: means for generating information.
【請求項71】 主情報とともに使用可能な副情報を所
定の単位でパケット化し、その後パケット化された情報
を通信するものにおいて、 前記副情報の内容を所定の方法でエンコードしたデータ
を作成する手段と;前記副情報の使用開始タイミングお
よび使用終了タイミングを特定するための時間的パラメ
ータを作成する手段と;前記副情報を使用する順序を制
御するための1またはそれ以上の制御シーケンステーブ
ルを作成する手段と;前記副情報のパケットのサイズお
よび前記制御シーケンステーブルのロケーションを含む
副情報ユニットヘッダを作成し、この副情報ユニットヘ
ッダに前記圧縮されたデータおよび前記制御シーケンス
テーブルを加えることで、副情報ユニットを作成する手
段と;作成された副情報ユニットのサイズが所定値以上
なら作成された副情報ユニットをパケット化する手段
と;前記所定値以上のサイズの副情報ユニットのパケッ
ト、または前記所定値以内のサイズの副情報ユニット
に、前記副情報の使用開始時刻を表現したタイムスタン
プを記録する手段と;前記タイムスタンプが記録された
副情報ユニットのパケット、または前記タイムスタンプ
が記録された副情報ユニットをパック化し、パック化さ
れた副情報ユニットのデータをストリーム化する手段
と;前記ストリーム化されたデータを送信する送信手段
と;前記送信手段により送信されたストリーム化データ
を受信する受信手段と;前記受信手段により受信された
前記ストリーム化データから前記パック化された副情報
ユニットのデータを分離する手段と;前記分離された副
情報ユニットのパックを分解する手段と;分解したパッ
クに前記タイムスタンプが記録されている場合は、この
タイムスタンプを抽出する手段と;所定のシステムタイ
マが示す時間を前記抽出されたタイムスタンプの内容と
比較し、両者が一致したときに、1またはそれ以上の前
記制御シーケンステーブルの内容に基づいて、前記エン
コードされたデータをデコードして、エンコードされる
前の前記副情報を生成する手段と;を備えたことを特徴
とする情報の送受信システム。
71. A sub-information which can be used together with the main information is packetized in a predetermined unit and then the packetized information is communicated. A means for creating data by encoding the content of the sub-information in a predetermined method. Means for creating a temporal parameter for specifying a use start timing and a use end timing of the sub information; and one or more control sequence tables for controlling the order of using the sub information A sub information unit header including a size of the packet of the sub information and a location of the control sequence table, and adding the compressed data and the control sequence table to the sub information unit header, Means for creating units; the size of the created sub-information unit is Means for packetizing the created sub-information unit if the value is greater than or equal to the value; Means for recording the expressed time stamp; packet of the sub information unit recorded with the time stamp, or pack the sub information unit recorded with the time stamp, and stream data of the packed sub information unit Means for transmitting the streamed data, receiving means for receiving the streamed data transmitted by the transmitting means, and packed from the streamed data received by the receiving means Means for separating the data of the separated sub-information unit; Means for disassembling the clock; means for extracting the time stamp if the time stamp is recorded in the decomposed pack; and comparing the time indicated by a predetermined system timer with the content of the extracted time stamp. And a means for decoding the encoded data based on the contents of one or more of the control sequence table to generate the sub-information before being encoded, when both match. An information transmission / reception system characterized by the above.
JP1888596A 1995-02-03 1996-02-05 Image information encoding / decoding system Expired - Lifetime JP2712099B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1888596A JP2712099B2 (en) 1995-02-03 1996-02-05 Image information encoding / decoding system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP1630495 1995-02-03
JP7-16304 1995-02-03
JP1888596A JP2712099B2 (en) 1995-02-03 1996-02-05 Image information encoding / decoding system

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP9199882A Division JP2977513B2 (en) 1995-02-03 1997-07-25 Image information encoding / decoding system
JP9199881A Division JP2807456B2 (en) 1995-02-03 1997-07-25 Image information recording medium and method of manufacturing the same

Publications (2)

Publication Number Publication Date
JPH08275111A true JPH08275111A (en) 1996-10-18
JP2712099B2 JP2712099B2 (en) 1998-02-10

Family

ID=26352617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1888596A Expired - Lifetime JP2712099B2 (en) 1995-02-03 1996-02-05 Image information encoding / decoding system

Country Status (1)

Country Link
JP (1) JP2712099B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000209588A (en) * 1998-11-28 2000-07-28 Deutsche Thomson Brandt Gmbh Image coding and decoding method, constitution method of sub-video data unit for electronic device, electronic device and data carrier used by electronic device
JP2001177802A (en) * 1999-10-20 2001-06-29 Deutsche Thomson Brandt Gmbh Image sequence coding method, sub-picture unit used for electronic device, and data storage medium
WO2004032495A1 (en) * 2002-10-01 2004-04-15 Pioneer Corporation Information recording medium, information recording device and method, information reproduction device and method, information recording/reproduction device and method, computer program for controlling recording or reproduction, and data structure including control signal
WO2004032500A1 (en) * 2002-10-01 2004-04-15 Pioneer Corporation Information recording medium, information recording device and method, information reproduction device and method, information recording/reproduction device and method, recording or reproduction control computer program, and data structure containing control signal
JP2007507126A (en) * 2003-07-01 2007-03-22 トムソン ライセンシング Run-length encoding method for bitmap data stream
WO2008146465A1 (en) * 2007-05-24 2008-12-04 Panasonic Corporation Video signal processing device
US7609592B2 (en) 2004-10-18 2009-10-27 Funai Electric Co., Ltd. Reproduction apparatus and method capable of calculating error between designated time point and time stamp
CN114390335A (en) * 2020-10-22 2022-04-22 华为终端有限公司 Method for playing audio and video online and electronic equipment

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000209588A (en) * 1998-11-28 2000-07-28 Deutsche Thomson Brandt Gmbh Image coding and decoding method, constitution method of sub-video data unit for electronic device, electronic device and data carrier used by electronic device
JP2001177802A (en) * 1999-10-20 2001-06-29 Deutsche Thomson Brandt Gmbh Image sequence coding method, sub-picture unit used for electronic device, and data storage medium
JP4729164B2 (en) * 1999-10-20 2011-07-20 ドイチェ トムソン−ブラント ゲーエムベーハー Image sequence encoding method and data storage medium
WO2004032495A1 (en) * 2002-10-01 2004-04-15 Pioneer Corporation Information recording medium, information recording device and method, information reproduction device and method, information recording/reproduction device and method, computer program for controlling recording or reproduction, and data structure including control signal
WO2004032500A1 (en) * 2002-10-01 2004-04-15 Pioneer Corporation Information recording medium, information recording device and method, information reproduction device and method, information recording/reproduction device and method, recording or reproduction control computer program, and data structure containing control signal
US8139917B2 (en) 2002-10-01 2012-03-20 Pioneer Corporation Information recording medium, information recording device and method, information reproduction device and method, information recording/reproduction device and method, recording or reproduction control computer program, and data structure containing control signal
JP2011139445A (en) * 2003-07-01 2011-07-14 Thomson Licensing Method for run-length encoding of bit map data, decoding method, and recording medium
JP2011066898A (en) * 2003-07-01 2011-03-31 Thomson Licensing Run-length coding of bit map data
JP2010226738A (en) * 2003-07-01 2010-10-07 Thomson Licensing Method for run-length encoding of bitmap data stream
JP2010252343A (en) * 2003-07-01 2010-11-04 Thomson Licensing Method for encoding and recording data stream to optical disk, and recorded optical disk
JP2010252341A (en) * 2003-07-01 2010-11-04 Thomson Licensing Method for run-length encoding of bitmap data stream
JP4587339B1 (en) * 2003-07-01 2010-11-24 トムソン ライセンシング Run-length encoding and decoding of bitmap data
JP4601716B2 (en) * 2003-07-01 2010-12-22 トムソン ライセンシング Method for encoding and recording data stream on optical disc and recorded optical disc
JP2011024219A (en) * 2003-07-01 2011-02-03 Thomson Licensing Run-length encoding and decoding of bitmap data
JP4627807B1 (en) * 2003-07-01 2011-02-09 トムソン ライセンシング Run-length encoding of bitmap data
JP4540016B1 (en) * 2003-07-01 2010-09-08 トムソン ライセンシング Run-length encoding method for bitmap data stream
JP2011139446A (en) * 2003-07-01 2011-07-14 Thomson Licensing Method for recording bit map data, method for playing back the same, and optical disc
JP2011139447A (en) * 2003-07-01 2011-07-14 Thomson Licensing Method for run-length decoding of bitmap data, and optical disc
JP2007507126A (en) * 2003-07-01 2007-03-22 トムソン ライセンシング Run-length encoding method for bitmap data stream
JP2011193502A (en) * 2003-07-01 2011-09-29 Thomson Licensing Method for run-length encoding and decoding of data stream
JP2011193501A (en) * 2003-07-01 2011-09-29 Thomson Licensing Method for encoding data stream
US7609592B2 (en) 2004-10-18 2009-10-27 Funai Electric Co., Ltd. Reproduction apparatus and method capable of calculating error between designated time point and time stamp
WO2008146465A1 (en) * 2007-05-24 2008-12-04 Panasonic Corporation Video signal processing device
CN114390335A (en) * 2020-10-22 2022-04-22 华为终端有限公司 Method for playing audio and video online and electronic equipment
CN114390335B (en) * 2020-10-22 2022-11-18 华为终端有限公司 Method for playing audio and video online, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP2712099B2 (en) 1998-02-10

Similar Documents

Publication Publication Date Title
KR100253729B1 (en) Data recording method and recording medium
JP2712099B2 (en) Image information encoding / decoding system
JP2977513B2 (en) Image information encoding / decoding system
JP2807456B2 (en) Image information recording medium and method of manufacturing the same
JP3887399B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JPH08242448A (en) Encode and decode systems for image information
JP3887398B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
KR100215621B1 (en) Method and device for encoding and decoding video signals
JP3680071B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JPH09214955A (en) Encode and decode system for image data
JP2829294B2 (en) Image information recording medium and method of manufacturing the same
JPH1098721A (en) Encoding and decoding system for image information
JP3887400B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680077B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680075B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680072B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680069B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JPH09233425A (en) Camera
JP2006287952A (en) Encoding method, reproduction method, and reproduction apparatus of image information
JP2004343785A (en) Encoding method, reproducing method, and reproducing apparatus, of image information
JP2004266869A (en) Playback apparatus and playback method
JP2004328780A (en) Encoding method, decoding method and decoding device of image information
JP2004328782A (en) Encoding method, decoding method and decoding device of image information
JP2004328781A (en) Encoding method, decoding method and decoding device of image information
JP2004320802A (en) Method for encoding image information, method and apparatus for reproduction thereof

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 16

EXPY Cancellation because of completion of term