JPH1042252A - Digital signal processor - Google Patents
Digital signal processorInfo
- Publication number
- JPH1042252A JPH1042252A JP19079496A JP19079496A JPH1042252A JP H1042252 A JPH1042252 A JP H1042252A JP 19079496 A JP19079496 A JP 19079496A JP 19079496 A JP19079496 A JP 19079496A JP H1042252 A JPH1042252 A JP H1042252A
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- processing
- area
- block
- 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.)
- Withdrawn
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、各種データ、特に
画像データ等の符号化、復号化等の処理を行うための信
号処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing apparatus for performing processing such as encoding and decoding of various data, especially image data.
【0002】[0002]
【従来の技術】従来から、膨大なデータ量の各種データ
を符号化することによりデータ量を削減して比較的低い
伝送レートで伝送し得るようにするための各種装置が開
発されている。2. Description of the Related Art Hitherto, various devices have been developed for encoding various types of data having an enormous amount of data to reduce the amount of data so that the data can be transmitted at a relatively low transmission rate.
【0003】例えば、画像データを磁気テープ等の記録
媒体に記録するデジタルVTRにおいても124Mbp
s程度の入力画像データを5分の1の25Mbps程度
に圧縮して磁気テープ上に記録し、再生するための規格
が制定されている。For example, in a digital VTR for recording image data on a recording medium such as a magnetic tape, a 124 Vbp is also required.
Standards have been established for compressing input image data of about s to about one-fifth of about 25 Mbps, recording it on a magnetic tape, and reproducing it.
【0004】このような規格に基づくデジタルVTRに
おいては、入力データをDCT変換した後に量子化し、
この量子化データを可変長符号化することによってデー
タの圧縮を行っており、さらに量子化する際の量子化ス
テップを各種のパラメータに基づいて可変したり、可変
長符号化された後のデータ量が一定となるようにレート
制御が行われる。[0004] In a digital VTR based on such a standard, input data is subjected to DCT conversion and then quantized.
This quantized data is compressed by variable-length encoding, and the quantization step at the time of quantization is varied based on various parameters, or the amount of data after variable-length encoding is performed. Is controlled so that is constant.
【0005】また、入力画像データをフレーム或いはフ
ィールド間動き補償付き予測符号化を用いて圧縮し、こ
の予測符号化データを上述のようなDCT,量子化及び
可変長符号化を用いて更に圧縮するようにしたMPEG
規格が制定されており、この規格に対応したCD−RO
M等の各種装置が開発されている。[0005] Also, input image data is compressed using predictive coding with motion compensation between frames or fields, and the predicted coded data is further compressed using DCT, quantization and variable length coding as described above. MPEG
Standards have been established, and CD-ROs that comply with the standards
Various devices such as M have been developed.
【0006】[0006]
【発明が解決しようとする課題】上述のようなデジタル
VTRやCD−ROM等の伝送損失が大きな伝送系を介
してデータを伝送する場合には損失を補償するために誤
り訂正及び誤り訂正不可能な損失に対する補間が行われ
る。When data is transmitted through a transmission system having a large transmission loss such as a digital VTR or a CD-ROM as described above, error correction and error correction cannot be performed to compensate for the loss. Interpolation is performed for a large loss.
【0007】ところが、そのような補間を行うために従
来は専用のメモりを設けなければならず装置全体のコス
トアップの原因となっていた。However, in order to perform such interpolation, conventionally, a dedicated memory has to be provided, which causes an increase in the cost of the entire apparatus.
【0008】[0008]
【課題を解決するための手段】本発明は上述のような実
情に鑑みてなされたものであり、コストダウンが可能な
デジタル信号処理装置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and has as its object to provide a digital signal processing device capable of reducing costs.
【0009】そのために、本発明は処理されるデータを
記憶する第1のメモリ部と、処理が行われたデータをメ
モリするための第2のメモリ部とを有するメモリ手段
と、補間を行う補間手段とを備え、補間手段は、上記第
2のメモリ部から第1のメモリ部への、対応するデータ
のメモリ内転送によって補間を実行することを特徴とす
るデジタル信号処理装置を提供するものである。For this purpose, the present invention provides a memory means having a first memory section for storing data to be processed, a second memory section for storing processed data, and an interpolation section for performing interpolation. Means for performing interpolation by transferring the corresponding data from the second memory unit to the first memory unit in the memory, thereby providing a digital signal processing apparatus. is there.
【0010】[0010]
【発明の実施の形態】以下、本発明の好適実施例を図1
ないし図5を用いて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a preferred embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG.
【0011】図1は、ディジタルVTRに適用した本発
明の一実施例における基本構成ブロック図を示したもの
である。FIG. 1 is a block diagram showing the basic configuration of an embodiment of the present invention applied to a digital VTR.
【0012】本実施例は、図1に示すように各種処理ブ
ロックが内/外のCPUによって制御されつつ各々が所
望のタイミングでメモリにアクセスし、それらのアクセ
ス要求をメモリ制御部が調停することで上記処理ブロッ
クの動作を保証するように構成されている。In this embodiment, as shown in FIG. 1, various processing blocks are controlled by internal / external CPUs, each accesses a memory at a desired timing, and the memory control unit arbitrates those access requests. To guarantee the operation of the processing block.
【0013】また、本実施例における各処理ブロックは
SD対応の画像データ及びオーディオデータのリアルタ
イム処理を行うことができ、本実施例においてはこのよ
うな処理ユニットを並列配置して各処理回路に時分割的
に画像データ及びオーディオデータを供給して処理させ
ることによって1フレーム当たりのデータ量が上記SD
画像データの倍であるようなHD対応の画像データ及び
オーディオデータをリアルタイムに処理することが出来
るように構成されている。Further, each processing block in this embodiment can perform real-time processing of SD-compatible image data and audio data. In this embodiment, such processing units are arranged in parallel and each processing circuit By supplying the image data and the audio data in a divided manner and processing the data, the data amount per frame can be reduced by the SD.
It is configured to be able to process HD-compatible image data and audio data that is twice as large as the image data in real time.
【0014】上記処理ユニットにおける各処理回路は、
図1に示すようにカメラからの入力データ、EVFへの
出力データ、ライン入出力データ等のデータを処理する
データI/Oブロック1、上記入力データに対してY/
C分離等の処理をする画像データ入出力ブロック3、オ
ーディオ処理ブロック5、画像データに対して離散コサ
イン変換を用いた可変長符号化/復号化を行う符号化/
復号化ブロック7、誤り訂正ブロック9、記録時に上記
符号化データをテープフォーマットに変換または、再生
時にデフォーマット処理をするための符号化データ入出
力ブロック11、記録/再生時の電磁変換処理を行う電
磁変換処理ブロック25から大略構成されており、これ
ら各ブロックはアドレス変換回路13及びメモリインタ
ーフェース15を介して外付けの上記メモリ17とデー
タの授受を行う。Each processing circuit in the processing unit is
As shown in FIG. 1, a data I / O block 1 for processing data such as input data from a camera, output data to an EVF, and line input / output data.
An image data input / output block 3 for performing processing such as C separation, an audio processing block 5, and an encoding / decoding scheme for performing variable length encoding / decoding on image data using discrete cosine transform.
A decoding block 7, an error correction block 9, a coded data input / output block 11 for converting the coded data into a tape format at the time of recording or a deformatting process at the time of reproduction, and an electromagnetic conversion process at the time of recording / reproduction. These blocks are generally constituted by an electromagnetic conversion processing block 25, and these blocks exchange data with the external memory 17 via the address conversion circuit 13 and the memory interface 15.
【0015】これら処理回路の動作は、内部の電気系の
処理を制御するシステムコントロールCPUからCPU
バスCBS2を介して供給される所定のコマンド、更に
外部のサーボ系CPUからCPUバスCBS1及びイン
ターフェース21、及び上記CBS2を介して供給され
る所定のコマンドによって制御されて並列配置された各
ブロックを時分割処理させる。The operation of these processing circuits is performed by a system control CPU that controls internal electric system processing.
The predetermined commands supplied via the bus CBS2, and the blocks arranged in parallel under the control of the CPU bus CBS1 and the interface 21 from the external servo CPU and the predetermined commands supplied via the CBS2, Let it be split.
【0016】本実施例における上記メモリ17は、クロ
ックの立ち上がりに同期してデータのバースト転送を行
い得るSDRAM(Syncronous−DRAM)
が用いられており、このSDRAMは図2(A)に示す
ように2系統のメモリアレイM1,M2からなり、図1
に示すようなジッターの無い外部の周波数発信器27か
ら上記ユニット内の周波数逓倍器29に例えば、27.
5MHzのクロックを供給し、そこで逓倍されて発生し
た67.5MHzがリファレンスクロックとして供給さ
れる。ここでリファレンスクロック67.5MHz(M
CLK)は、周波数発信器31で作られるH_Sync
にロックした13.5MHzの整数倍(5倍)に設定さ
れている。さらに、図1のアドレス変換回路13、及び
メモリI/F15からの制御信号及びアドレス信号に基
づいて上記メモリアレイのリード/ライトモードを設定
するモードコントローラ82と上記供給されるアドレス
データに基づいて上記メモリアレイにおけるアドレスを
指定するアドレスコントローラ83、シリパラ変換を行
うシフトレジスタ84、入出力用のバッファメモリ85
とから構成されている。The memory 17 in the present embodiment is an SDRAM (Synchronous-DRAM) capable of performing burst transfer of data in synchronization with the rise of a clock.
This SDRAM is composed of two systems of memory arrays M1 and M2 as shown in FIG.
(2) from the external frequency transmitter 27 having no jitter to the frequency multiplier 29 in the above-mentioned unit.
A clock of 5 MHz is supplied, and 67.5 MHz generated by multiplication there is supplied as a reference clock. Here, the reference clock 67.5 MHz (M
CLK) is H_Sync generated by the frequency transmitter 31.
It is set to an integral multiple (5 times) of 13.5 MHz locked to. Further, a mode controller 82 for setting the read / write mode of the memory array based on the control signal and the address signal from the address conversion circuit 13 and the memory I / F 15 of FIG. Address controller 83 for designating an address in the memory array, shift register 84 for performing serial-parallel conversion, input / output buffer memory 85
It is composed of
【0017】また、このようなメモリ17における上記
各メモリアレイM1、M2はメモリセル(DRAM)8
6A、86B及びこれらメモリセルとは独立に設けられ
たセンスアンプ87A、87Bからそれぞれ構成されて
おり、これらセンスアンプに保持した所定量のデータを
クロックに同期してバースト転送することによってメモ
リ外部との転送速度と内部バンク内の動作速度を独立に
設定する事ができ、全体として高速なリード/ライトの
アクセスを可能とする。Each of the memory arrays M1 and M2 in the memory 17 is a memory cell (DRAM) 8
6A and 86B and sense amplifiers 87A and 87B provided independently of these memory cells. A predetermined amount of data held in these sense amplifiers is burst-transferred in synchronization with a clock to transfer data to and from the outside of the memory. Transfer speed and the operation speed in the internal bank can be set independently, thereby enabling high-speed read / write access as a whole.
【0018】さらに、本実施例における上記センスアン
プ87A、87Bは、図2(B)に示すように8×64
(8×8)画素分の容量を備えており、8画素単位でバ
ースト転送し得るようになっている。Further, as shown in FIG. 2B, the sense amplifiers 87A and 87B in this embodiment are 8 × 64
It has a capacity of (8 × 8) pixels, and can perform burst transfer in units of 8 pixels.
【0019】このようなメモリ17における上記メモリ
セル86A、86Bの各メモリ空間は1フレーム分の容
量を備えたビデオメモリ(VM)領域と、同様に1フレ
ーム分の符号化データを記憶するための容量を備えたト
ラックメモリ(TM)領域とからそれぞれ構成されてお
り、各領域におけるメモリセルは1フレーム毎に書き込
みモードと読み出しモードとに設定可能であるととも
に、上記各処理ブロックは、その処理形態に応じて上記
センスアンプ87A、87Bを介してVM領域又は、T
M領域との間でデータの授受を行う。Each memory space of the memory cells 86A and 86B in the memory 17 has a video memory (VM) area having a capacity of one frame and a memory space for storing encoded data of one frame. And a track memory (TM) area having a capacity. The memory cells in each area can be set to a write mode and a read mode for each frame, and each of the processing blocks has a processing mode. Depending on the VM region or T through the sense amplifiers 87A and 87B.
Data is exchanged with the M area.
【0020】即ち、図3に示すように上記画像データ入
出力ブロックは3は専らVM領域との間でデータの授受
を行い、上記符号化/復号化ブロック7はVM領域又は
TM領域との両方とデータの授受を行うことによって符
号化動作時には、VM領域からデータを読み出して符号
化処理した後にTM領域に書き込み、復号化動作時には
TM領域からデータを読み出して復号化処理した後にV
M領域に書き込む。That is, as shown in FIG. 3, the image data input / output block 3 exchanges data exclusively with the VM area, and the encoding / decoding block 7 has both the VM area and the TM area. In the encoding operation, data is read out from the VM area, and the data is written to the TM area during the encoding operation. In the decoding operation, the data is read out from the TM area and the data is decoded.
Write to M area.
【0021】同様に、上記オーディオ処理ブロック5、
誤り訂正ブロック9、及び符号化データ入出力ブロック
11は、専らTM領域との間でデータの授受を行う。Similarly, the audio processing block 5,
The error correction block 9 and the coded data input / output block 11 exchange data exclusively with the TM area.
【0022】また、上記各領域におけるアドレス空間は
図3に示すようにそれぞれ構成されている。The address space in each of the above areas is configured as shown in FIG.
【0023】即ち、上記VM領域には、符号化される前
の画像データ(Y,Cr,Cb)が画素単位で書き込ま
れ、この画像データ(NTSC方式の場合、1フレーム
当たり水平720画素×垂直480画素)は、水平方向
5ブロック×垂直方向10ブロックの50個のスーパー
マクロブロック(以下、SMBと記す)に配分され、各
SMBは輝度データ4DCTブロックと色差データ各1
DCTブロックとから成るマクロブロック(以下、MB
と記す)を27ブロック集めて構成されている。That is, in the VM area, image data (Y, Cr, Cb) before being encoded is written in pixel units, and this image data (in the case of the NTSC system, 720 pixels horizontally × vertically in the frame) 480 pixels) are allocated to 50 super macroblocks (hereinafter, referred to as SMBs) of 5 blocks in the horizontal direction × 10 blocks in the vertical direction, and each SMB is composed of 4 DCT blocks of luminance data and 1 block of chrominance data.
A macro block composed of a DCT block (hereinafter referred to as MB
27) are collected.
【0024】[0024]
【表1】 [Table 1]
【0025】なお、各DCTブロックは8×8画素から
構成される。Each DCT block is composed of 8 × 8 pixels.
【0026】また、上述のような画素数から成る1フレ
ームの画像データはNTSC方式の場合符号化処理され
た後に磁気テープ上の10トラック(PALの場合12
本)に渡って記録されるが、符号化前の画像データは上
述のような水平方向に整列された5SMB分のデータが
1本のトラックにそれぞれ対応する。One frame of image data having the number of pixels as described above is subjected to encoding processing in the case of the NTSC system, and thereafter, is subjected to 10 tracks on the magnetic tape (12 tracks in the case of the PAL).
The image data before encoding corresponds to one track of the data of 5 SMBs arranged in the horizontal direction as described above.
【0027】従って、このVM領域に対してアクセスす
る際のアドレスとしては、各画素の水平方向及び垂直方
向にそれぞれ対応したh、v、トラックナンバTr、各
トラック内のSMBナンバ、各SMB内のMBナンバ、
各マクロブロック内のDCTナンバを用いることが好ま
しい。Therefore, as addresses when accessing this VM area, h, v, track number Tr, SMB number in each track, and SMB number in each SMB corresponding to the horizontal and vertical directions of each pixel, respectively. MB number,
It is preferable to use the DCT number in each macroblock.
【0028】一方、上記TM領域には、符号化された後
の画像データ及び誤り訂正符号等が上述の10本(PA
Lの場合12本)のトラックに分配されて記録され、各
トラックに対応する領域には149のシンクブロック
(以下、SBと記す)が記録される。On the other hand, in the TM area, the coded image data, the error correction code, and the like are stored in the ten (PA) areas.
In the case of L, 12 tracks are distributed and recorded, and 149 sync blocks (hereinafter, referred to as SBs) are recorded in an area corresponding to each track.
【0029】同様に、図示せずもオーディオデータ及び
誤り訂正符号等も、上記画像データ領域とは独立した1
0本(PALの場合12本)のトラックに分配されて記
録され、各トラックに対応する領域には14SBが記録
される。Similarly, although not shown, audio data, error correction codes, etc., are also independent of the image data area.
It is distributed and recorded on 0 tracks (12 tracks in the case of PAL), and 14 SB is recorded in an area corresponding to each track.
【0030】また、画像データ/オーディオデータの各
SBは、SBの先頭を示す同期データ(以下、SYと記
す)、信号の各アドレス及び属性等を示すIDデータ
(以下、IDと記す)、有効(画像/オーディオ)デー
タ、及びパリティからそれぞれ構成される。Each SB of the image data / audio data includes synchronous data (hereinafter, referred to as SY) indicating the head of the SB, ID data (hereinafter, referred to as ID) indicating each address and attribute of the signal, and the like. (Image / audio) data and parity.
【0031】従って、このTM領域に対してアクセスす
る際のアドレスとしては、トラックナンバTr、各Tr
内のシンクブロックナンバ(以下、SBと記す)、各S
B内のシンボルナンバ(以下、SMBと記す)を用いる
ことが好ましい。Therefore, the address for accessing this TM area is the track number Tr, each Tr
, The sync block number (hereinafter referred to as SB) in each
It is preferable to use the symbol number in B (hereinafter, referred to as SMB).
【0032】また、上述のようなメモリ17に対する各
処理ブロックのアクセスはアドレス変換回路15により
調停制御及び、アドレス制御される。The access of each processing block to the memory 17 as described above is arbitrated and controlled by the address conversion circuit 15.
【0033】即ち、図示せずもアドレス変換回路13
は、内外部のCPU19、23からCBS2を介して再
生モードか記録モードかといった各種動作モードの種類
等を指定するコマンドが伝送されるか、又は、直接各ブ
ロックのアドレスの所定ビットによって上記モードが伝
送されて、これらの情報に応じてデータ転送の優先順位
に関するスケジューリングを行うと共に、上記各ブロッ
クからのアクセス要求(以下、Reqと記す)に応じて
各処理ブロックとメモリ17との間のデータ転送の調停
を行う。That is, although not shown, the address conversion circuit 13
Is transmitted from the internal and external CPUs 19 and 23 via the CBS 2 to specify a type of various operation modes such as a reproduction mode and a recording mode, or the mode is directly set by a predetermined bit of an address of each block. The transmitted data is used to perform scheduling related to the priority of data transfer in accordance with these pieces of information, and to perform data transfer between each processing block and the memory 17 in response to an access request (hereinafter referred to as Req) from each of the above blocks. Mediation of
【0034】上記コマンドは、図示せずも機器本体の各
スイッチ等によって設定される動作モードを上記内外部
CPUが検出する事によって決定されるものであり、例
えば符号化モード、復号化モード、或いは、VTRにお
ける特殊再生モード等の各種動作モードに対応する。The above-mentioned command is determined by the internal / external CPU detecting an operation mode set by each switch or the like of the apparatus main body, not shown, and includes, for example, an encoding mode, a decoding mode, , VTR and various operation modes such as a special reproduction mode.
【0035】なお、上記コマンドによって指定される動
作モードとしては上述のものに限られず、例えば画像合
成、アフレコ、インサート等の編集、ダビング等の各種
動作を含む。The operation mode specified by the command is not limited to the above-mentioned operation mode, and includes various operations such as image synthesis, post-recording, editing of inserts, dubbing, and the like.
【0036】上記アドレス変換回路13は、上記各処理
ブロックにおける処理形態及び上記メモリ17のアドレ
ス空間に応じた最適なデータ単位でアドレッシングし得
るように各処理ブロック毎に後述する所定のアドレスを
生成する。The address conversion circuit 13 generates a predetermined address to be described later for each processing block so that addressing can be performed in an optimum data unit according to the processing mode in each processing block and the address space of the memory 17. .
【0037】また、このアドレス変換回路13における
アドレス生成動作は、上記内外CPU19,23から伝
送される画像タイプに応じたパラメータに基づいて可変
設定されるようになっており、例えば処理すべき画像が
SDかHDか、或いは、NTSCかPALかといった画
像タイプ(サイズ)に応じて異なるアドレスを発生す
る。The address generation operation in the address conversion circuit 13 is variably set based on a parameter corresponding to an image type transmitted from the internal and external CPUs 19 and 23. Different addresses are generated according to the image type (size) such as SD or HD, or NTSC or PAL.
【0038】一方、上記各処理回路の各部はそれぞれ必
要なクロックが供給されており、そのクロックに同期し
て動作する。On the other hand, each part of each processing circuit is supplied with a required clock, and operates in synchronization with the clock.
【0039】これらのクロックは、入力信号中から抽出
される同期信号HSync、VSync及び内部基準ク
ロック等に基づいて、上記画像データ入出力ブロック3
に供給されて入力信号に同期する第一のクロック(本実
施例では13.5MHz)、図示せずもオーディオ処理
ブロック5に供給されてオーディオデータの処理を行う
ための第2のクロック(本実施例では48KHz)、符
号化/復号化ブロック7と誤り訂正ブロック9及び、ア
ドレス変換回路13、メモリI/F15、メモリ17に
供給される第3のクロック(本実施例では67.5MH
z)、符号化データ入出力ブロック11に電磁変換処理
ブロックから供給されるドラムの回転に同期したクロッ
クで、記録媒体への記録/再生を行うための第4のクロ
ック(本実施例では41.85MHz)があって、各処
理ブロックは、供給されたクロックに応じた処理動作を
行う。These clocks are supplied to the image data input / output block 3 based on synchronization signals HSync and VSync extracted from the input signal, an internal reference clock, and the like.
The first clock (13.5 MHz in this embodiment) supplied to the audio processing block 5 and supplied to the audio processing block 5 to process audio data (not shown). In the example, 48 KHz), a third clock (67.5 MH in this embodiment) supplied to the encoding / decoding block 7, the error correction block 9, the address conversion circuit 13, the memory I / F 15, and the memory 17.
z), a fourth clock for recording / reproducing to / from the recording medium with a clock synchronized with the rotation of the drum supplied from the electromagnetic conversion processing block to the encoded data input / output block 11 (41. 85 MHz), and each processing block performs a processing operation according to the supplied clock.
【0040】以下、上述の処理回路において本発明によ
って実現する補間に於けるメモリ制御について、その詳
細を説明する。Hereinafter, the memory control in the interpolation realized by the present invention in the above processing circuit will be described in detail.
【0041】図4(A)は、上述したシステム構成に於
いて再生時に欠落した画像データを補間する動作を表す
構成図である。ここでは、TM領域に於ける復号前の圧
縮されたデータにより補間処理が行われる。上述の実施
例に於いてTM領域は、2フレーム分を割り当てた構成
を示したが、本実施例では前フレームからの補間処理を
行うため上記メモリの空き領域にもう1フレーム分のT
M領域を割り当てる。つまり、TM領域を3バンク構成
として補間処理を行う。以下に、再生時の動作を例に説
明する。FIG. 4A is a configuration diagram showing an operation of interpolating image data that has been lost during reproduction in the system configuration described above. Here, interpolation processing is performed using the compressed data before decoding in the TM area. In the above-described embodiment, the TM area has a configuration in which two frames are allocated. However, in the present embodiment, the interpolation processing from the previous frame is performed, so that the T area for another frame is stored in the empty area of the memory.
Allocate M area. That is, the interpolation process is performed with the TM area configured as three banks. Hereinafter, an operation at the time of reproduction will be described as an example.
【0042】端子140は、図1に示した符号化データ
入出力ブロック11からの入力端子、端子142は、図
1に示した誤り訂正ブロック9からの入力端子であり、
上述したように図1のアドレス変換回路13によってそ
れぞれのメモリアクセス要求が調停され、かつメモリの
実アドレスに変換されたアドレス、及び復号される前の
画像データ等が供給されるものである。144、146
は、上述したTM領域のフレームメモリでBK0及びB
K1であり、148は、前フレーム補間を実現するため
に設けたもう1フレーム分のメモりBK2である。この
3つのBKエリアへの書き込み/読み込みのアクセス
は、図1に示したシステムコントロールCPU19から
各処理ブロックへBK情報として供給され、それが上位
アドレスに反映されることで制御される。SW150
は、上記BK0、BK1、BK2の各メモリエリアから
読み出す画像データを上記と同様に図1に示したシステ
ムコントロールCPU19から制御され各処理ブロック
へBK情報として供給され、それが上位アドレスに反映
されることで制御される。SW150からの出力は、例
えば端子152を介して符号化/復号化ブロックへ供給
され、再生時に於いては、伸張処理されてVM領域の所
定のエリアに書き込まれる。A terminal 140 is an input terminal from the coded data input / output block 11 shown in FIG. 1, and a terminal 142 is an input terminal from the error correction block 9 shown in FIG.
As described above, each memory access request is arbitrated by the address conversion circuit 13 in FIG. 1, and an address converted into a real address of the memory, image data before being decoded, and the like are supplied. 144, 146
Are BK0 and B in the frame memory of the TM area described above.
K1 and 148 are memory BK2 for another frame provided for realizing the previous frame interpolation. The write / read access to the three BK areas is controlled by being supplied as BK information from the system control CPU 19 shown in FIG. 1 to each processing block, and being reflected in the upper address. SW150
Is controlled by the system control CPU 19 shown in FIG. 1 in the same manner as described above to supply image data read out from the memory areas BK0, BK1, and BK2 to each processing block as BK information, which is reflected in the upper address. Is controlled by The output from the SW 150 is supplied to an encoding / decoding block via, for example, a terminal 152, and is expanded and written to a predetermined area of a VM area during reproduction.
【0043】図4(B)は、上記メモリ構成に於ける再
生時の各処理ブロックの動作を示した図である。縦軸は
アドレスでありそれぞれのBK内はトラックナンバ、シ
ンクブロックナンバ、及び、バイトデータ単位のシンボ
ルナンバが割り当てられている。横軸は時間でありFr
ame0〜Frame3は、1/30秒のフレーム時間
を表している。実線154は符号化データ入出力ブロッ
クによる再生データの書き込み動作を示したものであり
リニアなアドレッシングによってそれぞれのBKをアク
セスする。点線156は上記符号化データ入出力ブロッ
クにより書き込まれた再生データに対して、誤り訂正ブ
ロックによるシンドローム計算のための読み出し動作を
示したものであり、上記符号化データ入出力ブロックの
書き込み位相に対して時間的に1トラック遅延したリニ
アなドレッシングによってそれぞれのBKをアクセスす
る。四角で示せた158は上記シンクドローム計算の読
み出し動作に対して1トラック遅延後、その計算結果に
対して誤りが検出できた場合に、その誤りのある特定ブ
ロックを読み出し訂正データを加算し訂正した後元のメ
モり上の位置に書き込むための動作を示したものであ
る。この場合、1トラック時間内で1トラック内のデー
タを処理することが補償されている。もし、誤り訂正能
力を越えた誤りがあった場合は、各MB単位に補間フラ
グを付加することによって後段の処理で何らかの補間処
理が可能になるように処理される。FIG. 4B is a diagram showing the operation of each processing block during reproduction in the memory configuration. The vertical axis is an address, and within each BK, a track number, a sync block number, and a symbol number in byte data units are assigned. The horizontal axis is time and Fr
ame0 to Frame3 represent a 1/30 second frame time. A solid line 154 indicates a write operation of the reproduction data by the encoded data input / output block, and each BK is accessed by linear addressing. A dotted line 156 indicates a read operation for syndrome calculation by an error correction block with respect to the reproduction data written by the encoded data input / output block. Each BK is accessed by linear dressing delayed one track in time. 158 indicated by a square is a one-track delay from the read operation of the above-mentioned syncdrome calculation, and when an error is detected in the calculation result, the specific block having the error is read and corrected by adding correction data. This shows an operation for writing to a position on the original memory afterwards. In this case, processing of data in one track within one track time is compensated. If there is an error exceeding the error correction capability, an interpolation flag is added to each MB unit, so that the subsequent processing is performed so that some interpolation processing becomes possible.
【0044】斜線で囲んだ160は、上記再生データを
誤り訂正処理した復号化前の圧縮された画像データに対
して、符号化/復号化ブロックが時間的に1フレーム遅
延後所定のBKエリアから読み出しを行い通常5MB単
位でもとの画像データに復号する処理動作を示したもの
である。但し、偶数トラックの5MBと奇数トラックの
5MBが時間的に交互にアクセスするシャフリング処理
が施されるために図に示したような絶対にアクセスされ
ないトラックが時間的に存在することになる。The hatched area 160 indicates that the encoded / decoded block is delayed from the predetermined BK area by one frame with respect to the compressed image data obtained by performing the error correction processing on the reproduced data before decoding. This figure shows the processing operation of reading and decoding the original image data in units of 5 MB. However, since the even-numbered track 5 MB and the odd-numbered track 5 MB are subjected to the shuffling process in which they are alternately accessed temporally, there are temporally inaccessible tracks as shown in the figure.
【0045】ここで、符号化/復号化ブロックによるF
rame2の時間のBK1エリアの復号処理に於いて上
記補間フラグが検出できた時、符号化/復号化ブロック
は、BKアドレスのみを1フレーム前に変更することに
よって1フレーム前の同一な位置にあるMBのデータに
置き換えることによって補間処理を行う。上記処理ブロ
ックのアドレスの位相関係は、上述したシステムコント
ロールCPU19が一括管理している。表1に、上記処
理に於けるBKの位相関係であり、Frame0時間に
於いて符号化データ及び誤り訂正ブロックがBK0、符
号化復号化ブロックの通常処理がBK2、符号化復号化
ブロックの補間処理がBK1にアクセスするように制御
される。以下、Frame1及び、Frame2時間に
於いても各処理が同一時間内に競合し書き込み/読み出
しの追い越しが起こらないように制御される。Here, F by the encoding / decoding block
When the interpolation flag can be detected in the decoding process of the BK1 area at the time of frame2, the encoding / decoding block is at the same position one frame before by changing only the BK address to one frame before. Interpolation processing is performed by replacing the data with MB data. The above-mentioned system control CPU 19 collectively manages the phase relationship between the addresses of the processing blocks. Table 1 shows the phase relationship of BK in the above processing, in which the coded data and the error correction block are BK0, the normal processing of the coded decoding block is BK2, and the interpolation processing of the coded decoding block is performed in Frame 0 time. Are controlled to access BK1. Hereinafter, even during the time of Frame 1 and the time of Frame 2, the processes are controlled within the same time so that the overwriting of reading / writing does not occur.
【0046】なお、上記処理に於けるメモリアクセス
は、図1に示したアドレス変換回路13によるアクセス
要求の調停とアドレス変換、及びメモリ1/F15によ
るメインメモリへのアクセス処理で実現される。The memory access in the above processing is realized by arbitration and address conversion of an access request by the address conversion circuit 13 shown in FIG. 1, and access processing to the main memory by the memory 1 / F15.
【0047】次に図5(A),(B)を用いて、上述の
アドレス変換回路に於いて各ブロックからのメモリアク
セス要求の調停動作、アクセスアドレス及びモードの出
力手段について説明する。但し、ここでは、説明の簡略
化のために2つの処理ブロックA/Bが独自にアクセス
するものと仮定して説明する。Next, the arbitration operation of the memory access request from each block and the output means of the access address and the mode in the above-described address conversion circuit will be described with reference to FIGS. However, for the sake of simplicity, the description will be made on the assumption that the two processing blocks A / B independently access.
【0048】図5(A)は、上記処理のブロック図を示
す。マスタークロック(以下、MCLRと記す。)に同
期したJ−kフリップフロップ100、102は、上記
2つの処理ブロックA/Bからのアクセス要求信号Re
q_A、Req_BがK端子に供給され、J端子にはア
クセス要求信号に対応するアクセス許可信号Ack_
A、Ack_Bが供給される。J−kフリップフロップ
のそれぞれの出力は、出力制御付きのラッチ104に供
給される。ラッチ104は、図1に示すメモリI/F1
5からメモリのバスが解散されて次のアクセス要求受け
付け可能状態を示す信号(以下、Completeと記
す)。によって出力が制御される。つまり、Compl
ete信号のタイミングによってその時点での各Req
の状態がラッチされて出力されるように動作する。ラッ
チ104のReq_A側の出力は、Dフリップフロップ
106とORゲート112に供給されてその出力がRe
q_Aに対するアクセス許可信号Ack_Aとなる。FIG. 5A shows a block diagram of the above processing. Jk flip-flops 100 and 102 synchronized with a master clock (hereinafter, referred to as MCLR) transmit access request signals Re from the two processing blocks A / B.
q_A and Req_B are supplied to a K terminal, and an access permission signal Ack_ corresponding to the access request signal is supplied to a J terminal.
A and Ack_B are supplied. Each output of the Jk flip-flop is supplied to a latch 104 with output control. The latch 104 is connected to the memory I / F1 shown in FIG.
The signal indicating that the bus of the memory is dissolved from 5 and the next access request can be accepted (hereinafter referred to as Complete). Controls the output. That is, Compl
Each Req at that time depends on the timing of the et signal.
Is operated to be latched and output. The output on the Req_A side of the latch 104 is supplied to the D flip-flop 106 and the OR gate 112, and the output is
An access permission signal Ack_A for q_A is obtained.
【0049】一方、ラッチ104のReq_B側の出力
は、反転したReq_A側の出力とORゲート108に
供給され、その出力はDフリップフロップ110とOR
ゲート114に供給されてその出力Req_Bに対する
アクセス許可信号Ack_Bとなる。ここで、ORゲー
ト108は、アクセス要求信号の優先順位がReq_A
よりもReq_Bのほうが低いために必要となる。On the other hand, the output on the Req_B side of the latch 104 is supplied to the inverted output on the Req_A side and the OR gate 108, and its output is ORed with the D flip-flop 110.
The signal is supplied to the gate 114 and becomes an access permission signal Ack_B for the output Req_B. Here, the OR gate 108 determines that the priority of the access request signal is Req_A.
This is necessary because Req_B is lower than Req_B.
【0050】Addr_A、及びAddr_Bはメイン
メモリの実アドレスを意識しない論理アドレスであっ
て、バースト転送されるデータ(例えば、64バイト)
の先頭アドレスを示す。これらの論理アドレスは、ラッ
チ116及びラッチ118に供給され、Ack_A、A
ck_Bによる制御を受けていづれか一方が出力され
る。その出力されたアドレスは、変換テーブル120へ
供給され、Ack_A、Ack_Bの状態によってメモ
リアクセスのための実アドレスに変換すると共に、書き
込み/読み込み、アクセスするデータのバースト長等の
モード信号を図1に示すメモリI/F15へ供給する。Addr_A and Addr_B are logical addresses irrespective of the real address of the main memory, and are burst-transferred data (for example, 64 bytes).
Indicates the start address of These logical addresses are supplied to latches 116 and 118, and Ack_A, Ack_A
Either one is output under the control of ck_B. The output address is supplied to a conversion table 120, which converts the address into a real address for memory access according to the state of Ack_A and Ack_B, and writes a mode signal such as a burst length of data to be written / read and accessed in FIG. To the indicated memory I / F 15.
【0051】メモリI/F15では、図示せずもカウン
タによって転送データの先頭の実アドレスをバースト長
分インクリメントしてメインメモリにアクセスする。The memory I / F 15 accesses the main memory by incrementing the head real address of the transfer data by the burst length by a counter (not shown).
【0052】図5(B)は、上記処理動作のタイミング
を表したものである。FIG. 5B shows the timing of the above processing operation.
【0053】A、Cは、各ブロックからのアクセス要求
信号、Req_A及びReq_Bであり、B、DはRe
q_A及びReq_Bによって変化する各ブロックから
の論理アドレスである。E、Fは、上記J−kフリップ
フロップ100、102の出力信号で、それぞれReq
_A及びReq_Bによって“L”レベルにリセットさ
れ、Ack_A及びAck_Bによって“H”レベルに
セットされる。Gは、上述したようにメモリI/F15
から供給される信号で次のアクセス要求を受け付けるタ
イミングである。つまりCompleteが“L”レベ
ルになった時点で上記E、Fの信号をラッチして優先順
位によってH、Iのようにアクセス許可信号Ack_
A、Ack_Bがローアクティブで出力される。A and C are access request signals from each block, Req_A and Req_B, and B and D are Req_A and Req_B, respectively.
It is a logical address from each block that changes according to q_A and Req_B. E and F are output signals of the Jk flip-flops 100 and 102, respectively,
_A and Req_B reset it to the “L” level, and Ack_A and Ack_B set it to the “H” level. G is the memory I / F 15 as described above.
This is the timing at which the next access request is accepted by the signal supplied from. That is, at the time when the Complete becomes "L" level, the signals of E and F are latched and the access permission signal Ack_
A and Ack_B are output at low active.
【0054】Jは、アクセス許可信号Ack_A、Ac
k_Bによってイネーブルされてラッチ116及び11
8から出力されるアドレスである。K、Lは、変換テー
ブル120から出力される実アドレスに変換されたアド
レス及び、モード信号である。J is an access permission signal Ack_A, Ac
Latches 116 and 11 enabled by k_B
This is the address output from the address 8. K and L are an address converted into a real address output from the conversion table 120 and a mode signal.
【0055】なお、本実施例では、2つのブロックから
のアクセス要求に対する動作を説明したが、N個のブロ
ックに対しても同様に処理する事が可能である。In this embodiment, the operation in response to an access request from two blocks has been described. However, the same processing can be performed for N blocks.
【0056】[0056]
【発明の効果】本発明は以下の様な効果を有する。The present invention has the following effects.
【0057】補間に於けるメモリ制御に於ける発明で
は、複数の処理ブロックが1つのメインメモリに並列に
アクセスするシステムに於いて、各処理ブロックの書き
込み/読み込みが競合せずに、しかも時間的に一番近い
前フレームからの同一位置ブロックのデータによって補
間する事ができ良好な再生画像を提供できる。According to the invention relating to the memory control in interpolation, in a system in which a plurality of processing blocks access one main memory in parallel, the writing / reading of each processing block does not compete with each other and the time is shortened. Can be interpolated by the data of the same position block from the previous frame closest to the above, and a good reproduced image can be provided.
【図1】本発明の構成ブロック図。FIG. 1 is a configuration block diagram of the present invention.
【図2】本発明で用いるシンクロナイズドDRAMの構
成図。FIG. 2 is a configuration diagram of a synchronized DRAM used in the present invention.
【図3】図2に於けるメモリに対する各処理ブロックの
アクセス対応関係を説明するための図。FIG. 3 is a view for explaining an access correspondence relationship of each processing block to a memory in FIG. 2;
【図4】(A)は、本発明に於ける補間処理を実現する
ための構成図。(B)は、本発明に於ける補間処理に係
る各処理ブロックがメモリをアクセスする様子を示した
図。FIG. 4A is a configuration diagram for realizing an interpolation process according to the present invention. FIG. 3B is a diagram showing a state where each processing block related to the interpolation processing in the present invention accesses a memory.
【図5】(A)は、本発明に於ける複数のアクセス要求
を調停するための構成図。(B)は、図5(A)に於け
るタイミング図。FIG. 5A is a configuration diagram for arbitrating a plurality of access requests according to the present invention. FIG. 5B is a timing chart in FIG.
Claims (3)
リ部と、処理が行われたデータをメモリするための第2
のメモリ部とを有するメモリ手段と、 補間を行う補間手段とを備え、 補間手段は、上記第2のメモリ部から第1のメモリ部へ
の、対応するデータのメモリ内転送によって補間を実行
することを特徴とするデジタル信号処理装置。1. A first memory unit for storing data to be processed, and a second memory unit for storing the processed data.
And an interpolation unit for performing interpolation. The interpolation unit executes the interpolation by transferring the corresponding data from the second memory unit to the first memory unit in the memory. A digital signal processing device characterized by the above-mentioned.
しを行う第1のメモリ部と、書き込まれたデータの処理
を行うための第2のメモリ部と、処理が行われたデータ
をメモリするための第3のメモリ部とを有するメモリ手
段と、 補間を行なう補間手段とを備え、 補間手段は、上記第3のメモリ部から第2のメモリ部へ
の、対応するデータのメモリ内転送によって補間を実行
することを特徴とするデジタル信号処理装置。2. A first memory unit for writing or reading data at least, a second memory unit for processing the written data, and a third memory unit for storing the processed data. And an interpolation unit for performing interpolation. The interpolation unit executes the interpolation by transferring the corresponding data from the third memory unit to the second memory unit in the memory. A digital signal processing device characterized by the above-mentioned.
られていることを特徴とする請求項1又は2記載のデジ
タル信号処理装置。3. The digital signal processing device according to claim 1, wherein an SDRAM is used as said memory means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19079496A JPH1042252A (en) | 1996-07-19 | 1996-07-19 | Digital signal processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19079496A JPH1042252A (en) | 1996-07-19 | 1996-07-19 | Digital signal processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1042252A true JPH1042252A (en) | 1998-02-13 |
Family
ID=16263858
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19079496A Withdrawn JPH1042252A (en) | 1996-07-19 | 1996-07-19 | Digital signal processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1042252A (en) |
-
1996
- 1996-07-19 JP JP19079496A patent/JPH1042252A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100230159B1 (en) | Signal processor | |
| JP3825888B2 (en) | Signal processing apparatus / method and memory storage method | |
| US6356702B1 (en) | Image display apparatus and special picture reproduction controller | |
| US6490407B2 (en) | Recording and reproduction of mixed moving and still images | |
| JP3507146B2 (en) | Signal processing apparatus and method | |
| JPH1042252A (en) | Digital signal processor | |
| JP3507147B2 (en) | Signal processing apparatus and method | |
| JP3599385B2 (en) | Signal processing apparatus and method | |
| JPH09261589A (en) | Method and device for decoding and displaying image data | |
| JP2001023318A (en) | Recording / reproducing device, recording device and reproducing device | |
| JPH1042253A (en) | Digital signal processor | |
| JP3907278B2 (en) | Data processing device | |
| JP2001218165A (en) | Digital signal recording device and method, recording medium | |
| JP3740211B2 (en) | Recording / playback device | |
| JP3349201B2 (en) | Digital still camera | |
| JPH1169303A (en) | Data processing device, data processing method, and computer-readable recording medium | |
| JP3523691B2 (en) | Image handling equipment | |
| JP3884830B2 (en) | Image signal processing device | |
| JP4817725B2 (en) | Data processing apparatus and method | |
| JP3349271B2 (en) | Digital still camera | |
| JP3890338B2 (en) | Image signal processing device | |
| JPH1032786A (en) | Signal processing device | |
| JP2003052016A (en) | Recording device | |
| JPH11205741A (en) | Shuffling device | |
| JPH05130561A (en) | Memory control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20031007 |