JP3167914B2 - Image decoding device - Google Patents

Image decoding device

Info

Publication number
JP3167914B2
JP3167914B2 JP1958196A JP1958196A JP3167914B2 JP 3167914 B2 JP3167914 B2 JP 3167914B2 JP 1958196 A JP1958196 A JP 1958196A JP 1958196 A JP1958196 A JP 1958196A JP 3167914 B2 JP3167914 B2 JP 3167914B2
Authority
JP
Japan
Prior art keywords
image
decoding
unit
signal
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.)
Expired - Fee Related
Application number
JP1958196A
Other languages
Japanese (ja)
Other versions
JPH09214958A (en
Inventor
英範 奥田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP1958196A priority Critical patent/JP3167914B2/en
Publication of JPH09214958A publication Critical patent/JPH09214958A/en
Application granted granted Critical
Publication of JP3167914B2 publication Critical patent/JP3167914B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、符号化された動画
および静止画を自動的に判定して復号することができる
画像復号装置に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image decoding apparatus capable of automatically judging and decoding encoded moving images and still images.

【0002】[0002]

【従来の技術】画像を伝送路を介して転送する場合、画
像は符号化される。また、画像を磁気ディスク、CD−
ROM等の蓄積媒体に蓄積する場合にも、画像は符号化
される。このように画像が符号化されている場合には、
画像を表示する際に画像復号装置によって復号する必要
がある。
2. Description of the Related Art When transferring an image via a transmission line, the image is encoded. In addition, images can be transferred to magnetic disks, CD-
Images are also encoded when stored in a storage medium such as a ROM. If the image is encoded in this way,
When displaying an image, the image must be decoded by the image decoding device.

【0003】さて、画像には動画と静止画がある。動画
は図8のように時間軸上に複数枚の画像フレームが並ん
だ画像フレーム列であり、静止画は図9のように画像フ
レーム一枚だけで構成される画像フレーム列である。M
PEG−1、MPEG−2などの画像符号化規格では、
どちらの画像も符号化できるように規格化されており、
画像復号装置としても両者とも復号できることが望まし
い。
[0003] There are moving images and still images as images. A moving image is an image frame sequence in which a plurality of image frames are arranged on the time axis as shown in FIG. 8, and a still image is an image frame sequence composed of only one image frame as shown in FIG. M
In image coding standards such as PEG-1 and MPEG-2,
Both images are standardized so that they can be encoded,
It is desirable that both can be decoded as an image decoding device.

【0004】ここで、動画を復号する場合に着目する。
なめらかな再生画像を得るためには、画像フレームが常
に一定の時間間隔で表示されるようにする必要がある。
ところが、符号化画像信号を伝送路を介して受信する場
合には、通信網内のジッタ、送信側での信号送出速度の
ジッタ等の要因により、画像復号装置に画像信号が到着
する時間に揺らぎが生ずる。また、画像を磁気ディスク
等の蓄積媒体から読み出す場合にも、アクセスタイムの
揺らぎ、バスネック等によって画像復号装置に画像信号
が入力される時間に揺らぎが生ずる。こうした揺らぎは
画像フレームを一定の時間間隔で表示するための障害と
なるため、画像復号装置にバッファを設け、バッファに
よって揺らぎを吸収するという手法が従来から用いられ
てきた。なお、伝送路ではなく、磁気ディスク等の蓄積
媒体から符号化画像信号を読み出す場合も、同様にバッ
ファを用いた構成が用いられて来た。
Here, attention is paid to the case of decoding a moving image.
In order to obtain a smooth reproduced image, it is necessary to always display image frames at a constant time interval.
However, when an encoded image signal is received via a transmission path, fluctuations occur during the time when the image signal arrives at the image decoding device due to factors such as jitter in the communication network and signal transmission speed jitter on the transmission side. Occurs. Also, when an image is read from a storage medium such as a magnetic disk, fluctuations in the access time and fluctuations in the time when an image signal is input to the image decoding device due to a bus neck or the like occur. Since such fluctuations become obstacles for displaying image frames at fixed time intervals, a technique of providing a buffer in the image decoding device and absorbing the fluctuation by the buffer has been conventionally used. Note that a configuration using a buffer has also been used when reading an encoded image signal from a storage medium such as a magnetic disk instead of a transmission path.

【0005】図10は、伝送路を介して受信した符号化
画像信号を復号する従来の画像復号装置である。伝送イ
ンタフェース部1001は、送信側からの信号を伝送路
を介して受信する。送信側からの信号は、通常、音声信
号等も多重化されているので、多重分離部1002によ
って、メディア毎に分離する。なお、以下、画像信号の
みについて説明を行い、他のメディアの信号の処理の説
明は省略する。多重分離部1002で分離された画像信
号は一時的にバッファ部1003に記憶される。バッフ
ァ部1003は、ある程度の信号量を常に処理待ちの状
態にすることによって、画像復号部1006が符号化画
像信号を読み出そうとしたときに画像信号がないという
状態に陥らないようにする。これによって、画像復号部
1006は符号化画像信号の到着時間の揺らぎの影響を
受けなくなり、常に一定の時間間隔で画像フレームを再
生できるようになる。このようにバッファ部1003に
常にある程度の信号が処理待ちとなるようにするために
は、画像信号がバッファ部1003に到着し始めてから
しばらくの間、画像復号部1006を停止しておき、所
定の閾値を越える信号量がバッファ部1003にたまっ
たときに、画像復号部1006を動作開始させる。すな
わち、バッファリング計数部1004はバッファ部10
03に一時記憶されている信号量を監視し、それが閾値
を越えると復号開始制御部1005に通知し、復号開始
制御部1005は画像復号部1006を動作開始させ
る。そして、この後は、伝送路から受け取る信号の到着
時間の揺らぎを吸収しながら、バッファ部1003には
ほぼ一定量の画像信号がたまる。
FIG. 10 shows a conventional image decoding apparatus for decoding an encoded image signal received via a transmission line. The transmission interface unit 1001 receives a signal from the transmission side via a transmission path. Since the signal from the transmitting side is usually also multiplexed with an audio signal or the like, the signal is separated by the demultiplexing unit 1002 for each medium. Hereinafter, only the image signal will be described, and the description of the signal processing of other media will be omitted. The image signal separated by the demultiplexing unit 1002 is temporarily stored in the buffer unit 1003. The buffer unit 1003 always keeps a certain signal amount in a processing waiting state, so that the image decoding unit 1006 does not fall into a state where there is no image signal when trying to read an encoded image signal. As a result, the image decoding unit 1006 is not affected by the fluctuation of the arrival time of the encoded image signal, and can always reproduce the image frame at a constant time interval. As described above, in order for the buffer unit 1003 to always wait for a certain amount of signal to be processed, the image decoding unit 1006 is stopped for a while after the image signal starts to arrive at the buffer unit 1003, and a predetermined period is set. When the signal amount exceeding the threshold value is accumulated in the buffer unit 1003, the operation of the image decoding unit 1006 is started. That is, the buffering counting unit 1004
03, the signal amount temporarily stored is monitored, and when the signal amount exceeds the threshold value, the decoding start control unit 1005 is notified, and the decoding start control unit 1005 starts the operation of the image decoding unit 1006. After that, a substantially constant amount of image signals accumulates in the buffer unit 1003 while absorbing the fluctuation of the arrival time of the signal received from the transmission path.

【0006】図11は、バッファリング計数部1004
に一時記憶されている画像信号量の時間変化と画像復号
部1006の動作状態とを説明する図である。このよう
に、従来技術では、画像信号の到達時間のゆらぎをバッ
ファを用いることによって吸収し、動画のなめらかな再
生を実現していた。
FIG. 11 shows a buffering counting section 1004.
FIG. 7 is a diagram for explaining a temporal change of an image signal amount temporarily stored in the image decoding unit and an operation state of the image decoding unit 1006. As described above, in the related art, the fluctuation of the arrival time of the image signal is absorbed by using the buffer, and the smooth reproduction of the moving image is realized.

【0007】[0007]

【発明が解決しようとする課題】ところが、以上のよう
に構成された従来の画像復号装置で静止画を復号しよう
とすると、画像復号動作が開始されないとう問題があっ
た。
However, there is a problem that when a conventional image decoding apparatus configured as described above attempts to decode a still image, the image decoding operation is not started.

【0008】図12は、この問題を説明する図である。
図12に示すように、復号開始制御部1005が画像復
号部1006の動作開始を指示する閾値よりも静止画の
全画像信号量が小さい場合には、画像復号部1006の
動作は開始せず、該画像信号はバッファ部1003に蓄
積されたままになる。むろん閾値を小さくすれば信号量
の少ない静止画も復号可能となる。しかし、閾値を小さ
くすると動画の場合にバッファ部1003に定常的に蓄
積される画像信号量が減るため、画像信号の到着時間の
揺らぎを吸収しきれなくなる。
FIG. 12 is a diagram for explaining this problem.
As shown in FIG. 12, when the decoding start control unit 1005 has a smaller total image signal amount of still images than a threshold value instructing the operation start of the image decoding unit 1006, the operation of the image decoding unit 1006 does not start, The image signal remains stored in the buffer unit 1003. Of course, if the threshold value is reduced, a still image with a small signal amount can be decoded. However, when the threshold value is reduced, the amount of image signals constantly stored in the buffer unit 1003 in the case of a moving image decreases, so that fluctuations in the arrival time of image signals cannot be completely absorbed.

【0009】本発明の目的は、バッファを用いて画像信
号の到着時間のゆらぎを吸収してなめらかな動画の再生
を行う画像復号装置において、静止画の再生をも自動的
に可能とすることにある。
SUMMARY OF THE INVENTION It is an object of the present invention to automatically enable reproduction of a still image in an image decoding apparatus which reproduces a smooth moving image by absorbing fluctuations in the arrival time of an image signal using a buffer. is there.

【0010】[0010]

【課題を解決するための手段】そこで本発明の画像復号
装置では、前述の目的を達成するため、符号化された画
像信号を一時的に記憶するバッファ手段と、該バッファ
手段に記憶された符号化された画像信号のデータ量を計
測し、該符号化された画像信号が所定の第1の閾値に達
した時に、復号開始を出力するバッファリング計測手段
と、前記バッファリング計測手段の値が一定になった時
からの時間を計測し、該計測された時間が所定の第2の
閾値に達した時に、復号開始を出力する強制復号判定手
段と、前記バッファリング計測手段あるいは前記強制復
号判定手段から出力される何れの復号開始によっても画
像復号手段に復号開始信号を与える復号開始制御手段
と、を有する構成とする。
Therefore, in order to achieve the above object, the image decoding apparatus of the present invention has a buffer means for temporarily storing an encoded image signal, and a code storage means for storing the encoded image signal in the buffer means. Measuring the data amount of the coded image signal, and when the coded image signal reaches a predetermined first threshold value, a buffering measurement unit that outputs a decoding start, and a value of the buffering measurement unit, Measuring the time from the time when it becomes constant, and when the measured time reaches a predetermined second threshold value, forcibly decoding determination means for outputting decoding start; and the buffering measurement means or the forcible decoding determination. Decoding start control means for supplying a decoding start signal to the image decoding means upon any decoding start output from the means.

【0011】上記の画像復号装置において、通信網に接
続され、該通信網を介して受信した符号化された画像信
号をバッファ手段へ入力する伝送インタフェース手段を
有する構成とするのが、通信網を介して実現される種々
の画像通信システムに対応可能にする点で好適である。
[0011] In the above image decoding apparatus, the communication network is configured to have a transmission interface means for inputting an encoded image signal received through the communication network to a buffer means. It is suitable in that it can correspond to various image communication systems realized through the communication.

【0012】また、上記の画像復号装置において、少な
くとも符号化された画像信号含む情報を蓄積するデータ
蓄積手段と、前記データ蓄積手段に直接、あるいは通信
手段を介して接続され、該データ蓄積手段から符号化さ
れた画像信号を取り出してバッファ手段へ入力する転送
制御手段と、を有する構成とするのが、データ蓄積手段
に動画、静止画を区別なく蓄積して提供可能とする点で
好適である。
In the above image decoding apparatus, the data storage means for storing at least information including the coded image signal is connected to the data storage means directly or via a communication means. Transfer control means for taking out the coded image signal and inputting it to the buffer means is preferable in that the moving image and the still image can be stored and provided in the data storage means without distinction. .

【0013】本発明では、バッファリング計数手段の測
定値が変化しなくなってからの時間を時間計測により測
定して、その測定値が所定の閾値に達したときに強制復
号開始信号を発生する強制復号判定手段を、画像復号装
置に具備する。そして、画像復号装置は、バッファリン
グ計数手段の測定値が所定の閾値に達した場合と、前記
強制復号開始信号が発生した場合の2つの場合を契機と
して復号処理を開始する。
According to the present invention, the time from when the measured value of the buffering counting means no longer changes is measured by time measurement, and when the measured value reaches a predetermined threshold, a compulsory decoding start signal is generated. The image decoding device includes a decoding determination unit. Then, the image decoding apparatus starts the decoding process triggered by two cases, that is, when the measured value of the buffering counting unit reaches a predetermined threshold value and when the forced decoding start signal is generated.

【0014】画像復号手段が画像信号を読み出すとバッ
ファ手段のバッファリング量は減少し、伝送インタフェ
ース手段や転送制御手段等が画像信号を入力するとバッ
ファリング量が増加する。動画を復号する場合には、バ
ッファ手段からの読み出し速度と書き込み速度が完全に
つりあいがとれることはない。そのため、バッファ手段
におけるバッファリング量は頻繁に変動し、バッファリ
ング計数手段の測定値も頻繁に変動する。しかたがっ
て、強制復号判定手段での時間計測における測定値も頻
繁にリセットされて一定になることはなく、強制復号判
定手段が強制復号開始信号を発生することはない。
When the image decoding means reads out the image signal, the buffering amount of the buffer means decreases, and when the transmission interface means or the transfer control means inputs the image signal, the buffering amount increases. When decoding a moving image, the reading speed and the writing speed from the buffer means cannot be completely balanced. Therefore, the buffering amount in the buffer means frequently changes, and the measured value of the buffering counting means also frequently changes. Therefore, the measured value in the time measurement by the forced decoding determination means is not frequently reset and becomes constant, and the forced decoding determination means does not generate the forced decoding start signal.

【0015】一方、静止画像を復号する場合には、一枚
分の画像信号を受信した後は後続する画像信号が送られ
てこないので、その後はバッファ手段のバッファリング
量の変動がなくなり、一定となる。そのため、バッファ
リング量が一定となってからの時間を計測している強制
復号判定手段での時間計測の計測値は、単調に増加し、
いずれ所定の閾値に達する。このとき強制復号判定手段
は強制復号開始信号を発生し、画像復号手段の復号動作
を強制的に開始される。このようにして、本発明では、
静止画の場合にも復号動作を自動的に開始可能とする。
On the other hand, in the case of decoding a still image, since the subsequent image signal is not sent after receiving one image signal, the buffering amount of the buffer means does not change thereafter, and Becomes Therefore, the measurement value of the time measurement by the forced decoding determination unit that measures the time from when the buffering amount becomes constant increases monotonously,
Eventually, a predetermined threshold is reached. At this time, the forced decoding determination means generates a forced decoding start signal, and the decoding operation of the image decoding means is forcibly started. Thus, in the present invention,
The decoding operation can be automatically started even for a still image.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を図を
用いて詳しく説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】〔実施形態例1〕本実施形態例は、伝送路
を介して画像送信側から受信した符号化画像信号を復号
する画像復号装置に本発明を適用した例である。
[Embodiment 1] This embodiment is an example in which the present invention is applied to an image decoding apparatus that decodes an encoded image signal received from an image transmitting side via a transmission path.

【0018】図1は本実施形態例の構成を示す図であ
る。伝送インタフェース部101は、画像送信側からの
信号を伝送路から受信し、多重分離部102に送る。該
信号には種々のメディアの信号が多重化されているの
で、多重分離部102は該多重化信号を、音声信号、画
像信号など、メディア毎の信号に分離する。以下、本実
施形態例においては、画像以外のメディアの信号に関す
る処理は説明を省略する。なお、送信側からの信号がメ
ディア多重されておらず画像信号だけで構成される場合
には、多重分離部102は不要である。
FIG. 1 is a diagram showing the configuration of this embodiment. The transmission interface unit 101 receives a signal from the image transmission side from the transmission path and sends the signal to the demultiplexing unit 102. Since signals of various media are multiplexed in the signal, the demultiplexing unit 102 separates the multiplexed signal into signals for each medium such as an audio signal and an image signal. Hereinafter, in the present embodiment, the description of the processing related to the signal of the medium other than the image is omitted. When the signal from the transmitting side is not media-multiplexed and is composed of only an image signal, the demultiplexing unit 102 is unnecessary.

【0019】多重分離部102で分離された画像信号
は、バッファ部103に送られ、そこで一時的に記憶さ
れる。バッファ部103に一時記憶されている画像信号
の量は、バッファリング計数部104で計測される。バ
ッファリング計数部104は、バッファ部103に新た
な画像信号が入力されるとその量だけ計数値を増やし、
一時記憶されている画像信号が取り出されて画像復号部
108に送られるとその量だけ計数値を減ずる。バッフ
ァリング計数部104での計数値が変化する度に、タイ
マ部105の時間計数値はリセットされ、時間計測をリ
スタートする。強制復号判定部106は、タイマ部10
5の時間計数値が閾値1を越えると、復号開始制御部1
07に対して、強制復号開始信号を送る。復号開始制御
部107は、1)バッファリング計数部104の計数値
が所定の閾値2を越えた場合、あるいは2)強制復号判
定部106が強制復号開始信号を送ってきた場合、のい
ずれかの場合に、画像復号部108に対して復号開始信
号を送出する。画像復号部108は、復号開始信号を受
けると、バッファ部103に一時蓄積されている画像信
号を順次取り出して復号し、画像表示部109に表示す
る。
The image signal separated by the demultiplexing unit 102 is sent to a buffer unit 103, where it is temporarily stored. The amount of the image signal temporarily stored in the buffer unit 103 is measured by the buffering counting unit 104. When a new image signal is input to the buffer unit 103, the buffering counting unit 104 increases the count value by that amount,
When the temporarily stored image signal is extracted and sent to the image decoding unit 108, the count value is reduced by that amount. Every time the count value in the buffering counting unit 104 changes, the time count value of the timer unit 105 is reset and the time measurement is restarted. The forced decryption determination unit 106 includes a timer unit 10
When the time count value of 5 exceeds the threshold value 1, the decoding start control unit 1
07, a forced decoding start signal is sent. The decoding start control unit 107 performs one of the following: 1) when the count value of the buffering counting unit 104 exceeds a predetermined threshold value 2; or 2) when the forced decoding determination unit 106 sends a forced decoding start signal. In this case, a decoding start signal is sent to the image decoding unit 108. Upon receiving the decoding start signal, the image decoding unit 108 sequentially extracts and decodes the image signals temporarily stored in the buffer unit 103, and displays them on the image display unit 109.

【0020】なお、本実施形態例においては、画像復号
部108は、一旦、復号開始信号を受け取ると、バッフ
ァ部103で処理待ちの画像信号がなくなるまで動作を
継続するように構成されるものとする。また、画像復号
部108がバッファ部103から画像信号を取り出すレ
ートと、多重分離部102がバッファ部103に画像信
号を入れるレートとが平均的に一致するように、構成さ
れているものとする。
In the present embodiment, the image decoding unit 108 is configured to, once receiving the decoding start signal, continue the operation until there is no more image signal waiting to be processed in the buffer unit 103. I do. Further, the configuration is such that the rate at which the image decoding unit 108 extracts image signals from the buffer unit 103 and the rate at which the demultiplexing unit 102 enters image signals into the buffer unit 103 averagely match.

【0021】図2は、強制復号判定部106の処理フロ
ーを説明する図である。強制復号判定部106はタイマ
部105の時間計数値Aを監視し、それが閾値1を越え
ると強制復号開始信号を復号開始制御部107に送る。
FIG. 2 is a diagram for explaining the processing flow of the forced decoding determination unit 106. The forced decoding determination unit 106 monitors the time count value A of the timer unit 105, and sends a forced decoding start signal to the decoding start control unit 107 when it exceeds the threshold value 1.

【0022】図3は、強制復号判定部106が強制復号
開始信号を発生するタイミングを説明する図である。図
3に示すように、バッファ部103に一時記憶されてい
る画像信号量が変動している間は、タイマ部105の時
間計数値は頻繁にリセットされ、閾値1に達することは
ない。しかし、バッファ部103上の画像信号量が変動
しなくなると、タイマ部105の時間計数値が単調に増
加し、そのうちに閾値1に達する。強制復号判定部10
6は、このときに強制復号開始信号を発生する。なお、
図3においては、強制復号開始信号をパルス信号として
いるが、他の信号、例えばステップ信号を用いること
も、むろん可能である。
FIG. 3 is a diagram for explaining the timing at which the forced decoding determination unit 106 generates a forced decoding start signal. As shown in FIG. 3, while the amount of image signal temporarily stored in the buffer unit 103 is fluctuating, the time count value of the timer unit 105 is frequently reset, and does not reach the threshold value 1. However, when the amount of image signals on the buffer unit 103 does not change, the time count value of the timer unit 105 monotonically increases, and eventually reaches the threshold value 1. Forced decryption determination unit 10
6 generates a forced decoding start signal at this time. In addition,
In FIG. 3, the forced decoding start signal is a pulse signal. However, other signals, for example, a step signal may be used.

【0023】図4は、復号開始制御部107の処理フロ
ーを説明する図である。復号開始制御部107は、バッ
ファリング計数部104の計数値Bを監視し、それが閾
値2を越えると画像復号部108に復号開始信号を送
る。また、復号開始制御部107は、強制復号判定部1
06から強制復号開始信号を受け取ったときにも、画像
復号部108に復号開始信号を送る。
FIG. 4 is a diagram for explaining the processing flow of the decoding start control unit 107. The decoding start control unit 107 monitors the count value B of the buffering counting unit 104, and sends a decoding start signal to the image decoding unit 108 when the count value B exceeds the threshold value 2. Further, the decoding start control unit 107 determines whether the forced decoding
Also, when the forced decoding start signal is received from 06, the decoding start signal is sent to the image decoding unit 108.

【0024】次に、本実施形態例の動作を、時間軸に沿
って説明する。
Next, the operation of this embodiment will be described along the time axis.

【0025】図5は、送信側から送られてきた画像が動
画である場合の、バッファリング計数部104の計数値
の時間変化、画像復号部108の動作状態変化の一例を
示す図である。
FIG. 5 is a diagram showing an example of a change over time of the count value of the buffering counting unit 104 and a change in the operation state of the image decoding unit 108 when the image sent from the transmission side is a moving image.

【0026】この動画の例においては、バッファ部10
3は初期状態において全く画像信号を記憶していないと
している。図5の場合、バッファリング計数部104の
計数値は時間1において閾値2に達する。時間1までは
画像復号部108は停止状態にあるが、時間1になる
と、復号開始制御部107は図4で説明した処理フロー
により、画像復号部108に対して復号開始信号を送
る。復号開始信号を受けた画像復号部108は動作を開
始し、バッファ部103から順次画像信号を取り出して
復号する。なお、バッファリング計数部104の計数値
が閾値2に達してから画像復号部108が実際に動作を
開始するまでは、図5に示すように、若干の遅れ時間が
生ずる。
In this moving image example, the buffer unit 10
Reference numeral 3 indicates that no image signal is stored in the initial state. In the case of FIG. 5, the count value of the buffering counting unit 104 reaches the threshold value 2 at time 1. The image decoding unit 108 is in a stopped state until time 1, but when time 1 is reached, the decoding start control unit 107 sends a decoding start signal to the image decoding unit 108 according to the processing flow described in FIG. The image decoding unit 108 that has received the decoding start signal starts operation, and sequentially extracts and decodes image signals from the buffer unit 103. Note that, as shown in FIG. 5, a slight delay occurs between the time when the count value of the buffering counting unit 104 reaches the threshold value 2 and the time when the image decoding unit 108 actually starts operating.

【0027】上記において、閾値2の値は、バッファ部
103がアンダーフローを起こさないように設定する。
前述したとおり、画像復号部108がバッファ部103
から画像信号を取り出すレートと多重分離部102が画
像信号を入れるレートとは平均的に一致するように構成
されているので、閾値2を適切に設定すれば、バッファ
部103に平均して閾値2なる画像信号量が常に一時記
憶された状態となり、アンダーフローは生じない。
In the above description, the value of the threshold value 2 is set so that the buffer unit 103 does not cause underflow.
As described above, the image decoding unit 108
Since the rate at which the image signal is extracted from the multiplexing unit 102 and the rate at which the multiplexing / demultiplexing unit 102 inputs the image signal are configured to be on average, if the threshold value 2 is set appropriately, the threshold value 2 Is temporarily stored, and no underflow occurs.

【0028】なお、動画の場合にもタイマ部105およ
び強制復号判定部106は動作しているが、動画ではバ
ッファ部103上の画像信号量が図5に示すように常に
変動するため時間計数値のリセットを絶えず繰り返すこ
ととなり、閾値1を適切に選択すれば強制復号判定部1
06は強制復号開始信号を発生することはない。また、
図5においては、簡単化のためバッファリング計数部1
04の計数値が線形に変化する場合を描いているが、必
ずしも線形である必要はない。
Although the timer unit 105 and the forced decoding determination unit 106 are operating even in the case of a moving image, the time count value in the moving image is constant because the amount of image signal in the buffer unit 103 constantly changes as shown in FIG. Is constantly repeated, and if the threshold 1 is appropriately selected, the forced decoding determination unit 1
06 does not generate a forced decoding start signal. Also,
In FIG. 5, for simplicity, the buffering counting unit 1
Although the case where the count value of 04 changes linearly is illustrated, it is not necessary to be linear.

【0029】次に、送信側から送られてきた画像が静止
画である場合の、バッファリング計数部104の計数値
の時間変化、画像復号部108の動作状態変化の一例を
図6に示す。
Next, FIG. 6 shows an example of a time change of the count value of the buffering counting unit 104 and an operation state change of the image decoding unit 108 when the image sent from the transmission side is a still image.

【0030】この静止画の例でも、バッファ部103は
初期状態において全く画像信号を記憶していないとして
いる。画像が静止画の場合には、全画像信号量が閾値2
以下の場合が有り得る。図6はその一例であり、バッフ
ァリング計数部104の計数値が閾値2を越えることは
ない。そして、静止画一枚分の全画像信号がバッファ部
103に入ると、その後、バッファリング計数部104
の計数値は変化しなくなる。このバッファリング計数部
104の計数値が変化しなくなった時間を時間2とす
る。ここで、タイマ部105の計数値に着目すると、時
間2まではタイマ部105の計数値はリセットを繰り返
すが、時間2を越えるとタイマ部105の計数値はリセ
ットされることはなく時間経過とともに増加する。そし
て、この時間計数値が閾値1に達すると、強制復号判定
部106は復号開始制御部107に対して強制復号開始
信号を送る。この強制復号開始信号を受けた復号開始制
御部107は復号開始信号を画像復号部108に送り、
画像復号部108の動作をスタートさせる。なお、タイ
マ部104の時間計数値が閾値1に達してから画像復号
部108が実際に動作を開始するまでは、図6に示すよ
うに、若干の遅れが生ずる。
In this still image example, the buffer unit 103 does not store any image signal in the initial state. If the image is a still image, the total image signal amount is equal to the threshold 2
The following cases are possible. FIG. 6 is an example, and the count value of the buffering counting unit 104 does not exceed the threshold value 2. When all the image signals for one still image enter the buffer unit 103, the buffering counting unit 104
No longer changes. The time when the count value of the buffering counting unit 104 does not change is referred to as time 2. Here, focusing on the count value of the timer unit 105, the count value of the timer unit 105 is repeatedly reset until time 2, but after the time 2, the count value of the timer unit 105 is not reset, and with the passage of time. To increase. Then, when the time count value reaches the threshold value 1, the forced decoding determination unit 106 sends a forced decoding start signal to the decoding start control unit 107. Upon receiving the forced decoding start signal, the decoding start control unit 107 sends a decoding start signal to the image decoding unit 108, and
The operation of the image decoding unit 108 is started. Note that there is a slight delay between the time when the time count value of the timer unit 104 reaches the threshold value 1 and the time when the image decoding unit 108 actually starts operating, as shown in FIG.

【0031】動作を開始した画像復号部108は、動画
の場合と同様にバッファ部103から順次に画像信号を
取り出して復号する。そして、バッファ部103に処理
待ちの画像信号がなくなると、画像復号部108は動作
を停止する。なお、図6においては、簡単化のためバッ
ファリング計数部104の計数値が線形に変化する場合
を描いているが、必ずしも線形である必要はない。
The image decoding unit 108 which has started operation sequentially takes out image signals from the buffer unit 103 and decodes them, as in the case of a moving image. Then, when there is no image signal waiting to be processed in the buffer unit 103, the image decoding unit 108 stops operating. Although FIG. 6 illustrates a case where the count value of the buffering counting unit 104 changes linearly for simplicity, the count value does not necessarily need to be linear.

【0032】さて、ここでは説明をわかりやすくするた
めに、送信側から送られてきた画像が動画であるか静止
画であるかに分けて本実施形態例を説明した。しかし、
本実施形態例のポイントは、画像が静止画であるか動画
であるかが自動的に判別される点にある。すなわち、受
信した画像が静止画であるか動画であるかを陽に指定す
る必要はない。受信した画像が静止画である場合には、
バッファリング計数部104、タイマ部105、強制復
号判定部106の機能により強制復号開始信号が復号開
始制御部107に与えられ、画像復号部108が動作を
開始する。一方、動画を受信した場合には、バッファ部
103上の画像信号量が絶えず変化するため強制復号開
始信号は発生せず、バッファリング計数部104の計数
値を監視する復号開始制御部107の機能により、画像
復号部108が動作を開始する。
Here, in order to make the explanation easy to understand, the present embodiment has been described by dividing the image sent from the transmitting side into a moving image or a still image. But,
The point of this embodiment is that it is automatically determined whether the image is a still image or a moving image. That is, it is not necessary to explicitly specify whether the received image is a still image or a moving image. If the received image is a still image,
A forced decoding start signal is provided to the decoding start control unit 107 by the functions of the buffering counting unit 104, the timer unit 105, and the forced decoding determination unit 106, and the image decoding unit 108 starts operating. On the other hand, when a moving image is received, the forced decoding start signal is not generated because the image signal amount in the buffer unit 103 constantly changes, and the function of the decoding start control unit 107 that monitors the count value of the buffering counting unit 104 is performed. Accordingly, the image decoding unit 108 starts operating.

【0033】〔実施形態例2〕本実施形態例は、磁気デ
ィスク、CD−ROM等のデータ蓄積装置に蓄積されて
いる符号化画像信号を復号する画像復号装置に本発明を
適用した例である。
[Embodiment 2] This embodiment is an example in which the present invention is applied to an image decoding apparatus which decodes an encoded image signal stored in a data storage device such as a magnetic disk or a CD-ROM. .

【0034】図7は本実施形態例の構成を示す図であ
る。転送制御部701は、データ蓄積装置710に蓄積
されている信号を順次取り出し、多重分離部702に送
る。該信号には種々のメディアの信号が多重化されてい
るので、多重分離部702は該多重化信号を、音声信
号、画像信号など、メディア毎の信号に分離する。以
下、本実施形態例においては、画像以外のメディアの信
号に関する処理は説明を省略する。なお、データ蓄積装
置710に蓄積されている信号がメディア多重されてお
らず画像信号だけで構成される場合には、多重分離部7
02は不要である。
FIG. 7 is a diagram showing the configuration of this embodiment. The transfer control unit 701 sequentially takes out the signals stored in the data storage device 710 and sends them to the demultiplexing unit 702. Since signals of various media are multiplexed in the signal, the demultiplexing unit 702 separates the multiplexed signal into signals for each medium such as an audio signal and an image signal. Hereinafter, in the present embodiment, the description of the processing related to the signal of the medium other than the image is omitted. If the signals stored in the data storage device 710 are not media-multiplexed and are composed only of image signals, the demultiplexing unit 7
02 is unnecessary.

【0035】多重分離部702で分離された画像信号
は、バッファ部703に送られ、そこで一時的に記憶さ
れる。バッファ部703に一時記憶されている画像信号
の量は、バッファリング計数部704で計測される。バ
ッファリング計数部704は、バッファ部703に新た
な画像信号が入力されるとその量だけ計数値を増やし、
一時記憶されている画像信号が取り出されて画像復号部
708に送られるとその量だけ計数値を減ずる。バッフ
ァリング計数部704での計数値が変化する度に、タイ
マ部705の時間計数値はリセットされ、時間計測をリ
スタートする。強制復号判定部706は、タイマ部70
5の時間計数値が閾値1を越えると、復号開始制御部7
07に対して、強制復号開始信号を送る。
The image signal separated by the demultiplexing unit 702 is sent to a buffer unit 703, where it is temporarily stored. The amount of the image signal temporarily stored in the buffer unit 703 is measured by the buffering counting unit 704. When a new image signal is input to the buffer unit 703, the buffering counting unit 704 increases the count value by that amount,
When the temporarily stored image signal is extracted and sent to the image decoding unit 708, the count value is reduced by that amount. Every time the count value in the buffering counting section 704 changes, the time count value of the timer section 705 is reset and the time measurement is restarted. The forced decryption determination unit 706 includes a timer unit 70
When the time count value exceeds the threshold 1, the decoding start control unit 7
07, a forced decoding start signal is sent.

【0036】復号開始制御部707は、1)バッファリ
ング計数部704の計数値が所定の閾値2を越えた場
合、あるいは2)強制復号判定部706が強制復号開始
信号を送ってきた場合、のいずれかの場合に、画像復号
部708に対して復号開始信号を送出する。画像復号部
708は、復号開始信号を受けると、バッファ部703
に一時蓄積されている画像信号を順次取り出して復号
し、画像表示部709に表示する。
The decoding start control unit 707 performs the following operations: 1) when the count value of the buffering counting unit 704 exceeds a predetermined threshold value 2, or 2) when the forced decoding determination unit 706 sends a forced decoding start signal. In either case, a decoding start signal is sent to the image decoding unit 708. Upon receiving the decoding start signal, the image decoding unit 708
Are sequentially extracted and decoded, and displayed on the image display unit 709.

【0037】なお、本実施形態例においては、画像復号
部708は、一旦、復号開始信号を受け取ると、バッフ
ァ部703で処理待ちの画像信号がなくなるまで動作を
継続するように構成されるものとする。また、画像復号
部708がバッファ部703から画像信号を取り出すレ
ートと、多重分離部702がバッファ部703に画像信
号を入れるレートとが平均的に一致するように、構成さ
れているものとする。
In the present embodiment, the image decoding unit 708 is configured to, once receiving the decoding start signal, continue the operation until there is no image signal waiting to be processed in the buffer unit 703. I do. Further, it is assumed that the rate at which the image decoding unit 708 takes out the image signal from the buffer unit 703 and the rate at which the demultiplexing unit 702 puts the image signal into the buffer unit 703 match on average.

【0038】各部の動作は第1の実施形態例と同様であ
り、データ蓄積装置710から取り出した画像が動画像
であるか静止画であるかが自動的に判別され、その復号
が行われる。
The operation of each unit is the same as that of the first embodiment, and it is automatically determined whether the image extracted from the data storage device 710 is a moving image or a still image, and the decoding is performed.

【0039】以上、本発明の2つの実施形態例を、図を
用いて説明したが、その趣旨を逸脱しない範囲で種々変
更可能であることは言うまでもない。
Although the two embodiments of the present invention have been described with reference to the drawings, it goes without saying that various modifications can be made without departing from the spirit of the invention.

【0040】[0040]

【発明の効果】以上、説明したように、本発明の画像復
号装置では、動画の場合には従来技術と同様にバッファ
部の動きによって符号化画像信号の到着時間の揺らぎが
吸収され、画像フレームのなめらかな再生が行われる。
一方、静止画の場合には、画像信号がバッファ部にたま
ってしまい復号が開始されないという従来技術の課題が
解決され、自動的に復号が開始される。しかも、復号対
象の画像信号が動画であるか静止画であるか自動的に判
別されるので、前もって画像種別を画像復号装置に与え
る必要はない。
As described above, in the image decoding apparatus of the present invention, in the case of a moving image, the fluctuation of the arrival time of the coded image signal is absorbed by the movement of the buffer unit as in the prior art, and the image frame Smooth reproduction is performed.
On the other hand, in the case of a still image, the problem of the related art that the image signal is accumulated in the buffer unit and decoding is not started is solved, and decoding is automatically started. Moreover, since it is automatically determined whether the image signal to be decoded is a moving image or a still image, it is not necessary to give the image type to the image decoding device in advance.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施形態例の構成を説明する図FIG. 1 is a diagram for explaining the configuration of a first embodiment of the present invention;

【図2】上記第1の実施形態例における強制復号判定部
の処理フローを説明する図
FIG. 2 is a view for explaining a processing flow of a forced decoding determination unit in the first embodiment.

【図3】上記第1の実施形態例における強制復号判定部
が強制復号開始信号を発生するタイミングを説明する図
FIG. 3 is a view for explaining the timing at which a forced decoding determination unit in the first embodiment generates a forced decoding start signal;

【図4】上記第1の実施形態例における復号開始制御部
の処理フローを説明する図
FIG. 4 is a view for explaining a processing flow of a decoding start control unit in the first embodiment.

【図5】上記第1の実施形態例における動画を受信した
場合のバッファリング計数部の計数値の時間変化、画像
復号部の動作状態変化を説明する図
FIG. 5 is a diagram for explaining a time change of a count value of a buffering counting unit and a change of an operation state of an image decoding unit when a moving image is received according to the first embodiment.

【図6】上記第1の実施形態例における静止画を受信し
た場合のバッファリング計数部の計数値の時間変化、画
像復号部の動作状態変化を説明する図
FIG. 6 is a diagram for explaining a time change of a count value of a buffering counting unit and a change of an operation state of an image decoding unit when a still image is received in the first embodiment.

【図7】本発明の第2の実施形態例の構成を説明する図FIG. 7 is a view for explaining the configuration of a second embodiment of the present invention;

【図8】動画の定義を説明する図FIG. 8 is a view for explaining the definition of a moving image.

【図9】静止画の定義を説明する図FIG. 9 is a view for explaining the definition of a still image.

【図10】従来例の画像復号装置の構成を説明する図FIG. 10 is a diagram illustrating a configuration of a conventional image decoding apparatus.

【図11】従来例における画像復号装置で動画を受信し
た場合のバッファリング計数部の計数値の時間変化、画
像復号部の動作状態変化を説明する図
FIG. 11 is a diagram illustrating a time change of a count value of a buffering counting unit and a change in an operation state of an image decoding unit when a moving image is received by an image decoding device in a conventional example.

【図12】従来例における画像復号装置で静止画を受信
した場合のバッファリング計数部の計数値の時間変化、
画像復号部の動作状態変化を説明する図
FIG. 12 shows a time change of a count value of a buffering counting unit when a still image is received by an image decoding device in a conventional example,
FIG. 7 is a diagram for explaining a change in the operation state of the image decoding unit.

【符号の説明】[Explanation of symbols]

101…伝送インタフェース部 102…多重分離部 103…バッファ部 104…バッファリング計数部 105…タイマ部 106…強制復号判定部 107…復号開始制御部 108…画像復号部 109…画像表示部 701…転送制御部 702…多重分離部 703…バッファ部 704…バッファリング計数部 705…タイマ部 706…強制復号判定部 707…復号開始制御部 708…画像復号部 709…画像表示部 710…データ蓄積装置 DESCRIPTION OF SYMBOLS 101 ... Transmission interface part 102 ... Demultiplexing part 103 ... Buffer part 104 ... Buffering counting part 105 ... Timer part 106 ... Forced decoding determination part 107 ... Decoding start control part 108 ... Image decoding part 109 ... Image display part 701 ... Transfer control Unit 702 demultiplexing unit 703 buffer unit 704 buffering counting unit 705 timer unit 706 forced decoding determination unit 707 decoding start control unit 708 image decoding unit 709 image display unit 710 data storage device

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 符号化された画像信号を一時的に記憶す
るバッファ手段と、 該バッファ手段に記憶された符号化された画像信号のデ
ータ量を計測し、該符号化された画像信号が所定の第1
の閾値に達した時に、復号開始を出力するバッファリン
グ計測手段と、 前記バッファリング計測手段の値が一定になった時から
の時間を計測し、該計測された時間が所定の第2の閾値
に達した時に、復号開始を出力する強制復号判定手段
と、 前記バッファリング計測手段あるいは前記強制復号判定
手段から出力される何れの復号開始によっても画像復号
手段に復号開始信号を与える復号開始制御手段と、 を有することを特徴とする画像復号装置。
A buffer means for temporarily storing an encoded image signal, and a data amount of the encoded image signal stored in the buffer means is measured. First
Buffering measuring means for outputting the start of decoding when the threshold value is reached, and measuring the time from when the value of the buffering measuring means becomes constant, and measuring the measured time with a predetermined second threshold value. When a decoding start is reached, a decoding start control means for providing a decoding start signal to the image decoding means by any decoding start output from the buffering measuring means or the forced decoding judgment means An image decoding device, comprising:
【請求項2】 通信網に接続され、該通信網を介して受
信した符号化された画像信号をバッファ手段へ入力する
伝送インタフェース手段を有することを特徴とする請求
項1記載の画像復号装置。
2. The image decoding apparatus according to claim 1, further comprising transmission interface means connected to a communication network and for inputting an encoded image signal received via the communication network to a buffer means.
【請求項3】 少なくとも符号化された画像信号含む情
報を蓄積するデータ蓄積手段と、 前記データ蓄積手段に直接、あるいは通信手段を介して
接続され、該データ蓄積手段から符号化された画像信号
を取り出してバッファ手段へ入力する転送制御手段と、 を有することを特徴とする請求項1記載の画像復号装
置。
3. A data storage means for storing at least information including a coded image signal, wherein the data storage means is connected to the data storage means directly or via a communication means, and transmits the coded image signal from the data storage means. 2. The image decoding apparatus according to claim 1, further comprising: transfer control means for taking out the data and inputting it to the buffer means.
JP1958196A 1996-02-06 1996-02-06 Image decoding device Expired - Fee Related JP3167914B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1958196A JP3167914B2 (en) 1996-02-06 1996-02-06 Image decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1958196A JP3167914B2 (en) 1996-02-06 1996-02-06 Image decoding device

Publications (2)

Publication Number Publication Date
JPH09214958A JPH09214958A (en) 1997-08-15
JP3167914B2 true JP3167914B2 (en) 2001-05-21

Family

ID=12003239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1958196A Expired - Fee Related JP3167914B2 (en) 1996-02-06 1996-02-06 Image decoding device

Country Status (1)

Country Link
JP (1) JP3167914B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002209201A (en) * 2001-01-10 2002-07-26 Toshiba Corp Video receiving terminal

Also Published As

Publication number Publication date
JPH09214958A (en) 1997-08-15

Similar Documents

Publication Publication Date Title
US6546426B1 (en) Method and apparatus for efficiently processing an audio and video data stream
KR100290331B1 (en) Synchronous playback device for audio-video signals
US20030121044A1 (en) System and method for enhancing performance of personal video recording (PVR) functions on hits digital video streams
JP3025863B2 (en) Apparatus and method for synchronizing digital video signal
US7023488B2 (en) Circuit and method for live switching of digital video programs containing embedded audio data
US20080008455A1 (en) Cpi data for steam buffer channels
KR100981378B1 (en) Device and process for the read-synchronization of video data and of ancillary data and associated products
US6275618B1 (en) Apparatus for and method of processing images
CN1221292A (en) Audio data decoder
JP3025447B2 (en) Video data decoder and decoding method
JP3167914B2 (en) Image decoding device
KR100428921B1 (en) Recording apparatus and recording method of variable bit rate data, playback apparatus and playback method
US6205180B1 (en) Device for demultiplexing information encoded according to a MPEG standard
CN100380985C (en) Signal processor
EP1139668A2 (en) Storing and retrieving encoded data stream with specified time of delivery on a hard disk
CN100531351C (en) Recording/reproducing device and method
JP3177825B2 (en) Media coding device
US6285689B1 (en) Method and apparatus for verifying multiplexing schedule of digital signals and apparatus for multiplexing digital signals
JP3279186B2 (en) Playback control method for moving image data
US20090263104A1 (en) Stream playback control device
JP3917346B2 (en) Image decoding apparatus and image decoding method
JPWO2006040827A1 (en) Transmitting apparatus, receiving apparatus, and reproducing apparatus
JP2609772B2 (en) Image storage and transmission equipment
JPH0225571B2 (en)
US6185366B1 (en) Method for recording and reproducing coded signal and, apparatus for recording and reproducing the coded signals transmitted

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090309

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees