JPH10336644A - Image/sound synchronization processor - Google Patents

Image/sound synchronization processor

Info

Publication number
JPH10336644A
JPH10336644A JP14154497A JP14154497A JPH10336644A JP H10336644 A JPH10336644 A JP H10336644A JP 14154497 A JP14154497 A JP 14154497A JP 14154497 A JP14154497 A JP 14154497A JP H10336644 A JPH10336644 A JP H10336644A
Authority
JP
Japan
Prior art keywords
image
compression
audio
time
expansion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP14154497A
Other languages
Japanese (ja)
Other versions
JP2885227B2 (en
Inventor
Hiroyuki Ishikawa
裕之 石川
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP14154497A priority Critical patent/JP2885227B2/en
Publication of JPH10336644A publication Critical patent/JPH10336644A/en
Application granted granted Critical
Publication of JP2885227B2 publication Critical patent/JP2885227B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image/sound synchronization processor capable of allocating the time of an image processing and a sound processing so as to reproduce sound without interruption and performing the control of switching it at a high speed without changing the compression/expansion program of images/sound. SOLUTION: Sound signals are compression-encoded by a sound compression means 9, a compression control means 7 calculates the time allocated to the compression of image signals from the time required for the compression of the sound signals, and when the time is the sufficient time capable of compressing the images, an image compression means 8 is called and the image signals obtained from a device control means 2 are compression-encoded. Image data and sound data compression-encoded in such a manner are respectively inputted to a code synthesis means 10 through the compression control means 7 and the device control means 2, synthesized into one and transmitted through a transmission means 11 and a modem 12 through the device control means 2. In such a manner, by preferentially compressing the sound between the sound and the images, the interruption of the sound is prevented.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像・音声同期処理
装置に係り、特に画像・音声を同期してリアルタイムに
圧縮・伸張する画像・音声同期処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image / audio synchronous processing apparatus, and more particularly to an image / audio synchronous processing apparatus for synchronizing images / audio and compressing / expanding them in real time.

【0002】[0002]

【従来の技術】テレビ電話のように電話回線やディジタ
ル回線を使用して画像・音声を送受信する場合、回線の
伝送能力に合わせてデータを圧縮して送信し、受信側で
そのデータを伸張する方式が一般的である。この際、画
像は連続するデータから1枚のデータを切り出して1フ
レーム単位に圧縮され、音声は単位時間で区切られたデ
ータを1サンプルとして圧縮される。このような画像と
音声の圧縮を繰り返すことにより、圧縮された動画像と
連続した音声のデータが作成され、伝送路を通して相手
に送信される。受信側で受け取ったデータは最小単位ご
とに伸張される。
2. Description of the Related Art When transmitting and receiving images and voices using a telephone line or a digital line like a videophone, the data is compressed and transmitted according to the transmission capacity of the line, and the data is expanded on the receiving side. The method is common. At this time, the image is cut out of one piece of data from continuous data and compressed in units of one frame, and the audio is compressed using data divided in unit time as one sample. By repeating such compression of the image and the audio, data of the audio that is continuous with the compressed moving image is created and transmitted to the other party through the transmission path. The data received on the receiving side is expanded for each minimum unit.

【0003】上記の画像・音声を同期してリアルタイム
に圧縮して伝送し、受信側で伸張する従来の画像・音声
同期処理装置は、例えば図15及び図16に示す如き構
成とされている。図15は従来の画像・音声同期処理装
置における圧縮装置の一例のブロック図を示す。同図に
おいて、CPU41により装置制御手段42が実行さ
れ、カメラ44とマイク46よりそれぞれ画像信号と音
声信号が画像入力手段43と音声入力手段45に入力さ
れる。
A conventional image / sound synchronization processing apparatus for synchronizing image / sound transmission in real time, transmitting it, and decompressing it on the receiving side is configured as shown in FIGS. 15 and 16, for example. FIG. 15 is a block diagram showing an example of a compression device in a conventional video / audio synchronous processing device. In the figure, a device control unit 42 is executed by a CPU 41, and an image signal and an audio signal are input to an image input unit 43 and an audio input unit 45 from a camera 44 and a microphone 46, respectively.

【0004】画像入力手段43に入力された画像信号
は、装置制御手段42を介して画像圧縮手段47に入力
されて圧縮符号に変換された後装置制御手段42に返さ
れる。音声入力手段45に入力された音声信号も同様
に、装置制御手段42を介して音声圧縮手段48により
圧縮符号に変換された後装置制御手段42に返される。
圧縮して得られた画像データと音声データは、符号合成
手段49で送信するためのデータ形式に変換され、送信
手段50によりモデム51を通して送信される。
[0004] The image signal input to the image input means 43 is input to the image compression means 47 via the device control means 42, is converted into a compression code, and is returned to the device control means 42. Similarly, the audio signal input to the audio input unit 45 is returned to the device control unit 42 after being converted into a compression code by the audio compression unit 48 via the device control unit 42.
The image data and the audio data obtained by the compression are converted into a data format for transmission by the code synthesizing unit 49 and transmitted by the transmitting unit 50 through the modem 51.

【0005】図16は従来の画像・音声同期処理装置に
おける伸張装置の一例のブロック図を示す。CPU61
により装置制御装置62が起動され、モデム71を通し
て受信手段70により図15の圧縮装置から送信されて
きた合成符号が受信される。受信された合成符号は、装
置制御手段62を介して符号分離手段69に入力されて
圧縮された画像符号と音声符号に分離される。
FIG. 16 is a block diagram showing an example of a decompression device in a conventional video / audio synchronous processing device. CPU 61
Starts the device control device 62, and the receiving device 70 receives the composite code transmitted from the compression device of FIG. The received composite code is input to the code separation unit 69 via the device control unit 62 and is separated into the compressed image code and audio code.

【0006】分離された画像符号と音声符号は、それぞ
れ装置制御手段62を介して画像伸張手段67、音声伸
張手段68に入力され、圧縮前の画像データ、音声デー
タに変換される。画像伸張手段67の出力画像データ
は、装置制御手段62を介して画像出力手段63に入力
され、更にこれよりモニタ64へ出力されて表示され
る。一方、音声伸張手段68の出力音声データは、装置
制御手段62を介して音声出力手段65に入力され、更
にこれよりスピーカ66へ出力されて発音される。
[0006] The separated image code and audio code are input to an image expansion unit 67 and an audio expansion unit 68 via the device control unit 62, respectively, and are converted into image data and audio data before compression. The output image data of the image expansion means 67 is input to the image output means 63 via the device control means 62, and further output to the monitor 64 for display. On the other hand, the output sound data of the sound expansion means 68 is input to the sound output means 65 via the device control means 62, and further output to the speaker 66 for sounding.

【0007】通信を行いながら上記のような圧縮・伸張
の処理を行うには装置全体がリアルタイムで動作する必
要がある。しかし、画像の圧縮・伸張のように演算量の
非常に多い処理をリアルタイムで行うためには、サイズ
の大きなレジスタを有効に活用することが必要である。
また、画像と音声の同期を取って圧縮・伸張するために
は画像と音声の処理を並列に動作させ、一定時間ごとに
画像処理と音声処理を切り替えて交互に処理する必要が
ある。
In order to perform the above-described compression / decompression processing while performing communication, the entire apparatus needs to operate in real time. However, in order to perform processing with a large amount of computation in real time, such as image compression / decompression, it is necessary to effectively use a large-sized register.
In addition, in order to synchronize and compress the image and the sound and compress and expand the image and the sound, it is necessary to operate the image and the sound in parallel, and switch between the image processing and the sound processing at regular time intervals to perform the processing alternately.

【0008】しかし、処理の切り替え時には使用してい
るレジスタの値を保存しなければならないので、処理が
切り替わるごとにレジスタ保存のための処理が入る。特
に、サイズの大きなレジスタを使用している場合に切り
替えが発生する場合は、保存のための処理がさらにかか
り、リアルタイム動作の妨げになる。これを回避するに
は画像処理と音声処理のどちらか一方が終わるのを待っ
て切り替える必要がある。
However, since the value of the register being used must be stored when the process is switched, a process for register storage is performed every time the process is switched. In particular, when switching occurs when a large-sized register is used, processing for saving is further required, which hinders real-time operation. In order to avoid this, it is necessary to switch after one of the image processing and the audio processing ends.

【0009】画像と音声を同期させて処理する方法とし
て、バッファメモリヘ画像・音声データを転送する方法
が知られている(特開平7−64730号公報)。これ
は再生データの途切れが発生しないようにバッファメモ
リに常に一定以上のデータを確保するための手法であ
る。また、画像の伸張処理と音声の伸張処理の遅延時間
を検出し、音声データを補間したり映像信号を遅延時間
分表示し続けることで映像と音声の同期を実現する装置
も従来より知られている(特開平7−75059号公
報)。更に、現在のフレームの伸張処理時間から次に処
理すべきフレームを求め、そのフレームに付随する音声
を伸張することで同期制御を行うようにした従来の動画
・音声同期制御装置も知られている(特開平7−110
756号公報)。
As a method of synchronizing an image and a sound, a method of transferring image and sound data to a buffer memory is known (Japanese Patent Laid-Open No. 7-64730). This is a method for always securing a certain amount or more of data in the buffer memory so that the reproduction data does not break. Also, a device that detects the delay time between the image expansion process and the audio expansion process and interpolates the audio data or continuously displays the video signal for the delay time to realize the synchronization between the video and the audio has been conventionally known. (Japanese Patent Laid-Open No. 7-75059). Further, there is also known a conventional moving picture / audio synchronization control apparatus in which a frame to be processed next is obtained from the extension processing time of the current frame, and synchronization control is performed by expanding audio accompanying the frame. (JP-A-7-110
756).

【0010】[0010]

【発明が解決しようとする課題】上記の従来の画像・音
声同期処理装置では同期を取るために音声を途切れさせ
てしまったり、画像の伸張処理と音声の伸張処理が並列
に動作しているため、切り替え時のレジスタ保存の処理
が頻繁に発生し、音声の伸張処理が間に合わなくなり、
音声が途切れるといった問題点がある。また、特開平7
−64730号公報記載の従来装置では、データの転送
方式のみの記載で、実際に画像・音声の同期制御につい
ては記載されていない。また、画像処理と音声処理の動
作の切り換えについても記載されていない。
In the above-described conventional image / sound synchronization processing apparatus, the sound is interrupted for synchronization, or the image expansion processing and the audio expansion processing operate in parallel. , Register saving processing at the time of switching occurs frequently, audio expansion processing can not be in time,
There is a problem that the sound is interrupted. Also, Japanese Patent Application Laid-Open
In the conventional device described in Japanese Patent Application Laid-Open No. -64730, only the data transfer method is described, but no description is given of the synchronous control of image and sound. Also, there is no description about switching between operations of image processing and audio processing.

【0011】また、特開平7−75059号公報記載の
発明では、画像処理が遅れた場合、音声を補間して(ス
ローに再生)同期をとるため、画像処理が遅れ続けた場
合、どんどん処理が遅れ、実時間の処理と離れていく。
これを解決するための手段は開示されていない。また、
画像処理と音声処理の動作の切り換えについても記載さ
れていない。更に、特開平7−110756号公報記載
の発明では、画像の処理からタイミングを図っているた
め、画像処理が間に合わなくなり、次の処理フレームま
での間隔が大きくなった場合、音声はその画像に付随す
るものを再生するため、音声が途切れる問題が発生す
る。また、画像処理と音声処理の動作の切り換えについ
ては記載されていない。
In the invention described in Japanese Patent Application Laid-Open No. 7-75059, when image processing is delayed, the sound is interpolated (reproduced in slow) and synchronization is achieved. Being late, away from real-time processing.
No means for solving this is disclosed. Also,
It does not describe switching between the operations of image processing and audio processing. Further, in the invention described in Japanese Patent Application Laid-Open No. H7-110756, since the timing is set from the processing of the image, the image processing cannot be performed in time, and when the interval to the next processing frame becomes large, the sound is attached to the image. However, there is a problem that the sound is interrupted because the sound is reproduced. Further, there is no description on switching between image processing and audio processing operations.

【0012】本発明は上記の点に鑑みなされたもので、
音声が途切れることなく再生できるように画像処理と音
声処理の時間を割り当て、それを高速に切り替える制御
を画像・音声の圧縮伸張プログラムに変更を加えること
なく行うことのできる画像・音声同期処理装置を提供す
ることを目的とする。
The present invention has been made in view of the above points,
An image / audio synchronous processing device that allocates time for image processing and audio processing so that audio can be played back without interruption, and can control switching between them at high speed without changing the image / audio compression / expansion program. The purpose is to provide.

【0013】[0013]

【課題を解決するための手段】本発明は上記の目的を達
成するため、リアルタイムで画像信号と音声信号を入力
する入力手段と、入力された画像信号を圧縮する画像圧
縮手段と、入力された音声信号を圧縮する音声圧縮手段
と、画像圧縮手段による画像圧縮と音声圧縮手段による
音声圧縮のうち、指定された単位時間内で1サンプル分
の音声信号の圧縮を優先して行うように音声圧縮手段を
制御すると共に、音声圧縮に要した時間を測定し、指定
された単位時間から測定音声圧縮時間を差し引いた時間
が画像圧縮手段による画像圧縮に要する時間より長いと
きに、画像圧縮手段により1サンプル分の音声信号に対
応した画像信号を圧縮させる圧縮制御手段と、音声圧縮
手段の出力圧縮符号化音声データと画像圧縮手段の出力
圧縮符号化画像データとをそれぞれ合成して出力する出
力手段とを有する構成としたものである。
In order to achieve the above object, the present invention provides an input means for inputting an image signal and an audio signal in real time, an image compression means for compressing an input image signal, and Audio compression means for compressing an audio signal; and audio compression such that one of the audio signals for one sample is preferentially compressed within a specified unit time among the image compression by the image compression means and the audio compression by the audio compression means. Control means, measure the time required for audio compression, and when the time obtained by subtracting the measured audio compression time from the specified unit time is longer than the time required for image compression by the image compression means, 1 Compression control means for compressing an image signal corresponding to the audio signal for the sample; output compression-encoded audio data of the audio compression means and output compression-encoded image data of the image compression means; Data and a is obtained by a configuration in which an output means respectively synthesized and output.

【0014】ここで、本発明の圧縮制御手段は、指定さ
れた単位時間から測定音声圧縮時間を差し引いた時間が
画像圧縮手段による画像圧縮に要する時間より短いとき
は、画像圧縮手段による画像圧縮に代えて次の1サンプ
ル分の音声圧縮を音声圧縮手段に行わせる。
Here, the compression control means of the present invention, when the time obtained by subtracting the measured voice compression time from the specified unit time is shorter than the time required for image compression by the image compression means, performs the image compression by the image compression means. Instead, the audio compression means is made to perform audio compression for the next one sample.

【0015】本発明では、音声圧縮が優先して行われる
ため、音声信号が途切れることなく圧縮されて出力でき
ると共に、音声圧縮と画像圧縮とを交互に行うことがで
きる。また、本発明では、指定された単位時間から測定
音声圧縮時間を差し引いた時間が画像圧縮手段による画
像圧縮に要する時間より短いときは、音声圧縮処理を前
倒しで行うようにしているため、画像信号の次のシーケ
ンスの割り当て時間を増やすことができる。
In the present invention, since audio compression is performed with priority, audio signals can be compressed and output without interruption, and audio compression and image compression can be performed alternately. Further, in the present invention, when the time obtained by subtracting the measured audio compression time from the specified unit time is shorter than the time required for image compression by the image compression means, the audio compression processing is performed ahead of time, , The allocation time of the next sequence can be increased.

【0016】また、本発明は上記の目的を達成するた
め、圧縮符号化音声データと圧縮符号化画像データとが
符号合成されたデータを受信する受信手段と、符号合成
データから圧縮符号化音声データと圧縮符号化画像デー
タとを分離する符号分離手段と、圧縮符号化画像データ
を伸張する画像伸張手段と、圧縮符号化音声データを伸
張する音声伸張手段と、画像伸張手段による画像伸張と
音声伸張手段による音声伸張のうち、指定された単位時
間内で1サンプル分の圧縮符号化音声データの伸張を優
先して行うように音声伸張手段を制御すると共に、音声
伸張に要した時間を測定し、指定された単位時間から測
定音声伸張時間を差し引いた時間が画像伸張手段による
画像伸張に要する時間より長いときに、画像伸張手段に
より1サンプル分の圧縮符号化音声データに対応した圧
縮符号化画像データを伸張させる伸張制御手段と、音声
伸張手段の出力音声データと画像伸張手段の出力画像デ
ータとをそれぞれ同期出力する同期出力手段とを有する
構成としたものである。
According to another aspect of the present invention, there is provided a receiving means for receiving data obtained by code-synthesizing compressed and encoded audio data and compressed and encoded image data; Separating means for separating the compressed and coded image data, image decompressing means for decompressing the compressed and coded image data, sound decompressing means for decompressing the compressed and coded audio data, and image decompression and sound decompression by the image decompression means Controlling the audio decompression means so as to give priority to the decompression of the encoded audio data for one sample within the designated unit time, and measuring the time required for the audio decompression, When the time obtained by subtracting the measured sound expansion time from the specified unit time is longer than the time required for image expansion by the image expansion means, the image expansion means A configuration having expansion control means for expanding compression-encoded image data corresponding to compression-encoded audio data, and synchronous output means for synchronously outputting output audio data of the audio expansion means and output image data of the image expansion means, respectively; It was done.

【0017】ここで、本発明の伸張制御手段は、指定さ
れた単位時間から測定音声伸張時間を差し引いた時間が
画像伸張手段による画像伸張に要する時間より短いとき
は、画像伸張手段による画像伸張に代えて次の1サンプ
ル分の音声伸張を音声伸張手段に行わせることを特徴と
する。
Here, when the time obtained by subtracting the measured voice expansion time from the designated unit time is shorter than the time required for the image expansion by the image expansion means, the expansion control means of the present invention performs the image expansion by the image expansion means. Instead, the sound expansion unit performs the sound expansion for the next one sample.

【0018】本発明では、音声伸張が優先して行われる
ため、音声信号が途切れることなく伸張されて出力でき
ると共に、音声伸張と画像伸張とを交互に行うことがで
きる。また、本発明では、指定された単位時間から測定
音声伸張時間を差し引いた時間が画像伸張手段による画
像伸張に要する時間より短いときは、音声伸張処理を前
倒しで行うようにしているため、画像信号の次のシーケ
ンスの割り当て時間を増やすことができる。
In the present invention, since the audio expansion is performed with priority, the audio signal can be expanded and output without interruption, and the audio expansion and the image expansion can be performed alternately. Further, in the present invention, when the time obtained by subtracting the measured audio expansion time from the specified unit time is shorter than the time required for image expansion by the image expansion unit, the audio expansion process is performed ahead of time, , The allocation time of the next sequence can be increased.

【0019】さらに、画像及び音声の圧縮手段及び伸張
手段を呼び出すタイミングや呼び出す回数で同期処理を
実現しているため、圧縮手段や伸張手段に変更を加える
ことなく処理が実現できる。
Furthermore, since the synchronous processing is realized by the timing and the number of times of calling the image and audio compression means and expansion means, the processing can be realized without changing the compression means and expansion means.

【0020】[0020]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明になる画像・
音声同期処理装置における圧縮装置の一実施の形態のブ
ロック図を示す。この圧縮装置は、プログラムを動作さ
せる中央処理装置(CPU)1と、CPU1により実行
されて装置全体の動作を制御する装置制御手段2と、画
像信号を入力するためのカメラ4と、画像入力手段3
と、音声信号を入力するためのマイク6と、音声入力手
段5と、画像信号を圧縮符号化する画像圧縮手段8と、
音声信号を圧縮符号化する音声圧縮手段9と、画像圧縮
手段8及び音声圧縮手段9の動作を制御する圧縮制御手
段7と、圧縮された画像データと音声データを合成する
符号合成手段10と、合成された符号を送信するための
送信手段11と、モデム12から構成されている。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows an image according to the present invention.
FIG. 2 is a block diagram of an embodiment of a compression device in the audio synchronization processing device. The compression device includes a central processing unit (CPU) 1 for operating a program, a device control unit 2 executed by the CPU 1 to control the operation of the entire device, a camera 4 for inputting image signals, and an image input unit. 3
A microphone 6 for inputting an audio signal, an audio input unit 5, an image compression unit 8 for compressing and encoding an image signal,
An audio compression means 9 for compressing and encoding an audio signal, a compression control means 7 for controlling operations of the image compression means 8 and the audio compression means 9, a code synthesizing means 10 for synthesizing compressed image data and audio data, It comprises a transmitting means 11 for transmitting the combined code and a modem 12.

【0021】図1の圧縮装置では、カメラ4より入力さ
れた画像信号は、画像入力手段3により装置制御手段2
に渡される。これと同時に、マイク6より入力された音
声信号は、音声入力手段5により装置制御手段2に渡さ
れる。圧縮制御手段7は、音声圧縮手段9を呼び出し、
装置制御手段2から得た音声信号を圧縮符号化させ、音
声信号の圧縮にかかった時間から画像信号の圧縮に割り
当てられる時間を計算する。
In the compression apparatus shown in FIG. 1, an image signal input from the camera 4 is transmitted to the apparatus control means 2 by the image input means 3.
Passed to. At the same time, the audio signal input from the microphone 6 is passed to the device control means 2 by the audio input means 5. The compression control means 7 calls the audio compression means 9 and
The audio signal obtained from the device control means 2 is compression-encoded, and the time allocated to the compression of the image signal is calculated from the time required to compress the audio signal.

【0022】圧縮制御手段7は、上記の画像信号の圧縮
に割り当てられる時間が画像圧縮が行えるような十分な
時間であれば、画像圧縮手段8を呼び出し、装置制御手
段2から得た画像信号を圧縮符号化させる。このように
して圧縮符号化された画像データと音声データは、圧縮
制御手段7及び装置制御手段2を介してそれぞれ符号合
成手段10に入力されて一つに合成される。この合成符
号データは、装置制御手段2を介して送信手段11によ
り所定の信号形態に変換された後、モデム12により変
調されてから送信される。
The compression control means 7 calls the image compression means 8 if the time allocated to the above-mentioned compression of the image signal is a time sufficient for performing image compression, and converts the image signal obtained from the apparatus control means 2. Perform compression encoding. The image data and the audio data thus compression-encoded are input to the code synthesizing unit 10 via the compression control unit 7 and the device control unit 2 and synthesized into one. The synthesized code data is converted into a predetermined signal form by the transmission means 11 via the device control means 2 and then modulated by the modem 12 before being transmitted.

【0023】図2は本発明の画像・音声同期処理装置に
おける伸張装置の一実施の形態のブロック図を示す。図
2に示す伸張装置は、プログラムを動作させるCPU2
1と、CPU21により実行されて装置全体の動作を制
御する装置制御手段22と、符号を受信するためのモデ
ム32と、受信手段31と、受信した符号を画像の符号
と音声の符号に分離する符号分離手段30と、画像を伸
張する画像伸張手段28と、音声を伸張する音声伸張手
段29と、画像伸張手段28と音声伸張手段29の動作
を制御する伸張制御手段27と、伸張された画像を表示
するための画像出力手段23と、画像を表示するモニタ
24と、音声を出力するための音声出力手段25と、ス
ピーカ26から構成されている。
FIG. 2 is a block diagram showing an embodiment of a decompression device in the image / audio synchronous processing device of the present invention. The decompression device shown in FIG.
1, a device control means 22 which is executed by the CPU 21 to control the operation of the entire apparatus, a modem 32 for receiving codes, a receiving means 31, and separates the received codes into image codes and audio codes. Code separation means 30, image expansion means 28 for expanding an image, audio expansion means 29 for expanding audio, expansion control means 27 for controlling the operations of image expansion means 28 and audio expansion means 29, and expanded image , An image output unit 23 for displaying an image, an audio output unit 25 for outputting an audio, and a speaker 26.

【0024】図2の伸張装置では、モデム32及び受信
手段31を介して入力された合成符号データは、装置制
御手段22を介して符号分離手段30に入力されて圧縮
符号化された画像データと音声データに分離された後、
装置制御手段22に渡される。
In the decompression device shown in FIG. 2, the composite code data input via the modem 32 and the receiving means 31 is input to the code separating means 30 via the device control means 22 and the image data compressed and coded. After being separated into audio data,
It is passed to the device control means 22.

【0025】装置制御手段22は伸張制御手段27へ圧
縮符号化された画像データと音声データを入力する。伸
張制御手段27は音声伸張手段29を呼び出して入力さ
れた圧縮符号化音声データを伸張し、その伸張にかかっ
た時間から画像データの伸張に割り当てられる時間を計
算する。伸張制御手段27は、上記の圧縮符号化画像デ
ータの伸張に割り当てられる時間が伸張が行えるような
十分な時間であれば、画像伸張手段28を呼び出し、装
置制御手段22から得た圧縮符号化画像データを伸張復
号化させる。
The apparatus control means 22 inputs the compressed and encoded image data and audio data to the decompression control means 27. The expansion control unit 27 calls the audio expansion unit 29 and expands the input compressed and encoded audio data, and calculates the time allocated to the expansion of the image data from the time required for the expansion. The decompression control means 27 calls the image decompression means 28 if the time allocated for decompression of the compressed and coded image data is a sufficient time to perform decompression, and obtains the compressed and coded image obtained from the apparatus control means 22. Decompress and decode the data.

【0026】このようにして伸張復号化された画像信号
と音声信号のうち、画像信号は伸張制御手段27及び装
置制御手段22を介して画像出力手段23に入力され、
音声信号は伸張制御手段27及び装置制御手段22を介
して音声出力手段25に入力される。画像出力手段23
より出力された画像信号は、モニタ24に出力されて画
像として表示される。音声出力手段25より出力された
音声信号は、スピーカ26に出力されて電気−音響変換
されて音声として発音される。
The image signal of the image signal and the audio signal thus expanded and decoded is input to the image output means 23 through the expansion control means 27 and the apparatus control means 22.
The audio signal is input to the audio output unit 25 via the expansion control unit 27 and the device control unit 22. Image output means 23
The output image signal is output to the monitor 24 and displayed as an image. The audio signal output from the audio output means 25 is output to the speaker 26, is subjected to electro-acoustic conversion, and is generated as sound.

【0027】次に本発明の実施の形態の動作について、
図3乃至図6のフローチャートを参照して説明する。図
3は本発明装置における圧縮装置の動作説明用フローチ
ャートを示す。図3において、通信が開始されると通信
を行っている端末間で画像・音声の圧縮伸張能力が交換
される(ステップSl)。なお、圧縮装置では、伸張装
置からの伸張能力データを受信及び解析する機能が必要
であるが、図1ではその図示は省略してある。同様に、
伸張装置でも圧縮装置へ自己の伸張能力を示すデータを
送信する機能が必要であるが、図2にはその図示は省略
してある。
Next, the operation of the embodiment of the present invention will be described.
This will be described with reference to the flowcharts of FIGS. FIG. 3 is a flowchart for explaining the operation of the compression apparatus in the apparatus of the present invention. In FIG. 3, when communication is started, compression and decompression capabilities of images and sounds are exchanged between the communicating terminals (step Sl). The compression device needs a function of receiving and analyzing decompression capability data from the decompression device, but is not shown in FIG. Similarly,
The decompression device also needs a function of transmitting data indicating its own decompression capability to the compression device, but is not shown in FIG.

【0028】この能力交換で、それぞれの端未の処理能
力に最適な画像のフレームレートや1フレームあたりの
処理時間の基準値が設定される(ステップS2)。設定
された基準値を基に画像・音声が入力され(ステップS
3)、音声1サンプル分とそれに付随する画像の圧縮が
行われる(ステップS4)。図1の圧縮装置では、音声
圧縮手段9により音声信号を圧縮符号化させ、その音声
信号の圧縮にかかった時間から画像信号の圧縮に割り当
てられる時間を圧縮制御手段7が計算し、その時間が画
像圧縮が行えるような十分な時間であれば、画像圧縮手
段8を呼び出し、装置制御手段2から得た画像信号を圧
縮符号化させる。
In this capacity exchange, a frame rate of an image and a reference value of a processing time per frame are set which are optimal for each processing capacity (Step S2). Images and sounds are input based on the set reference values (step S
3) The compression of one sample of the sound and the accompanying image is performed (step S4). In the compression apparatus shown in FIG. 1, the audio signal is compression-encoded by the audio compression unit 9, and the compression control unit 7 calculates the time allocated to the compression of the image signal from the time required for the compression of the audio signal. If the time is long enough to perform the image compression, the image compression means 8 is called and the image signal obtained from the apparatus control means 2 is compression-encoded.

【0029】このようにして圧縮符号化された画像デー
タと音声データは、圧縮制御手段7及び装置制御手段2
を介してそれぞれ符号合成手段10に入力されて一つに
合成された後、装置制御手段2を介して送信手段11内
の送信バッファに書き込まれて、読み出され、更にモデ
ム12により変調されてから送信される(ステップS
5)。送信が終了するまでステップS3からステップS
6の処理が繰り返される(ステップS6)。
The image data and the audio data thus compressed and encoded are supplied to the compression control unit 7 and the device control unit 2.
After being input to the code synthesizing unit 10 via the device control unit 2 and synthesized into one, it is written into the transmission buffer in the transmission unit 11 via the device control unit 2, read out, and further modulated by the modem 12. (Step S
5). Step S3 to step S until transmission is completed
6 is repeated (step S6).

【0030】図4は圧縮制御部の一例の動作説明用フロ
ーチャートを示す。この圧縮制御部は、図1の圧縮制御
手段7、画像圧縮手段8及び音声圧縮手段9よりなる。
図4と共に圧縮動作について更に詳細に説明するに、入
力された画像信号及び音声信号に対し、まず音声信号が
音声圧縮手段9により1サンプル分圧縮される(ステッ
プS11)。
FIG. 4 is a flowchart for explaining the operation of an example of the compression control section. This compression control section comprises the compression control means 7, the image compression means 8 and the audio compression means 9 of FIG.
The compression operation will be described in more detail with reference to FIG. 4. First, the audio signal is compressed by one sample by the audio compression means 9 for the input image signal and audio signal (step S11).

【0031】圧縮制御手段7は、この圧縮処理時間を測
定し、音声圧縮に要する時間の基準値を更新する(ステ
ップS12)。また、音声圧縮に使用されたデータの実
際の時間と圧縮処理時間の差分より画像圧縮処理に割り
当てられる時間を求め(ステップS13)、その割り当
て時間と現在の画像圧縮の処理時間の基準値を比較して
1フレームの画像信号の圧縮が可能かどうか判定し(ス
テップS14)、1フレームの画像圧縮が可能ならば画
像圧縮手段8により画像を1フレーム分圧縮する(ステ
ップS15)。画像圧縮を行う時間が割り当てられない
場合は、圧縮処理を終了する。
The compression control means 7 measures this compression processing time and updates the reference value of the time required for audio compression (step S12). Further, the time allocated to the image compression processing is obtained from the difference between the actual time of the data used for the audio compression and the compression processing time (step S13), and the allocated time is compared with the reference value of the current image compression processing time. Then, it is determined whether the compression of the image signal of one frame is possible (step S14). If the image compression of one frame is possible, the image is compressed by one frame by the image compression means 8 (step S15). If the time for performing image compression has not been allocated, the compression process ends.

【0032】1フレームの圧縮処理を行った後に、圧縮
制御手段7は画像圧縮の処理時間を測定し、画像圧縮に
要する時間の基準値を更新する(ステップS16)。続
いて、現在設定されているフレームレートより、まだ圧
縮を行っていない次フレームの画像データが存在するか
どうか判定し(ステップS17)、存在する場合はステ
ップS13に戻りステップS13〜S16の画像の圧縮
処理を繰り返す。圧縮すべき画像データが残っていない
場合は圧縮処理を終了する。
After performing the compression processing of one frame, the compression control means 7 measures the processing time of the image compression and updates the reference value of the time required for the image compression (step S16). Subsequently, it is determined whether or not there is image data of the next frame that has not been compressed yet from the currently set frame rate (step S17). If there is, the process returns to step S13 and returns to step S13. Repeat the compression process. If there is no image data to be compressed, the compression processing ends.

【0033】図5は本発明装置における伸張装置の動作
説明用フローチャートを示す。図5において、通信が開
始されると通信を行っている端末間で画像・音声の圧縮
伸張能力が交換される(ステップS21)。この能力交
換で、それぞれの端末の処理能力に最適な画像のフレー
ムレートや1フレームあたりの処理時間の基準値が設定
される(ステップS22)。圧縮符号化された画像デー
タ及び圧縮符号化された音声データを伸張装置が受信す
ると(ステップS23)、圧縮符号化音声データ1サン
プル分とそれに付随する圧縮符号化画像データの伸張が
行われる(ステップS24)。
FIG. 5 is a flowchart for explaining the operation of the decompression device in the device of the present invention. In FIG. 5, when communication is started, compression and decompression capabilities of images and sounds are exchanged between the communicating terminals (step S21). In this capacity exchange, the frame rate of the image and the reference value of the processing time per frame that are optimal for the processing capacity of each terminal are set (step S22). When the decompression device receives the compression-encoded image data and the compression-encoded audio data (step S23), one sample of the compression-encoded audio data and the accompanying compressed and encoded image data are decompressed (step S23). S24).

【0034】伸張制御手段27は音声伸張手段29を呼
び出して入力された圧縮符号化音声データを伸張し、そ
の伸張にかかった時間から画像データの伸張に割り当て
られる時間を計算し、その時間が伸張が行えるような十
分な時間であれば、画像伸張手段28を呼び出し、装置
制御手段22から得た圧縮符号化画像データを伸張復号
化させる。
The expansion control unit 27 calls the audio expansion unit 29 to expand the input compressed and encoded audio data, calculates the time allocated to the expansion of the image data from the time required for the expansion, and calculates the time. If it is sufficient time to perform the above, the image expansion unit 28 is called, and the compression-encoded image data obtained from the device control unit 22 is expanded and decoded.

【0035】伸張が終了すると、伸張されて復号された
画像信号の図2のモニタ24による画像の表示と、伸張
されて復号された音声信号のスピーカ26による音声出
力が行われ(ステップS25)、受信が終了するまでス
テップS23〜S26の処理が繰り返される(ステップ
S26)。
When the decompression is completed, an image of the decompressed and decoded image signal is displayed on the monitor 24 shown in FIG. 2, and the decompressed and decoded audio signal is output by the speaker 26 (step S25). The processing of steps S23 to S26 is repeated until the reception ends (step S26).

【0036】図6は伸張制御部の一例の動作説明用フロ
ーチャートを示す。この伸張制御部は、図2の伸張制御
手段27、画像伸張手段28及び音声伸張手段29より
なる。図6と共にこの実施の形態の伸張動作について更
に詳細に説明するに、入力された圧縮符号化画像データ
及び圧縮符号化音声データに対し、まず圧縮符号化音声
データが1サンプル分伸張される(ステップS31)。
FIG. 6 is a flowchart for explaining the operation of an example of the extension control section. This expansion control section comprises the expansion control means 27, the image expansion means 28 and the audio expansion means 29 of FIG. The expansion operation of this embodiment will be described in more detail with reference to FIG. 6. First, the compression-encoded audio data is expanded by one sample with respect to the input compression-encoded image data and compression-encoded audio data (step S1). S31).

【0037】伸張制御手段27は、この音声伸張処理時
間を測定し、音声伸張に要する時間の基準値を更新する
(ステップS32)。また、伸張制御手段27は、音声
伸張に使用されたデータの実際の時間と伸張処理時間の
差分より画像伸張処理に割り当てられる時間を求め(ス
テップS33)、その割り当て時間と現在の画像伸張の
処理時間の基準値を比較して画像1フレームの伸張が可
能かどうか判定し(ステップS34)、1フレームの画
像伸張が可能ならば、圧縮符号化画像データを1フレー
ム分伸張する(ステップS35)。画像伸張を行う時間
が割り当てられない場合は、伸張処理を終了する。
The expansion control means 27 measures the audio expansion processing time and updates the reference value of the time required for audio expansion (step S32). The expansion control means 27 obtains the time allocated to the image expansion processing from the difference between the actual time of the data used for audio expansion and the expansion processing time (step S33), and calculates the allocated time and the current image expansion processing. By comparing the time reference values, it is determined whether or not one frame of image can be expanded (step S34). If one frame of image can be expanded, the compression-encoded image data is expanded by one frame (step S35). If the time for performing image expansion is not assigned, the expansion processing is terminated.

【0038】伸張制御手段27は1フレーム分の圧縮符
号化画像データの伸張処理を行った後に、画像伸張の処
理時間を測定し、画像伸張に要する時間の基準値を更新
する(ステップS36)。続いて、次フレームの画像符
号が存在するかどうかを調べて(ステップS37)、ま
だ伸張を行っていない画像符号が存在する場合はステッ
プS33に戻りステップS33〜S36の画像の伸張処
理を繰り返す。伸張すべき画像データが残っていない場
合は伸張処理を終了する。
After performing the decompression processing of one frame of the compressed and encoded image data, the decompression control means 27 measures the image decompression processing time and updates the reference value of the time required for the image decompression (step S36). Subsequently, it is checked whether or not the image code of the next frame exists (step S37). If there is an image code that has not been expanded yet, the process returns to step S33 and the image expansion processing of steps S33 to S36 is repeated. If there is no image data to be decompressed, the decompression process ends.

【0039】[0039]

【実施例】次に本発明の実施例について、図面を参照し
て説明する。テレビ電話のように、画像信号と音声信号
の圧縮伸張にリアルタイム性が要求され、かつ、音声が
途切れないように再生する必要のある場合、音声処理を
優先しつつ画像処理と音声処理を高速に切り替える必要
がある。
Next, an embodiment of the present invention will be described with reference to the drawings. When video signals and audio signals require real-time compression and decompression, such as videophones, and when audio must be reproduced without interruption, image processing and audio processing can be performed at high speed while prioritizing audio processing. Need to switch.

【0040】図7は現在のCPUの処理能力に応じて、
音声信号が途切れることの無いように音声圧縮と画像圧
縮を切り替えて処理する圧縮制御装置の一実施例のブロ
ック図を示す。同図において、圧縮制御装置80は、前
記圧縮制御手段7の実施例で、少なくとも画像バッファ
81及び音声バッファ82を有する。また、画像圧縮装
置83及び音声圧縮装置84は、前記画像圧縮手段8及
び音声圧縮手段9の実施例である。
FIG. 7 shows the relationship between the current CPU processing capacity and
FIG. 2 is a block diagram of an embodiment of a compression control device that performs processing by switching between audio compression and image compression so that audio signals are not interrupted. In the figure, a compression control device 80 is an embodiment of the compression control means 7 and has at least an image buffer 81 and an audio buffer 82. The image compression device 83 and the audio compression device 84 are embodiments of the image compression means 8 and the audio compression means 9.

【0041】圧縮制御装置80は入力された画像デー
タ、音声データをそれぞれ画像バッファ81、音声バッ
ファ82に蓄え、一定量以上になると画像圧縮装置8
3、音声圧縮装置84に渡す。画像圧縮装置83、音声
圧縮装置84は、入力された画像データ、音声データを
指定された単位毎に圧縮符号化し、得られた圧縮符号化
データを圧縮制御装置80へ出力する。
The compression control device 80 stores the input image data and audio data in the image buffer 81 and the audio buffer 82, respectively.
3. Transfer to the audio compression device 84. The image compression device 83 and the audio compression device 84 compress and encode the input image data and audio data in designated units, and output the obtained compression-encoded data to the compression control device 80.

【0042】図9は圧縮制御装置80の動作の一例を示
す図である。同図中、図7と同一構成部分には同一符号
を付してある。ここでは端末間のCPUの処理能力交換
の結果、1秒あたりのデータの圧縮処理能力を音声1サ
ンプル、画像3フレームとした場合の説明をする(以
下、このデータのまとまりを1シーケンスとする)。
FIG. 9 is a diagram showing an example of the operation of the compression control device 80. 7, the same components as those in FIG. 7 are denoted by the same reference numerals. Here, a description will be given of a case where the processing capacity of the CPU is exchanged between the terminals and the data compression processing capacity per second is set to one sample of audio and three frames of image (hereinafter, a group of this data is defined as one sequence). .

【0043】まず、音声が途切れないように同期圧縮す
るために、入力された音声データa1、音声データa2
および画像データp1〜p6をそれぞれ音声バッファ8
2、画像バッファ81に保存する。音声データa3およ
び画像データp7〜p9を保存している間に画像データ
p1〜p3と音声データa1の圧縮を行う。音声が途切
れないように圧縮を行う必要があるため、まず音声デー
タa1を圧縮する。
First, in order to perform synchronous compression so that audio is not interrupted, input audio data a1 and audio data a2 are input.
And the image data p1 to p6 are stored in the audio buffer 8 respectively.
2. Save in the image buffer 81. While storing the audio data a3 and the image data p7 to p9, the image data p1 to p3 and the audio data a1 are compressed. Since it is necessary to perform compression so that the sound is not interrupted, first, the sound data a1 is compressed.

【0044】1サンプルの音声データの圧縮が終了した
時点でこの1サンプルの音声圧縮に要した時間を測定す
る。いま、1サンプルの音声データa1の圧縮に0.4
秒かかったとすると、残りの0.6秒で1フレームの画
像圧縮が終了するか判定する。1フレーム目の判定に使
われる画像圧縮時間の基準値は端末間の能力交換時に設
定された初期値を使用する。今回、この初期値が0.2
秒であったとすると1フレームの画像圧縮が可能である
と判定されるため圧縮を行う。
When the compression of the audio data of one sample is completed, the time required for compressing the audio of one sample is measured. Now, the compression of one sample of audio data a1 is 0.4
If it takes seconds, it is determined whether the image compression of one frame is completed in the remaining 0.6 seconds. The reference value of the image compression time used for the determination of the first frame uses an initial value set at the time of capability exchange between terminals. This time, this initial value is 0.2
If it is a second, compression is performed because it is determined that image compression of one frame is possible.

【0045】1フレームの画像データp1の画像圧縮が
終了した時点で、この1フレームの画像圧縮に要した時
間を測定する。ここで測定された圧縮時間を次フレーム
の圧縮時間の基準値として使うため、画像圧縮時間の基
準値を更新する。1フレームの画像データp1の圧縮に
0.2秒かかったとすると、残りの0.4秒で1フレー
ムの画像圧縮が行えるかを判定する。このように画像圧
縮処理を繰り返すことで、上記例では1サンプルの音声
データa1の圧縮と3フレームの画像データp1〜p3
の圧縮を図9に示すように行うことができる。
When the image compression of the image data p1 of one frame is completed, the time required for the image compression of one frame is measured. In order to use the measured compression time as a reference value for the compression time of the next frame, the reference value of the image compression time is updated. Assuming that it takes 0.2 seconds to compress one frame of image data p1, it is determined whether image compression of one frame can be performed in the remaining 0.4 seconds. By repeating the image compression process in this manner, in the above example, the compression of the audio data a1 of one sample and the image data p1 to p3 of three frames are performed.
Can be performed as shown in FIG.

【0046】また、音声圧縮が1サンプル分終了してか
ら画像圧縮に切り替えるため、圧縮処理時に使用するサ
イズの大きなレジスタを保存のためのオーバヘッドが発
生せず、高速な動作が実現できる。また、次の1シーケ
ンスを入力し終わるまでに1サンプルの音声圧縮処理が
終了するため途切れなく音声を圧縮することができる。
Since switching to image compression is performed after audio compression for one sample is completed, no overhead is generated for storing a large register used in the compression processing, and high-speed operation can be realized. Also, since the audio compression processing of one sample is completed before the input of the next one sequence, the audio can be compressed without interruption.

【0047】しかし、処理量の多いアプリケーションな
どを同時に動作させると、起動時に行った能力交換で設
定された処理能力が得られない場合が発生する。そのよ
うな場合の処理を図10を使用して説明する。図10に
おいて、nシーケンス目の圧縮時に他のアプリケーショ
ンが動作するなどしてCPUに対する負荷が増加したと
する。nサンプル目の音声圧縮に0.5秒かかったとす
ると、画像圧縮に割り当てられる処理時間は0.5秒に
なる。現在画像圧縮は1フレームあたり0.2秒で圧縮
ができると設定されているので、画像圧縮に割り当てら
れている時間で1フレームの圧縮は行えると判定される
ため画像圧縮処理が呼び出され、mフレーム目の画像圧
縮が行われる。
However, when an application having a large amount of processing is operated at the same time, the set processing capacity may not be obtained by the capacity exchange performed at the time of starting. The processing in such a case will be described with reference to FIG. In FIG. 10, it is assumed that the load on the CPU increases due to the operation of another application at the time of compressing the nth sequence. Assuming that the audio compression of the n-th sample takes 0.5 seconds, the processing time allocated to image compression is 0.5 seconds. At present, it is set that image compression can be performed in 0.2 seconds per frame. Therefore, it is determined that compression of one frame can be performed in the time allocated for image compression, and thus image compression processing is called, and m The image compression of the frame is performed.

【0048】この1フレーム(mフレーム目)の画像圧
縮が終了して圧縮時間を測定したところ、0.3秒かか
っていたとすると、m+1フレーム目の画像圧縮に割り
当てられる時間は0.2秒となり、新しく設定された画
像圧縮に必要な時間の基準値である0.3秒と比較して
画像圧縮は行えないと判定される。そのため、画像の圧
縮はここで終了し、n+1サンプル目の音声圧縮が行わ
れる。ただし、この場合の画像・音声の圧縮には前シー
ケンスの圧縮からの繰り越し時間の0.2秒と基準とな
る割り当て時間の1秒の合わせて1.2秒が割り当てら
れることになる。
When the image compression of the first frame (m-th frame) is completed and the compression time is measured, if it takes 0.3 seconds, the time allocated to the image compression of the (m + 1) -th frame is 0.2 seconds. It is determined that the image compression cannot be performed as compared with 0.3 seconds which is a reference value of the time required for the newly set image compression. Therefore, the compression of the image ends here, and the audio compression of the (n + 1) th sample is performed. However, in this case, 1.2 seconds are assigned to the compression of the image and the sound, which is 0.2 seconds of the carry-over time from the compression of the previous sequence and 1 second of the reference assignment time.

【0049】n+1サンプル目の音声圧縮が0.5秒で
終了したとすると、m+3フレーム目の画像圧縮に割り
当てられる時間は0.7(=1.2−0.5)秒とな
り、これは画像圧縮時間の基準値である0.3秒と比較
して長いので、画像圧縮が可能と判定され、画像圧縮が
実行される。m+3フレーム目の画像圧縮も0.3秒で
終了したとすると、m+4フレーム目の画像圧縮に割り
当てられる時間である0.4(=0.7−0.3)秒が
画像圧縮時間の基準値である0.3秒と比較して長いの
で、画像圧縮が可能と判定され、m+4フレーム目の画
像圧縮が実行される。
Assuming that the audio compression of the (n + 1) -th sample is completed in 0.5 seconds, the time allocated to the image compression of the (m + 3) -th frame is 0.7 (= 1.2−0.5) seconds. Since it is longer than 0.3 seconds, which is the reference value of the compression time, it is determined that image compression is possible, and image compression is performed. Assuming that the image compression of the (m + 3) th frame is completed in 0.3 seconds, 0.4 (= 0.7−0.3) seconds, which is the time allocated to the image compression of the (m + 4) th frame, is a reference value of the image compression time. Therefore, it is determined that image compression is possible, and image compression of the (m + 4) th frame is executed.

【0050】m+4フレーム目の画像圧縮も0.3秒で
終了したとすると、m+5フレーム目の画像圧縮に割り
当てられる時間である0.1(=0.4−0.3)秒
が、画像圧縮時間の基準値である0.3秒と比較して短
いので、画像圧縮は行えないと判定される。そのため、
画像の圧縮はここで終了し、n+2サンプル目の音声圧
縮が行われる。ただし、この場合の画像・音声の圧縮に
は前シーケンスの圧縮からの繰り越し時間の0.1秒と
基準となる割り当て時間の1秒の合わせて1.1秒が割
り当てられることになる。以下、上記と同様の動作が繰
り返される。
Assuming that the image compression of the (m + 4) -th frame is completed in 0.3 seconds, 0.1 (= 0.4−0.3) seconds, which is the time allocated to the image compression of the (m + 5) -th frame, is equal to the image compression. Since it is shorter than 0.3 seconds, which is the reference value of time, it is determined that image compression cannot be performed. for that reason,
The compression of the image ends here, and the audio compression of the (n + 2) th sample is performed. However, in this case, 1.1 seconds are assigned to the compression of the image and sound, which is 0.1 seconds of the carry-over time from the compression of the previous sequence and 1 second of the reference assignment time. Hereinafter, the same operation as described above is repeated.

【0051】さらに負荷が増加した場合でも、画像圧縮
を行わないことで1シーケンスに必要な割り当て時間を
減らすことができるため、上記の図10の場合と同様に
次の圧縮処理を前倒しにすることで次のシーケンスの割
り当て時間を増やす事が可能になる。図11にこの一例
を示す。
Even if the load further increases, the allocation time required for one sequence can be reduced by not performing image compression, so that the next compression processing is brought forward as in the case of FIG. Thus, it is possible to increase the allocation time of the next sequence. FIG. 11 shows an example of this.

【0052】図11において、iシーケンス目の画像圧
縮時間の基準値が0.4秒であったとする。iサンプル
目の音声圧縮が図11に示すように0.7秒かかったと
すると、jフレーム目の画像圧縮に割り当てられる時間
は0.3(=1.0−0.7)秒であり、これは画像圧
縮時間の基準値が0.4秒より短いので、画像圧縮は実
行されずにiシーケンス目の圧縮を終了する。
In FIG. 11, it is assumed that the reference value of the image compression time of the i-th sequence is 0.4 seconds. Assuming that the audio compression of the i-th sample takes 0.7 seconds as shown in FIG. 11, the time allocated to the image compression of the j-th frame is 0.3 (= 1.0−0.7) seconds. Since the reference value of the image compression time is shorter than 0.4 seconds, the compression of the i-th sequence is terminated without executing the image compression.

【0053】i+1シーケンス目の圧縮において、この
シーケンスに割り当てられる圧縮処理時間は前シーケン
スの圧縮からの繰り越し時間の0.3秒と基準となる割
り当て時間の1秒の合わせて1.3秒が割り当てられ、
音声圧縮に0.7秒かかったとすると画像圧縮には0.
6秒が割り当てられる。この画像圧縮に割り当てられた
0.6秒は、現在の画像圧縮の処理時間の基準値である
0.4秒に比べて長いので、図11に示すように、i+
1シーケンス目の最初の画像であるj+3フレーム目の
画像の圧縮処理が実行される。
In the compression of the (i + 1) th sequence, the compression processing time allocated to this sequence is 1.3 seconds, which is a total of 0.3 seconds of the carry-over time from the compression of the previous sequence and 1 second of the reference allocation time. And
If it took 0.7 seconds to compress the audio, then 0.
Six seconds are allocated. Since 0.6 seconds allocated to this image compression is longer than 0.4 seconds which is the current reference value of the processing time of image compression, as shown in FIG.
The compression processing of the image of the (j + 3) th frame which is the first image of the first sequence is executed.

【0054】このように画像バッファ81及び音声バッ
ファ82にデータを溜めてから圧縮処理を開始すること
で圧縮処理の遅れを吸収できるだけでなく、前倒しをで
きるために音声の圧縮が途切れることはなく、画像の圧
縮は実行されないシーケンスはあっても、その後数シー
ケンスのうちには画像圧縮ができるように更新される圧
縮装置が実現できる。
By starting the compression processing after storing the data in the image buffer 81 and the audio buffer 82 in this way, not only can the delay of the compression processing be absorbed, but also the compression of the audio is not interrupted because it can be advanced. Even if there is a sequence in which image compression is not performed, a compression device that is updated so that image compression can be performed in a few sequences thereafter can be realized.

【0055】次に、現在のCPUの処理能力に応じて、
音声が途切れることの無いように音声伸張と画像伸張を
切り替えて処理する伸張制御装置の実施例について説明
する。図8は伸張制御装置の一実施例のブロック図を示
す。同図において、伸張制御装置90は、前記伸張制御
手段27の実施例で、少なくとも画像符号バッファ91
及び音声符号バッファ92を有する。また、画像伸張装
置93及び音声伸張装置94は、前記画像伸張手段28
及び音声伸張手段29の実施例である。
Next, according to the current processing capacity of the CPU,
An embodiment of a decompression control device that performs processing by switching between audio decompression and image decompression so that audio is not interrupted will be described. FIG. 8 shows a block diagram of one embodiment of the decompression control device. In the figure, a decompression control device 90 is an embodiment of the decompression control means 27 and has at least an image code buffer 91.
And a voice code buffer 92. In addition, the image decompression device 93 and the audio decompression device 94
And an embodiment of the voice expansion means 29.

【0056】伸張制御装置90は入力された圧縮符号化
画像データ、圧縮符号化音声データをそれぞれ画像符号
バッファ91、音声符号バッファ92に蓄え、一定量以
上になると画像伸張装置93、音声伸張装置94に渡
す。画像伸張装置93、音声伸張装置94は、入力され
た圧縮符号化画像データ、圧縮符号化音声データを指定
された単位毎に伸張し、得られたデータを伸張制御装置
90へ出力する。
The decompression control device 90 stores the input compressed and coded image data and compressed and coded audio data in the image code buffer 91 and the voice code buffer 92, respectively. Pass to. The image decompression device 93 and the audio decompression device 94 decompress the input compression-encoded image data and compression-encoded audio data in designated units, and output the obtained data to the decompression control device 90.

【0057】図12は伸張制御装置90の動作の一例を
示す図である。同図中、図8と同一構成部分には同一符
号を付してある。ここでは端末間のCPUの処理能力交
換の結果、1秒あたりのデータを音声1サンプル、画像
3フレームとした場合の説明をする。まず、音声が途切
れないように同期伸張するために、入力された音声符号
a1および画像符号p1〜p3をそれぞれ音声符号バッ
ファ92、画像符号バッファ91に保存する。
FIG. 12 is a diagram showing an example of the operation of the decompression control device 90. 8, the same components as those in FIG. 8 are denoted by the same reference numerals. Here, a description will be given of a case where data per second is one sample of audio and three frames of images as a result of the exchange of the processing capacity of the CPU between the terminals. First, the input audio code a1 and image codes p1 to p3 are stored in an audio code buffer 92 and an image code buffer 91, respectively, in order to perform synchronous expansion so that audio is not interrupted.

【0058】音声符号a2および画像符号p4〜p6を
保存している間に画像符号p1〜p3と音声符号a1の
伸張を行う。音声が途切れないように伸張を行う必要が
あるため、まず音声符号a1を伸張する。1サンプルの
音声符号a1の伸張が終了した時点でこのサンプルの音
声伸張に要した時間を測定する。音声符号a1の伸張に
0.4秒かかったとすると、残りの0.6秒で1フレー
ムの画像伸張が終了するか判定する。
While the audio code a2 and the image codes p4 to p6 are stored, the image code p1 to p3 and the audio code a1 are expanded. Since it is necessary to perform expansion so that the voice is not interrupted, first, the voice code a1 is expanded. At the time when the decompression of the voice code a1 of one sample is completed, the time required for voice decompression of this sample is measured. Assuming that the extension of the audio code a1 takes 0.4 seconds, it is determined whether the image extension of one frame is completed in the remaining 0.6 seconds.

【0059】1フレーム目の判定に使われる画像伸張時
間の基準値は端末間の能力交換時に設定された初期値を
使用する。今回、この初期値が0.2秒であったとする
と、画像伸張に割り当てられた時間0.6秒より短いの
で、1フレームの画像伸張が可能であると判定されるた
め画像伸張を行う。1フレームの画像符号p1の伸張が
終了した時点で、このフレームの画像伸張に要した時間
を測定する。ここで測定された伸張時間を次フレームの
伸張時間の基準値として使うため、画像伸張時間の基準
値を更新する。
The reference value of the image expansion time used for the determination of the first frame uses an initial value set at the time of capability exchange between terminals. In this case, if the initial value is 0.2 seconds, the time allocated to image expansion is shorter than 0.6 seconds, and it is determined that image expansion of one frame is possible, so image expansion is performed. When the expansion of the image code p1 of one frame is completed, the time required for image expansion of this frame is measured. In order to use the measured extension time as a reference value for the extension time of the next frame, the reference value of the image extension time is updated.

【0060】フレーム1の画像符号p1の伸張に図12
に示すように0.2秒かかったとすると、残りの0.4
秒で次の1フレームの画像符号p2の伸張が行えるかを
判定する。このように画像伸張処理を繰り返すことで、
上記例では音声1サンプルの伸張と画像3フレームの伸
張を各シーケンスで行うことができる。
FIG. 12 shows the expansion of the image code p1 of the frame 1.
Assuming that it took 0.2 seconds as shown in
It is determined whether the image code p2 of the next one frame can be expanded in seconds. By repeating the image expansion process in this way,
In the above example, one voice sample and three image frames can be expanded in each sequence.

【0061】また、音声伸張が1サンプル分終了してか
ら画像伸張に切り替えるため、伸張処理時に使用するサ
イズの大きなレジスタを保存のためのオーバヘッドが発
生せず高速な動作が実現できる。また、次の1シーケン
スを入力し終わるまでに1サンプルの音声伸張処理が終
了するため途切れなく音声を伸張することができる。
Since switching to image decompression is performed after audio decompression is completed for one sample, high-speed operation can be realized without generating overhead for storing a large-sized register used in decompression processing. In addition, since the audio decompression process of one sample is completed before the input of the next one sequence, the audio can be extended without interruption.

【0062】しかし、処理量の多いアプリケーションな
どを同時に動作させると、起動時に行った能力交換で設
定された処理能力が得られない場合が発生する。そのよ
うな場合の処理を図13を使用して説明する。
However, when applications with a large amount of processing are simultaneously operated, a case may occur in which the set processing capacity cannot be obtained by the capacity exchange performed at the time of startup. The processing in such a case will be described with reference to FIG.

【0063】図13において、nシーケンス目の伸張時
に他のアプリケーションが動作するなどしてCPUに対
する負荷が増加したとする。nサンプル目の音声伸張に
0.5秒かかったとすると、画像伸張に割り当てられる
処理時間は0.5(=1.0−0.5)秒になる。現
在、画像伸張は1フレームあたり0.2秒で伸張ができ
ると設定されており、この時間は上記の画像伸張に割り
当てられた処理時間0.5秒より短いので、画像伸張に
割り当てられている時間で1フレームの伸張は行えると
判定され、画像伸張処理が呼び出され、mフレーム目の
画像伸張が行われる。
In FIG. 13, it is assumed that the load on the CPU has increased due to the operation of another application during the expansion of the n-th sequence. If it takes 0.5 seconds for the audio expansion of the n-th sample, the processing time allocated to image expansion is 0.5 (= 1.0-0.5) seconds. At present, it is set that image expansion can be performed in 0.2 seconds per frame, and since this time is shorter than the processing time 0.5 seconds allocated to image expansion described above, it is allocated to image expansion. It is determined that one frame can be expanded in time, the image expansion process is called, and the image expansion of the m-th frame is performed.

【0064】mフレーム目の画像伸張が終了して伸張時
間を測定したところ0.3秒かかっていたとすると、m
+1フレーム目の画像伸張に割り当てられる時間は0.
2(=0.5−0.3)秒となり、新しく設定された画
像伸張に必要な時間の基準値である0.3秒と比較して
画像伸張は行えないと判定される。そのため、画像の伸
張はここで終了し、n+1シーケンス目の音声伸張が行
われる。ただし、この場合の画像・音声の伸張には前シ
ーケンスの伸張からの繰り越し時間の0.2秒と基準と
なる割り当て時間の1秒とを合わせて1.2秒が割り当
てられることになる。
When the image expansion of the m-th frame is completed and the expansion time is measured, it takes 0.3 seconds.
The time allocated to the image expansion of the (+1) th frame is 0.
2 (= 0.5−0.3) seconds, and it is determined that image expansion cannot be performed as compared with 0.3 seconds, which is a reference value of the time required for newly set image expansion. Therefore, image expansion ends here, and audio expansion of the (n + 1) th sequence is performed. However, in this case, 1.2 seconds are assigned to the extension of the image / sound, including 0.2 seconds of the carry-over time from the extension of the previous sequence and 1 second of the reference assignment time.

【0065】n+1サンプル目の音声伸張が0.5秒で
終了したとすると、図13に示すように、n+1シーケ
ンス目の最初のフレームの圧縮符号化画像データである
m+3フレーム目の画像伸張に割り当てられる時間は
0.7(=1.2−0.5)秒となり、これは画像伸張
時間の基準値である0.3秒と比較して長いので画像伸
張が可能と判定され、画像伸張が実行される。
Assuming that the audio expansion of the (n + 1) -th sample is completed in 0.5 seconds, as shown in FIG. 13, the audio is allocated to the (m + 3) -th frame, which is the compression-encoded image data of the first frame of the (n + 1) -th sequence. The time taken is 0.7 (= 1.2−0.5) seconds, which is longer than the reference value of 0.3 seconds which is the reference value of the image expansion time. Be executed.

【0066】m+3フレーム目の画像伸張も0.3秒で
終了したとすると、m+4フレーム目の画像伸張に割り
当てられる時間は0.4(=0.7−0.3)となり、
これは画像伸張時間の基準値である0.3秒と比較して
長いので画像伸張が可能であると判定されるため、次の
m+4フレーム目の画像伸張が実行される。以下、上記
と同様の動作が繰り返される。
Assuming that the image expansion of the (m + 3) th frame is completed in 0.3 seconds, the time allocated to the image expansion of the (m + 4) th frame is 0.4 (= 0.7−0.3).
Since this is longer than the reference value of 0.3 seconds which is the reference value of the image expansion time, it is determined that the image can be expanded, and the image expansion of the next (m + 4) th frame is executed. Hereinafter, the same operation as described above is repeated.

【0067】さらに負荷が増加した場合でも、画像伸張
を行わないことで1シーケンスに必要な割り当て時間を
減らすことができるため、上記の図13の場合と同様に
次の伸張処理を前倒しにすることで、次のシーケンスの
割り当て時間を増やす事が可能になる。図14にこの一
例を示す。
Even if the load further increases, the time required for one sequence can be reduced by not performing image decompression, so that the next decompression processing is brought forward as in the case of FIG. Thus, it is possible to increase the allocation time of the next sequence. FIG. 14 shows an example of this.

【0068】図14において、iシーケンス目の画像伸
張時間の基準値が0.4秒であったとする。図14に示
すように、iサンプル目の音声伸張が0.7秒かかった
とすると、iシーケンス目の最初の1フレームの伸張符
号化画像データであるjフレーム目の画像伸張に割り当
てられる時間は0.3(=1.0−0.7)秒であり、
画像伸張時間の基準値である0.4秒よりも短いので、
画像伸張は実行されずにiシーケンス目の伸張を終了す
る。
In FIG. 14, it is assumed that the reference value of the image expansion time of the i-th sequence is 0.4 seconds. As shown in FIG. 14, assuming that the audio expansion of the i-th sample takes 0.7 seconds, the time allocated to the image expansion of the j-th frame, which is the expansion encoded image data of the first frame of the i-th sequence, is 0. .3 (= 1.0-0.7) seconds,
Since it is shorter than the reference value of 0.4 seconds,
The extension of the i-th sequence is completed without performing the image extension.

【0069】i+1シーケンス目の伸張において、この
シーケンスに割り当てられる伸張処理時間は前シーケン
スの伸張からの繰り越し時間の0.3秒と基準となる割
り当て時間の1秒の合わせて1.3秒が割り当てられ、
音声伸張に0.7秒かかったとすると画像伸張には0.
6秒が割り当てられる。この画像伸張に割り当てられた
0.6秒は、現在の画像伸張の処理時間の基準値である
0.4秒に比べて長いので、図14に示すように、i+
1シーケンス目の最初の圧縮符号化画像データであるj
+3フレーム目の圧縮画像の伸張処理が実行される。
In the decompression of the (i + 1) th sequence, the decompression processing time allocated to this sequence is 1.3 seconds in total, which is 0.3 seconds of the carry-over time from the decompression of the previous sequence and 1 second of the reference allocation time. And
If it takes 0.7 seconds to expand the audio, 0.
Six seconds are allocated. Since 0.6 seconds allocated to this image decompression is longer than 0.4 seconds, which is the reference value of the current processing time of image decompression, as shown in FIG.
J which is the first compression-encoded image data of the first sequence
Decompression processing of the +3 frame compressed image is executed.

【0070】このように、画像符号バッファ91及び音
声符号バッファ92にデータを溜めてから伸張処理を開
始することで、伸張処理の遅れを吸収できるだけでな
く、前倒しをできるために音声の伸張が途切れることは
なく、画像の伸張は実行されないシーケンスはあって
も、その後数シーケンスのうちには画像伸張ができるよ
うに更新される伸張装置が実現できる。
As described above, by starting the decompression process after storing data in the image code buffer 91 and the audio code buffer 92, not only can the delay of the decompression process be absorbed, but also the decompression of the sound is interrupted because the data can be moved forward. That is to say, even if there is a sequence in which image expansion is not performed, an expansion device that is updated so that image expansion can be performed in a few sequences thereafter can be realized.

【0071】[0071]

【発明の効果】以上説明したように、本発明によれば、
音声圧縮・伸張が優先して行われるため、音声信号が途
切れることなく圧縮・伸張されて出力でき、また、音声
圧縮と画像圧縮とを交互に行うようにしているため、音
声と画像の切換時に発生するレジスタ保存の処理を最小
限に抑えることができる。
As described above, according to the present invention,
Since audio compression / expansion is performed with priority, audio signals can be compressed / expanded and output without interruption.Also, audio compression and image compression are alternately performed, so when switching between audio and image The processing of register storage that occurs can be minimized.

【0072】また、本発明によれば、指定された単位時
間から測定音声圧縮・伸張時間を差し引いた時間が画像
圧縮・伸張手段による画像圧縮・画像伸張に要する時間
より短いときは、音声圧縮・伸張処理を前倒しで行うこ
とで、画像信号の次のシーケンスの割り当て時間を増や
すようにしたため、画像信号を欠落情報最小限にして圧
縮・伸張できる。
According to the present invention, when the time obtained by subtracting the measured voice compression / expansion time from the designated unit time is shorter than the time required for the image compression / decompression by the image compression / decompression means, the voice compression / decompression is performed. By performing the decompression processing ahead of time, the allocation time of the next sequence of the image signal is increased, so that the image signal can be compressed and decompressed with the minimum missing information.

【0073】また、本発明によれば、画像及び音声の圧
縮手段及び伸張手段を呼び出すタイミングや呼び出す回
数で同期処理を実現しているため、圧縮手段や伸張手段
に変更を加えることなく処理が実現できる。
Further, according to the present invention, since the synchronous processing is realized by the timing and the number of times of calling the image and audio compression means and expansion means, the processing can be realized without changing the compression means and expansion means. it can.

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

【図1】本発明になる画像・音声同期処理装置における
圧縮装置の一実施の形態のブロック図である。
FIG. 1 is a block diagram of an embodiment of a compression device in an image / sound synchronization processing device according to the present invention.

【図2】本発明になる画像・音声同期処理装置における
伸張装置の一実施の形態のブロック図である。
FIG. 2 is a block diagram of an embodiment of a decompression device in the image / sound synchronization processing device according to the present invention.

【図3】図1の動作説明用フローチャートである。FIG. 3 is a flowchart for explaining the operation of FIG. 1;

【図4】図1の圧縮制御手段の動作説明フローチャート
である。
FIG. 4 is a flowchart illustrating the operation of a compression control unit in FIG. 1;

【図5】図2の動作説明用フローチャートである。FIG. 5 is a flowchart for explaining the operation of FIG. 2;

【図6】図2の伸張制御手段の動作説明用フローチャー
トである。
FIG. 6 is a flowchart for explaining the operation of the decompression control means in FIG. 2;

【図7】本発明における圧縮制御装置の一実施例のブロ
ック図である。
FIG. 7 is a block diagram of an embodiment of a compression control device according to the present invention.

【図8】本発明における伸張制御装置の一実施例のブロ
ック図である。
FIG. 8 is a block diagram of an embodiment of a decompression control device according to the present invention.

【図9】図7の一例の動作説明図である。FIG. 9 is an operation explanatory diagram of an example of FIG. 7;

【図10】図7の他の例の動作説明図である。FIG. 10 is an operation explanatory diagram of another example of FIG. 7;

【図11】図7の更に他の例の動作説明図である。FIG. 11 is an operation explanatory diagram of still another example of FIG. 7;

【図12】図8の一例の動作説明図である。FIG. 12 is a diagram illustrating an operation of the example of FIG. 8;

【図13】図8の他の例の動作説明図である。FIG. 13 is an operation explanatory diagram of another example of FIG. 8;

【図14】図8の更に他の例の動作説明図である。FIG. 14 is an operation explanatory diagram of still another example of FIG. 8;

【図15】従来の画像・音声同期処理装置における圧縮
装置の一例のブロック図である。
FIG. 15 is a block diagram of an example of a compression device in a conventional image / sound synchronization processing device.

【図16】従来の画像・音声同期処理装置における伸張
装置の一例のブロック図である。
FIG. 16 is a block diagram of an example of a decompression device in a conventional image / sound synchronization processing device.

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

1、21 中央処理装置(CPU) 2、22 装置制御手段 3 画像入力手段 4 カメラ 5 音声入力手段 6 マイク 7 圧縮制御手段 8 画像圧縮手段 9 音声圧縮手段 10 符号合成手段 11 送信手段 12、32 モデム 23 画像出力手段 24 モニタ 25 音声出力手段 26 スピーカ 27 伸張制御手段 28 画像伸張手段 29 音声伸張手段 30 符号分離手段 31 受信手段 80 圧縮制御装置 81 画像バッファ 82 音声バッファ 90 伸張制御装置 91 画像符号バッファ 92 音声符号バッファ DESCRIPTION OF SYMBOLS 1, 21 Central processing unit (CPU) 2, 22 Device control means 3 Image input means 4 Camera 5 Audio input means 6 Microphone 7 Compression control means 8 Image compression means 9 Audio compression means 10 Code synthesis means 11 Transmission means 12, 32 Modem Reference Signs List 23 image output means 24 monitor 25 audio output means 26 speaker 27 expansion control means 28 image expansion means 29 audio expansion means 30 code separation means 31 reception means 80 compression control device 81 image buffer 82 audio buffer 90 expansion control device 91 image code buffer 92 Voice code buffer

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 リアルタイムで画像信号と音声信号を入
力する入力手段と、 入力された前記画像信号を圧縮する画像圧縮手段と、 入力された前記音声信号を圧縮する音声圧縮手段と、 前記画像圧縮手段による画像圧縮と前記音声圧縮手段に
よる音声圧縮のうち、指定された単位時間内で1サンプ
ル分の音声信号の圧縮を優先して行うように前記音声圧
縮手段を制御すると共に、前記音声圧縮に要した時間を
測定し、前記指定された単位時間から該測定音声圧縮時
間を差し引いた時間が前記画像圧縮手段による画像圧縮
に要する時間より長いときに、該画像圧縮手段により前
記1サンプル分の音声信号に対応した画像信号を画像圧
縮させる圧縮制御手段と、 前記音声圧縮手段の出力圧縮符号化音声データと前記画
像圧縮手段の出力圧縮符号化画像データとをそれぞれ合
成して出力する出力手段とを有することを特徴とする画
像・音声同期処理装置。
An input unit for inputting an image signal and an audio signal in real time; an image compression unit for compressing the input image signal; an audio compression unit for compressing the input audio signal; Means for controlling the audio compression means so as to give priority to compression of an audio signal for one sample within a specified unit time among image compression by the means and audio compression by the audio compression means. When the time required is measured and the time obtained by subtracting the measured audio compression time from the specified unit time is longer than the time required for image compression by the image compression means, the sound for one sample is output by the image compression means. Compression control means for image-compressing an image signal corresponding to a signal; output compression-encoded audio data of the audio compression means; and output compression-encoding of the image compression means Image and sound synchronization processing apparatus characterized by an output means for outputting the image data respectively synthesized and.
【請求項2】 前記圧縮制御手段は、前記指定された単
位時間から該測定音声圧縮時間を差し引いた時間が前記
画像圧縮手段による画像圧縮に要する時間より短いとき
は、該画像圧縮手段による画像圧縮に代えて次の1サン
プル分の音声圧縮を前記音声圧縮手段に行わせることを
特徴とする請求項1記載の画像・音声同期処理装置。
2. The image compression device according to claim 2, wherein the time obtained by subtracting the measured audio compression time from the designated unit time is shorter than the time required for image compression by the image compression device. 2. The image / sound synchronization processing apparatus according to claim 1, wherein said sound compression means causes said sound compression means to perform sound compression for the next one sample instead of the sound compression.
【請求項3】 前記画像圧縮手段による画像圧縮に要す
る時間は、前回の画像圧縮に要する時間に更新されるこ
とを特徴とする請求項1記載の画像・音声同期処理装
置。
3. The image / audio synchronous processing apparatus according to claim 1, wherein the time required for image compression by said image compression means is updated to the time required for previous image compression.
【請求項4】 圧縮符号化音声データと圧縮符号化画像
データとが符号合成されたデータを受信する受信手段
と、 前記符号合成データから前記圧縮符号化音声データと圧
縮符号化画像データとを分離する符号分離手段と、 前記圧縮符号化画像データを伸張する画像伸張手段と、 前記圧縮符号化音声データを伸張する音声伸張手段と、 前記画像伸張手段による画像伸張と前記音声伸張手段に
よる音声伸張のうち、指定された単位時間内で1サンプ
ル分の圧縮符号化音声データの伸張を優先して行うよう
に前記音声伸張手段を制御すると共に、前記音声伸張に
要した時間を測定し、前記指定された単位時間から該測
定音声伸張時間を差し引いた時間が前記画像伸張手段に
よる画像伸張に要する時間より長いときに、該画像伸張
手段により前記1サンプル分の圧縮符号化音声データに
対応した圧縮符号化画像データを画像伸張させる伸張制
御手段と、 前記音声伸張手段の出力音声データと前記画像伸張手段
の出力画像データとをそれぞれ同期出力する同期出力手
段とを有することを特徴とする画像・音声同期処理装
置。
4. Receiving means for receiving data obtained by code-synthesizing the compression-encoded audio data and the compression-encoded image data, and separating the compression-encoded audio data and the compression-encoded image data from the code-combined data. Code decompressing means, image decompressing means for decompressing the compressed and coded image data, sound decompressing means for decompressing the compressed and coded audio data, and image decompression by the image decompression means and audio decompression by the sound decompression means. The audio expansion unit is controlled so that expansion of the compression-encoded audio data for one sample is preferentially performed within a specified unit time, and the time required for the audio expansion is measured. When the time obtained by subtracting the measured sound expansion time from the unit time is longer than the time required for image expansion by the image expansion means, Decompression control means for image decompression of the compressed and encoded image data corresponding to the compressed and encoded audio data for the sample, and a synchronous output for synchronously outputting the output audio data of the audio decompression means and the output image data of the image decompression means, respectively. And an image / sound synchronization processing device.
【請求項5】 前記伸張制御手段は、前記指定された単
位時間から該測定音声伸張時間を差し引いた時間が前記
画像伸張手段による画像伸張に要する時間より短いとき
は、該画像伸張手段による画像伸張に代えて次の1サン
プル分の音声伸張を前記音声伸張手段に行わせることを
特徴とする請求項4記載の画像・音声同期処理装置。
5. The image expansion device according to claim 1, wherein when the time obtained by subtracting the measured voice expansion time from the specified unit time is shorter than the time required for image expansion by the image expansion device, the image expansion device performs image expansion by the image expansion device. 5. The image / sound synchronization processing device according to claim 4, wherein the sound expansion unit causes the sound expansion unit to perform sound expansion for the next one sample.
【請求項6】 前記画像伸張手段による画像伸張に要す
る時間は、前回の画像伸張に要する時間に更新されるこ
とを特徴とする請求項4記載の画像・音声同期処理装
置。
6. The image / audio synchronization processing apparatus according to claim 4, wherein the time required for image expansion by said image expansion means is updated to the time required for the previous image expansion.
JP14154497A 1997-05-30 1997-05-30 Image and audio synchronization processing device Expired - Fee Related JP2885227B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14154497A JP2885227B2 (en) 1997-05-30 1997-05-30 Image and audio synchronization processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14154497A JP2885227B2 (en) 1997-05-30 1997-05-30 Image and audio synchronization processing device

Publications (2)

Publication Number Publication Date
JPH10336644A true JPH10336644A (en) 1998-12-18
JP2885227B2 JP2885227B2 (en) 1999-04-19

Family

ID=15294447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14154497A Expired - Fee Related JP2885227B2 (en) 1997-05-30 1997-05-30 Image and audio synchronization processing device

Country Status (1)

Country Link
JP (1) JP2885227B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010213179A (en) * 2009-03-12 2010-09-24 Seiko Epson Corp Apparatus, system, method, and program for supplying image voice

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010213179A (en) * 2009-03-12 2010-09-24 Seiko Epson Corp Apparatus, system, method, and program for supplying image voice

Also Published As

Publication number Publication date
JP2885227B2 (en) 1999-04-19

Similar Documents

Publication Publication Date Title
US5790179A (en) Multi-point motion picture encoding and decoding apparatus
JP2005354734A (en) Method and apparatus for providing scalable compressed video signal
US20030143985A1 (en) Method, apparatus, and system for transmitting moving image data
JP3438223B2 (en) Multiplexing device and multiplexing method, and transmission device and transmission method
JP2004173118A (en) Device for generating audio and video multiplexed data, reproducing device and moving image decoding device
JP2885227B2 (en) Image and audio synchronization processing device
US6430221B1 (en) Transmitter, receiver, transmitting method and receiving method
JPH0519729A (en) Image device and its sound volume control method
JP2001136503A (en) Video conference terminal and image and sound reproducing method used for the same
JPH08102908A (en) Reproducing device
JP2002290973A (en) Multimedia communication equipment
JPH1169330A (en) Image communication equipment provided with automatic answering function
JPH07177504A (en) Dynamic image decoder
JPH1013825A (en) Multi-screen display system
JP3000949B2 (en) Audio / video synchronous compression / playback apparatus and method
JPH08265700A (en) Image signal decoding method and device
JPH11239347A (en) Image data coder and image data coding method
JPS62145985A (en) Voice delay time control method
JPH10174065A (en) Image audio multiplex data edit method and its device
JPH10191276A (en) Animation encoding/multiplex device
JPH0715708A (en) Image transmission system
JP2002094996A (en) Receiver
JP3295204B2 (en) Video playback method
JP2000197072A (en) Receiver for digital serial video signal
JPH11346348A (en) Video/audio synchronization method and video/audio multiplexer

Legal Events

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

Free format text: PAYMENT UNTIL: 20080212

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090212

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100212

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100212

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110212

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110212

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120212

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120212

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

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

Free format text: PAYMENT UNTIL: 20120212

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20120212

Year of fee payment: 13

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130212

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20130212

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20130212

Year of fee payment: 14

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees