[go: up one dir, main page]

JPH1055614A - Coding/multiplexing system, coding device and multiplexer - Google Patents

Coding/multiplexing system, coding device and multiplexer

Info

Publication number
JPH1055614A
JPH1055614A JP22932196A JP22932196A JPH1055614A JP H1055614 A JPH1055614 A JP H1055614A JP 22932196 A JP22932196 A JP 22932196A JP 22932196 A JP22932196 A JP 22932196A JP H1055614 A JPH1055614 A JP H1055614A
Authority
JP
Japan
Prior art keywords
multiplexing
processing
encoding
data
hard disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP22932196A
Other languages
Japanese (ja)
Inventor
Kentaro Tanaka
謙太郎 田中
Toshihiko Kitazawa
俊彦 北澤
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 JP22932196A priority Critical patent/JPH1055614A/en
Publication of JPH1055614A publication Critical patent/JPH1055614A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【課題】 処理時間が短く、かつ、圧縮符号化処理と多
重化処理との制御も簡単な符号化・多重化システムを提
供する。 【解決手段】 ハードディスク装置20(1),20
(2)は、圧縮符号化処理の処理結果を記憶する。符号
化装置30は、複数のデータを個別に圧縮符号化し、こ
の処理結果をプログラム単位で2つのハードディスク装
置20(1),20(2)に交互に書き込む。多重化装
置40は、2つのハードディスク装置20(1),20
(2)から交互に複数のデータの処理結果を読み出し、
これを各データごとにパケット化した後、このパケット
単位で多重する。制御装置50は、多重化装置40が、
2つのハードディスク装置20(1),20(2)のう
ち、符号化装置30によって書込みがなされていない方
のハードディスク装置から処理結果を読み出すように、
符号化装置30と多重化装置40との動作を集中制御す
る。
(57) [Problem] To provide an encoding / multiplexing system in which a processing time is short and control of compression encoding processing and multiplexing processing is simple. SOLUTION: Hard disk drives 20 (1), 20
(2) stores the processing result of the compression encoding processing. The encoding device 30 individually compresses and encodes a plurality of data, and writes the processing result alternately to the two hard disk devices 20 (1) and 20 (2) in program units. The multiplexing device 40 includes two hard disk devices 20 (1) and 20 (1).
The processing results of a plurality of data are alternately read from (2),
After this is packetized for each data, it is multiplexed for each packet. The control device 50 determines that the multiplexing device 40
Of the two hard disk drives 20 (1) and 20 (2), the processing result is read from the hard disk drive to which the encoding device 30 has not been written.
The operations of the encoding device 30 and the multiplexing device 40 are centrally controlled.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、DVDオーサリン
グシステムのように、複数のデータを個別に符号化した
後、多重化する符号化・多重化システムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an encoding / multiplexing system for individually encoding and multiplexing a plurality of data, such as a DVD authoring system.

【0002】[0002]

【従来の技術】一般に、ビデオデータ、オーディオデー
タ、プライベートデータなどの複数のデータを一本化し
て映画などのプログラムを作成し、このプログラムをD
VD(Digital Video Disk)に書き込む場合は、これら
のデータからMPEG(MovingPicture Coding Experts
Group )2のプログラムストリームを生成し、このプ
ログラムストリームを書き込むようになっている。
2. Description of the Related Art In general, a plurality of data such as video data, audio data, private data and the like are unified to create a program such as a movie, and this program is
When writing to a VD (Digital Video Disk), MPEG (Moving Picture Coding Experts)
Group) 2 is generated, and this program stream is written.

【0003】MPEG2のプログラムストリームを生成
するためには、複数のデータを個別に圧縮符号化する符
号化装置(エンコーダ)と、この符号化装置の処理結果
(圧縮符号化出力)をデータごとに個別にパケット化し
た後、パケット単位で多重する多重化装置(マルチプレ
クサ)とを備えた符号化・多重化システムが必要にな
る。この符号化・多重化システムは、DVDオーサリン
グシステムといわれている。
In order to generate an MPEG2 program stream, an encoding device (encoder) for individually compressing and encoding a plurality of data and a processing result (compression encoded output) of the encoding device are individually stored for each data. After that, an encoding / multiplexing system including a multiplexer (multiplexer) for multiplexing the packets in packet units is required. This encoding / multiplexing system is called a DVD authoring system.

【0004】このDVDオーサリングシステムにおいて
は、符号化装置の処理結果を多重化装置に供給する場
合、ハードディスク装置などの記憶装置を介して供給す
るようになっている。これは、1つには、符号化装置と
多重化装置との処理速度が異なるため、両者の間に、こ
の処理速度の違いを吸収するためのバッファを設ける必
要があるからである。また、1つには、システムの回路
規模が大きいため、符号化装置と多重化装置とを開発す
る場合、これらを別体として別々に開発した方が開発し
やすいからである。
In the DVD authoring system, when the processing result of the encoding device is supplied to the multiplexing device, it is supplied via a storage device such as a hard disk device. This is because, for one, the processing speeds of the encoding device and the multiplexing device are different, and it is necessary to provide a buffer between the two to absorb the difference in the processing speed. For one thing, because the circuit scale of the system is large, when developing an encoding device and a multiplexing device, it is easier to develop them separately and separately.

【0005】符号化装置の処理結果を記憶装置を介して
多重化装置に供給する場合、従来は、図7に示すよう
に、あるプログラムの圧縮符号化処理中は、記憶装置1
1を符号化装置12に接続し、この圧縮符号化処理が終
了すると、記憶装置11を人手によって多重化装置13
に接続することにより供給するようになっていた。
In the case where the processing result of the encoding device is supplied to the multiplexing device via the storage device, conventionally, as shown in FIG.
1 is connected to the encoding device 12, and when the compression encoding process is completed, the storage device 11 is manually stored in the multiplexing device 13.
It was designed to be supplied by connecting to.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな構成では、処理すべきプログラムの数が多くなる
と、記憶装置11の接続先の切替え操作を何度も行わな
ければならないため、ユーザの手間が大きくなるととも
に、処理時間が長くなるという問題があった。また、ユ
ーザの手間が大きくなることにより、処理の信頼性が低
下するという問題もあった。
However, in such a configuration, when the number of programs to be processed increases, the operation of switching the connection destination of the storage device 11 must be performed many times. There is a problem that the processing time increases as the size increases. In addition, there is also a problem that the reliability of the processing is reduced due to an increase in user's labor.

【0007】これらの問題は、図8に示すように、例え
ば、記憶装置11と符号化装置12や多重化装置13と
を接続するインタフェースとしてSCSI(Small Comp
uterSystem Interface ,スカジィ)を用いることによ
り、同一バス上に2つのイニシエータを設け、記憶装置
11と符号化装置12や多重化装置13とをディジーチ
ェーン接続すれば解決することができる。
[0007] As shown in FIG. 8, these problems are caused, for example, by using SCSI (Small Compatible) as an interface for connecting the storage device 11 to the encoding device 12 or the multiplexing device 13.
This problem can be solved by providing two initiators on the same bus and connecting the storage device 11 and the encoding device 12 or the multiplexing device 13 in a daisy chain by using the uter system interface (scady).

【0008】しかしながら、このような構成では、符号
化装置12が記憶装置11に処理結果を書き込んでいる
最中に、多重化装置13は記憶装置11から処理結果を
読み出すことができない。このため、このような構成で
は、符号化装置12の圧縮符号化処理と多重化装置13
の多重化処理とを同時に行わないようにするか、もし、
同時に行うのであれば、処理結果の書込みと読出しとが
衝突しないようにするために、何らかの制限をもった制
御を行う必要がある。
However, in such a configuration, the multiplexing device 13 cannot read the processing result from the storage device 11 while the encoding device 12 is writing the processing result to the storage device 11. Therefore, in such a configuration, the compression encoding process of the encoding device 12 and the multiplexing device 13
Multiplexing process should not be performed at the same time,
If they are performed at the same time, it is necessary to perform control with some restrictions in order to prevent collision between writing and reading of the processing result.

【0009】しかしながら、前者の構成では、後者の構
成に比べ、処理時間が2倍ほど余計にかかるという問題
がある。また、後者の構成では、符号化装置12と多重
化装置13のどちらか一方あるいは双方の処理に、時間
的な制限を課す必要があるため、圧縮符号化処理と多重
化処理との制御が複雑になるという問題がある。
However, the former configuration has a problem that the processing time is twice as long as that of the latter configuration. Further, in the latter configuration, it is necessary to impose a time limit on the processing of one or both of the encoding device 12 and the multiplexing device 13, so that control of the compression encoding process and the multiplexing process is complicated. Problem.

【0010】本発明はかかる問題点に鑑みてなされたも
ので、その目的は、処理時間が短く、かつ、圧縮符号化
処理と多重化処理との制御が簡単な符号化・多重化シス
テム、符号化装置及び多重化装置を提供することにあ
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide an encoding / multiplexing system and an encoding / multiplexing system in which processing time is short and control of compression encoding processing and multiplexing processing is simple. A multiplexing device and a multiplexing device are provided.

【0011】[0011]

【課題を解決するための手段】本発明は、複数のデータ
の符号化処理の処理結果を記憶するための記憶手段とし
て、2つの記憶手段を設け、これら2つの記憶手段に複
数のデータの処理結果を所定単位ずつ交互に書き込むと
ともに、これら2つの記憶手段のうち、処理結果の書込
みがなされていない方の記憶手段から、この記憶手段に
記憶されている複数のデータの処理結果を読み出して多
重化処理を実行することにより、符号化処理と多重化処
理とを同時に実行することができるようにしたものであ
る。
According to the present invention, two storage means are provided as storage means for storing processing results of encoding processing of a plurality of data, and processing of a plurality of data is performed in these two storage means. The result is alternately written in predetermined units, and the processing result of a plurality of data stored in the storage means is read out from the storage means to which the processing result has not been written out of the two storage means and multiplexed. By executing the encoding process, the encoding process and the multiplexing process can be executed simultaneously.

【0012】[0012]

【発明の実施の形態】以下、図面を参照しながら、本発
明の実施の形態を詳細に説明する。図1は、本発明に係
る符号化・多重化システムの一実施の形態の構成を示す
ブロック図である。なお、図1には、本発明をDVDオ
ーサリングシステムに適用した場合を代表として示す。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an embodiment of an encoding / multiplexing system according to the present invention. FIG. 1 shows a typical case where the present invention is applied to a DVD authoring system.

【0013】図示のシステムは、図示しないデータ源か
ら出力される複数のデータ(例えば、ビデオデータ、オ
ーディオデータ、プラベートデータなど)の圧縮符号化
処理の処理結果を記憶するための2つのハードディスク
装置20(1),20(2)と、上記複数のデータを個
別に圧縮符号化し、この処理結果をプログラム単位で2
つのハードディスク装置20(1),20(2)に交互
に書き込む符号化装置30と、2つのハードディスク装
置20(1),20(2)から圧縮符号化処理の処理結
果をプログラム単位で交互に読み出し、これをデータご
とにパケット化した後、パケット単位で多重する多重化
装置40とを有する。
The illustrated system has two hard disk drives 20 for storing processing results of compression encoding of a plurality of data (eg, video data, audio data, private data, etc.) output from a data source (not shown). (1), 20 (2), and compression encoding of the plurality of data individually.
An encoding device 30 that writes alternately to the two hard disk devices 20 (1) and 20 (2) and a processing result of the compression encoding process that is alternately read from the two hard disk devices 20 (1) and 20 (2) in program units. And a multiplexing device 40 for packetizing the data for each data and then multiplexing the data in packet units.

【0014】また、このシステムは、2つのハードディ
スク装置20(1),20(2)のうち、符号化装置3
0によって処理結果の書込みがなされていない方のハー
ドディスク装置20(m)(m=1,2)から、多重化
装置40によって処理結果の読出しがなされるように、
符号化装置30と多重化装置40との動作を集中制御す
る制御装置50と、この制御装置50と符号化装置30
や多重化装置40とを接続するバス60とを有する。な
お、制御装置50は、例えば、パーソナルコンピュータ
によって構成されている。
Further, the system includes an encoding device 3 among the two hard disk devices 20 (1) and 20 (2).
0 so that the multiplexing device 40 reads the processing result from the hard disk device 20 (m) (m = 1, 2) to which the processing result has not been written.
A control device 50 for centrally controlling the operations of the encoding device 30 and the multiplexing device 40; and the control device 50 and the encoding device 30
And a bus 60 for connecting to the multiplexing device 40. The control device 50 is configured by, for example, a personal computer.

【0015】符号化装置30は、2つの出力ポートを有
し、多重化装置40は、2つの入力ポートを有する。ハ
ードディスク装置20(1)は、符号化装置30の一方
の出力ポートと多重化装置40の一方の入力ポートとの
間に接続されている。この場合、接続インタフェースと
しては、例えば、SCSIが用いられ、ハードディスク
装置20(1)は、同一バス上に2つのイニシエータを
設けることにより、符号化装置30や多重化装置40と
ディジーチェーン接続されている。同様に、ハードディ
スク装置20(2)は、同一バス上に2つのイニシエー
タを設けることにより、符号化装置10や多重化装置4
0とディジーチェーン接続されている。
The encoding device 30 has two output ports, and the multiplexing device 40 has two input ports. The hard disk device 20 (1) is connected between one output port of the encoding device 30 and one input port of the multiplexer 40. In this case, for example, SCSI is used as the connection interface, and the hard disk device 20 (1) is daisy-chain connected to the encoding device 30 and the multiplexing device 40 by providing two initiators on the same bus. I have. Similarly, the hard disk device 20 (2) is provided with two initiators on the same bus, so that the encoding device 10 and the multiplexing device 4
0 and daisy-chained.

【0016】なお、ハードディスク装置20(1),2
0(2)は、ハードディスク(記憶媒体)のほかに、こ
のハードディスクにデータを書き込む機能と、このハー
ドディスクからデータを読み出す機能とを有する。した
がって、ここでは、符号化装置30がハードディスク装
置20(1),20(2)に処理結果を書き込むとは、
符号化装置30がハードディスク装置20(1),20
(2)にハードディスクへの処理結果の書込みを指示す
ることをいう。同様に、多重化装置40がハードディス
ク装置20(1),20(2)から処理結果を読み出す
とは、多重化装置40がハードディスク装置20
(1),20(2)にハードディスクからの処理結果の
読出しを指示することをいう。
The hard disk devices 20 (1), 20 (2)
0 (2) has a function of writing data to the hard disk and a function of reading data from the hard disk in addition to the hard disk (storage medium). Therefore, in this case, the encoding device 30 writes the processing result into the hard disk devices 20 (1) and 20 (2).
The encoding device 30 is a hard disk device 20 (1), 20
This means instructing (2) to write the processing result to the hard disk. Similarly, when the multiplexer 40 reads the processing result from the hard disk devices 20 (1) and 20 (2), it means that the multiplexer 40
This means instructing (1) and 20 (2) to read the processing result from the hard disk.

【0017】上記構成において、動作を説明する。制御
装置50は、まず、符号化装置30に圧縮符号化処理の
実行命令を供給する。符号化装置30は、この実行命令
を受け取ると、図示しないデータ源から供給される複数
のデータを個別に圧縮符号化し、その処理結果を例えば
ハードディスク装置20(1)に書き込む。
The operation of the above configuration will be described. First, the control device 50 supplies the encoding device 30 with an instruction to execute a compression encoding process. Upon receiving the execution instruction, the encoding device 30 individually compresses and encodes a plurality of data supplied from a data source (not shown), and writes the processing result to, for example, the hard disk device 20 (1).

【0018】次に、制御装置50は、多重化装置40に
多重化処理の実行命令を供給する。多重化装置40は、
この実行命令を受け取ると、符号化装置30によって処
理結果の書込みがなされていない方のハードディスク装
置20(2)から複数のデータの処理結果を読み出し、
これらを各データごとにパケット化した後、パケット単
位で多重する。但し、制御装置50は、圧縮符号化処理
が最初のプログラムの圧縮符号化処理である場合は、多
重化処理の実行命令を出力しない。これは、この場合
は、符号化装置30によって処理結果の書込みがなされ
ていない方のハードディスク装置20(2)に、未だ処
理結果が記憶されていないからである。
Next, the control device 50 supplies the multiplexing device 40 with a multiplexing process execution instruction. The multiplexing device 40
When the execution instruction is received, the processing result of the plurality of data is read from the hard disk device 20 (2) to which the processing result has not been written by the encoding device 30,
After these are packetized for each data, they are multiplexed in packet units. However, when the compression encoding process is the compression encoding process of the first program, the control device 50 does not output the execution instruction of the multiplexing process. This is because, in this case, the processing result is not yet stored in the hard disk drive 20 (2) to which the processing result has not been written by the encoding device 30.

【0019】次に、制御装置50は、符号化装置30の
圧縮符号化処理と多重化装置40の多重化処理とが終了
したか否かを判定する。そして、両処理が終了した時点
で、再び、符号化装置30に圧縮符号化処理の実行命令
を供給するとともに、多重化装置40に多重化処理の実
行命令を供給する。符号化装置30は、この実行命令を
受け取ると、複数の入力データを圧縮符号化し、その処
理結果を今度はハードディスク装置20(2)に書き込
む。また、多重化装置40は、この実行命令を受ける
と、今度は、ハードディスク装置20(1)から複数の
データの処理結果を読み出して多重する。
Next, the control device 50 determines whether or not the compression encoding process of the encoding device 30 and the multiplexing process of the multiplexing device 40 have been completed. Then, when both processes are completed, an instruction to execute the compression encoding process is supplied to the encoding device 30 again, and an instruction to execute the multiplexing process is supplied to the multiplexing device 40. Upon receiving the execution instruction, the encoding device 30 compresses and encodes a plurality of input data, and writes the processing result to the hard disk device 20 (2). Upon receiving the execution instruction, the multiplexing device 40 reads out the processing results of a plurality of data from the hard disk device 20 (1) and multiplexes them.

【0020】以下、同様に、1プログラム分の圧縮符号
化処理と多重化処理とが終了するたびに、上述した処理
が実行される。これにより、n(n=1,2,…)番目
のプログラムの圧縮符号化処理と(n−1)(n−1=
1,2,…)番目のプログラムの多重化処理とが同時に
実行される。
Similarly, each time the compression encoding process and the multiplexing process for one program are completed, the above process is executed. Thus, the compression encoding process of the n-th (n = 1, 2,...) Program and (n−1) (n−1 =
The multiplexing process of the (1, 2,...) Th program is executed simultaneously.

【0021】なお、多重化装置50がハードディスク装
置20(m)から必要なデータの処理結果を適宜読み出
すためには、ハードディスクのどこに、どのデータの処
理結果がどれだけ存在するかを認識する必要がある。こ
のため、符号化装置30は、圧縮符号化処理の実行中
に、ハードディスクのどこに、どのデータの処理結果を
どれだけ書き込んだかを示すセクタマップを作成し、1
プログラム分の圧縮符号化処理が終了した時点で、この
セクタマップをハードディスク装置20(m)に書き込
むようになっている。一方、多重化装置40は、多重化
処理の実行前に、このセクタマップをハードディスク装
置20(m)から読み出し、このセクタマップに基づい
て、必要なデータをハードディスク装置20(m)から
適宜読み出すようになっている。
In order for the multiplexing device 50 to appropriately read the necessary data processing results from the hard disk device 20 (m), it is necessary to recognize where and how many data processing results exist on the hard disk. is there. For this reason, during execution of the compression encoding process, the encoding device 30 creates a sector map indicating where and how much data is processed and how much data is written on the hard disk.
When the compression encoding process for the program is completed, this sector map is written to the hard disk device 20 (m). On the other hand, the multiplexing device 40 reads this sector map from the hard disk device 20 (m) before executing the multiplexing process, and appropriately reads necessary data from the hard disk device 20 (m) based on the sector map. It has become.

【0022】なお、ハードディスク装置20(m)に対
するセクタマップの書込みは、圧縮符号化処理の実行中
に随時行うようにしてもよい。但し、圧縮符号化処理が
終了した後に行った方が圧縮符号化処理の妨げとならな
いので、圧縮符号化処理の処理時間の短縮と、制御の簡
単化を図ることができる。
The writing of the sector map to the hard disk device 20 (m) may be performed at any time during the execution of the compression encoding process. However, since the processing performed after the end of the compression encoding processing does not hinder the compression encoding processing, the processing time of the compression encoding processing can be reduced and the control can be simplified.

【0023】図2は、ハードディスク装置20(m)の
ハードディスクにおけるセクタマップと圧縮符号化処理
の処理結果との記憶状態の一例を示す図である。図に
は、あるトラックにおいて、番号が0から99までのセ
クタにセクタマップを記憶し、番号が100以降のセク
タにビデオデータ等の処理結果を記憶する場合を示す。
図3は、図2の場合のセクタマップの一例を示す図であ
る。図示のセクタマップは、データ(ビデオ、オーディ
オ、プライベートなど)と、その処理結果が記憶されて
いる領域の最初のセクタ(スタートセクタ)の番号と、
この領域のサイズ(セクタサイズ)とによって表され
る。
FIG. 2 is a diagram showing an example of the storage state of the sector map and the result of the compression encoding process in the hard disk of the hard disk device 20 (m). The figure shows a case where, in a certain track, a sector map is stored in a sector having a number from 0 to 99, and a processing result of video data or the like is stored in a sector having a number of 100 or later.
FIG. 3 is a diagram showing an example of the sector map in the case of FIG. The illustrated sector map includes data (video, audio, private, etc.), the number of the first sector (start sector) of the area where the processing result is stored,
This area is represented by the size (sector size).

【0024】図4は、図1に示す符号化・多重化システ
ムを構成する符号化装置30の具体的構成の一例を示す
ブロック図であり、図5は、同じく、多重化装置40の
具体的構成の一例を示すブロック図である。
FIG. 4 is a block diagram showing an example of a specific configuration of the encoding device 30 constituting the encoding / multiplexing system shown in FIG. 1. FIG. It is a block diagram showing an example of a composition.

【0025】なお、これらの図には、データ源として、
ビデオテープからビデオデータとオーディオデータとを
再生するビデオテープレコーダ(以下「VTR」とい
う。)70と、プライベートデータを発生するプライベ
ート発生器80とを示す。これらは、バス60を介して
制御装置50に接続され、この制御装置50によって動
作タイミングを制御されるようになっている。また、図
には、多重化装置40の処理結果、すなわち、プログラ
ムストリームを記憶するための記憶装置として、ハード
ディスク装置90を示す。
In these figures, the data sources are:
A video tape recorder (hereinafter, referred to as “VTR”) 70 for reproducing video data and audio data from a video tape, and a private generator 80 for generating private data are shown. These are connected to a control device 50 via a bus 60, and the operation timing is controlled by the control device 50. The drawing also shows a hard disk drive 90 as a storage device for storing the processing result of the multiplexing device 40, that is, a program stream.

【0026】図4に示す符号化装置30は、VTR70
から供給されるビデオデータを圧縮符号化するビデオ符
号化器31と、VTR70から供給されるオーディオデ
ータを圧縮符号化するオーディオ符号化器32と、プラ
イベート発生器80から供給されるプライベートデータ
を圧縮符号化するプライベート符号化器33と、これら
の処理結果を記憶するためのメモリ34とを有する。
The encoding device 30 shown in FIG.
, A video encoder 31 for compressing and encoding video data supplied from the VTR 70, an audio encoder 32 for compressing and encoding audio data supplied from the VTR 70, and compression encoding of private data supplied from the private generator 80. And a memory 34 for storing these processing results.

【0027】また、この符号化装置30は、メモリ34
から処理結果を読み出すダイレクトメモリアクセス制御
部(以下「DMAC」という。)35と、このDMAC
35により読み出された処理結果をハードディスク装置
20(1),20(2)に供給し、その書込みを指示す
るディスクインタフェースブロック36(1),36
(2)とを有する。なお、ディスクインタフェースブロ
ック36(1),36(2)は、例えば、SCSIプロ
トコルコントローラによって構成されている。
The encoding device 30 includes a memory 34
And a direct memory access control unit (hereinafter referred to as "DMAC") 35 for reading processing results from the DMAC.
The processing results read by the CPU 35 are supplied to the hard disk devices 20 (1) and 20 (2), and the disk interface blocks 36 (1) and 36 instruct the writing thereof.
(2). The disk interface blocks 36 (1) and 36 (2) are constituted by, for example, a SCSI protocol controller.

【0028】さらに、この符号化装置30は、ビデオ符
号化器31と、オーディオ符号化器32と、プライベー
ト符号化器33と、DMAC35と、ディスクインタフ
ェースブロック36(1),36(2)とを制御する中
央処理装置(以下「CPU」という。)37と、このC
PU37と制御装置50とを接続するための外部インタ
フェース回路38とを有する。
Further, the encoding device 30 includes a video encoder 31, an audio encoder 32, a private encoder 33, a DMAC 35, and disk interface blocks 36 (1) and 36 (2). A central processing unit (hereinafter referred to as a “CPU”) 37 for controlling the
An external interface circuit 38 for connecting the PU 37 and the control device 50 is provided.

【0029】図5に示す多重化装置40は、ハードディ
スク装置20(1),20(2)に処理結果の読出しを
指示し、読み出された処理結果を受け取るディスクイン
タフェースブロック41(1),41(2)と、圧縮符
号化処理の処理結果を記憶するためのメモリ42と、デ
ィスクインタフェースブロック41(1),41(2)
により受け取られた処理結果をメモリ42に書き込むD
MAC43とを有する。なお、ディスクインタフェース
ブロック41(1),41(2)は、例えば、SCSI
プロトコルコントローラによって構成されている。
The multiplexing device 40 shown in FIG. 5 instructs the hard disk devices 20 (1) and 20 (2) to read processing results and receives the read processing results by the disk interface blocks 41 (1) and 41 (1). (2), a memory 42 for storing a processing result of the compression encoding processing, and disk interface blocks 41 (1) and 41 (2).
To write the processing result received by
MAC43. The disk interface blocks 41 (1) and 41 (2) are, for example, SCSI
It is configured by a protocol controller.

【0030】また、多重化装置40は、メモリ42に記
憶されている複数のデータの処理結果をデータごとにパ
ケット化し、パケット単位で多重化する多重化器44
と、この多重化器44の処理結果を記憶するためのメモ
リ45と、このメモリ45に記憶された処理結果を読み
出すDMAC46と、このDMAC46により読み出さ
れた処理結果をハードディスク装置90に供給し、その
書込みを指示するディスクインタフェースブロック47
とを有する。なお、ディスクインタフェースブロック4
7は、例えば、SCSIプロトコルコントローラによっ
て構成されている。
The multiplexing device 40 packetizes the processing results of a plurality of data stored in the memory 42 for each data, and multiplexes them in packet units.
A memory 45 for storing the processing result of the multiplexer 44, a DMAC 46 for reading the processing result stored in the memory 45, and a processing result read by the DMAC 46 to the hard disk device 90, Disk interface block 47 instructing the writing
And The disk interface block 4
7 is constituted by, for example, a SCSI protocol controller.

【0031】さらに、多重化装置40は、ディスクイン
タフェースブロック41(1),41(2),47と、
DMAC43,46とを制御するCPU48と、このC
PU48を制御装置50と接続するための外部インタフ
ェース回路49とを有する。
Further, the multiplexer 40 includes disk interface blocks 41 (1), 41 (2) and 47,
A CPU 48 for controlling the DMACs 43 and 46;
An external interface circuit 49 for connecting the PU 48 to the control device 50 is provided.

【0032】上記構成において、動作を説明する。ま
ず、図6を参照しながら、制御装置50の動作を説明す
る。ここで、図5は、制御装置50の処理を示すフロー
チャートである。
The operation of the above configuration will be described. First, the operation of the control device 50 will be described with reference to FIG. Here, FIG. 5 is a flowchart showing the processing of the control device 50.

【0033】図示の処理は、例えば、システムの電源ス
イッチがオン状態に設定されることにより開始される。
この処理においては、制御装置50は、まず、処理の開
始を指示するためのスタートキーがユーザによって操作
されたか否かを判定する(ステップS11)。スタート
キーが操作されると、制御装置50は、プログラム番号
Pを0に設定する(ステップS12)。次に、制御装置
50は、バス60を介して、VTR70にデータの再生
命令を供給するとともに、プライベート発生器80にデ
ータの出力命令を供給し、さらに、符号化装置30に圧
縮符号化処理の実行命令を供給する。
The illustrated processing is started, for example, when the power switch of the system is set to the ON state.
In this processing, the control device 50 first determines whether or not the user has operated a start key for instructing the start of the processing (step S11). When the start key is operated, the control device 50 sets the program number P to 0 (step S12). Next, the control device 50 supplies a data reproduction command to the VTR 70 via the bus 60, supplies a data output command to the private generator 80, and further supplies the encoding device 30 with the compression encoding process. Provides execution instructions.

【0034】次に、制御装置50は、プログラム番号P
が0でないか否かを判定し(ステップS14)、0であ
れば、符号化装置30の圧縮符号化処理が終了したか否
かを判定する(ステップS16)。この判定処理は、圧
縮符号化処理が終了するまで続けられる。これに対し、
プログラム番号Pが0でなければ、バス60を介して、
多重化装置40に1つ前のプログラム(プログラム番号
が(P−1)のプログラム)の多重化処理の実行命令を
供給した後(ステップS15)、圧縮符号化処理が終了
したか否かを判定する(ステップS16)。いまの場合
は、プログラム番号Pが0に設定されているので、ステ
ップS14の処理が終了した後、直ぐに、ステップS1
6の処理が実行される。
Next, the control device 50 sets the program number P
Is determined to be not 0 (step S14), and if it is 0, it is determined whether or not the compression encoding process of the encoding device 30 is completed (step S16). This determination processing is continued until the compression encoding processing ends. In contrast,
If the program number P is not 0, via the bus 60,
After supplying the multiplexing device 40 with the execution instruction of the multiplexing process of the immediately preceding program (the program having the program number (P-1)) (step S15), it is determined whether the compression encoding process is completed. (Step S16). In this case, since the program number P is set to 0, immediately after the processing of step S14 is completed, step S1 is executed.
6 is executed.

【0035】圧縮符号化処理が終了すると、制御装置5
0は、多重化装置40の多重化処理が終了したか否かを
判定する(ステップS17)。この判定処理は、多重化
処理が終了するまで続けられる。いまの場合、多重化処
理が実行されていないので、直ぐに、終了したとの判定
結果が得られる。多重化処理が終了すると、制御装置5
0は、ストップフラグがセットされているか否かを判定
する(ステップS18)。このストップフラグは、ユー
ザが処理を停止させるためのストップキーを操作するこ
とによりセットされる。
When the compression encoding process is completed, the control unit 5
0 determines whether the multiplexing process of the multiplexing device 40 has been completed (step S17). This determination process is continued until the multiplexing process ends. In this case, since the multiplexing process has not been executed, a determination result indicating that the process has been completed is immediately obtained. When the multiplexing process is completed, the control device 5
If it is 0, it is determined whether or not the stop flag is set (step S18). This stop flag is set when the user operates a stop key for stopping the processing.

【0036】ストップフラグがセットされていると、制
御装置50の処理は終了する。これに対し、ストップフ
ラグがセットされていなければ、制御装置50は、次の
プログラムの処理を行うための準備が整ったか否かを判
定する(ステップS19)。具体的は、VTR70に、
次のビデオテープがセットされたか否かや符号化装置3
0の符号化パラメータが設定されたか否かを判定する。
この判定は、準備が整うまで続けられる。準備が整う
と、制御装置50は、符号化装置部30と多重化装置部
40とに対し、バス60を介してポート(ディスクイン
タフェースブロック26(m),41(m))の切替え
命令を供給する(ステップS20)。このポート切替え
命令はそれぞれ外部インタフェース回路38,49を介
してCPU37,48に供給される。
When the stop flag is set, the processing of the control device 50 ends. On the other hand, if the stop flag has not been set, the control device 50 determines whether or not preparations for performing the processing of the next program have been completed (step S19). Specifically, the VTR 70
Whether the next video tape is set or not, and the encoding device 3
It is determined whether an encoding parameter of 0 has been set.
This determination is continued until the preparation is completed. When the preparation is completed, the control device 50 supplies a command to switch the ports (disk interface blocks 26 (m) and 41 (m)) to the encoding device unit 30 and the multiplexing device unit 40 via the bus 60. (Step S20). This port switching command is supplied to CPUs 37 and 48 via external interface circuits 38 and 49, respectively.

【0037】次に、制御装置50はプログラム番号Pを
インクリメントして(ステップS21)、ステップS1
3に戻り、再び上述したような処理を実行する。これに
より、今度は、プログラム番号Pが1のプログラム(2
番目のプログラム)の圧縮符号化処理と、プログラム番
号Pが0のプログラム(1番目のプログラム)の多重化
処理とが同時に実行される。以下、同様に、あるプログ
ラムの圧縮符号化処理とこのプログラムより1つ前のプ
ログラムの多重化処理とが終了するたびに、上述した処
理が実行される。
Next, the control device 50 increments the program number P (step S21), and proceeds to step S1.
3 and the above-described processing is executed again. As a result, this time, the program (2
And the multiplexing of the program with the program number P of 0 (the first program). Hereinafter, similarly, each time the compression-encoding processing of a certain program and the multiplexing processing of the program immediately before this program are completed, the above-described processing is executed.

【0038】以上が制御装置50の制御動作である。次
に、図4に示す符号化装置30の圧縮符号化処理を説明
する。
The control operation of the control device 50 has been described above. Next, the compression encoding process of the encoding device 30 shown in FIG. 4 will be described.

【0039】VTR70は、制御装置50からデータの
再生命令(図5のステップS13参照)を受け取ると、
ビデオテープからビデオデータとオーディオデータとを
再生し、それぞれビデオ符号化器31とオーディオ符号
化器32とに供給する。同様に、プライベート発生器8
0は、制御装置50からデータの発生命令(図5のステ
ップS13参照)を受け取ると、プライベートデータを
発生し、プライベート符号化器33に供給する。
When the VTR 70 receives a data reproduction command (see step S13 in FIG. 5) from the control device 50,
The video data and the audio data are reproduced from the video tape and supplied to the video encoder 31 and the audio encoder 32, respectively. Similarly, private generator 8
When 0 receives a data generation instruction (see step S13 in FIG. 5) from the control device 50, it generates private data and supplies it to the private encoder 33.

【0040】制御装置50から符号化装置30に供給さ
れた圧縮符号化処理の実行命令(図5のステップS13
参照)は、外部インタフェース回路38を介してCPU
37に供給される。CPU37は、この実行命令を受け
取ると、符号化器31,32,33に圧縮符号化処理の
実行命令を供給する。符号化器31,32,33は、こ
の実行命令を受け取ると、入力データを圧縮符号化し、
その処理結果をメモリ34に書き込む。この場合、3つ
の処理結果の競合は、CPU37により調停される。
An instruction to execute the compression encoding process supplied from the control device 50 to the encoding device 30 (step S13 in FIG. 5)
CPU) via the external interface circuit 38
37. Upon receiving this execution instruction, the CPU 37 supplies the encoders 31, 32, 33 with an execution instruction of the compression encoding process. Upon receiving this execution instruction, the encoders 31, 32, and 33 compress and encode the input data,
The processing result is written into the memory 34. In this case, competition between the three processing results is arbitrated by the CPU 37.

【0041】CPU37は、メモリ34に予め定めた量
の処理結果が蓄積されると、DMAC35と、ポート切
替え命令(図5のステップS20参照)によって指定さ
れディスクインタフェースブロック36(m)とに処理
結果の転送命令を供給する。DMAC35は、この転送
命令を受け取ると、メモリ34から処理結果を読み出
し、ポート切替え命令によって指定されたディスクイン
タフェースブロック36(m)に供給する。
When a predetermined amount of processing results are stored in the memory 34, the CPU 37 stores the processing results in the DMAC 35 and the disk interface block 36 (m) specified by the port switching command (see step S20 in FIG. 5). Supply the transfer instruction. Upon receiving the transfer command, the DMAC 35 reads out the processing result from the memory 34 and supplies it to the disk interface block 36 (m) designated by the port switching command.

【0042】ディスクインタフェースブロック36
(m)は、CPU27から転送命令を受け取ると、DM
AC35から供給される処理結果を、SCSIのプロト
コルに従った形式に変換してハードディスク装置20
(m)に供給し、このハードディスク装置20(m)に
その書込みを指示する。ハードディスク装置20(m)
は、この指示を受けると、供給された処理結果をハード
ディスクに書き込む。
Disk interface block 36
(M) receives a transfer command from the CPU 27 and outputs
The processing result supplied from the AC 35 is converted into a format according to the SCSI protocol, and the hard disk drive 20
(M), and instructs the hard disk device 20 (m) to write the data. Hard disk drive 20 (m)
Receives this instruction, writes the supplied processing result to the hard disk.

【0043】この書込みが終了すると、符号化器31,
32,33は、再び、入力データを圧縮符号化し、その
処理結果をメモリ34に書き込む。そして、このメモリ
34に予め定めた量の処理結果が蓄積されると、DMA
C35と、ディスクインタフェースブロック36(m)
は、この処理結果をハードディスク装置20(m)に転
送する。以下、同様に、ハードディスク装置20(m)
に対する処理結果の転送が終了するたびに、上述した処
理が繰り返される。
When this writing is completed, the encoder 31,
32 and 33 compress the input data again and write the processing result to the memory 34. When a predetermined amount of processing result is stored in the memory 34, the DMA
C35 and disk interface block 36 (m)
Transfers the processing result to the hard disk device 20 (m). Hereinafter, similarly, the hard disk device 20 (m)
Each time the transfer of the processing result to is completed, the above-described processing is repeated.

【0044】このようにして、1プログラム分の圧縮符
号化処理が終了すると、CPU37は、その旨を外部イ
ンタフェース回路38を介して制御装置50に通知す
る。制御装置50は、この通知を受けると、圧縮符号化
処理が終了したと判定し、多重化処理が終了したか否か
を判定する(図5のステップS16,S17参照)。
As described above, when the compression encoding process for one program is completed, the CPU 37 notifies the control device 50 via the external interface circuit 38 of the completion. Upon receiving this notification, the control device 50 determines that the compression encoding process has been completed, and determines whether the multiplexing process has been completed (see steps S16 and S17 in FIG. 5).

【0045】なお、CPU37は、圧縮符号化処理中
に、ハードディスク装置20(m)内のハードディスク
のどのセクタに、どのデータの処理結果を、どのくらい
書き込んだかを示すセクタマップを作成し、これをメモ
リ34の所定の領域に書き込む。そして、作成したセク
タマップを、例えば、1プログラム分の圧縮符号化処理
が終了した後に、DMAC35と、ディスクインタフェ
ースブロック36(m)を使ってハードディスク装置2
0(m)に転送する。これにより、ハードディスク装置
20(m)内のハードディスクの予め定めた領域にセク
タマップが書き込まれる。
During the compression encoding process, the CPU 37 creates a sector map indicating which data processing result has been written to which sector of the hard disk in the hard disk device 20 (m) and how much the data has been written into the memory. 34 is written in a predetermined area. Then, after completing the compression encoding process for one program, for example, the created sector map is transferred to the hard disk drive 2 using the DMAC 35 and the disk interface block 36 (m).
0 (m). Thus, the sector map is written in a predetermined area of the hard disk in the hard disk device 20 (m).

【0046】以上が符号化装置30の圧縮符号化処理で
ある。次に、図5に示す多重化装置40の多重化処理を
説明する。
The above is the compression encoding process of the encoding device 30. Next, the multiplexing process of the multiplexing device 40 shown in FIG. 5 will be described.

【0047】制御装置50から多重化装置40に供給さ
れた多重化処理の実行命令(図5のステップS15参
照)は、外部インタフェース回路49を介してCPU4
8に供給される。CPU48は、この実行命令を受ける
と、まず、ポート切替え命令(図5のステップS20参
照)によって指定されたディスクインタフェースブロッ
ク41(m)と、DMAC43とに、セクタマップの転
送命令を供給する。
A multiplexing execution instruction (see step S15 in FIG. 5) supplied from the control device 50 to the multiplexing device 40 is transmitted to the CPU 4 via the external interface circuit 49.
8 is supplied. Upon receiving this execution instruction, the CPU 48 first supplies a sector map transfer instruction to the disk interface block 41 (m) designated by the port switching instruction (see step S20 in FIG. 5) and the DMAC 43.

【0048】ディスクインタフェースブロック41
(m)は、この転送命令を受け取ると、ハードディスク
装置20(m)にセクタマップの読出しを指示する。ハ
ードディスク装置20(m)は、この指示を受けると、
ハードディスクからセクタマップを読み出し、ディスク
インタフェースブロック41(m)に供給する。ディス
クインタフェースブロック41(m)は、このセクタマ
ップを受け取ると、その形式を多重化装置40の内部の
データ形式に変換した後、DMAC43に供給する。D
MAC43は、CPU48からセクタマップの転送命令
を受け取ると、ディスクインタフェースブロック41
(m)から供給されるセクタマップをメモリ42に書き
込む。
Disk interface block 41
(M), upon receiving this transfer command, instructs the hard disk device 20 (m) to read the sector map. When the hard disk device 20 (m) receives this instruction,
The sector map is read from the hard disk and supplied to the disk interface block 41 (m). Upon receiving this sector map, the disk interface block 41 (m) converts the format into a data format inside the multiplexer 40, and then supplies the data to the DMAC 43. D
When the MAC 43 receives the sector map transfer command from the CPU 48, the disk interface block 41
The sector map supplied from (m) is written into the memory 42.

【0049】この書込みが終了すると、CPU48は、
メモリ42に書き込まれたセクタマップを読み出し、多
重化器44に供給する。多重化器44は、このセクタマ
ップを受け取ると、これに基づいて、各データの処理結
果がどのセクタからどれだけあるかを計算する。そし
て、この計算結果に基づいて、複数のデータの処理結果
の多重順序等を決定する。そして、この決定に基づい
て、最初に必要とするデータの処理結果の転送命令をC
PU48に供給する。
When the writing is completed, the CPU 48
The sector map written in the memory 42 is read and supplied to the multiplexer 44. Upon receiving this sector map, the multiplexer 44 calculates the number of sectors from which sector the processing result of each data is based on the sector map. Then, based on the calculation result, the multiplexing order and the like of the processing results of the plurality of data are determined. Then, based on this determination, the transfer instruction of the processing result of the first required data is
Supply to PU48.

【0050】CPU48は、この転送命令を受け取る
と、この命令によって指定されるデータの処理結果をハ
ードディスク装置20(m)からメモリ42に転送する
ための転送命令を作成する。この作成は、メモリ42の
記憶容量を考慮して、メモリ42に記憶されているセク
タマップに従って行われる。CPU48は、この転送命
令の作成が終了すると、これをディスクインタフェース
ブロック41(m)とDMAC43とに供給する。ディ
スクインタフェースブロック41(m)とDMAC43
は、この転送命令を受け取ると、この命令によって指定
される処理結果を、ハードディスク装置20(m)から
メモリ42に転送する。
When receiving the transfer command, the CPU 48 creates a transfer command for transferring the processing result of the data specified by the command from the hard disk device 20 (m) to the memory 42. This creation is performed according to the sector map stored in the memory 42 in consideration of the storage capacity of the memory 42. When the creation of the transfer command is completed, the CPU 48 supplies this to the disk interface block 41 (m) and the DMAC 43. Disk interface block 41 (m) and DMAC 43
Upon receiving this transfer command, transfers the processing result specified by this command from the hard disk device 20 (m) to the memory.

【0051】CPU48は、この転送により、メモリ4
2に予め定めた量の処理結果が書き込まれると、この処
理結果を読み出して、多重化器44に供給する。多重化
器44は、この処理結果を受け取ると、これをMPEG
2の多重化規格に従ってパケット化し、メモリ45に書
き込む。この書込みが終了すると、CPU48は、多重
化器44が最初に必要とするデータの処理結果のうち、
まだ、転送の済んでいない処理結果があれば、その転送
処理を実行する。この転送が終了すると、多重化器44
は、この転送により得られた処理結果をパケット化し、
メモリ45に書き込む。
The CPU 48 transfers the memory 4
When a predetermined amount of processing result is written in 2, the processing result is read and supplied to the multiplexer 44. Upon receiving the processing result, the multiplexer 44 converts the processing result into an MPEG.
The packet is packetized according to the multiplexing standard of No. 2 and written into the memory 45. When the writing is completed, the CPU 48 determines, among the processing results of the data that the multiplexer 44 first needs,
If there is a processing result that has not been transferred yet, the transfer processing is executed. When this transfer is completed, the multiplexer 44
Will packetize the processing result obtained by this transfer,
Write to the memory 45.

【0052】このようにして、多重化器44が最初に必
要とするデータの処理結果の多重化処理がすべて終了す
ると、多重化器44は、次に必要とするデータの処理結
果の転送命令をCPU48に供給する。これにより、今
度は、この処理結果について、上述したような処理が実
行される。以下、同様に、すべてのデータの処理結果に
ついて、上述したような処理が実行される。これによ
り、複数のデータの処理結果は、各データごとにパケッ
ト化され、このパケット単位で多重される。
In this manner, when all the multiplexing processing of the data processing result required first by the multiplexer 44 is completed, the multiplexer 44 issues a transfer instruction of the processing result of the data required next. It is supplied to the CPU 48. As a result, the above-described processing is performed on the processing result. Hereinafter, similarly, the above-described processing is performed on the processing results of all data. As a result, the processing results of a plurality of data are packetized for each data and multiplexed in packet units.

【0053】CPU48は、メモリ45に予め定めた量
の処理結果(多重化処理の処理結果)が蓄積されるたび
に、DMAC46とディスクインタフェースブロック4
7に、この処理結果の転送命令を供給する。これによ
り、メモリ45に蓄積されている処理結果は、DMAC
46と、ディスクインタフェースブロック47とを介し
てハードディスク装置90に転送される。これにより、
このハードディスク装置90のハードディスクには、符
号化された複数のデータの多重結果が蓄積される。
Each time a predetermined amount of processing results (processing results of the multiplexing process) are stored in the memory 45, the CPU 48 and the disk interface block 4
7 is supplied with a transfer instruction of this processing result. As a result, the processing result stored in the memory 45 becomes the DMAC
The data is transferred to the hard disk device 90 via the disk interface block 47 and the disk interface block 47. This allows
The multiplex result of a plurality of encoded data is stored on the hard disk of the hard disk device 90.

【0054】このようにして、1プログラム分の多重化
処理が終了すると、CPU48は、その旨を外部インタ
フェース回路49を介して制御装置50に通知する。制
御装置50は、この通知を受けると、多重化処理が終了
したと判定し、ストップフラグが設定されているか否か
を判定する(図5のステップS17,S18)。以上
が、多重化装置40の多重化処理である。
When the multiplexing process for one program is completed in this way, the CPU 48 notifies the control device 50 via the external interface circuit 49 of the completion. Upon receiving this notification, the control device 50 determines that the multiplexing process has been completed, and determines whether or not the stop flag has been set (steps S17 and S18 in FIG. 5). The above is the multiplexing process of the multiplexing device 40.

【0055】以上詳述した本実施の形態によれば、圧縮
符号化処理の処理結果を記憶するための記憶手段とし
て、2つのハードディスク装置20(1),20(2)
を設け、これら2つのハードディスク装置20(1),
20(2)に、圧縮符号化処理の処理結果をプログラム
単位で交互に書き込むととともに、書込みがなされてい
ない方のハードディスク装置20(m)から処理結果を
読み出して多重化処理を実行するようにしたので、圧縮
符号化処理と多重化処理とを同時に実行することができ
る。
According to the present embodiment described above, the two hard disk drives 20 (1) and 20 (2) serve as storage means for storing the processing results of the compression encoding processing.
And these two hard disk devices 20 (1),
At 20 (2), the processing result of the compression encoding process is alternately written in units of a program, and the processing result is read from the hard disk device 20 (m) to which the writing has not been performed to execute the multiplexing process. Therefore, the compression encoding process and the multiplexing process can be performed simultaneously.

【0056】これにより、あるプログラムの圧縮符号化
処理と多重化処理とが終了した時点で、次のプログラム
の圧縮符号化処理と多重化処理とを実行する構成に比
べ、処理時間を短縮することができる。すなわち、今、
簡単のために、N(N=1,2,…)個のプログラムの
圧縮符号化処理の処理時間と多重化処理の処理時間とを
すべてTとする。この場合、あるプログラムの圧縮符号
化処理と多重化処理とが終了した時点で、次のプログラ
ムの圧縮符号化処理と多重化処理とを実行するような構
成では、N個のプログラムを処理するのに要する時間
は、2NTとなる。これに対し、本実施の形態では、1
番目のプログラムの圧縮符号化処理と最後のプログラム
の多重化処理とを除いて、あるプログラムの圧縮符号化
処理とこれより1つ前のプログラムの多重化処理とを同
時に実行することができる。これにより、N個のプログ
ラムの処理時間は、上記例の約半分の(N+1)Tとな
る。
Thus, when the compression encoding process and the multiplexing process of one program are completed, the processing time can be shortened as compared with the configuration in which the compression encoding process and the multiplexing process of the next program are executed. Can be. That is, now
For simplicity, let T be the processing time of the compression encoding process and the processing time of the multiplexing process of N (N = 1, 2,...) Programs. In this case, in a configuration in which the compression encoding process and the multiplexing process of the next program are executed when the compression encoding process and the multiplexing process of one program are completed, the N programs are processed. Takes 2NT. On the other hand, in the present embodiment, 1
Except for the compression encoding process of the first program and the multiplexing process of the last program, it is possible to simultaneously execute the compression encoding process of a certain program and the multiplexing process of the immediately preceding program. As a result, the processing time of the N programs is (N + 1) T, which is about half of the above example.

【0057】また、上述したような構成によれば、1つ
のハードディスク装置20(m)上での処理結果の書込
み処理と読出し処理との衝突を考慮する必要がないの
で、圧縮符号化処理と多重化処理とを制御するための制
御構成を簡単化することができる。
Further, according to the above-described configuration, it is not necessary to consider the collision between the writing process and the reading process of the processing result on one hard disk drive 20 (m). It is possible to simplify the control configuration for controlling the conversion processing.

【0058】以上、本発明の一実施の形態を詳細に説明
したが、本発明は、上述したような実施の形態に限定さ
れるものではない。例えば、先の実施の形態では、本発
明を、DVDオーサリングシステムに適用する場合を説
明した。しかし、本発明は、DVDオーサリングシステ
ム以外の符号化・多重化システムにも適用することがで
きる。このほかにも、本発明は、その要旨を逸脱しない
範囲で種々様々変形実施可能なことは勿論である。
Although the embodiment of the present invention has been described in detail, the present invention is not limited to the above-described embodiment. For example, in the above embodiment, a case has been described in which the present invention is applied to a DVD authoring system. However, the present invention can also be applied to encoding / multiplexing systems other than the DVD authoring system. In addition, it goes without saying that the present invention can be variously modified and implemented without departing from the scope of the invention.

【0059】[0059]

【発明の効果】以上詳述したように本発明に係る符号化
・多重化システムによれば、圧縮符号化処理の処理結果
を記憶するための記憶手段として、2つの記憶手段を設
け、これら2つの記憶手段に、圧縮符号化処理の処理結
果を所定の単位ずつ交互に書き込むととともに、これら
2つの記憶手段のうち、処理結果の書込みがなされてい
ない方の記憶手段から処理結果を読み出して多重化処理
を実行するようにしたので、処理時間を短縮することが
できるとともに、圧縮符号化処理と多重化処理とを制御
するための制御構成を簡単化することができる。
As described above in detail, according to the coding / multiplexing system of the present invention, two storage means are provided as storage means for storing the processing results of the compression coding processing. The processing result of the compression encoding process is alternately written in a predetermined unit into two storage units, and the processing result is read out from the storage unit in which the processing result has not been written out of the two storage units, and multiplexed. Since the encoding process is executed, the processing time can be shortened, and the control configuration for controlling the compression encoding process and the multiplexing process can be simplified.

【0060】また、本発明に係る符号化装置によれば、
圧縮符号化処理の処理結果を2つの記憶手段に所定の単
位ずつ交互に書き込むようにしたので、本発明に係る符
号化・多重化システムを構成するのに適した符号化装置
を提供することができる。
According to the encoding apparatus of the present invention,
Since the processing result of the compression encoding process is alternately written in two storage units by a predetermined unit, it is possible to provide an encoding device suitable for configuring the encoding / multiplexing system according to the present invention. it can.

【0061】さらに、本発明に係る多重化装置によれ
ば、圧縮符号化処理の処理結果を記憶するための2つの
記憶手段のうち、処理結果の書込みがなされていない方
の記憶手段から処理結果を読み出して多重化処理を実行
するようにしたので、本発明に係る符号化・多重化シス
テムを構成するのに適した多重化装置を提供することが
できる。
Further, according to the multiplexing apparatus of the present invention, the processing result is stored in the storage unit in which the processing result is not written out of the two storage units for storing the processing result of the compression encoding process. Is read and the multiplexing process is executed, so that it is possible to provide a multiplexing device suitable for configuring the encoding / multiplexing system according to the present invention.

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

【図1】本発明の一実施の形態に係る符号化・多重化シ
ステムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an encoding / multiplexing system according to an embodiment of the present invention.

【図2】本発明の一実施の形態に係る符号化・多重化シ
ステムを説明するための図であって、特に、ハードディ
スク装置における処理結果の記憶状態の一例を示す図で
ある。
FIG. 2 is a diagram for describing an encoding / multiplexing system according to an embodiment of the present invention, and is a diagram particularly illustrating an example of a storage state of processing results in a hard disk device.

【図3】本発明の一実施の形態に係る符号化・多重化シ
ステムを説明するための図であって、特に、図2に示し
た記憶状態におけるセクタマップの一例を示す図であ
る。
3 is a diagram for explaining an encoding / multiplexing system according to one embodiment of the present invention, and is a diagram particularly showing an example of a sector map in a storage state shown in FIG. 2;

【図4】本発明の一実施の形態に係る符号化・多重化シ
ステムにおける符号化装置の具体的構成の一例を示すブ
ロック図である。
FIG. 4 is a block diagram illustrating an example of a specific configuration of an encoding device in an encoding / multiplexing system according to an embodiment of the present invention.

【図5】本発明の一実施の形態に係る符号化・多重化シ
ステムにおける多重化装置の具体的構成の一例を示すブ
ロック図である。
FIG. 5 is a block diagram showing an example of a specific configuration of a multiplexing device in an encoding / multiplexing system according to an embodiment of the present invention.

【図6】図4及び図5に示した制御装置の動作を示すフ
ローチャートである。
FIG. 6 is a flowchart showing an operation of the control device shown in FIGS. 4 and 5;

【図7】従来の符号化・多重化システムの構成を示すブ
ロック図である。
FIG. 7 is a block diagram showing a configuration of a conventional encoding / multiplexing system.

【図8】従来の符号化・多重化システムの問題を解決す
るために考えられる符号化・多重化システムの構成を示
すブロック図である。
FIG. 8 is a block diagram showing a configuration of an encoding / multiplexing system that can be considered to solve the problem of the conventional encoding / multiplexing system.

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

20(1),20(2),90…ハードディスク装置、
30…符号化装置、40…多重化装置、50…制御装
置、60…バス、70…VTR、80…プライベート発
生器、31…ビデオ符号化器、32…オーディオ符号化
器、33…プライベート符号化器、34,42,45…
メモリ、35,43,46…DMAC、36(1),3
6(2),41(1),41(2),47…ディスクイ
ンタフェースブロック、37,48…CPU、38,4
9…外部インタフェースブロック、44多重化器。
20 (1), 20 (2), 90 ... Hard disk device,
Reference numeral 30: coding device, 40: multiplexer, 50: control device, 60: bus, 70: VTR, 80: private generator, 31: video encoder, 32: audio encoder, 33: private encoding Vessels, 34, 42, 45 ...
Memory, 35, 43, 46... DMAC, 36 (1), 3
6 (2), 41 (1), 41 (2), 47 ... disk interface block, 37, 48 ... CPU, 38, 4
9 ... External interface block, 44 multiplexer.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータを個別に符号化する符号化
手段と、 この符号化手段の処理結果を記憶するための2つの記憶
手段と、 前記符号化手段の処理結果を所定単位ずつ前記2つの記
憶手段に交互に書き込む書込み手段と、 前記2つの記憶手段のうち、前記書込み手段による書込
みがなされていない方の記憶手段から、この記憶手段に
記憶されている複数のデータの処理結果を読み出す読出
し手段と、 この読出し手段によって読み出された複数のデータの処
理結果を多重する多重化手段とを備えたことを特徴とす
る符号化・多重化システム。
An encoding unit for individually encoding a plurality of data; two storage units for storing processing results of the encoding unit; and a processing unit for storing a processing result of the encoding unit in a predetermined unit. Writing means for writing alternately into two storage means; and reading out the processing results of a plurality of data stored in the storage means from the storage means which has not been written by the writing means among the two storage means. An encoding / multiplexing system comprising: reading means; and multiplexing means for multiplexing processing results of a plurality of data read by the reading means.
【請求項2】 複数のデータを個別に符号化する符号化
手段と、 この符号化手段の処理結果を2つの記憶手段に所定単位
ずつ交互に書き込む書込み手段とを備えたことを特徴と
する符号化装置。
2. A code comprising: coding means for individually coding a plurality of data; and writing means for alternately writing a processing result of the coding means to two storage means by a predetermined unit. Device.
【請求項3】 個別に符号化された複数のデータの処理
結果が所定単位ずつ交互に書き込まれる2つの記憶手段
のうち、前記処理結果の書込みがなされていない方の記
憶手段からこの記憶手段に記憶されている複数のデータ
の処理結果を読み出す読出し手段と、 この読出し手段によって読み出された複数のデータの処
理結果を多重する多重化手段とを備えたことを特徴とす
る多重化装置。
3. A storage unit in which a processing result of a plurality of individually encoded data is alternately written in a predetermined unit from a storage unit in which the processing result is not written is stored in the storage unit. A multiplexing apparatus comprising: a reading unit that reads processing results of a plurality of stored data; and a multiplexing unit that multiplexes processing results of a plurality of data read by the reading unit.
JP22932196A 1996-08-12 1996-08-12 Coding/multiplexing system, coding device and multiplexer Pending JPH1055614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22932196A JPH1055614A (en) 1996-08-12 1996-08-12 Coding/multiplexing system, coding device and multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22932196A JPH1055614A (en) 1996-08-12 1996-08-12 Coding/multiplexing system, coding device and multiplexer

Publications (1)

Publication Number Publication Date
JPH1055614A true JPH1055614A (en) 1998-02-24

Family

ID=16890320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22932196A Pending JPH1055614A (en) 1996-08-12 1996-08-12 Coding/multiplexing system, coding device and multiplexer

Country Status (1)

Country Link
JP (1) JPH1055614A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868096B1 (en) 1997-09-22 2005-03-15 Nec Electronics Corporation Data multiplexing apparatus having single external memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868096B1 (en) 1997-09-22 2005-03-15 Nec Electronics Corporation Data multiplexing apparatus having single external memory

Similar Documents

Publication Publication Date Title
US6111592A (en) DMA data transfer apparatus, motion picture decoding apparatus using the same, and DMA data transfer method
JP2003032617A (en) Data record reproducing device and method therefor
JPH10269706A (en) Information reproducing apparatus and information reproducing method
US6240469B1 (en) System for transferring motion picture data between peripheral device interfaces by second peripheral interface issuing data transaction based on information set by processor to designate first peripheral interface
KR100629093B1 (en) Decoding apparatus and decoding method
JP3740213B2 (en) Playback device
JP4438059B2 (en) Image reproducing apparatus and control method thereof
JPH1055614A (en) Coding/multiplexing system, coding device and multiplexer
US6847687B2 (en) Audio and video processing apparatus
JPH0898160A (en) Data multiplexing device
JP4900945B2 (en) Recording apparatus and recording method
JP3436818B2 (en) Computer system and video playback method
JP2000276856A (en) Data recording device, data recording method, data reproducing device, and data reproducing method
JP3526153B2 (en) Data recording / reproducing device
JP4809956B2 (en) Method and apparatus for controlling a data buffer
JP4538161B2 (en) Video / audio processor
JP2001309306A (en) Reproduction apparatus and method, and recording medium
KR100281014B1 (en) Data transmission method using ATAPI command transmission format
JP2942738B2 (en) Data decryption IC
WO2002104017A1 (en) Image recordimg device and method
JP3814875B2 (en) Audio / video data supply apparatus and method
JP2007172672A (en) Information processing apparatus and method, and program
JP2000149509A (en) Data recording / reproducing apparatus and data recording / reproducing method
JPH08248936A (en) Video data display device
JP2005004840A (en) Disc player