JP5603747B2 - Video encoding device - Google Patents

Video encoding device Download PDF

Info

Publication number
JP5603747B2
JP5603747B2 JP2010255552A JP2010255552A JP5603747B2 JP 5603747 B2 JP5603747 B2 JP 5603747B2 JP 2010255552 A JP2010255552 A JP 2010255552A JP 2010255552 A JP2010255552 A JP 2010255552A JP 5603747 B2 JP5603747 B2 JP 5603747B2
Authority
JP
Japan
Prior art keywords
external memory
screen
unit
encoding
prediction
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.)
Active
Application number
JP2010255552A
Other languages
Japanese (ja)
Other versions
JP2012109699A (en
Inventor
信博 知原
昌史 高橋
宗明 山口
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 Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric 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 Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2010255552A priority Critical patent/JP5603747B2/en
Publication of JP2012109699A publication Critical patent/JP2012109699A/en
Application granted granted Critical
Publication of JP5603747B2 publication Critical patent/JP5603747B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は、動画像を符号化する映像符号化装置に関し、特に、DRAM(Dynamic Random Access Memory)を使用した外部メモリに、予測符号化技術における再構成画像やストリームをバッファリングする映像符号化装置に関する。   The present invention relates to a video encoding apparatus that encodes a moving image, and in particular, a video encoding apparatus that buffers a reconstructed image or a stream in a predictive encoding technique in an external memory using a DRAM (Dynamic Random Access Memory). About.

近年、ブロードバンドネットワークの発達による動画配信コンテンツの増加や、DVD(Digital Versatile Disc)などの大容量記憶媒体と大画面映像表示機器の利用などにより、動画符号化技術は必要不可欠な技術となっている。また、撮像デバイスや表示デバイスの高解像度化と共に、動画符号化技術において高解像度で符号化する技術も必要不可欠となっている。   In recent years, video coding technology has become an indispensable technology due to the increase in video distribution content due to the development of broadband networks and the use of large-capacity storage media such as DVD (Digital Versatile Disc) and large-screen video display devices. . In addition to the high resolution of the imaging device and the display device, a technology for encoding at a high resolution in the moving image encoding technology is indispensable.

たとえば高解像度かつ高画質な符号化が可能な動画符号化技術の一つとして、国際標準であるH.264/AVC(Advanced Video Coding)がある。符号化処理とは、入力画像である原画像を、より少ないデータ量のストリームに変換する処理である。H.264/AVC符号化方式では、画面内予測(フレーム内予測)や画面間予測(フレーム間予測)等の予測技術を用いた符号化を行う。   For example, as one of the moving image encoding technologies capable of encoding with high resolution and high image quality, the international standard H.264 is available. H.264 / AVC (Advanced Video Coding). The encoding process is a process of converting an original image that is an input image into a stream having a smaller data amount. H. In the H.264 / AVC encoding scheme, encoding is performed using a prediction technique such as intra-frame prediction (intra-frame prediction) and inter-frame prediction (inter-frame prediction).

ところで、H.264/AVC符号化で用いられる予測方式には、主に画面内予測と画面間予測の二つの予測方式がある。さらに、画面内予測では、予測の単位となるブロックのサイズや予測方向の組み合わせに応じて複数の予測方式が用意されている。画面間予測においても、予測の単位となるブロックのサイズに応じて複数の予測方式が用意されている。H.264/AVCでは、目標とする画質や符号量に応じてこれらの予測方式を動的に選択することで、高画質かつ高圧縮な符号化方式を実現している。   H. There are mainly two prediction methods used in H.264 / AVC encoding: intra prediction and inter prediction. Furthermore, in the intra prediction, a plurality of prediction methods are prepared according to combinations of block sizes and prediction directions serving as prediction units. Also in the inter-screen prediction, a plurality of prediction methods are prepared according to the size of a block which is a prediction unit. H. In H.264 / AVC, an encoding method with high image quality and high compression is realized by dynamically selecting these prediction methods according to the target image quality and code amount.

ここで、図9を用いて、H.264/AVC符号化の概要について説明する。図9は、H.264/AVC符号化処理を行う従来の映像符号化装置の構成を示す図である。   Here, referring to FIG. An outline of H.264 / AVC encoding will be described. FIG. 1 is a diagram illustrating a configuration of a conventional video encoding device that performs H.264 / AVC encoding processing.

画面内予測を用いた符号化処理では、モード選択部930が画面内予測部910側を選択する。そして、画面内予測部910、直交変換部940、量子化部950、および可変長符号化部980を経て原画像90からストリーム91を得る。また、画面間予測を用いた符号化処理では、モード選択部930が画面間予測部920側を選択する。そして、画面間予測部920、直交変換部940、量子化部950、および可変長符号化部980を経て、原画像90からストリーム91を得る。   In the encoding process using intra prediction, the mode selection unit 930 selects the intra prediction unit 910 side. Then, the stream 91 is obtained from the original image 90 through the intra-screen prediction unit 910, the orthogonal transform unit 940, the quantization unit 950, and the variable length coding unit 980. In the encoding process using inter-screen prediction, the mode selection unit 930 selects the inter-screen prediction unit 920 side. Then, the stream 91 is obtained from the original image 90 through the inter-screen prediction unit 920, the orthogonal transform unit 940, the quantization unit 950, and the variable length encoding unit 980.

次に、H.264/AVC符号化における各処理の内容を説明する。   Next, H.I. The contents of each process in H.264 / AVC encoding will be described.

画面内予測部910は、原画像90、および、逆直交変換部970から出力される復元差分画像97とモード選択部930によって出力される予測画像95とが足し合わされて構成される再構成画像92が入力される。そして、原画像90と、再構成画像92とから、画面内予測処理により適切な画面内予測モードを選択し、画面内予測モードのモード情報を表す画面内予測情報D81、予測結果である画面内予測画像93、および、原画像90と画面内予測画像93との差分を表す画面内予測誤差D82を生成する。   The intra-screen prediction unit 910 includes a reconstructed image 92 configured by adding the original image 90, the restored difference image 97 output from the inverse orthogonal transform unit 970, and the predicted image 95 output from the mode selection unit 930. Is entered. Then, an appropriate intra-screen prediction mode is selected from the original image 90 and the reconstructed image 92 by intra-screen prediction processing, and intra-screen prediction information D81 representing the mode information of the intra-screen prediction mode, and the intra-screen prediction result A predicted image 93 and an intra-screen prediction error D82 representing the difference between the original image 90 and the intra-screen predicted image 93 are generated.

画面間予測部920は、入力される原画像90とその前後(過去または未来)の原画像90とから生成された再構成画像92の入力を受け付け、画面間予測情報D83、画面間予測画像94、および、原画像90と画面間予測画像94との差分を表す画面間予測誤差D84を生成する。   The inter-screen prediction unit 920 receives input of the reconstructed image 92 generated from the input original image 90 and the original images 90 before and after (the past or the future), and receives the inter-screen prediction information D83 and the inter-screen prediction image 94. And an inter-screen prediction error D84 representing the difference between the original image 90 and the inter-screen prediction image 94 is generated.

符号化制御部990は、画面内予測部910から入力される画面内予測誤差D82、画面間予測部920から入力される画面間予測誤差D84、および可変長符号化部980から入力される符号量情報D86(後述)から、モード選択アルゴリズムに従い、画面内予測および画面間予測のいずれかの符号化モードを決定する。そして、決定した符号化モードを示すモード選択情報D87をモード選択部930に出力する。また、レート制御アルゴリズムに従い、量子化係数D88を決定し、量子化部950に出力する。   The encoding control unit 990 includes an intra-screen prediction error D82 input from the intra-screen prediction unit 910, an inter-screen prediction error D84 input from the inter-screen prediction unit 920, and a code amount input from the variable length encoding unit 980. From information D86 (described later), one of the encoding modes of intra prediction and inter prediction is determined according to the mode selection algorithm. Then, mode selection information D87 indicating the determined encoding mode is output to mode selection section 930. Further, the quantization coefficient D88 is determined according to the rate control algorithm and output to the quantization unit 950.

なお、モード選択アルゴリズムおよびレート制御アルゴリズムは、ストリーム91の符号量および画質に大きな影響を与える為、符号化対象となる原画像90の内容や映像符号化の用途によって様々な方式が存在している。   Note that the mode selection algorithm and the rate control algorithm greatly affect the code amount and image quality of the stream 91, and therefore there are various methods depending on the content of the original image 90 to be encoded and the purpose of video encoding. .

モード選択部930は、符号化制御部990から入力されたモード選択情報D87に従い、画面内予測部910が選択されている場合は画面内予測画像93を、画面間予測部920が選択されている場合は画面間予測画像94を、予測画像95として出力する。   In accordance with the mode selection information D87 input from the encoding control unit 990, the mode selection unit 930 selects the intra-screen prediction image 93 when the intra-screen prediction unit 910 is selected, and selects the inter-screen prediction unit 920. In this case, the inter-screen prediction image 94 is output as the prediction image 95.

直交変換部940は、原画像90と予測画像95との差分である差分画像96から、直交変換処理によって周波数成分D89を生成する。   The orthogonal transform unit 940 generates a frequency component D89 from the difference image 96 that is a difference between the original image 90 and the predicted image 95 by orthogonal transform processing.

量子化部950は、符号化制御部990から入力される量子化係数D88と、直交変換部940から入力される周波数成分D89とから量子化処理を行い、情報量を削減した量子化値D90を出力する。   The quantization unit 950 performs a quantization process from the quantization coefficient D88 input from the encoding control unit 990 and the frequency component D89 input from the orthogonal transform unit 940, and generates a quantization value D90 with a reduced amount of information. Output.

逆量子化部960は、量子化値D90に対して逆量子化処理を行い、復元周波数成分D91を生成する。   The inverse quantization unit 960 performs an inverse quantization process on the quantized value D90 to generate a restored frequency component D91.

逆直交変換部970は、復元周波数成分D91に対して逆直交変換処理を行い、復元差分画像97を生成する。そして、生成された復元差分画像97と、モード選択部930によって出力された予測画像95とが足し合わされて、再構成画像92として記憶される。   The inverse orthogonal transform unit 970 performs an inverse orthogonal transform process on the restored frequency component D91 to generate a restored difference image 97. Then, the generated restored difference image 97 and the predicted image 95 output by the mode selection unit 930 are added and stored as a reconstructed image 92.

可変長符号化部980は、量子化値D90と、画面内予測情報D81もしくは画面間予測情報D83を、より少ないデータ量のデータ列に符号化し、ストリーム91として出力する。また、符号量情報D86を符号化制御部990に出力する。符号量情報D86は可変長符号化後のストリーム91の符号量を示す情報である。   The variable length encoding unit 980 encodes the quantized value D90 and the intra-screen prediction information D81 or the inter-screen prediction information D83 into a data string having a smaller data amount, and outputs the data 91 as a stream 91. Also, the code amount information D86 is output to the encoding control unit 990. The code amount information D86 is information indicating the code amount of the stream 91 after variable length encoding.

なお、H.264/AVC符号化では、16×16の画素値で構成されるマクロブロック(以下、適宜「MB」と称する)を処理単位として符号化動作が行われる。処理画面中においてMBの処理対象となる領域は、処理画面の左上からラスタスキャン順に画面全体を一定間隔ごとに移動する。   H. In H.264 / AVC encoding, an encoding operation is performed using a macroblock (hereinafter, referred to as “MB” as appropriate) composed of 16 × 16 pixel values as a processing unit. In the processing screen, the area to be processed by the MB moves the entire screen at regular intervals in the raster scan order from the upper left of the processing screen.

ここで、映像符号化処理を実装する場合、一般に再構成画像92やストリーム91などの大容量データは外部メモリに書き出される。この外部メモリには、主に大容量かつ低コストなDRAMが利用されている。DRAMは、キャパシタに電荷を付加することで情報を記録する記録方式のメモリである。   Here, when the video encoding process is implemented, generally large-capacity data such as the reconstructed image 92 and the stream 91 is written to the external memory. As this external memory, a large-capacity and low-cost DRAM is mainly used. A DRAM is a recording-type memory that records information by adding a charge to a capacitor.

従って、DRAMではキャパシタは電荷が付加されてから一定時間で失われてしまい、記録された情報が消失してしまう可能性がある。そこで、DRAMには各キャパシタの値を読み出し再度上書きするリフレッシュと言う動作モードが用意されている。   Therefore, in the DRAM, the capacitor is lost in a certain time after the charge is added, and the recorded information may be lost. Therefore, the DRAM has an operation mode called refresh in which the value of each capacitor is read and overwritten again.

また、DRAMではキャパシタから電荷を読み出す際にもキャパシタに蓄えられていた電荷は失われてしまうため、読み出しと同時に自動的に読み出した情報を再書き込みする機能が備わっている。これにより、DRAM上に記録した情報は、キャパシタの電荷が失われる前に読み出すか、リフレッシュ動作を実行することで、消失を防ぐことができる。   In addition, since the charge stored in the capacitor is lost when the charge is read from the capacitor, the DRAM has a function of automatically rewriting the read information simultaneously with the reading. As a result, the information recorded on the DRAM can be prevented from disappearing by reading before the charge of the capacitor is lost or by performing a refresh operation.

しかし、リフレッシュ動作中は、DRAMへのアクセスが出来なくなる。そのため、リフレッシュを行うことで、DRAMの転送帯域が低下してしまうと言う問題があった。このような問題に対して、例えば、特許文献1のような技術が提案されている。特許文献1は、3次元コンピュータグラフィックスを行う画像処理装置に関するものである。   However, the DRAM cannot be accessed during the refresh operation. Therefore, there is a problem that the transfer bandwidth of the DRAM is reduced by performing the refresh. For such a problem, for example, a technique such as Patent Document 1 has been proposed. Patent Document 1 relates to an image processing apparatus that performs three-dimensional computer graphics.

特許文献1に記載の画像処理装置では、リフレッシュ中のDRAMへのアクセス禁止による影響でデータ転送速度が低下してしまうという問題を、データ転送を行わない水平帰線期間中にリフレッシュを行う方法によって解決している。また、この方法によって、定常動作中のメモリ帯域を削減することなくDRAM内のデータ消失を防ぎ、高速な画像処理を実現している。   In the image processing apparatus described in Patent Document 1, the problem that the data transfer speed is lowered due to the prohibition of access to the DRAM being refreshed is caused by a method of performing refresh during a horizontal blanking period in which data transfer is not performed. It has been solved. In addition, this method prevents data loss in the DRAM without reducing the memory bandwidth during steady operation and realizes high-speed image processing.

特開平6−251166号公報JP-A-6-251166

このように、特許文献1に記載の画像処理装置では、DRAMへのアクセスを行わない期間中にリフレッシュを行うことで、定常動作中のメモリ帯域を削減することなくDRAM上のデータ消失を防ぎ高速な画像処理を実現している。   As described above, in the image processing apparatus disclosed in Patent Document 1, refreshing is performed during a period in which access to the DRAM is not performed, thereby preventing data loss on the DRAM without reducing the memory bandwidth during steady operation. Image processing is realized.

また、その一方で、水平帰線期間や垂直帰線期間のサイクル数が短くなるような、より大きな画面サイズで符号化を行いたいと言う要望がある。   On the other hand, there is a demand for encoding with a larger screen size that shortens the number of cycles in the horizontal blanking period and the vertical blanking period.

しかしながら、特許文献1に開示のリフレッシュ方法は、水平帰線期間というDRAMへのアクセスを行わない期間があるために実現できる技術である。そのため、画面サイズがより大きいためにフレームレートを一定とすると水平帰線期間および垂直帰線期間が相対的に小さくなる場合や、帰線期間中に音声データの転送などの理由によりDRAMへのアクセスを行う為にデータ転送を行わない空き時間が少ない場合は、リフレッシュを行う時間を確保できず、DRAM上のデータ消失の問題を解決できなかった。   However, the refresh method disclosed in Patent Document 1 is a technique that can be realized because there is a period during which no access to the DRAM is performed, which is a horizontal blanking period. Therefore, if the frame rate is constant because the screen size is large, the horizontal blanking period and the vertical blanking period become relatively small, or access to the DRAM for reasons such as transfer of audio data during the blanking period. When there is little free time during which data transfer is not performed, the time for refresh cannot be secured and the problem of data loss on the DRAM cannot be solved.

そこで、本発明はこれらの課題に鑑みて、映像符号化装置においてリフレッシュを行う十分な時間が確保できないより大きな画面サイズの映像を符号化する場合においても、DRAM上のデータ消失を防止し、データの破綻を防止することが可能な映像符号化装置を提供することを目的としている。   Therefore, in view of these problems, the present invention prevents data loss on the DRAM even when encoding a video having a larger screen size that cannot secure sufficient time for refreshing in the video encoding device. An object of the present invention is to provide a video encoding device capable of preventing the failure of the video.

上記課題を解決するために、本発明は、入力される入力画像を画面内予測もしくは画面間予測によって符号化する映像符号化部と、前記映像符号化部における前記符号化において使用される使用データを、記録内容保持のためのリフレッシュを必要とする揮発性メモリである外部メモリに記録し、前記外部メモリをリフレッシュするメモリコントローラと、を有し、前記映像符号化部は、前記外部メモリとの間で前記使用データの転送を行わない空き時間に前記外部メモリのリフレッシュを行うことが可能か否かを判定する帯域判定手段と、前記帯域判定手段において前記外部メモリのリフレッシュを行うことができないと判定された場合に、前記使用データが前記外部メモリのリフレッシュサイクル以内に前記符号化において使用されるように前記画面内予測もしくは前記画面間予測における参照関係を設定する参照画面選択手段と、を有し、さらに、メモリコントローラは、前記帯域判定手段において前記外部メモリのリフレッシュを行うことが可能であると判定された場合には、前記空き時間内に前記外部メモリのリフレッシュを行うことを特徴とする映像符号化装置を提案する。   In order to solve the above problems, the present invention provides a video encoding unit that encodes an input image to be input by intra-screen prediction or inter-screen prediction, and usage data used in the encoding by the video encoding unit. And a memory controller for refreshing the external memory, and the video encoding unit is connected to the external memory. A bandwidth determination unit that determines whether or not the external memory can be refreshed in a free time during which the use data is not transferred between the first and second bandwidths; and the bandwidth determination unit cannot refresh the external memory. If determined, the usage data will be used in the encoding within the refresh cycle of the external memory. And a reference screen selection means for setting a reference relationship in the intra-screen prediction or the inter-screen prediction, and the memory controller is capable of refreshing the external memory in the bandwidth determination means. If it is determined, a video encoding device is proposed in which the external memory is refreshed within the idle time.

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

また、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できる画面サイズの映像の場合には、外部メモリのリフレッシュを行って符号化を行うことができる。   In addition, in the case of a video having a screen size that can secure a sufficient free time for refreshing in the horizontal blanking period or the vertical blanking period, the encoding can be performed by refreshing the external memory.

また、前記帯域判定手段は、前記入力画像を構成する画素のうち、前記入力画像の横の画素数と縦の画素数とに基づいて算出された算出値と、所定値とを比較し、前記算出値が前記所定値未満である場合には前記外部メモリのリフレッシュを行うことが可能であると判定し、前記算出値が前記所定値以上である場合には前記外部メモリのリフレッシュを行うことができないと判定するようになっていてもよい。   In addition, the band determination unit compares a calculated value calculated based on the number of horizontal pixels and the number of vertical pixels of the input image among the pixels constituting the input image with a predetermined value, When the calculated value is less than the predetermined value, it is determined that the external memory can be refreshed. When the calculated value is equal to or larger than the predetermined value, the external memory is refreshed. You may come to judge that it is not possible.

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

本発明によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to the present invention, refresh is not required by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

第1の実施形態に係る映像符号化装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the video coding apparatus which concerns on 1st Embodiment. 第1の実施形態に係る映像符号化部110の構成例を示すブロック図である。It is a block diagram which shows the structural example of the video encoding part 110 which concerns on 1st Embodiment. 第1の実施形態に係る符号化制御部200の構成例を示すブロック図である。It is a block diagram which shows the structural example of the encoding control part 200 which concerns on 1st Embodiment. 第1の実施形態に係る帯域判定部310の構成例を示すブロック図である。It is a block diagram which shows the structural example of the band determination part 310 which concerns on 1st Embodiment. リフレッシュが必要となる参照関係の一例を示す図である。It is a figure which shows an example of the reference relationship which needs refreshing. リフレッシュが不要となる参照関係の一例を示す図である。It is a figure which shows an example of the reference relationship from which a refresh is unnecessary. 符号量制御部330において実行されるレート制御の概念を説明する図である。It is a figure explaining the concept of the rate control performed in the code amount control part. 1MB処理時間内にメモリコントローラ290が外部メモリ120に発行可能なコマンド列を示した図である。FIG. 4 is a diagram showing a command sequence that can be issued to the external memory 120 by the memory controller 290 within 1 MB processing time. 第2の実施形態に係る帯域判定部310の構成例を示すブロック図である。It is a block diagram which shows the structural example of the band determination part 310 which concerns on 2nd Embodiment. 従来の映像符号化装置の構成を示す図である。It is a figure which shows the structure of the conventional video coding apparatus.

以下、本発明の実施形態について、図面を参照しながら説明する。なお、以下の説明において参照する各図では、他の図と同等部分は同一符号によって示される。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings referred to in the following description, the same parts as those in the other drawings are denoted by the same reference numerals.

[第1の実施形態]
(映像符号化装置の構成)
以下に、本実施形態に係る映像符号化装置の構成を説明する。図1は、本実施形態に関る映像符号化装置の構成例を示すブロック図である。
[First Embodiment]
(Configuration of video encoding device)
The configuration of the video encoding device according to this embodiment will be described below. FIG. 1 is a block diagram illustrating a configuration example of a video encoding apparatus according to the present embodiment.

図1に示される映像符号化装置1は、映像符号化部110と、外部メモリ120と、映像符号化部110と外部メモリ120とを接続するメモリバス130とを含んで構成される。   A video encoding device 1 shown in FIG. 1 includes a video encoding unit 110, an external memory 120, and a memory bus 130 that connects the video encoding unit 110 and the external memory 120.

映像符号化部110は、映像符号化装置1の外部からの原画像10と符号化設定情報S1との入力を受け付け、ストリーム11を出力する。符号化設定情報S1は、映像符号化部110の動作を制御するための情報である。また、符号化設定情報S1は、符号量制御設定情報D25やモード選択設定情報D24や参照画面設定情報D23、映像情報D21を含むものである。   The video encoding unit 110 receives an input of the original image 10 and the encoding setting information S1 from the outside of the video encoding device 1, and outputs a stream 11. The encoding setting information S <b> 1 is information for controlling the operation of the video encoding unit 110. The encoding setting information S1 includes code amount control setting information D25, mode selection setting information D24, reference screen setting information D23, and video information D21.

外部メモリ120は、記録内容保持のためのリフレッシュを必要とする揮発性メモリである。本実施形態においては、外部メモリ120は、DRAMによって実装されるものとする。外部メモリ120は、後述するように、メモリバス130を経由して、映像符号化部110から出力される再構成画像12、画面間予測画像14、ストリーム11などをバッファリングする。   The external memory 120 is a volatile memory that needs to be refreshed for holding recorded contents. In the present embodiment, the external memory 120 is implemented by a DRAM. As will be described later, the external memory 120 buffers the reconstructed image 12, the inter-screen predicted image 14, the stream 11, and the like output from the video encoding unit 110 via the memory bus 130.

なお、映像符号化装置1は、図示しないCPU(Central Processing Unit)、RAM(Random Access Memory)等のメモリ、ハードディスク等の記憶装置、ネットワークインターフェイス等の一般的なコンピュータの構成と同様の構成により実現される。また、映像符号化装置1の各構成の機能は、例えば、CPUがハードディスク等に記憶されているプログラムを読み出して実行することにより、もしくは、例えば、FPGA(Field Programmable Gate Array)においてシーケンサロジックをカスタム設計することに実現される機能である。   The video encoding device 1 is realized by a configuration similar to that of a general computer such as a memory (not shown) such as a CPU (Central Processing Unit) and a RAM (Random Access Memory), a storage device such as a hard disk, and a network interface. Is done. The function of each component of the video encoding device 1 is, for example, when the CPU reads and executes a program stored in a hard disk or the like, or for example, customizable sequencer logic in an FPGA (Field Programmable Gate Array) It is a function realized by designing.

(映像符号化部110の構成)
以下、映像符号化部110の各構成について説明する。図2は、映像符号化部110の構成例を示す図である。
(Configuration of Video Encoding Unit 110)
Hereinafter, each configuration of the video encoding unit 110 will be described. FIG. 2 is a diagram illustrating a configuration example of the video encoding unit 110.

映像符号化部110は、符号化制御部200、画面内予測部210、画面間予測部220、モード選択部230、直交変換部240、量子化部250、逆量子化部260、逆直交変換部270、可変長符号化部280、メモリコントローラ290を含んで構成される。   The video encoding unit 110 includes an encoding control unit 200, an intra-screen prediction unit 210, an inter-screen prediction unit 220, a mode selection unit 230, an orthogonal transform unit 240, a quantization unit 250, an inverse quantization unit 260, and an inverse orthogonal transform unit. 270, a variable length coding unit 280, and a memory controller 290.

ここで、符号化制御部200とメモリコントローラ290以外の構成については、図9に示される従来の映像符号化装置の各構成と同様の機能を有する。以下の説明においては、従来技術と同様部分については適宜、説明を簡略化する。   Here, the components other than the encoding control unit 200 and the memory controller 290 have the same functions as the components of the conventional video encoding device shown in FIG. In the following description, the description of the same parts as in the prior art will be simplified as appropriate.

画面内予測部210は、原画像10と再構成画像12との入力を受け付け、複数の画面内予測モードを評価する。そして、最も予測符号量が小さかった画面内予測モードにおける画面内予測符号量D2を符号化制御部200に、その画面内予測モードD1を可変長符号化部280に、画面内予測画像13をモード選択部230に出力する。   The intra-screen prediction unit 210 receives input of the original image 10 and the reconstructed image 12 and evaluates a plurality of intra-screen prediction modes. Then, the intra prediction code amount D2 in the intra prediction mode with the smallest prediction code amount is set to the encoding control unit 200, the intra prediction mode D1 is set to the variable length encoding unit 280, and the intra prediction image 13 is set to the mode. The data is output to the selection unit 230.

画面間予測部220は、メモリコントローラ290から再構成画像12が、映像符号化部110の外部から原画像10が入力される。そして、複数の画面間予測モードを評価する。その結果、最も予測符号量の小さかった画面間予測モードにおける画面間予測符号量D4を符号化制御部200に、その画面間予測モードD3を可変長符号化部280に、画面間予測画像14をメモリコントローラ290に出力する。   The inter-screen prediction unit 220 receives the reconstructed image 12 from the memory controller 290 and the original image 10 from the outside of the video encoding unit 110. Then, a plurality of inter-screen prediction modes are evaluated. As a result, the inter-screen prediction code amount D4 in the inter-screen prediction mode with the smallest prediction code amount is stored in the encoding control unit 200, the inter-screen prediction mode D3 is stored in the variable length encoding unit 280, and the inter-screen prediction image 14 is displayed. Output to the memory controller 290.

モード選択部230は、画面内予測部210からは画面内予測画像13が、メモリコントローラ290からは画面間予測画像14が、符号化制御部200からはモード選択信号D7が入力される。モード選択信号D7は、図9におけるモード選択情報D87と同様の情報である。そして、モード選択部230は、モード選択信号D7に従って、画面内予測画像13もしくは画面間予測画像14を予測画像15として出力する。   The mode selection unit 230 receives the intra-screen prediction image 13 from the intra-screen prediction unit 210, the inter-screen prediction image 14 from the memory controller 290, and the mode selection signal D7 from the encoding control unit 200. The mode selection signal D7 is the same information as the mode selection information D87 in FIG. Then, the mode selection unit 230 outputs the intra-screen prediction image 13 or the inter-screen prediction image 14 as the prediction image 15 in accordance with the mode selection signal D7.

直交変換部240は、予測画像15と原画像10との差分となる差分画像16に対して直交変換処理を行い、周波数成分D9を出力する。   The orthogonal transform unit 240 performs an orthogonal transform process on the difference image 16 that is a difference between the predicted image 15 and the original image 10, and outputs a frequency component D9.

量子化部250は、符号化制御部200からは量子化パラメータD8が、直交変換部240からは周波数成分D9が入力される。量子化パラメータD8は、図9における量子化係数D88と同様の情報である。そして量子化部250は、量子化パラメータD8と周波数成分D9とから量子化を行い、量子化値D10を出力する
可変長符号化部280は、量子化部250からは量子化値D10が、画面内予測部210からは画面内予測モードD1が、画面間予測部220からは画面間予測モードD3が入力される。そして、可変長符号化を行い、ストリーム11をメモリコントローラ290に、符号量情報D6を符号化制御部200に、出力する。符号量情報D6は、図9の符号量情報D86と同様の情報である。
The quantization unit 250 receives the quantization parameter D8 from the encoding control unit 200 and the frequency component D9 from the orthogonal transform unit 240. The quantization parameter D8 is the same information as the quantization coefficient D88 in FIG. The quantization unit 250 quantizes the quantization parameter D8 and the frequency component D9, and outputs the quantization value D10. The variable length encoding unit 280 receives the quantization value D10 from the quantization unit 250. An intra-screen prediction mode D1 is input from the intra-prediction unit 210, and an inter-screen prediction mode D3 is input from the inter-screen prediction unit 220. Then, variable length encoding is performed, and the stream 11 is output to the memory controller 290 and the code amount information D6 is output to the encoding control unit 200. The code amount information D6 is the same information as the code amount information D86 of FIG.

逆量子化部260は、量子化部250から量子化値D10が入力され、逆量子化して復元周波数成分D11を出力する。   The inverse quantization unit 260 receives the quantized value D10 from the quantization unit 250, performs inverse quantization, and outputs a restored frequency component D11.

逆直交変換部270は、逆量子化部260から復元周波数成分D11が入力され、復元差分画像17を出力する。   The inverse orthogonal transform unit 270 receives the restoration frequency component D11 from the inverse quantization unit 260 and outputs the restoration difference image 17.

また、逆直交変換部270から出力された復元差分画像17と、モード選択部230から出力された予測画像15は、それらの和を取って再構成画像12とされる。   In addition, the restored differential image 17 output from the inverse orthogonal transform unit 270 and the predicted image 15 output from the mode selection unit 230 are summed to form the reconstructed image 12.

メモリコントローラ290は、再構成画像12と、画面間予測部220から出力される画面間予測画像14とを、メモリバス130経由で外部メモリ120に書き込む。また、可変長符号化部280から出力されるストリーム11をメモリバス130経由で外部に出力する。また、データ転送が行われない空き時間には外部メモリ120に対してリフレッシュコマンドを発行する。   The memory controller 290 writes the reconstructed image 12 and the inter-screen prediction image 14 output from the inter-screen prediction unit 220 to the external memory 120 via the memory bus 130. Also, the stream 11 output from the variable length encoding unit 280 is output to the outside via the memory bus 130. In addition, a refresh command is issued to the external memory 120 during idle time when data transfer is not performed.

その後、メモリコントローラ290は、符号化制御部200から参照関係設定情報D12が入力される。そして、映像符号化処理の進捗に合わせて、画面間予測部220には再構成画像12を、モード選択部230には画面間予測画像14を、映像符号化部110の外部にはストリーム11を、外部メモリ120から、それぞれ読み出す。参照関係設定情報D12については、後に詳述する。   Thereafter, the memory controller 290 receives the reference relationship setting information D12 from the encoding control unit 200. In accordance with the progress of the video encoding process, the reconstructed image 12 is displayed in the inter-screen prediction unit 220, the inter-screen prediction image 14 is displayed in the mode selection unit 230, and the stream 11 is output outside the video encoding unit 110. , Read from the external memory 120, respectively. The reference relationship setting information D12 will be described in detail later.

符号化制御部200は、映像符号化部110の外部からは符号化設定情報S1が、画面内予測部210からは画面内予測符号量D2が、画面間予測部220からは画面間予測符号量D4が、可変長符号化部280からは符号量情報D6が入力される。また、符号化制御部200は、参照関係設定情報D12、モード選択信号D7、および量子化パラメータD8を出力する。符号化制御部200の構成については、後に詳述する。   The encoding control unit 200 includes encoding setting information S1 from the outside of the video encoding unit 110, an intra-screen prediction code amount D2 from the intra-screen prediction unit 210, and an inter-screen prediction code amount from the inter-screen prediction unit 220. The code amount information D6 is input from the variable length encoding unit 280 to D4. Also, the encoding control unit 200 outputs reference relationship setting information D12, a mode selection signal D7, and a quantization parameter D8. The configuration of the encoding control unit 200 will be described in detail later.

(符号化制御部200の構成)
以下、符号化制御部200に関して詳細に説明する。図3は、本実施形態に係る符号化制御部200の構成例を示す図である。
(Configuration of Encoding Control Unit 200)
Hereinafter, the encoding control unit 200 will be described in detail. FIG. 3 is a diagram illustrating a configuration example of the encoding control unit 200 according to the present embodiment.

符号化制御部200は、帯域判定部310、参照画面選択部320、符号量制御部330、モード選択部340、設定レジスタ350を含んで構成される。   The encoding control unit 200 includes a band determination unit 310, a reference screen selection unit 320, a code amount control unit 330, a mode selection unit 340, and a setting register 350.

帯域判定部310は、外部メモリ120と符号化制御部200との間で映像符号化部110における符号化において使用される使用データの転送を行わない空き時間に外部メモリ120のリフレッシュを行うことが可能か否かを判定する。   The band determination unit 310 can refresh the external memory 120 between the external memory 120 and the encoding control unit 200 in a free time during which use data used for encoding in the video encoding unit 110 is not transferred. Determine whether it is possible.

具体的には、例えば、設定レジスタ350から出力される映像情報D21から、メモリコントローラ290と外部メモリ120との間で使用される帯域(すなわち、データ転送率)を、後述する帯域判定アルゴリズムを用いて算出する。この算出された帯域に基づいて、外部メモリ120のリフレッシュを行うだけの空き時間がある場合は帯域判定信号D22を“1”、リフレッシュを行うだけの空き時間が無い場合は帯域判定信号D22を“0”として出力する。   Specifically, for example, from the video information D21 output from the setting register 350, a band (that is, a data transfer rate) used between the memory controller 290 and the external memory 120 is used using a band determination algorithm described later. To calculate. Based on the calculated bandwidth, the bandwidth determination signal D22 is set to “1” when there is free time sufficient to refresh the external memory 120, and the bandwidth determination signal D22 is set to “1” when there is no free time sufficient to perform refresh. Output as 0 ".

また、帯域判定部310は、原画像10を構成する画素のうち、原画像10の横の画素数と縦の画素数とに基づいて算出された算出値と、所定値とを比較し、算出値が所定値未満である場合には外部メモリ120のリフレッシュを行うことが可能であると判定し、算出値が所定値以上である場合には外部メモリ120のリフレッシュを行うことができないと判定するようになっていてもよい。   In addition, the band determination unit 310 compares the calculated value calculated based on the number of horizontal pixels and the number of vertical pixels of the original image 10 among the pixels constituting the original image 10 with a predetermined value to calculate When the value is less than the predetermined value, it is determined that the external memory 120 can be refreshed, and when the calculated value is greater than or equal to the predetermined value, it is determined that the external memory 120 cannot be refreshed. It may be like this.

また、帯域判定部310は、原画像10を構成する画素のうち、原画像10の横の画素数と縦の画素数とに基づいて算出された算出値と所定値との比較に加えて、原画像10の画素ビット深度、もしくは原画像10の輝度成分および色差成分とにも基づいて、外部メモリ120のリフレッシュを行うことが可能か否かを判定するようになっていてもよい。   In addition, the band determination unit 310 compares the calculated value calculated based on the number of horizontal pixels and the number of vertical pixels of the original image 10 among the pixels constituting the original image 10 with a predetermined value, Whether or not the external memory 120 can be refreshed may be determined based on the pixel bit depth of the original image 10 or the luminance component and color difference component of the original image 10.

帯域判定部310における処理については、後に詳述する。   The processing in the band determination unit 310 will be described in detail later.

参照画面選択部320は、帯域判定部310からは帯域判定信号D22が、設定レジスタ350からは参照画面設定情報D23が入力され、参照関係設定情報D12を出力する。   The reference screen selection unit 320 receives the band determination signal D22 from the band determination unit 310, the reference screen setting information D23 from the setting register 350, and outputs the reference relationship setting information D12.

参照画面選択部320は、帯域判定部310において外部メモリ120のリフレッシュを行うことができないと判定された場合に、映像符号化部110における符号化において使用される使用データが外部メモリ120のリフレッシュサイクル以内に符号化において使用されるように、画面内予測もしくは画面間予測における参照関係を設定する。   When the bandwidth determination unit 310 determines that the external memory 120 cannot be refreshed, the reference screen selection unit 320 uses the data used for encoding in the video encoding unit 110 as a refresh cycle of the external memory 120. The reference relationship in the intra prediction or inter prediction is set so that it is used in the encoding within a predetermined time.

参照画面選択部320における処理については、後に詳述する。   The processing in the reference screen selection unit 320 will be described in detail later.

なお、メモリコントローラ290は、帯域判定部310において外部メモリ120のリフレッシュを行うことが可能であると判定された場合には、データの転送を行わない空き時間内に外部メモリ120のリフレッシュを行う。   If the bandwidth determination unit 310 determines that the external memory 120 can be refreshed, the memory controller 290 refreshes the external memory 120 within a free time during which no data is transferred.

モード選択部340は、画面内予測部210と画面間予測部220からは、それぞれ画面内予測符号量D2と画面間予測符号量D4が、設定レジスタ350からはモード選択設定情報D24が入力され、モード選択信号D7を出力する。モード選択信号D7は、図9におけるモード選択情報D87と同様の情報であり、モード選択部340における処理は、従来の一般的な映像符号化装置における処理と同様である。   The mode selection unit 340 receives the intra-screen prediction code amount D2 and the inter-screen prediction code amount D4 from the intra-screen prediction unit 210 and the inter-screen prediction unit 220, respectively, and the mode selection setting information D24 from the setting register 350. A mode selection signal D7 is output. The mode selection signal D7 is the same information as the mode selection information D87 in FIG. 9, and the processing in the mode selection unit 340 is the same as the processing in the conventional general video encoding device.

符号量制御部330は、可変長符号化部280から符号量情報D6が、設定レジスタ350から符号量制御設定情報D25が、帯域判定部310から帯域判定信号D22が入力され、量子化パラメータD8を出力する。量子化パラメータD8は、図9における量子化係数D88と同様の情報であり、符号量制御部330における処理は、従来の一般的な映像符号化装置における処理と同様である。   The code amount control unit 330 receives the code amount information D6 from the variable length coding unit 280, the code amount control setting information D25 from the setting register 350, and the band determination signal D22 from the band determination unit 310, and sets the quantization parameter D8. Output. The quantization parameter D8 is the same information as the quantization coefficient D88 in FIG. 9, and the processing in the code amount control unit 330 is the same as the processing in the conventional general video encoding device.

具体的には、符号量制御部330は、画面内予測もしくは画面間予測によって生成される予測画像15と原画像10との差分である差分画像16の周波数成分に対して実行される量子化部250における量子化処理に関するレート制御を行う。また、符号量制御部330は、帯域判定部310において外部メモリ120のリフレッシュを行うことができないと判定された場合には、目標ビットレートと外部メモリ120のリフレッシュサイクルとに基づいてレート制御を行う。   Specifically, the code amount control unit 330 is a quantization unit that is executed on the frequency component of the difference image 16 that is the difference between the prediction image 15 generated by intra prediction or inter prediction and the original image 10. Rate control regarding quantization processing at 250 is performed. Further, the code amount control unit 330 performs rate control based on the target bit rate and the refresh cycle of the external memory 120 when the band determination unit 310 determines that the external memory 120 cannot be refreshed. .

符号量制御部330における処理については、後に詳述する。   The processing in the code amount control unit 330 will be described in detail later.

設定レジスタ350は、映像符号化部110の外部から入力される符号化設定情報S1を記録し、モード選択設定情報D24、映像情報D21、参照画面設定情報D23、符号量制御設定情報D25を出力する。具体的には、設定レジスタ350は、符号化設定情報S1について、種類ごとの設定情報に分類し、モード選択設定情報D24、映像情報D21、参照画面設定情報D23、符号量制御設定情報D25を出力する。   The setting register 350 records encoding setting information S1 input from the outside of the video encoding unit 110, and outputs mode selection setting information D24, video information D21, reference screen setting information D23, and code amount control setting information D25. . Specifically, the setting register 350 classifies the coding setting information S1 into setting information for each type, and outputs mode selection setting information D24, video information D21, reference screen setting information D23, and code amount control setting information D25. To do.

(帯域判定アルゴリズム)
ここで、帯域判定部310で用いられる帯域判定アルゴリズムの概念について、具体例を挙げて説明する。
(Bandwidth determination algorithm)
Here, the concept of the band determination algorithm used in the band determination unit 310 will be described with a specific example.

本実施形態においては、前提条件を以下の通りとする。すなわち、映像符号化装置1は、原画像10が画面横1280画素、画面縦720画素、フレームレートが60のプログレッシブ映像である場合に、水平帰線期間および垂直帰線期間内に1フレーム当たり4000回のリフレッシュコマンドを発行するだけの空き時間を確保しているとする。   In the present embodiment, the preconditions are as follows. That is, when the original image 10 is a progressive video having a screen width of 1280 pixels, a screen height of 720 pixels, and a frame rate of 60, the video encoding device 1 has 4000 per frame within the horizontal blanking period and the vertical blanking period. It is assumed that there is enough free time to issue one refresh command.

一方で、使用している外部メモリ120は、データを保持し続けるためにはリフレッシュサイクルである64ms(マイクロ秒。以下同様。)の間に8192回以上のリフレッシュコマンドの発行が必要であるとする。また、1MB(マクロブロック。以下同様。)処理サイクル中にリフレッシュコマンドは最大8回発行可能であるとする。   On the other hand, it is assumed that the external memory 120 being used needs to issue refresh commands at least 8192 times during a refresh cycle of 64 ms (microseconds; the same applies hereinafter) in order to keep holding data. . Further, it is assumed that a refresh command can be issued a maximum of 8 times during a 1 MB (macroblock, the same applies hereinafter) processing cycle.

以上の条件の元で、映像符号化装置1に入力される映像の画面が、横1920画素、縦1088画素、フレームレートが30のインタレース映像となった場合の帯域判定方法を以下に示す。   A band determination method in the case where the video screen input to the video encoding device 1 is an interlaced video image having a horizontal size of 1920 pixels, a vertical length of 1088 pixels, and a frame rate of 30 under the above conditions will be described below.

まず、外部メモリ120のデータを保持しながら、画面横1280画素、画面縦720画素、フレームレートが60のプログレッシブ映像から、処理マクロブロック数をどれだけ増やすことが可能であるかを示すリフレッシュ許容増加マクロブロック数を計算する。   First, while maintaining the data in the external memory 120, a refresh allowable increase indicating how much the number of processing macroblocks can be increased from a progressive video with a screen width of 1280 pixels, a screen height of 720 pixels, and a frame rate of 60 Calculate the number of macroblocks.

リフレッシュ許容増加マクロブロック数は、以下の計算式によって求められる。

720p空き時間MB処理回数−必要リフレッシュ回数/1MB当たりのリフレッシュコマンド発行可能回数(式(1))

ここで、「720p空き時間MB処理回数」は、本例のプログレッシブ映像において1秒間のうちMB処理を行っていない水平帰線期間および垂直帰線期間の間に処理可能なマクロブロックの総数である。よって、リフレッシュ許容増加マクロブロック数は、4000×60/8−8192×1000/64/8=30000−16000=14000MB、となる。
The refresh allowable increase macroblock number is obtained by the following calculation formula.

720p free time MB processing count−required refresh count / refresh command issuable count per 1 MB (formula (1))

Here, “720p free time MB processing count” is the total number of macroblocks that can be processed during the horizontal blanking period and the vertical blanking period in which MB processing is not performed in one second in the progressive video of this example. . Accordingly, the refresh allowable increase macroblock number is 4000 × 60 / 8-8192 × 1000/64/8 = 30000-16000 = 14000 MB.

次に、外部メモリ120のデータを保持しながら許容できる1フレーム当たりの処理マクロブロック数(以下、許容処理MB数という)を計算する。許容処理MB数は、以下の計算式によって求められる。(なお、マクロブロックは、16×16の画素値で構成される。)

720pMB処理数+リフレッシュ許容増加マクロブロック数(式(2))

ここで、「720pMB処理数」は、本例のプログレッシブ映像において1秒間に処理されるマクロブロックの総数である。また、リフレッシュ許容増加マクロブロック数は、前述したように、140000MBである。よって、許容処理MB数の上限値(以下、リフレッシュ許容マクロブロック数上限値という)は、1280/16×720/16×60+14000=216000+14000=230000MB(式(3))、となる。
Next, the number of processing macro blocks per frame that can be allowed while holding the data in the external memory 120 (hereinafter referred to as the number of allowable processing MBs) is calculated. The allowable processing MB number is obtained by the following calculation formula. (Note that a macroblock is composed of 16 × 16 pixel values.)

720 pMB processing number + refresh allowable increase macroblock number (formula (2))

Here, “720 pMB processing count” is the total number of macroblocks processed per second in the progressive video of this example. Further, the refresh allowable increase macroblock number is 140000 MB as described above. Therefore, the upper limit value of the allowable processing MB number (hereinafter referred to as the upper limit value of the refresh allowable macro block number) is 1280/16 × 720/16 × 60 + 14000 = 2216 + 14000 = 230,000 MB (formula (3)).

次に、画面横1920画素、画面縦1088画素、フレームレートが30のインタレース映像では、720iMB処理数(本例のインタレース映像において1秒間に処理されるマクロブロックの総数)は、1920/16×1088/16×60/2=244800と計算される。   Next, in the case of interlaced video with a screen width of 1920 pixels, a screen height of 1088 pixels, and a frame rate of 30, the number of 720 iMB processes (the total number of macroblocks processed in one second in the interlaced video in this example) is 1920/16. * 1088/16 * 60/2 = 244800 is calculated.

ここで、リフレッシュ許容マクロブロック数上限値は、前述したように、230000MBであり、244800MBはこれを上回るMB数となる。よって、横1920画素、縦1088画素、ピクチャーレートが60(フレームレートが30)のインタレース映像はリフレッシュが出来ないという判定となる。よって、この場合は、帯域判定信号D22として“0”の値が帯域判定部310から出力される。   Here, as described above, the upper limit of the number of refresh allowable macroblocks is 230000 MB, and 244800 MB is the number of MBs exceeding this. Therefore, it is determined that the interlaced video having the horizontal 1920 pixels, the vertical 1088 pixels, and the picture rate 60 (frame rate 30) cannot be refreshed. Therefore, in this case, a value “0” is output from the band determination unit 310 as the band determination signal D22.

(帯域判定部310)
以下、前述の帯域判定アルゴリズムが実装された帯域判定部310の構成について説明する。図4は、本実施形態に係る帯域判定部310の構成例を示す図である。
(Bandwidth determination unit 310)
Hereinafter, the configuration of the band determination unit 310 in which the above-described band determination algorithm is implemented will be described. FIG. 4 is a diagram illustrating a configuration example of the band determination unit 310 according to the present embodiment.

帯域判定部310は、映像の画面横MB数32、画面縦MB数33、フィールドレート31からなる映像情報D21が入力される。そして、前述の帯域判定アルゴリズムに従った判定を行い、帯域判定信号D22を出力する。   The bandwidth determination unit 310 receives video information D21 including a screen horizontal MB number of 32, a screen vertical MB number of 33, and a field rate of 31. Then, determination according to the above-described band determination algorithm is performed, and a band determination signal D22 is output.

なお、インタレース映像での画面縦MB数33は、プログレッシブ映像での同じ画面サイズの画面縦MB数33の半分の値になっているものとする。   Note that the screen length MB number 33 in the interlaced video is half the value of the screen length MB number 33 of the same screen size in the progressive video.

図4の乗算器3110は、上記式(2)に従って、画面横MB数32と、画面縦MB数33と、フィールドレート31の3つの値を乗算し、乗算した結果を許容処理MB数D31として出力する。   The multiplier 3110 of FIG. 4 multiplies three values of the screen horizontal MB number 32, the screen vertical MB number 33, and the field rate 31 according to the above equation (2), and the result of multiplication is set as the allowable processing MB number D31. Output.

比較器3120は、出力された許容処理MB数D31と、リフレッシュ許容マクロブロック数上限値34とを比較して、許容処理MB数D31がリフレッシュ許容マクロブロック数上限値34よりも小さければ“1”を、許容処理MB数D31がリフレッシュ許容マクロブロック数上限値34以上であれば“0”を帯域判定信号D22として帯域判定部310外部に出力する。なお、リフレッシュ許容マクロブロック数上限値34には、例えば、前述の式(3)で求められる定数値“230000”が割り当てられる。   The comparator 3120 compares the output allowable processing MB count D31 with the refresh allowable macroblock count upper limit 34, and if the allowable processing MB count D31 is smaller than the refresh allowable macroblock count upper limit 34, “1” is output. When the allowable processing MB number D31 is equal to or greater than the refresh allowable macroblock number upper limit 34, “0” is output to the outside of the band determination unit 310 as the band determination signal D22. The refresh allowable macroblock number upper limit 34 is assigned, for example, the constant value “230,000” obtained by the above-described equation (3).

(参照画面選択部320)
以下に、参照画面選択部320の構成を説明する。
(Reference screen selection unit 320)
The configuration of the reference screen selection unit 320 will be described below.

参照画面選択部320は、帯域判定部310からは帯域判定信号D22が、設定レジスタ350からは参照画面設定情報D23が入力され、参照関係設定情報D12を出力する。   The reference screen selection unit 320 receives the band determination signal D22 from the band determination unit 310, the reference screen setting information D23 from the setting register 350, and outputs the reference relationship setting information D12.

具体的には、帯域判定信号D22の値が“1”の場合は、参照関係設定情報D12には、設定レジスタ350から入力された参照画面設定情報D23に従った参照関係が設定される。帯域判定信号D22の値が“0”の場合は、参照関係設定情報D12には、リフレッシュが不要となるような参照関係が設定される。   Specifically, when the value of the band determination signal D22 is “1”, the reference relationship according to the reference screen setting information D23 input from the setting register 350 is set in the reference relationship setting information D12. When the value of the band determination signal D22 is “0”, a reference relationship that does not require refreshing is set in the reference relationship setting information D12.

図5−1は、リフレッシュを必要とする参照関係の一例を示す図である。図5−1に示した参照関係では、トップフィールドとGOP(Group Of Pictures)先頭のフレームのボトムフィールドは常にGOP先頭のフレームのトップフィールドを、ボトムフィールドは常にGOP先頭のフレームのボトムフィールドを参照する関係となる。
図5−2は、リフレッシュが不要となる参照関係の一例を示す図である。図5−2に示される参照関係では、トップフィールドは常に1つ前のフレームのトップフィールドを、ボトムフィールドは常に直前のトップフィールドを参照する関係となる。
FIG. 5A is a diagram illustrating an example of a reference relationship that requires refresh. In the reference relationship shown in FIG. 5A, the top field and the bottom field of the first frame of the GOP (Group Of Pictures) always refer to the top field of the first frame of the GOP, and the bottom field always refers to the bottom field of the first frame of the GOP. It becomes a relationship.
FIG. 5B is a diagram illustrating an example of a reference relationship that does not require refreshing. In the reference relationship shown in FIG. 5B, the top field always refers to the top field of the previous frame, and the bottom field always refers to the immediately preceding top field.

フィールドレートが“60”の場合は1フィールドの処理時間が16.6msとなる。そのため、図5−1に示される参照関係では、フィールド番号“4”以降のフィールドでは、参照先がリフレッシュサイクル64ms以内に存在するフィールドとはならず、リフレッシュが必要となる。一方で、図5−2に示す参照関係では、参照先は常にリフレッシュサイクル64ms以内に存在するフィールドとなり、リフレッシュが不要となる。   When the field rate is “60”, the processing time for one field is 16.6 ms. For this reason, in the reference relationship shown in FIG. 5A, in the fields after the field number “4”, the reference destination does not exist within the refresh cycle of 64 ms, and refresh is required. On the other hand, in the reference relationship shown in FIG. 5B, the reference destination is a field that always exists within the refresh cycle of 64 ms, and refresh is not required.

すなわち、図5−2に例示するようなリフレッシュが不要となる参照関係を強制的に適用することで、符号化処理に十分な外部メモリ帯域を確保し、データの破綻の無い符号化を行うことができる。   That is, by forcibly applying a reference relationship that does not require refresh as illustrated in FIG. 5-2, a sufficient external memory bandwidth is ensured for encoding processing, and encoding without data corruption is performed. Can do.

なお、リフレッシュを不要とする場合に適用される参照関係は、図5−2に示される参照関係に限定されるものではない。いずれの再構成画像もリフレッシュサイクル以内に参照されるか上書きされる、もしくはリフレッシュサイクル経過後は参照されない為にリフレッシュの必要が無い、という条件を満たすならば、用途や目的に応じて適切な参照関係を設定することができる。   Note that the reference relationship applied when the refresh is unnecessary is not limited to the reference relationship shown in FIG. If any reconstructed image is referenced or overwritten within the refresh cycle, or if it does not need to be refreshed because it is not referenced after the refresh cycle has passed, the appropriate reference can be made according to the application and purpose. Relationships can be set.

(符号量制御部330)
図6は、符号量制御部330において実行されるレート制御の概念を説明する図である。図6に示されるグラフにおいて、縦軸は符号量制御用のバッファ(以下、「符号量制御バッファ」という)の使用量を示し、横軸は時間を示す。すなわち、図6のグラフにおける実線620は、時間軸上での符号量制御バッファの使用量をプロットしたものである。また、破線610は、符号量制御バッファのサイズ(以下、「符号量制御サイズ」という)を示す線である。
(Code amount control unit 330)
FIG. 6 is a diagram for explaining the concept of rate control executed in the code amount control unit 330. In the graph shown in FIG. 6, the vertical axis represents the amount of code amount control buffer (hereinafter referred to as “code amount control buffer”) used, and the horizontal axis represents time. That is, the solid line 620 in the graph of FIG. 6 is a plot of the usage amount of the code amount control buffer on the time axis. A broken line 610 is a line indicating the size of the code amount control buffer (hereinafter referred to as “code amount control size”).

符号量制御部330では、図6のグラフに示されるように、一定のビットレートで増加するバッファ使用量(実線620)が符号量制御サイズ(破線610)をオーバーフローならびにアンダーフローしないようにレート制御が行われる。   In the code amount control unit 330, as shown in the graph of FIG. 6, rate control is performed so that the buffer usage amount (solid line 620) that increases at a constant bit rate does not overflow and underflow the code amount control size (broken line 610). Is done.

また、符号量制御部330は、帯域判定信号D22の入力を受け付けて、レート制御の符号量制御サイズの値を切り替える。具体的には、帯域判定信号D22が“1”の場合は、リフレッシュが可能であるため、通常通り符号量制御サイズは外部からの設定に従いレート制御を行う。   In addition, the code amount control unit 330 receives the input of the band determination signal D22 and switches the value of the code amount control size for rate control. Specifically, when the band determination signal D22 is “1”, refreshing is possible, so that the code amount control size is controlled according to the setting from the outside as usual.

一方、帯域判定信号D22が“0”の場合は、リフレッシュが不可能であるため、リフレッシュサイクル以上の期間においてはストリーム11が外部メモリ120内に留まる事がないように、符号量制御サイズは以下の計算式によって求められる値を使用する。なお、「目標ビットレート」とは、映像符号化装置が出力するストリームの時間当たりの目標符号量を意味する。

符号量制御サイズ=目標ビットレート×リフレッシュサイクル(式(4))

例えば、リフレッシュが不可能で、目標ビットレートが20Mbps(メガビット/秒)、リフレッシュサイクルが64msの場合は、符号量制御サイズは160Kbyte(キロバイト)と設定される。
On the other hand, when the band determination signal D22 is “0”, since refresh is impossible, the code amount control size is as follows so that the stream 11 does not stay in the external memory 120 in a period longer than the refresh cycle. Use the value obtained by the following formula. The “target bit rate” means a target code amount per time of a stream output from the video encoding device.

Code amount control size = target bit rate × refresh cycle (formula (4))

For example, when refresh is impossible, the target bit rate is 20 Mbps (megabits / second), and the refresh cycle is 64 ms, the code amount control size is set to 160 Kbytes (kilobytes).

これにより、リフレッシュを行うための空き時間を確保できないような、より大きな画面サイズの映像においても、符号量制御サイズを制限することでストリーム11がリフレッシュサイクルを超えてバッファ内に留まることがないため、符号化処理に十分な外部メモリ120の帯域を確保し、データの破綻の無い符号化を行うことが出来るようになる。   As a result, the stream 11 does not stay in the buffer beyond the refresh cycle by limiting the code amount control size even in a video having a larger screen size that cannot secure a free time for refreshing. Thus, it is possible to ensure a sufficient bandwidth of the external memory 120 for the encoding process and perform encoding without data corruption.

なお、リフレッシュ不可能な映像に適用されるレート制御方式は、前述したレート制御方式に限定されるものではない。映像符号化処理によって生成されるストリーム11がリフレッシュサイクル以上の期間、外部メモリ120内に留まることがない、という条件を満たすならば、用途や目的に応じて適切な方式を採用することが出来る。   Note that the rate control method applied to non-refreshable video is not limited to the rate control method described above. If the condition that the stream 11 generated by the video encoding process does not stay in the external memory 120 for a period longer than the refresh cycle is satisfied, an appropriate method can be adopted according to the application and purpose.

[第2の実施形態]
以下、本発明の第2の実施の形態として、映像符号化装置1が画素ビット深度や色差形式(Y、Cb、Cr)を選択することを可能とした場合について説明する。
[Second Embodiment]
Hereinafter, as a second embodiment of the present invention, a case will be described in which the video encoding device 1 can select a pixel bit depth and a color difference format (Y, Cb, Cr).

図7は、画素ビット深度と色差形式がそれぞれ、4:2:2/10bit(ビット)、4:2:2/8bit、4:2:0/10bitとした場合における、1MB処理時間内にメモリコントローラ290が外部メモリ120に発行可能なコマンド列を簡略化して示した図である。   FIG. 7 shows that the memory within 1 MB processing time when the pixel bit depth and the color difference format are 4: 2: 2/10 bit (bit), 4: 2: 2/8 bit, and 4: 2: 0/10 bit, respectively. FIG. 5 is a diagram showing a simplified command sequence that can be issued by the controller 290 to the external memory 120.

本例においては、以下を前提条件とした。すなわち、1MB処理時間は256サイクル(図7においては「cyc」と表記)とした。また、メモリコントローラ290が外部メモリ120に発行するコマンド(以下、適宜「データ転送コマンド」という)のうち、「RefRD」、「PredRD」、「StrRD」は、それぞれ映像符号化に関わるデータの読み込みコマンドである。また、「RefWT」、「PreWT」、「StrWT」は、それぞれ映像符号化に関わるデータの書き込みコマンドである。   In this example, the following conditions were assumed. That is, the 1 MB processing time was 256 cycles (indicated as “cyc” in FIG. 7). Of the commands issued to the external memory 120 by the memory controller 290 (hereinafter referred to as “data transfer commands” as appropriate), “RefRD”, “PredRD”, and “StrRD” are data read commands related to video encoding, respectively. It is. “RefWT”, “PreWT”, and “StrWT” are data write commands related to video encoding.

画素ビット深度と色差形式がそれぞれ4:2:2/10bitの場合、各データ転送コマンドの消費サイクルは、簡単のために全て40サイクルで終了するものとする(図7(a))。なお、以下においては、「Reflesh」はリフレッシュコマンドであり、35サイクル消費するものとする。   When the pixel bit depth and the color difference format are 4: 2: 2/10 bits, respectively, the consumption cycle of each data transfer command is assumed to end in 40 cycles for simplicity (FIG. 7A). In the following, “Refresh” is a refresh command, and 35 cycles are consumed.

ここで、画素ビット深度が8bitの場合や、色差形式が4:2:0の場合などは、画像データのデータ量が減少するため、映像符号化に関わるデータの転送量も減少する。また、画素ビット深度と色差形式がそれぞれ4:2:2/8bitの場合は全てのデータ転送コマンドが32サイクルで、4:2:0/10bitの場合は全てのデータ転送コマンドが30サイクルで実施可能である(図7(b)、(c))。   Here, when the pixel bit depth is 8 bits, or when the color difference format is 4: 2: 0, the data amount of the image data decreases, so the transfer amount of data related to video encoding also decreases. Also, when the pixel bit depth and color difference format are 4: 2: 2/8 bit, all data transfer commands are executed in 32 cycles, and when 4: 2: 0/10 bit, all data transfer commands are executed in 30 cycles. It is possible (FIGS. 7B and 7C).

よって、図7に示されるとおり、256サイクルの1MB処理時間において、データ転送を行わない空き時間が生じる(時間T1、T2)。メモリコントローラ290は、この空き時間を利用して35サイクルを使用するリフレッシュコマンドの発行が可能になる。   Therefore, as shown in FIG. 7, in the 1 MB processing time of 256 cycles, a free time during which data transfer is not performed occurs (time T1, T2). The memory controller 290 can issue a refresh command using 35 cycles by using this free time.

そこで、本実施形態における帯域判定部310では、画面横MB数と画面縦MB数とフィールドレートとに加えて、画素ビット深度と色差形式も判定の対象に含めることとする。   Therefore, in the band determination unit 310 in the present embodiment, in addition to the screen horizontal MB number, the screen vertical MB number, and the field rate, the pixel bit depth and the color difference format are also included in the determination target.

(帯域判定部310)
図8は、本実施形態に係る帯域判定部310の構成例を示す図である。
(Bandwidth determination unit 310)
FIG. 8 is a diagram illustrating a configuration example of the band determination unit 310 according to the present embodiment.

帯域判定部310は、画面横MB数32、画面縦MB数33、フィールドレート31、画素ビット深度41、および色差形式42を含む映像情報D21が入力される。そして、前述の帯域判定アルゴリズムに従った判定を行い、帯域判定信号D22を出力する。具体的には、以下の通りである。   The band determination unit 310 receives the video information D21 including the screen horizontal MB number 32, the screen vertical MB number 33, the field rate 31, the pixel bit depth 41, and the color difference format 42. Then, determination according to the above-described band determination algorithm is performed, and a band determination signal D22 is output. Specifically, it is as follows.

なお、インタレース映像での画面縦MB数33は、プログレッシブ映像での同じ画面サイズの画面縦MB数33の半分の値になっているものとする。   Note that the screen length MB number 33 in the interlaced video is half the value of the screen length MB number 33 of the same screen size in the progressive video.

乗算器3110は、上記式(2)に従って、画面横MB数32と、画面縦MB数33と、フィールドレート31の3つの値を乗算し、乗算した結果を許容処理MB数D31として出力する。   The multiplier 3110 multiplies the three values of the screen horizontal MB number 32, the screen vertical MB number 33, and the field rate 31 according to the above equation (2), and outputs the multiplication result as the allowable processing MB number D31.

比較器3120は、出力された許容処理MB数D31と、リフレッシュ許容マクロブロック数上限値34とを比較して、許容処理MB数D31がリフレッシュ許容マクロブロック数上限値34よりも小さければ“1”を、リフレッシュ許容マクロブロック数上限値34以上であれば“0”を処理MB数判定信号D41として出力する。   The comparator 3120 compares the output allowable processing MB count D31 with the refresh allowable macroblock count upper limit 34, and if the allowable processing MB count D31 is smaller than the refresh allowable macroblock count upper limit 34, “1” is output. , “0” is output as the processing MB number determination signal D41 if the refresh allowable macroblock number upper limit 34 or more.

比較器3130は、画素ビット深度41が最大画素ビット深度(すなわち、10ビット)43と等しいならば“0”を、これよりも小さいならば“1”を画素ビット深度判定信号D42として出力する。   The comparator 3130 outputs “0” as the pixel bit depth determination signal D42 if the pixel bit depth 41 is equal to the maximum pixel bit depth (ie, 10 bits) 43, and “1” if it is smaller than this.

比較器3140は、色差形式42が最大色差形式(すなわち、4:2:2)44と一致するならば“0”を、一致しないならば“1”を色差形式判定信号D43として出力する。   The comparator 3140 outputs “0” as the color difference format determination signal D43 if the color difference format 42 matches the maximum color difference format (ie, 4: 2: 2) 44, and “1” otherwise.

論理和器3150は、処理MB数判定信号D41と、画素ビット深度判定信号D42と、色差形式判定信号D43の論理和を、帯域判定信号D22として出力する。   The logical adder 3150 outputs a logical sum of the processed MB number determination signal D41, the pixel bit depth determination signal D42, and the color difference format determination signal D43 as a band determination signal D22.

これによって、画素ビット深度41が8bitの場合や、色差形式42が4:2:0の場合などのように、画面サイズが最大サイズでもリフレッシュ可能な空き時間が生じる場合には、リフレッシュコマンドを発行する様に動作を切り替えることができる。   As a result, a refresh command is issued when a refreshable free time occurs even when the screen size is the maximum size, such as when the pixel bit depth 41 is 8 bits or when the color difference format 42 is 4: 2: 0. You can switch the operation as you do.

(付記)
以上に、本発明に係る実施形態について詳細に説明したことからも明らかなように、前述の実施形態の一部または全部は、以下の各付記のようにも記載することができる。しかしながら、以下の各付記は、あくまでも、本発明の単なる例示に過ぎず、本発明は、かかる場合のみに限るものではない。
(Appendix)
As is apparent from the detailed description of the embodiments according to the present invention, a part or all of the above-described embodiments can be described as the following supplementary notes. However, the following supplementary notes are merely examples of the present invention, and the present invention is not limited only to such cases.

(付記1)
入力される入力画像を画面内予測もしくは画面間予測によって符号化する映像符号化部と、
前記映像符号化部における前記符号化において使用される使用データを、記録内容保持のためのリフレッシュを必要とする揮発性メモリである外部メモリに記録し、前記外部メモリをリフレッシュするメモリコントローラと、
を有し、
前記映像符号化部は、
前記外部メモリとの間で前記使用データの転送を行わない空き時間に前記外部メモリのリフレッシュを行うことが可能か否かを判定する帯域判定手段と、
前記帯域判定手段において前記外部メモリのリフレッシュを行うことができないと判定された場合に、前記使用データが前記外部メモリのリフレッシュサイクル以内に前記符号化において使用されるように前記画面内予測もしくは前記画面間予測における参照関係を設定する参照画面選択手段と、を有し、さらに、
前記メモリコントローラは、前記帯域判定手段において前記外部メモリのリフレッシュを行うことが可能であると判定された場合には、前記空き時間内に前記外部メモリのリフレッシュを行うことを特徴とする映像符号化装置。
(Appendix 1)
A video encoding unit that encodes an input image to be input by intra prediction or inter prediction;
A memory controller that records use data used in the encoding in the video encoding unit in an external memory that is a volatile memory that needs to be refreshed in order to retain the recorded content, and refreshes the external memory;
Have
The video encoding unit includes:
Bandwidth determination means for determining whether or not the external memory can be refreshed in an idle time during which the use data is not transferred to and from the external memory;
When it is determined by the bandwidth determination means that the external memory cannot be refreshed, the in-screen prediction or the screen is used so that the use data is used in the encoding within the refresh cycle of the external memory. Reference screen selection means for setting a reference relationship in inter prediction, and
The memory controller refreshes the external memory within the idle time when the bandwidth determination means determines that the external memory can be refreshed. apparatus.

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

また、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できる画面サイズの映像の場合には、外部メモリのリフレッシュを行って符号化を行うことができる。   In addition, in the case of a video having a screen size that can secure a sufficient free time for refreshing in the horizontal blanking period or the vertical blanking period, the encoding can be performed by refreshing the external memory.

(付記2)
前記帯域判定手段は、前記入力画像を構成する画素のうち、前記入力画像の横の画素数と縦の画素数とに基づいて算出された算出値と、所定値とを比較し、前記算出値が前記所定値未満である場合には前記外部メモリのリフレッシュを行うことが可能であると判定し、前記算出値が前記所定値以上である場合には前記外部メモリのリフレッシュを行うことができないと判定することを特徴とする付記1に記載の映像符号化装置。
(Appendix 2)
The band determining unit compares a calculated value calculated based on the number of horizontal pixels and the number of vertical pixels of the input image among pixels constituting the input image with a predetermined value, and calculates the calculated value. Is less than the predetermined value, it is determined that the external memory can be refreshed. If the calculated value is equal to or greater than the predetermined value, the external memory cannot be refreshed. The video encoding device according to appendix 1, wherein the video encoding device is determined.

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

(付記3)
前記符号化制御手段は、
前記画面内予測もしくは前記画面間予測によって生成される予測画像と前記入力画像との差分である差分画像の周波数成分に対して実行される量子化処理に関するレート制御を行う符号量制御手段をさらに有し、
前記符号量制御手段は、前記帯域判定手段において前記外部メモリのリフレッシュを行うことができないと判定された場合には、目標ビットレートと前記外部メモリのリフレッシュサイクルとに基づいて前記レート制御を行うことを特徴とする付記2に記載の映像符号化装置。
(Appendix 3)
The encoding control means includes
There is further provided a code amount control means for performing rate control related to a quantization process performed on a frequency component of a difference image that is a difference between a predicted image generated by the intra prediction or the inter prediction and the input image. And
The code amount control unit performs the rate control based on a target bit rate and a refresh cycle of the external memory when the band determination unit determines that the external memory cannot be refreshed. The video encoding apparatus according to appendix 2, characterized by:

この構成によれば、量子化処理に関するレート制御を行うことでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, refresh is not required by performing rate control relating to quantization processing. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

(付記4)
前記帯域判定手段は、前記算出値と前記所定値との比較に加えて、前記入力画像の画素ビット深度、もしくは前記入力画像の輝度成分および色差成分とにも基づいて、前記外部メモリのリフレッシュを行うことが可能か否かを判定することを特徴とする付記2に記載の映像符号化装置。
(Appendix 4)
The band determination unit refreshes the external memory based on the pixel bit depth of the input image or the luminance component and color difference component of the input image in addition to the comparison between the calculated value and the predetermined value. The video encoding apparatus according to appendix 2, wherein it is determined whether or not it can be performed.

画面サイズが最大サイズでも、画素ビット深度や色差形式によっては、リフレッシュ可能な空き時間が存在する場合がある。よって、画素ビットや色差形式をも帯域判定の対象とすることで、リフレッシュ可能な空き時間が生じる場合には、リフレッシュコマンドを発行する様に動作を切り替えることができる。   Even if the screen size is the maximum size, there may be a refreshable free time depending on the pixel bit depth and the color difference format. Therefore, when the pixel bit and the color difference format are also subject to the band determination, the operation can be switched to issue a refresh command when a refreshable free time occurs.

(付記5)
入力される入力画像を画面内予測もしくは画面間予測によって符号化する映像符号化部と、前記映像符号化部における前記符号化において使用される使用データを、記録内容保持のためのリフレッシュを必要とする揮発性メモリである外部メモリに記録し、前記外部メモリをリフレッシュするメモリコントローラと、を有する映像符号化装置において実行される映像符号化方法であって、
前記外部メモリと前記映像符号化部との間で前記使用データの転送を行わない空き時間に前記外部メモリのリフレッシュを行うことが可能か否かを判定する帯域判定ステップと、
前記帯域判定ステップにおいて前記外部メモリのリフレッシュを行うことができないと判定された場合に、前記使用データが前記外部メモリのリフレッシュサイクル以内に前記符号化において使用されるように前記画面内予測もしくは前記画面間予測における参照関係を設定する参照画面選択ステップと、
前記帯域判定ステップにおいて前記外部メモリのリフレッシュを行うことが可能であると判定された場合には、前記空き時間内に前記外部メモリのリフレッシュを行うメモリリフレッシュステップと、
を有する映像符号化方法。
(Appendix 5)
A video encoding unit that encodes an input image to be input by intra-screen prediction or inter-screen prediction, and usage data used in the encoding in the video encoding unit needs to be refreshed to maintain the recorded contents A video encoding method executed in a video encoding device having a memory controller that records in an external memory that is a volatile memory and refreshes the external memory,
A bandwidth determination step for determining whether or not the external memory can be refreshed in a free time during which the use data is not transferred between the external memory and the video encoding unit;
If it is determined in the bandwidth determination step that the external memory cannot be refreshed, the in-screen prediction or the screen is used so that the use data is used in the encoding within the refresh cycle of the external memory. A reference screen selection step for setting a reference relationship in inter prediction,
If it is determined in the bandwidth determination step that the external memory can be refreshed, a memory refresh step for refreshing the external memory within the free time;
A video encoding method comprising:

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

また、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できる画面サイズの映像の場合には、外部メモリのリフレッシュを行って符号化を行うことができる。   In addition, in the case of a video having a screen size that can secure a sufficient free time for refreshing in the horizontal blanking period or the vertical blanking period, the encoding can be performed by refreshing the external memory.

(付記6)
前記帯域判定ステップは、前記入力画像を構成する画素のうち、前記入力画像の横の画素数と縦の画素数とに基づいて算出された算出値と、所定値とを比較し、前記算出値が前記所定値未満である場合には前記外部メモリのリフレッシュを行うことが可能であると判定し、前記算出値が前記所定値以上である場合には前記外部メモリのリフレッシュを行うことができないと判定することを特徴とする付記5に記載の映像符号化方法。
(Appendix 6)
The band determination step compares a calculated value calculated based on the number of horizontal pixels and the number of vertical pixels of the input image among the pixels constituting the input image with a predetermined value, and calculates the calculated value. Is less than the predetermined value, it is determined that the external memory can be refreshed. If the calculated value is equal to or greater than the predetermined value, the external memory cannot be refreshed. The video encoding method according to appendix 5, wherein the video encoding method is determined.

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

(付記7)
前記画面内予測もしくは前記画面間予測によって生成される予測画像と前記入力画像との差分である差分画像の周波数成分に対して実行される量子化処理に関するレート制御を行う符号量制御ステップをさらに有し、
前記符号量制御ステップは、前記帯域判定ステップにおいて前記外部メモリのリフレッシュを行うことができないと判定された場合には、目標ビットレートと前記外部メモリのリフレッシュサイクルとに基づいて前記レート制御を行うことを特徴とする付記6に記載の映像符号化方法。
(Appendix 7)
There is further provided a code amount control step for performing rate control relating to a quantization process performed on a frequency component of a difference image that is a difference between a predicted image generated by the intra prediction or the inter prediction and the input image. And
The code amount control step performs the rate control based on a target bit rate and a refresh cycle of the external memory when it is determined in the band determination step that the external memory cannot be refreshed. The video encoding method according to appendix 6, characterized by:

この構成によれば、量子化処理に関するレート制御を行うことでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, refresh is not required by performing rate control relating to quantization processing. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

(付記8)
前記帯域判定ステップは、前記算出値と前記所定値との比較に加えて、前記入力画像の画素ビット深度、もしくは前記入力画像の輝度成分および色差成分とにも基づいて、前記外部メモリのリフレッシュを行うことが可能か否かを判定することを特徴とする付記6に記載の映像符号化方法。
(Appendix 8)
The band determination step refreshes the external memory based on the pixel bit depth of the input image or the luminance component and color difference component of the input image in addition to the comparison between the calculated value and the predetermined value. The video encoding method according to appendix 6, wherein it is determined whether or not it can be performed.

画面サイズが最大サイズでも、画素ビット深度や色差形式によっては、リフレッシュ可能な空き時間が存在する場合がある。よって、画素ビットや色差形式をも帯域判定の対象とすることで、リフレッシュ可能な空き時間が生じる場合には、リフレッシュコマンドを発行する様に動作を切り替えることができる。   Even if the screen size is the maximum size, there may be a refreshable free time depending on the pixel bit depth and the color difference format. Therefore, when the pixel bit and the color difference format are also subject to the band determination, the operation can be switched to issue a refresh command when a refreshable free time occurs.

(付記9)
入力される入力画像を画面内予測もしくは画面間予測によって符号化する映像符号化部と、前記映像符号化部における前記符号化において使用される使用データを、記録内容保持のためのリフレッシュを必要とする揮発性メモリである外部メモリに記録し、前記外部メモリをリフレッシュするメモリコントローラと、を有するコンピュータに、
前記外部メモリと前記映像符号化部との間で前記使用データの転送を行わない空き時間に前記外部メモリのリフレッシュを行うことが可能か否かを判定する帯域判定ステップと、
前記帯域判定ステップにおいて前記外部メモリのリフレッシュを行うことができないと判定された場合に、前記使用データが前記外部メモリのリフレッシュサイクル以内に前記符号化において使用されるように前記画面内予測もしくは前記画面間予測における参照関係を設定する参照画面選択ステップと、
前記帯域判定ステップにおいて前記外部メモリのリフレッシュを行うことが可能であると判定された場合には、前記空き時間内に前記外部メモリのリフレッシュを行うメモリリフレッシュステップと、
を実行させるため映像符号化プログラム。
(Appendix 9)
A video encoding unit that encodes an input image to be input by intra-screen prediction or inter-screen prediction, and usage data used in the encoding in the video encoding unit needs to be refreshed to maintain the recorded contents In a computer having a memory controller that records in an external memory that is a volatile memory and refreshes the external memory,
A bandwidth determination step for determining whether or not the external memory can be refreshed in a free time during which the use data is not transferred between the external memory and the video encoding unit;
If it is determined in the bandwidth determination step that the external memory cannot be refreshed, the in-screen prediction or the screen is used so that the use data is used in the encoding within the refresh cycle of the external memory. A reference screen selection step for setting a reference relationship in inter prediction,
If it is determined in the bandwidth determination step that the external memory can be refreshed, a memory refresh step for refreshing the external memory within the free time;
A video encoding program for executing

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

また、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できる画面サイズの映像の場合には、外部メモリのリフレッシュを行って符号化を行うことができる。   In addition, in the case of a video having a screen size that can secure a sufficient free time for refreshing in the horizontal blanking period or the vertical blanking period, the encoding can be performed by refreshing the external memory.

(付記10)
前記帯域判定ステップは、前記入力画像を構成する画素のうち、前記入力画像の横の画素数と縦の画素数とに基づいて算出された算出値と、所定値とを比較し、前記算出値が前記所定値未満である場合には前記外部メモリのリフレッシュを行うことが可能であると判定し、前記算出値が前記所定値以上である場合には前記外部メモリのリフレッシュを行うことができないと判定することを特徴とする付記9に記載の映像符号化プログラム。
(Appendix 10)
The band determination step compares a calculated value calculated based on the number of horizontal pixels and the number of vertical pixels of the input image among the pixels constituting the input image with a predetermined value, and calculates the calculated value. Is less than the predetermined value, it is determined that the external memory can be refreshed. If the calculated value is equal to or greater than the predetermined value, the external memory cannot be refreshed. The video encoding program according to appendix 9, wherein the video encoding program is determined.

この構成によれば、画面内予測もしくは画面間予測の参照関係に制限を加えることでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, the refresh is unnecessary by limiting the reference relationship of intra prediction or inter prediction. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

(付記11)
前記画面内予測もしくは前記画面間予測によって生成される予測画像と前記入力画像との差分である差分画像の周波数成分に対して実行される量子化処理に関するレート制御を行う符号量制御ステップをさらに有し、
前記符号量制御ステップは、前記帯域判定ステップにおいて前記外部メモリのリフレッシュを行うことができないと判定された場合には、目標ビットレートと前記外部メモリのリフレッシュサイクルとに基づいて前記レート制御を行うことを特徴とする付記10に記載の映像符号化プログラム。
(Appendix 11)
There is further provided a code amount control step for performing rate control relating to a quantization process performed on a frequency component of a difference image that is a difference between a predicted image generated by the intra prediction or the inter prediction and the input image. And
The code amount control step performs the rate control based on a target bit rate and a refresh cycle of the external memory when it is determined in the band determination step that the external memory cannot be refreshed. The video encoding program according to appendix 10, characterized by:

この構成によれば、量子化処理に関するレート制御を行うことでリフレッシュが不要となる。これにより、水平帰線期間や垂直帰線期間においてリフレッシュを行うために十分な空き時間が確保できない大きな画面サイズの映像の場合であっても、データの破綻を抑制して符号化を行うことができる。   According to this configuration, refresh is not required by performing rate control relating to quantization processing. As a result, even in the case of a video with a large screen size in which sufficient free time cannot be secured for refreshing in the horizontal blanking period or vertical blanking period, encoding can be performed while suppressing data corruption. it can.

(付記12)
前記帯域判定ステップは、前記算出値と前記所定値との比較に加えて、前記入力画像の画素ビット深度、もしくは前記入力画像の輝度成分および色差成分とにも基づいて、前記外部メモリのリフレッシュを行うことが可能か否かを判定することを特徴とする付記10に記載の映像符号化プログラム。
(Appendix 12)
The band determination step refreshes the external memory based on the pixel bit depth of the input image or the luminance component and color difference component of the input image in addition to the comparison between the calculated value and the predetermined value. The video encoding program according to appendix 10, wherein it is determined whether or not it can be performed.

画面サイズが最大サイズでも、画素ビット深度や色差形式によっては、リフレッシュ可能な空き時間が存在する場合がある。よって、画素ビットや色差形式をも帯域判定の対象とすることで、リフレッシュ可能な空き時間が生じる場合には、リフレッシュコマンドを発行する様に動作を切り替えることができる。   Even if the screen size is the maximum size, there may be a refreshable free time depending on the pixel bit depth and the color difference format. Therefore, when the pixel bit and the color difference format are also subject to the band determination, the operation can be switched to issue a refresh command when a refreshable free time occurs.

1 映像符号化装置
10 原画像
11 ストリーム
12 再構成画像
13 画面内予測画像
14 画面間予測画像
15 予測画像
16 差分画像
17 復元差分画像
31 フィールドレート
32 画面横MB数
33 画面縦MB数
34 リフレッシュ許容マクロブロック数上限値
41 画素ビット深度
42 色差形式
43 最大画素ビット深度
44 最大色差形式
110 映像符号化部
120 外部メモリ
130 メモリバス
200 符号化制御部
210 画面内予測部
220 画面間予測部
230 モード選択部
240 直交変換部
250 量子化部
260 逆量子化部
270 逆直交変換部
280 可変長符号化部
290 メモリコントローラ
310 帯域判定部
320 参照画面選択部
330 符号量制御部
340 モード選択部
350 設定レジスタ
3110 乗算器
3120 比較器
3130 比較器
3140 比較器
3150 論理和器
S1 符号化設定情報
D1 画面内予測モード
D2 画面内予測符号量
D3 画面間予測モード
D4 画面間予測符号量
D6 符号量情報
D7 モード選択信号
D8 量子化パラメータ
D9 周波数成分
D10 量子化値
D11 復元周波数成分
D12 参照関係設定情報
D21 映像情報
D22 帯域判定信号
D23 参照画面設定情報
D24 モード選択設定情報
D25 符号量制御設定情報
D31 許容処理MB数
D41 処理MB数判定信号
D42 画素ビット深度判定信号
D43 色差形式判定信号
DESCRIPTION OF SYMBOLS 1 Video coding apparatus 10 Original image 11 Stream 12 Reconstructed image 13 In-screen prediction image 14 Inter-screen prediction image 15 Prediction image 16 Difference image 17 Restoration difference image 31 Field rate 32 Screen width MB number 33 Screen length MB number 34 Refresh tolerance Maximum number of macroblocks 41 Pixel bit depth 42 Color difference format 43 Maximum pixel bit depth 44 Maximum color difference format 110 Video encoding unit 120 External memory 130 Memory bus 200 Coding control unit 210 In-screen prediction unit 220 Inter-screen prediction unit 230 Mode selection Unit 240 orthogonal transform unit 250 quantization unit 260 inverse quantization unit 270 inverse orthogonal transform unit 280 variable length coding unit 290 memory controller 310 bandwidth determination unit 320 reference screen selection unit 330 code amount control unit 340 mode selection unit 350 setting register 3110 Multiplier 3120 Comparator 3130 Comparator 3140 Comparator 3150 Logical sum S1 Encoding setting information D1 Intra-screen prediction mode D2 Intra-screen prediction code amount D3 Inter-screen prediction mode D4 Inter-screen prediction code amount D6 Code amount information D7 Mode selection signal D8 Quantization parameter D9 Frequency component D10 Quantized value D11 Restored frequency component D12 Reference relationship setting information D21 Video information D22 Band decision signal D23 Reference screen setting information D24 Mode selection setting information D25 Code amount control setting information D31 Allowable processing MB number D41 processing MB number determination signal D42 Pixel bit depth determination signal D43 Color difference format determination signal

Claims (2)

入力される入力画像を画面内予測もしくは画面間予測によって符号化する映像符号化部と、
前記映像符号化部における前記符号化において使用される使用データを、記録内容保持のためのリフレッシュを必要とする揮発性メモリである外部メモリに記録し、前記外部メモリをリフレッシュするメモリコントローラと、
を有し、
前記映像符号化部は、
前記外部メモリとの間で前記使用データの転送を行わない空き時間に前記外部メモリのリフレッシュを行うことが可能か否かを判定する帯域判定手段と、
前記帯域判定手段において前記外部メモリのリフレッシュを行うことができないと判定された場合に、前記使用データが前記外部メモリのリフレッシュサイクル以内に前記符号化において使用されるように前記画面内予測もしくは前記画面間予測における参照関係を設定する参照画面選択手段と、を有し、さらに、
前記メモリコントローラは、前記帯域判定手段において前記外部メモリのリフレッシュを行うことが可能であると判定された場合には、前記空き時間内に前記外部メモリのリフレッシュを行うことを特徴とする映像符号化装置。
A video encoding unit that encodes an input image to be input by intra prediction or inter prediction;
A memory controller that records use data used in the encoding in the video encoding unit in an external memory that is a volatile memory that needs to be refreshed in order to retain the recorded content, and refreshes the external memory;
Have
The video encoding unit includes:
Bandwidth determination means for determining whether or not the external memory can be refreshed in an idle time during which the use data is not transferred to and from the external memory;
When it is determined by the bandwidth determination means that the external memory cannot be refreshed, the in-screen prediction or the screen is used so that the use data is used in the encoding within the refresh cycle of the external memory. Reference screen selection means for setting a reference relationship in inter prediction, and
The memory controller refreshes the external memory within the idle time when the bandwidth determination means determines that the external memory can be refreshed. apparatus.
前記帯域判定手段は、前記入力画像を構成する画素のうち、前記入力画像の横の画素数と縦の画素数とに基づいて算出された算出値と、所定値とを比較し、前記算出値が前記所定値未満である場合には前記外部メモリのリフレッシュを行うことが可能であると判定し、前記算出値が前記所定値以上である場合には前記外部メモリのリフレッシュを行うことができないと判定することを特徴とする請求項1に記載の映像符号化装置。   The band determining unit compares a calculated value calculated based on the number of horizontal pixels and the number of vertical pixels of the input image among pixels constituting the input image with a predetermined value, and calculates the calculated value. Is less than the predetermined value, it is determined that the external memory can be refreshed. If the calculated value is equal to or greater than the predetermined value, the external memory cannot be refreshed. The video encoding apparatus according to claim 1, wherein the determination is made.
JP2010255552A 2010-11-16 2010-11-16 Video encoding device Active JP5603747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010255552A JP5603747B2 (en) 2010-11-16 2010-11-16 Video encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010255552A JP5603747B2 (en) 2010-11-16 2010-11-16 Video encoding device

Publications (2)

Publication Number Publication Date
JP2012109699A JP2012109699A (en) 2012-06-07
JP5603747B2 true JP5603747B2 (en) 2014-10-08

Family

ID=46494872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010255552A Active JP5603747B2 (en) 2010-11-16 2010-11-16 Video encoding device

Country Status (1)

Country Link
JP (1) JP5603747B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5448310A (en) * 1993-04-27 1995-09-05 Array Microsystems, Inc. Motion estimation coprocessor
AU768853B2 (en) * 1998-05-14 2004-01-08 Interval Research Corporation Video compression with storage reduction, color rotation, combined signal and border filtering
JP2000311484A (en) * 1999-04-27 2000-11-07 Sony Corp Memory interface and data processing device
JP2000315386A (en) * 1999-04-30 2000-11-14 Sony Corp Addressing method of memory and data processor

Also Published As

Publication number Publication date
JP2012109699A (en) 2012-06-07

Similar Documents

Publication Publication Date Title
CN1960495B (en) Picture coding device, picture coding method, and integated circuit apparatus
US9509992B2 (en) Video image compression/decompression device
JP4180547B2 (en) Moving picture data decoding apparatus and decoding program
JP4774315B2 (en) Image decoding apparatus and image decoding method
JP4649178B2 (en) Dynamic packet size control for MPEG-4 data partition mode
JP4973886B2 (en) Moving picture decoding apparatus, decoded picture recording apparatus, method and program thereof
US9386310B2 (en) Image reproducing method, image reproducing device, image reproducing program, imaging system, and reproducing system
US6181746B1 (en) Image data decoding method and apparatus using memory for storing decoded data
JP4675383B2 (en) Image decoding apparatus and method, and image encoding apparatus
US9627005B2 (en) Video processing apparatus and control method of video processing apparatus
JP5603747B2 (en) Video encoding device
CN115695806A (en) High-efficiency low-delay HEVC encoder data caching and processing method
US20110051815A1 (en) Method and apparatus for encoding data and method and apparatus for decoding data
WO2022077490A1 (en) Intra prediction method, encoder, decoder, and storage medium
WO2010021153A1 (en) Motion detection device
US20140119431A1 (en) Video encoding device
US10051270B2 (en) Video encoding method using at least two encoding methods, device and computer program
JP4515870B2 (en) Signal processing apparatus and video system
JP5556082B2 (en) Memory controller, image processing system, and memory access control method
EP2073553A1 (en) Method and apparatus for performing de-blocking filtering of a video picture
US10057567B2 (en) Method and apparatus for video encoding
JP2011097488A (en) Video compression encoder
KR20170052143A (en) Loop filter based on memory applied in video decoder
JP6265705B2 (en) Image coding apparatus and image coding method
KR101452495B1 (en) De-ringing filter for decompressed video data

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120523

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120523

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131030

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140804

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140812

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140822

R150 Certificate of patent or registration of utility model

Ref document number: 5603747

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250