JPH08161523A - Dynamic image drawing process method - Google Patents

Dynamic image drawing process method

Info

Publication number
JPH08161523A
JPH08161523A JP30043194A JP30043194A JPH08161523A JP H08161523 A JPH08161523 A JP H08161523A JP 30043194 A JP30043194 A JP 30043194A JP 30043194 A JP30043194 A JP 30043194A JP H08161523 A JPH08161523 A JP H08161523A
Authority
JP
Japan
Prior art keywords
frame
image data
time
frame number
storage unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30043194A
Other languages
Japanese (ja)
Inventor
Tomoyuki Okada
智之 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP30043194A priority Critical patent/JPH08161523A/en
Publication of JPH08161523A publication Critical patent/JPH08161523A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To draw a visually smooth dynamic image by performing a drawing process for image data of frames that are a little precedent in time when it takes a very long time to draw image data of a last frame. CONSTITUTION: Optional positive integers are denoted as (i), (j), and (k) and (i)th image data which is successive with time is regarded as an (i)th frame; and the difference between the current time and the start time of (i)th frame drawing is divided by cycles between frames and 1 is added. Then a (k)th frame to be drawn is found, and image data of the (k)th frame are read out of a data storage means and written in a display means. At this time, if it takes a very long time to draw image data of the last frame for some reason, time management is so performed as to draw image data of a (j)th frame which is precedent in time to the (k) frame. Consequently, delay is gradually reduced to draw the visually smooth dynamic image.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータにおける
動画像の描画処理に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving image drawing process in a computer.

【0002】[0002]

【従来の技術】近年、コンピュータにおける動画像の処
理はコンピュータの性能向上により広く普及している。
2. Description of the Related Art In recent years, processing of moving images in computers has become widespread due to improvements in computer performance.

【0003】以下に、従来例の動画描画処理方法につい
て説明する。図5は従来例の動画描画処理の原理を示す
図である。マルチタスク処理を行なうOSが動作をして
いるコンピュータ上で動画描画処理を実時間で行なうこ
とは、多くの場合保証されないのが現状である。任意の
正の整数をi,kとして、時間的に連続する順番がi番
目の画像データを第iフレームとし、現在時刻と、第1
フレーム描画開始時刻すなわち動画描画処理を開始した
時刻との差をフレーム間周期で割り、1を加えることに
より、次に描画を行なうフレーム番号kを求め、第kフ
レームの描画を行なう。以上の処理を繰り返し行なうこ
とで動画描画処理を実現している。
A conventional moving image drawing processing method will be described below. FIG. 5 is a diagram showing the principle of the conventional moving image drawing processing. In many cases, it is not guaranteed in real time that a moving image drawing process is performed in real time on a computer on which an OS that performs multitasking process is operating. Let arbitrary positive integers be i and k, the temporally consecutive image data of the i-th order be the i-th frame, and the current time and the first
The difference between the frame drawing start time, that is, the time when the moving image drawing process is started is divided by the interframe period, and 1 is added to obtain the frame number k for the next drawing, and the kth frame is drawn. The moving image drawing process is realized by repeating the above process.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記の従
来の処理方法では、なんらかの影響により直前のフレー
ムの画像データの描画処理に大幅な時間がかかった場
合、描画されずに欠落をする画像データのフレーム枚数
が多くなり、視覚的に滑らかさの欠けた動画となってし
まう。
However, in the above-described conventional processing method, when it takes a long time to draw the image data of the immediately preceding frame due to some influence, the frame of the image data which is not drawn and is lost. The number of images increases, resulting in a visually lacking smoothness.

【0005】本発明は上記のような従来例の問題点を解
決するもので、視覚的に滑らかな動画となる動画描画処
理方法を提供することを目的とする。
An object of the present invention is to solve the above-mentioned problems of the conventional example, and an object thereof is to provide a moving image drawing processing method which produces a visually smooth moving image.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明の動画描画処理方法では、なんらかの影響によ
り直前のフレームの画像データの描画処理に大幅な時間
がかかった場合、時間的に少し前のフレームの画像デー
タの描画をする処理を行なうものである。
In order to achieve this object, in the moving image drawing processing method of the present invention, when it takes a long time to draw the image data of the immediately preceding frame due to some influence, the moving image drawing processing method takes a little time. This is a process for drawing the image data of the previous frame.

【0007】[0007]

【作用】この処理方法によって、一度に描画されずに欠
落をする画像データのフレーム枚数を制限することがで
き、コンピュータ上で視覚的に滑らかな動画の描画処理
が行なえる。
With this processing method, it is possible to limit the number of frames of image data that are not drawn at one time and that are missing, and it is possible to perform a visually smooth moving image drawing process on a computer.

【0008】[0008]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。図1は本発明の一実施例の動画描画
処理方法で用いるコンピュータのブロック図である。図
1において、101は主記憶、102は描画を行なう画
像データのフレーム番号を記憶する描画フレーム番号記
憶部、103は直前に描画を終えた画像データのフレー
ム番号を記憶する前描画フレーム番号記憶部、104は
描画を行なった画像データのフレーム枚数を記憶する描
画フレーム枚数記憶部、105は第1フレームの描画開
始時刻を記憶する描画開始時刻記憶部、106は動画の
描画処理に大幅な時間がかかったかを判断するために使
用する任意の正の整数である閾値を記憶する閾値記憶
部、107は時間的に連続する画像データのフレーム間
の時間差であるフレーム間周期を記憶するフレーム間周
期記憶部、108は時間的に連続する画像データの最終
フレームのフレーム番号を記憶する最終フレーム番号記
憶部、109は時間的に連続する画像データのフレーム
で直前に描画を終えた画像データのフレームと、次に描
画を行なう画像データのフレームとの間にある画像デー
タのフレーム枚数を欠落描画フレーム枚数とし、描画を
行なった全ての画像データのフレーム間での欠落描画フ
レーム枚数の平均を記憶する平均欠落描画フレーム枚数
記憶部、110はタイマ、111は動画像を表示する表
示手段、112は画像データを記憶する画像データ記憶
手段、113はCPU、114は動画の描画処理開始直
前に、前描画フレーム番号記憶部103に0を書き込
み、描画フレーム枚数記憶部104に0を書き込み、閾
値記憶部106に任意の整数である閾値を書き込み、フ
レーム間周期記憶部107にフレーム間周期を書き込
み、最終フレーム番号記憶部108に最終フレーム番号
を書き込み、平均欠落描画フレーム枚数記憶部109に
0を書き込み、タイマ110から現在時刻を読み込み、
描画開始時刻記憶部105に描画開始時刻を書き込む初
期化処理部、115は次に描画を行なう画像データのフ
レーム番号である描画フレーム番号を計算する描画フレ
ーム番号計算部、116は直前に描画を行なった画像デ
ータの描画処理に大幅な時間がかかったかを判断する描
画処理遅延判断部、117は描画処理遅延判断部116
で直前に描画を行なった画像データの描画処理に大幅な
時間がかかったと判断された時、描画フレーム番号を再
計算する描画フレーム番号再計算部、118は描画フレ
ーム番号が最終フレーム番号以下かを判断する描画継続
判断部、119は描画フレーム番号の画像データを画像
データ記憶手段112から読み込み、表示手段111に
書き込む画像描画処理部、120は画像データ1フレー
ムの描画終了後に前描画フレーム番号と平均欠落描画フ
レーム枚数と描画フレーム枚数を計算するデータ計算
部、121はホストバスである。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a computer used in a moving image drawing processing method according to an embodiment of the present invention. In FIG. 1, 101 is a main memory, 102 is a drawing frame number storage unit that stores a frame number of image data to be drawn, and 103 is a previous drawing frame number storage unit that stores a frame number of image data that has just been drawn. , 104 is a drawing frame number storage unit that stores the number of frames of drawn image data, 105 is a drawing start time storage unit that stores the drawing start time of the first frame, and 106 is a large amount of time for drawing a moving image. A threshold value storage unit that stores a threshold value that is an arbitrary positive integer used to determine whether or not it has taken place, and an inter-frame cycle storage 107 that stores an inter-frame cycle that is a time difference between frames of temporally continuous image data. Section 108 is a final frame number storage section for storing the frame numbers of the final frames of temporally continuous image data, and 109 is the time Drawing is performed with the number of frames of image data between the frame of image data that has been drawn immediately before in the frame of image data that is consecutively continuous and the frame of image data to be drawn next as the number of missing drawing frames. Further, an average missing drawing frame number storage unit that stores the average number of missing drawing frames among all image data frames, 110 is a timer, 111 is a display unit that displays a moving image, and 112 is image data that stores image data. A storage means, 113 is a CPU, 114 is 0 immediately before starting the moving image drawing process, 0 is written in the previous drawing frame number storage unit 103, 0 is written in the drawing frame number storage unit 104, and an arbitrary integer is written in the threshold value storage unit 106. The threshold value is written, the interframe period is written in the interframe period storage unit 107, and the last frame number storage unit 108 is stored. Writes the frame number, the average missing drawing frame number storage unit 109 writes 0, reads the current time from the timer 110,
An initialization processing unit for writing the drawing start time in the drawing start time storage unit 105, a drawing frame number calculation unit 115 for calculating a drawing frame number which is a frame number of image data to be drawn next, and a drawing unit 116 for immediately before drawing. The drawing process delay determining unit 117 that determines whether the drawing process of the image data that has taken a large amount of time takes a large amount of time.
When it is determined that the drawing processing of the image data drawn immediately before took a long time, the drawing frame number recalculation unit for recalculating the drawing frame number, 118 indicates whether the drawing frame number is the final frame number or less. A drawing continuation determination unit 119 determines an image drawing processing unit that reads the image data of the drawing frame number from the image data storage unit 112 and writes the image data to the display unit 111. 120 indicates an average of the previous drawing frame number after the drawing of one frame of image data is completed. A data calculation unit for calculating the number of missing drawing frames and the number of drawing frames, and 121 is a host bus.

【0009】以上のように構成されたコンピュータにお
いて、図2を用いて動画描画処理方法について説明す
る。図2は本実施例の動画描画処理の原理を示す図であ
る。任意の整数i、j、kとして、第iフレーム描画終
了後、描画フレーム番号計算部115で、タイマ110
から現在時刻を読み込み、描画開始時刻記憶部105か
ら描画開始時刻を読み込み、フレーム間周期記憶部10
7からフレーム間周期を読み込み、 描画フレーム番号=int((現在時刻−描画開始時
刻)/フレーム間周期)+1・・・(1) [int()は()内の値を整数化する関数] から描画フレーム番号kを計算し、描画フレーム番号記
憶部102に書き込む。
A moving image drawing processing method in the computer configured as described above will be described with reference to FIG. FIG. 2 is a diagram showing the principle of the moving image drawing processing of this embodiment. After the drawing of the i-th frame is finished with arbitrary integers i, j, and k, the drawing frame number calculation unit 115 causes the timer 110 to
The present time is read from the drawing start time storage unit 105, the drawing start time is read from the drawing start time storage unit 105, and the interframe cycle storage unit 10 is read.
The interframe period is read from 7, and the drawing frame number = int ((current time-drawing start time) / interframe period) +1 (1) [int () is a function that converts the value in () into an integer] The drawing frame number k is calculated from this and written in the drawing frame number storage unit 102.

【0010】次に描画処理遅延判断部116で、描画フ
レーム番号記憶部102から描画フレーム番号kを読み
込み、前描画フレーム番号記憶部103から前描画フレ
ーム番号iを読み込み、平均欠落描画フレーム枚数記憶
部109から平均欠落描画フレーム枚数を読み込み、閾
値記憶部106から閾値を読み込み、 (描画フレーム番号−前描画フレーム番号)>(平均欠
落描画フレーム枚数+閾値)・・・(2) を比べる。
Next, the drawing processing delay judgment unit 116 reads the drawing frame number k from the drawing frame number storage unit 102, the previous drawing frame number i from the previous drawing frame number storage unit 103, and the average missing drawing frame number storage unit. The average number of missing drawing frames is read from 109, the threshold value is read from the threshold value storage unit 106, and (drawing frame number-previous drawing frame number)> (average missing drawing frame number + threshold value) (2) is compared.

【0011】(式2)が真の時、直前に描画を行なった
フレームすなわち第iフレームの画像データの描画に大
幅な時間がかかったとみなし、描画フレーム番号再計算
部117で、前描画フレーム番号記憶部103から前描
画フレーム番号を読み込み、平均欠落描画フレーム枚数
記憶部109から平均欠落描画フレーム枚数を読み込
み、閾値記憶部106から閾値を読み込み、 描画フレーム番号=前描画フレーム番号+平均欠落描画
フレーム枚数+閾値・・・(3) から図2(b)のように描画フレーム番号jを計算し直
し、描画フレーム番号記憶部102に書き込む。
When (Equation 2) is true, it is considered that it took a long time to draw the image data of the frame which was drawn immediately before, that is, the i-th frame, and the drawing frame number recalculation unit 117 determines that the previous drawing frame number The previous drawing frame number is read from the storage unit 103, the average number of missing drawing frame numbers is read from the storage unit 109, and the threshold value is read from the threshold value storage unit 106. Drawing frame number = previous drawing frame number + average missing drawing frame The drawing frame number j is recalculated from the number of sheets + threshold value (3) as shown in FIG. 2B and is written in the drawing frame number storage unit 102.

【0012】次に描画継続判断部118で、描画フレー
ム番号記憶部102から描画フレーム番号を読み込み、
最終フレーム番号記憶部108から最終フレーム番号を
読み込み、 描画フレーム番号≦終了フレーム番号・・・(4) を比べる。
Next, the drawing continuation judging unit 118 reads the drawing frame number from the drawing frame number storage unit 102,
The final frame number is read from the final frame number storage unit 108, and drawing frame number ≦ end frame number (4) is compared.

【0013】(式4)が偽の時、描画処理を終了し、
(式4)が真の時、画像描画処理部119で、描画フレ
ーム番号記憶部102から描画フレーム番号を読み込
み、描画フレーム番号の画像データを画像データ記憶手
段112から読み込み、表示手段111に書き込む。
When (Equation 4) is false, the drawing process is terminated,
When (Equation 4) is true, the image drawing processing unit 119 reads the drawing frame number from the drawing frame number storage unit 102, reads the image data of the drawing frame number from the image data storage unit 112, and writes it in the display unit 111.

【0014】次にデータ計算部120で、描画フレーム
番号記憶部102から描画フレーム番号を読み込み、前
描画フレーム番号記憶部103から前描画フレーム番号
を読み込み、描画フレーム枚数記憶部104から描画フ
レーム枚数を読み込み、平均欠落描画フレーム枚数記憶
部109から平均欠落描画フレーム枚数を読み込み、 描画フレーム枚数=描画フレーム枚数+1・・・(5) 平均欠落描画フレーム枚数=((描画フレーム番号−前
描画フレーム番号−1)+平均欠落描画フレーム枚数×
(描画フレーム枚数−1))/描画フレーム枚数)・・
・(6) 前描画フレーム番号=描画フレーム番号・・・(7) を求め、各々前描画フレーム番号記憶部103描画フレ
ーム枚数記憶部104、平均欠落描画フレーム枚数記憶
部109、へ書き込む。上記処理を繰り返すことで、動
画の描画処理を行なうことができる。
Next, the data calculation unit 120 reads the drawing frame number from the drawing frame number storage unit 102, the previous drawing frame number from the previous drawing frame number storage unit 103, and the drawing frame number from the drawing frame number storage unit 104. The average missing drawing frame number is read from the average missing drawing frame number storage unit 109, and the number of drawing frames = drawing frame number + 1 (5) average missing drawing frame number = ((drawing frame number-previous drawing frame number- 1) + average number of missing drawing frames ×
(Number of drawing frames-1)) / Number of drawing frames)
(6) The previous drawing frame number = drawing frame number (7) is calculated and written in the previous drawing frame number storage unit 103, the drawing frame number storage unit 104, and the average missing drawing frame number storage unit 109, respectively. By repeating the above process, the moving image drawing process can be performed.

【0015】図3は本実施例の時間と動画描画処理との
関係を示す図である。閾値を2とし、3枚目に描画を行
なう第5フレームの描画処理がなんらかの影響により遅
れた場合、従来の描画処理方法では、4枚目の描画とし
て第10フレームの画像データの描画処理を行なうが、
本実施例では、(式2)より第5フレームの描画処理が
大幅に遅れたとみなし、(式3)より求めた4枚目の描
画フレームである第8フレームの画像データの描画を行
なう。以降、図3に示すように5枚目に第11フレーム
の画像データの描画を行ない、6枚目に第14フレーム
の描画を行ない、遅れを徐々に縮めていくように時間的
管理を行なう。
FIG. 3 is a diagram showing the relationship between time and moving image drawing processing in this embodiment. When the threshold value is set to 2 and the drawing process of the fifth frame for drawing the third frame is delayed due to some influence, the conventional drawing process method performs the drawing process of the image data of the tenth frame as the drawing of the fourth frame. But,
In the present embodiment, it is considered that the drawing process of the fifth frame is significantly delayed from (Equation 2), and the image data of the eighth frame, which is the fourth drawing frame obtained from (Equation 3), is drawn. Thereafter, as shown in FIG. 3, the image data of the 11th frame is drawn on the fifth sheet, the 14th frame is drawn on the sixth sheet, and time management is performed so as to gradually reduce the delay.

【0016】図4は本実施例のフロチャートを示してい
る。ステップ(S1)は、初期化処理部114で、前描
画フレーム番号、描画フレーム枚数、閾値、フレーム間
周期、最終フレーム番号、平均欠落描画フレーム枚数、
描画開始時刻の初期化を行なう。
FIG. 4 shows a flow chart of this embodiment. In step (S1), the initialization processing unit 114 causes the previous drawing frame number, the number of drawing frames, the threshold value, the interframe period, the final frame number, the average number of missing drawing frames,
The drawing start time is initialized.

【0017】ステップ(S2)は、描画フレーム番号計
算部115で、 描画フレーム番号=int((現在時刻−描画開始時
刻)/フレーム間周期)+1・・・(1) [int()は()内の値を整数化する関数] を求める。
In step (S2), the drawing frame number calculation unit 115 draws a drawing frame number = int ((current time-drawing start time) / interframe period) +1 (1) [int () is () Function for converting the value in to an integer].

【0018】ステップ(S3)は、描画処理遅延判断部
116で、 (描画フレーム番号−前描画フレーム番号)>(平均欠
落描画フレーム枚数+閾値)・・・(2) を比べる。
In step (S3), the drawing processing delay determination unit 116 compares (drawing frame number-previous drawing frame number)> (average number of missing drawing frames + threshold value) (2).

【0019】ステップ(S4)は、(式1)が真の時、
描画フレーム番号再計算部117で、 描画フレーム番号=前描画フレーム番号+平均欠落描画
フレーム枚数+閾値・・・(3) を求める。
In step (S4), when (Equation 1) is true,
The drawing frame number recalculating unit 117 obtains drawing frame number = previous drawing frame number + average number of missing drawing frames + threshold value (3).

【0020】ステップ(S5)は、描画継続判断部11
8で、 描画フレーム番号≦終了フレーム番号・・・(4) を比べる。
In step (S5), the drawing continuation determination unit 11
8, the drawing frame number ≦ end frame number (4) are compared.

【0021】ステップ(S6)は、(式4)が真の時、
画像描画処理部119で、画像データ記憶手段112か
ら描画フレーム番号の画像データを読み込み、表示手段
111へ書き込む。
In step (S6), when (Equation 4) is true,
The image drawing processing unit 119 reads the image data of the drawing frame number from the image data storage unit 112 and writes it in the display unit 111.

【0022】ステップ(S7)は、データ計算部120
で、 描画フレーム枚数=描画フレーム枚数+1・・・(5) 平均欠落描画フレーム枚数=((描画フレーム番号−前
描画フレーム番号−1)+平均欠落描画フレーム枚数×
(描画フレーム枚数−1))/描画フレーム枚数)・・
・(6) 前描画フレーム番号=描画フレーム番号・・・(7) を求める。
In step (S7), the data calculation unit 120
Then, the number of drawing frames = the number of drawing frames + 1 + 1 (5) the average number of missing drawing frames = ((drawing frame number−previous drawing frame number−1) + the average number of missing drawing frames ×
(Number of drawing frames-1)) / Number of drawing frames)
(6) Previous drawing frame number = drawing frame number (7)

【0023】この処理を(式4)が偽になるまで続ける
ことで、時間管理を用いた動画の描画処理を行なうこと
ができる。なお、本実施例において、最終フレーム番号
記憶部108、描画継続判断部118を設けることで、
描画の終了としたが、外部入力からの終了信号により動
画の描画処理終了とする構成にしても良い。
By continuing this processing until (Equation 4) becomes false, the moving picture drawing processing using time management can be performed. In this embodiment, by providing the final frame number storage unit 108 and the drawing continuation determination unit 118,
Although the drawing is ended, the moving picture drawing process may be ended by an end signal from an external input.

【0024】さらに、本実施例において、画像描画処理
部119が、画像データ記憶手段112から画像データ
を読み込み、表示手段111に書き込むとしたが、画像
データ記憶手段112に圧縮を行なった画像データを格
納し、画像描画処理部119で伸長処理を行なっても良
い。
Further, in the present embodiment, the image drawing processing section 119 reads the image data from the image data storage means 112 and writes it in the display means 111. However, the compressed image data is stored in the image data storage means 112. The image may be stored and the image drawing processing unit 119 may perform decompression processing.

【0025】[0025]

【発明の効果】以上のように本発明によれば、なんらか
の影響により直前のフレームの画像データの描画処理に
大幅な時間がかかった場合、時間的に前のフレームの画
像データの描画処理を行ない、遅れを徐々に縮めていく
ように時間的管理を行なうことで、視覚的に滑らかな動
画の描画を実現することができるものである。
As described above, according to the present invention, when the drawing process of the image data of the immediately preceding frame takes a considerable time due to some influence, the drawing process of the image data of the previous frame in time is performed. By performing time management so as to gradually reduce the delay, it is possible to realize a visually smooth moving image drawing.

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

【図1】本発明の一実施例の動画描画処理方法で用いる
コンピュータのブロック図
FIG. 1 is a block diagram of a computer used in a moving image drawing processing method according to an embodiment of the present invention.

【図2】本発明の一実施例の動画描画処理方法の原理を
示す図
FIG. 2 is a diagram showing the principle of a moving image drawing processing method according to an embodiment of the present invention.

【図3】本発明の一実施例の動画描画処理方法の時間と
動画描画処理との関係を示す図
FIG. 3 is a diagram showing a relationship between time and moving image drawing processing in the moving image drawing processing method according to the embodiment of the present invention.

【図4】本発明の一実施例の動画描画処理方法のフロチ
ャート
FIG. 4 is a flowchart of a moving image drawing processing method according to an embodiment of the present invention.

【図5】従来例の動画描画処理方法の時間と動画描画処
理との関係を示す図
FIG. 5 is a diagram showing a relationship between time and moving image drawing processing in a conventional moving image drawing processing method.

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

101主記憶 102描画フレーム番号記憶部 103前描画フレーム番号記憶部 104描画フレーム枚数記憶部 105描画開始時刻記憶部 106閾値記憶部 107フレーム間周期記憶部 108最終フレーム番号記憶部 109平均欠落描画フレーム枚数記憶部 110タイマ 111表示手段 112画像データ記憶手段 113CPU 114初期化処理部 115描画フレーム番号計算部 116描画処理遅延判断部 117描画フレーム番号再計算部 118描画継続判断部 119画像描画処理部 120データ計算部 121ホストバス 101 main memory 102 drawing frame number storage unit 103 previous drawing frame number storage unit 104 drawing frame number storage unit 105 drawing start time storage unit 106 threshold value storage unit 107 interframe cycle storage unit 108 final frame number storage unit 109 average missing drawing frame number Storage unit 110 Timer 111 Display unit 112 Image data storage unit 113 CPU 114 Initialization processing unit 115 Drawing frame number calculation unit 116 Drawing processing delay determination unit 117 Drawing frame number recalculation unit 118 Drawing continuation determination unit 119 Image drawing processing unit 120 Data calculation Part 121 Host bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 表示手段と、画像データ記憶手段と、タ
イマと、主記憶と、前記表示手段、前記画像データ記憶
手段、前記タイマ、前記主記憶を制御するCPUを少な
くとも備えたコンピュータ上で動画の描画を行なうに際
し、任意の正の整数をi、j、kとして、時間的に連続
する順番でi番目の画像データを第iフレームとし、現
在時刻と第1フレーム描画開始時刻との差をフレーム間
周期で割り、1を加え、次に描画を行なう第kフレーム
を求め、前記データ記憶手段から第kフレームの画像デ
ータを読み込み、前記表示手段へ第kフレームの画像デ
ータの書き込みを行なう時、なんらかの影響により直前
に描画を行なったフレームの画像データの描画処理に大
幅な時間がかかった場合、第kフレームよりも時間的な
順番で前の第jフレームの画像データを描画するように
時間的管理を行なうことを特徴とする動画描画処理方
法。
1. A moving image on a computer including at least a display unit, an image data storage unit, a timer, a main memory, the display unit, the image data storage unit, the timer, and a CPU for controlling the main memory. At the time of drawing, the i-th image data in the temporally consecutive order is the i-th frame, and the difference between the current time and the drawing start time of the first frame is set to i, j, k. When dividing by the cycle between frames and adding 1, and then determining the kth frame to be drawn next, reading the image data of the kth frame from the data storage means, and writing the image data of the kth frame to the display means , If it takes a long time to draw the image data of the frame drawn immediately before due to some influence, the j-th frame preceding the k-th frame in the time order. A moving image drawing processing method, characterized in that time management is performed so as to draw the image data of the movie.
【請求項2】 表示手段と、画像データ記憶手段と、タ
イマと、主記憶と、前記表示手段、前記画像データ記憶
手段、前記タイマ、前記主記憶を制御するCPUを少な
くとも備えたコンピュータ上で動画の描画を行なうに際
し、任意の正の整数をi、j、kとして、時間的に連続
する順番でi番目の画像データを第iフレームとし、第
iフレームの画像データの描画を終えた後に、現在時刻
と第1フレーム描画開始時刻との差をフレーム間周期で
割り、1を加え、次に描画を行なう第kフレームを求
め、第iフレームと第kフレームとの間にあり、描画さ
れずに抜け落ちてしまうk−i−1枚のフレームが、以
前までに抜け落ちていたフレームの枚数の平均値と閾値
として設けている任意の値との和より大きい時、第iフ
レームの描画処理に大幅な時間がかかったとみなして、
第iフレームと以前までの抜け落ちていたフレームの枚
数の平均値と閾値との和から次に描画を行なう第jフレ
ームを求め、第jフレームの画像データを描画するよう
時間的管理を行なうことを特徴とする動画描画処理方
法。
2. A moving image on a computer including at least a display unit, an image data storage unit, a timer, a main memory, the display unit, the image data storage unit, the timer, and a CPU for controlling the main memory. In drawing, the i-th image data is set to the i-th frame in a temporally continuous order with arbitrary positive integers as i, j, and k, and after drawing the image data of the i-th frame, The difference between the current time and the drawing start time of the first frame is divided by the inter-frame period, and 1 is added to obtain the k-th frame to be drawn next, which is between the i-th frame and the k-th frame and is not drawn. When the number of k-i-1 frames that are missed is larger than the sum of the average value of the number of previously missed frames and an arbitrary value set as the threshold value, the drawing process of the i-th frame is large. Considering that it took a long time,
The j-th frame to be drawn next is obtained from the sum of the average value of the number of the i-th frame and the number of previously omitted frames and the threshold value, and the time management is performed so that the image data of the j-th frame is drawn. Characteristic video drawing processing method.
JP30043194A 1994-12-05 1994-12-05 Dynamic image drawing process method Pending JPH08161523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30043194A JPH08161523A (en) 1994-12-05 1994-12-05 Dynamic image drawing process method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30043194A JPH08161523A (en) 1994-12-05 1994-12-05 Dynamic image drawing process method

Publications (1)

Publication Number Publication Date
JPH08161523A true JPH08161523A (en) 1996-06-21

Family

ID=17884728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30043194A Pending JPH08161523A (en) 1994-12-05 1994-12-05 Dynamic image drawing process method

Country Status (1)

Country Link
JP (1) JPH08161523A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8408997B2 (en) 1999-11-17 2013-04-02 Square Enix Co., Ltd. Video game with fast forward and slow motion features

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8408997B2 (en) 1999-11-17 2013-04-02 Square Enix Co., Ltd. Video game with fast forward and slow motion features

Similar Documents

Publication Publication Date Title
JP3244629B2 (en) Scene change point detection method
CN111741246B (en) Video storage method, device, SOC system and medium
JPH05183757A (en) Method and device for processing picture
US5752266A (en) Method controlling memory access operations by changing respective priorities thereof, based on a situation of the memory, and a system and an integrated circuit implementing the method
JP3535297B2 (en) Image data decoding method and image data decoding device using this method
CN115209145A (en) Video compression method, system, device and readable storage medium
JP2888288B2 (en) Image coding device
US7929777B2 (en) Variable length decoding device, variable length decoding method and image capturing system
CN113573072B (en) Image processing method and device and related components
EP1691334A1 (en) Method for encoding co-ordinates of a video image moving along the display of a computing device
JPH08161523A (en) Dynamic image drawing process method
JP3264245B2 (en) Image information processing device
CN100594723C (en) Image processor having frame speed conversion and its method
GB2311680A (en) Reordering frames in MPEG coder/decoder
JPH11215509A (en) Motion compensation processing method and recording medium with its processing program stored therein
WO2006006510A1 (en) Image processing device, image processing system, image processing method, computer program, and semiconductor device
TWI700921B (en) Image decryption apparatus and method of the same
JP3410669B2 (en) Video and audio processing device
KR100646577B1 (en) Image copy method of video CODEC
JPH10341437A (en) Image processing method and device therefor
US7103100B1 (en) Digital signal processing apparatus and method and providing medium
JP2001238183A (en) Data rate converting apparatus
JP2006121343A (en) Image processor
JP2000324492A (en) Picture decoder
JPH1118080A (en) Method and device for decoding dynamic image