JP2010283518A - Image processor, and image processing method - Google Patents

Image processor, and image processing method Download PDF

Info

Publication number
JP2010283518A
JP2010283518A JP2009134133A JP2009134133A JP2010283518A JP 2010283518 A JP2010283518 A JP 2010283518A JP 2009134133 A JP2009134133 A JP 2009134133A JP 2009134133 A JP2009134133 A JP 2009134133A JP 2010283518 A JP2010283518 A JP 2010283518A
Authority
JP
Japan
Prior art keywords
data
image
block
memory
constituting
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
JP2009134133A
Other languages
Japanese (ja)
Inventor
Tomoyuki Hirayama
智之 平山
Shuji Tsunashima
修二 綱島
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2009134133A priority Critical patent/JP2010283518A/en
Publication of JP2010283518A publication Critical patent/JP2010283518A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform burst transfer of a progressive image without including unnecessary data when performing IP (Interlace Progressive) conversion. <P>SOLUTION: A frame buffer controller 91 reads from a frame buffer memory 92 image data composing a progressive image and unnecessary data in units of blocks having a prescribed data size by line. A PCI-e memory controller 93 extracts only image data composing the read block and writes them to a PCI-e memory 94 in units of blocks. The frame buffer controller 91 reads a block composed of only image data or a block composed of image data and unnecessary data as a block by line. The invention is applicable to, for example, an image processor, such as a video card for converting an interlaced image into a progressive image. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像処理装置及び画像処理方法に関し、特に、例えば、IP(interlace progressive)変換により得られるプログレッシブ画像を、実質的に必要ない不要データを含むことなく転送できるようにした画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method, and in particular, an image processing apparatus capable of transferring a progressive image obtained by, for example, IP (interlace progressive) conversion without including unnecessary data that is substantially unnecessary, and The present invention relates to an image processing method.

従来、インタレース画像をプログレッシブ画像に変換するIP変換処理技術が存在する(例えば、特許文献1を参照)。   Conventionally, there is an IP conversion processing technique for converting an interlaced image into a progressive image (see, for example, Patent Document 1).

IP変換処理技術により、インタレース画像をプログレッシブ画像に変換する画像処理装置としては、例えば、パーソナルコンピュータにおいて、テレビジョン放送番組の画像等のインタレース画像をキャプチャして保存する際に、入力されたインタレース画像をプログレッシブ画像に変換するビデオカード(グラフィックカード)を挙げることができる。   As an image processing apparatus that converts an interlaced image into a progressive image by IP conversion processing technology, for example, when an interlaced image such as an image of a television broadcast program is captured and stored in a personal computer, it is input. A video card (graphic card) that converts an interlaced image into a progressive image can be mentioned.

従来のビデオカードでは、例えば、インタレース画像をパーソナルコンピュータに転送する際に、インタレース画像のフィールドとして、奇数フィールド及び偶数フィールドそれぞれを、ライン単位で交互に切り替えて転送することにより、対応するフレームのプログレッシブ画像を、パーソナルコンピュータに転送するようになされている。   In a conventional video card, for example, when an interlaced image is transferred to a personal computer, an odd field and an even field are alternately switched on a line-by-line basis as the interlaced image field. The progressive image is transferred to a personal computer.

しかしながら、この場合、ビデオカードは、奇数フィールド及び偶数フィールドそれぞれを、ライン単位で交互に切り替えて転送するために、高速なクロックにより動作する必要がある。   However, in this case, the video card needs to operate with a high-speed clock in order to switch the odd field and the even field alternately in line units.

このため、ビデオカードが、FPGA(field programmable gate array)を用いた基板等により構成されている場合、ビデオカードを高速なクロックにより動作させることが難しいため、奇数フィールド及び偶数フィールドそれぞれを、ライン単位で切り替えて転送する方法は現実的ではない。   For this reason, when the video card is composed of a substrate using an FPGA (field programmable gate array), it is difficult to operate the video card with a high-speed clock. The method of switching and transferring with is not realistic.

そこで、奇数フィールド及び偶数フィールドそれぞれを、ビデオカードに内蔵されたメモリ上で合成して、対応するフレームのプログレッシブ画像を生成した上で、パーソナルコンピュータに転送するビデオカードが存在する。   Therefore, there is a video card in which the odd field and the even field are combined on a memory built in the video card to generate a progressive image of a corresponding frame and then transferred to a personal computer.

[従来の画像処理装置1の構成例]
図1は、入力されるインタレース画像を内蔵されたメモリ上で合成し、その結果得られるプログレッシブ画像をパーソナルコンピュータに転送するビデオカードとしての従来の画像処理装置1の構成例を示している。
[Configuration Example of Conventional Image Processing Apparatus 1]
FIG. 1 shows an example of the configuration of a conventional image processing apparatus 1 as a video card for synthesizing input interlaced images on a built-in memory and transferring the resulting progressive images to a personal computer.

この画像処理装置1は、パーソナルコンピュータ2と相互に接続されている。また、画像処理装置1は、SDI(serial digital interface)21及び22、フレームバッファコントローラ23、フレームバッファメモリ24、コーデック25、PCI-e(peripheral components interconnect bus express)メモリコントローラ26、PCI-eメモリ27、並びにPCI-eインタフェース28により構成される。   The image processing apparatus 1 is connected to a personal computer 2. The image processing apparatus 1 includes SDI (serial digital interface) 21 and 22, a frame buffer controller 23, a frame buffer memory 24, a codec 25, a PCI-e (peripheral components interconnect bus express) memory controller 26, and a PCI-e memory 27. And the PCI-e interface 28.

SDI21は、SDI規格に準拠したインタフェースであり、図示せぬビデオスイッチャーやビデオ送出機等から供給されるインタレース画像を、フレームバッファコントローラ23に供給する。   The SDI 21 is an interface conforming to the SDI standard, and supplies an interlaced image supplied from a video switcher or a video transmitter (not shown) to the frame buffer controller 23.

SDI22は、フレームバッファコントローラ23から供給されるインタレース画像又はプログレッシブ画像を、図示せぬモニタ等に出力する。   The SDI 22 outputs the interlaced image or progressive image supplied from the frame buffer controller 23 to a monitor or the like (not shown).

フレームバッファコントローラ23は、SDI21に接続されたビデオスイッチャーによる画像の切替えやSDI21のコネクタの抜き差し等に起因して、SDI21からのインタレース画像を構成する画像データの一部が欠落する等の乱れが生じているか否かを判定する。そして、フレームバッファコントローラ23は、SDI21からのインタレース画像に乱れが生じていないと判定した場合のみ、そのインタレース画像を、フレームバッファメモリ24に供給して一時的に記憶させる。   The frame buffer controller 23 is disturbed, for example, by part of the image data constituting the interlaced image from the SDI 21 being lost due to image switching by the video switcher connected to the SDI 21 or insertion / removal of the connector of the SDI 21. Determine if it has occurred. The frame buffer controller 23 supplies the interlaced image to the frame buffer memory 24 and temporarily stores it only when it is determined that the interlaced image from the SDI 21 is not disturbed.

また、フレームバッファコントローラ23は、フレームバッファメモリ24に記憶された、乱れが生じていないインタレース画像を読み出し、コーデック25及びPCI-eメモリコントローラ26に供給する。   In addition, the frame buffer controller 23 reads the interlaced image stored in the frame buffer memory 24 and without any disturbance, and supplies the interlaced image to the codec 25 and the PCI-e memory controller 26.

これにより、例えば、乱れが生じたインタレース画像が、フレームバッファコントローラ23からコーデック25に供給されることを防止できる。このため、乱れが生じているインタレース画像がコーデック25に供給されることに起因して、コーデック25による、インタレース画像のエンコード処理を正常に行うことができなくなってしまい、そのエンコード処理が中断してしまうこと等を防止することが可能となる。   Thereby, for example, it is possible to prevent the interlaced image in which the disturbance has occurred from being supplied from the frame buffer controller 23 to the codec 25. For this reason, due to the fact that the interlaced image in which the disturbance has occurred is supplied to the codec 25, the encoding process of the interlaced image by the codec 25 cannot be performed normally, and the encoding process is interrupted. It is possible to prevent such as.

なお、フレームバッファコントローラ23は、SDI21からのインタレース画像に乱れが生じているか否かを判定し、その判定結果とともに、SDI21からのインタレース画像を、フレームバッファメモリ24に供給して一時的に記憶させるようにしてもよい。   The frame buffer controller 23 determines whether or not the interlaced image from the SDI 21 is disturbed, and supplies the interlaced image from the SDI 21 together with the determination result to the frame buffer memory 24 to temporarily. You may make it memorize | store.

この場合、フレームバッファコントローラ23は、フレームバッファメモリ24に記憶された判定結果に基づいて、乱れが生じていないインタレース画像のみを読み出し、コーデック25及びPCI-eメモリコントローラ26に供給する。   In this case, the frame buffer controller 23 reads only the interlaced image in which no disturbance has occurred based on the determination result stored in the frame buffer memory 24, and supplies it to the codec 25 and the PCI-e memory controller 26.

さらに、フレームバッファコントローラ23は、コーデック25からのインタレース画像、及びPCI-eメモリコントローラ26からのインタレース画像を、SDI22に供給する。   Further, the frame buffer controller 23 supplies the interlaced image from the codec 25 and the interlaced image from the PCI-e memory controller 26 to the SDI 22.

フレームバッファメモリ24は、フレームバッファコントローラ23からの、乱れが生じていないインタレース画像を一時的に記憶(保持)する。   The frame buffer memory 24 temporarily stores (holds) an interlaced image from the frame buffer controller 23 that is not disturbed.

コーデック25は、フレームバッファコントローラ23から供給されるインタレース画像をエンコードし、その結果得られる符号化データを、PCI-eメモリコントローラ26に供給する。また、コーデック25は、PCI-eメモリコントローラ26から供給される符号化データをデコードし、その結果得られるインタレース画像を、フレームバッファコントローラ23に供給する。   The codec 25 encodes the interlaced image supplied from the frame buffer controller 23 and supplies the encoded data obtained as a result to the PCI-e memory controller 26. The codec 25 decodes the encoded data supplied from the PCI-e memory controller 26 and supplies an interlaced image obtained as a result to the frame buffer controller 23.

PCI-eメモリコントローラ26は、コーデック25からの符号化データを、PCI-eメモリ27に供給して記憶させる。また、PCI-eメモリコントローラ26は、PCI-eメモリ27に記憶された符号化データを読み出し、コーデック25に供給する。   The PCI-e memory controller 26 supplies the encoded data from the codec 25 to the PCI-e memory 27 for storage. Further, the PCI-e memory controller 26 reads the encoded data stored in the PCI-e memory 27 and supplies it to the codec 25.

さらに、PCI-eメモリコントローラ26は、フレームバッファコントローラ23から供給されるインタレース画像の奇数フィールド及び偶数フィールドそれぞれを合成して得られるフレームのプログレッシブ画像を、PCI-eメモリ27の記憶領域に生成する。   Further, the PCI-e memory controller 26 generates a progressive image of the frame obtained by synthesizing the odd and even fields of the interlaced image supplied from the frame buffer controller 23 in the storage area of the PCI-e memory 27. To do.

すなわち、例えば、PCI-eメモリコントローラ26は、フレームバッファコントローラ23から供給される奇数フィールドのインタレース画像を構成するラインを、プログレッシブ画像を構成する複数のラインのうち、奇数番目のライン(奇数ライン)として、PCI-eメモリ27の記憶領域に記憶させる。   That is, for example, the PCI-e memory controller 26 converts the lines constituting the interlaced image of the odd field supplied from the frame buffer controller 23 into the odd-numbered lines (odd-numbered lines) among the plurality of lines constituting the progressive image. ) In the storage area of the PCI-e memory 27.

また、PCI-eメモリコントローラ26は、フレームバッファコントローラ23から供給される偶数フィールドのインタレース画像を構成するラインを、プログレッシブ画像を構成する複数のラインのうち、偶数番目のライン(偶数ライン)として、PCI-eメモリ27の記憶領域に記憶させる。   Further, the PCI-e memory controller 26 sets the lines constituting the even-field interlaced image supplied from the frame buffer controller 23 as even-numbered lines (even-numbered lines) among the plurality of lines constituting the progressive image. And stored in the storage area of the PCI-e memory 27.

これにより、PCI-eメモリ27の記憶領域には、対応するプログレッシブ画像が生成される。   As a result, a corresponding progressive image is generated in the storage area of the PCI-e memory 27.

また、PCI-eメモリコントローラ26は、PCI-eメモリ27の記憶領域に生成したプログレッシブ画像を構成する画像データを、1ライン毎に、ラインの先頭から終端に向かって、1回のバースト転送により転送することが可能なデータサイズを表すバースト転送サイズの単位で読み出し、転送ブロックとして、PCI-eインタフェース28にバースト転送する。   Also, the PCI-e memory controller 26 transfers the image data constituting the progressive image generated in the storage area of the PCI-e memory 27 by one burst transfer for each line from the head to the end of the line. Data is read out in units of burst transfer size representing the data size that can be transferred, and burst transferred to the PCI-e interface 28 as a transfer block.

ここで、バースト転送とは、バースト転送サイズの転送ブロック毎に、一括して転送することをいう。   Here, burst transfer refers to batch transfer for each transfer block having a burst transfer size.

なお、PCI-eメモリコントローラ26が行うバースト転送については、図2を参照して後述する。   The burst transfer performed by the PCI-e memory controller 26 will be described later with reference to FIG.

さらに、PCI-eメモリコントローラ26は、PCI-eメモリ27から、プログレッシブ画像として配置されている、2フィールド分のインタレース画像のうちの一方を読み出し、フレームバッファコントローラ23に供給する。   Further, the PCI-e memory controller 26 reads one of the two fields of interlaced images arranged as a progressive image from the PCI-e memory 27 and supplies it to the frame buffer controller 23.

また、PCI-eメモリコントローラ26は、SDI21からフレームバッファコントローラ23に入力されるインタレース画像の入力速度に応じて、PCI-eメモリに記憶されたプログレッシブ画像を、過不足なくPCI-eインタフェース28を介してパーソナルコンピュータ2に出力する必要がある。   In addition, the PCI-e memory controller 26 can display the progressive image stored in the PCI-e memory according to the input speed of the interlaced image input from the SDI 21 to the frame buffer controller 23 without excess or deficiency. It is necessary to output to the personal computer 2 via

したがって、PCI-eメモリコントローラ26では、プログレッシブ画像を、単に、PCI-eインタフェース28を介してパーソナルコンピュータ2に出力するためだけに必要とされるクロックよりも高速なクロックにより動作させるとともに、データの転送効率を向上させるために、バースト転送を採用している。   Therefore, the PCI-e memory controller 26 operates with a clock that is faster than a clock that is required only for outputting a progressive image to the personal computer 2 via the PCI-e interface 28, and for data transfer. Burst transfer is employed to improve transfer efficiency.

PCI-eメモリ27は、PCI-eメモリコントローラ26からの奇数フィールド及び偶数フィールドを、対応するフレームのプログレッシブ画像として記憶する。また、PCI-eメモリ27は、PCI-eメモリコントローラ26からの符号化データを記憶する。   The PCI-e memory 27 stores the odd field and even field from the PCI-e memory controller 26 as a progressive image of the corresponding frame. The PCI-e memory 27 stores the encoded data from the PCI-e memory controller 26.

PCI-eインタフェース28は、PCI-eメモリコントローラ26によってバースト転送されるプログレッシブ画像を、パーソナルコンピュータ2に出力する。   The PCI-e interface 28 outputs a progressive image burst-transferred by the PCI-e memory controller 26 to the personal computer 2.

[PCI-eメモリコントローラ26が行うバースト転送の説明]
次に、PCI-eメモリコントローラ26が、PCI-eメモリ27に記憶されたプログレッシブ画像をバースト転送する処理の詳細を説明する。
[Description of burst transfer performed by PCI-e memory controller 26]
Next, details of a process in which the PCI-e memory controller 26 performs burst transfer of a progressive image stored in the PCI-e memory 27 will be described.

図2は、PCI-eメモリ27の記憶領域に記憶されたプログレッシブ画像の一例を示している。   FIG. 2 shows an example of a progressive image stored in the storage area of the PCI-e memory 27.

このプログレッシブ画像は、奇数フィールドを表す第1フィールドデータ、及び偶数フィールドを表す第2のフィールドデータにより構成される。   The progressive image is composed of first field data representing odd fields and second field data representing even fields.

PCI-eメモリコントローラ26は、PCI-eメモリ27の記憶領域に生成したプログレッシブ画像を構成する画像データを、1ライン毎に、ラインの先頭から順にバースト転送サイズの単位で読み出し、転送ブロックとして、PCI-eインタフェース28にバースト転送する。   The PCI-e memory controller 26 reads out the image data constituting the progressive image generated in the storage area of the PCI-e memory 27 in units of burst transfer size in order from the head of the line for each line. Burst transfer to the PCI-e interface 28 is performed.

ところで、例えば、図2において、第1フィールドデータ及び第2フィールドデータそれぞれの1ラインを構成する画像データのデータサイズはaX+Yビットであり、バースト転送サイズはXビットである。したがって、第1フィールドデータ及び第2フィールドデータそれぞれの1ラインを構成する画像データのデータサイズaX+Yは、バースト転送サイズXにより割り切れないデータサイズとなっている。   Incidentally, for example, in FIG. 2, the data size of the image data constituting one line of each of the first field data and the second field data is aX + Y bits, and the burst transfer size is X bits. Therefore, the data size aX + Y of the image data constituting one line of each of the first field data and the second field data is a data size that cannot be divided by the burst transfer size X.

よって、1ラインを構成する画像データを、バースト転送サイズXの転送ブロック単位に分割した場合、ラインの終端に、バースト転送サイズ未満のデータサイズY(<X)の余りブロックが生じてしまうことになる。   Therefore, when image data constituting one line is divided into transfer blocks of burst transfer size X, a remainder block of data size Y (<X) less than the burst transfer size is generated at the end of the line. Become.

PCI-eメモリコントローラ26は、1ラインを構成する画像データのうち、a個のバースト転送サイズXの転送ブロックを、そのままバースト転送する。   The PCI-e memory controller 26 performs burst transfer of a transfer blocks of a burst transfer size X out of the image data constituting one line as it is.

また、PCI-eメモリコントローラ26は、1ラインを構成する画像データのうち、バースト転送サイズ未満の余りブロックを、余りブロックとは無関係なデータであって、バースト転送サイズXから、余りブロックのデータサイズYを差し引いて得られるデータサイズX-Yを有するデータを表す不要データ52とともに、バースト転送サイズの転送ブロックとしてバースト転送する。   In addition, the PCI-e memory controller 26 uses the extra blocks of less than the burst transfer size in the image data constituting one line as the data irrelevant to the surplus blocks, and the data of the extra blocks from the burst transfer size X. Along with unnecessary data 52 representing data having a data size XY obtained by subtracting the size Y, burst transfer is performed as a transfer block having a burst transfer size.

なお、余りブロックを、データサイズX-Yを有する不要データ52とともに、転送ブロックとしてバースト転送するのは、余りブロックのデータサイズYが、バースト転送するために必要なバースト転送サイズXに満たないことによる。   The reason why the surplus block is burst-transferred as a transfer block together with the unnecessary data 52 having the data size X-Y is that the data size Y of the surplus block is less than the burst transfer size X required for burst transfer.

これにより、PCI-eメモリコントローラ26からPCI-eインタフェース28を介して、パーソナルコンピュータ2には、不要データ52を含む転送ブロックが出力される。   As a result, a transfer block including unnecessary data 52 is output from the PCI-e memory controller 26 to the personal computer 2 via the PCI-e interface 28.

特開2003−179886号公報JP 2003-179886 A

上述したように、パーソナルコンピュータ2には、不要データ52を含む転送ブロックがバースト転送されることになり、パーソナルコンピュータ2は、転送ブロックを再構成して、プログレッシブ画像を取得するために、不要データ52を含む転送ブロックから、不要データ52を除去する処理が必要であった。   As described above, the transfer block including the unnecessary data 52 is burst transferred to the personal computer 2, and the personal computer 2 reconstructs the transfer block and acquires the progressive image to acquire the progressive image. Processing to remove unnecessary data 52 from the transfer block including 52 is necessary.

本発明は、このような状況に鑑みてなされたものであり、IP変換に際して、実質的に必要ない不要データを含むことなく、プログレッシブ画像をバースト転送できるようにするものである。   The present invention has been made in view of such a situation, and enables a progressive image to be burst-transferred without including unnecessary data that is substantially unnecessary during IP conversion.

本発明の一側面の画像処理装置は、インタレース画像をプログレッシブ画像に変換する画像処理装置であって、前記プログレッシブ画像を構成するライン単位の画像データを、不要データが付加された状態で保持する第1の保持手段と、前記プログレッシブ画像を構成する画像データを、所定のデータサイズを有するブロックの単位で保持する第2の保持手段と、前記第1の保持手段から、前記プログレッシブ画像を構成する画像データ及び前記不要データを、前記ライン毎に、前記ブロックの単位で読み出す読み出し手段と、読み出された前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記第2の保持手段に書き込む第1の書き込み手段とを含み、前記読み出し手段は、前記ライン毎に、前記ブロックとして、前記画像データのみにより構成されるブロック、又は、前記画像データ及び前記不要データにより構成されるブロックを読み出す。   An image processing apparatus according to an aspect of the present invention is an image processing apparatus that converts an interlaced image into a progressive image, and holds image data in units of lines constituting the progressive image with unnecessary data added thereto. The progressive image is constituted by a first holding means, a second holding means for holding image data constituting the progressive image in units of blocks having a predetermined data size, and the first holding means. Reading means for reading out the image data and the unnecessary data in units of the block for each line, and extracting only the image data constituting the read block, and the second unit in units of the blocks. First writing means for writing to the holding means, and the reading means is the block for each line. , Block composed only by the image data, or reads the block constituted by the image data and the required data.

読み出された前記ブロックを構成するデータに対して、前記データは前記不要データであるか否かを示すデータ有効フラグを対応付ける対応付け手段をさらに設けることができ、前記第1の書き込み手段では、前記データ有効フラグに基づいて、前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記第2の保持手段に書き込むようにすることができる。   Corresponding means for associating a data valid flag indicating whether or not the data is the unnecessary data with respect to the data constituting the read block can be further provided. In the first writing means, Based on the data valid flag, only the image data constituting the block can be extracted and written to the second holding unit in units of the block.

読み出された前記ブロックに対して、前記ブロックに前記不要データが含まれるか否かを示すデータ有効フラグを対応付ける対応付け手段をさらに設けることができ、前記第1の書き込み手段では、前記データ有効フラグに基づいて、前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記第2の保持手段に書き込むようにすることができる。   Corresponding means for associating a data valid flag indicating whether or not the unnecessary data is included in the block may be further provided for the read block, and the first writing means may include the data valid flag. Based on the flag, only the image data constituting the block can be extracted and written in the second holding unit in units of the block.

前記第1の書き込み手段は、抽出した前記画像データを所定のフォーマットにより変換し、前記ブロックの単位で、前記第2の保持手段に書き込むようにすることができる。   The first writing unit may convert the extracted image data according to a predetermined format and write the converted image data to the second holding unit in units of the block.

前記読み出し手段では、前記第1の保持手段から、前記プログレッシブ画像を構成する画像データ及び前記不要データを、前記ライン毎に、バースト転送が可能なバースト転送サイズを有する前記ブロックの単位で読み出すようにすることができる。   In the reading unit, the image data and the unnecessary data constituting the progressive image are read from the first holding unit in units of the block having a burst transfer size capable of burst transfer for each line. can do.

前記第2の保持手段から、前記バースト転送サイズの前記ブロックを読み出してバースト転送する転送手段をさらに設けることができる。   Transfer means for reading out the block having the burst transfer size from the second holding means and performing burst transfer can be further provided.

前記プログレッシブ画像のフレームに対応する奇数フィールド及び偶数フィールドの前記インタレース画像それぞれを構成するライン単位の画像データを、前記ブロックの単位で分割した場合に、前記ブロックのデータサイズに満たない余りブロックが生じるとき、前記ブロックのデータサイズから、前記余りブロックのデータサイズを差し引いて得られるデータサイズ分の前記不要データを、前記インタレース画像それぞれを構成するライン単位の画像データに付加する付加手段と、前記不要データが付加された前記インタレース画像それぞれを構成するライン単位の画像データを、前記不要データが付加された前記プログレッシブ画像を構成するライン単位の画像データとして、前記第2の保持手段に書き込む第2の書き込み手段とさらに設けることができる。   When the line-unit image data constituting the interlaced image of the odd field and the even field corresponding to the frame of the progressive image is divided in the unit of the block, there is a surplus block less than the data size of the block. An adding means for adding the unnecessary data corresponding to the data size obtained by subtracting the data size of the remainder block from the data size of the block to the image data in units of lines constituting each of the interlaced images. The image data for each line constituting each of the interlaced images to which the unnecessary data is added is written in the second holding means as the image data for each line constituting the progressive image to which the unnecessary data is added. Second writing means and more It can be provided.

前記第1の書き込み手段は、前記第2の書き込み手段を兼ねるようにすることができる。   The first writing unit can also serve as the second writing unit.

前記第1の保持手段は、前記第2の保持手段を兼ねるようにすることができる。   The first holding means can also serve as the second holding means.

本発明の一側面の画像処理方法は、インタレース画像をプログレッシブ画像に変換する画像処理装置の画像処理方法であって、前記画像処理装置は、第1の保持手段と、第2の保持手段と、読み出し手段と、第1の書き込み手段とを含み、前記読み出し手段が、前記プログレッシブ画像を構成するライン単位の画像データを、不要データが付加された状態で保持する前記第1の保持手段から、前記プログレッシブ画像を構成する画像データ及び前記不要データを、前記ライン毎に、前記ブロックの単位で読み出し、前記第1の書き込み手段が、読み出された前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記プログレッシブ画像を構成する画像データを、所定のデータサイズを有するブロックの単位で保持する前記第2の保持手段に書き込むステップを含み、前記読み出し手段は、前記ライン毎に、前記ブロックとして、前記画像データのみにより構成されるブロック、又は、前記画像データ及び前記不要データにより構成されるブロックを読み出す。   An image processing method according to one aspect of the present invention is an image processing method of an image processing apparatus that converts an interlaced image into a progressive image, and the image processing apparatus includes a first holding unit, a second holding unit, A first reading unit; a first writing unit, wherein the reading unit holds the image data in units of lines constituting the progressive image in a state where unnecessary data is added; The image data constituting the progressive image and the unnecessary data are read in units of the block for each line, and the first writing means extracts only the image data constituting the read block. The image data constituting the progressive image is held in units of blocks having a predetermined data size in units of the blocks. A step of writing in the second holding unit, wherein the reading unit is a block configured by only the image data or a block configured by the image data and the unnecessary data for each line as the block. Is read.

本発明においては、前記第1の保持手段から、前記プログレッシブ画像を構成する画像データ及び前記不要データが、前記ライン毎に、前記ブロックの単位で読み出され、読み出された前記ブロックを構成する前記画像データのみが抽出されて、前記ブロックの単位で、前記第2の保持手段に書き込まれる。   In the present invention, the image data and the unnecessary data constituting the progressive image are read from the first holding unit for each line in the unit of the block, and the read block is constituted. Only the image data is extracted and written to the second holding unit in units of the block.

本発明によれば、IP変換に際して、実質的に必要ない不要データを含むことなく、プログレッシブ画像をバースト転送することができる。   According to the present invention, a progressive image can be burst-transferred without including unnecessary data that is substantially unnecessary during IP conversion.

従来の画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional image processing apparatus. PCI-eメモリに記憶されたプログレッシブ画像の一例を示す図である。It is a figure which shows an example of the progressive image memorize | stored in the PCI-e memory. 本実施の形態である画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus which is this Embodiment. フレームバッファコントローラの構成例を示すブロック図である。It is a block diagram which shows the structural example of a frame buffer controller. DPXフォーマットの一例を示す図である。It is a figure which shows an example of a DPX format. 1ライン分のインタレース画像の一例を示す図である。It is a figure which shows an example of the interlace image for 1 line. 転送ブロックの一例を示す図である。It is a figure which shows an example of a transfer block. PCI-eメモリコントローラの構成例を示すブロック図である。It is a block diagram which shows the structural example of a PCI-e memory controller. PCI-eメモリコントローラが行う処理を説明するための図である。It is a figure for demonstrating the process which a PCI-e memory controller performs. PCI-eメモリコントローラが行う処理を説明するための他の図である。FIG. 10 is another diagram for explaining processing performed by the PCI-e memory controller. 書き込み処理を説明するためのフローチャートである。It is a flowchart for demonstrating a write-in process. 奇数ライン生成処理を説明するためのフローチャートである。It is a flowchart for demonstrating odd line generation processing. 偶数ライン生成処理を説明するためのフローチャートである。It is a flowchart for demonstrating even line production | generation processing. 読み出し処理を説明するためのフローチャートである。It is a flowchart for demonstrating a read-out process. 不要データ除去処理を説明するためのフローチャートである。It is a flowchart for demonstrating an unnecessary data removal process. PCI-eメモリコントローラの他の構成例を示すブロック図である。FIG. 10 is a block diagram showing another configuration example of the PCI-e memory controller. コンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of a computer.

以下、発明を実施するための形態(以下、本実施の形態という)について説明する。なお、説明は以下の順序で行う。
1. 本実施の形態(プログレッシブ画像から不要データを除去する例)
2. 変形例
Hereinafter, modes for carrying out the invention (hereinafter referred to as the present embodiment) will be described. The description will be given in the following order.
1. Embodiment (example of removing unnecessary data from a progressive image)
2. Modified example

<1.本実施の形態>
[画像処理装置71の構成例]
図3は、本実施の形態である画像処理装置71の構成例を示している。
<1. Embodiment>
[Configuration Example of Image Processing Device 71]
FIG. 3 shows a configuration example of the image processing apparatus 71 according to this embodiment.

この画像処理装置71は、例えば、パーソナルコンピュータ2に接続されるビデオカード等に相当する。なお、画像処理装置71は、図1の画像処理装置1と同様に構成される部分については同一の符号を付しているため、それらの説明は以下省略する。   The image processing device 71 corresponds to, for example, a video card connected to the personal computer 2. In the image processing apparatus 71, the same reference numerals are given to the same components as those of the image processing apparatus 1 in FIG.

すなわち、画像処理装置71は、図1の画像処理装置1に備えられたフレームバッファコントローラ23、フレームバッファメモリ24、PCI-eメモリコントローラ26、及びPCI-eメモリ27それぞれに代えて、フレームバッファコントローラ91、フレームバッファメモリ92、PCI-eメモリコントローラ93、及びPCI-eメモリ94が設けられている他は、図1の画像処理装置1と同様に構成されている。   That is, the image processing apparatus 71 is replaced with the frame buffer controller 23, the frame buffer memory 24, the PCI-e memory controller 26, and the PCI-e memory 27 provided in the image processing apparatus 1 of FIG. 91, except that a frame buffer memory 92, a PCI-e memory controller 93, and a PCI-e memory 94 are provided.

フレームバッファコントローラ91には、SDI21からインタレース画像が供給される。フレームバッファコントローラ91は、SDI21から供給されるインタレース画像の第1フィールドデータ及び第2フィールドデータに基づいて、対応するプログレッシブ画像を、フレームバッファメモリ92の記憶領域に生成する。   An interlaced image is supplied from the SDI 21 to the frame buffer controller 91. The frame buffer controller 91 generates a corresponding progressive image in the storage area of the frame buffer memory 92 based on the first field data and the second field data of the interlaced image supplied from the SDI 21.

また、フレームバッファコントローラ91は、フレームバッファメモリ92の記憶領域に生成したプログレッシブ画像を構成する画像データを、1ライン毎に、転送ブロックの単位で読み出す。   Further, the frame buffer controller 91 reads out image data constituting the progressive image generated in the storage area of the frame buffer memory 92 for each transfer block in units of one line.

そして、フレームバッファコントローラ91は、読み出した転送ブロックに、不要データが含まれるか否かを示すデータ有効フラグを対応付けて、PCI-eメモリコントローラ93に供給する。   Then, the frame buffer controller 91 associates the read transfer block with a data valid flag indicating whether or not unnecessary data is included, and supplies it to the PCI-e memory controller 93.

なお、データ有効フラグは、転送ブロックに不要データが含まれていない場合に真とされ、転送ブロックに不要データが含まれている場合に偽とされる。   Note that the data valid flag is set to true when unnecessary data is not included in the transfer block, and is set to false when unnecessary data is included in the transfer block.

フレームバッファメモリ92は、フレームバッファコントローラ91からの第1フィールドデータ及び第2フィールドデータを、対応するフレームのプログレッシブ画像として記憶する。   The frame buffer memory 92 stores the first field data and the second field data from the frame buffer controller 91 as a progressive image of the corresponding frame.

PCI-eメモリコントローラ93は、フレームバッファコントローラ91からの転送ブロックに対応付けられたデータ有効フラグに基づいて、その転送ブロックに不要データが含まれるか否か判定する。   The PCI-e memory controller 93 determines whether or not unnecessary data is included in the transfer block based on the data valid flag associated with the transfer block from the frame buffer controller 91.

そして、PCI-eメモリコントローラ93は、フレームバッファコントローラ91からの転送ブロックに対応付けられたデータ有効フラグに基づいて、その転送ブロックに不要データが含まれると判定した場合、転送ブロックを構成する画像データ及び不要データのうち、不要データを破棄(無視)するとともに、画像データを取得(抽出)する。   If the PCI-e memory controller 93 determines that unnecessary data is included in the transfer block based on the data valid flag associated with the transfer block from the frame buffer controller 91, the image constituting the transfer block Among data and unnecessary data, unnecessary data is discarded (ignored) and image data is acquired (extracted).

なお、PCI-eメモリコントローラ93は、例えば、プログレッシブ画像を構成する1ラインのデータサイズ、及びバースト転送サイズ等に基づいて、転送ブロックを構成する不要データと画像データとを区別して、画像データのみを取得している。   Note that the PCI-e memory controller 93 distinguishes unnecessary data and image data constituting a transfer block based on, for example, the data size of one line constituting a progressive image, the burst transfer size, etc., and only image data. Is getting.

また、PCI-eメモリコントローラ93は、フレームバッファコントローラ91からの転送ブロックに対応付けられたデータ有効フラグに基づいて、その転送ブロックに不要データが含まれないと判定した場合、その転送ブロックを構成する画像データを取得する。   If the PCI-e memory controller 93 determines that unnecessary data is not included in the transfer block based on the data valid flag associated with the transfer block from the frame buffer controller 91, the PCI-e memory controller 93 configures the transfer block. Acquire image data.

さらに、PCI-eメモリコントローラ93は、バースト転送サイズ分の画像データを取得した場合、バースト転送サイズ分の画像データを、バースト転送サイズの単位で(バースト転送サイズの転送ブロックとして)、PCI-eメモリ94に供給して記憶させる。   Further, when the PCI-e memory controller 93 acquires the image data for the burst transfer size, the PCI-e memory controller 93 converts the image data for the burst transfer size in units of the burst transfer size (as a transfer block of the burst transfer size). The data is supplied to the memory 94 and stored.

また、PCI-eメモリコントローラ93は、PCI-eメモリ94から、バースト転送サイズの転送ブロックを読み出し、PCI-eインタフェース28を介してパーソナルコンピュータ2にバースト転送する。   The PCI-e memory controller 93 reads a transfer block having a burst transfer size from the PCI-e memory 94 and performs burst transfer to the personal computer 2 via the PCI-e interface 28.

なお、PCI-eメモリコントローラ93は、SDI21からフレームバッファコントローラ91に入力されるインタレース画像の入力速度に応じて、PCI-eメモリ94に記憶されたプログレッシブ画像を、過不足なくPCI-eインタフェース28を介してパーソナルコンピュータ2に出力する必要がある。   Note that the PCI-e memory controller 93 displays the progressive image stored in the PCI-e memory 94 according to the input speed of the interlaced image input from the SDI 21 to the frame buffer controller 91. It is necessary to output it to the personal computer 2 via 28.

したがって、PCI-eメモリコントローラ93では、プログレッシブ画像を、単に、PCI-eインタフェース28を介してパーソナルコンピュータ2に出力するためだけに必要とされるクロックよりも高速なクロックにより動作させるとともに、データの転送効率を向上させるために、バースト転送を採用している。   Accordingly, the PCI-e memory controller 93 is operated by a clock faster than a clock required for simply outputting a progressive image to the personal computer 2 via the PCI-e interface 28, and data Burst transfer is employed to improve transfer efficiency.

PCI-eメモリ94は、PCI-eメモリコントローラ93から、バースト転送サイズで供給される画像データを、バースト転送サイズの転送ブロックとして記憶する。   The PCI-e memory 94 stores the image data supplied in burst transfer size from the PCI-e memory controller 93 as a transfer block of burst transfer size.

[フレームバッファコントローラ91の構成例]
次に、図4は、フレームバッファコントローラ91の構成例を示している。
[Configuration Example of Frame Buffer Controller 91]
Next, FIG. 4 shows a configuration example of the frame buffer controller 91.

フレームバッファコントローラ91は、主に、FIFO(first in first out)メモリ111aを内蔵する入力ポート111、監視部112、アービタメモリコントローラ113、FIFOメモリ114aを内蔵する出力ポート114、及びFIFOメモリ115aを内蔵する出力ポート115により構成される。   The frame buffer controller 91 mainly includes an input port 111 incorporating a FIFO (first in first out) memory 111a, a monitoring unit 112, an arbiter memory controller 113, an output port 114 incorporating a FIFO memory 114a, and a FIFO memory 115a. Output port 115.

入力ポート111及び監視部112には、それぞれ、SDI21から、同一のインタレース画像(第1フィールドデータや第2フィールドデータ)が入力(供給)される。   The same interlaced image (first field data or second field data) is input (supplied) from the SDI 21 to the input port 111 and the monitoring unit 112, respectively.

入力ポート111は、SDI21からのインタレース画像を、SDI21から供給された順序で、内蔵するFIFOメモリ111aに入力して記憶させる。   The input port 111 inputs and stores the interlaced image from the SDI 21 into the built-in FIFO memory 111a in the order supplied from the SDI 21.

また、入力ポート111は、FIFOメモリ111aに入力して記憶させたインタレース画像を、入力した順序で、アービタメモリコントローラ113に出力させる。   Further, the input port 111 causes the arbiter memory controller 113 to output the interlaced images that are input and stored in the FIFO memory 111a in the input order.

監視部112は、SDI21からのインタレース画像(FIFOメモリ111aからアービタメモリコントローラ113に入力されるものと同一のインタレース画像)に乱れが生じているか否かを判定し、その判定結果を、アービタメモリコントローラ113に供給する。   The monitoring unit 112 determines whether or not there is a disturbance in the interlaced image from the SDI 21 (the same interlaced image input from the FIFO memory 111a to the arbiter memory controller 113), and the determination result is used as the arbiter. This is supplied to the memory controller 113.

アービタメモリコントローラ113は、入力ポート111、出力ポート114及び115、並びにフレームバッファメモリ92に対するデータの書き込みや読み出しを制御するアービタ機能を有する。   The arbiter memory controller 113 has an arbiter function that controls writing and reading of data with respect to the input port 111, the output ports 114 and 115, and the frame buffer memory 92.

すなわち、例えば、アービタメモリコントローラ113は、FIFOメモリ111aからのインタレース画像に乱れが生じていないとの判定結果を、監視部112から得た場合、FIFOメモリ111aからのインタレース画像を、出力ポート114のFIFOメモリ114aに入力して記憶させるとともに、フレームバッファメモリ92に供給して記憶させる。   That is, for example, when the arbiter memory controller 113 obtains the determination result that the interlaced image from the FIFO memory 111a is not disturbed from the monitoring unit 112, the arbiter memory controller 113 outputs the interlaced image from the FIFO memory 111a to the output port. The data is input to and stored in the FIFO memory 114 a 114 and supplied to the frame buffer memory 92 for storage.

また、アービタメモリコントローラ113は、フレームバッファメモリ92に記憶されたプログレッシブ画像を、ライン毎に、バースト転送サイズ単位で、転送ブロックとして読み出す。   Further, the arbiter memory controller 113 reads the progressive image stored in the frame buffer memory 92 as a transfer block in units of burst transfer size for each line.

なお、アービタメモリコントローラ113は、FIFOメモリ111aからのインタレース画像を、監視部112からの判定結果に対応付けて、フレームバッファメモリ92に供給して記憶させるようにしてもよい。   The arbiter memory controller 113 may supply the interlaced image from the FIFO memory 111a to the frame buffer memory 92 in association with the determination result from the monitoring unit 112 for storage.

この場合、アービタメモリコントローラ113は、フレームバッファメモリ92に記憶された判定結果に基づいて、乱れが生じていないインタレース画像に対応するプログレッシブ画像のみを、ライン毎に、バースト転送サイズ単位で、転送ブロックとして読み出すようにする。   In this case, based on the determination result stored in the frame buffer memory 92, the arbiter memory controller 113 transfers only the progressive image corresponding to the uninterrupted interlaced image in units of burst transfer size for each line. Read as a block.

そして、アービタメモリコントローラ113は、読み出した転送ブロックに、対応するデータ有効フラグを対応付け、その結果得られる、データ有効フラグが対応付けられた転送ブロックを、出力ポート115のFIFOメモリ115aに入力して記憶させる。   The arbiter memory controller 113 associates the read transfer block with the corresponding data valid flag, and inputs the transfer block associated with the data valid flag obtained as a result to the FIFO memory 115a of the output port 115. To remember.

さらに、アービタメモリコントローラ113は、アービタ機能によりデータの書き込みや読み出しを行う他、フレームバッファメモリ92に対するリフレッシュ動作等を行う。   Further, the arbiter memory controller 113 performs a refresh operation on the frame buffer memory 92 in addition to writing and reading data by the arbiter function.

出力ポート114は、FIFOメモリ114aに入力されて記憶されたインタレース画像を、入力された順序で読み出し、コーデック25に出力する。   The output port 114 reads out the interlaced images that are input and stored in the FIFO memory 114 a in the input order, and outputs them to the codec 25.

出力ポート115は、FIFOメモリ115aに入力されて記憶された転送ブロックを、FIFOメモリ115aに入力された順序で読み出し、順次、PCI-eメモリコントローラ93に出力する。   The output port 115 reads the transfer blocks input and stored in the FIFO memory 115a in the order of input to the FIFO memory 115a, and sequentially outputs them to the PCI-e memory controller 93.

[フレームバッファコントローラ91が行う処理の説明]
次に、図5乃至図7を参照して、フレームバッファコントローラ91が行う処理の詳細を説明する。
[Description of processing performed by frame buffer controller 91]
Next, details of processing performed by the frame buffer controller 91 will be described with reference to FIGS. 5 to 7.

フレームバッファコントローラ91において、アービタメモリコントローラ113は、SDI21から入力ポート111及びFIFOメモリ111aを介して供給されるインタレース画像の第1フィールドデータ及び第2フィールドデータそれぞれを、例えば、パーソナルコンピュータ2においてファイル化が容易なDPX(digital picture exchange)フォーマット等の所定のフォーマットに変換する。   In the frame buffer controller 91, the arbiter memory controller 113 converts the first field data and the second field data of the interlaced image supplied from the SDI 21 via the input port 111 and the FIFO memory 111 a to a file in the personal computer 2, for example. It is converted into a predetermined format such as DPX (digital picture exchange) format that can be easily converted.

図5は、DPXフォーマットの一例であるDPX格納データのデータ構造を示している。   FIG. 5 shows the data structure of DPX storage data, which is an example of the DPX format.

図5に示すDPX格納データは、例えば第1フィールドデータや第2フィールドデータを構成する画像データを表す3個の10ビットデータと、制御データ"00"を表す2ビットデータにより構成される。   The DPX storage data shown in FIG. 5 includes, for example, three 10-bit data representing the image data constituting the first field data and the second field data, and the 2-bit data representing the control data “00”.

アービタメモリコントローラ113は、例えば、入力ポート111のFIFOメモリ111aからの第1フィールドデータや第2フィールドデータを、1ライン毎に、複数のDPX格納データに変換する。   The arbiter memory controller 113 converts, for example, first field data and second field data from the FIFO memory 111a of the input port 111 into a plurality of DPX storage data for each line.

次に、図6を参照して、アービタメモリコントローラ113が、第1フィールドデータにおける1ライン分を、複数のDPX格納データに変換する処理の詳細を説明する。なお、第2フィールドデータにおける1ライン分についても、第1フィールドデータの場合と同様に、複数のDPX格納データに変換されるため、第2フィールドデータにおける1ラインを、複数のDPX格納データに変換する処理の説明は、以下省略する。   Next, the details of the process in which the arbiter memory controller 113 converts one line of the first field data into a plurality of DPX storage data will be described with reference to FIG. Since one line in the second field data is also converted into a plurality of DPX storage data as in the case of the first field data, one line in the second field data is converted into a plurality of DPX storage data. The description of the processing to be performed is omitted below.

図6は、アービタメモリコントローラ113により、複数のDPX格納データに変換される1ライン分の第1フィールドデータの一例を示している。   FIG. 6 shows an example of first field data for one line that is converted into a plurality of DPX storage data by the arbiter memory controller 113.

図6において、斜線により示される1ライン分の第1フィールドデータは、アービタメモリコントローラ113により複数のDPX格納データに変換されて、図6の最も大きな矩形により示されるプログレッシブ画像を構成する1番目のラインとして、フレームバッファメモリ92に記憶される。   In FIG. 6, the first field data for one line indicated by diagonal lines is converted into a plurality of DPX storage data by the arbiter memory controller 113, and the first image data constituting the progressive image indicated by the largest rectangle in FIG. The data is stored in the frame buffer memory 92 as a line.

なお、第1フィールドデータは、そのY成分、Cb成分、及びCr成分が、Y:Cb:Cr=4:2:2の比でサンプリングされると仮定する。この場合、1ライン分のY成分、Cb成分、及びCr成分(を表すデータ)の個数は、それぞれ、Y成分を表すYデータが2048個、Cb成分を表すCbデータが1024個、及びCr成分を表すCrデータが1024個の合計4096個となる。   In the first field data, it is assumed that the Y component, Cb component, and Cr component are sampled at a ratio of Y: Cb: Cr = 4: 2: 2. In this case, the number of Y component, Cb component, and Cr component (representing data) for one line is 2048 Y data representing Y component, 1024 Cb data representing Cb component, and Cr component, respectively. The total number of Cr data that represents 1024 is 4096.

また、1画素を表現するビット数を10ビットとすれば、1ライン分の第1フィールドデータは、4096個の10ビットデータにより表される。   If the number of bits representing one pixel is 10 bits, the first field data for one line is represented by 4096 10-bit data.

したがって、いまの場合、アービタメモリコントローラ113は、4096個の10ビットデータを、DPXフォーマットにしたがって、複数のDPX格納データに変換することになる。   Therefore, in this case, the arbiter memory controller 113 converts 4096 pieces of 10-bit data into a plurality of DPX storage data according to the DPX format.

次に、図7は、変換されたDPX格納データ、及びそのDPX格納データにより構成される転送ブロックの一例を示している。   Next, FIG. 7 shows an example of converted DPX storage data and a transfer block constituted by the DPX storage data.

図7において、DPX格納データ511乃至511366は、アービタメモリコントローラ113により、4096個の10ビットデータP1-1乃至P1-4096が、DPXフォーマットにしたがって変換されたDPX格納データの一例を示している。 In FIG. 7, DPX stored data 51 1 through 51 1366, the arbiter memory controller 113, the 4096 10-bit data P1-1 to P1-4096, shows an example of a DPX storing data converted in accordance with DPX format Yes.

なお、10ビットデータP1-1乃至P1-4096は、図6において斜線で示した1ライン分の第1フィールドデータにおける4096個の10ビットデータを表す。   The 10-bit data P1-1 to P1-4096 represent 4096 10-bit data in the first field data for one line indicated by hatching in FIG.

上述したように、10ビットデータP1-1乃至P1-4096は4096個であり、DPX格納データは、3個の10ビットデータと、"00"を表す2ビットデータにより構成されるデータである。   As described above, there are 4096 pieces of 10-bit data P1-1 to P1-4096, and DPX storage data is data composed of three pieces of 10-bit data and 2-bit data representing “00”.

したがって、アービタメモリコントローラ113は、例えば、4096個の10ビットデータP1-1乃至P1-4096のうち、4095個の10ビットデータP1-1乃至P1-4095に基づいて、1365(=4095/3)個のDPX格納データ511乃至511365を生成する。 Therefore, the arbiter memory controller 113, for example, 1365 (= 4095/3) based on 4095 pieces of 10-bit data P1-1 to P1-4095 out of 4096 pieces of 10-bit data P1-1 to P1-4096. Pieces of DPX storage data 51 1 to 51 1365 are generated.

また、アービタメモリコントローラ113は、4096個の10ビットデータP1-1乃至P1-4096のうち、残りの10ビットデータP1-4096に基づいて、10ビットデータP1-4096、20ビットの不要データ52、及び"00"を表す2ビットデータにより構成されるDPX格納データ511366を生成する。 In addition, the arbiter memory controller 113 selects 10-bit data P1-4096, 20-bit unnecessary data 52 based on the remaining 10-bit data P1-4096 out of 4096 10-bit data P1-1 to P1-4096. And DPX storage data 51 1366 composed of 2-bit data representing “00”.

そして、アービタメモリコントローラ113は、生成した1366個のDPX格納データ511乃至511366を、フレームバッファメモリ92に供給して記憶させる。 The arbiter memory controller 113 supplies the generated 1366 pieces of DPX storage data 51 1 to 51 1366 to the frame buffer memory 92 for storage.

また、アービタメモリコントローラ113は、フレームバッファメモリ92の記憶領域に記憶したDPX格納データ511乃至511366を、バースト転送サイズとして、例えば64ビットの転送ブロック単位で読み出す。 Further, the arbiter memory controller 113, the DPX stored data 51 1 to 51 1366 stored in the storage area of the frame buffer memory 92, as the burst transfer size, for example, reads a 64-bit transfer block.

なお、バースト転送サイズは、フレームバッファメモリ92の種類(例えば、シングルデータレートやダブルデータレート等)、フレームバッファメモリ92を構成するメモリの個数、及びアービタメモリコントローラ113とフレームバッファメモリ92とを接続するバスのバス幅(転送レート)等により、最適値が決定される。   The burst transfer size refers to the type of frame buffer memory 92 (for example, single data rate or double data rate), the number of memories constituting the frame buffer memory 92, and the connection between the arbiter memory controller 113 and the frame buffer memory 92. The optimum value is determined by the bus width (transfer rate) of the bus to be used.

アービタメモリコントローラ113は、読み出した転送ブロックのうち、画像データ(例えば、10ビットデータP1-1乃至P1-6)のみにより構成される転送ブロック(例えば、DPX格納データ511及び512により構成される転送ブロック)については、真に設定されたデータ有効フラグを対応付けて、出力ポート115のFIFOメモリ115aに入力する。 The arbiter memory controller 113 is composed of transfer blocks (for example, DPX storage data 51 1 and 51 2 ) composed only of image data (for example, 10-bit data P1-1 to P1-6) among the read transfer blocks. Transfer block) is associated with a true data valid flag and input to the FIFO memory 115a of the output port 115.

また、アービタメモリコントローラ113は、読み出した転送ブロックのうち、画像データ(例えば、10ビットデータP1-4093乃至P1-4096)と不要データ(例えば、不要データ52)により構成される転送ブロック(例えば、DPX格納データ511365及び511366により構成される転送ブロック)については、偽に設定されたデータ有効フラグを対応付けて、出力ポート115のFIFOメモリ115aに入力する。 The arbiter memory controller 113 also includes a transfer block (for example, 10-bit data P1-4093 to P1-4096) and unnecessary data (for example, unnecessary data 52) among the read transfer blocks. For the transfer block composed of DPX storage data 51 1365 and 51 1366 ), the data valid flag set to false is associated with each other and input to the FIFO memory 115a of the output port 115.

なお、アービタメモリコントローラ113は、画像データのみにより構成される転送ブロック、及び画像データと不要データにより構成される転送ブロックが記憶されている、フレームバッファメモリ92の記憶領域上の位置を、1ラインのデータサイズ、及びバースト転送サイズ等に基づいて特定することができるため、読み出した転送ブロックに、対応するデータ有効フラグを対応付けることができる。   Note that the arbiter memory controller 113 sets the position on the storage area of the frame buffer memory 92 where the transfer block constituted only by image data and the transfer block constituted by image data and unnecessary data are stored in one line. Therefore, the corresponding data valid flag can be associated with the read transfer block.

[PCI-eメモリコントローラ93の構成例]
次に、図8は、PCI-eメモリコントローラ93の構成例を示している。
[Configuration example of PCI-e memory controller 93]
Next, FIG. 8 shows a configuration example of the PCI-e memory controller 93.

PCI-eメモリコントローラ93は、RFIFOメモリ131an及びWFIFOメモリ131bnを内蔵する入出力ポート131n(nは1からNまでの自然数)、及びアービタメモリコントローラ132により構成される。 PCI-e memory controller 93, RFIFO (natural number of n from 1 to N) input and output ports 131 n incorporating the memory 131a n and WFIFO memory 131b n, and constituted by the arbiter memory controller 132.

入出力ポート131nには、例えば、フレームバッファコントローラ91から、データ有効フラグが対応付けられた転送ブロックが供給される。 For example, a transfer block associated with a data valid flag is supplied from the frame buffer controller 91 to the input / output port 131 n .

入出力ポート131nは、フレームバッファコントローラ91からの転送ブロックを、内蔵するWFIFOメモリ131bnに入力して記憶させる。 The input / output port 131 n inputs and stores the transfer block from the frame buffer controller 91 in the built-in WFIFO memory 131b n .

そして、入出力ポート131nは、WFIFOメモリ131bnから、転送ブロックを入力した順序で読み出し、アービタメモリコントローラ132に出力させる。 The input / output port 131 n reads out the transfer blocks from the WFIFO memory 131 b n in the order of input, and outputs them to the arbiter memory controller 132.

また、入出力ポート131nは、RFIFOメモリ131anに、アービタメモリコントローラ132から入力される転送ブロックを、入力された順序で読み出し、PCI-eインタフェース28にバースト転送する。 Furthermore, the input-output port 131 n is in RFIFO memory 131a n, the transfer block input from the arbiter memory controller 132 reads the order they are entered, burst transfers to PCI-e interface 28.

なお、RFIFOメモリ131an及びWFIFOメモリ131bnは、複数の転送ブロックを記憶することが可能なメモリ容量を有している。したがって、入出力ポート131nは、複数の転送ブロックを記憶することが可能なRFIFOメモリ131an及びWFIFOメモリ131bnを用いて、高速なクロックによりバースト転送を行うことが可能となる。 The RFIFO memory 131a n and the WFIFO memory 131b n have a memory capacity capable of storing a plurality of transfer blocks. Therefore, the input / output port 131 n can perform burst transfer with a high-speed clock using the RFIFO memory 131a n and the WFIFO memory 131b n capable of storing a plurality of transfer blocks.

アービタメモリコントローラ132は、入出力ポート131n及びPCI-eメモリ94に対するデータの書き込みや読み出しを制御するアービタ機能を有する。 The arbiter memory controller 132 has an arbiter function that controls writing and reading of data with respect to the input / output port 131 n and the PCI-e memory 94.

すなわち、例えば、アービタメモリコントローラ132は、WFIFOメモリ131bnからの転送ブロックに対応付けられたデータ有効フラグが真である場合、その転送ブロックを構成する画像データを取得する。 That is, for example, when the data valid flag associated with the transfer block from the WFIFO memory 131b n is true, the arbiter memory controller 132 acquires the image data constituting the transfer block.

また、例えば、アービタメモリコントローラ132は、WFIFOメモリ131bnからの転送ブロックに対応付けられたデータ有効フラグが偽である場合、その転送ブロックを構成する画像データ及び不要データのうち、不要データを無視するとともに、画像データを取得する。 Further, for example, when the data valid flag associated with the transfer block from the WFIFO memory 131b n is false, the arbiter memory controller 132 ignores unnecessary data among the image data and unnecessary data constituting the transfer block. In addition, image data is acquired.

なお、アービタメモリコントローラ132は、例えば、プログレッシブ画像を構成する1ラインのデータサイズ、及びバースト転送サイズ等に基づいて、転送ブロックを構成する不要データと画像データとを区別して、画像データのみを取得している。   The arbiter memory controller 132 obtains only image data by distinguishing unnecessary data and image data constituting a transfer block based on, for example, the data size of one line constituting a progressive image and the burst transfer size. is doing.

そして、アービタメモリコントローラ132は、バースト転送サイズ分の画像データを取得したことに対応して、バースト転送サイズ分の画像データを、バースト転送サイズの転送ブロックとして、PCI-eメモリ94に供給し記憶させる。   Then, the arbiter memory controller 132 supplies the image data for the burst transfer size to the PCI-e memory 94 as a transfer block of the burst transfer size in response to the acquisition of the image data for the burst transfer size. Let

また、例えば、アービタメモリコントローラ132は、PCI-eメモリ94に記憶された転送ブロックを読み出し、RFIFOメモリ131anに入力して記憶させる。 Further, for example, arbiter memory controller 132 reads the transfer block which is stored in the PCI-e memory 94, and stores enter the RFIFO memory 131a n.

さらに、アービタメモリコントローラ132は、アービタ機能によりデータの書き込みや読み出しを行う他、PCI-eメモリ94に対するリフレッシュ動作等を行う。   Furthermore, the arbiter memory controller 132 performs a refresh operation on the PCI-e memory 94 in addition to writing and reading data by the arbiter function.

[PCI-eメモリコントローラ93が行う処理の説明]
次に、図9及び図10を参照して、PCI-eメモリコントローラ93が行う処理の詳細を説明する。
[Description of processing performed by the PCI-e memory controller 93]
Next, details of processing performed by the PCI-e memory controller 93 will be described with reference to FIGS. 9 and 10.

図9は、PCI-eメモリ94の記憶領域に記憶されたプログレッシブ画像の一例を示している。   FIG. 9 shows an example of a progressive image stored in the storage area of the PCI-e memory 94.

PCI-eメモリコントローラ93は、フレームバッファコントローラ91から供給される転送ブロックのうち、データ有効フラグが真である転送ブロックを構成する画像データを取得する。   The PCI-e memory controller 93 acquires image data constituting a transfer block whose data validity flag is true among the transfer blocks supplied from the frame buffer controller 91.

また、PCI-eメモリコントローラ93は、フレームバッファコントローラ91から供給される転送ブロックのうち、データ有効フラグが偽である転送ブロックを構成する画像データ及び不要データのうち、不要データを無視するとともに、画像データを取得する。   Further, the PCI-e memory controller 93 ignores unnecessary data among the image data and unnecessary data constituting the transfer block whose data valid flag is false among the transfer blocks supplied from the frame buffer controller 91, Get image data.

PCI-eメモリコントローラ93は、バースト転送サイズ分の画像データを取得したことに対応して、取得したバースト転送サイズ分の画像データを、図9に示すように、バースト転送サイズの転送ブロックとして、PCI-eメモリ94に供給して記憶させる。   In response to the acquisition of the image data for the burst transfer size, the PCI-e memory controller 93 converts the acquired image data for the burst transfer size as a transfer block of the burst transfer size as shown in FIG. It is supplied to the PCI-e memory 94 and stored.

次に、図10を参照して、PCI-eメモリコントローラ93が、バースト転送サイズ分の画像データを取得したことに対応して、取得した画像データを、バースト転送サイズの転送ブロックの単位で、PCI-eメモリ94に供給して記憶させる処理の詳細を説明する。   Next, referring to FIG. 10, in response to the PCI-e memory controller 93 acquiring image data for the burst transfer size, the acquired image data is transferred in units of transfer blocks of burst transfer size. Details of processing to be supplied to and stored in the PCI-e memory 94 will be described.

図10は、PCI-eメモリ94に記憶された転送ブロック、及びその転送ブロックを構成するDPX格納データの一例を示している。   FIG. 10 shows an example of a transfer block stored in the PCI-e memory 94 and DPX storage data constituting the transfer block.

なお、図10において、10ビットデータP1-1乃至P1-4096は、プログレッシブ画像を構成する複数のラインのうち、上から1番目のラインを構成する10ビットデータそれぞれを表す。   In FIG. 10, 10-bit data P1-1 to P1-4096 represent 10-bit data constituting the first line from the top among a plurality of lines constituting the progressive image.

また、10ビットデータP2-1乃至P2-4096は、プログレッシブ画像を構成する複数のラインのうち、上から2番目のラインを構成する10ビットデータそれぞれを表す。   Further, 10-bit data P2-1 to P2-4096 represent 10-bit data constituting the second line from the top among the plurality of lines constituting the progressive image.

アービタメモリコントローラ132には、フレームバッファコントローラ91から入出力ポート131n及びWFIFOメモリ131bnを介して、データ有効フラグが対応付けられた転送ブロックが供給される。 The arbiter memory controller 132 is supplied with a transfer block associated with a data valid flag from the frame buffer controller 91 via the input / output port 131 n and the WFIFO memory 131b n .

アービタメモリコントローラ132は、WFIFOメモリ131bnからの転送ブロックに対応付けられたデータ有効フラグに基づいて、転送ブロックに含まれる画像データを取得する。そして、アービタメモリコントローラ132は、バースト転送サイズ分の画像データ(バースト転送において一括して転送される画像データ)を取得したことに対応して、そのバースト転送サイズ分の画像データを、複数のDPX格納データに変換し、転送ブロックとして、PCI-eメモリ94に供給して記憶させる。 The arbiter memory controller 132 acquires the image data included in the transfer block based on the data valid flag associated with the transfer block from the WFIFO memory 131b n . Then, the arbiter memory controller 132 converts the image data for the burst transfer size into a plurality of DPXs in response to the acquisition of the image data for the burst transfer size (image data transferred in batch in the burst transfer). The data is converted into stored data and supplied to the PCI-e memory 94 as a transfer block for storage.

いまの場合、例えば、アービタメモリコントローラ132は、バースト転送サイズ分の画像データとして、10ビットデータP1-1乃至P1-6を取得したことに対応して、取得した画像データを、DPX格納データ1511及び1512に変換し、転送ブロックとして、PCI-eメモリ94に供給して記憶させる。 In this case, for example, the arbiter memory controller 132 acquires the acquired image data as the DPX storage data 151 in response to the acquisition of the 10-bit data P1-1 to P1-6 as the image data for the burst transfer size. 1 and 151 2 , and supplied to the PCI-e memory 94 as a transfer block for storage.

PCI-eメモリコントローラ93は、同様にして、10ビットデータP1-7乃至P1-4092を、DPX格納データ1513乃至1511364に変換し、DPX格納データ1512n-1及び1512nの組合せ(nは2から682までの自然数)を、転送ブロックとして、PCI-eメモリ94に供給して記憶させる。 Similarly, the PCI-e memory controller 93 converts the 10-bit data P1-7 to P1-4092 into DPX stored data 151 3 to 151 1364 , and a combination of the DPX stored data 151 2n-1 and 151 2n (n Is a natural number from 2 to 682) as a transfer block and supplied to the PCI-e memory 94 for storage.

さらに、PCI-eメモリコントローラ93は、取得したバースト転送サイズ分の10ビットデータP1-4093乃至P1-4095を、DPX格納データ1511365に変換する。また、PCI-eメモリコントローラ93は、取得したバースト転送サイズ分の10ビットデータとして、10ビットデータP1-4096と、10ビットデータP2-1乃至P2-4096のうち、10ビットデータP2-1及びP2-2とを、DPXフォーマットにしたがって、DPX格納データ1511366に変換する。 Further, the PCI-e memory controller 93 converts the acquired 10-bit data P1-4093 to P1-4095 for the burst transfer size into DPX storage data 151 1365 . Also, the PCI-e memory controller 93 generates 10-bit data P1-4096 and 10-bit data P2-1 to P2-4096 as 10-bit data corresponding to the acquired burst transfer size. P2-2 is converted into DPX storage data 151 1366 in accordance with the DPX format.

そして、PCI-eメモリコントローラ93は、DPX格納データ1511365及び1511366の組合せを、転送ブロックとしてPCI-eメモリ94に供給して記憶させる。 Then, the PCI-e memory controller 93 supplies the combination of the DPX storage data 151 1365 and 151 1366 to the PCI-e memory 94 as a transfer block and stores it.

なお、PCI-eメモリコントローラ93は、10ビットデータP2-3乃至P2-4096、及びプログレッシブ画像を構成する複数のラインのうち、上から3番目以降のラインについても同様に、DPX格納データ1511367及び1511368等のDPX格納データに変換して、DPX格納データの組合せを、転送ブロックとしてPCI-eメモリ94に供給して記憶させる。 The PCI-e memory controller 93 similarly applies the DPX storage data 151 1367 for the 10th bit data P2-3 to P2-4096 and the third and subsequent lines from among the plurality of lines constituting the progressive image. and converted to DPX storing data such as 151 1368, a combination of DPX storing data, and supplies the PCI-e memory 94 is stored as a transfer block.

このようにして、PCI-eメモリコントローラ93は、不要データ52が含まれないDPX格納データを生成し、2個のDPX格納データの組合せを、バースト転送サイズの転送ブロックとして、PCI-eメモリ94に供給して記憶させる。   In this way, the PCI-e memory controller 93 generates DPX storage data that does not include the unnecessary data 52, and uses the combination of the two DPX storage data as a transfer block having a burst transfer size. To be stored.

[書き込み処理の動作説明]
次に、フレームバッファコントローラ91が、SDI21からの第1フィールドデータ及び第2フィールドデータを、フレームバッファメモリ92の記録領域に書き込むことにより、対応するフレームのプログレッシブ画像を生成する書き込み処理を説明する。
[Description of write processing operation]
Next, a writing process in which the frame buffer controller 91 generates the progressive image of the corresponding frame by writing the first field data and the second field data from the SDI 21 in the recording area of the frame buffer memory 92 will be described.

図11は、書き込み処理を説明するためのフローチャートである。   FIG. 11 is a flowchart for explaining the writing process.

ステップS1において、入力ポート111は、SDI21から、インタレース画像のフィールドのうち、第1フィールドデータが入力されたか否かを判定する処理を、第1フィールドデータが入力されたと判定するまで繰り返す。   In step S1, the input port 111 repeats the process of determining whether or not the first field data is input from the SDI 21 among the fields of the interlaced image until it is determined that the first field data is input.

そして、入力ポート111は、第1フィールドデータが入力されたと判定した場合、SDI21からの第1フィールドデータを、内蔵するFIFOメモリ111aに入力して記憶させる。   When the input port 111 determines that the first field data is input, the input port 111 inputs the first field data from the SDI 21 into the built-in FIFO memory 111a and stores it.

また、入力ポート111は、FIFOメモリ111aに入力して記憶させた第1フィールドデータを、入力した順序で、アービタメモリコントローラ113に出力して、処理はステップS2に進められる。   The input port 111 outputs the first field data input and stored in the FIFO memory 111a to the arbiter memory controller 113 in the input order, and the process proceeds to step S2.

ステップS2において、監視部112は、SDI21からの第1フィールドデータ(FIFOメモリ111aからアービタメモリコントローラ113に入力されるものと同一の第1フィールドデータ)に乱れが生じているか否かを判定し、その判定結果を、アービタメモリコントローラ113に供給する。   In step S2, the monitoring unit 112 determines whether or not there is a disturbance in the first field data from the SDI 21 (the same first field data that is input from the FIFO memory 111a to the arbiter memory controller 113). The determination result is supplied to the arbiter memory controller 113.

そして、ステップS3において、監視部112が、FIFOメモリ111aからアービタメモリコントローラ113に入力されるものと同一の第1フィールドデータに乱れが生じていないと判定した場合、処理はステップS4に進められる。   In step S3, when the monitoring unit 112 determines that there is no disturbance in the same first field data input from the FIFO memory 111a to the arbiter memory controller 113, the process proceeds to step S4.

ステップS4において、アービタメモリコントローラ113は、FIFOメモリ111aからの第1フィールドデータに乱れが生じていないとの判定結果を、監視部112から得たことに対応して、FIFOメモリ111aからの第1フィールドデータを、プログレッシブ画像を構成する複数のラインのうちの奇数ラインとして、フレームバッファメモリ92に記憶させる奇数ライン生成処理を行う。   In step S4, the arbiter memory controller 113 receives the determination result that the first field data from the FIFO memory 111a is not disturbed from the monitoring unit 112 in response to the first result from the FIFO memory 111a. An odd line generation process for storing the field data in the frame buffer memory 92 as an odd line of a plurality of lines constituting the progressive image is performed.

なお、奇数ライン生成処理の詳細は、図12のフローチャートを参照して後述する。   The details of the odd line generation processing will be described later with reference to the flowchart of FIG.

ステップS5において、入力ポート111は、SDI21から、インタレース画像のフィールドのうち、第2フィールドデータが入力されたか否かを判定する処理を、第2フィールドデータが入力されたと判定するまで繰り返す。   In step S5, the input port 111 repeats the process of determining whether or not the second field data is input from the field of the interlaced image from the SDI 21 until it is determined that the second field data is input.

そして、入力ポート111は、第2フィールドデータが入力されたと判定した場合、SDI21からの第2フィールドデータを、内蔵するFIFOメモリ111aに入力して記憶させる。   When the input port 111 determines that the second field data has been input, the input port 111 inputs and stores the second field data from the SDI 21 into the built-in FIFO memory 111a.

また、入力ポート111は、FIFOメモリ111aに入力して記憶させた第2フィールドデータを、入力した順序で、アービタメモリコントローラ113に出力して、処理はステップS6に進められる。   The input port 111 outputs the second field data input and stored in the FIFO memory 111a to the arbiter memory controller 113 in the input order, and the process proceeds to step S6.

ステップS6において、監視部112は、SDI21からの第2フィールドデータ(FIFOメモリ111aからアービタメモリコントローラ113に入力されるものと同一の第2フィールドデータ)に乱れが生じているか否かを判定し、その判定結果を、アービタメモリコントローラ113に供給する。   In step S6, the monitoring unit 112 determines whether or not there is a disturbance in the second field data from the SDI 21 (the same second field data that is input from the FIFO memory 111a to the arbiter memory controller 113). The determination result is supplied to the arbiter memory controller 113.

そして、ステップS7において、監視部112が、FIFOメモリ111aからアービタメモリコントローラ113に入力されるものと同一の第2フィールドデータに乱れが生じていないと判定した場合、処理はステップS8に進められる。   If the monitoring unit 112 determines in step S7 that there is no disturbance in the second field data that is the same as that input from the FIFO memory 111a to the arbiter memory controller 113, the process proceeds to step S8.

ステップS8において、アービタメモリコントローラ113は、FIFOメモリ111aからの第2フィールドデータに乱れが生じていないとの判定結果を、監視部112から得たことに対応して、FIFOメモリ111aからの第2フィールドデータを、プログレッシブ画像を構成する複数のラインのうちの偶数ラインとして、フレームバッファメモリ92に記憶させる偶数ライン生成処理を行う。   In step S8, the arbiter memory controller 113 receives the determination result that the second field data from the FIFO memory 111a is not disturbed from the monitoring unit 112, and the second field data from the FIFO memory 111a. An even line generation process is performed for storing the field data in the frame buffer memory 92 as an even line among a plurality of lines constituting the progressive image.

なお、偶数ライン生成処理の詳細は、図13のフローチャートを参照して後述する。   The details of the even line generation processing will be described later with reference to the flowchart of FIG.

ステップS9において、アービタメモリコントローラ113は、ステップS4の奇数ライン生成処理、及びステップS8の偶数ライン生成処理により、プログレッシブ画像が生成されたことに対応して、フレームバッファメモリ92に記憶されたプログレッシブ画像に対する読み出しを許可するか否かを示す読み出しフラグを、読み出しを許可するものに設定する。   In step S9, the arbiter memory controller 113 corresponds to the progressive image stored in the frame buffer memory 92 in response to the generation of the progressive image by the odd line generation processing in step S4 and the even line generation processing in step S8. A read flag indicating whether or not to permit reading is set to one that permits reading.

なお、読み出しフラグが、読み出しを許可するものに設定されたことに対応して、書き込み処理により書き込まれたプログレッシブ画像を読み出す読み出し処理が開始される。読み出し処理の詳細は、図14を参照して後述する。   Note that in response to the read flag being set to permit reading, a read process for reading a progressive image written by the write process is started. Details of the reading process will be described later with reference to FIG.

以上で書き込み処理は終了される。   This completes the writing process.

また、監視部112が、ステップS3において、第1フィールドデータに乱れが生じていると判定した場合、又は、ステップS7において、第2フィールドデータに乱れが生じていると判定した場合にも、書き込み処理は終了される。   In addition, when the monitoring unit 112 determines in step S3 that the first field data is disturbed or in step S7, it is determined that the second field data is disturbed. Processing is terminated.

なお、監視部112が、ステップS3において、第1フィールドデータに乱れが生じていると判定した場合、又はステップS7において、第2のフィールドデータに乱れが生じていると判定した場合であっても、奇数ライン生成処理、及び偶数ライン生成処理を行い、ステップS9において、読み出しフラグを、読み出しを許可しないものに設定するようにしてもよい。   Even when the monitoring unit 112 determines in step S3 that the first field data is disturbed, or in step S7, it is determined that the second field data is disturbed. The odd line generation process and the even line generation process may be performed, and in step S9, the read flag may be set to a value that does not permit reading.

[奇数ライン生成処理の動作説明]
次に、フレームバッファコントローラ91が、第1フィールドデータのインタレース画像を構成するラインを、フレームバッファメモリ92の記憶領域に、対応するプログレッシブ画像の奇数ラインとして記憶させる奇数ライン生成処理を説明する。
[Explanation of odd line generation processing]
Next, an odd line generation process in which the frame buffer controller 91 stores the lines constituting the interlaced image of the first field data in the storage area of the frame buffer memory 92 as the odd lines of the corresponding progressive image will be described.

図12は、図11のステップS4における奇数ライン生成処理を説明するためのフローチャートである。   FIG. 12 is a flowchart for explaining odd-number line generation processing in step S4 of FIG.

ステップS31において、アービタメモリコントローラ113は、FIFOメモリ111aから入力される第1フィールドデータ(のインタレース画像)を構成する複数のラインを、上から順に、注目ラインに設定する。   In step S31, the arbiter memory controller 113 sets a plurality of lines constituting the first field data (interlaced image thereof) input from the FIFO memory 111a in order from the top as attention lines.

ステップS32において、アービタメモリコントローラ113は、注目ラインを記憶させる、フレームバッファメモリ92上の記憶領域の先頭アドレスを生成する。   In step S <b> 32, the arbiter memory controller 113 generates a start address of a storage area on the frame buffer memory 92 that stores the target line.

ステップS33において、アービタメモリコントローラ113は、注目ラインを構成する画像データ(例えば、図7の10ビットデータP1-1乃至P1-4096)を、複数のDPX格納データに変換し、バースト転送サイズ分の、DPX格納データの組合せを、転送ブロックとして、フレームバッファメモリ92に記憶させる。   In step S33, the arbiter memory controller 113 converts the image data (for example, the 10-bit data P1-1 to P1-4096 in FIG. 7) constituting the line of interest into a plurality of DPX storage data, and is equivalent to the burst transfer size. The combination of DPX stored data is stored in the frame buffer memory 92 as a transfer block.

すなわち、例えば、アービタメモリコントローラ113は、注目ラインを構成する画像データ(例えば、図7の10ビットデータP1-1乃至P1-4096)を、バースト転送サイズ単位の転送ブロックを生成することが可能な60ビットデータの単位(例えば、10ビットデータP1-1乃至P1-6)で、FIFOメモリ111aから受信する。   That is, for example, the arbiter memory controller 113 can generate a transfer block in units of burst transfer size for the image data (for example, 10-bit data P1-1 to P1-4096 in FIG. 7) constituting the target line. Received from the FIFO memory 111a in units of 60-bit data (for example, 10-bit data P1-1 to P1-6).

そして、ステップS33において、アービタメモリコントローラ113は、受信した60ビットデータ(例えば、10ビットデータP1-1乃至P1-6)を、DPXフォーマットにしたがって、転送ブロックを構成するDPX格納データの組合せ(例えば、DPX格納データ511及び512)に変換する。 In step S33, the arbiter memory controller 113 converts the received 60-bit data (for example, 10-bit data P1-1 to P1-6) into a combination of DPX storage data (for example, the transfer block) according to the DPX format (for example, It is converted to DPX stored data 51 1 and 51 2).

また、ステップS33において、アービタメモリコントローラ113は、注目ラインを構成する画像データ(例えば、図7の10ビットデータP1-1乃至P1-4096)を、バースト転送サイズ単位に満たない単位で受信した場合、すなわち、注目ラインの終端部(例えば、10ビットデータP1-4093乃至P1-4096)を、FIFOメモリ111aから受信した場合、注目ラインの終端部を不要データ52とともに、DPXフォーマットにしたがって、転送ブロックを構成するDPX格納データの組合せ(例えば、DPX格納データ511365及び511366)に変換する。 In step S33, the arbiter memory controller 113 receives the image data (for example, 10-bit data P1-1 to P1-4096 in FIG. 7) constituting the target line in a unit less than the burst transfer size unit. That is, when the end of the target line (for example, 10-bit data P1-4093 to P1-4096) is received from the FIFO memory 111a, the end of the target line is transferred together with the unnecessary data 52 according to the DPX format. converted to a combination of DPX storing data constituting the (e.g., DPX stored data 51 1365 and 51 1366).

ステップS33の処理の終了後、処理はステップS34に進み、アービタメモリコントローラ113は、ステップS32の処理で生成された注目ラインの先頭アドレスにより特定されるフレームバッファメモリ92上の記憶領域に、ステップS33の処理で得られたDPX格納データの組合せを、それぞれ転送ブロックとして記憶させる。   After the process of step S33 is completed, the process proceeds to step S34, and the arbiter memory controller 113 stores the step S33 in the storage area on the frame buffer memory 92 specified by the head address of the target line generated by the process of step S32. Each combination of DPX storage data obtained by the above process is stored as a transfer block.

ステップS35において、アービタメモリコントローラ113は、注目ラインを、フレームバッファメモリ92に記憶した回数に基づいて、第1フィールドデータを構成する複数のラインすべてを、フレームバッファメモリ92に記憶したか否かを判定する。   In step S <b> 35, the arbiter memory controller 113 determines whether or not all the lines constituting the first field data are stored in the frame buffer memory 92 based on the number of times that the target line is stored in the frame buffer memory 92. judge.

そして、ステップS35において、アービタメモリコントローラ113は、まだ、第1フィールドデータを構成する複数のラインすべてを、フレームバッファメモリ92に記憶していないと判定した場合、処理はステップS31に戻る。   If the arbiter memory controller 113 determines in step S35 that all the plurality of lines constituting the first field data have not yet been stored in the frame buffer memory 92, the process returns to step S31.

そして、ステップS31において、アービタメモリコントローラ113は、FIFOメモリ111aから入力される第1フィールドデータを構成する複数のラインのうち、現在の注目ラインの次に存在するラインを、注目ラインに設定し、処理はステップS32に進められる。   In step S31, the arbiter memory controller 113 sets the line that exists next to the current attention line among the plurality of lines constituting the first field data input from the FIFO memory 111a as the attention line. The process proceeds to step S32.

ステップS32では、アービタメモリコントローラ113は、注目ラインを記憶させる、フレームバッファメモリ92上の記憶領域の先頭アドレスとして、前回の注目ラインを記憶させた記憶領域(例えば、図2のライン1を記憶する記憶領域)から、プログレッシブ画像の偶数ラインが記憶される記憶領域(例えば、図2のライン2を記憶する記憶領域)分だけスキップした位置に存在する記憶領域(例えば、図2のライン3を記憶する記憶領域)の先頭アドレスを生成する。   In step S32, the arbiter memory controller 113 stores the storage area (for example, line 1 in FIG. 2) in which the previous attention line is stored as the start address of the storage area on the frame buffer memory 92 in which the attention line is stored. Storage area (for example, line 3 in FIG. 2) is stored in a position skipped by the storage area (for example, storage area for storing line 2 in FIG. 2) where even lines of the progressive image are stored. Storage address) is generated.

そして、ステップS32の処理の終了後、処理はステップS33に進められ、それ以降、同様の処理が行われる。   And after completion | finish of the process of step S32, a process is advanced to step S33 and the same process is performed after that.

また、ステップS35において、アービタメモリコントローラ113は、第1フィールドデータを構成する複数のラインすべてを、プログレッシブ画像の奇数ラインとして、フレームバッファメモリ92に記憶したと判定した場合、奇数ライン生成処理は終了され、処理は図11のステップS4にリターンされる。   In step S35, if the arbiter memory controller 113 determines that all the plurality of lines constituting the first field data have been stored in the frame buffer memory 92 as the odd lines of the progressive image, the odd line generation process ends. Then, the process returns to step S4 in FIG.

[偶数ライン生成処理の動作説明]
次に、フレームバッファコントローラ91が、第2フィールドデータのインタレース画像を構成するラインを、フレームバッファメモリ92の記憶領域に、対応するプログレッシブ画像の偶数ラインとして記憶させる偶数ライン生成処理を説明する。
[Explanation of even line generation processing]
Next, an even line generation process in which the frame buffer controller 91 stores the lines constituting the interlaced image of the second field data in the storage area of the frame buffer memory 92 as the even lines of the corresponding progressive image will be described.

図13は、図11のステップS8における偶数ライン生成処理を説明するためのフローチャートである。   FIG. 13 is a flowchart for explaining the even line generation processing in step S8 of FIG.

ステップS51において、アービタメモリコントローラ113は、FIFOメモリ111aから入力される第2フィールドデータ(のインタレース画像)を構成する複数のラインを、上から順に、注目ラインに設定する。   In step S51, the arbiter memory controller 113 sets a plurality of lines constituting the second field data (interlaced image thereof) input from the FIFO memory 111a as attention lines in order from the top.

ステップS52において、アービタメモリコントローラ113は、注目ラインを記憶させる、フレームバッファメモリ92上の記憶領域の先頭アドレスを生成する。   In step S52, the arbiter memory controller 113 generates the start address of the storage area on the frame buffer memory 92 that stores the line of interest.

ステップS53において、アービタメモリコントローラ113は、注目ラインを構成する画像データを、複数のDPX格納データに変換し、バースト転送サイズ分の、DPX格納データの組合せを、転送ブロックとして、フレームバッファメモリ92に記憶させる。   In step S53, the arbiter memory controller 113 converts the image data constituting the target line into a plurality of DPX storage data, and the combination of DPX storage data corresponding to the burst transfer size is transferred to the frame buffer memory 92 as a transfer block. Remember.

すなわち、例えば、アービタメモリコントローラ113は、注目ラインを構成する画像データを、バースト転送サイズ単位の転送ブロックを生成することが可能な60ビットデータの単位で、FIFOメモリ111aから受信する。   That is, for example, the arbiter memory controller 113 receives the image data constituting the target line from the FIFO memory 111a in units of 60-bit data capable of generating a transfer block in burst transfer size units.

そして、ステップS53において、アービタメモリコントローラ113は、受信した60ビットデータを、DPXフォーマットにしたがって、転送ブロックを構成するDPX格納データの組合せに変換する。   In step S53, the arbiter memory controller 113 converts the received 60-bit data into a combination of DPX storage data constituting the transfer block according to the DPX format.

また、ステップS53において、アービタメモリコントローラ113は、注目ラインを構成する画像データを、バースト転送サイズ単位に満たない単位で受信した場合、すなわち、注目ラインの終端部を、FIFOメモリ111aから受信した場合、注目ラインの終端部を不要データとともに、DPXフォーマットにしたがって、転送ブロックを構成するDPX格納データの組合せに変換する。   In step S53, the arbiter memory controller 113 receives the image data constituting the target line in a unit that is less than the burst transfer size unit, that is, the end of the target line is received from the FIFO memory 111a. The end of the line of interest is converted into a combination of DPX storage data constituting a transfer block according to the DPX format together with unnecessary data.

ステップS53の処理の終了後、処理はステップS54に進み、アービタメモリコントローラ113は、ステップS52の処理で生成された注目ラインの先頭アドレスにより特定されるフレームバッファメモリ92上の記憶領域に、ステップS53の処理で得られたDPX格納データの組合せを、それぞれ転送ブロックとして記憶させる。   After the process of step S53 is completed, the process proceeds to step S54, and the arbiter memory controller 113 stores the storage area on the frame buffer memory 92 specified by the head address of the target line generated in the process of step S52, in step S53. Each combination of DPX storage data obtained by the above process is stored as a transfer block.

ステップS55において、アービタメモリコントローラ113は、注目ラインを、フレームバッファメモリ92に記憶した回数に基づいて、第2フィールドデータを構成する複数のラインすべてを、フレームバッファメモリ92に記憶したか否かを判定する。   In step S55, the arbiter memory controller 113 determines whether or not all of the plurality of lines constituting the second field data are stored in the frame buffer memory 92 based on the number of times that the target line is stored in the frame buffer memory 92. judge.

そして、ステップS55において、アービタメモリコントローラ113は、まだ、第2フィールドデータを構成する複数のラインすべてを、フレームバッファメモリ92に記憶していないと判定した場合、処理はステップS51に戻る。   In step S55, if the arbiter memory controller 113 determines that all the plurality of lines constituting the second field data have not yet been stored in the frame buffer memory 92, the process returns to step S51.

そして、ステップS51において、アービタメモリコントローラ113は、FIFOメモリ111aから入力される第2フィールドデータを構成する複数のラインのうち、現在の注目ラインの次に存在するラインを、注目ラインに設定し、処理はステップS52に進められる。   In step S51, the arbiter memory controller 113 sets the line existing next to the current line of interest among the plurality of lines constituting the second field data input from the FIFO memory 111a as the line of interest. The process proceeds to step S52.

ステップS52では、アービタメモリコントローラ113は、注目ラインを記憶させる、フレームバッファメモリ92上の記憶領域の先頭アドレスとして、前回の注目ラインを記憶させた記憶領域(例えば、図2のライン2を記憶する記憶領域)から、プログレッシブ画像の奇数ラインが記憶された記憶領域(例えば、図2のライン3を記憶する記憶領域)分だけスキップした位置に存在する記憶領域(例えば、図2のライン4を記憶する記憶領域)の先頭アドレスを生成する。   In step S52, the arbiter memory controller 113 stores the storage area (for example, line 2 in FIG. 2) in which the previous attention line is stored as the start address of the storage area on the frame buffer memory 92 in which the attention line is stored. Storage area (for example, line 4 in FIG. 2) is stored at a position skipped by the storage area (for example, storage area for storing line 3 in FIG. 2) where the odd lines of the progressive image are stored. Storage address) is generated.

そして、ステップS52の処理の終了後、処理はステップS53に進められ、それ以降、同様の処理が行われる。   And after completion | finish of the process of step S52, a process is advanced to step S53 and the same process is performed after that.

また、ステップS55において、アービタメモリコントローラ113は、第2フィールドデータを構成する複数のラインすべてを、プログレッシブ画像の偶数ラインとして、フレームバッファメモリ92に記憶したと判定した場合、偶数ライン生成処理は終了され、処理は図11のステップS8にリターンされる。   In step S55, if the arbiter memory controller 113 determines that all the plurality of lines constituting the second field data have been stored in the frame buffer memory 92 as even lines of the progressive image, the even line generation process ends. Then, the process returns to step S8 in FIG.

[読み出し処理の動作説明]
次に、フレームバッファコントローラ91が、フレームバッファメモリ92から、DPX格納データを転送ブロックの単位で読み出し、読み出した転送ブロックに、対応するデータ有効フラグを対応付けて、PCI-eメモリコントローラ93に出力する読み出し処理を説明する。
[Description of read processing operation]
Next, the frame buffer controller 91 reads the DPX stored data from the frame buffer memory 92 in units of transfer blocks, associates the corresponding data valid flags with the read transfer blocks, and outputs them to the PCI-e memory controller 93. A reading process to be performed will be described.

図14は、読み出し処理を説明するためのフローチャートである。この読み出し処理は、例えば、書き込み処理におけるステップS9の処理により、読み出しフラグが、フレームバッファメモリ92に記憶されたプログレッシブ画像の読み出しを許可するものに設定されたことに対応して開始される。   FIG. 14 is a flowchart for explaining the reading process. This reading process is started in response to, for example, the reading flag being set to permit reading of the progressive image stored in the frame buffer memory 92 by the process of step S9 in the writing process.

ステップS71において、アービタメモリコントローラ113は、書き込み処理により、フレームバッファメモリ92の記憶領域に生成されたプログレッシブ画像を構成する複数のラインを、上から順に、注目ラインに設定する。   In step S71, the arbiter memory controller 113 sets a plurality of lines constituting the progressive image generated in the storage area of the frame buffer memory 92 as a target line in order from the top by the writing process.

ステップS72において、アービタメモリコントローラ113は、注目ラインが記憶された、フレームバッファメモリ92の記憶領域上の先頭アドレスとして、奇数ライン生成処理のステップS32や、偶数ライン生成処理のステップS52で生成した先頭アドレスと同一の先頭アドレスを生成する。   In step S72, the arbiter memory controller 113 uses the head address generated in step S32 of the odd line generation process or step S52 of the even line generation process as the head address on the storage area of the frame buffer memory 92 where the target line is stored. Generates the same start address as the address.

ステップS73において、アービタメモリコントローラ113は、ステップS72の処理により生成された先頭アドレス等に基づいて、注目ラインを構成するDPX格納データ(例えば、図7のDPX格納データ511乃至511366)を、注目ラインの先頭から順に、バースト転送サイズ(例えば、64ビット)単位で読み出す。 In step S73, the arbiter memory controller 113 converts the DPX storage data (for example, DPX storage data 51 1 to 51 1366 in FIG. 7) constituting the attention line based on the head address generated by the processing in step S72. The data is read in units of burst transfer size (for example, 64 bits) in order from the head of the line of interest.

そして、アービタメモリコントローラ113は、読み出したDPX格納データ(例えば、図7のDPX格納データ511及び512の組合せにより構成される転送ブロック)を、注目データに設定する。 Then, the arbiter memory controller 113 reads DPX store data (e.g., transport block constituted by a combination of DPX storing data 51 1 and 51 2 in FIG. 7), and sets the data of interest.

ステップS74において、アービタメモリコントローラ113は、注目データを読み出した回数に基づいて、注目データが、注目ラインの終端部に存在するものであるか否か、すなわち、注目データに不要データが含まれているか否かを判定する。   In step S74, the arbiter memory controller 113 determines whether or not the attention data exists at the end of the attention line based on the number of times the attention data is read, that is, the attention data includes unnecessary data. It is determined whether or not.

そして、ステップS74において、アービタメモリコントローラ113は、注目データに不要データが含まれていないと判定した場合、処理はステップS75に進められる。   If the arbiter memory controller 113 determines in step S74 that unnecessary data is not included in the data of interest, the process proceeds to step S75.

ステップS75では、アービタメモリコントローラ113は、真に設定されたデータ有効フラグを、注目データに対応付けて、処理はステップS77に進められる。   In step S75, the arbiter memory controller 113 associates the true data valid flag with the data of interest, and the process proceeds to step S77.

また、ステップS74において、アービタメモリコントローラ113は、注目データに不要データが含まれていると判定した場合、処理はステップS76に進められる。   In step S74, if the arbiter memory controller 113 determines that unnecessary data is included in the data of interest, the process proceeds to step S76.

ステップS76において、アービタメモリコントローラ113は、偽に設定されたデータ有効フラグを、注目データに対応付けて、処理はステップS77に進められる。   In step S76, the arbiter memory controller 113 associates the data valid flag set to false with the data of interest, and the process proceeds to step S77.

ステップS77において、アービタメモリコントローラ113は、データ有効フラグが対応付けられている注目データを、出力ポート115のFIFOメモリ115aに入力して記憶させる。そして、出力ポート115は、アービタメモリコントローラ113により、FIFOメモリ115aに入力されて記憶された注目データを、入力された順序で読み出し、PCI-eメモリコントローラ93に出力する。   In step S77, the arbiter memory controller 113 inputs and stores the data of interest associated with the data valid flag in the FIFO memory 115a of the output port 115. The output port 115 reads the attention data input and stored in the FIFO memory 115 a by the arbiter memory controller 113 in the input order, and outputs it to the PCI-e memory controller 93.

ステップS78において、アービタメモリコントローラ113は、注目データを読み出した回数に基づいて、注目ラインを構成するDPX格納データすべてを読み出したか否かを判定する。   In step S78, the arbiter memory controller 113 determines whether or not all DPX storage data constituting the target line has been read based on the number of times of reading the target data.

そして、ステップS78において、アービタメモリコントローラ113は、まだ、注目ラインを構成するDPX格納データすべてを読み出していないと判定した場合、処理はステップS73に戻る。   If the arbiter memory controller 113 determines in step S78 that the DPX storage data constituting the target line has not yet been read, the process returns to step S73.

ステップS73では、アービタメモリコントローラ113は、注目ラインを構成するDPX格納データのうち、まだ注目データとされていないDPX格納データ(の組合せ)を注目データに設定し、それ以降、同様の処理が繰り返される。   In step S73, the arbiter memory controller 113 sets DPX storage data (combination) that has not yet been set as the attention data among the DPX storage data constituting the attention line as the attention data, and thereafter the same processing is repeated. It is.

また、ステップS78において、アービタメモリコントローラ113は、注目ラインを構成するDPX格納データすべてを読み出したと判定した場合、処理はステップS79に進められる。   On the other hand, if the arbiter memory controller 113 determines in step S78 that all DPX storage data constituting the target line has been read, the process proceeds to step S79.

ステップS79において、アービタメモリコントローラ113は、注目ラインを、フレームバッファメモリ92から読み出した回数に基づいて、フレームバッファメモリ92に記憶されているプログレッシブ画像を構成する複数のラインすべてを読み出したか否かを判定する。   In step S79, the arbiter memory controller 113 determines whether or not all the lines constituting the progressive image stored in the frame buffer memory 92 have been read based on the number of times the target line has been read from the frame buffer memory 92. judge.

そして、ステップS79において、アービタメモリコントローラ113は、まだ、フレームバッファメモリ92に記憶されているプログレッシブ画像を構成する複数のラインすべてを読み出していないと判定した場合、処理はステップS71に戻る。   In step S79, if the arbiter memory controller 113 determines that all of the plurality of lines constituting the progressive image stored in the frame buffer memory 92 have not been read yet, the process returns to step S71.

ステップS71では、アービタメモリコントローラ113は、フレームバッファメモリ92に記憶されているプログレッシブ画像を構成する複数のラインのうち、まだ注目ラインに設定されていないものを、注目ラインに設定し、処理はステップS72に進められ、それ以降、同様の処理が繰り返される。   In step S71, the arbiter memory controller 113 sets a line that has not yet been set as the attention line among the plurality of lines constituting the progressive image stored in the frame buffer memory 92 as the attention line. The process proceeds to S72, and thereafter the same processing is repeated.

また、ステップS79において、アービタメモリコントローラ113は、注目ラインを、フレームバッファメモリ92から読み出した回数に基づいて、フレームバッファメモリ92に記憶されているプログレッシブ画像を構成する複数のラインすべてを読み出したと判定した場合、読み出し処理は終了される。   In step S79, the arbiter memory controller 113 determines that all the plurality of lines constituting the progressive image stored in the frame buffer memory 92 have been read based on the number of times the target line has been read from the frame buffer memory 92. If so, the reading process is terminated.

以上説明したように、読み出し処理では、アービタメモリコントローラ113において、フレームバッファメモリ92から読み出した転送ブロック(注目ブロック)に、その転送ブロックが不要データを含むものであるか否かを示すデータ有効フラグを対応付けてPCI-eメモリコントローラ93に出力するようにした。   As described above, in the read processing, the arbiter memory controller 113 corresponds to the transfer block (target block) read from the frame buffer memory 92 with a data valid flag indicating whether or not the transfer block includes unnecessary data. In addition, the data is output to the PCI-e memory controller 93.

したがって、PCI-eメモリコントローラ93では、アービタメモリコントローラ113からの転送ブロックに対応付けられたデータ有効フラグに基づいて、不要データを含む転送ブロックと、不要データを含まない、画像データのみにより構成される転送ブロックを識別することができる。   Therefore, the PCI-e memory controller 93 is configured by only a transfer block including unnecessary data and image data not including unnecessary data based on the data valid flag associated with the transfer block from the arbiter memory controller 113. Transfer block can be identified.

このため、PCI-eメモリコントローラ93では、画像データのみにより構成される転送ブロックから、画像データを取得するとともに、不要データを含む転送ブロックについては、データ転送サイズや、プログレッシブ画像の1ラインのデータサイズ等に基づいて、その転送ブロックから画像データのみを取得することができる。   For this reason, the PCI-e memory controller 93 obtains image data from a transfer block composed only of image data, and for the transfer block including unnecessary data, the data transfer size and the data of one line of the progressive image. Only image data can be acquired from the transfer block based on the size or the like.

したがって、PCI-eメモリコントローラ93では、アービタメモリコントローラ113(フレームバッファコントローラ91)からの転送ブロックから、画像データのみを取得し、バースト転送サイズ単位で、PCI-eメモリ94に記憶させることができる。   Therefore, the PCI-e memory controller 93 can acquire only image data from the transfer block from the arbiter memory controller 113 (frame buffer controller 91) and store it in the PCI-e memory 94 in units of burst transfer size. .

このため、PCI-eメモリコントローラ93では、PCI-eメモリ94から、画像データをバースト転送サイズ単位で読み出し、バースト転送サイズの転送ブロックとして、PCI-eインタフェース28を介してパーソナルコンピュータ2に出力することができる。   For this reason, the PCI-e memory controller 93 reads image data from the PCI-e memory 94 in units of burst transfer size, and outputs it to the personal computer 2 via the PCI-e interface 28 as a transfer block of burst transfer size. be able to.

これにより、パーソナルコンピュータ2において、PCI-eインタフェース28からの転送ブロックには、不要データが含まれないため、不要データを除去する必要がなくなり、パーソナルコンピュータ2のCPU(central processing unit)の負荷を軽減することが可能となる。   Thereby, in the personal computer 2, since the transfer block from the PCI-e interface 28 does not include unnecessary data, it is not necessary to remove unnecessary data, and the load on the CPU (central processing unit) of the personal computer 2 is reduced. It becomes possible to reduce.

[不要データ除去処理の動作説明] [Explanation of unnecessary data removal process]

次に、PCI-eメモリコントローラ93が、フレームバッファコントローラ91から供給される、不要データを含むプログレッシブ画像から、不要データを除去したものを、PCI-eメモリ94に記憶する不要データ除去処理を説明する。   Next, the unnecessary data removal processing in which the PCI-e memory controller 93 stores in the PCI-e memory 94 the data obtained by removing unnecessary data from the progressive image including unnecessary data supplied from the frame buffer controller 91 will be described. To do.

図15は、不要データ除去処理を説明するためのフローチャートである。   FIG. 15 is a flowchart for explaining the unnecessary data removal processing.

ステップS101において、アービタメモリコントローラ132は、フレームバッファコントローラ91から入出力ポート131n及びWFIFO131bnを介して入力される転送ブロックに対応付けられたデータ有効フラグが真であるか否かを判定する。 In step S101, the arbiter memory controller 132 determines whether or not the data valid flag associated with the transfer block input from the frame buffer controller 91 via the input / output port 131 n and the WFIFO 131b n is true.

ステップS101において、アービタメモリコントローラ132は、データ有効フラグが真であると判定した場合、すなわち、データ有効フラグに対応付けられた転送ブロックに不要データは含まれていないと判定した場合、処理はステップS102に進められる。   If the arbiter memory controller 132 determines in step S101 that the data valid flag is true, that is, if it is determined that unnecessary data is not included in the transfer block associated with the data valid flag, the process proceeds to step S101. The process proceeds to S102.

ステップS102において、アービタメモリコントローラ132は、WFIFO131bnからの転送ブロックを構成する画像データを取得して、処理はステップS105に進められる。 In step S102, the arbiter memory controller 132 acquires the image data constituting the transport block from WFIFO131b n, processing proceeds to step S105.

また、ステップS101において、アービタメモリコントローラ132は、データ有効フラグが真でない(偽である)と判定した場合、すなわち、データ有効フラグに対応付けられた転送ブロックに不要データが含まれていると判定した場合、処理はステップS103に進められる。   In step S101, the arbiter memory controller 132 determines that the data valid flag is not true (false), that is, determines that unnecessary data is included in the transfer block associated with the data valid flag. If so, the process proceeds to step S103.

ステップS103において、アービタメモリコントローラ132は、バースト転送サイズや、プログレッシブ画像を構成するラインのデータサイズ等に基づいて、WFIFO131bnからの転送ブロックを構成する画像データ及び不要データを区別して、画像データのみを取得し、ステップS104において、不要データを破棄(無視)する。 In step S103, the arbiter memory controller 132, and the burst transfer size, based on the data size or the like of the lines constituting the progressive image, to distinguish the image data and unnecessary data constituting the transport block from WFIFO131b n, the image data only In step S104, unnecessary data is discarded (ignored).

ステップS104の処理の終了後、処理はステップS105に進められ、アービタメモリコントローラ132は、バースト転送サイズ分の画像データを取得したか否かを判定する。   After the process of step S104 ends, the process proceeds to step S105, and the arbiter memory controller 132 determines whether image data for the burst transfer size has been acquired.

ステップS105において、アービタメモリコントローラ132は、まだ、バースト転送サイズ分の画像データを取得していないと判定した場合、処理はステップS101に戻り、それ以降の処理が行われる。   If the arbiter memory controller 132 determines in step S105 that image data for the burst transfer size has not yet been acquired, the process returns to step S101, and the subsequent processing is performed.

また、ステップS105において、アービタメモリコントローラ132は、バースト転送サイズ分の画像データを取得したと判定した場合、処理はステップS106に進められる。そして、アービタメモリコントローラ132は、取得したバースト転送サイズ分の画像データを、バースト転送サイズの転送ブロックとして、PCI-eメモリ94に供給して記憶させる。   If the arbiter memory controller 132 determines in step S105 that image data equivalent to the burst transfer size has been acquired, the process proceeds to step S106. Then, the arbiter memory controller 132 supplies the image data for the acquired burst transfer size to the PCI-e memory 94 as a transfer block having the burst transfer size and stores it.

ステップS107において、アービタメモリコントローラ132は、不要データを破棄した回数に基づいて、フレームバッファコントローラ91から入出力ポート131n及びWFIFO131bnを介して入力される転送ブロックすべてを処理したか否かを判定する。 In step S107, the arbiter memory controller 132 determines whether all transfer blocks input from the frame buffer controller 91 via the input / output port 131 n and the WFIFO 131b n have been processed based on the number of times unnecessary data has been discarded. To do.

そして、ステップS107において、アービタメモリコントローラ132は、まだ、転送ブロックすべてを処理していないと判定した場合、処理はステップS101に戻り、それ以降、同様の処理が行われる。   If the arbiter memory controller 132 determines in step S107 that all the transfer blocks have not yet been processed, the process returns to step S101, and the same processing is performed thereafter.

また、ステップS107において、アービタメモリコントローラ132は、転送ブロックすべてを処理したと判定した場合、不要データ除去処理は終了される。   In step S107, if the arbiter memory controller 132 determines that all the transfer blocks have been processed, the unnecessary data removal processing ends.

以上説明したように、不要データ除去処理では、アービタメモリコントローラ132において、フレームバッファコントローラ91から入出力ポート131n及びWFIFO131bnを介して入力される転送ブロックに対応付けられたデータ有効フラグに基づいて、転送ブロックに含まれる画像データのみを取得し、バースト転送サイズ単位でPCI-eメモリ94に記憶させるようにした。 As described above, in the unnecessary data removal process, the arbiter memory controller 132 is based on the data valid flag associated with the transfer block input from the frame buffer controller 91 via the input / output port 131 n and the WFIFO 131b n. Only the image data included in the transfer block is acquired and stored in the PCI-e memory 94 in units of burst transfer size.

このため、PCI-eメモリコントローラ93では、PCI-eメモリ94から、不要データを含まない、画像データのみにより構成される転送ブロックを読み出し、PCI-eインタフェース28を介してパーソナルコンピュータ2にバースト転送することができる。   For this reason, the PCI-e memory controller 93 reads a transfer block including only image data, which does not include unnecessary data, from the PCI-e memory 94 and performs burst transfer to the personal computer 2 via the PCI-e interface 28. can do.

また、本実施の形態において、インタレース画像をプログレッシブ画像に変換する従来の画像処理装置1に設けられているものと同様のPCI-eメモリコントローラ93等のハードウェアリソースを用いて、上述した図11乃至図15を参照して説明した処理を行うことができる。   In the present embodiment, the above-described diagram is used by using hardware resources such as the PCI-e memory controller 93 similar to those provided in the conventional image processing apparatus 1 that converts an interlaced image into a progressive image. The processing described with reference to FIGS. 11 to 15 can be performed.

したがって、本発明を実施するために新たな回路等を設ける必要がなく、製造コストを抑制することが可能となる。   Therefore, it is not necessary to provide a new circuit or the like for carrying out the present invention, and the manufacturing cost can be suppressed.

<2.変形例>
なお、本実施の形態では、フレームバッファコントローラ91が、インタレース画像の第1フィールドデータ及び第2フィールドデータを、フレームバッファメモリ92に記憶させることにより、不要データを含むプログレッシブ画像を生成し、PCI-eメモリコントローラ93が、その不要データを含むプログレッシブ画像から不要データを除去したものを、PCI-eメモリ94に記憶させるようにしたが、これに限定されない。
<2. Modification>
In this embodiment, the frame buffer controller 91 stores the first field data and the second field data of the interlaced image in the frame buffer memory 92, thereby generating a progressive image including unnecessary data, and PCI -e The memory controller 93 is configured to store the PCI-e memory 94 after removing unnecessary data from the progressive image including the unnecessary data. However, the present invention is not limited to this.

すなわち、例えば、PCI-eメモリコントローラ93が、インタレース画像の第1フィールドデータ及び第2フィールドデータに基づいて、不要データを含むプログレッシブ画像をPCI-eメモリ94上の第1の記憶領域に生成し、不要データを含むプログレッシブ画像から不要データを除去したものを、PCI-eメモリ94上の、第1の記憶領域とは異なる第2の記憶領域に記憶させるように構成することが可能である。   That is, for example, the PCI-e memory controller 93 generates a progressive image including unnecessary data in the first storage area on the PCI-e memory 94 based on the first field data and the second field data of the interlaced image. In addition, it is possible to configure a progressive image including unnecessary data from which unnecessary data is removed and stored in a second storage area different from the first storage area on the PCI-e memory 94. .

[PCI-eメモリコントローラ171の構成例]
図16は、不要データを含むプログレッシブ画像を生成し、生成した不要データを含むプログレッシブ画像から不要データを除去するPCI-eメモリコントローラ171及びPCI-eメモリ172を示している。
[Configuration example of PCI-e memory controller 171]
FIG. 16 shows a PCI-e memory controller 171 and a PCI-e memory 172 that generate a progressive image including unnecessary data and remove unnecessary data from the generated progressive image including unnecessary data.

PCI-eメモリコントローラ171は、図8の入出力ポート131nと同様に構成される入出力ポート191m(mは1から3までの自然数)、及びアービタメモリコントローラ192により構成される。 The PCI-e memory controller 171 includes an input / output port 191 m (m is a natural number from 1 to 3) configured similarly to the input / output port 131 n of FIG. 8 and an arbiter memory controller 192.

なお、入出力ポート1911には、SDI21から、第1フィールドデータ及び第2フィールドデータが供給される。 Incidentally, the input and output ports 191 1 from SDI21, the first field data and second field data are supplied.

アービタメモリコントローラ192は、矢印211により示されるように、入出力ポート1911及びWFIFOメモリ191b1から供給される第1フィールドデータ及び第2フィールドデータを、PCI-eメモリ172上の第1の記憶領域に書き込むことにより、対応するフレームのプログレッシブ画像を生成する。 The arbiter memory controller 192 stores the first field data and the second field data supplied from the input / output port 191 1 and the WFIFO memory 191b 1 in the first storage on the PCI-e memory 172, as indicated by an arrow 211. By writing in the area, a progressive image of the corresponding frame is generated.

また、アービタメモリコントローラ192は、矢印212により示されるように、PCI-eメモリ172上の第1の記憶領域から、生成したプログレッシブ画像を転送ブロック単位で読み出し、読み出した転送ブロックにデータ有効フラグを対応付けた上で、RFIFOメモリ191a2及び入出力ポート1912を介して、入出力ポート1913に供給する。 Further, the arbiter memory controller 192 reads the generated progressive image from the first storage area on the PCI-e memory 172 in units of transfer blocks as indicated by an arrow 212, and sets a data valid flag to the read transfer blocks. After the association, the data is supplied to the input / output port 191 3 via the RFIFO memory 191a 2 and the input / output port 191 2 .

入出力ポート1913は、入出力ポート1912からの、データ有効フラグが対応付けられた転送ブロックを、WFIFOメモリ191b3を介してアービタメモリコントローラ192に供給する。 The input / output port 191 3 supplies the transfer block associated with the data valid flag from the input / output port 191 2 to the arbiter memory controller 192 via the WFIFO memory 191b 3 .

さらに、アービタメモリコントローラ192は、矢印213により示されるように、WFIFOメモリ191b3から供給される転送ブロックのうち、真のデータ有効フラグに対応付けられている転送ブロックを構成する画像データを取得する。 Furthermore, the arbiter memory controller 192, as indicated by arrow 213, of the transport block supplied from WFIFO memory 191b 3, acquires the image data constituting the transport block associated with the true data valid flag .

また、アービタメモリコントローラ192は、矢印213により示されるように、WFIFOメモリ191b3から供給される転送ブロックのうち、偽のデータ有効フラグに対応付けられている転送ブロックを構成する画像データ及び不要データのうち、不要データを破棄して、画像データのみを取得する。 Further, the arbiter memory controller 192, as indicated by arrow 213, of the transport block supplied from WFIFO memory 191b 3, the image data and unnecessary data constituting the transport block associated with the false data valid flag of Among them, unnecessary data is discarded and only image data is acquired.

そして、アービタメモリコントローラ192は、バースト転送サイズ分の画像データを取得したことに対応して、バースト転送サイズ分の画像データを、転送ブロックとして、PCI-eメモリ172上の第2の記憶領域に記憶させる。   Then, in response to the acquisition of the image data for the burst transfer size, the arbiter memory controller 192 stores the image data for the burst transfer size in the second storage area on the PCI-e memory 172 as a transfer block. Remember.

これにより、PCI-eメモリ172上の第2の記憶領域には、不要データが除去されたプログレッシブ画像として、バースト転送サイズの転送ブロックが記憶される。   As a result, a transfer block having a burst transfer size is stored in the second storage area on the PCI-e memory 172 as a progressive image from which unnecessary data has been removed.

本実施の形態では、フレームバッファコントローラ91が、例えばビデオスイッチャーやビデオ送出機等からSDI21を介して供給されるインタレース画像(第1フィールドデータ及び第2フィールドデータ)を合成して、フレームバッファメモリ92の記憶領域に、プログレッシブ画像を生成するようにしたが、合成されるインタレース画像は、これに限定されない。   In the present embodiment, the frame buffer controller 91 synthesizes interlaced images (first field data and second field data) supplied from, for example, a video switcher or a video transmitter via the SDI 21 to generate a frame buffer memory. Although progressive images are generated in 92 storage areas, interlaced images to be synthesized are not limited to this.

すなわち、例えば、合成されるインタレース画像は、そのインタレース画像のうち、所定の領域を切り取ることにより得られる部分的なインタレース画像や、インタレース画像を拡大又は縮小して得られるインタレース画像を採用することが可能である。   That is, for example, the interlaced image to be synthesized is a partial interlaced image obtained by cutting out a predetermined area of the interlaced image, or an interlaced image obtained by enlarging or reducing the interlaced image. Can be adopted.

したがって、所定の領域の切り取り、拡大又は縮小する等の加工を施したインタレース画像から得られる、不要データが付加されたプログレッシブ画像に対しても、不要データを除去することが可能となる。   Therefore, it is possible to remove unnecessary data from a progressive image to which unnecessary data is added, which is obtained from an interlaced image that has been processed such as cutting, enlargement, or reduction of a predetermined area.

本実施の形態では、奇数ライン生成処理、及び偶数ライン生成処理において、注目ラインを構成する画像データを、DPX格納データに変換し、バースト転送サイズ分のDPX格納データを、転送ブロックとして記憶させるようにしたがこれに限定されない。   In the present embodiment, in the odd line generation process and the even line generation process, the image data constituting the target line is converted to DPX storage data, and the DPX storage data corresponding to the burst transfer size is stored as a transfer block. However, it is not limited to this.

すなわち、例えば、奇数ライン生成処理、及び偶数ライン生成処理において、フレームバッファコントローラ91が、注目ラインを構成する画像データを、バースト転送サイズ単位で、フレームバッファメモリ92に記憶させるようにしてもよい。   That is, for example, in the odd line generation process and the even line generation process, the frame buffer controller 91 may store the image data constituting the target line in the frame buffer memory 92 in units of burst transfer size.

この場合、フレームバッファメモリ92には、図2に示されたような、不要データを含むプログレッシブ画像を構成する転送ブロックとして、画像データのみにより構成される転送ブロック、及び画像データと不要データとにより構成される転送ブロックが記憶される。   In this case, the frame buffer memory 92 includes, as shown in FIG. 2, a transfer block configured only by image data as a transfer block that configures a progressive image including unnecessary data, and image data and unnecessary data. The configured transfer block is stored.

そして、読み出し処理において、フレームバッファコントローラ91は、フレームバッファメモリ92から転送ブロックを読出し、データ有効フラグを対応付けて、PCI-eメモリコントローラ93に供給する。   Then, in the reading process, the frame buffer controller 91 reads the transfer block from the frame buffer memory 92, associates the data valid flag, and supplies it to the PCI-e memory controller 93.

不要データ除去処理において、PCI-eメモリコントローラ93は、フレームバッファコントローラ91からの転送ブロックに対応付けられたデータ有効フラグに基づいて、対応する転送ブロックのうちの画像データのみを、バースト転送サイズ分だけ受信する毎に、不要データを含まない転送ブロックとして記憶させる。   In the unnecessary data removal process, the PCI-e memory controller 93 converts only the image data in the corresponding transfer block for the burst transfer size based on the data valid flag associated with the transfer block from the frame buffer controller 91. Each time it is received, it is stored as a transfer block that does not contain unnecessary data.

また、不要データ除去処理において、PCI-eメモリコントローラ93は、フレームバッファコントローラ91からの転送ブロックのうちの画像データのみを、バースト転送サイズ分だけ受信する毎に、不要データを含まない転送ブロックとして記憶させる他、フレームバッファコントローラ91からの転送ブロックのうちの画像データのみを、DPXフォーマットにしたがって、複数のDPX格納データに変換し、変換された複数のDPX格納データを、バースト転送サイズ分毎に、不要データを含まない転送ブロックとして記憶させるようにしてもよい。   In the unnecessary data removal processing, the PCI-e memory controller 93 sets a transfer block that does not include unnecessary data every time it receives only the image data of the transfer block from the frame buffer controller 91 by the burst transfer size. In addition to storing, only the image data in the transfer block from the frame buffer controller 91 is converted into a plurality of DPX storage data in accordance with the DPX format, and the converted plurality of DPX storage data is converted for each burst transfer size. Alternatively, it may be stored as a transfer block that does not include unnecessary data.

本実施の形態では、フレームバッファコントローラ91により、転送ブロック毎にデータ有効フラグが対応付けられるようにしたが、その他、例えば、転送ブロックを構成する最小単位のデータ毎に、不要データであるか否かを示すフラグとして、データ有効フラグを対応付けるように構成することが可能である。   In this embodiment, the frame buffer controller 91 associates the data valid flag with each transfer block. However, for example, whether or not there is unnecessary data for each minimum unit of data constituting the transfer block. A data valid flag can be associated with the flag indicating the above.

この場合、不要データ除去処理において、データ有効フラグのみに基づいて、転送ブロックを構成する最小単位のデータ毎に、その最小単位のデータが不要データであるか否かが判定される。   In this case, in the unnecessary data removal process, whether or not the minimum unit data is unnecessary data is determined for each minimum unit data constituting the transfer block based only on the data valid flag.

したがって、例えば、偽のデータ有効フラグが対応付けられている(不要データを含む)転送ブロックにおいて、どこからどこまでのデータが不要データであるか否かを、プログレッシブ画像を構成するラインのデータサイズ、及び転送ブロックのデータサイズ等に基づいて判定する必要がなくなるため、不要データであるか否かを判定する処理に用いられる回路の規模を小さくすることが可能となる。   Therefore, for example, in a transfer block associated with a fake data valid flag (including unnecessary data), from where to where data is unnecessary data, the data size of a line constituting a progressive image, and Since it is not necessary to make a determination based on the data size or the like of the transfer block, it is possible to reduce the scale of the circuit used for the process of determining whether or not the data is unnecessary.

次に、上述した一連の処理は、専用のハードウエアにより実行させることもできるし、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、いわゆる組み込み型のコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のコンピュータなどに、記録媒体からインストールされる。   Next, the series of processes described above can be executed by dedicated hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software can execute various functions by installing a so-called embedded computer or various programs. For example, it is installed from a recording medium in a general-purpose computer or the like.

[コンピュータの構成例]
図17は、上述した一連の処理をプログラムにより実行するコンピュータの構成例を示している。
[Computer configuration example]
FIG. 17 shows a configuration example of a computer that executes the above-described series of processing by a program.

CPU(central processing unit)231は、ROM(read only memory)232、または記憶部238に記憶されているプログラムに従って各種の処理を実行する。RAM(random access memory)233には、CPU231が実行するプログラムやデータなどが適宜記憶される。これらのCPU231、ROM232、およびRAM233は、バス234により相互に接続されている。   A CPU (central processing unit) 231 executes various processes according to a program stored in a ROM (read only memory) 232 or a storage unit 238. A RAM (random access memory) 233 appropriately stores programs executed by the CPU 231 and data. The CPU 231, ROM 232, and RAM 233 are connected to each other via a bus 234.

CPU231にはまた、バス234を介して入出力インタフェース235が接続されている。入出力インタフェース235には、キーボード、マウス、マイクロホンなどよりなる入力部236、ディスプレイ、スピーカなどよりなる出力部237が接続されている。CPU231は、入力部236から入力される指令に対応して各種の処理を実行する。そして、CPU231は、処理の結果を出力部237に出力する。   An input / output interface 235 is also connected to the CPU 231 via the bus 234. The input / output interface 235 is connected to an input unit 236 composed of a keyboard, mouse, microphone, and the like, and an output unit 237 composed of a display, a speaker, and the like. The CPU 231 executes various processes in response to commands input from the input unit 236. Then, the CPU 231 outputs the processing result to the output unit 237.

入出力インタフェース235に接続されている記憶部238は、例えばハードディスクからなり、CPU231が実行するプログラムや各種のデータを記憶する。通信部239は、インターネットやローカルエリアネットワークなどのネットワークを介して外部の装置と通信する。   The storage unit 238 connected to the input / output interface 235 includes, for example, a hard disk, and stores programs executed by the CPU 231 and various data. The communication unit 239 communicates with an external device via a network such as the Internet or a local area network.

また、通信部239を介してプログラムを取得し、記憶部238に記憶してもよい。   Further, a program may be acquired via the communication unit 239 and stored in the storage unit 238.

入出力インタフェース235に接続されているドライブ240は、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア241が装着されたとき、それらを駆動し、そこに記録されているプログラムやデータなどを取得する。取得されたプログラムやデータは、必要に応じて記憶部238に転送され、記憶される。   The drive 240 connected to the input / output interface 235 drives a removable medium 241 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and drives programs and data recorded therein. Get etc. The acquired program and data are transferred to and stored in the storage unit 238 as necessary.

コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを記録する記録媒体は、図17に示されるように、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(compact disc-read only memory),DVD(digital versatile disc)を含む)、光磁気ディスク(MD(mini-disc)を含む)、もしくは半導体メモリなどよりなるパッケージメディアであるリムーバブルメディア241、または、プログラムが一時的もしくは永続的に記録されるROM232や、記憶部238を構成するハードディスクなどにより構成される。記録媒体へのプログラムの記録は、必要に応じてルータ、モデムなどのインタフェースである通信部239を介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の通信媒体を利用して行われる。   As shown in FIG. 17, a recording medium that records a program that is installed in a computer and can be executed by the computer includes a magnetic disk (including a flexible disk), an optical disk (CD-ROM (compact disc-read only). memory), DVD (including digital versatile disc)), magneto-optical disc (including MD (mini-disc)), or removable media 241, which is a package media consisting of semiconductor memory, etc., or the program is temporary or permanent ROM 232 recorded in the memory, a hard disk constituting the storage unit 238, and the like. Recording of a program on a recording medium is performed using a wired or wireless communication medium such as a local area network, the Internet, or digital satellite broadcasting via a communication unit 239 that is an interface such as a router or a modem as necessary. Is called.

なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but is not necessarily performed in chronological order. It also includes processes that are executed individually.

また、本実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   Further, the present embodiment is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

71 画像処理装置, 91 フレームバッファコントローラ, 92 フレームバッファメモリ, 93 PCI-eメモリコントローラ, 94 PCI-eメモリ, 111 入力ポート, 111a FIFOメモリ, 112 監視部, 113 アービタメモリコントローラ, 114 出力ポート, 114a FIFOメモリ, 115 出力ポート, 115a FIFOメモリ, 1311乃至131N 入出力ポート, 131a1乃至131aN RFIFOメモリ, 131b1乃至131bN WFIFOメモリ, 132 アービタメモリコントローラ, 171 PCI-eメモリコントローラ, 172 PCI-eメモリ, 1911乃至1913 入出力ポート, 191a1乃至191a3 RFIFOメモリ, 191b1乃至191b3 WFIFOメモリ, 192 アービタメモリコントローラ 71 image processing apparatus, 91 frame buffer controller, 92 frame buffer memory, 93 PCI-e memory controller, 94 PCI-e memory, 111 input port, 111a FIFO memory, 112 monitoring unit, 113 arbiter memory controller, 114 output port, 114a FIFO memory, 115 output port, 115a FIFO memory, 131 1 to 131 N input / output port, 131a 1 to 131a N RFIFO memory, 131b 1 to 131b N WFIFO memory, 132 arbiter memory controller, 171 PCI-e memory controller, 172 PCI -e memory, 191 1 to 191 3 I / O ports, 191a 1 to 191a 3 RFIFO memory, 191b 1 to 191b 3 WFIFO memory, 192 arbiter memory controller

Claims (10)

インタレース画像をプログレッシブ画像に変換する画像処理装置において、
前記プログレッシブ画像を構成するライン単位の画像データを、不要データが付加された状態で保持する第1の保持手段と、
前記プログレッシブ画像を構成する画像データを、所定のデータサイズを有するブロックの単位で保持する第2の保持手段と、
前記第1の保持手段から、前記プログレッシブ画像を構成する画像データ及び前記不要データを、前記ライン毎に、前記ブロックの単位で読み出す読み出し手段と、
読み出された前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記第2の保持手段に書き込む第1の書き込み手段と
を含み、
前記読み出し手段は、前記ライン毎に、前記ブロックとして、前記画像データのみにより構成されるブロック、又は、前記画像データ及び前記不要データにより構成されるブロックを読み出す
画像処理装置。
In an image processing apparatus that converts an interlaced image into a progressive image,
First holding means for holding image data in units of lines constituting the progressive image with unnecessary data added thereto;
Second holding means for holding the image data constituting the progressive image in units of blocks having a predetermined data size;
Reading means for reading out the image data and the unnecessary data constituting the progressive image from the first holding means in units of the blocks for each line;
Extracting only the image data constituting the read block, and writing to the second holding unit in units of the block, and first writing means,
The image reading apparatus is configured to read, for each line, a block constituted only by the image data or a block constituted by the image data and the unnecessary data as the block for each line.
読み出された前記ブロックを構成するデータに対して、前記データは前記不要データであるか否かを示すデータ有効フラグを対応付ける対応付け手段をさらに含み、
前記第1の書き込み手段は、前記データ有効フラグに基づいて、前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記第2の保持手段に書き込む
請求項1に記載の画像処理装置。
Further comprising association means for associating a data valid flag indicating whether or not the data is the unnecessary data with respect to the data constituting the read block,
The image according to claim 1, wherein the first writing unit extracts only the image data constituting the block based on the data validity flag, and writes the extracted image data in the second holding unit in units of the block. Processing equipment.
読み出された前記ブロックに対して、前記ブロックに前記不要データが含まれるか否かを示すデータ有効フラグを対応付ける対応付け手段をさらに含み、
前記第1の書き込み手段は、前記データ有効フラグに基づいて、前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記第2の保持手段に書き込む
請求項1に記載の画像処理装置。
An association means for associating a data valid flag indicating whether or not the unnecessary data is included in the block with the read block;
The image according to claim 1, wherein the first writing unit extracts only the image data constituting the block based on the data validity flag, and writes the extracted image data in the second holding unit in units of the block. Processing equipment.
前記第1の書き込み手段は、抽出した前記画像データを所定のフォーマットにより変換し、前記ブロックの単位で、前記第2の保持手段に書き込む
請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the first writing unit converts the extracted image data in a predetermined format, and writes the converted image data in the second holding unit in units of the blocks.
前記読み出し手段は、
前記第1の保持手段から、前記プログレッシブ画像を構成する画像データ及び前記不要データを、前記ライン毎に、バースト転送が可能なバースト転送サイズを有する前記ブロックの単位で読み出す
請求項1に記載の画像処理装置。
The reading means includes
The image according to claim 1, wherein the image data and the unnecessary data constituting the progressive image are read from the first holding unit in units of the blocks having a burst transfer size capable of burst transfer for each line. Processing equipment.
前記第2の保持手段から、前記バースト転送サイズの前記ブロックを読み出してバースト転送する転送手段をさらに含む
請求項5に記載の画像処理装置。
The image processing apparatus according to claim 5, further comprising a transfer unit that reads out the block having the burst transfer size from the second holding unit and performs burst transfer.
前記プログレッシブ画像のフレームに対応する奇数フィールド及び偶数フィールドの前記インタレース画像それぞれを構成するライン単位の画像データを、前記ブロックの単位で分割した場合に、前記ブロックのデータサイズに満たない余りブロックが生じるとき、前記ブロックのデータサイズから、前記余りブロックのデータサイズを差し引いて得られるデータサイズ分の前記不要データを、前記インタレース画像それぞれを構成するライン単位の画像データに付加する付加手段と、
前記不要データが付加された前記インタレース画像それぞれを構成するライン単位の画像データを、前記不要データが付加された前記プログレッシブ画像を構成するライン単位の画像データとして、前記第2の保持手段に書き込む第2の書き込み手段と
さらに含む請求項1に記載の画像処理装置。
When the line-unit image data constituting the interlaced image of the odd field and the even field corresponding to the frame of the progressive image is divided in the unit of the block, there is a surplus block less than the data size of the block. An adding means for adding the unnecessary data corresponding to the data size obtained by subtracting the data size of the remainder block from the data size of the block to the image data in units of lines constituting each of the interlaced images.
The image data for each line constituting each of the interlaced images to which the unnecessary data is added is written in the second holding means as the image data for each line constituting the progressive image to which the unnecessary data is added. The image processing apparatus according to claim 1, further comprising second writing means.
前記第1の書き込み手段は、前記第2の書き込み手段を兼ねる
請求項7に記載の画像処理装置。
The image processing apparatus according to claim 7, wherein the first writing unit also serves as the second writing unit.
前記第1の保持手段は、前記第2の保持手段を兼ねる
請求項8に記載の画像処理装置。
The image processing apparatus according to claim 8, wherein the first holding unit also serves as the second holding unit.
インタレース画像をプログレッシブ画像に変換する画像処理装置の画像処理方法において、
前記画像処理装置は、
第1の保持手段と、
第2の保持手段と、
読み出し手段と、
第1の書き込み手段と
を含み、
前記読み出し手段が、前記プログレッシブ画像を構成するライン単位の画像データを、不要データが付加された状態で保持する前記第1の保持手段から、前記プログレッシブ画像を構成する画像データ及び前記不要データを、前記ライン毎に、前記ブロックの単位で読み出し、
前記第1の書き込み手段が、読み出された前記ブロックを構成する前記画像データのみを抽出し、前記ブロックの単位で、前記プログレッシブ画像を構成する画像データを、所定のデータサイズを有するブロックの単位で保持する前記第2の保持手段に書き込む
ステップを含み、
前記読み出し手段は、前記ライン毎に、前記ブロックとして、前記画像データのみにより構成されるブロック、又は、前記画像データ及び前記不要データにより構成されるブロックを読み出す
画像処理方法。
In an image processing method of an image processing apparatus for converting an interlaced image into a progressive image,
The image processing apparatus includes:
First holding means;
A second holding means;
Reading means;
First writing means, and
The reading means holds the image data and the unnecessary data constituting the progressive image from the first holding means for holding the image data in units of lines constituting the progressive image in a state where unnecessary data is added. For each line, read in units of the block,
The first writing means extracts only the image data constituting the read block, and the image data constituting the progressive image is a block unit having a predetermined data size in the block unit. Writing to the second holding means held by
The image reading method is an image processing method for reading, for each line, a block constituted only by the image data or a block constituted by the image data and the unnecessary data as the block for each line.
JP2009134133A 2009-06-03 2009-06-03 Image processor, and image processing method Withdrawn JP2010283518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009134133A JP2010283518A (en) 2009-06-03 2009-06-03 Image processor, and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009134133A JP2010283518A (en) 2009-06-03 2009-06-03 Image processor, and image processing method

Publications (1)

Publication Number Publication Date
JP2010283518A true JP2010283518A (en) 2010-12-16

Family

ID=43539894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009134133A Withdrawn JP2010283518A (en) 2009-06-03 2009-06-03 Image processor, and image processing method

Country Status (1)

Country Link
JP (1) JP2010283518A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012164186A (en) * 2011-02-08 2012-08-30 Olympus Corp Data processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012164186A (en) * 2011-02-08 2012-08-30 Olympus Corp Data processing device
US9026697B2 (en) 2011-02-08 2015-05-05 Olympus Corporation Data processing apparatus

Similar Documents

Publication Publication Date Title
US8358363B2 (en) Video-processing apparatus, method and system
JP2007060388A (en) Video processor, video processing method and program
JP6129574B2 (en) Image processing device
KR101000580B1 (en) Image processing device and image processing method, and recording medium
JP2005018730A (en) Line buffer for color interpolation, and line data providing device and method
US20090256968A1 (en) Signal processing apparatus, and method for controlling signal processing apparatus
JP2010283518A (en) Image processor, and image processing method
JP4952685B2 (en) Video signal encoding device
JP2008060767A (en) Video processing method, video processing program, video processor, reproducing method, reproducing program, and reproducing device
JP2007036388A (en) Reproducing unit and method
JP6221820B2 (en) Encoding apparatus, encoding method, and encoding program
JP2006094225A (en) Image processing apparatus, image processing method, and its program
JP4775351B2 (en) Imaging device
JP2008181017A (en) On-screen display apparatus, on-screen display method, and imaging device
JP2002229554A (en) Image processor
JP2008294910A (en) Video reproduction apparatus
CN113452933B (en) Video signal conversion method and display device
CN101926169A (en) Video signal processing method, integrated circuit, and video reproducer
JPWO2007096974A1 (en) Image processing apparatus and image processing method
JP2009005355A (en) Image data processor
TW488163B (en) Converter for converting computer graphics signal into television video signal
JP2009042338A (en) Pixel number conversion method, device, and program
JP2005091871A (en) Image data compression method
JP4377997B2 (en) Signal processing apparatus and imaging apparatus
JP4706364B2 (en) Image conversion apparatus and image conversion method

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: 20120807