JP3133113B2 - Compressed video data expansion / reproduction system - Google Patents

Compressed video data expansion / reproduction system

Info

Publication number
JP3133113B2
JP3133113B2 JP28165991A JP28165991A JP3133113B2 JP 3133113 B2 JP3133113 B2 JP 3133113B2 JP 28165991 A JP28165991 A JP 28165991A JP 28165991 A JP28165991 A JP 28165991A JP 3133113 B2 JP3133113 B2 JP 3133113B2
Authority
JP
Japan
Prior art keywords
cpu
reproduction
load
decompression
moving image
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
JP28165991A
Other languages
Japanese (ja)
Other versions
JPH05122681A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP28165991A priority Critical patent/JP3133113B2/en
Publication of JPH05122681A publication Critical patent/JPH05122681A/en
Application granted granted Critical
Publication of JP3133113B2 publication Critical patent/JP3133113B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は同一システム上で圧縮さ
れた動画データを伸長、再生時にさらに他の応用プログ
ラムを実行し、同一ディスプレイ上に表示することので
きる圧縮動画データ伸長再生システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for expanding and reproducing compressed moving image data which can execute another application program when expanding and reproducing moving image data compressed on the same system and display the same on the same display.

【0002】[0002]

【従来の技術】従来、圧縮された動画データを伸長、再
生するシステムとしては、例えば、『NIKKEI B
YTE 』/AUGUST 日経BP社 1989 3
09頁〜321頁に記載の装置がある。
2. Description of the Related Art Conventionally, as a system for expanding and reproducing compressed moving image data, for example, "NIKKEI B
YTE / AUGUST Nikkei BP 1989 3
There is an apparatus described on pages 09 to 321.

【0003】上記従来技術を図2、図4および図6を用
いて説明する。図2は従来のシステム構成図、図4は従
来のシステムのCPU(Central Processing Unit)負荷
状態を示す図、図6はCPUの負荷状態を処理別に示す
図である。
The above prior art will be described with reference to FIGS. 2, 4 and 6. FIG. 2 is a diagram illustrating a conventional system configuration, FIG. 4 is a diagram illustrating a CPU (Central Processing Unit) load state of the conventional system, and FIG. 6 is a diagram illustrating a CPU load state by processing.

【0004】図2において、システムバス1は共通バス
であり、CPU2、表示制御回路3、動画伸長・再生部
4、動画ファイル5、入出力インターフェイス6、メモ
リ7およびプログラムデータファイル8が接続されてい
る。入出力インターフェイス6には、入力装置のキーボ
ード20とマウス19とが接続されており、動画再生等
の入力指示を受け付けてシステムバスに出力する。動画
ファイル5には、圧縮された動画データを蓄積してい
る。メモリ7には、伸長された動画データやプログラム
データファイル8のマイクロプログラムを展開して一時
的に蓄積したりする。プログラムデータファイル8は動
画の圧縮伸長の制御プログラムや、表計算やグラフ表
示、統計処理などのアプリケーションプログラム(応用
プログラム)のマイクロプログラムを記憶している。動
画伸長・再生部4は、動画ファイル5の圧縮された動画
データをプログラムデータファイル8のプログラムにし
たがって伸長再生して、動画出力10と音声信号14と
を出力する。ここで、通常の伸長再生方法を方式1とい
う。表示制御回路3は、ディスプレイ13に出力する際
のレイアウトの指示や、他のアイコン表示、アプリケー
ション処理後のグラフや表の表示制御をして、表示出力
9を出力する。表示制御回路3から出力される表示出力
9と動画伸長・再生部4から出力される動画出力10
は、表示重ね合わせ回路(MIX)11に入力される。
表示重ね合わせ回路11から出力する表示信号12はデ
ィスプレイ13に入力される。動画伸長・再生部4から
出力される音声信号14はスピーカー15に入力され
る。CPU2では、動画伸長・再生部4での起動指示、
メモリへのアクセス、制御プログラムのロード、レジス
タの設定、表示制御や、グラフ・表などのアプリケーシ
ョンプログラムの処理等を行う。
In FIG. 2, a system bus 1 is a common bus, and is connected to a CPU 2, a display control circuit 3, a moving image decompression / reproduction unit 4, a moving image file 5, an input / output interface 6, a memory 7, and a program data file 8. I have. The input / output interface 6 is connected to a keyboard 20 and a mouse 19 of an input device, and receives an input instruction for reproducing a moving image or the like and outputs it to a system bus. The moving image file 5 stores compressed moving image data. The expanded moving image data and the microprogram of the program data file 8 are expanded and temporarily stored in the memory 7. The program data file 8 stores a control program for compression / decompression of a moving image, and a microprogram of an application program (application program) such as a spreadsheet, a graph display, and a statistical process. The moving picture decompression / reproduction unit 4 decompresses and reproduces the moving picture data of the moving picture file 5 in accordance with the program of the program data file 8, and outputs a moving picture output 10 and an audio signal 14. Here, the normal decompression reproduction method is referred to as method 1. The display control circuit 3 outputs a display output 9 by instructing layout when outputting to the display 13, displaying other icons, and controlling display of graphs and tables after application processing. A display output 9 output from the display control circuit 3 and a video output 10 output from the video decompression / reproduction unit 4
Is input to the display superposition circuit (MIX) 11.
The display signal 12 output from the display superposition circuit 11 is input to the display 13. The audio signal 14 output from the video decompression / reproduction unit 4 is input to a speaker 15. In the CPU 2, a start instruction in the moving image decompression / reproduction unit 4 is provided.
It accesses memory, loads control programs, sets registers, controls display, and processes application programs such as graphs and tables.

【0005】説明の便宜上、CPUの負荷状態をわかり
やすくするために、図6のように各処理におけるCPU
の負荷を仮定する。実際にCPUの負荷状態を知るに
は、割込み信号をカウントしたりシステムバス上のデー
タを監視したりする。図6において、図2のシステムが
作動状態であり、動画再生や他のアプリケーションを実
行していない場合を定常状態とし、定常状態におけるC
PU負荷を20%±5%と仮定する。動画を伸長再生し
ているときのCPU負荷を60%±5%(方式1の場
合)と仮定する。他アプリケーション実行時のCPU負
荷を30%±5%と仮定する。
For the sake of convenience, in order to make the load state of the CPU easy to understand, as shown in FIG.
Assume a load of In order to actually know the load state of the CPU, an interrupt signal is counted or data on the system bus is monitored. In FIG. 6, when the system of FIG. 2 is in the operating state and the moving image playback or other application is not executed, the steady state is set.
Assume a PU load of 20% ± 5%. It is assumed that the CPU load when the moving image is expanded and reproduced is 60% ± 5% (in the case of the method 1). Assume that the CPU load during execution of another application is 30% ± 5%.

【0006】図4は、図2に示すのシステムが定常状態
から動画の再生を起動し、動画再生中にさらに他のアプ
リケーションを起動した場合のCPUの負荷状態を示し
ている。図4において、CPUの負荷は、現在CPUが
行っている各処理に対する負荷が加算されるものとして
示している。定常状態ではCPUには15〜25%の負
荷がかかっている。図2に示すシステムにおいて、入力
装置から動画の再生を起動すると、CPU2は動画圧縮
ファイル5から圧縮された動画データを読みだし、動画
伸長・再生部4に入力する。動画伸長・再生部4では、
方式1に従ってデータを伸長、再生し、動画出力10と
音声信号14とを出力する。動画出力10と、表示制御
回路3からの表示出力9とは、表示重ね合わせ回路11
で重ね合わせて表示信号12とし、ディスプレイ13に
動画が表示される。また、音声信号14は、スピーカー
15に入力され、スピーカー15が音声を出力する。こ
の動画伸長、再生時(方式1)で60%±5%のCPU
負荷がさらにかかるので、図4に示すように全体で70
〜90%のCPU負荷状態となる。つぎに、他アプリケ
ーションを起動させる。図2において、キーボード20
あるいはマウス19等の入力装置は、他アプリケーショ
ンの起動指示を受け付けて、CPU2は他アプリケーシ
ョンの起動を行う。CPU2は、プログラムデータファ
イル8からプログラムデータを読みだし、メモリ7にプ
ログラムを展開する。CPU2でプログラムにしたがっ
て処理を行い、表示制御回路3により表示を行い、ディ
スプレイ13に表示する。このとき、CPU2にはさら
に25〜30%の負荷が加わるので図4に示すように、
全体としては95〜125%の負荷となり、CPUの負
荷状態が100%を超えることになり(図4の斜線で示
す)、この時点で処理は正常に行われないことになる。
従来は、負荷状態を検出していないので、負荷状態が1
00%を超えると、動画の再生フレームレートが小さく
なったり、システム全体が停止したり、他の応用プログ
ラム処理が停止してしまう。
FIG. 4 shows a load state of the CPU when the system shown in FIG. 2 starts reproduction of a moving image from a steady state and starts another application during reproduction of the moving image. In FIG. 4, the load on the CPU is shown as an addition of the load for each process currently performed by the CPU. In a steady state, a load of 15 to 25% is applied to the CPU. In the system shown in FIG. 2, when the reproduction of a moving image is started from the input device, the CPU 2 reads out the compressed moving image data from the moving image compression file 5 and inputs it to the moving image decompression / reproduction unit 4. In the video decompression / playback unit 4,
The data is expanded and reproduced according to the method 1, and the moving image output 10 and the audio signal 14 are output. The video output 10 and the display output 9 from the display control circuit 3 are combined with a display superposition circuit 11
Are superimposed to form a display signal 12, and a moving image is displayed on the display 13. The audio signal 14 is input to a speaker 15, and the speaker 15 outputs a sound. 60% ± 5% CPU during video expansion and playback (method 1)
Since the load is further increased, as shown in FIG.
The CPU load becomes about 90%. Next, another application is started. In FIG. 2, the keyboard 20
Alternatively, an input device such as the mouse 19 receives an instruction to start another application, and the CPU 2 starts another application. The CPU 2 reads out the program data from the program data file 8 and expands the program in the memory 7. Processing is performed by the CPU 2 according to the program, display is performed by the display control circuit 3, and the display is displayed on the display 13. At this time, a load of 25 to 30% is further applied to the CPU 2, so that as shown in FIG.
The load becomes 95 to 125% as a whole, and the load state of the CPU exceeds 100% (shown by hatching in FIG. 4). At this point, the processing is not performed normally.
Conventionally, since the load state is not detected, the load state becomes 1
If it exceeds 00%, the playback frame rate of the moving image will decrease, the entire system will stop, and the processing of other application programs will stop.

【0007】[0007]

【発明が解決しようとする課題】上記従来技術によれ
ば、ある動画データを伸長、再生しているときに、動画
再生時のCPUの処理負荷と、他の応用プログラムの実
行処理時のCPUの処理負荷とが重なって、CPUにあ
る一定以上の処理負荷がかかると、CPUの処理能力の
限界を越えてしまう。このため、例えば、表計算やグラ
フ表示、統計処理等の他の応用プログラムを同時に実行
し、同じ表示画面上に同時に表示させるようにすると、
正常に動画が再生されず、動画の再生フレームレートが
小さくなったり、システム全体が停止したり、他の応用
プログラム処理が停止してしまう等の問題が生じること
がある。
According to the above prior art, when decompressing and reproducing certain moving image data, the processing load of the CPU during reproduction of the moving image and the processing load of the CPU during the execution processing of another application program are reduced. If the processing load overlaps and a processing load of a certain level or more is applied to the CPU, the processing capacity of the CPU is exceeded. For this reason, for example, if another application program such as a spreadsheet, a graph display, and a statistical process is simultaneously executed and displayed on the same display screen at the same time,
A moving image is not normally reproduced, and a problem such as a decrease in the reproduction frame rate of the moving image, a stop of the entire system, or a stop of other application program processing may occur.

【0008】本発明は、上記課題を解決するために、C
PUの処理負荷を検知して、さらに、システム全体が停
止したりすることがないように、従来システムで使用し
ているCPUを処理能力の高いものに変更せずに、CP
Uの処理負荷をおさえて、圧縮された動画データを伸
長、再生し、同時に他の応用プログラムを実行し、同一
画面上に表示することのできる圧縮動画データ伸長再生
システムを提供することにある。
[0008] In order to solve the above problems, the present invention provides a C
In order to prevent the processing load of the PU from being detected and to stop the entire system from being stopped, the CPU used in the conventional system is not changed to a CPU having a high processing capacity, and the CPU is used.
An object of the present invention is to provide a compressed moving image data decompression / reproduction system capable of decompressing and reproducing compressed moving image data while simultaneously executing another application program and displaying the same on the same screen while suppressing the processing load of U.

【0009】[0009]

【課題を解決するための手段】本発明は上記課題を解決
させるために、データ圧縮された動画データの伸長・再
生をする伸長・再生部と、他のアプリケーションの処理
や伸長再生の起動指示をするCPUとを有する表示画面
に動画表示を行うシステムにおいて、上記伸長・再生部
は、データ圧縮された動画データの伸長・再生をして相
対的に処理負荷が大きい従来の方式である第1の再生方
式とCPUの処理負荷を低減させて伸長・再生をする第
2の再生方式との方式のうち少なくとも2以上の方式を
持ち、CPUの負荷状態を検出する検出手段と、検出手
段からのCPUの負荷状態により上記伸長・再生部の方
式を切り換える切り換え部とを有する。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a decompression / reproduction unit for decompressing / reproducing data-compressed moving image data, and an instruction for processing other applications and for starting decompression / reproduction. In a system for displaying a moving image on a display screen having a CPU, the decompressing / reproducing unit decompresses / reproduces the data-compressed moving image data and has a relatively large processing load. A detection means for detecting a load state of the CPU; a detection means for detecting at least two of the reproduction method and a second reproduction method for performing decompression / reproduction by reducing the processing load of the CPU; And a switching unit for switching the method of the decompression / reproduction unit according to the load state of

【0010】上記切り換え部は、検出手段からのCPU
の負荷状態と予め設定した閾値とを比較してCPUの負
荷状態が閾値以上の過負荷の場合には、CPUの処理負
荷を押さえて伸長・再生をする第2の再生方式に切り換
えて、それ以外の場合には、第1の再生方式で再生する
ように伸長・再生部に指示する手段を備える。
[0010] The switching unit includes a CPU from the detecting means.
If the load state of the CPU is overloaded not less than the threshold value by comparing the load state of the CPU with a preset threshold value, the processing is switched to the second reproduction method of expanding and reproducing while suppressing the processing load of the CPU. Otherwise, there is provided a means for instructing the decompression / reproduction unit to reproduce in the first reproduction method.

【0011】上記切り換え部の閾値は、2つ閾値を持つ
ヒステリシスの特性を有し、1の閾値以上の過負荷にな
ったときに第2の再生方式に切り換えて、その後、2の
閾値以下になったときに第1の再生方式に切り換えるこ
とができる。
The threshold value of the switching unit has a hysteresis characteristic having two threshold values, and switches to the second reproduction method when an overload equal to or more than one threshold value is set, and thereafter, the threshold value is reduced to two or less. When this happens, it is possible to switch to the first reproduction method.

【0012】また、切り換え部は、閾値を記憶してお
き、設定・変更が可能な閾値テーブルを有してもよい。
The switching section may store a threshold value and have a threshold value table which can be set and changed.

【0013】[0013]

【作用】CPUの負荷状態を検出手段により常時検出
し、動画を伸長・再生してさらに他の応用プログラムが
起動した場合などに、CPUの負荷が閾値を超えると、
切り換え手段により、動画を伸長・再生する方式をCP
Uの処理を低減した第2の再生方式に切り換える。さら
に、切り換え手段の閾値を2つ持つヒステリシスの特性
を備えることで、1の閾値以上の過負荷になったときに
第2の再生方式に切り換えて、その後、2の閾値以下に
なったときに第1の再生方式に切り換える。
When the load of the CPU exceeds a threshold value, for example, when the load state of the CPU is constantly detected by the detecting means, and the moving image is expanded and reproduced and another application program is started, the load is increased.
The method of expanding / reproducing moving images by switching means
Switching to the second reproduction method in which the processing of U is reduced. Further, by providing a hysteresis characteristic having two thresholds of the switching means, the system switches to the second reproduction method when an overload equal to or more than 1 threshold is performed, and thereafter, when the load becomes equal to or less than 2 thresholds. Switch to the first playback method.

【0014】[0014]

【実施例】以下、本発明の実施例を図1を用いて説明す
る。図1は本実施例のシステム構成図である。図1にお
いて、システムバス1は共通バスであり、CPU2、表
示制御回路3、動画伸長・再生部4a、動画ファイル
5、入出力インターフェイス6、メモリ7、プログラム
データファイル8が接続されている。入出力インターフ
ェイス6には、入力装置のキーボード20とマウス19
とが接続されており、動画再生等の入力指示を受け付け
てシステムバスに出力する。動画ファイル5には、圧縮
された動画データを蓄積している。動画データは、外部
から入力されることもできる。メモリ7には、伸長され
た動画データやプログラムデータファイル8のマイクロ
プログラムを展開して一時的に蓄積したりする。プログ
ラムデータファイル8は動画の圧縮伸長の制御プログラ
ムや、表計算やグラフ表示、統計処理などのアプリケー
ションプログラムのマイクロプログラムを記憶してい
る。動画伸長・再生部4aは、動画ファイル5の圧縮さ
れた動画データをプログラムデータファイル8のプログ
ラムにしたがって伸長再生して、動画出力10と音声信
号14とを出力する。ここで、CPUの処理負荷を低減
した伸長再生方法を方式2という。方式2はCPUの処
理負荷が方式1より低減するような方法ならばよく、予
め設定しておく。方式2は、例えば、コマ落としなどを
してデータ量を少なくしたり、フレームレートを下げた
り、表示解像度を粗くしたり、リファレンスだけを表示
したりする方式である。予め通常の伸長再生方法の方式
1と、方式2とを動画伸長・再生部4aに設定してお
く。もしくは、プログラムデータファイル8に方式1と
方式2とのプログラムを格納しておいてもよい。表示制
御回路3は、ディスプレイ13に出力する際のレイアウ
トの指示や、他のアイコン表示、アプリケーション処理
後のグラフや表の表示制御をして、表示出力9を出力す
る。表示制御回路3から出力される表示出力9と動画伸
長・再生部4aから出力される動画出力10は、表示重
ね合わせ回路(MIX)11に入力される。表示重ね合
わせ回路11から出力する表示信号12はディスプレイ
13に入力される。動画伸長・再生部4aから出力され
る音声信号14はスピーカー15に入力される。CPU
2では、動画伸長・再生部4aでの起動指示、制御プロ
グラムのロード、レジスタの設定、表示制御や、グラフ
・表などのアプリケーションプログラムの処理等を行
う。また、CPU2ではCPUの負荷状態を示すための
検出信号16を出力する。CPU2から出力される検出
信号16は負荷検出手段17に入力される。検出信号1
6は、例えば、割込み要求信号や、CPU2からシステ
ムバス1上入出力情報や、メモリ7への書き込みおよび
読み出し信号などがある。検出信号16は、上記のよう
な信号のいずれか1つもしくはそれらを組み合わせた信
号を検出できる。負荷検出手段17では、上記のような
信号を監視して、一定期間に何回発生したかをカウント
して、予め定めた条件により負荷状態を検出する。例え
ば、システムバス1上の使用頻度や、メモリ7への書き
込みおよび読み出し頻度により負荷状態をわりだす。検
出した負荷状態は、CPU負荷の割合(%)として切り
換え部18に出力する。割合を出力する場合には、設定
条件とCPU負荷の割合との対応を示すテーブルを予め
持つこともできる。対応テーブルは、入力装置のキーボ
ード20やマウス19から指示を受け付けることができ
る。対応テーブルを参照することにより、検出信号16
からの信号をカウントして予め定めた条件の時には、対
応するCPU負荷の割合を出力する。また、対応テーブ
ルの代わりに、一定期間に何回発生したかのカウント数
から、割合を算出するようにしてもよい。また、負荷検
出手段17は、CPU2から出力される検出信号16の
かわりに、システムバス1上のデータを監視することに
よっても、負荷検出をすることができる。負荷検出手段
17の出力は切り換え部18に入力され、切り換え部1
8は、CPU負荷状態とあらかじめ定めた閾値とを比較
することにより、CPU負荷状態が閾値以上に過負荷の
場合には、動画伸長・再生部4aに方式1と方式2とを
切り換えるように切り換え指示を出力することができ
る。切り換え部18は、方式切り換えの閾値を設定する
閾値テーブルを有しており、入力装置のキーボード20
やマウス19から指示を受け付けることができる。切り
換えの閾値については、図3を用いて後述する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIG. FIG. 1 is a system configuration diagram of the present embodiment. In FIG. 1, a system bus 1 is a common bus to which a CPU 2, a display control circuit 3, a moving image decompression / reproduction unit 4a, a moving image file 5, an input / output interface 6, a memory 7, and a program data file 8 are connected. The input / output interface 6 includes a keyboard 20 and a mouse 19 of an input device.
Is connected, and receives an input instruction such as moving image reproduction and outputs it to the system bus. The moving image file 5 stores compressed moving image data. The moving image data can be input from outside. The expanded moving image data and the microprogram of the program data file 8 are expanded and temporarily stored in the memory 7. The program data file 8 stores a control program for compression / decompression of a moving image and microprograms for application programs such as spreadsheets, graph displays, and statistical processing. The moving image decompression / reproduction unit 4a decompresses and reproduces the moving image data of the moving image file 5 according to the program of the program data file 8, and outputs a moving image output 10 and an audio signal 14. Here, the decompression reproduction method in which the processing load on the CPU is reduced is referred to as method 2. Method 2 may be any method that reduces the processing load on the CPU compared to method 1, and is set in advance. Method 2 is, for example, a method of reducing the amount of data by dropping frames, reducing the frame rate, reducing the display resolution, or displaying only the reference. Method 1 and method 2 of the normal expansion / reproduction method are set in advance in the moving image expansion / reproduction unit 4a. Alternatively, the program of the method 1 and the program of the method 2 may be stored in the program data file 8. The display control circuit 3 outputs a display output 9 by instructing layout when outputting to the display 13, displaying other icons, and controlling display of graphs and tables after application processing. The display output 9 output from the display control circuit 3 and the video output 10 output from the video decompression / reproduction unit 4a are input to a display superimposition circuit (MIX) 11. The display signal 12 output from the display superposition circuit 11 is input to the display 13. The audio signal 14 output from the video decompression / reproduction unit 4a is input to a speaker 15. CPU
In 2, a start instruction in the moving image decompression / reproduction unit 4a, loading of a control program, register setting, display control, and processing of application programs such as graphs and tables are performed. In addition, the CPU 2 outputs a detection signal 16 for indicating the load state of the CPU. The detection signal 16 output from the CPU 2 is input to the load detection unit 17. Detection signal 1
Reference numeral 6 includes, for example, an interrupt request signal, input / output information on the system bus 1 from the CPU 2, and a write / read signal to / from the memory 7. The detection signal 16 can detect any one of the above signals or a signal obtained by combining them. The load detecting means 17 monitors the signal as described above, counts how many times the signal has occurred in a certain period, and detects the load state based on a predetermined condition. For example, the load state is determined by the frequency of use on the system bus 1 and the frequency of writing and reading to and from the memory 7. The detected load state is output to the switching unit 18 as a percentage (%) of the CPU load. When the ratio is output, a table indicating the correspondence between the setting condition and the ratio of the CPU load may be provided in advance. The correspondence table can receive an instruction from the keyboard 20 or the mouse 19 of the input device. By referring to the correspondence table, the detection signal 16
When a predetermined condition is determined by counting the signals from the CPU, the corresponding CPU load ratio is output. Further, instead of the correspondence table, the ratio may be calculated from the count number of the number of occurrences in a certain period. Further, the load detecting means 17 can detect the load by monitoring data on the system bus 1 instead of the detection signal 16 output from the CPU 2. The output of the load detecting means 17 is input to the switching unit 18 and the switching unit 1
8 compares the CPU load state with a predetermined threshold value, and when the CPU load state is overloaded beyond the threshold value, switches the video decompression / reproduction unit 4a to switch between the method 1 and the method 2. Instructions can be output. The switching unit 18 has a threshold table for setting a threshold for system switching, and a keyboard 20 of the input device.
And an instruction from the mouse 19 can be received. The switching threshold will be described later with reference to FIG.

【0015】つぎに、本実施例の動作を図1、図3およ
び図5を用いて説明する。図3は切り換え部の特性図、
図5は本実施例のCPU負荷状態を示す図である。
Next, the operation of this embodiment will be described with reference to FIGS. 1, 3 and 5. FIG. 3 is a characteristic diagram of the switching unit,
FIG. 5 is a diagram illustrating a CPU load state according to the present embodiment.

【0016】図1において、動画伸長・再生部4aは、
動画伸長再生(方式1)に加え、動画伸長再生(方式
2)をもち、切り換え部18の出力が0のときは方式
1、切り換え部18の出力が1のときは方式2が選択さ
れ、二つの方式を切り換えるようになっている。動画伸
長再生(方式2)のCPU負荷状態は図6に示すように
30%±5%と仮定する(方式1の1/2)。図1に示
す負荷検出手段17の動作は、CPU2から入力された
検出信号16を用い、一定時間内における検出信号16
の変化を計測することによってCPU2の負荷状態
(%)を出力するものである。切り換え部18に入力さ
れたCPU2の負荷状態により、図3で示すような特性
で、切り換え部18の出力は0または1となる。図3の
例では負荷が95%を超えると切り換え出力が0から1
に変化し、負荷が60%を下回ると切り換え出力が1か
ら0になる。このように、二つの閾値をCPU2の負荷
状態によりヒステリシスを持たせて、閾値テーブルを設
定しておく。この二つの閾値を図5に示すように破線で
表している。図5において、本実施例のシステムが、定
常状態のとき、CPUの負荷状態は15〜25%であ
る。この状態から、動画の再生を起動すると、図1に示
すシステムにおいて、CPU2は動画圧縮ファイル5か
ら圧縮された動画データを読みだし、動画伸長・再生部
4aに入力する。動画伸長・再生部4aに入力された切
り換え部18の出力は始めは0であるので、動画伸長・
再生部4aでは、方式1に従ってデータを伸長・再生
し、動画出力10と音声信号14とを出力する。動画出
力10と表示制御回路3からの表示出力9とは、表示重
ね合わせ回路11で重ね合わせて表示信号12とされ、
ディスプレイ13に表示される。また、音声信号14は
スピーカー15に入力され、スピーカー15から音声が
出力される。この動画伸長・再生時(方式1)で60%
±5%のCPU負荷がかかるので図5に示すように全体
で70〜90%のCPU負荷状態となる。つぎに他アプ
リケーションを起動させる。図1において、キーボード
20あるいはマウス19等の入力装置が、他アプリケー
ションを起動させる指示を受付て、CPUが他アプリケ
ーションを起動させる。CPUは、プログラムデータフ
ァイル8からプログラムデータを読みだし、メモリ7に
プログラムを展開する。CPU2でプログラムにしたが
って処理を行い、表示制御回路3により表示制御を行
い、ディスプレイ13に画像およびアプリケーションの
処理データなどを表示する。図5に示すように、このと
きCPU2にはさらに25〜30%の負荷が加わるので
他アプリケーション起動後まもなく、負荷検出手段17
において、CPU負荷が閾値95%を超えたことを検出
する。切り換え部18は、CPU負荷が閾値95%を超
えたことを検知して、切り換え部18の出力を0から1
にする。これにより、動画伸長・再生部4aの方式が方
式1から方式2に切り換わる。したがってその後は、動
画伸長・再生部4aでは、方式2に従ってデータを伸長
・再生し、これによるCPUの負荷方式1に比べ30%
低減されるので、他アプリケーションのCPU負荷とあ
わせても全体で65〜95%となり、CPUの負荷が1
00%を超えないので、CPU処理が正常に続行可能で
ある。その後、他アプリケーションの処理を終了すると
まもなくCPU全体の処理負荷が閾値60%を下回り、
切り換え部18の出力が1から0に変化し、動画伸長・
再生部4aにおける動画データの伸長・再生方式が方式
2から方式1に変化し、方式1に従ってデータを伸長・
再生する。このとき、CPU全体の負荷状態は、他アプ
リケーションを起動する以前と同様に70〜90%とな
り、CPUの処理が正常に続行する。
In FIG. 1, the moving image decompression / reproduction unit 4a
In addition to the moving image decompression reproduction (method 1), it has a moving image decompression reproduction (method 2). When the output of the switching unit 18 is 0, method 1 is selected, and when the output of the switching unit 18 is 1, method 2 is selected. The two methods are switched. It is assumed that the CPU load state of the moving image decompression reproduction (method 2) is 30% ± 5% as shown in FIG. 6 (1 / of method 1). The operation of the load detection means 17 shown in FIG. 1 uses the detection signal 16 input from the CPU 2 and
The CPU 2 outputs a load state (%) of the CPU 2 by measuring a change in the load. Depending on the load state of the CPU 2 input to the switching unit 18, the output of the switching unit 18 becomes 0 or 1 with characteristics as shown in FIG. In the example of FIG. 3, when the load exceeds 95%, the switching output changes from 0 to 1.
, And when the load falls below 60%, the switching output changes from 1 to 0. As described above, the threshold value table is set with the two threshold values having hysteresis depending on the load state of the CPU 2. These two thresholds are indicated by broken lines as shown in FIG. In FIG. 5, when the system of this embodiment is in a steady state, the load state of the CPU is 15 to 25%. When the reproduction of the moving image is started from this state, in the system shown in FIG. 1, the CPU 2 reads out the compressed moving image data from the moving image compression file 5 and inputs it to the moving image decompression / reproduction unit 4a. Since the output of the switching unit 18 input to the moving image decompression / reproduction unit 4a is initially 0,
The reproducing unit 4a expands and reproduces the data according to the method 1, and outputs a moving image output 10 and an audio signal 14. The video output 10 and the display output 9 from the display control circuit 3 are superimposed by a display superimposition circuit 11 to form a display signal 12,
It is displayed on the display 13. The audio signal 14 is input to the speaker 15, and the audio is output from the speaker 15. 60% at the time of video expansion / reproduction (method 1)
Since a CPU load of ± 5% is applied, the CPU load is 70 to 90% as shown in FIG. Next, another application is started. In FIG. 1, an input device such as a keyboard 20 or a mouse 19 receives an instruction to activate another application, and the CPU activates the other application. The CPU reads out the program data from the program data file 8 and expands the program in the memory 7. The CPU 2 performs processing according to a program, performs display control by the display control circuit 3, and displays an image, processing data of an application, and the like on the display 13. As shown in FIG. 5, at this time, a load of 25 to 30% is further applied to the CPU 2, so that shortly after the start of the other application, the load detecting unit 17 is started.
, It is detected that the CPU load has exceeded the threshold value of 95%. The switching unit 18 detects that the CPU load has exceeded the threshold of 95%, and changes the output of the switching unit 18 from 0 to 1
To As a result, the method of the moving image decompression / reproduction unit 4a is switched from method 1 to method 2. Therefore, after that, the moving image decompression / reproduction unit 4a decompresses / reproduces the data according to the method 2, which is 30% less than that of the CPU load method 1.
Since it is reduced, the total is 65 to 95% even when combined with the CPU load of another application, and the CPU load is 1%.
Since it does not exceed 00%, CPU processing can continue normally. Then, shortly after finishing the processing of the other application, the processing load of the entire CPU falls below the threshold of 60%,
The output of the switching unit 18 changes from 1 to 0,
The method of decompressing / reproducing moving image data in the reproducing unit 4a changes from method 2 to method 1, and decompresses / decompresses data according to method 1.
Reproduce. At this time, the load state of the entire CPU becomes 70 to 90% as before starting other applications, and the processing of the CPU continues normally.

【0017】本実施例によれば、動画再生時にある一定
のCPU負荷がかかっているときに、さらに、他のアプ
リケーションを起動しても、負荷検出手段17によりC
PU2の負荷状態を検出してCPU2の負荷が95%を
超えないように切り換え手段18で動画伸長・再生方式
を切り換えるので、他のアプリケーションを起動したこ
とによりシステムが正常に動作しなかったり、システム
が停止してしまうことはない。
According to this embodiment, when a certain CPU load is applied at the time of reproducing a moving image, even if another application is started, even if another application is started, the load detecting means 17 detects the C value.
Since the moving image decompression / reproduction method is switched by the switching means 18 so that the load state of the PU 2 is detected and the load of the CPU 2 does not exceed 95%, the system may not operate normally due to the activation of another application, or the system may not operate normally. Will not stop.

【0018】本実施例においては、処理別CPU負荷状
態を図6のように仮定し、さらにCPUの負荷状態はC
PUが行っている各処理に対する負荷が加算されるもの
として説明したが、実際にはこの例とは必ずしも一致し
ないので、この場合、切り換え部18の特性における閾
値テーブルの閾値を、入力装置より変更することによ
り、実際のCPU負荷状態に対処することができる。ま
た、負荷検出手段17におけるCPU2からの検出信号
16の変化を測定する一定期間の時間を調整することに
より対処する。この一定期間を短くすることにより、C
PU2の負荷変動の瞬間的な変化を検出でき、また、一
定期間を長くするとCPU2の平均的な負荷状態を検出
することができる。
In this embodiment, the CPU load state for each process is assumed as shown in FIG.
The description has been made assuming that the loads on the respective processes performed by the PU are added. However, in practice, this does not always match this example. In this case, the threshold of the threshold table in the characteristics of the switching unit 18 is changed from the input device. By doing so, it is possible to deal with the actual CPU load state. In addition, a countermeasure is taken by adjusting the time of a certain period for measuring the change of the detection signal 16 from the CPU 2 in the load detecting means 17. By shortening this fixed period, C
An instantaneous change in the load fluctuation of the PU 2 can be detected, and an average load state of the CPU 2 can be detected when the certain period is extended.

【0019】さらに、閾値にヒステリシスを持たせるこ
とにより、負荷状態が微妙に変動したときにも、方式1
と方式2とが短期間で切り換わることがない。これによ
り、方式1と方式2とによる再生画面が瞬時に切り換わ
ることが無くなる。
Further, by providing the threshold value with hysteresis, even when the load condition slightly changes, the method 1
And Method 2 are not switched in a short period of time. As a result, there is no instantaneous switching between the reproduction screens of the method 1 and the method 2.

【0020】[0020]

【発明の効果】本発明によれば、CPUの負荷状態を検
出するため、一定値を超えて過負荷になったときに、動
画を伸長・再生する方式をCPUの処理を低減した方式
に切り換えることにより、CPU全体の負荷を低減する
ことができる。すなわち、システムで使用しているCP
Uを処理能力の高いものに変更することなしに、圧縮さ
れた動画データを伸長・再生し、さらに他の応用プログ
ラムを実行しても、システムが停止することなく、同一
画面上に動画と応用プログラムの処理結果とを表示する
ことができる。
According to the present invention, in order to detect the load state of the CPU, the system for expanding / reproducing moving images is switched to a system in which the processing of the CPU is reduced when the load exceeds a certain value and becomes overloaded. Thus, the load on the entire CPU can be reduced. That is, the CP used in the system
Decompress and reproduce compressed video data without changing U to one with high processing capacity, and execute video and video on the same screen without stopping the system even if other application programs are executed. The processing result of the program can be displayed.

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

【図1】本実施例のシステム構成図。FIG. 1 is a system configuration diagram of an embodiment.

【図2】従来のシステム構成図。FIG. 2 is a configuration diagram of a conventional system.

【図3】切り換え部の特性図。FIG. 3 is a characteristic diagram of a switching unit.

【図4】従来システムのCPU負荷状態を示す説明図。FIG. 4 is an explanatory diagram showing a CPU load state of a conventional system.

【図5】本実施例のCPU負荷状態を示す説明図。FIG. 5 is an explanatory diagram illustrating a CPU load state according to the embodiment;

【図6】処理別CPU負荷状態を示す説明図。FIG. 6 is an explanatory diagram showing a CPU load state for each process.

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

1…システムバス、2…CPU、3…表示制御回路、4
…動画伸長・再生部、5…動画圧縮ファイル、9…表示
出力、10…動画出力、11…表示重ね合わせ回路、1
2…表示信号、13…ディスプレイ、14…音声信号、
15…スピーカー、16…検出信号、17…負荷検出手
段、18…切り換え部。
DESCRIPTION OF SYMBOLS 1 ... System bus, 2 ... CPU, 3 ... Display control circuit, 4
... moving image decompression / playback unit, 5 ... moving image compression file, 9 ... display output, 10 ... moving image output, 11 ... display superimposing circuit, 1
2 ... display signal, 13 ... display, 14 ... audio signal,
15 speaker, 16 detection signal, 17 load detection means, 18 switching unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小檜山 智久 神奈川県横浜市戸塚区吉田町292番地 株式会社 日立製作所 マイクロエレク トロニクス機器開発研究所内 (72)発明者 武者 正隆 神奈川県横浜市戸塚区吉田町292番地 株式会社 日立製作所 マイクロエレク トロニクス機器開発研究所内 (72)発明者 中田 順二 神奈川県横浜市戸塚区吉田町292番地 株式会社 日立製作所 マイクロエレク トロニクス機器開発研究所内 (72)発明者 山岸 正巳 神奈川県横浜市戸塚区吉田町292番地 株式会社 日立製作所 マイクロエレク トロニクス機器開発研究所内 (72)発明者 木村 祐二 神奈川県横浜市戸塚区吉田町292番地 株式会社 日立製作所 マイクロエレク トロニクス機器開発研究所内 (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Tomohisa Kohiyama 292 Yoshidacho, Totsuka-ku, Yokohama-shi, Yokohama, Japan Inside Microelectronics Devices Development Laboratory, Hitachi, Ltd. (72) Inventor Masataka Musha Yoshidacho, Totsuka-ku, Yokohama-shi, Kanagawa 292 Hitachi Electronics, Ltd.Microelectronics Device Development Laboratory (72) Inventor Junji Nakata 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Hitachi, Ltd.Microelectronics Device Development Laboratory (72) Inventor Masami Yamagishi Kanagawa 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Hitachi Microelectronics Equipment Development Laboratory Co., Ltd. (72) Inventor Yuji Kimura 292 Yoshida-cho, Toda-ku, Yokohama-shi, Kanagawa, Japan Microelectronics, Inc. (58) Field surveyed (Int.Cl. 7 , DB name) H04N 7/ 24-7/68

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データ圧縮された動画データの伸長・再生
をする伸長・再生部と、他のアプリケーションの処理や
伸長再生の起動指示をするCPUとを有する表示画面に
動画表示を行うシステムにおいて、 上記伸長・再生部は、データ圧縮された動画データの伸
長・再生をして相対的に処理負荷が大きい第1の再生方
式とCPUの処理負荷を低減させて伸長・再生をする第
2の再生方式との方式のうち少なくとも2以上の方式を
持ち、 CPUの負荷状態を検出する検出手段と、検出手段から
のCPUの負荷状態により上記伸長・再生部の方式を切
り換える切り換え部とを有することを特徴とする圧縮動
画データ伸長再生システム。
1. A system for displaying a moving image on a display screen having a decompression / reproduction unit for decompressing / reproducing data-compressed moving image data and a CPU for instructing activation of decompression / reproduction and processing of another application. The decompression / reproduction unit decompresses / reproduces the compressed video data and performs the first reproduction method having a relatively large processing load and the second reproduction which performs decompression / reproduction by reducing the processing load on the CPU. It has at least two or more of the methods, and has a detecting means for detecting the load state of the CPU, and a switching section for switching the method of the decompression / reproduction section according to the load state of the CPU from the detecting means. Characterized compressed video data expansion / reproduction system.
【請求項2】請求項1において、切り換え部は、検出手
段からのCPUの負荷状態と予め設定した閾値とを比較
してCPUの負荷状態が閾値以上の過負荷の場合には、
CPUの処理負荷を押さえて伸長・再生をする第2の再
生方式に切り換えて、それ以外の場合には、第1の再生
方式で再生するように伸長・再生部に指示する手段を備
えることを特徴とする圧縮動画データ伸長再生システ
ム。
2. The switching unit according to claim 1, wherein the switching unit compares a load state of the CPU from the detection unit with a preset threshold value, and when the load state of the CPU is equal to or more than the threshold value,
A means for instructing the decompression / reproduction unit to switch to the second reproduction method for decompressing / reproducing while suppressing the processing load of the CPU, and otherwise to reproduce in the first reproduction method. Characterized compressed video data expansion / reproduction system.
【請求項3】請求項2において、切り換え部の閾値は、
2つ閾値を持つヒステリシスの特性を有し、1の閾値以
上の過負荷になったときに第2の再生方式に切り換え
て、その後、2の閾値以下になったときに第1の再生方
式に切り換えることを特徴とする圧縮動画データ伸長再
生システム。
3. The switching device according to claim 2, wherein:
It has a hysteresis characteristic having two thresholds, and switches to the second reproduction mode when the overload exceeds 1 threshold, and then switches to the first reproduction mode when the load becomes 2 thresholds or less. A compressed moving picture data expansion / reproduction system characterized by switching.
【請求項4】請求項2または3において、切り換え部
は、閾値を記憶しておき、設定・変更が可能な閾値テー
ブルを有することを特徴とする圧縮動画データ伸長再生
システム。
4. A compressed moving picture data decompression / reproduction system according to claim 2, wherein said switching section stores a threshold value and has a threshold value table which can be set and changed.
JP28165991A 1991-10-28 1991-10-28 Compressed video data expansion / reproduction system Expired - Fee Related JP3133113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28165991A JP3133113B2 (en) 1991-10-28 1991-10-28 Compressed video data expansion / reproduction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28165991A JP3133113B2 (en) 1991-10-28 1991-10-28 Compressed video data expansion / reproduction system

Publications (2)

Publication Number Publication Date
JPH05122681A JPH05122681A (en) 1993-05-18
JP3133113B2 true JP3133113B2 (en) 2001-02-05

Family

ID=17642192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28165991A Expired - Fee Related JP3133113B2 (en) 1991-10-28 1991-10-28 Compressed video data expansion / reproduction system

Country Status (1)

Country Link
JP (1) JP3133113B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8472789B2 (en) 2010-10-05 2013-06-25 Panasonic Corporation Image editing apparatus, image editing method, and image editing program

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0854652B1 (en) 1996-08-07 2010-11-17 Panasonic Corporation Picture and sound decoding device, picture and sound encoding device, and information transmission system
US8625680B2 (en) 2003-09-07 2014-01-07 Microsoft Corporation Bitstream-controlled post-processing filtering
JP2005287006A (en) * 2004-03-05 2005-10-13 Canon Inc Image processing method, image processing program, recording medium provided with image processing program recorded thereon, and image processing apparatus
JP4746550B2 (en) 2004-09-22 2011-08-10 パナソニック株式会社 Image encoding device
EP1646243B1 (en) 2004-09-30 2009-06-24 Kabushiki Kaisha Toshiba Information processing apparatus and program for use in the same
JP4684878B2 (en) * 2005-12-19 2011-05-18 日本電信電話株式会社 Action information creation method, video degradation state handling method, action information creation device, video degradation state handling device, action information creation program, video degradation state handling program, and computer-readable recording medium recording these programs
JP4643453B2 (en) 2006-01-10 2011-03-02 株式会社東芝 Information processing apparatus and moving picture decoding method for information processing apparatus
WO2007099580A1 (en) * 2006-02-28 2007-09-07 Matsushita Electric Industrial Co., Ltd. Multimedia data reproducing apparatus and method
JP4834472B2 (en) * 2006-06-20 2011-12-14 株式会社東芝 Information processing apparatus, moving image reproduction method, and program
JP5030495B2 (en) * 2006-07-14 2012-09-19 ソニー株式会社 REPRODUCTION DEVICE, REPRODUCTION METHOD, PROGRAM, AND RECORDING MEDIUM
JP4935667B2 (en) * 2007-12-25 2012-05-23 富士ゼロックス株式会社 Image recording apparatus, image recording / reproducing apparatus, image recording / reproducing system, and program
JP5136345B2 (en) * 2008-10-08 2013-02-06 富士通モバイルコミュニケーションズ株式会社 Electronics
JPWO2012025962A1 (en) * 2010-08-25 2013-10-28 富士通株式会社 Load control device, load control method, and load control program
JP5238852B2 (en) * 2011-05-30 2013-07-17 株式会社東芝 Information processing apparatus, moving image reproduction method, and program
JP6120679B2 (en) * 2013-05-29 2017-04-26 三菱電機株式会社 Multi display system
JP2018160147A (en) * 2017-03-23 2018-10-11 パイオニア株式会社 Information processor and processing load distribution method
JP2020141213A (en) * 2019-02-27 2020-09-03 沖電気工業株式会社 Image processing device, image processing program, and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8472789B2 (en) 2010-10-05 2013-06-25 Panasonic Corporation Image editing apparatus, image editing method, and image editing program

Also Published As

Publication number Publication date
JPH05122681A (en) 1993-05-18

Similar Documents

Publication Publication Date Title
JP3133113B2 (en) Compressed video data expansion / reproduction system
US7852352B2 (en) Information processing apparatus, method, and program
JPH0832279B2 (en) Computer game equipment or computer game control device
US20160269674A1 (en) Dynamic Video Capture Rate Control
JP5054215B2 (en) VIDEO REPRODUCTION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2007052764A (en) Multimedia computer system with dual-cpu and its multimedia instant play method
JP6958718B2 (en) Noise removal device and noise removal method
CN115617294A (en) Screen display method, device and equipment and readable storage medium
JP3051014B2 (en) Data storage device and data system
JP3402581B2 (en) Data restoration device
US5047878A (en) Screen encore method for a VTR
JP2880964B2 (en) Display area switching system
AU2018295010B2 (en) System and method for dynamic buffer sizing in a computing device
CN114969399A (en) Media playing control method and device
JP2669432B2 (en) Image data transfer device
CN114201000A (en) Clock control method, clock control device, electronic equipment and storage medium
US20080284787A1 (en) Information processing system, method for controlling system and computer-readable recording medium
US20180338211A1 (en) Audio processing apparatus for processing audio and audio processing method
JPS61177486A (en) Display controller
JPH0537891A (en) Multiple screen control circuit for electronic steel camera and method thereof
JPH05249940A (en) Cursor display device for electronic apparatus
JP3109914B2 (en) Information processing device, information processing method, and display control device
JP3515238B2 (en) Instruction processing unit
JP5274777B2 (en) Information processing apparatus and information processing method
JP5484524B2 (en) VIDEO REPRODUCTION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees