JP5119522B2 - Device for processing data streams - Google Patents

Device for processing data streams Download PDF

Info

Publication number
JP5119522B2
JP5119522B2 JP2010108375A JP2010108375A JP5119522B2 JP 5119522 B2 JP5119522 B2 JP 5119522B2 JP 2010108375 A JP2010108375 A JP 2010108375A JP 2010108375 A JP2010108375 A JP 2010108375A JP 5119522 B2 JP5119522 B2 JP 5119522B2
Authority
JP
Japan
Prior art keywords
word
data
packet
header
last word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2010108375A
Other languages
Japanese (ja)
Other versions
JP2010187405A (en
Inventor
アンソニー アカンポーラ,アルフオンス
マイケル バンテイング,リチヤード
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
General Electric Co
Original Assignee
General Electric Co
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 General Electric Co filed Critical General Electric Co
Priority to JP2010108375A priority Critical patent/JP5119522B2/en
Publication of JP2010187405A publication Critical patent/JP2010187405A/en
Application granted granted Critical
Publication of JP5119522B2 publication Critical patent/JP5119522B2/en
Expired - Lifetime legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ディジタル信号処理の分野に関し、特に、例えば高解像度テレビジョンシステムにおいて符号化されたMPEG形データを伝送するのに用いられる、トランスポート・データパケットを組み立てる装置に関する。   The present invention relates to the field of digital signal processing and, more particularly, to an apparatus for assembling transport data packets used, for example, to transmit MPEG-type data encoded in a high-definition television system.

アカンポーラ(Acampora)氏外に付与された米国特許第5,168,356号(特許文献)には、MPEG形の可変長符号化に従って高解像度テレビジョン(HDTV)信号を処理するシステムが記載されている。MPEGは、国際標準化機構(ISO)によって決定された標準符号化フォーマットである。その標準は“国際標準化機構(International Organization for Standardization”ISO/IEC DIS11172、ディジタル蓄積メディア用動画像およびそれに関連した音声の符号化法(Coding for Moving Pictures and Associated Audio for Digital Storage Media)、Rev.Nov.23,1991の文書に記載されており、本明細書において、この文書を一般的符号化フォーマットを記述するために引用する。アカンポーラ氏外のシステムにおいては、コードワード(符号語)にはデータストリーム中で優先度の高い情報と低い情報とを表すように優先度が与えられている。そのコードワード・データストリームはトランスポート・プロセッサに送られる。そのトランスポート・プロセッサは、コードワードデータを、それぞれがヘッダ・セクションとパック・データ・ペイロード・セクションとを含んでいるトランスポート・セルの形式にパックし、優先度の高いデータストリームと優先度の低い出力データストリームとを供給する。   U.S. Pat. No. 5,168,356 issued to Acampora et al. Describes a system for processing high-definition television (HDTV) signals according to MPEG variable length coding. Yes. MPEG is a standard encoding format determined by the International Organization for Standardization (ISO). The standard is “International Organization for Standardization” ISO / IEC DIS11172, moving image for digital storage media and related audio encoding method (Coding for Moving Pictures and Associated DigiDigit. 23, 1991, which is referred to herein to describe a general encoding format, and in a system outside of Acampola, codewords (codewords) contain data. Priority is given to represent high priority information and low priority information in the stream. The stream is sent to a transport processor, which packs the codeword data into the form of transport cells, each containing a header section and a packed data payload section, A high priority data stream and a low priority output data stream are provided.

トランスポート・プロセッサの主な機能は、前段の優先度プロセッサが供給(発行)した可変長コードワードデータをパック・データワードの形式にパックすることである。累積したパック・ワードは、データ・パケットと呼ばれ、トランスポート・ヘッダがその前に付加される。   The main function of the transport processor is to pack the variable-length code word data supplied (issued) by the priority processor in the previous stage into a packed data word format. The accumulated packed word is called a data packet, and a transport header is added in front of it.

米国特許第5,168,356号US Pat. No. 5,168,356

トランスポート・パケットのフォーマットによって、受信機において再同期化と信号回復とが容易に行われる。例えば、伝送チャネルに妨害が生じたために信号が破壊・分断された後でも、ヘッダデータを付加しておけば、受信機は伝送されたデータに欠落または破壊を生じた場合、データストリームに対する再エントリ点をヘッダデータに基づいて決定することができる。MPEG準拠の復号化器におけるデータの同期化も、パケットの境界に開始点を有する画像群GOP(Group of Pictures)によって行われる。後の説明で分かるように、GOPは、一連の1つまたはそれ以上の画像またはフレームであり、このGOP形式によって符号化ビデオ・ビットストリームのシーケンス(列)に対してランダムにアクセスできるようになっている。また、再同期化は、イントラ(内部またはフレーム内)符号化Iフレームのピクチャ開始コードワードに応答することによって、かつ例えばMPEG標準準拠のシステムにおけるパケットの境界にピクチャ開始コードワードを配置することによって容易に行われる。本発明の原理に従う装置を用いれば、トランスポート・パケットの形成・処理が容易に行われる。   The transport packet format facilitates resynchronization and signal recovery at the receiver. For example, if the header data is added even after the signal has been destroyed or broken due to interference in the transmission channel, the receiver can re-entry the data stream if the transmitted data is lost or corrupted. Points can be determined based on the header data. Data synchronization in the MPEG compliant decoder is also performed by an image group GOP (Group of Pictures) having a start point at the boundary of the packet. As will be seen later, a GOP is a series of one or more images or frames that allow random access to a sequence of encoded video bitstreams. ing. Resynchronization can also be done by responding to the picture start codeword of an intra (internal or intraframe) encoded I frame and by placing the picture start codeword at a packet boundary, for example in an MPEG standard compliant system. Easy to do. If an apparatus according to the principle of the present invention is used, transport packets can be easily formed and processed.

本発明によれば、データ・パケット内で可変長符号ワード(例えば、MPEG符合ワード)を伝送するシステムにおいて、規定された数よりも少ないワードを有する不完全なデータ・パケットに、機能のない“ゼロ・ワード”を詰め込んで、固定長パケットを作り出し、そして、規定された符合ワードが現れるパケット間の境界を定める。   In accordance with the present invention, in a system that transmits variable length code words (eg, MPEG code words) within a data packet, an incomplete data packet having fewer than a prescribed number has no function. Packs "zero words" to create fixed length packets and delimits between packets in which a defined code word appears.

開示された好ましい実施例では、特別な符合ワードであるパケット・アラインメント・フラグ(PAF)がMEPGデータストリームの中に挿入されて、1グループの画像(GOP)の始まりを知らせる。PAFは、GOPを開始させる、フレーム内符合化された“I”フレームのための‘画像開始’符合ワードの直前に置かれる。PAFは、‘画像開始’符合ワードの出現が迫っていることを知らせ、そして1クロック・サイクルにわたっており、この1サイクルの間に、或る“ハウスキーピング”機能が、次のパケットの初めに‘画像開始’符合ワードが現れる前に、遂行される。これらのハウスキーピング機能に含まれるのは、例えば、アキュムレータをリセットすること、ヘッダの状態を点検すること、そして、PAFが現れた時に構築中のデータ・パケットに対して‘最終ワード・インジケータ’を発生することである。GOPはパケットの境界で始まることになっているので、PAFが現れると、構築中のデータ・パケットは終結される。このような終結の結果として、規定された数よりも少ない、詰め込まれたワードが入っている短縮されたパケットを生じることがある。この短縮されたデータ・パケットは空白(ゼロにされたビット)ワードで満たされて、規定された数のワードを備えた完全なデータ・パケットを構成し、そして画像開始符合ワードが現れるパケット間の境界を定める。32ビットの固定長ワード30個で1個のデータ・パケットを形成し、このデータ・パケットの前に32ビットのヘッダ1個が付けられる。   In the preferred embodiment disclosed, a special code word, packet alignment flag (PAF), is inserted into the MPEG data stream to signal the start of a group of images (GOP). The PAF is placed immediately before the 'image start' code word for the intra-frame encoded “I” frame that starts the GOP. The PAF informs that an 'image start' code word is imminent and has been over one clock cycle, during which one “housekeeping” function may occur at the beginning of the next packet. Performed before the image start 'sign word appears. These housekeeping functions include, for example, resetting the accumulator, checking the status of the header, and setting the 'last word indicator' for the data packet being built when the PAF appears. Is to occur. Since the GOP is supposed to start at the packet boundary, when a PAF appears, the data packet being built is terminated. Such a termination may result in a shortened packet containing stuffed words, less than the specified number. This shortened data packet is filled with blank (zeroed bit) words to form a complete data packet with a specified number of words, and between the packets in which the image start code word appears Define the boundaries. Thirty 32-bit fixed-length words form one data packet, and this data packet is preceded by one 32-bit header.

本発明によれば、トランスポート・パケットの形成・処理が容易に行われる。   According to the present invention, transport packets can be easily formed and processed.

本発明に従う、データ・ワードータ・ワード制御器、データ・パック器およびデータ/ヘッダ合成装置を含んで成るビデオ信号符号化器の部分ブロック図である。FIG. 2 is a partial block diagram of a video signal encoder comprising a data wordta word controller, a data packer and a data / header synthesizer according to the present invention. 図1のワード制御器およびデータ・パック器の詳細を示すブロック図である。It is a block diagram which shows the detail of the word controller of FIG. 1, and a data packer. 図1のワード制御器およびデータ・パック器の詳細を示す回路図である。FIG. 2 is a circuit diagram showing details of the word controller and data packer of FIG. 1. 図1のワード制御器およびデータ・パック器の詳細を示すブロック図である。It is a block diagram which shows the detail of the word controller of FIG. 1, and a data packer. 図2Aに示されているワード状態制御器の動作に関する真理表である。2B is a truth table for the operation of the word state controller shown in FIG. 2A. パック・データ組立回路の詳細を示す。The details of the pack data assembly circuit are shown. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 最終ワードの発生の例を示す説明図である。It is explanatory drawing which shows the example of generation | occurrence | production of the last word. 図1に示されるデータおよびヘッダ合成器の詳細を示す図である。It is a figure which shows the detail of the data and header synthesizer which are shown by FIG. 図17に示されている状態制御器の動作に関する状態遷移図である。FIG. 18 is a state transition diagram regarding the operation of the state controller shown in FIG. 17. 本発明に従う装置を含む高解像度テレビジョン符号化システムのブロック図である。1 is a block diagram of a high resolution television encoding system including an apparatus according to the present invention. 符号化ビデオ信号の画像フィールド/フレームのシーケンスの画像表現を示す図である。FIG. 3 shows an image representation of a sequence of image fields / frames of an encoded video signal. 符号化ビデオ信号の画像フィールド/フレームのシーケンスの画像表現を示す図である。FIG. 3 shows an image representation of a sequence of image fields / frames of an encoded video signal. 図19のシステム中の符号化/圧縮装置によって形成されるデータ・ブロック生成の画像表現を示す図である。FIG. 20 shows an image representation of data block generation formed by the encoding / compression device in the system of FIG. 図19のシステム中の符号化/圧縮装置によって形成されるデータ・フォーマットの一般化された画像表現を示す図である。FIG. 20 illustrates a generalized image representation of a data format formed by an encoding / compression device in the system of FIG.

以下、図面を参照して本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、トランスポート・プロセッサのデータ・パック器12およびパック・データワード制御器10のブロック図である。前述のように、トランスポート・プロセッサの主な機能は、可変長のコードワードデータを固定長(例えば32ビット)データ・ワードにパックすることである。累積された30個のデータ・ワードは、データ・パケットを構成し、最後にそのデータ・パケットの前にトランスポート・ヘッダが付加される。図19に関して後述するように、そのようなトランスポート・プロセッサは、MPEG形式の圧縮ビデオ信号を処理するシステムに用いられる。MPEG形式のフォーマット化および処理の別の特徴については、図20、図21および図22に関連して後述する。   FIG. 1 is a block diagram of a transport processor data packer 12 and packed data word controller 10. As mentioned above, the primary function of the transport processor is to pack variable length codeword data into fixed length (eg 32 bit) data words. The 30 data words accumulated constitute a data packet, and finally a transport header is added before the data packet. As will be described later with respect to FIG. 19, such a transport processor is used in a system for processing compressed video signals in MPEG format. Other features of MPEG format and processing will be described later in connection with FIGS.

制御器10は、パケット整列フラグ(Packet Alignment Flag)PAFとの関係で長さ(Length)のデータ・ワードの累積値を監視し、可変長コードワードのストリームから組み立てられた32ビットのデータ・ワードの完全性(完成)960ビット長データ・パケットの完全性(完成)とを確認する。長さデータ Length は、可変長コードワードの長さに合致する並列6ビットのワードであって、可変長コードワードの長さを規定している。長さのワードLengthの2進値は、トランスポート(伝送)されるMPEG形式のコードワードを実際に表す可変長コードワードの長さに一致するビット数を示す。各可変長のコードワードは、32ビット幅のバス上に現れ、MPEG形式のコードを表す可変数の有効ビット(1〜32)を有する。   The controller 10 monitors the cumulative value of the length data word in relation to the packet alignment flag PAF, and the 32-bit data word assembled from the stream of variable length codewords. The integrity (completion) of the 960-bit data packet is confirmed. The length data Length is a parallel 6-bit word that matches the length of the variable-length code word, and defines the length of the variable-length code word. The binary value of the length word Length indicates the number of bits matching the length of the variable length code word that actually represents the MPEG code word to be transported. Each variable-length codeword appears on a 32-bit wide bus and has a variable number of valid bits (1-32) representing an MPEG format code.

PAFは、入力プロセッサ14によって発生されて、画面群(Group of Pictures)の開始点におけるMPEG形“I”(イントラ符号化)フレームのピクチャ開始コードワードPS(Picture Start codeword)の1コードワード前に出現するようになっている。PAFは、ディジタル比較器によってIフレーム・ピクチャ開始コードワードPSの存在を検出して発生される。また、入力プロセッサ14のユニットは、ピクチャ開始コードワードPSおよびPAFを処理するための信号遅延回路を含んでおり、これによってPAFがIフレーム・ピクチャ開始コードワードPSの直前のコードワードのクロック周期に発生するようになっている。また、その遅延回路によって、パック・ワード制御器10およびデータ・パック器12の各ユニットに供給される出力信号が確実に適正な時間的同期関係になるようにする。   The PAF is generated by the input processor 14 and is one codeword before the picture start codeword PS (Picture Start codeword) of the MPEG type “I” (intra-coded) frame at the start point of the group of pictures (Group of Pictures). Appears. The PAF is generated by detecting the presence of an I frame picture start codeword PS by a digital comparator. The unit of the input processor 14 also includes a signal delay circuit for processing the picture start codewords PS and PAF so that the PAF is at the clock period of the codeword immediately before the I frame picture start codeword PS. It is supposed to occur. In addition, the delay circuit ensures that the output signals supplied to the units of the packed word controller 10 and the data packer 12 have an appropriate time synchronization relationship.

ワードアドレス Word Address がデータ・パック器12に送られ、データ・パック器12はパックする可変長コードワードVLCを受け取って、入力可変長コードワードの適正な連結を確実に行う。また、ワード制御信号 Word Controlがパック器12に送られて、短いワードの存在を示し、パケット中の最終ワードをマーク(表示)して、関連するトランスポート・ヘッダが付加された適正な整列位置の30個のパック・データワードのシーケンス(列)が得られるようにする。制御器10は、長さワード Length の2進値を累積することによりパケットの完全化(完成)を追跡・監視する。各長さの値は、関連するコードワード中の有効ビット数を表す。1つのパケットは、960ビットが累積されたときに完全(完成された状態)となる。この計数値(カウント)の開始点設定または初期化がPAFの出現によって行われ、PAFは制御器10内の内部アキュムレータをリセットするようにする。   The word address Word Address is sent to the data packer 12, and the data packer 12 receives the variable length codeword VLC to be packed to ensure proper concatenation of the input variable length codewords. A word control signal Word Control is also sent to the packer 12 to indicate the presence of a short word, mark (display) the last word in the packet, and the proper alignment position with the associated transport header added So that a sequence of 30 packed data words is obtained. The controller 10 tracks and monitors the completeness (completion) of the packet by accumulating the binary value of the length word Length. Each length value represents the number of significant bits in the associated codeword. One packet is complete (completed) when 960 bits are accumulated. The starting point setting or initialization of the count value (count) is performed by the appearance of the PAF, and the PAF resets the internal accumulator in the controller 10.

データ・パック器12は32ビットの並列データバスを介して可変長コードワード(VLC)を受け取る。有効ビットは、制御器10から供給される監視制御信号に従って32ビットのワードにパックされる。また、最終的なMPEG形ビット直列伝送順序を受け入れるように連結が行われる。データ・パック器12のユニットから供給されるパック・データは可変ワード・レート(速度)でデータおよびヘッダ合成器15の入力FIFOデータ・バッファ(データFIFO)16に転送される。また、合成器15はデータ・パック器12からデータ書き込みイネーブル信号 Data Write Enableを受け取り、データ・パック器12は合成器15中のFIFOデータ・バッファ16をイネーブルしてFIFOデータ・バッファ16に有効データが書き込まれるようにする。データ・パケットは、PAFが強制的に短いパケットを指示しない限りは、そのような30個のワードの転送が完了したときにパケット完全の状態となる。パック器12により供給される最終ワード・インジケータ Last Word Indicatorは、この例における通常のパケット中の30番目のワードをマークし、またはPAFの出現によって短縮されるパケット中の最終ワードをマークする。   Data packer 12 receives variable length code words (VLC) via a 32-bit parallel data bus. The valid bits are packed into 32-bit words according to the supervisory control signal supplied from the controller 10. Also, concatenation is performed to accept the final MPEG bit serial transmission order. The packed data supplied from the unit of the data packer 12 is transferred to the input FIFO data buffer (data FIFO) 16 of the data and header synthesizer 15 at a variable word rate. Further, the synthesizer 15 receives the data write enable signal Data Write Enable from the data packer 12, and the data packer 12 enables the FIFO data buffer 16 in the synthesizer 15 and stores the valid data in the FIFO data buffer 16. To be written. The data packet is packet complete when such 30 word transfers are complete, unless the PAF forces a short packet. The last word indicator supplied by the packer 12 marks the 30th word in the normal packet in this example, or the last word in the packet that is shortened by the appearance of the PAF.

処理可能なパック・データワードが存在する限り、パック・データワードはデータ/ヘッダ合成器15に転送される。同様に、処理可能なトランスポート・ヘッダが存在する限り、トランスポート・ヘッダはヘッダ発生器18から合成器15の入力FIFOヘッダ・バッファ(ヘッダFIFO)17に送られる。ヘッダ発生器18がヘッダを形成するのに使用する情報は、入力プロセッサ14およびワード制御器10から得られる。ヘッダ書き込みイネーブル信号 Header Write Enableは処理可能なヘッダが存在することを示し、ヘッダがFIFO17に書き込まれるようにFIFO17をイネーブルする。合成器15は、各パック・データ・ペイロードの前にヘッダを付加し、その結果得られるトランスポート・パケットまたはブロックを図19に示されるように出力レートバッハに送る。また、合成器15は、パック・データワードまたはトランスポート・ヘッダが送出レディ(送出可能)状態になっていることを示す出力データレディ Data Ready信号を供給する。ヘッダ・インジケータ信号 Header Indicatorは、ヘッダが送出されるときのクロック周期を示す。この信号は、トランスポート・パケット境界のマーカー(marker)として機能して、前進型誤り訂正 (Forward Error Correction:FEC)等のその後のオペレーションがトランスポート・セルに適正に供給されるようにする。   As long as there are pack data words that can be processed, the pack data words are transferred to the data / header combiner 15. Similarly, as long as there is a transport header that can be processed, the transport header is sent from the header generator 18 to the input FIFO header buffer (header FIFO) 17 of the synthesizer 15. Information used by the header generator 18 to form the header is obtained from the input processor 14 and the word controller 10. The header write enable signal Header Write Enable indicates that there is a processable header, and enables the FIFO 17 so that the header is written into the FIFO 17. The combiner 15 adds a header before each packed data payload and sends the resulting transport packet or block to the output rate buffer as shown in FIG. Further, the synthesizer 15 supplies an output data ready Data Ready signal indicating that the packed data word or the transport header is in a transmission ready (sendable) state. The header indicator signal Header Indicator indicates the clock period when the header is sent out. This signal acts as a transport packet boundary marker so that subsequent operations, such as Forward Error Correction (FEC), are properly supplied to the transport cell.

各ヘッダは、そのヘッダに関連するデータ・パケット中のデータに関する情報を含んでいる。ヘッダ情報によって、受信機におけるデータ組立ておよび同期化が行われる。ヘッダ情報には、例えばサービス・タイプ(例、オーディオ、ビデオ、データ)、フレーム・タイプ、フレーム番号およびスライス番号などの情報が含まれている。この種のヘッダおよびその処理については、アカンポーラ氏外の米国特許第5,168,356号においてMPEG形信号符号化を用いるHDTVディジタル信号処理システムとの関係で記載されている。   Each header contains information about the data in the data packet associated with that header. The header information provides data assembly and synchronization at the receiver. The header information includes information such as a service type (eg, audio, video, data), a frame type, a frame number, and a slice number, for example. This type of header and its processing is described in relation to an HDTV digital signal processing system using MPEG type signal coding in US Pat. No. 5,168,356 to Acampola et al.

データ・パケットは、この例においては、30個未満のパック・データワード、即ち1〜29個のワードを含んでいることがある。入力プロセッサ14により供給されるPAFは、図20乃至図22との関連で後述するように、GOPが開始するときにイントラ符号化Iフレームのピクチャ開始コードワードPSの直前に出現する。イントラ符号化フレーム用のピクチャ開始コードワードPSによっていつも新パケットが開始され、その直ぐ前を先行するPAFがデータ・パケットの終了と新パケットの開始を示す。このピクチャ開始コードワードPSによるパケット整列または同期(alignment)は、受信機におけるデータストリームの高速捕捉を行うのに役立つ。PAFが固定長ワードの形成中に発生すると、短縮データ・パケットが形成されることになる。組立て中のパック・ワードにおける残りのビットにはデータ・パック器12において複数の“ゼロ値ビット“(1〜31)が充填される。さらに、データ・パケット中の残りのワードにも合成器15において同様に複数の“ゼロ値ワード”(1〜29)が充填され、トランスポート・パケットのサイズが所定長に維持される。このような“ゼロワード・フィル”(充足ワード)の要求は、30個のデータ・ワードが合成器15に転送されてしまう前に最終ワード・インジケータLast Word Indicatorの発生によって示される。   The data packet may contain less than 30 packed data words, ie 1 to 29 words, in this example. The PAF supplied by the input processor 14 appears immediately before the picture start codeword PS of the intra-coded I frame when the GOP starts, as will be described later in connection with FIGS. A new packet is always started by a picture start codeword PS for an intra-coded frame, and the PAF preceding the previous one indicates the end of the data packet and the start of the new packet. This packet alignment or alignment with the picture start codeword PS is useful for fast acquisition of the data stream at the receiver. If PAF occurs during formation of a fixed length word, a shortened data packet will be formed. The remaining bits in the packed word being assembled are filled with a plurality of "zero value bits" (1-31) in the data packer 12. Further, the remaining words in the data packet are similarly filled with a plurality of “zero value words” (1 to 29) in the synthesizer 15, and the size of the transport packet is maintained at a predetermined length. Such a “zero word fill” (satisfaction word) request is indicated by the occurrence of the last word indicator Last Word Indicator before 30 data words have been transferred to the combiner 15.

データ・パケット中の最終ワードLast Wordの適正な識別を行うことは重要である。最終ワードLast Wordによって、これに関連するトランスポート・ヘッダを用いて組み立てられたパケットが適正に記録(収容)されていることが確認される。また、最終ワードLast Wordは、MPEG形式の画面群GOPの境界(即ち、イントラ符号化フレーム)に充填されたパケットの存在を示す。GOPの境界は、例えばチャンネル変更の後のテレビジョン受像機/復合器における再同期化を行うために重要である。最終ワードLast Wordを決定することは決して些細なことではない。例えばパケットがいつ完全になったか(完成したか)、および完全になったときは次のパケットへのデータ・セグメント化またはデータ区分化(segment)が行われているか否か等のパケットの状態の特定情報に応じて最終ワードLast Wordの決定が行われる。最終ワードには、最終ワードLast Wordが現在のクロック期間中に形成されたワードである場合の状態と、最終ワードLast Wordが次のクロック期間中に形成されるべきワードである場合の状態とが存在する。   It is important to properly identify the last word Last Word in the data packet. The final word Last Word confirms that the packet assembled using the associated transport header is properly recorded (accommodated). The last word Last Word indicates the existence of a packet filled in the boundary (that is, an intra-coded frame) of the MPEG screen group GOP. GOP boundaries are important for resynchronization, for example in a television receiver / decombiner after a channel change. Determining the final word Last Word is by no means trivial. For example, when the packet is complete (completed), and when complete, the status of the packet, such as whether or not data segmentation or data segmentation is being performed on the next packet The final word Last Word is determined according to the specific information. The final word has a state when the final word Last Word is a word formed during the current clock period and a state when the final word Last Word is a word to be formed during the next clock period. Exists.

最終ワードLast Wordの形成に関するいくつかの具体例を次ぎに挙げる。パケットが完全になったときにPAFが存在しなければ、最終ワード(この例では30番目のワード)は最後のワードであり、最終ワード・インジケータ Last Word Indicatorによって最終ワードであることがマークされる。これは“真”の最終ワード Last Word の例である。PAFは、パケットが次のパケットにセグメント化すべきビットを持っていないとき、即ちワードが正確にパケット境界で終了したときに発生する。完全化されたパケットの最終ワードは、実際に最終ワードであるので、最終ワードLast Word とマークされる。これは“真“の最終ワード Last Word の別の例である。また、PAFは、残りの数ビットが次のパケットの1番目のワードにセグメント化される状態でパケットが完全になったときにも発生する。この場合は、2個の連続する最終ワード Last Word が形成され、そのようにマークされる。まず完全になったパケットの最終ワードが最終 Last(“真の最終ワードLast Word)とマークされる。次いで、次のパケットの1番目のワードは、PAFによってパケットが強制的に短縮されるので、最終ワード Last Word としてマークされる。後者のような短縮パケットの場合は、30個のワードが伝送完了する前に最終ワードLast Word が出現し、次いでそのパケットを完全パケットにするために“ゼロ・ワード“が充填される。次に、最終ワード Last Word の他の例を挙げる。PAFは、パケットが組み立て中の不完全パケットの状態であるときにも発生する。残り数ビットが次のワードへセグメント化される状態で内部ワードがワード完全になった場合は、その部分ワードが最終ワード Last Wordとなる。特に、パケットが組み立て中の不完全パケットの状態で、かつ内部ワードが次のワードへセグメント化されるビットがない状態で完全になったときは、困難な状況が生じる。即ち、後のデータ(即ち、PAFの出現)によってこのワードが最終ワードであることが示される前に、内部ワードがデータ/ヘッダ合成器に送られてしまうと、このワードが最終ワードであることを適正にマークするのには既に手遅れとなってしまう。この場合は、1つの“擬似”最終ワードと呼ばれるゼロ・ワードが生成されて、最終ワードとして表示される。そのような擬似最終ワードは全体が0のビットで構成される。これは、例えばセグメント化された(不完全)最終ワードの一部が0ビットで詰められるのとは異なる。以上の例または他の例を図5乃至図16を参照して説明する。   Some specific examples relating to the formation of the final word Last Word are given below. If there is no PAF when the packet is complete, the last word (the 30th word in this example) is the last word and is marked as the last word by the last word indicator Last Word Indicator . This is an example of a “true” last word Last Word. PAF occurs when a packet does not have bits to segment into the next packet, ie when a word ends exactly at a packet boundary. Since the final word of the complete packet is actually the final word, it is marked as the final word Last Word. This is another example of a “true” last word Last Word. PAF also occurs when a packet is complete with the remaining few bits segmented into the first word of the next packet. In this case, two consecutive last words Last Word are formed and marked as such. First, the last word of the complete packet is marked as Last Last (“True Last Word Last Word). The first word of the next packet is then forced to shorten the packet by PAF, so In the case of a shortened packet, such as the latter, the last word Last Word appears before 30 words have been transmitted, and then “zero. The word "is then filled. Next is another example of the last word Last Word. PAF also occurs when the packet is in the state of an incomplete packet being assembled. The remaining few bits go to the next word. If the internal word is word-complete when segmented, the partial word is the last word Last Word, especially when the packet is in an incomplete packet being assembled and the internal word is complete with no bits segmented into the next word, a difficult situation arises. If an internal word is sent to the data / header synthesizer before later data (ie, the appearance of a PAF) indicates that this word is the last word, it is determined that this word is the last word. Already too late to mark properly, in this case, a zero word, called a “pseudo” final word, is generated and displayed as the final word. Is composed of 0 bits, which is different from, for example, part of a segmented (incomplete) final word filled with 0 bits. Or another example is described with reference to FIGS. 5 through 16.

以下の説明において開示するシステムの重要な特徴の中には、長さが0(ゼロ)のPAFの生成がある。この長さが0(ゼロ)のPAFによって、GOPの開始が直ぐ後に出現することが示され、データ・パケット中で最終ワード Last Wordを生成してマークし、必要に応じて擬似最終ワード Pseudo Last Word を生成し、また、最終ワード Last Word の発生の種々の状態に関連して特定の信号を容易に生成することができる。   Among the important features of the system disclosed in the following description is the generation of a zero length PAF. A PAF with this length of 0 indicates that the beginning of the GOP will occur soon after, generates and marks the last word Last Word in the data packet, and if necessary, the pseudo-last word Pseudo Last Word can be generated and specific signals can be easily generated in relation to various states of occurrence of the last word Last Word.

図2Aは、図1の制御器10の詳細を示す。制御器10は、モジュロ960回路22を有する帰還回路中にアキュムレータ20を含んでいる。その帰還路にはバッファレジスタ23が含まれていて、各長さ Length 入力サイクルの終わりに新しく累積された値を保持する。入力のPAFワードおよび長さワード Length は入力レジスタ24を介してモジュロユニット22とアキュムレータ20にそれぞれ送られる。長さワード Length の値はアキュムレータ20のユニットにより順次連続的に累積されて、アキュムレータ20とモジュロ960ユニット22の帰還合成によってパケット長を960ビットに設定する。バッファレジスタ23から供給されるアキュムレータ出力は、パケット内のビット位置を表し、パケット状態制御器25に送られる。   FIG. 2A shows details of the controller 10 of FIG. The controller 10 includes an accumulator 20 in a feedback circuit having a modulo 960 circuit 22. The feedback path includes a buffer register 23 that holds the newly accumulated value at the end of each length Length input cycle. The input PAF word and length word Length are sent to the modulo unit 22 and the accumulator 20 via the input register 24, respectively. The value of the length word Length is successively accumulated successively by the units of the accumulator 20, and the packet length is set to 960 bits by feedback synthesis of the accumulator 20 and the modulo 960 unit 22. The accumulator output supplied from the buffer register 23 represents the bit position in the packet and is sent to the packet state controller 25.

また、パケット状態制御器25は入力バッファレジスタ24からPAFを受け取り、ワード状態制御器26において書き込み指令を生成するのに必要な出力信号を供給(発生)する。アキュムレータ・ビットカウント(ビット計数値)が960以上になったときに、パケット完全出力信号 Packet Complete がワード状態制御器26に対して供給される。アキュムレータ・ビットカウントがワード境界を示していないときには(即ち、ビットカウントが32の整数倍に等しくないときに)、制御器25によって出力の残余信号 Remnant が発生される。アキュムレータ・ビットカウントが0であるときには、真ゼロ出力信号 True Zero が供給される。この真ゼロ出力信号は、PAFが存在するときにのみ最終ワードの正確な生成の決定を行うための重要な信号となる。これらの信号を生成する論理回路が、以下説明するように図2Bに示されている。   The packet state controller 25 receives the PAF from the input buffer register 24 and supplies (generates) an output signal necessary for generating a write command in the word state controller 26. When the accumulator bit count (bit count value) reaches 960 or more, the packet complete output signal Packet Complete is supplied to the word state controller 26. When the accumulator bit count does not indicate a word boundary (ie, when the bit count is not equal to an integral multiple of 32), the controller 25 generates an output residual signal Remnant. When the accumulator bit count is zero, a true zero output signal True Zero is provided. This true zero output signal is an important signal for making an accurate final word decision only when a PAF is present. The logic circuit that generates these signals is shown in FIG. 2B as described below.

長さがゼロの空コードワード、即ちノー・オペレーション(NO−OP)コードワードの存在を示す値0の長さワード Length が受け取られたときは、アキュムレータ20はアイドル状態となり、最終ビットカウントを保持する。この規則には例外が存在して、PAFによってビットカウントに関係なく常にアキュムレータ値が強制的に0にされる場合がある。また、別の例外は、パケットが正確にパケット境界(即ち、アキュムレータ計数値が960)の位置で完全パケットを形成する場合である。そして、次のクロック周期において、アキュムレータ・カウントがモジュロ960ユニット22を介して次の長さワード Length の2進値に訂正される。アキュムレータ・カウントが960以上になったときに、パケットが完全になる。   When a zero-length empty codeword is received, that is, a zero-length word Length indicating the presence of a no-operation (NO-OP) codeword, the accumulator 20 is idle and holds the final bit count. To do. There are exceptions to this rule, and the PAF may always force the accumulator value to zero regardless of the bit count. Another exception is when the packet forms a complete packet exactly at the packet boundary (ie, the accumulator count is 960). Then, in the next clock cycle, the accumulator count is corrected through the modulo 960 unit 22 to the binary value of the next length word Length. When the accumulator count reaches 960 or higher, the packet is complete.

図2Bにおいて、累積された長さを表す10ビット・アキュムレータ出力がI0〜I9に割り当てられる。パケット・コードワードの累積された長さが960以上になった場合に、パケットが完全になる。アキュムレータの4つの上位(MSB)ビットI6〜I9が論理1の状態であるときに、その状態が示され、その4つのビットが論理積ゲートAND30に供給される。全てのアキュムレータの10個のビットが論理0の状態にあるときに、真ゼロ True Zero が表示され、その10個のビットが論理和ゲートOR31に供給される。アキュムレータの5つの下位(LSB)のビットI0〜I4が論理0(ゼロ)状態にあるときに“残余無し“状態が示され、その5つのビットが論理和ゲートOR32に供給される。データ・パック器のワード アドレス Word Address がアキュムレータの6つの下位のビットI0〜I5に応答して生成される。論理積(AND)ゲートアレー34は、パケット整列フラグ(PAF)が出現したときにワードアドレス Word Address を強制的に論理0の状態にする。   In FIG. 2B, a 10-bit accumulator output representing the accumulated length is assigned to I0-I9. A packet is complete when the accumulated length of the packet codeword is greater than 960. When the four upper (MSB) bits I6-I9 of the accumulator are in a logic one state, that state is indicated and the four bits are provided to the AND gate AND30. When 10 bits of all accumulators are in the logic 0 state, true zero True Zero is displayed and the 10 bits are supplied to the OR gate OR31. When the five lower (LSB) bits I0 to I4 of the accumulator are in the logic 0 (zero) state, a “no residue” state is indicated and the five bits are provided to the OR gate OR32. The word address Word Address of the data packer is generated in response to the six lower bits I0-I5 of the accumulator. The AND gate array 34 forces the word address Word Address to a logic 0 state when the packet alignment flag (PAF) appears.

図2Cは、図1のデータ・パック器12の詳細を示している。可変長コードワードがデータシフタ35に送られる。データシフタ35として、テキサス・インスツルメンツ社製の型式74AS8838のようなバレル・シフタを用いることができる。連結しようとする可変長コードワードの有効ビットの適正位置を定めるために、長さアキュムレータ出力の下位ビット(LSB)の部分が、パケット状態制御器25から発生して(図2Aおよび図2B参照)、ワードアドレス Word Addressとしてデータシフタ35に送られる。32ビットのワードが可変長コードワードの連結によって形成されたときに、パックされたワードが保持レジスタ36に転送される。処理可能なパック・データが存在するか否かを示すフラグが、レジスタ36より供給されるワードレディ信号 Word Readyによって与えられて、そのワードがデータ組立て回路37に転送される。データ組立て回路37は、パック・ワード制御器10(図1)から供給される制御信号W EN1,W EN2およびW ZEROを用いて、データ書き込みイネーブル Data Write Enable および最終ワード・フラグ(インジケータ) Last Word Flag とともにパック・データを、図1のデータおよびヘッダ合成器15内のFIFOデータ・バッファ16に対して供給する。   FIG. 2C shows details of the data packer 12 of FIG. A variable length code word is sent to the data shifter 35. As the data shifter 35, a barrel shifter such as model 74AS8838 manufactured by Texas Instruments can be used. To determine the proper position of the valid bits of the variable length codeword to be concatenated, a low order bit (LSB) portion of the length accumulator output is generated from the packet state controller 25 (see FIGS. 2A and 2B). The word address Word Address is sent to the data shifter 35. When a 32-bit word is formed by concatenating variable length code words, the packed word is transferred to the holding register 36. A flag indicating whether or not there is pack data that can be processed is given by a word ready signal Word Ready supplied from the register 36, and the word is transferred to the data assembly circuit 37. The data assembly circuit 37 uses the control signals WEN1, WEN2 and WZERO supplied from the packed word controller 10 (FIG. 1) to enable data write enable Data Write Enable and the last word flag (indicator) Last Word. The packed data is supplied to the FIFO data buffer 16 in the data and header synthesizer 15 together with the Flag.

次のパケットのヘッダが現在のパケットの最終ワードの後に挿入されるように、パケット中の最終ワードを伝送した後で、それに続いてその結合されたデータストリーム中に次のトランスポート・ヘッダが挿入される。ヘッダ制御器は、アキュムレータ出力 Accumulator Output (図2A)を用いて、パケット中の或るコードワードの位置を示して、その各位置がヘッダ中のエントリ点のフィールドにおいて記述されるようにされる。ワード状態制御器26およびデータ組立て回路37に関連する論理アレーによって、最終ワード・インジケータ Last Word Indicator とデータ・ワードをFIFOバッファに書き込むようにイネーブルするフラグとが生成される。次の表1は、論理アレーへの入力であるPAF(Packet Alignment Flag)、PC(Packet Complete)、TZ(True Zero)およびREM(Remnant ワード・セグメント化インジケータ)に応じて最終ワードを生成するためのアクション状態を示している。制御器26の出力信号がバッファレジスタ28を介して供給されると、データ組み立て回路37から出力信号が生成される。これらの信号は、次のクロック周期に出現する最終ワードを示す書き込みイネーブル信号W EN1、現在のクロック周期に出現する最終ワードを示す書き込みイネーブル信号W EN2、および擬似最終ワード Psuedo Last Word を生成する書き込みゼロ信号W ZEROを含んでいる。この擬似最終ワード Psuedo Last Wordは、PAFの発生が不完全パケットの内部コードワードデータ境界に位置したパケット形成時点と一致したときに発生する。   After transmitting the last word in the packet so that the header of the next packet is inserted after the last word of the current packet, the next transport header is subsequently inserted in the combined data stream Is done. The header controller uses the accumulator output Accumulator Output (FIG. 2A) to indicate the position of certain codewords in the packet so that each position is described in the entry point field in the header. A logic array associated with the word state controller 26 and the data assembly circuit 37 generates a final word indicator Last Word Indicator and a flag that enables the data word to be written to the FIFO buffer. Table 1 below generates the final word according to PAF (Packet Alignment Flag), PC (Packet Complete Flag), TZ (True Zero) and REM (Remant Word Segmentation Indicator) which are inputs to the logical array. Indicates the action state. When the output signal of the controller 26 is supplied via the buffer register 28, an output signal is generated from the data assembly circuit 37. These signals write to generate a write enable signal W EN1 that indicates the last word that appears in the next clock cycle, a write enable signal W EN2 that indicates the last word that appears in the current clock cycle, and a pseudo last word Psuedo Last Word. Contains the zero signal W ZERO. This pseudo last word Psuedo Last Word is generated when the occurrence of PAF coincides with the packet formation time located at the internal codeword data boundary of the incomplete packet.

Figure 0005119522
Figure 0005119522

注1:現在のワード上の最終ワード・フラグLast Word Flagは、書き込みイネーブル Write Enable 2によって示される。   Note 1: The last word flag Last Word Flag on the current word is indicated by the write enable Write Enable 2.

注2:次のクロックにおけるワード上の最終ワード・フラグ Last Word Flag は、書き込みイネーブル Write Enable 1によって示される。   Note 2: The last word flag on the word at the next clock, Last Word Flag, is indicated by Write Enable Write Enable 1.

注3:擬似ワードの生成は、書き込みゼロ Write Zero によって示され、書き込みイネーブル Write Enable 1によってフラグが立てられる。   Note 3: Pseudo-word generation is indicated by write zero Write Zero and is flagged by write enable Write Enable 1.

動作状態の種々の例(表1のケース1〜6)に関するW EN1、W EN2およびW ZEROを生成するための真理表が、図3に示されている。これについては図5乃至図16との関連で後述する。表1用のアルゴリズムが付録Aに記載されている。制御器26の出力信号は、出力ワード制御信号として図4に示されるデータ組み立て回路に供給される前に、出力バッファレジスタ28に供給される。   A truth table for generating WEN1, WEN2 and WZERO for various examples of operating conditions (cases 1-6 of Table 1) is shown in FIG. This will be described later in connection with FIGS. The algorithm for Table 1 is described in Appendix A. The output signal of the controller 26 is supplied to the output buffer register 28 before being supplied as an output word control signal to the data assembly circuit shown in FIG.

図4のデータ組立て回路は、図1のデータ・パック器12の出力回路を構成している。即ち、データ組立て回路は、図示のような回路構成で、論理積ゲートAND42および44、論理和ゲートOR46およびD型フリップフロップ(D F/F)43および45を具えている。32ビット幅のパック・データワード Packed Data Word が論理積ゲートAND42を介してデータFIFOに送られ、前段のパック器回路から供給されるワードレディ信号 Word Ready が、論理積ゲートAND44を介して送られ、図1のデータFIFO16用のデータ書き込みイネーブル信号 Data Write Enable になる。パック・ワード状態制御器26から供給されるデータ書き込み制御信号W EN1、W EN2およびW ZERO(図2A)が図示のようにフリップフロップ43と45および論理ゲート46に供給される。W EN2は現在のワードに関連する最終ワード・フラグ Last Word Flagを示し、W EN1は次のクロック・サイクルにおけるワードに関連する最終ワード・フラグ Last Word Flagを示す。W ZERO制御は、W EN1によって最終ワードのフラグが立てられる擬似最終ワード Pseudo Last Word の生成を示す(表1のケース4)。このケース4においては、擬似最終ワードと呼ばれる全ZEROのワードがパック・データワードストリーム Packed Data に挿入され、データFIFO16に書き込まれる。組立て回路のゲートAND44へのワードレディ入力信号 Word Ready が保持レジスタ36(図2C)によって供給されて、処理可能なパックされた32ビットが存在することを示す。   The data assembly circuit shown in FIG. 4 constitutes the output circuit of the data packer 12 shown in FIG. That is, the data assembling circuit includes logical product gates AND42 and 44, logical sum gate OR46, and D-type flip-flops (DF / F) 43 and 45 in a circuit configuration as shown. The packed data word 32-bit width Packed Data Word is sent to the data FIFO via the AND gate AND42, and the word ready signal Word Ready supplied from the previous packer circuit is sent via the AND gate AND44. The data write enable signal Data Write Enable for the data FIFO 16 in FIG. Data write control signals WEN1, WEN2 and WZERO (FIG. 2A) supplied from packed word state controller 26 are supplied to flip-flops 43 and 45 and logic gate 46 as shown. W EN2 indicates the last word flag Last Word Flag associated with the current word, and W EN1 indicates the last word flag Last Word Flag associated with the word in the next clock cycle. The W ZERO control shows the generation of a pseudo last word Pseudo Last Word that is flagged by W EN1 as the last word (case 4 in Table 1). In this case 4, all ZERO words called pseudo last words are inserted into the packed data word stream Packed Data and written into the data FIFO 16. A word ready input signal Word Ready to the gate AND44 of the assembly circuit is provided by the holding register 36 (FIG. 2C) to indicate that there are 32 bits of packed data that can be processed.

次に、図5乃至図16に例示された最終ワードの発生の例について説明する。これらの例のあるものは、PAFの前後の位置に存在する長さがゼロのNO−OPワードの作用を示している。   Next, an example of generation of the last word illustrated in FIGS. 5 to 16 will be described. Some of these examples show the action of zero-length NO-OP words that exist before and after the PAF.

図5および図6は表1のケース5に該当する相異なる例を示している。図5においては、パケットは次のパケットへのセグメント化を行って(即ち、アキュムレータのビット値が960より大きい)完全パケットを形成している。図6においては、パケットは正確にパケットの境界の位置で完全パケットを形成し(即ち、アキュムレータのビット値が960に等しい)、次のパケットへのセグメント化を行うことなくまたは残余データを生じることなく完全パケットを形成している。このいずれのケースにおいても最終ワード・フラグ Last Word Flag はパケット完全 Packet Complete の発生と同時に発生する。この最終ワード・フラグ Last Word Flag は、PAFが存在しないときは真ゼロ True Zero および残余 Remnant の各表示を考慮せずに独立に発生される。一方、PAFが存在する場合は、最終ワード・フラグ LAST Word Flag は真ゼロ True Zero および残余 Remnant の各表示を考慮して発生される。   5 and 6 show different examples corresponding to Case 5 in Table 1. FIG. In FIG. 5, the packet is segmented into the next packet (ie, the accumulator bit value is greater than 960) to form a complete packet. In FIG. 6, the packet forms a complete packet exactly at the packet boundary (ie, the accumulator bit value is equal to 960) and produces residual data without segmentation into the next packet. Without forming a complete packet. In either case, the last word flag Last Word Flag is generated at the same time as the occurrence of the packet complete packet complete. This final word flag Last Word Flag is independently generated when no PAF is present, taking into account each indication of true zero True Zero and residual Remnant. On the other hand, if a PAF is present, the final word flag LAST Word Flag is generated taking into account each indication of true zero True Zero and residual Remnant.

図7および図8は、表1のケース2を例示している。図7において、パケットが完全になった直後にセグメント化を行わずにPAFが発生し、その後に32ビットのピクチャ開始コードワードPSが続く。図8は、挿入された3個の長さゼロのノー・オペレーション(NO−OP)コードワードがピクチャ開始コードワードPSに先行して存在することを除けば、図7と同様である。図7および図8において、PAFはパケット完全信号 Packet Complete と時間的位置が一致して発生し、パケットは次のパケットに残余データのセグメント化を生じることなく終了する。図7は、32ビット長のピクチャ開始コードワードPSが直後に続いている、より一般なケースを示す。図8は、NO−OPワードが挿入されることが許容されることを示している。   7 and 8 illustrate case 2 in Table 1. In FIG. 7, PAF occurs without segmentation immediately after the packet is complete, followed by a 32-bit picture start codeword PS. FIG. 8 is similar to FIG. 7 except that three inserted zero-length no-operation (NO-OP) codewords precede the picture start codeword PS. 7 and 8, the PAF is generated in time coincident with the packet complete signal Packet Complete, and the packet ends without causing the remaining data to be segmented in the next packet. FIG. 7 shows the more general case where a 32-bit long picture start codeword PS immediately follows. FIG. 8 shows that NO-OP words are allowed to be inserted.

図9は表1のケース6aに関係する図であり、この図においてPAFはパケット完全信号 Packet Complete と位置が一致せずにずれて発生している。PAFは、セグメント化を伴わずにパケットが完全になった後のNO−OPワードの後に生じ、その後にピクチャ開始コードワードPSが続く。このケースにおいては、最終ワード表示(フラグ) Last Word Indicatation がパケット完全信号 Packet Complete と関連して発生するが、アキュムレータ状態が0(ゼロ)の値でアイドル状態になっていて真ゼロ表示 True Zero が存在することになるので、最終ワード表示(フラグ) Last Word Indication はPAFと関連して発生することはない。   FIG. 9 is a diagram related to case 6a in Table 1. In this figure, the PAF is generated in a position that does not coincide with the packet complete signal Packet Complete. PAF occurs after the NO-OP word after the packet is complete without segmentation, followed by the picture start code word PS. In this case, the last word indication (flag) Last Word Indication occurs in association with the packet complete signal Packet Complete, but the accumulator state is idle with a value of 0 (zero) and the true zero indication True Zero is Since there will be a final word indication (flag) Last Word Indication will not occur in association with PAF.

図10および図11は表1のケース1を例示す。図10において、PAFは、パケットが完全になった直後にセグメント化が生じた状態で発生し、その後にピクチャ開始コードワードPSが続く。図11は、挿入NO−OPワードがピクチャ開始コードワードPSに先行して存在することを除けば、図10と同様である。この場合、セグメント化される残余データが存在するので、2つの最終ワード・インジケータ(フラグ) Last Word Indicator が必要になる。その中の一方の最終ワード・インジケータ(フラグ)Last Word Indicator がパケット完全 Packet Completeの期間に生じ、そのうちの他方の最終ワード・インジケータ(フラグ) Last Word Indication は、セグメント化が生じたためにPAFの1クロック期間後に生じる。   10 and 11 show an example of case 1 in Table 1. In FIG. 10, PAF occurs in a state where segmentation occurs immediately after a packet is complete, followed by a picture start codeword PS. FIG. 11 is the same as FIG. 10 except that the inserted NO-OP word is present prior to the picture start code word PS. In this case, since there is residual data to be segmented, two final word indicators (flags) Last Word Indicator are required. One of the last word indicators (flags) Last Word Indicator occurs during the packet full packet complete, and the other of the last word indicators (flags) Last Word Indication is one of the PAFs due to segmentation. Occurs after the clock period.

図12、図13および図14は表1のケース3を例示す。これらの例においては、PAFは、パケット形成期間中のある位置で発生するが、ワード境界上では発生せず(即ち、次のワードへのセグメント化が生じる)、パケット完全表示 Packet Completeとは位置が一致しない。次いで、ワードが部分的に開始された結果(セグメント化による)、最終ワード信号 Last Word は、通常、PAFの後にくる次のクロック期間に発生する。図12において、PAFは、パケットがセグメント化を行った状態で完全になった後の数個のNO−OPワード後に発生し、その後にピクチャ開始コードワードPSが続く。図13において、PAFは、ワードが完全になると同時にセグメント化が生じた状態で発生し、その後にピクチャ開始コードワードPSが続く。図14において、PAFは、ワードが完全になった後で、かつ数個のコードワードによってセグメント化が生じた後に発生する。   12, 13 and 14 show an example of case 3 in Table 1. FIG. In these examples, PAF occurs at some position during packet formation, but does not occur on a word boundary (i.e. segmentation into the next word occurs), and packet complete indication Packet Complete Does not match. Then, as a result of the partial start of the word (due to segmentation), the final word signal Last Word typically occurs in the next clock period following the PAF. In FIG. 12, PAF occurs after several NO-OP words after a packet is complete with segmentation, followed by a picture start codeword PS. In FIG. 13, PAF occurs with segmentation occurring at the same time as the word is complete, followed by a picture start codeword PS. In FIG. 14, PAF occurs after a word is complete and after segmentation has occurred with several codewords.

図15および図16は、表1のケース4を例示し、特別な種類の最終ワードである擬似最終ワード Pseudo Last Wordを生成することの必要性を説明するための図である。このケースにおいて、PAFは、1つのワードがセグメント化を生じることなく、即ち32の倍数のワード境界上でワードが完全になった直後(図15)またはその少し後の時間(図16)に発生する。このケースにおいて、完全ワードは、それが最終ワードであったという情報が得られる前に(PAFの後に供給される)既に供給されていることを前提にしている。その場合は、全ゼロ擬似最終ワード Pseudo Last Word が形成され、供給される。これが許容される理由は、MPEGでは、開始コードワードの前に任意の数のゼロ(0)が先行して続くことを許容し、PAFの発生によりピクチャ開始コードワードPSが次ぎに来ることが保証されているためである。さらに、これらのケースでは、パケットの不足分を、データ/ヘッダ合成器によってゼロ値ビット(空)・ワードで補填している。1つのゼロ・ワードが発行されて、それを最終ワードとして擬似的にマークするので、このケースにおいて、合成器は1つの少ないワードを供給することになる。図15において、PAFは、ワードが完全になると直ぐに発生し(セグメント化が生じない状態で)、その後にピクチャ開始コードワードPSが続く。図16においては、ワードが完全となった(セグメント化を生じない状態で)後に、挿入NO−OPワードが続く。その後に、PAFが発生し、さらにその後にピクチャ開始コードワードPSが続く。   FIGS. 15 and 16 illustrate case 4 in Table 1 and explain the necessity of generating a pseudo last word Pseudo Last Word, which is a special type of final word. In this case, PAF occurs without a word being segmented, that is, immediately after a word completes on a word boundary that is a multiple of 32 (Figure 15) or just after that (Figure 16). To do. In this case, it is assumed that the complete word has already been supplied (supplied after the PAF) before the information that it was the last word is obtained. In that case, an all-zero pseudo-last word Pseudo Last Word is formed and supplied. The reason this is allowed is that MPEG allows any number of zeros (0) to precede and precede the start codeword, and guarantees that the picture start codeword PS will come next due to the occurrence of PAF. It is because it has been. Further, in these cases, the packet shortage is compensated by a zero value bit (empty) / word by the data / header synthesizer. In this case, the synthesizer will supply one fewer word, since one zero word is issued and it is pseudo-marked as the last word. In FIG. 15, PAF occurs as soon as a word is complete (with no segmentation), followed by a picture start codeword PS. In FIG. 16, the inserted NO-OP word follows after the word is complete (with no segmentation). Thereafter, a PAF occurs, followed by a picture start codeword PS.

図17は、データ/ヘッダ合成器15(図1)の詳細な構成を示す。ヘッダ成分は、ヘッダがヘッダ発生器18によって生成されたときは常に、ヘッダ書き込みイネーブル信号 Header Write Enableに応答して、ヘッダFIFO70に書き込まれる。同様に、パック・データワードは、そのワードがデータ・パック器12によって生成されたときに、データ書き込みイネーブル信号 Data Write Enableに応答して、データFIFO72に書き込まれる。データ・パック処理によって生成された最終ワード・インジケータ Last Word Indicator は、その最終ワードが30番目のワードであるか否かとは関係なく、パケット中に最終ワードを伴って生じる。ヘッダFIFO70およびデータFIFO72の各ユニットのヘッダ出力およびデータ出力が多重化器(マルチプレクサ)76によって共通バス上に多重化されて供給され、さらに出力レジスタ78に供給される。図19に示されているように、出力レジスタ78は、データレディ信号 Data Ready、パケットデータ Packet Data、ヘッダ Header、およびヘッダ・インジケータ Header Indicator をレートバッファ713および714に供給する。多重化器76は、FIFO状態制御器74から供給されたゼロ発行信号 Issue Zero に応答して、命令(コマンド)に従ってゼロ・ワードを発行することができる。   FIG. 17 shows a detailed configuration of the data / header synthesizer 15 (FIG. 1). The header component is written to the header FIFO 70 in response to the header write enable signal Header Write Enable whenever the header is generated by the header generator 18. Similarly, the packed data word is written to the data FIFO 72 in response to the data write enable signal Data Write Enable when the word is generated by the data packer 12. The last word indicator generated by the data pack process occurs with the last word in the packet, regardless of whether the last word is the 30th word. The header output and data output of each unit of the header FIFO 70 and the data FIFO 72 are multiplexed and supplied on a common bus by a multiplexer (multiplexer) 76, and further supplied to an output register 78. As shown in FIG. 19, the output register 78 supplies the data ready signal Data Ready, packet data packet data, header header, and header indicator header indicator to rate buffers 713 and 714. In response to the zero issue signal Issue Zero supplied from the FIFO state controller 74, the multiplexer 76 can issue a zero word in accordance with an instruction (command).

2つのFIFO70および72の両方のユニット、多重化器76および出力レジスタ78は、ステート・マシン(状態マシン)である制御器74の指示を受ける。パワーオン(電源オン)または同様に作用する動作の再開の後で、制御器74は処理可能なヘッダが現れるのを待つ。処理可能なヘッダは、データレディ・インジケータ Data Ready Indicator およびヘッダ・インジケータ Header Indicator と共に多重化器76の出力バスに送られる。次いで、制御器74は、最終ワード・インジケータ Last Word Indicator が出現するまで、処理可能なデータが存在する限りそのデータを抽出してデータFIFO72の状態を制御する。伝送された各データはデータレディ・インジケータ Data Ready Indicator を伴い、そのデータレディ・インジケータ Data Ready Indicator は出力レジスタ78に送られる。最終ワード・インジケータ Last Word Indicator が出現した時に、既に30個のデータ・ワードが供給されていたことが判明すれば、制御器74はさらに処理可能な情報が存在するか否かについてヘッダFIFO70を再検査する。30個未満のデータ・ワードが供給されたときは、制御器74は、ゼロ発行命令 Issue Zero を用いて多重化器76に指令して、パケットの不足分を補うためにゼロ・ワードを発行させる。そのようなゼロ・ワードは、全てデータレディ・インジケータ Data Ready Indicator を伴って供給される。伝送すべきヘッダとデータがない場合は、制御器74は、多重化器76に指令して、処理可能なデータが存在しない期間、データレディ・インジケータ Data Ready Indicator なしでゼロ・ワードを発行させる。上述のようなステートマシンで駆動される合成器15の動作を表すフローチャート(状態遷移図)が図18に示されている。データレディ・インジケータ Data Ready Indicator およびヘッダ・インジケータ Header Indicator は、出力レジスタ78を通して図19のレートバッファ713および714に送られる。これらのインジケータは、バス上にデータおよびヘッダ情報が存在することをレートバッファに伝え、ヘッダ/データ記録(registration)を維持してレートバッファの後段で前進型誤り訂正(FEC)符号化およびデータ・インターリーブ(間挿)を行わせる。このシステム(図19)において、FEC処理およびインターリーブ処理を行うには、ヘッダによって表されるデータ・パケットが送られる前に、最初にヘッダを送る、即ち1つのヘッダを送ってレートバッファへの伝送を開始する必要がある。ヘッダFIFO70およびデータFIFO72から送られた空きフラグ信号 Empty Flag は、ヘッダおよびデータ・ワードがそれぞれ存在しない(空である)ことを示し、これによってステートマシンである状態制御器74がアイドル状態になる。この状態が図18に、状態0および状態1における“ヘッダなし“および“ワードなし“の状態として示されている。関連する読みとりイネーブル信号 Read Enable がヘッダFIFO70またはデータFIFO72にそれぞれ送られると、制御器74から供給されるヘッダ/データ選択信号 Header/Data Select が多重化器76に指令して、ヘッダFIFO70のユニットのヘッダ出力 Header Output またはデータFIFO72のユニットのデータ出力 Data Output のいずれかを出力レジスタ78の入力側の信号バスに切り換え接続される。不完全な短縮パケットにはゼロ・ワードを付加して所定の30個のワードのデータ・パケットが生成され、そのデータ・パケットが出力バッファ78に供給される。この出力バッファ78の容量は、前段のヘッダ・バッファ70およびデータ・バッファ72の容量よりもかなり大きい。これらのバッファは、割り込みを受けずに効率的にデータを受け取り、処理する。このような割り込みを受けない動作構成とすることによって、タイミングおよび同期化の機能が大幅に簡単になる。その機能は、例えば、クロック停止/開始における難しい同期化処理を不要にすることにより簡単にできる。   Both units of the two FIFOs 70 and 72, the multiplexer 76 and the output register 78 are directed by a controller 74 which is a state machine. After power-on (or power-on) or resumption of a similarly acting operation, controller 74 waits for a processable header to appear. The processable header is sent to the output bus of the multiplexer 76 along with the data ready indicator Data Ready Indicator and the header indicator Header Indicator. The controller 74 then extracts the data and controls the state of the data FIFO 72 as long as there is data that can be processed until the last word indicator Last Word Indicator appears. Each transmitted data is accompanied by a data ready indicator Data Ready Indicator, and the data ready indicator Data Ready Indicator is sent to the output register 78. When the last word indicator Last Word Indicator appears, if it is found that 30 data words have already been supplied, the controller 74 re-checks the header FIFO 70 to see if there is more information to process. inspect. When less than 30 data words are provided, the controller 74 commands the multiplexer 76 using the zero issue instruction Issue Zero to issue a zero word to make up for the packet shortage. . All such zero words are supplied with a data ready indicator Data Ready Indicator. If there is no header and data to transmit, the controller 74 commands the multiplexer 76 to issue a zero word without a data ready indicator Data Ready Indicator for periods when there is no data to process. A flowchart (state transition diagram) showing the operation of the combiner 15 driven by the state machine as described above is shown in FIG. The data ready indicator Data Ready Indicator and header indicator Header Indicator are sent through the output register 78 to the rate buffers 713 and 714 of FIG. These indicators tell the rate buffer that data and header information is present on the bus, maintain header / data registration, and forward error correction (FEC) encoding and data Interleaving is performed. In this system (FIG. 19), FEC processing and interleaving are performed by sending the header first, ie sending one header to the rate buffer, before the data packet represented by the header is sent. Need to start. The empty flag signal Empty Flag sent from the header FIFO 70 and the data FIFO 72 indicates that the header and the data word are not present (empty), respectively, which causes the state controller 74, which is a state machine, to be in an idle state. This state is shown in FIG. 18 as “no header” and “no word” states in states 0 and 1. When the associated read enable signal Read Enable is sent to the header FIFO 70 or the data FIFO 72, respectively, the header / data selection signal Header / Data Select supplied from the controller 74 commands the multiplexer 76, and the unit of the header FIFO 70 is set. Either the header output Header Output or the data output Data Output of the unit of the data FIFO 72 is switched and connected to the signal bus on the input side of the output register 78. A zero-word is added to the incomplete shortened packet to generate a predetermined 30-word data packet, and the data packet is supplied to the output buffer 78. The capacity of the output buffer 78 is considerably larger than the capacity of the header buffer 70 and the data buffer 72 in the preceding stage. These buffers receive and process data efficiently without being interrupted. By adopting such an operation configuration that does not receive interrupts, the timing and synchronization functions are greatly simplified. Its function can be simplified, for example, by eliminating the difficult synchronization process in clock stop / start.

所定長の完全パケットは、上述のように必要数の空ワードを付加することによって適正に利用できるようになる。このような完全パケットを使用することによって、例えば可変長コードワード・システム等における任意のデータ状態においてもデータのサーチおよび同期化が可能になる。開始コードワード、特にIフレーム開始コードワードは、MPEGと互換性(相互運用性)のあるデータストリームにおける固有の再同期化点となる。開始コードワードはパケット境界に出現する。本明細書に記載したシステムにおけるゼロ値ビットの空ワードを用いて、切り捨てられたデータ・パケットをパケット完全化し、パケット境界を決定することによって、そのようなパケット境界の処理を行うことができる。MPEG標準では、開始コードワードの前に任意の数のゼロ・ワードが来ることを許容しており、受信機/デコーダはゼロ値ビットの空ワードを無視するようになっている。この例において、出力バッファ78は、その容量が大きく、時間的耐性(連続同一値に対する耐性)が高く、従って空ワードパック動作を実行するのに適した手段を構成している。ここで、パケット境界におけるパケット整列フラグPAFの出現とピクチャ開始コードワードPSの出現との間において空ワードをパックするために利用できる時間は僅かしかない(例えば1クロック・サイクル)ことに留意すべきである。   A complete packet of a predetermined length can be properly used by adding the required number of empty words as described above. By using such complete packets, data can be searched and synchronized in any data state, such as in a variable length codeword system. The start codeword, in particular the I frame start codeword, is an inherent resynchronization point in a data stream compatible with MPEG (interoperability). The start codeword appears at the packet boundary. Such packet boundary processing can be performed by packet perfecting the truncated data packet and determining the packet boundary using an empty word of zero-value bits in the system described herein. The MPEG standard allows any number of zero words to precede the start codeword, so that the receiver / decoder ignores empty words with zero value bits. In this example, the output buffer 78 has a large capacity and a high temporal tolerance (resistance against consecutive identical values), and therefore constitutes a means suitable for executing an empty word pack operation. Note that there is little time available to pack empty words between the appearance of the packet alignment flag PAF and the appearance of the picture start codeword PS at the packet boundary (eg, one clock cycle). It is.

図19は、トランスポート・プロセッサ部において本発明に従う装置を用いた高解像度テレビジョン(HDTV)符号化システムを例示している。図19は、単一のビデオ入力信号を処理するシステムを示す。但し、輝度(ルミナンス)成分およびクロミナンス成分は別々に処理され、輝度の動きベクトルを用いて圧縮クロミナンス成分が生成されることが分かる。圧縮された輝度成分およびクロミナンス成分は、コードワード優先度をパース(構文解析)する前に、インターリーブされてマクロブロックが形成される。図19のシステムに関する別の情報が、アカンポーラ氏外の米国特許第5,168,356号に記載されている。図20Aに示された画像フィールド/フレームのシーケンス(列)は、図20Bに従うフィールド/フレームを再配列する回路705に供給される。その再配列されたシーケンスは圧縮器710に供給される。この圧縮器710は、MPEG形式のフォーマットに従って符号化された圧縮されたフレームのシーケンスを生成する。そのフォーマットは階層構造になっており、それが図22に簡略形式で例示されている。MPEG形式の階層構造フォーマットは、各別のヘッダ情報をそれぞれ有する複数の階層からなる。各ヘッダは、開始コードワード、各階層に関連するデータおよびヘッダ拡張を行うための項目(プロビジョン)を正規のヘッダ形式として含んでいる。   FIG. 19 illustrates a high-definition television (HDTV) encoding system using an apparatus according to the present invention in the transport processor section. FIG. 19 shows a system for processing a single video input signal. However, it can be seen that the luminance (luminance) component and the chrominance component are processed separately, and the compressed chrominance component is generated using the luminance motion vector. The compressed luminance and chrominance components are interleaved to form macroblocks before parsing the codeword priority. Additional information regarding the system of FIG. 19 is described in US Pat. No. 5,168,356 to Acampola et al. The sequence (column) of image fields / frames shown in FIG. 20A is supplied to a circuit 705 for rearranging the fields / frames according to FIG. 20B. The rearranged sequence is supplied to the compressor 710. The compressor 710 generates a compressed sequence of frames encoded according to an MPEG format. The format has a hierarchical structure, which is illustrated in simplified form in FIG. The MPEG hierarchical structure format is composed of a plurality of hierarchies each having different header information. Each header includes a start codeword, data related to each layer, and an item (provision) for header extension as a normal header format.

このシステムによって生成されるMPEG形式の信号について説明すると、(a)ビデオ信号の連続的画像フィールド/フレームがI,P,B符号化シーケンスに従って符号化され、(b)画面レベルで符号化されたデータはMPEG形式のスライスまたはブロック群の形式で符号化される。その場合、各フィールド/フレーム当たりのスライス数は種々の値をとり、各スライス当たりのマクロブロック数も種々の値をとる。I符号化フレームは、画像再生を行うときにIフレーム圧縮データだけを用いて処理できるようにフレーム内圧縮されている。P符号化フレームは前方動き補償予測法に従って符号化されており、Pフレーム符号化データは、現在のフレーム、および現在のフレームの前に発生するIまたはPフレームから生成される。B符号化フレームは、双方向動き補償予測法に従って符号化される。B符号化フレームデータは、現在のフレーム、および現在のフレームの前および後に発生するIおよびPフレームから生成される。   An MPEG format signal generated by this system will be described. (A) A continuous image field / frame of a video signal is encoded according to an I, P, B encoding sequence, and (b) is encoded at a screen level. Data is encoded in the form of MPEG format slices or blocks. In that case, the number of slices per field / frame takes various values, and the number of macroblocks per slice also takes various values. The I-coded frame is compressed in the frame so that it can be processed using only the I-frame compressed data when performing image reproduction. P-coded frames are coded according to the forward motion compensated prediction method, and P-frame coded data is generated from the current frame and the I or P frame that occurs before the current frame. The B encoded frame is encoded according to a bidirectional motion compensated prediction method. B-coded frame data is generated from the current frame and the I and P frames that occur before and after the current frame.

現在のシステムの符号化出力信号は、フィールド/フレーム群、またはボックスL2行(図22)に例示されている画像群(GOP)にセグメント化される。各GOP(L2)はヘッダを含んでおり、ヘッダの後には画像データのセグメントが続く。GOPヘッダは、水平方向および垂直方向の画面サイズ、アスペクト比、フィールド/フレーム・レート、ビット・レート、などに関連するデータを含んでいる。   The encoded output signal of the current system is segmented into fields / frames or groups of images (GOP) illustrated in box L2 row (FIG. 22). Each GOP (L2) includes a header, followed by a segment of image data. The GOP header includes data related to horizontal and vertical screen sizes, aspect ratios, field / frame rates, bit rates, and the like.

各画像フィールド/フレームに対応する画像データ(L3)は、ピクチャヘッドを含んでいて、ピクチャヘッダの後にはスライスデータ(L4)が続く。ピクチャヘッドはフィールド/フレーム数およびピクチャ・コード・タイプを含んでいる。各スライス(L4)は、スライスヘッダを含んでいて、スライスヘッダの後には複数のデータ・ブロックMBiが続く。スライスヘッダは、群番号および量子化パラメータを含んでいる。   Image data (L3) corresponding to each image field / frame includes a picture head, and slice data (L4) follows the picture header. The picture head contains the field / frame number and the picture code type. Each slice (L4) includes a slice header, and the slice header is followed by a plurality of data blocks MBi. The slice header includes a group number and a quantization parameter.

各ブロックMBi(L5)は、マクロブロックを表し、ヘッダを含んでおり、ヘッダの後に動きベクトル(MV)および符号化係数が続く。MBiヘッダは、マクロブロック・アドレス、マクロブロック・タイプおよび量子化パラメータを含んでいる。符号化係数は階層L6に例示されている。各マクロブロックは、4つの輝度ブロック、1つのUクロミナンスブロックおよび1つのVクロミナンスブロックからなる合計6個のブロックを含んでいる(図21参照)。1つのブロックは、ピクセルのマトリックス、例えば8×8のマトリックスを表していて、このマトリックスに対して離散コサイン変換(DCT)が実行される。その4つの輝度ブロックは、例えば16×16のピクセル・マトリックスを表す2×2の隣接輝度ブロックのマトリックスである。クロミナンス(UおよびV)ブロックは、4つの輝度ブロックの領域全体と同じ領域を表している。すなわち、圧縮の前に、クロミナンス信号は、輝度に対して水平方向および垂直方向に2つの係数(1/2)でダブサンプル(subsample)される。1つのスライスのデータは、隣接したマクロブロック群として表される領域に対応する画像中の長方形部分を表すデータに対応する。1つのフレームは、360個のスライス、すなわち垂直方向の60スライス×水平方向の6スライスからなる。   Each block MBi (L5) represents a macroblock and includes a header, followed by a motion vector (MV) and a coding coefficient. The MBi header includes a macroblock address, a macroblock type, and a quantization parameter. The coding coefficient is exemplified in the layer L6. Each macroblock includes a total of six blocks including four luminance blocks, one U chrominance block, and one V chrominance block (see FIG. 21). A block represents a matrix of pixels, for example an 8 × 8 matrix, on which a discrete cosine transform (DCT) is performed. The four luminance blocks are, for example, a matrix of 2 × 2 adjacent luminance blocks representing a 16 × 16 pixel matrix. The chrominance (U and V) blocks represent the same area as the entire area of the four luminance blocks. That is, before compression, the chrominance signal is subsampled by two factors (1/2) in the horizontal and vertical directions with respect to luminance. One slice of data corresponds to data representing a rectangular portion in an image corresponding to an area represented as an adjacent macroblock group. One frame includes 360 slices, that is, 60 slices in the vertical direction × 6 slices in the horizontal direction.

ブロック係数は、DCTによって1回につき1ブロック分供給される。まずDC係数が発生し、DC係数の後にその相対的重要度順に各DCT AC係数が続く。ブロック終了コードEOB(end−of−block)が、連続的に発生するデータの各ブロックの最後に付加される。   The block coefficient is supplied by the DCT for one block at a time. DC coefficients are generated first, followed by each DCT AC coefficient in order of its relative importance. A block end code EOB (end-of-block) is added to the end of each block of continuously generated data.

図19において、圧縮器710から供給されるデータは、データを高優先度(HP)成分と標準優先度(SP)成分とにセグメント化するトランスポート・プロセッサ712に供給される前に、優先度プロセッサ711により処理される。これらの成分は、レートバッファ713および714を介して各前進型誤り訂正符号化ユニット715および716に結合される。レートバッファは一時的にパック・データおよびヘッダを記憶し、その後FEC誤り訂正符号化回路はそのパック・データおよびヘッダを抽出する。レート(rate)制御器718は、バッファ713、714と協働して、圧縮器710から供給されるデータの平均データ・レートを調整する。その後、信号が伝送モデム717に結合され、そのHPおよびSPデータは、標準6MHzのNTSC方式のテレビジョン・チャンネル内の各搬送波を直交振幅変調する。   In FIG. 19, the data supplied from compressor 710 is prioritized before being supplied to transport processor 712 which segments the data into a high priority (HP) component and a standard priority (SP) component. Processed by the processor 711. These components are coupled to each forward error correction coding unit 715 and 716 via rate buffers 713 and 714. The rate buffer temporarily stores the packed data and header, and then the FEC error correction coding circuit extracts the packed data and header. A rate controller 718 cooperates with buffers 713 and 714 to adjust the average data rate of the data supplied from compressor 710. The signal is then coupled to a transmission modem 717 whose HP and SP data quadrature amplitude modulates each carrier in a standard 6 MHz NTSC television channel.


Figure 0005119522

Figure 0005119522


Figure 0005119522

Figure 0005119522

10 制御器
12 データ・パック器
14 入力プロセッサ
15 ヘッダ合成器
16 入力FIFOデータ・バッファ(データFIFO)
18 ヘッダ発生器
17 入力FIFOヘッダ・バッファ(ヘッダFIFO)
DESCRIPTION OF SYMBOLS 10 Controller 12 Data packer 14 Input processor 15 Header synthesizer 16 Input FIFO data buffer (data FIFO)
18 Header Generator 17 Input FIFO Header Buffer (Header FIFO)

Claims (1)

可変長コードワードのデータストリームに応答して、予め定めた数未満のビットを含むことができるパケットを作成する手段であって、前記パケットに関連する画像のグループ(GOP)の始まりを示すためにパケット・アライメント・フラグを挿入することができる、前記手段と、
必要に応じてno‐opのnullワードを前記パケットに加え、前記予め定めた数のビットを有する固定長のパケットにして出力データのストリームを作成する手段と、
を備える装置であって、
前記固定長のパケットは、受信機において同期化を行うための同期情報を含む関連ヘッダを有し、
前記出力データのストリームは、ルミナンスブロックおよびクロミナンスブロックを含むマクロブロックを有するビデオ・データからなり、
隣接した前記マクロブロック群は、前記ビデオ・データのスライスを形成する、前記装置。
In response to a data stream of variable length codewords, means for creating a packet that can include less than a predetermined number of bits to indicate the beginning of a group of images (GOP) associated with the packet Said means capable of inserting a packet alignment flag;
Means for adding a no-op null word to the packet as needed to produce a stream of output data into a fixed length packet having the predetermined number of bits;
A device comprising:
The fixed-length packet has an associated header containing synchronization information for performing synchronization at the receiver,
The stream of output data consists of video data having macroblocks including luminance and chrominance blocks;
Adjacent the macroblocks form a slice of the video data, the device.
JP2010108375A 2010-05-10 2010-05-10 Device for processing data streams Expired - Lifetime JP5119522B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010108375A JP5119522B2 (en) 2010-05-10 2010-05-10 Device for processing data streams

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010108375A JP5119522B2 (en) 2010-05-10 2010-05-10 Device for processing data streams

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010089345A Division JP4863326B2 (en) 2010-04-08 2010-04-08 How to process the data stream

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2012036216A Division JP5110721B2 (en) 2012-02-22 2012-02-22 Device for processing data streams
JP2012197296A Division JP5264003B2 (en) 2012-09-07 2012-09-07 Device for processing data streams

Publications (2)

Publication Number Publication Date
JP2010187405A JP2010187405A (en) 2010-08-26
JP5119522B2 true JP5119522B2 (en) 2013-01-16

Family

ID=42767728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010108375A Expired - Lifetime JP5119522B2 (en) 2010-05-10 2010-05-10 Device for processing data streams

Country Status (1)

Country Link
JP (1) JP5119522B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5264003B2 (en) * 2012-09-07 2013-08-14 ゼネラル・エレクトリック・カンパニイ Device for processing data streams

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4497483B2 (en) * 2007-10-05 2010-07-07 ゼネラル・エレクトリック・カンパニイ Device for processing data streams
JP4648489B2 (en) * 2010-03-17 2011-03-09 ゼネラル・エレクトリック・カンパニイ How to process the data stream

Also Published As

Publication number Publication date
JP2010187405A (en) 2010-08-26

Similar Documents

Publication Publication Date Title
JP3811183B2 (en) Apparatus and method for processing a data stream
JP4067579B2 (en) Video signal encoding system
JP3708974B2 (en) Coded video signal processing device
US5784110A (en) Data processor for assembling transport data packets
US5767912A (en) Datastream packet alignment indicator in a system for assembling transport data packets
JP4659179B2 (en) MPEG stream switching method
JP4648489B2 (en) How to process the data stream
JP4497483B2 (en) Device for processing data streams
JP4357594B2 (en) Pack data processor in transport data packet assembly system
JP5119522B2 (en) Device for processing data streams
JP5110721B2 (en) Device for processing data streams
JP5264003B2 (en) Device for processing data streams
JP4754648B2 (en) How to process the data stream
JP4863326B2 (en) How to process the data stream
JP4808812B2 (en) Device for processing data streams
JP4317925B2 (en) Apparatus and method for processing a data stream
JP3480735B2 (en) Data stream alignment indicator in transport data packet assembly system
JP2004357340A (en) Apparatus for processing data stream
JP2000115780A (en) Moving picture coder/decoder and moving picture transmission method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100607

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20120117

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20120126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20120201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20120606

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20120831

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20120905

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120907

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: 20121003

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121003

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

Free format text: PAYMENT UNTIL: 20141102

Year of fee payment: 2

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

EXPY Cancellation because of completion of term