JP3274563B2 - Image playback device - Google Patents

Image playback device

Info

Publication number
JP3274563B2
JP3274563B2 JP5620094A JP5620094A JP3274563B2 JP 3274563 B2 JP3274563 B2 JP 3274563B2 JP 5620094 A JP5620094 A JP 5620094A JP 5620094 A JP5620094 A JP 5620094A JP 3274563 B2 JP3274563 B2 JP 3274563B2
Authority
JP
Japan
Prior art keywords
code
reproducing apparatus
image
block
picture
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
JP5620094A
Other languages
Japanese (ja)
Other versions
JPH07264590A (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.)
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
Priority to JP5620094A priority Critical patent/JP3274563B2/en
Application filed by NEC Corp filed Critical NEC Corp
Priority to EP01111143A priority patent/EP1139671B1/en
Priority to DE69536095T priority patent/DE69536095D1/en
Priority to EP01111142A priority patent/EP1139670B1/en
Priority to EP01111144A priority patent/EP1139672B1/en
Priority to DE69536030T priority patent/DE69536030D1/en
Priority to DE69524896T priority patent/DE69524896T2/en
Priority to EP95104491A priority patent/EP0674448B1/en
Priority to DE69536096T priority patent/DE69536096D1/en
Publication of JPH07264590A publication Critical patent/JPH07264590A/en
Priority to US08/921,472 priority patent/US5847767A/en
Priority to US09/130,461 priority patent/US6094456A/en
Application granted granted Critical
Publication of JP3274563B2 publication Critical patent/JP3274563B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、離散コサイン変換(D
CT、以下DCTという)をベースとした符号化方式
(JPEGやMPEGなど)で圧縮符号化された画像符
号を再生する装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a discrete cosine transform (D
The present invention relates to an apparatus that reproduces an image code that has been compression-encoded by an encoding method (such as JPEG or MPEG) based on CT (hereinafter, referred to as DCT).

【0002】[0002]

【従来の技術】画像をデジタル化してCD−ROMやハ
ードディスクなどの記録媒体に記録する場合、そのデー
タ量は巨大なものとなるため通常は圧縮符号化して記録
される。
2. Description of the Related Art When an image is digitized and recorded on a recording medium such as a CD-ROM or a hard disk, the data amount is enormous, so that it is usually recorded by compression encoding.

【0003】圧縮符号化方式の中で使用されることが多
いDCTをベースとした符号化方式があるが、これはJ
PEG(Joint Photographic Ex
pert Group)やMPEG(Moving P
ictures Expert Group)などの国
際標準である符号化方式で採用されている。
[0003] There is an encoding method based on DCT which is often used in the compression encoding method.
PEG (Joint Photographic Ex)
Part Group) or MPEG (Moving P
This is adopted in an encoding system which is an international standard such as the “Ictories Expert Group”.

【0004】従来のDCTをベースとした符号化方式に
よる画像符号の再生についてMPEGを例として図面を
参照して説明する。図16はMPEGに準拠した画像符
号の再生を説明する図である。図16に示すように符号
を読み込んで、ヘッダ解析201で符号の種別などを解
析する。MPEGではフレーム内符号であるIピクチャ
と、前方向のみのフレーム間符号であるPピクチャと、
前後の双方向のフレーム間符号であるBピクチャの3種
類に分かれている。
[0004] Reproduction of an image code according to a conventional DCT-based coding method will be described with reference to the drawings using MPEG as an example. FIG. 16 is a view for explaining reproduction of an image code conforming to MPEG. As shown in FIG. 16, the code is read, and the header analysis 201 analyzes the type of the code. In MPEG, an I picture which is an intra-frame code, a P picture which is an inter-frame code only in the forward direction,
It is divided into three types of B pictures, which are front and rear bidirectional interframe codes.

【0005】Iピクチャの場合はVLD202で高能率
圧縮された可変長のハフマン符号を復号して、Q-120
3で逆量子化して、IDCT204で逆DCT処理によ
りブロックの画素の値を算出して、画像を伸張する。
[0005] In the case of an I picture, a variable length Huffman code that has been highly efficiently compressed by the VLD 202 is decoded, and Q- 1
3, the image data is decompressed, the IDCT 204 calculates the pixel values of the block by the inverse DCT process, and the image is expanded.

【0006】また、Pピクチャの場合はVLD202で
復号して、Q-1203で逆量子化して、IDCT204
で逆DCT処理によりブロックの差分値を算出して、前
予測207により前フレーム205に格納された前フレ
ームの動き補償したブロックに差分値を加算して、画像
を伸張する。
In the case of a P picture, the picture is decoded by the VLD 202, dequantized by the Q -1 203, and
Then, the difference value of the block is calculated by the inverse DCT process, and the difference value is added to the motion-compensated block of the previous frame stored in the previous frame 205 by the previous prediction 207 to expand the image.

【0007】また、Bピクチャの場合はVLD202で
復号して、Q-1203で逆量子化して、IDCT204
で逆DCT処理によりブロックの差分値を算出して、両
予測208または後予測209により前フレーム205
に格納された前フレームの動き補償したブロックと後フ
レーム206に格納された後フレームの動き補償したブ
ロックに差分値を加算して、画像を伸張する。
In the case of a B picture, the picture is decoded by the VLD 202, dequantized by Q -1 203, and
Calculates the difference value of the block by the inverse DCT process, and calculates the previous frame 205 by the two predictions 208 or the rear prediction 209.
The image is decompressed by adding a difference value to the motion-compensated block of the previous frame and the motion-compensated block of the subsequent frame stored in the subsequent frame 206.

【0008】このように国際標準であるMPEGに基づ
いた再生機であればどの装置でもMPEGの符号を再生
することができる。しかし、逆DCTやVLDなどの処
理にはCPUの負担が大きいので、高速なCPUでなけ
れば高速再生はできない。例えば、JPEGやMPEG
などの再生機で15フレーム/秒の処理を行うには1フ
レームの再生処理は約66ミリ秒で行う必要がある。も
し、ハフマン符号を復号するのに30ミリ秒かかり、逆
量子化するのに10ミリ秒かかり、逆DCTに20ミリ
秒かかり、表示に20ミリ秒かかると全体の処理時間が
80ミリ秒かかるので、1フレームの画像を再生するの
に14ミリ秒遅れる。
[0008] As described above, any apparatus can reproduce the MPEG code if it is a reproducer based on the international standard MPEG. However, processing such as inverse DCT and VLD imposes a heavy burden on the CPU, and high-speed reproduction cannot be performed without a high-speed CPU. For example, JPEG or MPEG
In order to perform the processing of 15 frames / second by a reproducing apparatus such as the above, it is necessary to perform the reproducing processing of one frame in about 66 milliseconds. If it takes 30 ms to decode the Huffman code, 10 ms to dequantize, 20 ms to inverse DCT, and 20 ms to display, it takes 80 ms to process the whole. It takes 14 milliseconds to reproduce an image of one frame.

【0009】そこで、CPUの負担を少なくするために
符号化方式の一部を変えてDCT計算の代わりに近傍画
素との差分計算にしたり、量子化を省いたり、可変長の
符号の代わりに4ビット単位の符号で符号化することな
どによって、低速なCPUでも高速に再生できるように
することが考えられる。
Therefore, in order to reduce the load on the CPU, a part of the encoding method is changed to calculate the difference between neighboring pixels instead of the DCT calculation, omit the quantization, and replace the variable-length code with a 4-bit code. It is conceivable that high-speed reproduction can be performed even by a low-speed CPU by performing encoding using a bit unit code.

【0010】この従来例として特開昭63−95791
があるが、この方式ではブロックのデータの長さが等し
くなるように可変長データを分配することにより、CP
Uに負担をかけずに再生できるようにしている。
As this conventional example, Japanese Patent Application Laid-Open No. 63-95791 is known.
However, in this method, CP is obtained by distributing variable-length data so that the data lengths of blocks are equal.
U can be played without burden.

【0011】また、特開平4−56492では1ブロッ
クのDCT変換後の係数が全て0である場合には無効ブ
ロックとして、無効ブロックを示す情報のみを別信号で
送ることにより、処理量を削減している。
In Japanese Patent Application Laid-Open No. 4-56492, when the coefficients of one block after DCT conversion are all 0, the block is regarded as an invalid block and only the information indicating the invalid block is transmitted as a separate signal, thereby reducing the processing amount. ing.

【0012】また、CPUの負担を少なくするために、
符号化するときに圧縮符号量を制御する方法も考えられ
る。その従来例として、特開平4−329089がある
が、この方式ではフレーム内で小領域に分割されたブロ
ック毎の情報量に応じて符号量制御を行い、各ブロック
毎に割り当てる符号量とステップサイズを最適な状態に
設定することで、符号量を制御している。
In order to reduce the load on the CPU,
A method of controlling the amount of compression code at the time of encoding is also conceivable. As a conventional example, there is JP-A-4-329089. In this method, code amount control is performed according to the information amount of each block divided into small areas in a frame, and the code amount and the step size assigned to each block are controlled. Is set to an optimal state, thereby controlling the code amount.

【0013】[0013]

【発明が解決しようとする課題】しかしながら上記のよ
うな符号化方式の一部を変える画像圧縮では国際標準の
符号化方式と互換性が取れなくなるために、専用の再生
機が必要となる問題点がある。
However, in the above-mentioned image compression in which a part of the encoding system is changed, compatibility with the international standard encoding system cannot be obtained, so that a dedicated reproducing device is required. There is.

【0014】また、圧縮符号量の制御を行う画像圧縮で
は複数回の圧縮を繰り返す必要があるため、圧縮符号を
作成するのに時間がかかる。また、再生機の処理能力に
応じた符号量制御ではないため、処理速度の遅い再生機
ではリアルタイムの再生ができない。また、圧縮符号量
が決っているので高速な再生機でも決められた画質の符
号しか再生できないという問題点がある。
Further, in image compression for controlling the amount of compression code, it is necessary to repeat compression a plurality of times, so that it takes time to create a compression code. Also, since the code amount control is not performed in accordance with the processing capability of the reproducing device, a reproducing device having a low processing speed cannot perform real-time reproduction. Further, since the compression code amount is determined, there is a problem that even a high-speed reproducing device can reproduce only a code having a predetermined image quality.

【0015】そこで、本発明の目的は再生機の能力に応
じて画質をできるだけ損なわずに、簡単な構成によっ
て、DCTをベースとした符号を高速に再生できるよう
にした画像再生装置や画像再生方式を提供することにあ
る。
An object of the present invention is to provide an image reproducing apparatus and an image reproducing method which can reproduce DCT-based codes at a high speed with a simple configuration without impairing the image quality as much as possible according to the capability of the reproducing apparatus. Is to provide.

【0016】[0016]

【課題を解決するための手段】本発明によれば、画像を
小ブロックに分割して、各ブロック毎に離散コサイン変
換を行い、該変換結果を量子化して、高能率符号化され
たフレーム内符号を生成し、画像を小ブロックに分割し
て、各ブロック毎に現フレームとその前後のフレームで
最も差分が小さくなるようなブロックを検索して動き補
償を行い、現フレームのブロックと動き補償されたフレ
ームのブロックで差分を取り、その差分ブロックに離散
コサイン変換を行い、該変換結果を量子化して、高能率
符号化されたフレーム間符号を生成し、フレーム内符号
とフレーム間符号とで圧縮符号化された動画像を再生す
る画像再生装置において、符号を解析してパラメータを
固定した符号であるかどうか判定し、パラメータを固定
した符号である場合には高速再生を行う手段を備えたこ
とを特徴とする画像再生装置が得られる。
According to the present invention, an image is divided into small blocks, a discrete cosine transform is performed for each block, and the result of the transform is quantized to obtain a highly efficient encoded frame. Generates a code, divides the image into small blocks, and performs motion compensation by searching for the block that minimizes the difference between the current frame and the frames before and after it for each block, and performs motion compensation with the block of the current frame. The difference between the blocks of the frame is taken, the discrete cosine transform is performed on the difference block, the transform result is quantized to generate a highly efficient coded inter-frame code , and the intra-frame code is generated.
In an image playback device that plays back a moving image that has been compression- encoded with an inter-frame code , the code is analyzed to determine whether or not the code has fixed parameters, and the parameters are fixed.
If the code is the same, an image reproducing apparatus having means for performing high-speed reproduction is obtained.

【0017】また、本発明によれば、更に、高速再生の
場合に再生画像を拡大して表示する手段を有することを
特徴とする画像再生装置が得られる。
Further, according to the present invention, a high-speed reproduction
In this case, an image reproducing apparatus having means for enlarging and displaying a reproduced image is obtained.

【0018】また、本発明によれば、更に、高速再生の
場合にフレーム内符号であるIピクチャーのみによる
張処理を行う手段を有することを特徴とする画像再生装
置が得られる。
According to the present invention, there is further provided an image reproducing apparatus having means for performing an expansion process using only an I picture which is an intra-frame code in the case of high-speed reproduction. .

【0019】また、本発明によれば、更に、高速再生の
場合にフレーム内符号であるIピクチャーのスライス幅
を固定した伸張処理を行う手段を有することを特徴とす
る画像再生装置が得られる。
Further, according to the present invention, the slice width of an I-picture which is an intra-frame code at the time of high-speed reproduction is further improved.
An image reproducing apparatus having means for performing a decompression process in which is fixed .

【0020】また、本発明によれば、更に、高速再生の
場合に、ブロック内の特定の高周波成分を0と見なして
逆離散コサイン変換の算出を行う手段を有することを特
徴とする画像再生装置が得られる。
According to the present invention, there is further provided an image reproducing apparatus for calculating an inverse discrete cosine transform by regarding a specific high-frequency component in a block as 0 in the case of high-speed reproduction. Is obtained.

【0021】また、本発明によれば、更に、高速再生の
場合に固定長の符号のみ復号する手段を有することを
特徴とする画像再生装置が得られる。
Further, according to the present invention, a high-speed reproduction
In this case, an image reproducing apparatus having means for decoding only a fixed-length code is obtained.

【0022】更に、本発明によれば、上記各手段を組み
合わせた画像再生装置を得ることもできる。
Further, according to the present invention, it is possible to obtain an image reproducing apparatus in which the above-mentioned units are combined.

【0023】[0023]

【作用】本発明によれば、再生機の処理能力に応じて画
質をできるだけ損なわずに、高速に再生できる。また、
国際標準である符号化方式と互換性が取れるので、専用
の再生機を必要としない。
According to the present invention, high-speed reproduction can be performed without impairing the image quality as much as possible in accordance with the processing capacity of the reproducing apparatus. Also,
Since it is compatible with the international standard encoding method, no special playback device is required.

【0024】[0024]

【実施例】次に本発明についてMPEGを例として図面
を参照して説明する。図1は本発明の一実施例を示す画
像再生装置のブロック図である。図1の画像再生装置は
ヘッダ解析111とVLD112とQ-1113と逆DC
T114と前フレーム115と後フレーム116と前予
測117と両予測118と後予測119から構成され
る。また、ヘッダ解析111はシーケンスヘッダ解析1
24とGOPヘッダ解析125とピクチャヘッダ解析1
26とスライスヘッダ解析127から構成される。画像
再生装置は符号を読み込んでヘッダ解析111を行う。
その時、パラメータを固定した符号であるかどうか判断
して、そうである場合は高速再生を行う。高速再生の場
合にはIピクチャのみ、スライス幅固定、エスケープ符
号のみと見なして、VLD2(120)で高能率圧縮さ
れた符号を復号して、Q2-1121で逆量子化して、逆
DCT2(122)で逆DCTを行って、拡大123で
再生する画像を拡大して表示する。高速再生でない場合
には、フレーム内符号であるIピクチャと、前方向のみ
のフレーム間符号であるPピクチャと、前後の双方向の
フレーム間符号であるBピクチャの3種類の符号を伸張
する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention; FIG. 1 is a block diagram of an image reproducing apparatus showing one embodiment of the present invention. 1 includes a header analysis 111, a VLD 112, a Q -1 113, and an inverse DC.
It comprises T114, previous frame 115, rear frame 116, front prediction 117, both predictions 118 and rear prediction 119. The header analysis 111 is a sequence header analysis 1
24, GOP header analysis 125, and picture header analysis 1
26 and a slice header analysis 127. The image reproducing device reads the code and performs header analysis 111.
At that time, it is determined whether the code is a code with a fixed parameter, and if so, high-speed reproduction is performed. In the case of high-speed reproduction, only the I picture, the fixed slice width, and the escape code are regarded as the only codes, and the VLD2 (120) decodes the code that has been subjected to high-efficiency compression, inversely quantizes it with Q2 -1 121, and performs inverse DCT2 ( At 122), an inverse DCT is performed, and the image to be reproduced is enlarged and displayed at 123. In the case of non-high-speed reproduction, three types of codes are decompressed: an I picture which is an intra-frame code, a P picture which is an inter-frame code only in the forward direction, and a B picture which is a bi-directional inter-frame code.

【0025】Iピクチャの場合はVLD112で復号し
て、Q-1113で逆量子化して、逆DCT114で逆D
CT処理によりブロックの画素の値を算出して、画像を
伸張する。
In the case of an I picture, the picture is decoded by the VLD 112, dequantized by the Q −1 113, and inverted by the inverse DCT 114.
The value of the pixel of the block is calculated by the CT process, and the image is expanded.

【0026】また、Pピクチャの場合はVLD112で
復号して、Q-1113で逆量子化して、逆DCT114
で逆DCT処理によりブロックの差分値を算出して、前
予測117により前フレーム115に格納された前フレ
ームの動き補償したブロックに差分値を加算して、画像
を伸張する。
In the case of a P picture, the picture is decoded by the VLD 112, dequantized by the Q -1 113, and
Then, the difference value of the block is calculated by the inverse DCT process, and the difference value is added to the motion-compensated block of the previous frame stored in the previous frame 115 by the previous prediction 117 to expand the image.

【0027】また、Bピクチャの場合はVLD112で
復号して、Q-1113で逆量子化して、逆DCT114
で逆DCT処理によりブロックの差分値を算出して、両
予測118または後予測119により前フレーム115
に格納された前フレームの動き補償したブロックと後フ
レーム116に格納された後フレームの動き補償したブ
ロックに差分値を加算して、画像を伸張する。
In the case of a B picture, the picture is decoded by the VLD 112, dequantized by the Q -1 113, and
Calculates the difference value of the block by the inverse DCT processing, and calculates the difference between the previous frame 115 and the
Then, the difference value is added to the motion-compensated block of the previous frame and the motion-compensated block of the subsequent frame stored in the subsequent frame 116, and the image is expanded.

【0028】また、図2にMPEGに準拠した符号フォ
ーマットの階層図を示す。MPEGの符号は図2に示す
ようにいくつかの階層構造となっている。一番上の階層
がビデオ・シーケンスであり、複数のGOP(Grou
p Of Picture)から構成される。GOPは
複数のピクチャから構成され、1つのピクチャが1枚の
画像を示している。ピクチャは任意の領域に分割された
複数のスライスから構成される。スライスは左から右
へ、または上から下への順序で並んだ複数のマクロブロ
ックから構成される。マイクロブロックは16×16ド
ットのブロックを更に8×8ドットのブロックに分割し
た輝度成分(Y1,Y2,Y3,Y4)と輝度成分に一
致する領域の8×8ドットのブロックの色差成分(C
b,Cr)の6個のブロックから構成される。8×8ド
ットのブロックが符号化の最小単位となる。
FIG. 2 shows a hierarchical diagram of a code format conforming to MPEG. MPEG codes have several hierarchical structures as shown in FIG. The top layer is a video sequence, and includes a plurality of GOPs (Grou).
p Of Picture). The GOP is composed of a plurality of pictures, and one picture indicates one image. A picture is composed of a plurality of slices divided into arbitrary regions. A slice is composed of a plurality of macroblocks arranged in left-to-right or top-to-bottom order. The micro block is a luminance component (Y1, Y2, Y3, Y4) obtained by further dividing the 16 × 16 dot block into 8 × 8 dot blocks, and a color difference component (C) of an 8 × 8 dot block in an area matching the luminance component.
b, Cr). An 8 × 8 dot block is the minimum unit of encoding.

【0029】また、図3にMPEGに準拠した符号フォ
ーマットの構成図を示す。MPEGの符号は図3に示す
ように各階層毎に(1)シーケンスヘッダと、(2)G
OP(Group Of Picture)ヘッダと、
(3)ピクチャヘッダと、(4)スライスヘッダと、
(5)マクロブロックヘッダと、(6)ブロックの符号
とから構成される。
FIG. 3 shows a configuration diagram of a code format conforming to MPEG. As shown in FIG. 3, the MPEG code includes (1) a sequence header and (2) G
An OP (Group Of Picture) header,
(3) picture header, (4) slice header,
It consists of (5) a macro block header and (6) a code of a block.

【0030】シーケンスヘッダにはUserData
(11)に示すようにユーザが自由に定義できるユーザ
データの領域があり、その領域にパラメータを固定した
ことを示すフラグを格納する。そのユーザデータ(1
1)は固定パラメータで圧縮した符号であることを示す
識別子“Custom”(12)と、固定パラメータの
フラグ(13)で構成される。固定パラメータのフラグ
(13)は伸張時に拡大することを示すビットと、
Iピクチャのみに固定することを示すビットと、スラ
イス幅はピクチャサイズに固定することを示すビット
と、高周波成分をカットすることを示すビットと、
エスケープ符号のみに固定することを示すビットで構成
される。
UserData is included in the sequence header.
As shown in (11), there is a user data area that can be freely defined by the user, and a flag indicating that the parameter is fixed is stored in that area. The user data (1
1) is composed of an identifier “Custom” (12) indicating a code compressed with a fixed parameter and a fixed parameter flag (13). The fixed parameter flag (13) includes a bit indicating that the data is expanded upon decompression,
A bit indicating that only the I picture is fixed, a bit indicating that the slice width is fixed at the picture size, a bit indicating that high frequency components are cut,
Consists of bits indicating that only the escape code is fixed.

【0031】次に、以上の構成を有する本実施例の画像
再生装置における画像再生処理について説明する。
Next, an image reproducing process in the image reproducing apparatus of the present embodiment having the above configuration will be described.

【0032】図4は画像再生装置の拡大を説明する図で
ある。図4では2×2画素の画像を縦2倍、横2倍に拡
大する場合の例を示している。図4の(A)は2×2画
素の各画素の値を示し、(C)は縦2倍、横2倍に拡大
後の4×4画素の各画素の値を示している。また、図4
の(B)は1画素を4つの画素に変換する処理を示して
いる。図4の例では(A)から1画素取り出して、それ
を(B)のように4つの画素に変換して、縦2倍、横2
倍に拡大した画像(C)に書き込んでいる。例えば、
(A)の右上の画素(29)は(B)の変換により、P
1(29)とP2(29)とP3(29)とP4(2
9)となり、(C)の対応する領域に書き込まれる。
FIG. 4 is a diagram for explaining the enlargement of the image reproducing apparatus. FIG. 4 shows an example in which an image of 2 × 2 pixels is enlarged twice vertically and twice horizontally. FIG. 4A shows the value of each pixel of 2 × 2 pixels, and FIG. 4C shows the value of each pixel of 4 × 4 pixels after being enlarged twice vertically and twice horizontally. FIG.
(B) shows a process of converting one pixel into four pixels. In the example of FIG. 4, one pixel is taken out from (A) and converted into four pixels as shown in (B), which is twice as long and two times as wide.
The image is written on the image (C) that is enlarged twice. For example,
The pixel (29) at the upper right of (A) is converted to P
1 (29), P2 (29), P3 (29) and P4 (2
9), and the data is written in the corresponding area of (C).

【0033】図4の例では縦2倍、横2倍に拡大すると
きに画質を向上するために画素の値の補正(ディサ処
理)を行っていないが、ディサ処理を行っても良い。こ
の場合例えば、図4の(B)でP1=P0+a、P2=
P0+b、P3=P0+c、P4=P0+d(a,b,
c,dは任意の整数)として、4倍拡大を行う。また、
倍率は縦2倍、横2倍としているが、3以上の整数倍で
も良い。
In the example shown in FIG. 4, the pixel value is not corrected (desired) in order to improve the image quality when the image is enlarged twice vertically and twice horizontally, but the dithering process may be performed. In this case, for example, in FIG. 4B, P1 = P0 + a, P2 =
P0 + b, P3 = P0 + c, P4 = P0 + d (a, b,
(c and d are arbitrary integers), and 4 times magnification is performed. Also,
The magnification is twice as high and twice as wide, but may be an integer multiple of 3 or more.

【0034】また、図5は図4の動作を説明するフロー
チャートである。図5に示すように拡大は拡大前の画像
から画素を1つ読み込んで(ステップ1)、読み込んだ
1つの画素(P0)を4つの画素(P1=P0、P2=
P0、P3=P0、P4=P0)に変換して(ステップ
2)、変換した4つの画素を拡大後の画像に書き込む
(ステップ3)。次に全画素を処理したかどうか判断し
て(ステップ4)、そうでない場合はステップ1に戻
り、そうでない場合は処理を終了する。
FIG. 5 is a flowchart for explaining the operation of FIG. As shown in FIG. 5, the enlargement is performed by reading one pixel from the image before the enlargement (step 1), and replacing the read one pixel (P0) with four pixels (P1 = P0, P2 =
P0, P3 = P0, P4 = P0) are converted (step 2), and the converted four pixels are written in the enlarged image (step 3). Next, it is determined whether or not all the pixels have been processed (step 4). If not, the process returns to step 1; otherwise, the process ends.

【0035】このように伸張した画像を拡大して表示す
ることにより、伸張時間を短縮でききる。例えば、縦2
倍、横2倍に拡大する場合は伸張時間は1/4に短縮で
きる。
By expanding and displaying the image thus expanded, the expansion time can be reduced. For example, vertical 2
When the magnification is doubled and doubled horizontally, the extension time can be reduced to 1/4.

【0036】また、拡大の大部分の処理はメモリのリー
ド/ライトである。伸張の処理にはメモリのリード/ラ
イトだけでなく、逆DCTや逆量子化での乗算や可変長
符号の復号でのビットシフトの処理がある。メモリのリ
ード/ライトの方が乗算やビットシフトよりもCPUの
負担が小さいので、拡大処理を含めても、拡大しない場
合よりも拡大した場合の方が高速に処理できる。
Most of the enlargement processing is memory read / write. Decompression processing includes not only read / write of a memory, but also multiplication by inverse DCT or inverse quantization, and bit shift processing by decoding variable-length code. Since the read / write of the memory has a smaller load on the CPU than the multiplication and the bit shift, even when the enlargement processing is included, the processing can be performed at a higher speed when the enlargement is performed than when the enlargement is not performed.

【0037】図6はピクチャ構成を固定にした場合の処
理を説明する図である。MPEGではIピクチャ(フレ
ーム内符号)とPピクチャ(前方向予測符号)とBピク
チャ(双方向予測符号)の3つのピクチャがあるが、図
6の(A)はIピクチャとPピクチャとBピクチャから
成るピクチャ構成を示し、(B)はIピクチャのみに固
定したピクチャ構成を示している。Pピクチャの場合は
前ピクチャの画像を参照して前予測を行う必要があり、
またBピクチャの場合は前フレームの画像や後フレーム
の画像を参照して後予測や両予測を行う必要があるの
で、Iピクチャの場合と比べて処理時間がかかる。図6
の(A)の例では1フレーム目はIピクチャであり参照
フレームは無い。2フレーム目と2フレーム目はBピク
チャであり、前フレームである1フレーム目の画像と後
フレームである4フレーム目の画像を参照して、後予測
や両予測を行う。4フレームはPピクチャであり、前フ
レームである1フレーム目の画像を参照して前予測を行
う。図6の(B)の例では1フレーム目から4フレーム
目まで全てIピクチャなので、前予測や後予測や両予測
を行う必要は無い。
FIG. 6 is a view for explaining processing when the picture configuration is fixed. In MPEG, there are three pictures: an I picture (intra-frame code), a P picture (forward prediction code), and a B picture (bidirectional prediction code). FIG. 6A shows an I picture, a P picture, and a B picture. (B) shows a picture configuration fixed to only I pictures. In the case of a P picture, it is necessary to perform pre-prediction with reference to the picture of the previous picture,
Further, in the case of a B picture, it is necessary to perform post-prediction or both predictions with reference to the image of the previous frame or the image of the subsequent frame, so that it takes longer processing time than in the case of an I picture. FIG.
In the example of (A), the first frame is an I picture and there is no reference frame. The second frame and the second frame are B pictures, and post-prediction or both predictions are performed with reference to the image of the first frame as the previous frame and the image of the fourth frame as the subsequent frame. Four frames are P-pictures, and pre-prediction is performed with reference to the image of the first frame which is the previous frame. In the example of FIG. 6B, since all the first to fourth frames are I-pictures, there is no need to perform pre-prediction, post-prediction, or both predictions.

【0038】また、図7は図6の動作を説明するフロー
チャートである。図7の(A)はIピクチャとPピクチ
ャとBピクチャから成るピクチャ構成を処理する場合を
示し、(B)はIピクチャのみに固定したピクチャ構成
を処理する場合を示し、(C)は(A)と(B)のどち
らを処理するか判断する処理を示している。図7の
(A)に示すピクチャ処理1はピクチャヘッダからピク
チャの種別を読み込んで(ステップ10)、ピクチャの
種別を判断して(ステップ11)、Iピクチャの場合は
Iピクチャの処理を行う(ステップ12)。Pピクチャ
の場合はPピクチャの処理を行う(ステップ13)。B
ピクチャの場合はBピクチャの処理を行う(ステップ1
3)。図7の(B)に示すピクチャ処理2はIピクチャ
の処理を行う(ステップ15)。図7の(C)に示すピ
クチャヘッダ解析はパラメータ固定であるかどうか判断
して(ステップ16)、そうでない場合はピクチャ処理
1を行う(ステップ17)。そうである場合はピクチャ
処理2を行う(ステップ18)。
FIG. 7 is a flowchart for explaining the operation of FIG. FIG. 7A shows a case of processing a picture configuration consisting of an I picture, a P picture, and a B picture, FIG. 7B shows a case of processing a picture configuration fixed to only an I picture, and FIG. The processing for determining which of A) and (B) is to be processed is shown. In picture processing 1 shown in FIG. 7A, the picture type is read from the picture header (step 10), the picture type is determined (step 11), and in the case of an I picture, the I picture is processed (step 10). Step 12). If the picture is a P picture, the P picture is processed (step 13). B
In the case of a picture, processing of a B picture is performed (step 1).
3). Picture processing 2 shown in FIG. 7B performs processing of an I picture (step 15). In the picture header analysis shown in FIG. 7C, it is determined whether or not the parameters are fixed (step 16). If not, picture processing 1 is performed (step 17). If so, picture processing 2 is performed (step 18).

【0039】このようにピクチャ構成をIピクチャのみ
に固定することにより、ピクチャヘッダからピクチャ種
別を読み込んで判断する処理を省略できて、Pピクチャ
の処理の前予測やBピクチャの処理の後予測や両予測を
省略できるので、高速に処理できる。
By fixing the picture structure to only I-pictures in this way, it is possible to omit the process of reading and determining the picture type from the picture header, and to perform the pre-prediction of P-picture processing, the post-prediction of B-picture processing, and the like. Since both predictions can be omitted, processing can be performed at high speed.

【0040】図8はスライス幅を固定した場合の処理を
説明する図である。MPEGでは1フレームの画像を1
6×16画素を単位としていくつかの領域に分割してい
る。分割した領域の符号の先頭にはスライスヘッダが挿
入されて、画像のどの領域であるかを示している。図8
の(A)はスライス幅を固定していない場合を示し、図
8の(B)はスライス幅をピクチャサイズに固定した場
合を示している。図8の(A)は画像を5つの領域(1
〜5)に分割している。1から5までの各領域の符号の
先頭にはスライスヘッダが挿入される。図8の(B)で
はスライス幅をピクチャサイズに固定しているので、領
域を分割していない。そのため、スライスヘッダも1つ
しかない。
FIG. 8 is a diagram for explaining the processing when the slice width is fixed. In MPEG, one frame of image is
It is divided into several areas in units of 6 × 16 pixels. A slice header is inserted at the head of the code of the divided area to indicate which area of the image is. FIG.
8A shows a case where the slice width is not fixed, and FIG. 8B shows a case where the slice width is fixed to the picture size. FIG. 8A shows an image in five regions (1).
To 5). A slice header is inserted at the head of the code of each area from 1 to 5. In FIG. 8B, since the slice width is fixed to the picture size, the area is not divided. Therefore, there is only one slice header.

【0041】また、図9は図8の動作を説明するフロー
チャートである。図9の(A)はスライス幅を固定して
いない場合の処理を示し、(B)はスライス幅をピクチ
ャサイズに固定した場合の処理を示し、(C)は(A)
と(B)のどちらを処理するか判断する処理を示してい
る。図9の(A)に示すスライス処理1はスライスヘッ
ダを読み込んで(ステップ20)、マクロブロックの処
理を行い(ステップ21)、次のヘッダがスライスヘッ
ダであるかどうか判断して(ステップ22)、そうであ
る場合はステップ20へ戻る。そうでない場合は全マク
ロブロックの処理が終了したかどうか判断して(ステッ
プ23)、そうでない場合はステップ21へ戻り、そう
である場合は処理を終了する。図9の(B)に示すスラ
イス処理2はスライスヘッダを読み込んで(ステップ2
4)、マクロブロックの処理を行い(ステップ25)、
全マクロブロックの処理が終了したかどうか判断して
(ステップ26)、そうでない場合はステップ24へ戻
り、そうである場合は処理を終了する。図9の(C)に
示すスライスヘッダ解析はパラメータ固定であるかどう
か判断して(ステップ27)、そうでない場合はスライ
ス処理1を行う(ステップ28)。そうである場合はス
ライス処理2を行う(ステップ29)。
FIG. 9 is a flowchart for explaining the operation of FIG. 9A shows a process when the slice width is not fixed, FIG. 9B shows a process when the slice width is fixed to the picture size, and FIG. 9C shows a process when the slice width is fixed.
And (B) to determine which one to process. In the slice processing 1 shown in FIG. 9A, a slice header is read (step 20), a macroblock is processed (step 21), and it is determined whether or not the next header is a slice header (step 22). If so, return to step 20. If not, it is determined whether or not the processing for all macroblocks has been completed (step 23). If not, the process returns to step 21, and if so, the processing is terminated. Slice processing 2 shown in FIG. 9B reads the slice header (step 2).
4) Perform processing of the macroblock (step 25),
It is determined whether or not the processing of all macroblocks has been completed (step 26). If not, the process returns to step 24, and if so, the process ends. In the slice header analysis shown in FIG. 9C, it is determined whether or not the parameters are fixed (step 27). If not, slice processing 1 is performed (step 28). If so, slice processing 2 is performed (step 29).

【0042】このようにスライス幅をピクチャサイズに
固定することにより、スライスヘッダを読み込んで解析
する処理回数を削減できるので、高速に処理できる。
By fixing the slice width to the picture size in this way, the number of processes for reading and analyzing the slice header can be reduced, so that high-speed processing can be performed.

【0043】図10は高周波成分を0と見なして逆DC
Tを行う場合の処理を説明する図である。図10の
(A)は高周波成分を0と見なさない場合を示し、図1
0の(B)は高周波成分を0と見なす場合を示してい
る。図10の(A)は8×8ブロックの周波数成分の低
周波から高周波へのスキャン順序(ジグザグスキャン)
を示している。図10の(B)もジグザグスキャンを示
しているが、22番目以降の高周波成分を全て0と見な
している。自然画像の場合は画像情報が低周波数成分に
集中するので、高周波数成分を0と見なしても、画質は
大きく劣化して見えない。
FIG. 10 shows the inverse DC
It is a figure explaining the processing at the time of performing T. FIG. 10A shows a case where the high-frequency component is not regarded as 0, and FIG.
(B) of 0 indicates a case where the high frequency component is regarded as 0. FIG. 10A shows a scan order (low-frequency to high-frequency) of frequency components of 8 × 8 blocks (zigzag scan).
Is shown. FIG. 10B also shows a zigzag scan, in which all high-frequency components after the 22nd are regarded as zero. In the case of a natural image, image information concentrates on low-frequency components, so that even if high-frequency components are regarded as 0, the image quality does not significantly deteriorate and cannot be seen.

【0044】また、図11は高周波成分を0と見なさず
に逆DCTを行う場合の動作を説明するフローチャート
である。図11に示す逆DCTは変数yに0を格納して
(ステップ30)、変数vに0を格納して(ステップ3
1)、変数ddに0を格納して(ステップ32)、変数
uに0を格納して(ステップ33)。次に変数ddに逆
DCTを行う8×8ブロックのバッファのBuffer
(y,u)と逆DCTの係数であるcos((2v+
1)uπ)/2の積を加算する(ステップ34)。次に
変数uに1を加算して(ステップ35)、変数uの値が
8より小さいかどうか判断して(ステップ36)、そう
である場合はステップ34へ戻る。そうでない場合は一
時的な格納バッファのt(v,y)に変数ddの値を格
納する(ステップ37)。次に変数vに1を加算して
(ステップ38)、変数vの値が8より小さいかどうか
判断して(ステップ39)、そうである場合はステップ
32へ戻る。次に変数yに1を加算して(ステップ4
0)、変数yの値が8より小さいかどうか判断して(ス
テップ41)、そうである場合はステップ31へ戻る。
そうでない場合は変数yに0を格納する(ステップ4
2)。次に変数xに0を格納して(ステップ43)、変
数ddに0を格納して(ステップ44)、変数uに0を
格納する(ステップ45)。次に変数ddにt(y,
u)とcos((2x+1)uπ)/2の積を加算する
(ステップ46)。次に変数uに1を加算して(ステッ
プ47)、変数uの値が8より小さいかどうか判断して
(ステップ48)、そうである場合はステップ46へ戻
る。そうでない場合はBuffer(x,y)に変数d
dの値を格納する(ステップ49)、次に変数xに1を
加算して(ステップ50)、変数xの値が8より小さい
かどうか判断して(ステップ51)、そうである場合は
ステップ44へ戻る。次に変数yに1を加算して(ステ
ップ52)、変数yの値が8より小さいかどうか判断し
て(ステップ53)、そうである場合はステップ44へ
戻る。そうでない場合は処理を終了する。
FIG. 11 is a flowchart for explaining the operation in the case where the inverse DCT is performed without regarding the high-frequency component as 0. The inverse DCT shown in FIG. 11 stores 0 in a variable y (step 30) and stores 0 in a variable v (step 3).
1) 0 is stored in a variable dd (step 32), and 0 is stored in a variable u (step 33). Next, a buffer of an 8 × 8 block buffer that performs inverse DCT on the variable dd
(Y, u) and the coefficient of the inverse DCT, cos ((2v +
1) The product of uπ) / 2 is added (step 34). Next, 1 is added to the variable u (step 35), and it is determined whether or not the value of the variable u is smaller than 8 (step 36). If so, the process returns to step 34. Otherwise, the value of the variable dd is stored in t (v, y) of the temporary storage buffer (step 37). Next, 1 is added to the variable v (step 38), and it is determined whether or not the value of the variable v is smaller than 8 (step 39). If so, the process returns to step 32. Next, 1 is added to the variable y (step 4
0), it is determined whether the value of the variable y is smaller than 8 (step 41), and if so, the process returns to step 31.
Otherwise, 0 is stored in the variable y (step 4).
2). Next, 0 is stored in the variable x (step 43), 0 is stored in the variable dd (step 44), and 0 is stored in the variable u (step 45). Next, t (y,
u) and the product of cos ((2x + 1) uπ) / 2 are added (step 46). Next, 1 is added to the variable u (step 47), and it is determined whether or not the value of the variable u is smaller than 8 (step 48). If so, the process returns to step 46. Otherwise, the variable d is added to Buffer (x, y).
The value of d is stored (step 49), then 1 is added to the variable x (step 50), and it is determined whether or not the value of the variable x is smaller than 8 (step 51). Return to 44. Next, 1 is added to the variable y (step 52), and it is determined whether or not the value of the variable y is smaller than 8 (step 53). If so, the process returns to step 44. If not, the process ends.

【0045】また、図12は高周波成分を0と見なして
逆DCTを行う場合の動作を説明するフローチャートで
ある。図12は22番目以降の周波数成分を0と見なし
た例である。図12に示す逆DCT2は変数yに0を格
納して(ステップ60)。変数vに0を格納して(ステ
ップ61)、変数ddに0を格納して(ステップ6
2)、変数uに0を格納する(ステップ63)。次に変
数ddに逆DCTを行う8×8ブロックのバッファのB
uffer(y,u)と逆DCTの係数であるcos
((2v+1)uπ)/2の積を加算する(ステップ6
4)。次に変数uに1を加算して(ステップ65)、変
数uの値がumax(y)の値より小さいかどうか判断
して(ステップ66)、そうである場合はステップ64
へ戻る。そうでない場合は一時的な格納バッファのt
(v,y)に変数ddの値を格納する(ステップ6
7)。次に変数vに1を加算して(ステップ68)、変
数vの値が8より小さいかどうか判断して(ステップ6
9)、そうである場合はステップ62へ戻る。次に変数
yに1を加算して(ステップ70)、変数yの値が6よ
り小さいかどうか判断して(ステップ71)、そうであ
る場合はステップ61へ戻る。そうでない場合は変数y
に0を格納する(ステップ72)。次に変数xに0を格
納して(ステップ73)、変数ddに0を格納して(ス
テップ74)、変数uに0を格納する(ステップ7
5)。次に変数ddにt(y,u)とcos((2x+
1)uπ)/2の積を加算する(ステップ76)。次に
変数uに1を加算して(ステップ77)、変数uの値が
6より小さいかどうか判断して(ステップ78)、そう
である場合はステップ76へ戻る。そうでない場合はB
uffer(x,y)に変数ddの値を格納する(ステ
ップ79)。次に変数xに1を加算して(ステップ8
0)、変数xの値が8より小さいかどうか判断して(ス
テップ81)、そうである場合はステップ74へ戻る。
次に変数yに1を加算して(ステップ82)、変数yの
値が8より小さいかどうか判断して(ステップ83)、
そうである場合はステップ74へ戻る。そうでない場合
は処理を終了する。
FIG. 12 is a flowchart for explaining the operation in the case where the inverse DCT is performed with the high-frequency component regarded as 0. FIG. 12 is an example in which the 22nd and subsequent frequency components are regarded as 0. The inverse DCT2 shown in FIG. 12 stores 0 as a variable y (step 60). 0 is stored in the variable v (step 61), and 0 is stored in the variable dd (step 6).
2) 0 is stored in the variable u (step 63). Next, the buffer B of the 8 × 8 block that performs the inverse DCT on the variable dd
uffer (y, u) and the inverse DCT coefficient cos
Add the product of ((2v + 1) uπ) / 2 (step 6
4). Next, 1 is added to the variable u (step 65), and it is determined whether or not the value of the variable u is smaller than the value of umax (y) (step 66).
Return to Otherwise, the temporary storage buffer t
The value of the variable dd is stored in (v, y) (Step 6)
7). Next, 1 is added to the variable v (step 68), and it is determined whether or not the value of the variable v is smaller than 8 (step 6).
9) If yes, return to step 62. Next, 1 is added to the variable y (step 70), and it is determined whether or not the value of the variable y is smaller than 6 (step 71). If so, the process returns to step 61. Otherwise the variable y
Is stored in step (step 72). Next, 0 is stored in the variable x (step 73), 0 is stored in the variable dd (step 74), and 0 is stored in the variable u (step 7).
5). Next, t (y, u) and cos ((2x +
1) The product of uπ) / 2 is added (step 76). Next, 1 is added to the variable u (step 77), it is determined whether the value of the variable u is smaller than 6 (step 78), and if so, the process returns to step 76. Otherwise, B
The value of the variable dd is stored in buffer (x, y) (step 79). Next, 1 is added to the variable x (step 8
0), it is determined whether the value of the variable x is smaller than 8 (step 81), and if so, the process returns to step 74.
Next, 1 is added to the variable y (step 82), and it is determined whether or not the value of the variable y is smaller than 8 (step 83).
If so, return to step 74. If not, the process ends.

【0046】図12の例では22番目以降を0と見なし
ているが、再生機の処理能力に応じて1〜64の値でも
良い。
In the example shown in FIG. 12, the 22nd and subsequent bits are regarded as 0, but a value of 1 to 64 may be used according to the processing capacity of the reproducing apparatus.

【0047】このように高周波成分を0と見なさない場
合の乗算回数は8×8×8×2=1024回であり、2
2番目以降の周波数成分を0と見なした場合の乗算回数
は8×(6+5+4+3+2+1)×6+6×8×8=
510回であるので、高周波成分を0と見なして逆DC
Tを行った方が高速に処理できる。
As described above, the number of multiplications when the high-frequency component is not regarded as 0 is 8 × 8 × 8 × 2 = 1024, and 2
When the second and subsequent frequency components are regarded as 0, the number of multiplications is 8 × (6 + 5 + 4 + 3 + 2 + 1) × 6 + 6 × 8 × 8 =
510 times, the high frequency component is regarded as 0, and the inverse DC
Performing T allows faster processing.

【0048】図13はエスケープ符号の構成図である。
MPEGには固定ビッチ長のエスケープ符号があり、そ
れは(1)エスケープ符号であることを示す符号(00
0001)と(2)ラン長(無効係数の数)と(3)レ
ベル(有効係数の値:−128〜+128)から構成さ
れる。
FIG. 13 is a configuration diagram of the escape code.
MPEG has a fixed bit length escape code, which is (1) a code (00) indicating that it is an escape code.
0001), (2) run length (number of invalid coefficients), and (3) level (effective coefficient value: -128 to +128).

【0049】図14は通常の符号とエスケープ符号の例
を示した表である。図14に示すように通常の符号は2
〜17ビットの可変長の符号であるが、エスケープ符号
は全て20ビットの固定長の符号となる。
FIG. 14 is a table showing examples of ordinary codes and escape codes. As shown in FIG.
The escape code is a variable-length code of up to 17 bits, but all escape codes are fixed-length codes of 20 bits.

【0050】また、図15はVLDの動作を説明するフ
ローチャートである。図15の(A)は通常の符号の場
合の処理を示し、図15の(B)はエスケープ符号のみ
に固定した場合の処理を示している。図15の(A)に
示すVLDは符号を8ビット取り出し(ステップ9
0)、8ビットの値から符号の種類を判断して(ステッ
プ91)、8ビット以下の符号であるかどうかを判断し
て(ステップ92)、そうでない場合はステップ94へ
進む。そうでない場合はさらに必要なビット数分取り出
して(ステップ93)、符号のビット数を符号バッファ
のポインタに加算して(ステップ94)、符号に対応す
るラン長とレベルを取り出して(ステップ95)、ラン
長とレベルを返す(ステップ96)。図15の(B)に
示すVLD2は符号を8ビット取り出し(ステップ9
7)、bit0〜bit7からレベルを取り出し(ステ
ップ98)、bit8〜bit13からラン長を取り出
し(ステップ99)、20ビットを符号バッファのポイ
ンタに加算して(ステップ100)、ラン長とレベルを
返す(ステップ101)。
FIG. 15 is a flowchart for explaining the operation of the VLD. FIG. 15A shows a process in the case of a normal code, and FIG. 15B shows a process in a case where only an escape code is fixed. The VLD shown in FIG. 15A takes out 8 bits of the code (step 9).
0), the type of code is determined from the 8-bit value (step 91), and it is determined whether the code is 8 bits or less (step 92). If not, the process proceeds to step 94. If not, the necessary number of bits are further extracted (step 93), the number of bits of the code is added to the pointer of the code buffer (step 94), and the run length and level corresponding to the code are extracted (step 95). , The run length and the level are returned (step 96). VLD2 shown in FIG. 15B takes out 8 bits of the code (step 9).
7), the level is extracted from bit0 to bit7 (step 98), the run length is extracted from bit8 to bit13 (step 99), 20 bits are added to the pointer of the code buffer (step 100), and the run length and level are returned. (Step 101).

【0051】このように通常の符号の場合は符号ビット
数を調べて、その値に応じて処理しなければならない
が、エスケープ符号のみの場合は20ビットの固定長な
ので、符号ビット数を調べる必要がなく、高速に処理で
きる。
As described above, in the case of a normal code, it is necessary to check the number of code bits, and to perform processing according to the value. However, in the case of an escape code only, since the fixed length is 20 bits, it is necessary to check the number of code bits. And can be processed at high speed.

【0052】[0052]

【発明の効果】以上説明したように本発明は、パラメー
タを固定して伸張することができるので、再生機の処理
野兎力に応じて画質をできるだけ損わずに、高速に再生
できる。また、国際標準である符号化方式と互換性が取
れるので、専用の再生機を必要としない。
As described above, according to the present invention, since the parameters can be expanded while the parameters are fixed, high-speed reproduction can be performed without impairing the image quality as much as possible according to the processing power of the reproducing machine. In addition, since it is compatible with an encoding system which is an international standard, a dedicated reproducing device is not required.

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

【図1】本発明の一実施例の動画像再生装置のフロー図
である。
FIG. 1 is a flowchart of a moving image reproducing apparatus according to an embodiment of the present invention.

【図2】MPEGの符号の階層図である。FIG. 2 is a hierarchy diagram of MPEG codes.

【図3】MPEGの符号の構成図である。FIG. 3 is a configuration diagram of an MPEG code.

【図4】本発明の拡大処理を説明する図である。FIG. 4 is a diagram illustrating an enlargement process according to the present invention.

【図5】本発明の拡大処理の動作を示すフローチャート
である。
FIG. 5 is a flowchart illustrating an operation of an enlargement process according to the present invention.

【図6】本発明のピクチャ構成を固定した処理を説明す
る図である。
FIG. 6 is a diagram illustrating a process of fixing a picture configuration according to the present invention.

【図7】本発明のピクチャ処理の動作を示すフローチャ
ートである。
FIG. 7 is a flowchart showing an operation of picture processing according to the present invention.

【図8】本発明のスライス幅を固定した処理を説明する
図である。
FIG. 8 is a diagram for explaining processing in which the slice width is fixed according to the present invention.

【図9】本発明のスライス処理の動作を示すフローチャ
ートである。
FIG. 9 is a flowchart showing the operation of the slice processing of the present invention.

【図10】本発明の高周波成分を0と見なす処理を説明
する図である。
FIG. 10 is a diagram illustrating a process of the present invention in which a high-frequency component is regarded as 0.

【図11】逆DCTの動作を示すフローチャートであ
る。
FIG. 11 is a flowchart showing the operation of the inverse DCT.

【図12】本発明の逆DCTの動作を示すフローチャー
トである。
FIG. 12 is a flowchart showing the operation of the inverse DCT of the present invention.

【図13】エスケープ符号の構成図である。FIG. 13 is a configuration diagram of an escape code.

【図14】通常の符号とエスケープ符号の例を示した表
である。
FIG. 14 is a table showing examples of ordinary codes and escape codes.

【図15】本発明のVLDの動作を示すフローチャート
である。
FIG. 15 is a flowchart showing the operation of the VLD of the present invention.

【図16】従来例の動画再生装置のフロー図である。FIG. 16 is a flowchart of a conventional moving image reproducing apparatus.

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

111 ヘッダ解析 112 VLD 113 Q-1 114 逆DCT 115 前フレーム 116 後フレーム 117 前予測 118 両予測 119 後予測 120 VLD2 121 Q2-1 122 逆DCT2 123 拡大 124 シーケンスヘッダ解析 125 GOPヘッダ解析 126 ピクチャヘッダ解析 127 スライスヘッダ解析111 header analysis 112 VLD 113 Q- 1 114 inverse DCT 115 previous frame 116 rear frame 117 pre-prediction 118 bi-prediction 119 post-prediction 120 VLD2 121 Q2 -1 122 reverse DCT2 123 enlargement 124 sequence header analysis 125 GOP header analysis 126 picture header analysis 127 Slice header analysis

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像を小ブロックに分割して、各ブロッ
ク毎に離散コサイン変換を行い、該変換結果を量子化し
て、高能率符号化されたフレーム内符号を生成し、画像
を小ブロックに分割して、各ブロック毎に現フレームと
その前後のフレームで最も差分が小さくなるようなブロ
ックを検索して動き補償を行い、現フレームのブロック
と動き補償されたフレームのブロックで差分を取り、そ
の差分ブロックに離散コサイン変換を行い、該変換結果
を量子化して、高能率符号化されたフレーム間符号を生
成し、フレーム内符号とフレーム間符号とで圧縮符号化
された動画像を再生する画像再生装置において、符号を
解析してパラメータを固定した符号であるかどうか判定
し、パラメータを固定した符号である場合には高速再生
を行う手段を備えたことを特徴とする画像再生装置。
1. An image is divided into small blocks, a discrete cosine transform is performed for each block, and the result of the transform is quantized to generate a highly efficient coded intra-frame code. By dividing, for each block, motion compensation is performed by searching for a block having the smallest difference between the current frame and the frames before and after the current frame, and taking the difference between the block of the current frame and the block of the motion-compensated frame, A discrete cosine transform is performed on the difference block, the result of the transform is quantized, a high-efficiency coded inter-frame code is generated, and a moving image compressed and coded by the intra-frame code and the inter-frame code is reproduced. The image reproducing apparatus includes means for analyzing a code to determine whether the code is a code with fixed parameters, and performing high-speed reproduction when the code is a code with fixed parameters. An image reproducing apparatus characterized by the above-mentioned.
【請求項2】 請求項1に記載した画像再生装置におい
て、更に、高速再生の場合に再生画像を拡大して表示す
る手段を有することを特徴とする画像再生装置。
2. The image reproducing apparatus according to claim 1, further comprising means for enlarging and displaying the reproduced image in the case of high-speed reproduction.
【請求項3】 請求項1に記載した画像再生装置におい
て、更に、高速再生の場合にフレーム内符号であるIピ
クチャーのみによる伸張処理を行う手段を有することを
特徴とする画像再生装置。
An image reproducing apparatus according to 3. The method of claim 1, further, I pin is intraframe when high-speed reproduction
An image reproducing apparatus comprising means for performing a decompression process only by a cuter .
【請求項4】 請求項1に記載した画像再生装置におい
て、更に、高速再生の場合にフレーム内符号であるIピ
クチャーのスライス幅を固定した伸張処理を行う手段を
有することを特徴とする画像再生装置。
4. The image reproducing apparatus according to claim 1, further comprising an intra-frame code for high-speed reproduction.
An image reproducing apparatus comprising: means for performing expansion processing with a fixed slice width .
【請求項5】 請求項1に記載した画像再生装置におい
て、更に、高速再生の場合に、ブロック内の特定の高周
波成分を0と見なして逆離散コサイン変換の算出を行う
手段を有することを特徴とする画像再生装置。
An image reproducing apparatus according to 5. The method of claim 1, further in the case of high speed reproduction, a specific high frequency in the block
An image reproducing apparatus comprising: means for calculating an inverse discrete cosine transform by regarding a wave component as 0.
【請求項6】 請求項1に記載した画像再生装置におい
て、更に、高速再生の場合に固定長の符号のみを復号す
る手段を有することを特徴とする画像再生装置。
6. The image reproducing apparatus according to claim 1, further comprising means for decoding only a fixed-length code in the case of high-speed reproduction.
JP5620094A 1994-03-25 1994-03-25 Image playback device Expired - Fee Related JP3274563B2 (en)

Priority Applications (11)

Application Number Priority Date Filing Date Title
JP5620094A JP3274563B2 (en) 1994-03-25 1994-03-25 Image playback device
DE69536096T DE69536096D1 (en) 1994-03-25 1995-03-27 The image display apparatus
EP01111142A EP1139670B1 (en) 1994-03-25 1995-03-27 Image reproducing device
EP01111144A EP1139672B1 (en) 1994-03-25 1995-03-27 Image reproducing device
DE69536030T DE69536030D1 (en) 1994-03-25 1995-03-27 The image display apparatus
DE69524896T DE69524896T2 (en) 1994-03-25 1995-03-27 Playback of video images at increased speed
EP01111143A EP1139671B1 (en) 1994-03-25 1995-03-27 Image reproducing device
DE69536095T DE69536095D1 (en) 1994-03-25 1995-03-27 The image display apparatus
EP95104491A EP0674448B1 (en) 1994-03-25 1995-03-27 Video image reproduction with high speed
US08/921,472 US5847767A (en) 1994-03-25 1997-09-02 Compact image transmission system and image reproducing device capable of reproducing a DCT-based code at a high speed without deterioration of picture quality
US09/130,461 US6094456A (en) 1994-03-25 1998-08-07 Compact image transmission system and image reproducing device capable of reproducing a DCT-based code at a high speed without deterioration of picture quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5620094A JP3274563B2 (en) 1994-03-25 1994-03-25 Image playback device

Publications (2)

Publication Number Publication Date
JPH07264590A JPH07264590A (en) 1995-10-13
JP3274563B2 true JP3274563B2 (en) 2002-04-15

Family

ID=13020486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5620094A Expired - Fee Related JP3274563B2 (en) 1994-03-25 1994-03-25 Image playback device

Country Status (1)

Country Link
JP (1) JP3274563B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999021367A1 (en) * 1997-10-20 1999-04-29 Mitsubishi Denki Kabushiki Kaisha Image encoder and image decoder
JP3860323B2 (en) 1997-10-27 2006-12-20 三菱電機株式会社 Image decoding apparatus and image decoding method
WO2001015459A1 (en) 1999-08-24 2001-03-01 Fujitsu Limited Time-varying image processor, its method, and recorded medium
JP2010087711A (en) * 2008-09-30 2010-04-15 Sanyo Electric Co Ltd Image processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
安田浩編著「マルチメディア符号化の国際標準」,丸善,1991年6月,P133−134

Also Published As

Publication number Publication date
JPH07264590A (en) 1995-10-13

Similar Documents

Publication Publication Date Title
JP3593988B2 (en) Moving picture signal compression apparatus and method
US5847767A (en) Compact image transmission system and image reproducing device capable of reproducing a DCT-based code at a high speed without deterioration of picture quality
US6301304B1 (en) Architecture and method for inverse quantization of discrete cosine transform coefficients in MPEG decoders
KR19980071541A (en) Image processing apparatus and image processing method
KR100510756B1 (en) Image decoding apparatus and method and image reproducing apparatus
JP3147792B2 (en) Video data decoding method and apparatus for high-speed playback
JP3164971B2 (en) Image playback device
JP3140487B2 (en) Image recording and playback device
JP3274563B2 (en) Image playback device
JPH0795536A (en) Device and method for reversely reproducing moving image
JPH10111792A (en) Picture processor
JP2865016B2 (en) Image playback device
JPH06339111A (en) Compressed moving picture reproduction device
JP3721972B2 (en) MPEG image data recording method
JP2812203B2 (en) Image playback device
JPH0898142A (en) Picture reproduction device
JP3721971B2 (en) MPEG image data recording apparatus and recording medium
JP2001112002A (en) Digital moving picture decoder capable of image size conversion
JPH10164594A (en) Compression encoding method for moving image and device therefor
JPH11122580A (en) Edit device for image signal, coder and decoder
JP2001296847A (en) Moving picture reproducing system and display control device
JPH0851628A (en) Moving picture processor, its control method and moving picture transmission system
JPH11146403A (en) Device and method for video signal coding and video signal coding program storage medium
JP2002077926A (en) Mpeg video data processor
JPH09307902A (en) Compression recorder

Legal Events

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

Free format text: PAYMENT UNTIL: 20080201

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090201

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120201

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120201

Year of fee payment: 10

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: 20120201

Year of fee payment: 10

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: 20120201

Year of fee payment: 10

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: 20130201

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130201

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130201

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130201

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130201

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees