KR100246639B1 - Digital vcr formatter - Google Patents

Digital vcr formatter Download PDF

Info

Publication number
KR100246639B1
KR100246639B1 KR1019970029959A KR19970029959A KR100246639B1 KR 100246639 B1 KR100246639 B1 KR 100246639B1 KR 1019970029959 A KR1019970029959 A KR 1019970029959A KR 19970029959 A KR19970029959 A KR 19970029959A KR 100246639 B1 KR100246639 B1 KR 100246639B1
Authority
KR
South Korea
Prior art keywords
segment
memory
data
flag
information
Prior art date
Application number
KR1019970029959A
Other languages
Korean (ko)
Other versions
KR19990005741A (en
Inventor
김민규
Original Assignee
전주범
대우전자주식회사
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 전주범, 대우전자주식회사 filed Critical 전주범
Priority to KR1019970029959A priority Critical patent/KR100246639B1/en
Publication of KR19990005741A publication Critical patent/KR19990005741A/en
Application granted granted Critical
Publication of KR100246639B1 publication Critical patent/KR100246639B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1201Formatting, e.g. arrangement of data block or words on the record carriers on tapes
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B2020/1264Formatting, e.g. arrangement of data block or words on the record carriers wherein the formatting concerns a specific kind of data
    • G11B2020/1265Control data, system data or management information, i.e. data used to access or process user data
    • G11B2020/1285Status of the record carrier, e.g. space bit maps, flags indicating a formatting status or a write permission
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/90Tape-like record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

본 발명은 디지털 브이씨알의 포멧팅(Formatting) 장치에 있어서, 세그먼트 단위의 데이터를 저장하기 위한 핑퐁 구조로 구성된 메모리의 크기와 포멧팅 과정 중의 처리 시간을 줄일 수 있도록 하는 디지털 브이씨알의 포멧팅(Formatting) 장치에 관한 것이다.The present invention relates to a format of a digital VR, in which a size of a memory composed of a ping-pong structure for storing data in units of segments and a processing time during a formatting process can be reduced. Formatting) device.

본 발명의 목적은 가변 길이 부호화된 세그먼트 단위의 데이터를 먼저 16비트 단위로 패킹한 후 포맷팅함으로써 처리 속도를 높이고, 또한 세그먼트 메모리에서 385바이트로 재배열하여 포멧팅을 행함으로써 메모리의 크기도 줄일 수 있도록 하는 디지털 브이씨알의 포멧팅 장치를 제공하는데 그 목적이 있다.An object of the present invention is to increase the processing speed by first packing the data of the unit of variable length coded segment in 16-bit unit and then formatting it, and also to reduce the size of the memory by reformatting the segment memory to 385 bytes It is an object of the present invention to provide a formatting device of a digital VR.

따라서, 가변 길이 부호화된 가변길이 데이터를 미리 16비트 단위로 패킹한 후 미리 세그먼트 단위의 데이터를 385바이트의 크기를 갖는 데이터로 패킹하여 메모리에 저장하기 때문에 그 만큼 메모리의 용량이 줄어들며, 또한 16비트 단위로 패킹하는 과정에서 패스 1 과정을 수행하기 때문에 패스 2 과정과 패스 3 과정만을 수행하면 되므로 그만큼 처리 속도가 증가되는 효과가 있다.Therefore, since the variable length coded variable length data is packed in 16-bit units in advance, the data of the segment unit is packed into data having a size of 385 bytes in advance and stored in the memory. Since the process of packing unit 1 performs the pass 1 process, only the pass 2 process and the pass 3 process need to be performed, thereby increasing the processing speed.

Description

디지털 브이씨알의 포맷팅 장치(Formatting Apparatus for a Digital VCR)Formatting Apparatus for a Digital VCR

본 발명은 디지털 브이씨알의 포멧팅(Formatting) 장치에 있어서, 세그먼트 단위의 데이터를 저장하기 위한 핑퐁 구조로 구성된 메모리의 크기와 포맷팅 과정 중의 처리 시간을 줄일 수 있도록 하는 디지털 브이씨알의 포멧팅(Formatting) 장치에 관한 것이다.The present invention relates to a format of a digital VR, in which a size of a memory having a ping-pong structure for storing data in units of segments and processing time during a formatting process can be reduced. ) Relates to the device.

일반적으로 DCT 블록의 데이터를 양자화(Quantization)하기 위해서는 3가지의 양자화 벡터, 즉 클래스 번호(Class No.), 영역 번호(Area No.), 양자화 번호(QNO)가 필요하다.In general, three quantization vectors, that is, a class number, an area number, and a quantization number QNO, are required to quantize data of a DCT block.

클래스 번호(Class No.)는 DCT 블록의 각 화소의 계수에 의해서 결정되며, 영역 번호(Area No.)는 DCT 블록 단위로 결정되며, 또한 양자화 번호(QNO)는 매크로 블록 단위로 결정된다.The class number (Class No.) is determined by the coefficient of each pixel of the DCT block, the area number (Area No.) is determined in units of DCT blocks, and the quantization number (QNO) is determined in units of macro blocks.

이후 양자화된 데이터는 각 DCT 블록 단위로 연속되는 ??0??의 갯수와 AC 계수의 크기를 나타내는 RLC(Run-Length-Coding), 즉 (RUN, AMP)값을 발생하고, 이 값을 기 규정된 코드 표에 의해 VLC(Variable-Length-Coding)를 수행한다.Subsequently, the quantized data generates RLC (Run-Length-Coding), that is, (RUN, AMP) value representing the number of ?? 0 ?? and the magnitude of the AC coefficient in succession for each DCT block. VLC (Variable-Length-Coding) is performed by the prescribed code table.

이렇게 VLC까지 수행된 데이터는 즉, 가변 길이 부호화된 DCT 블록의 AC 데이터는 도 1 에 도시된 바와 같이 핑퐁(ping-pong) 구조를 가지는 제 1 세그먼트 메모리(100)와 제 2 세그먼트 메모리(110)에 세그먼트 단위로 저장된다.The data performed up to the VLC, that is, the AC data of the variable length coded DCT block, has a ping-pong structure as shown in FIG. 1. Are stored in segments.

즉, N번째의 세그먼트 블록이 제 1 세그먼트 메모리(100)에 라이트된 다음 포맷터(120)로 리드되기 시작하면, 제 2 세그먼트 메모리(110)는 N+1번째 세그먼트 블록을 입력받아 라이트 하게 된다.That is, when the N-th segment block is written to the first segment memory 100 and then started to be read into the formatter 120, the second segment memory 110 receives and writes the N + 1-th segment block.

또한, 상기 제 2 세그먼트 메모리(110)에 N+1번째 세그먼트 블록이 라이트 완료된 다음 포맷터(120)로 리드되기 시작하면, 제 1 세그먼트 메모리(100)는 N+2번째 세그먼트 블록을 인가 받아 이를 라이트 하게 된다.In addition, when the N + 1 th segment block is written to the second segment memory 110 and then read to the formatter 120, the first segment memory 100 receives the N + 2 th segment block and writes it to the second segment memory 110. Done.

그러므로, 제 1 세그먼트 메모리(100)와 제 2 세그먼트 메모리(110)는 같은 크기를 갖는 메모리이며, 1 세그먼트의 크기(1920 워드)를 저장할 수 있는 용량이 되어야 한다.Therefore, the first segment memory 100 and the second segment memory 110 are the memory having the same size, and should be a capacity capable of storing the size of one segment (1920 words).

즉, 디지털 브이씨알의 디포맷팅은 세그먼트 단위로 처리되기 때문에 1 세그먼트 단위를 저장할 수 있는 용량이 되어야 하며, 참고로 1 세그먼트(1920 바이트)는 5개의 매크로 블록(384 바이트)으로 구성되고, 1 매크로 블록은 6개의 DCT 블록으로 구성되며, 1 DCT 블록은 64 바이트로 구성된다.In other words, since the deformatting of digital VR is processed by segment, it should be a capacity to store 1 segment unit. For reference, 1 segment (1920 byte) is composed of 5 macro blocks (384 bytes), and 1 macro is used. The block consists of six DCT blocks, and one DCT block consists of 64 bytes.

따라서, 상기 제 1 세그먼트 메모리(100) 및 제 2 세그먼트 메모리(110)는 도 3 에 도시된 바와 같이, 각 DCT 블록이 저장될 수 있도록 항시 DCT 블록당 64 워드의 공간을 확보해 두어야 한다.Therefore, as shown in FIG. 3, the first segment memory 100 and the second segment memory 110 should always have a space of 64 words per DCT block so that each DCT block can be stored.

이렇게 저장된 데이터를 패커부(120)에서 입력받아 16비트 단위로 패킹을 행하게 되는데, 현재 상기 제 1 세그먼트 메모리(100)에 저장된 DCT 블록을 패스 1(pass 1) 과정에 의해 포맷팅 중이라면 그 결과는 제 1 ECC 메모리(130)에 저장되고, 제 2 세그먼트 메모리(110)에 저장된 DCT 블록을 패스 1(pass 1) 과정에 의해 포맷팅 중이라면 그 결과는 제 2 ECC 메모리(140)에 저장된다.The stored data is received from the packer unit 120 and packed in units of 16 bits. If the DCT block stored in the first segment memory 100 is currently formatted by pass 1, the result is If the DCT block stored in the first ECC memory 130 and the second segment memory 110 is being formatted by the pass 1 process, the result is stored in the second ECC memory 140.

이때, 오버 플로우(over flow)된 결과는 제 1 보조 메모리(150)에 저장된다.In this case, the overflowed result is stored in the first auxiliary memory 150.

또한, 패스 2 과정(pass 2)중에 오버 플로우된 결과는 제 2 보조 메모리(160)에 저장된다.In addition, the result of the overflow during the pass 2 process (pass 2) is stored in the second auxiliary memory 160.

여기서 패스 1(pass 1) 과정은 DCT 블록 단위의 포멧팅 과정이다. 즉, 각 블록단위로 할당된 영역에 가변길이 부호화 코드를 패킹하여 저장하고, 남으면 제 1 보조 메모리(150)에 저장된다.Here, the pass 1 process is a formatting process in units of DCT blocks. That is, the variable length coded code is packed and stored in an area allocated to each block unit, and when stored, the variable length coding code is stored in the first auxiliary memory 150.

패스 2(pass 2) 과정은 매크로 블록 단위의 포맷팅 과정이다. 즉, 매크로 블록단위로 할당된 77바이트 영역중 패스 1 과정후의 빈 영역에 패스 1 과정후에 제 1 보조 메모리(150)에 저장된 자기 매크로 블록 데이타를 패킹하여 저장한다.The pass 2 process is a formatting process in macro block units. That is, the magnetic macroblock data stored in the first auxiliary memory 150 after the pass 1 process is packed and stored in an empty area after the pass 1 process among the 77-byte areas allocated in units of macro blocks.

이 과정에서 저장되지 못한 유효 비트도 상기 패스 1(pass 1) 과정과 같이 여분의 메모리인 제 2 보조 메모리(160)에 저장된다.Valid bits that are not stored in this process are also stored in the second auxiliary memory 160, which is an extra memory as in the pass 1 process.

패스 3(pass 3) 과정은 DCT 블록과 매크로 블록의 구분 없이 세그먼트 내의 30개 DCT 블록 모두에 대해 상기 패스 2(pass 2) 과정에서 저장되지 못한 유효 비트를 재차 패킹하여 빈곳에 저장하는 과정이다.A pass 3 process is a process of repacking valid bits not stored in the pass 2 process for all 30 DCT blocks in a segment without distinguishing the DCT block and the macro block and storing them in an empty place.

이 과정에서도 저장되지 못한 유효 비트는 버리게 된다.This process also discards valid bits that were not stored.

이와 같이 핑퐁 구조를 이루어 포맷팅된 결과는 에러 정정 부호화부로 출력됨으로써 포맷팅이 이루어진다.The result of formatting the ping-pong structure in this manner is output to the error correction encoder, thereby formatting is performed.

그런데, 이와 같은 경우 가변 길이 부호화된 하나의 DCT 블록의 크기가 최대 64 워드의 크기를 가지므로 최악의 경우를 대비한 64 워드의 공간을 항시 확보해 두어야 하므로, 한 세그먼트의 데이터를 저장하기 위해서는 핑퐁 구조를 가지는 각 메모리의 크기가 1920 워드의 크기를 저장할 수 있는 용량이 되어야 한다.However, in this case, since the size of one variable-length coded DCT block has a maximum size of 64 words, 64 words of space for the worst case should be secured at all times. The size of each memory having a structure should be the capacity to store a size of 1920 words.

즉, 최악의 상태만을 감안하여 메모리 용량을 확보해 둠으로써 그만큼 메모리의 크기가 증대되는 문제점이 있다.That is, there is a problem that the size of the memory increases by securing the memory capacity in consideration of only the worst state.

따라서, 본 발명은 이러한 문제점을 감안하여, 가변 길이 부호화된 세그먼트 단위의 데이터를 먼저 16비트 단위로 패킹한 후 포맷팅함으로써 처리 속도를 높이고, 또한 세그먼트 메모리에서 385바이트로 재배열하여 포맷팅을 행함으로써 메모리의 크기도 줄일 수 있도록 하는 디지털 브이씨알의 포맷팅 장치를 제공하는데 그 목적이 있다.Accordingly, in view of such a problem, the present invention packs the data of a variable-length coded segment unit first into 16-bit units and then formats the memory to increase the processing speed, and rearranges the segmented data into 385 bytes in the segment memory to perform formatting. It is an object of the present invention to provide a formatting device of a digital VR to reduce the size of.

도 1 은 일반적인 디지털 브이씨알의 포멧팅 장치를 나타낸 블록도.1 is a block diagram showing a conventional digital VR formatting device.

도 2 는 본 발명에 의한 디지털 브이씨알의 포멧팅 장치를 나타낸 블록도.Figure 2 is a block diagram showing a digital VR formatting apparatus according to the present invention.

도 3 은 도 2 에 의거한 세그먼트 플래그 메모리에 저장된 어드레스 구조를 설명FIG. 3 illustrates an address structure stored in the segment flag memory according to FIG. 2.

하기 위한 도.To do.

도 4 는 도 3 에 의거하여 각 DCT 블록의 위치로부터 실제 어드레스를 계산하는FIG. 4 calculates an actual address from the position of each DCT block based on FIG.

과정을 설명하기 위한 도.Figure to illustrate the process.

도 5 는 도 2 에 의거한 보조 메모리에 저장된 어드레스 구조를 설명하기 위한 도.FIG. 5 is a diagram for explaining an address structure stored in the auxiliary memory according to FIG. 2; FIG.

* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

200 : 제 1 패커부 210, 220 : 제 1 세그먼트 메모리200: first packer section 210, 220: first segment memory

230 : 제 2 패커부 240, 250 : ECC 메모리230: second packer 240, 250: ECC memory

260, 270 : 보조 메모리 280 : 제어부260, 270: auxiliary memory 280: control unit

290, 300 : 세그먼트 플래그 메모리 310, 320 : 보조 플래그 메모리290, 300: segment flag memory 310, 320: auxiliary flag memory

상기 목적을 달성하기 위해 본 발명에 의한 디지털 브이씨알의 포맷팅 장치는 도 3 에 도시한 바와 같이, 가변 길이 부호화된 세그먼트 단위의 데이터를 입력받아 16비트 단위의 세그먼트 데이터로 패킹하는 제 1 패커부(200); 핑퐁 구조로 구성되어 상기 제 1 패커부(200)로부터 출력되는 16비트 단위의 세그먼트 데이터를 385바이트의 세그먼트 데이터로 재배열하여 저장하는 세그먼트 메모리(200, 210); 상기 세그먼트 메모리(200, 210)의 출력을 인가 받아 이를 세그먼트 플래그 메모리(260, 270)에 저장된 정보를 근거로 각 패스 과정에 의해 패킹하여 385바이트로 재배열하는 제 2 패킹부(230); 핑퐁 구조로 구성되어 상기 제 2 패커부(230)에 의해 패킹된 세그먼트 데이터를 8 비트 단위로 ECC로 출력하는 ECC 메모리(240, 250); 상기 세그먼트 메모리(210, 220)에 저장된 가변 길이 부호화된 세그먼트 단위 데이터의 각 패스 과정에서의 오버 플로우된 데이터를 저장하는 보조 메모리(260, 270); 상기 세그먼트 메모리(210, 220)에 저장된 가변 길이 부호화된 세그먼트 단위 데이터의 끝 어드레스와 그 길이의 정보와 패스 과정에 대한 플래그(flag)정보를 각 패스 과정마다 저장하는 세그먼트 플래그 메모리(260, 270); 상기 보조 메모리(260, 270)에 저장된 오버 플로우된 데이터의 시작 어드레스와 그 길이, 끝 어드레스와 그 길이, 그리고 플래그 정보를 저장하고 있는 보조 플래그 메모리(310, 320)로 구성된다.In order to achieve the above object, a digital VRL formatting apparatus according to the present invention includes a first packer unit that receives data of a variable length coded segment unit and packs it into 16-bit unit data as shown in FIG. 200); A segment memory (200, 210) configured of a ping-pong structure to rearrange and store 16-bit segment data output from the first packer unit into segment data of 385 bytes; A second packing unit 230 which receives the output of the segment memories 200 and 210 and packs them by each pass process based on the information stored in the segment flag memories 260 and 270 and rearranges them into 385 bytes; An ECC memory (240, 250) having a ping-pong structure and outputting segment data packed by the second packer unit (230) to the ECC in units of 8 bits; An auxiliary memory (260, 270) for storing the overflowed data during each pass of the variable length coded segment unit data stored in the segment memories (210, 220); Segment flag memory (260, 270) for storing the end address of the variable-length coded segment unit data stored in the segment memory (210, 220), the information of the length and the flag information for each pass process ; An auxiliary flag memory (310, 320) stores the start address, the length, the end address, the length, and the flag information of the overflowed data stored in the auxiliary memory (260, 270).

이와 같이 구성된 본 발명의 디지털 브이씨알의 포맷팅 장치를 상세히 설명하면 다음과 같다.The formatting apparatus of the digital VR of the present invention configured as described above will be described in detail as follows.

가변 길이 부호화된 DCT 블록 단위의 1세그먼트 데이터 즉, (RUN, AMP)값은 제 1 패커부(200)로 인가되어 16비트 단위로 패킹이 행해지는데, 일반적으로 포맷팅 과정 중에 처리 속도의 증가를 위하여 16비트 단위의 데이터를 사용하기 때문에 미리 16비트 단위로 패킹하는 것이다.One segment data of variable length coded DCT block units, that is, (RUN, AMP) values are applied to the first packer unit 200 to be packed in units of 16 bits. Generally, in order to increase processing speed during the formatting process, Since 16-bit data is used, the 16-bit data is packed in advance.

즉, 패스 1 과정을 수행하게 되는데, 가변 길이 부호화된 세그먼트 단위의 데이터는 최소 3비트부터 최대 16까지의 값을 가지므로 16비트 이하의 값들을 패스 1 과정에 의하여 16비트 단위로 패킹하게 되며, 참고로 종래에는 이 과정을 세그먼트 메모리에서 행하였다.That is, a pass 1 process is performed. Since data having a variable length coded segment has a value ranging from at least 3 bits to at most 16, values of 16 bits or less are packed in units of 16 bits by the pass 1 process. For reference, this process is conventionally performed in the segment memory.

이렇게 16비트 단위로 패킹된 세그먼트 단위의 데이터는 핑퐁 구조로 구성된 제 1 세그먼트 메모리(210) 및 제 2 세그먼트 메모리(220)에 저장되는데, 이때 저장되는 데이터를 제어부(280)의 제어에 따라 패스 2와 패스 3 과정에 의해 패킹하여 385바이트 단위로 미리 재배열하여 저장하게 된다.The data in units of segments packed in units of 16 bits is stored in the first segment memory 210 and the second segment memory 220 having a ping-pong structure, and the stored data is stored in the path 2 under the control of the controller 280. Packed by and pass 3 process, it is rearranged in 385 byte units and stored in advance.

상기 패스 2 와 패스 3 에 의해 패킹 도중 발생한 오버 플로우된 데이터는 제 1 보조 메모리(260) 및 제 2 보조 메모리(270)에 저장되며, 이에 대한 오버 플로우 여부의 플래그와 끝 어드레스 및 그 길이는 제 1 세그먼트 메모리(290) 및 제 2 세그먼트 메모리(300)에 저장되고, 각 세그먼트 블록 단위의 오버 플로우된 데이터가 보조 메모리(260, 270)에 저장되어 있는지에 대한 여부를 판단하기 위한 플래그와 시작 어드레스 및 그 길이, 끝 어드레스 및 그 길이는 보조 플래그 메모리(310, 320)에 저장된다.The overflowed data generated during the packing by the pass 2 and the pass 3 is stored in the first auxiliary memory 260 and the second auxiliary memory 270. A flag and a start address stored in the first segment memory 290 and the second segment memory 300 to determine whether overflowed data of each segment block unit is stored in the auxiliary memories 260 and 270. And the length, the end address, and the length are stored in the auxiliary flag memories 310 and 320.

이때, 상기 세그먼트 플래그 메모리((290, 300)에 저장된 정보는 도 3 에 도시한 바와 같이, 1 비트의 플래그 정보와, 3비트의 끝 어드레스(EA)와 4비트의 그 길이(EL)로서 총 8비트로 이루어진다.At this time, the information stored in the segment flag memory (290, 300), as shown in Figure 3, a total of 1 bit of flag information, the end address (EA) of 3 bits and its length (EL) of 4 bits It consists of 8 bits.

이의 각 DCT블록의 위치로부터 실제 어드레스를 계산하는 방법의 일 예를 도 4 를 참조하여 설명하면, 끝 어드레스(EA)가 '100'이 셋팅되고, 그 길이가 '01110이 셋팅되었다면, EOB가 검출된 끝 어드레스의 데이터가 EOB를 제외한 4번째 위치에서 끝나므로 그의 끝 위치를 알 수 있고, 또한 그 끝 어드레스의 길이 또한 EOB를 포함한 끝 데이터가 총 7비트의 길이인 것을 알 수가 있다.An example of a method of calculating the actual address from the position of each DCT block thereof will be described with reference to FIG. 4. If the end address EA is set to '100' and the length is set to '01110, the EOB is detected. Since the end address data ends at the fourth position excluding the EOB, its end position can be known, and the end address also has a total length of 7 bits including the end data including the EOB.

또한, 플래그가 '0'으로 셋팅된 경우 그 DCT블록 내에서 EOB가 검출되었다는 것을 나타내 준다.In addition, when the flag is set to '0', it indicates that the EOB is detected in the DCT block.

이의 정보는 각 DCT블록 단위로 나뉘어져 있으므로 한 세그먼트 데이터에 대해서는 총 30개의 정보 즉, 240비트로 이루어진다.Since this information is divided into DCT block units, a total of 30 pieces of information, that is, 240 bits, are included for one segment data.

한편, 보조 플래그 메모리(310, 320)에 저장된 시작 어드레스와 그 길이 및 끝 어드레스와 그 길이의 정보와 패스 과정에 대한 플래그(flag)정보는 제어부(250)에 의해 보조 플래그 메모리(310, 320)에 저장되는데, 이에 대한 메모리의 구조는 도 5 에 도시하였다.On the other hand, the start address, the length and the end address, the information of the length, and the flag information about the pass process stored in the auxiliary flag memory (310, 320) by the control unit 250, the auxiliary flag memory (310, 320) The memory structure thereof is shown in FIG. 5.

이의 구조는 각 DCT 블록에 대하여 23비트로 구성되는데, 최상위 비트(MSB)부터 1비트의 크기를 갖는 플래그(flag)와, 7비트의 시작 어드레스(SA), 4비트의 시작 데이터의 길이(SL), 7비트의 끝 어드레스(EA), 4비트의 끝 데이터의 길이(EL)로 구성된다.Its structure consists of 23 bits for each DCT block, including a flag having a size of 1 bit from the most significant bit (MSB), a 7-bit start address (SA), and a 4-bit start data length (SL). And an end address (EA) of 7 bits and a length (EL) of end data of 4 bits.

즉, 한 세그먼트 데이터에 대하여 690비트의 크기를 갖는데, 이는 한 세그먼트가 30개의 DCT 블록으로 이루어지므로 30×23비트로 이루어져야 한다.That is, it has a size of 690 bits for one segment data, which should be composed of 30 × 23 bits because one segment is composed of 30 DCT blocks.

제어부(250)에서 의해 만일 패킹 16비트 단위의 DCT 블록 내에서 하나의 DCT블록의 EOB(End of Block)이 검출되었다면, 그 DCT 블록은 패킹이 완료되었음을 의미하므로, 보조 플래그 메모리(310, 320)에 저장된 플래그는 ??0??으로 셋팅될 것이고, 그렇지 않으면 ??1??로 셋팅될 것이다.If the control unit 250 detects an end of block (OBB) of one DCT block in a DCT block of 16-bit packed units, the DCT block means that the packing is completed, and thus the auxiliary flag memories 310 and 320 may be used. The flag stored in will be set to ?? 0 ??, otherwise it will be set to ?? 1 ??.

이렇게 각 패스 과정에 의해 385바이트 3단위로 재배열된 세그먼트 데이터는 핑퐁 구조의 ECC 메모리(240, 250)에 저장되어 8비트 단위로 ECC부로 출력된다.The segment data rearranged into 385 byte 3 units by each pass process is stored in the ECC memories 240 and 250 of the ping-pong structure and output to the ECC unit in 8-bit units.

이상에서 상세히 설명한 바와 같이 본 발명에 의한 디지털 브이씨알의 포맷팅 장치는, 가변 길이 부호화된 8비트 단위의 데이터를 미리 16비트 단위로 패킹한 후 미리 세그먼트 단위의 데이터를 385바이트의 크기를 갖는 데이터로 패킹하여 메모리에 저장하기 때문에 그 만큼 메모리의 용량이 줄어들며, 또한 16비트 단위로 패킹하는 과정에서 패스 1 과정을 수행하기 때문에 패스 2 과정과 패스 3 과정만을 수행하면 되므로 그만큼 처리 속도가 증가되는 효과가 있다.As described in detail above, the digital VR formatting apparatus according to the present invention packs the variable length encoded 8-bit unit data in 16-bit units in advance, and then pre-segments the data in segment units into data having a size of 385 bytes. Since the size of the memory is reduced because it is packed and stored in the memory, and the pass 1 process is performed in the process of packing in 16-bit units, only the pass 2 process and the pass 3 process are performed, so the processing speed increases accordingly. have.

Claims (14)

가변 길이 부호화된 세그먼트 단위의 데이터를 입력받아 16비트 단위의 세그먼트 데이터로 패킹하는 제 1 패커부;A first packer unit receiving the variable length coded segment unit data and packing the segment data in 16 bit unit; 핑퐁 구조로 구성되어 상기 제 1 패커부로부터 출력되는 16비트 단위의 세그먼트 데이터를 385바이트의 세그먼트 데이터로 재배열하여 저장하는 세그먼트 메모리;A segment memory configured of a ping-pong structure to rearrange and store 16-bit segment data output from the first packer into 385-byte segment data; 상기 세그먼트 메모리의 출력을 인가 받아 이를 세그먼트 플래그 메모리에 저장된 정보를 근거로 각 패스 과정에 의해 패킹하여 385바이트로 재배열하는 제 2 패킹부;A second packing part which receives the output of the segment memory and packs it by each pass process based on the information stored in the segment flag memory and rearranges it to 385 bytes; 핑퐁 구조로 구성되어 상기 제 2 패커부에 의해 패킹된 세그먼트 데이터를 8 비트 단위로 ECC로 출력하는 ECC 메모리;An ECC memory having a ping-pong structure and outputting segment data packed by the second packer to an ECC in units of 8 bits; 상기 세그먼트 메모리에 저장된 가변 길이 부호화된 세그먼트 단위 데이터의 각 패스 과정에서의 오버 플로우된 데이터를 저장하는 보조 메모리;An auxiliary memory for storing the overflowed data during each pass of the variable length coded segment unit data stored in the segment memory; 상기 세그먼트 메모리에 저장된 가변 길이 부호화된 세그먼트 단위 데이터의 끝 어드레스와 그 길이의 정보와 패스 과정에 대한 플래그 정보를 각 패스 과정마다 저장하는 세그먼트 플래그 메모리;A segment flag memory configured to store an end address of variable length coded segment unit data stored in the segment memory, information on the length of the segment unit data, and flag information about a pass process for each pass process; 상기 보조 메모리에 저장된 오버 플로우된 데이터의 시작 어드레스와 그 길이, 끝 어드레스와 그 길이, 그리고 플래그 정보를 저장하고 있는 보조 플래그 메모리로 구성됨을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.And an auxiliary flag memory for storing a start address, a length, an end address, a length, and flag information of overflowed data stored in the auxiliary memory. 제 1 항에 있어서, 제 2 패킹부는 패스 2 과정과 패스 3 과정을 수행하는 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.2. The apparatus of claim 1, wherein the second packing unit performs a pass 2 process and a pass 3 process. 제 1 항에 있어서, 세그먼트 플래그 메모리에 저장된 정보는 세그먼트 메모리에 저장된 가변 길이 부호화된 세그먼트 단위 데이터의 끝 어드레스와 그 길이의 정보와 패스 과정에 대한 플래그 정보인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.2. The apparatus of claim 1, wherein the information stored in the segment flag memory is information about an end address of variable length coded segment unit data stored in the segment memory, information about its length, and flag information about a pass process. . 제 3 항에 있어서, 플래그 정보는 1 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.4. The apparatus of claim 3, wherein the flag information is one bit. 제 3 항에 있어서, 끝 어드레스는 3 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.4. The apparatus of claim 3, wherein the end address is 3 bits. 제 3 항에 있어서, 끝 어드레스의 길이는 4 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.4. The apparatus of claim 3, wherein the end address is 4 bits long. 제 3 항에 있어서, 플래그는 패스 과정 중의 각 DCT블록에의 데이터에서 EOB가 검출되면 ??0??으로 셋팅되고, 그렇지 않으면 ??1??로 셋팅되는 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.4. The format of claim 3, wherein the flag is set to ?? 0 ?? if an EOB is detected in the data in each DCT block during the pass process, otherwise it is set to ?? 1 ??. Device. 제 1 항에 있어서, 보조 플래그 메모리에 저장된 정보는 각 패스 과정에 의한 오버 플로우 데이터의 시작 어드레스와 그 길이의 정보, 끝 어드레스와 그 길이의 정보와 플래그 정보인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.2. The digital VRL formatting according to claim 1, wherein the information stored in the auxiliary flag memory is information of a start address and a length of overflow data by each pass process, an end address and information of a length and flag information. Device. 제 8 항에 있어서, 플래그 정보는 1 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.9. The apparatus of claim 8, wherein the flag information is one bit. 제 8 항에 있어서, 시작 어드레스는 7 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.9. The apparatus of claim 8, wherein the start address is 7 bits. 제 8 항에 있어서, 시작 어드레스의 길이는 4 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.9. The apparatus of claim 8, wherein the start address is 4 bits long. 제 8 항에 있어서, 끝 어드레스는 7 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.9. The apparatus of claim 8, wherein the end address is 7 bits. 제 8 항에 있어서, 끝 어드레스의 길이는 4 비트인 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.9. The apparatus of claim 8, wherein the end address is 4 bits long. 제 8 항에 있어서, 플래그는 오버 플로우된 데이터에서 EOB가 검출되면 ??0??으로 셋팅되고, 그렇지 않으면 ??1??로 셋팅되는 것을 특징으로 하는 디지털 브이씨알의 포맷팅 장치.9. The apparatus of claim 8, wherein the flag is set to ?? 0 ?? if the EOB is detected in the overflowed data, otherwise it is set to ?? 1 ??.
KR1019970029959A 1997-06-30 1997-06-30 Digital vcr formatter KR100246639B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970029959A KR100246639B1 (en) 1997-06-30 1997-06-30 Digital vcr formatter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970029959A KR100246639B1 (en) 1997-06-30 1997-06-30 Digital vcr formatter

Publications (2)

Publication Number Publication Date
KR19990005741A KR19990005741A (en) 1999-01-25
KR100246639B1 true KR100246639B1 (en) 2000-03-15

Family

ID=19512839

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970029959A KR100246639B1 (en) 1997-06-30 1997-06-30 Digital vcr formatter

Country Status (1)

Country Link
KR (1) KR100246639B1 (en)

Also Published As

Publication number Publication date
KR19990005741A (en) 1999-01-25

Similar Documents

Publication Publication Date Title
KR970005575B1 (en) Bitrate reduction method and circuitry
EP0613303B1 (en) Image signal compression apparatus and method thereof
US5218622A (en) System of encoding digital signals intended for transmission and/or storage and a corresponding decoding system
CN1074633C (en) Adaptive bit stream demultiplexing apparatus in a decoding system
EP0665653B1 (en) Apparatus and method for decoding variable-length code
US5652583A (en) Apparatus for encoding variable-length codes and segmenting variable-length codewords thereof
US5166684A (en) Variable length encoder having sign bit separation
US5751860A (en) Method for compressing and decompressing digital image data
EP0587324B1 (en) Data formatting apparatus
US5701125A (en) Method for compression of data using single pass LZSS and run-length encoding
CA2333109A1 (en) Segmentation mechanism for a block encoder
US5555323A (en) System for bi-level symbol coding/decoding with saved storage and method for same
JP4065425B2 (en) Variable length coding packing architecture
KR100246639B1 (en) Digital vcr formatter
KR100246641B1 (en) Digital vcr formatter
KR100246640B1 (en) Digital vcr formatter
US5754128A (en) Variable-length code encoding and segmenting apparatus having a byte alignment unit
US5654806A (en) Code manipulation for a high speed JPEG decoder
US20020006228A1 (en) Data decoding apparatus and method of same
KR100246643B1 (en) Deformatting device of a digital vcr
KR100246642B1 (en) Deformatting and variable length decoding device of a digital vcr
KR19990005763A (en) Digital VRF Formatting Device
JP3500039B2 (en) Digital video signal processor
US6522270B1 (en) Method of coding frequently occurring values
KR100219598B1 (en) Decoder

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee