KR19980079615A - Image data processing method and apparatus, moving picture decoder and system decoder using same - Google Patents

Image data processing method and apparatus, moving picture decoder and system decoder using same Download PDF

Info

Publication number
KR19980079615A
KR19980079615A KR1019980000959A KR19980000959A KR19980079615A KR 19980079615 A KR19980079615 A KR 19980079615A KR 1019980000959 A KR1019980000959 A KR 1019980000959A KR 19980000959 A KR19980000959 A KR 19980000959A KR 19980079615 A KR19980079615 A KR 19980079615A
Authority
KR
South Korea
Prior art keywords
image data
memory
circuit
bank
read
Prior art date
Application number
KR1019980000959A
Other languages
Korean (ko)
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
Priority claimed from JP6620097A external-priority patent/JPH10262215A/en
Priority claimed from JP6666197A external-priority patent/JPH10262246A/en
Priority claimed from JP16458597A external-priority patent/JPH10322643A/en
Application filed by 세키자와 다다시, 후지쓰 가부시키가이샤 filed Critical 세키자와 다다시
Publication of KR19980079615A publication Critical patent/KR19980079615A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

전환 회로(21~24)는 프레임 메모리(14A)에 화상 데이타를 기록하기 전에 또는 후에 레터 박스 변환 회로(20)에 화상 데이타 DAT2 또는 DAT5를 전송할 것인지의 여부를 선택할 수 있도록 제공된다. B 화상의 부호화 화상 데이타는 m 논리 뱅크(m≥2)로 분할되고, 데이타는 프레임 메모리(14A)내에 확보된 p 물리 뱅크(2≤p<m)에 일시 기억되어, 표시순으로 판독된다. 감기 모드가 2배속 재생 모드일 때, 디코더(27A)는 통상 속도의 2배의 속도로 부호화 화상 데이타 DAT0를 복호하여 프레임 메모리(14)에 데이타 DAT2를 기록하는 동시에 프레임 메모리(14)로부터 참조 화상 데이타 DAT4를 판독하고, 디코더는 통상의 속도로 프레임 메모리(14)로부터의 복호 화상 데이타 DAT5를 1화상씩 걸러서 판독한다. 시스템 디코더(110A)는 클록 발생기(142), 클록 펄스를 계수하여 그 계수치를 STCA로서 공급하는 카운터와, 클록 CLK에 따라서 VSYNC 및 ESYNC를 발생하는 동기 펄스 발생기(1391A,1393 및 1394)와, 표시용 판독 개시 어드레스에 따라 PTS를 일시 기억하는 테이블 레지스터(136)와, STC가 테이블 레지스터(136)로부터 판독된 PTS와 일치하는 것을 검출하는 비교기(138)와, 원화상 순서로 PTS를 판독하고 테이블 레지스터(136)로부터의 어드레스 ADR를 제어하여, △ 및 (T-△)가 설정치보다 클 때(여기서, T는 프레임 주기, △는 비교기(138)의 EQ 부터 ESYNC 펄스까지의 시간), PTS를 ESYNC 펄스의 타이밍으로 카운터(140)에 로드시키는 제어 회로를 포함한다.The switching circuits 21 to 24 are provided so as to select whether or not to transfer the image data DAT2 or DAT5 to the letter box conversion circuit 20 before or after writing the image data to the frame memory 14A. The coded image data of the B picture is divided into m logical banks (m? 2), and the data is temporarily stored in the p physical bank (2 < p < m) secured in the frame memory 14A, and read in display order. When the winding mode is the double speed reproduction mode, the decoder 27A decodes the coded image data DAT0 at twice the normal speed, records the data DAT2 in the frame memory 14, and simultaneously retrieves the data DAT2 from the reference memory frame. The data DAT4 is read out, and the decoder reads out the decoded picture data DAT5 from the frame memory 14 by one picture at a normal speed. The system decoder 110A includes a clock generator 142, a counter for counting clock pulses and supplying the count value as an STCA, a synchronous pulse generators 1391A, 1393, and 1394 for generating VSYNC and ESYNC in accordance with the clock CLK, and display. A table register 136 for temporarily storing PTSs according to the read start address, a comparator 138 for detecting that the STC coincides with the PTS read out from the table register 136, and reading the PTSs in the order of the original picture. By controlling the address ADR from register 136, when Δ and (T−Δ) are greater than the set value (where T is the frame period and Δ is the time from EQ to ESYNC pulse of comparator 138), And a control circuit which loads the counter 140 at the timing of the ESYNC pulse.

Description

화상 데이타 처리 방법 및 장치와, 이를 이용한 동화상 디코더 및 시스템 디코더Image data processing method and apparatus, moving picture decoder and system decoder using same

본 발명은 화상 데이타 처리 방법 및 장치와, 이를 이용한 동화상 디코더 및 시스템 디코더에 관한 것이다.The present invention relates to a method and apparatus for processing image data, and a moving picture decoder and a system decoder using the same.

도 15는 비디오 데이타를 표시하기 위해 MPEG 방식에 따라 부호화 화상 데이타 DAT0를 복호화하는 종래의 화상 디코더의 구성을 개략적으로 나타낸다. 부호화 화상 데이타 DAT0는 가변 길이 디코더 회로(10)에 의해 양자화 DCT 계수로 변환되고, 역 양자화 회로(11)에서 DCT 계수로 변환되며, 역 DCT 회로(12)에서 화상 데이타 DAT1로 변환된다.Fig. 15 schematically shows the configuration of a conventional picture decoder which decodes coded picture data DAT0 in accordance with the MPEG method for displaying video data. The encoded image data DAT0 is converted into quantized DCT coefficients by the variable length decoder circuit 10, converted into DCT coefficients by the inverse quantization circuit 11, and converted into image data DAT1 by the inverse DCT circuit 12.

DAT1가 I 화상(내부 부호화 화상)인 경우에는, 그대로 가산 회로(13)를 지나치고, DAT1가 P 화상(전방향 예측 부호화 화상) 또는 B 화상(쌍방향 예측 부호화 화상)인 경우에는, DAT1는 예측 오차 데이타가 되어 가산 회로(13)에서 메모리 제어/예측 화상 생성 회로(15)로부터의 예측 화상 데이타(DAT3)와 가산된다. 예측 화상 생성 회로는 모션 보상과 예측 복호를 행하는 회로이다. 가산 회로(13)의 출력은 복호화 화상 데이타 DAT2로서 프레임 메모리(14)에 일시 기억된다. 메모리 제어/예측 화상 생성 회로(15)는 가변 길이 디코더 회로(10)에 의해 분리된 예측 모드 및 모션 벡터에 기초하여, 프레임 메모리(14)로부터 참조용 복호화 화상 데이타 DAT4를 판독하고 예측 화상 데이타 DAT3를 생성하여, 가산 회로(13)에 공급한다.If the DAT1 is an I picture (internally coded picture), it passes the addition circuit 13 as it is, and if the DAT1 is a P picture (forward prediction coded picture) or a B picture (bidirectional predictive coded picture), the DAT1 is a prediction error. The data is added to the predictive image data DAT3 from the memory control / prediction image generation circuit 15 by the addition circuit 13. The predictive image generation circuit is a circuit that performs motion compensation and predictive decoding. The output of the addition circuit 13 is temporarily stored in the frame memory 14 as the decoded image data DAT2. The memory control / prediction picture generation circuit 15 reads the reference decoded picture data DAT4 from the frame memory 14 based on the prediction mode and the motion vector separated by the variable length decoder circuit 10 and predicts the picture data DAT3. Is generated and supplied to the addition circuit 13.

참조 화상은 화상 데이타 DAT1가 P 화상인 경우에는, 과거의 I 화상 또는 P 화상이다. DAT1가 B 화상인 경우에는, 참조 화상은 과거의 I 화상 또는 P 화상 및 미래의 I 화상 또는 P 화상이다. 여기에, 「과거」및「미래」라는 표현은 부호화이전의 원화상의 순서를 나타낸다.The reference picture is a past I picture or P picture when the picture data DAT1 is a P picture. When the DAT1 is a B picture, the reference picture is a past I picture or a P picture and a future I picture or a P picture. Here, the expressions "past" and "future" indicate the order of the original image before encoding.

프레임 메모리(14)는 참조 화상용인 2 프레임분과 버퍼용인 1 프레임분의, 합계 3 프레임분의 기억 용량을 가지고 있다.The frame memory 14 has a storage capacity of three frames in total, two frames for the reference picture and one frame for the buffer.

도 16은 복호시에 순차로 공급되는 화상 데이타 DAT0의 화상 타입과 프레임 메모리(14)내의 화상 기억 상태 S1∼S9를 나타내고 있다. 도 16에 있어서, I, P, 및 B는 화상 타입을 나타내고 있다. 이들 화상 타입에 할당된 번호는 화상 데이타 DAT0의 시간적 순서를 나타내고 있다.Fig. 16 shows the image types of the image data DAT0 supplied sequentially during decoding and the image storage states S1 to S9 in the frame memory 14. In FIG. 16, I, P, and B have shown the image type. The numbers assigned to these picture types indicate the temporal order of the picture data DAT0.

DAT0는 화상 I1, B2, B3, P4, B5, B6, …의 순서로 가변 길이 디코더 회로(10)에 공급되고, 동일한 순서로 화상 데이타 DAT2가 프레임 메모리(14)에 일시 기억된다. 이 일시 기억된 화상은 부호화 이전의 원화상 순서로, 표시 화상 데이타 DAT5로서 판독된다. B 화상은 참조되지 않고서 표시 화상 데이타 DAT5로서 판독되고, 다음의 I 화상 또는 P 화상 이전까지의 B 화상이 재생후에 I 화상 또는 P 화상이 재생된다. 즉, 표시 화상 데이타 DAT5는 도 16에서 괄호를 붙여 나타낸 화상 B2, B3, I1, B5, B6, P4, …의 순서로 프레임 메모리(14)로부터 판독된다.DAT0 indicates images I1, B2, B3, P4, B5, B6,... The variable length decoder circuit 10 is supplied to the variable length decoder circuit 10 in this order, and the image data DAT2 is temporarily stored in the frame memory 14 in the same order. This temporarily stored image is read out as display image data DAT5 in the order of the original image before encoding. The B picture is read as display image data DAT5 without reference, and the I picture or P picture is reproduced after the B picture up to the next I picture or P picture before playback. That is, the display image data DAT5 is represented by the images B2, B3, I1, B5, B6, P4, ... shown in parentheses in FIG. Are read from the frame memory 14 in the order of.

프레임 메모리(14)는 전술한 바와 같이 3 프레임분의 용량을 가지고 있지만, 제조 비용을 절감하기 위해서는 상기 용량을 가능한 한 줄이는 것이 바람직하다. 그래서, I 화상용 또는 P 화상용의 2개의 데이타 메모리를 각각 2N개의 슬롯으로 분할하고 또한, B 화상은 참조되지 않고도 표시 화상 데이타 DAT5로서 판독된다고 하는 점에 착안하여, B 화상용으로서 N+4개의 슬롯을 갖는 데이타 메모리와, 2N+6개의 슬롯 번호를 기억하기 위한 슬롯 관리 메모리를 이용하여 다음과 같은 처리를 행하는 화상 처리 장치가 제안되고 있다(일본 특허 공개 공보 평8-298666호).The frame memory 14 has a capacity of three frames as described above, but it is desirable to reduce the capacity as much as possible to reduce the manufacturing cost. Therefore, focusing on the fact that two data memories for an I picture or a P picture are divided into 2N slots, and the B picture is read as the display picture data DAT5 without being referred to, N + 4 for the B picture. An image processing apparatus that performs the following processing using a data memory having two slots and a slot management memory for storing 2N + 6 slot numbers has been proposed (Japanese Patent Laid-Open No. 8-298666).

(1) 슬롯 관리 메모리의 선두로부터 개시하는 N+4 워드에 각각 0∼N+3의 초기값을 격납시켜 둔다. 기록 포인터 WP 및 판독 포인터 RP에 각각 초기값 0 및 N+4를 격납시켜 둔다.(1) Initial values of 0 to N + 3 are stored in N + 4 words starting from the head of the slot management memory. Initial values 0 and N + 4 are stored in the write pointer WP and the read pointer RP, respectively.

(2) 기록 포인터 WP의 내용에서 슬롯 관리 메모리를 어드레스 지정하여 슬롯 번호를 판독하고, (기록 포인터 WP의 내용)+1에서 슬롯 관리 메모리를 어드레스 지정하여 슬롯 번호를 판독한다.(2) The slot number is read by addressing the slot management memory from the contents of the write pointer WP, and the slot number is read by addressing the slot management memory at (contents of the write pointer WP) +1.

(3) 데이타 메모리에서, 판독한 2개의 슬롯 번호의 슬롯에 데이타를 기록한다. 또한, 데이타 메모리의 슬롯을 판독하는 순서를 예측하여, 상기 2개의 슬롯 번호를 슬롯 관리 메모리의 다른 어드레스에 각각 격납시킨다.(3) In the data memory, data is recorded in the slot of the read two slot numbers. In addition, the order of reading the slots of the data memory is predicted to store the two slot numbers at different addresses of the slot management memory, respectively.

(4) 기록 포인터를 2개만 증가시킨다.(4) Increment only two write pointers.

(5) 판독 포인터 RP의 내용에서 슬롯 관리 메모리를 어드레스 지정하여 슬롯 번호를 판독하고, (판독 포인터 RP의 내용)+1에서 슬롯 관리 메모리를 어드레스 지정하여 슬롯 번호를 판독한다.(5) The slot number is read by addressing the slot management memory from the contents of the read pointer RP, and the slot number is read by addressing the slot management memory at (contents of the read pointer RP) +1.

(6) 데이타 메모리에서, 판독한 2개의 슬롯 번호로부터 데이타를 판독한다.(6) In the data memory, data is read from the two read slot numbers.

(7) 판독 포인터를 2개만 증가시키고, 이 처리를 반복하여 행한다.(7) Only two read pointers are incremented, and this process is repeated.

그러나, 예컨대 480 라인의 화상인 경우에 N=480/(8×2)=30이기 때문에, 슬롯 관리 메모리는 2N+6=66개의 슬롯 번호를 기억할 수 있어야 한다. 또한, 데이타 메모리의 슬롯 판독 순서를 예측할 필요가 있기 때문에, 장치의 구성이 복잡하다. 더구나, I 화상용 또는 P 화상용인 2개의 데이타 메모리를 각각 2N개의 슬롯으로 분할하고 있기 때문에, 구성이 더욱 복잡하게 된다.However, since N = 480 / (8 × 2) = 30, for example in the case of an image of 480 lines, the slot management memory should be able to store 2N + 6 = 66 slot numbers. In addition, the configuration of the apparatus is complicated because it is necessary to predict the slot read order of the data memory. Furthermore, since the two data memories for I picture or P picture are divided into 2N slots each, the configuration becomes more complicated.

횡:종=16:9인 화상을 횡과 종의 비가 4:3인 통상의 CRT에 일그러짐 없이 출력하는 경우, 도 17에 나타낸 바와 같이, 화상(16)을 화상(17)로 축소하는 레터 박스 변환을 화상(16)에 행할 필요가 있다. 빗금친 라인(181)에서부터 라인(182)까지 및 라인(183)에서부터 라인(184)까지는 CRT 상의 흑색(黑色) 표시 부분을 나타내고 있다.Lateral: When an image having a length = 16: 9 is output without distortion to a normal CRT having a 4: 3 aspect ratio, as shown in FIG. 17, a letter box for reducing the image 16 to the image 17 It is necessary to perform the conversion on the image 16. The hatched lines 181 to 182 and the lines 183 to 184 represent black display portions on the CRT.

도 15에 있어서, 표시 모드가 축소 모드인 경우에는, 전환 회로(19)가 레터 박스 변환 회로(20)측으로 전환되고, 프레임 메모리(14)로부터 판독된 표시 화상 데이타 DAT5가 레터 박스 변환 회로(20)에 의해 상기한 바와 같이 축소되어, 전환 회로(19)를 통과하여 표시 화상 데이타 DAT5로서 취출된다. 표시 모드가 통상 모드인 경우에는, 전환 회로(19)가 프레임 메모리(14)의 출력측으로 전환되고, 표시 화상 데이타 DAT5가 전환 회로(19)를 통과하여 표시 화상 데이타 DAT6로서 취출된다. 표시 화상 데이타 DAT6는 도면에 도시하지 않은 회로에서, 포맷 변환됨과 더불어 아날로그 값으로 변환되어 표시용의 비디오 신호로 된다.In Fig. 15, when the display mode is the reduced mode, the switching circuit 19 is switched to the letter box conversion circuit 20 side, and the display image data DAT5 read out from the frame memory 14 is the letter box conversion circuit 20. In FIG. ) Is reduced as described above, and passes through the switching circuit 19 to be taken out as the display image data DAT5. When the display mode is the normal mode, the switching circuit 19 switches to the output side of the frame memory 14, and the display image data DAT5 passes through the switching circuit 19 and is taken out as the display image data DAT6. In the circuit not shown in the figure, the display image data DAT6 is converted in format and converted into analog values to be a video signal for display.

도 17에 있어서, 표시 모드가 통상 모드인 경우에는, 라인(181)에서부터 라인(184)까지의 기간중에 1 화상분의 표시 화상 데이타 DAT5를 프레임 메모리(14)로부터 판독하기에 충분하다. 표시 모드가 축소 모드인 경우에는, 라인(182)에서부터 라인(183)까지의 통상보다 짧은 기간중에 1 화상분의 표시 화상 데이타(DAT5)를 프레임 메모리(14)로부터 판독하여 레터 박스 변환해야만 하기 때문에, 통상 모드인 경우보다도 고속 처리가 필요하게 되어, 제조 비용 상승의 원인이 된다.In Fig. 17, when the display mode is the normal mode, it is sufficient to read the display image data DAT5 for one image from the frame memory 14 during the period from the line 181 to the line 184. In the case where the display mode is the reduced mode, the display image data DAT5 for one image must be read from the frame memory 14 and letterbox converted in a shorter period from the line 182 to the line 183. As a result, higher speed processing is required than in the normal mode, which increases the manufacturing cost.

도 18의 (a)는 MPEG 방식으로 부호화된 화상열과 그 화상을 복호화하여 재배열한 표시 화상열과의 관계를 나타내고 있다. 6개의 부호화 화상은 1개의 GOP(Group 0f pictures)를 구성하고 있다.FIG. 18A shows the relationship between the image string encoded by the MPEG method and the display image string decoded and rearranged. The six coded pictures constitute one GOP (Group 0f pictures).

종래에는, 빨리 감기 표시를 하는 경우, 버퍼 메모리로부터 디코더로 I 화상만 또는 I 화상과 P 화상만을 전송하고, B 화상은 표시하지 않았다. 도 18의 (a)에 있어서, B 화상을 스킵시키면, I0, P2, P4, I6, …의 순으로 화상이 표시되고, 2배속 모드로 된다.Conventionally, in the case of fast forward display, only I pictures or only I pictures and P pictures are transferred from the buffer memory to the decoder, and B pictures are not displayed. In Fig. 18A, if the B image is skipped, I0, P2, P4, I6,... The images are displayed in the order of and the mode becomes the double speed mode.

예컨대, 물체가 끊임없이 움직여서, 모션 벡터가 큰 동화상으로는 B 화상 부호화를 행할 수 없으므로, 도 18의 (b)에 도시하는 바와 같이 I 화상과 P 화상만이 이용된다. 이 경우, B 화상을 스킵시키는 종래 방법으로는 2배속 모드에서의 동화상 표시를 할 수 없다. I 화상만을 표시하는 것은 가능하지만, 도 18의 (b)에 도시된 바와 같은 경우, 동화상은 2배속 모드가 아닌 6배속 모드로 표시된다.For example, since the object is constantly moving and B picture coding cannot be performed on a moving picture having a large motion vector, only an I picture and a P picture are used as shown in Fig. 18B. In this case, the moving image display in the double speed mode cannot be performed by the conventional method of skipping the B image. It is possible to display only the I image, but in the case as shown in Fig. 18B, the moving image is displayed in the 6x mode instead of the 2x mode.

도 19는 MPEG-2 방식의 AV 디코더의 개략 구성을 나타낸다.Fig. 19 shows a schematic configuration of an AV decoder of MPEG-2 system.

패킷 다중 스트림 BS는 시스템 디코더(110)에 공급되어, 제어 신호가 분리된다. 이 제어 신호에 따라서 후술의 신호가 생성되며, 멀티플렉서(111)가 전환되어, 부호화 화상 비트 스트림 VBS와 부호화 음성 비트 스트림 ABS가 분리된다.The packet multi-stream BS is supplied to the system decoder 110 so that the control signal is separated. Signals described later are generated in accordance with this control signal, and the multiplexer 111 is switched to separate the encoded image bit stream VBS and the encoded audio bit stream ABS.

VBS는 버퍼 회로(112)내의 메모리에 기록된다. 시스템 디코더(110)로부터의 판독 개시 펄스 DSYNC에 응답하여, 이 메모리의 개시 어드레스 BR로부터 부호화 화상 데이타 DAT0의 판독이 개시된다.The VBS is written to the memory in the buffer circuit 112. In response to the read start pulse DSYNC from the system decoder 110, reading of the coded image data DAT0 is started from the start address BR of this memory.

DAT0는 비디오 디코더(113)에 공급되어 복호되고, 화상 데이타 DAT2로서 프레임 메모리(14)에 기록된다. 시스템 디코더(110)로부터의 프레임 주기의 판독 개시 펄스 ESYNC에 응답하여, 비디오 디코더(113)는 프레임 메모리(14)의 판독 개시 어드레스 ADR로부터 표시 화상 데이타 DAT5의 판독을 개시한다.The DAT0 is supplied to the video decoder 113 and decoded, and recorded in the frame memory 14 as the image data DAT2. In response to the read start pulse ESYNC of the frame period from the system decoder 110, the video decoder 113 starts reading the display image data DAT5 from the read start address ADR of the frame memory 14.

DAT5는 표시 출력 회로(115)에서 포맷 변환되어 아날로그 신호로 변환되고, 시스템 디코더(110)로부터의 수직 동기 펄스 VSYNC가 합성되어 비디오 신호 VS가 생성된다.The DAT5 is converted in format by the display output circuit 115 and converted into an analog signal, and the vertical sync pulse VSYNC from the system decoder 110 is synthesized to generate the video signal VS.

음성 비트 스트림 ABS는 버퍼 회로(122) 및 오디오 디코더(123)를 통과하여 오디오 출력 회로(125)에 공급된다. 신호 AS는 신호 VS에 대응하고 있다.The voice bit stream ABS passes through the buffer circuit 122 and the audio decoder 123 and is supplied to the audio output circuit 125. Signal AS corresponds to signal VS.

도 20의 (b)에 도시된 바와 같은 패킷 다중 스트림 BS는 예컨대, 가변 길이인 n개의 패킷 1∼n의 선두에 패킷 헤더가 배치되어 1 팩을 형성하고 있다. 예컨대, 패킷 1은 비디오이고, 패킷 2는 오디오이고, 패킷 n은 비디오이다. 1 팩내에는 비디오와 오디오의 데이타가 거의 같은 시간만큼 포함되어 있다. 팩 헤더에는 시스템 클록 레퍼런스 SCR를 포함한다. 각 패킷에는 스트림 ID, 디코딩 타임 스탬프 DTS 및 프레젠테이션 타임 스탬프 PTS가 포함되어 있다.In the packet multi-stream BS as shown in Fig. 20B, for example, packet headers are arranged at the head of n packets 1 to n of variable length to form one pack. For example, packet 1 is video, packet 2 is audio, and packet n is video. In one pack, the video and audio data are stored for about the same time. The pack header contains the system clock reference SCR. Each packet contains a stream ID, a decoding time stamp DTS, and a presentation time stamp PTS.

도 20의 (a)는 도 19의 시스템 디코더(110)의 주요부 구성을 나타낸다.FIG. 20A illustrates a main part of the system decoder 110 of FIG. 19.

감산 회로(131)에 의해, SCR과 카운터(132)의 출력인 시스템 타임 클록 STC과의 차가 산출된다. 이것이 D/A 변환기(133)에서 아날로그 신호로 변환되어, 저역 필터(134)를 통과하여 전압 제어 발진기(135)에 공급된다. 전압 제어 발진기(135)로부터의 클록 펄스 CLK는 카운터(132)에 의해 계수된다. 카운터(132)에는 최초의 SCR이 로드되고, 이 때, 감산 회로(131)의 출력은 0이 되어 CLK의 주파수는 표준치로 된다. 감산 회로(131), D/A 변환기(133), 저역 필터(134), 전압 제어 발진기(135) 및 카운터(132)로 PLL이 형성되고, 이것에 의해, 매 1 팩의 불연속인 SCR로부터 연속적인 시스템 타임 클록 STC가 생성된다.The subtraction circuit 131 calculates the difference between the SCR and the system time clock STC that is the output of the counter 132. This is converted into an analog signal by the D / A converter 133 and passed through the low pass filter 134 to the voltage controlled oscillator 135. The clock pulse CLK from the voltage controlled oscillator 135 is counted by the counter 132. The first SCR is loaded into the counter 132. At this time, the output of the subtraction circuit 131 becomes 0, and the frequency of the CLK becomes a standard value. A PLL is formed of the subtraction circuit 131, the D / A converter 133, the low pass filter 134, the voltage controlled oscillator 135, and the counter 132, thereby continuing from every pack discontinuous SCR. System time clock STC is generated.

PTS는 프레임 메모리(14)로부터의 DAT5의 판독 개시 시각이며, PTS/ADR 테이블 레지스터(136)에 공급된다. PTS는 프레임 메모리(14)내의 화상 데이타의 판독 개시 어드레스 ADR와 대응하고 있다. 제어 회로(137)는 PTS를 판독 개시 어드레스 ADR와 대응시켜 PTS/ADR 테이블 레지스터(136)에 기록시키고, 다음번에 프레임 메모리(14)로부터 판독해야 할 다음 DAT5에 대응하는 다음 PTS를 판독시킨다. 이 PTS는 비교기(138)에서 STC와 비교되어, STC가 PTS에 일치하였을 때에 비교기(138)는 ESYNC를 출력한다. 이 ESYNC에 동기하여, 제어 회로(137)는 다음 PTS를 PTS/ADR 테이블 레지스터(136)로부터 판독시킨다.The PTS is the read start time of DAT5 from the frame memory 14 and is supplied to the PTS / ADR table register 136. The PTS corresponds to the read start address ADR of the image data in the frame memory 14. The control circuit 137 writes the PTS in the PTS / ADR table register 136 in association with the read start address ADR, and reads the next PTS corresponding to the next DAT5 to be read next from the frame memory 14. This PTS is compared with the STC in the comparator 138 so that the comparator 138 outputs ESYNC when the STC matches the PTS. In synchronization with this ESYNC, the control circuit 137 reads the next PTS from the PTS / ADR table register 136.

비교 회로(도시하지 않음)에서 STC가 DTS에 일치한다고 검출될 때, DSYNC가 출력된다.When the comparison circuit (not shown) detects that the STC matches the DTS, the DSYNC is output.

DAT2가 B 화상인 경우, 비디오 디코더(113)는 프레임 메모리(14)에 격납되어 있는 2개의 화상을 참조하면서 프레임 메모리(14)에 DAT2를 기록하고, 프레임 메모리(14)로부터 VDAT4로서 이 B 화상의 DAT2를 판독할 필요가 있으므로, 종래에는 적어도 3 프레임 용량의 프레임 메모리(14)가 이용되고 있었다. 그러나, B 화상은 DAT2로서 프레임 메모리(14)에 기록되어지면서 DAT5로서 판독되기 때문에, 원리적으로는, 프레임 메모리(14)내에서의 B 화상용 버퍼 용량은 1 프레임보다 적어도 좋다. 이 용량을 감소시킴으로써, 이론적으로는 동화상 디코더의 제조 비용을 줄일 수 있다.When the DAT2 is a B picture, the video decoder 113 records the DAT2 in the frame memory 14 while referring to the two pictures stored in the frame memory 14, and this B picture as the VDAT4 from the frame memory 14. Since it is necessary to read DAT2, the frame memory 14 having at least three frame capacities has been conventionally used. However, since the B picture is recorded in the frame memory 14 as DAT2 and read out as DAT5, in principle, the buffer capacity for the B picture in the frame memory 14 is at least better than one frame. By reducing this capacity, it is theoretically possible to reduce the manufacturing cost of the moving picture decoder.

그러나, 프레임 메모리(14)의 용량을 감소시키면, 버퍼 용량이 줄기 때문에, 표시 화상 데이타 DAT5의 판독 개시 시각을 PTS보다 빠르게하지 않으면 안되어 PTS를 이용할 수 없게 되고, 프레임 메모리(14)로부터의 표시 화상 데이타 DAT5의 판독 타이밍과 수직 동기 펄스 VSYNC와의 타이밍이 어긋난다. 결과적으로, 프레임 메모리(14)의 용량을 감소시킬 수 없게 된다.However, if the capacity of the frame memory 14 is reduced, the buffer capacity is reduced, so that the read start time of the display image data DAT5 must be earlier than the PTS, so that the PTS cannot be used, and the display image from the frame memory 14 is lost. The timing of reading the data DAT5 and the timing of the vertical synchronizing pulse VSYNC are shifted. As a result, the capacity of the frame memory 14 cannot be reduced.

따라서, 본 발명의 목적은 보다 간단한 구성으로 메모리 용량을 저감하거나 또는 화상 축소 처리를 위해 동작 주파수를 증가시킬 필요성을 제거시켜, 제조 비용을 저감할 수 있는 화상 데이타 처리 방법 및 장치를 제공하는 것에 있다.It is therefore an object of the present invention to provide an image data processing method and apparatus which can reduce the manufacturing cost by eliminating the need to reduce the memory capacity or increase the operating frequency for image reduction processing with a simpler configuration. .

본 발명의 또 하나의 목적은 B 화상이 존재하지 않더라도 2배속 감기 모드에서의 화상 재생을 가능하게 하는 동화상 디코더를 제공하는 것에 있다.It is still another object of the present invention to provide a moving picture decoder that enables picture reproduction in double-speed winding mode even when no B picture exists.

본 발명의 또 다른 목적은 프레임 메모리(14)의 용량을 감소시키는 것이 가능한 시스템 디코더 및 이것을 이용한 동화상 디코더를 제공하는 것에 있다.Another object of the present invention is to provide a system decoder capable of reducing the capacity of the frame memory 14 and a moving picture decoder using the same.

도 1은 본 발명의 제1 실시 형태에 따른 동화상 디코더의 개략 구성도.1 is a schematic structural diagram of a moving picture decoder according to a first embodiment of the present invention;

도 2는 본 발명의 제2 실시 형태에 따른 동화상 디코더의 개략 구성도.2 is a schematic structural diagram of a moving picture decoder according to a second embodiment of the present invention;

도 3은 도 2에 도시된 뱅크 관리 회로의 구성예를 나타내는 블록도.3 is a block diagram showing an example of the configuration of a bank management circuit shown in FIG. 2;

도 4는 도 2의 장치에 의한 화상 복호 처리의 설명도.4 is an explanatory diagram of image decoding processing by the apparatus of FIG. 2;

도 5의 (a) 내지 도 5의 (g)는 B 화상의 뱅크 할당 설명도.5A to 5G are explanatory diagrams of bank allocations of B pictures.

도 6은 도 3에 도시된 회로의 동작을 나타내는 타임 챠트.6 is a time chart showing the operation of the circuit shown in FIG.

도 7의 (a) 내지 도 7의 (c)는 B 화상의 슬로우 재생에 대한 설명도.7 (a) to 7 (c) are explanatory diagrams for slow reproduction of a B image.

도 8의 (a)는 본 발명의 제3 실시 형태에 따른 동화상 디코더의 개략 구성을 나타내는 블록도.Fig. 8A is a block diagram showing the schematic configuration of a moving picture decoder according to the third embodiment of the present invention.

도 8의 (b)는 도 8의 (a) 중의 뱅크 어드레스 제어부를 나타내는 블록도.FIG. 8B is a block diagram showing the bank address control unit in FIG. 8A; FIG.

도 9는 등배속 모드에서의 동화상 디코더의 동작을 나타내는 타임 챠트.Fig. 9 is a time chart showing the operation of a moving picture decoder in the constant speed mode.

도 10은 2배속 모드에서의 동화상 디코더의 동작을 나타내는 타임 챠트.Fig. 10 is a time chart showing the operation of a moving picture decoder in double speed mode.

도 11은 본 발명의 제4 실시 형태에 따른 시스템 디코더의 개략 구성을 나타내는 블록도.11 is a block diagram showing a schematic configuration of a system decoder according to a fourth embodiment of the present invention.

도 12는 시스템 타임 클록의 조정 동작에 대한 설명도.12 is an explanatory diagram of an adjustment operation of a system time clock.

도 13은 본 발명의 제5 실시 형태에 따른 시스템 디코더의 주요부 구성을 나타내는 블록도.Fig. 13 is a block diagram showing the configuration of main parts of a system decoder according to a fifth embodiment of the present invention.

도 14는 본 발명의 제6 실시 형태에 따른 시스템 디코더의 주요부 구성을 나타내는 블록도.Fig. 14 is a block diagram showing the configuration of main parts of a system decoder according to a sixth embodiment of the present invention.

도 15는 종래의 화상 디코더의 개략 구성을 나타내는 블록도.Fig. 15 is a block diagram showing a schematic configuration of a conventional picture decoder.

도 16은 도 15에 도시된 장치에 의한 화상 복호화 처리의 설명도.FIG. 16 is an explanatory diagram of image decoding processing by the apparatus shown in FIG. 15; FIG.

도 17은 종래의 레터 박스 변환을 나타내는 설명도.17 is an explanatory diagram showing a conventional letter box conversion.

도 18의 (a) 및 도 18의 (b)는 MPEG 방식에 따라 부호화 화상을 빨리 감기 모드로 복호화하는 종래 기술의 문제점에 대한 설명도.18 (a) and 18 (b) are explanatory diagrams of a problem of the prior art of decoding an encoded image in a fast-forward mode according to the MPEG system.

도 19는 종래의 AV 디코더의 개략 구성을 나타내는 블록도.Fig. 19 is a block diagram showing a schematic configuration of a conventional AV decoder.

도 20의 (a)는 종래의 디코더 주요부 구성을 나타내는 블록도.20A is a block diagram showing the structure of a conventional decoder main part.

도 20의 (b)는 패킷 다중 스트림의 개략 포맷을 나타내는 도면.20B is a diagram illustrating a schematic format of a packet multiple stream.

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

10 : 가변 길이 디코더 11 : 역 양자화 회로10 variable length decoder 11: inverse quantization circuit

12 : 역 DCT 회로 13 : 가산 회로12 reverse DCT circuit 13 addition circuit

14,14A : 프레임 메모리14,14A: Frame Memory

15,15A : 메모리 제어/예측 화상 생성 회로15,15A: Memory control / prediction image generation circuit

20 : 레터 박스 변환 회로 21∼24 : 전환 회로20: letter box conversion circuit 21 to 24: switching circuit

25 : 버퍼 메모리 제어 회로 251, 291 : 어드레스 카운터25: buffer memory control circuit 251, 291: address counter

26 : 버퍼 메모리 27 : 디코더26: buffer memory 27: decoder

28 : 복호/표시 제어 회로 281 : 개시 어드레스 레지스터 회로28: decoding / display control circuit 281: start address register circuit

29 : 프레임 메모리 제어 회로 30 : 뱅크 관리 회로29: frame memory control circuit 30: bank management circuit

31 : 표시 회로 32 : 물리 뱅크수 연산부31: display circuit 32: physical bank number calculator

33 : 공상태 물리 뱅크 검출부 34 : 물리 뱅크 할당 레지스터33: state physical bank detector 34: physical bank allocation register

35 : 물리 뱅크 할당부 36 : 논리/물리 뱅크 번호 변환부35: physical bank allocator 36: logical / physical bank number converting unit

37 : 물리 뱅크 개방부 MR1∼MR4 : 매핑 레지스터37: physical bank opening portion MR1 to MR4: mapping register

L1N : 기록 논리 뱅크 번호 L2N : 판독 논리 뱅크 번호L1N: Write logic bank number L2N: Read logic bank number

RQ2 : 물리 뱅크 할당 요구 DAT0 : 부호화 화상 데이타RQ2: Physical bank allocation request DAT0: Encoded image data

DAT1 : 화상 데이타 DAT2,DAT2A : 복호 화상 데이타DAT1: image data DAT2, DAT2A: decoded image data

DAT3 : 예측 화상 데이타 DAT4 : 참조용 복호 화상 데이타DAT3: predictive image data DAT4: decoded image data for reference

DAT5 : 표시용 복호 화상 데이타 CI1, CI2 : 제어 정보DAT5: Displayed decoded image data CI1, CI2: Control information

PW : 버퍼 메모리 기록 개시 어드레스PW: Buffer memory write start address

BR : 버퍼 메모리 판독 개시 어드레스BR: Buffer memory read start address

FW : 프레임 메모리 기록 개시 어드레스FW: Frame memory write start address

FR1,FR2 : 프레임 메모리 참조 화상 판독 개시 어드레스FR1, FR2: Frame memory reference picture read start address

FR3 : 프레임 메모리 표시 화상 판독 개시 어드레스FR3: Frame memory display image read start address

PRQ : 중지 재생 요구 신호 SRQ : 슬로우 재생 요구 신호PRQ: Stop playback request signal SRQ: Slow playback request signal

1/N : 재생 속도 DRQ : 복호 개시 명령1 / N: Playback speed DRQ: Decoding start command

본 발명의 제1 특징에 따른 화상 데이타 처리 장치에 있어서, m=(1 프레임분의 화상 데이타량)/(1 뱅크분의 화상 데이타량)이고, m 및 p가 2≤pm를 만족하는 정수라고 하였을 때, 화상 데이타 격납용 p 뱅크의 기억 영역을 갖는 메모리와, 상기 메모리에 화상 데이타를 기록시키거나, 상기 메모리에 기록된 복호 화상 데이타를 판독시키기 위해서, 상기 1 프레임분의 화상 데이타를 m 뱅크로 분할하여 각 뱅크에 논리 뱅크 번호를 할당하였을 때의 논리 뱅크 번호를 출력하는 제1 제어 회로와, p 뱅크 기억 영역의 각 뱅크에 물리 뱅크 번호를 할당하였을 때, 상기 논리 뱅크 번호를 비어 있는 공상태 물리 뱅크 번호에 할당하고, 상기 할당된 물리 뱅크 번호를 상기 메모리로부터 뱅크 단위의 판독이 완료할 때마다 공상태로 하여, 상기 제1 제어 회로에서 출력되는 논리 뱅크 번호를 상기 논리 뱅크 번호가 할당되어 있는 물리 뱅크 번호로 변환하는 뱅크 관리 회로와, 상기 변환된 물리 번호에 대응하는 어드레스로부터 개시하는 물리 뱅크의 화상 데이타를 순차 액세스하는 메모리 제어 회로를 갖는다.In the image data processing apparatus according to the first aspect of the present invention, m = (image data amount for one frame) / (image data amount for one bank), and m and p are integers satisfying 2 ≦ pm. In this case, the memory having the storage area of the p bank for image data storage, and the image data for one frame is read in m banks in order to record image data in the memory or to read decoded image data recorded in the memory. A first control circuit for outputting a logical bank number when the logical bank number is assigned to each bank by dividing by. And an empty space when the physical bank number is assigned to each bank of the p bank storage area. Assigned to a state physical bank number, and the allocated physical bank number is set to be in an empty state each time reading of a bank unit from the memory is completed, and outputted from the first control circuit. And bank management circuitry to convert the physical bank number for Li bank number which is assigned to the logical bank number, and has a memory control circuit for sequentially accessing the image data of a physical bank starting at the address corresponding to the converted physical number.

본 발명의 제1 특징에 따라, 화상 데이타를 논리 뱅크로 분할하고 이것을 메모리내에 확보한 물리 뱅크에 할당하여, 뱅크 단위로 화상 데이타를 기록, 판독함으로써, 1 프레임분보다 적은 용량으로 종래의 1 프레임분의 역할을 수행할 수 있다. 또한, 상기 구성의 뱅크 관리 회로를 이용하고 있기 때문에, 간단한 구성으로 메모리의 용량 저감이 가능하게 된다고 하는 효과를 나타내어, 화상 데이타 처리 장치의 제조 비용 저감에 기여한다.According to the first aspect of the present invention, by dividing the image data into logical banks and assigning them to physical banks secured in the memory, and recording and reading the image data in units of banks, one conventional frame with a capacity smaller than one frame is obtained. Can play the role of minutes. In addition, since the bank management circuit of the above structure is used, the effect of reducing the capacity of the memory can be achieved with a simple structure, contributing to the reduction of the manufacturing cost of the image data processing apparatus.

더욱이, 제1 제어 회로는 논리 뱅크 번호를 출력하기만을 요구하기 때문에, 그 처리 및 구성이 간단하게 된다고 하는 효과를 나타낸다.Moreover, since the first control circuit only requires outputting the logical bank number, the first control circuit has an effect that the processing and the configuration are simplified.

본 발명의 제2 특징으로 본 발명의 제1 특징에 따른 화상 데이타 처리 장치에 있어서, 상기 뱅크 관리 회로는, 할당 제어 신호가 액티브일 때에, 공급되어 있는 물리 뱅크 번호와 논리 뱅크 번호와의 대응 관계를 기억함으로써 상기 할당을 행하고, 상기 할당에 따라서 상기 논리 뱅크 번호를 상기 물리 뱅크 번호로 변환하는 논리/물리 뱅크 번호 변환부와, 상기 물리 뱅크 번호 각각에 관해서, 상기 논리 뱅크 번호 중 어느 것이 할당되어 있는 할당 상태인가 할당되어 있지 않는 공상태인가를 나타내는 할당 상태 기억부와, 상기 제1 제어 회로로부터의 물리 뱅크 할당 요구에 응답하여, 상기 할당 상태 기억부의 내용을 참조하여 상기 공상태를 검출하고, 검출된 상기 공상태를 상기 할당 상태로 변경하며, 상기 할당 상태로 변환한 물리 뱅크 번호 및 액티브로 변환한 상기 할당 제어 신호를 상기 논리/물리 뱅크 번호 변환부에 공급하는 공상태 물리 뱅크 검출/할당부를 갖는다.As a second aspect of the present invention, in the image data processing apparatus according to the first aspect of the present invention, the bank management circuit is configured to correspond to a correspondence between a physical bank number and a logical bank number supplied when an allocation control signal is active. The logical / physical bank number converting unit for performing the allocation by converting the logical bank number into the physical bank number according to the allocation, and any of the logical bank numbers for each of the physical bank numbers. In response to a physical bank allocation request from the first control circuit and an allocation state storage unit indicating whether there is an allocated state or an unassigned empty state, the empty state is detected by referring to the contents of the allocation state storage unit, The physical bank number and the act of changing the detected empty state to the allocated state and converting to the allocated state A ball supplying the control signal allocated to the logical / physical bank number conversion unit converts the state unit has physical bank detection / assignment.

본 발명의 제2 특징에 따르면, 간단한 구성인 할당 상태 기억부와 공상태 물리 뱅크 검출/할당부를 구비하고, 주 제어 회로에서 물리 뱅크 할당 요구와 논리 번호를 출력하는 것만으로 논리 뱅크가 물리 뱅크에 할당되기 때문에, 논리 뱅크의 물리 뱅크로의 할당이 용이하게 행하여질 수 있다.According to a second aspect of the present invention, a logical bank is provided to a physical bank by simply providing an allocation state storage section and a shared physical bank detection / allocation section, which are simple configurations, and outputting a physical bank allocation request and a logical number from a main control circuit. Since it is allocated, the allocation of the logical bank to the physical bank can be easily performed.

본 발명의 제3 특징으로서, 제2 특징에 따른 화상 데이타 처리 장치를 제공하는데, 상기 뱅크 관리 회로는, 상기 메모리 제어 회로가 1 뱅크분의 판독 어드레스를 액세스 완료한 것을 검출하여, 상기 할당 상태 기억부가 상기 1 뱅크의 물리 뱅크 번호에 상기한 상기 할당 상태를 상기 공상태로 변환하는 물리 뱅크 개방부를 추가로 갖는다.As a third aspect of the present invention, there is provided an image data processing apparatus according to a second aspect, wherein the bank management circuit detects that the memory control circuit has completed access to a read address for one bank, and stores the allocation state. The apparatus further includes a physical bank opening for converting the allocation state into the empty state in addition to the physical bank number of the one bank.

본 발명의 제3 특징에 따르면, 물리 뱅크의 개방이 제1 제어 회로와는 별도로 행하여지기 때문에, 제1 제어 회로에서의 처리가 간단하게 된다.According to the third aspect of the present invention, since the opening of the physical bank is performed separately from the first control circuit, the processing in the first control circuit is simplified.

본 발명의 제4 특징으로서 제2 특징에 따른 화상 데이타 처리 장치에 있어서, 상기 공상태 물리 뱅크 검출/할당부는, 물리 뱅크 검색 요구에 응답하여, 상기 할당 상태 기억부의 내용을 참조하여 상기 공상태를 검출하고, 검출된 상기 공상태를 상기 할당 상태로 변환하며, 상기 할당 상태로 변환한 물리 뱅크 번호를 상기 논리/물리 뱅크 번호 변환부에 공급하고 또한 할당 완료 통지를 출력하는 공상태 물리 뱅크 검출부와, 상기 물리 뱅크 검색 요구를 출력하며, 상기 물리 뱅크 할당 요구와 상기 할당 완료 통지를 받았을 때, 액티브로 한 상기 할당 제어 신호를 상기 논리/물리 뱅크 번호 변환부에 공급하는 물리 뱅크 할당부를 갖는다.In an image data processing apparatus according to a second aspect as a fourth aspect of the present invention, the empty state physical bank detection / allocating section references the empty state with reference to the contents of the allocation state storage section in response to a physical bank search request. An empty state physical bank detection unit for detecting, converting the detected empty state into the allocation state, supplying the physical bank number converted into the allocation state to the logical / physical bank number conversion unit, and outputting an allocation completion notice; And a physical bank allocator for outputting the physical bank search request and supplying the logical / physical bank number conversion unit with the active allocation control signal when the physical bank allocation request and the allocation completion notification are received.

본 발명의 제4 특징에 따르면, 물리 뱅크 할당 요구전의 물리 뱅크 검색 요구에 응답하여 공상태 물리 뱅크 번호를 얻을 수 있기 때문에, 물리 뱅크 할당 요구에 대하여, 고속으로 논리 뱅크를 물리 뱅크에 할당할 수 있다.According to the fourth aspect of the present invention, since a public physical bank number can be obtained in response to a physical bank search request before the physical bank allocation request, a logical bank can be assigned to a physical bank at a high speed in response to the physical bank allocation request. have.

본 발명의 제5 특징으로서 제1 특징에 따른 화상 데이타 처리 장치에 있어서, 상기 메모리는 부호화 화상 데이타용 버퍼 기억 영역을 가지며, 상기 메모리 제어 회로는 지연을 위해 부호화 화상 데이타를 상기 버퍼 기억 영역에 일시 기억시키고, 상기 버퍼 기억 영역으로부터 상기 부호화 화상 데이타를 판독시키며, 상기 화상 데이타 처리 장치는 상기 버퍼 기억 영역으로부터 판독된 상기 부호화 화상 데이타를 복호하여 상기 메모리에 공급하는 디코더를 추가로 가지며, 상기 제1 제어 회로는 1/N의 속도로 재생하는 슬로우 재생 요구에 응답하고, 상기 메모리 제어 회로에 대하여, 톱 필드 및 버텀 필드 각각을 상기 메모리의 상기 버퍼 기억 영역으로부터 N회 반복하여 판독시키고, 상기 판독에 따라서 상기 p 뱅크의 기억 영역에 대하여, 복호 화상 데이타의 상기 기록 및 표시용 판독을 행하게 한다.In the image data processing apparatus according to the first aspect of the fifth aspect of the present invention, the memory has a buffer storage region for encoded image data, and the memory control circuit temporarily stores encoded image data in the buffer storage region for delay. And the decoder further reads the encoded image data from the buffer storage region, and the image data processing apparatus further includes a decoder for decoding the encoded image data read out from the buffer storage region and supplying the encoded image data to the memory. The control circuit responds to a slow regeneration request for reproducing at a rate of 1 / N, and with respect to the memory control circuit, each of the top field and the bottom field is repeatedly read N times from the buffer storage area of the memory, Therefore, the decoded image data is stored in the storage area of the p bank. It is performed in the write and read for display.

본 발명의 제5 특징에 따르면, 뱅크 구성으로 복호 화상 데이타용 메모리 기억 용량을 1 프레임분보다 적게 하여도, 1/N의 속도로 슬로우 재생을 행하는 것이 가능하게 된다.According to the fifth aspect of the present invention, slow reproduction can be performed at a rate of 1 / N even when the memory structure for the decoded image data is less than one frame in the bank structure.

본 발명의 제6 특징으로, 제5 특징에 따른 화상 데이타 처리 장치를 제공하는데, 상기 제1 제어 회로는 중지 재생 요구에 응답하여, 속도 1/∞의 슬로우 재생 요구에 대한 제어 동작과 동일한 동작을 행한다.As a sixth aspect of the present invention, there is provided an image data processing apparatus according to a fifth aspect, wherein the first control circuit performs the same operation as the control operation for the slow reproduction request of speed 1 / ∞ in response to the pause reproduction request. Do it.

본 발명의 제7 특징으로서, 제1 특징에 따른 화상 데이타 처리 장치가 제공되는데, 상기 화상 데이타는 MPEG 방식의 화상 데이타이고, 상기 각 물리 뱅크의 기억 용량은 1 매크로 블럭 라인의 정수배이다.As a seventh aspect of the present invention, there is provided an image data processing apparatus according to the first aspect, wherein the image data is MPEG data, and the storage capacity of each physical bank is an integer multiple of one macro block line.

본 발명의 제7 특징에 따르면, 뱅크 분할에 의한 화상 데이타 처리의 복잡화를 피할 수 있다.According to the seventh aspect of the present invention, the complexity of image data processing by bank division can be avoided.

본 발명의 제8 특징으로, 제1 특징에 따른 화상 데이타 처리 장치가 제공되는데, 상기 화상 데이타는 MPEG 방식의 화상 데이타이고, 상기 각 물리 뱅크의 기억 용량은 1 매크로 블럭 라인의 절반의 홀수배이다.As an eighth aspect of the present invention, there is provided an image data processing apparatus according to the first aspect, wherein the image data is MPEG data, and the storage capacity of each physical bank is an odd multiple of one macroblock line. .

본 발명의 제8 특징에 따르면, 필드 단위로 화상 데이타를 처리하는 경우에, 뱅크 분할에 의한 화상 데이타 처리의 복잡화를 피할 수 있다.According to the eighth aspect of the present invention, in the case of processing image data on a field basis, the complexity of image data processing by bank division can be avoided.

본 발명의 제9 특징에 따른 화상 데이타 처리 방법은, m=(1 프레임분의 화상 데이타량)/(1 뱅크분의 화상 데이타량)이고, m이 정수라고 하였을 때, 화상 데이타를 m 논리 뱅크로 분할하여, 각 논리 뱅크에 논리 뱅크 번호를 할당하고, p가 2≤pm를 만족하는 정수라고 하였을 때, 화상 데이타 격납용으로서 메모리에 p 물리 뱅크의 기억 영역을 확보하여, 각 물리 뱅크에 물리 뱅크 번호를 할당하는 단계와, 논리 뱅크 번호를 비어 있는 물리 뱅크 번호에 할당하고, 상기 할당된 물리 뱅크 번호를 뱅크 단위의 판독이 완료할 때마다 공상태로 하고, 할당한 논리 뱅크 번호 각각에 대해서 상기 논리 뱅크 번호를 상기 논리 뱅크 번호가 할당되어 있는 물리 뱅크 번호로 변환하는 단계와, 상기 변환된 물리 번호에 대응하는 어드레스로부터 개시하여 1 물리 뱅크분의 화상 데이타를 순차 액세스하는 단계를 포함한다.The image data processing method according to the ninth aspect of the present invention is m = (image data amount for one frame) / (image data amount for one bank), and m is a logical bank when image data is m When a logical bank number is assigned to each logical bank, and p is an integer satisfying 2 < pm, the storage area of the p physical bank is secured in the memory for storing image data, and the physical bank is physically assigned to each physical bank. Assigning a bank number, assigning a logical bank number to an empty physical bank number, leaving the allocated physical bank number empty each time the reading of a bank unit is completed, and assigning a logical bank number to each of the allocated logical bank numbers. Converting the logical bank number into a physical bank number to which the logical bank number is assigned, and converting the logical bank number into one physical bank starting from an address corresponding to the converted physical number. And a step of sequential access data.

본 발명의 제10 특징으로서, 제9 특징에 따른 화상 데이타 처리 방법은, 부호화 화상 데이타를 지연시키기 위해, 부호화 화상 데이타를 상기 메모리의 버퍼 기억 영역에 일시 기억시키는 단계와, 속도 1/N의 슬로우 재생 요구에 응답하여, 톱 필드 및 버텀 필드 각각에 관해서 상기 버퍼 기억 영역으로부터 N회 반복하여 판독시키는 단계와, 상기 버퍼 기억 영역으로부터 판독된 부호화 화상 데이타를 복호시키는 단계와, 상기 부호화 화상 데이타를 상기 물리 뱅크에 공급하는 단계를 추가로 포함한다.As a tenth aspect of the present invention, the image data processing method according to the ninth aspect includes the steps of temporarily storing encoded image data in a buffer storage area of the memory to delay encoded image data, and slowing down at a speed of 1 / N. In response to a reproduction request, repeatedly reading the top field and the bottom field N times from the buffer storage area, decoding the coded image data read from the buffer storage area, and decoding the coded image data. And supplying the physical banks.

본 발명의 제11 특징에 따른 화상 데이타 처리 장치는, 메모리와, 상기 메모리에 상기 복호화 화상 데이타를 일시 기억하고, 상기 메모리 내의 상기 복호화 화상 데이타를 참조하여 예측 화상을 생성하며, 상기 메모리로부터 부호화 이전의 원화상 순서로 상기 복호화 화상 데이타를 판독하는 메모리 제어/예측 화상 생성 회로와, 블럭 단위로 화상이 축소하도록, 상기 복호화 화상 데이타를 변환하는 축소 변환 회로와, 상기 메모리에 복호화 화상 데이타를 기록하기 전에 상기 축소 변환 회로를 통과시킬 것인지의 여부를 선택하고, 상기 메모리로부터 복호화 화상 데이타를 판독한 후에 상기 축소 변환 회로를 통과시킬 것인지의 여부를 선택할 수 있게 하는 전환 회로를 포함하고, 상기 메모리 제어/예측 화상 생성 회로는 복호화 화상 데이타가 상기 메모리에 기록되는지 상기 메모리로부터 판독되는지와, 표시 모드가 축소 모드인지의 여부와, 상기 복호화 화상 데이타가 비 참조 화상인지의 여부에 따라서, 상기 전환 회로를 제어하는 제어 회로를 갖는다.An image data processing apparatus according to an eleventh aspect of the present invention includes a memory, and temporarily storing the decoded image data in the memory, generating a predictive image with reference to the decoded image data in the memory, and before encoding from the memory. A memory control / prediction image generating circuit that reads the decoded image data in the order of the original image of the image, a reduced conversion circuit that converts the decoded image data so that the image is reduced in units of blocks, and recording decoded image data in the memory. And a switching circuit for selecting whether or not to pass the reduced conversion circuit before, and for selecting whether to pass the reduced conversion circuit after reading decoded image data from the memory, wherein the memory control / The predictive image generation circuit is configured to decode the decoded image data. Rie that the recording and that the read from the memory, depending on whether or not the display mode is reduced mode or whether the reference picture in the decoded picture data is non, and a control circuit for controlling the switching circuit.

본 발명의 제11 특징에 따르면, 축소 표시 모드일 때에 메모리로부터 표시 화상 데이타를 판독하는 경우, 데이타 판독량이 종래보다 적어지기 때문에, 화상 데이타 처리 속도를 종래보다도 느리게 할 수가 있어서, 화상 데이타 처리 장치의 제조 비용 저감에 기여한다.According to the eleventh aspect of the present invention, when reading display image data from the memory in the reduced display mode, since the data reading amount is smaller than before, the image data processing speed can be made slower than before. Contribute to manufacturing cost reduction

본 발명의 제12 특징으로서 제11 특징에 따른 화상 데이타 처리 장치에 있어서, 상기 제어/예측 생성 회로는, 상기 메모리에 복호화 화상 데이타를 기록하는 동안에는, 표시 모드가 축소 모드이고 상기 화상 데이타가 비 참조 화상인 제1 경우에는 상기 화상 데이타가 상기 축소 변환 회로를 통과하여 상기 메모리에 기록되도록 상기 전환 회로를 제어하고, 상기 제1 경우가 아닌 경우에는 상기 화상 데이타가 상기 축소 변환 회로를 통과하지 않고서 상기 메모리에 기록되도록 상기 전환 회로를 제어하며, 상기 메모리로부터 복호화 화상 데이타를 판독하는 동안에는, 상기 제1 경우 또는 상기 표시 모드가 축소 모드가 아닌 제2 경우에는 상기 메모리로부터 판독된 상기 화상 데이타가 상기 축소 변환 회로를 통과하지 않도록 상기 전환 회로를 제어하고, 상기 제1 경우도 아니고 상기 제2 경우도 아닌 경우에는 상기 메모리로부터 판독된 상기 화상 데이타가 상기 축소 변환 회로를 통과하도록 상기 전환 회로를 제어한다.In an image data processing apparatus according to an eleventh aspect as a twelfth aspect of the present invention, in the control / prediction generation circuit, while the decoded image data is recorded in the memory, the display mode is a reduced mode and the image data is dereferenced. In the first case of the image, the switching circuit is controlled so that the image data passes through the reduction conversion circuit and is written to the memory. Otherwise, the image data does not pass through the reduction conversion circuit. The switching circuit is controlled to be written to a memory, and while reading decoded image data from the memory, the image data read from the memory is reduced in the first case or in the second case when the display mode is not in the reduced mode. Control the switching circuit so as not to pass through the conversion circuit, and In the case nor the second case, not even if one is to control the switching circuit the image data read from the memory to pass through the reduced conversion circuit.

본 발명의 제13 특징에 따른 화상 데이타 처리 장치는, 메모리와, 블럭 단위로 화상이 축소하도록, 화상 데이타를 변환하는 축소 변환 회로와, 상기 메모리에 화상 데이타를 기록하기 전에 상기 축소 변환 회로를 통과시킬 것인지의 여부와, 상기 메모리로부터 화상 데이타를 판독한 후에 상기 축소 변환 회로를 통과시킬 것인지의 여부를 선택할 수 있도록 하는 전환 회로와, 상기 화상 데이타가 상기 메모리에 기록되는지 상기 메모리로부터 판독되는지와, 표시 모드가 축소 모드인지와, 상기 화상 데이타가 비 참조 화상인지의 여부에 따라서 상기 전환 회로를 제어하는 제어 회로를 포함한다.An image data processing apparatus according to a thirteenth aspect of the present invention includes a memory, a reduction conversion circuit for converting image data so that images are reduced in units of blocks, and the reduction conversion circuit before recording image data in the memory. A switching circuit for selecting whether or not to pass through the reduction conversion circuit after reading image data from the memory, whether the image data is written to or read from the memory; And a control circuit for controlling the switching circuit in accordance with whether the display mode is a reduced mode and whether the image data is a non-reference image.

본 발명의 제14 특징으로서, 복호 화상 일시 기억용 메모리와, 복호 화상 사이즈를 축소하기 위한 축소 변환 회로를 갖는 부호화 화상 데이타를 복호하는 화상 데이타 처리 방법에 있어서, 상기 메모리에 복호 화상 데이타를 기록하는 동안에는, 표시 모드가 축소 모드이고 상기 복호 화상 데이타가 비 참조 화상인 제1 경우에는 상기 복호 화상 데이타를 축소 변환 회로에 통과시켜 상기 메모리에 기록시키고, 상기 제1 경우가 아닌 경우에는 상기 복호 화상 데이타를 상기 축소 변환 회로에 통과시키지 않고서 상기 메모리에 기록시키며, 표시를 위해 상기 메모리로부터 복호화 화상 데이타를 판독하는 동안에는, 상기 제1 경우 또는 상기 표시 모드가 축소 모드가 아닌 제2 경우에는 상기 복호 화상 데이타를 상기 메모리로부터 판독시켜 상기 축소 변환 회로를 통과시키지 않도록 하고, 상기 제1 경우도 아니고 상기 제2 경우도 아닌 경우에는 상기 메모리로부터 판독한 상기 화상 데이타를 상기 축소 변환 회로에 통과시키는 단계를 포함한다.A 14th aspect of the present invention is an image data processing method for decoding coded image data having a decoded image temporary storage memory and a reduced conversion circuit for reducing a decoded image size, wherein decoded image data is recorded in the memory. In the first case where the display mode is the reduced mode and the decoded image data is a non-reference image, the decoded image data is passed through a reduction conversion circuit to be written to the memory. Otherwise, the decoded image data is not. Is written into the memory without passing through the reduced conversion circuit, and while the decoded image data is read from the memory for display, the decoded image data in the first case or in the second case when the display mode is not the reduced mode. Read from the memory to reduce A, and so as not to pass through neither the first case nor the second case case, it comprises a step of passing the image data read from the memory to the reduction converter.

본 발명의 제15 특징으로서, 동화상 디코더는, 프레임 메모리와, 복호화 화상 데이타를 얻기 위해 부호화 화상 데이타를 복호하여 상기 프레임 메모리에 기록하고, 복호용 예측 화상 생성을 위해 상기 프레임 메모리로부터 참조 화상 데이타를 판독하며, 상기 프레임 메모리로부터의 상기 복호화 화상 데이타를 표시 화상 데이타로서 판독시키는 디코더와, 감기 모드가 2배속 모드인 경우에, 상기 디코더가 통상 속도의 2배의 평균 속도로 상기 부호화 화상 데이타를 복호하여 상기 프레임 메모리에 기록하고 또한, 상기 프레임 메모리로부터의 참조 화상을 판독하고, 상기 디코더가 통상의 속도로 상기 프레임 메모리로부터 1화상씩 걸러서 상기 복호화 화상 데이타를 상기 표시 화상 데이타로서 판독하도록, 상기 디코더에 제어 데이타를 공급하는 제어 회로를 갖는다.In a fifteenth aspect of the present invention, a moving picture decoder decodes a frame memory and coded picture data to obtain decoded picture data, and writes the coded picture data to the frame memory, and generates reference picture data from the frame memory for decoding predictive image generation. A decoder which reads and decodes the decoded image data from the frame memory as display image data, and when the winding mode is a double speed mode, the decoder decodes the encoded image data at an average speed twice the normal speed. The decoder to write to the frame memory, to read a reference picture from the frame memory, and to read the decoded picture data as the display picture data by the decoder every other picture from the frame memory at a normal speed. Control circuit to supply control data to Has a furnace.

본 발명의 제15 특징에 따른 상기 동화상 디코더에 의하면, B 화상이 존재하지 않더라도 2배속 감기 모드에서의 화상 재생이 가능하게 된다.According to the moving picture decoder according to the fifteenth aspect of the present invention, it is possible to reproduce an image in the double-speed winding mode even when no B picture exists.

본 발명의 제16 특징으로서, 제15 특징에 따른 동화상 디코더는, 상기 제어 회로에는 펄스 주기가 필드 주기와 같은 복호 수직 동기 신호, 화상 부호화 타입 및 상기 감기 모드가 공급되고, 상기 제어 회로는 상기 감기 모드가 등배속 모드일 때에는 상기 복호 수직 동기 신호의 버텀 필드에 대응하는 펄스에 따라서 복호 개시 신호의 펄스를 생성하고, 상기 감기 모드가 2배속 모드일 때에는 상기 복호 수직 동기 신호의 각 펄스에 따라서 상기 복호 개시 신호의 펄스를 생성하고, 상기 화상 부호화 타입이 I 화상을 나타내고 있을 때를 제외하고는 상기 복호 개시 신호의 펄스에 대응하는 참조 화상 판독 개시 신호의 펄스를 생성하고, 상기 복호 수직 동기 신호를 1/2 분주하고 지연시킨 신호에 대응하는 표시 화상 판독 개시 신호를 생성하며, 상기 디코더는 상기 복호 개시 신호에 동기하여 상기 복호를 개시하고, 상기 참조 화상 판독 개시 신호에 동기하여 상기 참조 화상 데이타의 판독을 개시하며, 상기 표시 화상 판독 개시 신호에 동기하여 상기 표시 화상 데이타의 판독을 개시한다.As a sixteenth aspect of the present invention, in the moving picture decoder according to the fifteenth aspect, the control circuit is supplied with a decoded vertical synchronizing signal having a pulse period equal to a field period, an image coding type and the winding mode, and the control circuit is configured to wind the winding. When the mode is a constant speed mode, a pulse of a decoding start signal is generated according to a pulse corresponding to the bottom field of the decoded vertical sync signal. When the winding mode is a double speed mode, the pulse is generated according to each pulse of the decoded vertical sync signal. Generate a pulse of a decoding start signal, generate a pulse of a reference picture reading start signal corresponding to the pulse of the decoding start signal except when the picture coding type indicates an I picture, and generate the decoding vertical synchronization signal Generating a display image reading start signal corresponding to the 1/2 divided and delayed signal; The decoding is started in synchronization with the decoding start signal, the reading of the reference image data is started in synchronization with the reference image reading start signal, and the reading of the display image data is started in synchronization with the display image reading start signal. .

본 발명의 제16 특징에 따른 상기 동화상 디코더에 의하면, 제어 회로의 동작 속도를 2배속시킬 필요가 없다.According to the moving picture decoder according to the sixteenth aspect of the present invention, it is not necessary to double the operation speed of the control circuit.

본 발명의 제17 특징으로서, 제16 특징에 따른 동화상 디코더에 있어서, 상기 제어 회로는, 제1 내지 제3 레지스터와, 상기 복호 개시 신호의 펄스 타이밍으로 상기 제1 레지스터에 복호 화상 기록 개시 어드레스를 유지시키고, 상기 참조 화상 판독 개시 신호의 펄스 타이밍으로 상기 제2 레지스터에 상기 제1 레지스터의 출력을 유지시키며, 상기 표시 화상 판독 개시 신호의 펄스 타이밍으로 상기 제3 레지스터에 상기 제2 레지스터의 출력을 유지시키는 레지스터 제어 회로를 포함하고, 상기 디코더는 상기 제1 레지스터의 출력을 상기 복호 화상 기록 개시 어드레스로서 수신하고, 상기 제2 레지스터의 출력을 참조 화상 판독 개시 어드레스로서 수신하고, 상기 제3 레지스터의 출력을 표시 화상 판독 개시 어드레스로서 수신한다.As a seventeenth aspect of the present invention, in the moving picture decoder according to the sixteenth aspect, the control circuit comprises a first to third register and a decoded image recording start address to the first register at a pulse timing of the decoding start signal. Hold the output of the first register in the second register at the pulse timing of the reference picture read start signal, and output the output of the second register to the third register at the pulse timing of the display image read start signal. And a register control circuit for holding, wherein the decoder receives the output of the first register as the decoded image write start address, receives the output of the second register as a reference image read start address, The output is received as the display image read start address.

제17 특징에 따른 동화상 디코더에 의하면, 프레임 메모리에 액세스하는 동안의 어드레스 관리가 간단하게 된다.According to the moving picture decoder according to the seventeenth aspect, address management during access to the frame memory is simplified.

본 발명의 제18 특징으로, 제17 특징에 따른 동화상 디코더에 있어서, 상기 레지스터 제어 회로는 3 영역의 개시 어드레스를 순차 주기로 상기 제1 레지스터에 유지시킨다.In an eighteenth aspect of the invention, in the moving picture decoder according to the seventeenth aspect, the register control circuit holds the start addresses of three regions in the first register in sequential cycles.

본 발명의 제18 특징에 따라, 프레임 메모리의 기억 영역 할당이 간단하게 된다.According to the eighteenth aspect of the present invention, the storage area allocation of the frame memory is simplified.

본 발명의 제19 특징으로서, 제17 특징에 따른 동화상 디코더에 있어서, 상기 제1 레지스터의 데이타 출력단은 상기 제2 레지스터의 데이타 입력단에 접속되고, 상기 제2 레지스터의 데이타 출력단은 상기 제3 레지스터의 데이타 입력단에 접속되어 있다.As a nineteenth aspect of the present invention, in the video decoder according to the seventeenth aspect, the data output end of the first register is connected to the data input end of the second register, and the data output end of the second register is connected to the third register. It is connected to the data input terminal.

본 발명의 제19 특징에 따른 동화상 디코더에 의하면, 레지스터 제어가 간단하게 된다.According to the moving picture decoder according to the nineteenth aspect of the present invention, register control is simplified.

본 발명의 제20 특징으로서, 제15 특징에 따른 동화상 디코더에 있어서, 상기 감기 모드가 2배속 모드인 경우, 상기 제어 회로는 상기 디코더의 동작을 2배속시키고, 프레임 메모리로부터의 상기 표시 화상 데이타의 판독을 1화상마다 스킵시킨다.As a twentieth aspect of the present invention, in the moving picture decoder according to the fifteenth aspect, when the winding mode is a double speed mode, the control circuit doubles the operation of the decoder, so that the display image data from the frame memory is doubled. The reading is skipped every picture.

본 발명의 제21 특징으로서, 제20 특징에 따른 동화상 디코더에 있어서, 상기 제어 회로는 그 자체의 제어 동작을 2배속시킴으로써, 상기 디코더의 동작을 2배속시킨다.As a twenty-first aspect of the present invention, in the video decoder according to the twentieth aspect, the control circuit doubles the operation of the decoder by doubling its own control operation.

본 발명의 제22 특징에 따른 시스템 디코더는, 클록 펄스를 발생하는 회로와, 상기 클록 펄스를 계수하여, 그 계수치를 시스템 타임 클록으로서 출력하는 카운터와, 상기 클록 펄스에 따라서 프레임 주기의 동기 펄스를 생성하는 동기 펄스 생성 회로와, 공급되는 프레젠테이션 타임 스탬프가 일시 기억되는 기억 수단과, 상기 시스템 타임 클록이 상기 기억 수단으로부터 판독된 프레젠테이션 타임 스탬프에 일치하는 것을 검출하는 비교 회로와, 상기 동기 펄스에 응답하여, 화상 재생 순서에 대응하는 상기 프레젠테이션 타임 스탬프를 상기 기억 수단으로부터 판독시켜, 상기 프레젠테이션 타임 스탬프를 상기 카운터에 로드시키는 제어 회로를 포함하고, 상기 동기 펄스 또는 상기 일치를 검출할 때 생성되는 펄스는 표시 화상 데이타 판독 개시 펄스로서 이용된다.A system decoder according to a twenty-second aspect of the present invention includes a circuit for generating a clock pulse, a counter for counting the clock pulse and outputting the count value as a system time clock, and a synchronous pulse in a frame period in accordance with the clock pulse. A synchronizing pulse generating circuit to generate, storage means for temporarily storing the supplied presentation time stamp, a comparing circuit for detecting that the system time clock matches the presentation time stamp read from the storage means, and responding to the sync pulse. And a control circuit for reading out the presentation time stamp corresponding to the picture reproduction order from the storage means and loading the presentation time stamp into the counter, wherein the pulse generated when detecting the sync pulse or the match is Display image data read start pulse Is used.

본 발명의 제22 특징에 따른 시스템 디코더에 의하면, 프레임 메모리의 기억 용량을 종래보다도 감소시켜, 프레임 메모리로부터의 표시 화상 데이타의 판독 개시 시각을 종래의 프레젠테이션 타임 스탬프로부터 어긋나게 하여도, 그 어긋남에 따라서 적당한 시스템 타임 클록이 생성되기 때문에, 결과적으로, 프레임 메모리의 기억 용량을 감소시키는 것이 가능하게 되어, 동화상 디코더의 제조 비용 절감에 기여하는 바가 크다.According to the system decoder according to the twenty-second aspect of the present invention, even if the storage capacity of the frame memory is reduced than before, the start time of reading the display image data from the frame memory is shifted from the conventional presentation time stamp. Since an appropriate system time clock is generated, as a result, it becomes possible to reduce the storage capacity of the frame memory, which greatly contributes to reducing the manufacturing cost of the moving picture decoder.

본 발명의 제23 특징으로서, 제22 특징에 따른 시스템 디코더에 있어서, 상기 제어 회로는 상기 일치가 검출되고 나서 상기 동기 펄스가 생성되기까지의 시간 △ 및 시간{(프레임 주기 T)-△}가 설정치보다 클 때, 상기 프레젠테이션 타임 스탬프를 상기 카운터에 로드시킨다.In a twenty-third aspect of the invention, in the system decoder according to the twenty-second aspect, the control circuit has a time Δ and a time {(frame period T) -Δ} until the synchronization pulse is generated after the match is detected. When greater than the set value, the presentation time stamp is loaded into the counter.

본 발명의 제23 특징에 따른 시스템 디코더에 의하면, 어긋남 시간 △ 또는 (T-△)가 어떠한 원인으로 인해 무시할 수 없을 정도까지 커지더라도, 어긋남 시간이 자동적으로 조정된다.According to the system decoder according to the twenty third aspect of the present invention, the shift time is automatically adjusted even if the shift time Δ or (T-Δ) becomes large enough to be ignored for some reason.

본 발명의 제24 특징으로서, 제22 특징에 따른 시스템 디코더에 있어서, 시스템 클록 레퍼런스와 상기 기억 수단으로부터 판독된 프레젠테이션 타임 스탬프 중 한쪽을 선택하여 상기 카운터에 공급하는 셀렉터를 추가로 포함하고, 상기 제어 회로는 상기 셀렉터에 대하여 상기 시스템 클록 레퍼런스를 선택시킨 다음 상기 프레젠테이션 타임 스탬프를 선택시키고, 상기 동기 펄스에 응답하여 상기 셀렉터의 출력을 상기 카운터에 로드시킨다.As a twenty-fourth aspect of the present invention, in a system decoder according to the twenty-second aspect, the system decoder further includes a selector for selecting one of a system clock reference and a presentation time stamp read from the storage means and supplying the counter to the counter; The circuit selects the system clock reference for the selector, then selects the presentation time stamp, and loads the output of the selector into the counter in response to the sync pulse.

본 발명의 제25 특징으로서, 제24 특징에 따른 시스템 디코더에 있어서, 상기 제어 회로는 상기 셀렉터에 대하여 최초로 공급되는 상기 시스템 클록 레퍼런스를 선택시킨 다음 상기 프레젠테이션 타임 스탬프를 선택시킨다.In a twenty-fifth aspect of the invention, in a system decoder according to twenty-fourth aspect, the control circuit selects the system clock reference initially supplied to the selector and then selects the presentation time stamp.

본 발명의 제25 특징에 따른 시스템 디코더에 의하면, 상기 어긋남 시간의 조정이 복호 개시후 즉시 행하여진다.According to the system decoder according to the twenty fifth aspect of the present invention, the misalignment time is adjusted immediately after the start of decoding.

본 발명의 제26 특징으로서, 제22 특징에 따른 시스템 디코더에 있어서, 상기 클록 펄스를 발생하는 회로는 상기 클록 펄스를 계수하는 카운터의 값이 상기 시스템 클록 레퍼런스의 값에 일치하도록 상기 클록 펄스의 주파수를 피드백 제어하는 PLL 회로이다.In a twenty sixth aspect of the present invention, in the system decoder according to the twenty-second aspect, the circuit for generating the clock pulse includes the frequency of the clock pulse so that the value of the counter that counts the clock pulse coincides with the value of the system clock reference. This is a PLL circuit for feedback control.

본 발명의 제27 특징에 따른 시스템 디코더에 있어서, 상기 클록 펄스를 발생하는 회로는 자주식(free running) 클록 발생 회로이다.In a system decoder according to a twenty-seventh aspect of the present invention, the circuit for generating the clock pulse is a free running clock generation circuit.

본 발명의 제27 특징에 따른 시스템 디코더에 의하면, 시스템 디코더의 구성이 제26 특징에 따른 시스템 디코더의 경우보다도 간단하고, 제26 특징에 따른 피드백 제어의 경우보다도 클록 펄스의 주기를 정확하게 할 수 있다.According to the system decoder according to the twenty-seventh aspect of the present invention, the configuration of the system decoder is simpler than that of the system decoder according to the twenty-sixth aspect, and the period of the clock pulse can be made more accurate than in the case of the feedback control according to the twenty-sixth aspect. .

이하, 도면을 참조하여 본 발명의 바람직한 실시예를 설명하며, 도면에 있어서 동일한 참조 부호는 동일한 부분 또는 대응하는 부분을 나타낸다.DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described with reference to the drawings, wherein like reference numerals designate like parts or corresponding parts.

[제1 실시 형태][First Embodiment]

도 1은 도 15에 대응한 본 발명의 제1 실시 형태인 동화상 디코더의 개략 구성을 나타낸다.1 shows a schematic configuration of a moving picture decoder according to the first embodiment of the present invention corresponding to FIG. 15.

이 장치는 프레임 메모리(14A)에 화상 데이타를 기록하기 전에 또는 후에 레터 박스 변환 회로(20)에 데이타를 전송할 것인지의 여부를 선택할 수 있도록, 도 19의 전환 회로(19) 대신, 전환 회로(21∼24)를 구비하고 있다.The apparatus 21 switches instead of the switching circuit 19 of FIG. 19 so as to select whether or not to transfer the data to the letter box conversion circuit 20 before or after writing the image data to the frame memory 14A. To 24).

동화상 기록을 프레임 메모리(14A)에 기록하는데 있어서, 표시 모드가 축소 모드이고 복호 화상 데이타 DAT2가 비 참조 화상인 B 화상인 경우에는, 메모리 제어/예측 이미지 발생 회로(15A)는 전환 회로(21)가 가산 회로(13)의 출력측으로 전환되고, 전환 회로(22)가 전환 회로(23)측으로 전환되며, 전환 회로(23)가 전환 회로(22)측으로 전환되게 한다. 이것에 의해, DAT2가 레터 박스 변환 회로(20)로 축소되어, DAT2A로서 프레임 메모리(14A)에 일시 기억된다. 레터 박스 변환 회로(20)에서는, 16×16화소가 16×12화소로 축소된다.In recording the moving picture recording in the frame memory 14A, when the display mode is the reduced mode and the decoded image data DAT2 is a B picture which is a non-reference picture, the memory control / prediction image generation circuit 15A switches the switching circuit 21. The switching circuit 22 is switched to the output side of the addition circuit 13, the switching circuit 22 is switched to the switching circuit 23 side, and the switching circuit 23 is switched to the switching circuit 22 side. As a result, the DAT2 is reduced to the letter box conversion circuit 20 and temporarily stored in the frame memory 14A as the DAT2A. In the letter box conversion circuit 20, 16x16 pixels are reduced to 16x12 pixels.

동화상을 프레임 메모리(14A)에 기록함에 있어서, 상기 이외의 경우에는 전환 회로(23)가 가산 회로(13)의 출력측으로 전환된다. 이것에 의해, DAT2가 DAT2A로서 프레임 메모리(14A)에 일시 기억된다.In recording the moving image to the frame memory 14A, the switching circuit 23 is switched to the output side of the addition circuit 13 in other cases. As a result, the DAT2 is temporarily stored in the frame memory 14A as the DAT2A.

프레임 메모리(14A)로부터의 화상 판독에 있어서, 표시 모드가 축소 모드 또한 표시 화상 데이타 DAT5가 B 화상인 경우, 또는, 표시 모드가 축소 모드가 아닌 경우에는, 전환 회로(24)가 프레임 메모리(14A)의 출력측으로 전환된다. 이것에 의해, 표시 화상 데이타 DAT5가 표시 화상 데이타 DAT6로서 전환 회로(24)로부터 취출된다. 따라서, 프레임 메모리(14A)로부터 B 화상의 표시 화상 데이타 DAT5를 판독할 경우, 데이타 판독량이 종래의 3/4으로 적어져, 종래와 같은 고속 처리를 할 필요가 없다.In the image reading from the frame memory 14A, when the display mode is the reduced mode and the display image data DAT5 is the B image, or when the display mode is not the reduced mode, the switching circuit 24 performs the frame memory 14A. ) Is switched to the output side. As a result, the display image data DAT5 is taken out from the switching circuit 24 as the display image data DAT6. Therefore, when reading the display image data DAT5 of the B picture from the frame memory 14A, the data reading amount is reduced to three quarters of the conventional, and there is no need to perform the same high-speed processing as before.

프레임 메모리(14A)로부터의 화상 판독에 있어서, 상기 이외의 경우, 즉 표시 모드가 축소 모드이고 표시 화상 데이타 DAT5가 B 화상이 아닌 경우에는 메모리 제어/예측 화상 발생 장치(15A)는 전환 회로(21)가 프레임 메모리(14A)의 출력측으로 전환되고, 전환 회로(22)가 전환 회로(24)측으로 전환되며, 전환 회로(24)가 전환 회로(22)측으로 전환되게 한다. 이것에 의해, 표시 화상 데이타 DAT5가 레터 박스 변환 회로(20)로 축소되어, 표시 화상 데이타 DAT6로서 전환 회로(24)로부터 취출된다. 이 경우에는 종래와 동일하게 되지만, 판독된 표시 화상 데이타를 도면에 도시하지 않은 버퍼 메모리에 격납해 둠으로써, 축소 표시 화상 전체의 처리 속도를 종래보다도 저감시킬 수 있다.In the image reading from the frame memory 14A, in the case other than the above, i.e., when the display mode is the reduced mode and the display image data DAT5 is not the B image, the memory control / prediction image generating device 15A is switched circuit 21. ) Is switched to the output side of the frame memory 14A, the switching circuit 22 is switched to the switching circuit 24 side, and the switching circuit 24 is switched to the switching circuit 22 side. As a result, the display image data DAT5 is reduced to the letter box conversion circuit 20 and taken out from the switching circuit 24 as the display image data DAT6. In this case, although it is the same as before, by storing the read display image data in a buffer memory not shown in the drawing, the processing speed of the entire reduced display image can be reduced than before.

도 1의 동화상 디코더는 도 15의 동화상 디코더와는 다르다.The moving picture decoder of FIG. 1 is different from the moving picture decoder of FIG.

[제2 실시 형태]Second Embodiment

다음에, 표시 모드가 축소 모드인지 어떤지에 상관없이 프레임 메모리(14A)의 기억 용량 저감을 가능하게 하는 제2 실시 형태인 동화상 디코더를 설명한다. 이하의 설명에 있어서, 레터 박스 변환에 대해서는 도 1 또는 도 15의 어느쪽 구성이더라도 좋다.Next, the moving picture decoder according to the second embodiment that enables the storage capacity of the frame memory 14A to be reduced regardless of whether the display mode is the reduced mode or not. In the following description, the letter box conversion may be either of FIG. 1 or FIG. 15.

먼저, 기억 용량 저감을 가능하게 하는 뱅크 및 그 사용 방법의 개략을 설명한다.First, an outline of a bank that enables a storage capacity reduction and a method of using the same will be described.

최대 화소수의 표시 모드에 있어서, 프레임 메모리(14A)의 기억 용량은 2.X 프레임으로 나타난다. 0.X 프레임은 B 화상용으로서, 2 뱅크(기록용인 1 뱅크와 판독용인 1뱅크)이상이며, 여기서, 1 뱅크는 예컨대, 표시 스크린상의 화상의 16 라인분인 1 매크로 블럭 라인의 정수배이다. 이것은 도 1에 도시된 가변 길이 디코더(10), 역 양자화 회로(11) 및 역 DCT 회로(12)에 있어서, 16×16화소의 1 매크로 블럭 단위로 처리가 행하여지기 때문이다.In the display mode of the maximum number of pixels, the storage capacity of the frame memory 14A is represented by 2.X frames. A 0.X frame is for a B picture, which is at least two banks (one bank for writing and one bank for reading), where one bank is an integer multiple of one macroblock line, for example, 16 lines of an image on a display screen. This is because in the variable length decoder 10, the inverse quantization circuit 11 and the inverse DCT circuit 12 shown in Fig. 1, processing is performed in units of one macroblock of 16x16 pixels.

도 5의 (a)에 나타낸 바와 같이, B 화상을 뱅크로 분할한 것을 논리 뱅크라 칭하고, 프레임 메모리(14A)내의 0.X 프레임분의 기억 영역을 뱅크로 분할한 것을 물리 뱅크라 칭한다. 도 5의 (a)에서는 B 화상의 용량이 4 뱅크이고, 0.X 프레임이 2 뱅크인 경우를 나타내고 있다.As shown in Fig. 5A, the division of a B image into banks is called a logical bank, and the division of a storage area for 0.X frames in the frame memory 14A into banks is called a physical bank. FIG. 5A shows a case where the capacity of the B picture is 4 banks and the 0.X frame is 2 banks.

DAT2A가 B 화상인 경우, 그 논리 뱅크 1∼4는 프레임 메모리(14A)의 물리 뱅크 A 및 B로, 도 5의 (a)∼(G)에 나타내는 바와 같이 격납된다. 도 5의 (a)가 논리 뱅크의 물리 뱅크에 대한 할당을 나타내고 있는데 반하여, 도 5의 (b)∼(G)는 논리 뱅크에 대한 물리 뱅크의 할당 및 논리 뱅크의 표시를 시간순으로 나타낸 것이다.When the DAT2A is a B picture, the logical banks 1 to 4 are stored in the physical banks A and B of the frame memory 14A, as shown in Figs. 5A to 5G. While Fig. 5A shows the allocation of the logical banks to the physical banks, Figs. 5B to 5G show the allocation of the physical banks to the logical banks and the display of the logical banks in chronological order.

최초, 물리 뱅크 A와 물리 뱅크 B는 공상태로 되어 있고, 물리 뱅크 A에 논리 뱅크 1의 내용이 기록된다(도 5의 (b)). 이어서, 물리 뱅크 B에 논리 뱅크 2의 내용이 기록되고, 동시에 물리 뱅크 A의 내용이 DAT5로서 판독된다(도 5의 (c)). 이 기록과 판독은 상호 비 동기이다. 물리 뱅크 A로부터의 판독이 완료하면, 다음에 물리 뱅크 B로부터의 판독이 개시된다(도 5의 (d)). 물리 뱅크 A가 비어 있기 때문에, 다음에 논리 뱅크 3의 내용이 물리 뱅크 A에 기록된다(도 5(E)). 물리 뱅크 B로부터의 판독이 완료하면, 물리 뱅크 A로부터의 판독이 계속해서 행하여진다(도 5(F)). 다음에, 논리 뱅크 4의 내용이 물리 뱅크 B에 기록되고, 또한, 물리 뱅크 A로부터의 판독이 완료하면, 물리 뱅크 B로부터의 판독이 개시된다(도 5의 (g)).Initially, the physical bank A and the physical bank B are in an empty state, and the contents of the logical bank 1 are recorded in the physical bank A (Fig. 5 (b)). Subsequently, the contents of logical bank 2 are recorded in physical bank B, and the contents of physical bank A are simultaneously read as DAT5 (Fig. 5 (c)). This writing and reading is mutually asynchronous. When the reading from the physical bank A is completed, the reading from the physical bank B is next started (Fig. 5 (d)). Since physical bank A is empty, the contents of logical bank 3 are then written to physical bank A (FIG. 5E). When the read from the physical bank B is completed, the read from the physical bank A is continued (Fig. 5 (F)). Next, the contents of logical bank 4 are written to physical bank B, and when reading from physical bank A is completed, reading from physical bank B is started (Fig. 5 (g)).

물리 뱅크 A 및 B는 도 4에 나타낸 바와 같이, 프레임 메모리(14A)내에서 재배치되어 있다. 도 4는 도 16에 대응하고 있으며, 프레임 메모리(14A)에 순차 공급되는 화상 데이타 DAT2A의 화상 타입과 프레임 메모리(14)내의 화상 기억 상태 ST1∼ST9를 나타내고 있다. 도 4에 있어서, I, P, 및 B는 화상 타입을 나타내고 있고, 이들 화상 타입에 첨부된 번호는 부호화 화상 데이타 DAT0(DAT2A)의 시간적 순서를 나타내고 있다. 또한, 도 4의 ( )내의 참조 부호는 프레임 메모리(14A)로부터 표시 화상으로서 판독되는 화상을 나타내고 있다.Physical banks A and B are rearranged in the frame memory 14A, as shown in FIG. FIG. 4 corresponds to FIG. 16 and shows the image type of the image data DAT2A sequentially supplied to the frame memory 14A and the image storage states ST1 to ST9 in the frame memory 14. In Fig. 4, I, P, and B indicate picture types, and the numbers attached to these picture types indicate the temporal order of coded picture data DAT0 (DAT2A). 4 denotes an image read out from the frame memory 14A as a display image.

다음에, 프레임 메모리(14A)에의 DAT2A의 기록 및 프레임 메모리(14A)로부터의 표시 화상 데이타 DAT5의 판독을 개략적으로 설명한다.Next, the writing of the DAT2A to the frame memory 14A and the reading of the display image data DAT5 from the frame memory 14A will be described schematically.

(ST1) 화상 I1이 프레임 메모리(14A)에 기록된다. 다음의 기록 어드레스 ADR는 ADR=(화상 I1의 격납 최종 어드레스)+1이다.(ST1) The image I1 is recorded in the frame memory 14A. The next write address ADR is ADR = (last storage address of image I1) +1.

(ST2) 어드레스 ADR로부터 물리 뱅크가 확보된다. 화상 I1을 참조 화상으로서 화상 B2의 예측 화상 {I1}이 생성되고, 오차 화상으로서의 화상 B2가 화상 데이타 DAT1에 가산되어, 화상 B2가 복호되어 프레임 메모리(14A)의 물리 뱅크에 기록된다. 다음에, 화상 B2가 표시 화상 데이타 DAT5로서 판독된다. 이하, 이들을 간단히, {I1}+ B2→B2, B2 표시로 나타낸다. 화상 B2의 표시가 완료하면, 화상 B2가 격납되어 있는 영역이 해방되기 때문에, ADR=(화상 I1의 격납 최종 어드레스)+1로 된다. 물리 뱅크는 B 화상 격납 개시전에, 어드레스 ADR로부터 n 뱅크분, 예컨대 2 뱅크분 확보된다.(ST2) The physical bank is secured from the address ADR. The predicted picture {I1} of the picture B2 is generated using the picture I1 as a reference picture, the picture B2 as an error picture is added to the picture data DAT1, and the picture B2 is decoded and recorded in the physical bank of the frame memory 14A. Next, the image B2 is read as the display image data DAT5. Hereinafter, these are simply shown by {I1} + B2 → B2, B2 display. When the display of the image B2 is completed, the area in which the image B2 is stored is released, so that ADR = (last storage address of the image I1) +1. The physical banks are reserved n banks, for example, two banks, from the address ADR before the start of the B picture storage.

(ST3) {I1}+B3+B3, B3 표시(ST3) {I1} + B3 + B3, B3 display

(ST4) {I1}+P4+P4, I1 표시(ST4) {I1} + P4 + P4, I1 display

화상 P4는 해방된 화상 B3 영역의 개시 위치와 같은 위치에서부터 격납된다. 화상 I1의 표시가 완료한 후에도 참조 화상으로서 이용되기 때문에, ADR=(화상 P4의 격납 최종 어드레스)+1로 된다.The image P4 is stored from the same position as the start position of the released image B3 region. Since the image I1 is used as the reference image even after the display of the image I1 is completed, ADR = (the last storage address of the image P4) + 1.

(ST5) {I1+P4}+B5→B5, B5 표시(ST5) {I1 + P4} + B5 → B5, B5 display

화상 B5의 표시가 완료하면, 화상 B5가 격납되어 있는 영역이 해방되기 때문에, ADR=(화상 P4의 격납 최종 어드레스)+1로 된다.When the display of the image B5 is completed, the area where the image B5 is stored is released, so that ADR = (the last address stored in the image P4) + 1.

(ST6) {I1+P4}+B6→B6, B6 표시(ST6) {I1 + P4} + B6 → B6, B6 display

(ST7) {P4}+P7→P7, 화상 P4 표시(ST7) {P4} + P7 → P7, Image P4 display

어드레스 ADR에서부터 화상 P7가 격납되어, 프레임 메모리(14A)의 최종 어드레스까지 진행하면, 프레임 메모리(14A)의 선두 어드레스로 되돌아가, 나머지의 화상 P7이 격납된다. 즉, 프레임 메모리(14A)는 그 어드레스가 루프형으로 연결되어 있다.When the picture P7 is stored from the address ADR to the final address of the frame memory 14A, the picture P7 is returned to the head address of the frame memory 14A, and the remaining picture P7 is stored. In other words, the address of the frame memory 14A is connected in a loop form.

ADR=(화상 P7의 격납 최종 어드레스)+1로 된다.ADR = (the last address stored in image P7) + 1.

(ST8) {P4+P7}+B8→B8, B8 표시(ST8) {P4 + P7} + B8 → B8, B8 display

(ST9) {P4+P7}+B9→B9, B9 표시(ST9) {P4 + P7} + B9 → B9, B9 display

이렇게 하여, 부호화 이전의 원래의 동화상과 동일하게 화상 B2, B3, I1, B5, B6, P4, B8, B9, P7순으로 표시 화상을 얻을 수 있다.In this way, the display image can be obtained in the order of the images B2, B3, I1, B5, B6, P4, B8, B9, and P7 in the same manner as the original moving image before encoding.

도 2는 상술한 바와 같은 뱅크 및 그 사용 방법을 이용한 본 발명의 제2 실시 형태인 동화상 디코더의 개략 구성을 나타낸다.Fig. 2 shows a schematic structure of a moving picture decoder according to the second embodiment of the present invention using the above-described bank and its use method.

상기 장치에서는, 버퍼 메모리 제어 회로(25)에 의해 버퍼 메모리(26)의 판독/기록 상태가 제어되고 버퍼 메모리(26)가 어드레스 지정되어, 다중 비트 스트림으로부터 분리된 비디오 비트 스트림 VBS이 버퍼 메모리(26)에 고속으로 일시 격납되며, 격납된 데이타가 버퍼 메모리(26)로부터 저속으로 판독되어, DAT0로서 디코더(27)내의 가변 길이 디코더에 공급된다.In the above apparatus, the read / write state of the buffer memory 26 is controlled by the buffer memory control circuit 25 and the buffer memory 26 is addressed so that the video bit stream VBS separated from the multiple bit stream is stored in the buffer memory ( 26 is temporarily stored at high speed, and the stored data is read at low speed from the buffer memory 26 and supplied to the variable length decoder in the decoder 27 as DAT0.

디코더(27)는 도 15의 가변 길이 디코더(10), 역 양자화 회로(11), 역 DCT 회로(12), 가산 회로(1) 및 메모리 제어/예측 화상 생성 회로(15)의 예측 화상 생성 회로부로 이루어진다. 디코더(27)에는 프레임 메모리(14A)로부터 참조용 복호 화상 데이타 DAT4가 공급되고, 디코더(27)는 예측 복호를 행하여, DAT2를 프레임 메모리(14A)에 공급한다.The decoder 27 is a predictive image generation circuit portion of the variable length decoder 10, the inverse quantization circuit 11, the inverse DCT circuit 12, the adder circuit 1, and the memory control / prediction image generation circuit 15 of FIG. Is made of. The decoded picture data DAT4 for reference is supplied to the decoder 27 from the frame memory 14A, and the decoder 27 performs prediction decoding to supply the DAT2 to the frame memory 14A.

복호/표시 제어 회로(28)에는, 비디오 비트 스트림 VBS을 분리할 때에 도면에 도시하지 않은 시스템 디코더에 의해 분리된 시스템 클록 레퍼런스 SCR, 디코딩 타임 스탬프 DTS 및 프레젠테이션 타임 스탬프 PTS 등의 제어 정보 CI1와, 디코더(27)내의 가변 길이 디코더로부터 분리된 화상 디코딩 타입, 일시적 레퍼런스, 동벡터나 화상 사이즈 등의 제어 정보 CI2와, 조작자의 조작에 따라서 생성된 중지 재생 요구 신호 PRQ, 슬로우 재생 요구 신호 SRQ 및 재생 속도(1/N) 등의 제어 정보가 공급된다. 복호/표시 제어 회로(28)는 이들 제어 정보에 근거하여 복호 및 표시를 위한 각종 제어 데이타를 생성하여, 버퍼 메모리 제어 회로(25), 디코더(27), 프레임 메모리 제어 회로(29), 뱅크 관리 회로(30) 및 표시 회로(115)에 공급한다. 복호/표시 제어 회로(28)는 개시 어드레스 레지스터 회로(281)를 구비하고 있으며, 이것은, 버퍼 메모리 기록 개시 어드레스 BW, 버퍼 메모리 판독 개시 어드레스BR, 프레임 메모리 기록 개시 어드레스 FW, 프레임 메모리 참조 화상 판독 개시 어드레스 FR1, FR2 및 프레임 메모리 참조 화상 판독 개시 어드레스 FR3을 각각 유지하는 레지스터로 이루어진다. 복호/표시 제어 회로(28)는 상기 제어 정보에 따라서 이들 레지스터의 내용을 설정한다.The decoding / display control circuit 28 includes control information CI1 such as a system clock reference SCR, a decoding time stamp DTS, and a presentation time stamp PTS separated by a system decoder not shown in the figure when separating the video bit stream VBS; Control information CI2 such as a picture decoding type, a temporal reference, a motion vector, or a picture size separated from the variable length decoder in the decoder 27, a pause reproduction request signal PRQ, a slow reproduction request signal SRQ, and reproduction generated according to an operator's operation. Control information such as speed 1 / N is supplied. The decoding / display control circuit 28 generates various control data for decoding and display based on these control information, so that the buffer memory control circuit 25, the decoder 27, the frame memory control circuit 29, and the bank management are generated. Supply to the circuit 30 and the display circuit 115. The decoding / display control circuit 28 includes a start address register circuit 281, which is a buffer memory write start address BW, a buffer memory read start address BR, a frame memory write start address FW, and a frame memory reference image read start. And registers holding addresses FR1, FR2 and frame memory reference picture read start address FR3, respectively. The decoding / display control circuit 28 sets the contents of these registers in accordance with the control information.

리셋시에 버퍼 메모리 기록 개시 어드레스 BW가 버퍼 메모리 제어 회로(25)의 어드레스 카운터(251)에 로드되고, 버퍼 메모리 제어 회로(25)에 의해 버퍼 메모리(26)가 기록 상태로 되어, 비디오 비트 스트림 VBS이 버퍼 메모리(26)에 기록된다. 이때, 어드레스 카운터(251)가 클록에 응답하여 증분되어, 버퍼 메모리(26)내의 최종 어드레스까지 데이타가 기록되면, 버퍼 메모리 제어 회로(25)에 의해 버퍼 메모리(26)의 개시 어드레스가 어드레스 카운터(251)에 로드되어, 비디오 비트 스트림 VBS의 기록이 속행된다. 복호/표시 제어 회로(28)로부터 버퍼 메모리 제어 회로(25)에 복호 개시 명령 및 버퍼 메모리 판독 선두 어드레스 BR가 공급된다. BR가 어드레스 카운터(251)에 로드되면, 버퍼 메모리 제어 회로(25)에 의해 버퍼 메모리(26)가 판독 상태로 되며, 어드레스 카운터(251)가 클록에 응답하여 증분되어, DAT0가 판독된다. 이때, 디코더(27)내의 가변 길이 디코더로부터 분리된 제어 정보가 복호/표시 제어 회로(28)에 공급된다.At the time of reset, the buffer memory write start address BW is loaded into the address counter 251 of the buffer memory control circuit 25, and the buffer memory 26 is put into the write state by the buffer memory control circuit 25, thereby providing a video bit stream. VBS is written to the buffer memory 26. At this time, when the address counter 251 is incremented in response to the clock and data is written to the last address in the buffer memory 26, the start address of the buffer memory 26 is set by the buffer memory control circuit 25 to the address counter ( 251, recording of the video bit stream VBS is continued. The decoding start command and the buffer memory read head address BR are supplied from the decoding / display control circuit 28 to the buffer memory control circuit 25. When the BR is loaded into the address counter 251, the buffer memory 26 is put into the read state by the buffer memory control circuit 25, the address counter 251 is incremented in response to the clock, and the DAT0 is read. At this time, control information separated from the variable length decoder in the decoder 27 is supplied to the decoding / display control circuit 28.

버퍼 메모리(26)에의 기록과 버퍼 메모리(26)로부터의 판독은 버퍼 메모리 제어 회로(25)에 의해 시분할 병렬 처리되어, 기록에서 판독으로 또는 그 반대로 제어를 변화시킬 때에는, 어드레스 카운터(251)의 내용이 한쪽의 레지스터로 퇴피되고(도시 않함), 퇴피되어 있던 다른쪽 레지스터의 내용이 어드레스 카운터(251)로 복귀된다(도시 않함).The writing to the buffer memory 26 and the reading from the buffer memory 26 are time-divisioned in parallel by the buffer memory control circuit 25, so that when the control is changed from write to read or vice versa, The contents are retracted to one register (not shown), and the contents of the other register to be retracted are returned to the address counter 251 (not shown).

판독 어드레스는 통상은 기록순으로 연속하지만, 후술하는 슬로우 재생일 때에는 동일 내용의 반복을 행할 필요가 있으며, 이 경우, 복호/표시 제어 회로(28)로부터 버퍼 메모리 제어 회로(25)로 버퍼 메모리 판독 선두 어드레스 BR가 공급되어 어드레스 카운터(251)에 로드된다.The read addresses are normally continuous in the recording order, but it is necessary to repeat the same contents in the slow reproduction described later. In this case, the buffer memory read from the decoding / display control circuit 28 to the buffer memory control circuit 25 is performed. The head address BR is supplied and loaded into the address counter 251.

프레임 메모리(14A)에 대하여 1 화상분의 액세스를 개시할 경우에는, 화상 타입에 상관없이 다음과 같은 처리가 행하여진다.When starting the access for one image to the frame memory 14A, the following processing is performed regardless of the image type.

즉, DAT2를 프레임 메모리(14A)에 기록 개시하는 경우에는 복호/표시 제어 회로(28)로부터 프레임 메모리 제어 회로(29)에 기록 개시 명령 및 프레임 메모리 기록 개시 어드레스 FW가 공급되고, 이 어드레스 FW가 어드레스 카운터(291)에 로드된다. 표시용 복호 화상 데이타 DAT5를 프레임 메모리(14A)로부터 판독 개시하는 경우에는, 복호/표시 제어 회로(28)로부터 프레임 메모리 제어 회로(29)에 표시 화상 판독 개시 명령 및 ADR가 공급되고, 이 ADR가 어드레스 카운터(291)에 로드된다. DAT4를 프레임 메모리(14A)로부터 판독 개시하는 경우에는, 복호/표시 제어 회로(28)로부터 프레임 메모리 제어 회로(29)에 참조 화상 판독 개시 명령 및 FR1이 공급되고, 2개의 참조 화상을 이용하는 경우에는 FR2가 추가로 공급되어, 프레임 메모리 제어 회로(29)에 의해, 개시 어드레스 FR1, FR2가 서로 시간을 어긋나게 하여 어드레스 카운터(291)에 로드된다. 상기 버퍼 메모리 제어 회로(25)의 경우와 같이, 어드레스 카운터(291)가 클록으로 증분되고, 프레임 메모리(14A)에 대한 판독 및 기록이 프레임 메모리 제어 회로(29)에 의해 시분할 병렬 처리된다.That is, in the case where writing of DAT2 is started in the frame memory 14A, the write start command and the frame memory write start address FW are supplied from the decoding / display control circuit 28 to the frame memory control circuit 29, and this address FW is It is loaded into the address counter 291. When the display decoded image data DAT5 is started to be read from the frame memory 14A, a display image read start command and an ADR are supplied from the decoding / display control circuit 28 to the frame memory control circuit 29, and this ADR is supplied. It is loaded into the address counter 291. When the DAT4 is started to be read from the frame memory 14A, the reference image read start command and FR1 are supplied from the decoding / display control circuit 28 to the frame memory control circuit 29, and when two reference images are used. FR2 is further supplied, and the start addresses FR1 and FR2 are loaded to the address counter 291 by shifting the time from each other by the frame memory control circuit 29. As in the case of the buffer memory control circuit 25, the address counter 291 is incremented by a clock, and the read and write to the frame memory 14A are time-divisioned in parallel by the frame memory control circuit 29.

프레임 메모리(14A)에 대하여 B 화상인 논리 뱅크를 액세스 개시하는 경우에는, 다음과 같은 처리가 추가로 행하여진다.When accessing the logical bank which is a B picture to the frame memory 14A, the following processing is further performed.

즉, B 화상인 논리 뱅크의 DAT2를 프레임 메모리(14A)에 기록하는 경우에는, 복호/표시 제어 회로(28)로부터 뱅크 관리 회로(30)에 물리 뱅크 할당 요구 RQ2 및 기록 논리 뱅크 번호 L1N가 공급된다. 물리 뱅크 할당 요구 RQ2가 접수되면, 기록 논리 뱅크 번호 L1N가 뱅크 관리 회로(30)에 의해 물리 뱅크 번호 P1N로 변환되어 프레임 메모리 제어 회로(29)에 공급된다. 프레임 메모리 제어 회로(29)는 FW+P1N/BNK를 어드레스 카운터(291)에 로드하여 프레임 메모리(14A)로의 기록을 제어한다. 여기서, BNK는 미리 정해진 1 물리 뱅크의 기억 용량치이며, 뱅크 관리 회로(30)로부터 공급된다. 각 화상에 대해서 처음에는 P1N=0이다.That is, when the DAT2 of the logical bank, which is a B picture, is written to the frame memory 14A, the physical bank allocation request RQ2 and the write logic bank number L1N are supplied from the decoding / display control circuit 28 to the bank management circuit 30. do. When the physical bank allocation request RQ2 is received, the write logic bank number L1N is converted into the physical bank number P1N by the bank management circuit 30 and supplied to the frame memory control circuit 29. The frame memory control circuit 29 loads FW + P1N / BNK into the address counter 291 to control writing to the frame memory 14A. Here, BNK is a storage capacity value of one physical bank predetermined, and is supplied from the bank management circuit 30. P1N = 0 at first for each image.

B 화상인 논리 뱅크의 DAT5를 프레임 메모리(14A)로부터 판독 개시하는 경우, 복호/표시 제어 회로(28)로부터 뱅크 관리 회로(30)에 판독 논리 뱅크 번호 L2N가 공급되어, 판독 논리 뱅크 번호 L2N가 뱅크 관리 회로(30)에서 물리 뱅크 번호 P2N로 변환되어 프레임 메모리 제어 회로(29)에 공급된다. 프레임 메모리 제어 회로(29)는 ADR+P2N·BNK를 어드레스 카운터(291)에 로드하여 프레임 메모리(14A)로부터의 판독 제어를 행한다. 각 화상에 대해서 첫회는 P2N=0이다.When the DAT5 of the logical bank, which is a B image, starts reading from the frame memory 14A, the read logic bank number L2N is supplied from the decoding / display control circuit 28 to the bank management circuit 30, so that the read logic bank number L2N The bank management circuit 30 converts the data into the physical bank number P2N and supplies it to the frame memory control circuit 29. The frame memory control circuit 29 loads ADR + P2N BNK into the address counter 291 to perform read control from the frame memory 14A. The first time for each picture is P2N = 0.

DAT5는 표시 회로(115)에 공급되고, 포맷 변환 및 아날로그 변환 등이 행하여져 표시 장치용의 비디오 신호 VS가 생성된다.The DAT5 is supplied to the display circuit 115, and format conversion, analog conversion, and the like are performed to generate the video signal VS for the display device.

도 3은 뱅크 관리 회로(30)의 구성예를 나타낸다. 이 회로(30)는 구성 요소(32∼37)를 구비하고 있다.3 shows an example of the configuration of the bank management circuit 30. This circuit 30 is provided with the components 32-37.

물리 뱅크수 연산부(32)는 상술한 0.X 프레임의 뱅크수 n을 다음과 같이 산출한다.The physical bank number calculating section 32 calculates the bank number n of the above-mentioned 0.X frame as follows.

n=[(ADRe-ADRs+1-2 FLM)/BNK]n = [(ADRe-ADRs + 1-2 FLM) / BNK]

여기서, ADRs는 프레임 메모리(14A)의 개시 어드레스, ADRe는 프레임 메모리(14A)의 종료 어드레스, FLM은 표시 모드에 따라 정해지는 1 프레임의 기억 용량, []는 소수점 이하 버림을 나타내는 정수화의 기호이다. 물리 뱅크수 n은 공상태 물리 뱅크 검출부(33)에 공급된다.Where ADRs is the start address of the frame memory 14A, ADRe is the end address of the frame memory 14A, FLM is the storage capacity of one frame determined by the display mode, and [] is an integer symbol indicating truncation after the decimal point. . The physical bank number n is supplied to the empty physical bank detector 33.

물리 뱅크 할당 레지스터(34)는 n의 최대치 N과 같은 수의 비트를 구비하고 있으며, 도 3은 N=4인 경우를 나타내고 있다. 물리 뱅크 할당 레지스터(34)의 각 비트는 물리 뱅크에 대응하고 있으며, 물리 뱅크 할당 플래그 FA∼FD로서 이용된다. 이 플래그는 '1'일 때 논리 뱅크 할당을 완료하였다는 것을 나타내며, '0'일 때 할당되어 있지 않다는 것을 나타내기로 한다.The physical bank allocation register 34 has the same number of bits as the maximum value N of n, and FIG. 3 shows the case where N = 4. Each bit of the physical bank assignment register 34 corresponds to a physical bank and is used as the physical bank assignment flags FA to FD. When this flag is '1', it indicates that logical bank allocation is completed, and when it is '0', it is not allocated.

공상태 물리 뱅크 검출부(33)는 물리 뱅크 할당부(35)로부터의 물리 뱅크 검색 요구 RQ1에 응답하여, 물리 뱅크 할당 레지스터(34)의 일단에서부터 n 비트에 관하여, '0'인 제1 비트를 검출하고, 이 비트를 '1'로 반전시켜, 검출 물리 뱅크 번호 PDN=i를 논리/물리 뱅크 번호 변환부(36)에 공급하고, 물리 뱅크 할당부(35)에 할당 완료 통지(ACK1)를 공급한다. 상기 n 비트가 모두 '1'인 경우에는, 그 중 어느 하나가 '0'이 된 후에 상기 처리를 행한다.In response to the physical bank search request RQ1 from the physical bank allocating unit 35, the stateful physical bank detecting unit 33 selects a first bit of '0' with respect to n bits from one end of the physical bank allocation register 34. Detects, inverts this bit to '1', supplies a detected physical bank number PDN = i to the logical / physical bank number converting unit 36, and sends an allocation completion notification (ACK1) to the physical bank allocating unit 35. Supply. If all of the n bits are '1', the processing is performed after any one of them becomes '0'.

도 2의 복호/표시 제어 회로(28)는 물리 뱅크 할당부(35)에 물리 뱅크 검색 요구 RQ2를 공급함과 동시에, 다음에 복호해야 할 화상 데이타 DAT1의 복호 기록 논리 뱅크 번호 L1N를 논리/물리 뱅크 번호 변환부(36)에 공급한다. 물리 뱅크 할당부(35)는 물리 뱅크 검색 요구 RQ2 발행전에 물리 뱅크 검색 요구 RQ1를 공상태 물리 뱅크 검출부(33)에 공급하고 있으며, 할당 완료 통지 ACK1와 물리 뱅크 검색 요구 RQ2를 모두 수신하였을 때에, 할당 제어 신호 CNT1를 논리/물리 뱅크 번호 변환부(36)에 공급하고, 이와 동시에, 도 2의 복호/표시 제어 회로(28)에 물리 뱅크 할당 통지 ACK2를 공급한다. 물리 뱅크 할당부(35)는 할당 제어 신호 CNT1의 출력후에, 다음 논리 뱅크를 처리하기 위해, 다음의 물리 뱅크 할당 요구 RQ2를 받기 전에 물리 뱅크 검색 요구 RQ1를 공상태 물리 뱅크 검출부(33)에 공급한다.The decoding / display control circuit 28 of FIG. 2 supplies the physical bank search request RQ2 to the physical bank allocator 35, and simultaneously decodes the decoding / decoding logical bank number L1N of the image data DAT1 to be decoded. It supplies to the number conversion part 36. FIG. The physical bank assignment unit 35 supplies the physical bank search request RQ1 to the empty state physical bank detection unit 33 before issuing the physical bank search request RQ2, and when both the allocation completion notification ACK1 and the physical bank search request RQ2 are received, The allocation control signal CNT1 is supplied to the logical / physical bank number conversion section 36, and at the same time, the physical bank assignment notification ACK2 is supplied to the decoding / display control circuit 28 of FIG. The physical bank allocator 35 supplies the physical bank search request RQ1 to the empty physical physical bank detector 33 after the output of the allocation control signal CNT1 and before receiving the next physical bank allocation request RQ2 to process the next logical bank. do.

논리/물리 뱅크 번호 변환부(36)는 매핑 레지스터 MR1∼MR4를 구비하고 있으며, 복호 기록 논리 뱅크 번호 L1N로 매핑 레지스터 MR1∼MR4 중 1개가 어드레스 지정되고, 지정된 레지스터에 할당 제어 신호 CNT1의 타이밍으로 검출 물리 뱅크 번호 PDN가 유지된다.The logical / physical bank number converting section 36 includes mapping registers MR1 to MR4, one of the mapping registers MR1 to MR4 is addressed to the decoded write logic bank number L1N, and assigned to the designated register at the timing of the control signal CNT1. The detection physical bank number PDN is maintained.

논리/물리 뱅크 번호 변환부(36)는 도 2의 프레임 메모리 제어 회로(29)로부터의 요구에 따라서, 매핑 레지스터 MR1∼MR4의 순으로 순환적으로 그 내용을 판독하여, 물리 뱅크 번호 P1N로서 프레임 메모리 제어 회로(29)에 공급한다. 프레임 메모리 제어 회로(29)는 상술한 FW+P1N·BNK를 산출하여, 어드레스 카운터(291)에 로드한다. 어드레스 카운터(291)의 내용 ADR는 클록에 따라 증분되어, 이 어드레스 ADR에 DAT2A가 순차 기록된다.The logical / physical bank number conversion unit 36 cyclically reads the contents in the order of the mapping registers MR1 to MR4 in response to a request from the frame memory control circuit 29 of FIG. 2, and stores the frame as the physical bank number P1N. Supply to the memory control circuit 29. The frame memory control circuit 29 calculates FW + P1N BNK described above and loads it into the address counter 291. The content ADR of the address counter 291 is incremented in accordance with the clock, and DAT2A is sequentially written to this address ADR.

도 2의 복호/표시 제어 회로(28)는 다음에 표시해야 할 논리 뱅크 번호 L2N를 논리/물리 뱅크 번호 변환부(36) 및 물리 뱅크 개방부(37)에 공급한다. 논리/물리 뱅크 번호 변환부(36)에서는 판독 논리 뱅크 번호 L2N으로 매핑 레지스터 MR1∼MR4 중 1개를 어드레스 지정하여, 그 내용을 물리 뱅크 번호 P2N로서 도 2의 프레임 메모리 제어 회로(29)에 공급한다. 프레임 메모리 제어 회로(29)는 상술한 ADR+P2N·BNK를 산출하여, 이것을 어드레스 카운터(291)에 로드하여, 프레임 메모리(14A)에 대하여 판독 제어를 행한다. 이것에 의해, 프레임 메모리(14A)로부터 표시 화상 데이타 DAT5가 순차 판독된다.The decoding / display control circuit 28 of FIG. 2 supplies the logical bank number L2N to be displayed next to the logical / physical bank number converting section 36 and the physical bank opening section 37. FIG. The logical / physical bank number converter 36 addresses one of the mapping registers MR1 to MR4 with the read logic bank number L2N, and supplies the contents to the frame memory control circuit 29 of FIG. 2 as the physical bank number P2N. do. The frame memory control circuit 29 calculates ADR + P2N BNK described above, loads it into the address counter 291, and performs read control on the frame memory 14A. As a result, the display image data DAT5 is sequentially read from the frame memory 14A.

물리 뱅크 개방부(37)는 어드레스 카운터(291)의 내용 ADR가 ADR+(P2N+1)·BNK-1에 일치하는 것을 일치 검출 회로로 검출함으로써, 1 뱅크분의 DAT4의 판독이 완료하였다고 판정하며, 판독 논리 뱅크 번호 L2N의 변화 직전에 판독 논리 뱅크 번호 L2N의 내용을 유지한 논리 뱅크 번호 L3N 및 뱅크 개방 제어 신호 CNT2를 논리/물리 뱅크 번호 변환부(36)에 공급한다. 논리/물리 뱅크 번호 변환부(36)는 이것에 응답하여, 표시필 논리 뱅크 번호 L3N로 매핑 레지스터 MR1∼MR4 중 1개를 어드레스 지정하여, 그 내용 X에 대응하는 물리 뱅크 할당 레지스터(34)의 제X 비트를 리셋시켜, 어드레스 레지스터의 내용 X를 초기화한다.The physical bank opening section 37 detects that the coincidence detection circuit matches the contents ADR of the address counter 291 with ADR + (P2N + 1) BNK-1, thereby determining that the reading of DAT4 for one bank is completed. The logical bank number L3N holding the contents of the read logic bank number L2N and the bank open control signal CNT2 immediately before the change of the read logic bank number L2N are supplied to the logical / physical bank number conversion unit 36. In response to this, the logical / physical bank number converting unit 36 addresses one of the mapping registers MR1 to MR4 with the displayed logical bank number L3N, and the physical bank allocation register 34 corresponding to the content X is assigned. The Xth bit is reset to initialize the contents X of the address register.

도 6은 도 3의 회로 동작을 나타내는 타임 챠트이다.6 is a time chart illustrating the circuit operation of FIG. 3.

(t01) 물리 뱅크 검색 요구 RQ1가 공상태 물리 뱅크 검출부(33)에 공급된다.(t01) The physical bank search request RQ1 is supplied to the empty physical bank detection unit 33.

(t02) 공상태 물리 뱅크 검출부(33)로부터 물리 뱅크 A를 나타내는 검출 물리 뱅크 번호 PDN(=0, 물리 뱅크 B를 나타내는 검출 물리 뱅크 번호 PDN는 1)이 출력되어, 물리 뱅크 할당 레지스터(34)의 내용이 '1000'으로 된다.(t02) The detected physical bank number PDN representing the physical bank A (= 0, the detected physical bank number PDN representing the physical bank B is 1) is output from the state physical bank detector 33, and the physical bank allocation register 34 is output. Becomes '1000'.

(t03) 복호/표시 제어 회로(28)로부터 L1N 및 RQ2가 출력된다.(t03) L1N and RQ2 are output from the decoding / display control circuit 28.

(t04) 물리 뱅크 할당부(35)로부터 논리/물리 뱅크 번호 변환부(36) 및 복호/표시 제어 회로(28)에 각각 할당 제어 신호 CNT1 및 물리 뱅크 할당 통지 ACK2가 공급된다.(t04) The allocation control signal CNT1 and the physical bank allocation notification ACK2 are supplied from the physical bank allocating unit 35 to the logical / physical bank number converting unit 36 and the decoding / display control circuit 28, respectively.

(t05) 물리 뱅크 A에 대응한 검출 물리 뱅크 번호 PDN가 MR1에 유지된다. 도 6중의 빗금친 부분은 내용이 초기화되어 있는 것을 나타내고 있다.(t05) The detection physical bank number PDN corresponding to the physical bank A is held in MR1. The hatched portions in Fig. 6 indicate that the contents are initialized.

다음 시각 t11∼t15에 대해서는, 시각 t01∼t05와 마찬가지다.Next time t11-t15 is the same as time t01-t05.

(t17) 판독 논리 뱅크 번호 L2N가 논리/물리 뱅크 번호 변환부(36) 및 물리 뱅크 개방부(37)에 공급되고, 논리/물리 뱅크 번호 변환부(36)로부터 P2N=0이 출력되어, 물리 뱅크 A로부터 논리 뱅크 1의 내용 판독이 개시된다.(t17) The read logic bank number L2N is supplied to the logical / physical bank number converting section 36 and the physical bank opening section 37, P2N = 0 is output from the logical / physical bank number converting section 36, and physical Reading of the contents of the logical bank 1 from the bank A is started.

(t21) 물리 뱅크 검색 요구 RQ1가 공상태 물리 뱅크 검출부(33)에 공급된다.(t21) The physical bank search request RQ1 is supplied to the empty physical bank detection unit 33.

(t23) 복호/표시 제어 회로(28)로부터 L1N 및 RQ2가 출력된다.(t23) L1N and RQ2 are output from the decoding / display control circuit 28.

(t27) 판독 논리 뱅크 번호 L2N가 논리/물리 뱅크 번호 변환부(36) 및 물리 뱅크 개방부(37)에 공급된다.(t27) The read logic bank number L2N is supplied to the logical / physical bank number converting section 36 and the physical bank opening section 37.

(t26) 논리/물리 뱅크 번호 변환부(36)에 의해 물리 뱅크 할당 레지스터(34)의 최상위 비트가 제로로 클리어되어, MR1의 내용이 클리어된다. 논리/물리 뱅크 번호 변환부(36)로부터 P2N=1이 출력되어, 물리 뱅크 B에서 논리 뱅크 2의 내용 판독이 개시된다.(t26) The most significant bit of the physical bank allocation register 34 is cleared to zero by the logical / physical bank number conversion unit 36, and the contents of MR1 are cleared. P2N = 1 is output from the logical / physical bank number converting section 36, and the contents reading of the logical bank 2 is started in the physical bank B.

(t22) 공상태 물리 뱅크 검출부(33)로부터 물리 뱅크 A를 나타내는 검출 물리 뱅크 번호 PDN가 출력되어, 물리 뱅크 할당 레지스터(34)의 내용이 '1100'으로 된다.(t22) The detection physical bank number PDN indicating the physical bank A is output from the state physical bank detection unit 33, so that the contents of the physical bank assignment register 34 become '1100'.

(t24) 물리 뱅크 할당부(35)로부터 논리/물리 뱅크 번호 변환부(36) 및 복호/표시 제어 회로(28)에 각각 할당 제어 신호 CNT1 및 물리 뱅크 할당 통지 ACK2가 공급된다.(t24) The allocation control signal CNT1 and the physical bank allocation notification ACK2 are supplied from the physical bank allocating unit 35 to the logical / physical bank number converting unit 36 and the decoding / display control circuit 28, respectively.

(t25) 물리 뱅크 A에 대응하는 검출 물리 뱅크 번호 PDN=0이 매핑 레지스터 MR3에 유지된다.(t25) The detection physical bank number PDN = 0 corresponding to the physical bank A is held in the mapping register MR3.

다음의 시각 t31∼t37에 대해서는, 상기와 같기 때문에 그 설명을 생략한다.The following time t31-t37 is the same as the above, and the description is abbreviate | omitted.

본 제2 실시 형태에 의하면, 이상과 같은 B 화상의 처리에 의해, 뱅크 분할에 의한 프레임 메모리(14A)의 기억 용량 저감이 가능해진다.According to the second embodiment, the storage capacity of the frame memory 14A can be reduced by bank division by the above-described processing of the B image.

다음에, 슬로우 재생 처리에 관해서 설명한다.Next, the slow regeneration process will be described.

도 2의 복호/표시 제어 회로(28)에의 슬로우 재생 요구 신호 SRQ에 응답하여, 설정되어 있는 재생 속도 1/N에 근거하여, 재생 속도가 통상의 1/N이 되도록 복호 및 표시의 제어가 행하여진다.In response to the slow regeneration request signal SRQ to the decoding / display control circuit 28 of FIG. 2, decoding and display control are performed so that the reproducing speed is the normal 1 / N based on the set reproducing speed 1 / N. Lose.

I 화상 또는 P 화상인 경우에는, 프레임 메모리(14A)로부터 판독되는 동화상의 각 필드에 대하여 N회 반복하여 판독시키면 좋고, 종래와 동일 방법으로 행하여진다. 이 경우, 버퍼 메모리(26)로부터 디코더(27)로의 데이타 전송 레이트의 평균치는 통상 재생인 경우의 1/N이 된다.In the case of an I image or a P image, it is sufficient to repeatedly read N fields of the moving image read out from the frame memory 14A N times, and is performed in the same manner as before. In this case, the average value of the data transfer rate from the buffer memory 26 to the decoder 27 is 1 / N in the case of normal reproduction.

B 화상인 경우에는, 상기한 바와 같이 1개의 논리 뱅크의 복호 화상 데이타의 판독이 완료하면, 다음 논리 뱅크의 화상 데이타에 의해 덮어쓰기 되어 앞의 논리 뱅크의 화상 데이타가 소실되기 때문에, 화상의 각 필드에 대해서 버퍼 메모리(26)로부터 N회 반복하여 판독시킨다. 이 경우, N회 반복과 재생 속도 1/N와의 조합에 의해, 버퍼 메모리(26)로부터 디코더(27)에의 데이타 전송 레이트의 평균치는 통상 재생의 경우와 같게 된다.In the case of a B picture, when the decoded picture data of one logical bank is read as described above, the picture data of the next logical bank is overwritten and the image data of the previous logical bank is lost. The field is repeatedly read N times from the buffer memory 26. In this case, the combination of N repetitions and reproduction rate 1 / N causes the average value of the data transfer rate from the buffer memory 26 to the decoder 27 as in the case of normal reproduction.

도 7의 (a)는 1/2 슬로우 재생 모드의 경우인 B 화상의 복호 화상 순서를 나타내고 있으며, 필드 화상 50∼53이 이 순서로 복호된다. 화상 50∼53은 동일 프레임으로서, 화상 50 및 51은 동일 톱 필드 TF이며, 화상 52 및 53은 동일 버텀 필드 BF이다.Fig. 7A shows the decoded image sequence of the B image in the 1/2 slow reproduction mode, and the field images 50 to 53 are decoded in this order. Images 50 to 53 are the same frame, and images 50 and 51 are the same top field TF, and images 52 and 53 are the same bottom field BF.

다시 도 2를 참조하면, B 화상인 화상 헤더의 제어 정보 CI2가 디코더(27)로부터 복호/표시 제어 회로(28)에 공급될 때마다, 복호/표시 제어 회로(28)로부터 버퍼 메모리 제어 회로(25)에 복호 개시 명령 및 버퍼 메모리 판독 개시 어드레스 BR가 버퍼 메모리 제어 회로(25)에 공급되어, 버퍼 메모리 판독 개시 어드레스 BR가 어드레스 카운터(251)에 로드된다. 버퍼 메모리 제어 회로(25)에 버퍼 메모리 판독 개시 어드레스 BR를 공급함에 있어서, 동일 프레임의 톱 필드 TF 및 버텀 필드 BF 각각에 대하여, 동일치가 2회 반복되어, 도 7의 (a)에 나타낸 바와 같이 BR1, BR1, BR2, BR2순으로 된다. 이것에 의해, 버퍼 메모리(26)로부터 디코더(27)에 동일 프레임의 동일 톱 필드 TF의 DAT0가 2회 디코더(27)에 공급되고, 다음에 동일 프레임의 동일 버텀 필드 BF의 DAT0가 2회 디코더(27)에 공급된다. 프레임 구조인 경우에는, 버퍼 메모리(26)로부터의 판독 라인을 1 라인마다 스킵함으로써 1 필드분 판독하여, 필드 구조의 경우와 동일하게 되도록 행한다.Referring back to FIG. 2, whenever the control information CI2 of the picture header, which is a B picture, is supplied from the decoder 27 to the decoding / display control circuit 28, the buffer memory control circuit (from the decoding / display control circuit 28) The decode start command and the buffer memory read start address BR are supplied to the buffer memory control circuit 25 in order to load the buffer memory read start address BR into the address counter 251. In supplying the buffer memory read start address BR to the buffer memory control circuit 25, the same value is repeated twice for each of the top field TF and the bottom field BF of the same frame, as shown in Fig. 7A. BR1, BR1, BR2, and BR2 are in order. As a result, DAT0 of the same top field TF of the same frame is supplied to the decoder 27 twice from the buffer memory 26 to the decoder 27, and then DAT0 of the same bottom field BF of the same frame is decoded twice. Supplied to (27). In the case of the frame structure, one field is read by skipping the read line from the buffer memory 26 for each line, so as to be the same as in the case of the field structure.

B 화상에 대해서는, 복호/표시 제어 회로(28)로부터 디코더(27)에 공급되는 화상 코딩 타입을 포함하는 복호 명령 DRQ와, 프레임 메모리 제어 회로(29) 및 뱅크 관리 회로(30)에 공급되는 제어 데이타는 복호/표시 제어 회로(28)로부터 버퍼 메모리 제어 회로(25)로의 제어 데이타의 상기 2회 반복에 따라서 2회 반복되어, 표시 화상 순서는 상기 복호 화상 순서와 같게 된다.For the B picture, the decoding command DRQ including the picture coding type supplied from the decoding / display control circuit 28 to the decoder 27, and the control supplied to the frame memory control circuit 29 and the bank management circuit 30. The data is repeated twice in accordance with the above two repetitions of the control data from the decoding / display control circuit 28 to the buffer memory control circuit 25, so that the display image order is the same as the decoded image order.

도 7의 (c)에서, 실선으로 나타낸 주사선은 표시 화면상의 톱 필드 화상 TFP을 나타내고 있으며, 점선으로 나타낸 주사선은 표시 화면상의 버텀 필드 화상 BFP을 나타내고 있다.In Fig. 7C, the scanning line shown by the solid line represents the top field image TFP on the display screen, and the scanning line shown by the dotted line represents the bottom field image BFP on the display screen.

DAT5가 도 7의 (a)의 톱 필드 화상 51일 때, 복호/표시 제어 회로(28)로부터 표시 회로(115)에 톱 필드 TF를 버텀 필드 화상 BFP으로서 표시시키는 제어 데이타를 공급하고, DAT5가 버텀 화상 52일 때에는, 버텀 필드 BF를 톱 필드 화상 TFP으로서 표시시키는 제어 데이타를 공급한다. 이것에 의해, 화상 타입과 상관없이 필드 화상의 데이타를 이용하여 의사(pseudo) 프레임 화상이 표시된다.When DAT5 is the top field image 51 of Fig. 7A, control data for displaying the top field TF as the bottom field image BFP from the decoding / display control circuit 28 to the display circuit 115 is supplied. In the case of the bottom image 52, control data for displaying the bottom field BF as the top field image TFP is supplied. As a result, a pseudo frame image is displayed using the data of the field image regardless of the image type.

도 7의 (b)는 1/3 슬로우 재생 모드인 경우의 B 화상의 복호 화상순을 나타내고 있으며, 필드 화상 60∼65순으로 복호된다. 화상 60∼65는 동일 프레임으로서, 화상 60∼62는 동일 톱 필드 TF이며, 화상 63∼65는 동일 버텀 필드 BF이다. 복호/표시 제어 회로(28)로부터 출력되는 제어 데이타의 상기 2회 반복은 이 경우, 3회가 된다. 또한, 필드 화상 62및 63에 대해서는, 프레임 구조인 경우, 양자를 1 프레임 화상으로서 복호하여도 좋다.Fig. 7B shows the decoded image order of the B image in the 1/3 slow reproducing mode, which is decoded in the field images 60 to 65 order. Images 60 to 65 are the same frame, images 60 to 62 are the same top field TF, and images 63 to 65 are the same bottom field BF. The above two repetitions of the control data output from the decoding / display control circuit 28 are three times in this case. In the case of the frame structure, the field images 62 and 63 may be decoded as one frame image.

1/4이하의 속도의 슬로우 재생 모드에 대해서도 상기와 같다.The same applies to the slow playback mode at a speed of 1/4 or less.

중지 재생 요구 신호 PRQ에 응답하여 행하여지는 중지 재생 동작은 1/∞ 슬로우 재생인 경우와 동일하다.The pause reproduction operation performed in response to the pause reproduction request signal PRQ is the same as in the case of 1 / ∞ slow reproduction.

본 제2 실시 형태에 의하면, 뱅크 구성으로 프레임 메모리(14A)의 기억 용량을 3 프레임분보다 적게 하여도, 이상과 같은 동작에 의해, 슬로우 재생이나 중지 재생을 행하는 것이 가능해진다.According to the second embodiment, even when the storage capacity of the frame memory 14A is less than three frames in the bank configuration, slow playback or pause playback can be performed by the above operation.

[제3 실시 형태][Third Embodiment]

도 8의 (a)는 본 발명의 제3 실시 형태의 동화상 디코더의 개략 구성을 나타낸다. 도 9 및 도 10은 이 동화상 디코더의 동작을 나타내는 타임 챠트이다. 도 9는 등배속 모드인 경우를 나타내고 있고, 도 10은 2배속 모드인 경우를 나타내고 있다.Fig. 8A shows a schematic structure of a moving picture decoder of the third embodiment of the present invention. 9 and 10 are time charts showing the operation of this video decoder. Fig. 9 shows the case of the constant speed mode, and Fig. 10 shows the case of the double speed mode.

버퍼 메모리(26)에는 버퍼 메모리 제어 회로(25)가 상기한 바와 같이 엑세스된다. 버퍼 메모리 제어 회로(25)는 시스템 제어 회로(70)로부터의 복호 개시 신호 DS에 동기하여, 버퍼 메모리(26)로부터 1 프레임분의 부호화 화상 데이타 DAT0의 판독을 개시시킨다.The buffer memory control circuit 25 is accessed in the buffer memory 26 as described above. The buffer memory control circuit 25 starts reading the encoded image data DAT0 for one frame from the buffer memory 26 in synchronization with the decoding start signal DS from the system control circuit 70.

시스템 제어 회로(70)에는 화상 부호화 타입 PCT, 복호 수직 동기 신호 DSYNC 및 감기 모드 MOD가 공급된다. 복호 수직 동기 신호 DSYNC는 클록에 의거하여 동화상 디코더내에서 생성된 것이다. 감기 모드 MOD는 조작자의 모드 전환 조작에 의해 생성된 신호이다. 이 화상 부호화 타입 PCT는 디코더(27A)에도 공급된다. 디코더(27A)는 도 2의 디코더(27)와 프레임 메모리 제어 회로(29)를 포함한다.The system control circuit 70 is supplied with an image coding type PCT, a decoded vertical synchronization signal DSYNC, and a winding mode MOD. The decoded vertical synchronization signal DSYNC is generated in the moving picture decoder based on a clock. The winding mode MOD is a signal generated by the operator's mode switching operation. This picture coding type PCT is also supplied to the decoder 27A. The decoder 27A includes the decoder 27 of FIG. 2 and the frame memory control circuit 29.

시스템 제어 회로(70)는 디코더(27A)에 복호 개시 신호 DS, 표시 화상 판독 개시 신호 PS, 복호 화상 기록 개시 어드레스 FW, 참조 화상 판독 개시 어드레스 FR, 표시 화상 판독 개시 어드레스 ADR, 복호 수직 동기 신호 DSYNC 및 표시 수직 동기 신호 ESYNC를 공급한다.The system control circuit 70 sends the decoding start signal DS, the display picture read start signal PS, the decoded picture write start address FW, the reference picture read start address FR, the display picture read start address ADR, and the decode vertical sync signal DSYNC to the decoder 27A. And the display vertical synchronizing signal ESYNC.

디코더(27A)는 복호 개시 신호 DS에 동기하여 1 프레임분의 DAT0의 복호를 개시하여, 화상 부호화 타입 PCT가 I 화상을 나타내고 있는 경우에는 복호화한 화상을 프레임 메모리(14)에 복호 화상 기록 개시 어드레스 FW부터 순차로 기록한다. 이 화상 부호화 타입 PCT가 P 화상 또는 B 화상을 나타내고 있는 경우에는, 어드레스 FR에서 개시하여 프레임 메모리(14)로부터 참조 화상 데이타 DAT4를 판독하여 예측 화상 데이타를 생성한다. 이 예측 화상 데이타와, DAT0를 복호하여 얻은 오차 데이타를 가산한 것을 복호화 화상 데이타 DAT2로서 프레임 메모리(14)에 FW부터 순차로 기록시킨다. 디코더(27A)는 또한, 표시 수직 동기 신호 ESYNC에 동기하여, 프레임 메모리(14)의 어드레스 ADR부터 순차로 1 프레임분의 표시 화상 데이타 DAT5를 판독시킨다.The decoder 27A starts decoding of DAT0 for one frame in synchronization with the decoding start signal DS. When the picture coding type PCT indicates an I picture, the decoded picture recording start address is stored in the frame memory 14. Record sequentially from FW. When this picture coding type PCT indicates a P picture or a B picture, starting from the address FR, the reference picture data DAT4 is read from the frame memory 14 to generate predictive picture data. The prediction image data and the error data obtained by decoding the DAT0 are added to the frame memory 14 in order from the FW to the decoded image data DAT2. The decoder 27A also reads display image data DAT5 for one frame sequentially from the address ADR of the frame memory 14 in synchronization with the display vertical synchronization signal ESYNC.

프레임 메모리(14)의 기억 영역은 3등분되어 있고, 이것들을 각각 섹션 1∼3이라 칭한다.The storage areas of the frame memory 14 are divided into three sections, and these are called sections 1 to 3, respectively.

시스템 제어 회로(70)는 도 8의 (b)에 나타내는 바와 같은 뱅크 어드레스 관리부(70a)를 구비하고 있다.The system control circuit 70 includes a bank address management unit 70a as shown in Fig. 8B.

뱅크 어드레스 관리부(70a)에서는, 레지스터(81∼83)에 각각 프레임 메모리(14)의 섹션 1∼3의 개시 어드레스 ADR1∼ADR3가 격납되고, 개시 어드레스 ADR1∼ADR3의 하나가 셀렉터(84)에 의해, 래치 제어 회로(85)로부터의 선택 제어 신호에 따라서 선택되어, 레지스터(91)의 데이타 입력단에 공급된다. 공급된 섹션 개시 어드레스는 프레임 메모리(14)의 복호 화상 기록 개시 어드레스 FW로서, 복호 개시 신호 DS의 타이밍으로 레지스터(91)에 유지된다. 레지스터(91)의 데이타 출력단은 레지스터(92)의 데이타 입력단에 접속되어 있고, 참조 화상 판독 개시 신호 RS의 타이밍으로 어드레스 FW가 프레임 메모리(14)의 참조 화상 판독 개시 어드레스 FR로서 레지스터(92)에 유지된다. 레지스터(92)의 데이타 출력단은 레지스터(93)의 데이타 입력단에 접속되어 있고, 표시 화상 판독 개시 신호 PS의 타이밍으로 어드레스 FR가 프레임 메모리(14)의 표시 화상 판독 개시 어드레스 ADR로서 레지스터(93)에 유지된다. 이들 복호 개시 신호 DS, 참조 화상 판독 개시 신호 RS 및 표시 화상 판독 개시 신호 PS는 복호 수직 동기 신호 DSYNC, 화상 부호화 타입 PCT 및 감기 모드 MOD에 따라서 래치 제어 회로(85)에 의해 생성된다.In the bank address management unit 70a, the start addresses ADR1 to ADR3 of the sections 1 to 3 of the frame memory 14 are stored in the registers 81 to 83, respectively, and one of the start addresses ADR1 to ADR3 is selected by the selector 84. The signal is selected in accordance with the selection control signal from the latch control circuit 85 and supplied to the data input terminal of the register 91. The supplied section start address is the decoded image write start address FW of the frame memory 14, which is held in the register 91 at the timing of the decode start signal DS. The data output terminal of the register 91 is connected to the data input terminal of the register 92, and at the timing of the reference image read start signal RS, the address FW is transferred to the register 92 as the reference image read start address FR of the frame memory 14. maintain. The data output terminal of the register 92 is connected to the data input terminal of the register 93, and at the timing of the display image reading start signal PS, the address FR enters the register 93 as the display image reading start address ADR of the frame memory 14; maintain. These decoding start signals DS, reference picture read start signals RS and display picture read start signals PS are generated by the latch control circuit 85 in accordance with the decoded vertical synchronization signal DSYNC, the picture coding type PCT, and the winding mode MOD.

도 9 및 도 10에 나타낸 바와 같이, 복호 수직 동기 신호 DSYNC의 펄스 주기는 필드 주기와 같다. 복호 개시 신호 DS의 펄스는 감기 모드 MOD가 등배속 재생 모드인 경우에는, 복호 수직 동기 신호 DSYNC의 홀수번째의 펄스(즉, 버텀 필드에 대응하는 펄스)에 따라서 생성되고, 그 펄스 주기는 프레임 주기와 같게 되며, 감기 모드 MOD가 2배속 재생 모드인 경우에는, 복호 수직 동기 신호 DSYNC의 각 펄스에 따라서 생성되고, 그 펄스 주기는 필드 주기와 같게 된다. 참조 화상 판독 개시 신호 RS의 펄스 주기는 기본적으로는 복호 개시 신호 DS의 펄스 주기와 동일하지만, 화상 부호화 타입 PCT가 I 화상을 나타내고 있을 때에는 I 화상에 대응하는 펄스가 참조 화상 판독 개시 신호 RS로부터 생략된다. 표시 화상 판독 개시 신호 PS는 제2 복호 수직 동기 신호 DSYNC 이후의 DSYNC의 짝수번째의 펄스에 따라서 생성되며, 복호 수직 동기 신호 DVSYNC를 1/2 분주하고 지연시킨 것에 대응하고 있다. 표시 수직 동기 신호 ESYNC는 복호 수직 동기 신호 DSYNC의 주기를 2배로 하여 이것을 지연시킨 신호이다.As shown in Figs. 9 and 10, the pulse period of the decoded vertical synchronizing signal DSYNC is equal to the field period. The pulse of the decoding start signal DS is generated in accordance with the odd-numbered pulse of the decoding vertical synchronizing signal DSYNC (that is, the pulse corresponding to the bottom field) when the winding mode MOD is the constant speed reproduction mode, and the pulse period is the frame period. When the winding mode MOD is in the double-speed regeneration mode, the pulse period is generated in accordance with each pulse of the decoded vertical synchronizing signal DSYNC, and the pulse period becomes the same as the field period. The pulse period of the reference picture reading start signal RS is basically the same as the pulse period of the decoding start signal DS, but when the picture coding type PCT indicates an I picture, the pulse corresponding to the I picture is omitted from the reference picture reading start signal RS. do. The display image read start signal PS is generated in accordance with the even-numbered pulse of DSYNC after the second decoded vertical synchronizing signal DSYNC, and corresponds to dividing the delayed decoded vertical synchronizing signal DVSYNC by 1/2. The display vertical synchronizing signal ESYNC is a signal obtained by doubling the period of the decoded vertical synchronizing signal DSYNC and delaying it.

도 9 및 도 10에 도시된 FW로부터 알 수 있는 바와 같이, 레지스터(81∼83)는 B 화상이 존재하지 않는 경우에는 셀렉터(84)에 의해 이 순서로 순환적으로 선택되고, B 화상이 존재하는 경우에는 B 화상의 재 정열을 고려하여 셀렉터(84)에 의해 선택된다.As can be seen from the FW shown in Figs. 9 and 10, the registers 81 to 83 are cyclically selected in this order by the selector 84 when there are no B pictures, and the B pictures are present. Is selected by the selector 84 in consideration of realignment of the B images.

다음에, 상기한 바와 같이 구성된 동화상 디코더의 동작을 설명한다. 우선, 도 9를 참조하여, 감기 모드 MOD가 등배속 재생 모드인 경우를 설명한다.Next, the operation of the moving picture decoder configured as described above will be described. First, with reference to FIG. 9, the case where the winding mode MOD is a constant speed reproduction mode will be described.

셀렉터(84)에 의해 레지스터(81)가 선택되어 있다.The register 81 is selected by the selector 84.

(t0) 복호 개시 신호 DS의 펄스 타이밍으로 레지스터(91)에 섹션 1의 개시 어드레스 ADR1가 유지되고, 이것이 복호 화상 기록 개시 어드레스 FW로서 디코더(87)에 공급된다. I 화상이기 때문에, 참조 화상 판독 개시 신호 RS의 펄스는 생성되지 않는다. 이어서, 셀렉터(84)에 의해 레지스터(82)가 선택된다.(t0) The start address ADR1 of section 1 is held in the register 91 at the pulse timing of the decoding start signal DS, which is supplied to the decoder 87 as the decoded picture recording start address FW. Since it is an I picture, no pulse of the reference picture read start signal RS is generated. Then, the register 82 is selected by the selector 84.

버퍼 메모리(26)로부터 I 화상 I0의 부호화 화상 데이타 DAT0가 어드레스 FW로부터 개시하여 판독된다. 디코더(27A)에 의해 부호화 화상 데이타 DAT0가 복호되고, 이 DAT0가 복호화 화상 데이타 DAT2로서 프레임 메모리(14)의 섹션 1에 어드레스 FW로부터 개시하여 격납된다.The encoded image data DAT0 of the I picture I0 is read from the buffer memory 26 starting from the address FW. Decoded image data DAT0 is decoded by the decoder 27A, and this DAT0 is stored as a decoded image data DAT2 starting from the address FW in section 1 of the frame memory 14.

(tl) DAT0가 P 화상이기 때문에, 참조 화상 판독 개시 신호 RS의 펄스가 생성되고, 이 펄스의 타이밍으로 레지스터(92)에 레지스터(91)의 출력 FW=ADR1이 유지되며, 이 레지스터(92)의 내용이 참조 화상 판독 개시 어드레스 FR로서 디코더(27A)에 공급된다. 다음에, 복호 개시 신호 DS의 펄스 타이밍으로 레지스터(91)에 섹션 2의 개시 어드레스 ADR2가 유지되고, 이 개시 어드레스 ADR2가 복호 화상 기록 개시 어드레스 FW로서 디코더(27A)에 공급된다. 다음에, 셀렉터(84)에 의해 레지스터(83)가 선택된다.(tl) Since DAT0 is a P picture, a pulse of the reference picture reading start signal RS is generated, and the output FW = ADR1 of the register 91 is held in the register 92 at the timing of this pulse, and this register 92 Is supplied to the decoder 27A as the reference picture read start address FR. Next, at the pulse timing of the decoding start signal DS, the start address ADR2 of section 2 is held in the register 91, and this start address ADR2 is supplied to the decoder 27A as the decoded picture recording start address FW. Next, the register 83 is selected by the selector 84.

버퍼 메모리(26)로부터 P 화상 P1의 부호화 데이타 DAT0가 판독된다. 디코더(27A)에 의해, 한쪽에서는 부호화 화상 데이타 DAT0가 복호되어 예측 오차 데이타가 생성되고, 다른쪽에서는 프레임 메모리(14)의 섹션 1로부터 I 화상 I0의 데이타 DAT4가 어드레스 FR을 선두로 판독되어 예측 화상 데이타가 생성된다. 예측 화상 데이타에 예측 오차 데이타가 가산되어 복호화 화상 데이타 DAT2가 생성되며, 이 DAT2가 프레임 메모리(14)의 섹션 2에 어드레스 FW로부터 개시하여 격납된다.The encoded data DAT0 of the P picture P1 is read from the buffer memory 26. The decoder 27A decodes the encoded image data DAT0 on one side and generates prediction error data. On the other side, the data DAT4 of the I image I0 is read from the section 1 of the frame memory 14 at the head of the address FR and predicted. Image data is generated. The predictive error data is added to the predictive picture data to generate decoded picture data DAT2, which is stored in section 2 of the frame memory 14 starting from the address FW.

(t1.5) 표시 화상 판독 개시 신호 PS의 펄스 타이밍으로 레지스터(92)의 내용 FR=ADR1이 레지스터(93)에 유지된다.(t1.5) The contents FR = ADR1 of the register 92 are held in the register 93 at the pulse timing of the display image read start signal PS.

디코더(27A)에 의해, 프레임 메모리(14)의 섹션 1로부터 I 화상 I0의 데이타 DAT5가 표시용 데이타로서 어드레스 ADR을 선두로 하여 판독된다.By the decoder 27A, the data DAT5 of the I picture I0 is read from the section 1 of the frame memory 14, starting with the address ADR as the display data.

(t2) 참조 화상 판독 개시 신호 RS의 펄스 타이밍으로 레지스터(92)에 레지스터(91)의 출력 FW=ADR2가 유지되고, 이 레지스터(92)의 내용이 참조 화상 판독 개시 어드레스 FR로서 디코더(27A)에 공급된다. 다음에, 복호 개시 신호 DS의 펄스 타이밍으로 레지스터(91)에 섹션 3의 개시 어드레스 ADR3가 유지되며, 이 개시 어드레스 ADR3가 복호 화상 기록 개시 어드레스 FW로서 디코더(27A)에 공급된다. 셀렉터(84)로 레지스터(81)가 선택된다.(t2) The output FW = ADR2 of the register 91 is held in the register 92 at the pulse timing of the reference picture read start signal RS, and the contents of this register 92 are the decoder 27A as the reference picture read start address FR. Supplied to. Next, at the pulse timing of the decoding start signal DS, the start address ADR3 of section 3 is held in the register 91, and this start address ADR3 is supplied to the decoder 27A as the decoded picture recording start address FW. The register 81 is selected by the selector 84.

버퍼 메모리(26)로부터 P 화상 P2의 부호화 데이타 DAT0가 판독된다. 디코더(27A)에 의해, 한쪽에서는 부호화 화상 데이타 DAT0가 복호되어 예측 오차 데이타가 생성되고, 다른쪽에서는 프레임 메모리(14)의 섹션 2로부터 P 화상 P1의 데이타 DAT4가 참조용 데이타로서 어드레스 FR를 선두로 판독되어 예측 화상 데이타가 생성된다. 예측 화상 데이타에 예측 오차 데이타가 가산되어 복호화 화상 데이타 DAT2가 생성되며, 이 DAT2가 프레임 메모리(14)의 섹션 3에 어드레스 FW를 선두로하여 격납된다.The encoded data DAT0 of the P picture P2 is read from the buffer memory 26. The decoder 27A decodes the encoded image data DAT0 on one side and generates prediction error data. On the other side, the data DAT4 of the P image P1 leads the address FR as the reference data from section 2 of the frame memory 14. Is read to generate predictive image data. The prediction error data is added to the predictive image data to generate decoded image data DAT2, which is stored in section 3 of the frame memory 14 with the address FW at the head.

(t2.5) 표시 화상 판독 개시 신호 PS의 펄스 타이밍으로 레지스터(92)의 내용 FR=ADR2가 레지스터(93)에 유지된다.(t2.5) The contents FR = ADR2 of the register 92 are held in the register 93 at the pulse timing of the display image read start signal PS.

디코더(27A)에 의해, 프레임 메모리(14)의 섹션 2로부터 P1의 데이타 DAT5가 표시용 데이타로서 어드레스 ADR로부터 개시하여 판독된다.By the decoder 27A, the data DAT5 of P1 is read starting from the address ADR as display data from section 2 of the frame memory 14.

이하, 상기와 같은 처리가 행하여져, 등배속 재생 모드에서의 화상 데이타의 복호 및 표시 데이타의 출력이 행하여진다.Hereinafter, the above processing is performed, and the decoding of the image data and the output of the display data in the same-speed reproduction mode are performed.

도 10을 참조하여, 감기 모드 MOD가 2배속 재생 모드인 경우를 설명한다.With reference to FIG. 10, the case where the winding mode MOD is the double speed reproduction mode will be described.

도 10에서는, 시각 t2 이전까지는 감기 모드 MOD가 등배속 재생 모드이고, 조작자의 모드 전환 조작에 의해, 시각 t2에서 감기 모드 MOD가 2배속 재생 모드로 전환된다. 시각 t2 까지는 도 9에 도시된 바와 동일한 동작이 행하여진다.In FIG. 10, the winding mode MOD is the constant speed reproduction mode until time t2, and the winding mode MOD is switched to the double speed reproduction mode at time t2 by the mode switching operation of the operator. Up to time t2, the same operation as shown in FIG. 9 is performed.

(t2.5) 도 9의 시각 t2.5에서의 처리와 시각 t3에서의 처리가 행하여진다.(t2.5) Processing at time t2.5 and processing at time t3 in FIG. 9 are performed.

즉, 참조 화상 판독 개시 신호 RS의 펄스 타이밍으로 레지스터(92)에 레지스터(91)의 출력 FW=ADR3이 유지되고, 이 레지스터(92)의 내용이 참조 화상 판독 개시 어드레스 FR로서 디코더(27A)에 공급된다. 다음에, 복호 개시 신호 DS의 펄스 타이밍으로 레지스터(91)에 섹션 1의 개시 어드레스 ADR1가 유지되고, 이것이 복호 화상 기록 개시 어드레스 FW로서 디코더(27A)에 공급된다. 셀렉터(84)에 의해 레지스터(22)가 선택된다. 버퍼 메모리(26)로부터 P 화상 P3의 부호화 데이타 DAT0가 판독된다. 디코더(27A)에 의해, 한쪽에서는 부호화 화상 데이타 DAT0가 복호되어 예측 오차 데이타가 생성되고, 다른쪽에서는 프레임 메모리(14)의 섹션 3으로부터 P 화상 P2의 데이타 DAT4가 참조용 데이타로서 어드레스 FR를 선두로 판독되어 예측 화상 데이타가 생성된다. 예측 화상 데이타에 예측 오차 데이타가 가산되어 복호화 화상 데이타 DAT2가 생성되며, 이 DAT2가 프레임 메모리(14)의 섹션 1에 어드레스 FW로부터 개시하여 격납된다.That is, the output FW = ADR3 of the register 91 is held in the register 92 at the pulse timing of the reference picture read start signal RS, and the contents of the register 92 are transmitted to the decoder 27A as the reference picture read start address FR. Supplied. Next, at the pulse timing of the decoding start signal DS, the start address ADR1 of the section 1 is held in the register 91, which is supplied to the decoder 27A as the decoded picture recording start address FW. The register 22 is selected by the selector 84. The encoded data DAT0 of the P picture P3 is read from the buffer memory 26. The decoder 27A decodes the coded image data DAT0 on one side and generates prediction error data. On the other side, the data DAT4 of the P image P2 leads the address FR as reference data from section 3 of the frame memory 14. Is read to generate predictive image data. The predictive error data is added to the predictive picture data to generate decoded picture data DAT2, which is stored in section 1 of the frame memory 14 starting from the address FW.

표시 화상 판독 개시 신호 PS의 펄스 타이밍으로 레지스터(92)의 내용 FR=ADR3이 레지스터(93)에 유지된다. 디코더(27A)에 의해, 프레임 메모리(14)의 섹션 3으로부터 P 화상 P2의 데이타 DAT5가 표시용 데이타로서 어드레스 DAPA를 선두로 판독된다.At the pulse timing of the display image read start signal PS, the contents FR = ADR3 of the register 92 are held in the register 93. By the decoder 27A, the data DAT5 of the P picture P2 is read from the section 3 of the frame memory 14 at the beginning of the address DAPA as data for display.

(t3) 시각 t2에서의 처리와 같은 처리가 행하여진다.(t3) The same processing as that at time t2 is performed.

즉, 참조 화상 판독 개시 신호 RS의 펄스 타이밍으로 레지스터(92)에 레지스터(91)의 출력 FW=ADR1이 유지되며, 이 출력이 참조 화상 판독 개시 어드레스 FR로서 디코더(27A)에 공급된다. 다음에, 복호 개시 신호 DS의 펄스 타이밍으로 레지스터(91)에 섹션 2의 개시 어드레스 ADR2가 유지되고, 이것이 복호 화상 기록 개시 어드레스 FW로서 디코더(27A)에 공급된다. 셀렉터(84)에 의해 레지스터(83)가 선택된다.That is, the output FW = ADR1 of the register 91 is held in the register 92 at the pulse timing of the reference picture read start signal RS, and this output is supplied to the decoder 27A as the reference picture read start address FR. Next, at the pulse timing of the decoding start signal DS, the start address ADR2 of section 2 is held in the register 91, which is supplied to the decoder 27A as the decoded picture recording start address FW. The register 83 is selected by the selector 84.

버퍼 메모리(26)로부터 P 화상 P4의 부호화 데이타 DAT0가 판독된다. 또한, 디코더(27A)에 의해, 한쪽에서는 부호화 화상 데이타 DAT0가 복호되어 예측 오차 데이타가 생성되고, 다른쪽에서는 프레임 메모리(14)의 섹션 1로부터 P 화상 P3의 데이타 DAT4가 참조용 데이타로서 어드레스 FR을 선두로 하여 판독되어 예측 화상 데이타가 생성된다. 예측 화상 데이타에 예측 오차 데이타가 가산되어 복호화 화상 데이타 DAT2가 생성되고, 이 DAT2가 프레임 메모리(14)의 섹션 2에 어드레스 FW로부터 개시하여 격납된다.The encoded data DAT0 of the P picture P4 is read from the buffer memory 26. In addition, the decoder 27A decodes the coded image data DAT0 on one side and generates prediction error data. On the other side, the data DAT4 of the P image P3 is the address FR as the reference data from section 1 of the frame memory 14. Is read at the beginning to generate predictive image data. The predictive error data is added to the predictive image data to generate decoded image data DAT2, which is stored in section 2 of the frame memory 14 starting from the address FW.

이하, 상기와 같은 처리가 행하여져, 등배속 재생 모드인 경우의 2배의 속도로 화상의 복호가 행하여지고, 1 화상 걸러서 표시 화상이 출력된다.Hereinafter, the above-described processing is performed, and the image is decoded at twice the speed in the case of the constant speed reproduction mode, and the display image is output by filtering one image.

제3 실시 형태에서는, 도 8의 (b)에 나타내는 것과 같은 섹션 어드레스 관리부(70a)를 이용하여 프레임 메모리(14)에의 복호화 화상 데이타 DAT2의 기록을 행하고 프레임 메모리(14)로부터의 참조 화상 데이타 DAT4 및 표시 화상 데이타 DAT5의 판독을 행하기 때문에, B 화상이 존재하지 않더라도 2배속 재생 모드로 화상을 재생하는 것이 가능해진다.In the third embodiment, the decoded image data DAT2 is written to the frame memory 14 by using the section address management unit 70a as shown in FIG. 8B, and the reference image data DAT4 from the frame memory 14 is recorded. And since display image data DAT5 is read out, it becomes possible to reproduce an image in the double speed reproduction mode even if a B image does not exist.

이상의 설명에서는 B 화상의 부호화 데이타가 존재하지 않는 경우를 설명하였지만, B 화상의 부호화 데이타가 포함되어 있더라도 상기와 같이 하여 2배속으로 표시 화상 데이타를 출력시킬 수 있다.In the above description, the case where the coded data of the B picture does not exist has been described. However, even if the coded data of the B picture is included, display image data can be output at twice the speed as described above.

[제4 실시 형태][4th Embodiment]

도 11은 도 20의 (a)에 대응하는, 본 발명의 제4 실시 형태에 따른 시스템 디코더(110A)의 주요부 구성을 나타낸다.FIG. 11 shows the configuration of main parts of the system decoder 110A according to the fourth embodiment of the present invention, which corresponds to FIG. 20A.

클록 펄스 CLK 및 시스템 타임 클록 STC는 도 20의 (a)와 마찬가지로, 감산 회로(131), D/A 변환기(133), 저역 필터(134), 전압 제어 발진기(135) 및 카운터(132)로써 구성되는 PLL 회로에 의해 생성된다. 클록 펄스 CLK는 N 진(進) 카운터(1391)의 클록 입력단에 공급되어 계수되고, 그 계수치는 디코더(1392, 1393)에 공급된다. 디코더(1392, 1393)는 이 계수치가 소정치에 일치한 것을 검출하여 각각 동기 펄스 USYNC 및 수직 동기 펄스 VSYNC의 펄스를 생성한다. 동기 펄스 USYNC 및 VSYNC의 주기는 필드 주기와 같고, VSYNC는 USYNC를 도 12에 나타낸 δ만큼 지연시킨 것과 같아진다. 동기 펄스 USYNC는 1/2 분주/전연(frequency-divider front edge) 검출 회로(394)에 의해 1/2 분주되고, 그 펄스의 상승이 검출되어 단 펄스화되어, 도 12에 나타내는 것 같은 판독 개시 펄스 ESYNC로서 도 19의 비디오 디코더(113)에 공급된다.The clock pulse CLK and the system time clock STC are the same as the subtraction circuit 131, the D / A converter 133, the low pass filter 134, the voltage controlled oscillator 135 and the counter 132, as in FIG. 20A. It is generated by the PLL circuit configured. The clock pulse CLK is supplied to the clock input terminal of the N-definition counter 1391 and counted, and the count value is supplied to the decoders 1392 and 1393. The decoders 1392 and 1393 detect that this count value matches a predetermined value and generate pulses of the sync pulse USYNC and the vertical sync pulse VSYNC, respectively. The periods of the sync pulses USYNC and VSYNC are equal to the field periods, and VSYNC is equal to the delay of USYNC by δ shown in FIG. The synchronous pulse USYNC is divided into 1/2 by the frequency-divider front edge detection circuit 394, the rising of the pulse is detected, and the pulse is pulsed to start reading as shown in FIG. It is supplied to the video decoder 113 of FIG. 19 as a pulse ESYNC.

클록 펄스 CLK는 카운터(140)의 클록 입력단에도 공급되어 계수되고, 그 계수치는 시스템 타임 클록 STCA로서 비교기(38)에 공급된다. 비교기(38)는 이 STCA를 PTS/ADR 테이블 레지스터(136)로부터의 PTS와 비교하여, 양자가 일치하였을 때 일치 펄스 EQ를 출력한다. STCA는 비디오 데이타의 처리에 이용된다. MPEG-2 방식에 따른 디코딩 타임 스탬프 DTS는 반드시 존재한다고는 할 수 없기 때문에, 판독 개시 펄스 DSYNC는 판독 개시 펄스 ESYNC와 소정의 위상차로 생성된다.The clock pulse CLK is also supplied to the clock input terminal of the counter 140 and counted, and the count value is supplied to the comparator 38 as a system time clock STCA. Comparator 38 compares this STCA with the PTS from PTS / ADR table register 136 and outputs a coincidence pulse EQ when both match. STCA is used for processing video data. Since the decoding time stamp DTS according to the MPEG-2 system is not necessarily present, the read start pulse DSYNC is generated with a predetermined phase difference from the read start pulse ESYNC.

셀렉터(141)에는 PTS와 SCR이 공급되고, 그 중 한쪽이 선택되어 카운터(140)의 데이타 입력단에 공급된다.The selector 141 is supplied with a PTS and an SCR, one of which is selected and supplied to the data input terminal of the counter 140.

제어 회로(137A)에는, CLK, SCR, ESYNC 및 EQ가 공급되고, 제어 회로(137A)는 이들에 따라서 카운터(132), PTS/ADR 테이블 레지스터(136), 카운터(140) 및 셀렉터(141)를 아래와 같이 제어한다.The control circuit 137A is supplied with CLK, SCR, ESYNC, and EQ, and the control circuit 137A accordingly corresponds to the counter 132, the PTS / ADR table register 136, the counter 140, and the selector 141. Control as follows.

셀렉터(141)는 최초, SCR측으로 전환되어 있다. 제어 회로(137A)는 최초의 SCR을 검출하면, 카운터(132, 140)에 공급하는 로드 신호를 액티브로 하여 SCR을 카운터(132, 140)에 로드시킨다. 이것에 의해, 감산 회로(131)의 출력은 0이 되어, 클록 펄스 CLK의 주파수는 VCO(135)의 표준치로 된다. 또한, 도 12의 tt0 (여기서, t는 실시간)에 있어서, STC=STCT를 만족한다.The selector 141 is initially switched to the SCR side. When the control circuit 137A detects the first SCR, the control circuit 137A activates a load signal supplied to the counters 132 and 140 to load the SCRs into the counters 132 and 140. As a result, the output of the subtraction circuit 131 becomes zero, and the frequency of the clock pulse CLK becomes the standard value of the VCO 135. In addition, in tt0 of FIG. 12 (where t is real time), STC = STCT is satisfied.

상기 로드 직후, 제어 회로(137A)는 셀렉터(141)에 대해 PTS를 선택시킨다. 제어 회로(37A)는 일치 펄스 EQ를 수신한 뒤부터 다음 판독 개시 펄스 ESYNC를 수신할 때까지의 도 12에 나타낸 오차 시간 △를 클록 펄스 CLK에서 계수하여, △ 또는 T-△가 소정치 이상일 때에는 판독 개시 펄스 ESYNC의 타이밍으로 카운터(140)로의 로드 신호를 액티브로 하여, PTS를 카운터(140)에 로드시킨다(여기서, T는 프레임 주기). 도 12에 있어서, t=t0에서 화상 PIC0의 PTS=PTS0가 카운터(140)에 로드되어, STCA의 값이 STC의 값으로부터 시프트한다.Immediately after the load, control circuit 137A selects PTS for selector 141. The control circuit 37A counts the error time Δ shown in FIG. 12 in the clock pulse CLK after receiving the coincidence pulse EQ until receiving the next read start pulse ESYNC, and when Δ or T-Δ is equal to or larger than a predetermined value. At the timing of the read start pulse ESYNC, the load signal to the counter 140 is activated to load the PTS to the counter 140 (where T is a frame period). 12, PTS = PTS0 of the picture PIC0 is loaded into the counter 140 at t = t0, and the value of STCA is shifted from the value of STC.

제어 회로(37A)는 다음에, PTS/ADR 테이블 레지스터(136)에 대하여, 다음에 표시해야 할 화상의 PTS 및 판독 개시 어드레스 ADR를 PTS/ADR 테이블 레지스터(136)로부터 판독시킨다.The control circuit 37A next reads, from the PTS / ADR table register 136, the PTS and read start address ADR of the image to be displayed next to the PTS / ADR table register 136. Next, as shown in FIG.

도 12에서는, t=t1에서 PTS=PTS1로 되어, 프레임 메모리(14)로부터 화상 PIC1의 판독이 개시되고, t=t2에서 PTS=PTS2로 되어, 프레임 메모리(14)로부터 화상 PIC2의 판독이 개시된다.In Fig. 12, when t = t1, PTS = PTS1, the reading of the picture PIC1 is started from the frame memory 14, and at t = t2, PTS = PTS2 is started, and the reading of the picture PIC2 from the frame memory 14 is started. do.

제4 실시 형태에 있어서, 프레임 메모리(14)의 기억 용량을 도 2의 경우와 같이 3 프레임 이하로 감소시켜(2 프레임 이상임), 프레임 메모리(14)로부터의 표시 화상 데이타 VDAT5의 판독 개시 시각을 STC=PTS로부터 어긋나게 하여도, 판독 개시 펄스 ESYNC에서 수직 동기 펄스 VSYNC까지의 시간이 최적치 δ와 거의 같게 되어, 결과적으로, 프레임 메모리(14)의 기억 용량을 감소시키는 것이 가능해진다.In the fourth embodiment, the storage capacity of the frame memory 14 is reduced to 3 frames or less (more than 2 frames) as in the case of FIG. 2, so that the read start time of the display image data VDAT5 from the frame memory 14 is reduced. Even if it shifts from STC = PTS, the time from the read start pulse ESYNC to the vertical synchronizing pulse VSYNC becomes almost equal to the optimum value δ, and as a result, the storage capacity of the frame memory 14 can be reduced.

δ는 0이어도 좋다.δ may be zero.

시스템 타임 클록 STCA이 STC와 다르므로, 버퍼 메모리(26)로부터의 부호화 화상 데이타 VDAT0의 판독이 지연되는 경우에는 버퍼 메모리(26)의 기억 용량을 증가시킬 필요가 있지만, 버퍼 메모리(26)에는 대폭 압축된 데이타가 기록되어 있기 때문에, 버퍼 메모리(26)의 기억 용량의 증가는 프레임 메모리(14) 기억 용량의 3 프레임 이하의 감소량에 비하여 매우 작다.Since the system time clock STCA is different from that of the STC, when the reading of the encoded image data VDAT0 from the buffer memory 26 is delayed, the storage capacity of the buffer memory 26 needs to be increased, but the buffer memory 26 is greatly increased. Since the compressed data is recorded, the increase in the storage capacity of the buffer memory 26 is very small compared to the decrease amount of 3 frames or less in the frame memory 14 storage capacity.

[제5 실시 형태][Fifth Embodiment]

도 13은 도 11에 대응하는 본 발명의 제5 실시 형태에 관한 시스템 디코더(110B)의 주요부 구성을 나타낸다.FIG. 13 shows the configuration of main parts of the system decoder 110B according to the fifth embodiment of the present invention corresponding to FIG.

이 시스템 디코더(110B)에서는, 감산 회로(131), D/A 변환기(133), 저역 필터(134), 전압 제어 발진기(135) 및 카운터(132)로 구성되는 PLL 회로 대신에, 자주식 클록 발생기(142)를 이용함으로써, 시스템 디코더(110B)의 구성을 간단화하고, 피드백 제어의 경우보다도 클록 펄스 CLK의 주기를 정확화하고 있다. 제어 회로(137B)는 도 11의 카운터(132)에 대한 로드 신호를 생성할 필요가 없기 때문에, 제어 회로(137A)보다도 구성이 간단해진다. 또한, 도 12에서 δ=0이므로, 비교기(38)로부터 출력되는 일치 펄스 EQ를 판독 개시 펄스 ESYNC로서 이용하고 있다.In this system decoder 110B, a self-propelled clock generator instead of a PLL circuit composed of a subtraction circuit 131, a D / A converter 133, a low pass filter 134, a voltage controlled oscillator 135 and a counter 132. By using 142, the configuration of the system decoder 110B is simplified, and the period of the clock pulse CLK is more accurate than in the case of feedback control. Since the control circuit 137B does not need to generate a load signal for the counter 132 in FIG. 11, the configuration is simpler than that of the control circuit 137A. 12, the coincidence pulse EQ output from the comparator 38 is used as the read start pulse ESYNC.

시스템 디코더(110B)는 도 11의 시스템 디코더(110A)와 동일하다.The system decoder 110B is the same as the system decoder 110A of FIG. 11.

[제6 실시 형태][Sixth Embodiment]

도 14는 도 13에 대응하는 본 발명의 제6 실시 형태에 관한 시스템 디코더(110C)의 주요부 구성을 나타낸다.FIG. 14 shows the configuration of main parts of the system decoder 110C according to the sixth embodiment of the present invention corresponding to FIG.

도 12중의 시간 δ는 1 ms보다 작고, 도 20의 비디오 출력 회로(115)의 구성 또는 처리 속도에 따라서 시간 δ을 무시할 수 있다. 그래서, 시스템 디코더(110C)에서는, 도 13의 디코더(1393)가 생략되고, 수직 동기 펄스 VSYNC가 도 13의 동기 펄스 USYNC로서도 이용되고 있다. 또한, 카운터(140)의 데이타 출력의 1 비트, 예컨대 최상위 비트를 클록 φ로서 N 진(進) 카운터(1391)에 공급함으로써, N 진 카운터(1391A)의 비트수를 도 13의 N 진 카운터(391)보다도 적게 하고 있다. 더욱이, 도 13의 셀렉터(141)를 생략하고, PTS를 카운터(140)의 데이타 입력단에 직접 공급하고 있다. 제어 회로(137C)는 셀렉터(141)에 대한 제어가 불필요하게 되기 때문에, 도 13의 제어 회로(137B)보다도 구성이 간단해진다.The time δ in FIG. 12 is less than 1 ms, and time δ can be ignored depending on the configuration or processing speed of the video output circuit 115 in FIG. 20. Therefore, in the system decoder 110C, the decoder 1393 in FIG. 13 is omitted, and the vertical sync pulse VSYNC is also used as the sync pulse USYNC in FIG. Further, by supplying one bit of the data output of the counter 140, for example, the most significant bit, to the N binary counter 1391 as the clock?, The number of bits of the N binary counter 1391A is supplied to the N binary counter (Fig. 13). 391). Furthermore, the selector 141 of FIG. 13 is omitted, and the PTS is directly supplied to the data input terminal of the counter 140. Since the control circuit 137C does not need to control the selector 141, the configuration is simpler than that of the control circuit 137B of FIG. 13.

제어 회로(137C)는 일치 펄스 EQ를 받은 다음부터 판독 개시 펄스 ESYNC를 받기까지, 도 11에 나타낸 바와 같이 클록 펄스 CLK를 계수하여, △ 또는 T-△이 설정치 이상일 때에는 판독 개시 펄스 ESYNC의 타이밍으로 카운터(140)로의 로드 신호를 액티브로 하여, PTS를 카운터(140)에 로드시킨다. 제어 회로(137C)는 다음에, PTS/ADR 테이블 레지스터(136)에 대하여, 다음에 표시해야 할 화상의 PTS 및 판독 개시 어드레스 ADR를 PTS/ADR 테이블 레지스터(136)로부터 판독시킨다.The control circuit 137C counts the clock pulse CLK after receiving the coincidence pulse EQ and receiving the read start pulse ESYNC, as shown in FIG. The load signal to the counter 140 is made active to load the PTS to the counter 140. The control circuit 137C then reads from the PTS / ADR table register 136 the PTS and read start address ADR of the image to be displayed next to the PTS / ADR table register 136.

본 발명이 양호한 실시 형태로써 설명되었지만, 본 발명은 상기 실시예에 제한되지 않고 발명의 기술 사상 및 핵심적 특징을 벗어나지 않으면서 다양하게 변화되고 변형될 수 있다.Although the present invention has been described as a preferred embodiment, the present invention is not limited to the above embodiments and can be variously changed and modified without departing from the spirit and core features of the invention.

예컨대, 제1 및 제2 실시 형태에 관하여, B 화상용인 물리 뱅크는 프레임 메모리(14A)내의 소정 영역에 확보하도록 하여도 좋다. 물리 섹션의 기억 용량은 톱 필드와 버텀 필드로 나누어 관리하기 때문에, 1매크로 블럭 라인의 절반의 홀수배이어도 좋다. 프레임 메모리(14A)와 버퍼 메모리(26)는 메모리내의 소프트적 분할 영역이더라도 좋으며, 또한, 버퍼 메모리 제어 회로(25)와 프레임 메모리 제어 회로(29)를 1개의 블록으로 구성하여 어드레스 카운터(251, 291)를 1개의 어드레스 카운터로 통합시킨 구성이어도 좋다. 또한, 레터 박스 변환 회로(20) 대신에 다른 화상 축소 변환 회로를 이용한 경우에 적용하여도 좋다.For example, in the first and second embodiments, the physical banks for the B picture may be secured in a predetermined region in the frame memory 14A. Since the storage capacity of the physical section is managed by dividing it into a top field and a bottom field, it may be an odd number of half of one macro block line. The frame memory 14A and the buffer memory 26 may be soft division regions in the memory, and the buffer memory control circuit 25 and the frame memory control circuit 29 are constituted by one block so that the address counter 251, 291 may be integrated into one address counter. In addition, you may apply when the other image reduction conversion circuit is used instead of the letter box conversion circuit 20.

제3 실시 형태에 있어서, 예컨대, 감기 모드 MOD가 2배속 재생 모드인 경우에, 시스템 제어 회로(70)는 디코더(27A)의 동작을 2배속시키고 스킵 신호에 따라 프레임 메모리로부터의 표시 화상 데이타의 판독을 1화상마다 1화상분 스킵시키도록 스킵 신호를 디코더(27A)에 공급하여도 좋다. 이 경우, 제어 회로(12)는 그 자체의 제어 동작을 2배속시킴으로써 디코더(27A)의 동작을 2배속시켜도 좋다. 또한, 뱅크 개시 어드레스 ADR1∼ADR3 대신에 뱅크 번호를 이용하여, 뱅크 번호를 뱅크 개시 어드레스로 변환하는 구성이더라도 좋다. 레지스터 21∼23를 이용하지 않고서, 전원 전위와 접지 전위를 공급하는 배선 수단에 의해 뱅크 개시 어드레스 ADR1∼ADR3 또는 뱅크 번호를 출력하는 구성이라도 좋다. 더욱이, B 화상을 포함하는 경우에는 종래 방법으로 2배속 재생 모드를 실현하고, B 화상을 포함하지 않는 경우에는 본 발명의 방법으로 2배속 재생 모드를 실현하도록 하더라도 좋다.In the third embodiment, for example, in the case where the winding mode MOD is in the double speed reproduction mode, the system control circuit 70 doubles the operation of the decoder 27A and the display image data from the frame memory in accordance with the skip signal. A skip signal may be supplied to the decoder 27A so as to skip reading one picture for each picture. In this case, the control circuit 12 may double the operation of the decoder 27A by doubling its own control operation. The bank number may be converted to the bank start address by using the bank number instead of the bank start addresses ADR1 to ADR3. The bank start addresses ADR1 to ADR3 or bank numbers may be output by wiring means for supplying the power supply potential and the ground potential without using the registers 21 to 23. Furthermore, in the case of including the B picture, the double speed reproduction mode may be realized by the conventional method, and in the case of not including the B image, the double speed reproduction mode may be realized by the method of the present invention.

본 발명의 제4 내지 제6 실시 형태에 있어서, PTS/ADR 테이블 레지스터(136)에 판독 개시 어드레스 ADR를 기록하지 않고서, PTS/ADR 테이블 레지스터(136) 중에 PTS가 격납되는 레지스터의 어드레스를 판독 개시 어드레스 ADR에 대응시키거나, 다른 부분, 예컨대 프레임 메모리(14)의 일부에 PTS/ADR 테이블 레지스터(136)로의 PTS의 격납 순서에 대응하여, 판독 개시 어드레스 ADR를 기록하는 구성이어도 좋다.In the fourth to sixth embodiments of the present invention, the address of the register in which the PTS is stored in the PTS / ADR table register 136 is started reading without writing the read start address ADR in the PTS / ADR table register 136. The read start address ADR may be written in correspondence with the address ADR or in correspondence with the order of storing the PTS in the PTS / ADR table register 136 in another part, for example, a part of the frame memory 14.

이상 설명한 바와 같이, 보다 간단한 구성으로 메모리 용량을 저감하거나 또는 화상 축소 처리를 위해 동작 주파수를 증가시킬 필요성을 제거시켜, 제조 비용을 저감할 수 있는 화상 데이타 처리 방법 및 장치를 제공할 수 있다.As described above, it is possible to provide an image data processing method and apparatus which can reduce the manufacturing cost by eliminating the need to reduce the memory capacity or increase the operating frequency for the image reduction processing with a simpler configuration.

또한, B 화상이 존재하지 않더라도 2배속 감기 모드에서의 화상 재생을 가능하게 하는 동화상 디코더를 제공할 수 있으며, 프레임 메모리(14)의 용량을 감소시키는 것이 가능한 시스템 디코더 및 이것을 이용한 동화상 디코더를 제공할 수 있다.Further, a moving picture decoder capable of reproducing an image in the double-speed winding mode even when no B picture exists can be provided, and a system decoder capable of reducing the capacity of the frame memory 14 and a moving picture decoder using the same can be provided. Can be.

Claims (28)

m=(1 프레임분의 화상 데이타량)/(1 뱅크분의 화상 데이타량)이고, m 및 p가 2≤pm를 만족하는 정수라고 하였을 때, p의 기억 영역을 갖는 메모리와, 상기 메모리에 상기 논리 뱅크 번호의 화상 데이타를 기록시키거나, 상기 메모리에 기록된 상기 논리 뱅크 번호의 화상 데이타를 판독시키기 위해, 1 프레임분의 화상 데이타를 m 뱅크로 분할하여 각 뱅크에 논리 뱅크 번호를 할당하였을 때의 논리 뱅크 번호를 출력하는 제1 제어 회로와, 상기 p 뱅크에 상기 물리 뱅크 번호를 각각 할당하였을 때, 상기 논리 뱅크 번호를 공상태 물리 뱅크 번호 중 하나에 할당하고, 상기 대응 물리 뱅크의 판독이 완료할 때마다 상기 논리 뱅크 번호의 할당 상태를 공상태 물리 뱅크 번호로 개방시키고, 상기 제1 제어 회로에서 출력되는 상기 논리 뱅크 번호를 상기 논리 뱅크 번호가 할당되어 있는 상기 물리 뱅크 번호로 변환하는 뱅크 관리 회로와, 상기 변환된 물리 번호에 대응하는 어드레스로부터 개시하는 상기 물리 뱅크의 화상 데이타를 순차로 액세스하는 메모리 제어 회로를 포함하는 것을 특징으로 하는 화상 데이타 처리 장치.When m = (image data amount for one frame) / (image data amount for one bank) and m and p are integers satisfying 2 ≦ pm, the memory has a storage area of p, and In order to record the image data of the logical bank number or to read the image data of the logical bank number recorded in the memory, image data of one frame is divided into m banks and logical bank numbers are assigned to each bank. A first control circuit for outputting a logical bank number at the time; and when the physical bank numbers are assigned to the p banks, respectively, the logical bank numbers are assigned to one of the state physical bank numbers, and the corresponding physical banks are read. Each time of the completion, the assignment state of the logical bank number is opened to the empty physical bank number, and the logical bank number output from the first control circuit is changed to the logical bank number. A bank management circuit for converting into a physical bank number to which is assigned a memory, and a memory control circuit for sequentially accessing image data of the physical bank starting from an address corresponding to the converted physical number. Data processing unit. 제1항에 있어서, 상기 뱅크 관리 회로는, 할당 제어 신호가 액티브일 때, 공급되는 상기 물리 뱅크 번호와 논리 뱅크 번호와의 관계를 기억하여 상기 할당을 행하고, 상기 할당에 따라서 상기 논리 뱅크 번호를 상기 물리 뱅크 번호로 변환하는 논리/물리 뱅크 번호 변환부와, 상기 물리 뱅크 번호 중 어느 것이 공상태인가 할당 상태인가를 나타내는 할당 상태 기억부와, 상기 제1 제어 회로로부터의 물리 뱅크 할당 요구에 응답하여, 상기 할당 상태 기억부의 내용을 참조하여 상기 공상태를 검출하고, 검출된 상기 공상태를 상기 할당 상태로 변환하여, 상기 할당 상태로 변환된 상기 물리 뱅크 번호 및 액티브로 변환된 상기 할당 제어 신호를 상기 논리/물리 뱅크 번호 변환부에 공급하는 공상태 물리 뱅크 검출/할당부를 포함하는 것을 특징으로 하는 화상 데이타 처리 장치.2. The bank management circuit according to claim 1, wherein when the allocation control signal is active, the bank management circuit stores the relationship between the physical bank number supplied and the logical bank number to perform the allocation, and assigns the logical bank number in accordance with the allocation. A logical / physical bank number converting unit for converting to the physical bank number, an allocation state storage unit indicating which of the physical bank numbers is empty or allocated, and responding to a physical bank allocation request from the first control circuit The empty state is detected with reference to the contents of the allocation state storage unit, and the detected empty state is converted into the allocation state, and the physical bank number converted into the allocation state and the allocation control signal converted into the active state. And a state physical bank detection / allocation section for supplying a signal to the logical / physical bank number conversion section. Data processing apparatus. 제2항에 있어서, 상기 뱅크 관리 회로는 상기 메모리 제어 회로가 1 뱅크분의 액세스 완료를 검출하여, 상기 할당 상태 기억부가 액세스된 상기 1 뱅크분에 대응하는 상기 할당 상태를 상기 공상태로 만드는 물리 뱅크 개방부를 추가로 포함하는 것을 특징으로 하는 화상 데이타 처리 장치.3. The physical apparatus of claim 2, wherein the bank management circuit detects that the memory control circuit has completed access for one bank and makes the allocation state corresponding to the one bank accessed by the allocation state storage unit to be in the empty state. And a bank opening portion. 제2항에 있어서, 상기 공상태 물리 뱅크 검출/할당부는, 물리 뱅크 검색 요구에 응답하여, 상기 할당 상태 기억부의 내용을 참조하여 상기 공상태를 검출하고, 검출된 상기 공상태를 상기 할당 상태로 변환하며, 상기 할당 상태로 변환한 물리 뱅크 번호를 상기 논리/물리 뱅크 번호 변환부에 공급하고 또한 할당 완료 통지를 출력하는 공상태 물리 뱅크 검출부와, 상기 물리 뱅크 검색 요구를 출력하며, 상기 물리 뱅크 할당 요구와 상기 할당 완료 통지를 받았을 때, 액티브로 한 상기 할당 제어 신호를 상기 논리/물리 뱅크 번호 변환부에 공급하는 물리 뱅크 할당부를 포함하는 것을 특징으로 하는 화상 데이타 처리 장치.The empty state physical bank detection / allocation unit detects the empty state with reference to the contents of the allocation state storage unit in response to a physical bank search request, and sets the detected empty state to the allocated state. A state-state physical bank detection section for converting, supplying the physical bank number converted to the allocation state to the logical / physical bank number conversion section, and outputting an allocation completion notice; outputting the physical bank search request; And a physical bank allocating unit for supplying the logical / physical bank number converting unit to the logical / physical bank number converting unit when the allocation request and the allocation completion notification are received. 제1항에 있어서, 상기 메모리는 부호화 화상 데이타용 버퍼 기억 영역을 구비하고, 상기 메모리 제어 회로는 상기 부호화 화상 데이타를 지연시키기 위해 부호화 화상 데이타를 상기 버퍼 기억 영역에 일시 기억시키고, 상기 버퍼 기억 영역으로부터 상기 부호화 화상 데이타를 판독시키고, 상기 화상 데이타 처리 장치는 상기 버퍼 기억 영역으로부터 판독된 상기 부호화 화상 데이타를 복호하여 상기 메모리에 공급하는 디코더를 추가로 포함하고, 상기 제1 제어 회로는 1/N의 속도로 재생하는 슬로우 재생 요구에 응답하고, 상기 메모리 제어 회로에 대하여, 톱 필드 및 버텀 필드 각각을 상기 메모리의 상기 버퍼 기억 영역으로부터 N회 반복하여 판독시고, 상기 판독에 따라서 상기 p 뱅크의 기억 영역에 복호 화상 데이타의 상기 기록 및 판독을 행하게 하는 것을 특징으로 하는 화상 데이타 처리 장치.2. The memory according to claim 1, wherein the memory includes a buffer storage area for coded image data, and the memory control circuit temporarily stores coded image data in the buffer memory area to delay the coded image data, and stores the buffer memory area. The decoder further reads the encoded image data from the apparatus, and the image data processing apparatus further includes a decoder for decoding the encoded image data read out from the buffer storage area and supplying the encoded image data to the memory. In response to the slow regeneration request for reproducing at a speed of, the top field and the bottom field are read N times from the buffer storage area of the memory repeatedly for the memory control circuit, and the p bank is stored in accordance with the readout. To perform the above recording and reading of the decoded image data in the area. Image data processing apparatus characterized in that the. 제5항에 있어서, 상기 제1 제어 회로는 중지 재생 요구에 응답하여, 속도 1/∞의 슬로우 재생 요구에 대한 행해지는 동작과 동일한 동작을 행하는 것을 특징으로 하는 화상 데이타 처리 장치.6. The image data processing apparatus according to claim 5, wherein the first control circuit performs the same operation as that performed for the slow reproduction request of speed 1 / ∞ in response to the pause reproduction request. 제1항에 있어서, 상기 화상 데이타는 MPEG 방식의 화상 데이타이고, 상기 각 물리 뱅크의 기억 용량은 1 매크로 블럭 라인의 정수배인 것을 특징으로 하는 화상 데이타 처리 장치.The image data processing apparatus according to claim 1, wherein the image data is MPEG data, and a storage capacity of each physical bank is an integer multiple of one macroblock line. 제1항에 있어서, 상기 화상 데이타는 MPEG 방식의 화상 데이타이고, 상기 각 물리 뱅크의 기억 용량은 1 매크로 블럭 라인의 절반의 홀수배인 것을 특징으로 하는 화상 데이타 처리 장치.The image data processing apparatus according to claim 1, wherein the image data is MPEG data, and the storage capacity of each physical bank is an odd multiple of one macroblock line. m=(1 프레임분의 화상 데이타량)/(1 뱅크분의 화상 데이타량)이고, m이 정수라고 하였을 때, 화상 데이타를 m 논리 뱅크로 분할하여, 상기 논리 뱅크에 논리 뱅크 번호를 할당하고, p가 2≤pm를 만족하는 정수라고 하였을 때, 화상 데이타 격납용으로서 메모리에 p 물리 뱅크의 기억 영역을 확보하여, 상기 물리 뱅크에 물리 뱅크 번호를 할당하는 단계와, 상기 논리 뱅크 번호 중 하나를 상기 공상태 물리 뱅크 번호 중 하나에 할당하고, 상기 할당된 물리 뱅크 번호를 상기 대응 물리 뱅크의 판독이 완료할 때마다 공상태로 개방시키고, 할당된 상기 논리 뱅크 번호를 상기 대응 물리 뱅크 번호로 변환하는 단계와, 상기 변환된 물리 번호에 대응하는 어드레스로부터 개시하여 1 물리 뱅크분의 화상 데이타를 순차 액세스하는 단계를 포함하는 것을 특징으로 하는 화상 데이타 처리 방법.When m = (image data amount for one frame) / (image data amount for one bank) and m is an integer, the image data is divided into m logical banks, and a logical bank number is assigned to the logical bank. assuming that p is an integer satisfying 2 ≦ pm, allocating a physical bank number to the physical bank by allocating a storage area of a p physical bank in a memory for storing image data; Is assigned to one of the public physical bank numbers, the allocated physical bank number is opened empty every time the reading of the corresponding physical bank is completed, and the allocated logical bank number is assigned to the corresponding physical bank number. Converting and sequentially accessing image data of one physical bank starting from an address corresponding to the converted physical number; Image data processing method. 제9항에 있어서, 상기 부호화 화상 데이타를 지연시키기 위해, 부호화 화상 데이타를 상기 메모리의 버퍼 기억 영역에 일시 기억시키는 단계와, 속도 1/N의 슬로우 재생 요구에 응답하여, 상기 부호화 화상 데이타를 동일 톱 필드 및 동일 버텀 필드 각각에 관해서 상기 버퍼 기억 영역으로부터 N회 반복하여 판독시키는 단계와, 상기 버퍼 기억 영역으로부터 판독된 상기 부호화 화상 데이타를 복호시키는 단계와, 상기 부호화 화상 데이타를 상기 물리 뱅크에 공급하는 단계를 추가로 포함하는 것을 특징으로 하는 화상 데이타 처리 방법.10. The method according to claim 9, wherein the coded image data is temporarily stored in a buffer storage area of the memory in order to delay the coded image data, and the coded image data is identical in response to a slow reproduction request of speed 1 / N. Repeatedly reading the top field and the same bottom field from the buffer storage area N times, decoding the coded image data read from the buffer storage area, and supplying the coded image data to the physical bank. The image data processing method further comprises the step of. 메모리와, 상기 메모리에 복호화 화상 데이타를 일시 기억하고, 상기 메모리내의 상기 복호화 화상 데이타를 참조하여 예측 화상을 생성하고, 상기 메모리로부터 부호화 이전의 원화상 순서로 상기 복호화 화상 데이타를 판독하는 메모리 제어/예측 화상 생성 회로와, 블럭 단위로 화상이 축소하도록, 상기 복호화 화상 데이타를 변환하는 축소 변환 회로와, 상기 메모리에 상기 복호화 화상 데이타를 기록하기 전에 상기 축소 변환 회로를 통과시킬 것인지의 여부를 선택하고, 상기 메모리로부터 복호화 화상 데이타를 판독한 후에 상기 축소 변환 회로를 통과시킬 것인지의 여부를 선택하는 전환 회로를 포함하고, 상기 메모리 제어/예측 화상 생성 회로는 복호화 화상 데이타가 상기 메모리에 기록되는지 상기 메모리로부터 판독되는지의 여부와, 표시 모드가 축소 모드인지의 여부와, 상기 복호화 화상 데이타가 비 참조 화상인지의 여부에 따라서, 상기 전환 회로를 제어하는 것을 특징으로 하는 화상 데이타 처리 장치.A memory control for temporarily storing decoded image data in the memory, in the memory, generating a predictive image with reference to the decoded image data in the memory, and reading the decoded image data from the memory in the order of the original image before encoding; A predictive image generation circuit, a reduction conversion circuit for converting the decoded image data so that the image is reduced in units of blocks, and whether or not to pass the reduced conversion circuit before recording the decoded image data in the memory; And a switching circuit for selecting whether or not to pass the reduced conversion circuit after reading the decoded image data from the memory, wherein the memory control / predictive image generation circuit includes whether or not decoded image data is written to the memory. Whether or not it is read from Degas and whether or not the reduction mode, according to whether or not the decoded image data is a non-reference image, the image data processing device, characterized in that for controlling the switching circuit. 제11항에 있어서, 상기 제어/예측 생성 회로는, 상기 메모리에 복호화 화상 데이타를 기록하는 동안, 표시 모드가 축소 모드이고 상기 복호화 화상 데이타가 비 참조 화상인 제1 경우에는 상기 복호화 화상 데이타가 상기 축소 변환 회로를 통과하여 상기 메모리에 기록되도록 상기 전환 회로를 제어하고, 상기 제1 경우가 아닌 경우에는 상기 복호화 화상 데이타가 상기 축소 변환 회로를 통과하지 않고서 상기 메모리에 기록되도록 상기 전환 회로를 제어하고, 상기 메모리로부터 상기 복호화 화상 데이타를 판독하는 동안, 상기 제1 경우 또는 상기 표시 모드가 상기 축소 모드가 아닌 제2 경우에는 상기 메모리로부터 판독된 상기 복호화 화상 데이타가 상기 축소 변환 회로를 통과하지 않도록 상기 전환 회로를 제어하고, 상기 제1 경우도 아니고 상기 제2 경우도 아닌 경우에는 상기 메모리로부터 판독된 상기 복호화 화상 데이타가 상기 축소 변환 회로를 통과하도록 상기 전환 회로를 제어하는 것을 특징으로 하는 화상 데이타 처리 장치.The decoded image data according to claim 11, wherein the control / prediction generation circuit is configured to perform the decoded image data when the display mode is a reduced mode and the decoded image data is a non-reference image while recording decoded image data in the memory. Control the switching circuit to pass through the reduction conversion circuit and to write to the memory; otherwise control the switching circuit so that the decoded image data is written to the memory without passing through the reduction conversion circuit; While the decoded image data is read from the memory, the decoded image data read from the memory does not pass through the reduced conversion circuit in the first case or in the second case when the display mode is not the reduced mode. To control the switching circuit and not the first case; If not, the image data processing apparatus is characterized in that the switching circuit is controlled so that the decoded image data read out from the memory passes through the reduced conversion circuit. 메모리와, 블럭 단위로 화상이 축소하도록, 화상 데이타를 변환하는 축소 변환 회로와, 상기 메모리에 상기 화상 데이타를 기록하기 전에 상기 축소 변환 회로를 통과시킬 것인지의 여부와, 상기 메모리로부터 상기 화상 데이타를 판독한 후에 상기 축소 변환 회로를 통과시킬 것인지의 여부를 선택하는 전환 회로와, 상기 화상 데이타가 상기 메모리에 기록되는지 상기 메모리로부터 판독되는지의 여부와, 표시 모드가 축소 모드인지의 여부와, 상기 복호화 화상 데이타가 비 참조 화상인지의 여부에 따라서 상기 전환 회로를 제어하는 제어 회로를 포함하는 것을 특징으로 하는 화상 데이타 처리 장치.A memory, a reduction conversion circuit for converting the image data so that the image is reduced in units of blocks, whether or not to pass the reduction conversion circuit before recording the image data in the memory, and the image data from the memory. A switching circuit for selecting whether or not to pass the reduction conversion circuit after reading, whether the image data is written to or read from the memory, whether the display mode is the reduction mode, and the decoding And a control circuit which controls the switching circuit in accordance with whether or not the image data is a non-reference image. 상기 복호 화상 데이타의 복호 화상을 일시 기억하기 위한 메모리와, 상기 복호 화상 사이즈를 축소하기 위한 축소 변환 회로를 갖는 부호화 화상 데이타를 복호하는 화상 데이타 처리 방법에 있어서, 상기 메모리에 상기 복호화 화상 데이타를 기록하는 동안, 표시 모드가 축소 모드이고 상기 복호 화상 데이타가 비 참조 화상인 제1 경우에는 상기 복호 화상 데이타를 상기 축소 변환 회로에 통과시켜 상기 메모리에 기록하고, 상기 제1 경우가 아닌 경우에는 상기 복호 화상 데이타를 상기 축소 변환 회로에 통과시키지 않고서 상기 메모리에 기록하는 단계와, 표시를 위해 상기 메모리로부터 상기 복호화 화상 데이타를 판독하는 동안, 상기 제1 경우 또는 상기 표시 모드가 축소 모드가 아닌 제2 경우에는 상기 복호 화상 데이타를 상기 축소 변환 회로를 통과시키지 않고서 상기 메모리로부터 판독하고, 상기 제1 경우도 아니고 상기 제2 경우도 아닌 경우에는 상기 메모리로부터 상기 복호 화상 데이타를 상기 축소 변환 회로에 통과시켜 판독하는 단계를 포함하는 것을 특징으로 하는 화상 데이타 처리 방법.An image data processing method for decoding coded image data having a memory for temporarily storing a decoded image of the decoded image data and a reduced conversion circuit for reducing the decoded image size, wherein the decoded image data is recorded in the memory. In the first case where the display mode is the reduced mode and the decoded image data is a non-reference image, the decoded image data is passed through the reduced conversion circuit to be recorded in the memory. Writing the image data into the memory without passing it through the reduction conversion circuit, and while reading the decoded image data from the memory for display, the first case or the second case when the display mode is not the reduced mode. The reduced image conversion circuit converts the decoded image data into And reading from the memory without passing through and passing the decoded image data from the memory to the reduction conversion circuit in the case of neither the first case nor the second case. Treatment method. 프레임 메모리와, 복호화 화상 데이타를 얻기 위해 부호화 화상 데이타를 복호하여 상기 프레임 메모리에 기록하고, 예측 화상 데이타 생성을 위해 상기 프레임 메모리로부터 참조 화상 데이타를 판독하고, 상기 프레임 메모리로부터의 상기 복호 화상 데이타를 표시 화상 데이타로서 판독하는 디코더와, 감기 모드가 2배속 재생 모드인 경우에, 상기 디코더가 통상 속도의 2배의 평균 속도로 상기 부호화 화상 데이타를 복호하여 상기 프레임 메모리에 기록하고 상기 프레임 메모리로부터의 상기 참조 화상 데이타를 판독하고, 또한, 상기 디코더가 통상의 속도로 상기 프레임 메모리로부터 1화상씩 걸러서 상기 복호 화상 데이타를 상기 표시 화상 데이타로서 판독하도록 하는 제어 회로를 포함하는 것을 특징으로 하는 동화상 복호 장치.Decoded image data is decoded and recorded in the frame memory to obtain a frame memory and decoded image data, reference image data is read from the frame memory to generate predictive image data, and the decoded image data from the frame memory is read. A decoder for reading as display image data, and when the winding mode is a double speed reproduction mode, the decoder decodes the coded image data at an average speed of twice the normal speed, writes the encoded image data to the frame memory, and And a control circuit which reads the reference picture data, and causes the decoder to filter the decoded picture data as the display picture data by filtering one picture from the frame memory at a normal speed. . 제15항에 있어서, 상기 제어 회로에는 펄스 주기가 필드 주기와 같은 복호 동기 신호, 화상 부호화 타입 및 상기 감기 모드가 공급되고, 상기 제어 회로는 상기 감기 모드가 등배속 재생 모드일 때에는 상기 복호 동기 신호의 1 펄스씩 걸러서 복호 개시 신호의 펄스를 생성하고, 상기 감기 모드가 2배속 재생 모드일 때에는 상기 복호 동기 신호의 각 펄스에 따라서 상기 복호 개시 신호의 펄스를 생성하고, 상기 화상 부호화 타입이 I 화상을 나타내고 있을 때를 제외하고는 상기 복호 개시 신호의 펄스에 대응하여 참조 화상 판독 개시 신호의 펄스를 생성하고, 상기 복호 동기 신호를 1/2 분주하고 지연시킨 신호에 대응하여 표시 화상 판독 개시 신호를 생성하고, 상기 디코더는 상기 복호 개시 신호에 동기하여 복호를 개시하고, 상기 참조 화상 판독 개시 신호에 동기하여 상기 참조 화상 데이타의 판독을 개시하고, 상기 표시 화상 판독 개시 신호에 동기하여 상기 표시 화상 데이타의 판독을 개시하는 것을 특징으로 하는 동화상 복호 장치.16. The decoding circuit according to claim 15, wherein the control circuit is supplied with a decoding synchronization signal having a pulse period equal to a field period, an image coding type, and the winding mode, and the control circuit performs the decoding synchronization signal when the winding mode is an equal-speed reproduction mode. Pulses of the decoding start signal are generated by filtering every one pulse of the signal, and when the winding mode is the double speed reproduction mode, the pulses of the decoding start signal are generated according to each pulse of the decoding synchronization signal, and the image encoding type is I picture. Except when is indicated, a pulse of the reference image reading start signal is generated in response to the pulse of the decoding start signal, and the display image reading start signal is generated in response to a signal that is divided into 1/2 and delayed the decoding synchronization signal. And the decoder starts decoding in synchronization with the decoding start signal and starts reading the reference picture. In synchronization with the call initiation reading of the reference image data, and the moving picture decoding apparatus, characterized in that for starting the reading of the display image data in synchronism with the displayed image reading start signal. 제16항에 있어서, 상기 제어 회로는, 제1, 제2 및 제3 레지스터와, 상기 복호 개시 신호의 펄스 타이밍으로 상기 제1 레지스터에 복호 화상 기록 개시 어드레스를 유지시키고, 상기 참조 화상 판독 개시 신호의 펄스 타이밍으로 상기 제2 레지스터에 상기 제1 레지스터의 출력을 유지시키며, 상기 표시 화상 판독 개시 신호의 펄스 타이밍으로 상기 제3 레지스터에 상기 제2 레지스터의 출력을 유지시키는 레지스터 제어 회로를 포함하고, 상기 디코더는 상기 제1 레지스터의 상기 출력을 상기 복호 화상 기록 개시 어드레스로서 수신하고, 상기 제2 레지스터의 상기 출력을 참조 화상 판독 개시 어드레스로서 수신하고, 상기 제3 레지스터의 출력을 표시 화상 판독 개시 어드레스로서 수신하는 것을 특징으로 하는 동화상 복호 장치.17. The control circuit according to claim 16, wherein the control circuit maintains a decoded image write start address in the first register at the first, second, and third registers and the pulse timing of the decode start signal. A register control circuit for holding an output of the first register in the second register at a pulse timing of, and holding an output of the second register in the third register at a pulse timing of the display image read start signal; The decoder receives the output of the first register as the decoded picture recording start address, receives the output of the second register as a reference picture read start address, and outputs the output of the third register to a display image read start address. A video decoding apparatus, characterized in that receiving as a. 제17항에 있어서, 상기 레지스터 제어 회로는 3 영역의 개시 어드레스를 순차 주기로 상기 제1 레지스터에 유지시키는 것을 특징으로 하는 동화상 복호 장치.18. The moving picture decoding apparatus according to claim 17, wherein the register control circuit maintains start addresses of three regions in the first register in sequential periods. 제17항에 있어서, 상기 제1 레지스터의 데이타 출력단은 상기 제2 레지스터의 데이타 입력단에 접속되고, 상기 제2 레지스터의 데이타 출력단은 상기 제3 레지스터의 데이타 입력단에 접속되는 것을 특징으로 하는 동화상 복호 장치.18. The video decoding apparatus of claim 17, wherein a data output terminal of the first register is connected to a data input terminal of the second register, and a data output terminal of the second register is connected to a data input terminal of the third register. . 제15항에 있어서, 상기 감기 모드가 2배속 재생 모드인 경우, 상기 제어 회로는 상기 디코더의 동작을 2배속시키고, 상기 프레임 메모리로부터의 상기 표시 화상 데이타의 판독을 1화상마다 스킵하는 것을 특징으로 하는 동화상 복호 장치.16. The control circuit according to claim 15, wherein when the winding mode is a double speed reproduction mode, the control circuit doubles the operation of the decoder and skips reading of the display image data from the frame memory every picture. Moving picture decoding device. 제20항에 있어서, 상기 제어 회로는 그 자체의 제어 동작을 2배속시킴으로써, 상기 디코더의 동작을 2배속시키는 것을 특징으로 하는 동화상 복호 장치.21. The moving picture decoding apparatus according to claim 20, wherein said control circuit doubles the operation of said decoder to double the operation of said decoder. 클록 펄스를 발생하는 회로와, 상기 클록 펄스를 계수하여, 그 계수치를 시스템 타임 클록으로서 출력하는 카운터와, 상기 클록 펄스에 따라서 프레임 주기의 동기 펄스를 생성하는 동기 펄스 생성 회로와, 공급되는 프레젠테이션 타임 스탬프가 일시 기억되는 기억 수단과, 상기 시스템 타임 클록이 상기 기억 수단으로부터 판독된 프레젠테이션 타임 스탬프에 일치하는 것을 검출하는 비교 회로와, 상기 동기 펄스에 응답하여, 화상 재생 순서에 대응하는 상기 프레젠테이션 타임 스탬프를 상기 기억 수단으로부터 판독시켜, 상기 기억 수단으로부터 판독된 상기 프레젠테이션 타임 스탬프를 상기 카운터에 로드시키는 제어 회로를 포함하고, 상기 동기 펄스 또는 상기 일치를 검출할 때 생성되는 펄스는 표시 화상 데이타 판독 개시 펄스로서 이용되는 것을 특징으로 하는 시스템 디코더.A circuit for generating a clock pulse, a counter for counting the clock pulse and outputting the count value as a system time clock, a synchronous pulse generating circuit for generating a synchronous pulse of frame period in accordance with the clock pulse, and a presentation time supplied A storage means for temporarily storing a stamp, a comparison circuit for detecting that the system time clock coincides with a presentation time stamp read from the storage means, and the presentation time stamp corresponding to an image reproduction sequence in response to the synchronization pulse. A control circuit which reads from the storage means and loads the presentation time stamp read from the storage means into the counter, wherein a pulse generated when detecting the sync pulse or the coincidence is a display image data read start pulse. Used as A system decoder, characterized by. 제22항에 있어서, 상기 제어 회로는 상기 일치가 검출되고 나서 상기 동기 펄스가 생성되기까지의 시간 △와 시간 {(프레임 주기)-△}가 설정치보다 클 때, 상기 프레젠테이션 타임 스탬프를 상기 카운터에 로드시키는 것을 특징으로 하는 시스템 디코더.23. The apparatus of claim 22, wherein the control circuit sends the presentation time stamp to the counter when the time [Delta] and time {(frame period)-[Delta]} until the sync pulse is generated after the match is detected is greater than a set value. And a system decoder for loading. 제22항에 있어서, 시스템 클록 레퍼런스와 상기 기억 수단으로부터 판독된 프레젠테이션 타임 스탬프 중 한쪽을 선택하여 상기 카운터에 공급하는 셀렉터를 추가로 포함하고, 상기 제어 회로는 상기 셀렉터에 대하여, 상기 시스템 클록 레퍼런스를 선택시킨 다음 상기 프레젠테이션 타임 스탬프를 선택시키고, 상기 동기 펄스에 응답하여 상기 셀렉터의 출력을 상기 카운터에 로드시키는 것을 특징으로 하는 시스템 디코더.23. The apparatus of claim 22, further comprising a selector for selecting one of a system clock reference and a presentation time stamp read from the storage means and supplying the counter to the selector, wherein the control circuit is configured to supply the selector with the system clock reference. Select the presentation time stamp, and load the output of the selector into the counter in response to the sync pulse. 제24항에 있어서, 상기 제어 회로는 상기 셀렉터에 대하여, 최초로 공급되는 상기 시스템 클록 레퍼런스를 선택시킨 다음 상기 프레젠테이션 타임 스탬프를 선택시키는 것을 특징으로 하는 시스템 디코더.25. The system decoder of claim 24, wherein the control circuit selects, for the selector, the system clock reference initially supplied and then selects the presentation time stamp. 제22항에 있어서, 상기 클록 펄스를 발생하는 회로는 상기 시스템 클록 레퍼런스가 제공될 때, 상기 계수치가 상기 시스템 클록 레퍼런스에 일치하도록 피드백 제어하는 PLL 회로인 것을 특징으로 하는 시스템 디코더.23. The system decoder of claim 22, wherein the circuit for generating the clock pulse is a PLL circuit for feedback control such that the count value matches the system clock reference when the system clock reference is provided. 제22항에 있어서, 상기 클록 펄스를 발생하는 회로는 자주식 클록 발생 회로인 것을 특징으로 하는 시스템 디코더.23. The system decoder of claim 22, wherein the circuit for generating the clock pulses is a self propagated clock generation circuit. MPEG 방식으로 공급되고 부호화된 화상 데이타를 일시 기억시키는 버퍼 회로 및 부호화 화상 판독 개시 펄스에 응답하여 부호화 화상 데이타를 판독하는 메모리 제어 회로와, 프레임 메모리와, 복호 화상 데이타 생성을 위해 상기 버퍼 회로로부터 판독된 상기 부호화 화상 데이타를 복호하고, 상기 복호 화상 데이타를 상기 프레임 메모리에 기억하고, 상기 복호 화상 데이타를 상기 프레임 메모리로부터 참조 화상 데이타로서 판독하고, 프레임 메모리로부터 상기 복호 화상 데이타를 판독하여 표시 화상 데이타 판독 개시 펄스에 동기하여 표시하는 화상 디코더와, 시스템 디코더를 포함하고, 상기 시스템 디코더는, 클록 펄스를 발생하는 회로와, 상기 클록 펄스를 계수하여, 그 계수치를 시스템 타임 클록으로서 출력하는 카운터와, 상기 클록 펄스에 따라서 프레임 주기의 동기 펄스를 생성하는 동기 펄스 생성 회로와, 공급되는 프레젠테이션 타임 스탬프가 일시 기억되는 기억 수단과, 상기 시스템 타임 클록이 상기 기억 수단으로부터 판독된 프레젠테이션 타임 스탬프에 일치하는 것을 검출하는 비교 회로와, 상기 동기 펄스에 응답하여, 화상 재생 순서에 대응하는 상기 프레젠테이션 타임 스탬프를 상기 기억 수단으로부터 판독시켜, 상기 기억 수단으로부터 판독된 상기 프레젠테이션 타임 스탬프를 상기 카운터에 로드시키는 제어 회로를 포함하고, 상기 동기 펄스 또는 상기 일치를 검출할 때 생성되는 펄스는 표시 화상 데이타 판독 개시 펄스로서 이용되는 것을 특징으로 하는 동화상 복호 장치.A buffer circuit for temporarily storing image data supplied and encoded in the MPEG method, a memory control circuit for reading encoded image data in response to an encoded image reading start pulse, a frame memory, and reading from the buffer circuit for generating decoded image data. Decoded coded image data, store the decoded image data in the frame memory, read the decoded image data as reference image data from the frame memory, read the decoded image data from frame memory, and display image data. An image decoder for displaying in synchronization with a read start pulse, and a system decoder, wherein the system decoder includes a circuit for generating a clock pulse, a counter for counting the clock pulse, and outputting the count value as a system time clock; According to the clock pulse Therefore, a synchronous pulse generating circuit for generating a synchronous pulse of a frame period, storage means for temporarily storing the supplied presentation time stamp, and a comparison circuit for detecting that the system time clock matches the presentation time stamp read out from the storage means. And a control circuit that reads the presentation time stamp corresponding to the image reproduction order from the storage means in response to the sync pulse, and loads the presentation time stamp read from the storage means into the counter, A moving picture decoding apparatus, characterized in that a pulse generated when detecting a synchronization pulse or said coincidence is used as a display image data read start pulse.
KR1019980000959A 1997-03-19 1998-01-15 Image data processing method and apparatus, moving picture decoder and system decoder using same KR19980079615A (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
JP6620097A JPH10262215A (en) 1997-03-19 1997-03-19 Moving image decoder
JP97-065790 1997-03-19
JP6579097 1997-03-19
JP97-066200 1997-03-19
JP97-066661 1997-03-19
JP6666197A JPH10262246A (en) 1997-03-19 1997-03-19 System decoder and dynamic image decoder using the same
JP16458597A JPH10322643A (en) 1997-03-19 1997-06-20 Image data processing method and device therefor
JP97-164585 1997-06-20

Publications (1)

Publication Number Publication Date
KR19980079615A true KR19980079615A (en) 1998-11-25

Family

ID=27464618

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980000959A KR19980079615A (en) 1997-03-19 1998-01-15 Image data processing method and apparatus, moving picture decoder and system decoder using same

Country Status (3)

Country Link
KR (1) KR19980079615A (en)
DE (1) DE19802324A1 (en)
FR (4) FR2761223A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7804895B2 (en) 2004-05-27 2010-09-28 Samsung Electronics Co., Ltd. Apparatus and method for detecting letter box, and MPEG decoding device having the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7804895B2 (en) 2004-05-27 2010-09-28 Samsung Electronics Co., Ltd. Apparatus and method for detecting letter box, and MPEG decoding device having the same
US8204108B2 (en) 2004-05-27 2012-06-19 Samsung Electronics Co., Ltd. Apparatus and method for detecting letter box, and MPEG decoding device having the same

Also Published As

Publication number Publication date
FR2765444A1 (en) 1999-01-01
FR2765442A1 (en) 1999-01-01
FR2761223A1 (en) 1998-09-25
FR2765443A1 (en) 1999-01-01
DE19802324A1 (en) 1998-10-01

Similar Documents

Publication Publication Date Title
US8457212B2 (en) Image processing apparatus, image processing method, recording medium, and program
US6084637A (en) Decoding and displaying device for coded picture data
RU2160969C2 (en) Decoder of movable image and process recording group of data of videosignal in synchronous dynamic device
JPH08305860A (en) Image decoding display unit
US6181746B1 (en) Image data decoding method and apparatus using memory for storing decoded data
JP4121590B2 (en) Image display device and special reproduction control device thereof
JP2000106677A (en) Compression stream decoder and compression stream decoding method
US6658154B2 (en) Method and device for decoding moving picture
US6122020A (en) Frame combining apparatus
EP0820199B1 (en) Image signal processing apparatus and method
US6490407B2 (en) Recording and reproduction of mixed moving and still images
JP2000217109A (en) Dynamic image reproducing device and reproducing method
KR19980079615A (en) Image data processing method and apparatus, moving picture decoder and system decoder using same
KR100285129B1 (en) Image data decoding display method and apparatus
JP3569961B2 (en) Digital video signal decoding device
JP2000330864A (en) Control of synchronous dram
JP3301274B2 (en) Decoding device for encoded video data
JPH11205739A (en) Image reproduction method and system
JPH10322643A (en) Image data processing method and device therefor
KR100243477B1 (en) Apparatus of generating display address in a frame memory
KR20000047482A (en) Mpeg video decoder and mpeg video decoding method
JP3884830B2 (en) Image signal processing device
JPH0993540A (en) Special reproduction system for vod system
JP3303979B2 (en) Image playback device
JPH10262215A (en) Moving image decoder

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee