JP2005192013A - Device and program for decoding compression video data - Google Patents
Device and program for decoding compression video data Download PDFInfo
- Publication number
- JP2005192013A JP2005192013A JP2003432275A JP2003432275A JP2005192013A JP 2005192013 A JP2005192013 A JP 2005192013A JP 2003432275 A JP2003432275 A JP 2003432275A JP 2003432275 A JP2003432275 A JP 2003432275A JP 2005192013 A JP2005192013 A JP 2005192013A
- Authority
- JP
- Japan
- Prior art keywords
- picture
- moving image
- deletion
- unit
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は圧縮動画データデコード装置および圧縮動画データデコードプログラムに関し、特に、デコード処理の負荷を調整可能な圧縮動画データデコード装置ならびに圧縮動画データデコードプログラムに関する。 The present invention relates to a compressed moving image data decoding apparatus and a compressed moving image data decoding program, and more particularly to a compressed moving image data decoding apparatus and a compressed moving image data decoding program capable of adjusting the load of decoding processing.
近年、デジタル化された動画データは多くの場合、MPEG(Moving Picture Experts Group)(MPEG1、2、4等)形式で圧縮され、記録や伝送が行われている。これらの技術を利用してDVD(Digital Versatile Disk)プレーヤやハードディスクレコーダ等多様な機器が市販されている。これらデジタル化された録画再生機器においても、従来のアナログ型のVTR(Video Tape Recorder)と同様に、早送り再生や高速巻き戻し再生といった特殊再生の機能が提供されている。
In recent years, digitized moving image data is often compressed in MPEG (Moving Picture Experts Group) (
(第1の特殊再生技術)
第1の特殊再生技術は、デコーダの処理能力を高めてすべてのピクチャをデコードし、デコードされたピクチャから必要なピクチャだけ表示する技術である。特開平7−274112公報(特許文献1)には、m倍速再生時、圧縮デジタル映像信号がm倍のビットレートで伸張処理し、伸張処理したm倍のフレーム周波数のデジタル映像信号を出力するデータ伸張手段と、m倍のフレーム周波数のデジタル映像信号からフレーム周波数を1/mに変換するフレーム周波数変換手段とを備えたデジタル情報再生装置が記載されている。
(First special regeneration technology)
The first special reproduction technique is a technique for decoding all pictures by increasing the processing capability of the decoder and displaying only necessary pictures from the decoded pictures. Japanese Patent Application Laid-Open No. 7-274112 (Patent Document 1) discloses data for decompressing a compressed digital video signal at an m-times bit rate and outputting a decompressed digital video signal having a frame frequency of m times during reproduction at m times speed. There is described a digital information reproducing apparatus including decompression means and frame frequency conversion means for converting a frame frequency to 1 / m from a digital video signal having an m-fold frame frequency.
(第2の特殊再生技術)
第2の再生技術は、圧縮された状態のままピクチャの間引き処理を行い、間引かれた圧縮データをデコードして表示する技術である。特許文献1には、m倍再生時、m倍のビットレートで再生される圧縮デジタル映像信号の中からフレーム相関の高いフレームの圧縮デジタル映像信号を削除し、圧縮デジタル映像信号中のフレーム数を1/mに変換する伝送レート変換手段と、伝送レートを変換した圧縮デジタル映像信号を伸張処理し、デジタル映像信号を出力するデータ伸張手段とを備えたデジタル情報再生装置が記載されている。
(Second special reproduction technology)
The second reproduction technique is a technique for performing picture thinning processing in a compressed state, and decoding and displaying the thinned compressed data. In
(第3の特殊再生技術)
第3の再生技術は、予め早送り再生に適した形式の圧縮動画データを生成しておき、早送り再生時にそれを利用する技術である。特開平6−36521公報(特許文献2)には、あらかじめ、通常再生用の圧縮動画データとは別に、早送り再生に適した形式の圧縮動画データを生成して記録しておき、早送り再生時には早送り再生用の圧縮動画データを再生することによって早送り再生を実現する装置が開示されている。
The third reproduction technique is a technique in which compressed moving image data in a format suitable for fast-forward reproduction is generated in advance and used during fast-forward reproduction. In JP-A-6-36521 (Patent Document 2), in addition to compressed moving image data for normal playback, compressed moving image data in a format suitable for fast forward playback is generated and recorded in advance, and fast forward is performed during fast forward playback. An apparatus that realizes fast-forward reproduction by reproducing compressed moving image data for reproduction is disclosed.
しかしながら、従来の第1の特殊再生技術は、デコーダ装置の処理能力を高める必要があり、そのためのコストアップがあるといった問題がある。 However, the conventional first special reproduction technique has a problem that it is necessary to increase the processing capability of the decoder device, and there is an increase in cost.
従来の第2の特殊再生技術は、映像信号が圧縮されたままの状態でピクチャを間引いてデータ量を減らしてデコードするので、デコーダ装置の処理能力を高める必要はない。しかしながら、間引きするピクチャは、一定間隔になるとは限られないため必ずしもフレームレートに対応したものとはならない。このため、早送り再生される画像はコマ送りで再生されたような見づらいものとなってしまうという問題点がある。 In the conventional second special reproduction technique, since the picture is thinned and the data amount is reduced while the video signal is still compressed, the data amount is reduced and decoding is not necessary. However, the picture to be thinned out does not necessarily correspond to the frame rate because it is not always a fixed interval. For this reason, there is a problem that an image that is played back in a fast-forward manner becomes difficult to see as if played back by frame-by-frame.
従来の第3の特殊再生技術は、早送りのための圧縮動画データの記録領域を用意しなければならず、そのためのメモリコストがかさむといった問題がある。また、DVD等の記録媒体は、記憶容量に限界があり、圧縮動画データを記録する領域に加えて早送り用の圧縮動画データを記録する領域を確保できない場合があるといった問題がある。さらに、大量に流通している読出し専用のDVDに適用できないといった問題もある。 The conventional third special reproduction technique has a problem that a recording area for compressed moving image data for fast-forwarding has to be prepared, which increases the memory cost. In addition, a recording medium such as a DVD has a limitation in storage capacity, and there is a problem that an area for recording compressed moving picture data for fast-forwarding may not be secured in addition to an area for recording compressed moving picture data. Furthermore, there is a problem that it cannot be applied to a read-only DVD that is distributed in large quantities.
この発明は上述した問題点を解決するためになされたもので、この発明の目的の1つは、圧縮動画データを早送りでデコードする際の処理量を削減することが可能な圧縮動画データデコード装置および圧縮動画データデコードプログラムを提供することである。 The present invention has been made to solve the above-described problems, and one of the objects of the present invention is a compressed moving image data decoding apparatus capable of reducing the processing amount when decoding compressed moving image data by fast-forwarding. And providing a compressed video data decoding program.
この発明の他の目的は、圧縮動画データを早送りでデコードしても動きが滑らかな動画を出力することが可能な圧縮動画データデコード装置および圧縮動画データデコードプログラムを提供することである。 Another object of the present invention is to provide a compressed moving image data decoding apparatus and a compressed moving image data decoding program capable of outputting a moving image with smooth motion even when the compressed moving image data is decoded by fast-forwarding.
この発明のさらに他の目的は、データ量の多い圧縮動画データを実時間に合せてデコードすることが可能な圧縮動画データデコード装置および圧縮動画データデコードプログラムを提供することである。 Still another object of the present invention is to provide a compressed moving image data decoding apparatus and a compressed moving image data decoding program capable of decoding compressed moving image data with a large amount of data in real time.
上述した目的を達成するためにこの発明のある局面によれば、圧縮動画データデコード装置は、実時間に対応した動画データがエンコードされた圧縮動画データを入力する入力手段と、実時間を短縮して動画データを出力する短縮指示を受付ける指示受付手段と、圧縮動画データを解析して、受付けられた短縮指示と予め定められたフレームレートとに基づいて出力ピクチャを決定する出力ピクチャ決定手段と、決定された出力ピクチャを除くピクチャに対応する圧縮動画データ、または該出力ピクチャが参照ピクチャを有する場合には該出力ピクチャと該参照ピクチャとを除くピクチャに対応する圧縮動画データを削除するピクチャ削除手段とを備える。 In order to achieve the above object, according to one aspect of the present invention, a compressed moving image data decoding device includes an input means for inputting compressed moving image data encoded with moving image data corresponding to real time, and shortens the real time. Instruction receiving means for receiving a shortening instruction for outputting moving image data, output picture determining means for analyzing the compressed moving image data and determining an output picture based on the received shortening instruction and a predetermined frame rate; Compressed moving picture data corresponding to a picture excluding the determined output picture, or, if the output picture has a reference picture, a picture deleting means for deleting the compressed moving picture data corresponding to a picture excluding the output picture and the reference picture With.
この発明に従えば、実時間に対応した動画データがエンコードされた圧縮動画データが入力され、実時間を短縮して動画データを出力する短縮指示が受付けられると、圧縮動画データを解析して、受付けられた短縮指示と予め定められたフレームレートとに基づいて出力ピクチャを決定し、決定された出力ピクチャを除くピクチャに対応する圧縮動画データ、または該出力ピクチャが参照ピクチャを有する場合には該出力ピクチャと該参照ピクチャとを除くピクチャに対応する圧縮動画データを削除する。短縮指示と予め定められたフレームレートとに基づいて決定された出力ピクチャと、その出力ピクチャが参照ピクチャを有する場合にはその参照ピクチャとを除くピクチャの圧縮動画データがデコードされない。このため、圧縮動画データを通常の速度でデコードするのとほぼ同等の負荷で早送りでデコードすることができる。その結果、圧縮動画データを早送りでデコードする際の処理量を削減することが可能な圧縮動画データデコード装置を提供することができる。また、早送りでデコードされたピクチャは、短縮指示と予め定められたフレームレートとに基づいて決定された出力ピクチャなので、動きが滑らかな動画が再生される。このため、圧縮動画データを早送りでデコードしても動きが滑らかな動画を出力することが可能な圧縮動画データデコード装置を提供することができる。 According to the present invention, compressed moving image data encoded with moving image data corresponding to real time is input, and when a shortening instruction for outputting moving image data by reducing the real time is received, the compressed moving image data is analyzed, An output picture is determined based on the received shortening instruction and a predetermined frame rate, and compressed video data corresponding to a picture excluding the determined output picture, or if the output picture has a reference picture, The compressed moving image data corresponding to the picture excluding the output picture and the reference picture is deleted. The compressed moving image data of a picture other than the output picture determined based on the shortening instruction and a predetermined frame rate and the reference picture when the output picture has a reference picture are not decoded. For this reason, it is possible to decode the compressed moving image data by fast-forwarding with almost the same load as when decoding at a normal speed. As a result, it is possible to provide a compressed moving image data decoding device capable of reducing the processing amount when decoding compressed moving image data by fast-forwarding. Further, since the picture decoded by fast-forwarding is an output picture determined based on the shortening instruction and a predetermined frame rate, a moving image with smooth motion is reproduced. Therefore, it is possible to provide a compressed moving image data decoding device capable of outputting a moving image with smooth motion even when the compressed moving image data is decoded by fast-forwarding.
好ましくは、ピクチャ削除手段により一部のピクチャが削除された圧縮動画像データをデコードするデコード手段と、デコード手段の負荷を検出する負荷検出手段と、予め定められたフレームレートにより定まるタイミングで、デコードされた出力ピクチャまたは参照ピクチャを出力する出力手段とをさらに備え、ピクチャ削除手段は、負荷が第1のレベルを超えた場合に、出力ピクチャが参照ピクチャを有することを条件に、該出力ピクチャに対応する圧縮動画像データをさらに削除し、出力手段は、ピクチャ削除手段により削除された出力ピクチャに代えて該出力ピクチャの参照ピクチャを出力する。 Preferably, the decoding means for decoding the compressed video data from which some pictures have been deleted by the picture deletion means, the load detection means for detecting the load on the decoding means, and the decoding at a timing determined by a predetermined frame rate Output means for outputting the output picture or the reference picture that has been output, and the picture deletion means is provided on the output picture on the condition that the output picture has a reference picture when the load exceeds the first level. The corresponding compressed moving image data is further deleted, and the output means outputs a reference picture of the output picture instead of the output picture deleted by the picture deletion means.
この発明に従えば、デコード手段の負荷が第1のレベルを超えた場合に、出力ピクチャが参照ピクチャを有することを条件に、その出力ピクチャに対応する圧縮動画データをデコードすることなく参照ピクチャに対応する圧縮動画データをデコードする。参照ピクチャは出力ピクチャに類似するので、出力ピクチャに代えて参照ピクチャを用いても画像の揺らぎは少ない。また、出力ピクチャをデコードしないので、デコード処理の負荷を低減することができる。このため、画像の揺らぎを抑えつつ、デコード処理の負荷を低減することができる。 According to the present invention, when the load on the decoding means exceeds the first level, the compressed moving picture data corresponding to the output picture is converted into the reference picture without decoding on the condition that the output picture has the reference picture. Decode the corresponding compressed video data. Since the reference picture is similar to the output picture, even if the reference picture is used instead of the output picture, the image fluctuation is small. In addition, since the output picture is not decoded, the load of decoding processing can be reduced. For this reason, it is possible to reduce the load of the decoding process while suppressing the fluctuation of the image.
好ましくは、出力ピクチャ決定手段は、負荷が第1のレベルより大きい第2のレベルを超えた場合には、受付けられた短縮指示と予め定められたフレームレートよりも低いフレームレートに基づき出力ピクチャを決定する。 Preferably, the output picture determining means selects the output picture based on the received shortening instruction and a frame rate lower than a predetermined frame rate when the load exceeds a second level greater than the first level. decide.
この発明に従えば、負荷が第1のレベルより大きい第2のレベルを超えた場合には、短縮指示と予め定められたフレームレートよりも低いフレームレートとに基づき出力ピクチャを決定する。このため、フレームレートが低くなるので出力ピクチャの数が少なくなる。その結果、デコードする圧縮動画データのデータ量が少なくなるので、デコード処理の負荷をさらに低減することができる。 According to the present invention, when the load exceeds a second level that is greater than the first level, an output picture is determined based on a shortening instruction and a frame rate that is lower than a predetermined frame rate. For this reason, since the frame rate is lowered, the number of output pictures is reduced. As a result, the amount of compressed moving image data to be decoded is reduced, so that the load of decoding processing can be further reduced.
この発明の他の局面によれば、圧縮動画データデコード装置は、実時間に対応した動画データがエンコードされた圧縮動画データを入力する入力手段と、圧縮動画データの一部を削除する削除手段と、圧縮動画データをデコードするデコード手段と、デコード手段の負荷を検出する負荷検出手段と、検出された負荷に応じて削除手段により削除するデータ量を制御する制御部とを備える。 According to another aspect of the present invention, the compressed moving image data decoding apparatus includes an input unit that inputs compressed moving image data in which moving image data corresponding to real time is encoded, and a deleting unit that deletes a part of the compressed moving image data. A decoding unit that decodes the compressed moving image data, a load detection unit that detects a load on the decoding unit, and a control unit that controls the amount of data to be deleted by the deletion unit according to the detected load.
この発明に従えば、実時間に対応した動画データがエンコードされた圧縮動画データが入力され、圧縮動画データの一部を削除し、圧縮動画データをデコードする。デコード手段の負荷に応じて削除手段により削除するデータ量を制御する。このため、デコード手段の処理能力に合せて負荷が調整されるので、データ量の多い圧縮動画データを実時間に合せてデコードすることが可能な圧縮動画データデコード装置を提供することができる。 According to the present invention, compressed moving image data encoded with moving image data corresponding to real time is input, a part of the compressed moving image data is deleted, and the compressed moving image data is decoded. The amount of data to be deleted by the deletion unit is controlled according to the load on the decoding unit. For this reason, since the load is adjusted according to the processing capability of the decoding means, it is possible to provide a compressed moving image data decoding apparatus capable of decoding compressed moving image data having a large amount of data in accordance with real time.
好ましくは、削除手段は、解像度を低下させるために圧縮動画データの輝度ブロックの一部を削除する解像度変換手段を含み、解像度変換手段は、デコード手段の負荷が大きいほど削除するデータ量を多くする解像度レベル変更手段を含む。 Preferably, the deleting unit includes a resolution converting unit that deletes a part of the luminance block of the compressed moving image data in order to reduce the resolution, and the resolution converting unit increases the amount of data to be deleted as the load on the decoding unit increases. A resolution level changing unit is included.
この発明に従えば、デコード手段の負荷が大きいほど削除するデータ量を多くするので、デコード手段の処理能力に合せて圧縮動画データのデータ量を調整することができる。 According to the present invention, the larger the load on the decoding means, the larger the data amount to be deleted. Therefore, the data amount of the compressed moving image data can be adjusted in accordance with the processing capability of the decoding means.
好ましくは、解像度変更手段は、圧縮動画データの解像度が高いほど削除可能なデータ量の限界を大きな限界量に決定する限界量決定手段を含む。 Preferably, the resolution changing unit includes a limit amount determining unit that determines the limit of the data amount that can be deleted as a larger limit amount as the resolution of the compressed moving image data is higher.
この発明に従えば、圧縮動画データの解像度が低い場合には限界量を低くするので、解像度をある値に維持することができ、画質が低下するのを防止することができる。 According to the present invention, when the resolution of the compressed moving image data is low, the limit amount is lowered, so that the resolution can be maintained at a certain value, and deterioration of the image quality can be prevented.
好ましくは、予め定められたフレームレートにより定まるタイミングで、デコードされた出力ピクチャまたは参照ピクチャを出力する出力手段をさらに備え、削除手段は、圧縮動画データを解析して、予め定められたフレームレートに基づいて出力ピクチャを決定する出力ピクチャ決定手段と、負荷が第1のレベルを超えたことを条件に、参照ピクチャを有する出力ピクチャに対応する圧縮動画像データを削除するピクチャ削除手段とをさらに含み、出力手段は、ピクチャ削除手段により削除された出力ピクチャに代えて参照ピクチャを出力する。 Preferably, it further comprises output means for outputting a decoded output picture or reference picture at a timing determined by a predetermined frame rate, and the deleting means analyzes the compressed moving image data to obtain a predetermined frame rate. An output picture determining unit that determines an output picture based on the output picture, and a picture deleting unit that deletes the compressed video data corresponding to the output picture having the reference picture, on condition that the load exceeds the first level. The output means outputs a reference picture instead of the output picture deleted by the picture deletion means.
この発明に従えば、参照ピクチャは出力ピクチャに類似するので、出力ピクチャに代えて参照ピクチャを用いても画像の揺らぎは少ない。また、出力ピクチャをデコードしないので、デコード処理の負荷を低減することができる。このため、画像の揺らぎを抑えつつ、デコード処理の負荷を低減することができる。 According to the present invention, since the reference picture is similar to the output picture, the fluctuation of the image is small even if the reference picture is used instead of the output picture. In addition, since the output picture is not decoded, the load of decoding processing can be reduced. For this reason, it is possible to reduce the load of the decoding process while suppressing the fluctuation of the image.
好ましくは、出力ピクチャ決定手段は、解像度変換手段による削除可能なデータ量が限界量に達したことをさらに条件として、予め定められたフレームレートよりも低いフレームレートに基づき出力ピクチャを決定する。 Preferably, the output picture determining means determines an output picture based on a frame rate lower than a predetermined frame rate, on the condition that the amount of data that can be deleted by the resolution converting means has reached a limit amount.
この発明に従えば、フレームレートが低くなるので出力ピクチャの数が少なくなる。その結果、デコードする圧縮動画データのデータ量が少なくなるので、デコード処理の負荷をさらに低減することができる。 According to the present invention, since the frame rate is lowered, the number of output pictures is reduced. As a result, the amount of compressed moving image data to be decoded is reduced, so that the load of decoding processing can be further reduced.
好ましくは、実時間を短縮して動画データを出力する短縮指示を受付ける指示受付手段をさらに備え、出力ピクチャ決定手段は、圧縮動画データを解析して、受付けられた短縮指示と予め定められたフレームレートとに基づいて出力ピクチャを決定する。 Preferably, the apparatus further includes an instruction receiving unit that receives a shortening instruction for reducing the real time and outputting the moving image data, and the output picture determining unit analyzes the compressed moving image data and receives the received shortening instruction and a predetermined frame. The output picture is determined based on the rate.
この発明に従えば、短縮指示と予め定められたフレームレートとに基づいて決定された出力ピクチャと、その出力ピクチャが参照ピクチャを有する場合にはその参照ピクチャとを除くピクチャの圧縮動画データがデコードされない。このため、圧縮動画データを通常の速度でデコードするのとほぼ同等の負荷で早送りでデコードすることができる。また、早送りでデコードされたピクチャは、短縮指示と予め定められたフレームレートとに基づいて決定された出力ピクチャなので、動きが滑らかな動画が再生可能となる。 According to the present invention, the compressed moving image data of a picture excluding the output picture determined based on the shortening instruction and a predetermined frame rate and the reference picture if the output picture has a reference picture is decoded. Not. For this reason, it is possible to decode the compressed moving image data by fast-forwarding with almost the same load as when decoding at a normal speed. In addition, since the picture decoded by fast-forwarding is an output picture determined based on the shortening instruction and a predetermined frame rate, a moving image with smooth motion can be reproduced.
好ましくは、削除手段は、圧縮動画データのうち処理対象ピクチャの色差ブロックを処理対象ピクチャと所定の時間的距離内にあるより前のピクチャの色差ブロックに置換える色ブロック置換手段を含み、色ブロック置換手段は、デコード手段の負荷が大きいほど所定の時間的距離を長くするブロック置換レベル変更手段を含む。 Preferably, the deleting unit includes a color block replacing unit that replaces the color difference block of the processing target picture in the compressed moving image data with the color difference block of the previous picture within the predetermined time distance from the processing target picture. The replacement means includes block replacement level changing means for increasing the predetermined time distance as the load on the decoding means increases.
この発明に従えば、圧縮動画データのうち処理対象ピクチャの色差ブロックを処理対象ピクチャと所定の時間的距離内にあるより前のピクチャの色差ブロックに置換える。デコード手段の負荷が大きいほど所定の時間的距離を長くする。このため、置換えられた色ブロックに対応する圧縮動画データをデコードしないので、デコード処理の負荷を低減することができる。また、色差ブロックは、類似する色差ブロックに置換えられるので、再生される画像に与える影響を小さくすることができる。 According to the present invention, the color difference block of the processing target picture in the compressed moving image data is replaced with the color difference block of the previous picture within a predetermined time distance from the processing target picture. The larger the load on the decoding means, the longer the predetermined time distance. For this reason, since the compressed moving image data corresponding to the replaced color block is not decoded, the load of the decoding process can be reduced. In addition, since the color difference block is replaced with a similar color difference block, the influence on the reproduced image can be reduced.
好ましくは、予め定められたフレームレートにより定まるタイミングで、デコードされた出力ピクチャまたは参照ピクチャを出力する出力手段をさらに備え、削除手段は、圧縮動画データを解析して、予め定められたフレームレートに基づいて出力ピクチャを決定する出力ピクチャ決定手段と、負荷が第1のレベルを超えたことを条件に、参照ピクチャを有する出力ピクチャに対応する圧縮動画像データを削除するピクチャ削除手段とをさらに含み、出力手段は、ピクチャ削除手段により削除された出力ピクチャに代えて参照ピクチャを出力する。 Preferably, it further comprises output means for outputting a decoded output picture or reference picture at a timing determined by a predetermined frame rate, and the deleting means analyzes the compressed moving image data to obtain a predetermined frame rate. An output picture determining unit that determines an output picture based on the output picture, and a picture deleting unit that deletes the compressed video data corresponding to the output picture having the reference picture, on condition that the load exceeds the first level. The output means outputs a reference picture instead of the output picture deleted by the picture deletion means.
この発明に従えば、参照ピクチャは出力ピクチャに類似するので、出力ピクチャに代えて参照ピクチャを用いることで画像の揺らぎは少なくすることができる。また、出力ピクチャをデコードしないので、デコード処理の負荷を低減することができる。このため、画像の揺らぎを抑えつつ、デコード処理の負荷を低減することができる。 According to the present invention, since the reference picture is similar to the output picture, image fluctuation can be reduced by using the reference picture instead of the output picture. In addition, since the output picture is not decoded, the load of decoding processing can be reduced. For this reason, it is possible to reduce the load of the decoding process while suppressing the fluctuation of the image.
好ましくは、実時間を短縮して動画データを出力する短縮指示を受付ける指示受付手段をさらに備え、出力ピクチャ決定手段は、圧縮動画データを解析して、受付けられた短縮指示と予め定められたフレームレートとに基づいて出力ピクチャを決定する。 Preferably, the apparatus further includes an instruction receiving unit that receives a shortening instruction for reducing the real time and outputting the moving image data, and the output picture determining unit analyzes the compressed moving image data and receives the received shortening instruction and a predetermined frame. The output picture is determined based on the rate.
この発明に従えば、短縮指示と予め定められたフレームレートとに基づいて決定された出力ピクチャと、その出力ピクチャが参照ピクチャを有する場合にはその参照ピクチャとを除くピクチャの圧縮動画データがデコードされない。このため、圧縮動画データを通常の速度でデコードするのとほぼ同等の負荷で早送りでデコードすることができる。また、早送りでデコードされたピクチャは、短縮指示と予め定められたフレームレートとに基づいて決定された出力ピクチャなので、動きが滑らかな動画が再生可能となる。 According to the present invention, the compressed moving image data of a picture excluding the output picture determined based on the shortening instruction and a predetermined frame rate and the reference picture if the output picture has a reference picture is decoded. Not. For this reason, it is possible to decode the compressed moving image data by fast-forwarding with almost the same load as when decoding at a normal speed. In addition, since the picture decoded by fast-forwarding is an output picture determined based on the shortening instruction and a predetermined frame rate, a moving image with smooth motion can be reproduced.
好ましくは、色ブロック置換手段は、指示受付手段により受付けられた短縮指示の短縮率が大きいほど所定の時間的距離の限界距離を長い値に決定する限界距離決定手段を含む。 Preferably, the color block replacing unit includes a limit distance determining unit that determines the limit distance of the predetermined temporal distance to a longer value as the shortening rate of the shortening instruction received by the instruction receiving unit is larger.
この発明に従えば、実時間を短縮して動画データを出力する短縮指示の短縮率が大きいほど所定の時間的距離の限界距離を長い値に決定するので、デコードしない色ブロックの数が増える。このため、デコード処理の負荷をより低減することができる。 According to the present invention, as the shortening rate of the shortening instruction for outputting moving image data by shortening the real time is larger, the limit distance of the predetermined temporal distance is determined to be a longer value, so that the number of color blocks that are not decoded increases. For this reason, the load of the decoding process can be further reduced.
好ましくは、出力ピクチャ決定手段は、ブロック置換レベル変更手段により所定の時間的距離が限界距離に達したことをさらに条件として、予め定められたフレームレートよりも低いフレームレートに基づき出力ピクチャを決定する。 Preferably, the output picture determining means determines an output picture based on a frame rate lower than a predetermined frame rate, on the condition that a predetermined temporal distance has reached a limit distance by the block replacement level changing means. .
この発明に従えば、フレームレートが低くなるので出力ピクチャの数が少なくなる。その結果、デコードする圧縮動画データのデータ量が少なくなるので、デコード処理の負荷をさらに低減することができる。 According to the present invention, since the frame rate is lowered, the number of output pictures is reduced. As a result, the amount of compressed moving image data to be decoded is reduced, so that the load of decoding processing can be further reduced.
好ましくは、削除手段により削除するデータの量を決定するためのパラメータを取得する取得手段をさらに備え、制御手段は、取得されたパラメータを用いて削除手段により削除するデータ量を制御する。 Preferably, an acquisition unit that acquires a parameter for determining an amount of data to be deleted by the deletion unit is further provided, and the control unit controls the amount of data to be deleted by the deletion unit using the acquired parameter.
この発明に従えば、取得されたパラメータを用いて削除するデータ量が制御されるので、パラメータを変更すことにより削除するデータ量を変更することができる。このため、圧縮動画像によって削除するデータ量を異ならせることができる。 According to the present invention, since the amount of data to be deleted is controlled using the acquired parameter, the amount of data to be deleted can be changed by changing the parameter. Therefore, the amount of data to be deleted can be varied depending on the compressed moving image.
この発明のさらに他の局面によれば、圧縮動画データデコードプログラムは、実時間に対応した動画データがエンコードされた圧縮動画データを入力するステップと、実時間を短縮して動画データを出力する短縮指示を受付けるステップと、圧縮動画データを解析して、受付けられた短縮指示と予め定められたフレームレートとに基づいて出力ピクチャを決定するステップと、決定された出力ピクチャを除くピクチャに対応する圧縮動画データ、または、該出力ピクチャが参照ピクチャを有する場合には該出力ピクチャと該参照ピクチャとを除くピクチャに対応する圧縮動画データを削除するステップとをコンピュータに実行させる。 According to still another aspect of the present invention, a compressed moving image data decoding program includes a step of inputting compressed moving image data encoded with moving image data corresponding to real time, and a shortening of outputting moving image data by reducing real time. Receiving an instruction; analyzing the compressed moving image data; determining an output picture based on the received shortening instruction and a predetermined frame rate; and compression corresponding to a picture excluding the determined output picture Causing the computer to execute moving image data or, if the output picture has a reference picture, deleting compressed moving image data corresponding to a picture excluding the output picture and the reference picture.
この発明に従えば、圧縮動画データを通常の速度でデコードするのとほぼ同等の負荷で早送りでデコードすることができる。その結果、圧縮動画データを早送りでデコードする際の処理量を削減することが可能な圧縮動画データデコードプログラムを提供することができる。また、早送りでデコードされたピクチャは、短縮指示と予め定められたフレームレートとに基づいて決定された出力ピクチャなので、動きが滑らかな動画が再生される。このため、圧縮動画データを早送りでデコードしても動きが滑らかな動画を出力することが可能な圧縮動画データデコードプログラムを提供することができる。 According to the present invention, it is possible to decode the compressed moving image data by fast-forwarding with almost the same load as when decoding at a normal speed. As a result, it is possible to provide a compressed moving image data decoding program capable of reducing the processing amount when decoding compressed moving image data by fast-forwarding. Further, since the picture decoded by fast-forwarding is an output picture determined based on the shortening instruction and a predetermined frame rate, a moving image with smooth motion is reproduced. Therefore, it is possible to provide a compressed moving image data decoding program that can output a moving image with smooth motion even if the compressed moving image data is decoded by fast-forwarding.
この発明のさらに他の局面によれば、圧縮動画データデコードプログラムは、実時間に対応した動画データがエンコードされた圧縮動画データを入力するステップと、圧縮動画データの一部を削除するステップと、圧縮動画データをデコードするステップと、デコードステップが実行されるコンピュータの負荷を検出するステップと、検出された負荷に応じて削除ステップにより削除するデータ量を制御するステップとをコンピュータに実行させる。 According to still another aspect of the present invention, a compressed moving image data decoding program inputs compressed moving image data encoded with moving image data corresponding to real time, a step of deleting a part of the compressed moving image data, The computer is caused to execute a step of decoding the compressed moving image data, a step of detecting a load of the computer on which the decoding step is executed, and a step of controlling the amount of data to be deleted by the deletion step according to the detected load.
この発明に従えば、デコードを実行するコンピュータの負荷に応じて削除するデータ量を制御する。このため、コンピュータの処理能力に合せて負荷が調整されるので、データ量の多い圧縮動画データを実時間に合せてコンピュータにデコードさせることが可能な圧縮動画データデコードプログラムを提供することができる。 According to the present invention, the amount of data to be deleted is controlled in accordance with the load on the computer that performs decoding. For this reason, since the load is adjusted according to the processing capability of the computer, it is possible to provide a compressed moving image data decoding program capable of causing a computer to decode compressed moving image data having a large amount of data in real time.
以下、本発明の実施の形態について図面を用いて説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。本実施の形態における動画再生装置は、MPEG2で符号化された圧縮動画データをデコードする例を説明するが、圧縮方式はこれに限定されることなくMPEG2以外の圧縮方式を用いるようにしてもよい。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated. The moving picture reproducing apparatus in the present embodiment will explain an example of decoding compressed moving picture data encoded in MPEG2, but the compression method is not limited to this, and a compression method other than MPEG2 may be used. .
<第1の実施の形態>
図1は、本発明の第1の実施の形態における動画再生装置の概略構成を示すブロック図である。図1を参照して、動画再生装置1は、MPEG形式で圧縮された動画データを記録するハードディスク装置10と、ハードディスク装置10を制御して適切なビットレートで圧縮動画データを読み出すための読出制御装置11と、圧縮動画データをデコードして展開された画像に変換する動画デコード装置12と、展開された画像を適切な信号形式に変換して表示装置2に送出するビデオ信号発生装置13と、ユーザが動画再生装置1を操作するためのキーボードなどのユーザインタフェース14とを含む。
<First embodiment>
FIG. 1 is a block diagram showing a schematic configuration of a moving image playback apparatus according to the first embodiment of the present invention. Referring to FIG. 1, a moving
ユーザインタフェース14からは、ユーザによる再生速度の指示の入力が受付けられる。再生速度の指示とは、実時間を短縮して動画データを出力する指示である。再生速度がm倍速再生とは、m個のピクチャ間隔でピクチャを取出して再生することをいう。
From the
ビデオ信号発生装置13は、展開された画像を表示装置2に適した解像度に拡大または縮小する処理を行うこともある。
The
本実施の形態における動画再生装置1において、平均ビットレートR(ビット/秒)の圧縮動画データを通常再生(1倍速再生)する場合の処理の流れを説明する。読出制御装置11は、通常速度での再生時にハードディスク装置10からビットレートRで圧縮動画データを読出すように動画デコード装置12を制御する。動画デコード装置12は読出したビットレートRの圧縮動画データをデコードし、フレームレートF(フレーム/秒)で後述するメモリ部108(図4参照)に画像を展開する。
A description will be given of the flow of processing in the case of normal playback (single-speed playback) of compressed video data with an average bit rate R (bits / second) in the
ビデオ信号発生装置13は、メモリ装置に展開された画像を液晶やブラウン管といった表示装置2に適した信号形式に変換して出力する。通常、表示装置2の表示は一定のリフレッシュレートfで更新されるため、フレームレートFの画像は、リフレッシュレートfになるよう、間引きもしくは補完が行われる。一般的には、フレームレートFとリフレッシュレートfの値は同じかあるいは近い値であるためハードディスク装置10から読出された圧縮動画データはほぼすべてが表示装置2から出力される。
The
なお、動画再生装置1は、入力されたビデオ信号をMPEG形式で圧縮するための動画エンコード装置、再生状況をはじめとする各種情報を表示するための情報表示装置等を備えるが、これらは周知であるのでここでは説明を繰り返さない。
The moving
ここで、MPEG2方式で圧縮された圧縮動画データの構造を説明する。圧縮動画像データは、GOP(Group of Pictures)、ピクチャ、スライス、マクロブロック、ブロックに階層化された構造を有する。図2は、MPEG2方式で圧縮された圧縮動画データのピクチャの並びを示す図である。図2を参照して、弓状の矢印はピクチャの依存関係を示している。ピクチャ内符号化画面(以下「Iピクチャ」という)はそれ自身で完結している。ピクチャ間予測符号化画面(以下「Pピクチャ」という)は先行するIピクチャとの差分情報を持っており、Iピクチャを元にして画面が復元される。この元になるIピクチャは参照ピクチャと呼ぶ。双方向予測符号化画面(以下「Bピクチャ」という)は前後のIもしくはPピクチャとの差分情報を持っており、これら前後の画面を元にして画面が復元される。これら元になるIもしくはPピクチャを参照ピクチャと呼ぶ。 Here, the structure of compressed moving image data compressed by the MPEG2 system will be described. The compressed moving image data has a structure hierarchized into GOP (Group of Pictures), pictures, slices, macroblocks, and blocks. FIG. 2 is a diagram showing a sequence of pictures of compressed moving image data compressed by the MPEG2 system. Referring to FIG. 2, arcuate arrows indicate picture dependency relationships. The intra-picture coding screen (hereinafter referred to as “I picture”) is completed by itself. The inter-picture predictive encoding screen (hereinafter referred to as “P picture”) has difference information from the preceding I picture, and the screen is restored based on the I picture. This original I picture is called a reference picture. The bi-directional predictive coding screen (hereinafter referred to as “B picture”) has difference information from the preceding and following I or P pictures, and the screen is restored based on these preceding and following screens. These original I or P pictures are called reference pictures.
これらI,P,Bピクチャの出現割合は必ずしも固定されておらず、画面の動きによりエンコード時に調整されることもありうる。また、情報量としてはIピクチャが最も多く、Pピクチャ、Bピクチャの順で少なくなり、デコード時の演算量もこの順序に従う。 The appearance ratio of these I, P, and B pictures is not necessarily fixed, and may be adjusted at the time of encoding by the movement of the screen. In addition, the amount of information is the largest for I pictures and decreases in the order of P pictures and B pictures, and the amount of calculation at the time of decoding also follows this order.
デコードに必要な演算量は、Bピクチャに比べてIピクチャ、Pピクチャの方が大きいため、例えば、Bピクチャだけを削除してピクチャ数を1/nにしたとしても演算量が1/nにはならない。このため、通常再生時に近い演算量でm倍速再生を実現するためには、表示されるピクチャの数を1/mよりも小さくする必要があり、この場合にはコマ送り様の表示となってしまう。 The amount of calculation required for decoding is larger for I and P pictures than for B pictures. For example, even if only B pictures are deleted and the number of pictures is reduced to 1 / n, the amount of calculations is reduced to 1 / n. Must not. For this reason, in order to realize m-times speed playback with a calculation amount close to that during normal playback, the number of pictures to be displayed needs to be smaller than 1 / m. In this case, frame-by-frame display is performed. End up.
図3は、ピクチャ、スライス、マクロブロック、ブロックの階層構造を説明するための図である。図3を参照して、ピクチャは、複数のスライスからなる。スライスは、複数のマクロブロックからなる。さらに、マクロブロックは、4つの輝度ブロック(Y1〜Y4)と、2つの色差ブロック(Cb,Cr)からなる。 FIG. 3 is a diagram for explaining the hierarchical structure of pictures, slices, macroblocks, and blocks. Referring to FIG. 3, a picture is composed of a plurality of slices. A slice is composed of a plurality of macroblocks. Further, the macro block includes four luminance blocks (Y1 to Y4) and two color difference blocks (Cb, Cr).
図4は、本実施の形態における動画デコード装置12の概略構成を示すブロック図である。動画デコード装置12は、連続した圧縮動画データの構造を解析する構造解析部101と、重要度の低いピクチャを選択して削除するピクチャ削除部102と、重要度の低いブロックを選択して削除するブロック削除部103と、各ピクチャの可変長符号の展開と逆量子化とを行ってDCT(Discrete Cosine Transform)係数を出力する可変長符号展開部104と、重要度の低いDCT係数を選択して削除するDCT係数削除部105と、逆DCT演算を行ってブロックを出力する逆DCT演算部106と、動き保証処理を行って最終的なデコード結果である画像を出力する動き保証部107と、デコード処理中およびその前後のピクチャの画像を格納するメモリ部108と、デコード処理の負荷状態に適した削除レベルを決定し、それぞれの削除部に指示する負荷制御部109と、パラメータを記憶するパラメータ記憶部120と、パラメータ記憶部に記憶されたパラメータを選択するパラメータ選択部121とを含む。
FIG. 4 is a block diagram showing a schematic configuration of the moving
パラメータ記憶部120は、ピクチャ削除部102、ブロック削除部103およびDCT係数削除部105において削除するデータを決定するために用いられるパラメータを記憶する。このパラメータについては後で詳細に説明する。パラメータ記憶部120は、複数の組のパラメータを記憶することが可能である。複数の組は、動画データの特性、たとえば動きの速い動画と動きの遅い動画とで異なるパラメータを記憶する。
The
パラメータ選択部121は、ユーザからの指示に基づいて、パラメータ記憶部120に記憶されているパラメータの組から所望のパラメータを選択し、負荷制御部109に出力する。なお、ここでは、負荷制御部109に入力されるパラメータは、パラメータ記憶部120に記憶されている例を示すが、パラメータが圧縮動画データの一部に含まれる場合にはそのパラメータを抽出して負荷制御部109に入力されるようにしてもよいし、圧縮動画データとは別のそれと関連付けられたメタデータに含まれる場合にはそのパラメータが負荷制御部109に入力されるようにしてもよい。同様に、パラメータの選択もユーザの指示以外に、動画データの一部に含まれているデータやメタデータに基づいて行ってもよい。
The
パラメータ記憶部120に記憶されるパラメータは圧縮動画データの一部に含まれるパラメータを更新するための所定のデータにより更新される。また、パラメータは、圧縮動画データとともに受信されるメタデータに含まれる。さらに、パラメータ記憶部120は、複数の組のパラメータを記憶しており、パラメータ選択部121は、複数の組のパラメータのいずれか1つを選択する。このパラメータ選択部121は、入力された圧縮動画データの種類に応じて複数の組のパラメータの中から選択する。
The parameters stored in the
構造解析部101は、圧縮動画像データが入力され、入力された圧縮動画像データの構造を解析する。デコード処理において、構造解析部101は後述する削除処理が行われる以前に圧縮動画像データを処理するので、再生速度が高速なほど処理量が増加する。このため、構造解析部101は十分な処理能力を有することが望ましい。また、構造解析部101は、入力される圧縮動画データが書込み可能な記録媒体、たとえばハードディスク装置10に記録されている場合には、デコード処理が実行される以前に予め圧縮動画データを解析をしておき、解析結果を圧縮動画データとは別の領域に記録するようにするようにしてもよい。この場合には構造解析部は、通常の再生速度に対応できる処理能力があれば十分である。また、解析結果を格納するためにハードディスク装置10内に確保される追加の記録領域は、早送り専用の圧縮動画データを予め生成して記憶しておく場合に必要とされる記憶領域と比較して記録量が非常に小さくてよい。
The
圧縮動画データのデコード処理においては、逆DCT演算部106での処理量が最も大きい。そのため、逆DCT演算部106に送込まれるDCT係数の削減が動画デコード処理全体の演算量を削減するのに効果的である。本実施の形態においては、逆DCT演算部106に送込まれるDCT係数を削減するために、ピクチャ削除部102によるピクチャの削除、ブロック削除部103によるブロックの削除、DCT係数削除部105によるDCT係数削除の3つの処理を実行する。
In the decoding process of the compressed moving image data, the processing amount in the inverse
ピクチャ削除部102は、ユーザから指示された再生速度の指示と予め定められたフレームレートとに基づいて出力ピクチャを決定する。そして、決定した出力ピクチャと、その出力ピクチャが参照ピクチャを有する場合にはその参照ピクチャとに対応する圧縮動画データとを除く圧縮動画データを削除する。なお、ここでは、圧縮動画像データを削除する例を示すが、データ自体を削除することなく、後段の処理において削除するピクチャに対応する圧縮動画データを処理対象から除外するように上述したデータ構造を変更するようにしてもよい。
The
また、ピクチャ削除部102は、出力ピクチャが参照ピクチャを有することを条件に、その出力ピクチャに対応する圧縮動画データを削除して、参照ピクチャに対応する圧縮動画データを削除した圧縮動画データの代わりのピクチャとする。なお、圧縮画像データそのものを変更することなく、データ構造を変更するようにしてもよい。
In addition, the
さらに、ピクチャ削除部102は、ユーザから指示された再生速度の指示と予め定められたフレームレートよりも低いフレームレートとに基づき出力ピクチャを決定する。
Furthermore, the
ブロック削除部103は、圧縮動画データのうち処理対象ピクチャの色差ブロックを削除し、削除した色差ブロックを処理対象ピクチャと所定の時間的距離内にあるより前のピクチャの色差ブロックに置換える。
The
可変長符号展開部104では、可変長符号を展開し、さらに逆量子化を行って各ブロックあたり64個(=8×8)のDCT係数を出力する。エンコード時には、図5に示すように、画像データはDCTによりDCT係数の行列に変換された後、ジグザグスキャンで1次元の係数列に変換される。デコードの処理において可変長符号展開部104から出力されるのは、ジグザグスキャンの順序に従って2次元の行列に再展開されたDCT係数行列である。
The variable length
DCT係数削除部105は、解像度を低下させるために圧縮動画データの輝度ブロックの一部を削除する。
The DCT
逆DCT演算部106ではDCT係数行列に逆DCT処理を行いブロックの画像データを出力する。
The inverse
動き保証部107ではブロックをピクチャの形に配置し、さらに、Pピクチャについては時間的に前のIピクチャをもとに、Bピクチャについては時間的に前後のIピクチャあるいはPピクチャをもとに動き保証を行ってデコードされた画像を得る。得られた画像は、ビデオ信号発生装置13に伝えるため、メモリ部108に書き込まれる。また、動き保証の処理を行うために動き保証部107から参照される可能性がある間はメモリ部108に書き込まれた画像を保存する必要がある。
In the
次に、入力された圧縮動画データのデコードの流れに従って、ピクチャ削除部102と、ブロック削除部103と、DCT係数削除部105との働きについて詳細に説明する。ここでは説明のために、ユーザからの再生速度の指示が4倍速再生の場合を例に説明する。図6は、4倍速再生の場合に選択されるピクチャを説明するための図である。図6を参照して、斜線でハッチングを付したピクチャが選択されたピクチャを示す。このピクチャの選択は、ピクチャ削除部102において行われる。選択されたピクチャが出力ピクチャに相当する。
Next, operations of the
選択されたピクチャが参照ピクチャを有する場合には、選択されたピクチャをデコードするのに参照ピクチャをデコードしなければならない。図では、依存関係が矢印で示され、参照ピクチャは格子のハッチングで示される。図においてハッチングが付されていない無地のピクチャはデコードする必要がない。このため、ピクチャ削除部102は、m倍速再生の再生速度の指示と表示装置2のリフレッシュレートから定まるフレームレートとに基づき、出力ピクチャとその出力ピクチャと依存関係のある参照ピクチャ以外のピクチャをデコードの必要のないピクチャとして選択して削除する。
If the selected picture has a reference picture, the reference picture must be decoded to decode the selected picture. In the figure, the dependency relationship is indicated by an arrow, and the reference picture is indicated by lattice hatching. It is not necessary to decode a plain picture that is not hatched in the figure. For this reason, the
次に、ブロック削除部103で実行されるブロック削除処理について説明する。図3に示したように、ピクチャは16×16ペル(ピクセル)のマクロブロックに分割され、さらに、輝度成分を表す4つの輝度ブロックと、色差成分を表す2つの色差ブロックに分けられる。4つの輝度ブロックと、2つの色差ブロックそれぞれは8×8の大きさである。
Next, block deletion processing executed by the
一般に人の視覚は輝度の変化には敏感であるが、色の変化には鈍感であるという性質がある。1つのマクロブロックが4つの輝度ブロックに変換されるにもかかわらず、色差ブロックについては2つの色差ブロックにしか変換されないという分割アルゴリズムもこの人の視覚の性質に基づいている。 In general, human vision is sensitive to changes in brightness but insensitive to changes in color. The segmentation algorithm in which one macroblock is converted into four luminance blocks, but the chrominance block is only converted into two chrominance blocks is also based on the visual nature of this person.
ブロック削除部103は、色差ブロックを削除する。より具体的には、例えば、Bピクチャについてはその元となるIピクチャまたはPピクチャの色差成分を流用し、Bピクチャ自身の色差ブロックを削除する。Bピクチャは時間的に前のピクチャと後のピクチャの両方に依存し、色差成分の流用元となるピクチャはそのいずれのピクチャから選択してもよいが、一般的に時間的に前のピクチャを選択する方が処理や必要なバッファ量の削減につながるために好ましい。もちろん、前後のピクチャの色差成分の単純平均、加重平均などを用いるようにしてもよい。さらに色差ブロックの削除は、Pピクチャの色差成分を削除するようにしてもよい。この場合、Iピクチャの色差成分のみがデコードされ、GOPを通じてその色差成分が流用される。
The
色差成分の削除はピクチャの削除に比べれば再生画像への影響が少ないが、輝度と色とのずれがあまり目立たないよう、次に説明するDCT係数削除と適切に組み合わせて行う必要がある。 The deletion of the color difference component has less influence on the reproduced image than the deletion of the picture, but it must be appropriately combined with the DCT coefficient deletion described below so that the difference between the luminance and the color is not noticeable.
次に、DCT係数削除部105によるDCT係数削除処理について説明する。図7は、DCT係数削除処理を説明するための図である。図7(a)を参照して、DCT係数削除部105は、可変長符号展開部104から出力されたDCT係数行列について、左上の4×4の係数を除く斜線部分を削除し、さらに残った係数値すべてに1/2を掛ける処理を行う。この処理によって、逆DCT後の解像度は半分(画素数は1/4)になるが、DCTの係数の数は1/4になり、逆DCT処理の演算量を削減することができる。
Next, the DCT coefficient deletion process by the DCT
図7(b)を参照して、DCT係数削除部105は、左上の2×2の係数だけを除いて削除し、さらに、残りの係数値すべてに1/4を掛ける処理を行う。この場合、得られる画像の解像度は1/4となる。さらに、図7(c)を参照して、DCT係数削除部105は、左上のひとつの係数だけを除いて削除し、さらに、残りの係数値すべてに1/8を掛ける処理を行う。この場合、得られる画像の解像度は1/8となる。係数を1つだけにした場合は、逆DCT演算部106における逆DCT処理そのものが不要になるという利点があるが、解像度は相当に低下するため元のピクチャの解像度が十分に高い場合以外は避けることが望ましい。
Referring to FIG. 7B, the DCT
次に、負荷制御部109による制御と、ピクチャ削除部102、ブロック削除部103およびDCT係数削除部105の動作についてより詳細に説明する。デコード処理を行う可変長符号展開部104、逆DCT演算部106、動き保証部107は、それぞれの負荷状態を負荷制御部109に伝える。
Next, control by the
負荷制御部109は、伝えられた負荷からデコード処理を行う可変長符号展開部104、逆DCT演算部106、動き保証部107の負荷を検出する。そして、負荷制御部109は、検出した負荷状態を基に、ピクチャ削除部102、ブロック削除部103およびDCT係数削除部105に削除の指示を伝える。
The
可変長符号展開部104、逆DCT演算部106、動き保証部107それぞれが出力する負荷は、可変長符号展開部104、逆DCT演算部106、動き保証部107それぞれに設けられている入力バッファに記憶されているデータ量またはその変化量である。負荷が過多になり処理が間に合わなくなると可変長符号展開部104、逆DCT演算部106および動き保証部107それぞれの入力バッファに記憶されるデータ量が増加し、逆に負荷が軽くなると入力バッファに記憶されるデータ量が減少するからである。本実施の形態においては、負荷を負荷レベルで分類している。
The load output by each of the variable length
図8は、負荷レベルの一例を示す図である。図8を参照して、負荷レベル3は入力バッファがあふれる直前の状態を示し、警告となる値である。例えば、バッファ量がバッファの8割以上となった場合に出力される。負荷レベル2は、入力バッファに記憶されるデータ量が増加傾向にある場合に出力される。負荷レベル1は、入力バッファに記憶されるデータ量が減少傾向にある場合に出力される。負荷レベル0は、入力バッファに記憶されるデータ量が一定量以下、たとえばバッファの1割以下の場合に出力される。負荷レベル0もしくは3の条件は負荷レベル1もしくは2の条件に優先する。つまり、バッファ量が減少傾向でもバッファが限界を超えていれば負荷レベルは3となる。
FIG. 8 is a diagram illustrating an example of a load level. Referring to FIG. 8,
図9は、ピクチャ削除部102、ブロック削除部103およびDCT係数削除部105それぞれに対する削除レベルとそのレベルに応じた削除処理との関係の一例を示す図である。ここで、mは表示されるべきピクチャの間隔を示している。一般的には早送りの再生速度の通常再生速度に対する倍数である。ここで各削除部について削除レベル0を定義しているが、これは、再生画像に対して一切の品位低下をもたらさない状態を示している。
FIG. 9 is a diagram illustrating an example of a relationship between a deletion level for each of the
ピクチャ削除部102の削除レベル(「ピクチャ削除レベル」ともいう)は、削除レベル0では必要なピクチャをすべて残すように処理される。このため、表示されるピクチャは、表示のタイミングから期待されるピクチャに完全に一致する。削除レベル1、2では表示するピクチャの時間的揺らぎを許すことでピクチャの削減を図っている。表示されるピクチャの枚数(フレームレート)は保持されるが、一部のピクチャについては、本来表示すべきピクチャよりも前のピクチャで代替される。削除レベル3ではピクチャの時間的揺らぎに加えてフレームレートを下げることでピクチャの削減を図る。このため、ひとつのピクチャが複数回表示されることになる。
The deletion level (also referred to as “picture deletion level”) of the
ブロック削除部103に対する削除レベル(「ブロック削除レベル」ともいう)は、削除レベル0ではすべてのブロックを残し、削除レベル1では通常再生で約0.13秒に相当する色変化の遅れを許し、削除レベル2では通常再生で約0.2秒に相当する色変化の遅れを許し、削除レベル3では通常再生で約0.27秒に相当する色変化の遅れを許している。色変化の遅れがあまりにも大きくなると、輝度情報によって表現される被写体の輪郭と色差情報によって表現される被写体の色のずれが大きくなりすぎ、違和感を生じるため図9に示す関係とした。なお、ここでは圧縮動画データのフレームレートを30フレーム/秒として遅れ時間を計算している。
The deletion level (also referred to as “block deletion level”) for the
DCT係数削除部に対する削除レベル(「DCT係数削除レベル」ともいう)は、削除レベル0ではすべてのDCT係数を残し、削除レベル1ではブロックあたりDCT係数が16になるようにDCT係数を削除するレベルであり、削除レベル2ではブロックあたりDCT係数が4になるようにDCT係数を削除するレベルであり、削除レベル3ではブロックあたりDCT係数が1になるようにDCT係数を削除するレベルである。
The deletion level (also referred to as “DCT coefficient deletion level”) for the DCT coefficient deletion unit is a level at which all DCT coefficients are left at the
ユーザによる再生速度の指示が変化したり、負荷レベルが変化したために、削除レベルが変化した場合に再生画像が一瞬止まったり、あるいは間のフレームが抜けたりしないようピクチャ削除部102、ブロック削除部103およびDCT係数削除部105は、削除レベルが変わった場合でも処理時間が変化しないよう構成されるか、あるいは、各処理部は十分なバッファを持つべきである。
The
図10は、ピクチャ削除部102について、m=4(4倍速再生)の場合に図9の関係を適応した際のピクチャ削除部102による削除結果を説明する図である。ここで、各レベルの第1行はどのピクチャがデコードされるかを示しており、丸は表示されるピクチャ、三角は表示されないがピクチャの依存関係からデコードが必要なピクチャ、左向きの矢印は代替の結果利用されないため削除されるピクチャ、空欄は利用されないため削除されるピクチャを示している。丸と三角がデコードされるピクチャであり、左向きの矢印と空欄がデコードされないピクチャである。各レベルの第2行は、デコードされたピクチャがどのように表示されるかを示しており、表示のためデコードされた丸印のピクチャは下向きまたは右下向きの矢印の矢のタイミングで表示される。
FIG. 10 is a diagram for explaining a deletion result by the
ピクチャ削除レベル0では必要なピクチャをすべて残すように処理されるので、ピクチャ4枚ごとに1枚のピクチャが選択され、そのピクチャが依存するピクチャも残される。表示されるピクチャは、表示のタイミングから期待されるピクチャに完全に一致するのがわかる。
Since all the necessary pictures are processed at the
ピクチャ削除レベル1、2では、表示されるピクチャの枚数(フレームレート)は保持されるが、一部のピクチャについては、本来表示すべきピクチャよりも前のピクチャで代替される。
At the
ピクチャ削除レベル3では、ピクチャの時間的揺らぎに加えてフレームレートを下げることでピクチャの削減を図るため、ひとつのピクチャが複数回表示されることになる。図10ではひとつの丸印のピクチャに複数(2もしくは3)の矢印がつけられている。
At the
図11は、ピクチャ削除部102で実行されるピクチャ削除処理により残されるピクチャの数の一例を削除レベル別に示す図である。図11を参照して、削除レベルが上がるに従い、デコード対象となるピクチャの数が減少する。
FIG. 11 is a diagram illustrating an example of the number of pictures left by the picture deletion process executed by the
なお、削除レベル3は早送り再生の滑らかさを損なうため、可能な限り避ける必要がある。また、高速な早送り再生であれば、多少の時間的な揺らぎは目立たないため、削除レベル1、削除レベル2、削除レベル3における揺らぎの許容量はmに比例するようになっている。
負荷制御部109には、入力として可変長符号展開部104の負荷、逆DCT演算部106負荷、動き保証部107の負荷と、早送りレベル(以下「FFL」ともいう)と、解像度レベル(以下「MPRL」ともいう)が入力される。そして、負荷制御部109は、ピクチャ削除レベル(以下「PDL」ともいう)と、ブロック削除レベル(以下「BDL」ともいう)と、DCT係数削除レベル(以下「DFDL」ともいう)とを出力する。PDLはピクチャ削除部102に出力され、BDLはブロック削除部103に出力され、DFDLはDCT係数削除部105に出力される。
The
FFLは、通常速度の何倍で再生するかを示し、ユーザインタフェース14からユーザにより入力される再生速度の指示により定められる。図12は、早送りレベルの一例を示す図である。図12を参照して、再生速度の指示が「通常再生」の場合にFFLは「0」が対応付けられ、再生速度の指示が「2倍速」の場合にFFLは「1」が対応付けられ、再生速度の指示が「3倍速」の場合にFFLは「2」が対応付けられ、再生速度の指示が「32倍速」の場合にFFLは「3」が対応付けられる。なお、FFLは、入力される圧縮動画データのビットレートから定めるようにしてもよい。FFLを入力される圧縮動画データのビットレートから定める場合は、図13に示すビットレートとFFLとの関係を用いればよい。
FFL indicates how many times normal playback is to be performed, and is determined by a playback speed instruction input from the
MPRLは、構造解析部101により入力された圧縮動画データの解像度を示し、入力された圧縮動画データから抽出される。図14は、縦解像度範囲とMPRLとの関係の一例を示す図である。図14を参照して、解像度の範囲は、1つのピクチャの縦方向の画素数を示す。解像度の範囲が「1〜288」に対してMPRLは「0」が対応付けられ、解像度の範囲が「289〜576」に対してMPRLは「1」が対応付けられ、解像度の範囲が「577〜1152」に対してMPRLは「2」が対応付けられ、解像度の範囲が「1153〜」に対してMPRLは「3」が対応付けられる。なお、MPRLを、横方向の解像度や画面の総ブロック数から定めるようにしてもよい。MPRLを横方向の解像度から定める場合には図15に示す横解像度範囲とMPRLとの関係を用いればよい。なお、図15における横解像度範囲は、ピクチャの横方向の画素数を示す。MPRLを画面の総ブロック数から定める場合には図16に示すブロック数の範囲とMPRLとの関係を用いればよい。
MPRL indicates the resolution of the compressed moving image data input by the
本実施の形態における動画デコード装置12は、解像度低下、色のずれ、再生画像の時間的な揺らぎをある程度犠牲にする一方、ピクチャをできるだけ保存することで滑らかな早送り再生画像を得ようとするものである。このため、負荷制御部109は、次のポリシーに従った制御を行う。
The moving
(1) 可能な限りピクチャ削除レベルは低く抑える(ポリシー1)。 (1) The picture deletion level is kept as low as possible (policy 1).
(2) 高速早送りの場合は、色のずれを許容して、すなわちブロック削除レベルを上げて負荷を軽減する(ポリシー2)。 (2) In the case of high-speed fast-forward, color shift is allowed, that is, the load is reduced by increasing the block deletion level (policy 2).
(3) 元画像の解像度が高い場合は解像度を落として、すなわちDTC係数削除レベルを上げて負荷を軽減する(ポリシー3)。 (3) If the resolution of the original image is high, reduce the resolution, that is, increase the DTC coefficient deletion level to reduce the load (policy 3).
(4) ブロック削除レベル、DTC係数削除レベルを上げても負荷が高い場合は、フレームレートを下げて、すなわちピクチャ削除レベルを上げて負荷を軽減する(ポリシー4)
負荷制御部109の入出力の関係について説明する。負荷制御部109は、最初にFFLとMPRLから、ピクチャ削除部102、ブロック削除部103およびDCT係数削除部105それぞれで基本となる削除レベルを決定する。これを基礎削除レベルと呼ぶ。このようにして決定された基礎削除レベルに対して各負荷レベルによる補正を加えて削除レベルを得る。さらに、負荷レベルによる補正により再生品位が下がりすぎないよう、FFLとMPRLから各削除レベルの上限を決定する。これを限界削除レベルと呼ぶ。
(4) If the load is high even if the block deletion level and the DTC coefficient deletion level are increased, the frame rate is decreased, that is, the picture deletion level is increased to reduce the load (policy 4).
The input / output relationship of the
完全に独立した設計になっているわけではないが、基本的には、ポリシー2、ポリシー3については基礎削除レベルを決定するテーブルの設計に、ポリシー1、ポリシー4については、基礎削除レベルに補正を加える処理の設計にそれぞれ反映されている。
Although it is not a completely independent design, it is basically corrected to the design of the table that determines the basic deletion level for
図17は、ピクチャ削除部102に与えられるピクチャ削除レベル(PDL)の基礎削除レベルと限界削除レベルとの関係を定義するテーブルの一例を示す図である。図18は、図17に示すピクチャ削除レベル(PDL)の基礎削除レベルを3次元グラフで示した図である。図19は、図17に示すピクチャ削除レベル(PDL)の限界削除レベルを3次元グラフで示した図である。
FIG. 17 is a diagram illustrating an example of a table that defines the relationship between the basic deletion level of the picture deletion level (PDL) given to the
図20は、ブロック削除部103に与えられるブロック削除レベル(BDL)の基礎削除レベルと限界削除レベルとの関係を定義するテーブルの一例を示す図である。図21は、図20に示すブロック削除レベル(BDL)の基礎削除レベルを3次元グラフで示した図である。図22は、図20に示すブロック削除レベル(BDL)の限界削除レベルを3次元グラフで示した図である。
FIG. 20 is a diagram illustrating an example of a table that defines the relationship between the basic deletion level of the block deletion level (BDL) given to the
図23は、DCT係数削除部105に与えられるDCT係数削除レベル(DFDL)の基礎削除レベルと限界削除レベルとの関係を定義するテーブルの一例を示す図である。図24は、図23に示すDCT係数削除レベル(DFDL)の基礎削除レベルを3次元グラフで示した図である。図25は、図23に示すDCT係数削除レベル(DFDL)の限界削除レベルを3次元グラフで示した図である。
FIG. 23 is a diagram illustrating an example of a table that defines the relationship between the basic deletion level and the limit deletion level of the DCT coefficient deletion level (DFDL) given to the DCT
図18、図21および図24から明らかなように、ピクチャ削除レベル、ブロック削除レベルおよびDCT係数削除レベルのいずれの基礎削除レベルも、左手前方向から右奥方向に向かって値が大きくなっている。これにより、デコード負荷が軽く、かつ削除による劣化が目立つ状態である、低速度・低解像度入力の状態ではできるだけ削除を行わない制御が実現される。また、デコード負荷が高く、かつ削除による劣化が目立たない状態である、高速度・高解像度入力の状態では積極的に削除を行うという制御を実現している。なお、前述のポリシー1を実現するため、早送りレベルが0、1の場合のピクチャ削除レベルの基礎削除レベルは、同じく早送りレベルが0、1の場合のブロック削除レベルやDCT係数削除レベルの基礎削除レベルよりも低く設定されている。また、通常再生(早送りレベル0)時に過負荷になるとは考えにくいため、いずれの基礎削除レベルについても0となるよう設定されている。
As is apparent from FIGS. 18, 21, and 24, the basic deletion levels of the picture deletion level, the block deletion level, and the DCT coefficient deletion level increase from the left front direction to the right back direction. . As a result, it is possible to realize control that does not delete as much as possible in a low-speed / low-resolution input state where the decoding load is light and deterioration due to deletion is conspicuous. In addition, control is performed in which deletion is positively performed in a high-speed / high-resolution input state where the decoding load is high and deterioration due to deletion is not noticeable. In order to realize the
ブロック削除レベル、DCT係数削除レベルを上げても負荷が吸収しきれない場合には、ポリシー4に従ってデコード処理の一番上流でのピクチャ削除レベルを上げて対処する必要があるため、図20に示すようにピクチャ削除レベルの限界削除レベルはすべて最大値である「3」となっている。ブロック削除レベルの限界削除レベルは、ポリシー2を実現するために図22に示すように右上がりの値になっている。これにより、色のずれが目立たない高速早送り状態では、ブロック削除が行われやすくなる。
If the load cannot be absorbed even if the block deletion level and the DCT coefficient deletion level are increased, it is necessary to increase the picture deletion level at the most upstream of the decoding process according to the
DCT係数削除レベルの限界削除レベルは、ポリシー3を実現するために図25のようにグラフの奥で大きな値になっている。これにより、解像度の低下が目立たない高解像度入力状態では、DCT係数削除が行われやすくなる。 The limit deletion level of the DCT coefficient deletion level has a large value at the back of the graph as shown in FIG. As a result, in a high-resolution input state in which a decrease in resolution is not noticeable, DCT coefficient deletion is easily performed.
<削除レベルの決定>
負荷制御部109は、ブロック削除部103のブロック削除レベルを次式(1)に従って決定する。ブロック削除レベルは可変長符号展開部104の負荷レベルに基づいて決定される。
<Determination of deletion level>
The
(ブロック削除レベル)=MIN(0,MAX((ブロック限界削除レベル), (ブロック基礎削除レベル)−1.5+(可変長符号展開部負荷レベル))) … (1)
ここで、MINは2つの引数から小さい値を選択する関数であり、MAXは2つの引数から大きい値を選択する関数である。これらの関数は、削除レベルが0以上、かつ、限界削除レベル以下になるよう調節するために用いている。
(Block deletion level) = MIN (0, MAX ((Block limit deletion level), (Block basic deletion level) −1.5+ (Variable length code expansion unit load level))) (1)
Here, MIN is a function that selects a small value from two arguments, and MAX is a function that selects a large value from two arguments. These functions are used to adjust the deletion level to be 0 or more and not more than the limit deletion level.
また、負荷制御部109は、DCT係数削除部105のDCT係数削除レベルを次式(2)に従って決定する。DCT係数削除レベルは逆DCT演算部106と動き保証部107の負荷レベルで決定される。
Further, the
(DCT係数削除レベル)=MIN(0,MAX((DCT係数限界削除レベル),(DCT係数基礎削除レベル)−1.5+MAX((逆DCT演算部負荷レベル),(動き保証部負荷レベル)))) … (2)
さらに、負荷制御部109は、ピクチャ削除部102のピクチャ削除レベルを次の論理式(3)が真の場合に「3」とし、偽の場合に基礎削除レベルとする。ピクチャ削除レベルは、ブロック削除部103あるいはDCT係数削除部105で負荷が吸収されない場合にのみ「3」とし、それ以外は基礎削除レベルとすることでポリシー1とポリシー4とが実現される。
(DCT coefficient deletion level) = MIN (0, MAX ((DCT coefficient limit deletion level), (DCT coefficient basic deletion level) −1.5 + MAX ((inverse DCT operation unit load level), (motion assurance unit load level))) )) ... (2)
Further, the
((ブロック削除レベル)=3 AND (可変長符号展開部負荷レベル)=3) OR((DCT係数削除レベル)=3 AND ((逆DCT演算部負荷レベル)=3 OR (動き保証部負荷レベル)=3) … (3)
上述したように負荷制御部109によるピクチャ削除部102、ブロック削除部103およびDCT係数削除部105の制御は、図17、図20および図23に示したピクチャ削除部102、ブロック削除部103およびDCT係数削除部105それぞれの基礎削除レベルおよび限界削除レベルを定義するテーブルを用いて達成される。これらの基礎削除レベルおよび限界削除レベルを定義するテーブルは、パラメータとしてパラメータ記憶部120に記憶される。また、このパラメータは、圧縮動画データの特徴に応じてこれらの変化させれば、それぞれの圧縮動画データに適した制御が行える。
((Block deletion level) = 3 AND (variable length code expansion unit load level) = 3) OR ((DCT coefficient deletion level) = 3 AND ((inverse DCT operation unit load level) = 3 OR (motion assurance unit load level) ) = 3) ... (3)
As described above, the control of the
また、圧縮動画データの一部にパラメータを更新するための所定のデータを埋め込んでおき、構造解析部101で圧縮動画データを解析すると同時にこの所定のデータを取出し、パラメータを更新するようにしてもよい。また、圧縮動画データが放送番組として受信される場合には、受信した圧縮動画データをハードディスク装置10に記録する際に、圧縮動画データと共に放送番組のメタデータとして送られてきたパラメータを同時に記録しておき、圧縮動画データの再生開始とともにパラメータを読出すようにしてもよい。
Alternatively, predetermined data for updating parameters may be embedded in a part of the compressed moving image data, and the predetermined data may be taken out simultaneously with the analysis of the compressed moving image data by the
図17、図20および図23に示したパラメータを含む負荷制御部109をハードウェア的、あるいはソフトウェア的に実装する場合、メモリ上に展開されたパラメータが用いられるが、このメモリを書込み可能なRAM(ランダムアクセスメモリ)で構成することで、パラメータの更新を容易に実現することができる。このように圧縮動画データの種類によって負荷制御部109内のパラメータを変化させることにより、例えば、動きの大きいスポーツの動画であれば、解像度よりも時間的な正確さを優先し、動きの少ないニュース番組の動画であれば、時間的な正確さよりも解像度を優先するといった最適化が可能になる。
When the
なお、パラメータを更新する場合には、圧縮動画データが切替わった際に標準値に戻されるようにしてもよい。 In addition, when updating a parameter, you may make it return to a standard value, when compressed moving image data switches.
次に動画デコード装置12で実行される処理について説明する。図26は、本実施の形態における動画デコード装置12で実行される処理の流れを示すフローチャートである。図26を参照して、動画デコード装置では、ハードディスク装置10から読出された圧縮データが入力される(ステップS01)。そして、その入力された圧縮動画データに対応するパラメータが取得される(ステップS02)。
Next, processing executed by the
次のステップS03では、ユーザにより入力される短縮指示、すなわち再生速度に従って、早送りレベルが決定される(ステップS03)。 In the next step S03, the fast-forward level is determined according to the shortening instruction input by the user, that is, the reproduction speed (step S03).
ステップS04では、ステップS01で入力された圧縮動画データの構造が解析される。つぎにピクチャ削除部102により出力ピクチャが決定される(ステップS05)。この出力ピクチャは、短縮指示にしたがって圧縮動画データを、表示装置2のリフレッシュレートにより定まるフレームレートで出力するために必要とされるピクチャが出力ピクチャとされる。そして、出力ピクチャとその出力ピクチャが参照ピクチャを有する場合にはその参照ピクチャとを除く圧縮動画データを削除する(ステップS06)。これにより、ユーザが指定した再生速度で再生する場合に、表示装置2のリフレッシュレートにより定まるフレームレートで出力するピクチャのみとなる。このため、圧縮動画データのデータ量が削減される。
In step S04, the structure of the compressed moving image data input in step S01 is analyzed. Next, an output picture is determined by the picture deletion unit 102 (step S05). In this output picture, a picture required for outputting the compressed moving image data at a frame rate determined by the refresh rate of the
次に、圧縮動画データのデコードが開始される(ステップS07)。デコードは、可変長符号展開部104と、逆DCT演算部106と、動き保証部107とで実行される。この際、ブロック削除部103のブロック削除レベルおよびDCT係数削除部105のDCT係数削除レベルは、ステップS02で取得されたパラメータに基づいて、基礎削除レベルに設定される。
Next, decoding of the compressed moving image data is started (step S07). Decoding is performed by the variable length
そして、可変長符号展開部104、逆DCT演算部106および動き保証部107それぞれの負荷が検出され、検出された負荷に応じて負荷レベルが決定される(ステップS08)。
Then, the loads of the variable length
次のステップS09では、可変長符号展開部104の負荷レベルに基づいて、ブロック削除部103のブロック削除レベルが決定される。ブロック削除レベルは、上記(1)式に基づいて定められる。そして、次のステップS10において、ブロック削除レベルがステップS01で取得されたパラメータで定義されたブロック限界削除レベルを超えるか否かが判断される。こえる場合にはブロック削除レベルをブロック限界削除レベルに設定する(ステップS11)。ステップS12では、ステップS09で決定されたブロック削除レベルまたはステップS11で設定されたブロック限界削除レベルに設定されたブロック削除レベルがブロック削除部103に出力され、ブロック削除部103においてブロック削除レベルに従って色ブロックの削除が実行される。これにより、削除された色ブロックをデコードする必要がなくなるので、以降のデコード処理の負荷を軽減することができる。
In the next step S09, the block deletion level of the
次のステップS13では、逆DCT演算部106の負荷レベルに基づいて、DCT係数削除部105のDCT係数削除レベルが決定される。DCT係数削除レベルは、上記(2)式に基づいて定められる。そして、次のステップS14において、DCT係数削除レベルがステップS01で取得されたパラメータで定義されたDCT係数限界削除レベルを超えるか否かが判断される。超える場合にはDCT係数削除レベルをDCT係数限界削除レベルに設定する(ステップS15)。ステップS16では、ステップS13で決定されたDCT係数削除レベルまたはステップS15で設定されたDCT係数限界削除レベルに設定されたブロック削除レベルがDCT係数削除部105に出力され、DCT係数削除部105においてDCT係数削除レベルに従ってDCT係数の削除が実行される。これにより、削除されたDCT係数をデコードする必要がなくなるので、以降のデコード処理の負荷を軽減することができる。
In the next step S <b> 13, the DCT coefficient deletion level of the DCT
ステップS17およびステップS18では、上記論理式(3)の真偽が判定される。真と判定された場合にはステップS19に進み、偽と判定された場合にはステップS20に進む。ステップS19では、ピクチャ削除レベルがピクチャ限界削除レベルに設定される。ステップS20では、ピクチャ削除レベルがピクチャ基礎削除レベルに設定される。そして、ステップS21では、ピクチャ削除部102で設定されたピクチャ削除レベルに従ってピクチャが削除される。
In steps S17 and S18, it is determined whether the logical expression (3) is true or false. If it is determined to be true, the process proceeds to step S19, and if it is determined to be false, the process proceeds to step S20. In step S19, the picture deletion level is set to the picture limit deletion level. In step S20, the picture deletion level is set to the picture basic deletion level. In step S21, the picture is deleted according to the picture deletion level set by the
そして、デコードが終了したか否かが判断され(ステップS22)、デコードが終了した場合には処理を終了し、終了していない場合にはデコードを継続するためにステップS07に戻る。その後のステップS12におけるブロック削除は、ステップS09またはステップS11で設定されたブロック削除レベルが用いられ、ステップS12におけるブロック削除は、ステップS09またはステップS11で設定されたブロック削除レベルが用いられ、ステップS21におけるピクチャ削除は、ステップS19またはステップS20で設定されたピクチャ削除レベルが用いられる。 Then, it is determined whether or not the decoding is finished (step S22). If the decoding is finished, the process is finished. If the decoding is not finished, the process returns to step S07 to continue the decoding. Subsequent block deletion in step S12 uses the block deletion level set in step S09 or step S11, and block deletion in step S12 uses the block deletion level set in step S09 or step S11. For the picture deletion in step S19, the picture deletion level set in step S19 or step S20 is used.
<負荷制御部の変形例>
上述した負荷制御部109は、式(1)を用いてブロック削除レベルを決定し、式(2)を用いてDCT係数削除レベルを決定した。そして、論理式(3)を用いてピクチャ削除レベルを決定した。変形されて負荷制御部109は、より動的にブロック削除レベル、DCT係数削除レベルおよびピクチャ削除レベルを決定する。
<Modification of load control unit>
The
図27は、可変長符号展開部104、逆DCT演算部106、動き保証部107それぞれの負荷レベルとピクチャ削除レベルを求めるための補正値とを定義したテーブルの一例を示す図である。図28は、図27に示す補正値をグラフで示す図である。図29は、可変長符号展開部104、逆DCT演算部106、動き保証部107それぞれの負荷レベルとブロック削除レベルを求めるための補正値とを定義したテーブルの一例を示す図である。図30は、図29に示す補正値をグラフで示す図である。図31は、可変長符号展開部104、逆DCT演算部106、動き保証部107それぞれの負荷レベルとDCT係数削除レベルを求めるための補正値とを定義したテーブルの一例を示す図である。図32は、図31に示す補正値をグラフで示す図である。
FIG. 27 is a diagram illustrating an example of a table defining load levels and correction values for obtaining picture deletion levels of the variable-length
図27、図29および図31に示す補正値を得るための関数をA()、B()、C()とし、次式(4)を用いてブロック削除レベル、DCT係数削除レベルおよびDCT係数削除レベルがそれぞれ求められる。 The functions for obtaining the correction values shown in FIGS. 27, 29, and 31 are A (), B (), and C (), and the block deletion level, DCT coefficient deletion level, and DCT coefficient are expressed using the following equation (4). Each deletion level is required.
(削除レベル)=MAX(0,MIN((限界削除レベル),(基礎削除レベル)+A(可変長符号展開部負荷レベル)+B(逆DCT演算部負荷レベル)+C(動き保証部負荷レベル))) … (4)
ここで、MINは2つの引数から小さい値を選択する関数であり、MAXは2つの引数から大きい値を選択する関数である。これらの関数は、削除レベルが0以上、かつ、限界削除レベル以下になるよう調節するために用いている。
(Deletion level) = MAX (0, MIN ((limit deletion level), (basic deletion level) + A (variable length code expansion unit load level) + B (inverse DCT operation unit load level) + C (motion assurance unit load level))) (4)
Here, MIN is a function that selects a small value from two arguments, and MAX is a function that selects a large value from two arguments. These functions are used to adjust the deletion level to be 0 or more and not more than the limit deletion level.
たとえば、ピクチャ削除レベルを求める場合を例に説明する。解像度レベルが「2」で、早送りレベルが「2」とすると、図17よりピクチャ削除レベルの基礎削除レベルは「2」で限界削除レベルは「3」となる。また、可変長符号展開部104の負荷レベルが「1」、逆DCT演算部106の負荷レベルが「2」、動き保証部107の負荷レベルが「3」とすると、図27から、関数A(1)は「−0.5」となり、関数B(2)は「0.25」となり、関数C(3)は「2」となる。これらの値を式(1)に代入してピクチャ削除レベルを求めると次のようになる。
For example, a case where the picture deletion level is obtained will be described as an example. If the resolution level is “2” and the fast-forward level is “2”, the basic deletion level of the picture deletion level is “2” and the limit deletion level is “3” from FIG. Further, assuming that the load level of the variable length
(ピクチャ削除レベル)=MAX(0,MIN((3),(2)+(−0.5)+(0.25)+(2)))=MAX(0,MIN(3,3.25)=3
図28からもわかるように、負荷レベルが0〜2の範囲のピクチャ削除レベルの補正値は、可変長符号展開部負荷レベルとの相関が他の負荷レベルとの相関に比べて強くなっており、可変長符号展開部104の負荷が上昇するとピクチャ削除レベルの補正値が大きくなる。その結果、ピクチャ削除レベルが上昇する。だだし、この範囲での補正値は図30に示すブロック削除レベルの補正値や図32に示すDCT係数削除レベルの補正値に比べて全体的に小さくなっており、ポリシー1が実現される。また、負荷が非常に大きい場合、すなわち負荷レベル3の場合は、いずれの負荷に対してもピクチャ削除レベルの補正値は大きくなるためポリシー4が実現される。
(Picture deletion level) = MAX (0, MIN ((3), (2) + (− 0.5) + (0.25) + (2))) = MAX (0, MIN (3, 3.25) ) = 3
As can be seen from FIG. 28, the correction value of the picture deletion level in the load level range of 0 to 2 has a stronger correlation with the load level of the variable-length code expanding unit than the correlation with other load levels. When the load on the variable length
図30を参照して、逆DCT演算部106の負荷とブロック削除レベルとが強い相関を持つようなテーブルとなっており、逆DCT演算部106の負荷が高くなるとブロック削除レベルを上げて負荷を軽減するようになっている。同様に、図32を参照して、可変長符号展開部負荷レベルと逆DCT演算部負荷レベルとのグラフは重なっている。このように、動き保証部107の負荷とDCT係数削除レベルとが強い相関を持つようなテーブルとなっており、動き保証部107の負荷が高くなるとDCT係数削除レベルを上げて負荷を軽減するようになっている。このため、ポリシー3が実現される。
Referring to FIG. 30, the table has a strong correlation between the load of inverse
パラメータ記憶部120に記憶されるパラメータには、削除レベルの補正値を定義するテーブルが含まれる。
The parameters stored in the
図33は、本実施の形態における負荷制御部を変形した動画デコード装置で実行される処理の流れを示すフローチャートである。図33を参照して、図26に示した処理の流れと異なるところは、ステップS09およびステップS13それぞれを、ステップS09AおよびステップS13Aに変更した点、ステップS17〜ステップS20をステップS31に変更した点である。その他の処理は同様なのでここでは説明を繰り返さない。 FIG. 33 is a flowchart showing a flow of processing executed by the moving picture decoding apparatus in which the load control unit in this embodiment is modified. Referring to FIG. 33, the difference from the processing flow shown in FIG. 26 is that steps S09 and S13 are changed to steps S09A and S13A, and steps S17 to S20 are changed to step S31. It is. Since other processes are the same, the description will not be repeated here.
ステップS02で受信されるパラメータには、図27、図29,図31に示した各削除レベルの補正値が含まれる。 The parameters received in step S02 include correction values for the respective deletion levels shown in FIGS. 27, 29, and 31.
ステップS09Aでは、上記(4)式に従ってブロック削除レベルが決定される。また、ステップS13Aでは、上記(4)式に従ってDCT係数削除レベルが決定される。さらにステップS31では、上記(4)式に従ってピクチャ削除レベルが決定される。そして、次のステップS32において、ブロック削除レベルがステップS01で取得されたパラメータで定義されたピクチャ限界削除レベルを超えるか否かが判断される。超える場合にはピクチャ削除レベルをピクチャ限界削除レベルに設定する(ステップS33)。 In step S09A, the block deletion level is determined according to the above equation (4). In step S13A, the DCT coefficient deletion level is determined according to the above equation (4). In step S31, the picture deletion level is determined according to the above equation (4). Then, in the next step S32, it is determined whether or not the block deletion level exceeds the picture limit deletion level defined by the parameter acquired in step S01. If it exceeds, the picture deletion level is set to the picture limit deletion level (step S33).
以上、説明したように、第1の実施の形態における動画再生装置1は、早送り再生によって短時間で動画の内容を把握する目的に適した滑らかな再生画像を出力することができる。本実施の形態では、MPEG2を例として説明したが、Iピクチャ、Pピクチャ、Bピクチャといったピクチャの構成とこれを利用した動き保証の仕組みや、輝度信号と色信号を分けて圧縮する仕組み、DCTやウェーブレット変換による基底変換の仕組みはほとんどの動画圧縮技術に共通する要素である。よって、本実施の形態における動画再生装置1は、MPEG1、MPEG4はもとよりH.264やWindows(R) Media(R)フォーマット等、様々な動画圧縮技術に広く適用可能である。さらに、本実施の形態では、順方向の早送り再生を例に説明したが、逆方向の巻き戻し再生についても、再生方向が異なるのみであり、本質的に変わるところが無く適用できる。加えて、近い将来提案されるであろう3次元画像の圧縮データについても、動き保証、輝度信号と色信号の分離、基底変換すべてあるいは一部を用いていれば適応可能である。
As described above, the moving
なお、第1の実施の形態における動画デコード装置12は、ピクチャ削除部102、ブロック削除部103およびDCT係数削除部105を備えるが、ブロック削除部103およびDCT係数削除部105それぞれを単独で備えるようにしてもよいし、ブロック削除部103とピクチャ削除部102とを備えてもよいし、DCT係数削除部105とピクチャ削除部102とを備えるようにしてもよい。
Note that the moving
<第2の実施の形態>
上述した第1の実施の形態における動画再生装置1は、ブロック削除部103およびDCT係数削除部105を備えたが、第2の実施の形態における動画再生装置は、ブロック削除部103およびDCT係数削除部105を備えない。その他の点は、上述した動画再生装置1と同様である。
<Second Embodiment>
The moving
第2の実施の形態における動画再生装置は、デコード処理の負荷に基づきピクチャ削除レベルを決定してピクチャを削除する。デコード処理は、可変長符号展開部104、逆DCT演算部106および動き保証部107で実行される。デコード処理の負荷は、たとえば、可変長符号展開部104、逆DCT演算部106および動き保証部107のいずれかの負荷レベルを用いればよい。好ましくは、最も負荷の大きいことが予想される逆DCT演算部106の負荷を用いることが好ましい。また、可変長符号展開部104、逆DCT演算部106および動き保証部107それぞれの負荷レベルの最大値、または、可変長符号展開部104、逆DCT演算部106および動き保証部107のうちから選ばれた2つ以上の平均値などを用いることができる。
The moving picture reproducing apparatus according to the second embodiment determines a picture deletion level based on a decoding processing load and deletes a picture. The decoding process is executed by the variable length
第2の実施の形態における動画再生装置は、デコード処理の負荷レベルが「0」のときにピクチャ削除レベルを「0」とし、デコード処理の負荷レベルが「1」のときにピクチャ削除レベルを「1」とし、デコード処理の負荷レベルが「2」のときにピクチャ削除レベルを「2」とし、デコード処理の負荷レベルが「3」のときにピクチャ削除レベルを「3」とする。 The video playback device in the second embodiment sets the picture deletion level to “0” when the decoding processing load level is “0”, and sets the picture deletion level to “0” when the decoding processing load level is “1”. The picture deletion level is “2” when the load level of the decoding process is “2”, and the picture deletion level is “3” when the load level of the decoding process is “3”.
第2の実施の形態おける動画再生装置は、デコード処理の負荷レベルが「0」のときに、ユーザが入力した早送りレベルとフレームレートとに従って出力するべき出力ピクチャを決定する。そして、出力ピクチャとそれを参照する参照ピクチャを除く利用されないピクチャを削除する。これにより、デコード処理するデータ量が削減されるのでデコード処理の負荷を軽減することができる。 The moving picture reproducing apparatus according to the second embodiment determines an output picture to be output according to the fast-forward level and the frame rate input by the user when the load level of the decoding process is “0”. Then, unused pictures other than the output picture and the reference picture that refers to the output picture are deleted. As a result, the amount of data to be decoded is reduced, so that the load of the decoding process can be reduced.
また、第2の実施の形態おける動画再生装置は、デコード処理の負荷レベルが「1」または「2」のときに、出力ピクチャがm/4枚前またはm/2枚前までに参照ピクチャを有する場合にはその出力ピクチャを削除する。その参照ピクチャが出力ピクチャに代えてデコードされる。出力ピクチャが参照ピクチャを有する場合には、出力ピクチャをデコードするためには参照ピクチャをデコードする必要がある。第2の実施の形態おける動画再生装置は出力ピクチャに代えて参照ピクチャをデコードすればよいのでデータ量が削減される。その結果デコード処理の負荷を軽減することができる。 In addition, the moving picture reproducing apparatus according to the second embodiment, when the load level of the decoding process is “1” or “2”, outputs the reference picture up to m / 4 or m / 2 before the output picture. If so, the output picture is deleted. The reference picture is decoded instead of the output picture. When the output picture has a reference picture, it is necessary to decode the reference picture in order to decode the output picture. Since the moving picture reproducing apparatus in the second embodiment only has to decode the reference picture instead of the output picture, the data amount is reduced. As a result, the load of decoding processing can be reduced.
さらに、第2の実施の形態おける動画再生装置は、デコード処理の負荷レベルが「3」のときに、ユーザが入力した早送りレベルとフレームレートより低いフレームレートとに従って出力するべき出力ピクチャを決定することにより、出力ピクチャを削除する。出力ピクチャが間引かれるためデータ量が削減される。その結果デコード処理の負荷を軽減することができる。 Furthermore, when the load level of the decoding process is “3”, the video playback device in the second embodiment determines an output picture to be output according to the fast-forward level input by the user and a frame rate lower than the frame rate. As a result, the output picture is deleted. Since the output picture is thinned out, the data amount is reduced. As a result, the load of decoding processing can be reduced.
<第3の実施の形態>
第1または第2の実施の形態における動画再生装置1は、動画の内容を容易に把握できるような滑らかな早送り再生が可能な動画再生装置を実現する。各削除部によって情報が削除された動画データは情報量が減少するため、より伝送が容易になるという性質も併せ持つ。第3の実施の形態における動画再生システムは、第1または第2の実施の形態における動画再生装置1を動画送信装置と動画受信装置とに分割して構成される。
<Third Embodiment>
The moving
図34は、第3の実施形態における動画再生システムの概略構成を示すブロック図である。動画再生システムは、動画送信装置3と、動画受信装置4とを含み、それらが伝送路5によって接続されている。動画受信装置4の出力は表示装置2に接続されている。伝送路5は双方向の伝送が可能であれば有線であっても、無線であってもよい。
FIG. 34 is a block diagram illustrating a schematic configuration of a moving image reproduction system according to the third embodiment. The moving image reproduction system includes a moving
動画送信装置3は、ハードディスク装置10からMPEG形式で圧縮された動画データを読出して、動画受信装置4に伝送路5を介して動画データを伝送する。動画受信装置4は、受信した動画データを表示装置2に出力する。
The moving
動画送信装置3は、MPEG形式で圧縮された動画データを記録するハードディスク装置10と、ハードディスク装置10を制御して適切なビットレートで圧縮動画データを読み出すための読出制御装置11と、圧縮動画データを伝送に適した変換済み動画データに変換する動画変換装置22と、伝送路5への信号入出力を行う送信装置23と、伝送路の状態によって最適な送信信号のレベルやビットレート、伝送誤りを生じたデータの再送を送信装置23に指示する送信側再送制御装置24とを含む。
The moving
動画受信装置4は、送信側再送制御装置24と対になってエラーの検出や伝送誤りの補正およびデータの再送制御を行う受信側再送制御装置25と、伝送路5からの信号入出力を行う受信装置26と、変換済み動画データをデコードして展開された画像に変換する変換済み動画デコード装置27と、展開された画像を適切な信号形式に変換して表示装置2に送出するビデオ信号発生装置13とを含む。ビデオ信号発生装置13は展開された画像を表示装置2に適した解像度に拡大または縮小する処理を行うこともある。
The moving
図34において、変換済み動画デコード装置27から送信装置23ならびに伝送路5、受信装置26を介して動画変換装置22にいたる経路は後述する受信側負荷情報の伝送経路を、送信装置23から受信装置26への経路は変換済み動画データの伝送経路を、送信側再送制御装置24と受信側再送制御装置25とを結ぶ経路は、伝送のための制御情報(フローコントロール、再送要求等)の伝送経路をそれぞれ示している。
In FIG. 34, the route from the converted
なお、動画送信装置3および動画受信装置4は、入力されたビデオ信号をMPEG形式で圧縮された動画データに変換するための動画エンコード装置、ユーザが動画再生装置を操作するためのユーザインタフェース、再生状況をはじめとする各種情報を表示するための情報表示装置などを備える。また、送信装置23、受信装置26、送信側再送制御装置24、受信側再送制御装置25の詳細については、各種の有線・無線ローカルエリアネットワーク装置等、一般的な伝送技術として既知であるためここでは説明を繰り返さない。
The moving
変換済み動画データはリアルタイム性を要求するデータであるため、ここで用いられる伝送技術はQoS(Quality of Service)を保証していることが望ましい。 Since the converted moving image data is data that requires real-time properties, it is desirable that the transmission technique used here guarantees QoS (Quality of Service).
図35は、動画送信装置3の動画変換装置22の機能の概要を示す機能ブロック図である。動画変換装置22は連続した圧縮動画データの構造解析を行う構造解析部101と、重要度の低いピクチャを選択して削除するピクチャ削除部102と、重要度の低いブロックを選択して削除するブロック削除部103と、ピクチャとブロックが削除された動画情報を再び構造化して伝送可能にする変換済み動画構造化部111と、動画受信装置4からの負荷情報に基づいてピクチャ削除部102とブロック削除部103の削除レベルを決定する送信側負荷制御部110とを含む。
FIG. 35 is a functional block diagram illustrating an outline of functions of the moving
図36は、動画受信装置4の変換済み動画デコード装置27の機能の概要を示す機能ブロック図である。変換済み動画デコード装置27は、変換済み動画構造化部で構造化された動画データについて、再びGOP、ピクチャ、スライス、ブロック、ブロックに階層化された構造を解析する変換済み動画構造解析部113と、各ピクチャの可変長符号の展開と逆量子化を行ってDCT係数を出力する可変長符号展開部104と、重要度の低いDCT係数を選択して削除するDCT係数削除部105と、逆DCT演算を行ってブロックを出力する逆DCT演算部106と、動き保証処理を行って最終的なデコード結果である画像を出力する動き保証部107と、デコード処理中およびその前後のピクチャの画像を格納するメモリ部108と、デコード処理の負荷状態に適した削除レベルを決定し、送信側負荷制御部110とDCT係数削除部105に指示する受信側負荷制御部112とを含む。
FIG. 36 is a functional block diagram showing an overview of the functions of the converted
構造解析部101、ピクチャ削除部102、ブロック削除部103、可変長符号展開部104、DCT係数削除部105、逆DCT演算部、動き保証部107、メモリ部108については第1の実施の形態におけるそれらと同様であるため説明は繰り返さない。
The
変換済み動画構造化部111と変換済み動画構造解析部113とは対になっている。変換済み動画構造化部111は、GOP、ピクチャ、スライス、ブロック、ブロックの構造を持つ動画情報を伝送路で伝送可能な連続的な変換済み動画データに変換する。変換済み動画構造解析部113は、伝送路で伝送された連続的な変換済み動画データから再びGOP、ピクチャ、スライス、ブロック、ブロックの構造の構造を取出す。
The converted moving image structuring unit 111 and the converted moving image
動画変換装置22と変換済み動画デコード装置27は、第1の実施の形態における動画デコード装置12を処理の流れに沿って前半部分と後半部分に分離した構成となっている。送信側負荷制御部110と受信側負荷制御部112とは、第1の実施の形態における負荷制御部109の機能を分割したものであり、一体となって負荷制御部109と同じ機能を実現する。受信側負荷制御部112では、可変長符号展開部104、逆DCT演算部106、動き保証部107の負荷レベルが検出され、検出された負荷レベルが可変長符号展開部104、逆DCT演算部106、動き保証部107に伝送路5を介して伝えられる。
The moving
第3の実施の形態における動画変換装置22と変換済み動画デコード装置27との役割分担は一例であり、例えば、可変長符号展開部104を動画変換装置22のピクチャ削除部102と変換済み動画構造化部111の間に配置することも考えられる。可変長符号展開部104の出力はその入力に比べてデータ量が増大するため、伝送という観点からはあまり望ましくない構成ではあるが、ピクチャ削除部とブロック削除部によるデータ量の削減は有効である。
The division of roles between the moving
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
1 動画再生装置、2 表示装置、3 動画送信装置、4 動画受信装置、5 伝送路、10 ハードディスク装置、11 読出制御装置、12 動画デコード装置、13 ビデオ信号発生装置、14 ユーザインタフェース、22 動画変換装置、23 送信装置、24 送信側再送制御装置、25 受信側再送制御装置、26 受信装置、27 動画デコード装置、101 構造解析部、102 ピクチャ削除部、103 ブロック削除部、104 可変長符号展開部、105 DCT係数削除部、106 DCT演算部、107 動き保証部、108 メモリ部、109 負荷制御部、110 送信側負荷制御部、111 動画構造化部、112 受信側負荷制御部、113 変更済み動画構造解析部、120 パラメータ記憶部、121 パラメータ選択部。 1 video playback device, 2 display device, 3 video transmission device, 4 video reception device, 5 transmission line, 10 hard disk device, 11 readout control device, 12 video decoding device, 13 video signal generation device, 14 user interface, 22 video conversion Device, 23 transmitting device, 24 transmitting side retransmission control device, 25 receiving side retransmission control device, 26 receiving device, 27 video decoding device, 101 structure analyzing unit, 102 picture deleting unit, 103 block deleting unit, 104 variable length code expanding unit , 105 DCT coefficient deletion unit, 106 DCT calculation unit, 107 motion assurance unit, 108 memory unit, 109 load control unit, 110 transmission side load control unit, 111 video structuring unit, 112 reception side load control unit, 113 modified video Structural analysis unit, 120 parameter storage unit, 121 parameter selection .
Claims (17)
前記実時間を短縮して前記動画データを出力する短縮指示を受付ける指示受付手段と、
前記圧縮動画データを解析して、前記受付けられた短縮指示と予め定められたフレームレートとに基づいて出力ピクチャを決定する出力ピクチャ決定手段と、
前記決定された出力ピクチャを除くピクチャに対応する圧縮動画データ、または該出力ピクチャが参照ピクチャを有する場合には該出力ピクチャと該参照ピクチャとを除くピクチャに対応する圧縮動画データを削除するピクチャ削除手段とを備えた、圧縮動画データデコード装置。 Input means for inputting compressed video data in which video data corresponding to real time is encoded;
Instruction accepting means for accepting a shortening instruction to shorten the real time and output the video data;
Analyzing the compressed moving image data and determining an output picture based on the accepted shortening instruction and a predetermined frame rate;
Compressed video data corresponding to a picture excluding the determined output picture, or a picture deletion that deletes compressed video data corresponding to a picture excluding the output picture and the reference picture when the output picture has a reference picture And a compressed moving image data decoding device.
前記デコード手段の負荷を検出する負荷検出手段と、
前記予め定められたフレームレートにより定まるタイミングで、前記デコードされた出力ピクチャまたは参照ピクチャを出力する出力手段とをさらに備え、
前記ピクチャ削除手段は、前記負荷が第1のレベルを超えた場合に、前記出力ピクチャが参照ピクチャを有することを条件に、該出力ピクチャに対応する圧縮動画像データをさらに削除し、
前記出力手段は、前記ピクチャ削除手段により削除された出力ピクチャに代えて該出力ピクチャの参照ピクチャを出力する、請求項1に記載の圧縮動画データデコード装置。 Decoding means for decoding compressed video data from which some pictures have been deleted by the picture deleting means;
Load detection means for detecting the load of the decoding means;
Output means for outputting the decoded output picture or reference picture at a timing determined by the predetermined frame rate;
The picture deleting means further deletes the compressed video data corresponding to the output picture on the condition that the output picture has a reference picture when the load exceeds a first level,
The compressed moving image data decoding apparatus according to claim 1, wherein the output unit outputs a reference picture of the output picture instead of the output picture deleted by the picture deletion unit.
前記圧縮動画データの一部を削除する削除手段と、
前記圧縮動画データをデコードするデコード手段と、
前記デコード手段の負荷を検出する負荷検出手段と、
前記検出された負荷に応じて前記削除手段により削除するデータ量を制御する制御部とを備えた、圧縮動画データデコード装置。 Input means for inputting compressed video data in which video data corresponding to real time is encoded;
Deleting means for deleting a part of the compressed video data;
Decoding means for decoding the compressed video data;
Load detection means for detecting the load of the decoding means;
A compressed moving image data decoding apparatus comprising: a control unit that controls a data amount to be deleted by the deleting unit according to the detected load.
解像度変換手段は、前記デコード手段の負荷が大きいほど削除するデータ量を多くする解像度レベル変更手段を含む、請求項4に記載の圧縮動画データデコード装置。 The deletion means includes resolution conversion means for deleting a part of the luminance block of the compressed moving image data in order to reduce the resolution,
5. The compressed moving image data decoding device according to claim 4, wherein the resolution converting means includes resolution level changing means for increasing the amount of data to be deleted as the load on the decoding means increases.
前記削除手段は、前記圧縮動画データを解析して、予め定められたフレームレートに基づいて出力ピクチャを決定する出力ピクチャ決定手段と、
前記負荷が第1のレベルを超えたことを条件に、参照ピクチャを有する前記出力ピクチャに対応する圧縮動画像データを削除するピクチャ削除手段とをさらに含み、
前記出力手段は、前記ピクチャ削除手段により削除された出力ピクチャに代えて参照ピクチャを出力する、請求項6に記載の圧縮動画データデコード装置。 Output means for outputting the decoded output picture or reference picture at a timing determined by a predetermined frame rate;
The deleting unit analyzes the compressed moving image data and determines an output picture based on a predetermined frame rate;
A picture deleting unit that deletes the compressed video data corresponding to the output picture having a reference picture, on condition that the load exceeds a first level;
The compressed moving image data decoding apparatus according to claim 6, wherein the output means outputs a reference picture instead of the output picture deleted by the picture deletion means.
前記出力ピクチャ決定手段は、圧縮動画データを解析して、前記受付けられた短縮指示と前記予め定められたフレームレートとに基づいて出力ピクチャを決定する、請求項7に記載の圧縮動画データデコード装置。 An instruction receiving means for receiving a shortening instruction for shortening the real time and outputting the video data;
8. The compressed moving image data decoding apparatus according to claim 7, wherein the output picture determining means analyzes compressed moving image data and determines an output picture based on the accepted shortening instruction and the predetermined frame rate. .
前記色ブロック置換手段は、前記デコード手段の負荷が大きいほど前記所定の時間的距離を長くするブロック置換レベル変更手段を含む、請求項4に記載の圧縮動画データデコード装置。 The deletion means includes color block replacement means for replacing a color difference block of a processing target picture in the compressed moving image data with a color difference block of a previous picture within a predetermined temporal distance from the processing target picture,
5. The compressed moving image data decoding device according to claim 4, wherein the color block replacement means includes block replacement level changing means for increasing the predetermined time distance as the load on the decoding means increases.
前記削除手段は、前記圧縮動画データを解析して、予め定められたフレームレートに基づいて出力ピクチャを決定する出力ピクチャ決定手段と、
前記負荷が第1のレベルを超えたことを条件に、参照ピクチャを有する前記出力ピクチャに対応する圧縮動画像データを削除するピクチャ削除手段とをさらに含み、
前記出力手段は、前記ピクチャ削除手段により削除された出力ピクチャに代えて参照ピクチャを出力する、請求項10に記載の圧縮動画データデコード装置。 Output means for outputting the decoded output picture or reference picture at a timing determined by a predetermined frame rate;
The deleting unit analyzes the compressed moving image data and determines an output picture based on a predetermined frame rate;
A picture deleting unit that deletes the compressed video data corresponding to the output picture having a reference picture, on condition that the load exceeds a first level;
The compressed moving image data decoding apparatus according to claim 10, wherein the output means outputs a reference picture instead of the output picture deleted by the picture deleting means.
前記出力ピクチャ決定手段は、圧縮動画データを解析して、前記受付けられた短縮指示と前記予め定められたフレームレートとに基づいて出力ピクチャを決定する、請求項11に記載の圧縮動画データデコード装置。 An instruction receiving means for receiving a shortening instruction for shortening the real time and outputting the video data;
12. The compressed moving image data decoding device according to claim 11, wherein the output picture determining means analyzes compressed moving image data and determines an output picture based on the accepted shortening instruction and the predetermined frame rate. .
前記制御手段は、前記取得されたパラメータを用いて前記削除手段により削除するデータ量を制御する、請求項4に記載の圧縮動画データデコード装置。 An acquisition unit for acquiring a parameter for determining the amount of data to be deleted by the deletion unit;
The compressed moving image data decoding apparatus according to claim 4, wherein the control unit controls the amount of data to be deleted by the deletion unit using the acquired parameter.
前記実時間を短縮して前記動画データを出力する短縮指示を受付けるステップと、
前記圧縮動画データを解析して、前記受付けられた短縮指示と予め定められたフレームレートとに基づいて出力ピクチャを決定するステップと、
前記決定された出力ピクチャを除くピクチャに対応する圧縮動画データ、または、該出力ピクチャが参照ピクチャを有する場合には該出力ピクチャと該参照ピクチャとを除くピクチャに対応する圧縮動画データを削除するステップとをコンピュータに実行させる圧縮動画データデコードプログラム。 Entering compressed video data encoded with real-time video data,
Receiving a shortening instruction to shorten the real time and output the video data;
Analyzing the compressed video data and determining an output picture based on the received shortening instruction and a predetermined frame rate;
A step of deleting compressed moving picture data corresponding to a picture excluding the determined output picture or, if the output picture has a reference picture, compressed moving picture data corresponding to a picture excluding the output picture and the reference picture; Compressed video data decoding program that causes a computer to execute.
前記圧縮動画データの一部を削除するステップと、
前記圧縮動画データをデコードするステップと、
前記デコードステップが実行されるコンピュータの負荷を検出するステップと、
前記検出された負荷に応じて前記削除ステップにより削除するデータ量を制御するステップとをコンピュータに実行させる、圧縮動画データデコードプログラム。 Entering compressed video data encoded with real-time video data,
Deleting a portion of the compressed video data;
Decoding the compressed video data;
Detecting a load on a computer on which the decoding step is performed;
A compressed moving image data decoding program for causing a computer to execute a step of controlling the amount of data to be deleted by the deletion step according to the detected load.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003432275A JP2005192013A (en) | 2003-12-26 | 2003-12-26 | Device and program for decoding compression video data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003432275A JP2005192013A (en) | 2003-12-26 | 2003-12-26 | Device and program for decoding compression video data |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005192013A true JP2005192013A (en) | 2005-07-14 |
Family
ID=34790024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003432275A Withdrawn JP2005192013A (en) | 2003-12-26 | 2003-12-26 | Device and program for decoding compression video data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005192013A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015097418A (en) * | 2013-08-09 | 2015-05-21 | ソニー株式会社 | Transmission apparatus, transmission method, reception apparatus, reception method, encoding apparatus, and encoding method |
US10306296B2 (en) | 2013-08-09 | 2019-05-28 | Sony Corporation | Device and method for transmission and reception for performing hierarchical encoding of image data |
-
2003
- 2003-12-26 JP JP2003432275A patent/JP2005192013A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015097418A (en) * | 2013-08-09 | 2015-05-21 | ソニー株式会社 | Transmission apparatus, transmission method, reception apparatus, reception method, encoding apparatus, and encoding method |
US10306296B2 (en) | 2013-08-09 | 2019-05-28 | Sony Corporation | Device and method for transmission and reception for performing hierarchical encoding of image data |
US11368744B2 (en) | 2013-08-09 | 2022-06-21 | Sony Corporation | Device and associated method for using layer description and decoding syntax in multi-layer video |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100440953B1 (en) | Method for transcoding of image compressed bit stream | |
US6549717B2 (en) | Digital video signal record and playback device and method for giving priority to a center of an I frame | |
US6507615B1 (en) | Video signal processing apparatus and video signal processing method | |
KR100929400B1 (en) | Method and system for performing trick mode on video signal containing a plurality of original pictures | |
US20120320977A1 (en) | Encoding/decoding apparatus, imaging apparatus, and methods for controlling therefor | |
JP2004023303A (en) | Image reproducing method, image reproducing apparatus, and image recording device | |
JP4869147B2 (en) | Image recording / playback device | |
JP4875008B2 (en) | Moving picture encoding method, moving picture decoding method, moving picture encoding apparatus, and moving picture decoding apparatus | |
JP4813328B2 (en) | Encoding apparatus, encoding method, and program | |
JP4143322B2 (en) | Image reproducing apparatus and image reproducing method | |
JP2005192013A (en) | Device and program for decoding compression video data | |
JPH07203456A (en) | Coder, decoder and video recording device | |
US6757485B1 (en) | Apparatus for reproducing still picture from recording medium | |
JP4241463B2 (en) | Image processing device | |
JPH10271498A (en) | Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method | |
JP2010093627A (en) | Moving picture encoding device | |
JP2008526077A (en) | Video stream changing device | |
JP2007158778A (en) | Forming method and device of trick reproducing content, transmitting method and device of trick reproducing compressed moving picture data, and trick reproducing content forming program | |
JP4434894B2 (en) | Video dubbing device | |
GB2293516A (en) | Digital video signal recording arrangement with enhanced skip search playback | |
JP4193224B2 (en) | Moving picture coding apparatus and method, and moving picture decoding apparatus and method | |
JP3657855B2 (en) | Image decoding apparatus and image decoding method | |
JP2004349939A (en) | Method and device for image encoding and recording device | |
EP2192691A1 (en) | Image recording apparatus and method of recording image | |
US20070165999A1 (en) | Coded-data decoding/playback apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070306 |