JP2006340238A - Coding device, its control method, program, and storage medium - Google Patents

Coding device, its control method, program, and storage medium Download PDF

Info

Publication number
JP2006340238A
JP2006340238A JP2005164867A JP2005164867A JP2006340238A JP 2006340238 A JP2006340238 A JP 2006340238A JP 2005164867 A JP2005164867 A JP 2005164867A JP 2005164867 A JP2005164867 A JP 2005164867A JP 2006340238 A JP2006340238 A JP 2006340238A
Authority
JP
Japan
Prior art keywords
encoding
image data
moving image
unit
input
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.)
Withdrawn
Application number
JP2005164867A
Other languages
Japanese (ja)
Inventor
Fumitaka Nakayama
文貴 中山
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005164867A priority Critical patent/JP2006340238A/en
Publication of JP2006340238A publication Critical patent/JP2006340238A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To restrain upsizing of a coding device when the number of video signals which are simultaneously recordable increases or when a size of input image data is different. <P>SOLUTION: The coding device comprises a plurality of coding parts 202 which can encode motion image data of a predetermined picture size in real time, respectively, and a change control part 107 for changing the plurality of coding parts 202 based on a status of input motion image data 101. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は光ディスク、半導体メモリ、磁気テープ等を記録媒体とするデジタルビデオカメラやレコーダ等における符号化/復号化技術に関するものである。   The present invention relates to an encoding / decoding technique in a digital video camera, a recorder, or the like using an optical disk, a semiconductor memory, a magnetic tape, or the like as a recording medium.

近年、画像の記録装置として、DVDレコーダ、HDD(ハードディスク)レコーダが普及している。また、HDDレコーダにおいては、二つのチューナや符号化回路を備え、2番組の映像信号を同時にHDDに記録可能な装置も登場している。   In recent years, DVD recorders and HDD (hard disk) recorders are widely used as image recording apparatuses. In addition, HDD recorders that have two tuners and an encoding circuit and are capable of simultaneously recording video signals of two programs on the HDD have appeared.

その際、映像信号をMPEG方式で符号化することが一般的である。この場合、1画面の映像信号をマクロブロックと呼ばれる所定サイズの画像ブロックに分割し、このマクロブロックに対して動き推定、離散コサイン変換、量子化、可変長符号化を行う符号化部と、この符号化部からの出力をトランスポートストリームやプログラムストリームなどへ変換する変換部とを合わせた符号化器を、図9に示すように同時に記録可能な番組の数だけ用意しておく必要があった。   At that time, it is common to encode a video signal by the MPEG system. In this case, a video signal of one screen is divided into image blocks of a predetermined size called macroblocks, an encoding unit that performs motion estimation, discrete cosine transform, quantization, and variable length encoding on the macroblocks, It was necessary to prepare as many encoders as the number of programs that can be recorded simultaneously as shown in FIG. 9 together with a conversion unit that converts the output from the encoding unit into a transport stream or a program stream. .

また、各入力信号の解像度が、それぞれスタンダードデフィニション(SD:Standard Definition)とハイデフィニション(HD:High Definition)である場合には、SD用の符号化器とHD用の符号化器をそれぞれ用意しなければならない。なお、特開平10−234043号公報(特許文献1)には、このような符号化器に関する技術が開示されている。
特開平10−234043号公報
When the resolution of each input signal is standard definition (SD) and high definition (HD), an SD encoder and an HD encoder are prepared. There must be. JP-A-10-234043 (Patent Document 1) discloses a technique related to such an encoder.
Japanese Patent Laid-Open No. 10-234043

しかしながら、今後同時記録可能な映像信号の数が増加して、さらに画像サイズやフォーマットが多種多様になると、上記のような符号化器を映像信号と同じ数だけ追加するだけでは符号化装置内の回路が大規模化してしまうという問題点がある。   However, if the number of video signals that can be recorded simultaneously increases in the future, and the image sizes and formats become more diverse, it is necessary to add the same number of encoders as the video signals in the encoding device. There is a problem that the circuit becomes large-scale.

本発明は、このような状況に鑑みてなされたものであり、その目的は、同時記録可能な映像信号の数が増加した場合や入力画像データのサイズが異なる場合に、符号化装置が大規模化することを抑制することである。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a large-scale encoding apparatus when the number of simultaneously recordable video signals increases or when the size of input image data is different. It is to suppress that.

上述した課題を解決し、目的を達成するために、本発明に係わる符号化装置は、それぞれが所定の画面サイズの動画像データをリアルタイムに符号化可能な複数の符号化部から構成され、入力された動画像データを符号化する符号化手段と、前記入力された前記動画像データの状態に基づいて、前記符号化手段において前記動画像データの符号化のために用いる前記符号化部の構成を変更する変更手段と、を具備することを特徴とする。   In order to solve the above-described problems and achieve the object, an encoding apparatus according to the present invention is composed of a plurality of encoding units each capable of encoding moving image data of a predetermined screen size in real time, and is input. A coding unit for coding the moving image data, and a configuration of the coding unit used for coding the moving image data in the coding unit based on the state of the input moving image data And changing means for changing.

また、本発明に係わる符号化装置の制御方法は、それぞれが所定の画面サイズの動画像データをリアルタイムに符号化可能な複数の符号化部から構成され、入力された動画像データを符号化する符号化手段を備える符号化装置を制御する方法であって、前記入力された前記動画像データの状態に基づいて、前記符号化手段において前記動画像データの符号化のために用いる前記符号化部の構成を変更する変更工程を具備することを特徴とする。   The encoding apparatus control method according to the present invention includes a plurality of encoding units each capable of encoding moving image data of a predetermined screen size in real time, and encodes the input moving image data. A method for controlling an encoding device including an encoding unit, wherein the encoding unit is used for encoding the moving image data in the encoding unit based on the state of the input moving image data. It is characterized by comprising a changing step for changing the configuration of the above.

また、本発明に係わるプログラムは、上記の制御方法をコンピュータに実行させることを特徴とする。   A program according to the present invention causes a computer to execute the above control method.

また、本発明に係わる記憶媒体は、上記のプログラムをコンピュータ読み取り可能に記憶したことを特徴とする。   A storage medium according to the present invention stores the above-mentioned program so as to be readable by a computer.

本発明によれば、同時記録可能な映像信号の数が増加した場合や入力画像データのサイズが異なる場合に、符号化装置が大規模化することを抑制することが可能となる。   According to the present invention, when the number of video signals that can be recorded simultaneously increases or when the size of input image data is different, it is possible to suppress an increase in the size of the encoding device.

以下、本発明の好適な実施形態について、図面を参照して詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

(第1の実施形態)
本発明の第1の実施の形態について、図1、図2、図3を参照して説明する。図1及び図3は第1の実施形態における符号化装置100の全体システム構成図であり、図2は後述するマクロブロックコーデック202を説明する図である。
(First embodiment)
A first embodiment of the present invention will be described with reference to FIG. 1, FIG. 2, and FIG. 1 and 3 are overall system configuration diagrams of the encoding apparatus 100 according to the first embodiment, and FIG. 2 is a diagram illustrating a macroblock codec 202 described later.

以下に説明する実施形態は、入力信号の画像サイズに応じて符号化器の構成を切り替えて映像符号化信号を生成する形態である。また符号化方式はMPEG方式とする。   In the embodiment described below, a video encoded signal is generated by switching the configuration of the encoder according to the image size of the input signal. The encoding method is the MPEG method.

図1において101は映像入力信号であり、102は映像入力信号101を一時保存するバッファである。103は符号化部であり、M個のマクロブロックコーデック202で構成される。マクロブロックコーデック202とは、図2に示すようにマクロブロックの動き推定、動き補償、離散コサイン変換、量子化、可変長符号化を行う機能ブロックであり、それぞれ所定サイズの動画像データを所定の時間内で符号化処理可能であるとする。104は変換部であり、N個のコンバータ204で構成される。コンバータ204とはマクロブロックコーデック202から出力された信号を多重化して一つのストリームに変換する作業や、ヘッダを付加する作業の他に、MPEGのトランスポートストリームならびにプログラムストリームへの変換/逆変換を行うブロックである。105は符号化部103ならびに変換部104で生成された映像符号化信号を一時的に保存するバッファである。106は映像符号化出力信号である。107は制御部であり、制御部107への入力信号に応じて符号化部103内にあるマクロブロックコーデック202の組み合わせや、変換部104内にあるコンバータ204の組み合わせ、さらにマクロブロックコーデック202とコンバータ204の組み合わせを制御する機能を持つ。   In FIG. 1, 101 is a video input signal, and 102 is a buffer for temporarily storing the video input signal 101. Reference numeral 103 denotes an encoding unit, which includes M macroblock codecs 202. The macroblock codec 202 is a functional block that performs macroblock motion estimation, motion compensation, discrete cosine transform, quantization, and variable length coding as shown in FIG. Assume that encoding processing can be performed in time. A conversion unit 104 includes N converters 204. The converter 204 multiplexes the signal output from the macroblock codec 202 and converts it into a single stream, adds a header, and converts / inverts the MPEG transport stream and program stream. The block to perform. A buffer 105 temporarily stores the encoded video signals generated by the encoding unit 103 and the conversion unit 104. Reference numeral 106 denotes a video encoding output signal. Reference numeral 107 denotes a control unit. The combination of the macroblock codec 202 in the encoding unit 103, the combination of the converter 204 in the conversion unit 104, and the macroblock codec 202 and the converter according to the input signal to the control unit 107 It has a function to control the combination of 204.

図3は、符号化部103において、入力信号の画像サイズに応じて処理を変更する様子を示す図である。説明を容易にするために、符号化装置100への入力信号は1系統、コンバータ204はMPEGのトランスポートストリームを出力するものとする。   FIG. 3 is a diagram illustrating how the encoding unit 103 changes processing according to the image size of the input signal. For ease of explanation, it is assumed that one input signal is input to the encoding apparatus 100 and that the converter 204 outputs an MPEG transport stream.

入力信号101は映像入力信号であり、102は映像入力信号101を一時保存するバッファである。103は符号化部であり、104は変換部である。105は符号化部103ならびに変換部104で生成された映像符号化信号を一時的に保存するバッファである。106は映像符号化出力信号であり、107は制御部である。108は制御部107によって設定された符号化器である。   An input signal 101 is a video input signal, and a buffer 102 temporarily stores the video input signal 101. Reference numeral 103 denotes an encoding unit, and reference numeral 104 denotes a conversion unit. A buffer 105 temporarily stores the encoded video signals generated by the encoding unit 103 and the conversion unit 104. Reference numeral 106 denotes an encoded video output signal, and reference numeral 107 denotes a control unit. Reference numeral 108 denotes an encoder set by the control unit 107.

制御部107に対して入力信号の画像サイズの情報が与えられると、制御部107は画像サイズに応じて符号化部103内に存在するマクロブロックコーデック202の組み合わせを設定する。制御部107は、各マクロブロックコーデック202が所定の画面サイズの動画像データを処理する時間と、入力信号の画面サイズより求めた1画面内に存在するマクロブロックの数とに基づき、入力された映像信号を所定時間内に符号化するのに何個のマクロブロックコーデック202が必要かを算出する。即ち、入力映像信号をリアルタイムに、例えば、30フレーム/秒の映像信号であれば、1フレームの映像信号を1/30秒期間内に全て、即ちフレーム間引きや画素間引きなどの処理を行なうことなく符号化するために必要なマクロブロックコーデック202の数を算出する。   When the image size information of the input signal is given to the control unit 107, the control unit 107 sets the combination of the macroblock codec 202 existing in the encoding unit 103 according to the image size. The control unit 107 is input based on the time for each macroblock codec 202 to process moving image data of a predetermined screen size and the number of macroblocks existing in one screen obtained from the screen size of the input signal. It calculates how many macroblock codecs 202 are required to encode a video signal within a predetermined time. That is, if the input video signal is in real time, for example, a video signal of 30 frames / second, all the video signals of one frame are processed within a 1/30 second period, that is, without performing frame thinning or pixel thinning processing. The number of macroblock codecs 202 necessary for encoding is calculated.

そして、算出された個数のマクロブロックコーデック202とトランスポートストリームに変換するコンバータ204を組み合わせたものを新たな符号化器108として生成する。1つのマクロブロックコーデック202でスタンダードデフィニション(SD:Standard Definition)解像度で30フレーム/秒の映像信号を符号化処理できるとすると、入力画像サイズがSD解像度の場合、符号化器108は1つのマクロブロックコーデック202と1つのコンバータ204で構成される。また入力画像がハイデフィニション(HD:High Definition)解像度で30フレーム/秒の場合、つまりSD解像度の約4倍の解像度とすると、符号化器108は4つのマクロブロックコーデック202と1つのコンバータ204で構成される。さらに入力画像がSD解像度よりも小さい場合、1つのマクロブロックコーデック202と1つのコンバータ204で構成されるが、マクロブロックコーデック202はSD解像度を処理する際の能力以下で処理を行うようにする。   Then, a combination of the calculated number of macroblock codecs 202 and a converter 204 for converting into a transport stream is generated as a new encoder 108. Assuming that one macroblock codec 202 can encode a video signal of 30 frames / second with a standard definition (SD) resolution, when the input image size is SD resolution, the encoder 108 has one macroblock. The codec 202 and one converter 204 are included. If the input image has a high definition (HD) resolution of 30 frames / second, that is, approximately four times the resolution of the SD resolution, the encoder 108 includes four macroblock codecs 202 and one converter 204. Composed. Furthermore, when the input image is smaller than the SD resolution, the macro block codec 202 includes one macro block codec 202 and one converter 204. However, the macro block codec 202 performs processing with less than the capability for processing the SD resolution.

本実施形態の符号化装置100への入力信号101はバッファ102に保存されてフレームの並べ替えが行われる。符号化の順番に並べ替えられた入力信号は制御部107で生成された符号化器108内にある各マクロブロックコーデック202で入力画像の符号化を行う。各マクロブロックコーデック202で符号化された信号は、符号化器108内のコンバータ204で結合ならびにヘッダの付加処理が行なわれ、トランスポートストリームに変換されてバッファ105に符号化信号として一時的に保存されて出力される。   An input signal 101 to the encoding apparatus 100 of the present embodiment is stored in the buffer 102 and the frames are rearranged. The input signals rearranged in the encoding order are encoded by the macroblock codec 202 in the encoder 108 generated by the control unit 107. Signals encoded by each macroblock codec 202 are combined and header added by a converter 204 in the encoder 108, converted into a transport stream, and temporarily stored as an encoded signal in the buffer 105. Is output.

なお、本実施形態の符号化復号化装置100は、制御部107によって構成されなかった(選択されなかった)符号化部(マクロブロックコーデック)ならびに変換部(コンバータ)には電力供給を行わない。これは、以下で説明する第2乃至第6の実施形態でも同様である。   Note that the encoding / decoding apparatus 100 of the present embodiment does not supply power to an encoding unit (macroblock codec) and a conversion unit (converter) that are not configured (not selected) by the control unit 107. The same applies to the second to sixth embodiments described below.

上述したように、本実施形態の符号化装置においては、スタンダードデフィニションやハイデフィニションといった異なる画像サイズの入力画像信号に対して、符号化器をそれぞれ用意するのではなく、マクロブロックコーデックとコンバータの組み合わせを変更することにより異なる画像サイズの入力画像信号を符号化することができるので、符号化装置が大規模化することを抑制することが可能となる。   As described above, in the encoding apparatus according to the present embodiment, a combination of a macroblock codec and a converter is used instead of preparing an encoder for each of input image signals having different image sizes such as standard definition and high definition. Since the input image signal having a different image size can be encoded by changing, it is possible to prevent the encoding apparatus from becoming large-scale.

(第2の実施形態)
本発明の第2の実施形態について、図4を参照して説明する。図4は第2の実施形態における符号化装置400の全体システム構成図である。本実施形態は、入力信号の数に応じて符号化器の構成を切り替えて映像符号化信号を生成する形態である。また符号化方式はMPEG方式とする。
(Second Embodiment)
A second embodiment of the present invention will be described with reference to FIG. FIG. 4 is an overall system configuration diagram of the encoding device 400 according to the second embodiment. In the present embodiment, a video encoded signal is generated by switching the configuration of the encoder according to the number of input signals. The encoding method is the MPEG method.

図4は制御部407への入力信号が映像入力信号数の際の符号化回路構成である。説明の容易化のために入力信号数は3系統、画面サイズはすべてSD解像度であり、コンバータはMPEGのトランスポートストリームを出力するものとする。   FIG. 4 shows an encoding circuit configuration when the input signal to the control unit 407 is the number of video input signals. For ease of explanation, it is assumed that the number of input signals is three, the screen size is all SD resolution, and the converter outputs an MPEG transport stream.

図4において、401a〜401cは映像入力信号であり、402a〜402cは映像入力信号401a〜401cを一時保存するバッファである。403は符号化部であり、M個のマクロブロックコーデック422で構成される。マクロブロックコーデック422とは、図2でも説明したようにマクロブロックの動き推定、動き補償、離散コサイン変換、量子化、可変長符号化を行う機能ブロックであり、それぞれ所定サイズの動画像データを所定の時間内で符号化処理可能であるとする。404は変換部であり、N個のコンバータ424で構成される。コンバータ424とはマクロブロックコーデック422から出力された信号を多重化して一つのストリームに変換する作業や、ヘッダを付加する作業の他に、MPEGのトランスポートストリームならびにプログラムストリームへの変換/逆変換を行うブロックである。405a〜405cは符号化部403ならびに変換部404で生成された映像符号化信号を一時的に保存するバッファである。406a〜406cは映像符号化出力信号である。407は制御部であり、制御部407への入力信号に応じて符号化部403内にあるマクロブロックコーデック422の組み合わせや、変換部404内にあるコンバータ424の組み合わせ、さらにマクロブロックコーデック422とコンバータ424の組み合わせを制御する機能を持つ。408,409,410は制御部407によって構成された符号化器である。   In FIG. 4, 401a to 401c are video input signals, and 402a to 402c are buffers that temporarily store the video input signals 401a to 401c. Reference numeral 403 denotes an encoding unit, which includes M macroblock codecs 422. The macroblock codec 422 is a functional block that performs macroblock motion estimation, motion compensation, discrete cosine transform, quantization, and variable length coding, as described with reference to FIG. It is assumed that the encoding process can be performed within the time. A conversion unit 404 includes N converters 424. The converter 424 multiplexes the signal output from the macroblock codec 422 and converts it into a single stream, adds a header, and converts / inverts the MPEG transport stream and program stream. The block to perform. Reference numerals 405a to 405c denote buffers that temporarily store the encoded video signals generated by the encoding unit 403 and the conversion unit 404. Reference numerals 406a to 406c denote video encoded output signals. Reference numeral 407 denotes a control unit. The combination of the macroblock codec 422 in the encoding unit 403, the combination of the converter 424 in the conversion unit 404, and the macroblock codec 422 and the converter according to the input signal to the control unit 407 It has a function of controlling the combination of 424. Reference numerals 408, 409, and 410 denote encoders configured by the control unit 407.

制御部407に対して入力信号の信号数が与えられると、制御部407は入力信号数に応じて符号化部403内に存在するマクロブロックコーデック422の組み合わせを構成する。1つのマクロブロックコーデック422でスタンダードデフィニション(SD:Standard Definition)解像度で30フレーム/秒の映像信号を符号化処理できるとすると、符号化器408〜410は1つのマクロブロックコーデック422と1つのコンバータ424で構成される。また入力画像がハイデフィニション(HD:High Definition)解像度で30フレーム/秒の場合、つまりSD解像度の約4倍の解像度とすると、符号化器408〜410は4つのマクロブロックコーデック422と1つのコンバータ424で構成される。   When the number of input signals is given to the control unit 407, the control unit 407 configures a combination of macroblock codecs 422 existing in the encoding unit 403 according to the number of input signals. Assuming that one macroblock codec 422 can encode a video signal of 30 frames / second with a standard definition (SD) resolution, the encoders 408 to 410 have one macroblock codec 422 and one converter 424. Consists of. If the input image has a high definition (HD) resolution of 30 frames / second, that is, about four times the resolution of the SD resolution, the encoders 408 to 410 have four macroblock codecs 422 and one converter. 424.

本実施形態の符号化装置400への入力信号401a〜401cはバッファ402a〜402cにそれぞれ保存されてフレームの並べ替えが行われる。入力信号401aは符号化器408、入力信号401bは符号化器409、入力信号401cは符号化器410内の各マクロブロックコーデック422で符号化される。各符号化器408〜410で符号化された信号は符号化器408〜410内のコンバータ424で結合ならびにヘッダの付加処理が行なわれトランスポートストリームに変換されてバッファ405a〜405cに符号化信号として一時的に保存されて出力される。   Input signals 401a to 401c to the encoding apparatus 400 of the present embodiment are stored in the buffers 402a to 402c, respectively, and the frames are rearranged. The input signal 401 a is encoded by the encoder 408, the input signal 401 b is encoded by the encoder 409, and the input signal 401 c is encoded by each macroblock codec 422 in the encoder 410. The signals encoded by the encoders 408 to 410 are combined and added by a header 440 in the encoders 408 to 410, converted into a transport stream, and converted into buffers 405a to 405c as encoded signals. Temporarily saved and output.

上述したように、本実施形態の符号化装置においては、入力画像信号の信号数に対して、符号化器をそれぞれ用意するのではなく、マクロブロックコーデックとコンバータの組み合わせを変更することにより異なる信号数の入力画像信号を符号化することができるので、符号化装置が大規模化することを抑制することが可能となる。   As described above, in the encoding apparatus according to the present embodiment, different signals are obtained by changing the combination of the macroblock codec and the converter for the number of signals of the input image signal, instead of preparing each encoder. Since a large number of input image signals can be encoded, it is possible to suppress an increase in the size of the encoding device.

なお、上記の実施形態では、入力信号数を3系統として説明したが、3系統以外の任意の系統数であっても同様に実施可能である。   In the above-described embodiment, the number of input signals has been described as three systems, but the present invention can be similarly implemented even with any number of systems other than three systems.

(第3の実施形態)
本発明の第3の実施形態について、図5を参照して説明する。図5は第3の実施形態における符号化装置500の全体システム構成図である。本実施形態は、出力フォーマットに応じて符号化器の構成を切り替えて映像符号化信号を生成する形態である。また符号化方式はMPEG方式とする。
(Third embodiment)
A third embodiment of the present invention will be described with reference to FIG. FIG. 5 is an overall system configuration diagram of an encoding apparatus 500 according to the third embodiment. In the present embodiment, a video encoded signal is generated by switching the configuration of the encoder according to the output format. The encoding method is the MPEG method.

図5は制御部507への入力信号が映像入力信号数の際の符号化回路構成である。説明の容易化のために入力信号数は1系統、画面サイズはすべてSD解像度であり、コンバータ524はMPEGのトランスポートストリームとプログラムストリームを出力するものとする。   FIG. 5 shows an encoding circuit configuration when the input signal to the control unit 507 is the number of video input signals. For ease of explanation, it is assumed that the number of input signals is one, the screen size is all SD resolution, and the converter 524 outputs an MPEG transport stream and a program stream.

図5において、501は映像入力信号であり、502は映像入力信号501を一時保存するバッファである。503は符号化部であり、M個のマクロブロックコーデック522で構成される。504は変換部であり、N個のコンバータ524で構成される。505は符号化部503ならびに変換部504で生成された映像符号化信号を一時的に保存するバッファである。506は映像符号化出力信号である。507は制御部であり、制御部507への入力信号に応じて符号化部503内にあるマクロブロックコーデック522の組み合わせや、変換部504内にあるコンバータ524の組み合わせ、さらにマクロブロックコーデック522とコンバータ524の組み合わせを制御する機能を持つ。508は制御部507によって構成された符号化器である。   In FIG. 5, reference numeral 501 denotes a video input signal, and reference numeral 502 denotes a buffer that temporarily stores the video input signal 501. Reference numeral 503 denotes an encoding unit, which includes M macroblock codecs 522. A conversion unit 504 includes N converters 524. Reference numeral 505 denotes a buffer that temporarily stores the encoded video signals generated by the encoding unit 503 and the conversion unit 504. Reference numeral 506 denotes a video encoded output signal. Reference numeral 507 denotes a control unit. A combination of the macroblock codec 522 in the encoding unit 503, a combination of the converter 524 in the conversion unit 504, and the macroblock codec 522 and the converter according to an input signal to the control unit 507. It has a function of controlling the combination of 524. Reference numeral 508 denotes an encoder configured by the control unit 507.

制御部507に対して入力信号の信号数が与えられると、制御部507は出力フォーマットに応じて変換部504内に存在するコンバータ524の組み合わせを構成する。1つのマクロブロックコーデック522でスタンダードデフィニション(SD:Standard Definition)解像度で30フレーム/秒の映像信号を符号化処理できるとすると、符号化器508は1つのマクロブロックコーデック522と2つのコンバータ524で構成される。また入力画像がハイデフィニション(HD:High Definition)解像度で30フレーム/秒の場合、つまりSD解像度の約4倍の解像度とすると、符号化器508は4つのマクロブロックコーデック522と2つのコンバータ424で構成される。2つのコンバータ424を用いれば、2種類の出力フォーマット(トランスポートストリームとプログラムストリーム)のデータストリームを出力することができる。   When the number of input signals is given to the control unit 507, the control unit 507 configures a combination of converters 524 existing in the conversion unit 504 in accordance with the output format. Assuming that one macroblock codec 522 can encode a video signal of 30 frames / second with a standard definition (SD) resolution, the encoder 508 includes one macroblock codec 522 and two converters 524. Is done. When the input image has a high definition (HD) resolution of 30 frames / second, that is, when the resolution is about four times the SD resolution, the encoder 508 includes four macroblock codecs 522 and two converters 424. Composed. If two converters 424 are used, data streams of two types of output formats (transport stream and program stream) can be output.

本実施形態の符号化装置500への入力信号501はバッファ502にそれぞれ保存されてフレームの並べ替えが行われる。入力信号501は符号化器508内のマクロブロックコーデック522で符号化される。符号化器508で符号化された信号は符号化器508内のコンバータ524で結合ならびにヘッダの付加処理が行なわれ、トランスポートストリームとプログラムストリームが出力され、バッファ505に一時的に保存された後に出力される。   Input signals 501 to the encoding apparatus 500 of this embodiment are stored in the buffer 502, and the frames are rearranged. The input signal 501 is encoded by the macroblock codec 522 in the encoder 508. The signal encoded by the encoder 508 is combined and added with a header by a converter 524 in the encoder 508, and a transport stream and a program stream are output and temporarily stored in the buffer 505. Is output.

なお、第1乃至第3の実施形態で説明したものは一例に過ぎず、画像サイズ、入力信号数、出力フォーマットの全て又はそれらのうちのいくつかの組み合わせの条件に応じた符号化器を構成して映像符号化信号を生成することも可能である。   In addition, what was demonstrated by 1st thru | or 3rd embodiment is only an example, and comprises the encoder according to the conditions of all or some combination of those among image size, the number of input signals, and output formats. Thus, a video encoded signal can be generated.

(第4の実施形態)
本発明の第4の実施形態について、図6を参照して説明する。図6は第4の実施形態における符号化装置600の全体システム構成図である。本実施形態は、画質に応じて符号化器の構成を切り替えて映像符号化信号を生成する形態である。また符号化方式はMPEG方式とする。
(Fourth embodiment)
A fourth embodiment of the present invention will be described with reference to FIG. FIG. 6 is an overall system configuration diagram of an encoding apparatus 600 according to the fourth embodiment. In the present embodiment, a video encoded signal is generated by switching the configuration of the encoder according to the image quality. The encoding method is the MPEG method.

図6は制御部607への入力信号を解析して高画質映像信号を出力するような符号化回路構成である。説明の容易化のために、入力信号数は1系統、画像サイズはSD解像度であり、コンバータはMPEGのトランスポートストリームを出力するものとする。   FIG. 6 shows an encoding circuit configuration that analyzes an input signal to the control unit 607 and outputs a high-quality video signal. For ease of explanation, it is assumed that the number of input signals is one, the image size is SD resolution, and the converter outputs an MPEG transport stream.

図6において、601は映像入力信号であり、602は映像入力信号601を一時保存するバッファである。603は符号化部であり、M個のマクロブロックコーデック622で構成される。604は変換部であり、N個のコンバータ624で構成される。605は符号化部603ならびに変換部604で生成された映像符号化信号を一時的に保存するバッファである。606は映像符号化出力信号である。607は制御部であり、制御部607への入力信号に応じて符号化部603内にあるマクロブロックコーデック622の組み合わせや、変換部604内にあるコンバータ624の組み合わせ、さらにマクロブロックコーデック622とコンバータ624の組み合わせを制御する機能を持つ。608は制御部607によって構成された符号化器である。609はマクロブロックコーデック622の出力信号の中から高画質信号を抽出する劣化判定ブロックである。   In FIG. 6, reference numeral 601 denotes a video input signal, and reference numeral 602 denotes a buffer that temporarily stores the video input signal 601. Reference numeral 603 denotes an encoding unit, which includes M macroblock codecs 622. A conversion unit 604 includes N converters 624. Reference numeral 605 denotes a buffer that temporarily stores the encoded video signals generated by the encoding unit 603 and the conversion unit 604. Reference numeral 606 denotes a video encoded output signal. A control unit 607 is a combination of the macroblock codec 622 in the encoding unit 603 or a combination of the converter 624 in the conversion unit 604 according to an input signal to the control unit 607, and further, the macroblock codec 622 and the converter. It has a function to control the combination of 624. Reference numeral 608 denotes an encoder configured by the control unit 607. Reference numeral 609 denotes a deterioration determination block that extracts a high-quality signal from the output signal of the macroblock codec 622.

制御部607に対して与えられた入力信号を解析した結果、高画質映像信号を出力しようとした場合、図6のように符号化部603内に存在するマクロブロックコーデック622の組み合わせを構成する。図6では4つのマクロブロックコーデック622で構成しているが、各マクロブロックコーデック622(MBC1,MBC2,MBC3,MBC4)にそれぞれ異なる符号化パラメータを与えて入力画像の符号化を行い、劣化判定ブロック609により、それらのうちで最も画質劣化の少ない映像信号を出力する。   As a result of analyzing the input signal given to the control unit 607, when trying to output a high-quality video signal, a combination of macroblock codecs 622 existing in the encoding unit 603 is configured as shown in FIG. In FIG. 6, four macroblock codecs 622 are configured, but each macroblock codec 622 (MBC1, MBC2, MBC3, MBC4) is given a different encoding parameter to encode an input image, and a degradation determination block By 609, the video signal with the least image quality degradation among them is output.

本実施形態の符号化装置600への入力信号601はバッファ602にそれぞれ保存されてフレームの並べ替えが行われる。入力信号601は符号化器608内の各マクロブロックコーデック622で符号化される。各マクロブロックコーデック622で符号化された信号は劣化判定ブロック609において最も画質劣化の少ないものが選択されて出力される。出力された信号は符号化器508内のコンバータ624で結合ならびにヘッダの付加処理が行なわれ、トランスポートストリームに変換されてバッファ605に一時的に保存された後に出力される。   Input signals 601 to the encoding apparatus 600 of the present embodiment are stored in the buffer 602, and the frames are rearranged. Input signal 601 is encoded by each macroblock codec 622 in encoder 608. As the signal encoded by each macroblock codec 622, the signal having the least image quality deterioration is selected and output in the deterioration determination block 609. The output signal is combined and header added by the converter 624 in the encoder 508, converted into a transport stream, temporarily stored in the buffer 605, and then output.

(第5の実施形態)
本発明の第5の実施形態について、図7を参照して説明する。図7は第5の実施形態における符号化装置700の全体システム構成図である。本実施形態は、トランスコードに応じて符号化器の構成を切り替えて映像信号を生成する形態である。また符号化方式はMPEG方式とする。
(Fifth embodiment)
A fifth embodiment of the present invention will be described with reference to FIG. FIG. 7 is an overall system configuration diagram of an encoding apparatus 700 according to the fifth embodiment. In the present embodiment, a video signal is generated by switching the configuration of an encoder according to transcoding. The encoding method is the MPEG method.

図7は制御部707への入力信号を解析して、トランスコード(符号化信号を一旦復号化して再度符号化する)を行う回路構成である。説明の容易化のために入力信号数は映像符号化信号1本、画像サイズはSD解像度であり、コンバータはMPEGのトランスポートストリームであるとする。   FIG. 7 shows a circuit configuration in which an input signal to the control unit 707 is analyzed and transcoding (the encoded signal is once decoded and encoded again). For ease of explanation, it is assumed that the number of input signals is one video encoded signal, the image size is SD resolution, and the converter is an MPEG transport stream.

図7において、701は映像入力信号であり、702は映像入力信号701を一時保存するバッファである。703は符号化部であり、M個のマクロブロックコーデック709a,709b,…で構成される。704は変換部であり、N個のコンバータ724で構成される。705は符号化部703ならびに変換部704で生成された映像符号化信号を一時的に保存するバッファである。706は映像符号化出力信号である。707は制御部であり、制御部707への入力信号に応じて符号化部703内にあるマクロブロックコーデック709a,709b,…の組み合わせや、変換部704内にあるコンバータ724の組み合わせ、さらにマクロブロックコーデック709a,709b,…とコンバータ724の組み合わせを制御する機能を持つ。708は制御部707によって構成された符号化器である。   In FIG. 7, reference numeral 701 denotes a video input signal, and reference numeral 702 denotes a buffer for temporarily storing the video input signal 701. Reference numeral 703 denotes an encoding unit, which includes M macroblock codecs 709a, 709b,. Reference numeral 704 denotes a conversion unit, which includes N converters 724. Reference numeral 705 denotes a buffer that temporarily stores the encoded video signals generated by the encoding unit 703 and the conversion unit 704. Reference numeral 706 denotes an encoded video output signal. Reference numeral 707 denotes a control unit, which is a combination of macroblock codecs 709a, 709b,... In the encoding unit 703, a combination of converters 724 in the conversion unit 704, and a macroblock according to an input signal to the control unit 707. Has a function of controlling the combination of the codecs 709a, 709b,. Reference numeral 708 denotes an encoder configured by the control unit 707.

制御部707に対して与えられた入力信号を解析した結果、トランスコードをしようとした場合、図7のように符号化部703内に存在するマクロブロックコーデック709a,709bの組み合わせを構成する。   As a result of analyzing the input signal given to the control unit 707, when transcoding is performed, a combination of macroblock codecs 709a and 709b existing in the encoding unit 703 is configured as shown in FIG.

本実施形態においては、符号化装置700に対し、符号化された状態の映像信号701が入力され、バッファ702にそれぞれ保存される。映像符号化入力信号701は符号化器708内のマクロブロックコーデック709aで復号化される。次に復号化された信号を符号化器708内のマクロブロックコーデック709bで符号化した符号化信号を出力する。出力された信号は符号化器708内のコンバータ724で結合ならびにヘッダの付加処理が行なわれ、トランスポートストリームに変換されてバッファ705に一時的に保存され、その後記録媒体に記録される。   In the present embodiment, the encoded video signal 701 is input to the encoding device 700 and stored in the buffer 702. The video encoded input signal 701 is decoded by the macroblock codec 709a in the encoder 708. Next, an encoded signal obtained by encoding the decoded signal with the macroblock codec 709b in the encoder 708 is output. The output signal is combined and added with a header by a converter 724 in the encoder 708, converted to a transport stream, temporarily stored in the buffer 705, and then recorded on a recording medium.

(第6の実施形態)
本発明の第6の実施形態について、図8を参照して説明する。図8は第6の実施形態における符号化装置700の全体システム構成図である。本実施形態は、符号化方式に応じて符号化器の構成を切り替えて映像信号を生成する形態である。また符号化方式はMPEG方式とする。
(Sixth embodiment)
A sixth embodiment of the present invention will be described with reference to FIG. FIG. 8 is an overall system configuration diagram of an encoding apparatus 700 according to the sixth embodiment. In the present embodiment, the video signal is generated by switching the configuration of the encoder according to the encoding method. The encoding method is the MPEG method.

図8は制御部807への入力信号を解析して、MPEG符号化方式で映像信号を符号化する回路構成である。説明の容易化のために入力信号数は映像符号化信号1本、画像サイズはSD解像度であり、コンバータはMPEGのトランスポートストリームであるとする。   FIG. 8 shows a circuit configuration in which an input signal to the control unit 807 is analyzed and a video signal is encoded by the MPEG encoding method. For ease of explanation, it is assumed that the number of input signals is one video encoded signal, the image size is SD resolution, and the converter is an MPEG transport stream.

図8において、801は映像入力信号であり、802は映像入力信号801を一時保存するバッファである。803は符号化部であり、M個のマクロブロックコーデック809,810,…で構成される。804は変換部であり、N個のコンバータ824で構成される。805は符号化部803ならびに変換部804で生成された映像符号化信号を一時的に保存するバッファである。806は映像符号化出力信号である。807は制御部であり、制御部807への入力信号に応じて符号化部803内にあるマクロブロックコーデックの組み合わせや、変換部804内にあるコンバータ824の組み合わせ、さらにマクロブロックコーデックとコンバータ824の組み合わせを制御する機能を持つ。808は制御部807によって構成された符号化器である。   In FIG. 8, 801 is a video input signal, and 802 is a buffer for temporarily storing the video input signal 801. Reference numeral 803 denotes an encoding unit, which includes M macroblock codecs 809, 810,. A conversion unit 804 includes N converters 824. Reference numeral 805 denotes a buffer that temporarily stores the encoded video signals generated by the encoding unit 803 and the conversion unit 804. Reference numeral 806 denotes a video encoding output signal. Reference numeral 807 denotes a control unit. A combination of a macroblock codec in the encoding unit 803, a combination of the converter 824 in the conversion unit 804, and a combination of the macroblock codec and the converter 824 in accordance with an input signal to the control unit 807. Has the ability to control combinations. Reference numeral 808 denotes an encoder configured by the control unit 807.

制御部807に対して与えられた入力信号を解析した結果、MPEG方式の符号化を行う場合、図8のように符号化部803内に存在するマクロブロックコーデック809,810の組み合わせを構成する。このとき、MPEG方式の中で処理量の大きいブロックの順位付けを行い処理量の大きい機能ブロックを、符号化を行うマクロブロックコーデックとは別のマクロブロックコーデックで行うようにする。MPEG方式であれば動きベクトル推定の処理が大きいため、動きベクトル推定処理を、符号化を行うマクロブロックコーデック809とは別のマクロブロックコーデック810で行うようにする。符号化方式がMPEG以外の場合も順位付けを行い処理の分割を行うようにする。以上の順位付けから、マクロブロックコーデック809はマクロブロックの符号化を行う回路となり、マクロブロックコーデック810は符号化処理のうち動きベクトル推定のみを行う回路となる。   As a result of analyzing the input signal given to the control unit 807, when MPEG encoding is performed, a combination of macroblock codecs 809 and 810 existing in the encoding unit 803 is configured as shown in FIG. At this time, in the MPEG system, blocks having a large processing amount are ranked, and a functional block having a large processing amount is performed by a macro block codec different from the macro block codec for encoding. Since the motion vector estimation process is large in the MPEG system, the motion vector estimation process is performed by a macroblock codec 810 that is different from the macroblock codec 809 that performs encoding. Even when the encoding method is other than MPEG, ranking is performed and processing is divided. From the above ranking, the macroblock codec 809 becomes a circuit that performs macroblock encoding, and the macroblock codec 810 becomes a circuit that performs only motion vector estimation in the encoding process.

本実施形態の符号化装置800への入力信号801はバッファ802にそれぞれ保存されてフレームの並べ替えが行われる。入力信号801は符号化器808内に送られ、マクロブロックコーデック809においてマクロブロックの符号化を行ない、マクロブロックコーデック810において画像の動きベクトル推定を行う。このようにMPEGの符号化過程の中で処理量の大きい動きベクトル推定を別のマクロブロックコーデックで行う。マクロブロックコーデック810で算出された動きベクトルを用いて、マクロブロックコーデック809において離散コサイン変換、量子化、可変長符号化の処理を行い、符号化器808内のコンバータ824でヘッダの付加を行った後トランスポートストリームに変換して、バッファ805に一時的に保存した後に出力する。   The input signal 801 to the encoding apparatus 800 of this embodiment is stored in the buffer 802, and the frames are rearranged. The input signal 801 is sent into the encoder 808, the macroblock codec 809 encodes the macroblock, and the macroblock codec 810 performs motion vector estimation of the image. In this way, motion vector estimation with a large amount of processing is performed by another macroblock codec in the MPEG encoding process. Using the motion vector calculated by the macroblock codec 810, the macroblock codec 809 performs discrete cosine transform, quantization, and variable length coding, and the converter 824 in the encoder 808 adds a header. The data is converted into a later transport stream, temporarily stored in the buffer 805, and then output.

また、本実施形態の変形例として、マクロブロックコーデック809において画像の上半分の動きベクトル推定を行い、マクロブロックコーデック810において画像の下半分の動きベクトル推定を並列で行うようにしてもよい。このようにMPEGの符号化過程の中で処理量の大きい動きベクトル推定を分割して行う。各マクロブロックコーデック809,810で算出された動きベクトルを用いてマクロブロックコーデック809において離散コサイン変換、量子化、可変長符号化の処理を行い、符号化器808内のコンバータでヘッダの付加を行った後トランスポートストリームに変換し、バッファ805に一時的に保存した後に出力する。   As a modification of the present embodiment, the motion vector estimation of the upper half of the image may be performed in the macroblock codec 809, and the motion vector estimation of the lower half of the image may be performed in parallel in the macroblock codec 810. In this way, motion vector estimation with a large processing amount is divided and performed in the MPEG encoding process. Using the motion vectors calculated by the macroblock codecs 809 and 810, the macroblock codec 809 performs discrete cosine transform, quantization, and variable length coding, and a header is added by the converter in the encoder 808. After that, it is converted into a transport stream, temporarily stored in the buffer 805, and then output.

以上説明したように、上記の第1乃至第6の実施形態によれば、所定サイズの画像データを符号化する符号化部と、この符号化部からの出力を所定フォーマットへ変換する変換部をそれぞれ複数持つ符号化装置であって、符号化部と変換部を組み合わせて符号化器を構成する制御部を備え、制御部に入力された信号に応じて構成された符号化器で映像符号化信号を生成することが可能となる。   As described above, according to the first to sixth embodiments, the encoding unit that encodes image data of a predetermined size and the conversion unit that converts the output from the encoding unit into a predetermined format are provided. A plurality of encoding devices each having a control unit that configures an encoder by combining an encoding unit and a conversion unit, and video encoding by an encoder configured according to a signal input to the control unit A signal can be generated.

(他の実施形態)
また、各実施形態の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
(Other embodiments)
In addition, an object of each embodiment is to supply a storage medium (or recording medium) on which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and a computer (or CPU) of the system or apparatus Needless to say, this can also be achieved by reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した手順に対応するプログラムコードが格納されることになる。   When the present invention is applied to the above storage medium, the storage medium stores program codes corresponding to the procedure described above.

第1の実施形態における符号化装置の全体システム構成図である。It is a whole system block diagram of the encoding apparatus in 1st Embodiment. マクロブロックコーデックを説明する図である。It is a figure explaining a macroblock codec. 第1の実施形態における符号化装置の全体システム構成図である。It is a whole system block diagram of the encoding apparatus in 1st Embodiment. 第2の実施形態における符号化装置の全体システム構成図である。It is a whole system block diagram of the encoding apparatus in 2nd Embodiment. 第3の実施形態における符号化装置の全体システム構成図である。It is a whole system block diagram of the encoding apparatus in 3rd Embodiment. 第4の実施形態における符号化装置の全体システム構成図である。It is a whole system block diagram of the encoding apparatus in 4th Embodiment. 第5の実施形態における符号化装置の全体システム構成図である。It is a whole system block diagram of the encoding apparatus in 5th Embodiment. 第6の実施形態における符号化装置の全体システム構成図である。It is a whole system block diagram of the encoding apparatus in 6th Embodiment. 従来の符号化装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional encoding apparatus.

符号の説明Explanation of symbols

100 符号化装置
101 入力信号
102 バッファ
103 符号化部
104 変換部
105 バッファ
106 出力信号
107 制御部
DESCRIPTION OF SYMBOLS 100 Coding apparatus 101 Input signal 102 Buffer 103 Encoding part 104 Conversion part 105 Buffer 106 Output signal 107 Control part

Claims (22)

それぞれが所定の画面サイズの動画像データをリアルタイムに符号化可能な複数の符号化部から構成され、入力された動画像データを符号化する符号化手段と、
前記入力された前記動画像データの状態に基づいて、前記符号化手段において前記動画像データの符号化のために用いる前記符号化部の構成を変更する変更手段と、
を具備することを特徴とする符号化装置。
Each of which comprises a plurality of encoding units capable of encoding moving image data of a predetermined screen size in real time, and encoding means for encoding the input moving image data;
Based on the state of the input moving image data, changing means for changing the configuration of the encoding unit used for encoding the moving image data in the encoding unit;
An encoding apparatus comprising:
前記変更手段は、入力された前記動画像データの状態に基づいて、前記複数の符号化部のうちの一部を選択することを特徴とする請求項1に記載の符号化装置。   The encoding device according to claim 1, wherein the changing unit selects a part of the plurality of encoding units based on a state of the input moving image data. 前記符号化手段からの出力信号を所定のフォーマットに変換する複数の変換手段をさらに具備し、前記変更手段は、入力された前記動画像データの状態に基づいて、前記複数の符号化部のうちの一部の符号化部を選択するとともに、該選択された符号化部と前記変換手段の組み合わせを変更することを特徴とする請求項1に記載の符号化装置。   A plurality of converting means for converting an output signal from the encoding means into a predetermined format; and the changing means is configured to select one of the plurality of encoding units based on the state of the input moving image data. The encoding apparatus according to claim 1, wherein a part of the encoding units is selected, and a combination of the selected encoding unit and the conversion unit is changed. 前記変更手段は、入力された前記動画像データの画像サイズに基づいて、前記動画像データの符号化のために用いる符号化部を選択することを特徴とする請求項1乃至3のいずれか1項に記載の符号化装置。   The said change means selects the encoding part used for encoding of the said moving image data based on the image size of the input said moving image data, The any one of Claim 1 thru | or 3 characterized by the above-mentioned. The encoding device according to item. 前記変更手段は、入力された前記動画像データのチャンネル数に基づいて、前記動画像データの符号化のために用いる符号化部を選択することを特徴とする請求項1乃至3のいずれか1項に記載の符号化装置。   4. The change unit according to claim 1, wherein the changing unit selects an encoding unit used for encoding the moving image data based on the number of channels of the input moving image data. The encoding device according to item. 前記変更手段は、前記符号化装置が、入力された1つの前記動画像データから複数のフォーマットの符号化信号を出力する場合に、入力された前記動画像データの状態に基づいて、前記複数の符号化部のうちの一部の符号化部を選択するとともに、前記複数のフォーマットの数に応じた数の前記変換手段を選択して、互いに組み合わせることを特徴とする請求項3に記載に符号化装置。   When the encoding device outputs encoded signals of a plurality of formats from one input moving image data, the changing unit is configured to change the plurality of the plurality of formats based on the state of the input moving image data. 4. The code according to claim 3, wherein a part of the encoding units is selected and the number of the conversion units corresponding to the number of the plurality of formats is selected and combined with each other. Device. 前記変更手段は更に、前記複数の符号化部のうちの所定数の符号化部に対して異なる符号化パラメータを与えて前記入力された動画像データをそれぞれ符号化し、その結果最も画質劣化の少ない符号化動画像信号が得られた符号化部からの出力信号を前記変換手段に出力することを特徴とする請求項3に記載の符号化装置。   The changing unit further encodes the input moving image data by giving different encoding parameters to a predetermined number of encoding units among the plurality of encoding units, and as a result, the image quality is least deteriorated. The encoding apparatus according to claim 3, wherein an output signal from an encoding unit from which an encoded moving image signal is obtained is output to the conversion means. 前記複数の符号化部の少なくとも一部は符号化された前記動画像データの復号機能を有し、前記変更手段は更に、前記複数の符号化部のうち前記復号機能を有する符号化部を選択して符号化された状態で入力された前記動画像データを復号するとともに、前記複数の符号化部の一部を選択して前記復号された動画像データを前記入力された動画像データとは異なる方式で符号化することにより、トランスコード処理を行なうことを特徴とする請求項3に記載の符号化装置。   At least a part of the plurality of encoding units has a decoding function of the encoded moving image data, and the changing unit further selects an encoding unit having the decoding function among the plurality of encoding units And decoding the moving image data input in the encoded state, and selecting a part of the plurality of encoding units to convert the decoded moving image data into the input moving image data. The encoding apparatus according to claim 3, wherein transcoding is performed by encoding in a different system. 前記変更手段は、前記符号化装置の符号化方式に対応した前記符号化部と前記変換手段を組み合わせることを特徴とする請求項3に記載の符号化装置。   The encoding device according to claim 3, wherein the changing unit combines the encoding unit and the converting unit corresponding to the encoding method of the encoding device. 前記符号化装置は、前記変更手段により選択されなかった前記符号化部及び変換手段に対する電力供給を停止することを特徴とする請求項3に記載の符号化装置。   The encoding apparatus according to claim 3, wherein the encoding apparatus stops power supply to the encoding unit and the conversion unit that are not selected by the changing unit. それぞれが所定の画面サイズの動画像データをリアルタイムに符号化可能な複数の符号化部から構成され、入力された動画像データを符号化する符号化手段を備える符号化装置を制御する方法であって、
前記入力された前記動画像データの状態に基づいて、前記符号化手段において前記動画像データの符号化のために用いる前記符号化部の構成を変更する変更工程を具備することを特徴とする符号化装置の制御方法。
This is a method for controlling an encoding device that includes a plurality of encoding units each capable of encoding moving image data of a predetermined screen size in real time, and includes encoding means for encoding input moving image data. And
A code comprising: a changing step of changing a configuration of the encoding unit used for encoding the moving image data in the encoding unit based on the state of the input moving image data Control method.
前記変更工程では、入力された前記動画像データの状態に基づいて、前記複数の符号化部のうちの一部を選択することを特徴とする請求項11に記載の符号化装置の制御方法。   12. The method of controlling an encoding apparatus according to claim 11, wherein in the changing step, a part of the plurality of encoding units is selected based on a state of the input moving image data. 前記符号化装置は、前記符号化手段からの出力信号を所定のフォーマットに変換する複数の変換手段をさらに具備し、前記変更工程では、入力された前記動画像データの状態に基づいて、前記複数の符号化部のうちの一部の符号化部を選択するとともに、該選択された符号化部と前記変換手段の組み合わせを変更することを特徴とする請求項11に記載の符号化装置の制御方法。   The encoding device further includes a plurality of conversion means for converting an output signal from the encoding means into a predetermined format, and in the changing step, based on the state of the input moving image data, 12. The control of an encoding apparatus according to claim 11, wherein a part of the encoding units is selected, and a combination of the selected encoding unit and the conversion unit is changed. Method. 前記変更工程では、入力された前記動画像データの画像サイズに基づいて、前記動画像データの符号化のために用いる符号化部を選択することを特徴とする請求項11乃至13のいずれか1項に記載の符号化装置の制御方法。   The encoding unit used for encoding the moving image data is selected based on the input image size of the moving image data in the changing step. A method for controlling the encoding device according to the item. 前記変更工程では、入力された前記動画像データのチャンネル数に基づいて、前記動画像データの符号化のために用いる符号化部を選択することを特徴とする請求項11乃至13のいずれか1項に記載の符号化装置の制御方法。   The encoding unit to be used for encoding the moving image data is selected in the changing step based on the number of channels of the input moving image data. A method for controlling the encoding device according to the item. 前記変更工程では、前記符号化装置が、入力された1つの前記動画像データから複数のフォーマットの符号化信号を出力する場合に、入力された前記動画像データの状態に基づいて、前記複数の符号化部のうちの一部の符号化部を選択するとともに、前記複数のフォーマットの数に応じた数の前記変換手段を選択して、互いに組み合わせることを特徴とする請求項13に記載に符号化装置の制御方法。   In the changing step, when the encoding device outputs encoded signals of a plurality of formats from one input moving image data, the plurality of formats are based on the state of the input moving image data. 14. The code according to claim 13, wherein a part of the encoding units is selected and the number of the conversion units corresponding to the number of the plurality of formats is selected and combined with each other. Control method. 前記変更工程では更に、前記複数の符号化部のうちの所定数の符号化部に対して異なる符号化パラメータを与えて前記入力された動画像データをそれぞれ符号化し、その結果最も画質劣化の少ない符号化動画像信号が得られた符号化部からの出力信号を前記変換手段に出力することを特徴とする請求項13に記載の符号化装置の制御方法。   Further, in the changing step, the input moving image data is encoded by giving different encoding parameters to a predetermined number of encoding units among the plurality of encoding units, and as a result, the image quality is least deteriorated. 14. The method of controlling an encoding apparatus according to claim 13, wherein an output signal from an encoding unit from which an encoded moving image signal is obtained is output to the conversion unit. 前記複数の符号化部の少なくとも一部は符号化された前記動画像データの復号機能を有し、前記変更工程では更に、前記複数の符号化部のうち前記復号機能を有する符号化部を選択して符号化された状態で入力された前記動画像データを復号するとともに、前記複数の符号化部の一部を選択して前記復号された動画像データを前記入力された動画像データとは異なる方式で符号化することにより、トランスコード処理を行なうことを特徴とする請求項13に記載の符号化装置の制御方法。   At least a part of the plurality of encoding units has a decoding function of the encoded moving image data, and the changing step further selects an encoding unit having the decoding function among the plurality of encoding units And decoding the moving image data input in the encoded state, and selecting a part of the plurality of encoding units to convert the decoded moving image data into the input moving image data. 14. The method of controlling an encoding apparatus according to claim 13, wherein transcoding is performed by encoding using a different method. 前記変更工程では、前記符号化装置の符号化方式に対応した前記符号化部と前記変換手段を組み合わせることを特徴とする請求項13に記載の符号化装置の制御方法。   The method for controlling an encoding apparatus according to claim 13, wherein, in the changing step, the encoding unit corresponding to the encoding method of the encoding apparatus and the conversion unit are combined. 前記変更工程において選択されなかった前記符号化部及び変換手段に対する電力供給を停止することを特徴とする請求項13に記載の符号化装置の制御方法。   The method for controlling an encoding apparatus according to claim 13, wherein power supply to the encoding unit and conversion unit not selected in the changing step is stopped. 請求項11乃至20のいずれか1項に記載の制御方法をコンピュータに実行させることを特徴とするプログラム。   A program that causes a computer to execute the control method according to any one of claims 11 to 20. 請求項21に記載のプログラムをコンピュータ読み取り可能に記憶したことを特徴とする記憶媒体。   A storage medium storing the program according to claim 21 in a computer-readable manner.
JP2005164867A 2005-06-03 2005-06-03 Coding device, its control method, program, and storage medium Withdrawn JP2006340238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005164867A JP2006340238A (en) 2005-06-03 2005-06-03 Coding device, its control method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005164867A JP2006340238A (en) 2005-06-03 2005-06-03 Coding device, its control method, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2006340238A true JP2006340238A (en) 2006-12-14

Family

ID=37560362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005164867A Withdrawn JP2006340238A (en) 2005-06-03 2005-06-03 Coding device, its control method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2006340238A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267628A (en) * 2008-04-23 2009-11-12 Oki Electric Ind Co Ltd Codec converter, gateway device, and codec converting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267628A (en) * 2008-04-23 2009-11-12 Oki Electric Ind Co Ltd Codec converter, gateway device, and codec converting method
JP4600511B2 (en) * 2008-04-23 2010-12-15 沖電気工業株式会社 Codec conversion device, gateway device, and codec conversion method

Similar Documents

Publication Publication Date Title
JP3548136B2 (en) Image processing device
JP5011017B2 (en) Image decoding device
JP5090158B2 (en) VIDEO INFORMATION RECORDING DEVICE, VIDEO INFORMATION RECORDING METHOD, VIDEO INFORMATION RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING VIDEO INFORMATION RECORDING PROGRAM
JP2005175997A (en) Decoding apparatus, electronic apparatus, computer, decoding method, program, and recording medium
JP2013219727A (en) Image coding apparatus, image coding method and program, image decoding apparatus, image decoding method and program
JP2008187735A (en) Method and apparatus for variable accuracy inter-picture timing specification for digital video encoding
JP2010041354A (en) Moving image coding method, coding device and coding program
US20080008248A1 (en) Orthogonal transformation apparatus and imaging system
JP4875008B2 (en) Moving picture encoding method, moving picture decoding method, moving picture encoding apparatus, and moving picture decoding apparatus
US8155186B2 (en) Bit stream recording medium, video encoder, and video decoder
WO2001045402A1 (en) Image reproducing method and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods
JP2006340238A (en) Coding device, its control method, program, and storage medium
CN101637027B (en) Decoding method, decoder and decoding device
JP2008187694A (en) Image encoder and method thereof
WO2009122925A1 (en) Dynamic image conversion device, dynamic image delivery system, method for converting dynamic image and program
JP4613759B2 (en) Information processing apparatus and method, transmission apparatus and method, recording apparatus and method, and program
JP2009071365A (en) Moving picture decoder and decoding method
US20090016437A1 (en) Information processing apparatus
JP5057872B2 (en) Information processing apparatus and program
JP4894793B2 (en) Decoding method, decoder and decoding apparatus
JP4786602B2 (en) Information processing apparatus and program
JP2006054760A (en) Image processor and image processing method
JP2009111797A (en) Encoder, and recording device
KR20040103395A (en) Moving picture processing apparatus and its method, and recording medium
JP2004193897A (en) Method and apparatus for encoding and decoding dynamic image, and program for performing them

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805