JPH10243393A - Image decoding method, image decoding device, image multiplexing method, image multiplexing device, and recording medium - Google Patents

Image decoding method, image decoding device, image multiplexing method, image multiplexing device, and recording medium

Info

Publication number
JPH10243393A
JPH10243393A JP4773397A JP4773397A JPH10243393A JP H10243393 A JPH10243393 A JP H10243393A JP 4773397 A JP4773397 A JP 4773397A JP 4773397 A JP4773397 A JP 4773397A JP H10243393 A JPH10243393 A JP H10243393A
Authority
JP
Japan
Prior art keywords
work area
decoding
image
priority
coded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4773397A
Other languages
Japanese (ja)
Inventor
Makoto Ukai
誠 羽飼
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4773397A priority Critical patent/JPH10243393A/en
Publication of JPH10243393A publication Critical patent/JPH10243393A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Input (AREA)
  • Television Systems (AREA)

Abstract

(57)【要約】 【課題】 合成画像の復号処理で作業領域を効率的に運
用し、作業領域の容量が不足の場合にも空き領域を活用
して多重化信号の分離と画像の復号を行う。 【解決手段】 逆多重化手段102は、複数の画像の各
符号化信号を多重化した多重化信号101を入力し、各
画像の符号化信号103に分離する。作業領域量検出手
段108は符号化信号103に対する作業領域量を検出
し、CPU109に通知する。作業領域記憶手段106
は復号時に必要となる参照画像等を作業領域に記憶す
る。また作業領域情報記憶手段110は作業領域に関す
る情報を記憶し、別の画像処理に必要な作業領域をCP
U109に通知する。CPU109は作業領域の管理と
復号手段104の動作を制御することにより、合成画像
の復号のための作業領域記憶手段106を効率的に運用
する。
(57) [Summary] [PROBLEMS] To efficiently operate a work area in a decoding process of a composite image and to separate a multiplexed signal and decode an image by utilizing a free area even when the capacity of the work area is insufficient. Do. A demultiplexing unit receives a multiplexed signal obtained by multiplexing coded signals of a plurality of images and separates the multiplexed signals into coded signals of each image. The work area amount detecting means 108 detects the work area amount for the encoded signal 103 and notifies the CPU 109 of the work area amount. Work area storage means 106
Stores a reference image and the like necessary for decoding in a work area. The work area information storage unit 110 stores information on the work area, and stores a work area necessary for another image processing as a CP.
Notify U109. The CPU 109 manages the work area and controls the operation of the decoding means 104 to efficiently operate the work area storage means 106 for decoding the composite image.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像信号の記録及
び伝送に際して、記録容量や伝送路容量の効率的な利用
を目的として、画像、音声、デジタルデータのデータ量
を削減すべく符号化して符号化信号を多重する画像多重
化方法及び画像多重装置と、その多重化信号を正しく復
号する画像復号化方法及び画像復号化装置と、多重化信
号を記録する記録媒体とに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of recording and transmitting an image signal in order to reduce a data amount of an image, a sound, and a digital data in order to efficiently use a recording capacity and a transmission path capacity. The present invention relates to an image multiplexing method and an image multiplexing apparatus for multiplexing an encoded signal, an image decoding method and an image decoding apparatus for correctly decoding the multiplexed signal, and a recording medium for recording the multiplexed signal.

【0002】[0002]

【従来の技術】膨大なデータ量を持つ画像データを効率
的に記録及び伝送するためには、画像圧縮の技術が不可
欠である。そのため、これまでに画像を効率的に符号化
する技術としてJPEG、MPEG等が開発されてきた。MPEG,J
PEG 方式が対象とするのは単独の画像又は単独の動画像
系列である。一方で、画像には複数の画像から生成され
るような合成画像がある。
2. Description of the Related Art An image compression technique is indispensable for efficiently recording and transmitting image data having an enormous data amount. Therefore, JPEG, MPEG, and the like have been developed as techniques for efficiently encoding images. MPEG, J
The PEG method targets a single image or a single moving image sequence. On the other hand, an image includes a composite image generated from a plurality of images.

【0003】図11は合成画像の概念を示した説明図で
ある。背景画像1101は背景を示す画像であり、画像
1102、1104は合成画像を構成する物体(オブジ
ェクト)の画像である。まず,背景画像1101に対し
て球状の物体Aの画像1102が合成され、合成画像1
106を得る。このときに,背景と物体Aの画素値の合
成の割合を示すために透過度信号1103が用いられ
る。透過度信号1103は背景画像1101と物体の画
像1102の画素値の合成の割合を示す信号である。
FIG. 11 is an explanatory view showing the concept of a composite image. The background image 1101 is an image showing the background, and the images 1102 and 1104 are images of the objects that make up the composite image. First, the image 1102 of the spherical object A is synthesized with the background image 1101, and the synthesized image 1
106 is obtained. At this time, the transmittance signal 1103 is used to indicate the ratio of the combination of the pixel values of the background and the object A. The transmittance signal 1103 is a signal indicating the rate of synthesis of the pixel values of the background image 1101 and the image 1102 of the object.

【0004】更に,合成画像1106の上に、円柱状の
物体Bの画像1104と透過度信号1105とが同様の
方法で合成され、最終的な合成画像1107が生成され
る。動画像の合成画像では、背景と物体とを夫々動画像
系列とみなすことができる。各動画像系列中のある時点
の画像を合成していくことで、合成画像の動画像を生成
することができる。
Further, an image 1104 of a columnar object B and a transparency signal 1105 are synthesized on the synthesized image 1106 in a similar manner, and a final synthesized image 1107 is generated. In a composite image of a moving image, the background and the object can each be regarded as a moving image sequence. By combining images at a certain point in each moving image sequence, a moving image of a combined image can be generated.

【0005】図12は合成画像の画像信号を符号化して
多重化する従来の画像多重化装置と、合成画像の多重化
信号を復号する画像復号化装置の構成例を示したブロッ
ク図である。上段に画像多重化装置1201を示し、下
段に画像復号化装置1202を示す。画像多重化装置1
201の多重化信号は伝送路1203を介して画像復号
化装置1202に伝送される。
FIG. 12 is a block diagram showing an example of the configuration of a conventional image multiplexing apparatus for encoding and multiplexing an image signal of a composite image and an image decoding apparatus for decoding a multiplexed signal of the composite image. An image multiplexing device 1201 is shown in the upper part, and an image decoding device 1202 is shown in the lower part. Image multiplexing device 1
The multiplexed signal 201 is transmitted to the image decoding device 1202 via the transmission path 1203.

【0006】画像多重化装置1201は、複数の符号化
手段904、905、906と多重化手段910とを有
している。各物体の画像信号901、902、903が
入力されると、符号化手段904、905、906は夫
々の画像信号を符号化し、符号化信号907、908、
909を生成し、多重化手段910に与える。多重化手
段910は符号化信号907、908、909を多重化
して多重化信号911を生成し、伝送路1203に出力
する。
[0006] The image multiplexing device 1201 has a plurality of encoding means 904, 905, 906 and a multiplexing means 910. When image signals 901, 902, and 903 of each object are input, encoding means 904, 905, and 906 encode the respective image signals, and encode signals 907, 908,
909 is generated and given to the multiplexing means 910. The multiplexing unit 910 multiplexes the coded signals 907, 908, and 909 to generate a multiplexed signal 911, and outputs the multiplexed signal 911 to the transmission path 1203.

【0007】画像復号化装置1202は、逆多重化手段
102、復号手段104、作業領域記憶手段106、合
成手段1207により構成される。逆多重化手段102
は伝送路1203から伝送された多重化信号911を入
力し、各画像の符号化信号1204、1205、120
6に分離して出力する手段である。復号手段104は各
符号化信号1204〜1206を復号して各画像の画像
信号に変換する手段である。作業領域記憶手段106は
復号手段104で復号に必要な情報を記憶するもので、
参照画像等を優先して記憶する。合成手段1207は復
号手段104が復号した各画像信号と作業領域記憶手段
106の参照画像を用いて各フレームの画像を合成し、
合成画像1208として出力する手段である。
[0007] The image decoding apparatus 1202 comprises a demultiplexing means 102, a decoding means 104, a work area storage means 106 and a synthesizing means 1207. Demultiplexing means 102
Receives the multiplexed signal 911 transmitted from the transmission line 1203, and encodes the encoded signals 1204, 1205, and 120 of each image.
6 is a means for separating and outputting. The decoding unit 104 is a unit that decodes each of the encoded signals 1204 to 1206 and converts it into an image signal of each image. The work area storage means 106 stores information necessary for decoding by the decoding means 104.
The reference image or the like is stored with priority. The synthesizing unit 1207 synthesizes the image of each frame using each image signal decoded by the decoding unit 104 and the reference image of the work area storage unit 106,
This is a means for outputting as a composite image 1208.

【0008】動画像の場合には、画像多重化装置120
1は各物体毎にそれぞれ動画像系列を入力して符号化と
多重化を行う。画像復号化装置1202は多重化信号を
各物体毎の動画像系列の符号化信号に分離し、夫々を動
画像として復号して合成する。また、画像多重化装置1
201は多重化の際に各物体の画像の合成の順番、画像
のサイズ、合成位置等のように、合成時に必要となる情
報も同時に多重化して伝送する。
In the case of a moving image, the image multiplexing device 120
1 inputs a moving image sequence for each object and performs encoding and multiplexing. The image decoding device 1202 separates the multiplexed signal into encoded signals of a moving image sequence for each object, decodes each as a moving image, and combines them. The image multiplexing device 1
Reference numeral 201 simultaneously multiplexes and transmits information required at the time of combining, such as the order of combining images of the objects, the size of the image, the combining position, and the like.

【0009】画像復号化装置1202は、伝送路120
3を介して伝送された多重化信号911を受信し、逆多
重化手段102で各画像の符号化信号1204〜120
6に分解して出力する。復号手段104は各符号化信号
1204〜1206を復号して各画像の画像信号に変換
する。復号手段104が出力した復号画像(画像信号)
は必要に応じて作業領域記憶手段106に保存される。
[0009] The image decoding apparatus 1202
3 is received, and the demultiplexing unit 102 receives the multiplexed signal 911 of each image.
6 and output. The decoding means 104 decodes each of the encoded signals 1204 to 1206 and converts them into an image signal of each image. A decoded image (image signal) output by the decoding unit 104
Are stored in the work area storage means 106 as needed.

【0010】作業領域記憶手段106は復号手段104
が復号時に必要とする情報を保持する働きをし、この例
では少なくとも予測符号化に必要な参照画像を保持す
る。この作業領域記憶手段106中の記憶領域は多重化
信号中の各符号化信号の復号処理毎に夫々割り当てられ
なければならない。合成手段1207は復号手段104
が復号した各画像を合成して合成画像1208を出力す
る。
[0010] The work area storage means 106 is a decoding means 104
Has the function of holding the information required at the time of decoding, and in this example, holds at least the reference image necessary for predictive coding. The storage area in the work area storage means 106 must be allocated for each decoding processing of each encoded signal in the multiplexed signal. The synthesizing unit 1207 is a decoding unit 104
Synthesizes the decoded images and outputs a synthesized image 1208.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、これま
で合成画像の復号処理では、画像復号化装置の作業領域
の効率的な管理や、作業領域の容量が十分でない場合の
考慮がなされておらず、作業領域記憶手段の管理が困難
になる問題があった。
However, in the decoding processing of a composite image, efficient management of the work area of the image decoding apparatus and consideration of a case where the capacity of the work area is not enough has not been taken until now. There is a problem that management of the work area storage means becomes difficult.

【0012】本発明は、このような従来の問題点に鑑み
てなされたものであって、画像復号化装置の作業領域記
憶手段の効率的な管理を可能にする画像多重化方法、画
像復号化方法、及びこれらの方法を具体化する画像多重
化装置、画像復号化装置を実現することを目的とする。
また、これらの多重化信号を記録した記録媒体を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such conventional problems, and has been made in consideration of the above-described problems. It is an object to realize a method, and an image multiplexing device and an image decoding device that embody these methods.
It is another object of the present invention to provide a recording medium on which these multiplexed signals are recorded.

【0013】[0013]

【課題を解決するための手段】このような課題を解決す
るため、本願の請求項1記載の発明は、符号化された複
数の画像信号を含むデータを多重化した多重化信号を入
力し、多重化されたデータを復号する画像復号化方法で
あって、前記多重化信号を前記各符号化信号に分離し、
前記各符号化信号の復号処理に必要となる作業領域記憶
手段の作業領域の容量を作業領域量として検出し、検出
した前記作業領域量を前記作業領域記憶手段に割り当
て、前記作業領域記憶手段に割り当てられた作業領域を
用いて前記符号化信号を復号することを特徴とするもの
である。
In order to solve such a problem, the invention according to claim 1 of the present application inputs a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals, An image decoding method for decoding multiplexed data, wherein the multiplexed signal is separated into the respective encoded signals,
Detecting the capacity of the work area of the work area storage means required for the decoding processing of each of the encoded signals as a work area amount, assigning the detected work area amount to the work area storage means, The encoded signal is decoded using the assigned work area.

【0014】また本願の請求項2記載の発明によれば、
前記各符号化信号の復号処理に割り当てた前記作業領域
記憶手段中の領域の位置を、作業領域情報として記憶す
ることを特徴とするものである。
According to the invention described in claim 2 of the present application,
The position of the area in the work area storage means allocated to the decoding processing of each of the encoded signals is stored as work area information.

【0015】また本願の請求項3記載の発明によれば、
前記各符号化信号の復号処理に割り当てていない前記作
業領域記憶手段中の空き領域の位置を、空き領域情報と
して記憶することを特徴とするものである。
According to the invention of claim 3 of the present application,
A position of a free area in the work area storage means which is not assigned to the decoding processing of each of the encoded signals is stored as free area information.

【0016】また本願の請求項4記載の発明によれば、
前記各符号化信号の復号処理に割り当てた前記作業領域
記憶手段中の領域の位置情報である作業領域情報と、復
号処理に割り当てていない前記作業領域記憶手段中の空
き領域の位置情報である空き領域情報とを記憶すること
を特徴とするものである。
According to the invention described in claim 4 of the present application,
Work area information, which is the position information of the area in the work area storage means allocated to the decoding processing of each of the encoded signals, and free space, which is the position information of the free area in the work area storage means not allocated to the decoding processing It is characterized by storing area information.

【0017】また本願の請求項5記載の発明によれば、
符号化された複数の画像信号を含むデータを多重化した
多重化信号を入力し、多重化されたデータを復号する画
像復号化装置であって、前記多重化信号を前記各符号化
信号に分離する逆多重化手段と、符号化信号の復号に使
用する情報を保持する作業領域記憶手段と、前記逆多重
化手段から出力される各符号化信号の復号処理に必要と
なる作業領域の容量を検出する作業領域量検出手段と、
前記作業領域量検出手段で検出した前記作業領域量を前
記作業領域記憶手段に割り当てる制御手段と、前記作業
領域記憶手段に割り当てられた作業領域を用いて前記逆
多重化手段で分離された前記符号化信号を復号する復号
手段と、を具備することを特徴とするものである。
According to the invention of claim 5 of the present application,
An image decoding apparatus for receiving a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decoding the multiplexed data, wherein the apparatus separates the multiplexed signal into the respective encoded signals. Demultiplexing means, a work area storage means for holding information used for decoding an encoded signal, and a work area capacity required for decoding each encoded signal output from the demultiplexing means. A work area amount detecting means for detecting,
Control means for allocating the work area amount detected by the work area amount detection means to the work area storage means; and the code separated by the demultiplexing means using the work area allocated to the work area storage means. Decoding means for decoding the coded signal.

【0018】また本願の請求項6記載の発明によれば、
符号化された複数の画像信号を含むデータを多重化した
多重化信号を入力し、多重化されたデータを復号する画
像復号化方法であって、前記多重化信号を前記各符号化
信号に分離し、前記各符号化信号の復号処理に必要とな
る作業領域の容量を作業領域量として検出し、前記各符
号化信号の復号処理に際し、前記作業領域記憶手段の作
業領域の割り当ての優先度を検出し、検出した前記作業
領域量を前記優先度が高い復号処理から順に前記作業領
域記憶手段に割り当て、前記作業領域記憶手段に割り当
てられた作業領域を用いて前記符号化信号を復号するこ
とを特徴とするものである。
According to the invention of claim 6 of the present application,
An image decoding method for inputting a multiplexed signal obtained by multiplexing data including a plurality of coded image signals and decoding the multiplexed data, wherein the multiplexed signal is separated into the respective coded signals. Then, the capacity of the work area required for the decoding process of each of the encoded signals is detected as a work area amount, and in the decoding process of each of the encoded signals, the priority of the assignment of the work area of the work area storage unit is determined. Detecting and assigning the detected work area amount to the work area storage means in order from the decoding processing with the higher priority, and decoding the encoded signal using the work area assigned to the work area storage means. It is a feature.

【0019】また本願の請求項7記載の発明によれば、
前記優先度が一定以下の符号化信号の復号処理に対して
は、前記作業領域記憶手段の作業領域を割り当てないこ
とを特徴とするものである。
According to the invention described in claim 7 of the present application,
A work area of the work area storage means is not assigned to the decoding processing of the coded signal having the priority lower than a certain level.

【0020】また本願の請求項8記載の発明によれば、
当該の復号処理のために所定量の作業領域の割り当てを
要求したとき、前記作業領域記憶手段に空き作業領域が
なければ、当該の復号処理より優先度の低い復号処理に
割り当てられている作業領域を解放し、解放された前記
作業領域を当該の復号処理に割り当てることを特徴とす
るものである。
According to the invention described in claim 8 of the present application,
When requesting allocation of a predetermined amount of work area for the decoding process, if there is no free work area in the work area storage means, a work area assigned to a decoding process with a lower priority than the decoding process. Is released, and the released work area is allocated to the decoding process.

【0021】また本願の請求項9記載の発明によれば、
複数の画像を含むデータを多重化した多重化信号を入力
し、多重化されたデータを復号する画像復号化装置であ
って、複数の画像を含むデータの各符号化信号を多重化
した多重化信号を入力して前記各符号化信号に分離する
逆多重化手段と、符号化信号の復号に使用する情報を保
持する作業領域記憶手段と、前記逆多重化手段から出力
される各符号化信号の復号処理に必要となる作業領域の
容量を作業領域量として検出する作業領域量検出手段
と、前記各符号化信号の復号処理に際し、作業領域記憶
手段の作業領域の割当ての優先度を検出する優先度検出
手段と、前記作業領域量検出手段で検出した前記作業領
域量を、前記優先度検出手段で検出した優先度に応じて
前記作業領域記憶手段に割り当てる制御手段と、前記逆
多重化手段で分離された前記符号化信号を前記作業領域
記憶手段に割り当てられた作業領域を用いて復号する復
号手段と、を具備することを特徴とするものである。
According to the invention of claim 9 of the present application,
An image decoding apparatus for inputting a multiplexed signal obtained by multiplexing data including a plurality of images and decoding the multiplexed data, wherein the multiplexing includes multiplexing respective coded signals of data including a plurality of images. Demultiplexing means for inputting a signal and separating it into each of the coded signals; work area storage means for holding information used for decoding the coded signal; and each coded signal output from the demultiplexing means A work area amount detecting means for detecting a capacity of a work area necessary for decoding processing as a work area amount, and detecting a priority of assignment of a work area in a work area storage means at the time of decoding each of the encoded signals. Priority detection means, control means for allocating the work area amount detected by the work area amount detection means to the work area storage means according to the priority detected by the priority detection means, and the demultiplexing means Separated by It is characterized in that it comprises a decoding means for decoding using the work area allocated to the working area storage means the coded signals.

【0022】また本願の請求項10記載の発明によれ
ば、前記作業領域記憶手段中の作業領域の位置情報を作
業領域情報として記憶する作業領域情報記憶手段と、前
記作業領域記憶手段中の空き領域の位置情報を空き領域
情報として記憶する空き領域情報記憶手段と、を更に設
けたことを特徴とするものである。
According to the invention of claim 10 of the present application, a work area information storage means for storing position information of a work area in the work area storage means as work area information, and a free space in the work area storage means. And free space information storage means for storing the position information of the area as free space information.

【0023】また本願の請求項11記載の発明によれ
ば、符号化された複数の画像信号を含むデータを多重化
した多重化信号を入力し、多重化されたデータを復号す
る画像復号化方法であって、前記多重化信号を前記各符
号化信号に分離し、前記各符号化信号の一時保持に必要
となるバッファ手段のバッファ容量を検出し、前記各符
号化信号の復号処理に際し、前記バッファ手段のバッフ
ァ領域の割り当ての優先度を検出し、検出した前記バッ
ファ容量を優先度が高い符号化信号から順に前記バッフ
ァ手段に割り当て、前記バッファ手段に保持された各符
号化信号を復号化することを特徴とするものである。
According to the eleventh aspect of the present invention, there is provided an image decoding method for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals, and decoding the multiplexed data. In separating the multiplexed signal into the respective coded signals, detecting the buffer capacity of buffer means necessary for temporarily holding the respective coded signals, when decoding the respective coded signals, A buffer area allocation priority of the buffer means is detected, the detected buffer capacity is allocated to the buffer means in order from a coded signal having a high priority, and each coded signal held in the buffer means is decoded. It is characterized by the following.

【0024】また本願の請求項12記載の発明によれ
ば、符号化された複数の画像信号を含むデータを多重化
した多重化信号を入力し、多重化されたデータを復号す
る画像復号化方法であって、前記多重化信号を前記各符
号化信号に分離し、前記各符号化信号の一時保持に必要
となるバッファ手段のバッファ容量を検出し、前記各符
号化信号の復号処理に際し、前記バッファ手段のバッフ
ァ領域の割り当ての優先度を検出し、検出した前記バッ
ファ容量を優先度が高い符号化信号から順に前記バッフ
ァ手段に割り当て、当該符号化信号の保持のためバッフ
ァ領域の割り当てを要求したとき、前記バッファ手段に
空き領域がなければ、前記優先度の低い符号化信号のた
めに割り当てられているバッファ使用領域を解放し、前
記バッファ領域を要求した当該符号化信号の保持のため
に、解放した前記バッファ領域を割り当て、前記バッフ
ァ手段に保持された各符号化信号を復号化することを特
徴とするものである。
According to the twelfth aspect of the present invention, there is provided an image decoding method for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decoding the multiplexed data. In separating the multiplexed signal into the respective coded signals, detecting the buffer capacity of buffer means necessary for temporarily holding the respective coded signals, when decoding the respective coded signals, The priority of the allocation of the buffer area of the buffer means is detected, and the detected buffer capacity is allocated to the buffer means in order from the encoded signal having the higher priority, and the buffer area is requested to be allocated for holding the encoded signal. At this time, if there is no free space in the buffer means, the buffer use area allocated for the low-priority coded signal is released, and the buffer area is required. For the retention of the coded signal, assign the freed the buffer region, is characterized in that for decoding the coded signal stored in the buffer means.

【0025】また本願の請求項13記載の発明によれ
ば、符号化された複数の画像信号を含むデータを多重化
した多重化信号を入力し、多重化されたデータを復号す
る画像復号化装置であって、前記多重化信号を前記各符
号化信号に分離する逆多重化手段と、各符号化信号を一
時保持するバッファ手段と、前記逆多重化手段から出力
される各符号化信号の一時保持に必要となるバッファ容
量を検出するバッファ容量検出手段と、前記各符号化信
号の復号処理に際し、前記バッファ手段のバッファ領域
の割り当ての優先度を検出する優先度検出手段と、前記
バッファ容量検出手段で検出した前記バッファ容量を、
前記優先度検出手段で検出した優先度に応じて前記バッ
ファ手段に割り当てる制御手段と、前記バッファ手段で
保持された前記符号化信号を復号する復号手段と、を具
備することを特徴とするものである。
According to the thirteenth aspect of the present invention, there is provided an image decoding apparatus which receives a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decodes the multiplexed data. A demultiplexing unit that separates the multiplexed signal into the coded signals, a buffer unit that temporarily holds the coded signals, and a buffer for temporarily storing the coded signals output from the demultiplexing unit. Buffer capacity detection means for detecting a buffer capacity required for holding; priority detection means for detecting the priority of allocation of a buffer area of the buffer means in decoding each of the encoded signals; The buffer capacity detected by the means,
Control means for allocating to the buffer means in accordance with the priority detected by the priority detection means, and decoding means for decoding the coded signal held by the buffer means. is there.

【0026】また本願の請求項14記載の発明によれ
ば、複数の画像を含むデータを符号化した符号化信号を
生成し、前記各符号化信号を多重化した多重化信号を出
力する画像多重化方法であって、画像復号化装置側で復
号時に作業用領域として使用する作業領域記憶手段にお
ける割り当ての優先度を、前記符号化信号に多重化して
出力することを特徴とするものである。
[0026] According to the invention of claim 14 of the present application, an image multiplexing method for generating a coded signal obtained by coding data including a plurality of images and outputting a multiplexed signal obtained by multiplexing the coded signals. The encoding method is characterized in that the priority of assignment in a work area storage means used as a work area at the time of decoding is multiplexed on the coded signal and output by the image decoding apparatus.

【0027】また本願の請求項15記載の発明によれ
ば、複数の画像を含むデータを符号化した符号化信号を
生成し、前記各符号化信号を多重化した多重化信号を出
力する画像多重化装置であって、複数の画像を含むデー
タを符号化して符号化信号を生成する複数の符号化手段
と、画像復号化装置側で復号時に作業用領域として使用
する作業領域記憶手段における割り当ての優先度を決定
する優先度決定手段と、前記各符号化手段の出力する符
号化信号と優先度決定手段の出力する優先度信号とを多
重化して出力する多重化手段と、を具備することを特徴
とするものである。
According to the fifteenth aspect of the present invention, there is provided an image multiplexing apparatus for generating a coded signal obtained by coding data including a plurality of images, and outputting a multiplexed signal obtained by multiplexing the coded signals. A plurality of encoding means for encoding data including a plurality of images to generate an encoded signal, and an assignment in a work area storage means used as a work area at the time of decoding on the image decoding apparatus side. Priority determining means for determining the priority, and multiplexing means for multiplexing and outputting the encoded signal output from each of the encoding means and the priority signal output from the priority determining means. It is a feature.

【0028】また本願の請求項16記載の発明によれ
ば、複数の画像を含むデータを符号化した符号化信号を
生成し、前記各符号化信号を多重化した多重化信号を出
力する画像多重化装置であって、複数の画像を含むデー
タを符号化して符号化信号を生成する複数の符号化手段
と、復号時に使用する符号化信号を保持するためのバッ
ファ手段に対して、割り当ての優先度を決定する優先度
決定手段と、前記各符号化手段の出力する符号化信号と
優先度決定手段の出力する優先度信号とを多重化して出
力する多重化手段と、を具備することを特徴とするもの
である。
[0028] According to the invention of claim 16 of the present application, an image multiplexing method for generating a coded signal obtained by coding data including a plurality of images and outputting a multiplexed signal obtained by multiplexing the coded signals. A plurality of encoding means for encoding data including a plurality of images to generate an encoded signal, and a buffer means for holding an encoded signal used at the time of decoding. Priority determining means for determining the degree, and multiplexing means for multiplexing and outputting a coded signal output from each of the coding means and a priority signal output from the priority determining means. It is assumed that.

【0029】また本願の請求項17記載の発明によれ
ば、複数の画像及びその他のデータを符号化した符号化
信号を生成して前記各符号化信号を多重化した多重化信
号と、復号時に使用する符号化信号を保持するための作
業領域記憶手段に対する割り当ての優先度とを蓄積した
ことを特徴とするものである。
According to the seventeenth aspect of the present invention, a multiplexed signal obtained by generating a coded signal obtained by coding a plurality of images and other data and multiplexing the coded signals, The present invention is characterized in that priorities of assignment to work area storage means for holding coded signals to be used are accumulated.

【0030】また本願の請求項18記載の発明によれ
ば、複数の画像及びその他のデータを符号化した符号化
信号を生成して前記各符号化信号を多重化した多重化信
号と、復号時に使用する符号化信号を保持するためのバ
ッファ手段に対する割り当ての優先度とを蓄積したこと
を特徴とするものである。
According to the invention of claim 18 of the present application, a multiplexed signal obtained by generating a coded signal obtained by coding a plurality of images and other data and multiplexing the coded signals, The present invention is characterized in that priorities of allocation to buffer means for holding coded signals to be used are accumulated.

【0031】[0031]

【発明の実施の形態】以下、本発明の具体的な実施の形
態について、図面を参照しながら説明する。なお、各実
施の形態では画像の符号化信号の多重化について説明を
行うが、画像のみでなく、音声、テキストデータを含む
デジタルデータの場合についても同様に扱うものとす
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. In each of the embodiments, multiplexing of a coded signal of an image will be described. However, not only an image but also digital data including voice and text data is handled in the same manner.

【0032】(実施の形態1)本発明の実施の形態1に
おける画像復号化方法と画像復号化装置とについて図1
〜5を用いて説明する。図1は本実施の形態における画
像復号化装置の基本構成を示すブロック図であり、従来
例と同一部分は同一の符号を付けて説明する。図1にお
いて、画像復号化装置は逆多重化手段102、復号手段
104、作業領域記憶手段106、作業領域量検出手段
108、CPU109、作業領域情報記憶手段110、
空き領域情報記憶手段111を含んで構成される。
(Embodiment 1) An image decoding method and an image decoding apparatus according to Embodiment 1 of the present invention are shown in FIG.
This will be described with reference to FIGS. FIG. 1 is a block diagram showing a basic configuration of an image decoding apparatus according to the present embodiment, and the same parts as those of the conventional example are denoted by the same reference numerals. In FIG. 1, the image decoding apparatus includes a demultiplexing unit 102, a decoding unit 104, a work area storage unit 106, a work area amount detection unit 108, a CPU 109, a work area information storage unit 110,
It is configured to include a free area information storage unit 111.

【0033】逆多重化手段102は多重化信号101を
入力し、各画像の符号化信号に分離し、それらを順次切
り替えて符号化信号103を出力する手段である。復号
手段104は順次切り替えられた各符号化信号を復号化
し、復号画像信号105を出力する手段である。
The demultiplexing means 102 is a means for inputting the multiplexed signal 101, separating the multiplexed signal into coded signals of respective images, and sequentially switching them to output a coded signal 103. The decoding unit 104 is a unit that decodes the sequentially switched encoded signals and outputs a decoded image signal 105.

【0034】作業領域記憶手段106は復号時に必要と
なる情報を記憶する手段である。なお、作業領域とは、
例えば予測符号化用の参照画像を格納するメモリ領域
や、復号画像の出力バッファ等のように復号時に必要と
なる作業用のメモリ領域のことである。この作業領域
は、多重化信号中の各画像の符号化信号の復号処理毎に
夫々割り当てられる。
The work area storage means 106 is a means for storing information necessary for decoding. The work area is
For example, it refers to a memory area for storing a reference image for predictive encoding, or a working memory area necessary for decoding such as an output buffer for a decoded image. This work area is assigned to each decoding process of the coded signal of each image in the multiplexed signal.

【0035】作業領域量検出手段108は符号化信号1
03を入力し、必要とする作業領域の容量を検出する手
段である。CPU109は作業領域記憶手段106の管
理と復号手段104の制御をする制御手段である。作業
領域情報記憶手段110は作業領域記憶手段106中の
作業領域に関する情報を記憶する手段である。空き領域
情報記憶手段111は作業領域記憶手段106中の空き
領域に関する情報を記憶する手段である。
The work area amount detecting means 108 outputs the encoded signal 1
03 is a means for detecting the required capacity of the work area by inputting 03. The CPU 109 is a control unit that manages the work area storage unit 106 and controls the decoding unit 104. The work area information storage means 110 is a means for storing information on the work area in the work area storage means 106. The free area information storage means 111 is a means for storing information on a free area in the work area storage means 106.

【0036】このように構成された画像復号化装置の動
作を説明する。逆多重化手段102は、画像復号化装置
に入力された多重化信号101を各画像の符号化信号に
分離する。作業領域量検出手段108は現在入力された
各符号化信号103から復号時に必要となる作業領域量
を検出し、CPU109に通知する。
The operation of the image decoding apparatus thus configured will be described. The demultiplexing unit 102 separates the multiplexed signal 101 input to the image decoding device into encoded signals of each image. The work area amount detection means 108 detects a work area amount required at the time of decoding from each of the currently input coded signals 103 and notifies the CPU 109 of the work area amount.

【0037】本実施の形態の作業領域記憶手段106は
予測符号化の参照画像を優先して保持する。作業領域量
検出手段108における作業領域量の検出方法として、
例えば画像多重化装置側で予め作業領域量の情報を多重
化して送信し、画像復号化装置側でその情報を抽出する
方法や、画像復号化装置において復号画像のサイズ情報
等から参照画像の保持用として必要となる作業領域量を
計算する方法等がある。
The work area storage means 106 of the present embodiment preferentially holds a reference image for predictive coding. As a method of detecting the work area amount in the work area amount detection means 108,
For example, the image multiplexing device side multiplexes the information of the work area in advance and transmits the information, and the image decoding device side extracts the information, or the image decoding device stores the reference image from the decoded image size information and the like. For example, there is a method of calculating a work area amount required for use.

【0038】図2は作業領域の管理情報の概念を示した
説明図である。中央に示すマップ202は図1の作業領
域記憶手段106の内部状態を示すものである。左側に
示す情報は作業領域情報記憶手段110に格納された作
業領域に関する内容を示す。右側に示す情報203は空
き領域情報記憶手段111に格納された空き領域に関す
る内容を示す。マップ202では作業領域1と作業領域
2が復号処理の作業用に割り当てられている。情報20
1の作業領域情報は、各作業領域に対して作業領域記憶
手段106中のどの場所を使用しているかの情報、例え
ば、作業領域の開始位置とサイズ等である。情報203
の空き領域情報は、作業領域記憶手段106中のどの場
所が空き領域であるかの情報、例えば、空き領域の開始
位置とサイズ等である。
FIG. 2 is an explanatory diagram showing the concept of work area management information. The map 202 shown in the center shows the internal state of the work area storage means 106 in FIG. The information shown on the left side indicates the contents relating to the work area stored in the work area information storage means 110. The information 203 shown on the right side indicates the contents related to the free space stored in the free space information storage unit 111. In the map 202, the work area 1 and the work area 2 are allocated for the work of the decoding process. Information 20
The first work area information is information on which place in the work area storage means 106 is used for each work area, for example, the start position and size of the work area. Information 203
The free area information is information on which location in the work area storage means 106 is a free area, for example, the start position and size of the free area.

【0039】図3はCPU109の作業領域の割り当て
処理を示すフローチャートである。最初のステップS3
1では、作業領域量検出手段108から各符号化信号の
復号処理に要求される作業領域量を入力する。次のステ
ップS32では要求された作業領域量以上のサイズを持
つ空き領域を空き領域情報記憶手段111から探す。ス
テップS33において、要求された作業領域量以上のサ
イズの空き領域があるか否かを調べる。空き領域があれ
ばステップS34に進み、検出された空き領域のうち要
求された作業領域を空き領域として割り当てる。
FIG. 3 is a flowchart showing the work area allocation process of the CPU 109. First step S3
In step 1, the work area amount required for decoding each encoded signal is input from the work area amount detection means 108. In the next step S32, a free area having a size equal to or larger than the requested work area amount is searched from the free area information storage unit 111. In step S33, it is checked whether there is a free area having a size equal to or larger than the requested work area amount. If there is a free area, the process proceeds to step S34, and the requested work area among the detected free areas is allocated as a free area.

【0040】次のステップS35では、割り当てた作業
領域の情報を作業領域情報記憶手段110に記憶する。
さらにステップS36に進み、空き領域情報記憶手段1
11から、割り当てた領域についての項目を削除する
か、又は割り当て分を除いた空き部分の情報に変更す
る。なお、ステップS35とステップS36の処理の順
序は入れ替わってもよい。
In the next step S35, information on the assigned work area is stored in the work area information storage means 110.
The process further proceeds to step S36, and the free area information storage unit 1
From 11, the item of the allocated area is deleted or the information is changed to the information of the empty portion excluding the allocated portion. In addition, the order of the processes of step S35 and step S36 may be interchanged.

【0041】ステップS33において、要求された作業
領域量の領域が空き領域記憶手段111に見つからない
場合には、ステップS37に移り、作業領域の再配置を
行う。
In step S33, if the area of the requested work area amount is not found in the free area storage means 111, the process moves to step S37, and the work area is rearranged.

【0042】ステップS37の作業領域の再配置につい
ては図5を用いて詳細に説明する。左側に示すマップ5
01は再配置前の作業領域記憶手段106の内部状態を
示し、右側のマップ502は再配置後の作業領域記憶手
段106の内部状態を示す。作業領域を割り当てて行く
につれて、空き領域が細分化され、十分なサイズの空き
領域が得られない場合がある。その場合に各作業領域を
作業領域記憶手段106中で連続するように再配置し、
空き領域を1つにまとめることで、大きな空き領域を得
ることができる。例えばマップ502で示すように、作
業領域2を作業領域1と連続するように再配置すること
で、空き領域1と空き領域2を1つにまとめることがで
きる。このとき作業領域情報、空き領域情報も更新す
る。
The rearrangement of the work area in step S37 will be described in detail with reference to FIG. Map 5 shown on the left
01 indicates the internal state of the work area storage unit 106 before the rearrangement, and the map 502 on the right indicates the internal state of the work area storage unit 106 after the rearrangement. As the work area is allocated, the free area is subdivided, and a free area of a sufficient size may not be obtained. In that case, each work area is rearranged so as to be continuous in the work area storage means 106,
By combining the empty areas into one, a large empty area can be obtained. For example, as shown by the map 502, by rearranging the work area 2 so as to be continuous with the work area 1, the empty area 1 and the empty area 2 can be combined into one. At this time, the work area information and the free area information are also updated.

【0043】この作業を各作業領域に対して繰り返すこ
とで、大きな空き領域を得ることができる。なお、繰り
返しは必要な空き領域が得られるまで行ってもよいし、
全ての作業領域を再配置するまで行ってもよい。再配置
の結果、要求を満たす空き領域が得ることができれば、
図3のステップS34の作業領域の割り当てを行う。そ
してステップS38で要求を満たす空き領域を得ること
ができなければ、ステップS39に移り、割り当て不可
能と判断する。なお、このような作業領域の再配置を行
わずに、ステップS33で割り当てできないと判定した
場合には、割り当て不可能として終了してもよい。
By repeating this operation for each work area, a large empty area can be obtained. It should be noted that the repetition may be performed until a necessary free area is obtained,
The process may be performed until all the work areas are rearranged. As a result of relocation, if free space that satisfies the request can be obtained,
The work area is allocated in step S34 in FIG. If it is not possible to obtain a free area satisfying the request in step S38, the process proceeds to step S39, and it is determined that allocation is impossible. If it is determined in step S33 that the work area cannot be allocated without performing such rearrangement of the work area, the work area may be determined to be unallocable, and the process may be terminated.

【0044】次に図4のフローチャートを用いてCPU
109の作業領域の解放処理の動作を説明する。不必要
になった作業領域は他の復号処理で使用するために解放
しなければならない。図4の最初のステップS41で
は、不要となった作業領域情報の項目を一意に同定でき
る識別子、例えば、作業領域の開始位置をCPU109
に与える。次のステップS42で、作業領域情報記憶手
段110から解放すべき作業領域の項目を探す。ステッ
プS43では解放すべき作業領域の情報を削除し、ステ
ップS44に進んで、解放した作業領域の情報を空き領
域情報に追加する。以上の解放処理により、不要となっ
た作業領域を解放することができる。
Next, the CPU shown in FIG.
The operation of the work area release processing at 109 will be described. Unnecessary work areas must be released for use in other decoding processes. In the first step S41 in FIG. 4, an identifier that can uniquely identify an item of unnecessary work area information, for example, the start position of the work area is stored in the CPU 109.
Give to. In the next step S42, a work area item to be released is searched from the work area information storage unit 110. In step S43, the information on the work area to be released is deleted, and the flow advances to step S44 to add the information on the released work area to the free area information. With the above-described release processing, a work area that has become unnecessary can be released.

【0045】さて、図1の復号手段104は符号化信号
103を復号し、復号画像信号(復号画像ともいう)1
05を出力する。そして図示しない合成手段が各画像の
復号画像を合成して出力する。また復号手段104は予
測符号化を行うために、復号した特定の復号画像105
を参照画像として作業領域記憶手段106の中の割り当
てられた作業領域に格納する。参照画像が不要になれ
ば、CPU109は作業領域の解放を要求し、作業領域
を解放する。
The decoding means 104 shown in FIG. 1 decodes the coded signal 103 and outputs a decoded image signal (also referred to as a decoded image) 1.
05 is output. Then, combining means (not shown) combines and outputs the decoded images of the respective images. The decoding means 104 decodes a specific decoded image 105 to perform predictive coding.
Is stored in the assigned work area in the work area storage means 106 as a reference image. When the reference image becomes unnecessary, the CPU 109 requests the release of the work area, and releases the work area.

【0046】このように本実施の形態では、合成画像の
復号のための作業領域記憶手段を効率的に運用すること
ができる。
As described above, in the present embodiment, the work area storage means for decoding a composite image can be efficiently operated.

【0047】なお、要求を満たす作業領域を得ることが
できない場合には、空き領域ができるまで待つ方法や、
作業用領域の確保を放棄してその画像の復号処理を行わ
ない方法等を用いることもできる。
If it is not possible to obtain a work area satisfying the request, a method of waiting until a free area is created,
It is also possible to use a method in which the securing of the work area is abandoned and the decoding process of the image is not performed.

【0048】なお、作業領域の割り当ての要求を、画像
系列の復号が始まる前や、画像系列の各フレームの復号
の間で行うことができる。同様に作業領域の解放要求を
画像系列の各フレームの復号の間で行うこともできる。
It is to be noted that the request for the assignment of the work area can be made before the decoding of the image sequence starts or during the decoding of each frame of the image sequence. Similarly, the work area release request can be made during the decoding of each frame of the image sequence.

【0049】なお、各符号化信号の復号処理に1つの作
業領域を割り当てたが、複数の作業領域に分割して割り
当ててもよい。
Although one work area is assigned to the decoding process of each encoded signal, it may be divided into a plurality of work areas and assigned.

【0050】なお、本実施の形態では、作業領域情報と
空き領域情報とを記憶したが、空き領域情報を記憶しな
いで、作業領域情報から使用していない領域を探して空
き領域を求めてもよい。
In this embodiment, the work area information and the free area information are stored. However, without storing the free area information, it is possible to search for an unused area from the work area information to obtain a free area. Good.

【0051】なお、本実施の形態では、参照画像用の記
憶手段として作業領域記憶手段について説明したが、そ
の他の復号時に必要となる作業情報や合成処理のための
復号画像記憶用の出力バッファ等の管理にも、本手法を
用いることもできる。
In the present embodiment, the work area storage means has been described as the storage means for the reference image. However, other work information necessary for decoding, an output buffer for storing a decoded image for the synthesis processing, etc. This method can also be used to manage the data.

【0052】なお、本実施の形態では、作業領域記憶手
段が1つの場合を示したが、作業領域記憶手段が複数あ
ってもよい。
Although the present embodiment has been described with reference to a case where there is one work area storage means, there may be a plurality of work area storage means.

【0053】なお、本実施の形態では、復号手段が1つ
の場合を示したが、復号手段が複数あってもよい。
Although the present embodiment has been described with reference to a case where there is one decoding means, a plurality of decoding means may be provided.

【0054】なお、本実施の形態では、画像符号化信号
の多重化の場合を示したが、画像符号化信号のみでな
く、音声の符号化信号やテキスト情報等のデジタルデー
タ等のその他のデータの多重化であってもよい。
In the present embodiment, the case of multiplexing the image coded signal has been described. However, not only the image coded signal but also other data such as a coded signal of audio and digital data such as text information. May be multiplexed.

【0055】(実施の形態2)本発明の実施の形態2に
おける画像復号化装置について説明する。図6は本実施
の形態における画像復号化装置の基本構成を示すブロッ
ク図であり、図1と同一部分は同一の符号を付けて説明
を省略する。この画像復号化装置は、逆多重化手段10
2、復号手段104、作業領域記憶手段106、作業領
域量検出手段108、CPU109、作業領域情報記憶
手段110、空き領域情報記憶手段111に加えて、優
先度検出手段601が設けられたことが特徴である。優
先度検出手段601は逆多重化手段102から出力され
た符号化信号103を参照して、作業用領域の割り当て
の優先度を検出する手段であり、その検出結果はCPU
109に与えられる。
(Embodiment 2) An image decoding apparatus according to Embodiment 2 of the present invention will be described. FIG. 6 is a block diagram showing a basic configuration of the image decoding apparatus according to the present embodiment. The same parts as those in FIG. This image decoding apparatus includes a demultiplexer 10
2. A priority detecting means 601 is provided in addition to the decoding means 104, the working area storing means 106, the working area amount detecting means 108, the CPU 109, the working area information storing means 110, and the free area information storing means 111. It is. The priority detection means 601 is a means for detecting the priority of assignment of a work area with reference to the encoded signal 103 output from the demultiplexing means 102, and the detection result is determined by the CPU.
109.

【0056】このような構成の画像復号化装置の動作に
ついて説明する。なお、図1と同じ符号の手段や信号に
ついては、実施の形態1と同じ動作をするため、それら
の動作説明は簡略化する。逆多重化手段102は多重化
信号101を各画像の符号化信号103に分離する。作
業領域量検出手段108は各符号化信号103から復号
時に必要となる作業領域量を検出し、CPU109に通
知する。
The operation of the image decoding apparatus having such a configuration will be described. Note that the means and signals having the same reference numerals as those in FIG. 1 perform the same operations as in the first embodiment, and therefore, the description of the operations will be simplified. The demultiplexing means 102 separates the multiplexed signal 101 into a coded signal 103 of each image. The work area amount detection means 108 detects the work area amount required at the time of decoding from each encoded signal 103 and notifies the CPU 109 of the work area amount.

【0057】優先度検出手段601は各符号化信号10
3を参照するか、又は伝送された優先順位信号を用い
て、作業領域の割り当ての優先度を検出する。優先度は
画像多重化装置側で決定し、多重化信号中に多重化ある
いは別の通信路を用いて伝送し、画像復号装置側でその
優先度を抽出することもできる。また、画像復号装置側
で独自に優先度を決定することもできる。
The priority detection means 601 detects each encoded signal 10
3 or using the transmitted priority signal to detect the priority of the work area allocation. The priority can be determined by the image multiplexing device side, multiplexed in a multiplexed signal or transmitted using another communication path, and the image decoding device side can extract the priority. In addition, the image decoding device can independently determine the priority.

【0058】作業領域記憶手段106の容量が不十分な
場合には、この作業領域の割り当ての優先度情報を用い
て、例えば以下に説明する方法で作業領域記憶手段10
6の割り当てを管理するものとする。
When the capacity of the work area storage means 106 is insufficient, the work area storage means 10 is used, for example, by a method described below using the priority information of the work area allocation.
6 are to be managed.

【0059】まず、第1の方法について図7のフローチ
ャートを用いて説明する。画像復号化装置側の作業領域
記憶手段106の作業領域は有限なので、作業領域の要
求を先に出す方が、後に出す方より要求を受け入れられ
る可能性が高い。従って優先度が高い画像の符号化信号
の復号処理から順に作業領域の要求を出すようにすれ
ば、優先度に応じた作業領域の割り当てが可能になる。
First, the first method will be described with reference to the flowchart of FIG. Since the work area of the work area storage unit 106 of the image decoding apparatus is limited, it is more likely that a request for the work area is issued earlier than a request issued later. Therefore, if a request for a work area is issued in order from the decoding processing of the coded signal of the image with the highest priority, the work area can be allocated according to the priority.

【0060】図7において、優先度を順位付けしたもの
を優先順位nで表す。但し、nは1から始まり、nの値
が小さいほど優先度は高いとする。先ず最初のステップ
S71でnの値を1に初期化する。次のステップS72
では、優先順位がn位の画像の作業領域の要求に対し
て、作業領域が割り当て可能かどうか判断する。割り当
て可能ならばステップS73に進み、不可能であれば作
業領域を割り当てないでステップS74に移る。
In FIG. 7, the priority order is represented by a priority order n. However, n starts from 1, and the smaller the value of n, the higher the priority. First, in step S71, the value of n is initialized to 1. Next step S72
Then, it is determined whether or not a work area can be assigned in response to a request for a work area of an image having the n-th priority. If the assignment is possible, the process proceeds to step S73. If the assignment is not possible, the process proceeds to step S74 without assigning a work area.

【0061】ステップS73では、必要とする作業領域
を割り当てる。なお、割り当ての可能性の判断と、割り
当ての実行には、実施の形態1で示した方法を使うこと
ができる。次のステップS74では、全ての画像の符号
化信号の割り当ての判定処理が終了したか判定する。終
了していないならば、ステップS75に進み、優先順位
の値nをインクリメントしてステップS72に戻り、同
様の処理を続ける。またステップS74で終了であれば
処理を終える。
In step S73, a required work area is allocated. Note that the method described in Embodiment 1 can be used to determine the possibility of assignment and to execute assignment. In the next step S74, it is determined whether the process of determining the assignment of the coded signals of all the images has been completed. If not completed, the process proceeds to step S75, where the priority value n is incremented, the process returns to step S72, and the same processing is continued. If it is determined in step S74 that the process is completed, the process ends.

【0062】この方法は、同時に幾つかの画像の作業領
域を割り当てる際に特に有用である。なお、作業領域の
割り当てができなかった画像は、後に割り当てを再要求
するようにしてもよい。
This method is particularly useful in allocating working areas for several images at the same time. Note that an image for which the work area could not be allocated may be requested again later.

【0063】次に、第2の方法について図8のフローチ
ャートを用いて以下に説明する。まず最初のステップS
81では、要求された作業領域が割り当て可能かどうか
判断し、割り当て可能ならばステップS88に移り、要
求された作業用領域を割り当てる。ステップS81で割
り当てできないと判断された場合は、ステップS82に
進み、作業領域を要求した画像の復号処理より優先度が
低い画像の復号処理で使用している作業領域量の合計を
計算する。この合計値が、要求された作業領域量以上で
ないならば、ステップS84に移り、割り当て不可能と
判断する。またステップS83において、合計値が要求
した作業領域量以上の場合には、作業領域の割り当てを
可能と判断し、次のステップS85に進む。
Next, the second method will be described below with reference to the flowchart of FIG. First step S
At 81, it is determined whether or not the requested work area can be allocated. If the work area can be allocated, the process moves to step S88, and the requested work area is allocated. If it is determined in step S81 that the work area cannot be allocated, the flow advances to step S82 to calculate the total amount of the work area used in the decoding processing of the image having a lower priority than the decoding processing of the image requesting the work area. If the total value is not equal to or more than the requested work area amount, the process moves to step S84, and it is determined that allocation is impossible. If it is determined in step S83 that the total value is equal to or greater than the requested work area amount, it is determined that work areas can be allocated, and the flow advances to next step S85.

【0064】ステップS85では、要求された作業領域
量分の空き領域を確保するまで、作業領域を要求した画
像の復号処理より優先度が低い画像の復号処理の作業領
域を解放する。解放後に、実施の形態1で示したような
作業領域の再配置が必要かどうか判別し(ステップ8
6)、必要な場合には、ステップS87に移って作業領
域の再配置を行う。ステップS86において再配置が必
要でないと判定された場合と、ステップS87で再配置
を終えた場合には、ステップS88に進む。このステッ
プS88では要求された作業領域の割り当てを行う。な
お、ステップS82において、優先度の低い作業領域の
合計値を計算しているが、合計値を計算せずに各作業領
域の領域量と比較し、要求された作業領域を確保できる
か否かを判断してもよい。
In step S85, the work area for the decoding processing of the image having a lower priority than the decoding processing of the image for which the work area is requested is released until a free area corresponding to the requested work area amount is secured. After the release, it is determined whether or not the work area needs to be relocated as described in the first embodiment (step 8).
6) If necessary, the process proceeds to step S87 to relocate the work area. If it is determined in step S86 that the rearrangement is not necessary, and if the rearrangement is completed in step S87, the process proceeds to step S88. In this step S88, the requested work area is allocated. In step S82, the total value of the work areas with low priorities is calculated. However, the total value is not calculated and compared with the area amount of each work area to determine whether the requested work area can be secured. May be determined.

【0065】以上の2通りの方法で優先度に応じた作業
領域の割り当てが可能になる。なお、上記の第1の方法
と第2の方法を組み合わせて使用することもできる。
The work areas can be allocated according to the priorities by the above two methods. Note that the first method and the second method can be used in combination.

【0066】さて図6の復号手段104は各画像の符号
化信号103を復号し、復号信号(復号画像)105と
して出力する。そして図示しない合成手段が各復号画像
を合成して表示する。また復号画像105のうち参照画
像は、作業領域記憶手段106の中の割り当てられた作
業領域に格納される。この参照画像が不要になれば、C
PU109は作業領域の解放を要求し、作業領域を解放
させる。
The decoding means 104 of FIG. 6 decodes the coded signal 103 of each image and outputs it as a decoded signal (decoded image) 105. Then, combining means (not shown) combines and displays the decoded images. The reference image of the decoded image 105 is stored in the assigned work area in the work area storage unit 106. If this reference image is no longer needed, C
The PU 109 requests release of the work area, and releases the work area.

【0067】このように本実施の形態では、優先度に応
じて合成画像の復号のための作業領域記憶手段を効率的
に運用することができる。
As described above, in this embodiment, the work area storage means for decoding the composite image can be efficiently operated according to the priority.

【0068】なお、要求を満たす作業領域が得ることが
できない場合には、空き領域ができるまで待つ方法や、
作業用領域の確保を放棄してその画像の復号処理を行わ
ない方法等を用いることもできる。
If a work area satisfying the request cannot be obtained, a method of waiting until a free area is formed,
It is also possible to use a method in which the securing of the work area is abandoned and the decoding process of the image is not performed.

【0069】なお、作業領域の割り当ての要求を、画像
系列の復号が始まる前や、画像系列の各フレームの復号
の間で行うことができる。同様に作業領域の解放要求
を、画像系列の各フレームの復号の間で行うこともでき
る。
The request for assigning a work area can be made before the decoding of the image sequence starts or during the decoding of each frame of the image sequence. Similarly, the work area release request can be made during the decoding of each frame of the image sequence.

【0070】なお、本実施の形態では、各符号化信号の
復号処理に1つの作業領域を割り当てたが、複数の作業
領域に分割して割り当ててもよい。
In the present embodiment, one work area is assigned to the decoding process of each encoded signal, but it may be divided into a plurality of work areas and assigned.

【0071】なお、優先度が低い画像の復号処理を解放
する際に、MPEGのような双方向予測の符号化の場合は、
2枚の参照画像の内の1枚のみ解放することもできる。
When releasing the decoding processing of an image with a low priority, in the case of bidirectional prediction encoding such as MPEG,
Only one of the two reference images can be released.

【0072】なお、本実施の形態では、実施の形態1で
示した方法で作業領域記の割り当てを行ったが、他の手
法による作業領域の割り当てや解放の機能を使用しても
よい。例えば優先度が一定以下の符号化信号の復号処理
に対しては、作業領域を割り当てず、復号しないように
してもよい。
In the present embodiment, the assignment of the work area is performed by the method shown in the first embodiment, but the function of allocating and releasing the work area by another method may be used. For example, for a decoding process of an encoded signal having a certain priority or less, a work area may not be assigned and decoding may not be performed.

【0073】なお、本実施の形態では、作業領域情報と
空き領域情報をともに記憶したが、空き領域情報を記憶
しないで、作業領域情報から使用していない領域を探し
て、空き領域を求めてもよい。
In this embodiment, both the work area information and the free area information are stored. However, the free area information is not stored, and the unused area is searched for from the work area information to find the free area. Is also good.

【0074】なお、本実施の形態では、参照画像用の記
憶手段として作業領域記憶手段を用いたが、その他の復
号時に必要となる作業領域や合成処理を行うために、復
号画像を記憶しておくための出力バッファ等にも本手法
が適用できる。
In the present embodiment, the work area storage means is used as the storage means for the reference image. However, in order to perform other work areas required for decoding and to perform synthesis processing, the decoded image is stored. This method can also be applied to an output buffer or the like for storing.

【0075】なお、本実施の形態では、作業領域記憶手
段が1つの場合を示したが、作業領域記憶手段が複数あ
ってもよい。
In this embodiment, the case where there is one work area storage means has been described, but there may be a plurality of work area storage means.

【0076】なお、本実施の形態では、復号手段が1つ
の場合を示したが、復号手段が複数あってもよい。
Although the present embodiment has been described with reference to a case where there is one decoding unit, a plurality of decoding units may be provided.

【0077】なお、本実施の形態では、画像符号化信号
の多重化の場合を示したが、画像の符号化信号のみでな
く、音声の符号化信号やテキスト情報等のデジタルデー
タを含むその他データの多重化であってもよい。
In the present embodiment, the case of multiplexing the coded image signal has been described, but not only the coded image signal but also other data including digital data such as a coded audio signal and text information. May be multiplexed.

【0078】(実施の形態3)次に本発明の実施の形態
3における画像符号化方法と画像符号化装置とについて
図面を参照しつつ説明する。図9は本実施の形態の画像
符号化装置の基本構成を示すブロック図である。本実施
の形態の画像符号化装置は、作業領域の割り当ての優先
度を設定し、画像復号化装置側に出力することを特徴と
するものである。この画像符号化装置は、符号化手段9
04,905,906、優先順位決定手段912、多重
化手段910を含んで構成される。
(Embodiment 3) Next, an image encoding method and an image encoding apparatus according to Embodiment 3 of the present invention will be described with reference to the drawings. FIG. 9 is a block diagram illustrating a basic configuration of the image encoding device according to the present embodiment. The image coding apparatus according to the present embodiment is characterized in that the priority of work area allocation is set and output to the image decoding apparatus. This image encoding device includes encoding means 9
04, 905, 906, priority order determining means 912, and multiplexing means 910.

【0079】画像信号901〜903は合成画像内の各
物体及び背景の画像信号である。符号化手段904〜9
06は各物体の画像信号901〜903を符号化し、符
号化信号907〜909を出力する手段である。優先順
位決定手段912は符号化信号907〜909を入力
し、復号の優先順位を決定する手段である。多重化手段
910は各符号化信号907〜909と、優先順位決定
手段912が出力する優先順位信号とを多重化し、多重
化信号911を出力する手段である。この多重化信号9
11は記録媒体913に記録されたり、伝送媒体914
を介して画像復号化装置に伝送される。
The image signals 901 to 903 are image signals of each object and background in the composite image. Encoding means 904-9
Reference numeral 06 denotes a unit that encodes the image signals 901 to 903 of each object and outputs encoded signals 907 to 909. The priority determining unit 912 is a unit that receives the encoded signals 907 to 909 and determines the priority of decoding. The multiplexing means 910 multiplexes each of the encoded signals 907 to 909 and the priority signal output from the priority determining means 912, and outputs a multiplexed signal 911. This multiplexed signal 9
11 is recorded on a recording medium 913 or transmitted on a transmission medium 914.
Is transmitted to the image decoding apparatus via the.

【0080】このように構成された画像多重化装置の動
作を説明する。符号化手段904〜906は合成画像内
の各物体の画像信号901〜903が入力されると、こ
れらの画像信号を符号化して符号化信号907〜909
を出力する。優先度決定手段912は符号化信号907
〜909の優先順位を決定し、多重化手段910に優先
順位信号を出力する。多重化手段910は優先度決定手
段912の出力する優先順位信号と各画像の符号化信号
907〜909とを多重化し、多重化信号911を出力
する。
The operation of the thus configured image multiplexing apparatus will be described. When the image signals 901 to 903 of the respective objects in the composite image are input, the encoding units 904 to 906 encode these image signals and encode the encoded signals 907 to 909.
Is output. The priority determining means 912 outputs the encoded signal 907
909, and outputs a priority signal to the multiplexing means 910. The multiplexing unit 910 multiplexes the priority signal output from the priority determining unit 912 with the coded signals 907 to 909 of each image, and outputs a multiplexed signal 911.

【0081】このように本実施の形態では、受信側の画
像復号化装置が、作業領域の割り当ての管理に用いるた
めの作業領域割り当ての優先度を、送信側で多重化信号
に付加しているので、画像復号化装置の信号処理の負荷
が軽減する。
As described above, in the present embodiment, the image decoding device on the receiving side adds the priority of work area allocation for use in managing the allocation of work areas to the multiplexed signal on the transmitting side. Therefore, the load of signal processing of the image decoding device is reduced.

【0082】なお、本実施の形態では、符号化手段を複
数設けているが、符号化手段の入力を切り替えて1つの
符号化手段で符号化を行ってもよい。
Although a plurality of encoding means are provided in this embodiment, the encoding may be performed by one encoding means by switching the input of the encoding means.

【0083】なお、本実施の形態では、画像の符号化信
号の多重化の場合を示したが、画像のみでなく、音声の
符号化信号やテキスト情報等のデジタルデータを含むそ
の他データの多重化であってもよい。
In the present embodiment, the case of multiplexing the coded image signal is shown. However, not only the image but also other data including digital data such as coded audio signal and text information is multiplexed. It may be.

【0084】(実施の形態4)本発明の実施の形態4に
おける画像復号化装置を図10を用いて説明する。図1
0は本実施の形態における画像復号化装置の基本構成を
示すブロック図であり、実施の形態2と同一部分は同一
の符号を付け、詳細な説明は省略する。この画像復号化
装置は、復号に必要な符号化信号を復号時まで保持する
ためのバッファを有していることが特徴である。このバ
ッファの管理にもこれまで説明した手法を用いることが
できる。
(Embodiment 4) An image decoding apparatus according to Embodiment 4 of the present invention will be described with reference to FIG. FIG.
0 is a block diagram showing a basic configuration of an image decoding apparatus according to the present embodiment. The same parts as those in the second embodiment are denoted by the same reference numerals, and detailed description is omitted. This image decoding apparatus is characterized in that it has a buffer for holding an encoded signal required for decoding until decoding. The method described so far can be used for managing the buffer.

【0085】図10に示すように、本実施の形態の画像
復号化装置には、図6の作業領域量検出手段108、作
業領域情報記憶手段110、空き領域情報記憶手段11
1に代えて、バッファ容量検出手段1001、バッファ
使用領域情報記憶手段1003、バッファ空き領域情報
記憶手段1004が設けられている。また逆多重化手段
102の出力する符号化信号103はバッファ1005
に一時保持され、画像毎に切り替えられて復号手段10
4に与えられるようになっている。
As shown in FIG. 10, the image decoding apparatus according to the present embodiment includes a work area amount detecting means 108, a work area information storage means 110, and a free area information storage means 11 shown in FIG.
1, a buffer capacity detecting means 1001, a buffer used area information storing means 1003, and a buffer free area information storing means 1004 are provided. The coded signal 103 output from the demultiplexing means 102 is supplied to a buffer 1005
Is temporarily stored in the decoding unit 10
4 is given.

【0086】バッファ1005は符号化信号103を画
像毎に保持するためのバッファである。バッファ容量検
出手段1001は各画像の符号化信号103のバッファ
リングに必要とするバッファ量を検出する検出手段であ
る。CPU1002は優先度検出手段601の検出結
果、バッファ容量検出手段1001の検出結果に基づい
てバッファ1005の管理を行うと共に、バッファ使用
領域情報記憶手段1003とバッファ空き領域情報記憶
手段1004に対し、使用領域と空き領域の情報を記録
したり、更新する働きをする。
The buffer 1005 is a buffer for holding the encoded signal 103 for each image. The buffer capacity detecting means 1001 is a detecting means for detecting a buffer amount necessary for buffering the coded signal 103 of each image. The CPU 1002 manages the buffer 1005 based on the detection result of the priority detection unit 601 and the detection result of the buffer capacity detection unit 1001, and sends the used area information to the buffer used area information storage unit 1003 and the buffer free area information storage unit 1004. And functions to record or update information on the free space.

【0087】このように構成された画像復号化装置の動
作を説明する。なお、図1と図6と同じ手段や信号につ
いては、実施の形態1,2と同じ動作をするため、それ
らの説明を簡略化する。
The operation of the image decoding apparatus thus configured will be described. Note that the same means and signals as those in FIGS. 1 and 6 perform the same operations as in the first and second embodiments, and therefore, the description thereof will be simplified.

【0088】図10の逆多重化手段102は入力された
多重化信号101を各画像の符号化信号103に分離す
る。バッファ容量検出手段1001は各符号化信号10
3から必要となるバッファ容量を検出し、CPU100
2に通知する。また優先度検出手段601はバッファ領
域の割り当ての優先度を検出する。
The demultiplexing means 102 in FIG. 10 separates the input multiplexed signal 101 into a coded signal 103 for each image. The buffer capacity detecting means 1001 detects each encoded signal 10
3, the required buffer capacity is detected, and the CPU 100
Notify 2. The priority detection means 601 detects the priority of the buffer area allocation.

【0089】優先度は、画像多重化装置側で決定して多
重化信号中に多重化するか、又は別の通信路を用いて伝
送することにより、画像復号化装置側でその優先度を抽
出することができる。優先度は、前述した実施の形態と
同様の方法で画像多重化装置側で多重化できる。また、
画像復号化装置側で独自に優先度を決定することもでき
る。
The priority is determined on the image multiplexing device side and multiplexed in a multiplexed signal, or transmitted by using another communication channel, and the priority is extracted on the image decoding device side. can do. The priority can be multiplexed on the image multiplexing device side in the same manner as in the above-described embodiment. Also,
The priority can be determined independently on the image decoding device side.

【0090】多重化信号中の各符号化信号103に対し
てバッファ使用領域の情報をバッファ使用領域情報記憶
手段1003で管理する。また、空き領域の情報をバッ
ファ空き領域情報記憶手段1004で管理する。これら
の管理方法は実施の形態1と同じである。更に優先度検
出手段601が検出した優先度情報を用いて、実施の形
態2と同じ方法でバッファ領域の割り当ての管理を行う
ことができる。
The buffer use area information storage means 1003 manages information on the buffer use area for each coded signal 103 in the multiplexed signal. In addition, information on the free area is managed by the buffer free area information storage unit 1004. These management methods are the same as in the first embodiment. Furthermore, using the priority information detected by the priority detection unit 601, the allocation of the buffer area can be managed in the same manner as in the second embodiment.

【0091】復号手段104はバッファ1005から必
要な符号化信号を取り出し、画像信号に復号する。また
復号して不必要になったバッファ領域に対しては、CP
U1002が解放を要求する。
The decoding means 104 takes out a necessary coded signal from the buffer 1005 and decodes it into an image signal. For the buffer area that is no longer necessary after decoding, the CP
U1002 requests release.

【0092】このように、本実施の形態では、優先度に
応じて合成画像の復号化のバッファを効率的に管理する
ことができる。
As described above, in the present embodiment, it is possible to efficiently manage the buffer for decoding the composite image according to the priority.

【0093】なお、本実施の形態では、各符号化信号に
1つのバッファの使用領域を割り当てたが、複数のバッ
ファの使用領域に分割して割り当ててもよい。
In the present embodiment, one buffer is used for each coded signal, but it may be divided into a plurality of buffers and used.

【0094】なお、本実施の形態では、優先度を使用す
る場合を示したが、優先度を使用しなくてもよい。
[0094] Although the case where the priority is used has been described in the present embodiment, the priority need not be used.

【0095】なお、本実施の形態の手法を実施の形態2
で示した第1、第2の方法と組み合わせてもよい。
The method of the present embodiment is applied to the second embodiment.
May be combined with the first and second methods.

【0096】なお、本実施の形態では、バッファが1つ
の場合を示したが、バッファが複数あってもよい。
Although the present embodiment has been described with reference to a case where there is one buffer, a plurality of buffers may be provided.

【0097】なお、本実施の形態では、復号手段が1つ
の場合を示したが、復号手段が複数あってもよい。
Although the present embodiment has been described with reference to a case where there is one decoding unit, a plurality of decoding units may be provided.

【0098】なお、本実施の形態では、画像符号化信号
の多重化の場合を示したが、画像の符号化信号のみでな
く、音声の符号化信号やテキスト情報等のデジタルデー
タ等のその他のデータの多重化であってもよい。
In this embodiment, the case of multiplexing the coded image signal has been described, but not only the coded signal of the image but also other signals such as the coded signal of audio and digital data such as text information. Data multiplexing may be used.

【0099】(実施の形態5)本発明の実施の形態5に
おける記録媒体について説明する。本実施の形態の記録
媒体は、図9に示すように画像多重化装置が出力する多
重化信号911を番組単位又はシーケンス単位で保存又
は記録する記録媒体913である。記録媒体913とし
て光ディスク、磁気ディスク、フラッシュメモリ等が用
いられる。
(Embodiment 5) A recording medium according to Embodiment 5 of the present invention will be described. The recording medium according to the present embodiment is a recording medium 913 that stores or records a multiplexed signal 911 output from the image multiplexing apparatus in units of programs or sequences, as shown in FIG. An optical disk, a magnetic disk, a flash memory, or the like is used as the recording medium 913.

【0100】なお、多重化信号911を画像復号化装置
に伝送する場合、伝送媒体914が用いられるが、この
伝送媒体914は例えば電波等の無線媒体や、電気線等
の有線媒体のいずれでもよい。また実施の形態1,2,
4で述べた画像復号化装置はこの伝送媒体914で伝送
された多重化信号を復号化する。
When transmitting the multiplexed signal 911 to the image decoding apparatus, a transmission medium 914 is used. The transmission medium 914 may be a wireless medium such as a radio wave or a wired medium such as an electric wire. . Embodiments 1, 2, and
4 decodes the multiplexed signal transmitted by the transmission medium 914.

【0101】なお、本実施の形態では、画像の符号化信
号の多重化の場合を示したが、画像の符号化信号のみで
なく音声の符号化信号やテキスト情報等のデジタルデー
タを含む多重化であってもよい。
In this embodiment, the case of multiplexing the coded image signal has been described. However, not only the coded signal of the image but also the multiplexed signal including the coded signal of audio and digital data such as text information are included. It may be.

【0102】[0102]

【発明の効果】請求項1〜5記載の発明によれば、符号
化信号の復号のための作業領域記憶手段を効率的に運用
することができる。このためオブジェクト符号化方式に
おいて、作業領域量と空き領域量を参照しながら復号に
必要な情報を蓄積でき、画像を含むデータを効率的に復
号することができる。
According to the first to fifth aspects of the present invention, the work area storage means for decoding an encoded signal can be operated efficiently. Therefore, in the object encoding method, information necessary for decoding can be accumulated while referring to the work area amount and the free area amount, and data including an image can be efficiently decoded.

【0103】請求項6〜9記載の発明によれば、符号化
信号の復号のための作業領域記憶手段を効率的に運用す
ることができる。このためオブジェクト符号化方式にお
いて、作業領域記憶手段の容量の破綻を来すことなく、
優先度の高い方から低い方にかけて画像を含むデータを
復号することができる。
According to the sixth to ninth aspects of the present invention, the work area storage means for decoding the coded signal can be operated efficiently. For this reason, in the object encoding method, the capacity of the work area storage unit does not break down,
Data including an image can be decoded from the highest priority to the lowest priority.

【0104】また請求項11〜13記載の発明によれ
ば、符号化信号を保持するバッファ手段を効率的に運用
することができる。このためオブジェクト符号化方式に
おいて、バッファ手段の容量の破綻を来すことなく、優
先度の高い方から低い方にかけて画像を含むデータを復
号することができる。
Further, according to the present invention, the buffer means for holding the encoded signal can be operated efficiently. For this reason, in the object encoding method, data including an image can be decoded from a higher priority to a lower priority without causing a failure in the capacity of the buffer means.

【0105】また請求項14〜16記載の発明によれ
ば、復号化装置側の作業領域記憶手段又はバッファ手段
を効率的に運用できるように優先度情報を生成し、符号
化信号に多重化して出力するようにしている。このた
め、画像復号化装置の復号処理における負担が大幅に軽
減する。
According to the present invention, priority information is generated so that the work area storage means or buffer means on the decoding device side can be operated efficiently, and the priority information is multiplexed with the coded signal. Output. For this reason, the load on the decoding process of the image decoding device is greatly reduced.

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

【図1】本発明の実施の形態1における画像復号化装置
の基本構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a basic configuration of an image decoding device according to Embodiment 1 of the present invention.

【図2】実施の形態1における画像復号化装置の作業領
域の管理情報の説明図である。
FIG. 2 is an explanatory diagram of work area management information of the image decoding apparatus according to the first embodiment.

【図3】実施の形態1におけるCPUの作業領域の割り
当て動作を示すフローチャートである。
FIG. 3 is a flowchart showing an operation of allocating a work area by a CPU according to the first embodiment;

【図4】実施の形態1におけるCPUの作業領域の解放
処理を示すフローチャートである。
FIG. 4 is a flowchart showing processing for releasing a work area of a CPU according to the first embodiment;

【図5】実施の形態1における作業領域記憶手段の作業
領域の再配置の方法を示す説明図である。
FIG. 5 is an explanatory diagram showing a method for rearranging a work area in a work area storage unit according to the first embodiment.

【図6】本発明の実施の形態2における画像復号化装置
の基本構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a basic configuration of an image decoding device according to Embodiment 2 of the present invention.

【図7】実施の形態2におけるCPUの作業領域の割り
当て動作(第1の方法)を示すフローチャートである。
FIG. 7 is a flowchart illustrating an operation (first method) of allocating a work area by a CPU according to the second embodiment;

【図8】実施の形態2におけるCPUの作業領域の割り
当て動作(第2の方法)を示すフローチャートである。
FIG. 8 is a flowchart showing a work area allocation operation (second method) of a CPU according to the second embodiment.

【図9】本発明の実施の形態3における画像多重化装置
の基本構成をブロック図である。
FIG. 9 is a block diagram illustrating a basic configuration of an image multiplexing apparatus according to Embodiment 3 of the present invention.

【図10】本発明の実施の形態4における画像復号化装
置の基本構成を示すブロック図である。
FIG. 10 is a block diagram showing a basic configuration of an image decoding device according to Embodiment 4 of the present invention.

【図11】合成画像の概念を示す説明図である。FIG. 11 is an explanatory diagram illustrating the concept of a composite image.

【図12】従来の画像多重化装置と画像復号化装置を構
成を示すブロック図である。
FIG. 12 is a block diagram illustrating a configuration of a conventional image multiplexing device and a conventional image decoding device.

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

101,911 多重化信号 102 逆多重化手段 103,907〜909 符号化信号 104 復号手段 105 復号画像信号 106 作業領域記憶手段 107 参照画像信号 108 作業領域量検出手段 109,1002 CPU 110 作業領域情報記憶手段 111 空き領域情報記憶手段 601 優先度検出手段 901〜903 入力画像信号 904〜906 符号化手段 910 多重化手段 912 優先度決定手段 913 記録媒体 914 伝送媒体 1001 バッファ容量検出手段 1003 バッファ使用領域情報記憶手段 1004 空き領域情報記憶手段 1005 バッファ 1101 背景画像 1102,1104 物体画像 1103,1105 透過度情報 1106,1107 合成画像 101, 911 multiplexed signal 102 demultiplexing means 103, 907 to 909 coded signal 104 decoding means 105 decoded image signal 106 work area storage means 107 reference image signal 108 work area amount detection means 109, 1002 CPU 110 work area information storage Means 111 Free area information storage means 601 Priority detection means 901 to 903 Input image signals 904 to 906 Encoding means 910 Multiplexing means 912 Priority determination means 913 Recording medium 914 Transmission medium 1001 Buffer capacity detection means 1003 Buffer use area information storage Means 1004 Free space information storage means 1005 Buffer 1101 Background image 1102, 1104 Object image 1103, 1105 Transparency information 1106, 1107 Composite image

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 7/081 ──────────────────────────────────────────────────の Continued on front page (51) Int.Cl. 6 Identification code FI H04N 7/081

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 符号化された複数の画像信号を含むデー
タを多重化した多重化信号を入力し、多重化されたデー
タを復号する画像復号化方法であって、 前記多重化信号を前記各符号化信号に分離し、 前記各符号化信号の復号処理に必要となる作業領域記憶
手段の作業領域の容量を作業領域量として検出し、 検出した前記作業領域量を前記作業領域記憶手段に割り
当て、 前記作業領域記憶手段に割り当てられた作業領域を用い
て前記符号化信号を復号することを特徴とする画像復号
化方法。
1. An image decoding method for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decoding the multiplexed data, wherein the multiplexed signal is It separates into coded signals, detects the capacity of the work area of the work area storage means necessary for the decoding processing of each of the coded signals as a work area amount, and allocates the detected work area amount to the work area storage means. An image decoding method for decoding the coded signal using a work area assigned to the work area storage means.
【請求項2】 前記各符号化信号の復号処理に割り当て
た前記作業領域記憶手段中の領域の位置を、作業領域情
報として記憶することを特徴とする請求項1記載の画像
復号化方法。
2. The image decoding method according to claim 1, wherein the position of the area in said work area storage means allocated to the decoding processing of each of said encoded signals is stored as work area information.
【請求項3】 前記各符号化信号の復号処理に割り当て
ていない前記作業領域記憶手段中の空き領域の位置を、
空き領域情報として記憶することを特徴とする請求項1
記載の画像復号化方法。
3. The position of a free area in the work area storage means, which is not allocated to the decoding processing of each of the encoded signals,
2. The method according to claim 1, wherein the information is stored as free space information.
The image decoding method as described in the above.
【請求項4】 前記各符号化信号の復号処理に割り当て
た前記作業領域記憶手段中の領域の位置情報である作業
領域情報と、復号処理に割り当てていない前記作業領域
記憶手段中の空き領域の位置情報である空き領域情報と
を記憶することを特徴とする請求項1記載の画像復号化
方法。
4. A work area information, which is position information of an area in the work area storage means allocated to the decoding processing of each of the encoded signals, and a free area in the work area storage means not allocated to the decoding processing. 2. The image decoding method according to claim 1, further comprising storing free area information as position information.
【請求項5】 符号化された複数の画像信号を含むデー
タを多重化した多重化信号を入力し、多重化されたデー
タを復号する画像復号化装置であって、 前記多重化信号を前記各符号化信号に分離する逆多重化
手段と、 符号化信号の復号に使用する情報を保持する作業領域記
憶手段と、 前記逆多重化手段から出力される各符号化信号の復号処
理に必要となる作業領域の容量を検出する作業領域量検
出手段と、 前記作業領域量検出手段で検出した前記作業領域量を前
記作業領域記憶手段に割り当てる制御手段と、 前記作業領域記憶手段に割り当てられた作業領域を用い
て前記逆多重化手段で分離された前記符号化信号を復号
する復号手段と、を具備することを特徴とする画像復号
化装置。
5. An image decoding apparatus for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decoding the multiplexed data, wherein the multiplexed signal is Demultiplexing means for separating into coded signals, work area storage means for holding information used for decoding coded signals, and decoding processing of each coded signal output from the demultiplexing means A work area amount detecting means for detecting a capacity of a work area; a control means for allocating the work area amount detected by the work area amount detecting means to the work area storage means; a work area allocated to the work area storage means Decoding means for decoding the coded signal separated by the demultiplexing means by using the decoding means.
【請求項6】 符号化された複数の画像信号を含むデー
タを多重化した多重化信号を入力し、多重化されたデー
タを復号する画像復号化方法であって、 前記多重化信号を前記各符号化信号に分離し、 前記各符号化信号の復号処理に必要となる作業領域の容
量を作業領域量として検出し、 前記各符号化信号の復号処理に際し、前記作業領域記憶
手段の作業領域の割り当ての優先度を検出し、 検出した前記作業領域量を前記優先度が高い復号処理か
ら順に前記作業領域記憶手段に割り当て、 前記作業領域記憶手段に割り当てられた作業領域を用い
て前記符号化信号を復号することを特徴とする画像復号
化方法。
6. An image decoding method for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decoding the multiplexed data, wherein the multiplexed signal is Separate into coded signals, detect the capacity of the work area required for the decoding processing of each coded signal as a work area amount, and perform the decoding processing of each coded signal. Detecting the priority of allocation, allocating the detected work area amount to the work area storage means in order from the decoding processing having the higher priority, and using the work area allocated to the work area storage means, An image decoding method for decoding an image.
【請求項7】 前記優先度が一定以下の符号化信号の復
号処理に対しては、前記作業領域記憶手段の作業領域を
割り当てないことを特徴とする請求項6記載の画像復号
化方法。
7. The image decoding method according to claim 6, wherein a work area of said work area storage unit is not assigned to a decoding process of the coded signal whose priority is equal to or less than a predetermined value.
【請求項8】 当該の復号処理のために所定量の作業領
域の割り当てを要求したとき、前記作業領域記憶手段に
空き作業領域がなければ、当該の復号処理より優先度の
低い復号処理に割り当てられている作業領域を解放し、 解放された前記作業領域を当該の復号処理に割り当てる
ことを特徴とする請求項6記載の画像復号化方法。
8. When requesting allocation of a predetermined amount of work area for the decoding processing, if there is no free work area in the work area storage means, the work area is allocated to a decoding processing having a lower priority than the decoding processing. 7. The image decoding method according to claim 6, wherein said work area is released and said released work area is allocated to said decoding process.
【請求項9】 複数の画像を含むデータを多重化した多
重化信号を入力し、多重化されたデータを復号する画像
復号化装置であって、 複数の画像を含むデータの各符号化信号を多重化した多
重化信号を入力して前記各符号化信号に分離する逆多重
化手段と、 符号化信号の復号に使用する情報を保持する作業領域記
憶手段と、 前記逆多重化手段から出力される各符号化信号の復号処
理に必要となる作業領域の容量を作業領域量として検出
する作業領域量検出手段と、 前記各符号化信号の復号処理に際し、作業領域記憶手段
の作業領域の割当ての優先度を検出する優先度検出手段
と、 前記作業領域量検出手段で検出した前記作業領域量を、
前記優先度検出手段で検出した優先度に応じて前記作業
領域記憶手段に割り当てる制御手段と、 前記逆多重化手段で分離された前記符号化信号を前記作
業領域記憶手段に割り当てられた作業領域を用いて復号
する復号手段と、を具備することを特徴とする画像復号
化装置。
9. An image decoding apparatus for inputting a multiplexed signal obtained by multiplexing data including a plurality of images and decoding the multiplexed data, wherein each of the coded signals of the data including a plurality of images is decoded. Demultiplexing means for inputting the multiplexed multiplexed signal and separating the coded signals into the coded signals; work area storage means for storing information used for decoding the coded signal; and output from the demultiplexing means. A work area amount detection means for detecting a capacity of a work area required for decoding processing of each encoded signal as a work area amount, and a work area storage means for assigning a work area in the decoding processing of each encoded signal. Priority detection means for detecting priority, the work area amount detected by the work area amount detection means,
Control means for allocating to the work area storage means according to the priority detected by the priority detection means; and a work area allocated to the work area storage means for the coded signal separated by the demultiplexing means. An image decoding device, comprising: decoding means for decoding using the image data.
【請求項10】 前記作業領域記憶手段中の作業領域の
位置情報を作業領域情報として記憶する作業領域情報記
憶手段と、 前記作業領域記憶手段中の空き領域の位置情報を空き領
域情報として記憶する空き領域情報記憶手段と、を更に
設けたことを特徴とする請求項5又は9記載の画像復号
化装置。
10. A work area information storage means for storing position information of a work area in the work area storage means as work area information, and a position information of a free area in the work area storage means is stored as free area information. 10. The image decoding apparatus according to claim 5, further comprising: a free area information storage unit.
【請求項11】 符号化された複数の画像信号を含むデ
ータを多重化した多重化信号を入力し、多重化されたデ
ータを復号する画像復号化方法であって、 前記多重化信号を前記各符号化信号に分離し、 前記各符号化信号の一時保持に必要となるバッファ手段
のバッファ容量を検出し、 前記各符号化信号の復号処理に際し、前記バッファ手段
のバッファ領域の割り当ての優先度を検出し、 検出した前記バッファ容量を優先度が高い符号化信号か
ら順に前記バッファ手段に割り当て、 前記バッファ手段に保持された各符号化信号を復号化す
ることを特徴とする画像復号化方法。
11. An image decoding method for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals, and decoding the multiplexed data, wherein the multiplexed signal is Separate into coded signals, detect the buffer capacity of the buffer means necessary for temporarily holding each of the coded signals, and at the time of decoding each of the coded signals, assign the priority of the buffer area allocation of the buffer means. An image decoding method, comprising: detecting, allocating the detected buffer capacity to the buffer means in order from a coded signal having a high priority, and decoding each coded signal held in the buffer means.
【請求項12】 符号化された複数の画像信号を含むデ
ータを多重化した多重化信号を入力し、多重化されたデ
ータを復号する画像復号化方法であって、 前記多重化信号を前記各符号化信号に分離し、 前記各符号化信号の一時保持に必要となるバッファ手段
のバッファ容量を検出し、 前記各符号化信号の復号処理に際し、前記バッファ手段
のバッファ領域の割り当ての優先度を検出し、 検出した前記バッファ容量を優先度が高い符号化信号か
ら順に前記バッファ手段に割り当て、 当該符号化信号の保持のためバッファ領域の割り当てを
要求したとき、前記バッファ手段に空き領域がなけれ
ば、前記優先度の低い符号化信号のために割り当てられ
ているバッファ使用領域を解放し、 前記バッファ領域を要求した当該符号化信号の保持のた
めに、解放した前記バッファ領域を割り当て、 前記バッファ手段に保持された各符号化信号を復号化す
ることを特徴とする画像復号化方法。
12. An image decoding method for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decoding the multiplexed data, wherein the multiplexed signal is Separate into coded signals, detect the buffer capacity of the buffer means necessary for temporarily holding each of the coded signals, and at the time of decoding each of the coded signals, assign the priority of the buffer area allocation of the buffer means. Detecting and allocating the detected buffer capacity to the buffer means in order from a coded signal having a high priority.When requesting allocation of a buffer area for holding the coded signal, if there is no free area in the buffer means, Releasing the buffer use area allocated for the low priority coded signal, and holding the coded signal requesting the buffer area. Allocating the released buffer area, and decoding each encoded signal held in the buffer means.
【請求項13】 符号化された複数の画像信号を含むデ
ータを多重化した多重化信号を入力し、多重化されたデ
ータを復号する画像復号化装置であって、 前記多重化信号を前記各符号化信号に分離する逆多重化
手段と、 各符号化信号を一時保持するバッファ手段と、 前記逆多重化手段から出力される各符号化信号の一時保
持に必要となるバッファ容量を検出するバッファ容量検
出手段と、 前記各符号化信号の復号処理に際し、前記バッファ手段
のバッファ領域の割り当ての優先度を検出する優先度検
出手段と、 前記バッファ容量検出手段で検出した前記バッファ容量
を、前記優先度検出手段で検出した優先度に応じて前記
バッファ手段に割り当てる制御手段と、 前記バッファ手段で保持された前記符号化信号を復号す
る復号手段と、を具備することを特徴とする画像復号化
装置。
13. An image decoding apparatus for inputting a multiplexed signal obtained by multiplexing data including a plurality of encoded image signals and decoding the multiplexed data, wherein the multiplexed signal is Demultiplexing means for separating into coded signals, buffer means for temporarily holding each coded signal, and buffer for detecting the buffer capacity required for temporarily holding each coded signal output from the demultiplexing means Capacity detection means, priority detection means for detecting the priority of the allocation of the buffer area of the buffer means in the decoding processing of each of the encoded signals, and the buffer capacity detected by the buffer capacity detection means, Control means for allocating to the buffer means according to the priority detected by the degree detecting means, and decoding means for decoding the coded signal held by the buffer means. An image decoding apparatus, comprising:
【請求項14】 複数の画像を含むデータを符号化した
符号化信号を生成し、前記各符号化信号を多重化した多
重化信号を出力する画像多重化方法であって、 画像復号化装置側で復号時に作業用領域として使用する
作業領域記憶手段における割り当ての優先度を、前記符
号化信号に多重化して出力することを特徴とする画像多
重化方法。
14. An image multiplexing method for generating a coded signal obtained by coding data including a plurality of images, and outputting a multiplexed signal obtained by multiplexing the coded signals, comprising: Wherein the priority of assignment in a work area storage means used as a work area at the time of decoding is multiplexed with the coded signal and output.
【請求項15】 複数の画像を含むデータを符号化した
符号化信号を生成し、前記各符号化信号を多重化した多
重化信号を出力する画像多重化装置であって、 複数の画像を含むデータを符号化して符号化信号を生成
する複数の符号化手段と、 画像復号化装置側で復号時に作業用領域として使用する
作業領域記憶手段における割り当ての優先度を決定する
優先度決定手段と、 前記各符号化手段の出力する符号化信号と優先度決定手
段の出力する優先度信号とを多重化して出力する多重化
手段と、を具備することを特徴とする画像多重化装置。
15. An image multiplexing apparatus for generating a coded signal obtained by coding data including a plurality of images and outputting a multiplexed signal obtained by multiplexing the coded signals, wherein the multiplexed signal includes a plurality of images. A plurality of encoding means for encoding data to generate an encoded signal; a priority determining means for determining a priority of assignment in a work area storage means used as a work area at the time of decoding on the image decoding device side; An image multiplexing apparatus, comprising: a multiplexing unit that multiplexes and outputs a coded signal output from each of the coding units and a priority signal output from the priority determination unit.
【請求項16】 複数の画像を含むデータを符号化した
符号化信号を生成し、前記各符号化信号を多重化した多
重化信号を出力する画像多重化装置であって、 複数の画像を含むデータを符号化して符号化信号を生成
する複数の符号化手段と、 復号時に使用する符号化信号を保持するためのバッファ
手段に対して、割り当ての優先度を決定する優先度決定
手段と、 前記各符号化手段の出力する符号化信号と優先度決定手
段の出力する優先度信号とを多重化して出力する多重化
手段と、を具備することを特徴とする画像多重化装置。
16. An image multiplexing apparatus for generating a coded signal obtained by coding data including a plurality of images and outputting a multiplexed signal obtained by multiplexing the coded signals, wherein the multiplexed signal includes a plurality of images. A plurality of encoding means for encoding data to generate an encoded signal; and a priority determining means for determining a priority of allocation to a buffer means for holding an encoded signal used at the time of decoding; An image multiplexing apparatus comprising: multiplexing means for multiplexing and outputting a coded signal output from each coding means and a priority signal output from the priority determination means.
【請求項17】 複数の画像及びその他のデータを符号
化した符号化信号を生成して前記各符号化信号を多重化
した多重化信号と、復号時に使用する符号化信号を保持
するための作業領域記憶手段に対する割り当ての優先度
とを蓄積したことを特徴とする記録媒体。
17. An operation for generating a coded signal obtained by coding a plurality of images and other data and multiplexing the coded signals, and a coded signal used for decoding. A storage medium storing priority of assignment to an area storage means.
【請求項18】 複数の画像及びその他のデータを符号
化した符号化信号を生成して前記各符号化信号を多重化
した多重化信号と、復号時に使用する符号化信号を保持
するためのバッファ手段に対する割り当ての優先度とを
蓄積したことを特徴とする記録媒体。
18. A buffer for generating a coded signal obtained by coding a plurality of images and other data and multiplexing the coded signals, and a coded signal used for decoding. A storage medium storing priority of assignment to means.
JP4773397A 1997-03-03 1997-03-03 Image decoding method, image decoding device, image multiplexing method, image multiplexing device, and recording medium Pending JPH10243393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4773397A JPH10243393A (en) 1997-03-03 1997-03-03 Image decoding method, image decoding device, image multiplexing method, image multiplexing device, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4773397A JPH10243393A (en) 1997-03-03 1997-03-03 Image decoding method, image decoding device, image multiplexing method, image multiplexing device, and recording medium

Publications (1)

Publication Number Publication Date
JPH10243393A true JPH10243393A (en) 1998-09-11

Family

ID=12783550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4773397A Pending JPH10243393A (en) 1997-03-03 1997-03-03 Image decoding method, image decoding device, image multiplexing method, image multiplexing device, and recording medium

Country Status (1)

Country Link
JP (1) JPH10243393A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000013610A (en) * 1998-06-25 2000-01-14 Fuji Photo Film Co Ltd Method and device for generating coded image file, method and device for decoding and computer readable record medium recording program making computer execute coded image file generating method and decoding method
JP2001313938A (en) * 2000-05-01 2001-11-09 Canon Inc Image encoding apparatus, image decoding apparatus, control method thereof, and image communication system
JP2002171523A (en) * 2000-09-22 2002-06-14 Matsushita Electric Ind Co Ltd Image decoding device, image decoding method, and program storage medium
JP2009219151A (en) * 2001-05-04 2009-09-24 Nokia Corp Method and decompression apparatus for decompressing compressed sound signal, and electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000013610A (en) * 1998-06-25 2000-01-14 Fuji Photo Film Co Ltd Method and device for generating coded image file, method and device for decoding and computer readable record medium recording program making computer execute coded image file generating method and decoding method
JP2001313938A (en) * 2000-05-01 2001-11-09 Canon Inc Image encoding apparatus, image decoding apparatus, control method thereof, and image communication system
JP2002171523A (en) * 2000-09-22 2002-06-14 Matsushita Electric Ind Co Ltd Image decoding device, image decoding method, and program storage medium
JP2009219151A (en) * 2001-05-04 2009-09-24 Nokia Corp Method and decompression apparatus for decompressing compressed sound signal, and electronic device

Similar Documents

Publication Publication Date Title
KR101266169B1 (en) Method and apparatus for encoding and decoding multi-view image
US11831919B2 (en) Encoding device and encoding method
JP2011077564A (en) Encoder and encoding method of video and voice data, and video editing system
CN101841708A (en) Image processing device and method, and information processing device and method
JPH0955935A (en) Image and audio coding device
US12323576B2 (en) Video decoding device and video decoding method
US5917438A (en) Data storing and outputting apparatus
JP5586166B2 (en) Reference frame management apparatus and method for hierarchical video coding
US8218560B2 (en) Apparatus and method for demultiplication
JP2002342139A (en) Image signal processor
JP5504363B2 (en) Reference frame management apparatus and method for hierarchical video coding
US5739860A (en) Method of and apparatus for decoding moving picture and outputting decoded moving picture in normal or frame-skipped reproducing operation mode
US20020021751A1 (en) System for documenting events
WO2003073759A1 (en) Image transmission apparatus and image transmission method
US8503803B2 (en) Method and apparatus for encoding/decoding image by partitioning image
JP3889577B2 (en) Image recording device
JP3191856B2 (en) Information storage output device
JP4111732B2 (en) Video data multiplexing device, video data display device, and video data multiplexed transmission / reception system
KR100726695B1 (en) Digital signal processing device and method and providing medium
CN116166830B (en) Data processing system, electronic component, electronic device and data processing method
MXPA99004572A (en) Improved system and method for processing object-based audiovisual information.
JP2573700B2 (en) Image recording and playback device
JPH10290205A (en) Data transmission equipment
CN117135299A (en) Video recording methods and electronic equipment
JP2007096615A (en) Information processing apparatus, method, and program