JP2007259369A - Decoding method and decoding apparatus - Google Patents
Decoding method and decoding apparatus Download PDFInfo
- Publication number
- JP2007259369A JP2007259369A JP2006084476A JP2006084476A JP2007259369A JP 2007259369 A JP2007259369 A JP 2007259369A JP 2006084476 A JP2006084476 A JP 2006084476A JP 2006084476 A JP2006084476 A JP 2006084476A JP 2007259369 A JP2007259369 A JP 2007259369A
- Authority
- JP
- Japan
- Prior art keywords
- video signal
- decoded video
- decoding
- decoded
- video signals
- 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.)
- Granted
Links
Images
Abstract
Description
本発明はデコード方法及びデコード装置に係り、特にMPEG(Moving Picture Experts Group)方式により映像信号を圧縮符号化して得た、互いに非同期な複数の符号化データ(以下、MPEGデータともいう)のうち、任意に選択した一の符号化データのデコード出力を得るデコード方法及びデコード装置に関する。 The present invention relates to a decoding method and a decoding apparatus, and in particular, among a plurality of encoded data asynchronously obtained (hereinafter also referred to as MPEG data) obtained by compressing and encoding a video signal by the MPEG (Moving Picture Experts Group) method. The present invention relates to a decoding method and a decoding apparatus for obtaining a decoded output of one arbitrarily selected encoded data.
複数の送信装置から互いに非同期でそれぞれ送信される複数の符号化映像信号(MPEGデータ)を1台の受信機で受信して、任意に切り替えて表示するような場合、受信機では受信した複数の符号化映像信号をデコードして選択表示するためのデコード装置が必要となる。 When a plurality of encoded video signals (MPEG data) transmitted asynchronously from a plurality of transmission devices are received by a single receiver and arbitrarily switched and displayed, the receiver receives a plurality of received video signals. A decoding device for decoding and selectively displaying the encoded video signal is required.
複数の映像信号の中から任意に選択した一の映像信号を表示する方法としては、例えば、デジタル放送のチャンネル切り替えを行って切り替えた映像信号を迅速に視聴できる方法が従来、知られている(例えば、特許文献1参照)。すなわち、この特許文献1には、デジタル放送受信機能、ストリーミング放送受信機能又はインターネット接続機能を有するマルチメディア情報機器において、ユーザプロファイル生成部が、記憶部に記憶されているユーザのチャンネル遷移の履歴データからユーザのチャンネル(番組)遷移に関する操作パターンを示すユーザプロファイルを作成してユーザプロファイル記憶部に格納しておき、チャンネル遷移推論部が、上記の記憶部からのユーザプロファイルと現在視聴中のチャンネルに関する情報とからユーザが次に移行する可能性の高いチャンネルの候補を推論し、決定し、その推論結果に基づいてチャンネル候補の受信を設定することで、ユーザがチャンネルを切り替えたときに高速に次チャンネルの切り替えを行い、高速に表示を切り替えることができる。
As a method for displaying one video signal arbitrarily selected from a plurality of video signals, for example, a method for quickly viewing a switched video signal by switching channels of a digital broadcast is conventionally known ( For example, see Patent Document 1). That is, in
しかしながら、上記の特許文献1記載の発明は、ユーザのチャンネル遷移の履歴データに基づいて表示チャンネルを高速に切り替えるものであり、履歴データを用いることなく、複数の符号化映像信号(MPEGデータ)をデコードし、かつ、任意に選択して得た一の映像信号をシームレスに切り替えて表示する構成ではない。
However, the invention described in
また、MPEG方式では周知のように、映像信号を1フレームのすべてをイントラ符号化して得られるIピクチャと、Iピクチャなどの所定のピクチャとのフレーム間の順方向予測を行って得られるフレーム間順方向予測符号化画像(Pピクチャ)と、時間的に前と後の双方向にあるIピクチャやPピクチャとの間の予測符号化を行って得られる双方向予測符号化画像(Bピクチャ)の計3種類のピクチャ(MPEGデータ)のうち、Iピクチャ1つとそれぞれ複数のPピクチャ及びBピクチャを適切に組み合わせた複数のピクチャからなるGOP(Group of Picture)単位で伝送することにより、ランダムアクセスを可能としている。 Further, as is well known in the MPEG system, between frames obtained by performing forward prediction between frames of an I picture obtained by intra-coding all of one frame of a video signal and a predetermined picture such as an I picture. Bidirectional predictive encoded image (B picture) obtained by performing predictive encoding between a forward predictive encoded image (P picture) and a temporally forward and backward bidirectional I picture or P picture Random access is achieved by transmitting in a GOP (Group of Picture) unit composed of a plurality of pictures in which one I picture and a plurality of P pictures and B pictures are appropriately combined among the three types of pictures (MPEG data) Is possible.
例えば、図4に示すように、上記のGOPを構成するIピクチャ、Pピクチャ、Bピクチャの合計のピクチャ数Nが、例えば、”9”の場合は、9フレーム分のMPEGデータを蓄積してから連続したピクチャが復号できる仕組みになっているため、送信側と非同期な受信側にて、互いに非同期の複数のMPEGデータを切り替えて復号する場合、9フレーム分のMPEGデータを蓄積してからでないと、異なるMPEGデータに切り替えることができない。 For example, as shown in FIG. 4, when the total number N of I pictures, P pictures, and B pictures constituting the GOP is “9”, for example, nine frames of MPEG data are accumulated. Since it is structured to be able to decode consecutive pictures from the beginning, when decoding a plurality of MPEG data that are asynchronous with each other on the sending side and the receiving side that are asynchronous with each other, 9 frames of MPEG data are not accumulated. Therefore, it is not possible to switch to different MPEG data.
更に、互いに非同期の複数のMPEGデータを切り替えて復号するデコード装置を構成する場合、互いに非同期の複数のMPEGデータ間の同期構築に関する回路規模が大きくなり、また、場合によっては、複数のデコーダや複数のスイッチ等、装置レベルでの多重運用となるため、複数の非同期なMPEGデータを復号するような並列動作において、同期的にシームレス切り替えを行うことが難しい。 Further, when a decoding apparatus configured to switch and decode a plurality of asynchronous MPEG data, the circuit scale related to the synchronization construction between the plurality of asynchronous MPEG data is increased, and in some cases, a plurality of decoders or a plurality of decoders may be used. Since it is a multiple operation at the apparatus level, such as a switch, it is difficult to perform seamless seamless switching synchronously in parallel operations such as decoding a plurality of asynchronous MPEG data.
本発明は以上の点に鑑みなされたもので、MPEGデータの構造による処理時間に制約されることなく、複数のMPEGデータを短時間で切り替えて高速に表示し得るデコード方法及びデコード装置を提供することを目的とする。 The present invention has been made in view of the above points, and provides a decoding method and a decoding apparatus capable of switching a plurality of MPEG data in a short time and displaying them at high speed without being restricted by the processing time due to the structure of the MPEG data. For the purpose.
また、本発明の他の目的は、高集積化された非同期な複数のデコーダと同期化のためのメモリを省スペースに内蔵することで、装置を小型・軽量化で、しかも構成を簡易化でき、非同期な復号化された映像信号をショックのないシームレス切り替えを実現できるデコード方法及びデコード装置を提供することにある。 Another object of the present invention is to incorporate a plurality of highly integrated asynchronous decoders and a memory for synchronization in a space-saving manner, thereby reducing the size and weight of the apparatus and simplifying the configuration. Another object of the present invention is to provide a decoding method and a decoding apparatus capable of realizing seamless switching without a shock for an asynchronous decoded video signal.
上記の目的を達成するため、本発明のデコード方法は、映像信号を所定の符号化方式で圧縮符号化して得られた符号化映像信号が、互いに非同期で複数並列に入力され、複数の符号化映像信号から任意に選択した一の符号化映像信号の復号化映像信号を出力するデコード方法であって、互いに非同期で入力される複数の符号化映像信号を、それぞれ別々にデコードして、複数の復号化映像信号を生成する第1のステップと、複数の復号化映像信号を1対1に対応して設けられた複数のメモリに供給して、それぞれ別々に各復号化映像信号の映像同期信号に基づいて書き込む第2のステップと、複数のメモリから互いに同一の読み出しタイミングで、各メモリに記憶されている復号化映像信号を読み出す第3のステップと、第3のステップで読み出された複数の復号化映像信号のうち、選択して出力している第1の復号化映像信号から、所望の別の第2の復号化映像信号を所定のブランキング期間内で切り替えて出力する第4のステップとを含むことを特徴とする。 In order to achieve the above object, according to the decoding method of the present invention, a plurality of encoded video signals obtained by compressing and encoding a video signal by a predetermined encoding method are input in parallel and asynchronously to each other. A decoding method for outputting a decoded video signal of one encoded video signal arbitrarily selected from video signals, wherein a plurality of encoded video signals input asynchronously with each other are decoded separately, A first step of generating a decoded video signal; and supplying a plurality of decoded video signals to a plurality of memories provided in a one-to-one correspondence, and separately synchronizing video signals of each decoded video signal The second step of writing based on the third step, the third step of reading the decoded video signal stored in each memory from the plurality of memories at the same read timing, and the third step A desired second decoded video signal is switched and output within a predetermined blanking period from the first decoded video signal selected and output from among the plurality of decoded video signals that are output. And a fourth step.
この発明では、互いに非同期で入力される符号化映像信号をそれぞれデコードして復号化映像信号を生成した後、それら互いに非同期な復号化映像信号を複数のメモリに別々に書き込んだ後、互いに同期した同一の読み出しタイミングで読み出すようにしたため、ある第1の復号化映像信号から別の第2の復号化映像信号に切り替える場合に、直ちに切り替えることができる。 In the present invention, the encoded video signals that are input asynchronously with each other are decoded to generate decoded video signals, and then the asynchronous decoded video signals are separately written in a plurality of memories and then synchronized with each other. Since reading is performed at the same reading timing, when switching from one first decoded video signal to another second decoded video signal, switching can be performed immediately.
ここで、上記の複数のメモリは、各々2つの領域に分割されており、一方の領域に第2のステップによる復号化映像信号の書き込み動作を行っているときには、他方の領域に書き込み済みの復号化映像信号を第3のステップにおいて読み出されることを特徴とする。この発明では、メモリの記憶領域を有効に使用できる。 Here, each of the plurality of memories is divided into two areas, and when the decoding video signal is written in one area in the second step, the decoding that has been written in the other area is performed. The digitized video signal is read in the third step. In the present invention, the storage area of the memory can be used effectively.
また、上記の目的を達成するため、本発明のデコード装置は、映像信号を所定の符号化方式で圧縮符号化して得られた符号化映像信号が、互いに非同期で複数並列に入力され、複数の符号化映像信号から任意に選択した一の符号化映像信号の復号化映像信号を出力するデコード装置であって、互いに非同期で入力される複数の符号化映像信号を、それぞれ別々にデコードして、複数の復号化映像信号を生成する複数の復号化手段と、複数の復号化映像信号を別々に書き込んだ後読み出す複数のメモリと、複数のメモリの各々に対して、複数の復号化映像信号のうち対応する復号化映像信号を互いに独立して非同期でその復号化映像信号の映像同期信号に基づいて書き込み、複数の復号化映像信号のうち予め定めた一の復号化映像信号を基準にして読み出しタイミングを同期させて、複数のメモリから記憶復号化映像信号を読み出すメモリ制御手段と、複数のメモリから読み出された複数の復号化映像信号のうち、選択して出力している第1の復号化映像信号から、所望の別の第2の復号化映像信号を所定のブランキング期間内で切り替えて出力する切り替え手段とを有することを特徴とする。 In order to achieve the above object, the decoding device of the present invention is configured such that a plurality of encoded video signals obtained by compressing and encoding a video signal by a predetermined encoding method are input in parallel in a plurality of asynchronous manners. A decoding device for outputting a decoded video signal of one encoded video signal arbitrarily selected from the encoded video signal, wherein a plurality of encoded video signals input asynchronously with each other are separately decoded, A plurality of decoding means for generating a plurality of decoded video signals; a plurality of memories for reading after the plurality of decoded video signals are written separately; and a plurality of decoded video signals for each of the plurality of memories. The corresponding decoded video signal is asynchronously written independently of each other based on the video synchronization signal of the decoded video signal, and a predetermined one of the plurality of decoded video signals is used as a reference. The memory control means for reading the stored decoded video signals from the plurality of memories in synchronization with the read timing, and the first selected from the plurality of decoded video signals read from the plurality of memories for output. Switching means for switching and outputting another desired second decoded video signal within a predetermined blanking period from the decoded video signal.
この発明では、互いに非同期で入力される符号化映像信号をそれぞれデコードして復号化映像信号を生成した後、それら互いに非同期な復号化映像信号を複数のメモリに別々に書き込んだ後、互いに同期した同一の読み出しタイミングで読み出すようにしたため、ある第1の復号化映像信号から別の第2の復号化映像信号に切り替える場合に、直ちに切り替えることができる。 In the present invention, the encoded video signals that are input asynchronously with each other are decoded to generate decoded video signals, and then the asynchronous decoded video signals are separately written in a plurality of memories and then synchronized with each other. Since reading is performed at the same reading timing, when switching from one first decoded video signal to another second decoded video signal, switching can be performed immediately.
ここで、上記のメモリ制御手段は、複数のメモリを各々2つの領域に分割して使用し、一方の領域に復号化映像信号の書き込み動作を行っているときには、他方の領域に書き込み済みの復号化映像信号を読み出すことを特徴とする。この発明では、メモリの記憶領域を有効に使用できる。 Here, the memory control means uses a plurality of memories divided into two areas, respectively, and when the decoded video signal writing operation is performed in one area, the decoding already written in the other area. It is characterized by reading the digitized video signal. In the present invention, the storage area of the memory can be used effectively.
また、本発明は、上記の複数の復号化手段、複数のメモリ、メモリ制御手段及び切り替え手段は、複数の符号化映像信号を非同期で同時に受信する1台の受信機内に設けられ、かつ、集積回路で構成されていることを特徴とする。この発明では、非同期な複数の復号化手段と同期化のためのメモリとメモリ制御手段と切り替え手段とを、1台の受信機内に省スペースに内蔵することができ、簡易な回路構成とすることができる。 In the present invention, the plurality of decoding means, the plurality of memories, the memory control means, and the switching means are provided in one receiver that simultaneously receives a plurality of encoded video signals asynchronously and integrated. It is characterized by comprising a circuit. In this invention, a plurality of asynchronous decoding means, a memory for synchronization, a memory control means, and a switching means can be incorporated in a single receiver in a space-saving manner, and a simple circuit configuration is provided. Can do.
本発明によれば、互いに非同期で入力される符号化映像信号をそれぞれデコードして復号化映像信号を生成した後、それら互いに非同期な復号化映像信号を複数のメモリに別々に書き込んだ後、互いに同期した同一の読み出しタイミングで読み出すと共に、ある第1の復号化映像信号から別の第2の復号化映像信号に切り替える場合はブランキング期間内で切り替えるようにしたため、非同期にデコードした復号化映像信号を、短時間でショックのないシームレス切り替えを実行することができ、符号化映像信号がMPEGデータであっても、その構造による処理時間に制約されることがない。 According to the present invention, after decoding encoded video signals that are input asynchronously with each other to generate decoded video signals, the asynchronous video signals that are asynchronously written to each other are separately written in a plurality of memories, and then The decoded video signal that is read out at the same synchronized read timing and switched from one first decoded video signal to another second decoded video signal is switched within the blanking period. Thus, seamless switching without shock can be executed in a short time, and even if the encoded video signal is MPEG data, the processing time by the structure is not restricted.
次に、本発明の実施の形態について図面を参照して詳細に説明する。図1は本発明になるデコード装置の一実施の形態のブロック図を示す。同図において、本実施の形態のデコード装置に入力された互いに非同期なMPEGデータAとMPEGデータBは、それぞれ1対1に対応して設けられた復号化部11、12に供給される。ここで、上記のMPEGデータAとMPEGデータBは、例えば、2台の送信装置から互いに非同期でそれぞれ送信され、1台の受信機で受信して得られた、MPEG方式で圧縮符号化された符号化映像信号である。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a block diagram of an embodiment of a decoding apparatus according to the present invention. In the figure, MPEG data A and MPEG data B asynchronous to each other input to the decoding apparatus of the present embodiment are supplied to
復号化部11は、MPEGデータAをMPEG方式で復号し(デコードし)、復号化映像信号Aを生成してメモリ制御部13に供給する。メモリ制御部13は、復号化映像信号Aをメモリ14に供給する。一方、これと並行して、復号化部12は、MPEGデータBをMPEG方式で復号し(デコードし)、復号化映像信号Bを生成して、メモリ制御部15に供給する。メモリ制御部15はメモリ16に復号化映像信号Bを供給する。
The
また、MPEGデータAとMPEGデータBは非同期であるため、それを復号化して得られた復号化映像信号Aと復号化映像信号Bとは非同期であり、これらを同期化させるために、メモリ制御部15が復号化映像信号Bをメモリ16に渡す前に、メモリ制御部13より復号化映像信号Aをメモリ14へ書き込むタイミングの時間的情報をメモリ制御部15へ渡す。
Further, since the MPEG data A and the MPEG data B are asynchronous, the decoded video signal A and the decoded video signal B obtained by decoding them are asynchronous, and in order to synchronize them, the memory control is performed. Before the
また、メモリ14とメモリ16のデータの読み出しは同一信号で行い、メモリ14とメモリ16のそれぞれから読み出された信号(復号化映像信号)は、メモリ制御部13とメモリ制御部15をそれぞれ介して、切り替え部17へ供給され、切り替え部17において選択された一方の復号化映像信号が出力映像信号として外部へ出力される。
Further, the data read from the
次に、本実施の形態の動作について説明する。第1の映像信号をMPEG方式にて圧縮符号化して得られたMPEGデータAは、復号化部11に供給されてデコード処理されて復号化映像信号Aとされる。一方、第2の映像信号をMPEG方式にて圧縮符号化して得られた、MPEGデータAとは非同期なMPEGデータBは、復号化部12に供給されてデコード処理されて復号化映像信号Bとされる。
Next, the operation of the present embodiment will be described. MPEG data A obtained by compressing and encoding the first video signal by the MPEG method is supplied to the
復号化映像信号Aは、メモリ制御部13を介してメモリ14に渡される。メモリ制御部13は、復号化映像信号Aに含まれる映像同期信号を検出し、メモリ14に復号化映像信号Aを書き込むタイミングを生成している。一方、復号化映像信号Bは、メモリ制御部15を介してメモリ16に渡される。
The decoded video signal A is passed to the
メモリ制御部15は、復号化映像信号Bに含まれる映像同期信号を検出し、さらに、メモリ制御部13より復号化映像信号Aをメモリ14へ書き込むタイミングを時間的情報として受け、1フレーム枠におけるメモリ制御部13と同じポインタ値を算出し、メモリ16に復号化映像信号Bを書き込むタイミングを生成している。
The
ここで、メモリ14の記憶領域は図2(A)に、メモリ16の記憶領域は図2(B)にそれぞれ示すように、それぞれ1フレーム分のデータ領域であるα領域21、23と、同じく1フレーム分のデータ領域であるβ領域22、24とに分かれており、同じ構成である。このフレーム分割はバンク構成であり、メモリ14の使用面とメモリ16の使用面は異なる領域を用いる場合があり、例えば、メモリ14のα領域21を使用している場合は、メモリ16のβ領域24を使用するように動作する場合がある。
Here, as shown in FIG. 2A, the storage area of the
また、本実施の形態では、メモリ制御部13は、復号化映像信号Aをメモリ14へ書き込むタイミングを時間的情報としてメモリ制御部15へ渡し、メモリ制御部15にて、メモリ16に復号化映像信号Bを書き込むタイミングとの1フレーム枠におけるポインタ値の差分を認識させる。このことについて、図2と共に詳細に説明する。
In this embodiment, the
図2(B)はメモリ16のα領域23にある、復号化映像信号Aとは非同期な復号化映像信号Bに含まれる映像同期信号から生成される本来の書き込みタイミング(Write'B)と、復号化映像信号Aに含まれる映像同期信号から生成されるメモリ14への書き込みタイミング(WriteB)とで差分があることを示している。なお、図2(A)はメモリ14のα領域21にある、復号化映像信号Aに含まれる映像同期信号から生成されるメモリ14への書き込みタイミング(WriteA)を示している。
FIG. 2B shows the original write timing (Write′B) generated from the video synchronization signal included in the decoded video signal B that is asynchronous with the decoded video signal A in the
図2(B)のWriteBは、メモリ制御部15により、復号化映像信号Aをメモリ14へ書き込むタイミングを示す時間的情報に基づいて生成された、1フレーム枠におけるポインタ値である。また、メモリ14とメモリ16の読み出しタイミングは、図2(A)、(B)にReadで示すように、同一の読み出し制御信号に基づくタイミングであり、常に同一である。
Write B in FIG. 2B is a pointer value in one frame frame generated by the
復号化映像信号Aと復号化映像信号Bとが1フレーム差である場合が、メモリ16の本来の書き込みタイミング(図2(B)のWriteB)であり、読み出しタイミングはフレームとフレームの間にて1フレーム単位で切り替えることができるが、復号化映像信号Aに対し復号化映像信号Bが0.5フレーム進む差である場合が、図2(B)に示すメモリ16のWrite'Bであり、1フレーム単位で読み出されるタイミングには0.5フレーム不足し、画枠ずれを起こさせてしまうため、0.5フレーム待つ必要がある。
The case where the decoded video signal A and the decoded video signal B have a difference of one frame is the original write timing of the memory 16 (Write B in FIG. 2B), and the read timing is between frames. Although it is possible to switch in units of one frame, the difference between the decoded video signal A and the decoded video signal B by 0.5 frame is Write'B of the
逆に、復号化映像信号Aに対し復号化映像信号Bが0.5フレーム遅れる差である場合が、メモリ16のWrite”Bであり、1フレーム単位で読み出されるタイミングには、1.5フレーム不足し、端数分の影響で画枠ずれを起こさせてしまうため、0.5フレーム待つ必要がある。なお、この場合、復号化映像信号Aに対し復号化映像信号Bは1フレーム遅れていることになる。
On the contrary, the case where the decoded video signal B is delayed by 0.5 frame with respect to the decoded video signal A is Write “B” of the
また、この待ち時間を定量的に把握することで1フレーム遅らせることなくシーケンシャルに読み出すこともでき、そのためにWriteAとWrite'BやWrite"Bの差を認識するのである。このようにして、メモリ14とメモリ16の1フレーム内における書き込み位置を監視することで、非同期であった、復号化映像信号Aと復号化映像信号Bの同期管理ができる。
In addition, by quantitatively grasping this waiting time, it is possible to read sequentially without delaying one frame, and for this reason, the difference between Write A and Write'B or Write "B is recognized. 14 and the
その後、メモリ14とメモリ16にそれぞれ書き込まれている復号化映像信号Aと復号化映像信号Bとは、図2(A)、(B)にReadで示すタイミングの同一の読み出しタイミング信号(Read信号)にてそれぞれメモリ14、16から読み出され、メモリ制御部13、メモリ制御部15を経由して切り替え部17へ供給される。切り替え部17は、映像切り替えショックが画面表示されない映像信号の垂直ブランキング期間にて1フレーム単位で映像信号を切り替え、出力映像信号として出力する。
Thereafter, the decoded video signal A and the decoded video signal B written in the
次に、上記のメモリ14、16の各記憶復号化映像信号、切り替え部17の出力映像信号について図3と共に詳細に説明する。図3(A)はメモリ14の記憶映像信号の推移を示し、同図(B)は切り替え部17の出力映像信号の推移を示し、同図(C)又は(D)はメモリ16の記憶映像信号の推移を示す。ここで、図3(C)は復号化映像信号Aに対し復号化映像信号Bが0.5フレーム進む差である場合のメモリ16の記憶復号化映像信号の推移を示し、同図(D)は復号化映像信号Aに対し復号化映像信号Bが0.5フレーム遅れる差である場合のメモリ16の記憶復号化映像信号の推移を示す。
Next, each of the stored decoded video signals of the
また、図3(A)において「Aα」、「Aβ」はそれぞれメモリ14の記憶領域であるα領域21、β領域22に記憶される復号化映像信号Aの1フレームを示し、Aα又はAβに続く正又は負の数字は、WriteAが位置するフレームを基準としたときの時間的に過去のフレームは負で、未来のフレームは正で示してある。同様に、図3(C)、(D)において、「Bα」、「Bβ」はそれぞれメモリ16の記憶領域であるα領域23、β領域24に記憶される復号化映像信号Bの1フレームを示し、Bα又はBβに続く正又は負の数字は、Write'Bが位置するフレームを基準としたときの時間的に過去のフレームは負で、未来のフレームは正で示してある。
In FIG. 3A, “Aα” and “Aβ” indicate one frame of the decoded video signal A stored in the
図3(A)において、メモリ14のβ領域22に「Aβ−1」で示すように復号化映像信号Aのある1フレームが記憶された後、続いてα領域21に復号化映像信号Aの次の1フレームが「Aα」で示すように書き込まれるが、そのAαの1フレームの書き込み開始時点のポインタ値をWriteAで示すと、このときは、復号化映像信号Aに対し復号化映像信号Bが0.5フレーム進む差である場合、同図(C)に示すように、メモリ16のα領域23に「Bα」で示すようにある1フレームの復号化映像信号Bが記録される期間の半分の位置、つまり0.5フレームのポインタ値をWrite'Bが示している。
In FIG. 3A, after one frame of the decoded video signal A is stored in the
一方、図2(A)に示すように、メモリ14のAαの1フレームの書き込み開始時点では、メモリ14のβ領域22の最初の位置に「Read」で示すように、読み出しのポインタ値があり、β領域22に記憶されている「Aβ−1」で示す直前の1フレームの復号化映像信号Aの読み出しが開始される。
On the other hand, as shown in FIG. 2A, at the start of writing one frame of Aα in the
その後、図3(A)に示すように、メモリ14のWriteAで示したポインタ以降のα領域21に復号化映像信号Aのある1フレームが記憶された後、続いてβ領域22に復号化映像信号Aの次の1フレームが「Aβ」で示すように上書きで書き込みが開始されるが、その記録開始直前の復号化映像信号Aの垂直ブランキング期間内で、切り替え部17により復号化映像信号Aから復号化映像信号Bへ切り替わったものとする。この切り替え時点では、メモリ16では復号化映像信号Aに対し復号化映像信号Bが0.5フレーム進む差である場合、図3(C)に「Bβ」で示すように、メモリ16のβ領域24に復号化映像信号Bの0.5フレーム分が既に書き込まれ、かつ、引き続き書き込み途中の状態である。
Thereafter, as shown in FIG. 3A, after one frame having the decoded video signal A is stored in the
しかし、本実施の形態では、メモリ14とメモリ16は同一の読み出しポイントから同期して読み出されるようにされているため、上記の切り替え時点では、メモリ14とメモリ16の各読み出しポイントは、いずれもα領域21、23の最初にあり、よって、メモリ16からは、図3(C)に「Bα」で示した、上記の切り替え時点より1.5フレーム前から0.5フレーム前までの期間でメモリ16のα領域23に書き込まれた状態にある、図3(C)に「Bα」で示す1フレーム分の復号化映像信号Bを読み出して切り替え部17より出力する。これにより、切り替え部17の出力映像信号は、図3(B)に模式的に示すように推移する。
However, in the present embodiment, since the
なお、上記と同様に、復号化映像信号Aに対し復号化映像信号Bが0.5フレーム遅れる差である場合、上記の切り替え時点では図3(D)に「Bα」で示すように、メモリ16のα領域23に復号化映像信号Bの0.5フレーム分が既に書き込まれ、かつ、引き続き書き込み途中の状態である。しかし、本実施の形態では、メモリ領域上、Write"BがWriteAより0.5フレーム遅れたポインタ値を示しているときは、読み出しポインタはβ領域24の最初にあり、よって、上記の切り替え時点より1.5フレーム前から0.5フレーム前までの期間でメモリ16のβ領域24に書き込まれた状態にある、図3(D)に「Bβ−1」で示す1フレーム分の復号化映像信号Bを読み出して切り替え部17より出力する。
Similarly to the above, when the decoded video signal B is delayed by 0.5 frame with respect to the decoded video signal A, as shown by “Bα” in FIG. 16 frames of the decoded video signal B have already been written in the 16
このように、本実施の形態では、メモリ14とメモリ16の1フレーム内における書き込み位置を監視することで、非同期であった、復号化映像信号Aと復号化映像信号Bの同期管理ができる。また、従来のようにMPEGデータのGOP内のピクチャ数Nフレーム分だけ待つことなく、2つのMPEGデータの復号化映像信号の切り替えができる。また、2つの復号化映像信号の切り替えは垂直ブランキング期間で行われるため、ショックのないシームレスな映像切り替えができる。
As described above, in this embodiment, by monitoring the writing position in one frame of the
なお、メモリ制御部13とメモリ制御部15の書き込みタイミングと読み出しタイミングの非同期/同期関係について特に記載してはいないが、読み出しタイミングについては、同一の基準クロックに基づいて同一の読み出しタイミング信号を発生しており、また、書き込みタイミングについては、前述したように、WriteBとWrite'B又はWrite"Bとの差(1フレーム枠におけるポインタ値の差分)を認識して書き込みタイミング信号を発生するようにしているが、それらのタイミング信号発生手段自体は、フレームシンクロナイザ(FS)動作として既知の技術で実現できるため、詳細な説明は省略する。
Although the asynchronous / synchronous relationship between the write timing and the read timing of the
なお、本発明は上記の実施の形態に限定されるものではなく、例えば、図2ではフレーム分割として説明しているが、フィールド分割やライン分割でもメモリ制御部14やメモリ制御部16のコントロールによっては実現可能である。また、上記の実施の形態では、切り替え部17は復号化映像信号を垂直ブランキング期間内で切り替えるように説明したが、水平ブランキング期間内で切り替えるようにすることもできる。
The present invention is not limited to the above-described embodiment. For example, FIG. 2 illustrates frame division, but field division or line division is controlled by the
また、同期化された回路では、より簡素になり得るため、本発明は、一般的な方式としてのものであり、個々事由に対する多種多様に適した手法応用をも包括している。また、図1では、2つの非同期なMPEGデータを扱うように説明しているが、3つ以上の非同期なMPEGデータを扱うことも同様の方法にて処理可能である。 In addition, since a synchronized circuit can be simpler, the present invention is a general method and includes a wide variety of method applications suitable for individual reasons. In FIG. 1, two asynchronous MPEG data are described as being handled, but it is also possible to handle three or more asynchronous MPEG data by a similar method.
また、上記の実施の形態の復号化部11、12、メモリ制御回路13、15、切り替え部17を高集積化された集積回路で構成して簡易に組み合わせることで、小型かつ高速に、表示品質に支障なく切り替え動作を行うデコード装置を実現できる。
In addition, the
11、12 復号化部
13、15 メモリ制御部
14、16 メモリ
17 切り替え部
11, 12
Claims (7)
互いに非同期で入力される前記複数の符号化映像信号を、それぞれ別々にデコードして、複数の復号化映像信号を生成する第1のステップと、
前記複数の復号化映像信号を1対1に対応して設けられた複数のメモリに供給して、それぞれ別々に各復号化映像信号の映像同期信号に基づいて書き込む第2のステップと、
前記複数のメモリから互いに同一の読み出しタイミングで、各メモリに記憶されている前記復号化映像信号を読み出す第3のステップと、
前記第3のステップで読み出された複数の前記復号化映像信号のうち、選択して出力している第1の復号化映像信号から、所望の別の第2の復号化映像信号を所定のブランキング期間内で切り替えて出力する第4のステップと
を含むことを特徴とするデコード方法。 A plurality of encoded video signals obtained by compressing and encoding a video signal by a predetermined encoding method are input in parallel and asynchronously with each other, and one encoded video signal arbitrarily selected from the plurality of encoded video signals A decoding method for outputting a decoded video signal,
A first step of separately decoding the plurality of encoded video signals input asynchronously with each other to generate a plurality of decoded video signals;
A second step of supplying the plurality of decoded video signals to a plurality of memories provided in a one-to-one correspondence and writing each separately based on a video synchronization signal of each decoded video signal;
A third step of reading out the decoded video signal stored in each memory at the same read timing from the plurality of memories;
Of the plurality of decoded video signals read out in the third step, a desired second decoded video signal is selected from the first decoded video signal selected and output. And a fourth step of switching and outputting within the blanking period.
互いに非同期で入力される前記複数の符号化映像信号を、それぞれ別々にデコードして、複数の復号化映像信号を生成する複数の復号化手段と、
前記複数の復号化映像信号を別々に書き込んだ後読み出す複数のメモリと、
前記複数のメモリの各々に対して、前記複数の復号化映像信号のうち対応する復号化映像信号を互いに独立して、その復号化映像信号の映像同期信号に基づいて非同期で書き込み、前記複数の復号化映像信号のうち予め定めた一の復号化映像信号を基準にして読み出しタイミングを同期させて、前記複数のメモリから記憶復号化映像信号を読み出すメモリ制御手段と、
前記複数のメモリから読み出された複数の前記復号化映像信号のうち、選択して出力している第1の復号化映像信号から、所望の別の第2の復号化映像信号を所定のブランキング期間内で切り替えて出力する切り替え手段と
を有することを特徴とするデコード装置。 A plurality of encoded video signals obtained by compressing and encoding a video signal by a predetermined encoding method are input in parallel and asynchronously with each other, and one encoded video signal arbitrarily selected from the plurality of encoded video signals A decoding device that outputs a decoded video signal,
A plurality of decoding means for generating a plurality of decoded video signals by separately decoding the plurality of encoded video signals input asynchronously with each other;
A plurality of memories to be read after separately writing the plurality of decoded video signals;
Into each of the plurality of memories, a corresponding decoded video signal among the plurality of decoded video signals is written independently and asynchronously based on a video synchronization signal of the decoded video signal, Memory control means for synchronizing the readout timing with reference to one predetermined decoded video signal among the decoded video signals and reading out the stored decoded video signals from the plurality of memories;
Of the plurality of decoded video signals read out from the plurality of memories, a desired second decoded video signal is selected from a first decoded video signal selected and output. And a switching means for switching and outputting within the ranking period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006084476A JP4661652B2 (en) | 2006-03-27 | 2006-03-27 | Decoding method and decoding apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006084476A JP4661652B2 (en) | 2006-03-27 | 2006-03-27 | Decoding method and decoding apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007259369A true JP2007259369A (en) | 2007-10-04 |
JP4661652B2 JP4661652B2 (en) | 2011-03-30 |
Family
ID=38633085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006084476A Active JP4661652B2 (en) | 2006-03-27 | 2006-03-27 | Decoding method and decoding apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4661652B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015171020A (en) * | 2014-03-07 | 2015-09-28 | 日本電気株式会社 | Receiving device and receiving method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10224753A (en) * | 1997-02-06 | 1998-08-21 | Matsushita Electric Ind Co Ltd | Video transmission device |
JP2002305727A (en) * | 2001-04-04 | 2002-10-18 | Victor Co Of Japan Ltd | Timing adjustment device |
JP2003304442A (en) * | 2002-04-12 | 2003-10-24 | Sony Corp | Communication system, image pickup system, image pickup device, image pickup signal processor, and method of picking-up and processing image |
-
2006
- 2006-03-27 JP JP2006084476A patent/JP4661652B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10224753A (en) * | 1997-02-06 | 1998-08-21 | Matsushita Electric Ind Co Ltd | Video transmission device |
JP2002305727A (en) * | 2001-04-04 | 2002-10-18 | Victor Co Of Japan Ltd | Timing adjustment device |
JP2003304442A (en) * | 2002-04-12 | 2003-10-24 | Sony Corp | Communication system, image pickup system, image pickup device, image pickup signal processor, and method of picking-up and processing image |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015171020A (en) * | 2014-03-07 | 2015-09-28 | 日本電気株式会社 | Receiving device and receiving method |
Also Published As
Publication number | Publication date |
---|---|
JP4661652B2 (en) | 2011-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7865021B2 (en) | Compressed stream decoding apparatus and method | |
US20090086818A1 (en) | Frame buffer memory operating method used to decompress compressed moving pictures, and decoding apparatus adapted to frame buffer memory operating method | |
US20110116722A1 (en) | Coded stream reproduction device and coded stream reproduction method | |
JP5879169B2 (en) | Subtitle synchronized playback apparatus and program thereof | |
JP2009111932A (en) | Moving image decoding device | |
JP2010081330A (en) | Signal processing method and apparatus in three-dimensional image display | |
JP2000092348A (en) | Frame synchronizer | |
JP4661652B2 (en) | Decoding method and decoding apparatus | |
US20100061697A1 (en) | Motion picture decoding method, motion picture decoding device, and electronic apparatus | |
KR20020002196A (en) | Apparatus for signal processing and it's method | |
US9258540B2 (en) | Imaging apparatus | |
JP2006191538A (en) | Compressed stream decoding instrument and compressed stream decoding method | |
JP2005338498A (en) | Display memory device | |
JP2009296410A (en) | High-resolution video reproducing device | |
JP2001231035A (en) | Decoding synchronous controller, decoder, and decode synchronization control method | |
JP2006324739A (en) | Coded data reproducing apparatus | |
JP5476179B2 (en) | Tuner switching device, tuner switching system, and method for controlling tuner switching device | |
WO2014013657A1 (en) | Video signal processing device and video signal processing method | |
JP2006310906A (en) | Video signal processor | |
JP2007300568A (en) | Video signal processing apparatus | |
KR100577195B1 (en) | Apparatus for generating multi screen | |
KR101336820B1 (en) | Apparatus and method for decoding specialized multi-channel trick mode | |
JPH09154063A (en) | Device and method for encoding and decoding superimposed character signal | |
JP4894251B2 (en) | Voice switching method and voice switching device | |
JP2009117990A (en) | Information presentation device and information presentation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090212 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101001 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101005 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101026 |
|
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: 20101207 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101220 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4661652 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140114 Year of fee payment: 3 |