JP2008211294A - Encoding device and encoding method - Google Patents
Encoding device and encoding method Download PDFInfo
- Publication number
- JP2008211294A JP2008211294A JP2007043517A JP2007043517A JP2008211294A JP 2008211294 A JP2008211294 A JP 2008211294A JP 2007043517 A JP2007043517 A JP 2007043517A JP 2007043517 A JP2007043517 A JP 2007043517A JP 2008211294 A JP2008211294 A JP 2008211294A
- Authority
- JP
- Japan
- Prior art keywords
- encoder
- encoding
- unit
- frame
- sub
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、動画圧縮技術に関するものであり、より詳しくは動画像を符号化する符号化装置および符号化方法に関するものである。 The present invention relates to a moving image compression technique, and more particularly to an encoding apparatus and an encoding method for encoding a moving image.
近年、例えばTV会議システムなど複数の端末装置間でそれぞれが撮影した動画像を相互に視聴可能なシステムが提案されている。このようなシステムにおいて、各端末装置は、自装置で撮影した動画像を他の端末装置に送信するとともに、他の端末装置から送られてきた複数の動画像を同一画面に表示する。これにより、各端末装置のユーザは、他の端末装置のユーザの動画像を見ながら会話等を行うことが可能となる。 In recent years, for example, a system capable of mutually viewing moving images taken by a plurality of terminal devices such as a TV conference system has been proposed. In such a system, each terminal device transmits a moving image captured by the own device to other terminal devices, and displays a plurality of moving images sent from other terminal devices on the same screen. Accordingly, the user of each terminal device can perform a conversation or the like while watching the moving image of the user of another terminal device.
このようなシステムでは、通信負荷を軽減するために、送受信する動画像に対して符号化が行われる。例えば、H.264またはMPEG−4と呼ばれる動画圧縮技術(例えば、非特許文献1参照。)を用いると、動画像は、空間的に符号化されるIピクチャ、および、他のピクチャを参照して符号化されるPピクチャまたはBピクチャから構成される複数の連続したピクチャからなる画像データ(以下、符号化データという)に符号化される。この符号化データは、受信側の端末装置で復号化されることにより、動画像として再生することが可能となる。 In such a system, in order to reduce the communication load, encoding is performed on a moving image to be transmitted and received. For example, H.M. When a moving image compression technique called H.264 or MPEG-4 (for example, see Non-Patent Document 1) is used, a moving image is encoded with reference to a spatially encoded I picture and other pictures. Are encoded into image data (hereinafter referred to as encoded data) including a plurality of consecutive pictures including a P picture or a B picture. The encoded data can be reproduced as a moving image by being decoded by the terminal device on the receiving side.
ところが、通信環境によっては伝送路の帯域に違いが生じることがあるので、上述したように符号化したとしても、符号化データの受信遅延等が生じ、結果として受信側の端末装置で動画像がスムーズに再生されないことがある。このため、送信側の端末装置において、受信側の端末装置の伝送路の帯域に応じて符号化データの圧縮率等を決定することが行われている(例えば、特許文献1参照。)。例えば、図6に示すように、送信側の端末装置に圧縮率の異なるエンコーダ101,102を設け、同一の動画像から圧縮率の異なる複数の符号化データを生成することがなされている。これにより、受信側の端末装置では、通信環境に応じた圧縮率の符号化データが送られてくるので、受信遅延等が生じず、結果として、動画像をスムーズに再生することができる。
However, depending on the communication environment, there may be a difference in the bandwidth of the transmission path. Even if the encoding is performed as described above, a reception delay or the like of the encoded data occurs. Playback may not be smooth. For this reason, in the terminal device on the transmission side, the compression rate of encoded data and the like are determined according to the bandwidth of the transmission path of the terminal device on the reception side (see, for example, Patent Document 1). For example, as shown in FIG. 6,
しかしながら、送信側の端末装置では、圧縮率の違いに応じてエンコーダを複数設けると、各エンコーダにおいて符号化する際の全ての処理が行われることになるので、CPUにかかる負荷が増大するという問題があった。
そこで、本願発明は上述したような課題を解消するためになされたものであり、演算負荷を低減させることができる符号化装置および符号化方法を提供することを目的とする。
However, in the terminal device on the transmission side, if a plurality of encoders are provided according to the difference in compression rate, all the processing at the time of encoding is performed in each encoder, so that the load on the CPU increases. was there.
Accordingly, the present invention has been made to solve the above-described problems, and an object thereof is to provide an encoding device and an encoding method capable of reducing the calculation load.
上述したような課題を解消するために、本発明に係る符号化装置は、複数のフレームからなる1の画像データから1のフレームに対して動き補償予測符号化処理およびイントラ予測符号化処理の何れを行うか選択し、この選択した処理により前記1のフレームを符号化する第1のエンコーダと、この第1のエンコーダで選択された処理により前記1のフレームを符号化する第2のエンコーダとを備えたことを特徴とする。この発明では、他のエンコーダでは、第1のエンコーダにより選択された処理により符号化が行われる。 In order to solve the above-described problems, an encoding apparatus according to the present invention can perform any of motion compensation prediction encoding processing and intra prediction encoding processing for one frame from one image data including a plurality of frames. A first encoder that encodes the first frame by the selected process, and a second encoder that encodes the first frame by the process selected by the first encoder It is characterized by having. In the present invention, the other encoder performs the encoding by the process selected by the first encoder.
上記符号化装置において、他のエンコーダは、第1のエンコーダが符号化するときに用いたパラメータ、すなわち予測画像データを作成するために用いたデータを用いて、1のフレームを符号化するようにしてもよい。ここで、第1のエンコーダでは、1のフレームに対して符号化を行う際、イントラ予測符号化処理の場合は、予測モード、動き補償予測符号化処理の場合は、最適なブロックサイズ、参照するフレームおよび動きベクトルなどのパラメータが生成される。このようなパラメータは、他のエンコーダに送信され、他のエンコーダにおいて符号化を行う際に用いられる。 In the above encoding apparatus, the other encoder encodes one frame using the parameters used when the first encoder encodes, that is, the data used to create the predicted image data. May be. Here, in the first encoder, when encoding one frame, the prediction mode is referred to in the case of intra prediction encoding processing, and the optimum block size is referred to in the case of motion compensation prediction encoding processing. Parameters such as frames and motion vectors are generated. Such parameters are transmitted to other encoders, and are used when encoding is performed in the other encoders.
また、本発明に係る符号化方法は、第1のエンコーダに、複数のフレームからなる1の画像データから1のフレームに対して動き補償予測符号化処理およびイントラ予測符号化処理の何れを行うかを選択させ、この選択された処理により前記1のフレームを符号化させる第1のステップと、第2のエンコーダに、前記第1のステップで選択された処理により前記1のフレームを符号化させる第2のステップとを有することを特徴とする。 In the encoding method according to the present invention, which of the motion compensation predictive encoding process and the intra predictive encoding process is performed on one frame from one image data composed of a plurality of frames in the first encoder? A first step for encoding the first frame by the selected process, and a second step for causing the second encoder to encode the first frame by the process selected in the first step. And 2 steps.
本発明によれば、第1のエンコーダでは、1のフレームに対して動き補償予測符号化処理およびイントラ予測符号化処理の何れを行うかを選択し、この選択した処理により符号化を行い、第2のエンコーダでは、当該1のフレームに対して第1のエンコーダで選択された処理を行うことにより、第2のエンコーダにおいて第1のエンコーダのように当該1のフレームに対して行う符号化処理の選択動作を省略できるので、演算負荷を低減させることができる。 According to the present invention, the first encoder selects whether to perform motion compensation prediction encoding processing or intra prediction encoding processing for one frame, performs encoding by the selected processing, In the second encoder, by performing the process selected by the first encoder on the one frame, the encoding process performed on the first frame in the second encoder like the first encoder is performed. Since the selection operation can be omitted, the calculation load can be reduced.
以下、図面を参照して、本発明の実施の形態について詳細に説明する。なお、本実施の形態では、TV会議システムにおける端末装置に本発明を適用した場合を例に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this embodiment, a case where the present invention is applied to a terminal device in a TV conference system will be described as an example.
[TV会議システムの構成]
図1に示すように、本実施の形態に係るTV会議システムは、サーバ1と、複数の端末装置2a〜2nとから構成され、それぞれはLAN(Local Area Network)やインターネット等からなるネットワーク3により接続されている。なお、端末装置2a〜2nは、それぞれ同等の構成を有するので、便宜上、以下端末装置2と言う。
[Configuration of TV conference system]
As shown in FIG. 1, the TV conference system according to the present embodiment includes a
(サーバの構成)
サーバ1は、TV会議システムを構成する端末装置2a〜2nの呼制御を行い、端末装置2間の通信を確立する。
(Server configuration)
The
(端末装置の構成)
端末装置2は、TV会議システムを利用するユーザにより用いられる公知のコンピュータから構成される。この端末装置2は、図2に示すように、外部I/F部4と、操作入力部5と、画像処理部6と、音声処理部7と、記憶部8と、制御部9とから構成される。
(Configuration of terminal device)
The
外部I/F部4は、通信回路からなり、ネットワーク3等を介して、サーバ1および他の端末装置2とデータ通信を行い、接続された各装置と各種データをやりとりする。
The external I /
操作入力部5は、キーボードやマウス等からなり、ユーザの操作を検出して制御部9へ出力する。
The
画像処理部6は、画像処理回路からなり、カメラ6aにより取り込まれた動画像を制御部9に入力したり、制御部9から入力された動画像をモニタ6bから出力させたりするとともに、階調制御等を行う。
The
音声処理部7は、信号処理回路からなり、マイク7aから入力された音声を音声データに符号化して制御部9に出力したり、制御部9から入力された音声データを復号化してスピーカ7bから出力したりするとともに、音量制御やエコーキャンセラ等の機能を有する。
The
記憶部8は、メモリやハードディスクなどの記憶装置からなり、制御データ8aおよびプログラム8bを格納する。ここで、制御データ8aは、端末装置2の制御に用いる情報である。また、プログラム8bは、端末装置2の動作プログラムであり、予め記憶部8に格納される。なお、プログラム8bは、DVD(Digital Versatile Disk)やCD(Compact disk)等の記録媒体やネットワークを介して記憶部8に格納するようにしてもよい。
The
制御部9は、CPUなどのマイクロプロセッサとその周辺回路からなり、記憶部8からプログラム8bを読み込んで実行することにより、上記ハードウェアとプログラム8bを協働させ、符号化手段11、復号化手段12およびTV会議手段13を実現させる。
The
符号化手段11は、H.264規格に基づいて、カメラ6aおよび画像処理部6により生成された連続する複数のフレーム(画像)を符号化して、連続する複数のピクチャ(符号化された画像)からなる符号化データを生成する。この符号化手段11は、図2(b)に示すように、主エンコーダ11−1と、この主エンコーダとは異なる圧縮率の符号化データを作成する副エンコーダ11−2a〜11−2nとから構成される。なお、副エンコーダ11−2a〜11−2nにおいて、主エンコーダ11−1と同等の構成要素については、同じ名称および符号が付し適宜説明を省略する。
The encoding means 11 is an H.264 standard. Based on the H.264 standard, a plurality of continuous frames (images) generated by the
主エンコーダ11−1は、入力された動画像に対してイントラ予測処理および動き補償予測処理の一方を選択的に行って符号化データを生成するとともに、選択した符号化処理に関する情報と選択した符号化処理で使用したパラメータに関する情報とを副エンコーダ11−2に送信するものである。このような主エンコーダ11−1は、図3に示すように、差分演算部111、DCT部112、量子化部113、逆量子化部114、IDCT部115、加算演算部116、動き補償予測部118、フレームメモリ119、イントラ予測部121、スイッチ122および符号化データ出力部123を備えている。このような主エンコーダ111による符号化処理動作の詳細については後述する。
The main encoder 11-1 selectively performs one of an intra prediction process and a motion compensation prediction process on the input moving image to generate encoded data, and information on the selected encoding process and the selected code The information regarding the parameters used in the conversion process is transmitted to the sub-encoder 11-2. As shown in FIG. 3, the main encoder 11-1 includes a
副エンコーダ11−2a〜11−2nは、主エンコーダ11−1から受信した符号化処理の選択結果およびその符号化処理に用いたパラメータに基づいて、入力された動画像に対して主エンコーダ11−1と同等の符号化処理を異なる圧縮率で行うものである。このような副エンコーダ11−2a〜11−2nは、図3に示すように、差分演算部111、DCT部112、量子化部113、逆量子化部114、IDCT部115、加算演算部116、予測モード検出部117、動き補償予測部118、フレームメモリ119、動き検出部120、イントラ予測部121、スイッチ122および符号化データ出力部123を備えている。このような副エンコーダ11−2a〜11−2nは、圧縮率の異なる符号化データを生成する数量に応じて生成される。なお、副エンコーダ11−2a〜11−2nによる符号化処理動作の詳細については後述する。また、副エンコーダ11−2a〜11−2nは、それぞれ同等の構成を有するので、便宜上、以下副エンコーダ11−2と言う
The sub-encoders 11-2a to 11-2n, based on the selection result of the encoding process received from the main encoder 11-1 and the parameters used for the encoding process, output the main encoder 11- 1 is performed at a different compression rate. As shown in FIG. 3, the sub encoders 11-2a to 11-2n include a
復号化手段12は、外部I/F部4を介して他の端末装置2から受信した符号化データを復号化して画像データを生成する。
The
TV会議手段13は、ネットワーク3および外部I/F部4を介して他の端末装置2と符号化データおよび音声データをやりとりすることにより、TV会議システムを実現するものである。具体的には、まず、サーバ1の呼制御の結果、TV会議に使用される端末装置2の通信環境、プロトコル、装置の性能などに応じて生成する符号化データの数量および各符号化データのプロトコルや圧縮率などを決定し、その数量に応じて副エンコーダ11−2の数量を設定する。また、符号化手段11の主エンコーダ11−1および副エンコーダ11−2により生成された符号化データおよび音声処理部7により生成された音声データを、他の端末装置2それぞれに送信させる。また、他の端末装置2から受信した音声データを、音声処理部7によりスピーカ7bから出力させる。また、他の各端末装置2から受信した符号化データを、復号化手段12により復号化させ、生成された各フレームを画像処理部6によりモニタ6b上の所定の位置およびサイズで同時に表示させる。このようにすることにより、他の端末装置2のユーザと、それぞれの動画像を見ながらそれぞれと会話を行うことができる。
The TV conference means 13 implements a TV conference system by exchanging encoded data and audio data with other
[主エンコーダによる符号化処理動作]
次に、図3,図4を参照して、符号化手段11の主エンコーダ11−1による符号化処理動作について説明する。
[Encoding processing operation by the main encoder]
Next, the encoding processing operation by the main encoder 11-1 of the encoding means 11 will be described with reference to FIGS.
まず、画像処理部6から複数のフレームからなる画像データが入力されると(ステップS1)、主エンコーダ11−1は、入力された各フレームをマクロブロック単位に分割した後、イントラ予測符号化処理および動き補償予測符号化処理により予測画像データを生成する(ステップS2)。なお、マクロブロック単位の分割は、画像処理部6で行ったり、主エンコーダ11−1に分割処理を行う機能部を設けることにより行ったりするようにしてもよい。
First, when image data including a plurality of frames is input from the image processing unit 6 (step S1), the main encoder 11-1 divides each input frame into units of macroblocks, and then performs intra prediction encoding processing. And prediction image data is produced | generated by a motion compensation prediction encoding process (step S2). Note that division in units of macroblocks may be performed by the
イントラ予測符号化処理の場合、主エンコーダ11−1は、予測モード検出部117により、入力されたフレームの輝度や色差信号等に関する最適な予測モードを検出させたのち、イントラ予測部121により、検出した予測モードと当該フレームとに基づいて、予測画像データを生成させる。なお、予測モード検出部117は、当該フレームを復号化する際に用いた予測モードを副エンコーダ11−2のイントラ予測部121にも出力する。ここで、副エンコーダ11−2が複数の場合、予測モード検出部117は、副エンコーダ11−2それぞれに対して、主エンコーダ11−1により検出された予測モードを出力する。
In the case of intra prediction encoding processing, the main encoder 11-1 detects the optimal prediction mode related to the luminance and color difference signal of the input frame by the prediction
動き補償予測符号化処理の場合、主エンコーダ11−1は、動き検出部120により、入力されたフレームとフレームメモリ119に格納された再構成画像データとに基づいて最適なブロックサイズ、参照フレームおよび動きベクトル等を検出したのち、動き補償予測部118により、検出したそれらのパラメータとフレームメモリ119に格納された再構成画像データとに基づいて、予測画像データを生成する。また、動き検出部120は、当該フレームを復号化する際に用いた最適なブロックサイズ、参照フレームおよび動きベクトル等を副エンコーダ11−2の動き補償予測部118にも出力する。ここで、副エンコーダ11−2が複数の場合、動き検出部120は、副エンコーダ11−2それぞれに対して、主エンコーダ11−1により検出されたブロックサイズ、参照するフレームおよび動きベクトル等を出力する。
In the case of the motion compensation predictive encoding process, the main encoder 11-1 uses the
イントラ予測符号化処理および動き補償予測符号化処理により予測画像データが生成されると、主エンコーダ11−1は、スイッチ122により、それぞれの予測画像データと入力されたフレームとの差分をとった差分画像データを生成し、これらを比較することによりイントラ予測符号化処理および動き補償予測符号化処理のうち効率的な方を選択する(ステップS3)。ここで、スイッチ122は、生成された差分画像データのデータ量が少ない方、すなわち予測画像データと入力されたフレームとの差分が小さい方の符号化処理を効率的であるとして選択する。
When the prediction image data is generated by the intra prediction encoding process and the motion compensation prediction encoding process, the main encoder 11-1 uses the
実施する符号化処理が選択されると、主エンコーダ11−1は、スイッチ122により、選択した符号化処理に関する情報(以下、選択情報という)を副エンコーダ11−2のスイッチ122に宛てて出力させる(ステップS4)。また、選択情報は、副エンコーダ11−2が複数存在する場合、それぞれに送信される。
When the encoding process to be performed is selected, the main encoder 11-1 causes the
選択情報を出力するとともに、主エンコーダ11−1は、スイッチ122により選択された方の符号化処理により生成された予測画像データを差分演算部111に出力し、この差分演算部111により、入力されたフレームと当該予測画像データとの差分をとった差分画像データを生成させる(ステップS5)。
While outputting the selection information, the main encoder 11-1 outputs the predicted image data generated by the encoding process selected by the
差分画像データが生成されると、主エンコーダ11−1は、DCT部112および量子化部113により当該差分画像データに対して周波数変換および量子化を行わせる(ステップS6)。このとき、主エンコーダ11−1は、量子化部113により、生成した符号化データの宛先の端末装置の通信環境や性能などに応じて量子化を行わせることにより、符号化データの所定の圧縮率を調整する。
When the difference image data is generated, the main encoder 11-1 causes the
量子化が行われると、主エンコーダ11−1は、符号化データ出力部123により可変長符号化を行わせる(ステップS7)。これにより、入力されたフレームは、スイッチ122により選択された符号化処理によって符号化され、符号化データとして出力される(ステップS8)。この符号化データとしては、イントラ予測符号化処理が選択された場合にはIピクチャ、動き補償予測符号化処理が選択された場合には、BピクチャまたはPピクチャが出力される。
When quantization is performed, the main encoder 11-1 causes the encoded
なお、量子化部113から出力される残差データは、逆量子化部114およびIDCT部115により逆量子化および逆周波数変換が順次施され(ステップS9)、加算演算部116により予測画像データが加算されたのち(ステップS10)、再構成画像データとしてフレームメモリ119に格納される(ステップS11)。このフレームメモリ119に格納された再構成画像データは、上述した動き補償予測符号化処理を行う際に用いられる。
Note that the residual data output from the
このように、本実施の形態によれば、主エンコーダ11−1により1のフレームに対して行われた符号化処理に関する選択情報が、副エンコーダ11−2に出力される。また、当該1のフレームを符号化する際に用いられたパラメータも、副エンコーダ11−2に出力される。 Thus, according to the present embodiment, selection information related to the encoding process performed on one frame by the main encoder 11-1 is output to the sub-encoder 11-2. Further, the parameters used when encoding the one frame are also output to the sub-encoder 11-2.
[副エンコーダによる符号化処理動作]
次に、図3,図5を参照して、符号化手段11の副エンコーダ11−2による符号化処理動作について説明する。
[Encoding processing operation by sub encoder]
Next, with reference to FIGS. 3 and 5, the encoding processing operation by the sub-encoder 11-2 of the encoding means 11 will be described.
まず、副エンコーダ11−2は、画像処理部6から複数のフレームからなる画像データが入力されると、入力された各フレームをマクロブロック単位に分割する(ステップS21)。なお、マクロブロック単位の分割は、画像処理部6で行ったり、副エンコーダ11−2に分割処理を行う機能部を設けることにより行ったりするようにしてもよい。
First, when image data composed of a plurality of frames is input from the
フレームが入力されると、副エンコーダ11−2は、主エンコーダ11−1より選択情報を受信し(ステップS22)、この選択情報に対応した符号化処理を行う(ステップS23)。 When the frame is input, the secondary encoder 11-2 receives the selection information from the main encoder 11-1 (step S22), and performs an encoding process corresponding to the selection information (step S23).
例えば、任意のフレームに対してイントラ予測符号化処理が行われた旨の選択情報を受信すると、副エンコーダ11−2のイントラ予測部121は、当該任意のフレームの予測画像データを生成する。このとき、イントラ予測部121は、主エンコーダ11−1が当該任意のフレームの予測画像データを生成する際に用いたパラメータ、すなわち予測モード117が検出した予測モードを用いて、当該任意のフレームの予測画像データを生成する。
For example, when selection information indicating that intra prediction encoding processing has been performed on an arbitrary frame is received, the
一方、任意のフレームに対して動き補償予測符号化処理が行われた旨の選択情報を受信すると、副エンコーダ11−2の動き補償予測部118は、当該任意のフレームの予測画像データを生成する。このとき、動き補償予測部118は、主エンコーダ11−1が当該任意のフレームの予測画像データを生成する際に用いたパラメータ、すなわち動き検出部120が検出した最適なブロックサイズ、参照フレームおよび動きベクトル等を用いて、当該任意のフレームの予測画像データを生成する。
On the other hand, when the selection information indicating that the motion compensation prediction encoding process has been performed on an arbitrary frame is received, the motion
選択された符号化処理により予測画像データが生成されると、副エンコーダ11−2は、スイッチ122により、選択情報に基づいて生成された予測画像データを差分演算部111に出力させ、この差分演算部111により、入力されたフレームと当該予測画像データとの差分をとった差分画像データを生成させる(ステップS24)。
When the predicted image data is generated by the selected encoding process, the sub-encoder 11-2 causes the
差分画像データが生成されると、副エンコーダ11−2は、DCT部112および量子化部113により当該差分画像データに対して周波数変換および量子化を行わせる(ステップS25)。このとき、副エンコーダ11−2は、量子化部113により、生成した符号化データの宛先の端末装置の通信環境や性能などに応じて量子化を行わせることにより、符号化データの圧縮率を調整する。
When the difference image data is generated, the sub encoder 11-2 causes the
宛先の端末装置の通信環境や性能などに応じた量子化が行われると、副エンコーダ11−2は、符号化データ出力部123により、量子化部113から出力された残差データに可変長符号化を行わせる(ステップS26)。これにより、入力されたフレームは、主エンコーダ11−1と同一の符号化処理によって符号化され、符号化データとして出力される(ステップS27)。この場合も、符号化データとしては、イントラ予測符号化処理が選択されたときにはIピクチャ、動き補償予測符号化処理が選択されたときには、BピクチャまたはPピクチャが出力される。
When quantization according to the communication environment or performance of the destination terminal device is performed, the sub-encoder 11-2 causes the encoded
なお、量子化部113から出力される残差データは、逆量子化部114およびIDCT部115により逆量子化および逆周波数変換が順次施され(ステップS28)、加算演算部116により予測画像データが加算されたのち(ステップS29)、再構成画像データとしてフレームメモリ119に格納される(ステップS30)。このフレームメモリ119に格納された再構成画像データは、上述した動き補償予測符号化処理を行う際に用いられる。
Note that the residual data output from the
このように、副エンコーダ11−2は、主エンコーダ11−1から取得する選択情報に基づいて、1のフレームに対して主エンコーダ11−1と同じ符号化処理により符号化を行う。このため、副エンコーダ11−2では、イントラ予測符号化および動き補償予測符号化の何れを行うか選択するため動作が省略されるため、演算負荷を低減させることができる。具体的には、スイッチ122において、出力する予測画像データを選択するための動作を行わなくてよいので、この動作にかかる演算負荷を低減させることができる。また、副エンコーダ11−2では、主エンコーダ11−1のようにイントラ予測部121と動き補償予測部118の両方に予測画像データを生成させるのではなく、イントラ予測部121と動き補償予測部118の何れか一方に予測画像データを生成させればよいので、演算負荷を低減させることができる。
As described above, the sub-encoder 11-2 encodes one frame by the same encoding process as that of the main encoder 11-1, based on the selection information acquired from the main encoder 11-1. For this reason, in the sub-encoder 11-2, the operation is omitted to select whether to perform intra prediction encoding or motion compensation prediction encoding, and thus it is possible to reduce the calculation load. Specifically, since the
また、副エンコーダ11−2では、イントラ予測符号化を行う際、主エンコーダ11−1から取得した予測モードを用いて予測画像データを生成するため、主エンコーダ11−1のように予測モードを生成する必要がないので、演算負荷を低減させることができる。また、副エンコーダ11−2は、動き補償予測符号化を行う際、主エンコーダ11−1から取得した最適なブロックサイズ、参照するフレームおよび動きベクトル等を用いて予測画像データを生成するため、主エンコーダ11−1のようにそれらのパラメータを生成する必要がないので、演算負荷を低減させることができる。 Further, when performing the intra prediction encoding, the sub encoder 11-2 generates prediction image data using the prediction mode acquired from the main encoder 11-1, and thus generates a prediction mode like the main encoder 11-1. Since there is no need to do this, the calculation load can be reduced. Further, the sub-encoder 11-2 generates predicted image data using the optimum block size, reference frame, motion vector, and the like acquired from the main encoder 11-1 when performing motion compensation predictive coding. Since it is not necessary to generate these parameters as in the encoder 11-1, the calculation load can be reduced.
以上説明したように、本実施の形態によれば、主エンコーダ11−1では、1のフレームに対して動き補償予測符号化処理およびイントラ予測符号化処理の何れを行うかを選択し、この選択した処理により符号化を行い、副エンコーダ11−2では、当該1のフレームに対して主エンコーダ11−1で選択された処理を行うことにより、副エンコーダ11−2において主エンコーダ11−1のように当該1のフレームに対して行う符号化処理の選択動作を省略できるので、演算負荷を低減させることができる。 As described above, according to the present embodiment, the main encoder 11-1 selects which of the motion compensation prediction encoding process and the intra prediction encoding process is performed on one frame, and this selection. The sub-encoder 11-2 performs the process selected by the main encoder 11-1 on the one frame, so that the sub-encoder 11-2 performs the same process as the main encoder 11-1 in the sub-encoder 11-2. In addition, since the selection operation of the encoding process performed on the one frame can be omitted, the calculation load can be reduced.
本発明は、同一の画像データから複数の符号化データを生成する各種装置に適用することができる。 The present invention can be applied to various apparatuses that generate a plurality of encoded data from the same image data.
1…サーバ、2,2a,2b,2n…端末装置、3…ネットワーク、4…外部I/F部、5…操作入力部、6…画像処理部、6a…カメラ、6b…モニタ、7…音声処理部、7a…マイク、7b…スピーカ、8…記憶部、8a…制御データ、8b…プログラム、9…制御部、11…符号化手段、11−1…主エンコーダ、11−2,11−2a〜11−2n…副エンコーダ、12…復号化手段、13…TV会議手段、111…差分演算部、112…DCT部、113…量子化部、114…逆量子化部、115…IDCT部、116…加算演算部、117…デブロッキングフィルタ、118…動き補償予測部、119…フレームメモリ、120…動き検出部、121…イントラ予測部、122…スイッチ、123…符号化データ出力部、124…スイッチ。
DESCRIPTION OF
Claims (3)
この第1のエンコーダで選択された処理により前記1のフレームを符号化する第2のエンコーダと
を備えたことを特徴とする符号化装置。 A selection is made between motion compensation predictive coding processing and intra prediction coding processing for one frame from one image data consisting of a plurality of frames, and the first frame is coded by the selected processing. 1 encoder,
An encoding apparatus comprising: a second encoder that encodes the first frame by a process selected by the first encoder.
ことを特徴とする請求項1記載の符号化装置。 The encoding apparatus according to claim 1, wherein the second encoder encodes the first frame using a parameter used when the first encoder encodes.
第2のエンコーダに、前記第1のステップで選択された処理により前記1のフレームを符号化させる第2のステップと
を有することを特徴とする符号化方法。 The first encoder is made to select which one of motion compensation prediction encoding processing and intra prediction encoding processing is to be performed on one frame from one image data composed of a plurality of frames. A first step of encoding one frame;
And a second step of causing the second encoder to encode the first frame by the process selected in the first step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007043517A JP2008211294A (en) | 2007-02-23 | 2007-02-23 | Encoding device and encoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007043517A JP2008211294A (en) | 2007-02-23 | 2007-02-23 | Encoding device and encoding method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008211294A true JP2008211294A (en) | 2008-09-11 |
Family
ID=39787262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007043517A Pending JP2008211294A (en) | 2007-02-23 | 2007-02-23 | Encoding device and encoding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008211294A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002344972A (en) * | 2001-05-15 | 2002-11-29 | Sony Corp | Moving picture encoder, moving picture encoding method, storage medium for storing moving picture encoding program and the moving picture encoding program |
JP2005045297A (en) * | 2003-07-22 | 2005-02-17 | Hitachi Ltd | Camera system and camera apparatus |
-
2007
- 2007-02-23 JP JP2007043517A patent/JP2008211294A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002344972A (en) * | 2001-05-15 | 2002-11-29 | Sony Corp | Moving picture encoder, moving picture encoding method, storage medium for storing moving picture encoding program and the moving picture encoding program |
JP2005045297A (en) * | 2003-07-22 | 2005-02-17 | Hitachi Ltd | Camera system and camera apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109644270B (en) | Video encoding method and encoder, video decoding method and decoder, and storage medium | |
US8619854B2 (en) | Scalable video encoding and decoding method using switching pictures and apparatus thereof | |
Ostermann et al. | Video coding with H. 264/AVC: tools, performance, and complexity | |
JP3877234B2 (en) | Method and apparatus for transcoding a bitstream having video data | |
JP4927207B2 (en) | Encoding method, decoding method and apparatus | |
KR101502611B1 (en) | Real-time video coding system of multiple temporally scaled video and of multiple profile and standards based on shared video coding information | |
US20020122491A1 (en) | Video decoder architecture and method for using same | |
US8218619B2 (en) | Transcoding apparatus and method between two codecs each including a deblocking filter | |
RU2506711C2 (en) | Image processing method and apparatus | |
JPWO2018037737A1 (en) | IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM | |
JP4983917B2 (en) | Moving image distribution system, conversion device, and moving image distribution method | |
JP2012109720A (en) | Picture conversion device, picture reproduction device, and picture conversion method | |
US8243798B2 (en) | Methods and apparatus for scalable video bitstreams | |
JP2007274621A (en) | Image transmission system and image transmission method | |
KR101423655B1 (en) | Method and apparatus for field picture coding and decoding | |
JP4660408B2 (en) | Encoding method | |
WO2010027082A1 (en) | Conference server, video conference system, method, and program | |
KR102312668B1 (en) | Video transcoding system | |
CN113542209A (en) | Method, apparatus and readable storage medium for video signaling | |
JP2008211294A (en) | Encoding device and encoding method | |
JP2009081622A (en) | Moving image compression encoder | |
JP4735558B2 (en) | Information processing apparatus and information processing method | |
JP2005341347A (en) | Multipoint connection device and method | |
CN114514745B (en) | Video signal transmitting method, video signal transmitting device, computer equipment and storage medium | |
Akramullah et al. | Video Coding Standards |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091228 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110112 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110125 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111220 |