JP3630587B2 - Video editing method and apparatus - Google Patents

Video editing method and apparatus Download PDF

Info

Publication number
JP3630587B2
JP3630587B2 JP17744199A JP17744199A JP3630587B2 JP 3630587 B2 JP3630587 B2 JP 3630587B2 JP 17744199 A JP17744199 A JP 17744199A JP 17744199 A JP17744199 A JP 17744199A JP 3630587 B2 JP3630587 B2 JP 3630587B2
Authority
JP
Japan
Prior art keywords
samples
stream
memory
sample
address
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.)
Expired - Fee Related
Application number
JP17744199A
Other languages
Japanese (ja)
Other versions
JP2001008162A (en
Inventor
信二 ▲濱▼井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP17744199A priority Critical patent/JP3630587B2/en
Publication of JP2001008162A publication Critical patent/JP2001008162A/en
Application granted granted Critical
Publication of JP3630587B2 publication Critical patent/JP3630587B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、デジタル映像データの編集を行う映像編集装置及びその方法に関し、特に複数の素材データをコンピュータ上で編集処理するノンリニア編集に好適な映像編集装置及びその方法に関する。
【0002】
【従来の技術】
近年、映像データの拡大や縮小等の画像処理を行い、その編集を行う映像編集装置が開発されている。このような映像編集装置では、映像信号をデジタル映像データに変換し、このデジタル映像データに対してフィルタリング等の画像処理を実施して拡大や縮小等の編集を行っていた。
【0003】
以下、従来の映像編集装置について図26を参照しつつ説明する。図26は従来の映像編集装置の構成を示すブロック図である。図26において、映像編集装置に入力されたデジタル映像データは、YC抽出回路202において輝度信号サンプル(以下、Yサンプルと記す)と二つの色差信号サンプル(以下、CRサンプル、CBサンプルと記す)に分解される。分解されたYサンプルは2つのラインバッファ203、203でそれぞれ順に1ラインずつ遅延される。元のYサンプルと1ライン遅延されたYサンプルと2ライン遅延されたYサンプルは、垂直フィルタ204に入力され、垂直方向の圧縮や伸張等の処理が行われる。
【0004】
同様に、CRサンプルとCBサンプルについてもそれぞれ2つのラインバッファ203、203と垂直フィルタ204により垂直方向の圧縮や伸張等の処理が実施される。
垂直フィルタ204から出力されたYサンプル、CRサンプル及びCBサンプルは、各水平フィルタ205に入力され、それぞれにおいて水平方向の圧縮や伸張の処理が行われる。各水平フィルタ205からの出力は、YC組立回路206に入力され、デジタル映像信号に組み立てられて出力される。
【0005】
従来の映像編集装置において、デジタル映像データはライン単位でデータ伝送が行われている。このため、従来の映像編集装置では、ライン単位の処理、例えば水平方向のシフト、圧縮あるいは伸張の処理は実現可能であった。しかし、従来の映像編集装置は、垂直方向の垂直フィルタ204のタップ数が少ないため、垂直方向の圧縮や伸張に対して十分な映像の品質を維持することができなかった。
また、ラインバッファの段数を多くすることにより実質的に垂直フィルタのタップ数を多くして、映像の品質を向上させることは可能であるが、その場合にはラインフィルタの規模が大きくなり製造コストが高くなるという問題があった。また、この従来の映像編集装置では、垂直方向に関しては圧縮や伸張の処理だけであり、画像のシフト等の処理を行うためには、さらにその処理を行うための装置を追加して接続する必要があった。
【0006】
次に、上記と異なる構成の従来の映像編集装置について図27を参照しつつ説明する。図27は画像メモリを用いた従来の映像編集装置を示すブロック図である。図27において、この映像編集装置に入力されたデジタル映像データは、ダイナミックラムで構成されたメモリ220に一旦蓄積される。編集回路221は、垂直フィルタ、水平フィルタ、垂直シフタ、水平シフタ等の画像処理回路を有しており、アドレス制御回路223に指示してメモリ220に蓄積されているデジタル映像データのサンプルを読み出し処理するよう構成されている。
例えば、編集回路221が水平方向の処理を行う場合には、編集回路221はメモリ220に蓄積された各サンプルを水平方向に読み出すようアドレス制御回路223に指示する。指示を受けたアドレス制御回路223は、蓄積されたサンプルを水平方向に読み出すようメモリ220のアドレスを制御する。編集回路221はメモリ220の出力したサンプルに対してフィルタリング等の処理を行い、再びメモリ220に書き込む。この時、メモリ220には、入力されたデジタル映像データの順番に各サンプルが蓄積されていく。
【0007】
一般的なダイナミックラムは、メモリセルがロー、カラムからなる2次元構造となっており、同一ローアドレスに対するアクセスは高速であるが、異なるカラムアドレスに対するアクセスは低速である。
図28は、デジタル映像データのメモリ220へマッピングした例である。図28において、この例のデジタル映像データは、480ライン、720カラムの映像データを持っている。1つのローアドレスに1ラインのサンプルがマッピングされている。
この場合、1ラインの読み出しあるいは書き込みは、連続的に行うことが可能である。すなわち、720サンプルの読み出しは、オーバヘッドの読み出しを含め722クロックで行うことが可能である。ここでは、オーバヘッドの読み出しがプリチャージ及びローアドレスの指定が1クロックでできるものとする。
【0008】
上記のメモリ220に対して垂直方向の処理を行うために、同一カラムのサンプルを連続的に読み出そうとすると、それぞれのラインのサンプルのローアドレスが全て異なるため連続的な読み出しを行うことができなかった。1サンプルを読み出すためには、オーバヘッドを含めて3クロックが必要である。従って、1フレーム分(480ライン、720カラム)のサンプルをメモリ220から全て読み出し、さらに書き込む為には下記式(1)に示すクロック数を必要とした。
【0009】
720×480×3=1036800(クロック) (1)
【0010】
動画のデジタル映像データとすると1秒間に30フレームの読み出しが必要であるため、メモリのクロックとしては30MHz以上が必要であり、従来の画像編集装置においてデジタル映像データを処理することは、通常のデジタル映像信号の入出力クロックである27MHzでは対応できなかった。その結果、このような映像の編集を行うためには、高速なメモリと、クロックレート変換回路が必要となり、装置の構成が大型となり、装置が高価になるという問題があった。
【0011】
【発明が解決しようとする課題】
以上説明したように、図26に示した従来の映像編集装置では、垂直方向の圧縮、伸張の際の画像の品質が低いという問題があり、この画像の品質を高めるためには多くのラインバッファが必要となり規模が大きくなり、製造コストが高くなるという問題があった。
また、画像メモリを用いて編集を行う図27に示した従来の映像編集装置では、メモリへのアクセスが遅く、動画の編集を行うためには高速のメモリが必要であるという問題があった。
本発明の目的は、装置の規模を大きくすることなく通常の画像メモリを用いて、垂直方向の圧縮や伸張の際の画像の品質を高めることができる映像編集装置及び映像編集方法を提供することにある。
【0012】
【課題を解決するための手段】
本発明に係る映像編集方法は、デジタル映像データを編集する映像編集方法であり、
デジタル映像デ−タの1フレームの画面を複数のサブ画面に分割する工程、
メモリのアドレスを上位アドレスであるローアドレスと下位アドレスであるカラムアドレスに分け、前記1フレームにおける同一のサブ画面のデジタル映像データを前記メモリの同一ローアドレスに蓄積する工程、
前記ローアドレスと前記カラムアドレスを用いて前記メモリのデジタル映像データにアクセスする工程を有する。
上記の映像編集方法によれば、通常のクロック数のメモリを用いて、高精細モードのデジタル映像データを書き込んだり、読み出したりすることができる。
【0014】
さらに、他の観点による発明に係る映像編集方法は、デジタル映像データのサンプル毎で輝度信号サンプルと2つの色差信号サンプルに分割され、ライン毎に多重されて輝度信号ストリーム(以下、Yストリームと記す)と2つの色差信号ストリーム(CRストリーム、CBストリームと記す)のそれぞれを形成する分割工程、
前記Yストリームをライン毎に編集したY1サンプルにより構成されたY1ストリームを形成する第1の編集工程、
前記CRストリームをライン毎に編集したCR1サンプルにより構成されたCR1ストリームを形成する第2の編集工程、
前記CBストリームをライン毎に編集したCB1サンプルにより構成されたCB1ストリームを形成する第3の編集工程、
前記Y1ストリームと前記CR1ストリームと前記CB1ストリームをメモリに蓄積する第1の蓄積工程、
前記第1の蓄積工程において出力された同一カラムアドレスのY1サンプルにより構成されたY1’ストリームをカラムアドレス毎に編集して、Y2サンプルにより構成されたY2ストリームを形成する第4の編集工程、
前記第1の蓄積工程において出力された同一カラムアドレスのCR1サンプルにより構成されたCR1’ストリームをカラムアドレス毎に編集して、CR2サンプルにより構成されたCR2ストリームを形成する第5の編集工程、
前記第1の蓄積工程において出力された同一カラムアドレスのCB1サンプルにより構成されたCB1’ストリームをカラムアドレス毎に編集して、CB2サンプルにより構成されたCB2ストリームを形成する第6の編集工程、
前記Y2ストリームと前記CR2ストリームと前記CB2ストリームをメモリに蓄積する第2の蓄積工程、及び
前記第2の蓄積工程において出力された同一ラインのY2サンプルにより構成されたY2’ストリームとCR2サンプルにより構成されたCR2’ストリームとCB2サンプルにより構成されたCB2’ストリームが入力され、サンプル毎に前記Y2サンプルと前記CR2サンプルと前記CB2サンプルを多重して出力する組立工程を有する。
上記の映像編集方法によれば、通常のクロック数のメモリを用いて、高精細モードの画像データを書き込んだり、読み出したりすることができ、その結果、垂直方向の圧縮や伸張の際の画像の品質の高い画像メモリを用いた映像編集装置を通常のメモリを用いて実現することが可能となる。
【0015】
本発明に係る映像編集装置は、デジタル映像データを編集する映像編集装置であり、
デジタル映像デ−タの1フレームの画面を複数のサブ画面に分割する分割回路と、
メモリのアドレスを上位アドレスであるローアドレスと下位アドレスであるカラムアドレスに分け、前記1フレームにおける同一のサブ画面のデジタル映像データを前記メモリの同一ローアドレスに蓄積する蓄積回路を具備し
前記蓄積回路において前記ローアドレスと前記カラムアドレスを用いて前記メモリのデジタル映像データにアクセスするよう構成されている。
上記構成の映像編集装置によれば、通常のクロック数のメモリを用いて、高精細モードの動画のデジタル映像データを書き込んだり、読み出したりすることができる。
【0017】
さらに、他の観点による発明に係る映像編集装置は、デジタル映像データのサンプル毎で輝度信号サンプルと2つの色差信号サンプルに分割され、ライン毎に多重されて輝度信号ストリーム(以下、Yストリームと記す)と2つの色差信号ストリーム(CRストリーム、CBストリームと記す)のそれぞれを形成する分割回路、
前記Yストリームをライン毎に編集したY1サンプルにより構成されたY1ストリームを形成する第1の編集回路、
前記CRストリームをライン毎に編集したCR1サンプルにより構成されたCR1ストリームを形成する第2の編集回路、
前記CBストリームをライン毎に編集したCB1サンプルにより構成されたCB1ストリームを形成する第3の編集回路、
前記Y1ストリームと前記CR1ストリームと前記CB1ストリームをメモリに蓄積する第1の蓄積回路、
前記第1の蓄積回路から出力された同一カラムアドレスのY1サンプルにより構成されたY1’ストリームをカラムアドレス毎に編集して、Y2サンプルにより構成されたY2ストリームを形成する第4の編集回路、
前記第1の蓄積回路から出力された同一カラムアドレスのCR1サンプルにより構成されたCR1’ストリームをカラムアドレス毎に編集して、CR2サンプルにより構成されたCR2ストリームを形成する第5の編集回路、
前記第1の蓄積回路から出力された同一カラムアドレスのCB1サンプルにより構成されたCB1’ストリームをカラムアドレス毎に編集して、CB2サンプルにより構成されたCB2ストリームを形成する第6の編集回路、
前記Y2ストリームと前記CR2ストリームと前記CB2ストリームをメモリに蓄積する第2の蓄積回路、及び
前記第2の蓄積回路から出力された同一ラインのY2サンプルにより構成されたY2’ストリームとCR2サンプルにより構成されたCR2’ストリームとCB2サンプルにより構成されたCB2’ストリームが入力され、サンプル毎に前記Y2サンプルと前記CR2サンプルと前記CB2サンプルを多重して出力する組立回路を具備する。
上記の映像編集装置によれば、通常のクロック数のメモリを用いて、高精細モードの画像データを書き込んだり、読み出したりすることができる。その結果、垂直方向の圧縮や伸張の際の画像の品質の高い通常の画像メモリを用いた安価な映像編集装置が実現できる。
【0018】
【発明の実施の形態】
以下、本発明に係る映像編集装置の好適な実施例について添付の図面を参照しつつ説明する。
【0019】
《実施例1》
本発明に係る実施例1の映像編集装置について図1から図7を参照しつつ説明する。図1は、実施例1の映像編集装置の構成を示すブロック図である。
なお、実施例1において、外部より入力されるデジタル映像データのフォーマットは、SMPTE 125Mに規定されているものとする。SMPTE 125Mは、CCIR Recomendation 601に従ったデジタル映像データを伝送するフォーマットである。
【0020】
図2は、SMPTE 125Mのデジタル映像データの構成を示す図である。
図2に示すように、このフォーマットの1フレームの映像は、2つのフィールド21とフィールド22から構成されている。フィールド21の輝度信号(以下、Yサンプルと記す)は、232本のラインで走査され、各ラインは858ピクセルの画素にサンプリングされる。また、フィールド21の2つの色差信号(CRサンプルとCBサンプルと記す)は、同様に232本のラインで走査され、各ラインは429ピクセルの画素にサンプリングされる。
【0021】
フィールド21と同様に、フィールド22のYサンプルは、233本のラインで走査され、各ラインは858ピクセルの画素にサンプリングされる。また、フィールド22のCRサンプルとCBサンプルは、同様に233本のラインで走査され、各ラインは429ピクセルの画素にサンプリングされる。
1フレームのデジタル映像データは、フィールド順に、かつライン順に順次伝送される。1ラインの各サンプルは、CBサンプル、Yサンプル、CRサンプル、Yサンプルの順に伝送される。1ライン中の各サンプルは、有効画素と水平帰線中のサンプルとに分けられる。1ライン中の最初の有効画素の直前には、SAV信号(Start of Active Video Signal)が配置され、最後の有効画素サンプルの直後にはEAV信号(End of Active video Signal)が配置される。
【0022】
図1において、YC抽出回路1は、入力されたデジタル映像データをYサンプル、CRサンプル、CBサンプルに分割して、有効画素のYサンプルをメモリ2に出力し、有効画素のCRサンプルをメモリ3に出力し、有効画素のCBサンプルをメモリ4に出力する。この時、YC抽出回路1は、各サンプルを入力されたデジタル映像データにおけるサンプルの順番を保ったまま各メモリ2、3、4に出力する。
【0023】
図3は、実施例1の映像編集装置におけるメモリ2のメモリマップを示す図である。ここで、メモリ2は、アドレスを上位アドレスであるローアドレスと、下位アドレスであるカラムアドレスに分割して入力するいわゆるダイナミックラムで構成されている。カラムアドレス空間として10ビット、ローアドレス空間として10ビットを有している。
図3において、ローアドレス0のカラムアドレス0から899までの900個のデータをブロック0(B000)とする。以下、ローアドレス1からローアドレス383までのカラムアドレス0から899までの900個の各データをブロック1(B001)からブロック383(B383)とする。これらブロック0からブロック383までをバンク0とする。
同様に、次のローアドレス512のカラムアドレス0から899までの900個のデータをブロック0(B000)とする。以下、ローアドレス513からローアドレス895までのカラムアドレス0から899までの900個の各データをブロック1(B001)からブロック383(B383)とする。これらのローアドレス512からのブロック0からブロック383まではバンク1とする。
【0024】
図4は、実施例1の映像編集装置のYC抽出回路1における1フレームのデジタル映像データの有効画素の分割状態を示す図である。実施例1のYC抽出回路1は、1ラインの有効画素720ピクセルである720サンプルを24のブロックに分割し、有効ラインの480ラインである480サンプルを16のブロックに分割する。
図4に示すように、分割された各ブロックには、図中の左から右へ、さらに上から下へ順に番号を付与する。図4において、左上のブロックがブロック0(B000)、右上のブロックがブロック23(B023)、左下のブロックがブロック360(B360)、右下のブロックがブロック383(B383)である。このように分割された画面上の各ブロックのYサンプルは、メモリ2における対応するブロックに蓄積される。
【0025】
図5は、分割された1つのブロックの構成を示す図である。図5の(1)は1つのブロックを示しており、図5の(2)は1つのブロックの構成を示している。図5に示すように、分割された1ブロックは900個(30サンプル×30ライン)のサンプルで構成され、それぞれのサンプルPに番号を付与する。
図5に示すように、1つのブロックはたて縦30ライン、横30サンプルから構成されており、例えばサンプルP(m、y、x)は、ブロックmのラインx、サンプルyを示す。ここで、ラインxはブロックにおける上から数えたライン番号であり、サンプルyは、ブロックにおける左から数えたサンプル番号である。
【0026】
図6は、図4に示した分割されたブロックm(Bm)の各サンプルの実施例1の映像編集装置におけるメモリ2でのメモリマップを示す図である。図6に示すように、分割されたブロックmのサンプルは全てメモリ2のローアドレスmにマッピングされる。
カラムアドレスは、0から899を使用し、0を画面の左上のサンプルに、さらに水平方向に順にサンプルを割り当て、1ラインの割り当ての後、1ライン下のラインに順次割り当てていく。
CRサンプルを蓄積するメモリ3、CBサンプルを蓄積するメモリ4においても、それぞれのメモリマッピングは同様に行われる。但し、CRサンプル及びCBサンプルは、1ラインのサンプル数がYサンプルの半分の360サンプルであるため、画面の横方向のブロック数はそれぞれ12とする。
【0027】
Yサンプルのデジタル映像データはメモリ2から読み出され、編集回路5に入力される。編集回路5では、入力されたYサンプルのデータ列に対してフィルタリング、シフト等の画像処理を行い、メモリ8に出力する。
この時、編集回路5において行う編集がラインに対する処理、例えば画面の水平方向の圧縮や伸張であれば、アドレス制御回路11は、各ラインのYサンプルのアドレスを順次メモリ2に出力し、同時に出力イネーブル信号をアクティブにする。
その結果、メモリ2は各ラインのYサンプルを出力する。編集回路5は、メモリ2の出力したライン毎のYサンプルに対して圧縮、伸張あるいはシフト等の画像処理を行い、メモリ8に出力する。
アドレス制御回路11は、編集回路5が出力した編集後のYサンプルをメモリ8に記録するようメモリ8のアドレス及び書き込みイネーブル信号を制御する。
【0028】
編集回路5において行う編集が画面のカラムに対する処理、例えば画面の垂直方向の圧縮や伸張であれば、アドレス制御回路11は、画面上の各カラムのYサンプルのアドレスを順次メモリ2に出力し、同時に出力イネーブル信号をアクティブにする。
その結果、メモリ2は、各カラムのYサンプルを順次出力する。編集回路5は、メモリ2の出力したカラム毎のYサンプルに対して圧縮、伸張あるいはシフト等の画像処理を行い、メモリ8に出力する。アドレス制御回路11は、編集回路5が出力した編集後のYサンプルをメモリ8に記録するようメモリ8のアドレス及び書き込みイネーブル信号を制御する。
【0029】
編集回路5において行う編集が画面のシフト処理であれば、アドレス制御回路11は、画面上の各Yサンプルのアドレスの読み出し開始位置をシフトすべき画面位置から行う。編集回路5は、Yサンプルが存在しない画面位置のデータを生成し、シフトされたYサンプルとともにメモリ8に出力する。
編集回路5で行う編集が画面の回転であれば、アドレス制御回路11は、メモリ2から与えられた回転角度に従ってYサンプルを読み出すようメモリ2のアドレスを制御する。編集回路5は入力されたYサンプルに対してフィルタリング等の処理を行いメモリ8に出力する。
なお、これらのYサンプルの圧縮、伸張、シフト、回転等の処理は複合して処理することが可能である。
【0030】
同様に、メモリ3に蓄積されたCRサンプルに対して、アドレス制御回路11がメモリ3のアドレスと読み出しイネーブル信号の制御を行っている。編集回路6は、メモリ3からCRサンプルを読み出し、編集回路6において編集する。さらに、アドレス制御回路11がメモリ9のアドレスと書き込みイネーブル信号を制御することにより、編集回路6において編集したCRサンプルは、メモリ9に書き込まれ、CRサンプルの圧縮、伸張、シフト、回転等の編集処理が行われる。
同様に、メモリ4に蓄積されたCBサンプルに対して、アドレス制御回路11がメモリ4のアドレスと読み出しイネーブル信号の制御を行っている。編集回路7は、メモリ4からCBサンプルを読み出し、編集回路7において編集する。さらに、アドレス制御回路11がメモリ10のアドレスと書き込みイネーブル信号を制御することにより、編集回路7において編集したCBサンプルをメモリ10に書き込むことにより、CBサンプルの圧縮、伸張、シフト、回転等の編集処理が行われる。
【0031】
アドレス制御回路11は、各メモリ8、9、10のアドレスと読み出しイネーブル信号を制御することにより、各メモリ8、9、10からサンプルを読み出し、YC組立回路12へ出力する。YC組立回路12は、入力された各サンプルをデジタル映像信号に組立てて出力する。
以上の説明のように、実施例1の映像編集装置によれば、入力されたデジタル映像データを編集して、デジタル映像信号として出力することが可能である。
【0032】
SMPTE 125Mのフォーマットにおいて、1フレームのデータは525ラインのデータから構成され、1ラインのデータは858サンプルからなる。但し、CRサンプル及びCBサンプルは、サンプリング周波数がYサンプルの周波数の半分であるため、1フレームのデータ総量は、900900サンプルとなる。
従って、実施例1の映像編集装置におけるメモリ2、3、4、8、9、10は、少なくとも900900サンプルのデータの書き込みと読み出しを1フレーム期間(33.37ms)に行う必要がある。また、各データは27MHzのデータクロックで伝送されているため、全体のシステムを27MHzで動作させることが同期化の点から求められる。
【0033】
メモリ2へのデータの書き込みは、1ラインあたり24のブロックに分割して行われる。1つのブロックには30サンプルが含まれており、1つのブロックの書き込みには32クロックかかる。
図7は、実施例1の映像編集装置におけるYサンプルのメモリ2へのデータ書き込みのタイミングチャートである。図7において、ライン0のデータの書き込みは、24個のブロックに分割されて行われ、1個のブロックには30サンプルが含まれる。
以下、メモリ2に対するYサンプルの書き込みについて説明する。図7に示すように、まず、メモリ2のローアドレスイネーブル信号(以下、Row Address Enable Signal:RASと記す)を立ち下げLにする。RASをLにしたタイミングで、アドレスにローアドレス21を出力する。図7におけるアドレスの0はブロック0を記録するローアドレスである。
【0034】
その後、カラムアドレスイネーブル信号(以下、Column Address Enable Signal:CASと記す)をクロック毎に立ち下げてLとする。CASをLにしたタイミングでアドレスにカラムアドレス22の0〜29までを順次出力する。アドレスにおける0〜29は、最初の30サンプルを記録するカラムアドレスである。アドレスにカラムアドレスを入力するタイミングで、Yサンプルをメモリ2に入力して記録する。最後のCASであるアドレス29のYサンプルを入力した後にRASを立ち上げてHとするため、1つのブロックの30サンプルの書き込みには32クロックが必要である。また、1ラインは24ブロックを有するため、1ラインのYサンプルの書き込みには768クロックが必要となる。また、1フレームは480ラインからなるため、1フレームの書き込みには368640クロックが必要となる。
【0035】
次に、上記のようにメモり2にYサンプルの書き込みにおける、ラインmの書き込みについて考察すると、n番目に入力されるローアドレスRAnは、下記式(2)で表される。
【0036】
RAn = m / 30 + n (2)
【0037】
以後「/」は、整数除算(小数点以下切り捨て)を示す。 また、ラインmの書き込みのn番目のブロックの書き込みのp番目に入力されるカラムアドレスCAmpは下記式(3)で表される。
【0038】
CAmp = m mod 30 × 30 + p (3)
【0039】
式(3)において、m mod 30は、mを30で割った剰余を示し、以下の式においても同様の意味を示す。
次に、メモリ2に蓄積されたYサンプルをカラム毎に垂直方向に読み出す場合のタイミングについて説明する。
カラム0の読み出しは、16個のブロックに分割されたライン毎に行われる。1個のブロックには30サンプルが含まれている。
まず、メモリ2のRASを立ち下げてLにする。RASをLにしたタイミングで、アドレスにローアドレス21を出力する。図7におけるアドレスの0はブロック0を読み出すローアドレスを示す。その後、CASをクロック毎に立ち下げてLとする。そのタイミングでアドレスにカラムアドレス22を出力する。CASをLとした後メモリ2から該当するアドレスのデータが出力される。最後にRASを立ち上げてHとするため、30サンプルの読み出しには32クロックが必要である。1ラインは16ブロックを有するため、1ラインの読み出しには512クロックが必要となる。また、1フレームは720カラムからなるため、1フレームの読み出しには368640クロックが必要となる。
【0040】
次に、上記のようにメモり2からYサンプルの読み出しにおいて、カラムmの読み出しについて考察すると、n番目に入力するローアドレスRAnは、下記式(4)で表される。
【0041】
RAn= m mod 30 + n × 30 (4)
【0042】
カラムmの読み出しのn番目のブロック読み出しのp番目に入力するカラムアドレスCAmpは、下記式(5)で表される。
【0043】
CAmp= m mod 30 + p × 30 (5)
【0044】
上記のように、実施例1の映像編集装置において、1フレームの書き込みと読み出しには、737280クロックを要する。このクロック数は、27MHzのデータクロックで動作させるシステムの1フレーム期間のクロック数900900より少ないため、実施例1の映像編集装置はシステムとして成り立つ。
次に、ライン毎の水平方向の読み出しについて説明する。ライン毎の水平方向の読み出しは、ライン毎の書き込みと同一タイミングで行われる。この読み出し動作は、前述の書き込み動作において行ったサンプルをメモリ2に書き込む動作のかわりにサンプルをメモリ2から読み出すよう動作する。この時にメモリ2に出力するアドレスは、書き込みの場合と同様に前述の式(2)及び式(3)に従う。
この時の所要クロック数は、書き込み時と同じく368640クロックであるため、ライン毎に水平方向に読み出しても十分1フレーム期間内に書き込み及び読み出しを行うことが可能である。
【0045】
また、メモリ8に関しては、編集回路5がライン毎に書き込む場合とカラム毎に書き込む場合があるが、どちらも、メモリ2に関するライン毎に読み出しとカラム毎に書き込む場合と同じタイミングである。また、メモリ8からYC組立回路12に出力する際には、ライン毎に読み出すが、この場合もまたメモリ8のライン毎に読み出す場合と同じタイミングである。従って、メモリ8に関しても、27MHzのクロック周波数で動作することができる。
CRサンプルを処理するメモリ3、編集回路6、メモリ9、及びCBサンプルを処理するメモリ4、編集回路7、メモリ10については、ライン方向のサンプル数がメモリ2に比較して半分の360サンプルである他は、前述のメモリ2、編集回路5、及びメモリ8と同様に処理される。
【0046】
YC組立回路12は、入力されたYサンプル、CRサンプル、CBサンプルをデジタル映像データとして出力する。その際、必要となる水平ブランキング、垂直ブランキングの各信号を生成して、各信号の同期を取って、図2に示すタイミングで出力される。
以上のように、実施例1の映像編集装置によれば、デジタル映像データのメモリへの入出力のクロック周波数と同じ27MHzで動作することが可能な画像編集装置を構築できる。
【0047】
《実施例2》
以下、本発明に係る実施例2の映像編集装置について図8から図25を参照しつつ説明する。図8は、実施例2の映像編集装置の構成を示すブロック図である。
図8において、実施例2の映像編集装置は、入力されるデジタル映像データからスタート信号を生成するスタート検出回路101と、スタート信号に従ってデジタル映像データをYサンプル、CRサンプル及びCBサンプルに分割し、かつ1フレームのデジタル映像データを、ライン方向に11分割、カラム方向に21分割するYC抽出回路102を有している。このように、YC抽出回路102は輝度信号ストリーム(以下、Yストリームと記す)と2つの色差信号ストリーム(CRストリーム、CBストリームと記す)に分割する。Yストリームはライン方向の複数のYサンプルからなる。同様に、各CRストリームとCBストリームは、ライン上の複数のCRサンプル及び複数のCBサンプルからそれぞれ構成されている。
YC抽出回路102は、分割された各サンプルの水平方向の画像処理を行う水平圧縮回路103、104、105に接続されている。各水平圧縮回路103、104、105はラインバッファ106、107、108に接続されている。ラインバッファ106、107、108は各サンプルを多重化する多重回路121に接続されている。多重回路121は、データバス109を介してメモリ110に接続されている。
【0048】
メモリ110は、メモリ制御回路111により入出力を制御される。メモリ110はデータバス109を介して垂直方向の画像処理を行う垂直圧縮回路112に接続されている。垂直圧縮回路112はカラムバッファ113に接続されている。カラムバッファ113はデータバス114を介してメモり115に接続されている。メモリ115は、メモリ制御回路116により入出力を制御される。メモリ115はデータバス114を介してラインバッファ117、118、119に接続されている。ラインバッファ117、118、119はYC組立回路120に接続されている。
【0049】
以下、実施例2の映像編集装置の動作について図9から図25を参照しつつ説明する。実施例2において、スタート検出回路101及びYC抽出回路102に入力されるデジタル映像データの1サンプルのビット幅は10ビットとする。
スタート検出回路101は、デジタル映像データから、フレーム先頭信号及びライン先頭信号等のスタート信号を生成し、そのスタート信号をYC抽出回路102、メモリ制御回路111、垂直圧縮回路112、メモリ制御回路116及びYC組立回路120に出力する。
YC抽出回路102は、入力されたスタート信号に従って、入力されたデジタル映像データをYサンプルとCRサンプルとCBサンプルに分割し、それぞれのサンプルを水平圧縮回路103、104、105に出力する。このとき、YC抽出回路102は各サンプルの書き込みイネーブル信号を同時に出力する。
【0050】
水平圧縮回路103は、入力されたYサンプルから水平方向の圧縮や伸張等の画像処理を行い、Y1サンプルに変換し、このY1サンプルをラインバッファ106に出力する。水平圧縮回路103では、Yサンプル中の画素サンプルでないサンプル、すなわち垂直ブランキング及び水平ブランキング中のYサンプルについては、そのままラインバッファ106に出力する。この時、水平圧縮回路103はY1サンプルの出力に合わせて書き込みイネーブル信号をラインバッファ106に出力する。ラインバッファ106に出力するY1サンプルは、隣り合う2つのサンプルを同時に出力する。そのため、ラインバッファ106は20ビットのデータ幅を持ち、隣り合う2つのサンプルのうち、画面上で左側のY1サンプルが上位10ビットに格納され、下位10ビットには右側のY1サンプルが格納される。
【0051】
CRサンプルのための水平圧縮回路104は、上記のYサンプルのための水平圧縮回路103と同様に、入力されたCRサンプルの水平方向の圧縮や伸張等の画像処理を行い、CR1サンプルに変換して、書き込みイネーブル信号とともにラインバッファ107に出力する。
CBサンプルのための水平圧縮回路105は、入力されたCBサンプルの水平方向の圧縮や伸張等の画像処理を行い、CB1サンプルに変換して、書き込みイネーブル信号とともにラインバッファ108に出力する。
【0052】
Yサンプルのためのラインバッファ106は、入力された書き込みYイネーブル信号に従って入力されたY1サンプルを一時保持する。
同様にラインバッファ107、108は、入力された書き込みCRイネーブル信号、書き込みCBイネーブル信号に従ってそれぞれに入力されたCR1サンプル、CB1サンプルを一時保持する。
ラインバッファ106、107、108は、メモリ制御回路111から出力される読み出しイネーブル信号に従って保持しているY1サンプル、CR1サンプル、CB1サンプルを多重回路121に出力する。多重回路121は入力された各サンプルを多重化し、データバス109に出力する。
【0053】
図9は、実施例2の多重回路121を示すブロック図である。この多重回路121において、上位20ビットにはY1サンプルが、次の10ビットにはCR1サンプルが、下位10ビットにはCB1サンプルが格納される。上記のように格納されたサンプルは、データバス109に出力される。
データバス109に出力された多重化されたサンプルは、メモリ110に蓄積される。さらに、メモリ制御回路111の出力した読み出しイネーブル信号によりメモリ110からカラム方向に順番に多重化されたサンプルが読み出され垂直圧縮回路112に出力される。
【0054】
メモリ110は、少なくとも2フレーム分のサンプルを格納する容量を持ち、2フレーム分のメモリ領域における最初の1フレーム分のメモリ領域をバンク0、次の1フレーム分のメモリ領域をバンク1とする。メモリ110におけるビット幅は40ビットである。メモリ制御回路111はラインバッファ106、107、108の読み出しイネーブル信号と、メモリ110のアドレス及び制御信号を制御する。このようにメモリ制御回路111が各信号を制御することにより、ある1フレーム期間に1フレーム分のサンプルをラインバッファ106、107、108から読み出してメモリ110に記録するとともに、同じ1フレーム期間に1フレームのデータをメモリ110から読み出して垂直圧縮回路112に出力する。メモリ制御回路111の信号生成のタイミングは、スタート検出回路101の出力するスタート信号に従う。
【0055】
垂直圧縮回路112には、サンプルがカラム方向の順番に入力される。垂直圧縮回路112は、各カラムを圧縮あるいは伸張し、カラムバッファ133に圧縮あるいは伸張したサンプルを出力する。ただし、垂直圧縮回路112は垂直ブランキング及び水平ブランキングの中のサンプルについてはそのままカラムバッファ113に出力する。また垂直圧縮回路112は、サンプルを出力するとともに書き込みイネーブル信号をカラムバッファ113に出力する。
これら圧縮や伸張のタイミングはスタート検出回路101から入力されるスタート信号を基準に動作する。
【0056】
カラムバッファ113は、書き込みイネーブル信号がアクティブである時に入力されたサンプルをバッファリングする。カラムバッファ113はメモリ制御回路116から読み出しイネーブル信号が入力された時にバッファリングしたサンプルをデータバス114に出力する。垂直圧縮回路112の圧縮あるいは伸張したY1サンプルをY2サンプル、CR1サンプルをCR2サンプル、CB1サンプルをCB2サンプルとする。
【0057】
データバス114に出力されたサンプルは、メモリ115に記録される。次に、メモリ115からライン方向に順番にサンプルが読み出され、ラインバッファ117、118、119に出力される。
メモリ115は、少なくとも2フレーム分のサンプルの容量を持ち、2フレーム分のメモリ領域における最初の1フレーム分をバンク0、次の1フレーム分をバンク1とする。メモリ115におけるビット幅は40ビットである。
メモリ制御回路116は、カラムバッファ113の読み出しイネーブル信号と、メモリ110のアドレス及び制御信号と、ラインバッファ117、118、119の書き込みイネーブル信号とを制御する。このように、メモリ制御回路116が各信号を制御することにより、ある1フレーム期間に1フレーム分のサンプルをカラムバッファ113から読み出してメモリ115に記録するとともに、同じ1フレーム期間に1フレームのデータをメモリ115から読み出してラインバッファ117、118、119に出力する。メモリ制御回路111の信号生成のタイミングは、スタート検出回路101の出力するスタート信号に従う。
【0058】
ラインバッファ117はメモリ制御回路116の書き込みイネーブル信号に従って入力されたY2サンプルをバッファリングする。また、ラインバッファ117はYC組立回路120の読み出しイネーブル信号に従ってバッファリングしたY2サンプルを出力する。
また、ラインバッファ118は、メモリ制御回路116の書き込みイネーブル信号に従って入力されたCR2サンプルをバッファリングする。また、ラインバッファ118はYC組立回路122の読み出しイネーブル信号に従って保持しているCR2サンプルを出力する。
また、ラインバッファ119は、メモリ制御回路116の書き込みイネーブル信号に従って入力されたCB2サンプルをバッファリングする。また、ラインバッファ119はYC組立回路122の読み出しイネーブル信号に従って保持しているCB2サンプルを出力する。
YC組立回路120は、それぞれラインバッファ117、118、119に蓄積されたY2サンプル、CR2サンプル、及びCB2サンプルを読み出し、デジタル映像信号に変換して出力する。
【0059】
図10は、実施例2の映像編集装置におけるメモリ110のメモリマップを示す図である。図10において、メモリ110のデータ幅は、40ビットであり、上位20ビットに2サンプルのY1サンプル、その下位10ビットにCR1サンプル、最下位10ビットにCB1サンプルが記録される。
メモリ110は、ローアドレスのビット幅が8ビット、カラムアドレスのビット幅が10ビットである。メモリ110内の1フレーム分のメモリは、231個のブロックに分割される。1個のブロックは1つのローアドレスを占め、カラムアドレスが0から974のフィールドを持つ。図10に示すように、メモリ110は、2つのフレームのメモリ領域を有し、それぞれのメモリ領域をバンク0、バンク1と呼ぶ。
【0060】
前述したように、デジタル映像データは、Yサンプルの1フレームが525ラインあり、1ラインが858サンプルから構成されている。また、CRサンプル及びCBサンプルの1フレームはそれぞれ525ラインあり、1ラインが329サンプルから構成されている。
Yサンプルを変換したY1サンプルとY2サンプル、CRサンプルを変換したCR1サンプルとCR2サンプル、CBサンプルを変換したCB1とCB2サンプルは、それぞれ同様に構成されている。
以下、カラムx、ラインyにおける各サンプルをそれぞれY(x、y)、CR(x、y)、CB(x、y)にて表す。
【0061】
1フレームのデジタル映像データは、ライン方向に11分割、カラム方向に21分割される。図11は、メモリ110における分割されたブロックの配置を示す図である。図11に示すように、分割されたブロックには、左から右へ、さらに上から下へ順次番号を付す。メモリ110には、対応するブロック番号のデジタル映像データが記録される。
図11において、1ブロックは、ライン方向が78個のY1サンプル、39個のCR1、CB1サンプルで構成され、カラム方向が各21個のサンプルで構成される。
以下の説明において、ブロックm(Bm)における1サンプルをP(m、x、y)と表示する。このP(m、y、x)で表示されるサンプルには、二つのY1サンプルとCR1サンプル、CB1サンプルが格納されている。
【0062】
例えば、yが偶数であれば、P(m、y、x)には、Y1(m、y/2+233、{m×39+x}×2)と、Y1(m、y/2+233、{m×39+x}×2+1)と、CR1(m、y/2+233、m×39+x)と、CB1(m、y/2+233、m×39+x)の4つのサンプルが格納される。
また、yが奇数であれば、P(m、y、x)には、Y1(m、y/2、{m×39+x}×2)と、Y1(m、y/2、{m×39+x}×2+1)と、CR1(m、y/2、m×39+x)と、CB1(m、y/2、m×39+x)の4つのサンプルが格納される。
また、m、x、yは、0≦m<231、0≦x<39、0≦y<25である。
【0063】
図12は、メモリ110のブロックmにおける各サンプルの配置を示す図である。ここで、ブロックmはメモリ110のローアドレスmに記録される。
P(m、y、x)を記録するカラムアドレスCは下記式(6)で表される。
【0064】
C=x×39+y (6)
【0065】
なお、カラムアドレス975以降は使用しない。
図13は、YC抽出回路102の構成を示すブロック図である。
図13において、入力されたデジタル映像データはそのままYサンプルとして水平圧縮回路103へ、CRサンプルとして水平圧縮回路104へ、CBサンプルとして水平圧縮回路105へ出力される。また、スタート検出回路101から入力したスタート信号は、YC抽出回路102のカウンタ130に入力される。カウンタ130は2ビットのカウンタであり、スタート信号をトリガ信号としてクロック毎に1ずつカウント数を増加する。
カウンタ130の数値は、YC抽出回路102におけるYイネーブラ131とCRイネーブラ132とCBイネーブラ133とに出力される。
【0066】
図14は、YC抽出回路102へ入力されるデジタル映像データと、各水平圧縮回路103、104、105へ出力される各サンプルと、各イネーブラ131、132、133から出力されるイネーブル信号等の出力タイミングを示す図である。
図14に示すように、Yイネーブラ131は、カウンタが1と3の時に水平圧縮回路103に対してYイネーブル信号を出力する。CRイネーブラ132は、カウンタが2の時に水平圧縮回路104にCRイネーブル信号を出力する。CBイネーブラ133は、カウンタが0の時に水平圧縮回路105にCBイネーブル信号を出力する。
【0067】
図15の(a)、(b)、(c)は、それぞれ水平圧縮回路103、104、105の構成を示すブロック図である。図15の(a)において、水平圧縮回路103は、入力されたYサンプルを有するデジタル映像データとYイネーブル信号から、Yサンプルを抽出して、あらかじめ与えられたパラメータに従ってフィルタ141によりライン方向の圧縮あるいは伸張を行う。フィルタ141において、圧縮あるいは伸張されたY1サンプルは、Yイネーブル信号とともにY組立回路142に出力される。Y組立回路142では、隣り合う2つのY1サンプルを多重し、書き込みYイネーブル信号とともにラインバッファ106に出力する。水平圧縮回路103は、水平ブランキング及び垂直ブランキングのサンプルに関しては入力されたY1サンプルをそのままラインバッファ106に出力する。
【0068】
図15の(b)において、水平圧縮回路104は入力されたCRサンプルを有するデジタル映像データとCRイネーブル信号から、CRサンプルを抽出し、あらかじめ与えられたパラメータに従ってフィルタ143によりライン方向の圧縮あるいは伸張を行う。圧縮あるいは伸張されたCR1サンプルは、書き込みCRイネーブル信号とともにラインバッファ107に出力する。水平圧縮回路104は、水平ブランキング及び垂直ブランキングのサンプルに関しては入力されたCR1サンプルをそのままラインバッファ107に出力する。
【0069】
図15の(c)において、水平圧縮回路105は入力されたCRサンプルを有するデジタル映像データとイネーブル信号から、CBサンプルを抽出し、あらかじめ与えられたパラメータに従ってライン方向の圧縮あるいは伸張を行う。圧縮あるいは伸張されたCB1サンプルは、書き込みCBイネーブル信号とともにラインバッファ108に出力する。水平圧縮回路105は、水平ブランキング及び垂直ブランキングのサンプルに関しては入力されたCBサンプルをそのままラインバッファ108に出力する。
【0070】
図16は、メモリ制御回路111の構成を示すブロック図である。
図16において、カウンタ51は入力されたスタート信号を、各クロック毎にインクリメント(カウントアップ)してカウンタ値を形成するカウンタである。カウンタ51のカウンタ値は、ローアドレスデコーダ52、カラムアドレスデコーダ53、イネーブル制御回路55に出力される。ローアドレスデコーダ52では、メモリ110のローアドレスが生成される。カラムアドレスデコーダ53では、メモリ110のカラムアドレスが生成される。これら生成されたローアドレスとカラムアドレスはアドレス多重回路54で多重化され、メモリ110(図8)のアドレス入力端へ出力される。
イネーブル制御回路55は、入力したカウンタ値から、メモリ110の出力イネーブル信号OE、書き込みイネーブル信号WE、ローアドレスイネーブル信号RAS、カラムアドレスイネーブル信号CAS、及びラインバッファ106、107、108へ読み出しイネーブル信号をそれぞれ生成する。
【0071】
図17は、メモリ110の1ラインの書き込みを示すタイミングチャートである。1ラインのデータは11ブロックにわたって記録される。ここでは、1ブロックの書き込みについて説明する。1ブロック中には同一ラインのサンプルが39個記録されている。この39個のサンプルは同一ローアドレスに配置されるため、バースト書き込みが可能である。
図17において、最初にローアドレスイネーブル信号RASを立ち下げてLにするとともに、最初のローアドレスRA0をメモリ110のアドレスに出力する。その後クロック毎にカラムアドレスイネーブル信号CASをアクティブにするとともに、カラムアドレスCA0、CA1、CA2、・・・、CA38を出力する。その後ローアドレスイネーブル信号RASをディスエーブルにする。カラムアドレスCA38がメモリ110のアドレスに出力された後、カラムアドレスイネーブル信号を立ち上げるとともに、その1クロック前にラインバッファ106、107、108の読み出しイネーブル信号をアクティブにすることにより、データバス109に1ブロック中の同一ラインのデータが出力される。
【0072】
上記の処理を11ブロック分行うことにより1ラインのサンプルのメモリ110への書き込みを行う。この書き込みに要する時間は、27MHzクロックの場合、1ブロックの書き込みが41クロックであり、1ラインの11ブロックでは16.7μsecとなる。
ラインmの書き込みを行う時、n番目のローアドレスRAnは下記式(7)で表される。
【0073】
RAn=m/11+n (7)
【0074】
また、n番目のブロックのp番目のカラムアドレスCAmpは下記式(8)で表される。
【0075】
CAmp=m mod 11 +p (8)
【0076】
図18は、メモリ110の2カラム分のサンプルの読み出しのタイミングチャートである。2カラム分のサンプルは21ブロックにわたって分布している。図18を参照しつつ1ブロックの読み出しについて説明する。1ブロック中には同一カラムのサンプルが25個記録されている。この25個のサンプルは同一ローアドレスに配置されるため、バースト読み出しが可能である。
図18において、最初にローアドレスイネーブル信号RASを立ち下げてLにするとともに、最初のローアドレスRA0をメモリ110のアドレスに出力する。その後クロック毎にカラムアドレスイネーブル信号CASをアクティブにするとともに、カラムアドレスCA0、CA1、CA2、・・・、CA24を出力する。その後ローアドレスイネーブル信号RASをディスエーブルにする。カラムアドレスイネーブル信号CASをアクティブにする毎に、アドレスのデータがメモリ110からデータバス109に出力される。
【0077】
上記の処理を21ブロック分行うことにより、2カラムのサンプルのメモリ110からの読み出しを行う。この読み出しに要する時間は、27MHzの場合、1ブロックの読み出しが27クロックであり、21ブロックでは21μsecとなる。
カラムmの読み出しを行う時、n番目のローアドレスRAnは、下記式(9)で表される。
【0078】
RAn=m / 21 (9)
【0079】
また、n番目のブロックのp番目のカラムアドレスCAmpは下記式(10)で表される。
【0080】
CAmp=m mod 21 + p (10)
【0081】
メモリ制御回路111は、1フレーム期間(33.3ms)に525ラインの書き込みと858カラムの読み出しを行う。この時、1フレーム分のライン書き込みと1フレーム分のカラム読み出しは、異なるバンクに対して行われることによって、同一フレームの読み出し途中での書き換えは生じない。
また、カラムの読み出しの際にあらかじめ与えられた水平オフセットに従い、ローアドレスとカラムアドレスをシフトすることによって、画面全体の水平方向へのシフトを行う。具体的には、カラムmの読み出しを行う際、mにオフセットsを加算してローアドレスRAn及びカラムアドレスCAmpの演算を行うことにより、画面を2mカラムずつシフトすることが可能である。
【0082】
図19は1フレーム期間のメモリ制御信号のタイミングチャートである。まず、1フレームを525分割する。その分割された期間の前半に1ラインの書き込みを行い、後半で2カラムの読み出しを行う。このタイミングはメモリ制御回路111に入力されたスタート信号に従う。
【0083】
図20は、垂直圧縮回路112の詳細の構成を示すブロック図である。図20において、データバス109から入力されたデジタル映像データは、Y1サンプル、CR1サンプル及びCB1サンプルに分割される。Y1サンプルはさらにカラムが偶数番目のサンプルと奇数番目のサンプルに分割される。偶数番目(0を含む)のY1サンプルは圧縮回路161に、奇数番目のY1サンプルは圧縮回路162に、CR1サンプルは圧縮回路163に、CB1サンプルは圧縮回路164にそれぞれ出力される。
垂直圧縮回路112におけるサンプルの分割は、データバス109のビットフィールドの最上位10ビットを圧縮回路161に、その次の10ビットを圧縮回路162に、その次の10ビットを圧縮回路163に、最下位10ビットを圧縮回路164に入力することにより行われる。
【0084】
圧縮回路161は入力されたデータとスタート信号から、あらかじめ与えられたパラメータに従ってカラム方向の圧縮あるいは伸張を行う。圧縮あるいは伸張されたカラムが偶数番目のY2サンプルは、書き込みイネーブル信号とともにカラムバッファ113(図8)に出力する。
圧縮回路162は入力されたデータとスタート信号から、あらかじめ与えられたパラメータに従ってカラム方向の圧縮あるいは伸張を行う。圧縮あるいは伸張されたカラムが奇数番目のY2サンプルは、書き込みイネーブル信号とともにカラムバッファ113に出力する。
圧縮回路163は入力されたデータとスタート信号から、あらかじめ与えられたパラメータに従ってカラム方向の圧縮あるいは伸張を行う。圧縮あるいは伸張されたCR2サンプルは、書き込みイネーブル信号とともにカラムバッファ113に出力する。
圧縮回路164は入力されたデータとスタート信号から、あらかじめ与えられたパラメータに従ってカラム方向の圧縮あるいは伸張を行う。圧縮あるいは伸張されたCB2サンプルは、書き込みイネーブル信号とともにカラムバッファ113に出力する。
【0085】
圧縮回路161、162、163、164が出力した各サンプルは、カラムバッファへの40ビット幅の信号の最上位に圧縮回路161の出力するY2サンプルが、その次の10ビットに圧縮回路162の出力するY2サンプルが、その次の10ビットにCR2サンプルが、最下位10ビットにCB2サンプルが多重されてカラムバッファ113に出力される。
カラムバッファ113では入力された各サンプルを書き込みイネーブル信号に従って一時保持する。
メモリ115のメモリマップは、前述したメモリ110のメモリマップと同一である。
【0086】
図21は、メモリ制御回路116の詳細な構成を示すブロック図である。
図21において、カウンタ171はスタート信号が入力され、各クロック毎にインクリメント(カウントアップ)してカウント値を形成するカウンタである。カウンタ171のカウンタ値は、ローアドレスデコーダ172、カラムアドレスデコーダ173及びイネーブル制御回路175にそれぞれ出力される。ローアドレスデコーダ172では、メモリ115のローアドレスが生成される。カラムアドレスデコーダ173では、メモリ115のカラムアドレスが生成される。これらローアドレスとカラムアドレスはアドレス多重回路174で多重化されメモリ115のアドレス入力端へ出力される。
【0087】
イネーブル制御回路175は、入力したカウンタ値から、メモリ115の出力イネーブル信号OE、書き込みイネーブル信号WE、ローアドレスイネーブル信号RAS、カラムアドレスイネーブル信号CASを生成する。また、イネーブル制御回路175はラインバッファ117、118、119の書き込みイネーブル信号と、カラムバッファ113の読み出しイネーブル信号を生成する。
【0088】
図22は、メモリ115の2カラムの書き込みのタイミングチャートである。2カラムのデータは21ブロックにわたって分布している。ここでは1ブロックの書き込みについて説明する。1ブロック中には同一カラムのサンプルが25個記録される。この25個のサンプルは同一ローアドレスに配置される。
図22において、最初にローアドレスイネーブル信号RASを立ち下げLにするとともに、最初のローアドレスRA0をメモリ115のアドレスに出力する。その後クロック毎にカラムアドレスイネーブル信号CASをアクティブにするとともに、カラムアドレスCA0、CA1、CA2、・・・、CA24を出力する。その後ローアドレスイネーブル信号RASをディスエーブルにする。
また、カラムアドレスイネーブル信号CASをアクティブにする毎にアドレスのデータがデータバス114に出力されるよう、カラムアドレスイネーブル信号CASをアクティブにする1クロック前にカラムバッファ113の読み出しイネーブル信号を出力して、カラムバッファ113からデータが読み出される。
【0089】
以上の処理を21ブロック分行うことにより、2カラムのサンプルをカラムバッファ113から読み出しメモリ115に書き込む。このメモリ115に書き込むために要する時間は、1ブロックの書き込みが27クロックであり、21ブロックでは21μsecである。
カラムmの書き込みを行う時、n番目のローアドレスRAnは下記式(11)で表される。
【0090】
RAn=m / 21 (11)
【0091】
また、n番目のブロックのp番目のカラムアドレスCAmpは下記式(12)で表される。
【0092】
CAmp=m mod 21 + p (12)
【0093】
図23は、メモリ115の1ラインの読み出しのタイミングチャートである。1ラインのデータは11ブロックにわたって記録されている。ここでは、1ブロック分の読み出しについて説明する。1ブロック中には同一ラインのサンプルが39個記録されている。この39個のサンプルは同一ローアドレスに配置される。 図23において、最初にローアドレスイネーブル信号RASを立ち下げてLにするとともに、最初のローアドレスRA0をメモリ115のアドレスに出力する。その後クロック毎にカラムアドレスイネーブル信号CASをアクティブにするとともに、カラムアドレスCA0、CA1、CA2、・・・、CA38を順に出力する。その後、ローアドレスイネーブル信号RASをディスエーブルにする。次に、カラムアドレスイネーブル信号CASをアクティブにしてデータがメモリ115へ出力されるタイミングにあわせてラインバッファ117、118、119の書き込みイネーブル信号をアクティブにする。このように、書き込みイネーブル信号がアクティブになることにより、データバス114に出力される1ブロックのデータはラインバッファ117、118、119へ書き込まれる。
【0094】
上記の処理を11ブロック分行うことにより、1ラインのサンプルをメモリ110から読み出し、ラインバッファ117、118、119への書き込みが行われる。このラインバッファ117、118、119への書き込みに要する時間は、27MHzクロックの場合、1ブロックの書き込みが41クロックであり、11ブロックでは16.7μsecである。
ラインmの読み出しを行う時、n番目のローアドレスRAnは下記式(13)で表される。
【0095】
RAn=m/11+n (13)
【0096】
また、n番目のブロックのp番目のカラムアドレスCAmpは下記式(14)で表される。
【0097】
CAmp=m mod 11 +p (14)
【0098】
メモリ制御回路116は、1フレーム期間(33.3ms)に525ラインの読み出しと858カラムの書き込みを行う。この時、1フレーム分のライン読み出しと1フレーム分のカラム書き込みは、異なるバンクに対して行われることによって、同一フレームの読み出し途中での書き換えを生じさせることがない。
また、ラインの読み出しの際にあらかじめ与えられた垂直オフセットに従い、ローアドレスとカラムアドレスをシフトすることによって、画面全体の縦方向へのシフトを行う。具体的には、ラインmの読み出しを行う際、mにオフセットsを加算してローアドレスRAn及びカラムアドレスCAmpの演算を行うことにより、画面をmラインずつシフトすることが可能である。
【0099】
図24は1フレーム期間のメモリ制御信号のタイミングチャートである。図24において、まず1フレームを525分割する。その分割された期間の前半に1ラインの読み出しを行い、後半で2カラムの書き込みを行う。このタイミングはメモリ制御回路116に入力されたスタート信号に従う。
【0100】
図25はYC組立回路120の詳細を示すブロック図である。図25において、カウンタ181は、入力されたスタート信号によってクロック毎に1インクリメントするカウンタである。イネーブラ182は、カウンタ181のカウント値に従ってラインバッファ117、118、119からY2サンプル、CR2サンプル、CB2サンプルを読み出すイネーブル信号を生成する。
【0101】
輝度変換回路183は、ラインバッファ117の出力するY2サンプルを輝度変換を行いY3サンプルとしてセレクタ186に出力する。色差変換回路184はラインバッファ118の出力するCR2サンプルとラインバッファ119の出力するCB2サンプルに対して色空間の変換を行い、CR3サンプル、CB3サンプルとしてセレクタ186に出力する。
また、ブランキング生成回路185は、デジタル映像データに必要な水平、垂直ブランキングの信号を生成する。
セレクタ186はY3サンプル、CR3サンプル、CB3サンプル及び水平、垂直ブランキング信号をカウンタ181の値によって選択することでデジタル映像信号を組み立てて出力する。
【0102】
以上のように、実施例2の映像編集装置によれば、デジタル映像データの入出力のクロック周波数と同じ27MHzで動作することが可能な画像編集装置を映像品質を十分維持しつつ、特殊な装置を設けることなく構築することができる。
【0103】
【発明の効果】
以上、実施例で詳細に説明したように本発明は以下の効果を有する。
本発明の映像編集方法は、1フレームの画面を複数のサブ画面に分割し、メモリに映像データを蓄積する際に、同一サブ画面に属する映像データをメモリの同一ローアドレスに蓄積する。この映像編集方法によれば通常のクロック周波数の27MHzのメモリを用いて垂直方向及び水平方向に圧縮や伸張などの画像処理を行い、高い品質で映像の編集が実施できる。
また、本発明の映像編集装置によれば、圧縮や伸張等の処理において所望の品質を得られるフィルタを構成でき、メモリのアクセスにおいて、ライン方向あるいはカラム方向のどちらの方向のバーストアクセスも可能であり、デジタル映像データの27MHzに同期したメモリ動作が可能な低コストな映像編集装置を実現することができる。
【図面の簡単の説明】
【図1】本発明に係る実施例1の映像編集装置のブロック図である。
【図2】本発明に係る実施例1における入力信号のフォーマットを示す図である。
【図3】本発明に係る実施例1のメモリのメモリマップである。
【図4】本発明に係る実施例1の画面のブロック配置図である。
【図5】本発明に係る実施例1における分割されたブロックのサンプル配置を示す図である。
【図6】本発明に係る実施例1のサンプルのメモリマップである。
【図7】本発明に係る実施例1のメモリにおけるタイミングチャートである。
【図8】本発明に係る実施例2の映像編集装置のブロック図である。
【図9】本発明に係る実施例2の多重回路121の詳細を示すブロック図である。
【図10】本発明に係る実施例2のメモリ110のメモリマップである。
【図11】本発明に係る実施例2の画面のブロック配置図である。
【図12】本発明に係る実施例2のサンプルのメモリマップである。
【図13】本発明に係る実施例2のYC抽出回路102の詳細を示すブロック図である。
【図14】本発明に係る実施例2におけるYC抽出回路のタイミングチャートである。
【図15】本発明に係る実施例2の水平圧縮回路103の詳細を示すブロック図である。
【図16】本発明に係る実施例2のメモリ制御回路111の詳細を示すブロック図である。
【図17】本発明に係る実施例2のメモリ110におけるライン書き込みのタイミングチャートである。
【図18】本発明に係る実施例2のメモリ110におけるカラム読み出しのタイミングチャートである。
【図19】本発明に係る実施例2のデータバス109におけるタイミングチャートである。
【図20】本発明に係る実施例2の垂直圧縮回路112の詳細を示すブロック図である。
【図21】本発明に係る実施例2のメモリ制御回路116の詳細を示すブロック図である。
【図22】本発明に係る実施例2のメモリ115におけるカラム書き込みのタイミングチャートである。
【図23】本発明に係る実施例2のメモリ115におけるライン読み出しのタイミングチャートである。
【図24】本発明に係る実施例2のデータバス114におけるタイミングチャートである。
【図25】本発明に係る実施例2のYC組立回路120の詳細を示すブロック図である。
【図26】従来の映像編集装置の構成を示すブロック図である。
【図27】メモリを用いた従来の映像編集装置の構成を示すブロック図である。
【図28】メモリを用いた従来の映像編集装置のメモリのメモリマップである。
【符号の説明】
1、102 YC抽出回路
2、3、4、8、9、10 メモリ
5、6、7 編集回路
11 アドレス制御回路
12、120 YC組立回路
51、130、171、181 カウンタ
52、172 ローアドレスデコーダ
53、173 カラムアドレスデコーダ
54、174 アドレス多重回路
55、175 イネーブル制御回路
101 スタート検出回路
103、104、105 水平圧縮回路
106、107、108、117、118、119 ラインバッファ
109、114 データバス
110、115 メモリ
111、116 メモリ制御回路
112 垂直圧縮回路
113 カラムバッファ
121 多重回路
130 カウンタ
131 Yイネーブラ
132 CRイネーブラ
133 CBイネーブラ
141、143、144 フィルタ
142 Y組立回路
161、162、163、164 圧縮回路
182 イネーブラ
183 輝度変換回路
184 色差変換回路
185 ブランキング生成回路
186 セレクタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a video editing apparatus and method for editing digital video data, and more particularly to a video editing apparatus and method suitable for non-linear editing in which a plurality of material data is edited on a computer.
[0002]
[Prior art]
In recent years, video editing apparatuses have been developed that perform image processing such as enlargement or reduction of video data and edit the image data. In such a video editing apparatus, a video signal is converted into digital video data, and image processing such as filtering is performed on the digital video data to perform editing such as enlargement or reduction.
[0003]
A conventional video editing apparatus will be described below with reference to FIG. FIG. 26 is a block diagram showing a configuration of a conventional video editing apparatus. In FIG. 26, digital video data input to the video editing device is converted into a luminance signal sample (hereinafter referred to as Y sample) and two color difference signal samples (hereinafter referred to as CR sample and CB sample) in the YC extraction circuit 202. Disassembled. The decomposed Y samples are sequentially delayed by one line in the two line buffers 203 and 203, respectively. The original Y sample, the Y sample delayed by one line, and the Y sample delayed by two lines are input to the vertical filter 204 and subjected to processing such as compression and decompression in the vertical direction.
[0004]
Similarly, processing such as compression and expansion in the vertical direction is also performed on the CR sample and the CB sample by the two line buffers 203 and 203 and the vertical filter 204, respectively.
The Y samples, CR samples, and CB samples output from the vertical filter 204 are input to the horizontal filters 205, and are each subjected to horizontal compression and expansion processing. The output from each horizontal filter 205 is input to the YC assembly circuit 206, and is assembled into a digital video signal and output.
[0005]
In a conventional video editing apparatus, digital video data is transmitted in line units. For this reason, in a conventional video editing apparatus, processing in units of lines, for example, horizontal shift, compression, or expansion processing can be realized. However, since the conventional video editing apparatus has a small number of taps of the vertical filter 204 in the vertical direction, it has not been possible to maintain sufficient video quality with respect to compression or expansion in the vertical direction.
In addition, it is possible to increase the number of taps of the vertical filter by increasing the number of stages of the line buffer and improve the image quality. However, in this case, the scale of the line filter increases and the manufacturing cost increases. There was a problem that became high. In this conventional video editing apparatus, only the compression and expansion processes are performed in the vertical direction, and in order to perform processing such as image shift, it is necessary to additionally connect a device for performing the processing. was there.
[0006]
Next, a conventional video editing apparatus having a configuration different from the above will be described with reference to FIG. FIG. 27 is a block diagram showing a conventional video editing apparatus using an image memory. In FIG. 27, the digital video data input to this video editing apparatus is temporarily stored in a memory 220 composed of a dynamic ram. The editing circuit 221 includes image processing circuits such as a vertical filter, a horizontal filter, a vertical shifter, and a horizontal shifter, and instructs the address control circuit 223 to read a sample of digital video data stored in the memory 220. It is configured to
For example, when the editing circuit 221 performs horizontal processing, the editing circuit 221 instructs the address control circuit 223 to read each sample stored in the memory 220 in the horizontal direction. Upon receiving the instruction, the address control circuit 223 controls the address of the memory 220 so as to read the accumulated samples in the horizontal direction. The editing circuit 221 performs processing such as filtering on the sample output from the memory 220 and writes it again in the memory 220. At this time, each sample is stored in the memory 220 in the order of the input digital video data.
[0007]
A general dynamic ram has a two-dimensional structure in which memory cells are composed of rows and columns. Access to the same row address is fast, but access to different column addresses is slow.
FIG. 28 shows an example in which digital video data is mapped to the memory 220. In FIG. 28, the digital video data in this example has video data of 480 lines and 720 columns. One line sample is mapped to one row address.
In this case, reading or writing of one line can be performed continuously. That is, 720 samples can be read out in 722 clocks including overhead reading. Here, it is assumed that overhead reading can be performed by precharge and row address designation in one clock.
[0008]
In order to perform vertical processing on the memory 220 described above, if samples in the same column are continuously read, the row addresses of the samples in the respective lines are all different, so that continuous reading may be performed. could not. To read one sample, 3 clocks including overhead are required. Therefore, in order to read all the samples for one frame (480 lines, 720 columns) from the memory 220 and further write them, the number of clocks shown in the following formula (1) is required.
[0009]
720 × 480 × 3 = 1036800 (clock) (1)
[0010]
Since it is necessary to read out 30 frames per second for moving image digital video data, a memory clock of 30 MHz or higher is required. Processing of digital video data in a conventional image editing apparatus is a normal digital process. The video signal input / output clock of 27 MHz could not be supported. As a result, in order to edit such a video, a high-speed memory and a clock rate conversion circuit are required, and there is a problem that the configuration of the apparatus becomes large and the apparatus becomes expensive.
[0011]
[Problems to be solved by the invention]
As described above, in the conventional video editing apparatus shown in FIG. 26, there is a problem that the image quality at the time of compression and expansion in the vertical direction is low. In order to improve the quality of this image, many line buffers are used. Is necessary, and the scale becomes large and the manufacturing cost becomes high.
Further, the conventional video editing apparatus shown in FIG. 27 that performs editing using an image memory has a problem that access to the memory is slow and a high-speed memory is required to edit a moving image.
An object of the present invention is to provide a video editing apparatus and a video editing method capable of improving the quality of an image during vertical compression and expansion using a normal image memory without increasing the scale of the apparatus. It is in.
[0012]
[Means for Solving the Problems]
The video editing method according to the present invention is a video editing method for editing digital video data,
Dividing a frame of digital video data into a plurality of sub-screens;
Dividing a memory address into a row address that is an upper address and a column address that is a lower address, and storing digital video data of the same sub-screen in the one frame at the same row address of the memory;
Accessing the digital video data in the memory using the row address and the column address;
According to the above video editing method, it is possible to write or read high-definition mode digital video data using a memory having a normal number of clocks.
[0014]
Furthermore, the video editing method according to another aspect of the present invention is divided into a luminance signal sample and two color difference signal samples for each sample of digital video data, multiplexed for each line, and described as a luminance signal stream (hereinafter referred to as a Y stream). ) And two color difference signal streams (referred to as CR stream and CB stream), respectively,
A first editing step of forming a Y1 stream composed of Y1 samples obtained by editing the Y stream for each line;
A second editing step of forming a CR1 stream composed of CR1 samples obtained by editing the CR stream for each line;
A third editing step of forming a CB1 stream composed of CB1 samples obtained by editing the CB stream for each line;
A first accumulation step of accumulating the Y1 stream, the CR1 stream, and the CB1 stream in a memory;
A fourth editing step of editing the Y1 ′ stream composed of Y1 samples of the same column address output in the first accumulation step for each column address to form a Y2 stream composed of Y2 samples;
A fifth editing step of editing a CR1 ′ stream composed of CR1 samples of the same column address output in the first accumulation step for each column address to form a CR2 stream composed of CR2 samples;
A sixth editing step of editing the CB1 ′ stream composed of CB1 samples of the same column address output in the first accumulation step for each column address to form a CB2 stream composed of CB2 samples;
A second accumulation step of accumulating the Y2 stream, the CR2 stream, and the CB2 stream in a memory; and
The Y2 ′ stream composed of Y2 samples of the same line output in the second accumulation step, the CR2 ′ stream composed of CR2 samples, and the CB2 ′ stream composed of CB2 samples are inputted, An assembly step of multiplexing and outputting the Y2 sample, the CR2 sample, and the CB2 sample;
According to the video editing method described above, high-definition mode image data can be written and read using a memory with a normal number of clocks. As a result, the image data during vertical compression and expansion can be read and written. A video editing apparatus using a high-quality image memory can be realized using a normal memory.
[0015]
A video editing apparatus according to the present invention is a video editing apparatus for editing digital video data,
A dividing circuit for dividing one frame of digital video data into a plurality of sub-screens;
A memory circuit that divides the memory address into a row address that is an upper address and a column address that is a lower address, and stores digital video data of the same sub-screen in the one frame at the same row address of the memory;
The storage circuit is configured to access the digital video data in the memory using the row address and the column address.
According to the video editing apparatus having the above configuration, it is possible to write or read digital video data of a high-definition mode moving image using a memory having a normal number of clocks.
[0017]
Furthermore, a video editing apparatus according to another aspect of the invention is divided into a luminance signal sample and two color difference signal samples for each sample of digital video data, multiplexed for each line, and referred to as a luminance signal stream (hereinafter referred to as a Y stream). ) And two color difference signal streams (referred to as CR stream and CB stream), respectively,
A first editing circuit for forming a Y1 stream composed of Y1 samples obtained by editing the Y stream for each line;
A second editing circuit for forming a CR1 stream composed of CR1 samples obtained by editing the CR stream for each line;
A third editing circuit for forming a CB1 stream composed of CB1 samples obtained by editing the CB stream for each line;
A first storage circuit for storing the Y1 stream, the CR1 stream, and the CB1 stream in a memory;
A fourth editing circuit for editing a Y1 ′ stream composed of Y1 samples of the same column address output from the first storage circuit for each column address, and forming a Y2 stream composed of Y2 samples;
A fifth editing circuit that edits a CR1 ′ stream composed of CR1 samples of the same column address output from the first storage circuit for each column address to form a CR2 stream composed of CR2 samples;
A sixth editing circuit for editing a CB1 ′ stream composed of CB1 samples of the same column address output from the first storage circuit for each column address, and forming a CB2 stream composed of CB2 samples;
A second storage circuit for storing the Y2 stream, the CR2 stream, and the CB2 stream in a memory; and
The Y2 ′ stream composed of Y2 samples of the same line output from the second storage circuit, the CR2 ′ stream composed of CR2 samples, and the CB2 ′ stream composed of CB2 samples are input, and the sample is An assembly circuit for multiplexing and outputting the Y2 sample, the CR2 sample, and the CB2 sample is provided.
According to the video editing apparatus, high-definition mode image data can be written or read using a memory having a normal number of clocks. As a result, an inexpensive video editing apparatus using a normal image memory with high image quality at the time of compression or expansion in the vertical direction can be realized.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of a video editing apparatus according to the present invention will be described with reference to the accompanying drawings.
[0019]
Example 1
A video editing apparatus according to a first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram illustrating the configuration of the video editing apparatus according to the first embodiment.
In the first embodiment, it is assumed that the format of digital video data input from the outside is defined in SMPTE 125M. SMPTE 125M is a format for transmitting digital video data in accordance with CCIR Recommendation 601.
[0020]
FIG. 2 is a diagram showing the configuration of SMPTE 125M digital video data.
As shown in FIG. 2, one frame image in this format is composed of two fields 21 and 22. The luminance signal of the field 21 (hereinafter referred to as Y sample) is scanned with 232 lines, and each line is sampled into 858 pixel pixels. Similarly, the two color difference signals (referred to as CR sample and CB sample) in the field 21 are scanned with 232 lines, and each line is sampled into a pixel of 429 pixels.
[0021]
Similar to field 21, the Y sample in field 22 is scanned with 233 lines, and each line is sampled into 858 pixel pixels. Similarly, the CR sample and CB sample in the field 22 are scanned by 233 lines, and each line is sampled to 429 pixels.
One frame of digital video data is sequentially transmitted in field order and line order. Each sample of one line is transmitted in the order of CB sample, Y sample, CR sample, and Y sample. Each sample in one line is divided into an effective pixel and a sample in the horizontal blanking. A SAV signal (Start of Active Video Signal) is arranged immediately before the first effective pixel in one line, and an EAV signal (End of Active video Signal) is arranged immediately after the last effective pixel sample.
[0022]
In FIG. 1, a YC extraction circuit 1 divides input digital video data into Y samples, CR samples, and CB samples, outputs Y samples of effective pixels to the memory 2, and outputs CR samples of effective pixels to the memory 3. And the CB sample of the effective pixel is output to the memory 4. At this time, the YC extraction circuit 1 outputs each sample to each of the memories 2, 3 and 4 while maintaining the order of the samples in the input digital video data.
[0023]
FIG. 3 is a diagram illustrating a memory map of the memory 2 in the video editing apparatus according to the first embodiment. Here, the memory 2 is configured by a so-called dynamic ram which inputs an address divided into a row address which is an upper address and a column address which is a lower address. The column address space has 10 bits and the row address space has 10 bits.
In FIG. 3, it is assumed that 900 pieces of data from column addresses 0 to 899 of row address 0 are block 0 (B000). Hereinafter, 900 pieces of data from column addresses 0 to 899 from row address 1 to row address 383 are referred to as block 1 (B001) to block 383 (B383). These block 0 to block 383 are defined as bank 0.
Similarly, 900 pieces of data from column addresses 0 to 899 of the next row address 512 are defined as block 0 (B000). Hereinafter, 900 pieces of data from column addresses 0 to 899 from row address 513 to row address 895 are referred to as block 1 (B001) to block 383 (B383). The block 0 to the block 383 from the row address 512 are set as the bank 1.
[0024]
FIG. 4 is a diagram illustrating a division state of effective pixels of one frame of digital video data in the YC extraction circuit 1 of the video editing apparatus according to the first embodiment. The YC extraction circuit 1 of Example 1 divides 720 samples, which are 720 pixels of one line of effective pixels, into 24 blocks, and 480 samples, which are 480 lines of effective lines, into 16 blocks.
As shown in FIG. 4, numbers are assigned to the divided blocks in order from left to right and further from top to bottom in the figure. In FIG. 4, the upper left block is block 0 (B000), the upper right block is block 23 (B023), the lower left block is block 360 (B360), and the lower right block is block 383 (B383). The Y samples of each block on the screen divided in this way are stored in the corresponding block in the memory 2.
[0025]
FIG. 5 is a diagram illustrating a configuration of one divided block. (1) in FIG. 5 shows one block, and (2) in FIG. 5 shows the configuration of one block. As shown in FIG. 5, one divided block is composed of 900 samples (30 samples × 30 lines), and a number is assigned to each sample P.
As shown in FIG. 5, one block is composed of 30 vertical lines and 30 horizontal samples. For example, a sample P (m, y, x) indicates a line x and a sample y of the block m. Here, the line x is a line number counted from the top in the block, and the sample y is a sample number counted from the left in the block.
[0026]
FIG. 6 is a diagram showing a memory map in the memory 2 in the video editing apparatus according to the first embodiment of each sample of the divided block m (Bm) shown in FIG. As shown in FIG. 6, all the samples of the divided block m are mapped to the row address m of the memory 2.
Column addresses 0 to 899 are used, 0 is assigned to the upper left sample of the screen, samples are assigned sequentially in the horizontal direction, one line is assigned, and then one line is sequentially assigned to the lower line.
In the memory 3 for storing the CR samples and the memory 4 for storing the CB samples, the respective memory mapping is performed in the same manner. However, since the CR sample and the CB sample are 360 samples in which the number of samples in one line is half that of the Y sample, the number of blocks in the horizontal direction of the screen is 12 respectively.
[0027]
The digital video data of Y sample is read from the memory 2 and input to the editing circuit 5. The editing circuit 5 performs image processing such as filtering and shifting on the input data sequence of Y samples and outputs the result to the memory 8.
At this time, if the editing performed in the editing circuit 5 is processing for the line, for example, compression or expansion in the horizontal direction of the screen, the address control circuit 11 sequentially outputs the addresses of the Y samples of each line to the memory 2 and simultaneously outputs them. Activate the enable signal.
As a result, the memory 2 outputs Y samples for each line. The editing circuit 5 performs image processing such as compression, expansion or shift on the Y samples for each line output from the memory 2, and outputs them to the memory 8.
The address control circuit 11 controls the address of the memory 8 and the write enable signal so that the edited Y sample output from the editing circuit 5 is recorded in the memory 8.
[0028]
If the editing performed in the editing circuit 5 is a process for a column of the screen, for example, compression or expansion in the vertical direction of the screen, the address control circuit 11 sequentially outputs the address of the Y sample of each column on the screen to the memory 2, At the same time, the output enable signal is activated.
As a result, the memory 2 sequentially outputs Y samples for each column. The editing circuit 5 performs image processing such as compression, expansion, or shift on the Y samples for each column output from the memory 2 and outputs the result to the memory 8. The address control circuit 11 controls the address of the memory 8 and the write enable signal so that the edited Y sample output from the editing circuit 5 is recorded in the memory 8.
[0029]
If the editing performed in the editing circuit 5 is a screen shift process, the address control circuit 11 starts the address reading start position of each Y sample on the screen from the screen position to be shifted. The editing circuit 5 generates data at a screen position where no Y sample exists, and outputs it to the memory 8 together with the shifted Y sample.
If the editing performed by the editing circuit 5 is screen rotation, the address control circuit 11 controls the address of the memory 2 so as to read the Y sample according to the rotation angle given from the memory 2. The editing circuit 5 performs processing such as filtering on the input Y sample and outputs it to the memory 8.
Note that these Y sample compression, expansion, shift, and rotation processes can be combined.
[0030]
Similarly, the address control circuit 11 controls the address of the memory 3 and the read enable signal for the CR samples stored in the memory 3. The editing circuit 6 reads the CR sample from the memory 3 and edits it in the editing circuit 6. Further, the address control circuit 11 controls the address of the memory 9 and the write enable signal, so that the CR sample edited in the editing circuit 6 is written in the memory 9 and edited such as compression, expansion, shift, rotation and the like of the CR sample. Processing is performed.
Similarly, the address control circuit 11 controls the address of the memory 4 and the read enable signal with respect to the CB samples stored in the memory 4. The editing circuit 7 reads the CB sample from the memory 4 and edits it in the editing circuit 7. Further, the address control circuit 11 controls the address of the memory 10 and the write enable signal so that the CB sample edited in the editing circuit 7 is written in the memory 10, thereby editing the CB sample such as compression, expansion, shift, and rotation. Processing is performed.
[0031]
The address control circuit 11 reads out the sample from each of the memories 8, 9, 10 by controlling the address and read enable signal of each of the memories 8, 9, 10 and outputs the sample to the YC assembly circuit 12. The YC assembly circuit 12 assembles each input sample into a digital video signal and outputs it.
As described above, according to the video editing apparatus of the first embodiment, it is possible to edit input digital video data and output it as a digital video signal.
[0032]
In the SMPTE 125M format, one frame of data consists of 525 lines of data, and one line of data consists of 858 samples. However, since the sampling frequency of the CR sample and the CB sample is half that of the Y sample, the total amount of data in one frame is 900,900 samples.
Therefore, the memories 2, 3, 4, 8, 9, and 10 in the video editing apparatus according to the first embodiment need to write and read data of at least 900900 samples in one frame period (33.37 ms). Since each data is transmitted with a 27 MHz data clock, it is required from the point of synchronization that the entire system is operated at 27 MHz.
[0033]
Data writing to the memory 2 is performed by dividing into 24 blocks per line. One block includes 30 samples, and writing one block takes 32 clocks.
FIG. 7 is a timing chart of data writing to the memory 2 of Y samples in the video editing apparatus according to the first embodiment. In FIG. 7, writing of data on line 0 is performed by being divided into 24 blocks, and one block includes 30 samples.
Hereinafter, writing of the Y sample to the memory 2 will be described. As shown in FIG. 7, the row address enable signal (hereinafter referred to as “Row Address Enable Signal: RAS”) of the memory 2 is first lowered to L. At the timing when RAS is set to L, the row address 21 is output to the address. The address 0 in FIG. 7 is a row address in which the block 0 is recorded.
[0034]
After that, the column address enable signal (hereinafter referred to as “Column Address Enable Signal: CAS”) is lowered to L every clock. The addresses 0 to 29 of the column address 22 are sequentially output at the timing when CAS is set to L. 0 to 29 in the address are column addresses for recording the first 30 samples. At the timing when the column address is input to the address, the Y sample is input to the memory 2 and recorded. Since RAS is raised to H after inputting the Y sample at address 29, which is the last CAS, 32 clocks are required to write 30 samples in one block. Since one line has 24 blocks, 768 clocks are required to write one line of Y samples. Since one frame consists of 480 lines, 368640 clocks are required to write one frame.
[0035]
Next, considering the writing of the line m in the writing of the Y sample in the memory 2 as described above, the row address RAn inputted in the nth is expressed by the following formula (2).
[0036]
RAn = m / 30 + n (2)
[0037]
Hereinafter, “/” indicates integer division (rounded down after the decimal point). Further, the column address CAmp input to the p-th write of the n-th block of the write of the line m is expressed by the following formula (3).
[0038]
CAmp = m mod 30 × 30 + p (3)
[0039]
In the formula (3), m mod 30 indicates a remainder obtained by dividing m by 30 and also has the same meaning in the following formula.
Next, the timing when the Y samples stored in the memory 2 are read in the vertical direction for each column will be described.
Reading of column 0 is performed for each line divided into 16 blocks. One block contains 30 samples.
First, the RAS of the memory 2 is lowered to L. At the timing when RAS is set to L, the row address 21 is output to the address. The address 0 in FIG. 7 indicates a row address from which the block 0 is read. Thereafter, CAS is lowered every clock and set to L. At that timing, the column address 22 is output as the address. After setting CAS to L, the data at the corresponding address is output from the memory 2. Finally, 32 clocks are required to read 30 samples in order to raise RAS to H. Since one line has 16 blocks, 512 clocks are required to read one line. Since one frame is composed of 720 columns, 368640 clocks are required to read one frame.
[0040]
Next, considering the reading of the column m in the reading of the Y samples from the memory 2 as described above, the row address RAn input at the nth is expressed by the following equation (4).
[0041]
RAn = m mod 30 + n × 30 (4)
[0042]
The column address CAmp to be input to the pth of the nth block read of the column m read is expressed by the following equation (5).
[0043]
CAmp = m mod 30 + p × 30 (5)
[0044]
As described above, in the video editing apparatus according to the first embodiment, 737280 clocks are required to write and read one frame. Since the number of clocks is smaller than the number of clocks 900900 in one frame period of the system operated with the data clock of 27 MHz, the video editing apparatus according to the first embodiment is established as a system.
Next, horizontal reading for each line will be described. The horizontal reading for each line is performed at the same timing as the writing for each line. In this read operation, the sample is read from the memory 2 instead of the operation of writing the sample in the above-described write operation into the memory 2. At this time, the address output to the memory 2 follows the above-described equations (2) and (3) as in the case of writing.
Since the required number of clocks at this time is 368640 clocks as in the case of writing, writing and reading can be performed sufficiently within one frame period even if the horizontal reading is performed for each line.
[0045]
As for the memory 8, the editing circuit 5 may write for each line or write for each column, both of which have the same timing as when reading for each line and writing for each column related to the memory 2. Further, when the data is output from the memory 8 to the YC assembly circuit 12, the data is read for each line. Therefore, the memory 8 can also operate at a clock frequency of 27 MHz.
The memory 3, the editing circuit 6, the memory 9 for processing the CR samples, and the memory 4, the editing circuit 7, and the memory 10 for processing the CB samples are 360 samples in which the number of samples in the line direction is half that of the memory 2. Others are processed in the same manner as the memory 2, the editing circuit 5, and the memory 8 described above.
[0046]
The YC assembly circuit 12 outputs the input Y sample, CR sample, and CB sample as digital video data. At that time, necessary horizontal blanking and vertical blanking signals are generated, the signals are synchronized, and output at the timing shown in FIG.
As described above, according to the video editing apparatus of the first embodiment, it is possible to construct an image editing apparatus capable of operating at 27 MHz, which is the same as the clock frequency of input / output of digital video data to the memory.
[0047]
Example 2
A video editing apparatus according to a second embodiment of the present invention will be described below with reference to FIGS. FIG. 8 is a block diagram illustrating the configuration of the video editing apparatus according to the second embodiment.
In FIG. 8, the video editing apparatus according to the second embodiment includes a start detection circuit 101 that generates a start signal from input digital video data, and divides the digital video data into Y samples, CR samples, and CB samples according to the start signal. A YC extraction circuit 102 that divides one frame of digital video data into 11 parts in the line direction and 21 parts in the column direction is provided. In this way, the YC extraction circuit 102 divides into a luminance signal stream (hereinafter referred to as Y stream) and two color difference signal streams (referred to as CR stream and CB stream). The Y stream is composed of a plurality of Y samples in the line direction. Similarly, each CR stream and CB stream is composed of a plurality of CR samples and a plurality of CB samples on the line, respectively.
The YC extraction circuit 102 is connected to horizontal compression circuits 103, 104, and 105 that perform horizontal image processing of each divided sample. Each horizontal compression circuit 103, 104, 105 is connected to a line buffer 106, 107, 108. The line buffers 106, 107, and 108 are connected to a multiplexing circuit 121 that multiplexes each sample. The multiplexing circuit 121 is connected to the memory 110 via the data bus 109.
[0048]
Input / output of the memory 110 is controlled by the memory control circuit 111. The memory 110 is connected via a data bus 109 to a vertical compression circuit 112 that performs vertical image processing. The vertical compression circuit 112 is connected to the column buffer 113. The column buffer 113 is connected to the memory 115 via the data bus 114. Input / output of the memory 115 is controlled by the memory control circuit 116. The memory 115 is connected to the line buffers 117, 118, and 119 via the data bus 114. Line buffers 117, 118, and 119 are connected to the YC assembly circuit 120.
[0049]
The operation of the video editing apparatus according to the second embodiment will be described below with reference to FIGS. In the second embodiment, the bit width of one sample of the digital video data input to the start detection circuit 101 and the YC extraction circuit 102 is 10 bits.
The start detection circuit 101 generates a start signal such as a frame head signal and a line head signal from the digital video data, and generates the start signal as a YC extraction circuit 102, a memory control circuit 111, a vertical compression circuit 112, a memory control circuit 116, and the like. Output to the YC assembly circuit 120.
The YC extraction circuit 102 divides the input digital video data into Y samples, CR samples, and CB samples according to the input start signal, and outputs each sample to the horizontal compression circuits 103, 104, and 105. At this time, the YC extraction circuit 102 simultaneously outputs a write enable signal for each sample.
[0050]
The horizontal compression circuit 103 performs image processing such as horizontal compression and expansion from the input Y sample, converts it to Y1 sample, and outputs this Y1 sample to the line buffer 106. The horizontal compression circuit 103 outputs a sample that is not a pixel sample in Y samples, that is, a Y sample during vertical blanking and horizontal blanking, to the line buffer 106 as it is. At this time, the horizontal compression circuit 103 outputs a write enable signal to the line buffer 106 in accordance with the output of the Y1 sample. The Y1 sample output to the line buffer 106 outputs two adjacent samples simultaneously. Therefore, the line buffer 106 has a data width of 20 bits, and among the two adjacent samples, the left Y1 sample is stored in the upper 10 bits on the screen, and the right Y1 sample is stored in the lower 10 bits. .
[0051]
The horizontal compression circuit 104 for CR samples, like the horizontal compression circuit 103 for Y samples, performs image processing such as horizontal compression and expansion of the input CR samples and converts them into CR1 samples. And output to the line buffer 107 together with the write enable signal.
The horizontal compression circuit 105 for CB samples performs image processing such as horizontal compression and expansion of the input CB samples, converts them into CB1 samples, and outputs them to the line buffer 108 together with a write enable signal.
[0052]
The line buffer 106 for Y samples temporarily holds the input Y1 sample according to the input write Y enable signal.
Similarly, the line buffers 107 and 108 temporarily hold the CR1 sample and CB1 sample respectively input according to the input write CR enable signal and write CB enable signal.
The line buffers 106, 107, and 108 output the Y1 sample, CR1 sample, and CB1 sample held in accordance with the read enable signal output from the memory control circuit 111 to the multiplexing circuit 121. The multiplexing circuit 121 multiplexes each input sample and outputs it to the data bus 109.
[0053]
FIG. 9 is a block diagram illustrating the multiplexing circuit 121 according to the second embodiment. In this multiplexing circuit 121, the Y1 sample is stored in the upper 20 bits, the CR1 sample is stored in the next 10 bits, and the CB1 sample is stored in the lower 10 bits. The sample stored as described above is output to the data bus 109.
The multiplexed samples output to the data bus 109 are stored in the memory 110. Further, samples multiplexed in order in the column direction are read from the memory 110 by the read enable signal output from the memory control circuit 111 and output to the vertical compression circuit 112.
[0054]
The memory 110 has a capacity for storing samples for at least two frames, and the memory area for the first frame in the memory area for two frames is bank 0, and the memory area for the next one frame is bank 1. The bit width in the memory 110 is 40 bits. The memory control circuit 111 controls the read enable signal of the line buffers 106, 107, and 108, and the address and control signal of the memory 110. Thus, by controlling each signal by the memory control circuit 111, a sample for one frame is read from the line buffers 106, 107, and 108 in one frame period and recorded in the memory 110. The frame data is read from the memory 110 and output to the vertical compression circuit 112. The signal generation timing of the memory control circuit 111 follows the start signal output from the start detection circuit 101.
[0055]
Samples are input to the vertical compression circuit 112 in the order in the column direction. The vertical compression circuit 112 compresses or expands each column and outputs the compressed or expanded sample to the column buffer 133. However, the vertical compression circuit 112 outputs the samples in vertical blanking and horizontal blanking to the column buffer 113 as they are. The vertical compression circuit 112 outputs a sample and outputs a write enable signal to the column buffer 113.
These compression and decompression timings operate based on the start signal input from the start detection circuit 101.
[0056]
The column buffer 113 buffers the input sample when the write enable signal is active. The column buffer 113 outputs the buffered sample to the data bus 114 when the read enable signal is input from the memory control circuit 116. The Y1 sample compressed or expanded by the vertical compression circuit 112 is defined as Y2 sample, the CR1 sample as CR2 sample, and the CB1 sample as CB2 sample.
[0057]
Samples output to the data bus 114 are recorded in the memory 115. Next, samples are sequentially read from the memory 115 in the line direction, and output to the line buffers 117, 118, and 119.
The memory 115 has a sample capacity for at least two frames, and the first one frame in the memory area for two frames is bank 0, and the next one frame is bank 1. The bit width in the memory 115 is 40 bits.
The memory control circuit 116 controls the read enable signal of the column buffer 113, the address and control signal of the memory 110, and the write enable signal of the line buffers 117, 118, and 119. As described above, the memory control circuit 116 controls each signal, so that one frame sample is read from the column buffer 113 in one frame period and recorded in the memory 115, and one frame of data is recorded in the same one frame period. Are read from the memory 115 and output to the line buffers 117, 118, and 119. The signal generation timing of the memory control circuit 111 follows the start signal output from the start detection circuit 101.
[0058]
The line buffer 117 buffers the input Y2 sample according to the write enable signal of the memory control circuit 116. The line buffer 117 outputs Y2 samples buffered according to the read enable signal of the YC assembly circuit 120.
Further, the line buffer 118 buffers the CR2 sample input according to the write enable signal of the memory control circuit 116. The line buffer 118 outputs the CR2 sample held in accordance with the read enable signal from the YC assembly circuit 122.
The line buffer 119 buffers the CB2 sample input according to the write enable signal of the memory control circuit 116. The line buffer 119 outputs the CB2 sample held in accordance with the read enable signal of the YC assembly circuit 122.
The YC assembly circuit 120 reads out Y2 samples, CR2 samples, and CB2 samples stored in the line buffers 117, 118, and 119, respectively, converts them into digital video signals, and outputs them.
[0059]
FIG. 10 is a diagram illustrating a memory map of the memory 110 in the video editing apparatus according to the second embodiment. In FIG. 10, the data width of the memory 110 is 40 bits. Two Y1 samples are recorded in the upper 20 bits, the CR1 sample is recorded in the lower 10 bits, and the CB1 sample is recorded in the lowest 10 bits.
The memory 110 has a row address bit width of 8 bits and a column address bit width of 10 bits. The memory for one frame in the memory 110 is divided into 231 blocks. One block occupies one row address and has a column address from 0 to 974. As shown in FIG. 10, the memory 110 has memory areas of two frames, and the memory areas are called bank 0 and bank 1, respectively.
[0060]
As described above, in the digital video data, one frame of Y samples has 525 lines, and one line is composed of 858 samples. Each frame of the CR sample and the CB sample has 525 lines, and one line is composed of 329 samples.
The Y1 sample and Y2 sample converted from the Y sample, the CR1 sample and CR2 sample converted from the CR sample, and the CB1 and CB2 sample converted from the CB sample are configured in the same manner.
Hereinafter, each sample in the column x and the line y is represented by Y (x, y), CR (x, y), and CB (x, y), respectively.
[0061]
One frame of digital video data is divided into 11 parts in the line direction and 21 parts in the column direction. FIG. 11 is a diagram illustrating an arrangement of divided blocks in the memory 110. As shown in FIG. 11, the divided blocks are sequentially numbered from left to right and further from top to bottom. In the memory 110, digital video data having a corresponding block number is recorded.
In FIG. 11, one block is composed of 78 Y1 samples, 39 CR1 and CB1 samples in the line direction, and 21 samples in the column direction.
In the following description, one sample in the block m (Bm) is represented as P (m, x, y). In the sample indicated by P (m, y, x), two Y1 samples, CR1 sample, and CB1 sample are stored.
[0062]
For example, if y is an even number, P1 (m, y / 2 + 233, {m × 39 + x} × 2) and Y1 (m, y / 2 + 233, {m × 39 + x) are included in P (m, y, x). } × 2 + 1), CR1 (m, y / 2 + 233, m × 39 + x), and CB1 (m, y / 2 + 233, m × 39 + x) are stored.
If y is an odd number, P (m, y, x) includes Y1 (m, y / 2, {m × 39 + x} × 2) and Y1 (m, y / 2, {m × 39 + x). } × 2 + 1), CR1 (m, y / 2, m × 39 + x), and CB1 (m, y / 2, m × 39 + x) are stored.
M, x, and y are 0 ≦ m <231, 0 ≦ x <39, and 0 ≦ y <25.
[0063]
FIG. 12 is a diagram illustrating an arrangement of each sample in the block m of the memory 110. Here, the block m is recorded at the row address m of the memory 110.
The column address C for recording P (m, y, x) is expressed by the following formula (6).
[0064]
C = x × 39 + y (6)
[0065]
The column address 975 and later are not used.
FIG. 13 is a block diagram showing a configuration of the YC extraction circuit 102.
In FIG. 13, the input digital video data is output as it is to the horizontal compression circuit 103 as Y samples, to the horizontal compression circuit 104 as CR samples, and to the horizontal compression circuit 105 as CB samples. The start signal input from the start detection circuit 101 is input to the counter 130 of the YC extraction circuit 102. The counter 130 is a 2-bit counter and increases the count number by one for each clock using a start signal as a trigger signal.
The numerical value of the counter 130 is output to the Y enabler 131, the CR enabler 132, and the CB enabler 133 in the YC extraction circuit 102.
[0066]
14 shows digital video data input to the YC extraction circuit 102, samples output to the horizontal compression circuits 103, 104, and 105, and output of enable signals output from the enablers 131, 132, and 133. It is a figure which shows a timing.
As shown in FIG. 14, the Y enabler 131 outputs a Y enable signal to the horizontal compression circuit 103 when the counter is 1 and 3. The CR enabler 132 outputs a CR enable signal to the horizontal compression circuit 104 when the counter is 2. The CB enabler 133 outputs a CB enable signal to the horizontal compression circuit 105 when the counter is zero.
[0067]
(A), (b), and (c) of FIG. 15 are block diagrams showing the configurations of the horizontal compression circuits 103, 104, and 105, respectively. In FIG. 15A, the horizontal compression circuit 103 extracts Y samples from the input digital video data having Y samples and the Y enable signal, and compresses them in the line direction by the filter 141 in accordance with parameters given in advance. Alternatively, stretching is performed. The Y1 sample compressed or expanded in the filter 141 is output to the Y assembly circuit 142 together with the Y enable signal. In the Y assembly circuit 142, two adjacent Y1 samples are multiplexed and output to the line buffer 106 together with the write Y enable signal. For the horizontal blanking and vertical blanking samples, the horizontal compression circuit 103 outputs the input Y1 samples to the line buffer 106 as they are.
[0068]
In FIG. 15B, the horizontal compression circuit 104 extracts CR samples from the input digital video data having CR samples and the CR enable signal, and compresses or decompresses them in the line direction by the filter 143 according to a predetermined parameter. I do. The compressed or expanded CR1 sample is output to the line buffer 107 together with the write CR enable signal. For the horizontal blanking and vertical blanking samples, the horizontal compression circuit 104 outputs the input CR1 sample to the line buffer 107 as it is.
[0069]
In FIG. 15C, the horizontal compression circuit 105 extracts CB samples from the input digital video data having CR samples and the enable signal, and performs compression or expansion in the line direction in accordance with parameters given in advance. The compressed or expanded CB1 sample is output to the line buffer 108 together with the write CB enable signal. The horizontal compression circuit 105 outputs the input CB sample as it is to the line buffer 108 for the horizontal blanking and vertical blanking samples.
[0070]
FIG. 16 is a block diagram showing a configuration of the memory control circuit 111.
In FIG. 16, a counter 51 is a counter that forms a counter value by incrementing (counting up) an input start signal for each clock. The counter value of the counter 51 is output to the row address decoder 52, the column address decoder 53, and the enable control circuit 55. In the row address decoder 52, a row address of the memory 110 is generated. In the column address decoder 53, a column address of the memory 110 is generated. The generated row address and column address are multiplexed by the address multiplexing circuit 54 and output to the address input terminal of the memory 110 (FIG. 8).
The enable control circuit 55 outputs an output enable signal OE, a write enable signal WE, a row address enable signal RAS, a column address enable signal CAS, and a read enable signal to the line buffers 106, 107, and 108 from the input counter value. Generate each.
[0071]
FIG. 17 is a timing chart showing the writing of one line in the memory 110. One line of data is recorded over 11 blocks. Here, writing of one block will be described. 39 samples of the same line are recorded in one block. Since these 39 samples are arranged at the same row address, burst writing is possible.
In FIG. 17, the row address enable signal RAS is first lowered to L and the first row address RA0 is output to the address of the memory 110. Thereafter, the column address enable signal CAS is activated for each clock and the column addresses CA0, CA1, CA2,. Thereafter, the row address enable signal RAS is disabled. After the column address CA38 is output to the address of the memory 110, the column address enable signal is raised, and the read enable signal of the line buffers 106, 107, and 108 is activated one clock before the data address 109. Data on the same line in one block is output.
[0072]
By performing the above processing for 11 blocks, the sample of one line is written into the memory 110. The time required for this writing is 41 clocks in the case of a 27 MHz clock, and 16.7 μsec in 11 blocks of one line.
When writing the line m, the nth row address RAn is expressed by the following equation (7).
[0073]
RAn = m / 11 + n (7)
[0074]
The p-th column address CAmp of the n-th block is expressed by the following formula (8).
[0075]
CAmp = m mod 11 + p (8)
[0076]
FIG. 18 is a timing chart for reading samples of two columns in the memory 110. Samples for two columns are distributed over 21 blocks. Reading one block will be described with reference to FIG. In one block, 25 samples of the same column are recorded. Since these 25 samples are arranged at the same row address, burst reading is possible.
In FIG. 18, the row address enable signal RAS is first lowered to L and the first row address RA0 is output to the address of the memory 110. Thereafter, the column address enable signal CAS is activated for each clock and the column addresses CA0, CA1, CA2,..., CA24 are output. Thereafter, the row address enable signal RAS is disabled. Each time the column address enable signal CAS is activated, address data is output from the memory 110 to the data bus 109.
[0077]
By performing the above-described processing for 21 blocks, the two-column sample is read from the memory 110. The time required for this reading is 27 MHz in the case of 27 MHz, and 21 μsec in 21 blocks.
When reading the column m, the nth row address RAn is expressed by the following equation (9).
[0078]
RAn = m / 21 (9)
[0079]
The p-th column address CAmp of the n-th block is expressed by the following formula (10).
[0080]
CAmp = m mod 21 + p (10)
[0081]
The memory control circuit 111 performs writing of 525 lines and reading of 858 columns in one frame period (33.3 ms). At this time, line writing for one frame and column reading for one frame are performed on different banks, so that rewriting during reading of the same frame does not occur.
In addition, the entire screen is shifted in the horizontal direction by shifting the row address and the column address in accordance with the horizontal offset given in advance when reading the column. Specifically, when reading the column m, it is possible to shift the screen by 2 m columns by adding the offset s to m and calculating the row address RAn and the column address CAmp.
[0082]
FIG. 19 is a timing chart of memory control signals in one frame period. First, one frame is divided into 525. One line is written in the first half of the divided period, and two columns are read in the second half. This timing follows the start signal input to the memory control circuit 111.
[0083]
FIG. 20 is a block diagram showing a detailed configuration of the vertical compression circuit 112. In FIG. 20, the digital video data input from the data bus 109 is divided into a Y1 sample, a CR1 sample, and a CB1 sample. The Y1 sample is further divided into even-numbered samples and odd-numbered samples in the column. The even-numbered (including 0) Y1 sample is output to the compression circuit 161, the odd-numbered Y1 sample is output to the compression circuit 162, the CR1 sample is output to the compression circuit 163, and the CB1 sample is output to the compression circuit 164.
In the vertical compression circuit 112, the most significant 10 bits of the bit field of the data bus 109 are transferred to the compression circuit 161, the next 10 bits to the compression circuit 162, and the next 10 bits to the compression circuit 163. This is done by inputting the lower 10 bits to the compression circuit 164.
[0084]
The compression circuit 161 compresses or expands in the column direction from the input data and the start signal according to parameters given in advance. The even-numbered Y2 sample in the compressed or expanded column is output to the column buffer 113 (FIG. 8) together with the write enable signal.
The compression circuit 162 performs compression or expansion in the column direction from the input data and the start signal according to parameters given in advance. The Y2 sample whose odd-numbered compressed or expanded column is output to the column buffer 113 together with the write enable signal.
The compression circuit 163 performs compression or expansion in the column direction from the input data and the start signal according to parameters given in advance. The compressed or expanded CR2 sample is output to the column buffer 113 together with the write enable signal.
The compression circuit 164 performs compression or expansion in the column direction from the input data and the start signal according to parameters given in advance. The compressed or expanded CB2 sample is output to the column buffer 113 together with a write enable signal.
[0085]
The samples output from the compression circuits 161, 162, 163, and 164 are the Y2 sample output from the compression circuit 161 at the top of the 40-bit width signal to the column buffer, and the output from the compression circuit 162 as the next 10 bits. The Y2 sample is output to the column buffer 113 after the CR2 sample is multiplexed on the next 10 bits and the CB2 sample is multiplexed on the least significant 10 bits.
The column buffer 113 temporarily holds each input sample according to a write enable signal.
The memory map of the memory 115 is the same as the memory map of the memory 110 described above.
[0086]
FIG. 21 is a block diagram showing a detailed configuration of the memory control circuit 116.
In FIG. 21, a counter 171 is a counter that receives a start signal and increments (counts up) every clock to form a count value. The counter value of the counter 171 is output to the row address decoder 172, the column address decoder 173, and the enable control circuit 175, respectively. In the row address decoder 172, a row address of the memory 115 is generated. The column address decoder 173 generates a column address of the memory 115. These row address and column address are multiplexed by the address multiplexing circuit 174 and output to the address input terminal of the memory 115.
[0087]
The enable control circuit 175 generates an output enable signal OE, a write enable signal WE, a row address enable signal RAS, and a column address enable signal CAS of the memory 115 from the input counter value. The enable control circuit 175 generates a write enable signal for the line buffers 117, 118, and 119 and a read enable signal for the column buffer 113.
[0088]
FIG. 22 is a timing chart of writing in two columns of the memory 115. Two columns of data are distributed over 21 blocks. Here, writing of one block will be described. In one block, 25 samples in the same column are recorded. These 25 samples are arranged at the same row address.
In FIG. 22, the row address enable signal RAS is first lowered to L and the first row address RA 0 is output to the address of the memory 115. Thereafter, the column address enable signal CAS is activated for each clock and the column addresses CA0, CA1, CA2,..., CA24 are output. Thereafter, the row address enable signal RAS is disabled.
In addition, a read enable signal for the column buffer 113 is output one clock before the column address enable signal CAS is activated so that the address data is output to the data bus 114 every time the column address enable signal CAS is activated. Data is read from the column buffer 113.
[0089]
By performing the above processing for 21 blocks, a sample of two columns is read from the column buffer 113 and written to the memory 115. The time required for writing to the memory 115 is 27 clocks for writing one block and 21 μsec for 21 blocks.
When writing in column m, the nth row address RAn is expressed by the following equation (11).
[0090]
RAn = m / 21 (11)
[0091]
The p-th column address CAmp of the n-th block is expressed by the following formula (12).
[0092]
CAmp = m mod 21 + p (12)
[0093]
FIG. 23 is a timing chart for reading one line of the memory 115. One line of data is recorded over 11 blocks. Here, reading for one block will be described. 39 samples of the same line are recorded in one block. These 39 samples are arranged at the same row address. In FIG. 23, the row address enable signal RAS is first lowered to L and the first row address RA0 is output to the address of the memory 115. Thereafter, the column address enable signal CAS is activated for each clock, and the column addresses CA0, CA1, CA2,. Thereafter, the row address enable signal RAS is disabled. Next, the column address enable signal CAS is activated, and the write enable signals for the line buffers 117, 118, and 119 are activated in accordance with the timing at which data is output to the memory 115. Thus, when the write enable signal becomes active, one block of data output to the data bus 114 is written to the line buffers 117, 118, and 119.
[0094]
By performing the above process for 11 blocks, a sample of one line is read from the memory 110 and written to the line buffers 117, 118, and 119. The time required for writing to the line buffers 117, 118, and 119 is 41 clocks for 1 block in the case of a 27 MHz clock, and 16.7 μsec for 11 blocks.
When the line m is read, the nth row address RAn is expressed by the following equation (13).
[0095]
RAn = m / 11 + n (13)
[0096]
The p-th column address CAmp of the n-th block is expressed by the following formula (14).
[0097]
CAmp = m mod 11 + p (14)
[0098]
The memory control circuit 116 performs reading of 525 lines and writing of 858 columns in one frame period (33.3 ms). At this time, line reading for one frame and column writing for one frame are performed on different banks, so that rewriting during reading of the same frame does not occur.
In addition, the entire screen is shifted in the vertical direction by shifting the row address and the column address in accordance with the vertical offset given in advance when the line is read. Specifically, when reading the line m, it is possible to shift the screen by m lines by adding the offset s to m and calculating the row address RAn and the column address CAmp.
[0099]
FIG. 24 is a timing chart of memory control signals for one frame period. In FIG. 24, first, one frame is divided into 525. One line is read in the first half of the divided period, and two columns are written in the second half. This timing follows the start signal input to the memory control circuit 116.
[0100]
FIG. 25 is a block diagram showing details of the YC assembly circuit 120. In FIG. 25, a counter 181 is a counter that is incremented by 1 for each clock according to an input start signal. The enabler 182 generates an enable signal for reading the Y2 sample, the CR2 sample, and the CB2 sample from the line buffers 117, 118, and 119 according to the count value of the counter 181.
[0101]
The luminance conversion circuit 183 performs luminance conversion on the Y2 sample output from the line buffer 117 and outputs the Y2 sample to the selector 186 as a Y3 sample. The color difference conversion circuit 184 performs color space conversion on the CR2 samples output from the line buffer 118 and the CB2 samples output from the line buffer 119, and outputs them to the selector 186 as CR3 samples and CB3 samples.
The blanking generation circuit 185 generates horizontal and vertical blanking signals necessary for the digital video data.
The selector 186 assembles and outputs the digital video signal by selecting the Y3 sample, CR3 sample, CB3 sample and the horizontal and vertical blanking signals according to the value of the counter 181.
[0102]
As described above, according to the video editing apparatus of the second embodiment, the image editing apparatus capable of operating at 27 MHz, which is the same as the input / output clock frequency of the digital video data, maintains a sufficient video quality, and is a special apparatus. It can be constructed without providing.
[0103]
【The invention's effect】
As described above in detail in the embodiments, the present invention has the following effects.
According to the video editing method of the present invention, when a frame of one frame is divided into a plurality of sub-screens and the video data is stored in the memory, the video data belonging to the same sub-screen is stored in the same row address of the memory. According to this video editing method, video processing can be performed with high quality by performing image processing such as compression and expansion in the vertical and horizontal directions using a memory having a normal clock frequency of 27 MHz.
Further, according to the video editing apparatus of the present invention, it is possible to configure a filter that can obtain a desired quality in processing such as compression and expansion, and burst access in either the line direction or the column direction is possible in memory access. In addition, it is possible to realize a low-cost video editing apparatus capable of performing a memory operation in synchronization with 27 MHz of digital video data.
[Brief description of the drawings]
FIG. 1 is a block diagram of a video editing apparatus according to a first embodiment of the present invention.
FIG. 2 is a diagram showing a format of an input signal in Embodiment 1 according to the present invention.
FIG. 3 is a memory map of the memory according to the first embodiment of the present invention.
FIG. 4 is a block arrangement diagram of a screen according to the first embodiment of the present invention.
FIG. 5 is a diagram illustrating a sample arrangement of divided blocks according to the first embodiment of the present invention.
FIG. 6 is a memory map of a sample of Example 1 according to the present invention.
FIG. 7 is a timing chart in the memory according to the first embodiment of the present invention.
FIG. 8 is a block diagram of a video editing apparatus according to a second embodiment of the present invention.
FIG. 9 is a block diagram showing details of a multiplexing circuit 121 according to the second embodiment of the present invention.
FIG. 10 is a memory map of the memory 110 according to the second embodiment of the present invention.
FIG. 11 is a block arrangement diagram of a screen according to the second embodiment of the present invention.
FIG. 12 is a memory map of a sample of Example 2 according to the present invention.
13 is a block diagram showing details of a YC extraction circuit 102 according to the second embodiment of the present invention. FIG.
FIG. 14 is a timing chart of the YC extraction circuit according to the second embodiment of the present invention.
FIG. 15 is a block diagram showing details of a horizontal compression circuit 103 according to the second embodiment of the present invention.
FIG. 16 is a block diagram showing details of a memory control circuit 111 according to the second embodiment of the present invention.
FIG. 17 is a timing chart of line writing in the memory 110 according to the second embodiment of the present invention.
FIG. 18 is a timing chart of column reading in the memory 110 according to the second embodiment of the present invention.
FIG. 19 is a timing chart of the data bus 109 according to the second embodiment of the present invention.
FIG. 20 is a block diagram illustrating details of the vertical compression circuit 112 according to the second embodiment of the present invention.
FIG. 21 is a block diagram showing details of a memory control circuit 116 according to the second embodiment of the present invention.
FIG. 22 is a timing chart of column writing in the memory 115 according to the second embodiment of the present invention.
FIG. 23 is a timing chart of line reading in the memory 115 according to the second embodiment of the present invention.
FIG. 24 is a timing chart of the data bus 114 according to the second embodiment of the present invention.
FIG. 25 is a block diagram showing details of a YC assembly circuit 120 according to the second embodiment of the present invention.
FIG. 26 is a block diagram showing a configuration of a conventional video editing apparatus.
FIG. 27 is a block diagram showing a configuration of a conventional video editing apparatus using a memory.
FIG. 28 is a memory map of a memory of a conventional video editing apparatus using a memory.
[Explanation of symbols]
1,102 YC extraction circuit
2, 3, 4, 8, 9, 10 memory
5, 6, 7 Editing circuit
11 Address control circuit
12, 120 YC assembly circuit
51, 130, 171, 181 counter
52, 172 Row address decoder
53, 173 Column address decoder
54, 174 Address multiplexing circuit
55, 175 Enable control circuit
101 Start detection circuit
103, 104, 105 Horizontal compression circuit
106, 107, 108, 117, 118, 119 Line buffer
109, 114 Data bus
110, 115 memory
111, 116 Memory control circuit
112 Vertical compression circuit
113 Column buffer
121 Multiplex circuit
130 counter
131 Y Enabler
132 CR Enabler
133 CB Enabler
141, 143, 144 filters
142 Y assembly circuit
161, 162, 163, 164 Compression circuit
182 Enabler
183 Brightness conversion circuit
184 Color difference conversion circuit
185 Blanking generation circuit
186 selector

Claims (11)

デジタル映像データを編集する映像編集方法において、
デジタル映像デ−タの1フレームの画面を複数のサブ画面に分割する工程、
メモリのアドレスを上位アドレスであるローアドレスと下位アドレスであるカラムアドレスに分け、前記1フレームにおける同一のサブ画面のデジタル映像データを前記メモリの同一ローアドレスに蓄積する工程、及び
前記ローアドレスと前記カラムアドレスを用いて前記メモリのデジタル映像データにアクセスする工程、
を有することを特徴とする映像編集方法。
In a video editing method for editing digital video data,
Dividing a frame of digital video data into a plurality of sub-screens;
Dividing the memory address into a row address which is an upper address and a column address which is a lower address, and storing digital video data of the same sub-screen in the one frame at the same row address of the memory; and Accessing the digital video data in the memory using a column address;
A video editing method comprising:
デジタル映像データのサンプル毎で輝度信号サンプルと2つの色差信号サンプルに分割され、ライン毎に多重されて輝度信号ストリーム(以下、Yストリームと記す)と2つの色差信号ストリーム(CRストリーム、CBストリームと記す)のそれぞれを形成する分割工程、
前記Yストリームをライン毎に編集したY1サンプルにより構成されたY1ストリームを形成する第1の編集工程、
前記CRストリームをライン毎に編集したCR1サンプルにより構成されたCR1ストリームを形成する第2の編集工程、
前記CBストリームをライン毎に編集したCB1サンプルにより構成されたCB1ストリームを形成する第3の編集工程、
前記Y1ストリームと前記CR1ストリームと前記CB1ストリームをメモリに蓄積する第1の蓄積工程、
前記第1の蓄積工程において出力された同一カラムアドレスのY1サンプルにより構成されたY1'ストリームをカラムアドレス毎に編集して、Y2サンプルにより構成されたY2ストリームを形成する第4の編集工程、
前記第1の蓄積工程において出力された同一カラムアドレスのCR1サンプルにより構成されたCR1'ストリームをカラムアドレス毎に編集して、CR2サンプルにより構成されたCR2ストリームを形成する第5の編集工程、
前記第1の蓄積工程において出力された同一カラムアドレスのCB1サンプルにより構成されたCB1'ストリームをカラムアドレス毎に編集して、CB2サンプルにより構成されたCB2ストリームを形成する第6の編集工程、
前記Y2ストリームと前記CR2ストリームと前記CB2ストリームをメモリに蓄積する第2の蓄積工程、及び
前記第2の蓄積工程において出力された同一ラインのY2サンプルにより構成されたY2'ストリームとCR2サンプルにより構成されたCR2'ストリームとCB2サンプルにより構成されたCB2'ストリームが入力され、サンプル毎に前記Y2サンプルと前記CR2サンプルと前記CB2サンプルを多重して出力する組立工程、
を有することを特徴とする映像編集方法。
Each digital video data sample is divided into a luminance signal sample and two chrominance signal samples, multiplexed for each line, and a luminance signal stream (hereinafter referred to as Y stream) and two chrominance signal streams (CR stream, CB stream, and so on). Dividing step to form each of
A first editing step of forming a Y1 stream composed of Y1 samples obtained by editing the Y stream for each line;
A second editing step of forming a CR1 stream composed of CR1 samples obtained by editing the CR stream for each line;
A third editing step of forming a CB1 stream composed of CB1 samples obtained by editing the CB stream for each line;
A first accumulation step of accumulating the Y1 stream, the CR1 stream, and the CB1 stream in a memory;
A fourth editing step of editing the Y1 ′ stream composed of Y1 samples of the same column address output in the first accumulation step for each column address to form a Y2 stream composed of Y2 samples;
A fifth editing step of editing a CR1 ′ stream composed of CR1 samples of the same column address output in the first accumulation step for each column address to form a CR2 stream composed of CR2 samples;
A sixth editing step of editing the CB1 ′ stream composed of CB1 samples of the same column address output in the first accumulation step for each column address to form a CB2 stream composed of CB2 samples;
A second storage step for storing the Y2 stream, the CR2 stream, and the CB2 stream in a memory, and a Y2 ′ stream and a CR2 sample that are configured by Y2 samples of the same line output in the second storage step. An CB2 ′ stream composed of the CR2 ′ stream and the CB2 sample, and an assembly process for multiplexing and outputting the Y2 sample, the CR2 sample, and the CB2 sample for each sample;
A video editing method comprising:
デジタル映像データを編集する映像編集装置において、
デジタル映像デ−タの1フレームの画面を複数のサブ画面に分割する分割回路と、
メモリのアドレスを上位アドレスであるローアドレスと下位アドレスであるカラムアドレスに分け、前記1フレームにおける同一のサブ画面のデジタル映像データを前記メモリの同一ローアドレスに蓄積する蓄積回路を具備し、
前記蓄積回路において前記ローアドレスと前記カラムアドレスを用いて前記メモリのデジタル映像データにアクセスするよう構成されたことを特徴とする映像編集装置。
In a video editing device that edits digital video data,
A dividing circuit for dividing one frame of digital video data into a plurality of sub-screens;
A memory circuit that divides the memory address into a row address that is an upper address and a column address that is a lower address, and stores digital video data of the same sub-screen in the one frame at the same row address of the memory;
The video editing apparatus, wherein the storage circuit is configured to access the digital video data of the memory using the row address and the column address.
デジタル映像データのサンプル毎で輝度信号サンプルと2つの色差信号サンプルに分割され、ライン毎に多重されて輝度信号ストリーム(以下、Yストリームと記す)と2つの色差信号ストリーム(CRストリーム、CBストリームと記す)のそれぞれを形成する分割回路、
前記Yストリームをライン毎に編集したY1サンプルにより構成されたY1ストリームを形成する第1の編集回路、
前記CRストリームをライン毎に編集したCR1サンプルにより構成されたCR1ストリームを形成する第2の編集回路、
前記CBストリームをライン毎に編集したCB1サンプルにより構成されたCB1ストリームを形成する第3の編集回路、
前記Y1ストリームと前記CR1ストリームと前記CB1ストリームをメモリに蓄積する第1の蓄積回路、
前記第1の蓄積回路から出力された同一カラムアドレスのY1サンプルにより構成されたY1'ストリームをカラムアドレス毎に編集して、Y2サンプルにより構成されたY2ストリームを形成する第4の編集回路、
前記第1の蓄積回路から出力された同一カラムアドレスのCR1サンプルにより構成されたCR1'ストリームをカラムアドレス毎に編集して、CR2サンプルにより構成されたCR2ストリームを形成する第5の編集回路、
前記第1の蓄積回路から出力された同一カラムアドレスのCB1サンプルにより構成されたCB1'ストリームをカラムアドレス毎に編集して、CB2サンプルにより構成されたCB2ストリームを形成する第6の編集回路、
前記Y2ストリームと前記CR2ストリームと前記CB2ストリームをメモリに蓄積する第2の蓄積回路、及び
前記第2の蓄積回路から出力された同一ラインのY2サンプルにより構成されたY2'ストリームとCR2サンプルにより構成されたCR2'ストリームとCB2サンプルにより構成されたCB2'ストリームが入力され、サンプル毎に前記Y2サンプルと前記CR2サンプルと前記CB2サンプルを多重して出力する組立回路、
を具備することを特徴とする映像編集装置。
Each digital video data sample is divided into a luminance signal sample and two chrominance signal samples, multiplexed for each line, and a luminance signal stream (hereinafter referred to as Y stream) and two chrominance signal streams (CR stream, CB stream). Dividing circuit forming each of
A first editing circuit for forming a Y1 stream composed of Y1 samples obtained by editing the Y stream for each line;
A second editing circuit for forming a CR1 stream composed of CR1 samples obtained by editing the CR stream for each line;
A third editing circuit for forming a CB1 stream composed of CB1 samples obtained by editing the CB stream for each line;
A first storage circuit for storing the Y1 stream, the CR1 stream, and the CB1 stream in a memory;
A fourth editing circuit for editing a Y1 ′ stream composed of Y1 samples of the same column address output from the first storage circuit for each column address, and forming a Y2 stream composed of Y2 samples;
A fifth editing circuit that edits a CR1 ′ stream composed of CR1 samples of the same column address output from the first storage circuit for each column address to form a CR2 stream composed of CR2 samples;
A sixth editing circuit for editing a CB1 ′ stream composed of CB1 samples of the same column address output from the first storage circuit for each column address, and forming a CB2 stream composed of CB2 samples;
A second storage circuit that stores the Y2 stream, the CR2 stream, and the CB2 stream in a memory, and a Y2 ′ stream that includes the Y2 samples of the same line output from the second storage circuit, and a CR2 sample A CB2 ′ stream composed of the CR2 ′ stream and the CB2 sample, and an assembly circuit for multiplexing and outputting the Y2 sample, the CR2 sample, and the CB2 sample for each sample;
A video editing apparatus comprising:
前記第1の蓄積回路が、Y1サンプルを蓄積する第1のメモリと、CR1サンプルを蓄積する第2のメモリと、CB1サンプルを蓄積する第3のメモリとを有し、
前記第1のメモリと前記第2のメモリと前記第3のメモリが、それぞれのアドレスを上位アドレスであるローアドレスと下位アドレスであるカラムアドレスに分割してアクセスするよう構成され、
1フレームを構成するY1サンプルを格子状に分割してサブ画面とし、前記第1のメモリの同一ローアドレスには各サブ画面を構成する全てのY1サンプルが蓄積され、
1フレームを構成するCR1サンプルを格子状に分割してサブ画面とし、前記第2のメモリの同一ローアドレスには各サブ画面を構成する全てのCR1サンプルが蓄積され、そして
1フレームを構成するCB1サンプルを格子状に分割してサブ画面とし、前記第3のメモリの同一ローアドレスには、各サブ画面を構成する全てのCB1サンプルを蓄積されるよう構成されたことを特徴とする請求項4記載の映像編集装置。
The first storage circuit includes a first memory for storing Y1 samples, a second memory for storing CR1 samples, and a third memory for storing CB1 samples;
The first memory, the second memory, and the third memory are configured to be accessed by dividing each address into a row address that is an upper address and a column address that is a lower address,
Y1 samples constituting one frame are divided into grids to form sub-screens, and all Y1 samples constituting each sub-screen are stored in the same row address of the first memory,
The CR1 samples constituting one frame are divided into a grid by dividing the CR1 samples into a grid, and all the CR1 samples constituting each sub-screen are stored at the same row address of the second memory, and CB1 constituting one frame is stored. a sub-screen by dividing the sample in a grid pattern, wherein the third same row address of the memory, according to claim, characterized in that it is configured to be accumulated every CB1 samples constituting each sub-screen 4 The video editing apparatus described.
前記第2の蓄積回路が、Y2サンプルを蓄積する第4のメモリと、CR2サンプルを蓄積する第5のメモリと、CB2サンプルを蓄積する第6のメモリとを有し、
前記第4のメモリと前記第5のメモリと前記第6のメモリが、それぞれのアドレスを上位アドレスであるローアドレスと下位アドレスであるカラムアドレスに分割してアクセスするよう構成され、
1フレームを構成するY2サンプルを格子状に分割してサブ画面とし、前記第4のメモリの同一ローアドレスには各サブ画面を構成する全てのY2サンプルが蓄積され、
1フレームを構成するCR2サンプルを格子状に分割してサブ画面とし、前記第5のメモリの同一ローアドレスには各サブ画面を構成する全てのCR2サンプルが蓄積され、そして
1フレームを構成するCB2サンプルを格子状に分割してサブ画面とし、前記第6のメモリの同一ローアドレスには各サブ画面を構成する全てのCB2サンプルが蓄積されるよう構成されたことを特徴とする請求項4記載の映像編集装置。
The second storage circuit includes a fourth memory for storing Y2 samples, a fifth memory for storing CR2 samples, and a sixth memory for storing CB2 samples;
The fourth memory, the fifth memory, and the sixth memory are configured to be accessed by dividing each address into a row address that is an upper address and a column address that is a lower address,
A Y2 sample constituting one frame is divided into a grid to form a sub-screen, and all Y2 samples constituting each sub-screen are stored in the same row address of the fourth memory,
CR2 samples constituting one frame are divided into grids to form sub-screens. All CR2 samples constituting each sub-screen are stored in the same row address of the fifth memory, and CB2 constituting one frame. samples and sub-screen is divided in a lattice shape, according to claim 4, wherein the sixth same row address of the memory, characterized in that it is configured so that all of the CB2 samples constituting each sub-screen is stored Video editing equipment.
前記第1の蓄積回路は、同一ラインで隣り合う2つのY1サンプルと、画面上における前記Y1サンプルの近傍にある一つのCR1サンプルと、画面上における前記Y1サンプルの近傍にある一つのCB1サンプルとを多重化する多重回路、及び
前記多重化した4つのサンプルを同一アドレスに蓄積する第7のメモリを具備することを特徴とする請求項4記載の映像編集装置。
The first storage circuit includes two Y1 samples adjacent to each other on the same line, one CR1 sample in the vicinity of the Y1 sample on the screen, and one CB1 sample in the vicinity of the Y1 sample on the screen. 5. The video editing apparatus according to claim 4, further comprising: a multiplexing circuit that multiplexes the four samples; and a seventh memory that accumulates the multiplexed four samples at the same address.
前記第2の蓄積回路は、同一ラインで隣り合う2つのY2サンプルと、画面上における前記Y2サンプルの近傍にある一つのCR2サンプルと、画面上における前記Y2サンプルの近傍にある一つのCB2サンプルとを多重化する多重回路、及び
前記多重化した4つのサンプルを同一アドレスに蓄積する第8のメモリを具備することを特徴とする請求項4記載の映像編集装置。
The second storage circuit includes two Y2 samples adjacent to each other on the same line, one CR2 sample in the vicinity of the Y2 sample on the screen, and one CB2 sample in the vicinity of the Y2 sample on the screen. 5. The video editing apparatus according to claim 4, further comprising: a multiplexing circuit that multiplexes the four samples; and an eighth memory that stores the multiplexed four samples at the same address.
前記第1の蓄積回路が、入力されたデジタル映像データの1ラインにおける前半で前記Y1ストリームと前記CR1ストリームと前記CB1ストリームとを蓄積し、入力されたデジタル映像データの1ラインにおける後半で前記Y1'ストリームと前記CR1'ストリームと前記CB1'ストリームとを出力し、
前記第2の蓄積回路が、入力されたデジタル映像データの1ラインにおける前半で前記Y2ストリームと前記CR2ストリームと前記CB2ストリームとを蓄積し、入力されたデジタル映像データの1ラインにおける後半で前記Y2'ストリームと前記CR2'ストリームと前記CB2'ストリームとを出力するよう構成されたことを特徴とする請求項4記載の映像編集装置。
The first storage circuit stores the Y1 stream, the CR1 stream, and the CB1 stream in the first half of one line of input digital video data, and the Y1 in the second half of one line of input digital video data. Output 'stream, CR1' stream and CB1 'stream;
The second storage circuit stores the Y2 stream, the CR2 stream, and the CB2 stream in the first half of one line of input digital video data, and the Y2 in the second half of one line of input digital video data. 5. The video editing apparatus according to claim 4 , wherein the video editing apparatus is configured to output a 'stream, the CR2' stream, and the CB2 'stream.
前記第7のメモリが、1フレームを構成するY1サンプルを格子状に分割してサブ画面とし、同一ローアドレスには各サブ画面を構成する全てのY1サンプル、CR1サンプル及びCB1サンプルを蓄積するよう構成されたことを特徴とする請求項7記載の映像編集装置。The seventh memory divides Y1 samples constituting one frame into a sub-screen by dividing it into a grid, and stores all Y1 samples, CR1 samples and CB1 samples constituting each sub-screen at the same row address. 8. The video editing apparatus according to claim 7 , wherein the video editing apparatus is configured. 前記第8のメモリが、1フレームを構成するY2サンプルを格子状に分割してサブ画面とし、同一ローアドレスには各サブ画面を構成する全てのY2サンプル、CR2サンプル及びCB2サンプルを蓄積するよう構成されたことを特徴とする請求項8記載の映像編集装置。The eighth memory divides Y2 samples constituting one frame into a sub-screen by dividing it into a grid, and stores all Y2 samples, CR2 samples and CB2 samples constituting each sub-screen at the same row address. 9. The video editing apparatus according to claim 8 , wherein the video editing apparatus is configured.
JP17744199A 1999-06-23 1999-06-23 Video editing method and apparatus Expired - Fee Related JP3630587B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17744199A JP3630587B2 (en) 1999-06-23 1999-06-23 Video editing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17744199A JP3630587B2 (en) 1999-06-23 1999-06-23 Video editing method and apparatus

Publications (2)

Publication Number Publication Date
JP2001008162A JP2001008162A (en) 2001-01-12
JP3630587B2 true JP3630587B2 (en) 2005-03-16

Family

ID=16031013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17744199A Expired - Fee Related JP3630587B2 (en) 1999-06-23 1999-06-23 Video editing method and apparatus

Country Status (1)

Country Link
JP (1) JP3630587B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8384725B2 (en) 2009-10-30 2013-02-26 Yamaha Corporation Method and computer for controlling image processor, and machine readable storage medium for use in computer

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050134877A1 (en) * 2003-12-17 2005-06-23 Murata Kikai Kabushiki Kaisha Color image processing device and color image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8384725B2 (en) 2009-10-30 2013-02-26 Yamaha Corporation Method and computer for controlling image processor, and machine readable storage medium for use in computer

Also Published As

Publication number Publication date
JP2001008162A (en) 2001-01-12

Similar Documents

Publication Publication Date Title
JP4646446B2 (en) Video signal processing device
JPH0612485A (en) Multiplex serial access memory used in feedback syste such as movement compensating television
JPS6113669B2 (en)
JPS62193378A (en) System changing device
JP3801242B2 (en) Reduced image display device
US5793434A (en) Aspect ratio converter and method thereof
JP3630587B2 (en) Video editing method and apparatus
JPS61269265A (en) Video signal time-base correcting device
US20080246643A1 (en) Technique For Efficient Video Re-Sampling
JPH08191425A (en) Memory controller
JP4657687B2 (en) Video monitoring device and video recording / reproducing device
KR200283945Y1 (en) Multi-screen splitter with picture quality protection
JP4352660B2 (en) Image signal processing apparatus and method
JP2000284771A (en) Video data processor
JPH10334226A (en) Image data storage device
JP3543657B2 (en) Electronic zoom circuit
JPH0126226B2 (en)
JP2005011520A (en) Image data storage device
JPH1023330A (en) Picture processor
JPH06284382A (en) Reader for recorded carrier
KR910005249B1 (en) Multi-vision system
JP2000341651A (en) Format converting device
JP3260769B2 (en) Image position adjustment circuit
JPH09218820A (en) Image processor and mapping method for image memory
JPS6250964A (en) Video memory

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040506

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040727

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040909

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041214

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071224

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081224

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091224

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091224

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101224

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees