JP2004208280A - Encoding apparatus and encoding method - Google Patents

Encoding apparatus and encoding method Download PDF

Info

Publication number
JP2004208280A
JP2004208280A JP2003384484A JP2003384484A JP2004208280A JP 2004208280 A JP2004208280 A JP 2004208280A JP 2003384484 A JP2003384484 A JP 2003384484A JP 2003384484 A JP2003384484 A JP 2003384484A JP 2004208280 A JP2004208280 A JP 2004208280A
Authority
JP
Japan
Prior art keywords
image data
processing
parameters
encoding
encoder
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
JP2003384484A
Other languages
Japanese (ja)
Inventor
Takashi Kudo
敬 工藤
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2003384484A priority Critical patent/JP2004208280A/en
Publication of JP2004208280A publication Critical patent/JP2004208280A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an encoding apparatus and an encoding method for shortening entire processing time. <P>SOLUTION: A plurality of parameters are set, a basic parameter for motion prediction is generated from the set plurality of parameters, and the basic parameter is used to perform motion predictive processing. Further, the result of motion predictive processing is converted into a parameter to be used for each of a plurality of encoders, and outputted to the encoders. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は、ひとつの画像データから複数の圧縮動画像データを生成して出力する符号化装置および符号化方法に関する。     The present invention relates to an encoding device and an encoding method for generating and outputting a plurality of compressed moving image data from one image data.

従来、動画像符号化装置は、フレーム間の誤差を符号化して高い圧縮効率を実現していた。このフレーム間の誤差を動きベクトル、動きベクトルの検出を動き予測という。動きベクトルを予測する方法は多数あり、一般的には、ブロックマッチング方法が用いられる。一つの画像データから複数のフォーマットの圧縮動画像データを作成する場合、符号化装置は複数のエンコーダを備え、それらのエンコーダを用いて各々の圧縮動画像データを作成する。また、それぞれのフォーマットにあわせた動きベクトルを用いて圧縮処理を行なう必要がある。   Conventionally, a moving image encoding apparatus encodes an error between frames to realize high compression efficiency. The error between the frames is called a motion vector, and the detection of the motion vector is called a motion prediction. There are many methods for predicting a motion vector, and a block matching method is generally used. When creating compressed moving image data in a plurality of formats from one image data, the encoding device includes a plurality of encoders and creates each compressed moving image data using the encoders. Further, it is necessary to perform compression processing using a motion vector adapted to each format.

上記の符号化処理装置のように、エンコーダ毎に動き予測処理をする場合、エンコーダの数が増大してしまう。言い換えれば、必要とする出力圧縮画像データの数が多くなるほど、全エンコーダにおけるエンコード処理が膨大な量になり、全体の処理時間が増大する。また出力圧縮画像データの数が増えるほどエンコーダを増設しなければならず、コストが大きくなる。   When the motion prediction processing is performed for each encoder as in the above-described encoding processing device, the number of encoders increases. In other words, as the number of required output compressed image data increases, the encoding process in all encoders becomes enormous, and the overall processing time increases. Further, as the number of output compressed image data increases, the number of encoders must be increased, and the cost increases.

そのため、特開2002-344972号公報に開示されている技術では、複数の解像度が異なる動画像符号化装置が簡易動きベクトル検出処理部を有する。この簡易動きベクトル検出処理部は、エンコーダとは独立して構成されており、符号化する動画像の解像度よりも低い解像度での簡易動きベクトルを検出する。エンコーダでは、解像度にあわせて拡大した簡易動きベクトルを用いて狭い範囲で動きベクトルを検索し、解像度にあった動きベクトルを検出して符号化を行なう。特開2002-344972号公報に開示されている技術では、最も低い解像度の符号化を行なうエンコーダが簡易動きベクトル検出処理部を内蔵している。この構成では、簡易動きベクトル検出処理部を内蔵しているエンコーダは、検出された簡易動きベクトルをそのまま動きベクトルとして用い、他のエンコーダでは、前者の独立型と同様に、解像度にあった動きベクトルを再度検出する構成としている。   For this reason, in the technique disclosed in Japanese Patent Application Laid-Open No. 2002-344972, a plurality of moving image encoding devices having different resolutions have a simple motion vector detection processing unit. This simple motion vector detection processing unit is configured independently of the encoder, and detects a simple motion vector at a resolution lower than the resolution of the moving image to be encoded. The encoder searches for a motion vector in a narrow range using the simple motion vector enlarged according to the resolution, and detects and encodes the motion vector corresponding to the resolution. In the technique disclosed in Japanese Patent Application Laid-Open No. 2002-344972, an encoder that performs encoding with the lowest resolution has a simple motion vector detection processing unit built-in. In this configuration, the encoder incorporating the simple motion vector detection processing unit uses the detected simple motion vector as the motion vector as it is, and the other encoders use the motion vector matching the resolution as in the former independent type. Is detected again.

特開2002-344972号公報JP 2002-344972 A

しかしながら、特開2002-344972号公報に開示されている技術では、生成する圧縮動画像の異なる解像度にのみ着目している。また、動きベクトルの検索方法に応じた簡易ベクトルを検出する解像度を用いている。従って、その他のパラメータが異なるフォーマットに変換する場合に、最適な高速符号化が実現できない。   However, the technique disclosed in Japanese Patent Application Laid-Open No. 2002-344972 focuses only on different resolutions of a generated compressed moving image. Further, a resolution for detecting a simple vector according to a motion vector search method is used. Therefore, when converting to a format in which other parameters are different, optimal high-speed encoding cannot be realized.

本発明の目的の一つは、複数のフォーマットの符号化データを生成する符号化装置及び符号化方法において、全体の処理時間の短縮を図ることにある。本発明の目的の他の一つは、精度の高い複数のフォーマットの圧縮動画像を作成する場合の処理時間の短縮を図ることにある。   An object of the present invention is to reduce the overall processing time in an encoding device and an encoding method for generating encoded data in a plurality of formats. Another object of the present invention is to reduce the processing time when creating compressed moving images of a plurality of formats with high accuracy.

複数のパラメータを設定し、設定した複数のパラメータから動き予測をするための基本パラメータを生成し、生成された基本パラメータを用いて動き予測処理する。さらに動き予測処理した結果を複数のエンコーダの各々で用いるパラメータに変換し、各エンコーダに出力する。   A plurality of parameters are set, basic parameters for performing motion prediction are generated from the set plurality of parameters, and motion prediction processing is performed using the generated basic parameters. Furthermore, the result of the motion prediction processing is converted into parameters used in each of the plurality of encoders, and output to each encoder.

本発明によれば、全体の処理時間の短縮を図る符号化装置および符号化方法を得ることができる。 ADVANTAGE OF THE INVENTION According to this invention, the encoding apparatus and encoding method which shorten the whole processing time can be obtained.

図に、符号化装置の構成を示すブロック図である。図1の符号化装置は、データ供給装置101、データ格納装置1021〜1023、パラメータ設定器13、符号化器14を有する。以下の説明では、例えば、MPEG2で圧縮された画像データを、フォーマットが異なる複数のMPEG4の圧縮画像データに変換することを前提として説明する。   FIG. 2 is a block diagram showing the configuration of the encoding device. 1 includes a data supply device 101, data storage devices 1021 to 1023, a parameter setting unit 13, and an encoder 14. In the following description, for example, it is assumed that image data compressed by MPEG2 is converted into a plurality of compressed image data of MPEG4 having different formats.

データ供給装置101は、複数のフォーマットに符号化される画像データの元データを供給する。データ格納装置1021−1023は、複数のフォーマットに符号化された画像データを符号化器14から受信し、格納する。データ供給装置101、データ格納装置1021〜1023は、一つまたは複数の不揮発性記憶装置である。例えば、ハードディスクなどの磁気記録装置で構成されるが、DVD―RAMや、DVD−RなどのDVD記録装置でもよい。さらに、データ供給装置101は、ディジタルビデオカメラなどの撮影装置で実現することもできる。その場合は、元データとして圧縮されないデータを供給することもできる。   The data supply device 101 supplies original data of image data encoded into a plurality of formats. The data storage devices 1021 to 1023 receive the image data encoded in a plurality of formats from the encoder 14 and store the image data. The data supply device 101 and the data storage devices 1021 to 1023 are one or a plurality of nonvolatile storage devices. For example, it is composed of a magnetic recording device such as a hard disk, but may be a DVD recording device such as a DVD-RAM or a DVD-R. Further, the data supply device 101 can be realized by a photographing device such as a digital video camera. In that case, uncompressed data can be supplied as original data.

パラメータ設定器13は、符号化器14が作成する圧縮画像データのフォーマットを指定する情報を入力する装置である。パラメータ設定器13については、後述するが、キーボード、マウスなどの入力装置131と、表示装置132、及びパラメータ設定のためのGUIプログラムで実現することができる。   The parameter setting device 13 is a device for inputting information for specifying the format of the compressed image data created by the encoder 14. As will be described later, the parameter setting device 13 can be realized by an input device 131 such as a keyboard and a mouse, a display device 132, and a GUI program for parameter setting.

符号化器14は、圧縮画像データ101が入力される入力端子11と、複数の圧縮画像データ1021、1022、1023が出力される複数の出力端子121、122、123を有する。また、符号化器14は、処理装置140、記憶装置141、デコーダ142、動き予測処理装置143、メモリ装置144、複数のエンコーダ145、146、147を有する。符号化装置14は、パーソナルコンピュータなどの情報処理装置がソフトウェアを実行するによって実現される。   The encoder 14 has an input terminal 11 to which the compressed image data 101 is input, and a plurality of output terminals 121, 122, 123 to which a plurality of compressed image data 1021, 1022, 1023 are output. The encoder 14 includes a processing device 140, a storage device 141, a decoder 142, a motion prediction processing device 143, a memory device 144, and a plurality of encoders 145, 146, 147. The encoding device 14 is realized by an information processing device such as a personal computer executing software.

処理装置140は、符号化器14の各ユニットを制御する。さらに、記憶装置に格納されているデータをもとに処理を行なう。処理装置140は、情報処理装置のCPU、またはエンコーダボードのMPUなどで実現される。   The processing device 140 controls each unit of the encoder 14. Further, processing is performed based on data stored in the storage device. The processing device 140 is realized by a CPU of an information processing device, an MPU of an encoder board, or the like.

記憶装置141は、パラメータ設定器13に接続されていて、パラメータ設定器13から入力されたパラメータを記憶する。記憶装置141は、情報処理装置の主記憶装置で実現することも可能であるが、不揮発性メモリや、ハードディスクで実現することもできる。   The storage device 141 is connected to the parameter setting device 13 and stores the parameters input from the parameter setting device 13. The storage device 141 can be realized by a main storage device of the information processing device, but can also be realized by a nonvolatile memory or a hard disk.

デコーダ142は、入力端子11に接続し、例えば高圧縮率で圧縮された圧縮画像データ(例えばMPEG−2の画像データ)を復号化処理して非圧縮画像データを生成する。デコーダ142は、圧縮画像データを復号化する際に使用する動きベクトルを、動き予測処理装置143に出力する。動き予測処理装置143は、この動きベクトルを用いて、符号化する場合に必要な動きベクトルを生成する。   The decoder 142 is connected to the input terminal 11 and generates uncompressed image data by decoding compressed image data (eg, MPEG-2 image data) compressed at a high compression rate. The decoder 142 outputs a motion vector used when decoding the compressed image data to the motion prediction processing device 143. The motion prediction processing device 143 uses this motion vector to generate a motion vector necessary for encoding.

動き予測処理装置143は、記憶装置141およびデコーダ142と接続する。動き予測処理装置143は、記憶装置141に記憶している複数のパラメータを用いて動き予測をするための基本パラメータを決定する。動き予測処理装置143は、さらに決定した基本パラメータを用いて、デコーダ142からの非圧縮画像データの動き予測処理を行なう。動き予測処理装置142の処理内容については、後述する。   The motion prediction processing device 143 is connected to the storage device 141 and the decoder 142. The motion prediction processing device 143 determines basic parameters for performing motion prediction using a plurality of parameters stored in the storage device 141. The motion prediction processing device 143 performs a motion prediction process on the uncompressed image data from the decoder 142 using the determined basic parameters. The processing content of the motion prediction processing device 142 will be described later.

メモリ装置144は、動き予測処理装置143に接続し、動き予測処理の結果を格納する。動き予測とは、画像上のある点が、予測できる範囲で移動したかどうかを判断する処理である。さらに、エンコーダ145〜147にも接続しており、予測結果を供給する。メモリ装置144は、例えば、情報処理装置の主記憶装置で実現することができる。   The memory device 144 is connected to the motion prediction processing device 143 and stores the result of the motion prediction process. Motion prediction is a process of determining whether a point on an image has moved within a predictable range. Furthermore, it is connected to the encoders 145 to 147 and supplies prediction results. The memory device 144 can be realized by, for example, a main storage device of an information processing device.

エンコーダ145〜147は、パラメータ設定器13で指定されたフォーマットでそれぞれ画像データを圧縮する。図1の符号化器14はエンコーダを3つ備える構成としている。エンコーダの数は複数であれば必ずしも3つでなくてもよい。少なくとも二つ以上エンコーダを備えている符号化器が本発明を適用することができる。   The encoders 145 to 147 respectively compress the image data in the format specified by the parameter setting device 13. The encoder 14 of FIG. 1 has a configuration including three encoders. The number of encoders does not necessarily have to be three as long as it is plural. An encoder including at least two or more encoders can apply the present invention.

また、エンコーダ145、146、147は、各々、デコーダ142と記憶装置141とメモリ装置144に接続する。さらに、各エンコーダは、記憶装置141に記憶している複数のパラメータおよびメモリ装置141に格納している動き予測処理の結果を用いて、デコーダ142からの非圧縮画像データを符号化処理して圧縮画像データを生成する。圧縮画像データは、複数の出力端子121、122、123の各々に出力される。   The encoders 145, 146, and 147 are connected to the decoder 142, the storage device 141, and the memory device 144, respectively. Further, each encoder encodes and compresses the non-compressed image data from the decoder 142 using the plurality of parameters stored in the storage device 141 and the result of the motion prediction process stored in the memory device 141. Generate image data. The compressed image data is output to each of the plurality of output terminals 121, 122, and 123.

図2に、デコーダ142のブロック図を示す。デコーダは、単体のハードウェアとしてデコーダボードによって実現することもできるが、ソフトウェアでの実現も可能である。   FIG. 2 shows a block diagram of the decoder 142. The decoder can be realized by a decoder board as a single piece of hardware, but can also be realized by software.

デコーダ142は、バッファ201、可変長復号器202、逆量子化器203、IDCT器204、動き補償器205、フレームメモリ206を有する。バッファ201は、入力端子11から入力された圧縮画像データを一時保存する。IVLC202は、可変長の圧縮データに対して、可変長復号処理を行いDCT形式の画像データに変換する。IQ203は、逆量子化器で、量子化された符号を逆量子化する。IDCTは、逆離散コサイン係数を用いてデータ列の復元を行なう。動き補償器205は、可変長復号された動き予測ベクトルを用いて動き補償を行なう。フレームメモリ206は、動き補償を行なう対象となるフレームデータを格納しておくものである。   The decoder 142 has a buffer 201, a variable length decoder 202, an inverse quantizer 203, an IDCT unit 204, a motion compensator 205, and a frame memory 206. The buffer 201 temporarily stores the compressed image data input from the input terminal 11. The IVLC 202 performs a variable length decoding process on the variable length compressed data to convert the data into DCT format image data. The IQ 203 is an inverse quantizer that inversely quantizes the quantized code. The IDCT restores a data sequence using an inverse discrete cosine coefficient. The motion compensator 205 performs motion compensation using the variable-length decoded motion prediction vector. The frame memory 206 stores frame data to be subjected to motion compensation.

デコーダ142での復号処理を図3(1)に示す。まず、バッファ201が入力された圧縮画像データを一時格納する(ステップ301)。IVLC202が可変長復号化処理を実行し(ステップ303)、IQ203が逆量子化処理を実行する(ステップ305)。その後、IDCT器が逆離散コサイン変換処理を実行する(ステップ307)。一方、可変長復号化処理が施された後、動き補償器において、動き予測ベクトルが抽出され、動き補償が行なわれる(ステップ309)。動き補償の結果と、IDCT処理の結果が論理加算され、非圧縮画像データとなる。非圧縮画像データは、その後、エンコーダ145-147に送信される。さらに、動き補償器205は、圧縮データから作成した動きベクトルを動き予測処理装置143に供与する(ステップ311)。   FIG. 3A shows a decoding process in the decoder 142. First, the buffer 201 temporarily stores the input compressed image data (step 301). The IVLC 202 performs a variable length decoding process (Step 303), and the IQ 203 performs an inverse quantization process (Step 305). Thereafter, the IDCT unit performs an inverse discrete cosine transform process (step 307). On the other hand, after the variable length decoding process is performed, the motion compensator extracts a motion prediction vector and performs motion compensation (step 309). The result of the motion compensation and the result of the IDCT processing are logically added to produce uncompressed image data. The uncompressed image data is then sent to encoders 145-147. Further, the motion compensator 205 provides the motion vector created from the compressed data to the motion prediction processing device 143 (Step 311).

図4に、それぞれのエンコーダ145〜147の構成図を示す。エンコーダは、単体のハードウェアとして構成してもよいが、ソフトウェアでの実現も可能である。   FIG. 4 shows a configuration diagram of each of the encoders 145 to 147. The encoder may be configured as a single piece of hardware, but can also be realized by software.

図4のエンコーダは、フレームメモリ401、415、DCT器403、量子化器405、VLC器407、バッファ409、逆量子化器411、IDCT器413、動き補償器417を有する。それぞれの機能は、従来のエンコーダの各ユニットと同様であるが、図3のエンコーダは、動き予測器を有しない。図3のエンコーダは、エンコーダ外部の動き予測処理装置143から動きベクトルを取得し、取得した動きベクトルを用いて動き補償等を行なう。   4 includes frame memories 401 and 415, a DCT unit 403, a quantizer 405, a VLC unit 407, a buffer 409, an inverse quantizer 411, an IDCT unit 413, and a motion compensator 417. Each function is the same as each unit of the conventional encoder, but the encoder of FIG. 3 does not have a motion estimator. The encoder in FIG. 3 acquires a motion vector from the motion prediction processing device 143 outside the encoder, and performs motion compensation and the like using the acquired motion vector.

図5を用いて、パラメータ設定器13の説明を行なう。パラメータ設定器13において、複数の出力端子121、122、123の各々に出力される複数の圧縮画像データ1021、1022、1023を生成するための複数のパラメータを設定する。複数の圧縮画像データ1021、1022、1023はエンコーダ145、146、147で生成されるが、生成するには、エンコーダ145、146、147ごとに、フレームレートと画像サイズとビットレートを含む複数のパラメータが必要である。これら複数のパラメータをパラメータ設定器13で設定する。   The parameter setting device 13 will be described with reference to FIG. The parameter setting unit 13 sets a plurality of parameters for generating a plurality of compressed image data 1021, 1022, and 1023 output to each of the plurality of output terminals 121, 122, and 123. The plurality of compressed image data 1021, 1022, and 1023 are generated by the encoders 145, 146, and 147. To generate the compressed image data, a plurality of parameters including a frame rate, an image size, and a bit rate are provided for each of the encoders 145, 146, and 147. is necessary. These parameters are set by the parameter setting device 13.

図5に示すのは、表示装置132の画面である。パラメータ設定器13において、図5の設定画面を表示して、オペレータの設定入力を促す。設定画面は、生成する圧縮画像データのフォーマットを設定するフォーマット設定領域1300と、高速圧縮処理での優先度を設定する優先度設定領域1310を有する。なお、説明上、フォーマット設定領域1300は一つしか示していないが、生成したい符号化データの数だけ設定する。   FIG. 5 shows a screen of the display device 132. The parameter setting device 13 displays the setting screen of FIG. 5 to prompt the operator to input the setting. The setting screen has a format setting area 1300 for setting the format of the compressed image data to be generated, and a priority setting area 1310 for setting the priority in the high-speed compression processing. Although only one format setting area 1300 is shown for the sake of explanation, the number of coded data to be generated is set.

例えば、MPEG4の場合、フォーマットが複数あるため、フォーマット設定領域1300におけるそれぞれのパラメータの選択肢も以下のようになる。画質は、高画質、中画質、租画質の選択肢1301がある。ビットレートの選択肢1303は、5kbpsから38.4Mbpsまでの特定な値が入力できる構成とする。画像サイズには、176画素×120ライン、240画素×176ライン、320画素×240ライン、352画素×240ラインなどの選択肢1305がある。フレームレートの選択肢1307は、例えば、24fps、25fps、29.97fps、50fps、60fps、オペレータによる手入力設定などがある。   For example, in the case of MPEG4, since there are a plurality of formats, options of respective parameters in the format setting area 1300 are also as follows. The image quality includes options 1301 of high image quality, medium image quality, and low image quality. The bit rate option 1303 has a configuration in which a specific value from 5 kbps to 38.4 Mbps can be input. The image size has options 1305 such as 176 pixels × 120 lines, 240 pixels × 176 lines, 320 pixels × 240 lines, and 352 pixels × 240 lines. The frame rate options 1307 include, for example, 24 fps, 25 fps, 29.97 fps, 50 fps, 60 fps, and manual input settings by an operator.

優先度設定領域1310は、エンコーダへ渡すための加工を行なう基準となるパラメータを設定するための領域である。すなわち、動き予測処理装置143が検出する動きベクトル値は一つのみである。この動きベクトル値をそれぞれのエンコーダへ渡す際に、動きベクトルを加工する必要がある。この加工を行なう際に、それぞれのエンコーダが圧縮する画像フォーマットのどのパラメータを基準として選択するかを設定する必要がある。図5の優先度設定領域1310の場合は、画像サイズまたはフレームレートを基準として加工を行なうように設定することができる。   The priority setting area 1310 is an area for setting a parameter serving as a reference for performing processing for passing to the encoder. That is, the motion prediction processing device 143 detects only one motion vector value. When passing this motion vector value to each encoder, it is necessary to process the motion vector. When performing this processing, it is necessary to set which parameter of the image format to be compressed by each encoder as a reference. In the case of the priority setting area 1310 in FIG. 5, it can be set so that the processing is performed based on the image size or the frame rate.

なお、設定方法としては、画像のフレームレートが25fpsで、解像度が352画素×240ラインのデータを入力し、画像のサイズのみを変更する場合を検討する。変換が行なわれるフォーマットが、元の画像データと同様の解像度の352画素×240ラインと、176画素×120ラインである場合、一方の動きベクトルを検出してベクトルを縮小または拡大すればよいだけであるので、画像サイズを基準とするほうが有利である。逆に、変更後のフォーマットの画像サイズに関らず、フレームレートが25fpsのものと、50fpsのものである場合、50fpsのものの動きベクトルを検出し、25fps用に2分すればよいので、フレームレートを優先させるほうがよい。   As a setting method, consider a case in which data of a frame rate of 25 fps, a resolution of 352 pixels × 240 lines is input, and only the size of the image is changed. If the format in which the conversion is performed is 352 pixels × 240 lines and 176 pixels × 120 lines having the same resolution as the original image data, it is only necessary to detect one of the motion vectors and reduce or expand the vector. Therefore, it is more advantageous to use the image size as a reference. Conversely, regardless of the image size of the format after the change, when the frame rates are 25 fps and 50 fps, the motion vector of the 50 fps is detected and divided into two for 25 fps. It is better to give priority to the rate.

図5の設定画面を用いて、オペレータが各種パラメータの設定と優先度の設定を行なう。入力は、入力装置133から行なう。例えば、マウスとプルダウンで行なう構成としてもよいし、キーボードからの入力としてもよい。入力されたパラメータや優先度パラメータは、記憶装置141が保持する。   Using the setting screen shown in FIG. 5, the operator sets various parameters and sets priorities. Input is performed from the input device 133. For example, a configuration using a mouse and a pull-down may be used, or an input from a keyboard may be used. The storage device 141 holds the input parameters and the priority parameters.

なお、図5の設定画面と同様の画面を用いて、符号化前の画像データのフォーマットも指定する。すなわち、符号化器14に入力される符号化対象の画像データのフォーマットのパラメータを指定しておく構成とする。入力されたパラメータは、記憶装置141に格納される。   The format of the image data before encoding is also specified using a screen similar to the setting screen of FIG. That is, the configuration is such that the parameter of the format of the image data to be encoded input to the encoder 14 is designated. The input parameters are stored in the storage device 141.

図6は、動き予測処理装置143の処理を示す図である。動き予測処理装置1143は、記憶装置141が保持している設定パラメータ、設定フレームレート、設定画像サイズ、設定ビットレートを読み込む(ステップ401)。これらの設定パラメータの組は、生成する圧縮画像の数だけ格納されている。読み込んだパラメータの中から、優先度設定判断402で、フレームレート優先か画像サイズ優先かを判断する。パラメータ設定器13で、処理の優先度の設定がされていない場合は、フレームレート優先とする。これは、フォーマット変換において、フレームレートの変更よりも、画像サイズの変更の可能性が高いからである。なお、設定がない場合の優先度の設定も、別途行なえる構成としてもよい。   FIG. 6 is a diagram illustrating processing of the motion prediction processing device 143. The motion prediction processing device 1143 reads the setting parameters, the setting frame rate, the setting image size, and the setting bit rate stored in the storage device 141 (Step 401). A set of these setting parameters is stored for the number of compressed images to be generated. From the read parameters, a priority setting determination 402 determines whether to prioritize the frame rate or the image size. If the priority of the processing is not set in the parameter setting unit 13, the frame rate is given priority. This is because the possibility of changing the image size is higher than changing the frame rate in format conversion. The setting of the priority when there is no setting may be configured separately.

まず、フレームレート優先の場合、最初にフレームレートチェック処理603を実行する。設定フレームレート値の中から、最も大きいものが2つ以上あるかどうかを判断する。最大値に設定されている設定フレームレートが二つ以上ある場合は、その後画像サイズチェック処理604に進む。最大値に設定されている設定フレームレートが一つである場合は、ステップ617に進み、その値をフレームレートの基本パラメータとして、記憶装置641に格納し、画像サイズチェック処理604に戻る。   First, when the frame rate is prioritized, the frame rate check processing 603 is first executed. It is determined whether there are two or more largest frame rate values among the set frame rate values. When there are two or more set frame rates set to the maximum value, the process proceeds to the image size check processing 604 thereafter. If the maximum frame rate is set to one, the process proceeds to step 617, the value is stored in the storage device 641 as a basic parameter of the frame rate, and the process returns to the image size check processing 604.

画像サイズチェック処理604では、設定画像サイズの最も大きいものが同じ値で2つ以上あるかどうかを判断する。複数の設定画像サイズが最大値に設定されている場合は、ビットレートチェック処理605に進む。最大の画像サイズ値となる設定画像サイズが一つしか存在しない場合は、ステップ609に進む。ステップ609では、最大の画像サイズ値を画像サイズの基本パラメータとして、記憶装置141に格納し、ビットレートチェック処理605に進む。   In the image size check processing 604, it is determined whether or not two or more of the largest set image sizes have the same value. If the plurality of set image sizes are set to the maximum value, the process proceeds to the bit rate check processing 605. If there is only one set image size having the maximum image size value, the process proceeds to step 609. In step 609, the maximum image size value is stored in the storage device 141 as a basic parameter of the image size, and the process proceeds to the bit rate check processing 605.

ビットレートチェック処理604では、設定ビットレートの中で最も大きいものが同じ値で2つ以上あれば、その値をより大きいものを基本パラメータとして決定し、ステップ606に進む。また、最大のビットレート値となる設定ビットレートが一つの場合は、ステップ610に進み、最大値を基本パラメータとして、記憶装置141に格納する。   In the bit rate check processing 604, if the largest one of the set bit rates is the same value or two or more, the larger one is determined as the basic parameter, and the process proceeds to step 606. If there is only one set bit rate with the maximum bit rate value, the process proceeds to step 610, where the maximum value is stored in the storage device 141 as a basic parameter.

ステップ606では、基本パラメータが設定済みかどうかを判断し、設定済みの場合は、動き予測値加工処理(ステップ619)に進む。未設定の場合は、それぞれのパラメータにおいて、複数存在する最大の設定値を基本パラメータと、記憶装置141に格納する。   In step 606, it is determined whether or not the basic parameters have been set. If the basic parameters have been set, the process proceeds to motion predicted value processing (step 619). If not set, a plurality of maximum setting values for each parameter are stored in the storage device 141 as basic parameters.

一方、優先度設定判断602で画像サイズの優先度パラメータを検出した場合は、ステップ611に進む。画像サイズ優先の場合、フレームレート優先の場合に比べ、チェック処理の順序が異なり、まず画像サイズチェック処理611を実行する。   On the other hand, if the priority parameter of the image size is detected in the priority setting determination 602, the process proceeds to step 611. In the case of the image size priority, the order of the check processing is different from the case of the frame rate priority, and the image size check processing 611 is executed first.

画像サイズチェック処理611では、設定された画像サイズのうち、同じ値で最大値となるものが複数存在するかを判断する。複数存在する場合は、フレームレートチェック処理612に進む。最大値となる設定画像サイズが一つの場合は、ステップ615に進む。ステップ615では、その値を基本パラメータとして記憶装置141に格納し、フレームレートチェック処理613に進む。   In the image size check processing 611, it is determined whether or not there are a plurality of set image sizes having the same value and the maximum value. If there are a plurality, the process proceeds to the frame rate check process 612. If there is only one maximum set image size, the process proceeds to step 615. In step 615, the value is stored in the storage device 141 as a basic parameter, and the process proceeds to the frame rate check processing 613.

フレームレートチェック処理612では、設定されたフレームレートのうち、同じ値で最大値となるものが複数存在するかを判断する。複数存在する場合は、ビットレートチェック処理613に進む。最大値となる設定フレームレートが一つの場合は、ステップ616に進む。ステップ616では、その値をフレームレートの基本パラメータとして記憶装置141に格納し、ビットレートチェック処理613に進む。   In the frame rate check processing 612, it is determined whether or not there are a plurality of set frame rates having the same value and the maximum value. If there are a plurality, the process proceeds to bit rate check processing 613. If there is one maximum set frame rate, the process proceeds to step 616. In step 616, the value is stored in the storage device 141 as a basic parameter of the frame rate, and the process proceeds to the bit rate check processing 613.

ビットレートチェック処理613では、設定されたビットレートのうち、同じ値で最大値となるものが複数存在するかを判断する。複数存在する場合は、ステップ614に進む。一つのみの場合は、ステップ617に進む。ステップ617では、その値を基本パラメータとして記憶装置141に格納し、ステップ614に進む。   In the bit rate check process 613, it is determined whether there are a plurality of set bit rates having the same value and the maximum value. If there is more than one, go to step 614. If there is only one, the process proceeds to step 617. In step 617, the value is stored in the storage device 141 as a basic parameter, and the process proceeds to step 614.

ステップ614で基本パラメータの設定を確認する。ステップ614で基本パラメータが設定済みかどうかを判断し、設定済みの場合は、動き予測値加工処理(ステップ619)に進む。未設定の場合は、それぞれのパラメータにおいて、複数存在する最大の設定値を基本パラメータと、記憶装置141に格納する。   At step 614, the setting of the basic parameters is confirmed. At step 614, it is determined whether or not the basic parameters have been set. If the basic parameters have been set, the process proceeds to motion predicted value processing (step 619). If not set, a plurality of maximum setting values for each parameter are stored in the storage device 141 as basic parameters.

動き予測値加工処理619では、記憶装置141に格納された各々の基本パラメータを用いて、デコーダ142から読み込んだ動きベクトルを加工する。すなわち、デコーダ142から動き予測処理装置143には、符号化する画像データの動きベクトルが供給されている。画像データ供給総理101から入力された圧縮画像データのフォーマットと、符号化するフォーマットが異なる場合には、もとの動きベクトルを符号化するフォーマットにあわせる加工処理が必要となる。   In the motion prediction value processing 619, the motion vector read from the decoder 142 is processed using each basic parameter stored in the storage device 141. That is, the motion vector of the image data to be encoded is supplied from the decoder 142 to the motion prediction processing device 143. When the format of the compressed image data input from the image data supply prime 101 and the encoding format are different, a processing for matching the original motion vector with the encoding format is required.

動き予測処理装置の処理結果は、変換後の画像サイズが変換前の画像サイズと同じ場合、特に加工する必要なく流用可能である。画像サイズが異なる場合でも、動き予測結果の拡大/縮小率を考慮することにより、流用可能である。拡大/縮小において、入力となる圧縮画像データ101の画像サイズが、出力となる圧縮画像データ1021〜1023の画像サイズよりも大きい面積の場合、動き予測値も画像サイズ比と同様に縮小処理を施す。また、入力となる圧縮画像データ101の画像サイズが、出力となる圧縮画像データ1021〜1023の画像サイズよりも小さい面積の場合、動き予測値も画像サイズ比と同様に拡大処理を施す。入力となる圧縮画像データ101の画像サイズと、出力となる圧縮画像データ1021〜1023の画像サイズが同じ場合は、動き予測値加工処理608の実行を省略する。   When the image size after conversion is the same as the image size before conversion, the processing result of the motion prediction processing device can be diverted without any particular processing. Even when the image sizes are different, it can be used by considering the enlargement / reduction ratio of the motion prediction result. In the enlargement / reduction, when the image size of the input compressed image data 101 is larger than the image size of the output compressed image data 1021 to 1023, the motion prediction value is also subjected to the reduction process in the same manner as the image size ratio. . If the image size of the input compressed image data 101 is smaller than the image size of the output compressed image data 1021 to 1023, the motion prediction value is also subjected to enlargement processing in the same manner as the image size ratio. If the image size of the compressed image data 101 to be input is the same as the image size of the compressed image data 1021 to 1023 to be output, the execution of the motion prediction value processing 608 is omitted.

フレームレートが変換される場合は、さらに、フレームレート変換にあわせた加工を行なう。すなわち、設定されたフレームレートが元のフレームレートよりも大きい場合は、フレームレートの変換比分の分割を行なう。逆に、設定されたフレームレートが元のフレームレートよりも小さい場合は、フレームレートの変換比で積算し、動きベクトルを長くする。この処理により、一秒あたりのフレーム数の変換にあわせて動きベクトルを変更することができる。   When the frame rate is converted, processing is further performed according to the frame rate conversion. In other words, when the set frame rate is higher than the original frame rate, division by the conversion rate of the frame rate is performed. Conversely, when the set frame rate is lower than the original frame rate, the motion vector is lengthened by accumulating at the frame rate conversion ratio. With this processing, the motion vector can be changed in accordance with the conversion of the number of frames per second.

また、変換時のピクチャパターンは、エンコーダが決定する。フレームレートのみが異なる変換の場合は、変換前のピクチャパターンを踏襲することにより、流用可能な部分が増え、さらに処理時間を短縮可能である。   The picture pattern at the time of conversion is determined by the encoder. In the case of the conversion that differs only in the frame rate, by following the picture pattern before the conversion, the portion that can be used increases, and the processing time can be further reduced.

次に、動きベクトル加工結果書込処理620において、それぞれ変換した動きベクトルを、メモリ装置144に書き込む。メモリ装置144には、それぞれのエンコーダ145〜147にあわせて動きベクトルを格納する領域があり、各エンコーダ145〜147は、格納された動きベクトルを用いて符号化処理を行なう。このように、動きベクトル加工処理619と動きベクトル値加工結果書込み処理620を画像データが終了するまで行う(ステップ621)。   Next, in the motion vector processing result writing process 620, the converted motion vectors are written in the memory device 144. The memory device 144 has an area for storing a motion vector in accordance with each of the encoders 145 to 147, and each of the encoders 145 to 147 performs an encoding process using the stored motion vector. In this way, the motion vector processing 619 and the motion vector value processing result writing processing 620 are performed until the image data ends (step 621).

図3(2)は、エンコーダ145、146、147の処理フローチャートを示す図である。各エンコーダの処理は同じであるため、ここでは、エンコーダ145に着目して説明する。エンコーダ145(146、147)は、動き予測処理装置143で、動き予測処理の結果の生成が終了した時点で、デコーダ142からの非圧縮画像データのエンコードすなわち復号化処理を開始する。   FIG. 3B is a diagram illustrating a processing flowchart of the encoders 145, 146, and 147. Since the processing of each encoder is the same, the following description focuses on the encoder 145. The encoder 145 (146, 147) starts encoding or decoding of the non-compressed image data from the decoder 142 when the motion prediction processing device 143 finishes generating the result of the motion prediction process.

まず、非圧縮画像データ入力処理300で、デコーダ142からの非圧縮画像データを読み込む。その後動き予測処理結果入力処理302で、メモリ装置144から動き予測処理の結果の情報を読み出す。また変換パラメータ入力処理304で、記憶装置141から、設定した変換パラメータを読み出す。次に、読み込まれた非圧縮画像データと動き予測処理の結果の情報と設定した変換パラメータを入力として、DCT(離散コサイン変換)処理306を実行し、量子化処理308、可変符号化処理310を実行する。このようにして圧縮した圧縮画像データ1021(1022、1023)(例えばMPEG−4画像データ)を生成し出力端子121(122、123)に出力する。   First, in the non-compressed image data input processing 300, the non-compressed image data from the decoder 142 is read. Thereafter, in the motion prediction process result input process 302, information on the result of the motion prediction process is read from the memory device 144. In the conversion parameter input processing 304, the set conversion parameters are read from the storage device 141. Next, DCT (discrete cosine transform) processing 306 is executed by using the read uncompressed image data, information on the result of the motion prediction processing, and the set transformation parameters as inputs, and quantization processing 308 and variable encoding processing 310 are performed. Execute. The compressed image data 1021 (1022, 1023) (for example, MPEG-4 image data) thus compressed is generated and output to the output terminals 121 (122, 123).

図1の符号化器14は多くの構成要素142、143、144、145、146、147で示してあるが、構成要素はハードウェアである必要ではなく、これらの動作をソフトウェアで達成するようにしてもよい。また、変換した動きベクトルは、メモリ装置144に格納する構成としたが、直接動き予測処理装置143から各エンコーダ145〜147に出力する構成としてもよい。その場合は、メモリ装置144は必ずしも必要ではなく、各エンコーダに受信する動きベクトルを一時格納するバッファ領域を持たせる構成とする。   Although the encoder 14 of FIG. 1 is shown with a number of components 142, 143, 144, 145, 146, 147, the components need not be hardware, and these operations are accomplished in software. You may. Although the converted motion vector is stored in the memory device 144, the converted motion vector may be directly output from the motion prediction processing device 143 to each of the encoders 145 to 147. In that case, the memory device 144 is not always necessary, and each encoder has a buffer area for temporarily storing the received motion vector.

上記の通り、エンコーダ毎に動き予測を行なわず、エンコーダ145、146、147が使用する動きベクトルを動き予測処理装置が算出する。動き予測処理装置では、利用するひとつの基本パラメータを生成し、生成した基本パラメ−タを用いて動き予測処理を行なう。さらに、算出された動きベクトルを、それぞれのエンコーダが行なう符号処理にあったパラメータに変換する。生成した基本パラメータを生成する場合に、エンコーダでの処理を踏まえて、変換が容易なパラメータを基本パラメータとする。そのために、基本パラメータとして優先させたいパラメータをGUIで指定する。このように、基本パラメータを動き予測の前に指定し、エンコーダ145、146、147はその動き予測処理の結果をそれぞれのフォーマットにあわせた動きベクトルを使用することにより、動き予測処理をエンコーダごとに実施する必要をなくすことができる。さらに、全体の処理時間を短縮することができる。   As described above, the motion prediction processing device calculates the motion vector used by the encoders 145, 146, and 147 without performing the motion prediction for each encoder. In the motion prediction processing device, one basic parameter to be used is generated, and a motion prediction process is performed using the generated basic parameter. Further, the calculated motion vector is converted into a parameter suitable for the encoding process performed by each encoder. When generating the generated basic parameters, parameters that can be easily converted are set as basic parameters based on the processing in the encoder. For this purpose, a parameter to be prioritized as a basic parameter is specified in the GUI. As described above, the basic parameters are specified before the motion prediction, and the encoders 145, 146, and 147 use the motion vectors corresponding to the respective formats in the results of the motion prediction processing to perform the motion prediction processing for each encoder. This eliminates the need for implementation. Further, the overall processing time can be reduced.

また出力圧縮画像データの数が増えるほどエンコーダを増設しなければならないが、その際各エンコーダには動き予測処理を必要としないので、その分内蔵されておらず、エンコーダのコストアップを低減することができる。さらに、動き予測処理ユニットを各エンコーダが有さずに、精密な動き予測と符号化を行なうことができる。   Also, encoders must be added as the number of output compressed image data increases, but at that time, since each encoder does not require motion prediction processing, it is not built-in and the increase in encoder cost is reduced. Can be. Furthermore, precise motion prediction and encoding can be performed without each encoder having a motion prediction processing unit.

上記説明では、入力画像データが圧縮データとして説明を行なった。しかしながら、入力画像データは符号化データでなくてもよい。例えば、デジタルビデオから直接符号化器に非圧縮画像データを出力し、複数のフォーマットで符号化することもある。その場合の符号化器71のブロック図を図7に示す。図7の符号化器は、さらに前述した、変換した動きベクトルを直接エンコーダ145-147に送信する構成とする。   In the above description, the input image data has been described as compressed data. However, the input image data need not be coded data. For example, uncompressed image data may be directly output from a digital video to an encoder and encoded in a plurality of formats. FIG. 7 shows a block diagram of the encoder 71 in that case. The encoder of FIG. 7 is configured to directly transmit the converted motion vector to the encoders 145-147 as described above.

図7において、非圧縮画像データを用いて複数のフォーマットに符号化する場合、図1の符号化器14におけるデコーダは不要となる。その代わり、データ供給装置101から受け取った非圧縮画像データを一時保管するためのバッファ701を有する構成とする。さらに、図1の符号化器14では、動きベクトルをデコーダから抽出して流量していた。図7の符号化器71では、動き予測処理装置143が、バッファ701から非圧縮画像データを用いて基準となる動きベクトルを生成する必要がある。   In FIG. 7, when encoding is performed in a plurality of formats using uncompressed image data, the decoder in the encoder 14 in FIG. 1 is not required. Instead, the configuration has a buffer 701 for temporarily storing the uncompressed image data received from the data supply device 101. Further, the encoder 14 in FIG. 1 extracts the motion vector from the decoder and outputs the motion vector. In the encoder 71 of FIG. 7, the motion prediction processing device 143 needs to generate a reference motion vector from the buffer 701 using uncompressed image data.

図8に、符号器71における動き予測処理装置143の処理フローを示す。図8において、優先度設定処理801-817の処理は、図6の処理602-618と同様である。図6の処理フローと違う第1の点は、図6における動き予測値読込処理601がない代わりに、動き予測値生成処理818が追加されている点である。これは、図7の符号化器にデコーダがないため、動きベクトルを動き予測処理装置143で生成する必要があるからである。   FIG. 8 shows a processing flow of the motion prediction processing device 143 in the encoder 71. 8, the priority setting processing 801-817 is the same as the processing 602-618 in FIG. A first point different from the processing flow of FIG. 6 is that a motion prediction value generation process 818 is added instead of the motion prediction value reading process 601 in FIG. This is because the encoder in FIG. 7 does not have a decoder, so that it is necessary to generate a motion vector in the motion prediction processing device 143.

従って、図8では、まず、優先度設定処理801-817で設定された各々の基本パラメータを用いて、一つのフォーマットの動きベクトルを設定する。そのフォーマットは、エンコーダ145-147で符号化するフォーマットのいずれか一つと一致する場合もあるが、そうでない場合もある。それは、それぞれのフォーマットに変換するために変換容易なように、基本パラメータを設定するからである。その後、生成された動きベクトルは、動きベクトル加工処理819によって、それぞれのフォーマットに変換される。   Therefore, in FIG. 8, first, a motion vector of one format is set using each basic parameter set in the priority setting processing 801-817. The format may or may not match any one of the formats encoded by the encoders 145-147. This is because the basic parameters are set so that conversion into each format is easy. After that, the generated motion vectors are converted into respective formats by a motion vector processing process 819.

図8の処理フローと図6との他の相違点は、動きベクトル値加工結果書込処理820の変わりに、動きベクトル値出力処理820がある点である。これは、符号器71がメモリ装置144を持たないため、動きベクトル値を各エンコーダ145-147に出力するためのものである。従って、符号器71が、符号器14と同様にメモリ装置144を有する場合は、図6と同様に、動きベクトル値加工結果書込処理820を行う。   Another difference between the processing flow of FIG. 8 and FIG. 6 is that a motion vector value output processing 820 is provided instead of the motion vector value processing result writing processing 820. This is for outputting a motion vector value to each of the encoders 145 to 147 because the encoder 71 does not have the memory device 144. Accordingly, when the encoder 71 has the memory device 144 as in the encoder 14, the motion vector value processing result writing processing 820 is performed as in FIG.

このように、図7の符号化器71の場合、非圧縮画像データの場合も、算出する動きベクトルのフォーマットを一つ決定する構成によって、複数のフォーマットの圧縮画像データの効率的な生成を可能とすることができる。   As described above, in the case of the encoder 71 in FIG. 7, even in the case of non-compressed image data, it is possible to efficiently generate compressed image data of a plurality of formats by the configuration that determines one format of the motion vector to be calculated. It can be.

なお、算出するフォーマットを決定する構成において、図1の符号化器では、GUIを用いて優先度を設定する構成としたが、これを自動的に行なう構成とすることも可能である。すなわち、符号器14を実現する情報処理装置において、ソフトウェア処理で優先度設定を行なう構成も可能である。   In the configuration for determining the format to be calculated, in the encoder of FIG. 1, the configuration is such that the priority is set using the GUI, but the configuration may be such that this is automatically performed. That is, in the information processing device that implements the encoder 14, a configuration in which the priority is set by software processing is also possible.

図9は、優先度設定処理のフローチャートである。この優先度設定処理は、他のパラメータがパラメータ設定器13で設定されたあとに符号化処理を実施する前に行なう構成とする。ただし、パラメータ設定器13において、入力される画像データとエンコーダが生成する圧縮画像データのフォーマットがパラメータ入力により指定された後であればいつでもよく、例えば、動き予測処理装置において、動きベクトルを作成する前に行なう構成としてもよい。   FIG. 9 is a flowchart of the priority setting process. This priority setting process is performed after other parameters are set by the parameter setting device 13 and before the encoding process is performed. However, any time may be used after the format of the input image data and the format of the compressed image data generated by the encoder is specified by the parameter input in the parameter setting unit 13. For example, a motion vector is created in the motion prediction processing device. The configuration may be performed before.

優先度設定処理において、まず、パラメータ設定において、符号化前もしくは符号化後のフォーマットのフレームレートが手入力によって設定されたかどうかを判定する(ステップ901)。これは、MPEG4の場合、フレームレートが所定範囲内であれば自由設定が可能であることによる。手入力の場合は、画像サイズを優先的に処理するものとする(ステップ902)。手入力された場合は、規定のものと異なり、動きベクトルの変更処理が複雑になる場合が多いためである。手入力でない場合は、符号化前もしくは符号化後のフォーマットにおいて、フレームレートのそれぞれの値が、その中の最小値における倍数の関係にあるかいなかを判定する(ステップ903)。倍数には、同一である場合も含まれる。倍数の関係にある場合は、フレームレートを優先的に設定する(ステップ904)。   In the priority setting process, first, it is determined whether or not the frame rate of the format before or after encoding has been manually set in the parameter setting (step 901). This is because, in the case of MPEG4, any setting can be made as long as the frame rate is within a predetermined range. In the case of manual input, the image size is preferentially processed (step 902). This is because, when manually input, unlike the prescribed one, the process of changing the motion vector is often complicated. If it is not a manual input, it is determined whether or not each value of the frame rate in the format before or after encoding is a multiple of the minimum value among them (step 903). The multiple includes the case where they are the same. If there is a multiple, the frame rate is preferentially set (step 904).

各フォーマットにおけるフレームレートのパラメータが倍数の関係にない場合は、符号化前、符号化後の画像サイズが、その中での最小値における倍数の関係にあるかいなかを判定する(ステップ905)。その関係にある場合は、画像サイズを優先的に設定し(ステップ906)、そうでない場合はフレームレートを優先的に設定する(907)。   If the frame rate parameter in each format does not have a multiple relationship, it is determined whether the image size before and after encoding has a multiple relationship with the minimum value among them (step 905). If so, the image size is set preferentially (step 906); otherwise, the frame rate is set preferentially (907).

図9の処理により、不慣れなオペレータが処理する場合にも、優先度の設定を円滑に行なうことが可能となる。なお、図9では、フレームレートが優先的に設定される構成となっている。これは、フレームレートの自由度が少なく、入力される画像のフレームレートから変更される可能性も少ないからである。他方、画像サイズの変更の方がフレームレートの変更に比べて多いケースもある。そのようなケースの場合は、図9においてフレームレートと画像サイズを置き換えて、画像サイズを優先的に設定する構成としてもよい。   According to the processing in FIG. 9, it is possible to smoothly set the priority even when an unskilled operator performs processing. In FIG. 9, the frame rate is set with priority. This is because the degree of freedom of the frame rate is small, and there is little possibility that the frame rate is changed from the frame rate of the input image. On the other hand, there are cases where the change in the image size is larger than the change in the frame rate. In such a case, the frame rate and the image size may be replaced in FIG. 9 and the image size may be preferentially set.

図1は、符号化装置のブロック図の一例である。FIG. 1 is an example of a block diagram of an encoding device. 図2は、デコーダのブロック図の一例である。FIG. 2 is an example of a block diagram of a decoder. 図3復号化、符号化処理フロー図である。FIG. 3 is a flowchart of decoding and encoding processing. 図4は、エンコーダのブロック図の一例である。FIG. 4 is an example of a block diagram of an encoder. 図5は、パラメータ設定GUIの一例である。FIG. 5 is an example of the parameter setting GUI. 図6は、動き予測処理装置の処理フローチャートの一例である。FIG. 6 is an example of a processing flowchart of the motion prediction processing device. 図7は、符号化装置のブロック図の他の例である。FIG. 7 is another example of a block diagram of the encoding device. 図8は、動き予測処理装置の処理フローチャートの他の例である。FIG. 8 is another example of a processing flowchart of the motion prediction processing device. 図9は、優先度処理のフローチャートの一例である。FIG. 9 is an example of a flowchart of the priority processing.

符号の説明Explanation of reference numerals

11:入力端子、121,122,123:出力端子、13:パラメータ設定器、14:符号化器、141:記憶装置、142:デコーダ、143:動き予測処理装置、144:メモリ装置、145,146,147:エンコーダ、101,1021,1922,1023:圧縮画像データ。
11: input terminal, 121, 122, 123: output terminal, 13: parameter setting device, 14: encoder, 141: storage device, 142: decoder, 143: motion prediction processing device, 144: memory device, 145, 146 , 147: encoder, 101, 1021, 1922, 1023: compressed image data.

Claims (8)

複数のフォーマットの符号化データを生成する符号化装置であって、
符号化する画像データを入力する入力端子と、
それぞれ異なるフォーマットの符号化画像データを生成する複数のエンコーダと、
前記エンコーダで生成された複数の符号化画像データを出力する出力端子と、
前記エンコーダで符号化する画像データのフォーマットのそれぞれを複数のパラメータを設定入力する入力装置と、
入力された複数のパラメータから一組の基本パラメータを決定する処理装置と、
前記一組の基本パラメータを用いて動きベクトルを算出し前記動きベクトルを用いて前記複数のエンコーダが使用する動きベクトルを出力する動き予測処理器を有することを特徴とする符号化装置。
An encoding device that generates encoded data of a plurality of formats,
An input terminal for inputting image data to be encoded;
A plurality of encoders for respectively generating encoded image data of different formats,
An output terminal for outputting a plurality of encoded image data generated by the encoder,
An input device for setting and inputting a plurality of parameters for each of the formats of image data to be encoded by the encoder,
A processing device for determining a set of basic parameters from a plurality of input parameters;
An encoding apparatus comprising: a motion prediction processor that calculates a motion vector using the set of basic parameters and outputs a motion vector used by the plurality of encoders using the motion vector.
請求項1記載の複数のフォーマットの符号化データを生成する符号化装において、
複数のフォーマットの符号化データを生成する符号化装置前記処理器は、前記動き予測処理器に内蔵されることを特徴とする符号化装置。
An encoding device for generating encoded data of a plurality of formats according to claim 1,
An encoding device for generating encoded data in a plurality of formats, wherein the processor is built in the motion prediction processor.
請求項2記載の複数のフォーマットの符号化データを生成する符号化装において、
前記複数のパラメータのうちパラメータの処理優先度を入力するための設定画面を表示する表示装置をさらに有することを特徴とする符号化装置。
An encoding apparatus for generating encoded data in a plurality of formats according to claim 2,
An encoding device, further comprising a display device for displaying a setting screen for inputting a processing priority of a parameter among the plurality of parameters.
請求項2記載の複数のフォーマットの符号化データを生成する符号化装において、
前記処理装置は、記複数のパラメータのうちパラメータの処理優先度をさらに決定することを特徴とする符号化装置。
An encoding apparatus for generating encoded data in a plurality of formats according to claim 2,
The encoding device, wherein the processing device further determines a processing priority of the parameter among the plurality of parameters.
請求項2記載の複数のフォーマットの符号化データを生成する符号化装において、
前記入力端子から入力される符号化データを復号化するデコーダをさらに有することを特徴とする符号化装置。
An encoding apparatus for generating encoded data in a plurality of formats according to claim 2,
An encoding device further comprising a decoder for decoding encoded data input from the input terminal.
請求項2記載の複数のフォーマットの符号化データを生成する符号化装において、前記処理器が設定した基本パラメータが設定されたいずれのフォーマットと異なる場合は、前記動き予測処理装置は前記基本パラメータで指定された画像データに入力された画像データを変換してから動き予測処理を行なうことを特徴とする符号化装置。 3. The encoding apparatus according to claim 2, wherein when the basic parameters set by the processor are different from any of the set formats, the motion prediction processing device specifies the basic parameters by the basic parameters. An encoding apparatus characterized by performing a motion prediction process after converting input image data into input image data. 請求項2記載の複数のフォーマットの符号化データを生成する符号化装において、
前記複数のパラメータは、画像サイズとフレームレートを含むことを特徴とする符号化装置。
An encoding apparatus for generating encoded data in a plurality of formats according to claim 2,
The encoding device according to claim 1, wherein the plurality of parameters include an image size and a frame rate.
請求項7記載の複数のフォーマットの符号化データを生成する符号化装において、前記処理器は、前記画像サイズと前記フレームレートの最大入力値を基本パラメータとして決定することを特徴とする符号化装置。
8. The encoding apparatus according to claim 7, wherein the processor determines the image size and the maximum input value of the frame rate as basic parameters.
JP2003384484A 2002-12-09 2003-11-14 Encoding apparatus and encoding method Pending JP2004208280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003384484A JP2004208280A (en) 2002-12-09 2003-11-14 Encoding apparatus and encoding method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002356451 2002-12-09
JP2003384484A JP2004208280A (en) 2002-12-09 2003-11-14 Encoding apparatus and encoding method

Publications (1)

Publication Number Publication Date
JP2004208280A true JP2004208280A (en) 2004-07-22

Family

ID=32828501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003384484A Pending JP2004208280A (en) 2002-12-09 2003-11-14 Encoding apparatus and encoding method

Country Status (1)

Country Link
JP (1) JP2004208280A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007515677A (en) * 2003-12-10 2007-06-14 フランス テレコム Optimized composite coding method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007515677A (en) * 2003-12-10 2007-06-14 フランス テレコム Optimized composite coding method
JP4879748B2 (en) * 2003-12-10 2012-02-22 フランス・テレコム Optimized composite coding method

Similar Documents

Publication Publication Date Title
US7224731B2 (en) Motion estimation/compensation for screen capture video
US7444026B2 (en) Image processing apparatus and method of motion vector detection in a moving picture, and recording medium used therewith
US6934334B2 (en) Method of transcoding encoded video data and apparatus which transcodes encoded video data
US8879627B2 (en) Moving image encoding apparatus, moving image decoding apparatus, moving image encoding method, moving image decoding method, moving image encoding program, moving image decoding program, and moving image encoding/ decoding system
JP4682102B2 (en) Image coding apparatus and image coding method
US9554145B2 (en) Re-encoding image sets using frequency-domain differences
JP5173990B2 (en) Encoding method, encoding apparatus, decoding method, and decoder
JP2012508485A (en) Software video transcoder with GPU acceleration
US20230308663A1 (en) Device and method of video decoding with first and second decoding code
JPWO2006098226A1 (en) Encoding device and moving image recording system provided with encoding device
JP2009290498A (en) Image encoder and image encoding method
US11849124B2 (en) Device and method of video encoding with first and second encoding code
US8086056B2 (en) Encoding device and method, decoding device and method, and program
US8428116B2 (en) Moving picture encoding device, method, program, and moving picture decoding device, method, and program
JP2007067694A (en) Apparatus and method for encoding image, camera, and portable terminal equipment
JP3846487B2 (en) Image data compression apparatus, encoder, electronic device, and image data compression method
JP2006246277A (en) Re-encoding apparatus, re-encoding method, and re-encoding program
JP4514666B2 (en) Video encoding device
US20040131122A1 (en) Encoding device and encoding method
JP2004208280A (en) Encoding apparatus and encoding method
JP7008425B2 (en) Image processing device, image processing method, and program
JP2023063113A (en) Encoding device and method, and electronic apparatus
KR20020080725A (en) Video storage device for digital camera and method thereof
JP2005123737A (en) Image coding method and image coding apparatus
JP2004032262A (en) Image combining apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050915

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060424

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070821

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090120