[go: up one dir, main page]

JPH08280025A - Image signal encoder and image signal decoder - Google Patents

Image signal encoder and image signal decoder

Info

Publication number
JPH08280025A
JPH08280025A JP8299995A JP8299995A JPH08280025A JP H08280025 A JPH08280025 A JP H08280025A JP 8299995 A JP8299995 A JP 8299995A JP 8299995 A JP8299995 A JP 8299995A JP H08280025 A JPH08280025 A JP H08280025A
Authority
JP
Japan
Prior art keywords
image signal
read
data
image
row address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8299995A
Other languages
Japanese (ja)
Other versions
JP3624457B2 (en
Inventor
Tomoji Miyazawa
智司 宮澤
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP8299995A priority Critical patent/JP3624457B2/en
Publication of JPH08280025A publication Critical patent/JPH08280025A/en
Application granted granted Critical
Publication of JP3624457B2 publication Critical patent/JP3624457B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To improve efficiency for using a data bus by fixing the burst length of a storage means, storing plural kinds of image signals on the same row address while making column addresses different, and providing a memory control means for outputting a read command and successively designating the switching of plural column addresses. CONSTITUTION: Plural kinds of image information are stored on the same row address while fixing the burst length of the storage means composed of a synchronous DRAM. Then, after the row address is designated by an active command, the read command is outputted plural times, the plural column addresses are successively switched and designated, and the image signals on the different column addresses are read out. Namely, the image signal for each frame is sent to frame memories 3 and 4 composed of SDRAM to be controlled by a memory control circuit 5. Then, the column address to read the frame memories 3 and 4 is switched for every two clocks and the data of a macro block to be read are sent to motion compensation circuits 7 and 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、同期型DRAM(Sync
hronous DRAM)をフレームメモリに用いた画像信号符号
化装置及び画像信号復号化装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a synchronous DRAM (Sync
The present invention relates to an image signal coding device and an image signal decoding device using a hronous DRAM) as a frame memory.

【0002】[0002]

【従来の技術】従来、画像信号符号化装置及び画像信号
復号化装置においては、画像信号をフレーム毎に記憶し
ておくフレームメモリを有する。
2. Description of the Related Art Conventionally, an image signal coding apparatus and an image signal decoding apparatus have a frame memory for storing an image signal for each frame.

【0003】このフレームメモリに用いる半導体メモリ
として、大容量で低価格な揮発性の読み出し/書き込み
メモリであるダイナミックRAM(以下、DRAMとい
う)を用いた場合には、動作速度が高速ではないので問
題がある。また、不揮発性のスタティックRAMは、動
作速度は速いが、記憶容量が小さいという問題がある。
When a dynamic RAM (hereinafter referred to as DRAM), which is a large-capacity and low-cost volatile read / write memory, is used as the semiconductor memory used for the frame memory, the operation speed is not high, which causes a problem. There is. Further, the non-volatile static RAM has a problem that the storage capacity is small although the operation speed is high.

【0004】よって、高速に連続アクセスを行うことが
できる同期型DRAMいわゆるシンクロナスDRAM
(Synchronous DRAM:以下、SDRAMという)を用い
ることが考えられている。
Therefore, a synchronous DRAM capable of continuous access at high speed, a so-called synchronous DRAM
(Synchronous DRAM: hereinafter referred to as SDRAM) is considered.

【0005】このSDRAMは、JEDEC(Joint El
ectron Device Engineering Council)準拠の、入力さ
れたクロック信号の立ち上がりエッジに同期して高速バ
ースト転送を行うDRAMである。このバースト転送と
は、同一のロウアドレス上のデータを2、4、又は8の
複数ワードのブロック単位で連続してリード/ライトを
行う方式である。このリード/ライトのワード数をバー
スト長又はバーストレングスという。
This SDRAM is a JEDEC (Joint El
ectron Device Engineering Council) compliant DRAM that performs high-speed burst transfer in synchronization with the rising edge of the input clock signal. The burst transfer is a method of continuously reading / writing data at the same row address in units of blocks of a plurality of words of 2, 4, or 8. The number of read / write words is called a burst length or burst length.

【0006】また、このSDRAMは2つのバンクを兼
ね備えていることから、ロウアドレスを変更しながらの
アクセス時間は、プリチャージの必要性により、通常の
DRAMのアクセス時間と同等ではあるが、バンクを交
互にアクセスすることによって、一方のバンクのプリチ
ャージ中に他方のバンクのデータのライトあるいはリー
ドを行うことができる。
Since this SDRAM also has two banks, the access time while changing the row address is the same as the access time of a normal DRAM due to the necessity of precharging, but the bank is By alternately accessing, it is possible to write or read data in the other bank while precharging one bank.

【0007】但し、ロウアドレスを切り換えながらデー
タを連続してライト又はリードするためには、カラムア
ドレスを与えた後にライトあるいはリードするクロック
数を8以上に設定する必要がある。
However, in order to continuously write or read data while switching row addresses, it is necessary to set the number of clocks for writing or reading after giving a column address to 8 or more.

【0008】ここで、例えばランダムロウリード時のタ
イミングチャートを図5に示し、SDRAMの動作につ
いて説明する。
Here, the operation of the SDRAM will be described with reference to FIG. 5, which shows a timing chart at the time of random row read.

【0009】尚、バースト長は8に設定されており、バ
ンクA、Bの2つのバンクを切り換えている。
The burst length is set to 8, and two banks A and B are switched.

【0010】先ず、バンクBのためのアクティブコマン
ドRBaが出力された後にリードコマンドCBaが出力
される。これにより、このリードコマンドCBaの出力
の一定時間後、具体的には3クロック後にバンクBのデ
ータの読み出しQBa1〜QBa8が順次行われる。
First, the read command CBa is output after the active command RBa for the bank B is output. As a result, after a certain period of time after the output of the read command CBa, specifically, three clocks later, the data reading QBa 1 to QBa 8 of the bank B is sequentially performed.

【0011】また、このバンクBのデータの読み出しが
行われている間に、バンクAのアクティブコマンドRA
aが出力された後にリードコマンドCAaが出力され
る。これにより、上記バンクBのデータの読み出しQB
8に続けてバンクAのデータの読み出しQAa1〜QA
8が順次行われる。
Further, while the data of the bank B is being read, the active command RA of the bank A is
After a is output, the read command CAa is output. As a result, the data read QB of the bank B is
Read data from bank A QAa 1 to QA subsequent to a 8
a 8 is sequentially performed.

【0012】上述のように、SDRAMにおいてバース
ト長が8であるということは、連続した8アドレス分の
データがライトあるいはリードされるということであ
り、連続したアドレス上のデータをライトあるいはリー
ドする場合には、SDRAMのデータバスの使用効率は
高い。
As described above, the burst length of 8 in the SDRAM means that data for eight consecutive addresses is written or read. When writing or reading data at consecutive addresses. In particular, the usage efficiency of the SDRAM data bus is high.

【0013】また、SDRAMを高速でアクセスするた
めには、リードコマンドからデータが出力されるまでの
クロック数を3に設定する必要がある。これは、カラム
アドレス・ストローブ(Column Address Strobe:以
下、CASという)の入力からデータ出力までの遅れ時
間をクロック数で表現した値であり、CASレイテンシ
(CAS Latency)と呼ばれる。
In order to access the SDRAM at high speed, it is necessary to set the number of clocks from the read command to the output of data to 3. This is a value in which the delay time from the input of a column address strobe (hereinafter referred to as CAS) to the data output is represented by the number of clocks, and is called CAS latency.

【0014】図6には、CASレイテンシとコマンドと
のタイミングを示す。ここで、バースト長は4としてい
る。
FIG. 6 shows the timing of CAS latency and command. Here, the burst length is 4.

【0015】例えば、動作クロックが25〜50MHz
のときにはCASレイテンシを1とし、動作クロックが
50〜66MHzのときにはCASレイテンシを2と
し、動作クロックが66MHz以上のときにはCASレ
イテンシを3とする。CASレイテンシが1の場合に
は、図6のAに示すように、クロックT1でライトコマ
ンドWAが出力され、これに続けてクロックT2でリー
ドコマンドRBが出力されたときには、データDA1
書き込まれて1クロック間隔をおいた後にデータのリー
ドQB1、QB2、QB3、QB4が行われる。また、CA
Sレイテンシが2の場合には、図6のBに示すように、
データDA1が書き込まれて2クロック間隔をおいた後
にデータのリードQB1、QB2、QB3、QB4が行われ
る。また、CASレイテンシが3の場合には、図6のC
に示すように、データDA1が書き込まれて3クロック
間隔をおいた後にデータのリードQB1、QB2、Q
3、QB4が行われる。
For example, the operating clock is 25 to 50 MHz
, The CAS latency is set to 1, the CAS latency is set to 2 when the operation clock is 50 to 66 MHz, and the CAS latency is set to 3 when the operation clock is 66 MHz or more. When the CAS latency is 1, as shown in A of FIG. 6, the write command WA is output by the clock T 1, when the read command RB clock T 2 is continuously output to the data DA 1 is Data is read QB 1 , QB 2 , QB 3 , and QB 4 after one clock interval after writing. Also, CA
When the S latency is 2, as shown in B of FIG.
After the data DA 1 has been written and two clock intervals have elapsed, data read QB 1 , QB 2 , QB 3 and QB 4 are performed. When the CAS latency is 3, C in FIG.
As shown in, the data read QB 1 , QB 2 , Q after the data DA 1 has been written and three clock intervals have elapsed.
B 3, QB 4 is performed.

【0016】[0016]

【発明が解決しようとする課題】ところで、このSDR
AMを画像信号符号化装置及び画像信号復号化装置のフ
レームメモリに用い、このSDRAMのバースト長を8
に設定しておき、連続したアドレスの一部のデータをリ
ードしたいときには、アドレスが連続しているために不
要なデータもリードしてしまうことになる。
By the way, this SDR
AM is used for the frame memory of the image signal encoding device and the image signal decoding device, and the burst length of this SDRAM is 8
If the user wants to read a part of the data of consecutive addresses, the unnecessary addresses will be read because the addresses are consecutive.

【0017】例えば、動画像の圧縮符号化においては、
離散コサイン変換(以下、DCTという)処理を行うと
きには、8×8画素のサブブロックを用いる。具体的に
は、図7に示すように、4個の輝度信号DCTブロック
1、Y2、Y3、Y4、2個の色差信号DCTブロックC
1、Cr2、及び2個の色差信号DCTブロックC
1、Cb2から成る、合計512バイトの8個のDCT
ブロックを用いる。これらのDCTブロックを複数集め
た16×16画素のブロックをマクロブロックという。
画面上での大きさは、輝度信号Yと色差信号Cr、Cb
とが重なり合うので16×16となる。
For example, in compression coding of a moving image,
When performing discrete cosine transform (hereinafter referred to as DCT) processing, 8 × 8 pixel sub-blocks are used. Specifically, as shown in FIG. 7, four luminance signal DCT blocks Y 1 , Y 2 , Y 3 , Y 4 and two color difference signal DCT blocks C are provided.
r 1 , Cr 2 , and two color difference signal DCT blocks C
Eight DCTs consisting of b 1 and Cb 2 with a total of 512 bytes
Use blocks. A block of 16 × 16 pixels in which a plurality of these DCT blocks are collected is called a macro block.
The size on the screen is the luminance signal Y and the color difference signals Cr and Cb.
Since and overlap, it becomes 16 × 16.

【0018】そこで、図8に示すように、SDRAMの
バンク0、1にそれぞれ同一ロウアドレス上のマクロブ
ロックのデータを読み込む。同一のマクロブロックのデ
ータは同一のロウアドレスに記録されるほうがロウアド
レスの制御が少なく信号処理が簡単となる。
Therefore, as shown in FIG. 8, data of macroblocks at the same row address are read into banks 0 and 1 of the SDRAM, respectively. When the data of the same macroblock is recorded in the same row address, the control of the row address is less and the signal processing becomes easier.

【0019】このように、マクロブロックのデータが記
録された後に動き補償を行う場合に、動きベクトルがマ
クロブロックサイズの整数倍のときには、選択されたマ
クロブロックのデータをそのままフレームメモリからリ
ードすれば良い。
In this way, when motion compensation is performed after the data of the macroblock is recorded and the motion vector is an integral multiple of the macroblock size, the data of the selected macroblock can be read from the frame memory as it is. good.

【0020】しかし、動きベクトルがマクロブロックサ
イズの整数倍の値を取らない場合には、複数のマクロブ
ロックにまたがったデータをリードする必要がある。
However, when the motion vector does not take a value that is an integral multiple of the macroblock size, it is necessary to read the data that spans a plurality of macroblocks.

【0021】ここで、SDRAMにおけるバースト長が
8に設定されているときには、常に8×8のDCTブロ
ック単位でしかデータをリードすることができないの
で、不要なデータを非常に多く読み込むことになる。例
えば、動きベクトルを整数とし、この動きベクトルが
(X,Y)=(2,2)である場合に、図9に示すよう
に、輝度信号Yのマクロブロックを読み出すときには、
(24×24)/(16×16)=9/4倍のデータの
バースト転送を必要とする。これは、色差信号Cr、C
bのマクロブロックについても同様である。
Here, when the burst length in the SDRAM is set to 8, data can always be read only in units of 8 × 8 DCT blocks, so that much unnecessary data is read. For example, when the motion vector is an integer and the motion vector is (X, Y) = (2, 2), as shown in FIG. 9, when reading a macro block of the luminance signal Y,
(24 × 24) / (16 × 16) = 9/4 times the burst transfer of data is required. This is the color difference signals Cr, C
The same applies to the macroblock of b.

【0022】一方、バースト長を8以下に切り換えた場
合には、コマンドを送るのに数クロック分必要となり、
コマンドを送っている間はデータ転送を行うことはでき
なくなる。
On the other hand, when the burst length is switched to 8 or less, several clocks are required to send the command,
Data cannot be transferred while the command is being sent.

【0023】そこで、本発明は上述の実情に鑑み、8以
下の少ない単位でSDRAMにアクセスしたい場合に、
データバスの使用効率を下げることなく、必要なデータ
のみにアクセスすることができる画像信号符号化装置及
び画像信号復号化装置を提供するものである。
Therefore, in view of the above situation, the present invention provides a method for accessing the SDRAM in small units of 8 or less,
It is an object of the present invention to provide an image signal encoding device and an image signal decoding device capable of accessing only necessary data without reducing the use efficiency of a data bus.

【0024】[0024]

【課題を解決するための手段】本発明に係る画像信号符
号化装置は、記憶手段のバースト長を固定し、同一ロウ
アドレス上に複数種類の画像信号をカラムアドレスを異
ならせて記憶させ、アクティブコマンドで上記ロウアド
レスを指定した状態で、リードコマンドを複数出力して
複数のカラムアドレスを順次切り換え指定するメモリ制
御手段を有することにより上述した課題を解決する。
An image signal coding apparatus according to the present invention has a burst length of a storage means fixed, and a plurality of types of image signals are stored on the same row address with different column addresses, and active. The above problem is solved by having a memory control means for outputting a plurality of read commands and sequentially switching a plurality of column addresses in a state where the row address is designated by a command.

【0025】また、本発明に係る画像信号復号化装置
は、記憶手段のバースト長を固定し、同一ロウアドレス
上に複数種類の画像信号をカラムアドレスを異ならせて
記憶させ、アクティブコマンドで上記ロウアドレスを指
定した状態で、リードコマンドを複数出力して、複数の
カラムアドレスを順次切り換え指定するメモリ制御手段
を有することにより上述した課題を解決する。
Further, in the image signal decoding apparatus according to the present invention, the burst length of the storage means is fixed, a plurality of types of image signals are stored on the same row address with different column addresses, and the row command is sent by an active command. The above-mentioned problem is solved by having a memory control means for outputting a plurality of read commands and sequentially switching and designating a plurality of column addresses in a state where an address is designated.

【0026】[0026]

【作用】本発明においては、シンクロナスDRAMから
成る記憶手段のバースト長を固定にして、同一のロウア
ドレス上に複数種類の画像信号を記憶させ、アクティブ
コマンドで上記ロウアドレスを指定した後に、複数回、
リードコマンドを出力して複数のカラムアドレスを順次
切り換え指定して、異なるカラムアドレスの画像信号を
読み出す。
According to the present invention, the burst length of the storage means composed of the synchronous DRAM is fixed, a plurality of types of image signals are stored on the same row address, and the row address is designated by the active command. Times,
A read command is output and a plurality of column addresses are sequentially switched and designated, and image signals of different column addresses are read.

【0027】[0027]

【実施例】以下、本発明の好ましい実施例について、図
面を参照しながら説明する。図1には、本発明に係る画
像信号符号化装置の概略的な構成を示し、図2には、本
発明に係る画像信号復号化装置の概略的な構成を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a schematic configuration of an image signal coding apparatus according to the present invention, and FIG. 2 shows a schematic configuration of an image signal decoding apparatus according to the present invention.

【0028】図1の実施例で示す画像信号符号化装置で
は、時間方向の相関を利用した画像圧縮符号化処理を行
い、この圧縮された画像のデータを記録媒体として例え
ばテープに記録する。また、図2の実施例で示す画像信
号復号化装置では、この記録された画像データを読み出
して画像伸長復号化処理を行い、画像信号として出力す
る。
The image signal coding apparatus shown in the embodiment of FIG. 1 performs image compression coding processing using correlation in the time direction, and records the compressed image data on a tape as a recording medium. In the image signal decoding apparatus shown in the embodiment of FIG. 2, the recorded image data is read out, subjected to image decompression decoding processing, and output as an image signal.

【0029】尚、画像信号の時間方向の相関を利用した
高能率符号化方式としてMPEG(Moving Picture Exp
erts Group)方式があり、このMPEG方式において
は、各フレームの画像を、Iピクチャ(Intra Picture:
画像内符号化又はイントラ符号化画像)、Pピクチャ
(Predictive Picture:前方予測符号化画像)、及びB
ピクチャ(Bidirectionally predictive Picture:双方
向予測符号化画像)の3種類のピクチャの内のいずれか
のピクチャとし、これらの3種類のピクチャのフレーム
画像を組み合わせて圧縮符号化を行う方法が用いられて
いる。
An MPEG (Moving Picture Exp) is used as a high-efficiency coding method utilizing the correlation of image signals in the time direction.
erts group) system, and in this MPEG system, an image of each frame is an I picture (Intra Picture:
Intra-picture coded or intra-coded picture), P picture (Predictive Picture: forward predictive coded picture), and B
A method of performing compression encoding by using any one of the three types of pictures of a picture (Bidirectionally predictive Picture) and combining the frame images of these three types of pictures is used. .

【0030】この図1に示す画像信号符号化装置及び図
2に示す画像信号復号化装置においては、Bピクチャと
Iピクチャとを切り換える処理を行うものとする。
In the image signal coding apparatus shown in FIG. 1 and the image signal decoding apparatus shown in FIG. 2, it is assumed that the processing for switching between B picture and I picture is performed.

【0031】先ず、記録側である図1の画像信号符号化
装置においては、信号入力端子1からはフレーム毎のデ
ィジタル画像信号が入力される。ここで、SDRAMか
ら成るフレームメモリ3、4はメモリ制御回路5によっ
て制御されており、例えば、(N−1)番目のフレーム
画像よりも2フレーム前の(N+1)番目のフレーム画
像の画像信号がフレームメモリ4に書き込まれ、(N−
1)番目のフレーム画像よりも1フレーム前のN番目の
フレーム画像の画像信号がフレームメモリ3に書き込ま
れる。
First, in the image signal coding apparatus of FIG. 1 on the recording side, a digital image signal for each frame is input from the signal input terminal 1. Here, the frame memories 3 and 4 composed of SDRAM are controlled by the memory control circuit 5, and for example, the image signal of the (N + 1) th frame image two frames before the (N-1) th frame image is Written in the frame memory 4, (N-
The image signal of the Nth frame image, which is one frame before the 1) th frame image, is written in the frame memory 3.

【0032】この後、信号入力端子1から(N−1)番
目のフレーム画像の画像信号が入力されて、上記3枚の
フレーム画像の画像信号は動きベクトル検出回路6に送
られる。
After that, the image signals of the (N-1) th frame image are input from the signal input terminal 1, and the image signals of the three frame images are sent to the motion vector detection circuit 6.

【0033】この動きベクトル検出回路6では、上記フ
レームメモリ4内の(N+1)番目のフレーム画像と上
記フレームメモリ3内のN番目のフレーム画像との間の
動きベクトル、及び上記フレームメモリ3内のN番目の
フレーム画像と(N−1)番目のフレーム画像との間の
動きベクトルが検出される。
In the motion vector detection circuit 6, the motion vector between the (N + 1) th frame image in the frame memory 4 and the Nth frame image in the frame memory 3 and the motion vector in the frame memory 3 are detected. A motion vector between the Nth frame image and the (N-1) th frame image is detected.

【0034】ここで、出力する画像データがBピクチャ
の画像データである場合には、フレームメモリ4に書き
込まれた(N+1)番目のフレーム画像の画像信号が読
み出されて動き補償回路7に送られ、また、(N−1)
番目のフレーム画像は動き補償回路8に送られる。
When the image data to be output is B picture image data, the image signal of the (N + 1) th frame image written in the frame memory 4 is read out and sent to the motion compensation circuit 7. And (N-1)
The th frame image is sent to the motion compensation circuit 8.

【0035】一般的に、後述するDCT処理に用いられ
るDCTブロックのサイズは8×8である。1画素即ち
1ピクセルを8ビット(=1バイト)とすると、1DC
Tブロックのデータ量は64バイトとなる。8ビット幅
のSDRAMを4個、あるいは16ビット幅のSDRA
Mを2個用いて、SDRAMのビット幅を32ビットと
すると、64バイトのデータを転送するには64/4=
16クロックを必要とする。このとき、バースト長を8
に設定し、バンク0及びバンク1の両方のバンクに32
バイトずつ記録すればシステムを設計しやすくなる。
Generally, the size of the DCT block used for the DCT processing described later is 8 × 8. If one pixel, that is, one pixel is 8 bits (= 1 byte), 1DC
The data amount of T block is 64 bytes. Four 8-bit wide SDRAM or 16-bit wide SDRA
If two Ms are used and the bit width of the SDRAM is 32 bits, 64/4 =
It requires 16 clocks. At this time, set the burst length to 8
Set to 32 in both bank 0 and bank 1
Recording each byte makes it easier to design the system.

【0036】また、データは輝度信号Y及び色差信号C
r,Cbから成るマクロブロックとなっており、図8に
示したように、同一のロウアドレスに存在する。よっ
て、マクロブロックのデータをSDRAMから読み出す
際には、リードを行うカラムアドレスを2クロック毎に
切り換えて発生させることにより、1度のバースト転送
によって輝度信号Y及び色差信号Cr、Cbを同時に読
み込み、不要データのバースト転送を削減する。
The data is a luminance signal Y and a color difference signal C.
The macro block is composed of r and Cb, and exists in the same row address as shown in FIG. Therefore, when reading the data of the macroblock from the SDRAM, the column address to be read is switched every two clocks to generate the luminance signal Y and the color difference signals Cr and Cb at the same time by one burst transfer. Reduce burst transfer of unnecessary data.

【0037】具体的には、図2のAに示すように、81
MHzのクロック信号が出力される場合に、図2のBに
示すように、34クロック目でバンク0のアクティブコ
マンドが出力されるときには、マクロブロックのデータ
のカラムアドレスを切り換えるために、2クロック毎、
即ち37、39、41、43クロック目にそれぞれリー
ドコマンドRD1、RD2、RD3、RD4が出力される。
具体的には、例えば、図8に示すマクロブロックのデー
タを読み出す場合には、リードコマンドRD1、RD2
RD3、RD4には、カラムアドレスとして0、2、3
2、48の値がそれぞれ代入される。これにより、図2
のCに示すように、40クロック目から47クロック目
までに、カラムアドレスが切り換えられたバンク0のマ
クロブロックのデータが順次読み出される。
Specifically, as shown in FIG.
When an active command for bank 0 is output at the 34th clock as shown in B of FIG. 2 when the clock signal of MHz is output, the column address of the macroblock data is switched every 2 clocks. ,
That is, read commands RD 1 , RD 2 , RD 3 , and RD 4 are output at the 37th, 39th, 41st, and 43rd clocks, respectively.
Specifically, for example, when reading the data of the macro block shown in FIG. 8, read commands RD 1 , RD 2 ,
Column addresses 0, 2, and 3 are assigned to RD 3 and RD 4.
The values of 2 and 48 are respectively substituted. As a result, FIG.
As indicated by C, the data of the macroblock of bank 0 whose column address is switched is sequentially read from the 40th clock to the 47th clock.

【0038】同様にして、42クロック目でバンク1の
アクティブコマンドが出力されるときには、45、4
7、49、51クロック目にそれぞれリードコマンドR
1、RD2、RD3、RD4が出力される。これにより、
バンク0のデータに継続して、カラムアドレスが切り換
えられたバンク1のデータが48クロック目から55ク
ロック目までに順次読み出される。
Similarly, when the active command of bank 1 is output at the 42nd clock, 45, 4
Read command R at clocks 7, 49 and 51
D 1 , RD 2 , RD 3 and RD 4 are output. This allows
Following the data of bank 0, the data of bank 1 whose column address has been switched is sequentially read from the 48th clock to the 55th clock.

【0039】このようにして読み出されるデータ量は、
図3に示す太線の16×16バイト分のデータを読み出
す場合には、横20バイト、縦24バイト分のデータの
みを読み出せばよく、斜線部で示される4×24=96
バイト分のデータは転送する必要が無くなる。即ち、
(20×24)/(16×16)=15/8倍のデータ
の転送量で済むことになる。このときの削減率は17%
である。
The amount of data read in this way is
When reading the data of 16 × 16 bytes of the thick line shown in FIG. 3, it is sufficient to read only the data of 20 bytes in the horizontal direction and 24 bytes in the vertical direction, and 4 × 24 = 96 indicated by the hatched portion.
There is no need to transfer bytes of data. That is,
(20 × 24) / (16 × 16) = 15/8 times the data transfer amount will suffice. The reduction rate at this time is 17%
Is.

【0040】これにより、動き補償回路7、8にデータ
転送する際のデータバスの占有期間が短くなり、その
分、他のデータ処理用のデータ転送に振り分けることが
可能と成る。
As a result, the occupied period of the data bus at the time of data transfer to the motion compensation circuits 7 and 8 is shortened, and the data transfer for other data processing can be allocated accordingly.

【0041】上記動き補償回路7、8には、上記動きベ
クトル検出回路6で検出された動きベクトルが送られて
おり、動き補償回路7、8で動きベクトルを用いて動き
補償が行われる。この動き補償回路7、8からの出力
は、加算器9で加算平均されて予測値NEが求められ
る。さらに、予測値NEは減算器10に送られて、フレ
ームメモリ3から読み出されるN番目のフレーム画像と
の差分が取られ、差分NBとして信号切換器11の端子
aに出力される。
The motion vectors detected by the motion vector detecting circuit 6 are sent to the motion compensating circuits 7 and 8, and the motion compensating circuits 7 and 8 perform motion compensation using the motion vectors. The outputs from the motion compensation circuits 7 and 8 are added and averaged by an adder 9 to obtain a predicted value N E. Further, the predicted value N E is sent to the subtractor 10, and the difference between the predicted value N E and the N-th frame image read out from the frame memory 3 is obtained, and the difference N B is output to the terminal a of the signal switcher 11.

【0042】ここで、上記信号切換器11は、信号入力
端子2から入力されるB/Iセレクト信号によって切り
換えられており、Bピクチャ又はIピクチャの画像信号
の出力の切り換えを行っている。
Here, the signal switch 11 is switched by the B / I select signal inputted from the signal input terminal 2, and switches the output of the image signal of the B picture or the I picture.

【0043】B/Iセレクト信号がBピクチャの画像信
号の出力を示すときには、信号切換器11は端子aに切
り換えられ、この端子aを介して得られる差分NBを基
にして画像圧縮が行われる。
When the B / I select signal indicates the output of the B picture image signal, the signal switch 11 is switched to the terminal a, and the image compression is performed based on the difference N B obtained through the terminal a. Be seen.

【0044】また、B/Iセレクト信号がIピクチャの
画像信号の出力を示すときには、N番目のフレーム画像
の画像信号が信号切換器11の端子bに出力される。信
号切換器11は端子bに切り換えられ、この端子bを介
して出力される信号を用いて画像圧縮が行われる。
When the B / I select signal indicates the output of the image signal of the I picture, the image signal of the Nth frame image is output to the terminal b of the signal switcher 11. The signal switcher 11 is switched to the terminal b, and image compression is performed using the signal output via this terminal b.

【0045】尚、動き検出の方法については問わない
が、動き検出の方法としては、対応するブロック間で画
素同士の差分を求め、この差分をブロック内で積算し、
その積算した値が一番小さいブロックを予測に使用する
方法等がよく用いられる。
The method of motion detection is not limited, but as a method of motion detection, a difference between pixels is calculated between corresponding blocks, and the difference is integrated in the block.
A method of using the block having the smallest integrated value for prediction is often used.

【0046】信号切換器11から切り換え出力された画
像信号は、DCT回路12でDCT処理が施され、ま
た、量子化回路13でDCT係数が量子化された後に、
可変長符号化回路14で可変長符号化されて、画像デー
タとして記録符号化回路15に送られる。
The image signal switched and output from the signal switch 11 is subjected to DCT processing by the DCT circuit 12 and the DCT coefficient is quantized by the quantization circuit 13,
The variable-length coding circuit 14 performs variable-length coding, and the image data is sent to the recording-coding circuit 15.

【0047】この記録符号化回路15では、送られた画
像データは、上記動きベクトル検出回路6からの動きベ
クトル情報及びB/Iセレクト信号と共に、誤り訂正符
号や同期識別情報が付加された後、記録のためのチャネ
ルコーディング等の記録符号化が行われる。
In the recording / coding circuit 15, the sent image data is added with the error correction code and the synchronization identification information together with the motion vector information and the B / I select signal from the motion vector detecting circuit 6, Recording coding such as channel coding for recording is performed.

【0048】この記録符号化された信号は、記録アンプ
やヘッド等から成る記録ユニット16で記録信号として
図示しないテープに記録される。
The recording-coded signal is recorded on a tape (not shown) as a recording signal by the recording unit 16 including a recording amplifier and a head.

【0049】次に、再生側である図4の画像信号復号化
装置では、再生ヘッドやアンプ等から成る再生ユニット
21によって、図示しないテープから記録信号が読み出
される。この読み出された信号は、記録復号化回路22
において、チャネルコーディングが元に戻され、誤り訂
正符号及び動きベクトル情報B/Iセレクト信号等の分
離が行われる。
Next, in the image signal decoding apparatus of FIG. 4 on the reproducing side, a recording signal is read from a tape (not shown) by the reproducing unit 21 including a reproducing head and an amplifier. The read signal is used for the recording / decoding circuit 22.
At, the channel coding is restored and the error correction code and the motion vector information B / I select signal are separated.

【0050】この後、復号化された画像データは、可変
長復号化回路23で可変長復号化されて、逆量子化回路
24で逆量子化された後に、逆離散コサイン変換(以
下、IDCTという)回路25でIDCT処理が施され
て画像信号が出力される。
Thereafter, the decoded image data is variable-length decoded by the variable-length decoding circuit 23, inverse-quantized by the inverse quantization circuit 24, and then inverse discrete cosine transform (hereinafter referred to as IDCT). The circuit 25 performs IDCT processing and outputs an image signal.

【0051】ここで、復号化されたフレーム画像の画像
信号が、記録側でIピクチャとして処理された画像信号
である場合には、このIピクチャのフレーム画像信号
は、SDRAMから成るフレームメモリ26を介して信
号切換器33の端子bに出力される。信号切換器33は
記録復号化回路22で分離されたB/Iセレクト信号に
よって端子b側に切り換えられており、端子bを介して
Iピクチャのフレーム画像の画像信号が信号出力端子3
4から出力される。
Here, when the image signal of the decoded frame image is an image signal processed as an I picture on the recording side, the frame image signal of this I picture is stored in the frame memory 26 composed of SDRAM. It is output to the terminal b of the signal switch 33 via the. The signal switch 33 is switched to the terminal b side by the B / I select signal separated by the recording / decoding circuit 22, and the image signal of the frame image of the I picture is output via the terminal b to the signal output terminal 3.
It is output from 4.

【0052】また、復号化されたフレーム画像の画像信
号が、記録側でBピクチャとして処理された画像信号で
ある場合には、この画像信号は、SDRAMから成るフ
レームメモリ26、27に書き込まれる。具体的には、
現在復号化されたフレーム画像が(N−1)番目のフレ
ーム画像であるならば、この(N−1)番目のフレーム
画像よりも2フレーム前の(N+1)番目のフレーム画
像の画像信号はフレームメモリ27に書き込まれ、1フ
レーム前のN番目のフレーム画像の画像信号はフレーム
メモリ26に書き込まれる。これらのフレームメモリ2
6、27はメモリ制御回路28によって制御される。
When the image signal of the decoded frame image is an image signal processed as a B picture on the recording side, this image signal is written in the frame memories 26 and 27 composed of SDRAM. In particular,
If the currently decoded frame image is the (N-1) th frame image, the image signal of the (N + 1) th frame image two frames before the (N-1) th frame image is the frame signal. The image signal of the Nth frame image which is written in the memory 27 and is one frame before is written in the frame memory 26. These frame memories 2
6, 27 are controlled by the memory control circuit 28.

【0053】このように、フレームメモリ27に書き込
まれて遅延された画像信号は、上述した画像信号符号化
装置におけるデータの読み出しと同様な動作によって読
み出されて動き補償回路29に送られ、また、(N−
1)番目のフレーム画像の画像信号は、動き補償回路3
0に送られる。これらの動き補償回路29、30には上
記記録復号化回路22で分離された動きベクトルが入力
されており、この動きベクトルを用いて動き補償を行
う。この動き補償回路29、30からの出力は加算器3
1で加算平均され、さらに、加算器32でフレームメモ
リ26から読み出されたN番目のフレーム画像の画像信
号との加算平均を求めた画像信号が、信号切換器33の
端子aに出力される。この信号切換器33は、記録復号
化回路22からのB/Iセレクト信号によって端子a側
に切り換えられており、この端子aを介して信号出力端
子34から出力される。
In this way, the delayed image signal written in the frame memory 27 is read out by the same operation as the reading of data in the above-mentioned image signal encoding device and sent to the motion compensation circuit 29. , (N-
The image signal of the 1) th frame image is the motion compensation circuit 3
Sent to 0. The motion vectors separated by the recording / decoding circuit 22 are input to these motion compensation circuits 29 and 30, and motion compensation is performed using these motion vectors. The outputs from the motion compensation circuits 29 and 30 are added by the adder 3
An image signal which is arithmetically averaged by 1 and further calculated by the adder 32 with the image signal of the Nth frame image read from the frame memory 26 is output to the terminal a of the signal switch 33. . The signal switch 33 is switched to the terminal a side by the B / I select signal from the recording / decoding circuit 22, and is output from the signal output terminal 34 via the terminal a.

【0054】尚、上述した実施例においては、バースト
長を8に設定しているが、このバースト長は8に限定さ
れるものではない。
Although the burst length is set to 8 in the above embodiment, the burst length is not limited to 8.

【0055】また、カラムアドレスの切換クロック数は
2に限定されず、例えば4であってもよい。
The number of column address switching clocks is not limited to 2, and may be 4, for example.

【0056】[0056]

【発明の効果】以上の説明からも明らかなように、本発
明に係る画像信号符号化装置は、記憶手段のバースト長
を固定し、同一ロウアドレス上に複数種類の画像信号を
カラムアドレスを異ならせて記憶させ、アクティブコマ
ンドで上記ロウアドレスを指定した状態で、リードコマ
ンドを複数出力して複数のカラムアドレスを順次切り換
え指定するメモリ制御手段を有することにより、動き補
償用のデータを読み出す際に、より少ないバースト転送
量で行うことが可能となり、データバスの使用効率を向
上させることができる。
As is apparent from the above description, the image signal coding apparatus according to the present invention fixes the burst length of the storage means and allows a plurality of types of image signals to have different column addresses on the same row address. When the data for motion compensation is read out by having a memory control means for outputting a plurality of read commands and sequentially switching a plurality of column addresses in a state in which the row address is specified by the active command. Therefore, it becomes possible to carry out with a smaller burst transfer amount, and the use efficiency of the data bus can be improved.

【0057】また、本発明に係る画像信号復号化装置
は、記憶手段のバースト長を固定し、同一ロウアドレス
上に複数種類の画像信号をカラムアドレスを異ならせて
記憶させ、アクティブコマンドで上記ロウアドレスを指
定した状態で、リードコマンドを複数出力して、複数の
カラムアドレスを順次切り換え指定するメモリ制御手段
を有することにより、動き補償用のデータを読み出す際
に、より少ないバースト転送量で行うことが可能とな
り、データバスの使用効率を向上させることができる。
Further, in the image signal decoding apparatus according to the present invention, the burst length of the storage means is fixed, a plurality of types of image signals are stored on the same row address with different column addresses, and the row command is sent by an active command. Having a memory control means for outputting a plurality of read commands and sequentially switching and designating a plurality of column addresses in a state where an address is designated, so that the data for motion compensation is read with a smaller burst transfer amount. It is possible to improve the use efficiency of the data bus.

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

【図1】本発明に係る画像信号符号化装置の概略的な構
成図である。
FIG. 1 is a schematic configuration diagram of an image signal encoding device according to the present invention.

【図2】データの読み出しタイミングを示す図である。FIG. 2 is a diagram showing a data read timing.

【図3】マクロブロックのデータの読み出し量を示す図
である。
FIG. 3 is a diagram showing a read amount of data of a macro block.

【図4】本発明に係る画像信号復号化装置の概略的な構
成図である。
FIG. 4 is a schematic configuration diagram of an image signal decoding device according to the present invention.

【図5】SDRAMのランダムロウリード時のタイミン
グを示す図である。
FIG. 5 is a diagram showing timing at the time of random row read of the SDRAM.

【図6】CASレイテンシを説明するための図である。FIG. 6 is a diagram for explaining CAS latency.

【図7】マクロブロックを示す図である。FIG. 7 is a diagram showing a macro block.

【図8】同一のロウアドレス上のデータを示す図であ
る。
FIG. 8 is a diagram showing data on the same row address.

【図9】従来のマクロブロックのデータ読み出し量を示
す図である。
FIG. 9 is a diagram showing a conventional macro block data read amount.

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

3、4 フレームメモリ 5 メモリ制御回路 6 動きベクトル検出回路 7、8 動き補償回路 9 加算器 10 減算器 11 信号切換器 12 DCT回路 13 量子化回路 14 可変長符号化回路 15 記録符号化回路 16 記録ユニット 21 再生ユニット 22 記録復号化回路 23 可変長復号化回路 24 逆量子化回路 25 IDCT回路 26、27 フレームメモリ 28 メモリ制御回路 29、30 動き補償回路 31、32 加算器 33 信号切換器 3, 4 frame memory 5 memory control circuit 6 motion vector detection circuit 7, 8 motion compensation circuit 9 adder 10 subtractor 11 signal switcher 12 DCT circuit 13 quantization circuit 14 variable length coding circuit 15 recording coding circuit 16 recording Unit 21 Playback unit 22 Recording decoding circuit 23 Variable length decoding circuit 24 Inverse quantization circuit 25 IDCT circuit 26, 27 Frame memory 28 Memory control circuit 29, 30 Motion compensation circuit 31, 32 Adder 33 Signal switcher

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像信号をシンクロナスDRAMから成
る記憶手段に書き込み、この書き込まれた画像信号を読
み出して圧縮符号化を行う画像信号符号化装置におい
て、 上記記憶手段のバースト長を固定し、同一ロウアドレス
上に複数種類の画像信号をカラムアドレスを異ならせて
記憶させ、アクティブコマンドで上記ロウアドレスを指
定した状態で、リードコマンドを複数出力して複数のカ
ラムアドレスを順次切り換え指定するメモリ制御手段を
有することを特徴とする画像信号符号化装置。
1. An image signal coding apparatus for writing an image signal into a storage means comprising a synchronous DRAM and reading the written image signal for compression coding, wherein the burst length of the storage means is fixed and the same. Memory control means for storing a plurality of types of image signals on the row address at different column addresses and outputting a plurality of read commands to sequentially switch a plurality of column addresses while the row address is specified by an active command. An image signal encoding apparatus having:
【請求項2】 上記記憶手段は、動きベクトル検出及び
動き補償の信号処理を行う際に用いられるフレームメモ
リであることを特徴とする請求項1記載の画像信号符号
化装置。
2. The image signal coding apparatus according to claim 1, wherein the storage means is a frame memory used when performing signal processing for motion vector detection and motion compensation.
【請求項3】 伸長復号化された画像データをシンクロ
ナスDRAMから成る記憶手段に書き込んで出力する画
像信号復号化装置において、 上記記憶手段のバースト長を固定し、同一ロウアドレス
上に複数種類の画像信号をカラムアドレスを異ならせて
記憶させ、アクティブコマンドで上記ロウアドレスを指
定した状態で、リードコマンドを複数出力して複数のカ
ラムアドレスを順次切り換え指定するメモリ制御手段を
有することを特徴とする画像信号復号化装置。
3. An image signal decoding apparatus for writing decompressed and decoded image data in a storage means composed of a synchronous DRAM and outputting the same, wherein a burst length of the storage means is fixed and a plurality of types of data are stored on the same row address. An image signal is stored with different column addresses, and a memory control means for outputting a plurality of read commands and sequentially switching a plurality of column addresses in a state where the row address is designated by an active command is provided. Image signal decoding device.
【請求項4】 上記記憶手段は、動きベクトル検出及び
動き補償の信号処理を行う際に用いられるフレームメモ
リであることを特徴とする請求項3記載の画像信号復号
化装置。
4. The image signal decoding apparatus according to claim 3, wherein the storage means is a frame memory used when performing signal processing for motion vector detection and motion compensation.
JP8299995A 1995-04-07 1995-04-07 Image signal encoding apparatus and image signal decoding apparatus Expired - Fee Related JP3624457B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8299995A JP3624457B2 (en) 1995-04-07 1995-04-07 Image signal encoding apparatus and image signal decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8299995A JP3624457B2 (en) 1995-04-07 1995-04-07 Image signal encoding apparatus and image signal decoding apparatus

Publications (2)

Publication Number Publication Date
JPH08280025A true JPH08280025A (en) 1996-10-22
JP3624457B2 JP3624457B2 (en) 2005-03-02

Family

ID=13789931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8299995A Expired - Fee Related JP3624457B2 (en) 1995-04-07 1995-04-07 Image signal encoding apparatus and image signal decoding apparatus

Country Status (1)

Country Link
JP (1) JP3624457B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998009444A1 (en) * 1996-08-29 1998-03-05 Matsushita Electric Industrial Co., Ltd. Image decoder and image memory overcoming various kinds of delaying factors caused by hardware specifications specific to image memory by improving storing system and reading-out system
US7295231B1 (en) 1998-10-14 2007-11-13 Sanyo Electric Co., Ltd. Digital camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998009444A1 (en) * 1996-08-29 1998-03-05 Matsushita Electric Industrial Co., Ltd. Image decoder and image memory overcoming various kinds of delaying factors caused by hardware specifications specific to image memory by improving storing system and reading-out system
US6075899A (en) * 1996-08-29 2000-06-13 Matsushita Electric Industrial Co., Ltd. Image decoder and image memory overcoming various kinds of delaying factors caused by hardware specifications specific to image memory by improving storing system and reading-out system
US7295231B1 (en) 1998-10-14 2007-11-13 Sanyo Electric Co., Ltd. Digital camera

Also Published As

Publication number Publication date
JP3624457B2 (en) 2005-03-02

Similar Documents

Publication Publication Date Title
KR100230159B1 (en) Signal processor
US8184690B2 (en) Image processing apparatus and image processing method
RU2160969C2 (en) Decoder of movable image and process recording group of data of videosignal in synchronous dynamic device
JPH08214265A (en) Method and device for reproducing encoded data
US5754234A (en) Moving picture decoding system
KR19980081641A (en) Moving picture decoding method and moving picture decoding device
JP3277374B2 (en) Image signal decoding method and image signal decoding device
US6490407B2 (en) Recording and reproduction of mixed moving and still images
JP3120010B2 (en) Image decoding method and image decoding device
US6374033B2 (en) Signal processing apparatus and method
JP3119994B2 (en) Image data processing method, storage device used therefor, and image data processing device
JP3624457B2 (en) Image signal encoding apparatus and image signal decoding apparatus
US5812735A (en) Picture signal decoding method and picture signal decoding apparatus
JPH06189292A (en) Moving image decoding device
JPH09261589A (en) Method and device for decoding and displaying image data
JPH10327416A (en) Dynamic image coder
JP2824024B2 (en) Image decoding method and apparatus
JP3134672B2 (en) Frame-by-frame playback processor for video signals
JP2001177829A (en) Method for reproducing moving picture data and moving picture data reproducing device
JP3276675B2 (en) Video recording device
KR0180167B1 (en) Frame Rearrangement Device for Image Coding
JP3262464B2 (en) Image decoding device
JP3740211B2 (en) Recording / playback device
JP2826897B2 (en) Motion compensation circuit
JP2001268566A (en) Image processor, its method and computer readable recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040810

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041012

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041122

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

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees