JP4048809B2 - Data processing apparatus and method, recording medium, and program - Google Patents

Data processing apparatus and method, recording medium, and program Download PDF

Info

Publication number
JP4048809B2
JP4048809B2 JP2002084073A JP2002084073A JP4048809B2 JP 4048809 B2 JP4048809 B2 JP 4048809B2 JP 2002084073 A JP2002084073 A JP 2002084073A JP 2002084073 A JP2002084073 A JP 2002084073A JP 4048809 B2 JP4048809 B2 JP 4048809B2
Authority
JP
Japan
Prior art keywords
special reproduction
information
reproduction data
storage
storage unit
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
JP2002084073A
Other languages
Japanese (ja)
Other versions
JP2003283989A (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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2002084073A priority Critical patent/JP4048809B2/en
Publication of JP2003283989A publication Critical patent/JP2003283989A/en
Application granted granted Critical
Publication of JP4048809B2 publication Critical patent/JP4048809B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、データ処理装置および方法、プログラム格納媒体、並びにプログラムに関し、特に、符号化された画像データから特殊再生用データを確実に生成できるようにしたデータ処理装置および方法、プログラム格納媒体、並びにプログラムに関する。
【0002】
【従来の技術】
近年、高精細画像の汎用符号化方式として、MPEG(Moving Picture Experts Group)2が注目されている。MPEG2の方式は、フレーム間の相関を利用して情報量を圧縮し、データを符号化する動き補償型の予測符号化方式である。MPEG2の方式により符号化されたシーケンスには、一定間隔でI(イントラ)ピクチャ(フレーム内符号化画像のピクチャ)が含まれており、Iピクチャは、離散コサイン変換(DCT(discrete cosine transform))または量子化等により1フレーム内のデータのみを用いて符号化されている。
【0003】
そこで、デジタルVTR(Video Tape Recorder)において、入力されたビデオデータから、通常再生用の高解像度データを生成する他、一定の周期(例えば、15フレーム)で生成されるIピクチャ(イントラフレーム)のデータを用いて特殊再生用の低解像度データを生成し、生成した特殊再生用データを、特殊再生用に特別な記憶領域に設けた記録領域に記録することが提案されている。
【0004】
図1は、通常再生用データおよび特殊再生用データを記録する従来のデジタルVTR1の構成を示すブロック図である。
【0005】
エンコーダ11は、供給されてきたビデオデータをMPEG方式でエンコードし、イントラフレーム分離部12およびバッファメモリ14に供給する。バッファメモリ14は、供給されてきたデータ(通常再生用データ)を格納する。イントラフレーム分離部12は、供給されてきたMPEGデータからイントラフレーム(以下、Iフレームと称する)を抜き出し、これを特殊再生用データ生成部13に出力する。特殊再生用データ生成部13は、Iフレームのビデオデータから、特殊再生用データを生成し、バッファメモリ15に供給する。バッファメモリ15は、供給されてきた特殊再生用データを格納する。
【0006】
データ多重化部16は、バッファメモリ14およびバッファメモリ15に格納されている通常再生用データおよび特殊再生用データを読み出し、語長制限等の処理を行った後、オーディオデータおよびシステムデータと共にこれを多重化し、記録フォーマット処理部17に供給する。記録フォーマット処理部17は、供給されてきたデータに対して、誤り訂正符号の付加や、変調等の処理を実行し、磁気テープ18に記録する。
【0007】
図2は、1GOPが15フレームにより構成されるフレームの配置例を示す図である。図3は、図2のフレーム構成におけるバッファメモリの占有状態の例を示す図である。時刻t1において、バッファメモリ15に特殊再生用データが入力され、時刻t2において、磁気テープ18への記録が完了したと同時にバッファメモリ15は空になる。このとき、IフレームのVBV(Video Buffering Verifier)delay(バッファメモリの蓄積量を90Hzクロックの時間で示すもの)サイズは、時間T1となる。具体的には、時間T1は、入力タイミングの時刻t1から、次のIフレーム(DTSを基にしたVIDEO位相において、各1GOPの先頭のフレーム)が入力されてくる時刻までの時間である。時刻t3乃至時刻t12および時間T2乃至時間T6の説明は、時刻t1およびt2、並びに時間T1と同様であるので、省略する。
【0008】
【発明が解決しようとする課題】
しかしながら、デジタルVTR1は、図2に示されるように、特殊再生用データの生成レート(すなわち、Iフレームの入力レート)が低い(Iフレームが15フレーム周期である)場合においては、図3に示されるように、特殊再生用データの記録完了タイミング(時刻t2)が、次の特殊再生用データの入力タイミング(時刻t3)より早いため、全ての特殊再生用データが記録することができるが、図4に示されるように、特殊再生用データの生成レート(Iフレームの入力レート)が磁気テープ18への書き込みレートより早い(図4の例の場合、Iフレームが9フレーム周期(1GOPが9フレーム)である)場合においては、図5に示されるように、特殊再生用データの記録完了タイミング(時刻t27)より、次の特殊再生用データの入力タイミング(時刻t26)が早いため、そのタイミングにおいて、特殊再生用データを記録することはできない。
【0009】
すなわち、時刻t26において、次の特殊再生用データがバッファメモリ15に入力されるが、このとき、バッファメモリ15には、時刻t25において入力された特殊再生用データがまだ全て記録されていないため、残っている。
【0010】
時刻t30,t31のタイミングと、時刻t36,t37のタイミングにおいても、同様の事態が発生している。
【0011】
短いGOPは、つなぎ撮りを繰り返すことによっても発生する。図6は、つなぎ撮りされたストリームのフレームの配置例を示す図である。図中、Pi(i=1,2,・・・)は、つなぎ撮り点を示す。この例では、点P1乃至P5でつなぎ撮りが行なわれた結果、1GOPが3フレームとなっている。
【0012】
このような場合においても、特殊再生用データを記録することができなくなるタイミングが発生する。
【0013】
このように、1GOPを構成するフレームが少ない場合、特殊再生用データを記録することができなくなるタイミングが発生するという課題があった。
【0014】
本発明はこのような状況に鑑みてなされたものであり、圧縮されたデジタルデータから特殊再生用データを確実に生成することができるようにするものである。
【0015】
【発明が解決しようとする課題】
本発明の画像処理装置は、画像データからイントラフレームを分離する分離手段と、分離手段により分離されたイントラフレームから特殊再生用データを生成するとともに、特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成手段と、生成手段により生成された特殊再生用データ、および第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込み手段と、書き込み手段により納部に書き込まれた第1の付随情報および格納情報に基づいて、納部に書き込まれている特殊再生用データを読み出すとともに、読み出した格納部の格納情報を更新する読み出し手段と、み出し手段により読み出された特殊再生用データを記録媒体に記録する記録手段とを備え、書き込み手段は、格納情報に基づいて、複数の格納部のうち、書き込み可能な格納部を選択して特殊再生用データを書き込むとともに、選択された格納部の格納情報を読み出し可能を示すように更新しみ出し手段は、格納情報に基づいて、複数の納部のうち、読み出し可能な格納部を選択し、記録媒体上の記録位置から換算した時刻情報と選択された格納部の第1の付随情報との比較結果が特殊再生用データの記録媒体上への記録が可能であることを示すとき、特殊再生用データを読み出すとともに、選択された格納部の格納情報を書き込み可能を示すように更新することを特徴とする。
【0016】
前記書き込み手段および前記読み出し手段は、第1の付属情報および格納情報を共有するようにすることができる。
【0017】
前記書き込み手段は、格納部に書き込んだ特殊再生用データがつなぎ撮り点であるか否かを示す第2の付随情報も書き込んだ格納部に書き込むようにすることができる。
【0022】
本発明の画像処理方法は、画像データからイントラフレームを分離する分離ステップと、分離ステップの処理により分離されたイントラフレームから特殊再生用データを生成するとともに、特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成ステップと、生成ステップの処理により生成された特殊再生用データ、および第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込みステップと、書き込みステップの処理により納部に書き込まれた第1の付随情報および格納情報に基づいて、納部に書き込まれている特殊再生用データを読み出すとともに、読み出した格納部の格納情報を更新する読み出しステップと、み出しステップにより読み出された特殊再生用データを記録媒体に記録する記録ステップとを含み、書き込みステップの処理は、格納情報に基づいて、複数の格納部のうち、書き込み可能な格納部を選択して特殊再生用データを書き込むとともに、選択された格納部の格納情報を読み出し可能を示すように更新しみ出しステップの処理は、格納情報に基づいて、複数の納部のうち、読み出し可能な格納部を選択し、記録媒体上の記録位置から換算した時刻情報と選択された格納部の第1の付随情報との比較結果が特殊再生用データの記録媒体上への記録が可能であることを示すとき、特殊再生用データを読み出すとともに、選択された格納部の格納情報を書き込み可能を示すように更新することを特徴とする。
【0023】
本発明の記録媒体のプログラムは、画像データからイントラフレームを分離する分離ステップと、分離ステップの処理により分離されたイントラフレームから特殊再生用データを生成するとともに、特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成ステップと、生成ステップの処理により生成された特殊再生用データ、および第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込みステップと、書き込みステップの処理により納部に書き込まれた第1の付随情報および格納情報に基づいて、納部に書き込まれている特殊再生用データを読み出すとともに、読み出した格納部の格納情報を更新する読み出しステップと、み出しステップにより読み出された特殊再生用データを記録媒体に記録する記録ステップとを含み、書き込みステップの処理は、格納情報に基づいて、複数の格納部のうち、書き込み可能な格納部を選択して特殊再生用データを書き込むとともに、選択された格納部の格納情報を読み出し可能を示すように更新しみ出しステップの処理は、格納情報に基づいて、複数の納部のうち、読み出し可能な格納部を選択し、記録媒体上の記録位置から換算した時刻情報と選択された格納部の第1の付随情報との比較結果が特殊再生用データの記録媒体上への記録が可能であることを示すとき、特殊再生用データを読み出すとともに、選択された格納部の格納情報を書き込み可能を示すように更新することを特徴とする。
【0024】
本発明のプログラムは、画像データからイントラフレームを分離する分離ステップと、分離ステップの処理により分離されたイントラフレームから特殊再生用データを生成するとともに、特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成ステップと、生成ステップの処理により生成された特殊再生用データ、および第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込みステップと、書き込みステップの処理により納部に書き込まれた第1の付随情報および格納情報に基づいて、納部に書き込まれている特殊再生用データを読み出すとともに、読み出した格納部の格納情報を更新する読み出しステップと、み出しステップにより読み出された特殊再生用データを記録媒体に記録する記録ステップとを含み、書き込みステップの処理は、格納情報に基づいて、複数の格納部のうち、書き込み可能な格納部を選択して特殊再生用データを書き込むとともに、選択された格納部の格納情報を読み出し可能を示すように更新しみ出しステップの処理は、格納情報に基づいて、複数の納部のうち、読み出し可能な格納部を選択し、記録媒体上の記録位置から換算した時刻情報と選択された格納部の第1の付随情報との比較結果が特殊再生用データの記録媒体上への記録が可能であることを示すとき、特殊再生用データを読み出すとともに、選択された格納部の格納情報を書き込み可能を示すように更新することを特徴とする。
【0025】
画像処理装置は、記録専用の装置として構成しても良いし、記録と再生の両方を実行する装置の記録処理を行うブロックとして構成してもよい。
【0026】
本発明おいては、画像データからイントラフレームが分離され、分離されたイントラフレームから特殊再生用データが生成されるとともに、特殊再生用データに対応する時刻情報である第1の付随情報が生成され、生成された特殊再生用データ、および第1の付随情報が複数存在する格納部のいずれかに書き込まれるとともに、書き込まれた格納部の読み出し可能、または書き込み可能を示す格納情報が更新される。また、格納部に書き込まれた第1の付随情報および格納情報に基づいて、格納部に書き込まれている特殊再生用データが読み出されるとともに、読み出された格納部の格納情報が更新される。
【0027】
【発明の実施の形態】
図7は、本発明を適用したデジタルVTR30の構成例を示すブロック図である。図中、図1と対応する部分については、同一の符号を付してあり、その説明は、繰り返しになるので省略する。
【0028】
この例では、特殊再生用データ生成部13は、Iフレームから特殊再生用データを生成し、メモリ書き込み制御部31に供給する。メモリ書き込み制御部31は、バッファメモリ15A、バッファメモリ15B、・・・バッファメモリ15Nに対する特殊再生用データの書き込みを制御する。メモリ読み出し制御部32は、バッファメモリ15A、バッファメモリ15B、・・・バッファメモリ15Nからの特殊再生用データの読み出しを制御し、バッファメモリ15A乃至15Nから読み出された特殊再生用データをデータ多重化部16に供給する。
【0029】
データ多重化部16は、メモリ読み出し制御部32から供給されてきた特殊再生用データと、バッファメモリ14から供給されてきた通常再生用データについて、語長制限等の処理を行った後、図示せぬ入力部から入力されるオーディオデータおよびシステムデータと共にこれを多重化し、記録フォーマット処理部17に供給する。記録フォーマット処理部17は、供給されてきたデータに対して、誤り訂正符号の付加や、変調等の処理を実行し、磁気テープ18に記録する。
【0030】
次に、図8を参照して、デジタルVTR30におけるデータ記録処理について説明する。なお、この処理は、ユーザが、図示せぬ操作部を操作して、データの記録を指令したときに開始される。
【0031】
ステップS1において、エンコーダ11は、入力されてきたビデオデータをエンコードする。エンコードされたデータは、バッファメモリ14およびイントラフレーム分離部12に供給される。イントラフレーム分離部12は、入力されたビデオデータからイントラフレームのビデオデータを抽出し、特殊再生用データ生成部13に供給する。
【0032】
ステップS2において、バッファメモリ14は、供給されてきたデータを格納する。バッファメモリ14に格納されたデータは、データ多重化部16に供給される。
【0033】
ステップS3において、特殊再生用データを書き込み読み出し処理が実行される。すなわち、特殊再生用データ生成部13により、特殊再生用データが生成される。メモリ書き込み処理部31は、この特殊再生用データを、例えば、バッファメモリ15Aに格納する。メモリ読み出し処理部32は、これを読み出し、データ多重化部16に供給する。この特殊再生用データ書き込み読み出し処理の詳細は、図9を参照して後述する。
【0034】
ステップS4において、データ多重化部16は、通常再生用データと特殊再生用データが、バッファメモリ14とメモリ読み出し制御部32から供給されてきたか否かを判定する。通常再生用データと特殊再生用データがまだ入力されていないと判定された場合、データ多重化部16は、通常再生用データと特殊再生用データが入力されるまで、待機する。
【0035】
ステップS4において、通常再生用データと特殊再生用データが入力されたと判定された場合、処理は、ステップS5に進み、データ多重化部16は、通常再生用データと特殊再生用データについて語長制限等の処理を行ない、オーディオデータおよびシステムデータと共にこれを多重化し、記録フォーマット処理部17に供給する。
【0036】
ステップS6において、記録フォーマット処理部17は、データ多重化部16から供給されてきた多重化されたデータについて、誤り訂正符号を付加し、変調する。
【0037】
ステップS7において、記録フォーマット処理部17は、ステップS6において誤り訂正符号を付加し、変調したデータを、磁気テープ18に記録する。
【0038】
次に、図9を参照して、図8のステップS3における特殊再生用データ書き込み読み出し処理について説明する。なお、この処理は、図8のステップS1においてエンコードされたデータがイントラフレーム分離部12に供給されてきたとき開始される。
【0039】
ステップS21において、特殊再生用データ生成処理が実行される。この特殊再生用データ生成処理について、図10を参照して説明する。
【0040】
ステップS41において、イントラフレーム分離部12は、エンコーダ11から供給されてきたエンコードされたビデオデータを受信する。
【0041】
ステップS42において、イントラフレーム分離部12は、受信したビデオデータから、Iフレーム(イントラフレーム)のビデオデータを抜き出し、これを、特殊再生用データ生成部13に供給する。
【0042】
ステップS43において、特殊再生用データ生成部13は、イントラフレーム分離部12から供給されてきたIフレームのビデオデータに基づいて、特殊再生用データを生成し、生成した特殊再生用データをメモリ書き込み制御部31に出力する。
【0043】
ステップS44において、イントラフレーム分離部12は、データの入力が終了したか否かを判定する。データの入力が終了していないと判定された場合、処理は、ステップS41に戻り、それ以降の処理が繰り返される。
【0044】
ステップS44において、データの入力が終了したと判定された場合、特殊再生用データ生成処理は終了し、処理は、図9のステップS22に進む。
【0045】
図9に戻って、ステップS22において、メモリ書き込み処理が実行される。このメモリ書き込み処理について、図11を参照して説明する。なお、この処理は、特殊再生用データ生成部13から特殊再生用データが供給されてきたとき開始される。
【0046】
ステップS61において、メモリ書き込み制御部31は、図9のステップS21の処理により生成された(図10に示される特殊再生用データ生成処理により生成された)特殊再生用データを受信する。
【0047】
ステップ62において、メモリ書き込み制御部31は、バッファメモリ15A乃至バッファメモリ15Nの中に、使用可能な(書き込み可である)バッファメモリがあるか否かを判定する。
【0048】
すなわち、バッファメモリ15A乃至15Nには、図12に示されるように、特殊再生用データの他に、対応するDTS(Decoding Time Stamp)およびフラグが書き込まれる。DTSおよびフラグの情報は、メモリ書き込み制御部31およびメモリ読み出し制御部32の間で共有されている。DTSは、復号(デコード)のタイミングを表わす時刻管理情報であり、バッファメモリ15A乃至15Nのそれぞれに格納される特殊再生用データに対応して、DTS A乃至DTS Nとされる。
【0049】
フラグは、そのバッファメモリが書き込み可能(読み出し不可能)な状態のとき書き込み可とされ、読み出し可能(書き込み不可能)のとき、読み出し可とされる。
【0050】
従って、ステップS62の処理では、図12のバッファメモリ15A乃至バッファメモリ15Nの中にフラグが書き込み可とされているバッファメモリがあるか否かが判定される。図12の例の場合、バッファメモリ15Aとバッファメモリ15Bは書き込み可である。書き込み可能なバッファメモリがあると判定された場合、処理はステップS63に進む。
【0051】
ステップS63において、メモリ書き込み制御部31は、ステップS62において書き込み可能であると判定されたバッファメモリ(例えば、バッファメモリ15A)に特殊再生用データを記憶する。
【0052】
ステップS64において、メモリ書き込み制御部31は、いま書き込んだバッファメモリを特定する情報(例えば、バッファメモリ15Aの識別情報)と、そのビデオデータのDTSを記憶する。
【0053】
ステップS65において、メモリ書き込み制御部31は、ステップS63およびステップS64の処理において使用したバッファメモリ(いまの例の場合、バッファメモリ15A)のフラグを読み出し可にする(書き込みフラグを不可にする)。
【0054】
ステップS65の処理の後、または、ステップS62において、書き込み可能なバッファメモリがないと判定された場合、メモリ書き込み処理を終了し、処理は、図9のステップS23に進む。
【0055】
図11の処理は、ビデオデータの入力レートやメモリ読み出し制御部32の処理(後述する図13の処理)に拘わらず、イントラフレーム分離部12によりIフレームが抜き出され、特殊再生用データ生成部13により特殊再生用データが生成され、メモリ書き込み制御部31に供給されるたびに繰り返され、その処理は、後述するメモリ読み出し制御部32の処理とは独立している。
【0056】
図9に戻って、ステップS23において、メモリ読み出し処理が実行される。このメモリ読み出し処理について、図13を参照して説明する。
【0057】
ステップS81において、メモリ読み出し制御部32は、読み出し可能なバッファメモリ(フラグが読み出し可であるバッファメモリ)があるか否かを判定する。上述したように、DTSおよびフラグは、メモリ書き込み制御部31およびメモリ読み出し制御部32に共通の情報である。例えば、図12に示される状態では、バッファメモリ15Cとバッファメモリ15Nは、読み出し可となっている。これは、例えば、図11のステップS65の処理により、メモリ書き込み制御部31によりバッファメモリ15Cとバッファメモリ15Nに特殊再生用データが記憶されたためであり、バッファメモリ15Cとバッファメモリ15Nには、特殊再生用データが記憶されている。ステップS81において、読み出し可能なバッファメモリが存在しないと判定された場合、メモリ読み出し制御部32は、読み出し可能なバッファメモリがあると判定されるまで待機する。
【0058】
ステップS81において、読み出し可能なバッファメモリがあると判定された場合、処理はステップS82に進む。メモリ読み出し制御部32は、読み出し可能と判定されたバッファメモリ(いまの例の場合、バッファメモリ15Cまたはバッファメモリ15N)のDTSを取得する。
【0059】
ステップS83において、メモリ読み出し制御部32は、取得したDTSと、磁気テープ18上のトラックの現在の記録位置から換算したDTSとを比較する。
【0060】
ステップS84において、メモリ読み出し制御部32は、読み出す特殊再生用データが存在するか否かを判定する。具体的には、ステップS83において比較した結果により、取得したDTSが、いま磁気テープ18に記録可能なデータであるか否かを判定する。読み出すデータがないと判定された場合、処理はステップS81に戻り、それ以降の処理が繰り返される(次のバッファメモリのDTSが取得され、比較される)。
【0061】
ステップS84において、読み出す特殊再生用データがあると判定された場合、処理はステップS85に進み、メモリ読み出し制御部32は、ステップS82において取得したDTSが、前回処理したDTSと同じか否かを判定する。特殊再生用データは、磁気テープ18の異なるトラックに分割されて記録されることもあるため、これの判定が行なわれる。ステップS85において、前回処理したDTSと同一であると判定された場合、処理はステップS86に進み、メモリ読み出し制御部32は、前回処理したバッファメモリ(例えば、バッファメモリ15C)から、特殊再生用データを読み出す。
【0062】
ステップS85において、バッファメモリから読み出されたDTSが、前回処理したDTSと異なると判定された場合、処理はステップS87に進み、メモリ読み出し制御部32は、このDTSが記憶されているバッファメモリ(例えば、バッファメモリ15C)の先頭から、特殊再生用データを読み出す。
【0063】
ステップS86の処理の後、または、ステップS87の処理の後、ステップS88において、メモリ読み出し制御部32は、ステップS86またはステップS87において読み出したバッファメモリ(例えば、バッファメモリ15C)の全ての特殊再生用データを読み出したか否かを判定する。全ての特殊再生用データをまだ読み出していないと判定された場合、処理はステップS81に戻り、それ以降の処理が繰り返される。
【0064】
ステップS88において、バッファメモリの全てのデータが読み出されたと判定された場合、処理はステップS89に進み、メモリ読み出し制御部32は、ステップS88において、全てのデータを読み出したと判定したバッファメモリ(例えば、バッファメモリ15C)のフラグを書き込み可(読み出し不可)にし、メモリ読み出し処理を終了する。
【0065】
図9に戻って、ステップS23において、メモリ読み出し処理が終了すると、特殊再生用データ書き込み読み出し処理を終了し、処理は図8のステップS4に進む。
【0066】
以上のように、特殊再生用データを記憶するバッファメモリを複数個設け、メモリ書き込み制御部31およびメモリ読み出し制御部32が複数のバッファメモリに対するデータの書き込みおよび読み出しを制御することで、複数の特殊再生用データが複数のバッファメモリに記憶される。これにより、特殊再生用データの生成レート(Iフレームの入力レート)が磁気テープ18への書き込みレートより早い(例えば、Iフレームが9フレーム周期である)場合においても、複数のバッファメモリに各Iフレームから生成された特殊再生用データを格納できるため、全ての特殊再生用データを格納することが可能となる。
【0067】
また、フラグが書き込み可の状態においては、そのバッファメモリにおける読み出しは不可となる。一方、フラグが読み出し可の状態においては、そのバッファメモリにおける書き込みは不可となる。このため、特殊再生用データがパイプライン的に処理され、バッファメモリに格納された場合においても、データの書き込みが終了するまで、同じバッファメモリからデータが読み出されることを防ぐことが可能である。
【0068】
図14は、メモリ書き込み制御部31、バッファメモリ15A、バッファメモリ15B、バッファメモリ15C、・・・バッファメモリ15N、並びにメモリ読み出し制御部32の他の処理例を示す図である。
【0069】
この例においては、バッファメモリ15A、バッファメモリ15B、バッファメモリ15C、・・・バッファメモリ15Nには、図12において記憶されるDTSと書き込みフラグの他に、特定フラグが記録される。特定フラグは、例えば、つなぎ撮り点を示すフラグであり、つなぎ撮り点である場合、特定フラグがオンにされる。また、特定フラグの情報は、DTSや書き込み(読み出し)フラグの情報と同様に、メモリ書き込み制御部31およびメモリ読み出し制御部32が共有する。その他の構成は、図12と同様であり、繰り返しとなるため、その説明は省略する。
【0070】
図15は、図14のメモリ書き込み制御部31におけるメモリ書き込み処理を説明するフローチャートである。なお、この処理は、上述した図11と同様、図9のステップS22の処理を説明するものであり、特殊再生用データ生成部13から特殊再生用データが供給されてきたとき開始される。
【0071】
ステップS101において、メモリ書き込み制御部31は、図9のステップS21の処理において生成された(図10の特殊再生用データ生成処理により生成された)特殊再生用データを受信する。
【0072】
ステップS102において、メモリ書き込み制御部31は、バッファメモリ15A乃至バッファメモリ15Nの中に、使用可能な(書き込み可である)バッファメモリがあるか否かを判定する。具体的には、図14のバッファメモリ15A乃至バッファメモリ15Nの中に、書き込み可のフラグを有するバッファメモリがあるか否かが判定される。図14の例の場合、バッファメモリ15Aとバッファメモリ15Bは使用可能である。使用可能なバッファメモリがあると判定された場合、処理はステップS103に進む。
【0073】
ステップS103において、メモリ書き込み制御部31は、ステップS102において使用可能であると判定されたバッファメモリ(例えば、バッファメモリ15A)に特殊再生用データを記憶する。
【0074】
ステップS104において、メモリ書き込み制御部31は、バッファメモリ(いまの例の場合、バッファメモリ15A)に記憶した特殊再生用データが、つなぎ撮り点のデータであるか否か(特定フラグがオンであるか否か)を判定する。ステップS104において、つなぎ撮り点のデータであると判定された場合、処理は、ステップS105に進み、メモリ書き込み制御部31は、そのバッファメモリを特定する情報(例えば、バッファメモリ15Aの識別情報)、DTSを記憶するとともに、つなぎ撮り点であることを表わす特定フラグをオンにする。
【0075】
ステップS104において、つなぎ撮り点のデータではないと判定された場合、処理は、ステップS106に進み、メモリ書き込み制御部31は、使用したバッファメモリを特定する情報(例えば、バッファメモリ15Aの識別情報)と、DTSを記憶する。
【0076】
ステップS105の処理の後、または、ステップS106の処理の後、ステップS107において、メモリ書き込み制御部31は、いま使用したバッファメモリ(いまの例の場合、バッファメモリ15A)を読み出し可にする(書き込みフラグをオフにする)。
【0077】
ステップS107の処理の後、または、ステップS102において使用可能なバッファメモリがないと判定された場合、メモリ書き込み処理を終了し、処理は、図9のステップS23に進む。
【0078】
図16は、図14のメモリ読み出し制御部32におけるメモリ読み出し処理を説明するフローチャートである。なお、この処理は、上述した図13と同様、図9のステップS23の処理を説明するものであり、磁気テープ18上の記録位置が、特殊再生用データを記録する位置に来たときに開始される。
【0079】
ステップS121において、メモリ読み出し制御部32は、読み出し可能なバッファメモリがあるか否かを判定する。例えば、図14に示されるように、バッファメモリ15Cとバッファメモリ15Nは、読み出し可となっている。ステップS121において、読み出し可能なバッファメモリがないと判定された場合、読み出し可能なバッファメモリがあると判定されるまで待機する。
【0080】
ステップS121において、読み出し可能なバッファメモリがあると判定された場合、処理は、ステップS122に進み、メモリ読み出し制御部32は、読み出し可能と判定されたバッファメモリ(いまの例の場合、バッファメモリ15Cまたはバッファメモリ15N)のDTSを取得する。
【0081】
ステップS123において、メモリ読み出し制御部32は、取得したDTSと、磁気テープ18上のトラックの記録位置から換算したDTSとを比較する。
【0082】
ステップS124において、メモリ読み出し制御部32は、読み出す特殊再生用データがあるか否かを判定する。具体的には、ステップS123において比較した結果により、取得したDTSが、いま磁気テープ18に記録可能なデータであるか否かを判定する。読み出すデータがないと判定された場合、処理はステップS125に進み、メモリ読み出し制御部32は、ステップS122において取得したバッファメモリと同じバッファメモリ(いまの例の場合、バッファメモリ15C)に記憶されている特殊再生用データがつなぎ撮り点のデータであるか否かを判定する(特定フラグがオンか否かを判定する)。つなぎ撮り点のデータではないと判定された場合、処理はステップS121に戻り、それ以降の処理が繰り返される。
【0083】
ステップS125においてつなぎ撮り点のデータであると判定された場合、または、ステップS124において、読み出すデータがあると判定された場合、処理はステップS126に進み、メモリ読み出し制御部32は、ステップS122において取得したDTSが、前回処理したDTSと同じか否かを判定する。特殊再生用データは、磁気テープ18の異なるトラックに分割されて記録されることもあるため、これが判定される。ステップS126において、前回処理したDTSと同一であると判定された場合、処理は、ステップS127に進み、メモリ読み出し制御部32は、前回処理したバッファメモリ(例えば、バッファメモリ15C)から、特殊再生用データを読み出す。
【0084】
ステップS126において、ステップS122において取得したDTSが、前回処理したDTSと異なると判定された場合、処理はステップS128に進み、メモリ読み出し制御部32は、このDTSが記憶されているバッファメモリ(例えば、バッファメモリ15C)の先頭から、特殊再生用データを読み出す。
【0085】
ステップS127の処理の後、または、ステップS128の処理の後、ステップS129において、メモリ読み出し制御部32は、ステップS127またはステップS128において読み出したバッファメモリ(例えば、バッファメモリ15C)の全ての特殊再生用データを読み出したか否かを判定する。全ての特殊再生用データをまだ読み出していないと判定された場合、処理はステップS121に戻り、それ以降の処理が繰り返される。
【0086】
ステップS129において、バッファメモリの全てのデータを読み出したと判定された場合、処理はステップS130に進み、メモリ読み出し制御部32は、ステップS129において全てのデータを読み出したと判定されたバッファメモリ(例えば、バッファメモリ15C)を書き込み可にし、(書き込みフラグをオンにし)メモリ読み出し処理を終了する。
【0087】
図9に戻って、ステップS23において、メモリ読み出し処理が終了すると、特殊再生用データ記録処理を終了し、処理は図8のステップS4に進む。
【0088】
このように、図12のバッファメモリに記憶される情報に、図14に示されるように特定フラグ(つなぎ撮り点を示すフラグ)を追加することによって、例えば、つなぎ撮り点の先頭のIフレームを記録媒体に記録したい場合においても、特定フラグを参照することにより(例えば、特定フラグが立っているときはデータを読み出し、特定フラグがオンしていない(オフしている)ときはデータを読み出さずに、次回の処理要求まで待機することにより)、記録することが可能である。
【0089】
図17は、本発明のデジタルVTR30の他の構成例を示す図である。図中、図7と対応する部分については、同一の符号を付してあり、その説明は、繰り返しになるので省略する。
【0090】
デジタルVTR30には、図7の構成に加えて、データ抽出部51、バッファメモリ52A、バッファメモリ52B、バッファメモリ52C、・・・バッファメモリ52M、および、メモリ読み出し制御部53が、新たに備えられている。
【0091】
データ抽出部51は、バッファメモリ15A、バッファメモリ15B、バッファメモリ15C、・・・バッファメモリ15Nに記憶されている特殊再生用データのうち、所望する倍速に対応するデータ(第2の特殊再生用データ)をバッファメモリ(例えば、バッファメモリ15C)から抽出し、これを、バッファメモリ(例えば、バッファメモリ52A)に格納する。
【0092】
この例の場合、メモリ読み出し制御部32は、バッファメモリ15A乃至バッファメモリ15Nから8倍速の特殊再生用データを読み出し、データ多重化部16に出力する。データ抽出部51は、バッファメモリ15A乃至バッファメモリ15Nに格納されているデータ(第1の特殊再生用データ)から24倍速用のデータに対応するデータを抽出し、これをバッファメモリ52A乃至バッファメモリ52M(第2の特殊再生用データ用のバッファメモリ)に格納する。メモリ読み出し制御部53はこの第2の特殊再生用データを読み出し、データ多重化部16に供給する。
【0093】
データ多重化部16は、これら(8倍速と24倍速の2種類)の特殊再生用データとバッファメモリ14に格納されている通常再生用データについて、語長制限等の処理を行った後、オーディオデータおよびシステムデータと共にこれを多重化し、記録フォーマット処理部17に供給する。記録フォーマット処理部17は、供給されてきたデータに対して、誤り訂正符号の付加や、変調等の処理を実行し、磁気テープ18に記録する。
【0094】
次に、図18を参照して、図17のデータ抽出部51が実行するデータ抽出処理について説明する。
【0095】
ステップS151において、データ抽出部51は、第2の特殊再生用データ(いまの例の場合、24倍速の特殊再生用データ)を書き込むタイミングか否かを判定する。具体的には、磁気テープ18上のトラックから換算したDTSに基づいて、この判定が行なわれる。
【0096】
ステップS151において、第2の特殊再生用データを書き込むタイミングであると判定された場合、処理は、ステップS152に進み、データ抽出部51は、バッファメモリ15A乃至バッファメモリ15Nの中から、読み出し可能なバッファメモリのDTSを取得する。具体的には、図12に示されるように、バッファメモリ15A乃至バッファメモリ15Nの中から、読み出し可であるバッファメモリ(読み出しフラグがオン(書き込みフラグがオフ)のバッファメモリ)のDTSを取得する。
【0097】
ステップS153において、データ抽出部51は、取得したDTSと磁気テープ18上のトラックから換算したDTSとを比較する。
【0098】
ステップS154において、データ抽出部51は、転送する(抽出する)第2の特殊再生用データがあるか否かを判定する。具体的には、ステップS153において比較した結果に基づいて、取得したDTSが、いま磁気テープ18に記録可能なデータであるか否かを判定する。転送するデータがあると判定された場合、処理は、ステップS155に進み、データ抽出部51は、ステップS152において取得したDTSが記憶されているバッファメモリ(第1の特殊再生用データが格納されているバッファメモリ)のデータをバッファメモリ52A乃至バッファメモリ52Mの中の書き込み可であるバッファメモリ(第2の特殊再生用データを格納するバッファメモリ)に転送する。
【0099】
ステップS155の処理の後、ステップS154において、転送するデータがないと判定された場合、または、ステップS151において、第2の特殊再生用データを書き込むタイミングでないと判定された場合、処理はステップS151に戻り、それ以降の処理が繰り返される。
【0100】
このように、データ抽出部51、バッファメモリ52A乃至バッファメモリ52M、メモリ読み出し制御部53を加えることにより、簡単に2種類の特殊再生データを記録することが可能となる。
【0101】
図19は、データ抽出部51、バッファメモリ52A、バッファメモリ52B、バッファメモリ52C、・・・バッファメモリ52M、メモリ読み出し制御部53の動作を説明する図である。この場合においても、DTSとフラグが各バッファメモリに書き込まれる。その基本的な動作は、図12における場合と同様であるので、その説明は省略する。
【0102】
なお、図19において、バッファメモリ52A乃至バッファメモリ52Mに記憶されるデータに、図14に示されるような特定フラグを付加することも可能である。これにより、つなぎ撮り点先頭のIフレームから生成された特殊再生用データをも記録することが可能となる。
【0103】
また、図19に示されるようなブロックを複数段備えることにより、3つ以上の特殊再生データを記録することが可能となる。
【0104】
以上のように、デジタルVTR30において、複数のバッファメモリと、そのバッファメモリに対する書き込みおよび読み出しを制御する処理を付加することにより、入力される全てのIフレームから特殊再生用データを生成記録することが可能となる。これにより、より滑らか(更新率の高い)Cue/Reviewを実現することができる。
【0105】
また、生成した特殊再生用データに時間軸情報(DTS)を取得することで、記録媒体上での記録位置および記録順序を正しく制御することが可能である。
【0106】
さらに、バッファメモリを適切に増加させることにより、特殊再生用データの生成レート、記録レートが変化しても、メモリ書き込み制御部31およびメモリ読み出し制御部32を変更する必要がない、システム構成が可能である。
【0107】
また、図14に示されるように、図12と同じシステム構成でも、ブロック内のアルゴリズムを変更することにより、さまざまなトリックプレイに対応することが可能となる。例えば、記録媒体上で特殊再生用データに割り当てられた領域が変化した場合、メモリ書き込み制御部31およびメモリ読み出し制御部32において用いる特定データの種類を複数用意する(特定フラグを複数用意する)ことにより、特殊再生用データの間引き率(更新率)を任意に変えたフォーマットに対応することも可能となる。
【0108】
さらに、特殊再生用データの記録レートが一定である場合、更新率を下げることにより、特殊再生用データ1枚当たりのデータ量を増やすことも可能となるため、画質を向上させることも可能である。
【0109】
また、図19に示されるように、データ抽出部51、バッファメモリ(第2の特殊再生用データを記憶するバッファメモリ)、メモリ読み出し制御部53を、図7のデジタルVTR30に付加することにより、2種類の特殊再生用データを同時に記録することが可能となる。特殊再生用データ生成部13により、全てのIフレームから、特殊再生用データを生成され、バッファメモリ15A乃至バッファメモリ15Nに記憶されているため、磁気テープ18上の、特殊再生用データの記録レートが許せば、2種類以上の特殊再生データの記録も可能となる。この場合、図19に示されるようなブロックを記録したい特殊再生の数だけ付加すればよい。
【0110】
なお、以上の例では、バッファメモリにDTSを記憶するようにしたが、DTSは、書き込んだ特殊再生用データに唯一な時間軸上の値であれば、他のものでもよい。
【0111】
上述した一連の処理は、ハードウエアにより実行させることもできるが、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム格納媒体からインストールされる。この場合、例えば、デジタルVTR30は、図20に示されるようなパーソナルコンピュータ100により構成される。
【0112】
図20において、CPU(Central Processing Unit)101は、ROM(Read Only Memory)102に記憶されているプログラム、または、記憶部108からRAM(Random Access Memory)103にロードされたプログラムに従って各種の処理を実行する。RAM103にはまた、CPU101が各種の処理を実行する上において必要なデータなどが適宜記憶される。
【0113】
CPU101、ROM102、およびRAM103は、バス104を介して相互に接続されている。このバス104にはまた、入出力インターフェース105も接続されている。
【0114】
入出力インターフェース105には、キーボード、マウスなどよりなる入力部106、CRT(cathode Ray Tube),LCD(Liquid Crystal Display)などよりなるディスプテイ、並びにスピーカなどよりなる出力部107、ハードディスクなどより構成される記憶部108、モデム、ターミナルアダプタなどより構成される通信部109が接続されている。通信部109は、ネットワークを介しての通信処理を行う。
【0115】
入出力インターフェース105にはまた、必要に応じてドライブ110が接続され、磁気ディスク121、光ディスク122、光磁気ディスク123、或いは半導体メモリ124などが適宜装着され、それから読み出されたコンピュータプログラムが、必要に応じて記憶部108にインストールされる。
【0116】
一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用の専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば、汎用のパーソナルコンピュータなどに、ネットワークやプログラム格納媒体からインストールされる。
【0117】
このプログラム格納媒体は、図20に示されるように、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク121(フロッピディスクを含む)、光ディスク122(CD-ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク123(MD(Mini Disc)を含む)、半導体メモリ124などによりなるパッケージメディアにより構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される、プログラムが記録されているROM102や記憶部108が含まれるハードディスクなどで構成される。
【0118】
なお、本明細書において、コンピュータプログラムを記述するステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0119】
【発明の効果】
以上の如く、本発明によれば、符号化された画像データから特殊再生用データを生成することができる。また、本発明によれば、イントラフレームの入力レートによらず、任意のイントラフレームから特殊再生用データを生成することができる。
【図面の簡単な説明】
【図1】従来のデジタルVTRの構成例を示すブロック図である。
【図2】1GOPが15フレームにより構成されるフレームの配置例を示す図である。
【図3】図2のフレーム構成におけるバッファメモリの占有状態の例を示す図である。
【図4】1GOPが9フレームにより構成されるフレームの配置例を示す図である。
【図5】図4のフレーム構成におけるバッファメモリの占有状態の例を示す図である。
【図6】つなぎ撮りされたストリームのフレームの配置例を示す図である。
【図7】本発明を適用したデジタルVTRの構成例を示すブロック図である。
【図8】図7のデジタルVTRにおけるデータ記録処理を説明するフローチャートである。
【図9】図8のステップS3の特殊再生用データ書き込み読み出し処理を説明するフローチャートである。
【図10】図9のステップS21の特殊再生用データ生成処理を説明するフローチャートである。
【図11】図9のステップS22のメモリ書き込み処理を説明するフローチャートである。
【図12】図7のバッファメモリに関する処理を説明する図である。
【図13】図9のステップS23のメモリ読み出し処理を説明するフローチャートである。
【図14】図7のバッファメモリに関する処理を説明する図である。
【図15】図14のメモリ書き込み制御部におけるメモリ書き込み処理を説明するフローチャートである。
【図16】図14のメモリ読み出し制御部におけるメモリ読み出し処理を説明するフローチャートである。
【図17】本発明のデジタルVTRの他の構成例を示すブロック図である。
【図18】図17のデータ抽出部が実行するデータ抽出処理を説明するフローチャートである。
【図19】図17のバッファメモリに関する処理を説明する図である。
【図20】パーソナルコンピュータの構成例を示すブロック図である。
【符号の説明】
12 イントラフレーム分離部, 13 特殊再生用データ生成部, 15Aバッファメモリ, 31 メモリ書き込み制御部, 32 メモリ読み出し制御部, 51 データ抽出部, 52 バッファメモリ, 53 メモリ読み出し制御部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing apparatus and method, a program storage medium, and a program, and more particularly to a data processing apparatus and method, a program storage medium, and a data processing apparatus and method capable of reliably generating special reproduction data from encoded image data. Regarding the program.
[0002]
[Prior art]
In recent years, MPEG (Moving Picture Experts Group) 2 has attracted attention as a general-purpose encoding method for high-definition images. The MPEG2 system is a motion-compensated predictive encoding system that encodes data by compressing the amount of information using correlation between frames. The sequence encoded by the MPEG2 system includes I (intra) pictures (pictures of intra-frame encoded images) at regular intervals, and the I picture is a discrete cosine transform (DCT). Alternatively, encoding is performed using only data in one frame by quantization or the like.
[0003]
Therefore, in a digital VTR (Video Tape Recorder), in addition to generating high-resolution data for normal playback from input video data, an I picture (intra frame) generated at a fixed period (for example, 15 frames) It has been proposed that low resolution data for special reproduction is generated using data, and the generated special reproduction data is recorded in a recording area provided in a special storage area for special reproduction.
[0004]
FIG. 1 is a block diagram showing a configuration of a conventional digital VTR 1 for recording normal reproduction data and special reproduction data.
[0005]
The encoder 11 encodes the supplied video data by the MPEG method, and supplies the encoded video data to the intra frame separation unit 12 and the buffer memory 14. The buffer memory 14 stores the supplied data (normal reproduction data). The intra frame separation unit 12 extracts an intra frame (hereinafter referred to as an I frame) from the supplied MPEG data, and outputs this to the special reproduction data generation unit 13. The special reproduction data generating unit 13 generates special reproduction data from the I frame video data and supplies the special reproduction data to the buffer memory 15. The buffer memory 15 stores the supplied special reproduction data.
[0006]
The data multiplexing unit 16 reads the normal reproduction data and special reproduction data stored in the buffer memory 14 and the buffer memory 15, performs processing such as word length restriction, and then processes this along with audio data and system data Multiplexed and supplied to the recording format processing unit 17. The recording format processing unit 17 performs processing such as error correction code addition and modulation on the supplied data, and records the data on the magnetic tape 18.
[0007]
FIG. 2 is a diagram illustrating an arrangement example of frames in which one GOP is configured by 15 frames. FIG. 3 is a diagram illustrating an example of the occupied state of the buffer memory in the frame configuration of FIG. At time t1, special reproduction data is input to the buffer memory 15, and at time t2, the recording on the magnetic tape 18 is completed, and the buffer memory 15 becomes empty at the same time. At this time, the VBV (Video Buffering Verifier) delay (which indicates the amount of buffer memory accumulated in 90 Hz clock time) size of the I frame is time T1. Specifically, the time T1 is the time from the time t1 of the input timing to the time when the next I frame (the first frame of each 1 GOP in the VIDEO phase based on the DTS) is input. Description of time t3 to time t12 and time T2 to time T6 is the same as that of time t1 and time t2 and time T1, and is therefore omitted.
[0008]
[Problems to be solved by the invention]
However, as shown in FIG. 2, the digital VTR 1 is shown in FIG. 3 when the special reproduction data generation rate (that is, the input rate of the I frame) is low (I frame has a period of 15 frames). As shown, since the recording completion timing (time t2) of the special reproduction data is earlier than the input timing (time t3) of the next special reproduction data, all the special reproduction data can be recorded. As shown in FIG. 4, the special reproduction data generation rate (I frame input rate) is faster than the write rate to the magnetic tape 18 (in the example of FIG. 4, the I frame has a period of 9 frames (1 GOP is 9 frames). ))), As shown in FIG. 5, the recording of the next special reproduction data is started from the recording completion timing (time t27) of the special reproduction data. The force timing (time t26) is earlier, in its timing, it is not possible to record the special playback data.
[0009]
That is, at time t26, the next special reproduction data is input to the buffer memory 15. At this time, since all the special reproduction data input at time t25 is not yet recorded in the buffer memory 15, Remaining.
[0010]
A similar situation occurs at the timings at times t30 and t31 and at timings t36 and t37.
[0011]
Short GOPs can also be caused by repeated stitching. FIG. 6 is a diagram illustrating an example of the arrangement of frames in a stream that has been shot together. In the figure, Pi (i = 1, 2,...) Indicates a stitching point. In this example, as a result of performing continuous shooting at points P1 to P5, 1 GOP is 3 frames.
[0012]
Even in such a case, a timing at which special reproduction data cannot be recorded occurs.
[0013]
As described above, when there are few frames constituting one GOP, there is a problem that a timing at which special reproduction data cannot be recorded occurs.
[0014]
The present invention has been made in view of such circumstances, and makes it possible to reliably generate special reproduction data from compressed digital data.
[0015]
[Problems to be solved by the invention]
  The image processing apparatus according to the present invention generates separation reproduction means for separating an intra frame from image data, and special reproduction data from the intra frame separated by the separation means.At the same time, first accompanying information that is time information corresponding to the special reproduction data is generated.Generation means, special reproduction data generated by generation means, and first accompanying informationIs written to one of the multiple storage units, and the written storage unit is readable or writableStored informationUpdateBy writing means and writing meansCaseBased on the first accompanying information and stored information written in the storage section,CaseTo NobebuWritingRead the special playback dataAt the same time, the storage information of the read storage unit is updated.Reading means;ReadingRecording means for recording the special reproduction data read by the reading means on a recording medium, and the writing means includes a plurality of storage units based on the storage information.Out ofWritePossibleSelect the storageWrite special playback data and update the storage information of the selected storage unit to indicate that it can be read.,ReadingBased on the stored information, the flushing meansCaseNabebeOut ofReadPossibleSelect storageWhen the comparison result between the time information converted from the recording position on the recording medium and the first accompanying information in the selected storage unit indicates that the special reproduction data can be recorded on the recording medium, Read the special playback data and update the storage information of the selected storage unit to indicate that it can be writtenIt is characterized by doing.
[0016]
  SaidWriting means andReadingThe flushing means can share the first attached information and the stored information.
[0017]
  The writing means can write the second accompanying information indicating whether or not the special reproduction data written in the storage unit is a splice point in the storage unit.
[0022]
  The image processing method of the present invention generates a special reproduction data from a separation step of separating an intra frame from image data and the intra frame separated by the processing of the separation step.At the same time, first accompanying information that is time information corresponding to the special reproduction data is generated.Generation step, special reproduction data generated by the processing of the generation step, and first accompanying informationIs written to one of the multiple storage units, and the written storage unit is readable or writableStored informationUpdateBy the writing step and the processing of the writing stepCaseBased on the first accompanying information and stored information written in the storage section,CaseTo NobebuWritingRead the special playback dataAt the same time, the storage information of the read storage unit is updated.A read step;ReadingA recording step of recording the special reproduction data read by the reading step on a recording medium, and the processing of the writing step is based on the storage information.Out ofWritePossibleSelect the storageWrite special playback data and update the storage information of the selected storage unit to indicate that it can be read.,ReadingThe flooding step process is based on the stored information.CaseNabebeOut ofReadPossibleSelect storageWhen the comparison result between the time information converted from the recording position on the recording medium and the first accompanying information in the selected storage unit indicates that the special reproduction data can be recorded on the recording medium, Read the special playback data and update the storage information of the selected storage unit to indicate that it can be writtenIt is characterized by doing.
[0023]
  Of the present inventionRecording mediaThe program generates a special reproduction data from the separation step for separating the intra frame from the image data and the intra frame separated by the processing of the separation step.At the same time, first accompanying information that is time information corresponding to the special reproduction data is generated.Generation step, special reproduction data generated by the processing of the generation step, and first accompanying informationIs written to one of the multiple storage units, and the written storage unit is readable or writableStored informationUpdateBy the writing step and the processing of the writing stepCaseBased on the first accompanying information and stored information written in the storage section,CaseTo NobebuWritingRead the special playback dataAt the same time, the storage information of the read storage unit is updated.A read step;ReadingA recording step of recording the special reproduction data read by the reading step on a recording medium, and the processing of the writing step is based on the storage information.Out ofWritePossibleSelect the storageWrite special playback data and update the storage information of the selected storage unit to indicate that it can be read.,ReadingThe flooding step process is based on the stored information.CaseNabebeOut ofReadPossibleSelect storageWhen the comparison result between the time information converted from the recording position on the recording medium and the first accompanying information in the selected storage unit indicates that the special reproduction data can be recorded on the recording medium, Read the special playback data and update the storage information of the selected storage unit to indicate that it can be writtenIt is characterized by doing.
[0024]
  The program according to the present invention generates a special reproduction data from a separation step of separating an intra frame from image data and an intra frame separated by the processing of the separation step.At the same time, first accompanying information that is time information corresponding to the special reproduction data is generated.Generation step, special reproduction data generated by the processing of the generation step, and first accompanying informationIs written to one of the multiple storage units, and the written storage unit is readable or writableStored informationUpdateBy the writing step and the processing of the writing stepCaseBased on the first accompanying information and stored information written in the storage section,CaseTo NobebuWritingRead the special playback dataAt the same time, the storage information of the read storage unit is updated.A read step;ReadingA recording step of recording the special reproduction data read by the reading step on a recording medium, and the processing of the writing step is based on the storage information.Out ofWritePossibleSelect the storageWrite special playback data and update the storage information of the selected storage unit to indicate that it can be read.,ReadingThe flooding step process is based on the stored information.CaseNabebeOut ofReadPossibleSelect storageWhen the comparison result between the time information converted from the recording position on the recording medium and the first accompanying information in the selected storage unit indicates that the special reproduction data can be recorded on the recording medium, Read the special playback data and update the storage information of the selected storage unit to indicate that it can be writtenIt is characterized by doing.
[0025]
The image processing apparatus may be configured as a recording-dedicated apparatus, or may be configured as a block that performs recording processing of an apparatus that performs both recording and reproduction.
[0026]
  The present inventionInInIntra frames are separated from the image data, special reproduction data is generated from the separated intra frames, and first accompanying information that is time information corresponding to the special reproduction data is generated, and the generated special reproduction is generated. The data for storage and the first accompanying information are written in any of a plurality of storage units, and the storage information indicating that the written storage unit is readable or writable is updated. Further, based on the first accompanying information and storage information written in the storage unit, the special reproduction data written in the storage unit is read, and the storage information in the read storage unit is updated.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 7 is a block diagram showing a configuration example of a digital VTR 30 to which the present invention is applied. In the figure, portions corresponding to those in FIG. 1 are denoted by the same reference numerals, and the description thereof will be omitted because it will be repeated.
[0028]
In this example, the special reproduction data generation unit 13 generates special reproduction data from the I frame and supplies it to the memory write control unit 31. The memory write control unit 31 controls writing of special reproduction data to the buffer memory 15A, the buffer memory 15B,... The memory read control unit 32 controls reading of special reproduction data from the buffer memory 15A, buffer memory 15B,..., Buffer memory 15N, and multiplexes the special reproduction data read from the buffer memories 15A to 15N. To the conversion unit 16.
[0029]
The data multiplexing unit 16 performs processing such as word length restriction on the special reproduction data supplied from the memory read control unit 32 and the normal reproduction data supplied from the buffer memory 14 and then illustrated. The audio data and the system data input from the input unit are multiplexed and supplied to the recording format processing unit 17. The recording format processing unit 17 performs processing such as error correction code addition and modulation on the supplied data, and records the data on the magnetic tape 18.
[0030]
Next, data recording processing in the digital VTR 30 will be described with reference to FIG. This process is started when the user instructs to record data by operating an operation unit (not shown).
[0031]
In step S1, the encoder 11 encodes the input video data. The encoded data is supplied to the buffer memory 14 and the intra frame separation unit 12. The intra frame separation unit 12 extracts intra frame video data from the input video data and supplies the extracted video data to the special reproduction data generation unit 13.
[0032]
In step S2, the buffer memory 14 stores the supplied data. The data stored in the buffer memory 14 is supplied to the data multiplexing unit 16.
[0033]
In step S3, the special reproduction data is written and read. That is, the special reproduction data generation unit 13 generates special reproduction data. The memory write processing unit 31 stores the special reproduction data in, for example, the buffer memory 15A. The memory read processing unit 32 reads this and supplies it to the data multiplexing unit 16. Details of the special reproduction data write / read processing will be described later with reference to FIG.
[0034]
In step S <b> 4, the data multiplexing unit 16 determines whether the normal reproduction data and the special reproduction data are supplied from the buffer memory 14 and the memory read control unit 32. If it is determined that the normal reproduction data and the special reproduction data have not been input yet, the data multiplexing unit 16 waits until the normal reproduction data and the special reproduction data are input.
[0035]
If it is determined in step S4 that normal reproduction data and special reproduction data have been input, the process proceeds to step S5, and the data multiplexing unit 16 restricts the word length for the normal reproduction data and special reproduction data. The data is multiplexed with audio data and system data, and supplied to the recording format processing unit 17.
[0036]
In step S 6, the recording format processing unit 17 adds an error correction code to the multiplexed data supplied from the data multiplexing unit 16 and modulates the multiplexed data.
[0037]
In step S 7, the recording format processing unit 17 adds the error correction code in step S 6 and records the modulated data on the magnetic tape 18.
[0038]
Next, the special reproduction data write / read processing in step S3 of FIG. 8 will be described with reference to FIG. This process is started when the data encoded in step S1 of FIG. 8 is supplied to the intra frame separation unit 12.
[0039]
In step S21, special reproduction data generation processing is executed. This special reproduction data generation processing will be described with reference to FIG.
[0040]
In step S <b> 41, the intra frame separation unit 12 receives the encoded video data supplied from the encoder 11.
[0041]
In step S <b> 42, the intra frame separating unit 12 extracts I frame (intra frame) video data from the received video data, and supplies this to the special reproduction data generating unit 13.
[0042]
In step S43, the special reproduction data generation unit 13 generates special reproduction data based on the I-frame video data supplied from the intra frame separation unit 12, and performs memory write control on the generated special reproduction data. To the unit 31.
[0043]
In step S44, the intra frame separation unit 12 determines whether or not the data input is completed. If it is determined that the data input has not ended, the process returns to step S41, and the subsequent processes are repeated.
[0044]
If it is determined in step S44 that the data input has been completed, the special reproduction data generation processing ends, and the processing proceeds to step S22 in FIG.
[0045]
Returning to FIG. 9, in step S22, a memory write process is executed. This memory writing process will be described with reference to FIG. This process is started when special reproduction data is supplied from the special reproduction data generation unit 13.
[0046]
In step S61, the memory write control unit 31 receives the special reproduction data generated by the process of step S21 of FIG. 9 (generated by the special reproduction data generation process shown in FIG. 10).
[0047]
In step 62, the memory write control unit 31 determines whether there is a usable (writable) buffer memory in the buffer memories 15A to 15N.
[0048]
That is, in the buffer memories 15A to 15N, as shown in FIG. 12, in addition to the special reproduction data, the corresponding DTS (Decoding Time Stamp) and flag are written. The DTS and flag information are shared between the memory write control unit 31 and the memory read control unit 32. DTS is time management information indicating the timing of decoding (decoding), and is DTS A to DTS N corresponding to the special reproduction data stored in each of the buffer memories 15A to 15N.
[0049]
The flag can be written when the buffer memory is in a writable (unreadable) state, and can be read when the buffer memory is readable (unwritable).
[0050]
Therefore, in the process of step S62, it is determined whether or not there is a buffer memory in which the flag is writable in the buffer memories 15A to 15N of FIG. In the example of FIG. 12, the buffer memory 15A and the buffer memory 15B are writable. If it is determined that there is a writable buffer memory, the process proceeds to step S63.
[0051]
In step S63, the memory write control unit 31 stores the special reproduction data in the buffer memory determined to be writable in step S62 (for example, the buffer memory 15A).
[0052]
In step S64, the memory write control unit 31 stores information specifying the buffer memory just written (for example, identification information of the buffer memory 15A) and the DTS of the video data.
[0053]
In step S65, the memory write control unit 31 enables reading of the flag of the buffer memory (in this example, the buffer memory 15A) used in the processing of step S63 and step S64 (disables the write flag).
[0054]
After the process of step S65 or when it is determined in step S62 that there is no writable buffer memory, the memory write process is terminated, and the process proceeds to step S23 of FIG.
[0055]
In the process of FIG. 11, regardless of the input rate of video data and the process of the memory read control unit 32 (the process of FIG. 13 described later), the I frame is extracted by the intra frame separation unit 12, and the special reproduction data generation unit 13 is repeated each time the special reproduction data is generated and supplied to the memory write control unit 31, and the process is independent of the process of the memory read control unit 32 described later.
[0056]
Returning to FIG. 9, in step S23, a memory read process is executed. This memory read processing will be described with reference to FIG.
[0057]
In step S81, the memory read control unit 32 determines whether there is a readable buffer memory (a buffer memory whose flag is readable). As described above, the DTS and the flag are information common to the memory write control unit 31 and the memory read control unit 32. For example, in the state shown in FIG. 12, the buffer memory 15C and the buffer memory 15N are readable. This is because, for example, the special reproduction data is stored in the buffer memory 15C and the buffer memory 15N by the memory write control unit 31 by the processing in step S65 of FIG. 11, and the special data is stored in the buffer memory 15C and the buffer memory 15N. Playback data is stored. If it is determined in step S81 that there is no readable buffer memory, the memory read control unit 32 waits until it is determined that there is a readable buffer memory.
[0058]
If it is determined in step S81 that there is a readable buffer memory, the process proceeds to step S82. The memory read control unit 32 acquires the DTS of the buffer memory determined to be readable (in this example, the buffer memory 15C or the buffer memory 15N).
[0059]
In step S <b> 83, the memory read control unit 32 compares the acquired DTS with the DTS converted from the current recording position of the track on the magnetic tape 18.
[0060]
In step S84, the memory read control unit 32 determines whether or not special reproduction data to be read exists. Specifically, it is determined from the result of the comparison in step S83 whether the acquired DTS is data that can be recorded on the magnetic tape 18 now. If it is determined that there is no data to be read, the process returns to step S81, and the subsequent processes are repeated (the DTS of the next buffer memory is acquired and compared).
[0061]
If it is determined in step S84 that there is special reproduction data to be read, the process proceeds to step S85, and the memory read control unit 32 determines whether or not the DTS acquired in step S82 is the same as the previously processed DTS. To do. Since the special reproduction data may be divided and recorded on different tracks of the magnetic tape 18, this determination is made. If it is determined in step S85 that the DTS is the same as the previously processed DTS, the process proceeds to step S86, and the memory read control unit 32 reads the special reproduction data from the previously processed buffer memory (for example, the buffer memory 15C). Is read.
[0062]
If it is determined in step S85 that the DTS read from the buffer memory is different from the previously processed DTS, the process proceeds to step S87, and the memory read control unit 32 stores the DTS in which the DTS is stored ( For example, the special reproduction data is read from the head of the buffer memory 15C).
[0063]
After the process of step S86 or after the process of step S87, in step S88, the memory read control unit 32 performs the special reproduction for all the buffer memories (for example, the buffer memory 15C) read in step S86 or step S87. It is determined whether or not data has been read. If it is determined that all the special reproduction data has not yet been read, the process returns to step S81, and the subsequent processes are repeated.
[0064]
If it is determined in step S88 that all data in the buffer memory has been read, the process proceeds to step S89, and the memory read control unit 32 determines that all data has been read in step S88 (for example, , The flag of the buffer memory 15C) is made writable (cannot be read), and the memory read processing is ended.
[0065]
Returning to FIG. 9, when the memory reading process is completed in step S23, the special reproduction data writing / reading process is ended, and the process proceeds to step S4 in FIG.
[0066]
As described above, a plurality of buffer memories for storing special reproduction data are provided, and the memory write control unit 31 and the memory read control unit 32 control the writing and reading of data to and from the plurality of buffer memories. Playback data is stored in a plurality of buffer memories. As a result, even when the special reproduction data generation rate (I frame input rate) is faster than the write rate to the magnetic tape 18 (for example, the I frame has a period of 9 frames), each buffer memory has each I Since special reproduction data generated from a frame can be stored, all special reproduction data can be stored.
[0067]
When the flag is writable, reading from the buffer memory is not possible. On the other hand, when the flag is readable, writing to the buffer memory is not possible. For this reason, even when the special reproduction data is processed in a pipeline and stored in the buffer memory, it is possible to prevent the data from being read from the same buffer memory until the data writing is completed.
[0068]
FIG. 14 is a diagram illustrating another processing example of the memory write control unit 31, the buffer memory 15A, the buffer memory 15B, the buffer memory 15C,..., The buffer memory 15N, and the memory read control unit 32.
[0069]
In this example, a specific flag is recorded in the buffer memory 15A, buffer memory 15B, buffer memory 15C,..., Buffer memory 15N in addition to the DTS and write flag stored in FIG. The specific flag is, for example, a flag indicating a joining point, and when it is a joining point, the specific flag is turned on. Further, the information on the specific flag is shared by the memory write control unit 31 and the memory read control unit 32 in the same manner as information on the DTS and write (read) flag. Other configurations are the same as those in FIG. 12 and are repeated, and thus the description thereof is omitted.
[0070]
FIG. 15 is a flowchart for explaining memory write processing in the memory write control unit 31 of FIG. This process is similar to FIG. 11 described above and describes the process in step S22 of FIG. 9, and is started when special reproduction data is supplied from the special reproduction data generation unit 13.
[0071]
In step S101, the memory write control unit 31 receives the special reproduction data generated in the process of step S21 of FIG. 9 (generated by the special reproduction data generation process of FIG. 10).
[0072]
In step S102, the memory write control unit 31 determines whether there is a usable (writable) buffer memory in the buffer memories 15A to 15N. Specifically, it is determined whether or not there is a buffer memory having a writable flag in the buffer memories 15A to 15N in FIG. In the example of FIG. 14, the buffer memory 15A and the buffer memory 15B can be used. If it is determined that there is a usable buffer memory, the process proceeds to step S103.
[0073]
In step S103, the memory write control unit 31 stores the special reproduction data in the buffer memory determined to be usable in step S102 (for example, the buffer memory 15A).
[0074]
In step S104, the memory write control unit 31 determines whether or not the special reproduction data stored in the buffer memory (in the present example, the buffer memory 15A) is the data for the joining point (the specific flag is on). Whether or not). If it is determined in step S104 that the data is a stitching point data, the process proceeds to step S105, and the memory write control unit 31 specifies information that identifies the buffer memory (for example, identification information of the buffer memory 15A), Stores DTS and turns on a specific flag indicating that it is a stitching point.
[0075]
In step S104, when it is determined that the data is not the data for the joint shooting point, the process proceeds to step S106, and the memory write control unit 31 specifies information for specifying the used buffer memory (for example, identification information of the buffer memory 15A). And memorize DTS.
[0076]
After the process of step S105 or after the process of step S106, in step S107, the memory write control unit 31 makes the currently used buffer memory (buffer memory 15A in this example) readable (write). Turn off the flag).
[0077]
After the process of step S107, or when it is determined that there is no usable buffer memory in step S102, the memory writing process is terminated, and the process proceeds to step S23 of FIG.
[0078]
FIG. 16 is a flowchart for explaining memory read processing in the memory read control unit 32 of FIG. This process is similar to FIG. 13 described above and describes the process in step S23 of FIG. 9 and starts when the recording position on the magnetic tape 18 comes to the position for recording the special reproduction data. Is done.
[0079]
In step S121, the memory read control unit 32 determines whether there is a readable buffer memory. For example, as shown in FIG. 14, the buffer memory 15C and the buffer memory 15N are readable. If it is determined in step S121 that there is no readable buffer memory, the process waits until it is determined that there is a readable buffer memory.
[0080]
If it is determined in step S121 that there is a readable buffer memory, the process proceeds to step S122, and the memory read control unit 32 determines that the buffer memory determined to be readable (in this example, the buffer memory 15C). Alternatively, the DTS of the buffer memory 15N) is acquired.
[0081]
In step S123, the memory read control unit 32 compares the acquired DTS with the DTS converted from the track recording position on the magnetic tape 18.
[0082]
In step S124, the memory read control unit 32 determines whether there is special reproduction data to be read. Specifically, it is determined from the result of comparison in step S123 whether the acquired DTS is data that can be recorded on the magnetic tape 18 now. If it is determined that there is no data to be read, the process proceeds to step S125, and the memory read control unit 32 is stored in the same buffer memory (in this example, the buffer memory 15C) as the buffer memory acquired in step S122. It is determined whether or not the special reproduction data that is included is data of the joining point (determines whether or not the specific flag is on). If it is determined that the data is not the data for the continuous shooting point, the process returns to step S121, and the subsequent processes are repeated.
[0083]
If it is determined in step S125 that the data is a joining point data, or if it is determined in step S124 that there is data to be read, the process proceeds to step S126, and the memory read control unit 32 acquires in step S122. It is determined whether the DTS performed is the same as the previously processed DTS. The special reproduction data may be divided and recorded on different tracks of the magnetic tape 18, so this is determined. If it is determined in step S126 that the DTS is the same as the previously processed DTS, the process proceeds to step S127, and the memory read control unit 32 performs special playback from the previously processed buffer memory (for example, the buffer memory 15C). Read data.
[0084]
If it is determined in step S126 that the DTS acquired in step S122 is different from the previously processed DTS, the process proceeds to step S128, and the memory read control unit 32 stores the DTS in the buffer memory (for example, The special reproduction data is read from the head of the buffer memory 15C).
[0085]
After the process of step S127 or after the process of step S128, in step S129, the memory read control unit 32 performs all special reproduction for the buffer memory (for example, the buffer memory 15C) read in step S127 or step S128. It is determined whether or not data has been read. If it is determined that all the special reproduction data has not yet been read, the process returns to step S121, and the subsequent processes are repeated.
[0086]
If it is determined in step S129 that all data in the buffer memory has been read, the process proceeds to step S130, and the memory read control unit 32 determines that all data has been read in step S129 (for example, a buffer memory). The memory 15C) is made writable (the write flag is turned on), and the memory read process is terminated.
[0087]
Returning to FIG. 9, when the memory reading process is completed in step S23, the special reproduction data recording process is terminated, and the process proceeds to step S4 in FIG.
[0088]
In this way, by adding a specific flag (a flag indicating the joining point) as shown in FIG. 14 to the information stored in the buffer memory in FIG. 12, for example, the first I frame of the joining point is selected. Even when recording on a recording medium, by referring to a specific flag (for example, data is read when the specific flag is set, and data is not read when the specific flag is not on (turned off)). (By waiting for the next processing request).
[0089]
FIG. 17 is a diagram showing another configuration example of the digital VTR 30 of the present invention. In the figure, portions corresponding to those in FIG. 7 are denoted by the same reference numerals, and the description thereof will be omitted because it will be repeated.
[0090]
The digital VTR 30 is newly provided with a data extraction unit 51, a buffer memory 52A, a buffer memory 52B, a buffer memory 52C,..., A buffer memory 52M, and a memory read control unit 53 in addition to the configuration of FIG. ing.
[0091]
The data extraction unit 51 includes data corresponding to a desired double speed (second special reproduction data) among the special reproduction data stored in the buffer memory 15A, the buffer memory 15B, the buffer memory 15C,. Data) is extracted from the buffer memory (for example, the buffer memory 15C) and stored in the buffer memory (for example, the buffer memory 52A).
[0092]
In the case of this example, the memory read control unit 32 reads the 8 × special reproduction data from the buffer memory 15A to the buffer memory 15N and outputs it to the data multiplexing unit 16. The data extraction unit 51 extracts data corresponding to 24 × speed data from the data (first special reproduction data) stored in the buffer memory 15A to buffer memory 15N, and extracts this data from the buffer memory 52A to buffer memory 52M (buffer memory for second special reproduction data). The memory read control unit 53 reads the second special reproduction data and supplies it to the data multiplexing unit 16.
[0093]
The data multiplexing unit 16 performs processing such as word length restriction on these special reproduction data (two types of 8 × speed and 24 × speed) and normal reproduction data stored in the buffer memory 14, and then performs audio processing. This is multiplexed with data and system data and supplied to the recording format processing unit 17. The recording format processing unit 17 performs processing such as error correction code addition and modulation on the supplied data, and records the data on the magnetic tape 18.
[0094]
Next, the data extraction process executed by the data extraction unit 51 of FIG. 17 will be described with reference to FIG.
[0095]
In step S151, the data extraction unit 51 determines whether it is time to write the second special reproduction data (in this example, 24 × special reproduction data). Specifically, this determination is performed based on the DTS converted from the track on the magnetic tape 18.
[0096]
If it is determined in step S151 that it is time to write the second special reproduction data, the process proceeds to step S152, and the data extraction unit 51 can read from the buffer memory 15A to the buffer memory 15N. Get DTS of buffer memory. Specifically, as shown in FIG. 12, the DTS of a readable buffer memory (a buffer memory whose read flag is on (write flag is off)) is acquired from the buffer memories 15A to 15N. .
[0097]
In step S153, the data extraction unit 51 compares the acquired DTS with the DTS converted from the track on the magnetic tape 18.
[0098]
In step S154, the data extraction unit 51 determines whether there is second special reproduction data to be transferred (extracted). Specifically, based on the result of the comparison in step S153, it is determined whether or not the acquired DTS is data that can be recorded on the magnetic tape 18 now. If it is determined that there is data to be transferred, the process proceeds to step S155, and the data extraction unit 51 stores the DTS acquired in step S152 in the buffer memory (the first special reproduction data is stored. Data is transferred to the writable buffer memory (buffer memory storing the second special reproduction data) in the buffer memories 52A to 52M.
[0099]
After step S155, if it is determined in step S154 that there is no data to be transferred, or if it is determined in step S151 that it is not time to write the second special reproduction data, the process proceeds to step S151. Return, and the subsequent processing is repeated.
[0100]
Thus, by adding the data extraction unit 51, the buffer memory 52A to the buffer memory 52M, and the memory read control unit 53, it is possible to easily record two types of special reproduction data.
[0101]
FIG. 19 is a diagram for explaining operations of the data extraction unit 51, the buffer memory 52A, the buffer memory 52B, the buffer memory 52C,... The buffer memory 52M, and the memory read control unit 53. Even in this case, the DTS and the flag are written in each buffer memory. The basic operation is the same as that in FIG.
[0102]
In FIG. 19, it is also possible to add a specific flag as shown in FIG. 14 to the data stored in the buffer memory 52A to the buffer memory 52M. Thereby, it is possible to record special reproduction data generated from the I frame at the head of the joint shooting point.
[0103]
Further, by providing a plurality of blocks as shown in FIG. 19, it is possible to record three or more special reproduction data.
[0104]
As described above, in the digital VTR 30, by adding a plurality of buffer memories and processing for controlling writing and reading to the buffer memories, special reproduction data can be generated and recorded from all input I frames. It becomes possible. Thereby, smoother (high update rate) Cue / Review can be realized.
[0105]
Also, by acquiring time axis information (DTS) in the generated special reproduction data, it is possible to correctly control the recording position and recording order on the recording medium.
[0106]
Furthermore, by appropriately increasing the buffer memory, even if the generation rate and recording rate of special reproduction data change, it is not necessary to change the memory write control unit 31 and the memory read control unit 32, and a system configuration is possible. It is.
[0107]
Further, as shown in FIG. 14, even with the same system configuration as that of FIG. 12, it is possible to cope with various trick plays by changing the algorithm in the block. For example, when the area allocated to the special reproduction data on the recording medium changes, a plurality of types of specific data used in the memory write control unit 31 and the memory read control unit 32 are prepared (a plurality of specific flags are prepared). Accordingly, it is possible to deal with a format in which the thinning rate (update rate) of special reproduction data is arbitrarily changed.
[0108]
Furthermore, when the recording rate of the special reproduction data is constant, the data amount per special reproduction data can be increased by lowering the update rate, so that the image quality can be improved. .
[0109]
Further, as shown in FIG. 19, by adding a data extraction unit 51, a buffer memory (buffer memory for storing second special reproduction data), and a memory read control unit 53 to the digital VTR 30 of FIG. Two types of special reproduction data can be recorded simultaneously. Since the special reproduction data is generated from all I frames by the special reproduction data generation unit 13 and stored in the buffer memory 15A to the buffer memory 15N, the recording rate of the special reproduction data on the magnetic tape 18 is recorded. Permits, it is possible to record two or more types of special reproduction data. In this case, the blocks as shown in FIG. 19 may be added as many times as the number of special reproductions to be recorded.
[0110]
In the above example, the DTS is stored in the buffer memory, but the DTS may be any other value as long as it is the only value on the time axis for the written special reproduction data.
[0111]
The series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software executes various functions by installing a computer incorporated in dedicated hardware or various programs. For example, the program is installed in a general-purpose personal computer from the program storage medium. In this case, for example, the digital VTR 30 is configured by a personal computer 100 as shown in FIG.
[0112]
20, a CPU (Central Processing Unit) 101 performs various processes according to a program stored in a ROM (Read Only Memory) 102 or a program loaded from a storage unit 108 to a RAM (Random Access Memory) 103. Execute. The RAM 103 also stores data necessary for the CPU 101 to execute various processes as appropriate.
[0113]
The CPU 101, ROM 102, and RAM 103 are connected to each other via a bus 104. An input / output interface 105 is also connected to the bus 104.
[0114]
The input / output interface 105 includes an input unit 106 including a keyboard and a mouse, a display including a CRT (cathode ray tube) and an LCD (Liquid Crystal Display), an output unit 107 including a speaker, a hard disk, and the like. A communication unit 109 including a storage unit 108, a modem, a terminal adapter, and the like is connected. The communication unit 109 performs communication processing via a network.
[0115]
In addition, a drive 110 is connected to the input / output interface 105 as necessary, and a magnetic disk 121, an optical disk 122, a magneto-optical disk 123, a semiconductor memory 124, or the like is appropriately mounted, and a computer program read from the disk is necessary. Is installed in the storage unit 108 according to the above.
[0116]
When a series of processing is executed by software, various functions can be realized by installing a program that constitutes the software in a dedicated dedicated hardware computer or by installing various programs. For example, a general-purpose personal computer that can be executed is installed from a network or a program storage medium.
[0117]
As shown in FIG. 20, the program storage medium includes a magnetic disk 121 (including a floppy disk) on which a program is recorded and an optical disk 122 (distributed to provide a program to a user separately from a computer) It is only composed of a package medium consisting of CD-ROM (compact disc-read only memory), DVD (including digital versatile disc), magneto-optical disc 123 (including MD (mini disc)), semiconductor memory 124, etc. Rather, it is provided with a ROM 102 in which a program is recorded and a hard disk including a storage unit 108 provided to the user in a state of being preinstalled in the apparatus main body.
[0118]
In the present specification, the step of describing a computer program includes not only processing performed in time series according to the described order but also processing executed in parallel or individually even if not necessarily processed in time series. Is also included.
[0119]
【The invention's effect】
As described above, according to the present invention, special reproduction data can be generated from encoded image data. Further, according to the present invention, special reproduction data can be generated from an arbitrary intra frame regardless of the input rate of the intra frame.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of a conventional digital VTR.
FIG. 2 is a diagram illustrating an arrangement example of frames in which 1 GOP is configured by 15 frames.
3 is a diagram illustrating an example of an occupied state of a buffer memory in the frame configuration of FIG. 2;
FIG. 4 is a diagram illustrating an arrangement example of frames in which 1 GOP is configured by 9 frames.
5 is a diagram illustrating an example of an occupied state of a buffer memory in the frame configuration of FIG.
FIG. 6 is a diagram illustrating an arrangement example of frames of a stream that has been shot together;
FIG. 7 is a block diagram showing a configuration example of a digital VTR to which the present invention is applied.
8 is a flowchart for explaining data recording processing in the digital VTR of FIG. 7;
FIG. 9 is a flowchart illustrating special reproduction data write / read processing in step S3 of FIG. 8;
FIG. 10 is a flowchart illustrating special reproduction data generation processing in step S21 of FIG.
FIG. 11 is a flowchart illustrating memory write processing in step S22 of FIG.
12 is a diagram for explaining processing related to the buffer memory in FIG. 7; FIG.
13 is a flowchart for explaining memory read processing in step S23 of FIG. 9;
14 is a diagram for describing processing related to the buffer memory in FIG. 7; FIG.
15 is a flowchart for explaining memory write processing in the memory write control unit of FIG. 14;
16 is a flowchart for explaining memory read processing in the memory read control unit of FIG. 14;
FIG. 17 is a block diagram showing another configuration example of the digital VTR of the present invention.
18 is a flowchart for explaining data extraction processing executed by the data extraction unit of FIG. 17;
FIG. 19 is a diagram for describing processing related to the buffer memory in FIG. 17;
FIG. 20 is a block diagram illustrating a configuration example of a personal computer.
[Explanation of symbols]
12 intra-frame separation unit, 13 special reproduction data generation unit, 15A buffer memory, 31 memory write control unit, 32 memory read control unit, 51 data extraction unit, 52 buffer memory, 53 memory read control unit

Claims (6)

符号化された画像データを記録媒体に記録する画像処理装置において、
前記画像データからイントラフレームを分離する分離手段と、
前記分離手段により分離されたイントラフレームから特殊再生用データを生成するとともに、前記特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成手段と、
前記生成手段により生成された前記特殊再生用データ、および前記第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ前記格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込み手段と、
前記書き込み手段により前記格納部に書き込まれた前記第1の付随情報および前記格納情報に基づいて、前記格納部に書き込まれている前記特殊再生用データを読み出すとともに、読み出した前記格納部の前記格納情報を更新する読み出し手段と、
前記読み出し手段により読み出された前記特殊再生用データを前記記録媒体に記録する記録手段とを備え、
前記書き込み手段は、前記格納情報に基づいて、複数の前記格納部のうち、書き込み可能な格納部を選択して前記特殊再生用データを書き込むとともに、前記選択された格納部の前記格納情報を読み出し可能を示すように更新し、
前記読み出し手段は、前記格納情報に基づいて、複数の前記格納部のうち、読み出し可能な格納部を選択し、前記記録媒体上の記録位置から換算した前記時刻情報と前記選択された格納部の第1の付随情報との比較結果が前記特殊再生用データの前記記録媒体上への記録が可能であることを示すとき、前記特殊再生用データを読み出すとともに、前記選択された格納部の前記格納情報を書き込み可能を示すように更新する
ことを特徴とする画像処理装置。
In an image processing apparatus for recording encoded image data on a recording medium,
Separating means for separating an intra frame from the image data;
Generating means for generating special reproduction data from the intra frame separated by the separating means, and generating first accompanying information which is time information corresponding to the special reproduction data ;
The specific reproduction data generated by the generation unit, and the writes the first incidental information to one of the plurality of storing portions, the storage unit can be read or store information indicating the writable, writing Writing means to update;
Based on the first accompanying information and the storage information written in the storage unit by the writing means, the special reproduction data written in the storage unit is read, and the storage in the read storage unit is read out A reading means for updating the information;
Recording means for recording the special reproduction data read by the reading means on the recording medium,
The writing unit selects a writable storage unit from among the plurality of storage units based on the storage information, writes the special reproduction data, and reads the storage information of the selected storage unit Update to show possible,
The reading means selects a readable storage unit from the plurality of storage units based on the storage information, and converts the time information converted from the recording position on the recording medium and the selected storage unit. When the comparison result with the first accompanying information indicates that the special reproduction data can be recorded on the recording medium, the special reproduction data is read and the storage in the selected storage unit is performed. An image processing apparatus, wherein information is updated so as to indicate that writing is possible.
前記書き込み手段および前記読み出し手段は、前記第1の付属情報および前記格納情報を共有する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the writing unit and the reading unit share the first attached information and the stored information.
前記書き込み手段は、前記格納部に書き込んだ前記特殊再生用データがつなぎ撮り点であるか否かを示す第2の付随情報も前記書き込んだ格納部に書き込む
ことを特徴とする請求項1に記載の画像処理装置。
The writing means also writes second accompanying information indicating whether or not the special reproduction data written in the storage section is a splice point to the writing storage section. Image processing apparatus.
符号化された画像データを記録媒体に記録する画像処理装置の画像処理方法において、
前記画像データからイントラフレームを分離する分離ステップと、
前記分離ステップの処理により分離されたイントラフレームから特殊再生用データを生成するとともに、前記特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成ステップと、
前記生成ステップの処理により生成された前記特殊再生用データ、および前記第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ前記格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込みステップと、
前記書き込みステップの処理により前記格納部に書き込まれた前記第1の付随情報および前記格納情報に基づいて、前記格納部に書き込まれている前記特殊再生用データを読み出すとともに、読み出した前記格納部の前記格納情報を更新する読み出しステップと、
前記読み出しステップにより読み出された前記特殊再生用データを前記記録媒体に記録する記録ステップとを含み、
前記書き込みステップの処理は、前記格納情報に基づいて、複数の前記格納部のうち、書き込み可能な格納部を選択して前記特殊再生用データを書き込むとともに、前記選択された格納部の前記格納情報を読み出し可能を示すように更新し、
前記読み出しステップの処理は、前記格納情報に基づいて、複数の前記格納部のうち、読み出し可能な格納部を選択し、前記記録媒体上の記録位置から換算した前記時刻情報と前記選択された格納部の第1の付随情報との比較結果が前記特殊再生用データの前記記録媒体上への記録が可能であることを示すとき、前記特殊再生用データを読み出すとともに、前記選択された格納部の前記格納情報を書き込み可能を示すように更新する
ことを特徴とする画像処理方法。
In an image processing method of an image processing apparatus for recording encoded image data on a recording medium,
A separation step of separating an intra frame from the image data;
Generating special reproduction data from the intra frame separated by the processing of the separation step, and generating first accompanying information which is time information corresponding to the special reproduction data;
The special reproduction data generated by the process of the generation step and the first accompanying information are written in any of a plurality of storage units, and the storage indicating whether the storage unit that has been written is readable or writable A writing step to update the information;
Based on the first accompanying information and the storage information written in the storage unit by the processing of the writing step, the special reproduction data written in the storage unit is read out, and the read out of the storage unit A reading step for updating the stored information;
Recording the special reproduction data read by the reading step on the recording medium,
Based on the stored information, the writing step selects a writable storage unit from among the plurality of storage units and writes the special reproduction data, and stores the stored information in the selected storage unit. Is updated to indicate readability,
The process of the reading step selects the readable storage unit from the plurality of storage units based on the storage information, and converts the time information converted from the recording position on the recording medium and the selected storage. When the comparison result with the first accompanying information of the unit indicates that the special reproduction data can be recorded on the recording medium, the special reproduction data is read and the selected storage unit An image processing method, wherein the storage information is updated to indicate that writing is possible.
符号化された画像データを記録媒体に記録するコンピュータの制御用のプログラムであって、
前記画像データからイントラフレームを分離する分離ステップと、
前記分離ステップの処理により分離されたイントラフレームから特殊再生用データを生成するとともに、前記特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成ステップと、
前記生成ステップの処理により生成された前記特殊再生用データ、および前記第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ前記格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込みステップと、
前記書き込みステップの処理により前記格納部に書き込まれた前記第1の付随情報および前記格納情報に基づいて、前記格納部に書き込まれている前記特殊再生用データを読み出すとともに、読み出した前記格納部の前記格納情報を更新する読み出しステップと、
前記読み出しステップにより読み出された前記特殊再生用データを前記記録媒体に記録する記録ステップとを含み、
前記書き込みステップの処理は、前記格納情報に基づいて、複数の前記格納部のうち、書き込み可能な格納部を選択して前記特殊再生用データを書き込むとともに、前記選択された格納部の前記格納情報を読み出し可能を示すように更新し、
前記読み出しステップの処理は、前記格納情報に基づいて、複数の前記格納部のうち、読み出し可能な格納部を選択し、前記記録媒体上の記録位置から換算した前記時刻情報と前記選択された格納部の第1の付随情報との比較結果が前記特殊再生用データの前記記録媒体上への記録が可能であることを示すとき、前記特殊再生用データを読み出すとともに、前記選択された格納部の前記格納情報を書き込み可能を示すように更新する
ことを特徴とするプログラムが記録されている記録媒体。
A computer control program for recording encoded image data on a recording medium,
A separation step of separating an intra frame from the image data;
Generating special reproduction data from the intra frame separated by the processing of the separation step, and generating first accompanying information which is time information corresponding to the special reproduction data;
The special reproduction data generated by the process of the generation step and the first accompanying information are written in any of a plurality of storage units, and the storage indicating whether the storage unit that has been written is readable or writable A writing step to update the information;
Based on the first accompanying information and the storage information written in the storage unit by the processing of the writing step, the special reproduction data written in the storage unit is read out, and the read out of the storage unit A reading step for updating the stored information;
Recording the special reproduction data read by the reading step on the recording medium,
Based on the stored information, the writing step selects a writable storage unit from among the plurality of storage units and writes the special reproduction data, and stores the stored information in the selected storage unit. Is updated to indicate readability,
The process of the reading step selects the readable storage unit from the plurality of storage units based on the storage information, and converts the time information converted from the recording position on the recording medium and the selected storage. When the comparison result with the first accompanying information of the unit indicates that the special reproduction data can be recorded on the recording medium, the special reproduction data is read and the selected storage unit A recording medium on which a program is recorded, wherein the storage information is updated to indicate that writing is possible.
符号化された画像データを記録媒体に記録するコンピュータの制御用のプログラムであって、
前記画像データからイントラフレームを分離する分離ステップと、
前記分離ステップの処理により分離されたイントラフレームから特殊再生用データを生成するとともに、前記特殊再生用データに対応する時刻情報である第1の付随情報を生成する生成ステップと、
前記生成ステップの処理により生成された前記特殊再生用データ、および前記第1の付随情報を複数存在する格納部のいずれかに書き込むとともに、書き込んだ前記格納部の読み出し可能、または書き込み可能を示す格納情報を更新する書き込みステップと、
前記書き込みステップの処理により前記格納部に書き込まれた前記第1の付随情報および前記格納情報に基づいて、前記格納部に書き込まれている前記特殊再生用データを読み出すとともに、読み出した前記格納部の前記格納情報を更新する読み出しステップと、
前記読み出しステップにより読み出された前記特殊再生用データを前記記録媒体に記録する記録ステップとを含み、
前記書き込みステップの処理は、前記格納情報に基づいて、複数の前記格納部のうち、書き込み可能な格納部を選択して前記特殊再生用データを書き込むとともに、前記選択された格納部の前記格納情報を読み出し可能を示すように更新し、
前記読み出しステップの処理は、前記格納情報に基づいて、複数の前記格納部のうち、読み出し可能な格納部を選択し、前記記録媒体上の記録位置から換算した前記時刻情報と前記選択された格納部の第1の付随情報との比較結果が前記特殊再生用データの前記記録媒体上への記録が可能であることを示すとき、前記特殊再生用データを読み出すとともに、前記選択された格納部の前記格納情報を書き込み可能を示すように更新する
ことを特徴とする処理をコンピュータに実行させるプログラム。
A computer control program for recording encoded image data on a recording medium,
A separation step of separating an intra frame from the image data;
Generating special reproduction data from the intra frame separated by the processing of the separation step, and generating first accompanying information which is time information corresponding to the special reproduction data;
The special reproduction data generated by the process of the generation step and the first accompanying information are written in any of a plurality of storage units, and the storage indicating whether the storage unit that has been written is readable or writable A writing step to update the information;
Based on the first accompanying information and the storage information written in the storage unit by the processing of the writing step, the special reproduction data written in the storage unit is read out, and the read out of the storage unit A reading step for updating the stored information;
Recording the special reproduction data read by the reading step on the recording medium,
Based on the stored information, the writing step selects a writable storage unit from among the plurality of storage units and writes the special reproduction data, and stores the stored information in the selected storage unit. Is updated to indicate readability,
The process of the reading step selects the readable storage unit from the plurality of storage units based on the storage information, and converts the time information converted from the recording position on the recording medium and the selected storage. When the comparison result with the first accompanying information of the unit indicates that the special reproduction data can be recorded on the recording medium, the special reproduction data is read and the selected storage unit A program for causing a computer to execute processing characterized by updating the stored information so as to indicate that writing is possible.
JP2002084073A 2002-03-25 2002-03-25 Data processing apparatus and method, recording medium, and program Expired - Fee Related JP4048809B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002084073A JP4048809B2 (en) 2002-03-25 2002-03-25 Data processing apparatus and method, recording medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002084073A JP4048809B2 (en) 2002-03-25 2002-03-25 Data processing apparatus and method, recording medium, and program

Publications (2)

Publication Number Publication Date
JP2003283989A JP2003283989A (en) 2003-10-03
JP4048809B2 true JP4048809B2 (en) 2008-02-20

Family

ID=29231587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002084073A Expired - Fee Related JP4048809B2 (en) 2002-03-25 2002-03-25 Data processing apparatus and method, recording medium, and program

Country Status (1)

Country Link
JP (1) JP4048809B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6102123B2 (en) * 2012-08-24 2017-03-29 ティアック株式会社 Multi track recorder

Also Published As

Publication number Publication date
JP2003283989A (en) 2003-10-03

Similar Documents

Publication Publication Date Title
JP4421156B2 (en) Image reproducing apparatus and image recording / reproducing apparatus
EP2186340B1 (en) A video data reproduction system
US7577303B2 (en) Method and device for condensed image recording and reproduction
JP2002032975A (en) Data recording device and method, data recording and reproducing device and method and disk recording medium
KR20040017773A (en) Recording apparatus and method, recording medium, and program
JP2008065951A (en) Information processor, method, and program
JP5120981B2 (en) Generating video data for special playback
JP2006324848A (en) Apparatus and method for information processing
JP3253530B2 (en) Video recording device
JP4048809B2 (en) Data processing apparatus and method, recording medium, and program
JP2003324690A (en) Video record playback device
JP2005151173A (en) Moving picture recording reproducing apparatus, moving picture reproducer and moving picture reproducing method
JP3888204B2 (en) Recording apparatus and method, reproducing apparatus and method, recording medium, and program
JP2000276856A (en) Device and method for recording data and device and method for reproducing data
JP2001126405A (en) Bit stream recording/reproducing device
JP2008262610A (en) Information processor and information processing method, program storing medium, and program
JP3897783B2 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP2009105477A (en) Reproducing device and reproducing method
JP2001320669A (en) Signal processing method and signal processing unit
JP2008177874A (en) Recorder, recording method, program, and storage medium
KR20030022898A (en) Image recording device and method
JP2000175151A (en) Mpeg reproduction device and mpeg reproduction method
JP2002209186A (en) Video and sound data recording system in mpeg system and its editing system
JP2004140679A (en) Recording medium and its reproducer and recorder
JP4577346B2 (en) Data recording apparatus, data reproducing apparatus, data recording / reproducing method, and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040820

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070320

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070821

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070906

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071119

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

Free format text: PAYMENT UNTIL: 20101207

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees