JP2004080796A - Device and method for encoding and decoding data, and storage medium - Google Patents

Device and method for encoding and decoding data, and storage medium Download PDF

Info

Publication number
JP2004080796A
JP2004080796A JP2003303080A JP2003303080A JP2004080796A JP 2004080796 A JP2004080796 A JP 2004080796A JP 2003303080 A JP2003303080 A JP 2003303080A JP 2003303080 A JP2003303080 A JP 2003303080A JP 2004080796 A JP2004080796 A JP 2004080796A
Authority
JP
Japan
Prior art keywords
entry
intra
packet
data
entry packet
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
JP2003303080A
Other languages
Japanese (ja)
Other versions
JP3589241B2 (en
Inventor
Makoto Kawamura
河村 真
Yasushi Fujinami
藤波 靖
Mark Veltman
フエルトマン マーク
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2003303080A priority Critical patent/JP3589241B2/en
Publication of JP2004080796A publication Critical patent/JP2004080796A/en
Application granted granted Critical
Publication of JP3589241B2 publication Critical patent/JP3589241B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable quick searches by finding an access point of video data quickly. <P>SOLUTION: A device for encoding data is equipped with an encoder 1 which encodes input video data into a bit stream made from in-frame and interframe encoded pictures, an entry packet generation part 32 which generates an entry packet having location information on the in-frame encoded pictures, and a multiplexer 6 which multiplexes the generated entry packet so that it is placed in front of the in-frame encoded pictures in the bit stream. The entry packet is composed of location information on a plurality of in-frame encoded pictures selected discretely. <P>COPYRIGHT: (C)2004,JPO

Description

 本発明は、動画像及び音声を圧縮してディスクに時分割多重記録し、所定の画像を高速にサーチする場合に用いて好適な、データ符号化装置および方法、データ復号化装置および方法、並びに記録媒体に関する。 The present invention is a data encoding apparatus and method, a data decoding apparatus and method, which are suitable for use when a moving image and audio are compressed and time-division multiplex-recorded on a disc and a predetermined image is searched at high speed. It relates to a recording medium.

 従来の符号化装置及び復号化装置の例を図6と図7に示す。図6において、ビデオ信号は、ビデオエンコーダ1により圧縮されるとともに符号化(エンコード)され、多重化装置3内のコードバッファ4に入力される。また、音声信号は、オーディオエンコーダ2により圧縮されるとともに符号化(エンコード)され、多重化装置3のコードバッファ5に入力される。 FIGS. 6 and 7 show examples of the conventional encoding device and decoding device. In FIG. 6, a video signal is compressed and encoded (encoded) by a video encoder 1 and input to a code buffer 4 in a multiplexer 3. The audio signal is compressed and encoded by the audio encoder 2 and input to the code buffer 5 of the multiplexer 3.

 コードバッファ4,5の出力端子は、それぞれスイッチング回路6の入力端子E1,E2に接続されている。スイッチング回路6の出力端子Fは、ヘッダ付加回路7の入力端子に接続されている。ヘッダ付加回路7の出力は、例えば光磁気ディスク、磁気ディスク(ハードディスク)などからなる記録媒体の駆動装置(DSM)10に供給されるようになっている。制御装置8は、多重化システムクロック発生回路9の出力するシステムクロックの入力を受けて、所定の周期でスイッチング回路6の入力端子E1,E2を出力端子Fと順次接続状態にして、コードバッファ4または5からのデータを順次取り出して、時分割多重する。 The output terminals of the code buffers 4 and 5 are connected to the input terminals E1 and E2 of the switching circuit 6, respectively. The output terminal F of the switching circuit 6 is connected to the input terminal of the header adding circuit 7. The output of the header adding circuit 7 is supplied to a drive device (DSM) 10 for a recording medium including, for example, a magneto-optical disk, a magnetic disk (hard disk), or the like. The control device 8 receives the system clock output from the multiplexed system clock generation circuit 9 and sequentially connects the input terminals E1 and E2 of the switching circuit 6 to the output terminal F at a predetermined cycle, thereby setting the code buffer 4 Alternatively, data from 5 is sequentially taken out and time-division multiplexed.

 制御装置8は、図8に示すフォーマットに従ってビットストリームが生成されるように、スイッチング回路6とヘッダ付加回路7を制御する。 The control device 8 controls the switching circuit 6 and the header adding circuit 7 so that a bit stream is generated according to the format shown in FIG.

 即ち、図8に示すように、ISO11172(MPEG)の多重化方式では、1つの多重化ビットストリームは、1つ以上のパック(PACK)と、1つのISO _11172 _end_codeで構成される。ISO _11172 _end _codeは、32ビットの符号で、16進で表すと0x000001b9である。ここでx は不定を意味する。 That is, as shown in FIG. 8, in the multiplexing method of ISO11172 (MPEG), one multiplexed bit stream is composed of one or more packs (PACK) and one ISO_11172_end_code. ISO_11172_end_code is a 32-bit code, and is 0x000001b9 in hexadecimal. Here, x means indefinite.

 1つのパックは、Pack_Start _Code、SCR (System Clock Reference) 、MUX_Rateよりなるヘッダと、1つ以上のパケット (Packet) で構成される。ヘッダのPack_Start _Codeは、32ビットの符号で、16進で表すと、0x000001b4である。パックの長さは、可変長として定義されているが、最大2048バイトとされる。 One pack is composed of a header composed of Pack_Start_Code, SCR (System Clock Reference), and MUX_Rate, and one or more packets. Pack_Start_Code of the header is a 32-bit code, which is 0x000001b4 in hexadecimal. The length of the pack is defined as a variable length, but is set to a maximum of 2048 bytes.

 1つのパケットは、Packet_Start _Code_Prefix、Stream_ID、Packet_length、PTS(Presentation Time Stamp)、DTS(Decoding Time Stamp)よりなるヘッダと、パケットデータ(Code Data )とで構成される。Packet_Start _Code_Prefixは、24ビットの符号で0x000001である。Stream_IDは、8ビットの符号で、図9に示すように、パケットの種類を表す。Packet_length(16ビット)は、それ以降のパケットの長さを示す。 (1) One packet includes a header including Packet_Start_Code_Prefix, Stream_ID, Packet_length, PTS (Presentation Time Stamp), DTS (Decoding Time Stamp), and packet data (Code Data). Packet_Start_Code_Prefix is a 24-bit code and is 0x000001. Stream_ID is an 8-bit code and represents the type of packet as shown in FIG. Packet_length (16 bits) indicates the length of a subsequent packet.

 各パケットのCode Data には、オーディオデータ(audio stream)の場合、または、ビデオデータ(video streamの場合)が記録される。また、audio streamは32種類、video streamは16種類の異なったstream id を持つため、この数までの複数のオーディオ信号とビデオ信号を多重化することが出来る。 (4) In the Code Data of each packet, audio data (audio stream) or video data (video stream) is recorded. Further, since 32 types of audio streams and 16 types of video streams have different stream ids, a plurality of audio signals and video signals up to this number can be multiplexed.

 reserved stream は、例えば字幕等のデータを持つ。private _stream_1 及びprivate _stream_2 は用途が定められていない。padding _streamはデータ量を増やすために使用される。 The reserved stream has data such as subtitles. The use of private_stream_1 and private_stream_2 is not defined. padding_stream is used to increase the amount of data.

 以上のフォーマットに従って、パックの間隔が2048バイトになるように、制御装置8は、例えば図10に示すようなアルゴリズムを使用してヘッダ付加、コード読み込みの処理を行う。 {Circle around (2)} According to the above-mentioned format, the control device 8 performs processing of adding a header and reading a code using an algorithm as shown in FIG. 10 so that the interval between packs becomes 2048 bytes.

 最初に、制御装置8は、ヘッダ付加回路7に命令してパックヘッダを付加させる(ステップS1)。そしてM4 とM5 の和が、1つのパックに含まれるコードデータ量Dに等しくなるか、それより大きくなるまで待機する(ステップS2)。すなわち、1つのパックに収めるだけのデータがコードバッファ4,5に蓄積されるまで待機する。 First, the control device 8 instructs the header adding circuit 7 to add a pack header (step S1). Then, the process waits until the sum of M4 and M5 becomes equal to or larger than the code data amount D included in one pack (step S2). That is, the process waits until data enough to be stored in one pack is accumulated in the code buffers 4 and 5.

 ここで、M4 はコードバッファ4に書き込まれたデータ量、M5 はコードバッファ5に書き込まれたデータ量である。また、Dは1つのパック中に含まれるデータの総量を示す。ここでは簡単化するためにDを定数、すなわちパックの大きさ(2048)から、パックヘッダの大きさ、ビデオパケットヘッダの大きさ及びオーディオパケットヘッダの大きさを減じたものとする。 Here, M4 is the amount of data written to the code buffer 4, and M5 is the amount of data written to the code buffer 5. D indicates the total amount of data included in one pack. Here, for simplicity, it is assumed that D is a constant, that is, the size of the pack (2048) minus the size of the pack header, the size of the video packet header, and the size of the audio packet header.

 次に、そのパックに収めるビデオデータの量P1と、そのパックに収めるオーディオデータの量P2を、次式に従って演算する(ステップ3)。P1=D×M4 /(M4 +M5 )P2=D−P1ここでは単にパックに含まれるコードデータの総量Dを、各コードバッファ4,5のデータ量の比で配分している。 Next, the amount P1 of video data contained in the pack and the amount P2 of audio data contained in the pack are calculated according to the following equation (step 3). P1 = D × M4 / (M4 + M5) P2 = D-P1 Here, the total amount D of the code data included in the pack is simply distributed according to the ratio of the data amount of each of the code buffers 4 and 5.

 データ量が決まったら、制御装置8はヘッダ付加回路7に指令し、ビデオパケットヘッダを出力させる(ステップS4)。次にP1バイトのビデオデータをコードバッファ4より読み出し、駆動装置10に出力させる(ステップS5)。同様に、オーディオパケットヘッダを付加し(ステップS6)、P2バイトのオーディオデータをコードバッファ5より読み出し、駆動装置10に出力させる(ステップS7)。駆動装置10においては、内蔵するディスクにこれらの入力データが記録される。 (4) When the data amount is determined, the control device 8 instructs the header adding circuit 7 to output a video packet header (step S4). Next, the P1 byte video data is read from the code buffer 4 and output to the driving device 10 (step S5). Similarly, an audio packet header is added (step S6), and P2-byte audio data is read from the code buffer 5 and output to the driving device 10 (step S7). In the drive device 10, these input data are recorded on a built-in disk.

 このようにしてディスクに記録されたデータは図7に示す復号化装置において復号化される。すなわち、分離装置21のヘッダ分離回路22は、駆動装置10から読み出されたデータから、パックヘッダ及びパケットヘッダを分離して制御装置24に供給するとともに、時分割多重されたデータをスイッチング回路23の入力端子Gに供給する。スイッチング回路23の出力端子H1,H2は、それぞれビデオデコーダ25、オーディオデコーダ26の入力端子に接続されている。分離装置21の制御装置24は、ヘッダ分離回路22から供給されたパケットヘッダのstream idに従い、スイッチング回路23の入力端子Gと出力端子H1,H2を順次接続状態にして、時分割多重されたデータを正しく分離し、対応するデコーダに供給する。 デ ー タ The data recorded on the disk in this manner is decoded by the decoding device shown in FIG. That is, the header separation circuit 22 of the separation device 21 separates the pack header and the packet header from the data read from the driving device 10 and supplies them to the control device 24, and also converts the time-division multiplexed data into the switching circuit 23. To the input terminal G. Output terminals H1 and H2 of the switching circuit 23 are connected to input terminals of a video decoder 25 and an audio decoder 26, respectively. The control device 24 of the demultiplexer 21 sequentially connects the input terminal G and the output terminals H1 and H2 of the switching circuit 23 according to the stream id of the packet header supplied from the header demultiplexer 22, and outputs the time-division multiplexed data. Are correctly separated and supplied to the corresponding decoder.

 このように、多重化したビデオデータがMPEGの符号化方式で圧縮されている場合、ランダムアクセスやサーチ動作に制限が生じる。すなわち、MPEGにおいては、フレーム内符号化ピクチャ(I(イントラ)ピクチャ)とフレーム間符号化ピクチャ(P(前方予測)ピクチャ、B(両方向予測)ピクチャ)を持っている。Iピクチャの符号化は、その画像(フレームまたはフイールド)内のデータのみを用いて行なわれるため、データの圧縮効率は低くなる。このIピクチャ自体をデコードすることが可能である。PピクチャとBピクチャは、前後のピクチャからの差分信号を符号化したものであるため、データの圧縮効率は高くなる。このPピクチャまたはBピクチャをデコードするには、それより前または後の予測画像が必要となる。このため、通常は1秒間に2枚程度のIピクチャが出現するようにして、ランダムアクセス性と圧縮効率のバランスを取っている。 (4) When the multiplexed video data is compressed by the MPEG coding method, random access and search operations are restricted. That is, in MPEG, there are an intra-frame coded picture (I (intra) picture) and an inter-frame coded picture (P (forward prediction) picture, B (bidirectional prediction) picture). Since the coding of an I picture is performed using only the data in the image (frame or field), the data compression efficiency is low. This I picture itself can be decoded. Since the P picture and the B picture are obtained by encoding the difference signal from the preceding and succeeding pictures, the data compression efficiency increases. In order to decode this P picture or B picture, an earlier or later predicted image is required. For this reason, normally, about two I-pictures appear per second to balance the random accessibility and the compression efficiency.

 図11に、駆動装置10によりディスクに記録されるIピクチャ、PピクチャおよびBピクチャを含むビットストリームの概念図を示す。一続きのビデオビットストリームは、1つ以上のGOP(Group of Pictures) に分割される。GOPは先頭部分にIピクチャを持つ。ビデオデータに対して固定レートの圧縮が行われている場合、Iピクチャは周期的に所定の位置に出現するため、その位置を計算により求め、アクセスすることができる。しかしながら、可変レートの圧縮が行われている場合、Iピクチャの位置は不定となり、アクセスすることが困難になる。 FIG. 11 shows a conceptual diagram of a bit stream including an I picture, a P picture, and a B picture recorded on a disk by the drive device 10. A series of video bit streams is divided into one or more GOPs (Group of Pictures). The GOP has an I picture at the head. When the video data is compressed at a fixed rate, the I picture periodically appears at a predetermined position, so that the position can be obtained by calculation and accessed. However, when variable rate compression is being performed, the position of the I picture is undefined, making it difficult to access.

 即ち、図7の多重化データ復号化装置において、サーチの命令を受けた場合、図示せぬ主制御装置は、制御装置24、ビデオデコーダ25及びオーディオデコーダ26に対してサーチモードへの遷移を命令する。サーチモードにおいてビデオデコーダ25は、入力されたビデオデータの中からIピクチャのデータのみをデコードする。あるいはまた、分離装置21でIピクチャのデータのみが選択され、ビデオデコーダ25に入力される。ビデオデコーダ25では、入力されたデータがデコードされる。 That is, when the search command is received in the multiplexed data decoding device of FIG. 7, the main control device (not shown) instructs the control device 24, the video decoder 25, and the audio decoder 26 to transition to the search mode. I do. In the search mode, the video decoder 25 decodes only I-picture data from the input video data. Alternatively, only the I picture data is selected by the separating device 21 and input to the video decoder 25. The video decoder 25 decodes the input data.

 サーチモードにおいて、制御装置24は駆動装置10に対し、ディスク上のデータの読出位置を前方(または後方)に移動するコマンドを指令する。このときの読出位置の移動量は、サーチの速度や符号化レート等に依存するが、一般的に、サーチの速度が速いほど、また符号化レートが高いほど、移動量が増える。読出位置が所定の位置まで移動したとき、駆動装置10から出力されたデータは分離装置21に入力される。ヘッダ分離回路22はビデオデータを分離し、ビデオデコーダ25に供給する。ビデオデコーダ25は最初に出現したIピクチャをデコードし、出力する。サーチモードにおいて、オーディオデコーダ26はミユート状態とされる。 In the search mode, the control device 24 commands the drive device 10 to move the data reading position on the disk forward (or backward). The moving amount of the reading position at this time depends on the search speed, the coding rate, and the like. In general, the higher the search speed and the higher the coding rate, the larger the moving amount. When the reading position has moved to a predetermined position, the data output from the driving device 10 is input to the separation device 21. The header separation circuit 22 separates the video data and supplies it to the video decoder 25. The video decoder 25 decodes and outputs the first appearing I picture. In the search mode, the audio decoder 26 is in a muted state.

 このように、サーチ動作(Iピクチャの連続再生)は、ランダムアクセスの繰り返しとして実現される。つまりユーザから、例えば前方への高速サーチが指示された場合、ビデオデコーダ25は入力されるデータのうち、所定のフレーム数のデータを読み飛ばし、Iピクチャを探し、デコードして出力する。あるいはまた、駆動装置10によりIピクチャのサーチが行なわれ、Iピクチャのデータのみがビデオデコーダ25に供給され、デコードされる。このような動作を繰り返すことによってサーチ動作(Iピクチャの連続再生)が実現される。 サ ー チ Thus, the search operation (continuous reproduction of I pictures) is realized as repetition of random access. That is, when the user instructs, for example, a high-speed search in the forward direction, the video decoder 25 skips data of a predetermined number of frames among the input data, searches for an I picture, decodes and outputs the picture. Alternatively, an I-picture search is performed by the driving device 10, and only the I-picture data is supplied to the video decoder 25 and decoded. By repeating such operations, a search operation (continuous reproduction of I pictures) is realized.

 このように、従来の装置においては、Iピクチャの位置(アクセスポイント)を知ることが出来ないため、再生位置をある程度移動した後にアクセスポイントを待つという動作が必要となる。このため、サーチ動作の繰り返し周期が長くなり、迅速なサーチ動作が困難になるという課題があった。 As described above, in the conventional apparatus, since the position (access point) of the I picture cannot be known, it is necessary to wait for the access point after moving the reproduction position to some extent. For this reason, there has been a problem that the repetition period of the search operation becomes long and it is difficult to perform a quick search operation.

 本発明はこのような状態に鑑みてなされたものであり、ビデオデータのアクセスポイントを迅速に見つけ出し、迅速なサーチを可能にするものである。 The present invention has been made in view of such a situation, and is to quickly find an access point of video data and enable a quick search.

 請求項1に記載のデータ符号化装置は、入力されるビデオデータをフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームに符号化する符号化器と、フレーム内符号化ピクチャの位置情報を有するエントリパケットを生成するエントリパケット生成部と、生成されたエントリパケットを上記ビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化する多重化器とを有し、上記エントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなることを特徴とする。 An encoder for encoding input video data into a bit stream composed of an intra-frame coded picture and an inter-frame coded picture, and a position of the intra-frame coded picture. An entry packet generation unit that generates an entry packet having information; anda multiplexer that multiplexes the generated entry packet so as to be arranged before an intra-frame coded picture in the bit stream. The entry packet is characterized by comprising position information of a plurality of intra-frame coded pictures discretely selected.

 エントリパケットは、少なくとも隣接する前方向、および後ろ方向のフレーム内符号化ピクチャの位置情報を含むことが好適である。また、エントリパケットは、遠くなるに従って隣接する距離が離れるように選択されたフレーム内符号化ピクチャの位置情報からなることが好適である。また、エントリパケットは、フレーム内符号化ピクチャの位置情報とともに、当該フレーム内符号化ピクチャがいくつ離れた位置に配置されているかを示す情報を含むことが好適である。 It is preferable that the entry packet includes at least the position information of the adjacent forward and backward intra-coded pictures. Further, it is preferable that the entry packet includes position information of an intra-frame coded picture selected such that an adjacent distance increases as the distance increases. Further, it is preferable that the entry packet include, together with the position information of the intra-frame coded picture, information indicating how far the intra-frame coded picture is arranged.

 請求項5に記載のデータ符号化方法は、入力されるビデオデータをフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームに符号化する符号化ステップと、フレーム内符号化ピクチャの位置情報を有するエントリパケットを生成するエントリパケット生成ステップと、生成されたエントリパケットを上記ビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化する多重化ステップとを有し、上記エントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなることを特徴とする。 An encoding step for encoding input video data into a bit stream consisting of an intra-coded picture and an inter-coded picture, and a position of the intra-coded picture. An entry packet generating step of generating an entry packet having information; anda multiplexing step of multiplexing the generated entry packet so as to be arranged before an intra-frame coded picture in the bit stream. The entry packet is characterized by comprising position information of a plurality of intra-frame coded pictures discretely selected.

 請求項6に記載のデータ復号化装置は、エントリパケットがフレーム内符号化ピクチャの前に配置されるように多重化されたビットストリームからフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャを復号する復号手段と、上記エントリパケットから得られるフレーム内符号化ピクチャの位置情報に基づいて記録媒体からの読出し位置を制御する制御手段とを有し、上記するエントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなることを特徴とする。 The data decoding apparatus according to claim 6 decodes an intra-frame coded picture and an inter-frame coded picture from a bit stream multiplexed such that an entry packet is arranged before an intra-frame coded picture. Decoding means, and control means for controlling a reading position from a recording medium based on position information of an intra-frame coded picture obtained from the entry packet, wherein the entry packet includes a plurality of discretely selected entry packets. . Is characterized by the position information of the intra-coded picture.

 請求項10に記載のデータ復号化方法は、エントリパケットがフレーム内符号化ピクチャの前に配置されるように多重化されたビットストリームからフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャを復号する復号ステップと、上記エントリパケットから得られるフレーム内符号化ピクチャの位置情報に基づいて記録媒体からの読出し位置を制御する制御ステップとを有し、上記するエントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなることを特徴とする。 A data decoding method according to claim 10, wherein an intra-coded picture and an inter-coded picture are decoded from a bit stream multiplexed such that an entry packet is arranged before an intra-coded picture. A decoding step, and a control step of controlling a reading position from a recording medium based on position information of an intra-frame coded picture obtained from the entry packet, wherein the entry packet includes a plurality of discretely selected entry packets. . Is characterized by the position information of the intra-coded picture.

 請求項11に記載の記録媒体は、再生装置に装着され、記録されているアドレス情報に基づいて読出し位置を制御されて読み出されるようになされた記録媒体において、動画像がフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームとして符号化されて記録されるとともに、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなるエントリパケットが上記ビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化されて記録されていることを特徴とする。 The recording medium according to claim 11, wherein the moving image is an intra-frame coded picture, wherein the moving image is mounted on a playback device, and the reading position is controlled to be read based on the recorded address information. And an entry packet comprising position information of a plurality of discretely selected intra-coded pictures is encoded and recorded as a bit stream composed of inter-coded pictures, and the intra-frame encoding in the bit stream is performed. It is characterized by being multiplexed and recorded so as to be arranged before a picture.

 本発明のデータ符号化装置,データ符号化方法によれば、入力されるビデオデータをフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームに符号化し、フレーム内符号化ピクチャの位置情報を有するエントリパケットを生成し、生成されたエントリパケットをビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化し、エントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなるようにしたので、このエントリパケットに対応して、複数のフレーム内符号化ピクチャの位置を順次迅速にサーチすることができる。これにより、ビデオデータのアクセスポイントを迅速に見つけ出すことができ、迅速なサーチが可能になる。 According to the data encoding device and the data encoding method of the present invention, input video data is encoded into a bit stream including an intra-frame coded picture and an inter-frame coded picture, and the position information of the intra-frame coded picture is encoded. And multiplexing the generated entry packet such that it is placed before the intra-coded picture in the bitstream, wherein the entry packet comprises a plurality of discretely selected intra-frame codings. Since the position information is composed of the position information of the picture, the positions of a plurality of intra-frame coded pictures can be sequentially and quickly searched in accordance with the entry packet. Thus, an access point of the video data can be quickly found, and a quick search can be performed.

 また、本発明のデータ復号化装置,データ復号化方法によれば、エントリパケットがフレーム内符号化ピクチャの前に配置されるように多重化されたビットストリームからフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャを復号し、このエントリパケットから得られるフレーム内符号化ピクチャの位置情報に基づいて記録媒体からの読出し位置を制御し、このエントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなるようにしたので、複数のフレーム内符号化ピクチャの位置を順次迅速にサーチすることができる。これにより、ビデオデータのアクセスポイントを迅速に見つけ出すことができ、迅速なサーチが可能になる。 Further, according to the data decoding device and the data decoding method of the present invention, an intra-coded picture and an inter-frame are converted from a bit stream multiplexed so that an entry packet is arranged before an intra-coded picture. The coded picture is decoded, and the read position from the recording medium is controlled based on the position information of the intra-frame coded picture obtained from the entry packet. The entry packet includes a plurality of discretely selected intra-frame codes. Since the position information is composed of the position information of the coded pictures, the positions of a plurality of intra-frame coded pictures can be sequentially and quickly searched. Thus, an access point of the video data can be quickly found, and a quick search can be performed.

 また、本発明の記録媒体によれば、再生装置に装着され、記録されているアドレス情報に基づいて読出し位置を制御されて読み出されるようになされた記録媒体において、動画像がフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームとして符号化されて記録されるとともに、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなるエントリパケットがビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化されて記録されるようにしたので、このエントリパケットに対応して、複数のフレーム内符号化ピクチャの位置を順次迅速にサーチすることができる。これにより、ビデオデータのアクセスポイントを迅速に見つけ出すことができ、迅速なサーチが可能になる。 Further, according to the recording medium of the present invention, in a recording medium which is mounted on a reproducing apparatus and whose reading position is controlled and read based on the recorded address information, the moving image is an intra-coded picture. And an entry packet consisting of position information of a plurality of discretely selected intra-coded pictures, which is encoded and recorded as a bit stream composed of inter-coded pictures, Since the data is multiplexed and recorded so as to be arranged before the picture, the positions of a plurality of intra-frame coded pictures can be quickly and sequentially searched in response to the entry packet. Thus, an access point of the video data can be quickly found, and a quick search can be performed.

 図1および図2は、本発明のデータ符号化装置及びデータ復号化装置の一実施例の構成を示すブロック図であり、図6および図7における場合と同一の構成要素には同一の参照符号が付されている。 FIGS. 1 and 2 are block diagrams showing a configuration of an embodiment of a data encoding device and a data decoding device according to the present invention. The same components as those in FIGS. 6 and 7 are denoted by the same reference numerals. Is attached.

 図1の符号化装置では、ビデオエンコーダ1の出力端子は、ビデオエントリポイント検出回路31の入力端子に接続され、その出力端子はコードバッファ4の入力端子に接続されている。エントリパケット発生回路32は、制御装置8の制御入力を受け、その出力をスイッチング回路6の入力端子E3に供給するようになされている。また制御装置8は、多重化システムクロック発生回路9の出力するシステムクロックの入力を受け、所定の周期でスイッチング回路6の入力端子E1,E2,E3を出力端子Fと順次接続状態にして、コードバッファ4,5またはエントリパケット発生回路32からデータを順次取り出して時分割多重し、ヘッダ付加回路7に出力する。 In the encoding device of FIG. 1, the output terminal of the video encoder 1 is connected to the input terminal of the video entry point detection circuit 31, and the output terminal is connected to the input terminal of the code buffer 4. The entry packet generating circuit 32 receives a control input of the control device 8 and supplies its output to the input terminal E3 of the switching circuit 6. Further, the control device 8 receives the input of the system clock output from the multiplexed system clock generation circuit 9 and sequentially connects the input terminals E1, E2, E3 of the switching circuit 6 to the output terminal F at a predetermined cycle, and Data is sequentially taken out from the buffers 4 and 5 or the entry packet generating circuit 32, time-division multiplexed, and output to the header adding circuit 7.

 また、制御装置8はヘッダ付加回路7を制御して、コードバッファ4から読み出したビデオデータにはビデオパケットヘッダを付加させる。またコードバッファ5から読み出したオーディオデータにはオーディオパケットヘッダを付加させる。 The control device 8 controls the header adding circuit 7 to add a video packet header to the video data read from the code buffer 4. An audio packet header is added to the audio data read from the code buffer 5.

 さらに、制御装置8は、ビデオエンコーダ1またはビデオエントリポイント検出回路31から、Iピクチャの発生タイミングで発生されるエントリポイント発生信号の入力を受け、エントリパケット発生回路32を制御して、ビットストリームの所定の位置にエントリパケットを挿入させる。ビデオエンコーダ1がエントリポイント発生信号を出力することができるように構成されている場合、ビデオエンコーダ1がIピクチャの発生タイミングでエントリポイント発生信号を出力する。 Further, the control device 8 receives an input of an entry point generation signal generated at the generation timing of the I picture from the video encoder 1 or the video entry point detection circuit 31, controls the entry packet generation circuit 32, and An entry packet is inserted at a predetermined position. When the video encoder 1 is configured to output an entry point generation signal, the video encoder 1 outputs an entry point generation signal at an I picture generation timing.

 また、ビデオエンコーダ1がエントリポイント発生信号を出力することができない構成の場合や、既にエンコードしてあるビデオビットストリームを多重化する際には、ビデオエントリポイント検出回路31がIピクチャの発生タイミングでエントリポイント発生信号を発生するか、またはビデオエンコーダ1より入力されたビデオデータからエントリポイントを検出し、エントリポイント発生信号を出力する。エントリポイント記憶装置33は、制御装置8から読み書きできるメモリで、検出されたエントリポイントの位置を記憶する。その他の構成は、図6における場合と同様である。 In the case where the video encoder 1 cannot output an entry point generation signal or when multiplexing an already encoded video bit stream, the video entry point detection circuit 31 outputs An entry point generation signal is generated, or an entry point is detected from video data input from the video encoder 1, and an entry point generation signal is output. The entry point storage device 33 is a memory readable and writable by the control device 8, and stores the position of the detected entry point. Other configurations are the same as those in FIG.

 図1に示した実施例においても、多重化ビットストリームは、少なくとも1つのパックと、ISO _11172 _end _codeにより構成される。そして、各パックは、例えば図3に示すようなフォーマットで構成されている。 も Also in the embodiment shown in FIG. 1, the multiplexed bit stream is composed of at least one pack and ISO_11172_end_code. Each pack has a format as shown in FIG. 3, for example.

 すなわち、最初に、図8における場合と同様に、Pack_Start _Code,SCR ,MUX _RateよりなるPack_Header( ヘッダ) が配置され、次に、Video _Packet_Headerが、さらにその次に、Iピクチャを含まないビデオデータがパケット構造で配置されている。ビデオデータの次には、Entry _Packetが、その次には、Video _Packet_Headerが、さらにその次には、Iピクチャを含むビデオデータがパケット構造で配置されている。すなわち、Iピクチャ(エントリポイント)を含むビデオデータの直前(Video _Packet_Headerの直前)には、Entry _Packetが配置されるようになされている。そして、この実施例の場合、ビデオデータの次に、Audio_Packet_Headerが、その次に、パケット構造のオーディオデータが、順次配置されている。 That is, first, as in the case of FIG. 8, a Pack_Header (header) composed of Pack_Start_Code, SCR, and MUX_Rate is arranged. Next, Video_Packet_Header is further arranged. They are arranged in a packet structure. Next to the video data, an Entry_Packet is placed, followed by a Video_Packet_Header, and then a video data including an I picture is placed in a packet structure. That is, the Entry_Packet is arranged immediately before the video data including the I picture (entry point) (immediately before the Video_Packet_Header). Then, in the case of this embodiment, Audio_Packet_Header is arranged next to the video data, and audio data having a packet structure is arranged next to the audio data.

 Entry _Packet(エントリパケット)は、図4に示すフォーマットとされている。このフォーマットは、MPEGのパケットのうち、private _stream_2のパケットのフォーマットに対応するものである。先頭には、Packet_Start _Code_Prefixが配置され、その次には、16進で0xbfとされるstream_idが配置されている。その次には、その後のパケットの長さを表わすlengthが配置されている。以上の配置は、図8におけるpacketのヘッダにおける場合と同様である。 Entry_Packet (entry packet) has a format shown in FIG. This format corresponds to the format of the private_stream_2 packet among the MPEG packets. At the beginning, Packet_Start_Code_Prefix is arranged, followed by stream_id which is set to 0xbf in hexadecimal. Next to that, a length indicating the length of the subsequent packet is arranged. The above arrangement is the same as that in the packet header in FIG.

 本実施例においては、次に、sony_idが配置されている。これは、このプライベートパケットが本出願人の独自のフォーマットであることを示している。その次には、sony_packet_typeが配置されており、これは、出願人独自のプライベートパケットフォーマット内の分類を示し、エントリパケットの場合は0xffとされる。さらにその次に順次配置されているcurrent _# _data_streams ,current _# _video _streams ,current _# _audio _streams は、このエントリパケットの直後から、次のエントリパケットの直前までに多重化されているデータパケット、ビデオパケット、オーディオパケットの数を、それぞれ表わしている。 に お い て In this embodiment, next, sony_id is arranged. This indicates that the private packet is in the applicant's own format. Next to this, a sony_packet_type is arranged, which indicates the classification in the private packet format unique to the applicant, and is set to 0xff in the case of an entry packet. Further, current _ # _ data_streams, current _ # _ video_streams, and current _ # _ audio_streams that are sequentially arranged next to the data packet are multiplexed from immediately after this entry packet to immediately before the next entry packet. The numbers of video packets and audio packets are respectively shown.

 さらにその次には、entry _packet_-3、entry _packet_-2、entry_packet_-1、entry _packet_+1、entry _packet_+2、entry _packet_+3が順次配置され、これらには、それぞれ3つ手前、2つ手前、1つ手前、1つ先、2つ先、3つ先のエントリパケットの位置と、それらのエントリパケットとの相対距離を駆動装置10で駆動するディスクのセクタ数で表したものが記録されている。 Next, entry_packet_-3, entry_packet_-2, entry_packet_-1, entry_packet_ + 1, entry_packet_ + 2, and entry_packet_ + 3 are sequentially arranged. The position of the previous, the previous, the first, the second, and the third entry packet, and the relative distance between the entry packets and the number of sectors of the disk driven by the drive device 10 are recorded. ing.

 次に、図1の実施例の動作について説明する。制御装置8は、ビデオエンコーダ1またはビデオエントリポイント検出回路31からのエントリポイント発生信号を受け取り、ビデオエントリポイントの直前にエントリパケットを挿入させる(図3)。すなわち、エントリポイント発生信号の入力を受けたとき、エントリパケット発生回路32にエントリパケットを発生させるとともに、スイッチング回路6を入力端子E3側に切り換えさせ、ヘッダ付加回路7に供給させて、コードバッファ4,5からのビデオデータおよびオーディオデータと多重化させる。 Next, the operation of the embodiment of FIG. 1 will be described. The control device 8 receives the entry point generation signal from the video encoder 1 or the video entry point detection circuit 31, and inserts an entry packet immediately before the video entry point (FIG. 3). That is, when an entry point generation signal is received, the entry packet generation circuit 32 generates an entry packet, switches the switching circuit 6 to the input terminal E3 side, and supplies the input terminal E3 to the header addition circuit 7 so that the code buffer 4 , 5 are multiplexed with the video and audio data.

 図4に示したように、各エントリパケットには、そのエントリパケットから3つ手前、2つ手前、1つ手前、1つ先、2つ先、および3つ先のエントリパケットの位置が、entry _packet_-3、entry _packet_-2、entry _packet_-1、entry _packet_+1、entry _packet_+2、entry _packet_+3に、それぞれ記録される。手前(過去)のエントリパケットの位置(3つ手前、2つ手前および1つ手前の位置)はエントリポイント記憶装置33に記憶しておくことで、現在のエントリパケットを記録する時点でこれを知ることができる(従って必要に応じてこのタイミングにおいて、これを駆動装置10に供給し、ディスクに記録することができる)。 As shown in FIG. 4, in each entry packet, the positions of the entry packets three, two, one, one, two, and three ahead of the entry packet are indicated by the entry. _Packet_-3, entry_packet_-2, entry_packet_-1, entry_packet_ + 1, entry_packet_ + 2, and entry_packet_ + 3. The positions of the previous (past) entry packets (three before, two before, and one before) are stored in the entry point storage device 33 so that they can be known when the current entry packet is recorded. (So it can be supplied to the drive 10 and recorded on a disc at this timing, if necessary).

 しかしながら、先の(将来の)エントリパケットの位置は現時点においてこれを知ることが出来ない。このため、制御装置8はエントリポイントの位置をエントリポイント記憶装置33にすべて記憶させておき、すべての多重化が終了した後に(ビデオデータとオーディオデータのビットストリームのディスクへの記録が完了した後に)、エントリポイント記憶装置33から、各エントリパケットの3つ手前、2つ手前、1つ手前、1つ先、2つ先、および3つ先のエントリパケットの位置を読み出し、これを駆動装置10に供給して、ディスク上の各エントリパケットに記録(追記)させる。 However, the position of the previous (future) entry packet cannot be known at this time. For this reason, the control device 8 stores all the positions of the entry points in the entry point storage device 33, and after all the multiplexing is completed (after the recording of the bit stream of the video data and the audio data to the disk is completed). ), The positions of the entry packets three, two, one, one, two, and three ahead of each entry packet are read out from the entry point storage device 33, and are read out from the drive device 10. To record (append) each entry packet on the disk.

 また、ビデオエンコーダ1とオーディオエンコーダ2は、それぞれ、ビデオ信号とオーディオ信号を、可変レートで符号化するが、制御装置8はヘッダ付加回路7を制御し、パックの間隔が2048バイトになるようにパックヘッダを付加させる。このため制御装置8は、例えば図5のようなアルゴリズムを使用してヘッダ付加、コード読み込み、エントリパケット挿入の処理を制御する。 The video encoder 1 and the audio encoder 2 respectively encode the video signal and the audio signal at a variable rate. The control device 8 controls the header adding circuit 7 so that the pack interval becomes 2048 bytes. Add a pack header. For this reason, the control device 8 controls the processing of adding a header, reading a code, and inserting an entry packet using, for example, an algorithm as shown in FIG.

 ここで、図10の処理における場合と同様に、M4はコードバッファ4に蓄積されているデータ量、M5はコードバッファ5に蓄積されているデータ量とする。また、Dは1つのパック中に含まれるデータの総量を示す。ここでは簡単化するために、Dを定数、すなわちパックの大きさ(2048)から、パックヘッダの大きさ、ビデオパケットヘッダの大きさ及びオーディオパケットヘッダの大きさを減じたものとする。また、D2はエントリパケットを含むパック中のデータの総量を示す。つまりDからエントリパケットの大きさと、ビデオパケットヘッダの大きさを減じたものである。 Here, M4 is the amount of data stored in the code buffer 4, and M5 is the amount of data stored in the code buffer 5, as in the case of the processing in FIG. D indicates the total amount of data included in one pack. Here, for simplicity, it is assumed that D is a constant, that is, the size of the pack (2048) minus the size of the pack header, the size of the video packet header, and the size of the audio packet header. D2 indicates the total amount of data in the pack including the entry packet. That is, the size of the entry packet and the size of the video packet header are reduced from D.

 最初に、制御装置8は、ヘッダ付加回路7に命令してパックヘッダを付加させる(ステップS11)。そしてM4 とM5 の和が、1つのパックに含まれるコードデータの量Dと等しくなるか、大きくなるまで待機する(ステップS12)。すなわち、1つのパックに収めるだけのデータが、コードバッファ4,5に蓄積されるまで待機する。 First, the control device 8 instructs the header adding circuit 7 to add a pack header (step S11). Then, the process waits until the sum of M4 and M5 becomes equal to or larger than the amount D of the code data included in one pack (step S12). That is, the process waits until data enough to be stored in one pack is accumulated in the code buffers 4 and 5.

 次に、そのパックに収めるビデオデータの量P1と、そのパックに収めるオーディオデータの量P2を、次式より計算する(ステップS13)。P1,P2は、パックに含まれるコードデータの総量Dを、各コードバッファ4,5のデータ量M4 ,M5 の比で配分したものとされている。
 P1=D×M4 /(M4 +M5 )
 P2=D−P1
Next, the amount P1 of video data contained in the pack and the amount P2 of audio data contained in the pack are calculated by the following equation (step S13). P1 and P2 are obtained by distributing the total amount D of the code data included in the pack in the ratio of the data amounts M4 and M5 of the respective code buffers 4 and 5.
P1 = D × M4 / (M4 + M5)
P2 = D-P1

 次に、制御装置8は、M4 のデータの内、先頭のP1バイトまでのデータにビデオエントリポイントがあるかどうかを確認する(ステップS14)。パック内にビデオエントリポイントが含まれない場合、制御装置8はヘッダ付加回路7に指令し、ビデオパケットヘッダを出力させる(ステップS15)。次にP1バイトのビデオデータをコードバッファ4より読み出し、駆動装置10に出力させる(ステップS16)。同様にオーディオパケットヘッダを付加させ(ステップS17)、P2バイトのオーディオデータをコードバッファ5より読み出させ、駆動装置10に出力させる(ステップS18)。 Next, the control device 8 checks whether or not the data up to the first P1 byte of the M4 data has a video entry point (step S14). When the video entry point is not included in the pack, the control device 8 instructs the header adding circuit 7 to output the video packet header (step S15). Next, the P1 byte video data is read from the code buffer 4 and output to the driving device 10 (step S16). Similarly, an audio packet header is added (step S17), and the P2 byte audio data is read from the code buffer 5 and output to the driving device 10 (step S18).

 パック内にビデオエントリポイントが含まれない場合、以上の処理が繰返される。この処理は、図10における場合の処理と同様である。 If the video entry point is not included in the pack, the above processing is repeated. This processing is the same as the processing in the case of FIG.

 一方、パック内にビデオエントリポイントが含まれる場合、制御装置8はまず、エントリポイント記憶装置33に現在のパックの位置を記憶させる。そして、そのパックに収めるビデオデータの量P1とオーディオデータの量P2を、次式に従って計算する(ステップS19)。
 P1=D2×M4 /(M4 +M5 )
 P2=D2−P1
 ステップS13における演算を行った後、ここで同様の演算をさらに行うのは、そのパックにエントリパケットを含めるため、データの容量が少なくなるからである。ここではP1,P2は、D2を各コードバッファ4,5のデータ量M4 ,M5 の比で配分したものとされている。
On the other hand, when the video entry point is included in the pack, the control device 8 first causes the entry point storage device 33 to store the current position of the pack. Then, the amount P1 of video data and the amount P2 of audio data to be stored in the pack are calculated according to the following equation (step S19).
P1 = D2 × M4 / (M4 + M5)
P2 = D2-P1
After performing the calculation in step S13, the same calculation is further performed here, because the pack includes the entry packet, so that the data capacity is reduced. Here, P1 and P2 are obtained by distributing D2 in the ratio of the data amounts M4 and M5 of the code buffers 4 and 5, respectively.

 次に、ビデオパケットヘッダがヘッダ付加回路7から駆動装置10に出力され(ステップS20)、続いてビデオエントリポイント直前までのビデオデータが、ビデオエンコーダ1、ビデオエントリポイント検出回路31、コードバッファ4、スイッチング回路6の入力端子E1、出力端子F、ヘッダ付加回路7の経路で駆動装置10に出力され、ディスクに記録される(ステップS21)。次に、エントリパケット発生回路32によりエントリパケットが出力され、ディスクに記録される(ステップS22)。ただし、このときはまだ、エントリパケットの相対位置情報はディスクには書き込まれない。 Next, the video packet header is output from the header adding circuit 7 to the driving device 10 (step S20). Subsequently, the video data up to immediately before the video entry point is stored in the video encoder 1, the video entry point detection circuit 31, the code buffer 4, The signal is output to the driving device 10 via the input terminal E1, the output terminal F of the switching circuit 6, and the path of the header adding circuit 7, and is recorded on a disk (step S21). Next, the entry packet is output by the entry packet generation circuit 32 and recorded on the disk (step S22). However, at this time, the relative position information of the entry packet is not yet written on the disk.

 その後、もう一度ビデオパケットヘッダが出力記録され(ステップS23)、残りのビデオデータが出力、記録される(ステップS24)。そしてステップS17,S18に進み、オーディオパケットヘッダが付加され、P2バイトのオーディオデータが記録される。 Then, the video packet header is output and recorded again (step S23), and the remaining video data is output and recorded (step S24). Then, the process proceeds to steps S17 and S18, where an audio packet header is added, and P2 bytes of audio data are recorded.

 図5のアルゴリズムを繰り返し、ビデオエンコーダ1とオーディオエンコーダ2への入力がなくなった時点で、既にディスクに記録されているエントリパケットに位置データが書き込まれる。すなわち、制御装置8は、エントリポイント記憶装置33からエントリパケットを含むパックの位置を読み出し、駆動装置10のディスクの各エントリパケットに、前後3つずつのエントリパケットを含むパックの位置を書き込ませる。 (5) The algorithm of FIG. 5 is repeated, and when there is no more input to the video encoder 1 and the audio encoder 2, the position data is written to the entry packet already recorded on the disk. That is, the control device 8 reads the position of the pack including the entry packet from the entry point storage device 33 and writes the position of the pack including the preceding and following three entry packets into each entry packet of the disk of the drive device 10.

 次に、図2を参照して、図1の実施例において符号化されたデータを復号化する装置について説明する。分離装置21のヘッダ分離回路22は、駆動装置10から読み出されたデータから、パックヘッダ、パケットヘッダおよびエントリパケットを分離して制御装置24に供給するとともに、時分割多重されたデータをスイッチング回路23の入力端子Gに供給する。スイッチング回路23の出力端子H1,H2は、それぞれビデオデコーダ25、オーディオデコーダ26の入力端子に接続されている。 Next, an apparatus for decoding data encoded in the embodiment of FIG. 1 will be described with reference to FIG. The header separation circuit 22 of the separation device 21 separates a pack header, a packet header, and an entry packet from the data read from the driving device 10 and supplies them to the control device 24. 23 input terminal G. Output terminals H1 and H2 of the switching circuit 23 are connected to input terminals of a video decoder 25 and an audio decoder 26, respectively.

 また制御装置24は、ヘッダ分離回路22より入力されたデータから、エントリポイントに関する情報(エントリパケットの情報)を読み出し、エントリポイント記憶装置41に供給し、記憶させる。制御装置24には駆動装置10から現在の読出位置の情報が供給されるので、制御装置24は、エントリポイントの位置とその内容を、対応付けて記憶させるようにすることが出来る。 {Circle around (4)} The control device 24 reads information (entry packet information) related to the entry point from the data input from the header separation circuit 22, supplies the information to the entry point storage device 41, and stores it. Since the control device 24 is supplied with information on the current readout position from the drive device 10, the control device 24 can store the position of the entry point and its content in association with each other.

 分離装置21の制御装置24は、ヘッダ分離回路22から供給されたパケットヘッダのstream id に従い、スイッチング回路23の入力端子Gと出力端子H1,H2を順次接続状態にして、時分割多重されたデータを正しく分離させ、ビデオデータをビデオデコーダ25に、オーディオデータをオーディオデコーダ26に、それぞれ供給させる。 The control device 24 of the separation device 21 sequentially connects the input terminal G and the output terminals H1 and H2 of the switching circuit 23 in accordance with the stream id of the packet header supplied from the header separation circuit 22, and outputs the time-division multiplexed data. , And video data is supplied to the video decoder 25 and audio data is supplied to the audio decoder 26.

 次に、図2の多重化データ復号化装置のサーチ動作が指令された場合の動作を説明する。サーチ動作が指令されたとき、図示せぬ主制御装置は、制御装置24、ビデオデコーダ25及びオーディオデコーダ26に対してサーチモードへの遷移を命令する。また、制御装置24は、駆動装置10の出力から現在の読出位置を読み取り、その位置の近傍のエントリポイントをエントリポイント記憶装置41より抽出する。このエントリポイント記憶装置41には、再生モード時に再生されたエントリパケットの情報が随時記憶されている。あるいはまた、装置の電源をオンしたとき、ディスクを装着したとき、再生を指令したときなど、所定のタイミングにおいて、駆動装置10に装着されているディスクに記録されているすべての、あるいは所定の範囲のエントリパケットの情報を、予め読み出させ、記憶させておくこともできる。 Next, the operation of the multiplexed data decoding apparatus shown in FIG. 2 when a search operation is instructed will be described. When a search operation is instructed, a main controller (not shown) instructs controller 24, video decoder 25, and audio decoder 26 to transition to the search mode. Further, the control device 24 reads the current read position from the output of the drive device 10 and extracts an entry point near the position from the entry point storage device 41. The entry point storage device 41 stores information on entry packets reproduced in the reproduction mode as needed. Alternatively, at a predetermined timing, such as when the power of the apparatus is turned on, when a disk is mounted, or when a reproduction is instructed, all or a predetermined range recorded on the disk mounted on the drive device 10 Can be read out and stored in advance.

 制御装置24はエントリポイントを求めたとき、駆動装置10にサーチ命令を送り、読出位置をそのエントリポイントに高速移動させる。移動が完了したとき、駆動装置10は、そのエントリポイントからデータを再生し、分離装置21に供給する。図3を参照して説明したように、エントリパケットはIピクチャが記録されているビデオデータの直前に配置されている。従って、ヘッダ分離回路22によりエントリパケットに続くビデオデータを分離し、ビデオデコーダ25に供給すると、このビデオデータの最初のピクチャはIピクチャになっている。ビデオデコーダ25は最初に出現したIピクチャをただちにデコードし、出力する。サーチモードにおいては、オーディオデコーダ26はミユート状態とされる。 When the control device 24 finds an entry point, it sends a search command to the drive device 10 to move the reading position to the entry point at high speed. When the movement is completed, the drive device 10 reproduces data from the entry point and supplies the data to the separation device 21. As described with reference to FIG. 3, the entry packet is located immediately before the video data in which the I picture is recorded. Therefore, when the video data following the entry packet is separated by the header separation circuit 22 and supplied to the video decoder 25, the first picture of the video data is an I picture. The video decoder 25 immediately decodes and outputs the first appearing I picture. In the search mode, the audio decoder 26 is in a muted state.

 エントリパケットには、前後それぞれ3つのエントリポイントの位置情報が記録されているので、制御装置24はその位置情報から次のエントリパケットをサーチさせ、再生させる動作を繰返させる。これにより、Iピクチャが迅速に、順次連続再生される。 (4) Since the position information of the three entry points before and after the entry packet is recorded in the entry packet, the control device 24 searches for the next entry packet from the position information and repeats the operation of reproducing. As a result, the I pictures are rapidly and successively reproduced.

 制御装置24は、サーチの速度が速いときには、より遠くのエントリポイントにアクセスさせ、サーチの速度が遅いときには、より近くのエントリポイントにアクセスさせる。エントリポイントは、正方向と逆方向に、それぞれ3個づつ記録されているので、選択するエントリポイントの組合せによって、3段階以上のサーチ速度のバリエーションを持たせることができる。 When the search speed is high, the control device 24 accesses a farther entry point, and when the search speed is low, the control device 24 accesses a closer entry point. Since three entry points are recorded in each of the forward direction and the reverse direction, three or more search speed variations can be provided depending on the combination of the selected entry points.

 前述のようにエントリパケットを最初に駆動装置10に最初に送るときは、先の位置にある(将来の)エントリパケットの位置を知ることはできないので、制御装置8はすべての多重化が終了した後に、エントリポイント記憶装置33に記録されている情報を用いて、エントリパケットの位置情報、entry _packet_+1、entry _packet_+2、entry _packet_+3を起動装置10の多重化ビットストリーム中にあるエントリパケットに追記する。 As described above, when the entry packet is first sent to the drive device 10 first, the control device 8 does not know the position of the (future) entry packet at the previous position, and the control device 8 finishes all multiplexing. Later, using the information recorded in the entry point storage device 33, the position information of the entry packet, entry_packet_ + 1, entry_packet_ + 2, and entry_packet_ + 3, are stored in the entry in the multiplexed bit stream of the activation device 10. Append to the packet.

 しかし、エントリポイント記憶装置33の容量が十分または全く無い場合、先の位置にあるエントリパケットの位置情報を十分または全く保持できないので、駆動装置10に記録された多重化ビットストリーム中のエントリパケットに追記することができない。またエントリパケット記憶装置33の容量が全く無い場合には、最初にエントリパケットを駆動装置33に送る時に前の位置にあるエントリパケットの位置情報、entry _packet_-3、entry _packet_-2、entry _packet_-1を書き込むことができない。このような場合、完成した多重化ビットストリーム中のエントリパケットの位置情報に入っている値は予測できないので、このような値に基づいてサーチを行った場合には予期せぬ動作が起きる可能性がある。 However, if the capacity of the entry point storage device 33 is sufficient or not at all, the position information of the entry packet at the previous position cannot be held sufficiently or at all, so that the entry packet in the multiplexed bit stream recorded in the driving device 10 Can not be added. If there is no capacity in the entry packet storage device 33 at all, when the first entry packet is sent to the driving device 33, the position information of the entry packet at the previous position, entry_packet_-3, entry_packet_-2, entry_packet_- Cannot write 1. In such a case, since the value contained in the position information of the entry packet in the completed multiplexed bit stream cannot be predicted, an unexpected operation may occur if a search is performed based on such a value. There is.

 そこで、エントリパケットの位置情報の有効性を示すフラグを設ける。具体的には、エントリパケット発生回路32から発生させるエントリパケットの形式を図12または図13で示す形式にする。図12の形式は、そのエントリパケットに含まれるすべてのエントリポイントの位置情報の有効性をひとつの1bitフラグで表現する方法であり、図13の場合は、エントリポイントごとに有効性を表すフラグを付加する方法である。 Therefore, a flag indicating the validity of the position information of the entry packet is provided. Specifically, the format of the entry packet generated by the entry packet generation circuit 32 is the format shown in FIG. 12 or FIG. The format of FIG. 12 is a method of expressing the validity of the position information of all the entry points included in the entry packet by one 1-bit flag. In the case of FIG. 13, a flag indicating the validity is set for each entry point. It is a method of adding.

 図12の形式のエントリパケットを用いる場合、多重化を行って最初に多重化ビットストリームを駆動装置10に送る段階では、エントリパケットの位置情報を完全に書き込めないので、そのエントリパケットの位置情報の有効フラグ、Enable Flag に「無効」を意味する0をセツトし、駆動装置10に記録する。全ての多重化データを記録し終わった後、エントリポイント記録装置33に記録されているエントリパケットの位置情報を用いて、エントリパケットに追記を行う際、位置情報を全て書き込めたエントリパケットについては、制御装置8はそのエントリパケットにあるEnable Flag を「有効」を意味する1に更新する。 When an entry packet of the format shown in FIG. 12 is used, at the stage where multiplexing is performed and the multiplexed bit stream is first sent to the driving device 10, the position information of the entry packet cannot be completely written. The enable flag is set to 0 meaning "invalid" in the enable flag, and is recorded in the drive device 10. After the recording of all multiplexed data, when additional writing is performed on the entry packet using the position information of the entry packet recorded in the entry point recording device 33, for the entry packet in which all the position information can be written, The control device 8 updates the Enable Flag in the entry packet to 1 meaning “valid”.

 図13の形式のエントリパケットを用いる場合は、多重化を行って最初に多重化ビットストリームを駆動装置10に送る段階で、Enable Flag -3〜EnableFlag +3の有効フラグのうち、書き込むことのできた位置情報に対応する有効フラグには「有効」を示す1をセツトし、書き込むことのできなかった位置情報に対応する有効フラグには「無効」を示す0をセツトして駆動装置10に記録する。全ての多重化データを記録し終わった後、エントリポイント記録装置33に記録されているエントリパケットの位置情報を用いて、エントリパケットに追記を行う際、制御装置8は、追記できた位置情報に関しては、対応する有効フラグを「有効」を意味する1に更新する。 In the case of using the entry packet of the format shown in FIG. 13, at the stage of performing multiplexing and first transmitting the multiplexed bit stream to the driving device 10, of the enable flags of Enable Flag−3 to EnableFlag + 3, writing was possible. The validity flag corresponding to the position information is set to 1 indicating "valid", and the validity flag corresponding to the position information that could not be written is set to 0 indicating "invalid" and recorded in the drive device 10. . After the recording of all the multiplexed data is completed, when additional writing is performed on the entry packet by using the position information of the entry packet recorded in the entry point recording device 33, the control device 8 performs Updates the corresponding valid flag to 1 meaning “valid”.

 図13において、enable_flag_N と、entry _packet_N(-3≦N≦+3 )を連続したビット列と考え、このビット列で一つの数を表すと考えると、エントリパケットの位置情報有効フラグを設ける代わりに、エントリパケット位置情報そのもので、その値の有効性を表すことと等価になる。つまり有効な位置情報を書き込めない場合、特定の範囲の値、または位置情報として無効な値を書き込んでおくことで、位置情報有効フラグを付加するのと同等の機能を実現することができる。特定の値をエントリパケットの位置情報に書き込むことによって、それぞれのエントリポイントが無効であることを示す場合、無効を示す特定の値を複数種類設けることも可能である。たとえば、単にエントリポイントの位置情報の記録に失敗したために、そのエントリポイントの情報が無効な場合と、意図的にそのエントリポイントに読みだし位置を移動させるのを禁止する場合とを、異なる値でエントリパケットに書き込むことによって、多重化データ復号化装置に知らせることができる。 In FIG. 13, consider that enable_flag_N and entry_packet_N (−3 ≦ N ≦ + 3) are continuous bit strings and that this bit string represents one number, instead of providing a position information valid flag of an entry packet, The packet position information itself is equivalent to expressing the validity of the value. In other words, when valid position information cannot be written, a function equivalent to adding a position information valid flag can be realized by writing a value in a specific range or an invalid value as position information. When a specific value is written in the position information of the entry packet to indicate that each entry point is invalid, a plurality of types of specific values indicating invalidity can be provided. For example, different values are used when the information of the entry point is invalid simply because the recording of the location information of the entry point has failed, and when the reading position is intentionally prohibited from being moved to the entry point. By writing to the entry packet, it is possible to notify the multiplexed data decoding device.

 次に図12または図13で示したような、エントリパケット位置情報有効フラグを利用して、サーチ動作を行う多重化データ復号化装置を、図2を使用して説明する。制御装置24はヘッダ分離回路22より読みだされた、エントリパケットの情報を、エントリポイント記憶装置41に供給し、記憶させる。このとき、エントリパケットは図12または図13で示されるように、エントリパケット位置情報有効フラグが付加されている場合には、制御装置24はそのフラグを含めて、エントリポイント記憶装置41に供給し、エントリポイント記憶装置41はそれを記憶する。 Next, a multiplexed data decoding apparatus that performs a search operation using an entry packet position information valid flag as shown in FIG. 12 or 13 will be described with reference to FIG. The control device 24 supplies the information of the entry packet read from the header separation circuit 22 to the entry point storage device 41 and stores it. At this time, as shown in FIG. 12 or 13, when the entry packet position information valid flag is added to the entry packet, the control device 24 supplies the entry packet including the flag to the entry point storage device 41. , And the entry point storage device 41 stores it.

 サーチ動作が指令された時、図示せね主制御装置は、制御装置24、ビデオデコーダ25及びオーディオデコーダ26に対してサーチモードへの遷移を指令する。制御装置24は、駆動装置10の出力から読み出される、現在の読みだし位置情報と、エントリポイント記憶装置41から読み出されるエントリパケットの位置情報から、駆動装置10にサーチ動作を命令するための、読み出し位置を得る。このとき制御装置24は、エントリポイント記憶装置41からエントリパケットの位置情報の有効性を判断し、無効であるエントリポイントには駆動装置10にサーチ動作を命令しない。または他のエントリポイントの位置情報等から、当該エントリポイントの位置が、内挿、推定などで計算できる場合にはそのようにして求められたエントリポイントの位置に、駆動装置10をサーチさせることもできる。 When the search operation is instructed, the main controller (not shown) instructs the controller 24, the video decoder 25, and the audio decoder 26 to shift to the search mode. The control device 24 reads the current read position information read from the output of the drive device 10 and the position information of the entry packet read from the entry point storage device 41 to read to the drive device 10 to instruct a search operation. Get the position. At this time, the control device 24 determines the validity of the position information of the entry packet from the entry point storage device 41, and does not instruct the drive device 10 to perform a search operation for an invalid entry point. Alternatively, if the position of the entry point can be calculated by interpolation, estimation, or the like from the position information or the like of another entry point, the driving device 10 may be searched for the position of the entry point thus obtained. it can.

 図4に示すエントリパケットのentry _packet_-3、entry _packet_-2、entry _packet_-1、entry _packet_+1、entry _packet_+2、entry _packet_+3には、それぞれそのエントリパケットの3つ手前、2つ手前、1つ手前、1つ先、2つ先、3つ先のエントリポイントの相対位置を(セクタ番号で)記録するが、ここに書き込むエントリポイントの相対位置は、必ずしも当該エントリパケットに対して-3,-2,-1,+1,+2,+3 の位置のエントリポイントの位置である必要はなく、例えば-25,-8,-1,+1,+5,+20 というように、任意のエントリパケットの相対位置を記録することもできる。 The entry_packet_-3, entry_packet_-2, entry_packet_-1, entry_packet_ + 1, entry_packet_ + 2, and entry_packet_ + 3 of the entry packet shown in FIG. The relative positions of the entry points before, one before, one ahead, two ahead, and three ahead are recorded (in sector numbers), but the relative positions of the entry points to be written here are not necessarily relative to the entry packet. It is not necessary to be the entry point at the position of -3, -2, -1, + 1, + 2, + 3, for example, -25, -8, -1, + 1, + 5, + 20 , The relative position of any entry packet can be recorded.

 これによって、記録メデイアの種別、多重化ビットストリームの信号形式、多重化するビデオまたはオーディオデータの性質などの諸特性に応じ、書き込むエントリポイントの相対位置を記録装置ごと、多重化データごと、エントリパケットごとに変更してサーチ速度を調整することができる。例えば、ISO11172(MPEG)で規定される多重化ビットストリームでは、Iピクチャから次のIピクチャまでのピクチャ枚数は可変である。そのような場合で、常にエントリパケットに-3,-2,-1,+1, +2,+3の位置のエントリポイントが書き込まれている場合、Iピクチャ間の枚数が異なるビットストリームでは、実時間再生に対するサーチ再生の速度は変化してしまうが、Iピクチャ間のピクチャ枚数に対応して、エントリポイントの相対位置を可変させてエントリパケットに記録することにより、サーチ速度を調整して、Iピクチャ間の枚数が異なるビットストリーム間で一定のサーチ再生の速度を実現することができる。 Thus, the relative position of the entry point to be written can be determined for each recording device, for each multiplexed data, for each entry packet, according to various characteristics such as the type of recording media, the signal format of the multiplexed bit stream, and the characteristics of the video or audio data to be multiplexed. The search speed can be adjusted by changing each time. For example, in a multiplexed bit stream defined by ISO11172 (MPEG), the number of pictures from an I picture to the next I picture is variable. In such a case, if the entry point at the position of -3, -2, -1, +1, +2, +3 is always written in the entry packet, in a bit stream in which the number of I-pictures differs, Although the speed of the search playback with respect to the real-time playback changes, the search speed is adjusted by changing the relative position of the entry point and recording it in the entry packet according to the number of pictures between I pictures, A constant search reproduction speed can be realized between bit streams having different numbers of I pictures.

 エントリパケットの位置情報に書き込むエントリポイントの相対位置は、必ずしも当該エントリパケットに対して-3,-2,-1,+1,+2,+3 の位置のエントリポイントの位置である必要はなく、例えば-25,-8,-1,+1,+5,+20 というように、任意のエントリパケットの相対位置を記録することもできるが、正・逆方向のスロー再生動作やコマ送り再生動作などの特殊再生を行う場合に、前後-1,+1 の位置のエントリポイントの位置が必要となる場合がある。 The relative position of the entry point to be written in the position information of the entry packet does not necessarily need to be the position of the entry point at the position of -3, -2, -1, +1, +2, +3 with respect to the entry packet. For example, the relative position of any entry packet can be recorded, for example, -25, -8, -1, +1, +5, +20. In the case of performing special reproduction such as an operation, the position of the entry point at the position of -1, +1 before and after may be required.

 そこで、このような特殊再生が必要となるビットストリームに関しては、entry _packet_-1、entry _packet_+1に記録するエントリポイントの位置に制限を設け、それぞれ必ず前後-1,+1 の位置のエントリポイントの位置を書き込むようにすることもできる。先に説明したように、任意の個数分先または前にあるエントリポイントの位置情報をエントリパケットに記録する場合において、例えば -25,-8,-1,+1,+5,+20個先のエントリパケットの相対位置を記録するような場合において、図4のような形式のエントリパケットを使用すると、図2に示すような多重化データ復号化では、それらの自由に書き込まれたエントリポイントの位置情報がいくつ先または前のエントリポイントの位置情報に関するものかを判別することができない。したがって、それらの相対位置情報をサーチ動作に用いた場合、どの程度のサーチ速度が実現できるのかが予測できないという問題がある。 Therefore, with respect to the bit stream requiring such special reproduction, the positions of the entry points to be recorded in the entry_packet_-1 and the entry_packet_ + 1 are limited, and the entry points at the positions before and after -1, +1 are always set. May be written. As described above, in the case where the position information of the entry point ahead or ahead by an arbitrary number is recorded in the entry packet, for example, -25, -8, -1, +1, +5, +20 ahead In the case of recording the relative position of the entry packet of FIG. 4, if the entry packet of the format as shown in FIG. 4 is used, the multiplexed data decoding as shown in FIG. It is not possible to determine how many positions the previous or previous entry point relates to. Therefore, when the relative position information is used for the search operation, there is a problem that it is impossible to predict how much search speed can be realized.

 そこで、エントリパケットを図19に示すような形式とし、entry _packet_- 3 、entr y_packet_-2、en try_packet_-1、entry _packet_+1、entry_packet_+2、entry _packet_+3が、それぞれ何個分前または先のエントリポイントの位置を示すかを表す情報、Entry Point Position -3 、Entry Point Position -2 、Entry Point Position -1 、Entry Point Position +1 、Entry Point Positi on +2、Entry Point Position +3 をエントリパケットに記録すること
もできる。
Therefore, the entry packet has a format as shown in FIG. 19, and entry_packet_-3, entry_packet_-2, try_packet_-1, entry_packet_ + 1, entry_packet_ + 2, and entry_packet_ + 3 are respectively several times before or Entry Point Position -3, Entry Point Position -2, Entry Point Position -1, Entry Point Position +1, Entry Point Position +2, Entry Point Position +3 It can also be recorded in the entry packet.

 例えば、entry _packet_-3、entry _packet_-2、entry _packet_-1、entry_packet_+1、entry _packet_+2、entry _packet_+3に、それぞれ、 -25,-8,-1,+1,+5,+20個先にあるエントリポイントの位置情報を記録する場合、Entry Point Position -3 、Entry Point Position -2 、Entry Point Position -1 、Entry Point Position +1 、Entry Point Position +2 、Entry
Point Position+3にそれぞれ、-25,-8,-1,+1,+5,+20 と記録しておく。このEntry Point Position -3 〜+3までの情報を用いてサーチをを行う場合の図2に示す多重化データ復号化装置の動作を説明する。
For example, entry_packet_-3, entry_packet_-2, entry_packet_1, entry_packet_ + 1, entry_packet_ + 2, and entry_packet_ + 3 are respectively -25, -8, -1, + 1, + 5, + To record the position information of the entry point 20 points ahead, Entry Point Position -3, Entry Point Position -2, Entry Point Position -1, Entry Point Position +1, Entry Point Position +2, Entry
Record -25, -8, -1, + 1, + 5, + 20 at Point Position + 3 respectively. The operation of the multiplexed data decoding apparatus shown in FIG. 2 when a search is performed using the information of Entry Point Position -3 to +3 will be described.

 いま図示せぬ主制御装置は、制御装置24に対して、サーチ速度の目標値が与えてサーチ動作を指令する。ヘッダ分離回路22はDSM10から送られてきた多重化ビットストリームからエントリパケットを判別し、エントリパケットの内容を制御装置24に送る。制御装置24はエントリパケット中にある、Entry Point Position -3 、Entry Point Position -2 、Entry Point Position -1 、Entry Point Position +1 、Entry Point Position +2、Entry Point Position+3の中から、図示せぬ主制御装置から指示されたサーチ速度に最も近い速度を実現するものを選択し、対応するエントリポイントの位置情報を、entry _packet_-3、entry _packet_-2、entry _packet_-1、entry _packet_+1、entry _packet_+2、entry _packet_+3から得る。制御装置24はこのようにして選択したエントリポイントの位置情報を用いて、DSM10に次のエントリポイントへのサーチ動作を指令する。 The main control device (not shown) gives a target value of the search speed to the control device 24 and instructs a search operation. The header separation circuit 22 determines an entry packet from the multiplexed bit stream sent from the DSM 10 and sends the contents of the entry packet to the control device 24. The controller 24 selects one of Entry Point Position -3, Entry Point Position -2, Entry Point Position -1, Entry Point Position +1, Entry Point Position +2, and Entry Point Position +3 in the entry packet. The one that realizes the speed closest to the search speed instructed by the main controller (not shown) is selected, and the position information of the corresponding entry points is entered as entry_packet_-3, entry_packet_-2, entry_packet_-1, entry_packet_ +. 1, obtained from entry_packet_ + 2, entry_packet_ + 3. The control device 24 instructs the DSM 10 to search for the next entry point using the position information of the entry point selected in this way.

 このように、各エントリポイントの位置情報が何個先または前のエントリポイントの位置かを示す情報を用いて、あらゆる希望するサーチ速度に対してそれに最も近いサーチ速度を実現するエントリポイント位置情報を選択することができる。エントリパケットを図14に示すような形式とし、そのエントリポイントの直後に続くIピクチャのデータの大きさI-picture length、またはそのIピクチャのデータの終端が多重化されているパックの位置I-picture END sector-No.、またはその両方をエントリパケットに記録することもできる。 In this way, using the information indicating the position of the entry point or the position of the previous entry point, the entry point position information that realizes the search speed closest to any desired search speed is obtained. You can choose. The entry packet has the format shown in FIG. 14, and the data size I-picture length of the I picture immediately following the entry point or the position I-picture of the pack in which the end of the data of the I picture is multiplexed. Picture END sector-No., or both, can be recorded in the entry packet.

 図15にI-picture length、I-picture END sector-No.をエントリパケットに記録するための多重化装置の構成を示す。Iピクチャ終了点検出回路51はビデオエンコーダ1から送られてくるビットストリームから、Iピクチャのデータの終端を探しだし、その位置を制御装置8に知らせる機能を持つ。エントリポイント記憶装置33は、エントリパケットの位置、そのエントリパケットに書き込まれるエントリポイントの値(entry _packet_-3, entry _packet_-2, ... ,entry _packet_+3)に加えて、そのエントリパケットの直後に続くIピクチャのデータの長さI-picture lengthと、そのIピクチャのデータの終端が多重化されているパックの位置情報I-picture END sector-No.を保持する機能を持つ。それ以外のブロックの機能は、図2と同様である。 FIG. 15 shows the configuration of a multiplexer for recording the I-picture length and I-picture END sector-No. In the entry packet. The I-picture end point detection circuit 51 has a function of searching for the end of I-picture data from the bit stream sent from the video encoder 1 and informing the control device 8 of the position. The entry point storage device 33 stores, in addition to the position of the entry packet and the value of the entry point (entry_packet_-3, entry_packet_-2,..., Entry_packet_ + 3) written in the entry packet, It has a function of holding the data length I-picture length of the immediately following I picture and the position information I-picture END sector-No. Of the pack in which the end of the data of the I picture is multiplexed. The functions of the other blocks are the same as those in FIG.

 制御装置8は、ビデオエンコーダ1、ビデオエントリポイント検出回路31、Iピクチャ終了点検出回路51から、エントリポイントの位置とそのエントリポイントの直後に続くIピクチャのデータの終了点の位置を検出する。エントリポイントの位置はIピクチャのデータの開始点の位置であるから、制御装置8は、Iピクチャのデータの終了点の位置とエントリポイントの位置の差分をとることによって、Iピクチャのデータの長さI-picture lengthを計算する。 The control device 8 detects the position of the entry point and the position of the end point of the data of the I picture immediately following the entry point from the video encoder 1, the video entry point detection circuit 31, and the I picture end point detection circuit 51. Since the position of the entry point is the position of the start point of the data of the I picture, the control device 8 calculates the difference between the position of the end point of the data of the I picture and the position of the entry point, thereby obtaining the length of the data of the I picture. Calculate the I-picture length.

 Iピクチャのデータの長さは、コードバッファ4の記憶容量より大きい可能性があるため、エントリパケットを多重化して、駆動回路10に書き込むときには、そのエントリパケットに書き込むべきIピクチャのデータの長さI-picture lengthはまだ計算されていないことがある。そのような場合には、エントリパケットのI-picture lengthの部分には未計算を示す0または特定の値を書き込んで駆動装置10に記録しておく。制御装置8は、Iピクチャのデータの長さが計算された時点で、エントリポイント記憶装置33にIピクチャのデータの長さI-picture lengthを記録しておき、後でエントリパケットを追記する時に、駆動装置10にI-picture lengthの値を供給して記録する。 Since the length of the data of the I picture may be larger than the storage capacity of the code buffer 4, when multiplexing the entry packet and writing it to the drive circuit 10, the length of the data of the I picture to be written in the entry packet I-picture length may not be calculated yet. In such a case, 0 or a specific value indicating uncalculated is written in the I-picture length portion of the entry packet and recorded in the driving device 10. The control device 8 records the I-picture length of the I-picture data in the entry point storage device 33 at the time when the length of the I-picture data is calculated, and when adding the entry packet later, , The value of the I-picture length is supplied to the drive device 10 and recorded.

 また、Iピクチャのデータが多重化されているパックの終端の位置I-pictureEND sector-No.は次のようにして求められる。制御装置8は、コードバッファ4とコードバッファ5に蓄積されているデータ量M4,M5によって、図5に示されるアルゴリズムでデータを多重化するが、ここで制御装置8は、図5で示されるアルゴリズムに記述されている処理とは別に、各パックごとにそのパックのビデオデータにIピクチャの終了点が含まれるかを判定する。そのパックにIピクチャのデータの終了点が含まれる場合、制御装置8は、そのパックの位置をエントリポイント記憶装置33に記録しておく。エントリポイント記憶装置33に記録する際は、そのIピクチャの直前に多重化されたエントリパケットに書き込まれるデータと対応がとれるようにして記憶する。 (4) The end position I-pictureEND sector-No. Of the pack in which the data of the I picture is multiplexed can be obtained as follows. The control device 8 multiplexes data by the algorithm shown in FIG. 5 according to the data amounts M4 and M5 stored in the code buffer 4 and the code buffer 5, and the control device 8 is shown in FIG. Apart from the processing described in the algorithm, it is determined for each pack whether the video data of the pack includes the end point of the I picture. When the end point of the data of the I picture is included in the pack, the control device 8 records the position of the pack in the entry point storage device 33. When the data is recorded in the entry point storage device 33, the data is stored so as to correspond to the data written in the entry packet multiplexed immediately before the I picture.

 エントリポイント記憶装置33に記録された、Iピクチャのデータの終端位置の含まれるパックの位置I-picture END sector-No.は、Iピクチャのデータの長さI-piturelength と同様、エントリパケットの追記が行われる際に駆動装置10にその値が供給されて記録される。この際、I-picture END sector-No.は、そのIピクチャのデータの多重化が開始されたパックの位置、すなわちエントリパケットの多重化されているパックの位置からの相対距離で駆動装置10に書き込まれる。 The position I-picture END sector-No. Of the pack including the end position of the data of the I picture recorded in the entry point storage device 33 is the same as the length I-piturelength of the data of the I picture. Is performed, the value is supplied to the driving device 10 and recorded. At this time, the I-picture END sector-No. Is given to the driving device 10 by a relative distance from the position of the pack where the multiplexing of the data of the I-picture is started, that is, the position of the multiplexed pack of the entry packet. Written.

 次に、このようにしてエントリパケットに書き込まれた、I-picture END sector-No.を用いて、高速なサーチを行う多重化データ復号化装置の例を図2を用いて説明する。ISO11172(MPEG)に基づくビデオデコーダは、ピクチャごとにそのデータの量が異なるようなビットストリームに対してもデコード動作を保証するため、デコーダ内部にビデオコードバッファを持っている。ビデオデコーダ25に入ってきたビットストリームは、まず一旦このビデオコードバッファに蓄えられ、その後、必要なタイミングでデコードされる。 Next, an example of a multiplexed data decoding device that performs a high-speed search using the I-picture END sector-No. Written in the entry packet as described above will be described with reference to FIG. A video decoder based on ISO11172 (MPEG) has a video code buffer inside the decoder in order to guarantee a decoding operation even for a bit stream having a different amount of data for each picture. The bit stream that has entered the video decoder 25 is first temporarily stored in the video code buffer, and then decoded at a necessary timing.

 従来はIピクチャを連続再生するため、制御装置24は、ビデオデコーダ25によるIピクチャのデコードが終了したかを監視し、デコード終了が確認された後、次のIピクチャのサーチ指令を、駆動装置10に対して行うという動作を行っていた。この時ビデオデコーダ25がビデオコードバッファを持っている場合、ビデオデコーダ25のデコード部がIピクチャのデコードを終了した段階では、ビデオデコーダ25のビデオコードバッファには、Iピクチャに続いて多重化されているP,Bピクチャのデータが蓄えられており、それらのデータはデコードされないのにも関わらず、駆動装置10から読み込まれている状態にある。多くの場合、サーチの速度は、ビデオデコーダ25のデコードに要する時間よりも、駆動装置10からデータを読み出す時間に支配されるので、無駄なP,Bピクチャのロードによって、サーチの速度は低下する。 Conventionally, in order to continuously reproduce I pictures, the control device 24 monitors whether the decoding of the I pictures by the video decoder 25 has been completed, and after confirming that the decoding has been completed, issues a search command for the next I picture to the drive device. 10 was performed. At this time, if the video decoder 25 has a video code buffer, and the decoding unit of the video decoder 25 has finished decoding the I-picture, the video decoder 25 The data of the P and B pictures are stored, and the data is read from the driving device 10 even though they are not decoded. In many cases, the search speed is governed by the time required to read data from the driving device 10 rather than the time required for decoding by the video decoder 25. Therefore, the useless loading of P and B pictures reduces the search speed. .

 エントリパケットに書き込まれているI-picture END sector-No.情報を使用することにより、無駄なP,Bピクチャの読みだし量を最小限に抑え、次に表示すべきIピクチャのデータをビデオデコーダ25内のビデオコードバッファ内にあらかじめ読み込むことができるので、サーチ速度が駆動装置10からの読みだし速度に支配されるような多重化データ分離装置において、より高速なサーチ動作が実現できる。 By using the I-picture END sector-No. Information written in the entry packet, the amount of useless reading of P and B pictures is minimized, and the data of the I picture to be displayed next is video decoder. Since the data can be read in advance into the video code buffer in the multiplexed data buffer 25, a higher-speed search operation can be realized in a multiplexed data separation device in which the search speed is governed by the speed of reading from the drive device 10.

 サーチ動作中において制御装置24は、エントリポイント記憶装置41に記録されている情報をもとに、駆動装置10にサーチを指令する。駆動装置10は指定された位置から多重化ビットストリームをヘッダ分離回路22へ送る。ヘッダ分離回路は、送られてきた多重化ビットストリーム中にエントリパケットが検出されると、制御装置24に割り込みを発生させこれを知らせる。制御装置24は、この割り込みを受けて、駆動装置10から現在の読み出し位置情報を読みだし、エントリポイント記憶装置41に現在のエントリポイントの位置として記録する。 During the search operation, the control device 24 instructs the drive device 10 to perform a search based on the information recorded in the entry point storage device 41. The driving device 10 sends the multiplexed bit stream to the header separation circuit 22 from the designated position. When an entry packet is detected in the transmitted multiplexed bit stream, the header separation circuit generates an interrupt to the control device 24 to notify it. In response to the interrupt, the control device 24 reads out the current readout position information from the drive device 10 and records it in the entry point storage device 41 as the current entry point position.

 また、同時に制御装置24は、ヘッダ分離回路からエントリパケットに書かれているエントリポイントの位置情報を取り出し、エントリポイント記憶装置に記録する。このとき、エントリポイントの位置情報のうち、I-picture END sector-No.等のように現在のエントリポイントの先頭のパック位置からの相対位置でエントリパケット中に書き込まれている情報は、駆動装置10から読み出してエントリポイント記憶装置41に記録した現在のエントリポイントの位置情報に、その相対位置情報を加算することにより、相対位置情報を絶対位置情報に変換して、エントリポイント記憶装置41に記録する。 {At the same time, the control device 24 extracts the position information of the entry point written in the entry packet from the header separation circuit and records it in the entry point storage device. At this time, information written in the entry packet at a position relative to the pack position at the beginning of the current entry point, such as I-picture END sector-No. The relative position information is converted into absolute position information by adding the relative position information to the position information of the current entry point read from the entry 10 and recorded in the entry point storage device 41, and recorded in the entry point storage device 41. I do.

 駆動装置10が多重化ビットストリームをヘッダ分離回路22に供給し続けるに従って、駆動装置10の読み出し位置情報は時間とともに増加していく。制御装置24は駆動装置10から読み出し位置情報を一定周期で読み出し、エントリポイント記憶装置41に記憶されている絶対位置情報に変換されたI-picture END sector-No.と比較する。このとき駆動装置10から得られた読み出し位置情報がI-picture END sector-No.を越えているときは、必要なIピクチャの読み出しは終了しており、Iピクチャに続くP,Bピクチャ等の不要なデータがロードされていると判断し、直ちに駆動装置10に次のIピクチャを読み込むためのサーチを命令する。 (4) As the driving device 10 continues to supply the multiplexed bit stream to the header separation circuit 22, the read position information of the driving device 10 increases with time. The control device 24 reads the read position information from the drive device 10 at regular intervals, and compares the read position information with the I-picture END sector-No. Converted into the absolute position information stored in the entry point storage device 41. At this time, if the readout position information obtained from the drive device 10 exceeds the I-picture END sector-No., The necessary readout of the I picture has been completed, and the P, B picture, etc. It determines that unnecessary data has been loaded, and immediately instructs the drive device 10 to perform a search for reading the next I picture.

 また、このようにしてエントリパケットに書き込まれた、Iピクチャのデータの大きさI-picture length、及びそのIピクチャデータの終端が多重化されているパックの位置I-picture END sector-No.を用いて、より一定なサーチ速度でサーチを行える多重化データ復号化装置の例を図2を用いて説明する。図2に示す、多重化データ復号化装置では、サーチ動作に入った場合、制御装置24は、エントリパケット記憶装置41に記憶されているエントリポイントの位置情報をもとに、Iピクチャのデータの先頭のあるパックを駆動装置10から読み込む。読み込まれたパックには必ずエントリパケットが多重化されているので、そこに書かれているI-picture length、I-picture END sector-No.からそのI-picture のデータの長さや読み込むべきパックの量を読み出すことができる。 Also, the data size I-picture length of the I picture and the position I-picture END sector-No. Of the pack in which the end of the I picture data is multiplexed, written in the entry packet in this manner, are shown. An example of a multiplexed data decoding device capable of performing a search at a more constant search speed will be described with reference to FIG. In the multiplexed data decoding device shown in FIG. 2, when the search operation starts, the control device 24 determines the I picture data based on the entry point position information stored in the entry packet storage device 41. The pack with the head is read from the driving device 10. An entry packet is always multiplexed in the read pack, so the I-picture length and I-picture END sector-No. The amount can be read.

 制御装置24はエントリパケットに書かれたI-picture length、I-picture END sector-No.があるしきい値を越えるか、またしきい値を越えたIピクチャが何枚連続したかどうかを判定する。データ量がしきい値を越えたIピクチャが一定枚数以上続いた場合には、駆動装置10からのデータの読み出しや、ビデオデコーダ25によるデコード処理に時間がかかり、サーチ速度が遅くなったことが推定できるので、一時的にIピクチャのデコードの中止、もしくは-3〜+3までのエントリポイントのうち、選択するエントリポイントの変更を行って遅れを修正する。Iピクチャのデコードの中止は、ビデオデコーダ25及びオーディオデコーダ26にデータが供給されないうちに、駆動装置10に次のエントリポイントへのサーチを命令することによって実現する。選択するエントリポイントの位置の変更は、次のIピクチャをサーチする際にそれまで行っていたサーチよりも高速なサーチを行うエントリポイントに駆動装置10をサーチさせることによって実現する。例えばentry _packet_+2を用いたサーチを行っている場合であれば、一時的にentry _packet_+3を用いたサーチに変更する。 The control device 24 determines whether the I-picture length and I-picture END sector-No. Written in the entry packet exceed a certain threshold, and how many I-pictures exceeding the threshold continue. I do. If the number of I-pictures whose data amount exceeds the threshold value continues for a certain number or more, it takes time to read data from the driving device 10 and decode processing by the video decoder 25, and the search speed becomes slow. Since it can be estimated, the delay is corrected by temporarily stopping the decoding of the I picture or changing the entry point to be selected among the entry points from -3 to +3. The suspension of the decoding of the I-picture is realized by instructing the driving device 10 to search for the next entry point before data is supplied to the video decoder 25 and the audio decoder 26. The change of the position of the entry point to be selected is realized by causing the driving device 10 to search for an entry point that performs a search faster than the search performed so far when searching for the next I picture. For example, if a search using entry_packet_ + 2 is being performed, the search is temporarily changed to a search using entry_packet_ + 3.

 上記の手順によって、一時的にサーチ速度が低下した場合に、直後のサーチ動作を一時的に省略または高速化し、より一定速度に近いサーチを実現することができる。またエントリパケットの形式を図16に示されるようにし、当該エントリパケットに続くIピクチャに関するI-picture length、I-picture END sector-No.だけでなく、entry _packet_-3〜entry _packet_+3までに示されているエントリパケットに続くIピクチャに関する、I-picture length、I-picture END sector-No.をエントリパケットに記録することができる。すなわち、I-picture length_-3〜I-picture length_+3、I-picture END sector-No._-3〜I-picture END sector-No._+3をエントリパケットに書き込む。 According to the above procedure, when the search speed temporarily decreases, the search operation immediately after is temporarily omitted or speeded up, and a search closer to a constant speed can be realized. Also, the format of the entry packet is as shown in FIG. 16, and not only the I-picture length and I-picture END sector-No. Related to the I picture following the entry packet but also entry_packet_-3 to entry_packet_ + 3 An I-picture length and an I-picture END sector-No. Related to an I picture following the indicated entry packet can be recorded in the entry packet. That is, I-picture length_-3 to I-picture length_ + 3 and I-picture END sector-No ._- 3 to I-picture END sector-No ._ + 3 are written in the entry packet.

 これによって、新しいIピクチャを読み込む時、そのIピクチャの直前に多重化されているエントリパケットを読み込む前に、制御装置はそのIピクチャの長さや、駆動装置上の終端の位置を知ることができるので、さらに高速なサーチを実現することができる。エントリパケットを図16に示すような形式とし、ビデオストリーム番号、Video stream-No.を記録することができる。ISO11172(MPEG)に規定されている多重化ビットストリームには、最大16までのビデオデータが多重化されることが許されている。一つの多重化ビットストリームに複数のビデオストリームが多重化され、かつ多重化された2つ以上のビデオストリームについてサーチ動作をすることが考えられるときは、各ビデオストリームによってエントリポイントの位置が異なるので、それぞれのビットストリームに対するエントリポイント情報を記録する必要がある。 Thus, when reading a new I picture, the control device can know the length of the I picture and the end position on the drive device before reading the entry packet multiplexed immediately before the I picture. Therefore, a higher-speed search can be realized. The entry packet has a format as shown in FIG. 16, and a video stream number and a Video stream-No. Can be recorded. A maximum of 16 video data is allowed to be multiplexed in a multiplexed bit stream defined in ISO11172 (MPEG). When a plurality of video streams are multiplexed in one multiplexed bit stream, and it is conceivable to perform a search operation on two or more multiplexed video streams, the position of the entry point differs for each video stream. , It is necessary to record entry point information for each bit stream.

 従来のエントリパケットの形式ではひとつのビデオストリームに対するエントリパケットしか多重化することができなかったが、Video stream-No.情報をエントリパケットに記録して、各ビデオストリームに対するエントリパケットを多重化することにより、復号化装置が、必要なビデオストリームに対するエントリパケットを選択することが可能になり、複数のビデオストリームが多重化されている多重化データにおいても、任意のビデオストリームに対してサーチ動作を実現できる。 In the conventional entry packet format, only entry packets for one video stream could be multiplexed. However, video stream-No. Information is recorded in entry packets, and entry packets for each video stream must be multiplexed. Enables the decoding device to select an entry packet for a required video stream, and realizes a search operation for an arbitrary video stream even in multiplexed data in which a plurality of video streams are multiplexed. it can.

 図17に示される多重化装置においては、ビデオエンコーダ1、ビデオエントポイント検出回路31、Iピクチャ終了点検出回路51、コードバッファ4および5がそれぞれn個存在する。このような多重化装置の場合、制御装置8はそれぞれのコードバッファに蓄えられるビデオまたはオーディオビットストリームをスイッチング回路62で切り替えてヘッダ付加回路に供給してビデオパケットヘッダまたはオーディオパケットヘッダを付加し、パック単位で駆動装置10に記録する。 In the multiplexer shown in FIG. 17, there are n video encoders 1, video entry point detection circuits 31, I picture end point detection circuits 51, and n code buffers 4 and 5, respectively. In the case of such a multiplexing device, the control device 8 switches the video or audio bit stream stored in each code buffer by the switching circuit 62 and supplies it to the header adding circuit to add a video packet header or an audio packet header, The data is recorded in the drive unit 10 in pack units.

 駆動装置10に記録しようとするパックにいずれかのビデオストリームのIピクチャが含まれていた場合には、そのIピクチャの直前にエントリパケットが多重化される。このときそのエントリパケットがどのビデオストリームに対するものかを、制御装置8はエントリポイント発生回路32に供給し、エントリパケットのVideo stream-No.に記録する。 If the pack to be recorded in the drive device 10 includes an I picture of any video stream, the entry packet is multiplexed immediately before the I picture. At this time, the control device 8 supplies the entry point generation circuit 32 with which video stream the entry packet is for, and records it in the Video stream-No. Of the entry packet.

 図2で示される多重化データ復号化装置では、制御装置24はヘッダ分離回路22からエントリパケットのVideo stream-No.を読みだし、その値がサーチ動作を行いたいビデオストリーム番号と一致した時にはそのエントリパケットに記録されているエントリポイント情報等をエントリポイント記憶装置41に記憶する。また、一致しない時はそのエントリポイント情報等を破棄する。このように多重化するビデオストリームごとにエントリパケットを設け、どのビデオストリームに対応するかの識別子をエントリパケットに含むことによって多重化されている全てのビデオストリームでサーチ動作を実現することができる。 In the multiplexed data decoding device shown in FIG. 2, the control device 24 reads out the Video stream-No. Of the entry packet from the header separation circuit 22, and when the value matches the video stream number for which the search operation is to be performed, The entry point information and the like recorded in the entry packet are stored in the entry point storage device 41. If they do not match, the entry point information and the like are discarded. As described above, an entry packet is provided for each video stream to be multiplexed, and a search operation can be realized for all multiplexed video streams by including an identifier indicating which video stream corresponds to the entry packet.

 エントリパケットを図16に示すような形式とし、コピーマネジメントフラグ、Copy Management Flagを記録することができる。Copy Management Flagは、CD(コンパクトディスク)、DAT(デジタルオーディオテープ)に採用されているSCMS(Serial Copy Management System )と同じ働きを実現するもので、多重化データの製作者の意図にそわないコピーを不可能にすることを指定するフラグである。 (4) The entry packet has a format as shown in FIG. 16, and a copy management flag and a copy management flag can be recorded. The Copy Management Flag realizes the same function as SCMS (Serial Copy Management System) used for CDs (Compact Discs) and DATs (Digital Audio Tapes). Is a flag that specifies that

 図1に示すデータ多重化装置において、制御装置8はコピーを禁止したいビットストリームに対しては、エントリパケット発生回路32に指令して、発生させるエントリパケットのCopy Management Flagにコピー禁止を示す値をセツトする。図2に示すデータ復号化装置においては、制御装置8はヘッダ分離回路22からエントリパケットのCopy Management Flagを読み込み、ここにコピー禁止を示す値がセツトされていたら、そのビデオストリームをコピー禁止として扱う。コピー禁止として扱われるビデオストリームに対して復号化装置は、復号化装置が外部出力端子を設けている場合にビットストリームデータを外部出力端子に出力しないようにしたり、または外部出力する際に送出するビットストリームのコピー禁止を示す領域にコピー禁止を示す値をセツトして送出先の機器にそのビットストリームがコピー禁止であることを知らせる。 In the data multiplexing device shown in FIG. 1, the control device 8 instructs the entry packet generation circuit 32 for a bit stream whose copying is to be prohibited, and sets a value indicating the copy prohibition in the Copy Management Flag of the generated entry packet. Set. In the data decoding device shown in FIG. 2, the control device 8 reads the Copy Management Flag of the entry packet from the header separation circuit 22, and if a value indicating copy prohibition is set here, treats the video stream as copy prohibition. . When the decoding device has an external output terminal, the decoding device does not output the bit stream data to the external output terminal or sends the bit stream data to the video stream that is treated as copy prohibited when the decoding device has the external output terminal. A value indicating copy prohibition is set in an area indicating copy prohibition of the bit stream to notify the destination device that the bit stream is copy prohibition.

 また、Copy Management Flagは、コピー禁止であるか否かの情報だけでなく、コピーが許される回数情報を記録することができる。これにより、ビットストリームをコピーして複製物を作成することは可能であるが、その複製物をもとにした複製物、すなわち孫コピーによる複製を禁止することができる。以上により、著作権が主張されている等の理由によりコピーを禁止したいビットストリームを復号化装置またはそこに接続される機器に対して明示することができる。 (4) The Copy Management Flag can record not only information on whether or not copying is prohibited, but also information on the number of times copying is permitted. This makes it possible to create a copy by copying the bit stream, but it is possible to prohibit a copy based on the copy, that is, a copy by a grandchild copy. As described above, a bit stream whose copying is to be prohibited due to a copyright claim or the like can be clearly indicated to the decoding device or a device connected thereto.

 サーチ動作を行う場合、復号化装置は、エントリパケット情報を用いてIピクチャを連続表示するが、この場合、時間的に連続でないピクチャが表示されることになる。このように時間的に連続でない画像を一定時間以上眺めることにより、極度に目が疲労する可能性がある。そこで、図18に示す多重化データ復号化装置に示すように制御装置24がビデオデコーダ25に輝度コントロール信号を送ることができるようにし、サーチ中に表示画面の輝度を落して目の疲労の低減をはかることができる。制御装置24は図示せぬ主制御装置より指令されてサーチ動作に入ると、ビデオデコーダ25に輝度を落すコントロール信号を送る。ビデオデコーダ25は輝度コントロール信号を受けとると表示画面の輝度を落し、表示画面を暗くする。またサーチ動作が終了すると、制御装置24は輝度を通常に戻すコントロール信号を送る。ビデオデコーダ25はその信号により、表示画面の輝度を通常の状態に戻す。 When performing the search operation, the decoding apparatus continuously displays the I pictures using the entry packet information. In this case, pictures that are not temporally continuous are displayed. Looking at images that are not temporally continuous for a certain period of time or more in this manner may cause extreme eye fatigue. Therefore, as shown in the multiplexed data decoding device shown in FIG. 18, the control device 24 can send a brightness control signal to the video decoder 25, and reduce the brightness of the display screen during the search to reduce eye fatigue. Can be measured. The control device 24 sends a control signal for lowering the luminance to the video decoder 25 when a search operation is started by a command from a main control device (not shown). Upon receiving the brightness control signal, the video decoder 25 lowers the brightness of the display screen and darkens the display screen. When the search operation is completed, the control device 24 sends a control signal for returning the brightness to normal. The video decoder 25 returns the luminance of the display screen to a normal state according to the signal.

 これにより、サーチ動作が行われ、時間的に不連続な画像が表示されている間は表示画像の輝度を落すことが可能になり、サーチ動作時の目の疲労を低減することができる。 (4) As a result, the search operation is performed, and while a temporally discontinuous image is displayed, the brightness of the displayed image can be reduced, and eye fatigue during the search operation can be reduced.

本発明のデータ符号化装置の一実施例の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an embodiment of a data encoding device according to the present invention. 本発明のデータ復号化装置の一実施例の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of an embodiment of a data decoding device according to the present invention. 図1および図2の実施例の駆動装置10により駆動されるディスクのデータフォーマットのうち、パックのフォーマットを示す図である。FIG. 3 is a diagram showing a pack format among data formats of a disk driven by the driving device 10 of the embodiment of FIGS. 1 and 2. 図3のエントリパケットのフォーマットを説明する図である。FIG. 4 is a diagram illustrating a format of an entry packet of FIG. 3. 図1の実施例の動作を説明するフローチヤートである。2 is a flowchart illustrating the operation of the embodiment in FIG. 1. 従来のデータ符号化装置の一例の構成を示すブロック図である。FIG. 14 is a block diagram illustrating a configuration of an example of a conventional data encoding device. 従来のデータ復号化装置の一例の構成を示すブロック図である。FIG. 29 is a block diagram illustrating a configuration of an example of a conventional data decoding device. 図6および図7の例におけるビットストリームのフォーマットを説明する図である。FIG. 8 is a diagram illustrating a format of a bit stream in the examples of FIGS. 6 and 7. 図8のストリームIDを説明する図である。FIG. 9 is a diagram illustrating the stream ID of FIG. 8. 図6の例の動作を説明するフローチヤートである。7 is a flowchart illustrating the operation of the example of FIG. 6. 図6および図7の駆動装置10により駆動されるディスクにおけるビットストリームを説明する図である。FIG. 8 is a diagram illustrating a bit stream on a disk driven by the drive device 10 of FIGS. 6 and 7. エントリパケットのビットストリームでのフォーマットを説明する図である。FIG. 3 is a diagram illustrating a format of an entry packet in a bit stream. エントリパケットのビットストリームでの他のフォーマットを説明する図である。FIG. 9 is a diagram for explaining another format in a bit stream of an entry packet. エントリパケットのビットストリームでのさらに他のフォーマットを説明する図である。FIG. 11 is a diagram illustrating still another format in a bit stream of an entry packet. エントリパケットにデータを記録するための多重化装置の一例の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of an example of a multiplexing device for recording data in an entry packet. エントリパケットのビットストリームでのさらに他のフォーマットを説明する図である。FIG. 11 is a diagram illustrating still another format in a bit stream of an entry packet. エントリパケットにデータを記録するための多重化装置の一例の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of an example of a multiplexing device for recording data in an entry packet. 輝度コントロールを可能にする多重化データ復号化装置の一例の構成を示すブロック図である。It is a block diagram which shows the structure of an example of the multiplexed data decoding apparatus which enables brightness control. エントリパケットのビットストリームでのさらに他のフォーマットを説明する図である。FIG. 11 is a diagram illustrating still another format in a bit stream of an entry packet.

符号の説明Explanation of reference numerals

1 ビデオエンコーダ
2 オーディオエンコーダ
3 多重化装置
4,5 コードバッファ
6 スイッチング回路
7 ヘッダ付加回路
8 制御装置
9 多重化システムクロック発生回路
10 駆動装置
21 分離装置
22 ヘッダ分離回路
23 スイッチング回路
24 制御装置
25 ビデオデコーダ
26 オーディオデコーダ
31 ビデオエントリポイント検出回路
32 エントリパケット発生回路
33,41 エントリポイント記憶装置
DESCRIPTION OF SYMBOLS 1 Video encoder 2 Audio encoder 3 Multiplexers 4 and 5 Code buffer 6 Switching circuit 7 Header adding circuit 8 Control device 9 Multiplexing system clock generation circuit 10 Driving device 21 Separating device 22 Header separating circuit 23 Switching circuit 24 Control device 25 Video Decoder 26 Audio decoder 31 Video entry point detection circuit 32 Entry packet generation circuits 33 and 41 Entry point storage device

Claims (14)

 データ符号化装置において、
 入力されるビデオデータをフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームに符号化する符号化器と、
 フレーム内符号化ピクチャの位置情報を有するエントリパケットを生成するエントリパケット生成部と、
 生成されたエントリパケットを上記ビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化する多重化器とを有し
 上記エントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなる
 ことを特徴とするデータ符号化装置。
In the data encoding device,
An encoder for encoding the input video data into a bit stream consisting of an intra-coded picture and an inter-coded picture;
An entry packet generation unit that generates an entry packet having position information of an intra-frame coded picture;
A multiplexer for multiplexing the generated entry packet so as to be arranged before the intra-frame coded picture in the bit stream. The entry packet includes a plurality of discretely selected intra-frame codes. A data encoding device comprising position information of a coded picture.
 請求項1に記載のデータ符号化装置において、
 上記エントリパケットは、少なくとも隣接する前方向、および後ろ方向のフレーム内符号化ピクチャの位置情報を含む
 ことを特徴とするデータ符号化装置。
The data encoding device according to claim 1,
The data encoding apparatus, wherein the entry packet includes at least position information of adjacent forward and backward intra-coded pictures.
 請求項2に記載のデータ符号化装置において、
 上記エントリパケットは、遠くなるに従って隣接する距離が離れるように選択されたフレーム内符号化ピクチャの位置情報からなる
 ことを特徴とするデータ符号化装置。
The data encoding device according to claim 2,
The data encoding device, wherein the entry packet includes position information of an intra-frame coded picture selected such that an adjacent distance increases as the distance increases.
 請求項2に記載のデータ符号化装置において、
 上記エントリパケットは、フレーム内符号化ピクチャの位置情報とともに、当該フレーム内符号化ピクチャがいくつ離れた位置に配置されているかを示す情報を含む
 ことを特徴とするデータ符号化装置。
The data encoding device according to claim 2,
The data encoding device, wherein the entry packet includes information indicating how far the intra-frame coded pictures are arranged, together with the position information of the intra-frame coded pictures.
 データ符号化方法において、
 入力されるビデオデータをフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームに符号化する符号化ステップと、
 フレーム内符号化ピクチャの位置情報を有するエントリパケットを生成するエントリパケット生成ステップと、
 生成されたエントリパケットを上記ビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化する多重化ステップとを有し
 上記エントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなる
 ことを特徴とするデータ符号化方法。
In the data encoding method,
An encoding step of encoding the input video data into a bit stream consisting of an intra-coded picture and an inter-coded picture;
An entry packet generating step of generating an entry packet having position information of an intra-frame coded picture;
Multiplexing the generated entry packet so as to be arranged before the intra-frame coded picture in the bit stream. The entry packet includes a plurality of discretely selected intra-frame codes. A data encoding method comprising position information of a coded picture.
 データ復号化装置において、
 エントリパケットがフレーム内符号化ピクチャの前に配置されるように多重化されたビットストリームからフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャを復号する復号手段と、
 上記エントリパケットから得られるフレーム内符号化ピクチャの位置情報に基づいて記録媒体からの読出し位置を制御する制御手段とを有し、
 上記するエントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなる
 ことを特徴とするデータ復号化装置。
In the data decryption device,
Decoding means for decoding an intra-coded picture and an inter-coded picture from a bit stream multiplexed such that the entry packet is arranged before the intra-coded picture;
Control means for controlling a reading position from a recording medium based on position information of an intra-frame coded picture obtained from the entry packet,
The data decoding device, wherein the entry packet includes position information of a plurality of intra-coded pictures discretely selected.
 請求項6に記載のデータ復号化装置において、
 上記エントリパケットは、少なくとも隣接する前方向、および後ろ方向のフレーム内符号化ピクチャの位置情報を含む
 ことを特徴とするデータ復号化装置。
The data decoding device according to claim 6,
The data decoding device, wherein the entry packet includes at least position information of adjacent forward and backward intra-coded pictures.
 請求項7に記載のデータ復号化装置において、
 上記エントリパケットは、遠くなるに従って隣接する距離が離れるように選択されたフレーム内符号化ピクチャの位置情報からなる
 ことを特徴とするデータ復号化装置。
The data decoding device according to claim 7,
The data decoding device, wherein the entry packet includes position information of an intra-frame coded picture selected such that an adjacent distance increases as the distance increases.
 請求項7に記載のデータ復号化装置において、
 上記エントリパケットは、フレーム内符号化ピクチャの位置情報とともに、当該フレーム内符号化ピクチャがいくつ離れた位置に配置されているかを示す情報を含む
 ことを特徴とするデータ復号化装置。
The data decoding device according to claim 7,
The data decoding device, characterized in that the entry packet includes, together with the position information of the intra-coded picture, information indicating how far the intra-coded picture is located.
 データ復号化方法において、
 エントリパケットがフレーム内符号化ピクチャの前に配置されるように多重化されたビットストリームからフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャを復号する復号ステップと、
 上記エントリパケットから得られるフレーム内符号化ピクチャの位置情報に基づいて記録媒体からの読出し位置を制御する制御ステップとを有し、
 上記するエントリパケットは、離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなる
 ことを特徴とするデータ復号化方法。
In the data decryption method,
Decoding an intra-coded picture and an inter-coded picture from a bitstream multiplexed such that the entry packet is placed before the intra-coded picture;
Controlling the read position from the recording medium based on the position information of the intra-frame coded picture obtained from the entry packet,
The above-mentioned entry packet comprises position information of a plurality of discretely selected intra-frame coded pictures, wherein:
 再生装置に装着され、記録されているアドレス情報に基づいて読出し位置を制御されて読み出されるようになされた記録媒体において、
 動画像がフレーム内符号化ピクチャ、およびフレーム間符号化ピクチャからなるビットストリームとして符号化されて記録されるとともに、
 離散的に選択された複数のフレーム内符号化ピクチャの位置情報からなるエントリパケットが上記ビットストリーム中のフレーム内符号化ピクチャの前に配置されるように多重化されて記録されている
 ことを特徴とする記録媒体。
In a recording medium mounted on the reproducing apparatus, the reading position is controlled and read based on the recorded address information,
A moving image is encoded and recorded as a bit stream including an intra-coded picture and an inter-coded picture, and
An entry packet comprising position information of a plurality of discretely selected intra-coded pictures is multiplexed and recorded so as to be arranged before the intra-coded pictures in the bit stream. Recording medium.
 請求項11に記載の記録媒体において、
 上記エントリパケットは、少なくとも隣接する前方向、および後ろ方向のフレーム内符号化ピクチャの位置情報を含む
 ことを特徴とする記録媒体。
The recording medium according to claim 11,
The recording medium, characterized in that the entry packet includes at least position information of adjacent forward and backward intra-coded pictures.
 請求項12に記載の記録媒体において、
 上記エントリパケットは、遠くなるに従って隣接する距離が離れるように選択されたフレーム内符号化ピクチャの位置情報からなる
 ことを特徴とする記録媒体。
The recording medium according to claim 12,
The recording medium according to claim 1, wherein the entry packet includes position information of an intra-frame coded picture selected such that an adjacent distance increases as the distance increases.
 請求項12に記載の記録媒体において、
 上記エントリパケットは、フレーム内符号化ピクチャの位置情報とともに、当該フレーム内符号化ピクチャがいくつ離れた位置に配置されているかを示す情報を含む
 ことを特徴とする記録媒体。
The recording medium according to claim 12,
The recording medium according to claim 1, wherein the entry packet includes information indicating how far the intra-frame coded pictures are arranged, together with the position information of the intra-frame coded pictures.
JP2003303080A 1992-09-22 2003-08-27 Data encoding device and method, data decoding device and method Expired - Lifetime JP3589241B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003303080A JP3589241B2 (en) 1992-09-22 2003-08-27 Data encoding device and method, data decoding device and method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP27795692 1992-09-22
JP2003303080A JP3589241B2 (en) 1992-09-22 2003-08-27 Data encoding device and method, data decoding device and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP23512193A Division JP3551447B2 (en) 1992-09-22 1993-09-21 Data encoding device and method, data decoding device and method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004168896A Division JP3651479B2 (en) 1992-09-22 2004-06-07 Method for recording video data on recording medium, and method for producing recording medium recording video data

Publications (2)

Publication Number Publication Date
JP2004080796A true JP2004080796A (en) 2004-03-11
JP3589241B2 JP3589241B2 (en) 2004-11-17

Family

ID=32032003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003303080A Expired - Lifetime JP3589241B2 (en) 1992-09-22 2003-08-27 Data encoding device and method, data decoding device and method

Country Status (1)

Country Link
JP (1) JP3589241B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005353211A (en) * 2004-06-11 2005-12-22 Sony Corp Data processor and data processing method, program and program recording medium, and data recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005353211A (en) * 2004-06-11 2005-12-22 Sony Corp Data processor and data processing method, program and program recording medium, and data recording medium
JP4524582B2 (en) * 2004-06-11 2010-08-18 ソニー株式会社 Data processing apparatus, data processing method, program, program recording medium, and data recording medium
US8154964B2 (en) 2004-06-11 2012-04-10 Sony Corporation Data processing device, data processing method, program, program recording medium, data recording medium, and data structure

Also Published As

Publication number Publication date
JP3589241B2 (en) 2004-11-17

Similar Documents

Publication Publication Date Title
KR100330293B1 (en) Method for data transmission, Apparatus for data transmission, Data decoding apparatus and Data recording medium
KR100440649B1 (en) Recording apparatus and method, playback apparatus and method
KR100283976B1 (en) Apparatus and method for reproducing a variable-rate coded signal
JP3484834B2 (en) Data encoding / decoding method and apparatus
JP3491365B2 (en) Encoded data decoding method and decoding device
US5504585A (en) Apparatus and method for providing plural pictures while searching a recording medium whereon a compressed picture signal is recorded
EP0622002B1 (en) Digital video signal processing apparatus and method
JPH08168042A (en) Data decoding device and method therefor
JPH10285548A (en) Encoding device and method, decoding device and method and editing method
JP3551447B2 (en) Data encoding device and method, data decoding device and method
JP3589241B2 (en) Data encoding device and method, data decoding device and method
JP3582530B2 (en) Recording apparatus and method, reproduction apparatus and method
JP3651479B2 (en) Method for recording video data on recording medium, and method for producing recording medium recording video data
JP3582529B2 (en) Data encoding device and method, data decoding device and method
JP3654300B2 (en) Data encoding method, production method of recording medium recording video data
JP4191207B2 (en) recoding media
JP4058437B2 (en) recoding media
JP4191208B2 (en) recoding media
JP3651480B2 (en) Method for recording video data on recording medium, and method for producing recording medium recording video data
JP3562484B2 (en) Method for manufacturing disk-shaped data recording medium
JP3485111B2 (en) Reproduction method and reproduction device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040607

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040727

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040809

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

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110827

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250