JP2008306660A - Video signal processing apparatus - Google Patents

Video signal processing apparatus Download PDF

Info

Publication number
JP2008306660A
JP2008306660A JP2007154251A JP2007154251A JP2008306660A JP 2008306660 A JP2008306660 A JP 2008306660A JP 2007154251 A JP2007154251 A JP 2007154251A JP 2007154251 A JP2007154251 A JP 2007154251A JP 2008306660 A JP2008306660 A JP 2008306660A
Authority
JP
Japan
Prior art keywords
video
control unit
resolution
unit
buffer
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.)
Pending
Application number
JP2007154251A
Other languages
Japanese (ja)
Inventor
Akifumi Yamana
章文 山名
Ryoji Yamaguchi
良二 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2007154251A priority Critical patent/JP2008306660A/en
Publication of JP2008306660A publication Critical patent/JP2008306660A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a display video image from being distorted, by taking measures for preventing the video image from being momentarily muted, without expanding circuit scale, even in the case where a resolution format or an encoding scheme of a compressed video signal is switched in accordance with a receiving state in a video signal processing apparatus. <P>SOLUTION: While one of multiplexed bit streams resulting from multiplexing a plurality of video bit streams of different video resolution formats is decoded by a video decoding section 110, when a decoding target is switched to another video stream in accordance with a receiving state and the video resolution format is switched, from a time point at which the video stream after is completely decoded the switching to a time point at which decoded video data after switching can be outputted from a video buffer 111, under control of a resolution switching control section 116, decoded video data before switching are processed by an enlargement/reduction processing section 112. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、デジタルTV放送などを受信する際に、その受信状態に応じて、高解像度ストリームと低解像度ストリームとを切り替えて映像表示したり、又は、異なる符号化方式で圧縮された複数のストリームを切り替えて映像表示する映像復号処理技術に関するものである。   The present invention, when receiving a digital TV broadcast or the like, displays a video by switching between a high-resolution stream and a low-resolution stream according to the reception state, or a plurality of streams compressed by different encoding methods The present invention relates to a video decoding processing technology for switching video and displaying video.

従来の映像信号処理装置のブロック構成を図13に示す。同図に示すように、従来の映像信号処理装置では、高解像度用MPEG2復号器1001から映像信号が出力されて画像入力選択器1003に入力されると共に、低解像度用MPEG2復号器1002から映像信号が出力されて画像入力選択器1003に入力される。   FIG. 13 shows a block configuration of a conventional video signal processing apparatus. As shown in the figure, in the conventional video signal processing apparatus, a video signal is output from the high-resolution MPEG2 decoder 1001 and input to the image input selector 1003, and the video signal is output from the low-resolution MPEG2 decoder 1002. Is output to the image input selector 1003.

前記画像入力選択器1003は、高解像度用MPEG2復号器1001からの映像信号を出力する場合と、低解像度用MPEG2復号器1002からの映像信号を出力する場合との2種類存在する。この高解像度用MPEG2復号器1001からのデータ(異なる解像度ファーマット1080I、720P、480P、480Iなど)と、低解像度用MPEG2復号器1002からのデータ(480P、480Iなど)とを切替える場合には、次の判別が行われる。切替え時には、垂直同期信号と水平同期信号との周波数から、処理する解像度フォーマット(1080I,720P,480P,480Iなど)を判別し、この判別後に、切替えた後の解像度フォーマットに合わせて出力を行っている。例えば、図14に示すように、解像度フォーマット1080Iの映像データの出力と他の解像度フォーマット480Iの映像データの出力との切り替わり部分では、解像度フォーマット480Iでの垂直同期信号と水平同期信号との周波数から、解像度フォーマットの判別を行って、この判別が出来次第、切替わった解像度フォーマット480Iで処理するようになっている。このような技術は、例えば特許文献1に記載されている。
国際公開第2004/091198号パンフレット
There are two types of the image input selector 1003: a case where a video signal is output from the high-resolution MPEG2 decoder 1001, and a case where a video signal is output from the low-resolution MPEG2 decoder 1002. When switching the data from the high-resolution MPEG2 decoder 1001 (different resolution formats 1080I, 720P, 480P, 480I, etc.) and the data from the low-resolution MPEG2 decoder 1002 (480P, 480I, etc.) The following determination is made: At the time of switching, the resolution format (1080I, 720P, 480P, 480I, etc.) to be processed is determined from the frequencies of the vertical synchronizing signal and horizontal synchronizing signal, and after this determination, output is performed according to the switched resolution format. Yes. For example, as shown in FIG. 14, in the switching portion between the output of video data of resolution format 1080I and the output of video data of other resolution format 480I, the frequency of the vertical sync signal and horizontal sync signal in resolution format 480I is used. The resolution format is discriminated, and as soon as this discrimination is made, processing is performed with the switched resolution format 480I. Such a technique is described in Patent Document 1, for example.
International Publication No. 2004/091198 Pamphlet

しかしながら、前記従来の構成では、高解像度用MPEG2復号器1001と、低解像度用MPEG2復号器1002との切り替えでは、必ず不安定な垂直同期信号と、水平同期信号とが発生するため、切替え期間中には通常とは異なる映像を表示させないように、映像ミュート処理する必要があった。   However, in the conventional configuration, when switching between the high-resolution MPEG2 decoder 1001 and the low-resolution MPEG2 decoder 1002, an unstable vertical synchronizing signal and horizontal synchronizing signal are always generated. Needed to mute the video so that it would not display a different video.

更に、高解像度用MPEG2復号器1001と低解像度用MPEG2復号器1002とは、出力するための垂直同期信号が相互に同期していないため、解像度フォーマットの切替え時には、切替えた方の出力に同期させる必要がある。図14では、高解像度用MPEG2復号器1001の出力の垂直同期信号と、低解像度用MPEG2復号器1002の出力の垂直同期信号とが同期していないことが判る。その場合には、画像入力選択器1003で高解像度用MPEG2復号器の出力である1080Iから低解像度用MPEG2復号器の出力である480Iに切替える際には、必ず、垂直同期信号と水平同期信号の再同期をかけるため、同図に記載されるように短い間隔の垂直同期信号が発生する。その短い垂直同期信号が出力されている時に映像を表示すると、通常とは異なる映像を表示してしまうために、映像ミュート処理する必要がある。その結果、解像度フォーマットが切り替わった際には、その切り替わり時に一瞬映像が途切れるように見える欠点があった。   Further, since the high-resolution MPEG2 decoder 1001 and the low-resolution MPEG2 decoder 1002 are not synchronized with each other in vertical synchronization signals for output, they are synchronized with the output of the switched one when the resolution format is switched. There is a need. In FIG. 14, it can be seen that the vertical synchronization signal output from the high-resolution MPEG2 decoder 1001 and the vertical synchronization signal output from the low-resolution MPEG2 decoder 1002 are not synchronized. In that case, when the image input selector 1003 switches from 1080I, which is the output of the high-resolution MPEG2 decoder, to 480I, which is the output of the low-resolution MPEG2 decoder, the vertical sync signal and the horizontal sync signal must be switched. In order to apply resynchronization, a vertical synchronization signal with a short interval is generated as shown in FIG. If an image is displayed while the short vertical synchronizing signal is being output, an image different from the normal image is displayed, and therefore it is necessary to perform an image mute process. As a result, when the resolution format is switched, there is a drawback that the video appears to be interrupted for a moment when the resolution format is switched.

また、高解像度ストリームの映像データと低解像度ストリームの映像データとの何れか一方を排他的に表示するために、個別の高解像度用MPEG2復号器1001と低解像度用MPEG2復号器1002とが必要であった。   In addition, in order to exclusively display either high-resolution stream video data or low-resolution stream video data, separate high-resolution MPEG2 decoder 1001 and low-resolution MPEG2 decoder 1002 are required. there were.

本発明の目的は、1つの復号器を使用した簡易な構成を採用しながら、解像度フォーマットが切り替わった際にも、一瞬映像が途切れて見えないように対策することにある。   SUMMARY OF THE INVENTION An object of the present invention is to take measures to prevent a video from being interrupted for a moment even when a resolution format is changed while adopting a simple configuration using one decoder.

前記目的達成するため、本発明では、1つの復号器を使用しつつ、例えばデジタルTV放送などの受信状態が低下して、前記1つの復号器で復号化する圧縮映像データの種類が高解像度フォーマットの圧縮映像データから低解像度フォーマットの圧縮映像データに切り替わった際には、その切り替わり後の圧縮映像データを復号化してビデオバッファに保存し始めるが、この保存が終了してビデオバッファから出力可能になるまでの間は、その切り替わり前の高解像度フォーマットの圧縮映像データを拡大縮小処理し続け、出力可能になれば、その低解像度フォーマットの圧縮映像データを拡大縮小処理して出力、表示するようにする。   In order to achieve the above object, in the present invention, the type of compressed video data to be decoded by the single decoder is reduced to a high resolution format while the reception state of, for example, digital TV broadcasting is lowered while using the single decoder. When switching from compressed video data to low-resolution format compressed video data, the compressed video data after the switching is decoded and begins to be stored in the video buffer. Until then, the compressed video data in the high-resolution format before the switching will continue to be enlarged and reduced, and if it can be output, the compressed video data in the lower-resolution format will be enlarged and reduced and output and displayed. To do.

具体的に、請求項1の発明が講じた手段は、解像度フォーマットが異なる複数種類の圧縮映像データを復号するビデオデコード部と、前記ビデオデコード部で復号された映像データを保持するビデオバッファと、前記ビデオバッファの出力を受け、前記復号された映像データを、指示された映像解像度フォーマットに基づいて、垂直同期信号及び水平同期信号に同期して垂直方向及び水平方向に拡大縮小処理する拡大縮小処理部と、前記ビデオデコード部からの映像データを受け、この映像データの映像解像度フォーマットが切り替わったことを判別する解像度切替え制御部とを備え、前記解像度切替え制御部は、前記判別した切り替わり後の映像解像度フォーマットを前記拡大縮小処理部に指示すると共に、前記ビデオデコード部から受けた映像データに基づいて前記ビデオバッファからの映像データの出力が可能か否かを判断し、出力可能でないときには前記拡大縮小処理部に対して映像解像度フォーマットが切り替わる前の映像データを拡大縮小処理するよう指示する一方、出力可能になったときには映像解像度フォーマットが切り替わった後の映像データを拡大縮小処理するよう指示することを特徴とする。   Specifically, the means taken by the invention of claim 1 includes a video decoding unit that decodes a plurality of types of compressed video data having different resolution formats, a video buffer that holds video data decoded by the video decoding unit, Enlargement / reduction processing for receiving the output of the video buffer and enlarging / reducing the decoded video data in the vertical direction and the horizontal direction in synchronization with the vertical synchronization signal and the horizontal synchronization signal based on the designated video resolution format And a resolution switching control unit that receives video data from the video decoding unit and discriminates that the video resolution format of the video data has been switched, and the resolution switching control unit includes the discriminated video after the switching The resolution format is instructed to the enlargement / reduction processing unit and received from the video decoding unit. It is determined whether the video data can be output from the video buffer based on the video data. If the video data cannot be output, the video data before the video resolution format is switched is enlarged / reduced to the enlargement / reduction processing unit. On the other hand, when output is enabled, the video data after the video resolution format is switched is instructed to be enlarged / reduced.

請求項2記載の発明は、前記請求項1記載の映像信号処理装置において、前記拡大縮小処理部の前記垂直同期信号に同期させて前記ビデオデコード部での復号処理を行なわせるデコード起動制御部を有し、前記拡大縮小処理部は、前記解像度切替え制御部から切り替わり後の映像解像度フォーマットを指示された後の垂直同期信号タイミングで、拡大縮小処理する映像データの解像度フォーマットを前記指示された解像度フォーマットに切り替えることを特徴とする。   According to a second aspect of the present invention, in the video signal processing device according to the first aspect, a decoding activation control unit that performs a decoding process in the video decoding unit in synchronization with the vertical synchronization signal of the enlargement / reduction processing unit. The enlargement / reduction processing unit has a resolution format of the designated resolution format of the video data to be enlarged / reduced at a vertical synchronization signal timing after the resolution switching control unit is instructed to change the video resolution format. It is characterized by switching to.

請求項3記載の発明は、前記請求項1に記載の映像信号処理装置において、前記解像度切替え制御部は、前記ビデオデコード部から受けた映像データに基づいて、前記ビデオデコード部で解像度フォーマットが切り替わったことを判別するフォーマット判別制御部と、前記フォーマット判別制御部の判別結果を受けると共に、前記ビデオデコード部から受けた映像データに基づいて前記ビデオバッファからの映像データの出力が可能か否かを判断し、出力可能でないときにはフリーズON状態の指示信号を出力すると共に切り替わり前の映像解像度フォーマットを前記拡大縮小処理部に出力し、一方、出力可能になったときにはフリーズOFF状態の指示信号を出力すると共に切り替わり後の映像解像度フォーマットを前記拡大縮小処理部に出力する遅延制御部と、前記遅延制御部からフリーズON状態の指示信号を受けて、前記映像解像度フォーマットが切り替わる前の映像データを拡大縮小処理するよう前記拡大縮小処理部に指示する一方、前記遅延制御部からフリーズOFF状態の指示信号を受けて、前記映像解像度フォーマットが切り替わった後の映像データを拡大縮小処理するよう前記拡大縮小処理部に指示することを特徴とする。   According to a third aspect of the present invention, in the video signal processing device according to the first aspect, the resolution switching control unit switches the resolution format in the video decoding unit based on the video data received from the video decoding unit. A format determination control unit for determining whether or not video format data can be output from the video buffer based on the video data received from the video decoding unit. When the output is not possible, the instruction signal indicating the freeze ON state is output and the video resolution format before switching is output to the enlargement / reduction processing unit. On the other hand, when the output is enabled, the instruction signal indicating the freeze OFF state is output. The video resolution format after switching with the enlargement / reduction processing unit Receiving a freeze ON state instruction signal from the delay control unit, and instructing the enlargement / reduction processing unit to enlarge / reduce the video data before the video resolution format is switched, while the delay In response to the instruction signal indicating the freeze OFF state from the control unit, the enlargement / reduction processing unit is instructed to enlarge / reduce the video data after the video resolution format is switched.

請求項4記載の発明は、前記請求項1〜請求項3の何れか1項に記載の映像信号処理装置において、解像度の異なる2以上のビデオビットストリームが多重化された多重化ビデオビットストリームを入力し、この多重化ビデオビットストリームを、この多重化ビデオビットストリーム中の情報であるPIDの情報に基づいて2以上の解像度の異なるビデオビットストリームに分離する入力部と、前記分離された2以上のビデオビットストリームを保持する2以上のビデオストリームバッファとを備え、前記2以上のビデオストリームバッファのうち何れか1つに保持されたビデオビットストリームが前記ビデオデコード部に入力されて復号され、残りのビデオストリームバッファに保持されたビデオビットストリームは、垂直同期信号に同期して削除されることを特徴とする。   According to a fourth aspect of the present invention, in the video signal processing apparatus according to any one of the first to third aspects, a multiplexed video bitstream in which two or more video bitstreams having different resolutions are multiplexed is provided. An input unit that separates the multiplexed video bitstream into video bitstreams having different resolutions of two or more based on PID information that is information in the multiplexed video bitstream, and the two or more separated Two or more video stream buffers for holding the video bit stream, and the video bit stream held in any one of the two or more video stream buffers is input to the video decoding unit for decoding, and the rest The video bit stream held in the video stream buffer is synchronized with the vertical sync signal Characterized in that it is removed Te.

請求項5記載の発明は、前記請求項1〜請求項3の何れか1項に記載の映像信号処理装置において、符号化方式の異なる2以上のオーディオビットストリームが多重化された多重化オーディオビットストリームを入力し、この多重化オーディオビットストリームを、この多重化オーディオビットストリーム中の情報であるPIDの情報に基づいて2以上の符号化方式の異なるオーディオビットストリームに分離する入力部と、前記分離された2以上のオーディオビットストリームを保持する2以上のオーディオストリームバッファと、符号化方式が異なる複数種類の圧縮音声データを復号するオーディオデコード部とを備え、前記2以上のオーディオストリームバッファのうち何れか1つに保持されたオーディオビットストリームが前記オーディオデコード部に入力されて復号され、残りのオーディオストリームバッファに保持されたオーディオビットストリームは、垂直同期信号に同期して削除されることを特徴とする。   According to a fifth aspect of the present invention, in the video signal processing apparatus according to any one of the first to third aspects, multiplexed audio bits in which two or more audio bit streams having different encoding methods are multiplexed. An input unit that inputs a stream and separates the multiplexed audio bitstream into two or more different audio bitstreams based on PID information that is information in the multiplexed audio bitstream; Two or more audio stream buffers that hold the two or more audio bitstreams, and an audio decoding unit that decodes a plurality of types of compressed audio data having different encoding methods, and one of the two or more audio stream buffers Audio bit stream held in one Is inputted are decoded Iodekodo part, the rest of the audio stream audio bit stream held in the buffer, characterized in that it is removed in synchronization with the vertical synchronizing signal.

請求項6記載の発明は、前記請求項4に記載の映像信号処理装置において、前記2以上のビデオストリームバッファに保持されたビデオビットストリームのうち、前記ビデオデコード部で復号されないビデオビットストリームの所定フレーム数分を、前記垂直同期信号に同期して削除するよう指示するバッファ削除制御部を備え、前記2以上のビデオストリームバッファのうち、前記ビデオデコード部で復号されないビデオビットストリームを保持するビデオストリームバッファは、前記バッファ削除制御部により指定された所定フレーム数分だけデータを出力したことを認識することを特徴とする。   According to a sixth aspect of the present invention, in the video signal processing device according to the fourth aspect, among the video bitstreams held in the two or more video stream buffers, a predetermined video bitstream that is not decoded by the video decoding unit. A video stream that includes a buffer deletion control unit that instructs to delete the number of frames in synchronization with the vertical synchronization signal, and holds a video bit stream that is not decoded by the video decoding unit, out of the two or more video stream buffers The buffer recognizes that data has been output for a predetermined number of frames designated by the buffer deletion control unit.

請求項7記載の発明は、前記請求項5に記載の映像信号処理装置において、前記2以上のオーディオストリームバッファに保持されたオーディオビットストリームのうち、前記オーディオデコード部で復号されないオーディオビットストリームの所定フレーム数分を、前記垂直同期信号に同期して削除するよう指示するバッファ削除制御部を備え、前記2以上のオーディオストリームバッファのうち、前記オーディオデコード部で復号されないオーディオビットストリームを保持するオーディオストリームバッファは、前記バッファ削除制御部により指定されたフレーム数分だけデータを出力したことを認識することを特徴とする。   According to a seventh aspect of the present invention, in the video signal processing device according to the fifth aspect, among the audio bitstreams held in the two or more audio stream buffers, a predetermined audio bitstream that is not decoded by the audio decoding unit. An audio stream that includes a buffer deletion control unit that instructs to delete the number of frames in synchronization with the vertical synchronization signal, and holds an audio bitstream that is not decoded by the audio decoding unit among the two or more audio stream buffers The buffer recognizes that data has been output by the number of frames specified by the buffer deletion control unit.

請求項8記載の発明は、前記請求項6に記載の映像信号処理装置において、前記バッファ削除制御部は、ビデオとオーディオとを同期させるための同期基準信号であるシステムクロックを受け、このシステムクロックの時間情報STCとビデオビットストリームの時間情報PTSとを比較し、STC<PTSの場合にはSTC>=PTSになるまでビデオビットストリームを出力したことに認識させるための指示をすることを特徴とする。   According to an eighth aspect of the present invention, in the video signal processing apparatus according to the sixth aspect, the buffer deletion control unit receives a system clock which is a synchronization reference signal for synchronizing video and audio, and the system clock The time information STC is compared with the time information PTS of the video bitstream, and in the case of STC <PTS, an instruction is made to recognize that the video bitstream has been output until STC> = PTS. To do.

請求項9記載の発明は、前記請求項7に記載の映像信号処理装置において、前記バッファ削除制御部は、ビデオとオーディオとを同期させるための同期基準信号であるシステムクロックを受け、このシステムクロックの時間情報STCとオーディオビットストリームの時間情報PTSとを比較し、STC<PTSの場合にはSTC>=PTSになるまでオーディオビットストリームを出力したことに認識させるための指示をすることを特徴とする。   According to a ninth aspect of the present invention, in the video signal processing apparatus according to the seventh aspect, the buffer deletion control unit receives a system clock which is a synchronization reference signal for synchronizing video and audio, and the system clock The time information STC is compared with the time information PTS of the audio bitstream, and when STC <PTS, an instruction is given to recognize that the audio bitstream has been output until STC> = PTS. To do.

請求項10記載の発明は、前記請求項6記載の映像信号処理装置において、前記入力部で分離された解像度の異なる2以上のビデオビットストリームのうち1つを選択する選択制御部を備え、前記選択制御部は、前記入力部に入力される多重化ビデオビットストリームの受信状態の良し悪しを所定のスレッシュホールド値を基準に判別する受信状態判別制御部と、前記受信状態判別制御部が受信状態の良好を判別したとき、受信状態が良いときの解像度フォーマットを前記ビデオデコード部に指示する高受信制御部と、前記受信状態判別制御部が受信状態の悪化を判別したとき、受信状態が悪いときの解像度フォーマットを前記ビデオデコード部に指示する低受信制御部とを備えたことを特徴とする。   The video signal processing device according to claim 10, further comprising a selection control unit that selects one of two or more video bitstreams having different resolutions separated by the input unit, The selection control unit includes: a reception state determination control unit that determines whether the reception state of the multiplexed video bitstream input to the input unit is good or bad based on a predetermined threshold value; and the reception state determination control unit receives the reception state When the reception state is poor, when the reception state is poor, when the reception state determination control unit determines that the reception state is deteriorated, and the high reception control unit that instructs the video decoding unit the resolution format when the reception state is good And a low reception control unit for instructing the video decoding unit to select a resolution format.

請求項11記載の発明は、前記請求項7記載の映像信号処理装置において、前記入力部で分離された符号化方式の異なる2以上のオーディオビットストリームのうち1つを選択する選択制御部を備え、前記選択制御部は、前記入力部に入力される多重化オーディオビットストリームの受信状態の良し悪しを所定のスレッシュホールド値を基準に判別する受信状態判別制御部と、前記受信状態判別制御部が受信状態の良好を判別したとき、受信状態が良いときの符号化方式を前記オーディオデコード部に指示する高受信制御部と、前記受信状態判別制御部が受信状態の悪化を判別したとき、受信状態が悪いときの符号化方式を前記オーディオデコード部に指示する低受信制御部とを備えたことを特徴とする。   The invention according to claim 11 is the video signal processing apparatus according to claim 7, further comprising a selection control unit for selecting one of two or more audio bitstreams having different encoding schemes separated by the input unit. The selection control unit includes a reception state determination control unit that determines whether the reception state of the multiplexed audio bitstream input to the input unit is good or bad based on a predetermined threshold value, and the reception state determination control unit includes: When it is determined that the reception state is good, a high reception control unit that instructs the audio decoding unit on the encoding method when the reception state is good, and when the reception state determination control unit determines that the reception state is deteriorated, the reception state And a low reception control unit for instructing the audio decoding unit of an encoding method when the signal is bad.

請求項12記載の発明は、前記請求項10に記載の映像信号処理装置において、前記バッファ削除制御部は、高解像度のビデオビットストリームを保持するビデオストリームバッファに対する高解像度のビデオビットストリームの削除を制御するバッファ1削除制御部と、低解像度のビデオビットストリームを保持するビデオストリームバッファに対する低解像度のビデオビットストリームの削除を制御するバッファ2削除制御部とを有し、前記高受信制御部は、受信状態が良いとき、低解像度のビデオビットストリームを削除するようバッファ2削除制御部に指示し、前記低受信制御部は、受信状態が悪いとき、高解像度のビデオビットストリームを削除するようバッファ1削除制御部に指示することを特徴とする。   According to a twelfth aspect of the present invention, in the video signal processing device according to the tenth aspect, the buffer deletion control unit deletes the high-resolution video bitstream from the video stream buffer that holds the high-resolution video bitstream. A buffer 1 deletion control unit for controlling, and a buffer 2 deletion control unit for controlling the deletion of the low resolution video bit stream with respect to the video stream buffer holding the low resolution video bit stream, and the high reception control unit includes: When the reception state is good, the buffer 2 deletion control unit is instructed to delete the low-resolution video bit stream. When the reception state is bad, the low reception control unit buffers the buffer 1 so as to delete the high-resolution video bit stream. The deletion control unit is instructed.

請求項13記載の発明は、前記請求項1〜12に記載の映像信号処理装置において、前記解像度切替え制御は、第1フィールド時に解像度の切替え制御を行うことを特徴とする。   A thirteenth aspect of the present invention is the video signal processing device according to the first to twelfth aspects of the present invention, wherein the resolution switching control performs resolution switching control in the first field.

請求項14記載の発明の映像信号処理装置は、解像度フォーマットが異なる複数種類の圧縮映像データを復号するビデオデコード部と、前記ビデオデコード部で復号された映像データを拡大縮小処理する拡大縮小処理部と、前記拡大縮小処理された映像データを保持するフィルタバッファと、前記フィルタバッファに保持された映像データの解像度を映像出力の解像度に変換するためのフォーマットコンバート部と、前記ビデオデコード部での映像データの解像度フォーマットの切り替わり時にフリーズするためのフリーズ制御部とを具備し、前記フリーズ制御部は、前記ビデオデコード部からの復号後の映像データを受け、前記ビデオデコード部での前記映像データの解像度フォーマットが切り替わる前の最後の映像データを拡大縮小処理させず、前記フィルタバッファ内に保持された映像データを出力させ、その後、前記ビデオデコード部及び前記拡大縮小処理部が前記切り替わり後の解像度フォーマットに切り替わった後に前記拡大縮小処理部が処理した解像度フォーマットの映像データを前記フィルタバッファに退避することを特徴とする。   A video signal processing apparatus according to a fourteenth aspect of the present invention is a video decoding unit for decoding a plurality of types of compressed video data having different resolution formats, and an enlargement / reduction processing unit for enlarging / reducing the video data decoded by the video decoding unit. A filter buffer for holding the enlarged / reduced video data, a format conversion unit for converting the resolution of the video data held in the filter buffer to a resolution of video output, and video in the video decoding unit A freeze control unit for freezing when the resolution format of the data is switched, the freeze control unit receives the decoded video data from the video decoding unit, and the resolution of the video data in the video decoding unit Enlarge / reduce the last video data before the format is switched The resolution format processed by the enlargement / reduction processing unit after the video decoding unit and the enlargement / reduction processing unit are switched to the switched resolution format. The video data is saved in the filter buffer.

請求項15記載の発明の映像信号処理装置は、解像度フォーマットが異なる複数種類の圧縮映像データの各々を復号する複数のビデオデコード部と、前記複数のビデオデコード部で復号された映像データを各々保持する複数のビデオバッファと、前記複数のビデオバッファからの複数の映像データのうち1つを選択的に受けて拡大縮小処理する拡大縮小処理部と、前記拡大縮小処理された映像データを保持するフィルタバッファと、前記フィルタバッファに保持された映像データの解像度を映像出力の解像度に変換するためのフォーマットコンバート部と、映像データの符号化方式を切り替える時の解像度切替え制御部と、前記複数のビデオデコード部での復号の起動を制御するデコード起動制御部と、前記複数のビデオデコード部で復号された複数の映像データのうち何れを表示するかを選択する選択制御部とを備え、前記解像度切替え制御部は、前記選択制御部から、前記複数のビデオデコード部で復号された複数の映像データのうち何れを選択したかの指示を受け、この指示に基づいて、選択された映像データの解像度フォーマットを取得して、前記垂直同期信号に同期して前記拡大縮小処理部での拡大縮小処理の解像度フォーマットを切り替えることを特徴とする。   The video signal processing apparatus according to claim 15 holds a plurality of video decoding units for decoding each of a plurality of types of compressed video data having different resolution formats, and holds the video data decoded by the plurality of video decoding units, respectively. A plurality of video buffers, an enlargement / reduction processing unit that selectively receives and enlarges one of a plurality of video data from the plurality of video buffers, and a filter that holds the enlarged / reduced video data A buffer, a format conversion unit for converting the resolution of the video data held in the filter buffer into a resolution of video output, a resolution switching control unit for switching the encoding method of the video data, and the plurality of video decodes A decoding start control unit for controlling the start of decoding in the unit, and the plurality of video decoding units A selection control unit that selects which of the plurality of video data is to be displayed, and the resolution switching control unit receives a plurality of video data decoded by the plurality of video decoding units from the selection control unit. Upon receiving an instruction on which one of them has been selected, the resolution format of the selected video data is acquired based on this instruction, and the resolution of the enlargement / reduction processing in the enlargement / reduction processing unit is synchronized with the vertical synchronization signal It is characterized by switching formats.

請求項16記載の発明は、前記請求項15に記載の映像信号処理装置において、前記デコード起動信号部は、前記拡大縮小処理部の垂直同期信号に同期して、前記複数のビデオデコード部へのデコード起動の指示を、前記垂直同期信号の同じ時刻に指示することを特徴とする。   According to a sixteenth aspect of the present invention, in the video signal processing device according to the fifteenth aspect, the decode activation signal unit outputs the plurality of video decode units to the video decode unit in synchronization with a vertical synchronization signal of the enlargement / reduction processing unit. An instruction to start decoding is instructed at the same time of the vertical synchronization signal.

以上により、請求項1〜16記載の発明では、解像度フォーマットが異なる複数種類の圧縮映像データを復号するビデオデコード部を備え、このビデオデコード部で復号する圧縮映像データが映像解像度フォーマットの異なる他の圧縮映像データに切り替わった際には、解像度切り替え制御部がその切り替わった圧縮映像データを拡大縮小処理してビデオバッファに格納し終わって出力可能に成るまでの間は、解像度切り替え制御部がその切り替わり前の最後の圧縮映像データを拡大縮小処理するように拡大縮小処理部に指示し、その後、ビデオバッファからの切り替わり後の圧縮映像データの出力が可能になると、初めてその切り替わり後の圧縮映像データの拡大縮小処理を行うように拡大縮小処理部に指示するので、従来のように解像度フォーマットの切り替え時に表示映像が乱れることがなく、正常に映像表示が行われる。しかも、拡大縮小処理部及びビデオデコー部は共通の垂直同期信号に基づいて動作するので、従来のように高解像度用フォーマットと低解像度用フォーマットの両映像データの垂直同期信号同士の同期を取る必要がなく、映像ミュート処理が不要で、映像が一瞬途切れるような現象は生じない。   As described above, the invention according to claims 1 to 16 includes a video decoding unit that decodes a plurality of types of compressed video data having different resolution formats, and the compressed video data to be decoded by the video decoding unit is different from that having a different video resolution format. When switching to compressed video data, the resolution switching control unit switches the resolution until the resolution switching control unit enlarges and reduces the compressed video data and stores it in the video buffer until it can be output. When the enlargement / reduction processing unit is instructed to perform the enlargement / reduction processing on the last compressed video data before, and the output of the compressed video data after switching from the video buffer becomes possible after that, the compressed video data after the switching is not changed for the first time. Since the enlargement / reduction processing unit is instructed to perform enlargement / reduction processing, Without the displayed image is distorted when switching formats, normal image display is performed. In addition, since the enlargement / reduction processing unit and the video decoding unit operate based on a common vertical synchronization signal, it is necessary to synchronize the vertical synchronization signals of the video data in both the high resolution format and the low resolution format as in the past. There is no need for video mute processing, and there is no phenomenon that the video is momentarily interrupted.

更に、請求項6、8及び10記載の発明では、ビデオデコー部にて所定の解像度フォーマットの1つの圧縮映像データを復号している際には、他の解像度フォーマットの1又は複数の圧縮映像データは、バッファ削除制御部によって、これ又はこれ等を保持するビデオストリームバッファから削除されるので、次に他の解像度フォーマットの圧縮映像データを復号する際には、支障なく行われる。   Furthermore, in the inventions according to claims 6, 8 and 10, when one compressed video data of a predetermined resolution format is decoded by the video decoding unit, one or a plurality of compressed video data of another resolution format is decoded. Is deleted from the video stream buffer holding this or the like by the buffer deletion control unit, so that the next time the compressed video data of another resolution format is decoded, it is performed without any trouble.

以上説明したように、請求項1〜16記載の発明の映像信号処理装置によれば、例えばデジタルTV放送などの受信状態に応じて復号器で復号化する圧縮映像データの解像度フォーマットが切り替わった際にも、映像が一瞬途切れるような現象は生じず、表示映像の乱れを防止することが可能である。   As described above, according to the video signal processing apparatus of the first to sixteenth aspects of the present invention, when the resolution format of the compressed video data to be decoded by the decoder is switched according to the reception state of, for example, digital TV broadcasting. In addition, the phenomenon that the video is interrupted for a moment does not occur, and it is possible to prevent the display video from being disturbed.

以下、本発明の実施形態を図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(実施形態1)
図1は、本発明の第1の実施形態に係る映像信号処理装置を示すブロック構成図である。
(Embodiment 1)
FIG. 1 is a block diagram showing a video signal processing apparatus according to the first embodiment of the present invention.

同図に示すように、本実施形態の映像信号処理装置は、1つの符号化方式MPEG等で圧縮されたビットストリームと、他の符号化方式H.264等で圧縮されたビットストリームとの何れか一方を選択的に復号化して、その復号化した映像を表示する。   As shown in the figure, the video signal processing apparatus according to the present embodiment includes a bit stream compressed by one encoding method MPEG or the like and another encoding method H.264. Any one of the bitstreams compressed by H.264 or the like is selectively decoded, and the decoded video is displayed.

本実施形態の映像信号処理装置は、入力部101と、ビデオストリームバッファ1104と、ビデオストリームバッファ2105と、オーディオストリームバッファ1106と、オーディオストリームバッファ2107と、ビデオデコード部110と、ビデオバッファ111と、拡大縮小処理部112と、解像度切替え制御部116と、デコード起動制御部117と、フィルタバッファ113と、フォーマットコンバート部114と、映像出力部115と、同期処理部118と、オーディオデコード部119と、オーディオバッファ120と、音声出力部121と、選択制御部122と、バッファ削除制御部123とを備えている。   The video signal processing apparatus according to the present embodiment includes an input unit 101, a video stream buffer 1104, a video stream buffer 2105, an audio stream buffer 1106, an audio stream buffer 2107, a video decoding unit 110, a video buffer 111, Enlargement / reduction processing unit 112, resolution switching control unit 116, decode activation control unit 117, filter buffer 113, format conversion unit 114, video output unit 115, synchronization processing unit 118, audio decoding unit 119, An audio buffer 120, an audio output unit 121, a selection control unit 122, and a buffer deletion control unit 123 are provided.

前記入力部101は、MPEG等で圧縮された高解像度フォーマット又は低解像度フォーマットのビデオビットストリーム(以下、MPEG等ビデオビットストリームという)と、H.264等で圧縮された高解像度フォーマット又は低解像度フォーマットのビデオビットストリーム(以下、H.264等ビデオビットストリームという)と、前記MPEG等ビデオビットストリームに同期するためのAAC等で圧縮されたオーディオビットストリームと、前記H.264等ビデオビットストリームに同期するためのAAC SBR等で圧縮されたオーディオビットストリームとが多重化されたビットストリーム(以下、多重化ビットストリームという)を入力する。   The input unit 101 includes a video bit stream in a high resolution format or a low resolution format compressed by MPEG or the like (hereinafter referred to as a video bit stream such as MPEG), H.264, or the like. A video bit stream of a high resolution format or a low resolution format compressed by H.264 (hereinafter referred to as a video bit stream such as H.264) and an audio bit compressed by AAC or the like for synchronizing with the video bit stream such as MPEG. Stream; A bit stream (hereinafter referred to as a multiplexed bit stream) in which an audio bit stream compressed by AAC SBR or the like for synchronization with a video bit stream such as H.264 is multiplexed is input.

更に、前記入力部101は、前記多重化ビットストリームの中のビットストリーム情報であるPIDの情報に基づき、多重化ビットストリームを各ビットストリームに分離し、その後、この分離したビデオビットストリーム、オーディオビットストリームを選択器102を介してビデオストリームバッファ104、105及びオーディオストリームバッファ106、107に退避する。具体的には、選択器102に指示SIG103をして、MPEG等ビデオビットストリームのときは、ビデオストリームバッファ1104に退避するように選択器102に指示SIG103をし、H.264等ビデオビットストリームのときは、ビデオストリームバッファ2105に退避するように選択器102に指示SIG103をし、AAC等で圧縮されたオーディオビットストリームのときは、オーディオストリームバッファ1106に退避するように選択器102に指示SIG103をし、AAC SBR等で圧縮されたオーディオビットストリームのときは、オーディオストリームバッファ2107に退避するように選択器102に指示SIG103をする。   Further, the input unit 101 separates the multiplexed bit stream into each bit stream based on PID information that is bit stream information in the multiplexed bit stream, and then separates the separated video bit stream and audio bits. The stream is saved in the video stream buffers 104 and 105 and the audio stream buffers 106 and 107 via the selector 102. Specifically, the instruction SIG 103 is given to the selector 102, and in the case of a video bit stream such as MPEG, the instruction SIG 103 is given to the selector 102 so as to save it in the video stream buffer 1104. In the case of a video bit stream such as H.264, the selector 102 is instructed to save in the video stream buffer 2105, and in the case of an audio bit stream compressed by AAC or the like, it is selected to save in the audio stream buffer 1106. The instruction SIG 103 is given to the device 102, and when the audio bit stream is compressed by AAC SBR or the like, the instruction SIG 103 is given to the selector 102 so as to save it in the audio stream buffer 2107.

ビデオストリームバッファ1104は、ビデオデコード部110で復号化するまでMPEG等ビデオビットストリームを退避するためのバッファであり、前記入力部101の出力したMPEG等ビデオビットストリームを一時退避し、映像表示するときは、ビデオデコード部110が復号化するために、ビデオストリームバッファ1104からMPEG等ビデオビットストリームをビデオデコード部110へ出力SIG108する。また、このビデオストリームバッファ1104は、後述するように、出力したサイズ分のデータを出力したことを認識する一方、映像表示しないときは、ビデオデコード部110で復号化されない関係上、垂直同期信号に同期してバッファ削除制御部(後述)123から指定されたサイズ分のデータを出力したことを指示SIG117されて、そのことを認識する。   The video stream buffer 1104 is a buffer for saving a video bit stream such as MPEG until it is decoded by the video decoding unit 110. When the video bit stream such as MPEG output from the input unit 101 is temporarily saved and video is displayed. The video decoder 110 outputs SIG 108 a video bit stream such as MPEG from the video stream buffer 1104 to the video decoder 110 for decoding. Further, as will be described later, the video stream buffer 1104 recognizes that the data of the output size has been output. On the other hand, when the video is not displayed, it is not decoded by the video decoding unit 110. Synchronously, an instruction SIG117 indicates that data of a specified size has been output from a buffer deletion control unit (described later) 123, and recognizes this.

ビデオストリームバッファ2105は、ビデオデコード部110で復号化するまでH.264等ビデオビットストリームを退避するためのバッファであり、入力部101の出力したH.264等ビデオビットストリームを一時退避し、映像表示するときは、ビデオデコード部110で復号化するようにビデオストリームバッファ2105からH.264等ビデオビットストリームをビデオデコード部110へ出力SIG109し、その出力したサイズ分のデータを出力したことを認識する。一方、映像表示されないときは、ビデオデコード部110で復号化しない関係上、垂直同期信号に同期してバッファ削除制御部123から指定されたサイズ分のデータを出力したことを指示SIG117されて、そのことを認識する。   The video stream buffer 2105 is H.264 until the video decoding unit 110 decodes it. H.264 or the like is a buffer for saving a video bit stream, and the H.264 output from the input unit 101 is saved. When the video bit stream such as H.264 is temporarily saved and the video is displayed, the video decoding unit 110 decodes the video bit stream from the video stream buffer 2105. The video bit stream such as H.264 is output to the video decoding unit 110, and it is recognized that data corresponding to the output size has been output. On the other hand, when the video is not displayed, because the video decoding unit 110 does not perform decoding, an instruction SIG117 indicates that the data of the specified size is output from the buffer deletion control unit 123 in synchronization with the vertical synchronization signal, Recognize that.

オーディオストリームバッファ1106は、オーディオデコード部119で復号化するまでAAC等で圧縮されたオーディオビットストリームを退避するためのバッファであり、入力部101の出力したAAC等で圧縮されたオーディオビットストリームを一時退避し、音声出力するときは、オーディオデコード部119で復号化するように、オーディオストリームバッファ1106からAAC等で圧縮されたオーディオビットストリームをオーディオデコード部119へ出力し、その出力したサイズ分のデータを出力したことを認識する。一方、音声出力しないときは、オーディオデコード部119で復号化しない関係上、ビデオの垂直同期信号に同期してバッファ削除制御部123から指定されたサイズ分のデータを出力したことを指示SIG118されて、そのことを認識する。   The audio stream buffer 1106 is a buffer for saving the audio bit stream compressed by AAC or the like until it is decoded by the audio decoding unit 119, and temporarily stores the audio bit stream compressed by the AAC or the like output from the input unit 101. When evacuating and outputting audio, the audio bit stream compressed by AAC or the like is output from the audio stream buffer 1106 to the audio decoding unit 119 so that the audio decoding unit 119 decodes the data, and data corresponding to the output size is output. Is recognized. On the other hand, when the audio is not output, the audio decoding unit 119 does not perform decoding, so that the SIG 118 is instructed that the data of the specified size is output from the buffer deletion control unit 123 in synchronization with the video vertical synchronization signal. , Recognize that.

オーディオストリームバッファ2107は、オーディオデコード部119で復号化するまでAAC SBR等で圧縮されたオーディオビットストリームを退避するためのバッファであり、入力部101の出力したAAC SBR等で圧縮されたオーディオビットストリームを一時退避し、音声出力するときは、オーディオデコード部119で復号化するように、オーディオストリームバッファ2107からAAC SBR等で圧縮されたオーディオビットストリームをオーディオデコード部119へ出力し、その出力したサイズ分のデータを出力したことを認識する。一方、音声出力しないときは、オーディオデコード部119で復号化しない関係上、ビデオの垂直同期信号に同期してバッファ削除制御部123から指定されたサイズ分データを出力したことを指示SIG118されて、そのことを認識する。   The audio stream buffer 2107 is a buffer for saving an audio bit stream compressed by AAC SBR or the like until it is decoded by the audio decoding unit 119, and is an audio bit stream compressed by AAC SBR or the like output from the input unit 101. Is temporarily saved and audio is output, the audio bit stream compressed by AAC SBR or the like is output from the audio stream buffer 2107 to the audio decoding unit 119 so that the audio decoding unit 119 decodes the output, and the output size is output. Recognize that minute data has been output. On the other hand, when the audio is not output, because the audio decoding unit 119 does not perform decoding, the SIG 118 is instructed that the data corresponding to the size specified by the buffer deletion control unit 123 is output in synchronization with the video vertical synchronization signal, Recognize that.

ビデオデコード部110は、後述する選択制御部122で選択器108がビデオストリームバッファ1104とビデオストリームバッファ2105とのうち一方を選択したとき、その選択されたビデオストリームを受けると共に、選択制御部122から、前記受けたビデオストリームがMPEG等ビデオビットストリームであるかH.264等ビデオビットストリームであるかを指示SIG114されると共に、符号化方式をも指示され、その指定された符号化方式に基づいて復号化を行なう。更に、復号化処理を行なうタイミングを指示するために、垂直同期信号に同期したデコード起動制御部117からの指示と、AV同期を行なうための同期処理部118からの指示SIG129により復号化処理を行い、復号化したデータをビデオバッファ111に出力する。更に、MPEG等ビデオストリームを1秒間に24、25、30、50、60枚のフレームの何れで処理するか又は、H.264等ビデオストリームを1秒間に15、24、25、30、50、60枚のフレームを処理するためのデコード起動タイミングをデコード起動制御部117の指示で復号化処理を行なう。復号化したMPEG等ビデオビットストリーム又はH.264等ビデオビットストリームを解像度切り替え制御部116に指示SIG124する。   When the selector 108 selects one of the video stream buffer 1104 and the video stream buffer 2105 in the selection control unit 122 described later, the video decoding unit 110 receives the selected video stream and from the selection control unit 122. Whether the received video stream is a video bit stream such as MPEG. Whether the video bit stream is H.264 or the like is instructed SIG114, and the encoding method is also instructed, and decoding is performed based on the specified encoding method. Further, in order to instruct the timing for performing the decoding process, the decoding process is performed by an instruction from the decode activation control unit 117 synchronized with the vertical synchronization signal and an instruction SIG129 from the synchronization processing unit 118 for performing AV synchronization. The decoded data is output to the video buffer 111. Further, the video stream such as MPEG is processed at 24, 25, 30, 50, 60 frames per second, or H.264. A decoding start timing for processing 15, 24, 25, 30, 50, and 60 frames of a H.264 video stream per second is instructed by the decode start control unit 117. A decoded video bitstream such as MPEG or H.264. A video bit stream such as H.264 is instructed to the resolution switching control unit 116 by SIG124.

ビデオバッファ111は、前記ビデオデコード部110で出力した映像のフレームを一時退避し、その映像のフレームが表示可能になった場合には、拡大縮小処理部112にその映像信号を出力SIG120する。   The video buffer 111 temporarily saves the video frame output from the video decoding unit 110 and outputs the video signal to the enlargement / reduction processing unit 112 when the video frame can be displayed.

解像度切替え制御部116は、その詳細は後述するが、概略を説明すると、前記ビデオデコード部110からの復号対象のビデオビットストリームを受けるSIG124と共に、ビデオデコード部110においてビデオビットストリームの映像解像度フォーマットが切り替わった後にその切り替わり後のビデオビットストリームの1フレームが前記ビデオバッファ111に格納し終わって拡大縮小処理部112で処理可能になるまでの間は、その切り替わり前の最後のビデオビットストリームのフレームの拡大縮小処理を繰り返し行うように拡大縮小処理部112に指示SIG123する。この指示SIG123は、ビデオデコード部110が前記切り替わった後のビデオビットストリームがビデオバッファ111から出力されるまでのタイミングで且つ拡大縮小処理部112からの垂直同期信号が来るまでに行われる。   The details of the resolution switching control unit 116 will be described later. In brief, the video decoding unit 110 determines the video resolution format of the video bit stream together with the SIG 124 that receives the video bit stream to be decoded from the video decoding unit 110. After switching, until one frame of the video bit stream after the switching is stored in the video buffer 111 and can be processed by the enlargement / reduction processing unit 112, the frame of the last video bit stream before the switching An instruction SIG123 is given to the enlargement / reduction processing unit 112 to repeatedly perform the enlargement / reduction process. This instruction SIG123 is performed until the video bit stream after the switching of the video decoding unit 110 is output from the video buffer 111 and before the vertical synchronization signal from the enlargement / reduction processing unit 112 is received.

拡大縮小処理部112は、前記ビデオバッファ111から出力された映像信号を垂直同期信号に同期して垂直方向に拡大縮小処理すると共に、水平同期信号に同期して水平方向に拡大縮小処理し、その拡大縮小処理後の映像データをフィルタバッファ113に出力SIG125する。また、デコード起動制御部117に対して拡大縮小処理部112の垂直同期信号タイミングを指示SIG121すると共に、解像度切替え制御部116に拡大縮小処理部112の垂直同期信号タイミングを指示SIG122する。更に、垂直同期信号タイミングの前に前記解像度切り替え制御部116から高解像度、低解像度の切り替え信号SIG123を取得し、次の垂直同期信号タイミングで、指定された映像解像度フォーマットに切り替わる。   The enlargement / reduction processing unit 112 enlarges / reduces the video signal output from the video buffer 111 in the vertical direction in synchronization with the vertical synchronization signal, and enlarges / reduces in the horizontal direction in synchronization with the horizontal synchronization signal, The video data after the enlargement / reduction processing is output SIG125 to the filter buffer 113. Further, it instructs the decode activation control unit 117 about the vertical synchronization signal timing of the enlargement / reduction processing unit 112, and instructs the resolution switching control unit 116 about the vertical synchronization signal timing of the enlargement / reduction processing unit 112. Further, before the vertical synchronization signal timing, the high-resolution and low-resolution switching signal SIG123 is acquired from the resolution switching control unit 116, and at the next vertical synchronization signal timing, it is switched to the designated video resolution format.

デコード起動制御部117は、前記拡大縮小処理部112の垂直同期信号に同期させて前記ビデオデコード部110を起動させるための指示をする。   The decode activation control unit 117 gives an instruction to activate the video decoding unit 110 in synchronization with the vertical synchronization signal of the enlargement / reduction processing unit 112.

フィルタバッファ113は、前記拡大縮小処理部112の映像データを2画面表示分保持する容量を持っており、現在が1面目に拡大縮小処理部112の拡大縮小化のデータを保持し、次の垂直同期信号時には次の2面目に拡大縮小処理部112の拡大縮小化のデータを保持し、フォーマットコンバート部114へは、拡大縮小処理部112からの拡大縮小後の映像データを、退避中のフレームではない前の垂直同期信号時に退避した映像データのフレームを出力SIG126する。   The filter buffer 113 has a capacity for holding the image data of the enlargement / reduction processing unit 112 for two screen displays. The filter buffer 113 currently holds the enlargement / reduction data of the enlargement / reduction processing unit 112 on the first screen, and the next vertical At the time of the synchronization signal, the data for enlargement / reduction of the enlargement / reduction processing unit 112 is held on the next second surface, and the video data after enlargement / reduction from the enlargement / reduction processing unit 112 is transferred to the format conversion unit 114 in the saved frame A frame of video data saved at the time of the previous vertical synchronization signal is output SIG 126.

フォーマットコンバート部114は、映像出力に合わせてフィルタバッファ113に格納された映像データの出力フォーマットを、TVやDVRなどの機材に接続できるフォーマットに変換して、そのフォーマット変換後の映像データを映像出力部115に出力する。   The format conversion unit 114 converts the output format of the video data stored in the filter buffer 113 in accordance with the video output into a format that can be connected to equipment such as TV and DVR, and outputs the video data after the format conversion to the video output Output to the unit 115.

映像出力部115は、前記フォーマットコンバート部114で決めたフォーマットで映像データを入力し、映像出力SIG128する。   The video output unit 115 inputs video data in the format determined by the format conversion unit 114, and outputs the video data SIG128.

オーディオデコード部119は、選択器109で選択されたオーディオストリームがオーディオストリームバッファ1106からのAAC等で圧縮されたオーディオビットストリームか、オーディオストリームバッファ2107からのAAC SBR等で圧縮されたオーディオビットストリームであるかの指示SIG113を選択制御部122から受けると共に、前記選択制御部122から符号化方式を指示されて、その指定された符号化方式に基づいて、受けたオーディオストリームの復号化を行なう。更に、この復号化処理は、AV同期を行なうための同期処理部118の指示SIG130に基づいて行い、復号化してデータをオーディオバッファ120に出力する。   The audio decoding unit 119 is an audio bit stream in which the audio stream selected by the selector 109 is compressed with AAC or the like from the audio stream buffer 1106 or an audio bit stream compressed with AAC SBR or the like from the audio stream buffer 2107. An instruction SIG 113 is received from the selection control unit 122, and the encoding control is instructed from the selection control unit 122, and the received audio stream is decoded based on the specified encoding method. Further, this decoding process is performed based on the instruction SIG 130 of the synchronization processing unit 118 for performing AV synchronization, and the data is decoded and output to the audio buffer 120.

オーディオバッファ120は、前記オーディオデコード部119から出力された音声のフレームを一時退避し、音声のフレームが音声出力可能になった場合には、音声出力部121に音声データを出力する。   The audio buffer 120 temporarily saves the audio frame output from the audio decoding unit 119, and outputs audio data to the audio output unit 121 when the audio frame can be output.

音声出力部121は、前記オーディオバッファ120に保持された音声データを、音声出力する。   The audio output unit 121 outputs the audio data held in the audio buffer 120 as audio.

次に、前記解像度切替え制御部116について、詳細に説明する。   Next, the resolution switching control unit 116 will be described in detail.

図2は、前記解像度切替え制御部116の内部構成を示すブロック図である。同図に示すように、前記解像度切替え制御部116は、フォーマット判別制御部201と、符号化判別制御部202と、遅延制御部203と、フリーズ制御部204とを有している。   FIG. 2 is a block diagram showing an internal configuration of the resolution switching control unit 116. As shown in the figure, the resolution switching control unit 116 has a format discrimination control unit 201, an encoding discrimination control unit 202, a delay control unit 203, and a freeze control unit 204.

前記フォーマット判別制御部201は、ビデオデコード部110で解像度フォーマットが切り替わったことを受けたストリームの情報SIG201により判別し、解像度フォーマットが切り替わったことを遅延制御部203に指示SIG203する。すなわち、ストリームの情報には垂直サイズ、水平サイズがあるので、垂直1920画素、水平1920画素、1秒間に30フレームであれば1080Iであると判別する。また、垂直720画素、水平1280画素、1秒間に60フレームであれば720Pであり、垂直480画素、水平720画素、1秒間に30フレームであれば480Iであり、垂直480画素、水平720画素、1秒間に60フレームであれば480Pであり、垂直576画素、水平720画素、1秒間に30フレームであれば576Iであり、垂直576画素、水平720画素、1秒間に60フレームであれば576Pであると判別する。   The format discrimination control unit 201 discriminates based on the information SIG 201 of the stream that has been switched by the video decoding unit 110, and instructs the delay control unit 203 that the resolution format has been switched SIG203. That is, since the stream information has a vertical size and a horizontal size, if it is vertical 1920 pixels, horizontal 1920 pixels, and 30 frames per second, it is determined that it is 1080I. Also, 720P vertical, 1280 pixels horizontal, 720P if 60 frames per second, 480P vertical 480 pixels, horizontal 720 pixels, 480I if 30 frames per second, 480 pixels vertical, 720 pixels horizontal, 480P for 60 frames per second, 576P for vertical 576 pixels and 720 pixels for 1 frame, 576I for 30 frames for 1 second, 576P for 576 pixels for vertical 576 pixels and 720 pixels for 1 second. Determine that there is.

前記符号化判別制御部202は、前記ビデオデコード部110で符号化方式が切り替わったことをストリームの情報SIG202、すなわち、ストリームの情報にMPEG等の情報、H.264等の情報、VC1などの情報により判別して、遅延制御部203に対して符号化方式が切り替わったことを指示SIG204する。   The encoding determination control unit 202 indicates that the video decoding unit 110 has switched the encoding system, that is, the stream information SIG202, that is, the stream information such as MPEG information, It discriminates based on information such as H.264 and information such as VC1, and instructs the delay control unit 203 that the coding method has been switched to SIG204.

前記遅延制御部203は、前記フォーマット判別制御部201又は符号化判別制御部202からの指示SIG205を受け、その指示SIG205がされた時点から直ちに出画可能か否かを判断し、直ちに出画可能でない場合には、出画可能状態になるまでフリーズ制御部204に対してフリーズON状態を指示SIG206し、その後、出画可能状態になると、フリーズ制御部204にフリーズOFF状態を指示SIG206する。また、フリーズ制御部204がフリーズON状態のときは、フリーズOFF状態時の最後の映像データのフレームをビデオバッファ111から出力するように拡大縮小処理部112に指示SIG207すると共に、その最後の映像データの解像度フォーマットを拡大縮小処理部112に指示SIG207する。その後、フリーズOFF状態時(ビデオバッファ111からの解像度フォーマット切り替え後の映像データの1フレームの出力可能状態)になると、その切り替え後の解像度フォーマットを拡大縮小処理部112に指示SIG207する。   The delay control unit 203 receives an instruction SIG 205 from the format determination control unit 201 or the encoding determination control unit 202, determines whether or not an image can be output immediately after the instruction SIG 205 is given, and can output an image immediately. If not, the freeze control unit 204 is instructed to indicate the freeze ON state until the image can be output. After that, when the image output is enabled, the freeze control unit 204 is instructed to indicate the freeze OFF state. When the freeze control unit 204 is in the freeze-on state, the enlargement / reduction processing unit 112 is instructed to output from the video buffer 111 the frame of the last video data in the freeze-off state, and the last video data Is instructed to the enlargement / reduction processing unit 112 by SIG207. Thereafter, when the freeze is off (when one frame of video data can be output from the video buffer 111 after switching the resolution format), the SIG 207 instructs the enlargement / reduction processing unit 112 of the resolution format after the switching.

前記フリーズ制御部204は、前記遅延制御部203からの指示SIG206により、前に出画した映像データをビデオバッファ111から出画するための指示SIG207を拡大縮小処理部112に対して行なう。   In response to the instruction SIG 206 from the delay control unit 203, the freeze control unit 204 instructs the enlargement / reduction processing unit 112 to output the previously output video data from the video buffer 111.

次に、解像度切替え制御部116の動作を図3に基づいて説明する。   Next, the operation of the resolution switching control unit 116 will be described with reference to FIG.

図3において、ビデオデコード部110で復号されるビデオビットストリームの解像度フォーマットが切り替わるときは、ビデオデコード部110の出力が開始した時点(480I(M)の映像データの開始時点)でフォーマット判別制御部201が1080Iフォーマットから480Iフォーマットに切り替わったことを判別する。このフォーマット判別制御部201から遅延制御部203に対して、映像データ1080I(N)が拡大縮小処理し終わるための垂直同期信号2つ分までの期間は、通常通りの拡大縮小処理で動作するよう拡大縮小処理部112に指示する。その後、垂直同期信号2つ分の映像データの拡大縮小処理がし終わった時点で、遅延制御部203が、ビデオデコード部110からビデオバッファ111に切り替え後の解像度フォーマット480I(M)の映像データを出力し終わったかを判断する。図3では、ビデオバッファ111に切り替え後の解像度フォーマット480I(M)の映像データを出力し終わっているので、切り替え後の解像度フォーマット480I(M)の映像データを拡大縮小処理するために、拡大縮小処理部112の垂直同期信号を480Iに変更し、遅延制御部203からフリーズ制御部204に対してフリーズ指示をせず、拡大縮小処理部112に対して直ちに切り替え後の解像度フォーマット480I(M)の映像データをビデオバッファ111から取得して拡大縮小処理するように指示する。   In FIG. 3, when the resolution format of the video bitstream decoded by the video decoding unit 110 is switched, the format discrimination control unit at the time when the output of the video decoding unit 110 is started (at the start time of the video data of 480I (M)). It is determined that 201 is switched from the 1080I format to the 480I format. The format discrimination control unit 201 operates the normal enlargement / reduction processing for the period up to two vertical synchronization signals for the video data 1080I (N) to be enlarged / reduced to the delay control unit 203. Instructs the enlargement / reduction processing unit 112. After that, when the enlargement / reduction processing of the video data for two vertical synchronization signals is completed, the delay control unit 203 converts the video data of the resolution format 480I (M) after switching from the video decoding unit 110 to the video buffer 111. Determine if output is complete. In FIG. 3, since the video data of the resolution format 480I (M) after the switching has been output to the video buffer 111, the video data of the resolution format 480I (M) after the switching is enlarged / reduced in order to perform the enlargement / reduction processing. The vertical synchronization signal of the processing unit 112 is changed to 480I, the freeze control unit 204 is not instructed to freeze the delay control unit 203, and the resolution format 480I (M) after switching is immediately switched to the enlargement / reduction processing unit 112. An instruction is given to acquire the video data from the video buffer 111 and perform enlargement / reduction processing.

前記図3では、ビデオデコード部110での解像度フォーマットが1080Iから480Iに切り替わった際に、解像度フォーマット1080Iの最後フレームの映像データを拡大処理した直後において、直ちに解像度フォーマット480Iの最初フレームの映像データを拡大処理できる場合を示したが、この解像度フォーマット480Iの最初フレームの映像データを直ちには拡大処理できない場合を図4に示す。   In FIG. 3, when the resolution format in the video decoding unit 110 is switched from 1080I to 480I, immediately after the video data of the last frame of the resolution format 1080I is enlarged, the video data of the first frame of the resolution format 480I is immediately Although the case where the enlargement process can be performed is shown, FIG. 4 shows the case where the image data of the first frame of the resolution format 480I cannot be immediately enlarged.

図4では、解像度フォーマット1080Iの最後フレームの映像データがビデオデコード部110で復号し終えてビデオバッファ111に格納された後、垂直同期信号2つ分の期間の後、解像度フォーマットが前記1080Iから480Iに切り替わって、その切り替わり後の解像度フォーマット480Iの最初フレームの映像データがビデオデコード部110で復号し終わってビデオバッファ111に格納された場合を例示している。この場合には、切り替わり後の解像度フォーマット480Iの最初フレームの映像データがビデオバッファ111に格納され始めた時点で、フォーマット判別制御部201が解像度フォーマットの切り替わりを判断する。この判断時点の垂直同期信号2つ分前の期間では、解像度フォーマット切り替え前の解像度フォーマット1080Iの最後フレームの映像データ1080I(N)の拡大縮小処理が拡大縮小処理部112で行われており、この処理の終了時点で遅延制御部203が切り替わり前の解像度フォーマット480Iの最初フレームの映像データ480I(M)のビデオデコード部110での復号及びビデオバッファ111への格納が終了しているか否かを判別する。この判別では、未だ終了していないので、遅延制御部203がフリーズ制御部204に対して前の映像データである1080I(N)を再度拡大処理するようにフリーズ指示するので、切り替え前の解像度フォーマット1080Iの最後フレームの映像データ1080I(N)が表示される。この映像をフリーズする期間は、ビデオデコード部110からの切り替わり後の解像度フォーマット480Iの最初フレームの映像データ480I(M)がビデオバッファ111に格納され終わるまでの期間である。その後、遅延制御部203はフリーズ制御部204に対してフリーズ指示を解除するので、拡大縮小処理部112は、拡大縮小処理の垂直同期信号を480Iに変更すると共に、切り替わり後の解像度フォーマット480Iの最初フレームの映像データ480I(M)をビデオバッファ111から取得して拡大縮小処理する。   In FIG. 4, after the video data of the last frame of the resolution format 1080I is completely decoded by the video decoding unit 110 and stored in the video buffer 111, the resolution format is changed from 1080I to 480I after a period of two vertical synchronization signals. In this example, the video data of the first frame of the resolution format 480I after the switching has been decoded by the video decoding unit 110 and stored in the video buffer 111. In this case, when the video data of the first frame of the resolution format 480I after switching starts to be stored in the video buffer 111, the format determination control unit 201 determines switching of the resolution format. In the period before two vertical synchronization signals at the time of this determination, the enlargement / reduction processing unit 112 performs the enlargement / reduction processing of the video data 1080I (N) of the last frame of the resolution format 1080I before the resolution format switching. At the end of processing, the delay control unit 203 switches to determine whether the video data 480I (M) of the first frame of the resolution format 480I before switching has been decoded by the video decoding unit 110 and stored in the video buffer 111. To do. Since this determination has not been completed yet, the delay control unit 203 instructs the freeze control unit 204 to freeze the previous video data 1080I (N) again, so the resolution format before switching The video data 1080I (N) of the last frame of 1080I is displayed. The period of freezing the video is a period until video data 480I (M) of the first frame of the resolution format 480I after switching from the video decoding unit 110 is completely stored in the video buffer 111. Thereafter, since the delay control unit 203 cancels the freeze instruction to the freeze control unit 204, the enlargement / reduction processing unit 112 changes the vertical synchronization signal of the enlargement / reduction processing to 480I and the first of the resolution format 480I after switching. The video data 480I (M) of the frame is acquired from the video buffer 111 and is enlarged / reduced.

図5は、ビデオデコード部110の復号対象のビデオビットストリームの符号化方式と解像度フォーマットの双方が切り替わった場合のタイミング図を示す。同図では、符号化方式がMPEG2からH.264に切り替わると共に、解像度フォーマットがMPEG2での解像度フォーマット1080IからH.264での解像度フォーマット480Iに切り替わる場合を例示している。この場合の動作は、解像度切り替え制御部116において、フォーマット判別制御部201が動作するのに加えて、符号化判別制御部202も動作する点が異なるのみであって、その動作は図4と同様であるので、その説明を省略する。   FIG. 5 shows a timing chart when both the encoding method and the resolution format of the video bitstream to be decoded by the video decoding unit 110 are switched. In the figure, the encoding method is changed from MPEG2 to H.264. The resolution format is changed from the resolution format 1080I in MPEG2 to H.264. A case of switching to a resolution format 480I in H.264 is illustrated. The operation in this case is different from the resolution switching control unit 116 in that, in addition to the format discrimination control unit 201 operating, the encoding discrimination control unit 202 also operates, and the operation is the same as in FIG. Therefore, the description thereof is omitted.

続いて、図1の残りの構成を説明する。同図において、122は選択制御部である。この選択制御部122は、多重化ビットストリームの受信状態が良い場合には、ビデオストリームバッファ1104及びオーディオストリームバッファ1106を選択し、受信状態が悪い場合には、ビデオストリームバッファ2105及びオーディオストリームバッファ2107を選択するために、その選択されたことをそれ等のバッファに通知SIG117、SIG118すると共に、受信状態が良いか悪いかをビデオデコード部110及びオーディオデコード部119に通知SIG114、SIG115し、更に、選択されていないビデオストリームバッファ104又は105と、オーディオストリームバッファ106又は107とをバッファ削除制御部123に通知SIG116する。   Subsequently, the remaining configuration of FIG. 1 will be described. In the figure, reference numeral 122 denotes a selection control unit. The selection control unit 122 selects the video stream buffer 1104 and the audio stream buffer 1106 when the reception state of the multiplexed bit stream is good, and the video stream buffer 2105 and the audio stream buffer 2107 when the reception state is bad. In order to select, SIG 117 and SIG 118 are notified to the buffers that the selection has been made, and SIG 114 and SIG 115 are notified to the video decoding unit 110 and the audio decoding unit 119 whether the reception state is good or bad. The video stream buffer 104 or 105 that has not been selected and the audio stream buffer 106 or 107 are notified to the buffer deletion control unit 123 by SIG116.

図6は、前記選択制御部122の内部構成を示すブロック図である。同図に示すように、選択制御部122は、受信状態判別制御部301と、高受信制御部302と、低受信制御部303とを有している。   FIG. 6 is a block diagram showing an internal configuration of the selection control unit 122. As shown in the figure, the selection control unit 122 includes a reception state determination control unit 301, a high reception control unit 302, and a low reception control unit 303.

前記受信状態判別制御部301は、受信状態が良いか悪いかを判別する制御部であって、受信状態を判別するためのスレッシュホールド値を保持し、そのスレッシュホールド値よりも小されば受信状態が悪いと判断し、スレッシュホールド値よりも大きければ受信状態が良いと判断し、スレッシュホールド値の近辺の所定範囲内では、前に出力した受信状態の結果を保持する。そして、受信状況が良いと判断した場合には、高受信制御部302にその旨を指示SIG302し、ビデオデコード部110に高受信のときのビデオストリームバッファ111の切替えを指示SIG309し、オーディオデコード部119に高受信のときのオーディオストリームバッファ120の切替えを指示SIG309する。   The reception state determination control unit 301 is a control unit that determines whether the reception state is good or bad, holds a threshold value for determining the reception state, and if the reception state is smaller than the threshold value, the reception state If the value is larger than the threshold value, it is determined that the reception state is good, and the result of the reception state output previously is held within a predetermined range near the threshold value. When it is determined that the reception status is good, the high reception control unit 302 is instructed to that effect SIG 302, the video decoding unit 110 is instructed to switch the video stream buffer 111 at the time of high reception, and the audio decoding unit In step S119, the switching of the audio stream buffer 120 at the time of high reception is instructed SIG309.

高受信制御部302は、前記受信状態判別制御部301からの指示SIG302があった場合に、ビデオデコード部110に高受信のときの符号化方式を指示SIG306すると共に、オーディオデコード部119に高受信のときの符号化方式を指示SIG305し、低受信のときの高解像度ビットストリームを削除するために、バッファ2削除制御部401に指示SIG304する。   When there is an instruction SIG 302 from the reception state determination control unit 301, the high reception control unit 302 instructs the video decoding unit 110 about the encoding method at the time of high reception, and also receives a high reception to the audio decoding unit 119. In order to delete the high resolution bit stream at the time of low reception, an instruction SIG304 is given to the buffer 2 deletion control unit 401.

低受信制御部303は、前記受信状態判別制御部301からの指示SIG303があった場合に、ビデオデコード部110に低受信のときの符号化方式を指示SIG311すると共に、オーディオデコード部119に低受信のときの符号化方式を指示SIG310し、高受信のときの低解像度ビットストリームを削除するために、バッファ1削除制御部402に指示SIG305する。   When there is an instruction SIG 303 from the reception state determination control unit 301, the low reception control unit 303 instructs the video decoding unit 110 about the encoding method at the time of low reception, and also instructs the audio decoding unit 119 to perform low reception. In order to delete the low-resolution bit stream at the time of high reception, the instruction SIG 305 is instructed to the buffer 1 deletion control unit 402.

更に、図1において、123はバッファ削除制御部である。このバッファ削除制御部123は、概述すると、前記選択制御部122から削除指示SIG116に応じて、ビデオデコード部110にて復号化されないビットストリーム、すなわち、高受信の場合のビデオ及びオーディオストリームバッファ105、107に保持された低解像度のビデオ及びオーディオビットストリーム、又は低受信の場合のビデオ及びオーディオストリームバッファ104、106に保持された高解像度のビデオ及びオーディオビットストリームを削除するために、同期処理部118でAV同期させるための同期基準信号であるSTCと、ビデオビットストリームのPTS又はオーディオビットストリームのPTSとを用いて、STC<PTSの場合にはSTC>=PTSになるまでビットストリームを出力したことに認識させるために、これ等のバッファに指示SIG117、SIG118し、STC>=PTSの場合には現状のままで何も指示しない。   Further, in FIG. 1, reference numeral 123 denotes a buffer deletion control unit. In general, the buffer deletion control unit 123 is a bit stream that is not decoded by the video decoding unit 110 in response to the deletion instruction SIG 116 from the selection control unit 122, that is, the video and audio stream buffer 105 in the case of high reception, In order to delete the low-resolution video and audio bitstream held in 107 or the high-resolution video and audio bitstream held in the video and audio stream buffers 104 and 106 in the case of low reception, the synchronization processing unit 118 The STC, which is a synchronization reference signal for AV synchronization with the video signal, and the PTS of the video bitstream or the PTS of the audio bitstream, and if STC <PTS, the bitstream is output until STC> = PTS In To identify which like buffer indicated SIG117, SIG118 of, STC> = nothing indicated it stands in the case of PTS.

図7は、前記バッファ削除制御部123の内部構成を示すブロック図である。同図に示すように、バッファ削除制御部123は、バッファ2削除制御部401と、バッファ1削除制御部402とを有している。   FIG. 7 is a block diagram showing an internal configuration of the buffer deletion control unit 123. As shown in the figure, the buffer deletion control unit 123 includes a buffer 2 deletion control unit 401 and a buffer 1 deletion control unit 402.

前記バッファ2削除制御部401は、選択制御部122の高受信制御部302からの指示SIG405により、同期処理部118のシステムクロックの時間情報であるSTCを取得し、ビデオストリームバッファ105及びオーディオストリームバッファ107のストリーム情報であるPTSの時間情報が、STC>PTSまでポインタを更新することにより、ビデオデコード及びオーディオデコードが完了したことを擬似的に行い、低解像度のストリームを消費する。   The buffer 2 deletion control unit 401 acquires STC, which is time information of the system clock of the synchronization processing unit 118, in response to an instruction SIG405 from the high reception control unit 302 of the selection control unit 122, and the video stream buffer 105 and the audio stream buffer The PTS time information, which is the stream information 107, updates the pointer until STC> PTS, thereby performing a pseudo-decoding of video decoding and audio decoding and consuming a low-resolution stream.

前記バッファ1削除制御部402は、選択制御部122の低受信制御部303からの指示SIG407により、同期処理部118のシステムクロックの時間情報であるSTCを取得し、ビデオストリームバッファ104及びオーディオストリームバッファ106のストリーム情報であるPTSの時間情報が、STC>PTSまでポインタを更新することにより、ビデオデコード及びオーディオデコードが完了したことを擬似的に行い、高解像度のストリームを消費する。   The buffer 1 deletion control unit 402 acquires STC, which is the time information of the system clock of the synchronization processing unit 118, in response to an instruction SIG407 from the low reception control unit 303 of the selection control unit 122, and the video stream buffer 104 and the audio stream buffer The PTS time information, which is the stream information 106, updates the pointer until STC> PTS, thereby performing a pseudo video decoding and audio decoding and consuming a high-resolution stream.

前記バッファ削除制御部123は、一方の高又は低解像度フォーマットのビットストリームが復号されている際に、他方の低又は高解像度フォーマットのビットストリームをビデオ又はオーディオストリームバッファにそのまま残さないように、削除するものである。これは、例えば、デコード部110、119にて復号されない方のビットストリームを全て入力部101から入力しないように構成した場合に、ストリームバッファがアンダーフローになって、符号化方式のH.264とMPEG2との切り替え時に、入力部101からビットストリームの入力を切り替えようとすると、その切り替えに時間を要し、ビデオデコード部110が復号するまで長時間に亘って映像をフリーズする欠点が生じるが、本構成では、符号化方式の切り替え時に直ちに復号対象のビットストリームを切替えることができ、フリーズ時間を短縮できる効果がある。尚、復号対象とならなかったビットストリームの削減させるタイミングは、デコード部110、119復号する時間の映像データと同じ時間の映像データをストリームバッファから削除する。この時間を判別するために、基準時間であるSTC(システムタイムクロック)と、ストリームに付加されている表示時間のPTS(タイムスタンプ)との両時間がほぼ同時である映像データをストリームバッファから削除することとしている。   The buffer deletion control unit 123 deletes the other low or high resolution format bit stream so that it does not remain in the video or audio stream buffer when one high or low resolution format bit stream is being decoded. To do. This is because, for example, when the decoding unit 110 or 119 is configured not to input all the bitstreams that are not decoded from the input unit 101, the stream buffer becomes underflow, and the encoding scheme H.264 is underflow. At the time of switching between H.264 and MPEG2, if it is attempted to switch the input of the bit stream from the input unit 101, it takes time to switch, and there is a disadvantage that the video is frozen for a long time until the video decoding unit 110 decodes it. However, in this configuration, it is possible to immediately switch the bit stream to be decoded at the time of switching the encoding method, and there is an effect that the freeze time can be shortened. It should be noted that the video data of the same time as the video data of the decoding units 110 and 119 to be decoded is deleted from the stream buffer at the timing of reducing the bit stream that is not the decoding target. In order to determine this time, video data in which both the reference time STC (system time clock) and the display time PTS (time stamp) added to the stream are almost the same is deleted from the stream buffer. To do.

前記バッファ削除制御部123の動作を図8を用いて説明する。同図において、ビデオデコード部110の出力ストリームがMPEG2の場合には、MPEG2用のバッファ2削除制御部401は動作せず、H.264用のバッファ1削除制御部402が動作する。逆にH.264の場合には、H.264用のバッファ1削除制御部402は動作せず、MPEG2用のバッファ2削除制御部401が動作する。その動作する際には、ビデオデコード部110の出力が開始した時点で復号しない方のストリームバッファの保持データを削除するために、復号する方のSTCとPTSとの時間と同じ時間のビットストリームをストリームバッファを削除する。バッファを削除する方法としては、何処まで復号したかを示すポインタがあり、そのポインタを更新することにより、復号完了したと認識させる。   The operation of the buffer deletion control unit 123 will be described with reference to FIG. In the same figure, when the output stream of the video decoding unit 110 is MPEG2, the MPEG2 buffer 2 deletion control unit 401 does not operate. The H.264 buffer 1 deletion control unit 402 operates. Conversely, H. In the case of H.264, H.264. The buffer 1 deletion control unit 402 for H.264 does not operate, and the buffer 2 deletion control unit 401 for MPEG2 operates. In the operation, in order to delete the data held in the stream buffer that is not decoded when the output of the video decoding unit 110 is started, the bit stream having the same time as the time of STC and PTS of the decoding side is deleted. Delete the stream buffer. As a method of deleting the buffer, there is a pointer indicating how far the decoding has been performed. By updating the pointer, it is recognized that the decoding has been completed.

(実施形態2)
図9は、本発明の第2の実施形態に係る映像信号処理装置を示すブロック図である。
(Embodiment 2)
FIG. 9 is a block diagram showing a video signal processing apparatus according to the second embodiment of the present invention.

前記第1の実施形態では、映像フリーズを解像度切替え制御部116で制御したが、本実施形態では、フリーズ制御部で制御するようにした構成を採用している。   In the first embodiment, the video freeze is controlled by the resolution switching control unit 116. However, in the present embodiment, a configuration is adopted in which the video freeze is controlled by the freeze control unit.

具体的に、フリーズ制御部150は、ビデオデコード部110においてMPEG等又はH.264等のビデオビットストリーム解像度フォーマットが切り替わったり、符号化方式が切り替わった際に、ビデオデコード部110から受けるビデオビットストリームに基づいて、その切り替える直前にフィルタバッファ113に保持されている映像データをフォーマットコンバート処理するように、フィルタバッファ113を制御する。前記フィルタバッファ113は、ダブルバッファとなっており、フリーズ制御部150は、切り替え後の映像データをフォーマットコンバート処理しない方のバッファに、切り替え直前の映像データを退避することを指示する。所定時間分だけ切り替え直前の映像データを出力し、その措定時間後に、フィルタバッファ113の2つのバッファのうち、切り替え後の映像データを退避したバッファから切り替え後の映像データをフォーマットコンバート部114に出力して、映像表示を行なう。フリーズする前記所定時間は、最低1フレーム以上であり、フリーズ時間は任意に変更できる。   Specifically, the freeze control unit 150 performs MPEG or the like in the video decoding unit 110 or H.264. When the video bit stream resolution format such as H.264 is switched or the encoding method is switched, the video data held in the filter buffer 113 is formatted immediately before the switching based on the video bit stream received from the video decoding unit 110. The filter buffer 113 is controlled so as to perform the conversion process. The filter buffer 113 is a double buffer, and the freeze control unit 150 instructs the video data immediately before switching to be saved in a buffer that does not perform format conversion processing on the video data after switching. The video data immediately before switching is output for a predetermined time, and after the set time, the video data after switching is output to the format conversion unit 114 from the buffer in which the video data after switching is saved out of the two buffers of the filter buffer 113. Then, video display is performed. The predetermined time for freezing is at least one frame, and the freezing time can be arbitrarily changed.

図10は、本実施形態に係る映像信号処理装置において、ビデオデコード部110でのビデオビットストリームの符号化方式が切り替った場合のタイミング図を示す。   FIG. 10 is a timing chart when the video bitstream encoding method in the video decoding unit 110 is switched in the video signal processing apparatus according to the present embodiment.

同図に示すように、ビデオデコード部110において、指定された符号化方式MPEG2又はH.264のビデオビットストリームの復号を行い、そのビデオデコード結果をビデオバッファ111に退避する。ビデオバッファ111は、2面持っており、ビデオデコード部110が復号結果を書いている面と、拡大縮小処理部112が復号結果を読み出して拡大縮小処理する面とがあり、その2面がダブルバッファとして使用される。拡大縮小処理部112は、ビデオバッファ111から使用する復号結果を読み出して映像の拡大縮小処理を行い、フィルタバッファ113に退避する。このフィルタバッファ113は、2面持っており、拡大縮小処理部112が拡大縮小処理結果を書いている面と、フォーマットコンバート処理部114が解像度変換をする面とがあり、その2面がダブルバッファとして使用される。フォーマットコンバート部114は、前記フィルタバッファ1113から使用する拡大縮小処理結果を読み出して、映像の解像度変換を行い、出力する。   As shown in the figure, in the video decoding unit 110, the designated encoding method MPEG2 or H.264 is used. H.264 video bitstream is decoded, and the video decoding result is saved in the video buffer 111. The video buffer 111 has two surfaces, a surface on which the video decoding unit 110 writes the decoding result, and a surface on which the enlargement / reduction processing unit 112 reads out the decoding result and performs enlargement / reduction processing. Used as a buffer. The enlargement / reduction processing unit 112 reads out a decoding result to be used from the video buffer 111, performs a video enlargement / reduction process, and saves it in the filter buffer 113. This filter buffer 113 has two surfaces, a surface on which the enlargement / reduction processing unit 112 writes the enlargement / reduction processing result, and a surface on which the format conversion processing unit 114 performs resolution conversion, and these two surfaces are double buffers. Used as. The format conversion unit 114 reads the enlargement / reduction processing result to be used from the filter buffer 1113, converts the resolution of the video, and outputs the result.

同図から判るように、ビデオデコード部110、拡大縮小処理部112及びフォーマットコンバート部114の各処理がパイプライン処理となっている。その際、ビデオデコード部110でのビデオビットストリームの符号化方式が切り替わった時には、符号化方式が切り替ったことがフリーズ制御部150で判断され、このフリーズ制御部150は、フィルタバッファ113に対してフリーズ指示を出す。そのフリーズ指示は、フィルタバッファ(ダブルバッファ)113において書き込みと読み出しとのバッファの切替えをしない指示である。これにより、符号化方式切り替え前の映像データのまま映像がフリーズする。このフリーズにより、同期信号を安定させることが実現できる。   As can be seen from the figure, each process of the video decoding unit 110, the enlargement / reduction processing unit 112, and the format conversion unit 114 is a pipeline process. At this time, when the video bitstream encoding method in the video decoding unit 110 is switched, the freeze control unit 150 determines that the encoding method has been switched, and the freeze control unit 150 And give a freeze instruction. The freeze instruction is an instruction not to switch the buffer between writing and reading in the filter buffer (double buffer) 113. As a result, the video is frozen as it is before the coding method is switched. By this freeze, the synchronization signal can be stabilized.

(実施形態3)
図11は、本発明の第3の実施形態に係る映像信号処理装置を示すブロック構成図である。
(Embodiment 3)
FIG. 11 is a block diagram showing a video signal processing apparatus according to the third embodiment of the present invention.

本実施形態では、図11に示すように、2つのビデオデコード部160、161と、2つのビデオバッファ165、166とを有する点が、前記実施形態1と異なる。   As shown in FIG. 11, the present embodiment is different from the first embodiment in that it includes two video decoding units 160 and 161 and two video buffers 165 and 166.

一方のビデオデコード部160は、入力部101より入力される多重化ビットストリームのうちMPEG等ビデオビットストリームのみの復号を行い、他方のビデオデコード部161は、入力部101より入力される多重化ビットストリームのうちH.264等ビデオビットストリームのみの復号を行う。各ビデオデコード部160、161での復号結果は、それ等に専用のビデオバッファ165、166に保持される。ビデオデコード部160、161の起動に関しては、拡大縮小処理部112の垂直同期信号と同期する。すなわち、デコード起動制御部117は、拡大縮小処理部121の垂直同期信号に同期して、ビデオデコード部160、161に起動を指示する。この起動指示により、2つのビデオデコード部160、161と拡大縮小処理部112とが同期する。   One video decoding unit 160 decodes only a video bit stream such as MPEG among the multiplexed bit streams input from the input unit 101, and the other video decoding unit 161 receives multiplexed bits input from the input unit 101. H. Only a video bit stream such as H.264 is decoded. The decoding results in the video decoding units 160 and 161 are held in video buffers 165 and 166 dedicated to them. The activation of the video decoding units 160 and 161 is synchronized with the vertical synchronization signal of the enlargement / reduction processing unit 112. That is, the decode activation control unit 117 instructs the video decoding units 160 and 161 to activate in synchronization with the vertical synchronization signal of the enlargement / reduction processing unit 121. By this activation instruction, the two video decoding units 160 and 161 and the enlargement / reduction processing unit 112 are synchronized.

選択制御部122は、前記2つのビデオバッファ165、166の何れを選択するか、すなわち、一方のビデオデコード部160で復号されたMPEG等ビデオビットストリームを表示対象とするか、他方のビデオデコード部161で復号されたH.264等ビデオビットストリームを表示対象とするかを選択器170と解像度切替え制御部116とに指示する。   The selection control unit 122 selects one of the two video buffers 165 and 166, that is, selects a video bit stream such as MPEG decoded by one video decoding unit 160 as a display target or the other video decoding unit. 161 decoded by H.161. The selector 170 and the resolution switching control unit 116 are instructed whether to display a video bit stream such as H.264.

解像度切替え制御部116は、拡大縮小処理部112の垂直同期信号と同期して前記選択制御部122の指示を取得し、その選択制御部122の指示により、その指示されたビデオデコード部160又はビデオデコード部161でのビットストリームの映像解像度フォーマットを取得して、拡大縮小処理部112に対して映像解像度フォーマットを指示する。本実施形態のタイミング図は図12に記載される。   The resolution switching control unit 116 acquires the instruction of the selection control unit 122 in synchronization with the vertical synchronization signal of the enlargement / reduction processing unit 112, and in accordance with the instruction of the selection control unit 122, the designated video decoding unit 160 or video The video resolution format of the bit stream in the decoding unit 161 is acquired, and the video resolution format is instructed to the enlargement / reduction processing unit 112. The timing diagram of this embodiment is described in FIG.

尚、以上で説明した実施形態の映像信号処理装置に含まれる各部の動作は、ソフトウェアによって中央演算装置(CPU)を動作させることでも実現できるのは勿論である。   Of course, the operation of each unit included in the video signal processing apparatus of the embodiment described above can also be realized by operating a central processing unit (CPU) by software.

以上説明したように、本発明は、復号する圧縮映像データの解像度フォーマットが切り替わった際にも、表示映像が一瞬途切れる現象を防止できるので、画像解像度フォーマットの処理や1Segと12Segとの切替処理などを有するデジタルテレビ、DVD、デジタルレコーダ等として有用である。   As described above, according to the present invention, even when the resolution format of the compressed video data to be decoded is switched, the display video can be prevented from being momentarily interrupted, so that the image resolution format processing, switching processing between 1 Seg and 12 Seg, etc. It is useful as a digital TV, DVD, digital recorder, etc. having

本発明の第1の実施形態の映像信号処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the video signal processing apparatus of the 1st Embodiment of this invention. 同映像信号処理装置に備える解像度切替え制御部の内部構成を示す図である。It is a figure which shows the internal structure of the resolution switching control part with which the video signal processing apparatus is provided. 同映像信号処理装置において、復号する圧縮映像データの解像度フォーマットが切り替わった場合に、ビデオバッファから切り替え後の復号映像データを直ちに出力可能なときのタイミングチャートを示す図である。In the same video signal processing device, when the resolution format of the compressed video data to be decoded is switched, the timing chart when the decoded video data after switching can be immediately output from the video buffer is shown. 同映像信号処理装置において、復号する圧縮映像データの解像度フォーマットが切り替わった場合に、ビデオバッファから切り替え後の復号映像データを直ちに出力できず、切り替え前の復号映像データをフリーズさせるときのタイミングチャートを示す図である。In the same video signal processing apparatus, when the resolution format of compressed video data to be decoded is switched, the decoded video data after switching cannot be immediately output from the video buffer, and the timing chart when the decoded video data before switching is frozen is shown. FIG. 同映像信号処理装置において、復号する圧縮映像データの符号化方式が切り替わった場合にビデオバッファから切り替え後の復号映像データを直ちに出力できず、切り替え前の復号映像データをフリーズさせるときのタイミングチャートを示す図である。In the same video signal processing apparatus, when the encoding method of compressed video data to be decoded is switched, the decoded video data after switching cannot be immediately output from the video buffer, and the timing chart when the decoded video data before switching is frozen is shown. FIG. 同映像信号処理装置に備える選択制御部の内部構成を示す図である。It is a figure which shows the internal structure of the selection control part with which the video signal processing apparatus is provided. 同映像信号処理装置に備えるバッファ削除制御部の内部構成を示す図である。It is a figure which shows the internal structure of the buffer deletion control part with which the video signal processing apparatus is provided. 同映像信号処理装置において、復号する圧縮映像データの符号化方式が切り替わった際のバッファ削除制御部の動作を示すタイミングチャート図である。It is a timing chart figure which shows the operation | movement of the buffer deletion control part when the encoding system of the compressed video data to decode in the video signal processing apparatus switches. 本発明の第2の実施形態の映像信号処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the video signal processing apparatus of the 2nd Embodiment of this invention. 同映像信号処理装置において、復号する圧縮映像データの符号化方式が切り替わった際の動作を示すタイミングチャート図である。It is a timing chart figure which shows the operation | movement when the encoding system of the compressed video data to decode in the video signal processing apparatus switches. 本発明の第3の実施形態の映像信号処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the video signal processing apparatus of the 3rd Embodiment of this invention. 同映像信号処理装置ににおいて、復号する圧縮映像データの符号化方式が切り替わった際の動作を示すタイミングチャート図である。It is a timing chart figure which shows the operation | movement when the encoding system of the compressed video data to decode in the video signal processing apparatus switches. 従来の映像信号処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional video signal processing apparatus. 同従来の映像信号処理装置の動作を示すタイミングチャート図である。It is a timing chart figure which shows operation | movement of the conventional video signal processing apparatus.

符号の説明Explanation of symbols

101 入力部
104 ビデオストリームバッファ1
105 ビデオスリームバッファ2
106 オーディオストリームバッファ1
107 オーディオストリームバッファ2
110 ビデオデコード部
111 ビデオバッファ
112 拡大縮小処理部
113 フィルタバッファ
114 フォーマットコンバート部
115 映像出力部
116 解像度切替え制御部
117 デコード起動制御部
118 同期処理部
119 オーディオデコード部
120 オーディオバッファ
121 音声出力部
122 選択制御部
123 バッファ削除制御部
150 フリーズ制御部
160、161 ビデオデコード部
165、166 ビデオバッファ
101 Input unit 104 Video stream buffer 1
105 Video Stream Buffer 2
106 Audio stream buffer 1
107 Audio stream buffer 2
110 Video decoding unit 111 Video buffer 112 Enlargement / reduction processing unit 113 Filter buffer 114 Format conversion unit 115 Video output unit 116 Resolution switching control unit 117 Decode activation control unit 118 Synchronization processing unit 119 Audio decoding unit 120 Audio buffer 121 Audio output unit 122 Selection Control unit 123 Buffer deletion control unit 150 Freeze control unit 160, 161 Video decoding unit 165, 166 Video buffer

Claims (16)

解像度フォーマットが異なる複数種類の圧縮映像データを復号するビデオデコード部と、
前記ビデオデコード部で復号された映像データを保持するビデオバッファと、
前記ビデオバッファの出力を受け、前記復号された映像データを、指示された映像解像度フォーマットに基づいて、垂直同期信号及び水平同期信号に同期して垂直方向及び水平方向に拡大縮小処理する拡大縮小処理部と、
前記ビデオデコード部からの映像データを受け、この映像データの映像解像度フォーマットが切り替わったことを判別する解像度切替え制御部とを備え、
前記解像度切替え制御部は、
前記判別した切り替わり後の映像解像度フォーマットを前記拡大縮小処理部に指示すると共に、前記ビデオデコード部から受けた映像データに基づいて前記ビデオバッファからの映像データの出力が可能か否かを判断し、出力可能でないときには前記拡大縮小処理部に対して映像解像度フォーマットが切り替わる前の映像データを拡大縮小処理するよう指示する一方、出力可能になったときには映像解像度フォーマットが切り替わった後の映像データを拡大縮小処理するよう指示する
ことを特徴とする映像信号処理装置。
A video decoding unit for decoding a plurality of types of compressed video data having different resolution formats;
A video buffer for holding video data decoded by the video decoding unit;
Enlargement / reduction processing for receiving the output of the video buffer and enlarging / reducing the decoded video data in the vertical direction and the horizontal direction in synchronization with the vertical synchronization signal and the horizontal synchronization signal based on the designated video resolution format And
A resolution switching control unit for receiving the video data from the video decoding unit and determining that the video resolution format of the video data has been switched;
The resolution switching control unit
Instructing the enlarged / reduced processing unit the determined video resolution format after switching, and determining whether video data can be output from the video buffer based on the video data received from the video decoding unit, When the output is not possible, the enlargement / reduction processing unit is instructed to enlarge / reduce the video data before the video resolution format is switched, while when the output is possible, the video data after the video resolution format is switched is enlarged / reduced. A video signal processing apparatus characterized by instructing processing.
前記請求項1記載の映像信号処理装置において、
前記拡大縮小処理部の前記垂直同期信号に同期させて前記ビデオデコード部での復号処理を行なわせるデコード起動制御部を有し、
前記拡大縮小処理部は、前記解像度切替え制御部から切り替わり後の映像解像度フォーマットを指示された後の垂直同期信号タイミングで、拡大縮小処理する映像データの解像度フォーマットを前記指示された解像度フォーマットに切り替える
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 1, wherein
A decoding start control unit that performs a decoding process in the video decoding unit in synchronization with the vertical synchronization signal of the enlargement / reduction processing unit;
The enlargement / reduction processing unit switches the resolution format of the video data to be enlarged / reduced to the instructed resolution format at a vertical synchronization signal timing after the resolution switching control unit has instructed the changed video resolution format. A video signal processing apparatus.
前記請求項1に記載の映像信号処理装置において、
前記解像度切替え制御部は、
前記ビデオデコード部から受けた映像データに基づいて、前記ビデオデコード部で解像度フォーマットが切り替わったことを判別するフォーマット判別制御部と、
前記フォーマット判別制御部の判別結果を受けると共に、前記ビデオデコード部から受けた映像データに基づいて前記ビデオバッファからの映像データの出力が可能か否かを判断し、出力可能でないときにはフリーズON状態の指示信号を出力すると共に切り替わり前の映像解像度フォーマットを前記拡大縮小処理部に出力し、一方、出力可能になったときにはフリーズOFF状態の指示信号を出力すると共に切り替わり後の映像解像度フォーマットを前記拡大縮小処理部に出力する遅延制御部と、
前記遅延制御部からフリーズON状態の指示信号を受けて、前記映像解像度フォーマットが切り替わる前の映像データを拡大縮小処理するよう前記拡大縮小処理部に指示する一方、前記遅延制御部からフリーズOFF状態の指示信号を受けて、前記映像解像度フォーマットが切り替わった後の映像データを拡大縮小処理するよう前記拡大縮小処理部に指示する
ことを特徴とする映像信号処理装置。
In the video signal processing device according to claim 1,
The resolution switching control unit
A format determination control unit for determining that the resolution format has been switched in the video decoding unit based on video data received from the video decoding unit;
The determination result of the format determination control unit is received, and it is determined whether or not the video data can be output from the video buffer based on the video data received from the video decoding unit. An instruction signal is output and the video resolution format before switching is output to the enlargement / reduction processing unit. On the other hand, when output becomes possible, an instruction signal in a freeze-off state is output and the video resolution format after switching is expanded or reduced. A delay control unit that outputs to the processing unit;
In response to the freeze ON state instruction signal from the delay control unit, the enlargement / reduction processing unit is instructed to enlarge / reduce the video data before the video resolution format is switched, while the delay control unit In response to the instruction signal, the enlargement / reduction processing unit is instructed to enlarge / reduce the video data after the change of the video resolution format.
前記請求項1〜請求項3の何れか1項に記載の映像信号処理装置において、
解像度の異なる2以上のビデオビットストリームが多重化された多重化ビデオビットストリームを入力し、この多重化ビデオビットストリームを、この多重化ビデオビットストリーム中の情報であるPIDの情報に基づいて2以上の解像度の異なるビデオビットストリームに分離する入力部と、
前記分離された2以上のビデオビットストリームを保持する2以上のビデオストリームバッファとを備え、
前記2以上のビデオストリームバッファのうち何れか1つに保持されたビデオビットストリームが前記ビデオデコード部に入力されて復号され、
残りのビデオストリームバッファに保持されたビデオビットストリームは、垂直同期信号に同期して削除される
ことを特徴とする映像信号処理装置。
In the video signal processing device according to any one of claims 1 to 3,
A multiplexed video bitstream in which two or more video bitstreams having different resolutions are multiplexed is input, and the multiplexed video bitstream is divided into two or more based on PID information that is information in the multiplexed video bitstream. An input that separates video bitstreams of different resolutions;
Two or more video stream buffers for holding the two or more separated video bitstreams,
A video bit stream held in any one of the two or more video stream buffers is input to the video decoding unit and decoded,
The video bit stream held in the remaining video stream buffer is deleted in synchronization with the vertical synchronization signal.
前記請求項1〜請求項3の何れか1項に記載の映像信号処理装置において、
符号化方式の異なる2以上のオーディオビットストリームが多重化された多重化オーディオビットストリームを入力し、この多重化オーディオビットストリームを、この多重化オーディオビットストリーム中の情報であるPIDの情報に基づいて2以上の符号化方式の異なるオーディオビットストリームに分離する入力部と、
前記分離された2以上のオーディオビットストリームを保持する2以上のオーディオストリームバッファと、
符号化方式が異なる複数種類の圧縮音声データを復号するオーディオデコード部とを備え、
前記2以上のオーディオストリームバッファのうち何れか1つに保持されたオーディオビットストリームが前記オーディオデコード部に入力されて復号され、
残りのオーディオストリームバッファに保持されたオーディオビットストリームは、垂直同期信号に同期して削除される
ことを特徴とする映像信号処理装置。
In the video signal processing device according to any one of claims 1 to 3,
A multiplexed audio bitstream in which two or more audio bitstreams with different encoding methods are multiplexed is input, and this multiplexed audio bitstream is based on PID information that is information in the multiplexed audio bitstream. An input unit that separates audio bitstreams of two or more encoding schemes;
Two or more audio stream buffers holding the two or more separated audio bitstreams;
An audio decoding unit for decoding a plurality of types of compressed audio data having different encoding methods;
An audio bitstream held in any one of the two or more audio stream buffers is input to the audio decoding unit and decoded,
The video signal processing apparatus, wherein the audio bit stream held in the remaining audio stream buffer is deleted in synchronization with the vertical synchronization signal.
前記請求項4に記載の映像信号処理装置において、
前記2以上のビデオストリームバッファに保持されたビデオビットストリームのうち、前記ビデオデコード部で復号されないビデオビットストリームの所定フレーム数分を、前記垂直同期信号に同期して削除するよう指示するバッファ削除制御部を備え、
前記2以上のビデオストリームバッファのうち、前記ビデオデコード部で復号されないビデオビットストリームを保持するビデオストリームバッファは、前記バッファ削除制御部により指定された所定フレーム数分だけデータを出力したことを認識する
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 4, wherein
Buffer deletion control for instructing to delete a predetermined number of frames of a video bitstream that is not decoded by the video decoding unit among video bitstreams held in the two or more video stream buffers in synchronization with the vertical synchronization signal Part
Of the two or more video stream buffers, the video stream buffer that holds a video bit stream that is not decoded by the video decoding unit recognizes that data has been output for a predetermined number of frames designated by the buffer deletion control unit. A video signal processing apparatus.
前記請求項5に記載の映像信号処理装置において、
前記2以上のオーディオストリームバッファに保持されたオーディオビットストリームのうち、前記オーディオデコード部で復号されないオーディオビットストリームの所定フレーム数分を、前記垂直同期信号に同期して削除するよう指示するバッファ削除制御部を備え、
前記2以上のオーディオストリームバッファのうち、前記オーディオデコード部で復号されないオーディオビットストリームを保持するオーディオストリームバッファは、前記バッファ削除制御部により指定されたフレーム数分だけデータを出力したことを認識する
ことを特徴とする映像信号処理装置。
In the video signal processing device according to claim 5,
Buffer deletion control for instructing to delete a predetermined number of frames of audio bitstreams not decoded by the audio decoding unit among audio bitstreams held in the two or more audio stream buffers in synchronization with the vertical synchronization signal Part
Of the two or more audio stream buffers, the audio stream buffer that holds the audio bitstream that is not decoded by the audio decoding unit recognizes that data has been output for the number of frames specified by the buffer deletion control unit. A video signal processing apparatus.
前記請求項6に記載の映像信号処理装置において、
前記バッファ削除制御部は、
ビデオとオーディオとを同期させるための同期基準信号であるシステムクロックを受け、このシステムクロックの時間情報STCとビデオビットストリームの時間情報PTSとを比較し、STC<PTSの場合にはSTC>=PTSになるまでビデオビットストリームを出力したことに認識させるための指示をする
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 6, wherein
The buffer deletion control unit
A system clock that is a synchronization reference signal for synchronizing video and audio is received, time information STC of this system clock is compared with time information PTS of the video bitstream, and if STC <PTS, STC> = PTS. A video signal processing apparatus that issues an instruction for recognizing that a video bitstream has been output until
前記請求項7に記載の映像信号処理装置において、
前記バッファ削除制御部は、
ビデオとオーディオとを同期させるための同期基準信号であるシステムクロックを受け、このシステムクロックの時間情報STCとオーディオビットストリームの時間情報PTSとを比較し、STC<PTSの場合にはSTC>=PTSになるまでオーディオビットストリームを出力したことに認識させるための指示をする
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 7, wherein
The buffer deletion control unit
A system clock that is a synchronization reference signal for synchronizing video and audio is received, time information STC of this system clock is compared with time information PTS of the audio bitstream, and STC> = PTS if STC <PTS. A video signal processing apparatus characterized by issuing an instruction for recognizing that an audio bitstream has been output until.
前記請求項6記載の映像信号処理装置において、
前記入力部で分離された解像度の異なる2以上のビデオビットストリームのうち1つを選択する選択制御部を備え、
前記選択制御部は、
前記入力部に入力される多重化ビデオビットストリームの受信状態の良し悪しを所定のスレッシュホールド値を基準に判別する受信状態判別制御部と、
前記受信状態判別制御部が受信状態の良好を判別したとき、受信状態が良いときの解像度フォーマットを前記ビデオデコード部に指示する高受信制御部と、
前記受信状態判別制御部が受信状態の悪化を判別したとき、受信状態が悪いときの解像度フォーマットを前記ビデオデコード部に指示する低受信制御部とを備えた
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 6, wherein
A selection control unit that selects one of two or more video bitstreams having different resolutions separated by the input unit;
The selection control unit
A reception state determination control unit for determining whether the reception state of the multiplexed video bitstream input to the input unit is good or bad based on a predetermined threshold value;
When the reception state determination control unit determines that the reception state is good, a high reception control unit that instructs the video decoding unit the resolution format when the reception state is good;
A video signal processing apparatus comprising: a low reception control unit that instructs the video decoding unit to specify a resolution format when the reception state is poor when the reception state determination control unit determines deterioration of the reception state.
前記請求項7記載の映像信号処理装置において、
前記入力部で分離された符号化方式の異なる2以上のオーディオビットストリームのうち1つを選択する選択制御部を備え、
前記選択制御部は、
前記入力部に入力される多重化オーディオビットストリームの受信状態の良し悪しを所定のスレッシュホールド値を基準に判別する受信状態判別制御部と、
前記受信状態判別制御部が受信状態の良好を判別したとき、受信状態が良いときの符号化方式を前記オーディオデコード部に指示する高受信制御部と、
前記受信状態判別制御部が受信状態の悪化を判別したとき、受信状態が悪いときの符号化方式を前記オーディオデコード部に指示する低受信制御部とを備えた
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 7, wherein
A selection control unit that selects one of two or more audio bitstreams having different encoding schemes separated by the input unit;
The selection control unit
A reception state determination control unit for determining whether the reception state of the multiplexed audio bitstream input to the input unit is good or bad based on a predetermined threshold value;
When the reception state determination control unit determines that the reception state is good, a high reception control unit that instructs the audio decoding unit the encoding method when the reception state is good;
A video signal processing apparatus comprising: a low reception control unit that instructs the audio decoding unit to code an encoding method when the reception state is bad when the reception state determination control unit determines that the reception state is bad .
前記請求項10に記載の映像信号処理装置において、
前記バッファ削除制御部は、
高解像度のビデオビットストリームを保持するビデオストリームバッファに対する高解像度のビデオビットストリームの削除を制御するバッファ1削除制御部と、
低解像度のビデオビットストリームを保持するビデオストリームバッファに対する低解像度のビデオビットストリームの削除を制御するバッファ2削除制御部とを有し、
前記高受信制御部は、受信状態が良いとき、低解像度のビデオビットストリームを削除するようバッファ2削除制御部に指示し、
前記低受信制御部は、受信状態が悪いとき、高解像度のビデオビットストリームを削除するようバッファ1削除制御部に指示する
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 10, wherein
The buffer deletion control unit
A buffer 1 deletion control unit for controlling the deletion of the high-resolution video bitstream with respect to the video stream buffer holding the high-resolution video bitstream;
A buffer 2 deletion control unit for controlling the deletion of the low resolution video bit stream with respect to the video stream buffer holding the low resolution video bit stream;
The high reception control unit instructs the buffer 2 deletion control unit to delete the low-resolution video bitstream when the reception state is good,
The video signal processing apparatus, wherein the low reception control unit instructs the buffer 1 deletion control unit to delete the high-resolution video bitstream when the reception state is poor.
請求項1〜12に記載の映像信号処理装置において、
前記解像度切替え制御は、第1フィールド時に解像度の切替え制御を行う
ことを特徴とする映像信号処理装置。
The video signal processing device according to claim 1,
In the video signal processing apparatus, the resolution switching control performs resolution switching control in the first field.
解像度フォーマットが異なる複数種類の圧縮映像データを復号するビデオデコード部と、
前記ビデオデコード部で復号された映像データを拡大縮小処理する拡大縮小処理部と、
前記拡大縮小処理された映像データを保持するフィルタバッファと、
前記フィルタバッファに保持された映像データの解像度を映像出力の解像度に変換するためのフォーマットコンバート部と、
前記ビデオデコード部での映像データの解像度フォーマットの切り替わり時にフリーズするためのフリーズ制御部とを具備し、
前記フリーズ制御部は、
前記ビデオデコード部からの復号後の映像データを受け、前記ビデオデコード部での前記映像データの解像度フォーマットが切り替わる前の最後の映像データを拡大縮小処理させず、前記フィルタバッファ内に保持された映像データを出力させ、その後、前記ビデオデコード部及び前記拡大縮小処理部が前記切り替わり後の解像度フォーマットに切り替わった後に前記拡大縮小処理部が処理した解像度フォーマットの映像データを前記フィルタバッファに退避する
ことを特徴とする映像信号処理装置。
A video decoding unit for decoding a plurality of types of compressed video data having different resolution formats;
An enlargement / reduction processing unit for enlarging / reducing the video data decoded by the video decoding unit;
A filter buffer for holding the scaled video data;
A format conversion unit for converting the resolution of the video data held in the filter buffer into the resolution of the video output;
A freeze control unit for freezing when switching the resolution format of the video data in the video decoding unit,
The freeze control unit
The video stored in the filter buffer without receiving the video data after decoding from the video decoding unit and without scaling the last video data before the resolution format of the video data in the video decoding unit is switched Outputting data, and then saving the video data of the resolution format processed by the enlargement / reduction processing unit to the filter buffer after the video decoding unit and the enlargement / reduction processing unit are switched to the resolution format after the switching. A characteristic video signal processing apparatus.
解像度フォーマットが異なる複数種類の圧縮映像データの各々を復号する複数のビデオデコード部と、
前記複数のビデオデコード部で復号された映像データを各々保持する複数のビデオバッファと、
前記複数のビデオバッファからの複数の映像データのうち1つを選択的に受けて拡大縮小処理する拡大縮小処理部と、
前記拡大縮小処理された映像データを保持するフィルタバッファと、
前記フィルタバッファに保持された映像データの解像度を映像出力の解像度に変換するためのフォーマットコンバート部と、
映像データの符号化方式を切り替える時の解像度切替え制御部と、
前記複数のビデオデコード部での復号の起動を制御するデコード起動制御部と、
前記複数のビデオデコード部で復号された複数の映像データのうち何れを表示するかを選択する選択制御部とを備え、
前記解像度切替え制御部は、
前記選択制御部から、前記複数のビデオデコード部で復号された複数の映像データのうち何れを選択したかの指示を受け、この指示に基づいて、選択された映像データの解像度フォーマットを取得して、前記垂直同期信号に同期して前記拡大縮小処理部での拡大縮小処理の解像度フォーマットを切り替える
ことを特徴とする映像信号処理装置。
A plurality of video decoding units for decoding each of a plurality of types of compressed video data having different resolution formats;
A plurality of video buffers each holding video data decoded by the plurality of video decoding units;
An enlargement / reduction processing unit that selectively receives one of the plurality of video data from the plurality of video buffers and performs enlargement / reduction processing;
A filter buffer for holding the scaled video data;
A format conversion unit for converting the resolution of the video data held in the filter buffer into the resolution of the video output;
A resolution switching control unit when switching the encoding method of video data;
A decode activation control unit for controlling activation of decoding in the plurality of video decoding units;
A selection control unit that selects which of the plurality of video data decoded by the plurality of video decoding units is to be displayed;
The resolution switching control unit
An instruction as to which of the plurality of video data decoded by the plurality of video decoding units has been selected is received from the selection control unit, and the resolution format of the selected video data is acquired based on the instruction. A video signal processing apparatus, wherein the resolution format of the enlargement / reduction processing in the enlargement / reduction processing unit is switched in synchronization with the vertical synchronization signal.
前記請求項15に記載の映像信号処理装置において、
前記デコード起動信号部は、
前記拡大縮小処理部の垂直同期信号に同期して、前記複数のビデオデコード部へのデコード起動の指示を、前記垂直同期信号の同じ時刻に指示する
ことを特徴とする映像信号処理装置。
The video signal processing apparatus according to claim 15, wherein
The decode activation signal section is
The video signal processing apparatus characterized by instructing an instruction to start decoding to the plurality of video decoding units at the same time of the vertical synchronizing signal in synchronization with the vertical synchronizing signal of the enlargement / reduction processing unit.
JP2007154251A 2007-06-11 2007-06-11 Video signal processing apparatus Pending JP2008306660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007154251A JP2008306660A (en) 2007-06-11 2007-06-11 Video signal processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007154251A JP2008306660A (en) 2007-06-11 2007-06-11 Video signal processing apparatus

Publications (1)

Publication Number Publication Date
JP2008306660A true JP2008306660A (en) 2008-12-18

Family

ID=40234936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007154251A Pending JP2008306660A (en) 2007-06-11 2007-06-11 Video signal processing apparatus

Country Status (1)

Country Link
JP (1) JP2008306660A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015171020A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Receiving device and receiving method
CN113286099A (en) * 2021-04-30 2021-08-20 杭州星犀科技有限公司 Display screen picture control system and method
US11538438B2 (en) 2018-09-21 2022-12-27 Samsung Electronics Co., Ltd. Electronic device and method for extending time interval during which upscaling is performed on basis of horizontal synchronization signal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10336595A (en) * 1997-06-05 1998-12-18 Mitsubishi Electric Corp Decoder
JPH11146291A (en) * 1997-11-10 1999-05-28 Hitachi Ltd Muting method for video signal
JP2000152122A (en) * 1998-11-18 2000-05-30 Victor Co Of Japan Ltd Digital broadcast receiver
JP2000354241A (en) * 1999-06-14 2000-12-19 Matsushita Electric Ind Co Ltd Image decoder
JP2002112259A (en) * 2000-09-26 2002-04-12 Hitachi Ltd Coded image information processing apparatus
JP2006115264A (en) * 2004-10-15 2006-04-27 Xanavi Informatics Corp Transmission device of digital broadcasting, reception device, and digital broadcasting system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10336595A (en) * 1997-06-05 1998-12-18 Mitsubishi Electric Corp Decoder
JPH11146291A (en) * 1997-11-10 1999-05-28 Hitachi Ltd Muting method for video signal
JP2000152122A (en) * 1998-11-18 2000-05-30 Victor Co Of Japan Ltd Digital broadcast receiver
JP2000354241A (en) * 1999-06-14 2000-12-19 Matsushita Electric Ind Co Ltd Image decoder
JP2002112259A (en) * 2000-09-26 2002-04-12 Hitachi Ltd Coded image information processing apparatus
JP2006115264A (en) * 2004-10-15 2006-04-27 Xanavi Informatics Corp Transmission device of digital broadcasting, reception device, and digital broadcasting system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015171020A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Receiving device and receiving method
US11538438B2 (en) 2018-09-21 2022-12-27 Samsung Electronics Co., Ltd. Electronic device and method for extending time interval during which upscaling is performed on basis of horizontal synchronization signal
CN113286099A (en) * 2021-04-30 2021-08-20 杭州星犀科技有限公司 Display screen picture control system and method

Similar Documents

Publication Publication Date Title
EP1956848A2 (en) Image information transmission system, image information transmitting apparatus, image information receiving apparatus, image information transmission method, image information transmitting method, and image information receiving method
US20060120462A1 (en) Compressed stream decoding apparatus and method
KR100750779B1 (en) Signal transmitter and signal receiver
JPH09322096A (en) Format conversion circuit and television receiver provided with the format conversion circuit
JP5879169B2 (en) Subtitle synchronized playback apparatus and program thereof
JP4587821B2 (en) Video playback device
KR100757735B1 (en) Method of determining horizontal line active time for minimizing a memory, method of performing pip by using the same, and display devices using the same
JP2009200938A (en) Buffer controller and receiver
JP2007089013A (en) Av equipment speedily outputting operation screen
JP2008306660A (en) Video signal processing apparatus
JP2007259193A (en) Video output apparatus, and method
JP4323776B2 (en) Multi-channel video processing apparatus and method
KR100768682B1 (en) Method and system for buffering pixel data
JP2001069422A (en) Memory managing method and buffering system for successive scan video signal processing in digital tv receiver
US20060257108A1 (en) Multimedia reproduction apparatus
KR100782187B1 (en) An image display device for preventing skip of frame and method for preventing skip of frame
JP2005331674A (en) Image display apparatus
WO2013076778A1 (en) Image transmitting apparatus, image receiving apparatus, image transmitting method, and image receiving method
JP2006310916A (en) Audio video information decoding method, audio video information decoding device, and audio video information decoding program, and medium recorded with audio video information decoding program
KR101007245B1 (en) Method and system for vfc memory management
JP5328549B2 (en) Image processing apparatus and control method thereof
JP4677755B2 (en) Image filter circuit and interpolation processing method
KR100577195B1 (en) Apparatus for generating multi screen
JP2006180091A (en) Apparatus and method of compositing content
JP2001186529A (en) Mpeg decode circuit parallel drive system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100226

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120522

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120925