JPH03205985A - Multiprocessor type moving image encoder and bus control method - Google Patents

Multiprocessor type moving image encoder and bus control method

Info

Publication number
JPH03205985A
JPH03205985A JP2095310A JP9531090A JPH03205985A JP H03205985 A JPH03205985 A JP H03205985A JP 2095310 A JP2095310 A JP 2095310A JP 9531090 A JP9531090 A JP 9531090A JP H03205985 A JPH03205985 A JP H03205985A
Authority
JP
Japan
Prior art keywords
unit
processing
bus
input
unit processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2095310A
Other languages
Japanese (ja)
Other versions
JP2836902B2 (en
Inventor
Kenichi Asano
浅野 研一
Ryuta Suzuki
隆太 鈴木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9531090A priority Critical patent/JP2836902B2/en
Publication of JPH03205985A publication Critical patent/JPH03205985A/en
Application granted granted Critical
Publication of JP2836902B2 publication Critical patent/JP2836902B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Multi Processors (AREA)
  • Image Processing (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To utilize the throughput of a multiprocessor at a maximum by dividing a picture into plural blocks and sharing a processing task respectively equally for plural unit processor modules. CONSTITUTION:The picture is divided into the plural blocks by a task control part 7 and while referring a task table 8 storing information required for controlling the unit processors, a processing block and a processing task optimum to each unit processor module 11 are decided. Then, encoding is executed while sharing the processing task respectively equally for the plural unit processor modules 11. Plural shared memories 10 to store local decoding data or data under encoding and parameter are connected through plural memory buses, which are independently provided, to the respective plural unit processor modules 11 and the plural memory buses can be utilized for the access of the shared memory. Thus, the throughput of the multiprocessor can be utilized at a maximum.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数の単位プロセッサに処理タスクを分担
させてブロック単位で符号化を行うマルチプロセッサ型
動画像符号化装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiprocessor-type video encoding device that performs encoding in units of blocks by having a plurality of unit processors share processing tasks.

〔従来の技術〕[Conventional technology]

第19図は例えばPCS ’88 Pl5.2  ”^
RCHITECTtJRE OF A FULL MO
TION 64KBIT/S VIDEO CODIE
C”に記載されている従来のマルチプロセッサ型動画像
符号化装W(以下、「従来例1」と称する場合もある)
の構成を示すブロック図である。同図に示すように、C
PU1に連係するVMEバス5には、共有メモリ2と単
位プロセッサ(ディジタル信号処理プロセッサ)3a〜
3hが接続されている。各単位プロセッサ3a〜3hに
はローカルメモリ48〜4hが設けられ、この各ローカ
ルメモリ4a〜4hと共用メモリ2とは、メモリバス6
によって連係されている。そして、それぞれ共有メモリ
2には入力データ100が入力され、CPU1には伝送
データ101か人出力されるようになっている。
Figure 19 shows, for example, PCS '88 Pl5.2 "^
RCHITECTtJRE OF A FULL MO
TION 64KBIT/S VIDEO CODIE
Conventional multiprocessor type video encoding device W described in “C” (hereinafter sometimes referred to as “Conventional Example 1”)
FIG. 2 is a block diagram showing the configuration of FIG. As shown in the figure, C
A VME bus 5 linked to the PU 1 includes a shared memory 2 and unit processors (digital signal processing processors) 3a to 3.
3h is connected. Each unit processor 3a to 3h is provided with local memories 48 to 4h, and each local memory 4a to 4h and the shared memory 2 are connected to a memory bus 6.
are linked by. Input data 100 is input to the shared memory 2, and transmission data 101 is output to the CPU 1, respectively.

なお、本システムは単位プロセッサによる並列構成をと
り、固定の画像領域分割処理を行うようになっている。
Note that this system has a parallel configuration using unit processors and performs fixed image region division processing.

第・19図において、8個の単位プロセッサのうち6個
の単位プロセッサを輝度信号担当単位プロセッサとし、
画像を垂直な線で均等に6分割して各単位プロセッサの
分担領域とし、2個の単位プロセッサを2種の色差信号
担当単位プロセッサとし、各単位プロセッサは自己の担
当領域の符号化処理を行うようになっている。
In FIG. 19, six of the eight unit processors are designated as brightness signal unit processors,
The image is equally divided into 6 parts by vertical lines, each unit processor has an assigned area, and the 2 unit processors are responsible for 2 types of color difference signals, and each unit processor performs encoding processing for its own area. It looks like this.

また、通常、動画符号化は、画像フレームをL個(Lは
1以上の整数、第20図の例では3)の領域に分割し、
すでに符号化済みのt番目の領域までの発生情報量を元
にしてi+1番目の領域の符号化制御パラメータ(T 
C R)を設定するといったフィードバック制御を行っ
ており、第20図に画像フレームの単位プロセッサの領
域分割およびフィードバック制御の領域分割を示す。な
お、第20図は説明を簡単にするために3個の単位プロ
セッサを用いて3領域に分割してフィードバック制御を
行い、輝度信号のみを符号化する場合の例であり、画像
フレームを単位プロセッサごとにA,B,Cの3領域に
分割し、さらにそれぞれの領域をA1〜A3,81〜B
3,c1〜c3の3閉域に分割している。
Also, normally, in video encoding, an image frame is divided into L regions (L is an integer of 1 or more, 3 in the example of FIG. 20), and
The encoding control parameter (T
Feedback control such as setting CR) is performed, and FIG. 20 shows the region division of an image frame by a unit processor and the region division for feedback control. In order to simplify the explanation, FIG. 20 is an example in which three unit processors are used to divide the image into three areas, perform feedback control, and encode only the luminance signal. Each area is divided into three areas A, B, and C, and each area is further divided into three areas A1 to A3 and 81 to B.
3, it is divided into three closed regions c1 to c3.

次に動作について説明する。Next, the operation will be explained.

入力データ100は共有メモリ2に1フレーム分たけ書
き込まれる。
Input data 100 is written into the shared memory 2 for one frame.

そして、CPUIは8個の単位プロセッサ3a〜3hに
順次転送を指示し、各単位プロセッサ3a〜3hは共有
メモリ2からメモリバス6を介して自己の担当領域の入
力データと自己の担当領域の符号化で必要な領域の過去
において既に符号化済みのフィードバックデータとを自
己のローカルメモリ4a〜4hにそれぞれ転送する。
Then, the CPUI instructs the eight unit processors 3a to 3h to sequentially transfer the data, and each unit processor 3a to 3h receives the input data of its own area from the shared memory 2 via the memory bus 6 and the code of its own area. The feedback data that has already been encoded in the past in the area required for encoding is transferred to its own local memories 4a to 4h, respectively.

それから、転送が終了した単位プロセッサ3a〜3hは
次に自己の最初の担当領域を処理単位のブロックに分割
し、各ブロックに対して予め定められた順序に従って複
数種類の処理タスクを順次実行し、符号化データをVM
Eバス5を介してCPU1に転送し、符号化データを局
部復号してフィードバックデータを作或し、メモリバス
6を介して共有メモリ2へ転送する。
Then, the unit processors 3a to 3h that have completed the transfer next divide their first responsible area into blocks of processing units, sequentially execute multiple types of processing tasks for each block in a predetermined order, VM encoded data
The encoded data is transferred to the CPU 1 via the E bus 5, and the encoded data is locally decoded to create feedback data, which is then transferred to the shared memory 2 via the memory bus 6.

このようにして、最初の担当領域の処理か終了した単位
プロセッサ3a〜3hはCPUIから次の領域の処理開
始指示があるまで待ち状態となる(第21図に示すよう
に、全単位プロセッサ#1〜#3の一連のタスク処理(
TI,T2)が終了するまで、次の処理が行なえない)
In this way, the unit processors 3a to 3h, which have finished processing the first area in charge, enter a waiting state until they receive an instruction from the CPU to start processing the next area (as shown in FIG. 21, all unit processors #1 ~Series of task processing in #3 (
The next process cannot be performed until TI, T2) is completed)
.

そして、CPUIは、各単位プロセッサ3a〜3hから
VMEバス5を介して符号化データを受取り、該データ
を伝送フォーマットに従った順序で再構成し、多重情報
を付加して伝送データ101を作成して伝送路に送出し
、更に各単位プロセッサ3a〜3hの担当処理領域の処
理終了を監視し、全ての単位プロセッサ3a〜3hが担
当処理領域の処理を終了したことを検知すると、各単位
プロセッサ3a〜3hに次の処理領域の処理開始を指示
する。
Then, the CPUI receives encoded data from each unit processor 3a to 3h via the VME bus 5, reconfigures the data in the order according to the transmission format, and adds multiplex information to create transmission data 101. Furthermore, each unit processor 3a to 3h monitors the completion of processing in its assigned processing area, and when it is detected that all unit processors 3a to 3h have finished processing in their assigned processing area, each unit processor 3a -3h, instructs to start processing the next processing area.

ところで、本例のような固定の領域分割型並列処理の場
合でも、ある分割領域の処理開始時に各単位プロセッサ
3a〜3hが入力データを共有メモリ2から自己のロー
カルメモリ4a〜4hに転送する時や、各単位プロセッ
サ3a〜3hが自己の担当領域の処理を終了し、フィー
ドバックデータをローカルメモリ4から共有メモリ2に
転送する時にはメモリバス6においてバス競合が生じ、
この時には各単位プロセッサ3a〜3hは、共有メモリ
アクセス指示を受取るまで待ち状態となる。
By the way, even in the case of fixed region-divided parallel processing as in this example, when each unit processor 3a to 3h transfers input data from the shared memory 2 to its own local memory 4a to 4h at the start of processing of a certain divided region, Also, when each unit processor 3a to 3h finishes processing in its own area and transfers feedback data from the local memory 4 to the shared memory 2, bus contention occurs on the memory bus 6.
At this time, each unit processor 3a to 3h is in a waiting state until it receives a shared memory access instruction.

さらに、演算量に応じて、並列構成の各単位プロセッサ
3a〜3hに可変の領域とタスクを随時割振るといった
タスク分散型並列処理の場合はなおさら、タスクの終了
ごとに共有メモリアクセス要求を出していたのでは、単
位プロセッサ3a〜3hの並列数が増加するのに伴って
頻繁に上記バス競合が生じ、単位プロセッサ3a〜3h
の処理効率が低下することになる。
Furthermore, in the case of task-distributed parallel processing in which variable areas and tasks are allocated to each unit processor 3a to 3h in a parallel configuration at any time according to the amount of calculation, a shared memory access request is issued every time a task is completed. In this case, as the number of parallel unit processors 3a to 3h increases, the above bus contention occurs frequently, and
The processing efficiency will be reduced.

以上が従来例1のマルチプロセッサ型動画像符号化装置
についての説明である。
The above is a description of the multiprocessor type video encoding device of Conventional Example 1.

第22図は、特開昭62−86464号公報に記載され
た従来のマルチプロセッサ型動画像符号化装置(以下、
「従来例2」と称する場合もある)のブロック構成図で
ある。このマルチプロセッサ型動画像符号化装置は、1
画面(フレーム)を、例えば第23図に示す如く複数個
の区分画面A〜Cに区分し、各区分画面A−Cに1台ず
つの単位プロセッサ(単位シグナルプロセッサ)を割当
て複数個の単位プロセッサで並列的に画像信号を処理す
ることにより動画信号(テレビ信号等)の高能率符号化
を目指したものである。
FIG. 22 shows a conventional multiprocessor type video encoding device (hereinafter referred to as
FIG. 2 is a block diagram of a conventional example (sometimes referred to as "conventional example 2"). This multiprocessor type video encoding device has 1
A screen (frame) is divided into a plurality of divided screens A to C as shown in FIG. 23, for example, and one unit processor (unit signal processor) is assigned to each divided screen A to C. The aim is to achieve high-efficiency encoding of video signals (TV signals, etc.) by processing image signals in parallel.

第22図において、51はテレビ信号等の入力画像信号
(以下、TV信号入力という)の入力バス、52は符号
化・復号化済部分画面信号のフィードバックバス、53
は符号化結果の出力バス、41〜43は単位プロセッサ
であり、それぞれ上記区分画面A−Cを分担して処理す
る。単位プロセッサ41〜43は内部に取込み部55、
処理部56および出力部57を備えている。この取込み
部55は担当する区分画面領域の取込み指令に同期して
入力バス51から担当する区分画面領域の入力画像信号
(部分画像信号)を、フィードバックバス52から近傍
処理のための後述する符号化・復号化済信号を取り込ん
で記憶する。なお、近傍処理については、特開昭62−
266678号に開示された手法かある。処理部56は
この記憶された画像データに対して符号化/復号化等の
処即を行う。出力部57は次回の取込み信号に同期して
処理部56ての処理結果としての符号化信号を出力バス
53に送出するととも上記した符号化・復号化済信号を
入力画像補助信号としてフィードバックバス52を通し
他の単位プロセッサへ送出する。
In FIG. 22, 51 is an input bus for input image signals such as television signals (hereinafter referred to as TV signal input), 52 is a feedback bus for encoded/decoded partial screen signals, and 53 is a feedback bus for encoded/decoded partial screen signals.
1 is an output bus for encoding results, and 41 to 43 are unit processors, which respectively process the divided screens A to C. Each of the unit processors 41 to 43 includes an intake section 55,
It includes a processing section 56 and an output section 57. This capture unit 55 receives an input image signal (partial image signal) of the segmented screen area for which it is responsible from the input bus 51 in synchronization with a capture command for the segmented screen area for which it is responsible, and encodes it from the feedback bus 52 for neighborhood processing, which will be described later. - Capture and store the decoded signal. Regarding neighborhood processing, please refer to Japanese Unexamined Patent Publication No. 1986-
There is a method disclosed in No. 266678. The processing unit 56 performs processing such as encoding/decoding on the stored image data. The output unit 57 synchronizes with the next acquisition signal and sends the encoded signal as a processing result of the processing unit 56 to the output bus 53, and also sends the encoded/decoded signal described above to the feedback bus 52 as an input image auxiliary signal. to other unit processors.

次に動作について説明する。ここでは説明の都合上画面
全体を3分割し、3個の単位プロセッサて処理する場合
を示し、従って、画面は第26図に示す如く部分画面A
−Cに分割し、各々が#1〜#3に対応する単位プロセ
ッサ41〜43に対応するものとする。
Next, the operation will be explained. For convenience of explanation, here we will show a case where the entire screen is divided into three parts and processed by three unit processors.
-C, and each corresponds to unit processors 41 to 43 corresponding to #1 to #3.

ます、入力ハス51上には部分画面A−Cに対応するテ
レビ信号としての入力部分画面信号S1〜S3が第27
図に示すように時間的に連続して流れる。そして、例え
ば#1の単位プロセッサ41は第27図に示すような取
り込み動作タイミングに合わせて、入力バス51上の#
1の入力部分画面信号S1を取込部55に取り込んで記
憶する。ここで、各入力部分画面信号81〜s3はF(
自然数)枚/秒の一定の速度で入力される。このため、
取り込んだ各入力部分画面信号81〜S3の処理は、次
回の入力部分画面信号s1〜s3の取り込み迄に終了す
る必要がある。
On the input lotus 51, the input partial screen signals S1 to S3 as television signals corresponding to the partial screens A to C are displayed on the 27th screen.
As shown in the figure, the flow is continuous in time. For example, the #1 unit processor 41 receives the #1 signal on the input bus 51 in accordance with the timing of the import operation as shown in FIG.
1 input partial screen signal S1 is captured into the capturing section 55 and stored. Here, each input partial screen signal 81 to s3 is F(
natural number) is input at a constant speed of sheets/second. For this reason,
The processing of each of the captured input partial screen signals 81 to S3 must be completed before the next input partial screen signals s1 to s3 are captured.

一方、処理結果として得られる部分符号化信号は、次回
の取り込みと同時に出力バス53に出力される。また、
画像の高能率符号化技術としてしばしば適用される動き
補償フレーム間符号化方式においては、入力画像Pと1
画面分前の復号画面中で動きの分だけ画面上の位置がず
れた、第28図に示すような画像Qとの差をとって符号
化を行う。そこで符号化処理のためには、動きの分だけ
領域の広がった符号化/復号化済画面が必要となる。こ
のように符号化のためには、入力部分画面(二号81〜
S3より広い範囲の信号が必要となる。
On the other hand, the partially encoded signal obtained as a processing result is output to the output bus 53 at the same time as the next capture. Also,
In the motion compensated interframe coding method, which is often applied as a high-efficiency image coding technique, input images P and 1
Encoding is performed by taking the difference from the image Q shown in FIG. 28, in which the position on the screen is shifted by the amount of movement in the previous decoded screen. Therefore, for the encoding process, an encoded/decoded screen whose area has expanded by the amount of motion is required. In this way, for encoding, the input partial screen (No. 2 81 to
A signal with a wider range than S3 is required.

また、符号化/復号化済部分画面信号F1〜F3が出力
部57よりフィードバックバス52に出力され、第27
図に示す取り込み動作タイミングに合わせて取込部55
に取り込まれ、記憶される。
Further, the encoded/decoded partial screen signals F1 to F3 are output from the output section 57 to the feedback bus 52, and the 27th
The capture unit 55
captured and memorized.

この時、入力部分画面信号81〜S3より広い範囲のデ
ータを取り込むため、取り込み時間がt時間だけ長くな
っている。このように、割り当てられた部分画面よりも
広い範囲の符号化/復号化済部分画面信号F1〜F3を
取り込みながら符号化処理を実行し、出力バス3に信号
01〜03を出力している。
At this time, since data in a wider range than the input partial screen signals 81 to S3 is captured, the capture time is lengthened by t time. In this way, the encoding process is executed while taking in encoded/decoded partial screen signals F1 to F3 in a wider range than the allocated partial screen, and signals 01 to 03 are output to the output bus 3.

第24図および第25図は各バス上の信号に対する各単
位プロセッサ41〜43の信号取込み時間と処理時間と
の関係を第27図より簡略して示したもので、説明を簡
素にするために、区分画面A−Cを担当する単位プロセ
ッサを#1〜#3で示してある。
FIGS. 24 and 25 show the relationship between the signal acquisition time and processing time of each unit processor 41 to 43 for signals on each bus in a simpler manner than in FIG. 27. , unit processors in charge of divided screens A to C are indicated by #1 to #3.

第24図においては、各単位プロセッサ#1〜#3が画
像信号に対する符号化/復号化等処理時間の合計が入力
バス51上の1画像フレームの入力周期以下となってい
るので上記処理は停滞になく続けられるが、1画像フレ
ームの一部が他画像部分より動きのある画面であるよう
な場合、例えば該一部分を担当する単位プロセッサ#2
における処理時間が第25図に斜線で示すように他の単
位プロセッサ#1,#3の処理時間より長くなり、単位
プロセッサ#1,#3に待機時間が生じる。
In FIG. 24, the total processing time of each unit processor #1 to #3 for encoding/decoding the image signal is less than the input cycle of one image frame on the input bus 51, so the above processing is stagnant. However, if a part of an image frame has more movement than other parts of the image, for example, unit processor #2 in charge of the part
As shown by diagonal lines in FIG. 25, the processing time of the unit processor #1 and #3 becomes longer than the processing time of the other unit processors #1 and #3, and a standby time occurs in the unit processors #1 and #3.

以上が従来例2のマルチプロセッサ型動画像符号化装置
についての説明である。
The above is a description of the multiprocessor type video encoding device of Conventional Example 2.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来例1のマルチプロセッサ型動画像符号化装置は以上
の様に構威されていたので、動画像符号化のように処理
に要する演算量が空間的、時間的変化によって極端に変
動する場合(第21図参照)、分担領域の処理が終了し
た単位プロセッサは他の全ての単位プロセッサが処理を
終了するまで待たねばならず、単位プロセッサ当たりの
処理効率が低いという問題点があった。従って、単位プ
ロセッサの並列数は担当領域の最大処理量を想定して設
¥1しなければならず、並列数が極めて多くなること、
並列数の増加に伴って処理のオーノく−ヘッドも増加す
ること、タスクにより処理プロ・ソクサイズが異なる場
合は最大ブロックサイズよりも細かく分割して単位プロ
セッサに割り当てられないために単位プロセッサの並列
数に限界があること、並列数が少ない場合にはローカル
メモリの容量が大きくなること、フイードノ)ツクがか
けづらいこと等の問題点があった。
Since the multiprocessor-type video encoding device of Conventional Example 1 is configured as described above, when the amount of calculation required for processing fluctuates extremely due to spatial and temporal changes, such as video encoding ( (See FIG. 21), a unit processor that has finished processing its assigned area has to wait until all other unit processors have finished their processing, resulting in a problem that the processing efficiency per unit processor is low. Therefore, the number of parallel units of a unit processor must be set assuming the maximum processing amount of the area in charge, and the number of parallel units becomes extremely large.
As the number of parallel processing increases, the number of processing heads also increases, and if the processing block size differs depending on the task, the number of parallel processing per unit processor increases because it cannot be divided into smaller blocks than the maximum block size and allocated to the unit processor. There were problems such as there is a limit to the number of connections, the capacity of local memory becomes large when the number of parallels is small, and it is difficult to perform feed-back operations.

また、共有メモリアクセスが必要となった時点て共有メ
モリアクセス要求を出すため、2個以上のプロセッサか
ら同時に共有メモリアクセス要求が出たときにバス競合
が生し、使用許可が与えられなかったプロセッサは、許
可が与えられるまで何ら動作を行えない事になり、)<
スネ・ソクによる処理効率の低下を招いてしまうという
問題点があった。例えば16X16画素からなる画像を
1処即単位とした動き補償及び離散コサイン変換符号化
を行うためには約1400ワードものデータ転送が必要
であり、かなり高い確率でノくスネ・ソクが生してしま
う。
In addition, since a shared memory access request is issued when shared memory access is required, bus contention occurs when two or more processors issue shared memory access requests at the same time, resulting in processors that are not given permission to use the memory. will not be able to perform any action until permission is granted.)<
There is a problem in that processing efficiency is reduced due to sune and sok. For example, in order to perform motion compensation and discrete cosine transform encoding on a 16x16 pixel image as a unit of processing, approximately 1,400 words of data are required to be transferred, and there is a fairly high probability that nokusune/soku will occur. Put it away.

一方、従来例2のマルチプロセッサ型動画像符号化装置
は以上の様に構戊されていたので、単位プロセッサ41
〜43の処理時間が一定時間17F以内におさまること
を前提とした一種のパイプライン処理を実行し、このた
め高能率符号化のような画像処理においては、処理時間
が入力画像に依存して変化するが、上記のように処理時
間の最長値を基本として画面の分割数を設定しなければ
ならない。ところが単位プロセッサ#1〜#3が担当す
る区分画面が連続していると1画像フレームに画像性質
の局所的な偏り(処理すべきデータ量の疎密)が発生す
る場合があり、その偏りが1つの単位プロセッサの扱う
画像信号に集中的に現れるため、処理時間の最長値を低
下させることは困難である。したがって、平均的処理時
間が最長値よりかなり短い場合でも、分割数を削減でき
す、結局単位プロセッサ41〜43を多数用意する必要
があるなどの問題点があった。また、単位プロセッサの
数を増やすと画像処理プロセッサが高価になるという別
の問題も発生する。
On the other hand, since the multiprocessor type video encoding device of Conventional Example 2 is configured as described above, the unit processor 41
A type of pipeline processing is performed on the premise that the processing time of ~43 will be within a certain time of 17F, so in image processing such as high-efficiency encoding, the processing time varies depending on the input image. However, as mentioned above, the number of screen divisions must be set based on the longest processing time. However, if the divided screens handled by unit processors #1 to #3 are continuous, local bias in image properties (difference in the amount of data to be processed) may occur in one image frame. Since this phenomenon occurs intensively in the image signals handled by one unit processor, it is difficult to reduce the maximum processing time. Therefore, even if the average processing time is considerably shorter than the maximum value, the number of divisions cannot be reduced, and there are problems in that it is necessary to prepare a large number of unit processors 41 to 43. Another problem arises in that increasing the number of unit processors increases the cost of the image processing processor.

この発明は上記のような問題点を解消するためになされ
たもので、複数の単位プロセ・ソサカ為らなるマルチプ
ロセッサの処理能力を最大限Cこ利用することがてきる
マルチプロセ・ノサ型動画像符号fヒ装置を得ることを
目的とする。
This invention was made in order to solve the above-mentioned problems, and it is a multi-processor type video that can utilize the processing power of a multiprocessor consisting of a plurality of unit processors to the maximum extent possible. The purpose is to obtain an image code fhi device.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る請求項1記載のマノレチプロセ・ノサ型
動画像符号化装置は、符号化プログラムCこしたがって
符号化を実行するデイジタノレ信号処理用の単位プロセ
ッサ,前記単位プロセ・ソサとローカルバスを介して接
続されたローカノレメモリ,および制御バスから送られ
る割り込み信号を調停して前記単位プロセッサに受け渡
すと共’r.:煎g己単位プロセッサのアドレスとデー
タを前記口一カノレノくスを介して受けとってこれをデ
コードして割り込み信号を発生して前記制御ノくスに送
出する割り込み制御部からなり、各々が並列に配置され
た複数の単位プロセッサモジュールと、独立して設Cナ
られた復数のメモリl1スを介して前記複数の単位プロ
セッサモジュールそれぞれに接続された局部復号データ
または符号化途中のデータおよび/くラメータを記憶す
る複数の共有メモリと、複数ノく・ノファ構或で一面は
入力データを書き込む回路に躬放されかつ他面は前記単
位プロセ・ンサモジュールに解放されて書き込みと読み
出しが非同期で行える入力フレームメモリと、前記単位
プロセ・ノサモジュール個々の処理タスク内容に関する
過去の履歴、現在の状況及び今後の予測等が格納された
タスクテーブルと、画像を複数のブロックに分割し、前
記タスクテーブルを参照して各前記単位プロセ・ソサモ
ジュールに対する最適な処理ブロックおよび処理タスク
を判定し、前記単位プロセ・ソサモジュールに前記制御
バスを介して前記処理プロ,ンク位置および前記処理タ
スク内容をコマンドで指示することにより、前記複数の
単位プロセ・ソサモジュールに略々均等に前記処理タス
クを分担させて符号化を行うタスク制御部とを備えて構
成されている。
According to claim 1 of the present invention, there is provided a digital signal processing unit processor for processing a digital signal that executes encoding according to an encoding program C; Arbitrates interrupt signals sent from the connected local memory and control bus and delivers them to the unit processor. : Consists of an interrupt control section that receives the address and data of the unit processor via the control node, decodes it, generates an interrupt signal, and sends it to the control node, each of which operates in parallel. locally decoded data or data in the middle of encoding and/or data connected to each of the plurality of unit processor modules via a plurality of independently installed memory spaces; It has a plurality of shared memories for storing parameters and a plurality of nodes/nofa structure, with one side being left open to the circuit for writing input data and the other side being open to the unit processor module, so that writing and reading are asynchronous. an input frame memory that can be used, a task table that stores past history, current situation, future predictions, etc. regarding the processing task contents of each of the unit processor/nosa modules, and a task table that divides the image into multiple blocks. The optimal processing block and processing task for each unit processor/source module are determined by referring to and a task control section that performs encoding by causing the plurality of unit processor/source modules to share the processing task almost equally in response to an instruction.

そして、請求項2記載のバス制御方法は、デイシタル信
号処理用の2個以上の単位プロセ・ノサが時分割で単一
のメモリバスを介してアクセス可能な共有メモリに接続
されている場合におけるメモリバスの制御方法であって
、前記各単位プロセ・ソサは、処理終了より一定時間前
に前記共有メモリに対するアクセス要求を発するように
し、これに対し優先順位の最も高い前記単位ブロセ・ソ
サから順に前記アクセス要求を認めるようにしている。
The bus control method according to claim 2 provides a method for controlling a memory when two or more unit processors for digital signal processing are connected to a shared memory that can be accessed via a single memory bus in a time-sharing manner. In the bus control method, each of the unit processors/sources issues an access request to the shared memory a certain period of time before the end of processing, and in response, the unit processors/sources issue access requests to the shared memory in order from the unit processor/source with the highest priority. Access requests are granted.

また、請求項3記載のマルチプロセッサ型動画像符号化
装置は、1画面上の特定の画面位置領域を分担し、入力
画像信号の前記特定の画面位置領域に対応する部分画像
信号を取込んで信号処理を行ったのち出力バスに送出す
るデイジタル信号処理用の複数の単位プロセッサを有し
、該単位プロセッサは他の単位プロセッサの信号処理済
信号を近傍処理のための入力画像補助信号として取込み
可能で前記単位プロセッサの各々が互いに連続しない複
数の画面位置領域を分担し、全単位プロセッサが分担す
る画面位置領域の入力部分画像信号を取込んだ後、入力
部分画像信号および入力画像補助信号の信号処理を一斉
に開始する。
Further, the multiprocessor type moving image encoding device according to claim 3 shares a specific screen position area on one screen and captures a partial image signal corresponding to the specific screen position area of the input image signal. It has a plurality of unit processors for digital signal processing that performs signal processing and sends it to the output bus, and each unit processor can take in the signal-processed signals of other unit processors as input image auxiliary signals for nearby processing. After each of the unit processors shares a plurality of discontinuous screen position areas, and all unit processors take in the input partial image signals of the screen position areas shared, the signals of the input partial image signal and the input image auxiliary signal are input. Start processing all at once.

さらに、請求項4記載のマルチプロセッサ型動画像符号
化装置は、入力バスに入力される入力部分画面信号をフ
レーム単位で取り込む取込部と、前記入力部分画面信号
に対して符号化/復号化処理を行う処理部と、前記処理
部における部分符号化の処理結果であるを符号化/復号
化済部分画面信号を出力する出力部と、前記符号化/復
号化済部分画面信号を格納する格納部とから構威された
複数の単位プロセッサを備えており、前記各単位プロセ
ッサにおける前記取込み,処理,格納および出力を制御
する制御部と、前記符号化/復号化済部分画面信号を前
記格納部に格納するときに、次フレームの処理に必要と
なるこの符号化/復号化済部分画面信号の一部を自己の
前記単位プロセッサおよび他の前記単位プロセッサのう
ち少なくとも1つから読み書き可能に格納する共用格納
部とを設けたものである。
Furthermore, the multiprocessor type moving image encoding device according to claim 4 further includes a capture unit that captures the input partial screen signal inputted to the input bus in units of frames, and a capture unit that captures the input partial screen signal input to the input bus in units of frames, and encodes/decodes the input partial screen signal. a processing unit that performs processing, an output unit that outputs an encoded/decoded partial screen signal that is a processing result of partial encoding in the processing unit, and a storage that stores the encoded/decoded partial screen signal. a control section that controls the acquisition, processing, storage, and output in each of the unit processors, and a storage section that stores the encoded/decoded partial screen signal. When storing a part of the encoded/decoded partial screen signal necessary for processing the next frame, it is stored so that it can be read and written from at least one of the own unit processor and the other unit processors. A shared storage section is provided.

〔作用〕[Effect]

請求項1記載のマルチプロセッサ型動画像符号化装置に
おいては、タスク制御部により、画像を複数のブロック
に分割し、単位ブロセ・ソサを制御するために必要な情
報が格納されたタスクテーブルを参照して各単位プロセ
ッサモジュールに対する最適な処理ブロックおよび処理
タスクを判定し、複数の単位プロセッサモジュールに略
々均等に処理タスクを分担させて符号化を行って待ち時
間を短くしている。また、局部復号データまたは符号化
達中のデータおよびパラメータを記憶する複数の共有メ
モリは独立して設けられた複数のメモリバスを介して前
記複数の単位プロセッサモジュールそれぞれに接続され
おり共有メモリのアクセスに複数のメモリバスが利用可
能であるため、共有メモリへのアクセス時にバスネック
が生じない。
In the multiprocessor type video encoding device according to claim 1, the task control unit divides the image into a plurality of blocks and refers to a task table in which information necessary for controlling the unit brosses and saucers is stored. The optimum processing block and processing task for each unit processor module are determined, and the processing tasks are shared approximately equally among the plurality of unit processor modules to perform encoding and thereby shorten the waiting time. Further, a plurality of shared memories for storing locally decoded data or data and parameters being encoded are connected to each of the plurality of unit processor modules via a plurality of independently provided memory buses, and access to the shared memory is provided. Because multiple memory buses are available in the system, there are no bus necks when accessing shared memory.

請求項2記載のバス制御方法においては、各単位プロセ
ッサは常に前の処理を終了するよりも一定時間前にバス
使用要求を出すため、ノくス使用要求出力時にバス競合
が起った場合でも、その単位プロセッサは待ち状態とは
ならず、前の処理の続きを実行するので、プロセッサの
処理効率が低下しない。
In the bus control method according to claim 2, since each unit processor always issues a bus usage request a certain period of time before completing the previous process, even if bus contention occurs when outputting a bus usage request, , the unit processor does not go into a waiting state and continues executing the previous process, so the processing efficiency of the processor does not decrease.

請求項3記載のマルチプロセッサ型動画像符号化装置に
おいては、1つの単位プロセッサが複数の区分画面の画
像信号を担当し、かつ区分画面が互いに連続しない離れ
た領域であるため、1画像フレームに画像性質の局所的
な偏りが1つの単位プロセッサの担当する画像信号に集
中的に現れる可能性は低く、1つの区分画面の部分画像
信号に対する処理時間が長くなっても、他の区分画面の
区分画像信号に対する処理時間が短ければ1フレームの
処理時間は平均化される。また、符号化処理は全体の単
位プロセッサが新たな画面の始まりを待って行い、出力
バスへの符号化信号の退出と入力画像補助信号の他単位
プロセッサへの転送は、全単位プロセッサの終了時に実
行されるため、あるフレームの符号化処理が入力周期を
越えた場合でも、入力周期内で処理できる他のフレーム
で吸収することが可能で、フレーム処理全体からみて処
理時間の平均化が行われる。
In the multiprocessor type video encoding device according to claim 3, one unit processor is in charge of image signals of a plurality of divided screens, and since the divided screens are separate areas that are not continuous, one image frame is It is unlikely that local deviations in image properties will appear concentrated in the image signal handled by one unit processor, and even if the processing time for the partial image signal of one divided screen is long, the If the processing time for an image signal is short, the processing time for one frame is averaged. In addition, the encoding process is performed by all unit processors waiting for the start of a new screen, and the exit of the encoded signal to the output bus and the transfer of the input image auxiliary signal to other unit processors are performed at the end of all unit processors. Therefore, even if the encoding process for a certain frame exceeds the input cycle, it can be absorbed by other frames that can be processed within the input cycle, and the processing time is averaged out from the perspective of the entire frame process. .

請求項4記載のマルチプロセッサ型動画像符号化装置に
おいては、一画面を複数の部分画面に分割し、各部分画
面を専用の単位プロセッサで処理し、この処理では符号
化/復号化済部分画面信号を自らの単位プロセッサ内の
格納部に格納すると同時に、他の単位プロセッサからも
参照する必要がある部分の信号に関し、他の単位プロセ
ッサからもアクセスの可能な共用格納部にも同時に格納
し、これにより符号化処理時に、他の単位プロセッサが
共用格納部に書き込んだ符号化/復号化済部分画面信号
も使用できるようにすることにより、部分画面の分割数
を処理時間の平均値に基づいて決定し、処理時間が平均
値より長い場合には、入力部分画面信号の入力速度を落
すようにし、これにより使用する単位プロセッサの数を
減らすようにする。
In the multiprocessor type video encoding device according to claim 4, one screen is divided into a plurality of partial screens, each partial screen is processed by a dedicated unit processor, and in this process, the encoded/decoded partial screen is processed by a dedicated unit processor. storing the signal in a storage section within its own unit processor, and at the same time storing a portion of the signal that needs to be referenced from other unit processors in a shared storage section that is also accessible from other unit processors; This allows the encoded/decoded partial screen signals written by other unit processors to be used in the shared storage during encoding processing, allowing the number of partial screen divisions to be determined based on the average processing time. If the processing time is longer than the average value, the input speed of the input partial screen signal is reduced, thereby reducing the number of unit processors used.

なお、以下に詳述する第1〜第5の実施例と各請求項と
の関連を以下に示す。
Note that the relationship between the first to fifth embodiments described in detail below and each claim is shown below.

第1及び第2の実施例:請求項1記載のマルチプロセッ
サ型動画像符号化装置 第3の実施例:請求項2記載のバス制御方法第4の実施
例:請求項3記載のマルチプロセッサ型動画像符号化装
置 第5の実施例:請求項4記載のマルチプロセッサ型動画
像符号化装置 〔実施例〕 以下、この発明の第1〜第5の実施例について述べる。
First and second embodiments: Multiprocessor type video encoding device according to claim 1 Third embodiment: Bus control method according to claim 2 Fourth embodiment: Multiprocessor type according to claim 3 Fifth Embodiment of Moving Image Coding Device: Multiprocessor type moving image coding device according to claim 4 [Embodiment] First to fifth embodiments of the present invention will be described below.

なお、第1〜第3の実施例は従来例1に対応した実施例
であり、第4,第5の実施例は従来例2に対応した実施
例である。
Note that the first to third embodiments are embodiments corresponding to the first conventional example, and the fourth and fifth embodiments are embodiments corresponding to the second conventional example.

第1図はこの発明の第1の実施例であるマルチプロセッ
サ型動画像符号化装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a multiprocessor type moving image encoding apparatus, which is a first embodiment of the present invention.

同図に示すように、タスク制御部7は単位プロセッサと
その周辺回路とにより構成されている各単位プロセッサ
モジュールlla〜11k(以下、総称する場合、単に
「11」とする)に制御バス12(従来例1のVMEバ
ス5に相当)を介して接続されており、タスクテーブル
8を参照して各単位プロセッサモジュール11にブロッ
ク位置および処理タスク内容をコマンドで指示する。タ
スクテーブル8はタスク制御部7が中.位プロセッサモ
ジュール11を制御するために必要な情報である種々の
タスク処理に関する過去の履歴、現在の状況及び今後の
予測等が格納されている。
As shown in the figure, the task control unit 7 connects a control bus 12 ( (corresponding to the VME bus 5 of Conventional Example 1), and refers to the task table 8 to instruct each unit processor module 11 with commands regarding the block position and processing task content. The task table 8 indicates that the task control unit 7 is in the middle. Information necessary to control the processor module 11, such as past history, current status, and future predictions regarding various task processing, is stored.

また、9は複数バッファ構成で一面は入力データを書き
込む回路に解放されかつ他面は単位プロセッサに解放さ
れて書き込みと読み出しが非同期で行える入力フレーム
メモリ、10a〜10nは各単位プロセッサモジュール
11に接続されて局部復号データまたは符号化途中のデ
ータおよびパラメータを記憶する共有メモリである。こ
れら入力フレームメモリ9、共有メモリ10a〜10n
はそれそれメモリバス13、14a〜14nを介して単
位プロセッサモジュールlla〜llkに接続されてい
る。なお、15はI/Oバス、16はマルチプロセッサ
モジュールである。
In addition, 9 has a plurality of buffers, one side of which is open to a circuit for writing input data, and the other side of which is open to unit processors so that writing and reading can be performed asynchronously. 10a to 10n are connected to each unit processor module 11. This is a shared memory that stores locally decoded data or data and parameters that are being encoded. These input frame memories 9, shared memories 10a to 10n
are respectively connected to unit processor modules lla-llk via memory buses 13, 14a-14n. Note that 15 is an I/O bus, and 16 is a multiprocessor module.

第2図は第1図で示した単位プロセッサモジュール]1
のm或を示すブロック図であり、同図において、17は
符号化プログラムが書かれた命令メモリ、18は制御バ
ス12を介して外部から送られる割り込み信号102を
調停して単位プロセッサ3に浮け渡すと共に単位プロセ
ッサ3のローカルバス19からアドレス及びデータ10
4を受けとってこれをデコードして割り込み信号を発生
して制御バス12に送出する割り込み制御部である。
Figure 2 is the unit processor module shown in Figure 1]1
1 is a block diagram showing an instruction memory 17 in which an encoded program is written, and 18 an instruction memory 18 for arbitrating an interrupt signal 102 sent from the outside via a control bus 12 and floating it in the unit processor 3. At the same time, the address and data 10 are transferred from the local bus 19 of the unit processor 3.
4, decodes it, generates an interrupt signal, and sends it to the control bus 12.

また、20は制御バス12と単位プロセッサ3との間で
コマンドデータを受け渡すコマンドポート、21a 〜
21n+2はメモリバス13、14a〜14nと単位プ
ロセッサ3との間に設けられた双方向バッファであり、
単位プロセッサ3の指示により出力イネーブルおよび方
向が制御される。
Further, 20 is a command port for transferring command data between the control bus 12 and the unit processor 3;
21n+2 is a bidirectional buffer provided between the memory buses 13, 14a to 14n and the unit processor 3;
Output enable and direction are controlled by instructions from unit processor 3.

22は単位プロセッサ3のローカルバス19に接続され
たローカルRAM,23は単位プロセッサ3が実行する
符号化において使用する符号化パラメータ等が書き込ま
れたローカルROMである。
22 is a local RAM connected to the local bus 19 of the unit processor 3, and 23 is a local ROM in which encoding parameters used in encoding executed by the unit processor 3 are written.

このような構或において、入力フレームメモリ9の一方
の面に入力データ100をフレーム単位で書き込み、か
つ他方の面から既に書き込み済みの入力データをフレー
ム単位で読み出す。
In such a structure, input data 100 is written on one side of the input frame memory 9 in units of frames, and already written input data is read out in units of frames from the other side.

そして、タスク制御部7は入力フレームメモリ9からの
フレーム同期パルス103により入力フレームメモリ書
き込み終了を知り、タスクテーブル8を参照して符号化
処理との調停を行い、必要に応して入力フレームメモリ
7のバッファ切り替えを禁止する。
Then, the task control unit 7 learns of the end of input frame memory writing from the frame synchronization pulse 103 from the input frame memory 9, refers to the task table 8, arbitrates with the encoding process, and stores data in the input frame memory as necessary. 7 buffer switching is prohibited.

タスク制御部7は符号化に際してタスクテーブル8を検
索し、各単位プロセッサモジュール11a〜1. 1.
 kに対する最適な処理ブロックおよび処理タスクを判
定し、これらをコマンドとして制御ハス12を介して各
単位プロセッサモジュール11a〜1. 1 kに通知
し、各単位プロセッサモジュール11a〜1. 1 k
はコマントを解読して指示された処理を実行する。
The task control unit 7 searches the task table 8 during encoding, and selects each unit processor module 11a to 1. 1.
The optimal processing block and processing task for k are determined, and these are used as commands to be sent to each unit processor module 11a to 1.k via the control lot 12. 1k, and each unit processor module 11a to 1k. 1k
decodes the command and executes the command.

更に、各単位プロセッサモジュール11a〜11kは指
示された処理を終了するごとにタスク制御部7に処理終
了を通知し、次の指示を受けとるまで待機状態となる。
Further, each unit processor module 11a to 11k notifies the task control unit 7 of the completion of the processing each time it completes the instructed processing, and enters a standby state until receiving the next instruction.

なお、処理タスクは、例えば共有メモリ10a〜1. 
O nからのデータ転送、8×8画素ブロックのDCT
演算といった細かい処理単位のものから、これらを組み
合わせたり、処理ブロックサイズを拡張したものなとで
ある。また、組み合わせタスクの場合に、単位プロセッ
サモジュールlla〜11kが処理の途中て共有メモリ
10a〜10nをアクセスする必要が生じたときには、
単位プロセッサモジュールlla〜llkからタスク制
御部7に共有メモリアクセス要求を出力し、要求に対す
る許可が与えられるまでは待機状態となる。
Note that the processing tasks include, for example, the shared memories 10a to 1.
Data transfer from On, DCT of 8x8 pixel block
These range from small processing units such as calculations to combinations of these or expanded processing block sizes. In addition, in the case of a combination task, when the unit processor modules lla to 11k need to access the shared memories 10a to 10n during processing,
The unit processor modules lla to llk output a shared memory access request to the task control unit 7, and remain in a standby state until permission for the request is granted.

この時、各共有メモリ10a〜10nと単位プロセッサ
モジュールlla〜llkとの間にはそれぞれ独立して
設けられた複数のメモリバス13、14a〜14nが設
けられているため、パスネックの生じる確率は低い。例
えば、第6図の3つの中位プロセッサモジュール#1〜
#3から3つの共有メモリへのアクセス状況を示す説明
図に示すように、各共有メモリにはそれぞれ独立して設
けられた3つのメモリバスa − Cを介してアクセス
できるためパスネックがほとんど生じていない。
At this time, since a plurality of independently provided memory buses 13, 14a to 14n are provided between each of the shared memories 10a to 10n and the unit processor modules lla to llk, the probability of a path neck occurring is low. . For example, the three middle-level processor modules #1 to
As shown in the explanatory diagram from #3 showing the access status to the three shared memories, each shared memory can be accessed via three independently provided memory buses a to C, so there are almost no path necks. do not have.

一方、単位プロセッサ3は最初待機状態にあり、タスク
制御部7は単位プロセッサ3に指示するタスクを決定し
、処理ブロック位置、処理ブロックサイズ、処理内容、
ブロックの属性等をコマンドポート20に書き込み、割
り込み制御部18に割り込みをかける。
On the other hand, the unit processor 3 is initially in a standby state, and the task control unit 7 determines the task to be instructed to the unit processor 3, and determines the processing block position, processing block size, processing content, etc.
The attributes of the block, etc. are written to the command port 20, and an interrupt is issued to the interrupt control unit 18.

それから、割り込み制御部18は単位プロセッサ3に割
り込み信号102を出力し、該単位プロセッサ3は該コ
マンドポート20を読み、コマントを解読して指示され
たタスクに従い、必要ならば、双方向バッファ2 1.
 a〜21n+2を開いて共有メモリ102〜Ionを
アクセスし、またはローカルR A M 2 2やロー
カルROM23をアクセスして処理を実行する。
Then, the interrupt control unit 18 outputs an interrupt signal 102 to the unit processor 3, and the unit processor 3 reads the command port 20, decodes the command and follows the instructed task, and if necessary, bidirectional buffer 2 1 ..
A to 21n+2 are opened to access the shared memories 102 to Ion, or the local RAM 22 and local ROM 23 are accessed to execute processing.

そして、処理が終了すると、単位プロセ・ソサ3はタス
ク制御部7に渡すデータを書き込み、所定のアドレス1
04を出力して待機状態となる。
When the processing is completed, the unit processor/source 3 writes the data to be passed to the task control unit 7, and writes the data to be passed to the task control unit 7, and
04 and enters the standby state.

そして、割り込み制御部18はアドレス104をデコー
ドして割り込み信号を発生して制御バス〕2に送出する
Then, the interrupt control unit 18 decodes the address 104, generates an interrupt signal, and sends it to the control bus 2.

例えば、説明を簡略化するために、第3図に示すように
、単位プロセッサが3個、符号化処理が2種類のタスク
処理の場合、タスク制御部7は単位プロセッサ#1〜単
位プロセッサ#3に対して領域をA,B,Cの3領域に
分割してタスク1処理を指示し、タスク1の結果から領
域Bのタスク2処理に要する演算量が多いことを判断し
、領域Bを更に細分化して各単位プロセッサに処理を指
示する。つまり、第4図に示すように、従来てあれば単
位プロセッサ#2が実行すべきタスクT2を単位プロセ
ッサ#1及び単位プロセッサ#3に分散し、処理済みの
単位プロセッサ#1及び#3の待ち時間を減少して処理
効率を高める。
For example, in order to simplify the explanation, in the case of task processing with three unit processors and two types of encoding processing, as shown in FIG. The area is divided into three areas A, B, and C, and task 1 processing is instructed. Based on the result of task 1, it is determined that the amount of calculation required for task 2 processing in area B is large, and area B is further divided. It is subdivided and instructs each unit processor to perform processing. In other words, as shown in FIG. 4, task T2, which would have traditionally been executed by unit processor #2, is distributed to unit processor #1 and unit processor #3, and task T2, which has been executed by unit processor #1 and #3, is Reduce time and increase processing efficiency.

なお、上述実施例においては、タスク制御部7は独立し
ていたが、これに限らず、単位プロセッサの一つにその
機能を持たせてタスク制御H7を省略しても良い。
In the above embodiment, the task control unit 7 is independent, but the present invention is not limited to this, and the task control unit H7 may be omitted by providing that function to one of the unit processors.

また、システムの規模、スペックによっては、タスク分
割を行わず、単に領域を細かいブロックにし、処理の終
った単位プロセッサに、次々に新たなブロックを割り当
てるといった制御たけても有効である。
Furthermore, depending on the scale and specifications of the system, it may be effective to simply divide the area into small blocks without dividing the task, and then allocate new blocks one after another to the unit processors that have completed processing.

なお、上述の第1の実施例においては、マルチプロセッ
サ型動画像符号化装置の単一のマルチプロセッサモジュ
ール16を用いて説明したが、これに限らず、第5図に
示すように、単位プロセッサモジュール16を16a〜
16mと数個直列に接続してパイプライン処理しても良
い。第5図中、25a,25b・・・は各タスク制御部
7を結ぶポート、26a,26b・・・は各単位プロセ
ッサモジュールのI/Oバス15に接続された2ポート
メモリである。
Although the first embodiment described above has been described using a single multiprocessor module 16 of the multiprocessor type video encoding device, the present invention is not limited to this, and as shown in FIG. Module 16 16a~
16m may be connected in series for pipeline processing. In FIG. 5, 25a, 25b, . . . are ports connecting each task control section 7, and 26a, 26b, . . . are two-port memories connected to the I/O bus 15 of each unit processor module.

第7図はこの発明の第2の実施例であるマルチプロセッ
サ型動画像符号化装置を示すブロック図てある。同図に
示すように、第1の実施例の構或に加えてメモリバス制
御テーブル24がタスク制御部7からアクセス可能に設
けられている。メモリバス制御テーブル24はメモリバ
ス13、14a〜14nの利用状況、単位プロセッサモ
ジュル]1のタスク優先順位等が書き込まれている。
FIG. 7 is a block diagram showing a multiprocessor type moving image encoding device according to a second embodiment of the present invention. As shown in the figure, in addition to the structure of the first embodiment, a memory bus control table 24 is provided so as to be accessible from the task control section 7. In the memory bus control table 24, the usage status of the memory buses 13, 14a to 14n, the task priority of the unit processor module 1, etc. are written.

なお、他の構或は第1の実施例と同様であるため説明は
省略する。タスク制御部7はこのメモリバス制御テーブ
ル24を適宜更新しながら、新たに共有メモリ10a〜
10nのいずれかにアクセス要求があった場合、このメ
モリバス制御テーブル24を参照し当該共有メモリへの
アクセスに使用するメモリバスが空き状態であるか否か
を判定し、空き状態であれば使用許可信号を出力してそ
のアクセス要求を許可し、使用状態であれば空き状態に
なるまで待機させ、使用状態になると使用許可信号を出
力してアクセス要求を許可する。また、2つ以上の単位
プロセッサモジュール11から使用状態の同一メモリバ
スにアクセス要求が生した場合、次に空き状態になる際
、メモリバス制御テーブル24に書き込まれた単位プロ
セッサモジュル11のタスク優先順位に基づき、優先順
位の高い単位プロセッサモジュールl1のアクセス要求
を優先的に許可する。
Note that the other configurations are the same as those of the first embodiment, so a description thereof will be omitted. The task control unit 7 updates the memory bus control table 24 as needed and newly updates the shared memories 10a to 10a.
10n, the memory bus control table 24 is referred to to determine whether the memory bus used to access the shared memory is free, and if it is free, the memory bus is used. It outputs a permission signal to permit the access request, and if it is in a used state, it waits until it becomes an empty state, and when it becomes in a used state, it outputs a use permission signal and permits the access request. In addition, when access requests are generated from two or more unit processor modules 11 to the same memory bus that is in use, the task priority of the unit processor module 11 written in the memory bus control table 24 is changed the next time the memory bus becomes free. Based on this, the access request of the unit processor module l1 having a high priority is granted preferentially.

このような構成の第2の実施例のマルチプロセッサ型動
画像符号化装置は第1の実施例の効果に加えて、メモリ
バスのアクセス制御を効率的に行うことができる。
The multiprocessor type video encoding device of the second embodiment having such a configuration can efficiently control access to the memory bus in addition to the effects of the first embodiment.

第8図及び第9図はこの発明の第3の実施例であるマル
チプロセッサ型動画像符号化装置におけるメモリバスの
制御方法を示すブロック図及びタイムテーブルである。
FIGS. 8 and 9 are a block diagram and a time table showing a method of controlling a memory bus in a multiprocessor type moving picture encoding device according to a third embodiment of the present invention.

第8図において、外部回路よりもたらされる入力データ
100は、共有メモリ2に1フレーム分書き込まれ、書
込みが終了すると、タスク制御部7に書込み終了信号3
0が出力される。
In FIG. 8, input data 100 provided from an external circuit is written into the shared memory 2 for one frame, and when the writing is completed, a write end signal 3 is sent to the task control unit 7.
0 is output.

バス制御部37は、単位プロセッサ3a〜3hからの共
有メモリアクセス要求を調停して、共有メモリアクセス
許可を指示する。各単位プロセッサ38〜3hは、タス
ク制御部7との間で、共有メモリアクセス要求信号及び
、バス制御部37から各単位プロセッサ3a〜3hへの
共有メモリアクセス許可信号32a〜32hのやり取り
をし、メモリバス6を介して共有メモリ2との間の人出
力データ信号及び制御信号33a〜33hのやり取り、
ハス制御部37との間で、共有メモリアクセス許可信号
35a〜35hのやり取りを行う。
The bus control unit 37 arbitrates shared memory access requests from the unit processors 3a to 3h and instructs shared memory access permission. Each unit processor 38 to 3h exchanges a shared memory access request signal and a shared memory access permission signal 32a to 32h from the bus control unit 37 to each unit processor 3a to 3h with the task control unit 7, exchanging human output data signals and control signals 33a to 33h with the shared memory 2 via the memory bus 6;
Shared memory access permission signals 35a to 35h are exchanged with the lotus control unit 37.

共有メモリ2は、メモリバス6との間で、人出力データ
及び制御信号34のやり取りをする。又、伝送データ1
01はメモリバス6を介して出力される。
The shared memory 2 exchanges human output data and control signals 34 with the memory bus 6. Also, transmission data 1
01 is output via the memory bus 6.

次に動作について第8図を参照して説明する。Next, the operation will be explained with reference to FIG.

本例は並列構成の各単位プロセッサ3a〜3hに可変の
領域とタスクを随時割振るタスク分散型並列処理の例で
ある。
This example is an example of task distributed parallel processing in which variable areas and tasks are allocated to each unit processor 3a to 3h in a parallel configuration at any time.

入力データ100は外部の回路により共有メモリ2に1
フレーム分書き込まれ、タスク制御部7に書込み終了信
号30が出力される。タスク制御部7は、前フレームの
符号化終了と、入力データ書込み終了の条件がそろった
時点で、次フレームを処理ブロックに分割し、並列構成
の単位プロセッサ3a〜3hに順次指示を出力して割振
る。各単位プロセッサ3a〜3hは、それぞれ命令メモ
リに書き込まれた、あらかじめ定められたプログラムに
したがって、タスクを順番に処理し、目的の処理が終了
した時点でタスク制御部7に処理終了を通知する。これ
をくり返すことにより動画像n号化を順次実行していく
。このとき、各単位プロセッサ3a〜3hが共有メモリ
アクセスのタスクを行うときには、処理終了前に、バス
制御部37に共有メモリアクセス要求を出力する。バス
制御部37は、メモリバス6の使用状態を判定し、空き
状態なら即座に単位プロセッサ3a〜3hに使用許可信
号を出力し、使用中なら空き状態になるのを待ってから
使用許可信号を出力するといったバス調停を行う。
Input data 100 is transferred to shared memory 2 by an external circuit.
The frame is written, and a write end signal 30 is output to the task control unit 7. When the conditions for the end of encoding the previous frame and the end of writing input data are met, the task control unit 7 divides the next frame into processing blocks and sequentially outputs instructions to the unit processors 3a to 3h in the parallel configuration. Allocate. Each of the unit processors 3a to 3h sequentially processes tasks according to a predetermined program written in the instruction memory, and notifies the task control unit 7 of the completion of the processing when the target processing is completed. By repeating this process, moving image n-coding is executed sequentially. At this time, when each unit processor 3a to 3h performs a shared memory access task, it outputs a shared memory access request to the bus control unit 37 before the processing ends. The bus control unit 37 determines the use state of the memory bus 6, and if it is free, it immediately outputs a use permission signal to the unit processors 3a to 3h, and if it is in use, it waits until it becomes free and then outputs a use permission signal. Performs bus arbitration such as output.

ところで、各単位プロセッサ3a〜3hの命令メモリに
は、共有メモリアクセスを行うデータ転送タスクと、転
送したきたデータを演算し符号化を実行する漬算タスク
とが交互に書き込まれているが、第3の実施例において
は、既に共有メモリ2または単位プロセッサ3a〜3h
の内部メモリに存YEシているデータの転送タスクが次
に来る場合には、直前の演算タスクが終了する一定時間
前の特点に、次の転送タスクがくるように配置している
By the way, in the instruction memory of each unit processor 3a to 3h, a data transfer task for accessing the shared memory and a calculation task for calculating and encoding the transferred data are alternately written. In the embodiment No. 3, the shared memory 2 or the unit processors 3a to 3h are already installed.
When a transfer task for data existing in the internal memory of the computer comes next, the next transfer task is arranged so that it comes at a special point a certain time before the end of the immediately preceding calculation task.

第9図は、第8図において3個の単位プロセッサ3a,
3b,3cの並列構成(図中#1〜#3で表示)をとり
、バス競合が起った場合の各単位プロセッサ#1〜#3
の処理例であり、横軸には時間が示してある。なお、バ
スアクセス優先順位は#1、#2、#3の順である。第
9図において、中位プロセッサ#1はタスク1が終了す
る(t6t4)時間前にタスク2を実行するためのデー
タ転送タスクを実行し、その後タスク1の残りの処理を
行い、タスク1が終了した時刻t6て、時刻tlからt
4の期間に転送されたデータを使ってタスク2の実行に
移る。単位プロセッサ#2は時刻t2て転送要求を出し
たが、バス競合のため続けてタスク1を実行し、時刻t
4でバス使用許可を受取り、期間t4〜t6においてタ
スク2を実行するためのデータ転送を行い、転送が終了
した時刻t6からタスク1の残りの処理を行う。単位プ
ロセッサ#3は時刻t3で転送要求を出したがバス競合
のため、続けてタスク]を実行し、タスク1を終了して
から、単位プロセッサ#3より優先順位の高い単位プロ
セッサ#2のデータ転送が終了する時刻t6まて待ち状
態となり、t6からデータ転送を実行する。
FIG. 9 shows the three unit processors 3a,
A parallel configuration of 3b and 3c (indicated by #1 to #3 in the figure) is adopted, and each unit processor #1 to #3 when bus contention occurs.
This is an example of processing, and time is shown on the horizontal axis. Note that the bus access priority order is #1, #2, and #3. In FIG. 9, intermediate processor #1 executes a data transfer task to execute task 2 before task 1 ends (t6t4), then performs the remaining processing of task 1, and task 1 ends. At time t6, from time tl to t
Using the data transferred during period 4, the task 2 is executed. Unit processor #2 issued a transfer request at time t2, but due to bus contention, it continued to execute task 1, and at time t
4, it receives permission to use the bus, transfers data for executing task 2 during the period t4 to t6, and performs the remaining processing of task 1 from time t6 when the transfer ends. Unit processor #3 issues a transfer request at time t3, but due to bus contention, it continues to execute task] and after completing task 1, transfers the data of unit processor #2, which has a higher priority than unit processor #3. It is in a waiting state until time t6 when the transfer ends, and data transfer is executed from t6.

このように、この第3の実施例によれば、第1及び第2
の実施例と異なり、複数の単位プロセッサ3が単一のメ
モリバス6を介して時分割でアクセス可能な共有メモリ
2に連係されている従来同印のメモリバス構或てあって
も、バス制御において、各単位プロセッサ3は、処理終
了よりも一定時間前に共有メモリアクセス要求を発し、
これに対し、優先順位の最も高い単位プロセッサ3から
優先的に共有メモリアクセス許可を指示するパス制御方
法を採用することにより、単位プロセッサ3の待ち状態
はほとんどなくなり、待ち状態が生しても極めて短時間
であるので、処理効率の良いものとなる。
Thus, according to this third embodiment, the first and second
Unlike the embodiment shown in FIG. 1, even if there is a conventional memory bus structure with the same symbol, in which a plurality of unit processors 3 are linked to a shared memory 2 that can be accessed in a time-sharing manner via a single memory bus 6, bus control is not required. In , each unit processor 3 issues a shared memory access request a certain period of time before the end of processing,
In contrast, by adopting a path control method in which the unit processor 3 with the highest priority instructs shared memory access permission, the wait state of the unit processor 3 is almost eliminated, and even if a wait state occurs, it is extremely Since the time is short, processing efficiency is improved.

なお、上記第3の実施例ではタスク分散型並列処理の例
を示したが、この発明は上記実施例に限定されるもので
はなく、固定領域分割型並列処理の場合でも、あるいは
単位プロセソサ3を直列に2ポートメモリをはさんで接
続したパイプライン処理の場合でも、複数の単位プロセ
ッサ3が共有メモリ2をアクセスする時にバス競合か生
しるような構成の場合は有効である。
Although the third embodiment described above shows an example of task-distributed parallel processing, the present invention is not limited to the above-mentioned embodiment. Even in the case of pipeline processing in which two-port memories are connected in series, this is effective in cases where bus contention occurs when a plurality of unit processors 3 access the shared memory 2.

また単位プロセッサの個数は、2個以上の仕意の個数で
有効である。
Further, the number of unit processors is effective if it is two or more.

第10図はこの発明の第4の実施例であるマルチプロセ
ッサ型動画像符号化装置を示すブロック図である。同図
において、単位プロセッサ#](41)〜#3(4B)
はローカルバス5っで接続された取込み部55、処理部
56および出力部57の他に格納部58を有し、この格
納部58は後述する区分画面No. 1〜No. 9の
部分画面信号の符号化・復号化済信号(データ)をそれ
ぞれ格納する格納領域を有している。
FIG. 10 is a block diagram showing a multiprocessor type moving image encoding device according to a fourth embodiment of the present invention. In the figure, unit processors #] (41) to #3 (4B)
has a storage section 58 in addition to an acquisition section 55, a processing section 56, and an output section 57 that are connected via a local bus 5, and this storage section 58 is used for dividing screen No. 1 to be described later. 1~No. It has storage areas for storing encoded and decoded signals (data) of nine partial screen signals, respectively.

単位ブロセソサ#1〜#3は第11図の9個の区分画面
No. 1〜NO.9を担当する。即ち、画面は上下に
9区分されており、単位プロセッサ#1(41)は区分
画面のNo. 1 、No. 4およびNo. 7を、
単位プロセッサ#2(42)は区分画面のNo. 2、
No. 5およびN(L 8を、単位プロセッサ#3(
43)は区分両面のNo. 3、No. 6および島、
9を担当する。6oは転送制御部であり、共通バス61
と単位プロセッサ#1〜#3間のデータ転送の制御を行
う。なお、第4の実施例における単位プロセッサ#]〜
#3の取込み部55はNo. Nフレームに関する部分
画面信号の取り込み中にNo. ( N − 1. )
フレームに関する部分画面信号がデータ処理のために読
出されるので、読み書きが同時に可能な構成(例えば、
タフルハッファ構成)を取っている。
Unit processors #1 to #3 are divided into nine divided screens No. 1 in FIG. 1~NO. In charge of 9. That is, the screen is divided into nine sections, upper and lower, and unit processor #1 (41) is assigned to No. 1 of the divided screen. 1, No. 4 and no. 7,
Unit processor #2 (42) is No. 2 on the divided screen. 2,
No. 5 and N(L 8, unit processor #3(
43) is the number on both sides of the classification. 3.No. 6 and the island,
In charge of 9. 6o is a transfer control unit, and a common bus 61
and controls data transfer between unit processors #1 to #3. Note that the unit processor # in the fourth embodiment is
#3 import unit 55 is No.3. While capturing partial screen signals related to N frames, No. (N-1.)
Partial screen signals related to frames are read out for data processing, so configurations that allow simultaneous reading and writing (e.g.
Tufflehaffa configuration).

次に、第4の実施例の動作を第12図に示す動ず1タイ
ムング図を参照して説明する。
Next, the operation of the fourth embodiment will be explained with reference to the dynamic timing diagram shown in FIG. 12.

各11位ブロセノサ#1〜#3入力バス51上の入力画
像信号(第1のフレームとする)から自己が分担する部
分画面信号を取込み部55へ取込み、各単位プロセッサ
#1〜#3の処理部56は第1フレームの取込みか終了
すると同時に一斉に取込み部55から読出して前記した
処理を開始する。
Each of the 11th place Brocenosa #1 to #3 The partial screen signal assigned by itself is fetched from the input image signal (supposed to be the first frame) on the input bus 51 to the capture unit 55, and processed by each unit processor #1 to #3. The unit 56 reads the data from the capture unit 55 all at once upon completion of capturing the first frame, and starts the above-described process.

11位プロセッサ#1を例にとって説明すると、第11
図の区分画面No. 1に対する処理を行い、その粘果
としての符号化信号を出力部57に、入力画像補助信号
(符号化・復号化済部分画面信号)を格納部58にロー
カルバス59を通して格納し、引続き、部分画面No.
 4、部分画面魔7に対する処理を行う。1フレーム内
における単位プロセッサ#1の全処理時間は勘,1、N
o. 4およびNo. 7 0) 3個の区分画面の処
理時間の合計となる。これらの部分画面は互いに不連続
であるため、互いに相関は清い。例えば、第12図に示
すように、部分画面NO.4に対する処理時間が長くな
っても、部分画面NO,1、No. 7に対する処理時
間は短い場合が多く、処理時間合計は全体として平均化
されることになり、1フレームの入力周期に対し、余裕
をもって処理を終了させることができる。単位プロセッ
サ#1の処理部56が処理を終了した時、格納部58に
は、第14図に示す如く、部分画面信号の符号化・復号
化済部分画面信号が格納されていることになる。単位プ
ロセッサ#2および#3においても同様であり、単位プ
ロセッサ#1〜#3が第1のフレームに対する処理を終
了すると、転送制御部10は各単位プロセッサ#1〜#
3から、第16図に示す如く、順次、符号化・復号化済
部分画面信号を連続して共通バス61上に読出し、この
転送開始に合わせて、処理結果として符号化信号か出力
バス53上に送出される。各単位プロセッサ#1〜#3
は、他の単位プロセッサの処理デタのうち、次の画面フ
レームの処理のために必要なデータが共通バス61上に
ある場合には、該データを格納部58に取り込む。仮に
、各区分画商の処理のために隣接する区分画面の符号化
・復号化済部分画面信号が必要である場合、取込み終了
後は、格納部58には第15図に示す如く、区分画面N
O.1〜NO.9に関する符号化・復号化済信号が格納
されていることになる。
Taking the 11th processor #1 as an example, the 11th
Division screen No. in the figure. 1, the encoded signal as the result is stored in the output section 57, the input image auxiliary signal (encoded/decoded partial screen signal) is stored in the storage section 58 via the local bus 59, and then the partial Screen no.
4. Perform processing for partial screen demon 7. The total processing time of unit processor #1 within one frame is 1, N
o. 4 and no. 70) This is the total processing time for the three divided screens. Since these partial screens are discontinuous with each other, their correlation with each other is clear. For example, as shown in FIG. 12, partial screen NO. Even if the processing time for partial screen No. 4 is longer, partial screen No. 1, No. The processing time for 7 is often short, and the total processing time is averaged as a whole, making it possible to finish the processing with plenty of time to spare for the input cycle of one frame. When the processing section 56 of the unit processor #1 finishes the processing, the encoded/decoded partial screen signal of the partial screen signal is stored in the storage section 58, as shown in FIG. The same applies to unit processors #2 and #3, and when unit processors #1 to #3 complete processing for the first frame, transfer control unit 10
3, the encoded/decoded partial screen signals are sequentially read out onto the common bus 61 as shown in FIG. will be sent to. Each unit processor #1 to #3
If the data necessary for processing the next screen frame exists on the common bus 61 among the processing data of other unit processors, the data is taken into the storage section 58. If encoded/decoded partial screen signals of adjacent divided screens are required for processing each divided picture quotient, after the capture is completed, the storage unit 58 stores divided screens N as shown in FIG.
O. 1~NO. This means that encoded and decoded signals related to No. 9 are stored.

この共通バス61を通しての符号化・復号化済部分画面
信号の転送は単純なメモリ間転送であるから入力画像信
号の入力周期(1/30、1/15、1/10秒等)に
比して高速に行うことができ、第12図に示すように、
第2のフレームの画像信号の入力中に第1のフレームに
対する処理及び共通バス61を用いた転送を終了させる
ことができ、第2のフレームの入力開始時点で、第2の
フレームに対する処理が開始される。
Since the transfer of encoded/decoded partial screen signals through this common bus 61 is a simple transfer between memories, it is faster than the input cycle of the input image signal (1/30, 1/15, 1/10 seconds, etc.). As shown in Figure 12,
The processing for the first frame and the transfer using the common bus 61 can be completed while the image signal of the second frame is being input, and the processing for the second frame can be started at the time when the input of the second frame is started. be done.

第1フレームの処理時間と共通バス61により前記入力
画像補助信号である符号化・復号化済部分画像信号の転
送時間の合計が入力画像信号の入力周期を越えた場合は
、第13図に示すように、上記転送の終了後の第2のフ
レームの入力画像信号に対する処理が開始され、該入力
画像信号に対する処理時間が短い場合には、第3のフレ
ームの入力画像信号の取込みが終了する時点までに第2
のフレームの入力画像信号に対する処理と転送を終了さ
せることができ、第1と第2のフレームの入力画像に対
する処理をフレーム相互間で平均化することができるの
で、第1のフレームの処理で住じた上記処理遅れが第3
のフレームの処理に影響することがなくなる。
If the sum of the processing time of the first frame and the transfer time of the encoded/decoded partial image signal, which is the input image auxiliary signal, via the common bus 61 exceeds the input period of the input image signal, as shown in FIG. If the processing time for the input image signal of the second frame is started after the end of the above-mentioned transfer, and the processing time for the input image signal is short, the time point at which the capture of the input image signal of the third frame ends. by the second
The processing and transfer of the input image signal of the first frame can be completed, and the processing of the input image of the first and second frames can be averaged between frames. The above processing delay is the third
frame processing is no longer affected.

第4の実施例のタスク実行処理は1台の単位プロセッサ
が複数の区分画面の画像信号を担当し、かつ区分画面が
互いに連続しない離れた領域であり、1画像フレームに
画像性質の局所的な偏り(処理すべきデータ量の疎密)
が発生しても、1つの単位プロセッサの区分画面に集中
して現れる度合いは低くなり、1つの区分画面の部分画
像信号に対する処理時間が長くなっても、他の区分画商
の区分画像信号に対する処理時間が短い場合には、1フ
レーム内における処理時間は平均化されることになるた
め、高い確率で1フレーム分の入力画像信号の入力周期
以内で処理することができる。
In the task execution process of the fourth embodiment, one unit processor is in charge of the image signals of a plurality of divided screens, and the divided screens are separate areas that are not continuous, and the image characteristics are localized in one image frame. Bias (disparity in the amount of data to be processed)
Even if this occurs, the degree to which it appears concentrated on the segmented screen of one unit processor will be low, and even if the processing time for the partial image signal of one segmented screen becomes long, the processing of the segmented image signal of other segmented image processors will be reduced. When the time is short, the processing time within one frame is averaged, so that processing can be performed within the input cycle of one frame of input image signals with high probability.

さらに、単位プロセッサが新たな画面の始まりを持って
行い、また出力バスへの符号化信号の送出と入力画像補
助信号の他単位プロセッサへの転送は、全単位プロセッ
サの終了時に実行されているため、あるフレームにおい
て、入力画像信号の入力周期以内で処理できなくとも、
入力画像信号の人ノノ周期以内で処理できる他のフレー
ムで吸収することにより、全フレームの処理から見れば
1フレーム分の入力画像信号の入力周期以内で処理する
ことができる。
Furthermore, since the unit processor is executed at the beginning of a new screen, and the sending of the encoded signal to the output bus and the transfer of the input image auxiliary signal to other unit processors are executed at the end of all unit processors. , in a certain frame, even if it cannot be processed within the input period of the input image signal,
By absorbing it with another frame that can be processed within the human cycle of the input image signal, it is possible to process it within the input cycle of the input image signal for one frame from the perspective of processing all frames.

第17図はこの発明の第5の実施例であるマルチプロセ
ッサ型動画像符号化装置を示すブロック図である。同図
において、51は入力部分画面信号の入力バス、53は
出力バス、41.42及び43は単位プロセッサであり
、内部に処理部56、入力部分画面信号を2フレーム分
格納可能な取込部72、符号化/複合化済部分画面信号
のうち、一部を格納する共用格納部71、符号化/復号
化済部分画面信号の格納部58、符号化結果の部分n号
化信号を出力する出力部57並びにこれら各部56、5
7、58、71及び72のデータ転送用のローカルバス
59を有している。なお、70はそれぞれ複数の単位プ
ロセッサ41〜43を制御する制御部である。第5の実
施例では、従来例2と同様に、画面全体を第26図に示
すように部分画面A,B,Cに3分割し、それぞれに専
用の単位プロセッサ41.42及び43を割り当てて処
理を行うものである。
FIG. 17 is a block diagram showing a multiprocessor type moving picture encoding device according to a fifth embodiment of the present invention. In the figure, 51 is an input bus for the input partial screen signal, 53 is an output bus, 41, 42 and 43 are unit processors, and therein there is a processing section 56 and an acquisition section that can store input partial screen signals for two frames. 72, a shared storage section 71 for storing a part of the encoded/decoded partial screen signal, a storage section 58 for the encoded/decoded partial screen signal, outputting the partial n coded signal of the encoding result. Output section 57 and each of these sections 56, 5
7, 58, 71, and 72 local buses 59 for data transfer. Note that 70 is a control unit that controls the plurality of unit processors 41 to 43, respectively. In the fifth embodiment, as in the conventional example 2, the entire screen is divided into three partial screens A, B, and C as shown in FIG. 26, and dedicated unit processors 41, 42, and 43 are assigned to each. It performs processing.

次に動作について説明する。Next, the operation will be explained.

入力バス51には第18図のタイミング図に示すように
、入力部分画面信号S1〜S3が時分割て供給される。
As shown in the timing diagram of FIG. 18, input partial screen signals S1 to S3 are supplied to the input bus 51 in a time-division manner.

また、入力部分画面信号81〜S3の取込部72は読み
書きが同時に可能なダブルバッファ11512となって
おり、入力バス51上には一定周期で入力部分画面信号
Sl−53がよどみなく流れてくるので、ダブルバツフ
ァのどちらか一方は必ず書き込み側に接続され、すべて
の入力フレームが必す取り込まれる。いま、mフレーム
の入力部分画面信号51〜S3が入力されると、制御部
70は各単位プロセッサ41〜43の動作を監視し、す
べての単位プロセッサ41〜43がmフレームの入力を
終了した時点て、すべての単位プロセソサ41〜43に
処理の開始を通知する。
Furthermore, the input section 72 for the input partial screen signals 81 to S3 is a double buffer 11512 that can be read and written at the same time, and the input partial screen signal Sl-53 flows without stagnation onto the input bus 51 at a constant period. Therefore, one side of the double buffer is always connected to the write side, and all input frames are necessarily captured. Now, when the input partial screen signals 51 to S3 of m frames are input, the control unit 70 monitors the operation of each unit processor 41 to 43, and when all unit processors 41 to 43 have finished inputting m frames. Then, all unit processors 41 to 43 are notified of the start of processing.

各単位プロセッサ41〜43が処理に要する時間は、入
力部分画面信号51〜S3に依存して異なる。ここでは
mフレームに関して単位プロセ・ソサ41の処理が最も
長い時間を要している。制御部70は全単位プロセッサ
の処理が終了すると、各.!P位プロセッサ41〜43
の出力部57から符号化信号を出力バス53に出力する
よう順次指示を与える。同時に、制御部70はm+1フ
レームの入力状態を監視し、全単位プロセッサへの入力
が終了した時点で、全単位プロセッサにm+lフレーム
の処理の開始を通知し、上記と同様の処理を実丘させる
。ここで、単位プロセッサ41.43のm+1フレーム
に対する処理は、入力部分画面信号S1〜S3の入力周
期よりも長くなっているが、全単位プロセッサがm +
 1フレームの処理を終了した時点では、すでに全単位
プロセッサへのm + 2フレームの入力が終了してお
り、すぐにm十2フレームの処理を開始することができ
る。
The time required for processing by each unit processor 41-43 differs depending on the input partial screen signals 51-S3. Here, the processing by the unit processor 41 for m frames takes the longest time. When the processing of all unit processors is completed, the control unit 70 controls each unit processor. ! P-rank processors 41 to 43
An instruction is sequentially given to output encoded signals from the output unit 57 of the output bus 53 to the output bus 53. At the same time, the control unit 70 monitors the input state of the m+1 frame, and when input to all unit processors is completed, notifies all unit processors of the start of processing of the m+l frame, and causes them to carry out the same processing as above. . Here, the processing for m+1 frames by the unit processors 41.43 is longer than the input period of the input partial screen signals S1 to S3, but all the unit processors perform m+1 frames.
When the processing of one frame is finished, the input of m + 2 frames to all unit processors has already been completed, and the processing of m12 frames can be started immediately.

次に、各単位プロセッサ41〜43内部での処理につい
て、単位プロセッサ41を例にとってmフレームの処理
を開始する時点から説明を始める。
Next, the processing inside each of the unit processors 41 to 43 will be described starting from the point in time when processing of m frames is started, taking the unit processor 41 as an example.

但し、この時点ではすでにm−1フレームの部分画面A
に対応する符号化/復号化済部分画面信号が格納部58
に格納されており、かつ隣接する部分画面Bの斜線部分
で示すサブ領域82a(第26図参照)に対応する符号
化/復号化済部分画面信号が共用格納部71に格納され
ているものとする。制御部70は取込部72から入力部
分画面信号81〜S3をブロック状にして切り出し、格
納部58および共用格納部71に格納されて−いる1画
面前の符号化/復号化済部分画面信号を用いた動き補償
フレーム間符号化を行い、符号化出力を出力部57に出
力し、同時に得られる符号化/復号化済部分画面信号を
格納部58に格納する。この時、第26図のサブ領域8
1aに相当する部分の信号は、単位プロセッサ42の次
フレームの処理に必要となるので、単位プロセッサ42
Bからもアクセス可能な共用格納部71に同時に格納さ
れる。
However, at this point, partial screen A of frame m-1 has already been displayed.
The encoded/decoded partial screen signal corresponding to
, and the encoded/decoded partial screen signal corresponding to the sub-area 82a (see FIG. 26) indicated by the hatched area of the adjacent partial screen B is stored in the shared storage section 71. do. The control unit 70 extracts the input partial screen signals 81 to S3 from the acquisition unit 72 into blocks, and extracts the encoded/decoded partial screen signals of the previous screen stored in the storage unit 58 and the shared storage unit 71. Motion-compensated interframe encoding is performed using the encoder, the encoded output is output to the output unit 57, and the encoded/decoded partial screen signal obtained at the same time is stored in the storage unit 58. At this time, sub-area 8 in FIG.
The signal of the part corresponding to 1a is necessary for the unit processor 42 to process the next frame, so the unit processor 42
They are simultaneously stored in a shared storage section 71 that can also be accessed from B.

以上のような動作により、他の単位プロセッサの処理結
果を共用格納部71から取り込むことにより、次フレー
ムの処理に使用できる。しかも、第18図のm+1フレ
ームの処理の部分のように入力部分画面信号S1〜S3
の周期よりも処理時間が長い場合でも、前後のmおよび
m+27レムの処理時間との平均化を図ることができる
。従って、処理時間が平均値より長い場合でも、入力部
分画面信号の入力速度を落とすことにより使用する単位
プロセッサの数を削減することができ、安価に画像処理
を実行できる。
Through the above-described operations, the processing results of other unit processors can be fetched from the shared storage section 71 and used for processing the next frame. Moreover, as in the processing part of the m+1 frame in FIG. 18, the input partial screen signals S1 to S3 are
Even if the processing time is longer than the cycle of , it is possible to average the processing times of the previous and subsequent m and m+27 rems. Therefore, even if the processing time is longer than the average value, the number of unit processors used can be reduced by reducing the input speed of the input partial screen signal, and image processing can be performed at low cost.

なお、上記実施例では共用格納部71を隣接する単位プ
ロセッサ41.42間,42.43間にそれぞれ1個配
置した場合を示したが、3個以上の単位プロセッサ41
〜43に対して1個の共用格納部71を設けてもよい。
In the above embodiment, one common storage section 71 is arranged between adjacent unit processors 41, 42 and 42, 43, but if three or more unit processors 41
43 may be provided with one shared storage section 71.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、請求項1記載のマルチプロセッサ
型動画像符号化装置によれば、タスク制御部により、画
像を複数のブロックに分割し、単位プロセッサを制御す
るために必要な情報が格納されたタスクテーブルを参照
して各単位プロセッサモジュールに対する最適な処理ブ
ロックおよび処理タスクを判定し、複数の単位プロセッ
サモジュールに略々均等に処理タスクを分担させて符号
化を行って待ち時間を短くしているため、効率の良い処
理動作をすることができマルチプロセッサの処理能力を
最大限に利用することができる。
As described above, according to the multiprocessor type video encoding device according to claim 1, the task control unit stores information necessary for dividing an image into a plurality of blocks and controlling the unit processor. The optimal processing block and processing task for each unit processor module are determined by referring to the task table created by the processor module, and the processing tasks are distributed approximately equally among the multiple unit processor modules for encoding to shorten the waiting time. Therefore, efficient processing operations can be performed and the processing power of the multiprocessor can be utilized to its fullest.

また、請求項2記載のバス制御方法によれば、各単位プ
ロセッサは常に前の処理を終了するよりも一定時間前に
ハス使用要求を出すため、バス使用要求出力時にバス競
合が起った場合でも、その中位プロセッサは待ち状態と
はならず、前の処理の続きを実行するので、プロセッサ
の処理効率か低下しない。その結果、バス競合による処
理効率の低下を最小限に抑えることかできるため、マル
チプロセッサの処理能力を最大限に利用することができ
る。
Furthermore, according to the bus control method according to claim 2, since each unit processor always issues a bus use request a certain period of time before completing the previous process, if bus contention occurs when outputting a bus use request, However, the intermediate processor does not go into a wait state and continues executing the previous process, so the processing efficiency of the processor does not decrease. As a result, the reduction in processing efficiency due to bus contention can be minimized, and the processing power of the multiprocessor can be utilized to the fullest.

そして、請求項3記載のマルチプロセッサ型動画像符号
化装置によれば、1つの単位プロセッサが複数の区分画
面の画像信号を担当し、かつ区分画面が互いに連続しな
い離れた領域であるため、1画像フレームに画像性質の
局所的な偏りか1つの単位プロセッサの担当する画像信
号に集中的に現れる可能性は低く、1つの区分画面の部
分画像信号に対する処理時間か長くなっても、他の区分
画面の区分画像信号に対する処理時間が短ければ]フレ
ームの処理時間は平均化される。加えて、n号化処理は
全体の単位プロセッサが新たな画面の始まりを待って行
い、また出力バスへの符号化信号の退出と入力画像補助
信号の他単位プロセッサへの転送は、全単位プロセッサ
の終了時に実行されており、例えあるフレームの符号化
処理が入力周期を越えた場合でも、入力周期内で処理で
きる他のフレームで吸収することが可能で、フレーム処
理全体からみれば処理時間の平均化を行うことができる
ため、画面性質の偏りに起因する処理能力の低下を最小
限に抑えることができ、マルチプロセッサの処理能力を
最大限に利用することができる。
According to the multiprocessor type moving image encoding device according to claim 3, one unit processor is in charge of image signals of a plurality of divided screens, and since the divided screens are separate areas that are not continuous, one Local biases in image properties in image frames are unlikely to appear concentrated in the image signals handled by one unit processor, and even if the processing time for partial image signals of one segment screen becomes longer, it is unlikely that local biases in image properties will appear concentrated in the image signals handled by one unit processor. If the processing time for the segmented image signal of the screen is short], the processing time of the frame is averaged. In addition, the n-encoding process is performed by all unit processors while waiting for the start of a new screen, and the exit of the encoded signal to the output bus and the transfer of the input image auxiliary signal to other unit processors are performed by all unit processors. Even if the encoding process of a certain frame exceeds the input period, it can be absorbed by other frames that can be processed within the input period, and from the perspective of the entire frame processing, the processing time is reduced. Since averaging can be performed, it is possible to minimize the decline in processing performance due to bias in screen properties, and it is possible to make maximum use of the processing performance of the multiprocessor.

さらに、請求項4記載のマルチプロセッサ型動画像符号
化装置によれば、一画面を複数の部分画面に分割し、各
部分画面を専用の単位プロセッサで処理し、この処理で
は符号化/復号化済部分画面信号を自らの単位プロセッ
サ内の格納部に格納すると同時に、他の単位プロセッサ
からも参照する必要がある部分の信号に関し、他の単位
プロセッサからもアクセスの可能な共用格納部にも同時
に格納し、これにより符号化処理時に、他の単位プロセ
ッサが共用格納部に書き込んだ符号化/復号化清部分画
面信号も使用できるようにすることにより、部分画面の
分割数を処理時間の平均値に基づいて決定し、処理時間
が平均値より長い場合には、入力部分画面信号の入力速
度を落すようにし、これにより使用する単位プロセッサ
の数を減らしているため、マルチプロセッサの処理能力
を最大限に利用することができる。
Furthermore, according to the multiprocessor type video encoding device according to claim 4, one screen is divided into a plurality of partial screens, each partial screen is processed by a dedicated unit processor, and in this processing, encoding/decoding is performed. At the same time, the processed partial screen signals are stored in the storage section of the own unit processor, and at the same time, the signals of the portions that need to be referenced from other unit processors are also stored in a shared storage section that can be accessed from other unit processors as well. By storing the encoded/decoded partial screen signals written to the shared storage by other unit processors during encoding processing, the number of partial screen divisions can be reduced to the average processing time. If the processing time is longer than the average value, the input speed of the input partial screen signal is reduced, thereby reducing the number of unit processors used, thereby maximizing the processing power of the multiprocessor. It can be used only for a limited time.

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

第1図はこの発明の第1の実施例によるマルチプロセッ
サ型動画像符号化装置の単一のマルチプロセッサモジュ
ール構成を示すブロック図、第2図は第1図で示した単
位プロセッサモジュールの構戊を示すブロック図、第3
図及び第4図は第1の実施例の各単位プロセッサのタス
ク処理動作の説明図、第5図は第1の実施例によるマル
チプロセッサ型動画像符号化装置の複数マルチプロセッ
サモジュールの構成を示すブロック図、第6図は単位プ
ロセッサモジュールのメモリバスアクセス動作を示した
タイミング図、第7図はこの発明の第2の実施例による
マルチプロセッサ型動画像符号化装置の単一のマルチプ
ロセッサモジュール構成を示すブロック図、第8図はこ
の発明の第3の実施例であるマルチプロセッサ型動画像
符号化装置におけるメモリバスの制御方法を示したブロ
ック構戒図、第9図は第3の実施例によるタスク処理例
を示す説明図、第10図はこの発明の第4の実施例であ
るマルチプロセッサ型動画像符号化装置を示すブロック
構戊図、第11図は第4の実施例の単位プロセッサが担
当する部分画面を示す図、第12図および第13図は第
4の実施例の動作を示すタイミング図、第14図および
第15図は第4の実施例における格納部の内部状態を示
す説明図、第16図は第4の実施例における入力画像補
助信号の転送順位を示す説明図、第17図はこの発明の
第5の実施例であるマルチプロセッサ型動画像符号化装
置を示すブロック図、第18図は第17図に示すブロッ
ク各部の信号を示すタイミング図、第19図は従来のマ
ルチプロセッサ型動画像符号化装置の構戊を示すブロッ
ク図、第20図及び第21図は従来のマルチプロセッサ
型動画像n号化装置の各単位プロセッサの動作の説明図
、第22図は従来のマルチプロセッサ型動画像符号化装
置を示すブロック構成図、第23図は第22図で示した
従来例における単位プロセ・ソサが担当する区分画面を
示す説明図、第24図および第25図は第22図で示し
た従来例の動作を示すタイミング図、第26図は従来お
よび第5の実施例における部分画面の分割例を示す説明
図、第27図は第22図に示すブロック各部の信号を示
すタイミングチャート図、第28図は動き補償フレーム
間符号化方式における動作を示す説明図である。 図において、2は共有メモリ、3,3a〜3hは単位プ
ロセッサ、48〜4hはローカルメモリ,6はメモリバ
ス、7,7a〜7mはタスク制御部、8.8a〜8mは
タスクテーブル、9は入力フレームメモリ、102〜1
0nは共有メモリ、11a〜llkは単位プロセッサモ
ジュール、12は制御バス、13.14a〜14nはメ
モリノくス、1.6,1.6a〜16mはマルチプロセ
・ソサモジュ−ル、18は割り込み制御部、22はロー
カルRAM,23はローカルROM,24はメモリバス
制御テーブル、37はバス制御部、41〜43は単位プ
ロ゛セッサ、51は入力バス、55は取込み部、56は
処理部、57は出力部、58は格納部、5つはローカル
バス、60は転送制御部、61は共通バス、70は制御
部、71は共用格納部である。 なお、各図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing the configuration of a single multiprocessor module of a multiprocessor type video encoding device according to a first embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a unit processor module shown in FIG. 1. Block diagram showing 3rd
4 and 4 are explanatory diagrams of task processing operations of each unit processor of the first embodiment, and FIG. 5 shows the configuration of a plurality of multiprocessor modules of the multiprocessor type video encoding device according to the first embodiment. A block diagram, FIG. 6 is a timing diagram showing memory bus access operations of unit processor modules, and FIG. 7 is a single multiprocessor module configuration of a multiprocessor type video encoding device according to a second embodiment of the present invention. FIG. 8 is a block diagram showing a memory bus control method in a multiprocessor type video encoding device according to a third embodiment of the present invention, and FIG. 9 is a block diagram showing a third embodiment of the present invention. FIG. 10 is a block diagram showing a multiprocessor video encoding device according to a fourth embodiment of the present invention, and FIG. 11 is a unit processor of the fourth embodiment. 12 and 13 are timing diagrams showing the operation of the fourth embodiment, and FIGS. 14 and 15 show the internal state of the storage section in the fourth embodiment. An explanatory diagram, FIG. 16 is an explanatory diagram showing the transfer order of input image auxiliary signals in the fourth embodiment, and FIG. 17 is a block diagram showing a multiprocessor type moving image encoding device according to the fifth embodiment of the present invention. 18 is a timing diagram showing the signals of each part of the block shown in FIG. 17, FIG. 19 is a block diagram showing the structure of a conventional multiprocessor type video encoding device, and FIGS. 20 and 21 are An explanatory diagram of the operation of each unit processor of a conventional multiprocessor type video encoding device, FIG. 22 is a block diagram showing the conventional multiprocessor type video encoding device, and FIG. 24 and 25 are timing diagrams showing the operation of the conventional example shown in FIG. 22, and FIG. FIG. 27 is an explanatory diagram showing an example of dividing a partial screen in the embodiment, FIG. 27 is a timing chart diagram showing signals of each part of the block shown in FIG. 22, and FIG. 28 is an explanatory diagram showing operations in the motion compensation interframe coding method. be. In the figure, 2 is a shared memory, 3, 3a to 3h are unit processors, 48 to 4h are local memories, 6 is a memory bus, 7, 7a to 7m are task control units, 8.8a to 8m are task tables, and 9 is a Input frame memory, 102-1
0n is a shared memory, 11a to llk are unit processor modules, 12 is a control bus, 13.14a to 14n are memory nodes, 1.6, 1.6a to 16m are multiprocessor modules, and 18 is an interrupt control unit. , 22 is a local RAM, 23 is a local ROM, 24 is a memory bus control table, 37 is a bus control unit, 41 to 43 are unit processors, 51 is an input bus, 55 is a capture unit, 56 is a processing unit, 57 is a 5 is a local bus, 60 is a transfer control unit, 61 is a common bus, 70 is a control unit, and 71 is a shared storage unit. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (4)

【特許請求の範囲】[Claims] (1)符号化プログラムにしたがって符号化を実行する
ディジタル信号処理用の単位プロセッサ,前記単位プロ
セッサとローカルバスを介して接続されたローカルメモ
リ,および制御バスから送られる割り込み信号を調停し
て前記単位プロセッサに受け渡すと共に前記単位プロセ
ッサのアドレスとデータを前記ローカルバスを介して受
けとってこれをデコードして割り込み信号を発生して前
記制御バスに送出する割り込み制御部からなり、各々が
並列に配置された複数の単位プロセッサモジュールと、 独立して設けられた複数のメモリバスを介して前記複数
の単位プロセッサモジュールそれぞれに接続された局部
復号データまたは符号化途中のデータおよびパラメータ
を記憶する複数の共有メモリと、 複数バッファ構成で一面は入力データを書き込む回路に
解放されかつ他面は前記単位プロセッサモジュールに解
放されて書き込みと読み出しが非同期で行える入力フレ
ームメモリと、 前記単位プロセッサモジュール個々の処理タスク内容に
関する過去の履歴、現在の状況及び今後の予測等が格納
されたタスクテーブルと、 画像を複数のブロックに分割し、前記タスクテーブルを
参照して各前記単位プロセッサモジュールに対する最適
な処理ブロックおよび処理タスクを判定し、前記単位プ
ロセッサモジュールに前記制御バスを介して前記処理ブ
ロック位置および前記処理タスク内容をコマンドで指示
することにより、前記複数の単位プロセッサモジュール
に略々均等に前記処理タスクを分担させて符号化を行う
タスク制御部とを備えたマルチプロセッサ型動画像符号
化装置。
(1) A unit processor for digital signal processing that executes encoding according to an encoding program, a local memory connected to the unit processor via a local bus, and an interrupt signal sent from the control bus to arbitrate the unit The interrupt controller includes an interrupt control section that delivers the address and data of the unit processor to the processor, receives the address and data of the unit processor via the local bus, decodes it, generates an interrupt signal, and sends it to the control bus, each of which is arranged in parallel. a plurality of unit processor modules, each connected to each of the plurality of unit processor modules via a plurality of independently provided memory buses, and a plurality of shared memories for storing locally decoded data or data in the middle of encoding and parameters; an input frame memory having a plurality of buffers, one side of which is open to a circuit for writing input data, and the other side of which is open to the unit processor module so that writing and reading can be performed asynchronously; A task table that stores past history, current situation, future prediction, etc., and an image are divided into a plurality of blocks, and the optimal processing block and processing task for each unit processor module are determined by referring to the task table. and instructing the processing block position and the processing task contents to the unit processor module via the control bus, thereby causing the plurality of unit processor modules to share the processing task almost equally. A multiprocessor-type video encoding device comprising a task control unit that performs processing.
(2)ディジタル信号処理用の2個以上の単位プロセッ
サが時分割で単一のメモリバスを介してアクセス可能な
共有メモリに接続されている場合におけるメモリバスの
制御方法であって、 前記各単位プロセッサは、処理終了より一定時間前に前
記共有メモリに対するアクセス要求を発するようにし、
これに対し優先順位の最も高い前記単位プロセッサから
順に前記アクセス要求を認めるようにしたことを特徴と
するバス制御方法。
(2) A memory bus control method when two or more unit processors for digital signal processing are connected to a shared memory that can be accessed via a single memory bus in a time-sharing manner, comprising: The processor issues an access request to the shared memory a certain period of time before the end of the processing,
In contrast, the bus control method is characterized in that the access requests are acknowledged in order from the unit processor having the highest priority.
(3)1画面上の特定の画面位置領域を分担し、入力画
像信号の前記特定の画面位置領域に対応する部分画像信
号を取込んで信号処理を行ったのち出力バスに送出する
ディジタル信号処理用の複数の単位プロセッサを有し、
該単位プロセッサは他の単位プロセッサの信号処理済信
号を近傍処理のための入力画像補助信号として取込み可
能であるマルチプロセッサ型動画像符号化装置において
、前記単位プロセッサの各々が互いに連続しない複数の
画面位置領域を分担し、全単位プロセッサが分担する画
面位置領域の入力部分画像信号を取込んだ後、入力部分
画像信号および入力画像補助信号の信号処理を一斉に開
始することを特徴とするマルチプロセッサ型動画像符号
化装置。
(3) Digital signal processing that allocates a specific screen position area on one screen, captures a partial image signal corresponding to the specific screen position area of the input image signal, performs signal processing, and then sends it to the output bus. has multiple unit processors for
In a multiprocessor-type video encoding device, each of the unit processors is capable of taking in processed signals of other unit processors as input image auxiliary signals for neighboring processing, and each of the unit processors is configured to take in a plurality of non-contiguous screens. A multiprocessor characterized in that after all unit processors share the position area and take in the input partial image signals of the screen position area shared by all unit processors, they start signal processing of the input partial image signal and the input image auxiliary signal all at once. type video encoding device.
(4)入力バスに入力される入力部分画面信号をフレー
ム単位で取り込む取込部と、前記入力部分画面信号に対
して符号化/復号化処理を行う処理部と、前記処理部に
おける部分符号化の処理結果である符号化/復号化済部
分画面信号を出力する出力部と、前記符号化/復号化済
部分画面信号を格納する格納部とから構成された複数の
単位プロセッサを備えたマルチプロセッサ型動画像符号
化装置において、 前記各単位プロセッサにおける前記取込み,処理,格納
および出力を制御する制御部と、 前記符号化/復号化済部分画面信号を前記格納部に格納
するときに、次フレームの処理に必要となるこの符号化
/復号化済部分画面信号の一部を自己の前記単位プロセ
ッサおよび他の前記単位プロセッサのうち少なくとも1
つから読み書き可能に格納する共用格納部とを備えたこ
とを特徴とするマルチプロセッサ型動画像符号化装置。
(4) A capture unit that captures the input partial screen signal input to the input bus frame by frame, a processing unit that performs encoding/decoding processing on the input partial screen signal, and partial encoding in the processing unit A multiprocessor comprising a plurality of unit processors, each comprising an output unit that outputs an encoded/decoded partial screen signal that is a processing result of the process, and a storage unit that stores the encoded/decoded partial screen signal. type video encoding device, comprising: a control unit that controls the capture, processing, storage, and output in each unit processor; and a control unit that controls the capture, processing, storage, and output in each unit processor; A part of this encoded/decoded partial screen signal necessary for processing is transmitted to at least one of the own unit processor and the other unit processor.
1. A multiprocessor type video encoding device, comprising: a shared storage section for storing data in a readable and writable manner.
JP9531090A 1989-05-10 1990-04-10 Multiprocessor video coding apparatus and bus control method Expired - Lifetime JP2836902B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9531090A JP2836902B2 (en) 1989-05-10 1990-04-10 Multiprocessor video coding apparatus and bus control method

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP11710989 1989-05-10
JP12332989 1989-05-17
JP25104789 1989-09-27
JP1-251047 1989-10-19
JP1-123329 1989-10-19
JP27440489 1989-10-19
JP1-117109 1989-10-19
JP1-274404 1989-10-19
JP9531090A JP2836902B2 (en) 1989-05-10 1990-04-10 Multiprocessor video coding apparatus and bus control method

Publications (2)

Publication Number Publication Date
JPH03205985A true JPH03205985A (en) 1991-09-09
JP2836902B2 JP2836902B2 (en) 1998-12-14

Family

ID=27525738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9531090A Expired - Lifetime JP2836902B2 (en) 1989-05-10 1990-04-10 Multiprocessor video coding apparatus and bus control method

Country Status (1)

Country Link
JP (1) JP2836902B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002244646A (en) * 2000-10-10 2002-08-30 Sony Computer Entertainment Inc System and method for data processing, computer program, and recording medium
JP2005332298A (en) * 2004-05-21 2005-12-02 Ricoh Co Ltd Information processor, information processing method, information processing program and recording medium
US7035991B2 (en) 1999-11-01 2006-04-25 Sony Computer Entertainment Inc. Surface computer and computing method using the same
JP2007188196A (en) * 2006-01-12 2007-07-26 Ricoh Co Ltd Image processor and imaging processing control method
JP2008146438A (en) * 2006-12-12 2008-06-26 Toshiba Corp Image processor and image processing method
US7418705B2 (en) 2003-06-27 2008-08-26 Kabushiki Kaisha Toshiba Method and system for performing real-time operation
US7657890B2 (en) 2003-06-27 2010-02-02 Kabushiki Kaisha Toshiba Scheduling system and method in which threads for performing a real-time operation are assigned to a plurality of processors
US7697768B2 (en) 2005-01-25 2010-04-13 Hitachi Kokusai Electric Inc. Method and apparatus for encoding an image

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094400A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image processor and image processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4732751A (en) * 1971-03-10 1972-11-16
JPS6149268A (en) * 1984-08-16 1986-03-11 Mitsubishi Electric Corp Shared memory access system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4732751A (en) * 1971-03-10 1972-11-16
JPS6149268A (en) * 1984-08-16 1986-03-11 Mitsubishi Electric Corp Shared memory access system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7035991B2 (en) 1999-11-01 2006-04-25 Sony Computer Entertainment Inc. Surface computer and computing method using the same
JP2002244646A (en) * 2000-10-10 2002-08-30 Sony Computer Entertainment Inc System and method for data processing, computer program, and recording medium
US7418705B2 (en) 2003-06-27 2008-08-26 Kabushiki Kaisha Toshiba Method and system for performing real-time operation
US7657890B2 (en) 2003-06-27 2010-02-02 Kabushiki Kaisha Toshiba Scheduling system and method in which threads for performing a real-time operation are assigned to a plurality of processors
US8171477B2 (en) 2003-06-27 2012-05-01 Kabushiki Kaisha Toshiba Method and system for performing real-time operation
JP2005332298A (en) * 2004-05-21 2005-12-02 Ricoh Co Ltd Information processor, information processing method, information processing program and recording medium
JP4494866B2 (en) * 2004-05-21 2010-06-30 株式会社リコー Information processing apparatus, information processing method, information processing program, and recording medium
US7697768B2 (en) 2005-01-25 2010-04-13 Hitachi Kokusai Electric Inc. Method and apparatus for encoding an image
JP2007188196A (en) * 2006-01-12 2007-07-26 Ricoh Co Ltd Image processor and imaging processing control method
US7916975B2 (en) 2006-01-12 2011-03-29 Ricoh Company, Ltd. Image processing apparatus and image processing control method
JP2008146438A (en) * 2006-12-12 2008-06-26 Toshiba Corp Image processor and image processing method

Also Published As

Publication number Publication date
JP2836902B2 (en) 1998-12-14

Similar Documents

Publication Publication Date Title
US5237686A (en) Multiprocessor type time varying image encoding system and image processor with memory bus control table for arbitration priority
US6124866A (en) Multiprocessor system with unit processors assigned a plurality of non-contiguous regions
US5510857A (en) Motion estimation coprocessor
EP1880297B1 (en) Data transfer arbitration apparatus and data transfer arbitration method
US5600837A (en) Multitask processor architecture having a plurality of instruction pointers
JPH08123953A (en) Picture processor
JPH0759084A (en) Picture processing system
JP5245004B2 (en) Low power memory hierarchy for high performance video processors
JP5309700B2 (en) Moving picture decoding apparatus and encoding apparatus
ITNA960032A1 (en) ELECTRONIC NUMERICAL MULTIPROCESSOR PARALLEL MULTIPROCESSOR WITH REDUNDANCY OF COUPLED PROCESSORS
JPS62208158A (en) Multiprocessor system
WO2009130871A1 (en) Decoding device
US20070279422A1 (en) Processor system including processors and data transfer method thereof
JPH03205985A (en) Multiprocessor type moving image encoder and bus control method
US5929911A (en) Multiformat reduced memory MPEG-2 compliant decoder
JP3544524B2 (en) Image processing device
JP2001084229A (en) Simd-type processor
US7773817B2 (en) JPEG image processing circuit
KR20070082835A (en) Apparatus and method for controlling direct memory access
JP3087588B2 (en) Image processing system
EP1333683B1 (en) Method and system for memory transfer control of video line data and macroblock data
JPH03177961A (en) Multiprocessor controller
CN1220377C (en) Equipment for procesing data by means of multi processor
JPH02264370A (en) Picture processor
JPH07210545A (en) Parallel processing processors

Legal Events

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

Free format text: PAYMENT UNTIL: 20071009

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 12