KR100376904B1 - Video decoding device to control encoded video data - Google Patents

Video decoding device to control encoded video data Download PDF

Info

Publication number
KR100376904B1
KR100376904B1 KR1019950041837A KR19950041837A KR100376904B1 KR 100376904 B1 KR100376904 B1 KR 100376904B1 KR 1019950041837 A KR1019950041837 A KR 1019950041837A KR 19950041837 A KR19950041837 A KR 19950041837A KR 100376904 B1 KR100376904 B1 KR 100376904B1
Authority
KR
South Korea
Prior art keywords
picture
video
bit stream
decoding
buffer
Prior art date
Application number
KR1019950041837A
Other languages
Korean (ko)
Other versions
KR960020536A (en
Inventor
오까다시게유끼
카와하라케이따
타나하시나오끼
나가시마하야또
Original Assignee
산요 덴키 가부시키가이샤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 산요 덴키 가부시키가이샤 filed Critical 산요 덴키 가부시키가이샤
Publication of KR960020536A publication Critical patent/KR960020536A/en
Application granted granted Critical
Publication of KR100376904B1 publication Critical patent/KR100376904B1/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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/184Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream

Landscapes

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

Abstract

비디오 스트림을 저장하기 위한 버퍼가 오버플로윙 및/또는 언더플로윙하는 것을 방지할 수 있는 MPEG 비디오 디코더가 기술된다. 비디오 디코딩 장치는 디코드된 픽처를 생성하기 위해 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코드한다. 비디오 디코딩 장치는 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼; 디코드된 픽처를 생성하기 위해 비트 버퍼로부터 출력된 비디오 비트 스트림을 수신하고 비디오 비트 스트림을 디코딩하기 위한 디코딩 회로, 및 비트 버퍼내에 저장된 비디오 비트 스트림의 데이량에 기초하여 비트 버퍼로부터 디코딩 회로에 공급될 비디오 비트 스트림의 양을 제어하기 위한 비디오 비트 스트림 제어 회로를 포함한다.An MPEG video decoder is described that can prevent the buffer for storing a video stream from overflowing and / or underflowing. The video decoding apparatus decodes a coded video bit stream comprising a series of pictures to produce a decoded picture. The video decoding apparatus includes a bit buffer for temporarily storing a video bit stream; A decoding circuit for receiving the video bit stream output from the bit buffer to generate a decoded picture and decoding the video bit stream, and supplying the decoding circuit from the bit buffer to the decoding circuit based on the amount of data of the video bit stream stored in the bit buffer. Video bit stream control circuitry for controlling the amount of video bit stream.

Description

인코드된 비디오 데이타를 제어할 수 있는 비디오 디코딩 장치Video decoding device capable of controlling encoded video data

본 발명은 일반적으로 인코드된 비디오 데이타를 디코드하는 디코더에 관한 것이다. 특히, 본 발명은 버퍼내에 저장된 인코드된 비디오 데이타를 제어하는 향상된 비디오 디코더에 관한 것이다.The present invention generally relates to a decoder for decoding encoded video data. In particular, the present invention relates to an improved video decoder for controlling encoded video data stored in a buffer.

광대한 양 및 다양한 형태의 멀티미디어 정보를 다루는 업무용 및 가정용 엔터테인먼트 시스템뿐만 아니라 개인용 컴퓨터는 기록된 비디오 및 오디오 정보를 디지탈적으로 고속 처리해야 한다. 이러한 고속 정보 처리는 처리 속도에 직접 영향을 미치는 데이타 압축 및 신장에 의해 달성될 수 있다. "MPEG" 규격은 처리 속도를 향상시키기 위한 이러한 데이타 압축 및 신장 기술 중 하나이다. 현재 MPEG 규격은 ISO(International Organization for Standardization)/IEC(International Electrotechnical Commission)하에 MPEG 위원회(ISO/IEC/JTC1/SC29/WE11)에 의해 표준화 진행중에 있다.Personal computers, as well as business and home entertainment systems that handle vast amounts and various forms of multimedia information, must digitally process recorded video and audio information. This high speed information processing can be achieved by data compression and decompression which directly affects the processing speed. The "MPEG" specification is one of these data compression and decompression techniques to improve processing speed. The MPEG standard is currently being standardized by the MPEG Committee (ISO / IEC / JTC1 / SC29 / WE11) under the International Organization for Standardization (ISO) / International Electrotechnical Commission (IEC).

MPEG 규격은 3개의 부분으로 구성된다. 1 부분(ISO/IEC IS 11172-1: MPEG 시스템 부분)은 비디오 데이타 및 오디오 데이타의 멀티플렉스 구성 및 동기 시스템을 규정한다. 2부분(ISO/IEC IS 11172-2; MPEG 비디오 부분)은 비디오 데이타의 고능률 코딩 시스템 및 비디오 데이타에 대한 포맷을 규정한다. 3 부분(ISO/IEC IS 11172-3: MPEG 오디오 부분)은 오디오 데이타의 고능률 코딩 시스템 및 오디오 데이타에 대한 포맷을 규정한다.The MPEG standard consists of three parts. Part 1 (ISO / IEC IS 11172-1: MPEG system part) defines a multiplex configuration and synchronization system of video data and audio data. Part 2 (ISO / IEC IS 11172-2; MPEG video part) defines a high efficiency coding system of video data and a format for video data. The three part (ISO / IEC IS 11172-3: MPEG audio part) defines a high efficiency coding system of audio data and a format for the audio data.

MPEC 비디오 부분을 다루는 비디오 데이타는 초당 수십 프레임(예를 들어 30 프레임)으로 각각 구성되는 동화상을 포함한다. 이 비디오 데이타는 다수의 그룹 오브 픽처(Groups Of Picture; GOP)를 포함하는 시퀀스, 다수의 픽처를 포함하는GOP, 각각의 픽처내의 다수의 슬라이스(slice), 각각의 슬라이스내의 다수의 매크로블럭(macroblock) 및 각각의 매크로블럭내의 다수의 블럭의 6개의 층 구성을 갖는다.Video data dealing with the MPEC video portion includes moving pictures each consisting of tens of frames per second (eg 30 frames). The video data includes a sequence comprising a plurality of groups of pictures (GOP), a GOP containing a plurality of pictures, a plurality of slices within each picture, and a plurality of macroblocks within each slice. ) And a six-layered configuration of multiple blocks in each macroblock.

최근에, MPEG-1 및 MPEG-2의, 2개의 MPEG 규격이 있는데, 이들은 주로 비디오 및 오디오 데이타가 인코드되는 인코드 레이트(rate)에서 차이가 난다. MPEG-1에는 프레임은 픽처와 연관되어 있다. MPEG-2에는, 프레임 또는 필드가 픽처와 연관되어 있다. 프레임이 픽처와 연관되어 있는 구성은 프레임 구성이라고 하고, 필드가 픽처와 연관되어 있는 구성은 필드 구성이라고 한다.Recently, there are two MPEG standards, MPEG-1 and MPEG-2, which differ mainly in the encode rate at which video and audio data are encoded. In MPEG-1, a frame is associated with a picture. In MPEG-2, a frame or field is associated with a picture. A configuration in which a frame is associated with a picture is called a frame configuration, and a configuration in which a field is associated with a picture is called a field configuration.

MPEG에는, 프레임간 예측(intra-frame prediction)이라고 하는 압축 기술이 사용된다. 프레임간 예측은 프레임들중 시간적 상관(chronological correlation)에 기초하여 프레임간 데이타를 압축한다. 프레임간 예측은 양방향 예측을 포함한다. 양방향 예측은 과거의 재생 화상(또는 픽처)로부터 현재 재생 화상(또는 픽처)를 예측하기 위한 순방향 예측, 및 미래의 재생 화상으로부터 현재 재생 화상을 예측하기 위한 역방향 예측을 모두 사용한다.In MPEG, a compression technique called intra-frame prediction is used. Interframe prediction compresses interframe data based on chronological correlation among frames. Interframe prediction includes bidirectional prediction. Bidirectional prediction uses both forward prediction for predicting the current playback picture (or picture) from past playback pictures (or pictures), and backward prediction for predicting the current playback picture from future playback pictures.

양방향 예측은 I(Intra-coded) 픽처 P(Predictive-coded) 픽처 및 B(Bidirectionally-coded) 픽처를 사용한다. I-픽처는 과거 및 미래의 재생 화상에 상관없이 독립적으로 생성된다. P-픽처는 순방향 예측(과거의 디코드된 1- 또는 P-픽처로부터의 예측)에 의해 생성된다. B-픽처는 양방향 예측에 의해 재생된다. 양방향 예측에서, B-픽처는 다음의 3개의 예측 중 하나의 예측에 의해 생성된다.Bidirectional prediction uses an intra-coded (I) picture Predictive-coded (P) picture and a Bidirectionally-coded (B) picture. I-pictures are generated independently regardless of past and future playback pictures. P-pictures are generated by forward prediction (prediction from past decoded 1- or P-pictures). B-pictures are reproduced by bidirectional prediction. In bidirectional prediction, a B-picture is generated by prediction of one of the following three predictions.

(1) 순방향 예측 : 과거의 디코드된 I- 또는 P-예측으로부터의 예측.(1) Forward prediction: prediction from past decoded I- or P-prediction.

(2) 역방향 예측 : 미래의 디코드된 I- 또는 P-예측으로부터의 예측.(2) backward prediction: prediction from future decoded I- or P-prediction.

(3) 양방향 예측 : 과거 및 미래의 디코드된 I- 또는 P-예측으로부터의 예측.(3) Bidirectional prediction: prediction from past and future decoded I- or P-predictions.

I-픽처는 과거의 픽처 또는 미래의 픽처 없이도 생성되지만, 모든 P-픽처는 과거의 픽처를 참조하여 생성되고, 모든 B-픽처는 과거 또는 미래 픽처를 참조하여 생성된다.I-pictures are created without past or future pictures, but all P-pictures are created with reference to past pictures, and all B-pictures are created with reference to past or future pictures.

프레임간 예측에서, 우선 I-픽처는 주기적으로 생성된다. 이어서, I-픽처보다도 수개의 프레임 전의 한 프레임이 P-픽처로서 생성된다. 이 P-픽처는 과거로 부터 현재까지 한 방향(순방향)으로의 예측에 의해 생성된다. 다음으로, I-픽처 전 및 P-픽처 후에 위치하는 프레임은 B- 픽처로서 생성된다. 이 때, B-픽처가 생성되고, 최적 예측 구조가 순방향 예측, 역방항 예측 및 양방향 예측 중 선택된다. 일반적으로, 연속된 화상에 있어서, 현재 화상은 그 전후의 화상과는 유사하고 일부분만이 다르다. 이에 관해, 이전 프레임(예를 들어, I-픽처) 및 다음 프레임(예를 들어, P-픽처)이 거의 동일하다고 가정된다. 양 프레임 간에 약간의 차이(B-프레임 데이타)가 있다면, 이 차이는 추출되어 압축된다. 따라서, 프레임간 데이타는 연속적인 프레임들 중 시간적 상관에 기초하여 압축될 수 있다.In interframe prediction, first an I-picture is generated periodically. Subsequently, one frame before the I-picture is generated as a P-picture. This P-picture is generated by prediction in one direction (forward) from past to present. Next, frames located before the I-picture and after the P-picture are generated as B-pictures. At this time, a B-picture is generated and an optimal prediction structure is selected from forward prediction, reverse prediction and bidirectional prediction. In general, in a continuous picture, the current picture is similar to the picture before and after and only partially different. In this regard, it is assumed that the previous frame (e.g., I-picture) and the next frame (e.g., P-picture) are almost identical. If there is a slight difference (B-frame data) between both frames, this difference is extracted and compressed. Thus, interframe data can be compressed based on temporal correlation among successive frames.

상기 방식으로 MPEG 비디오 규격에 따라 인코드된 비디오 데이타의 스트림은 MPEG 비디오 비트 스트림으로 불린다(이후, "비디오 스트림"이라고 한다). MPEG-1은 CD(Compact Disk) 및 CD-ROM(Compact Disk-Read Only Memory)과 같은 저장 매체와 주로 관련되고, MPEG-2는 MPEG-1를 포함하고 광범한 범위의 적용에 이용된다.The stream of video data encoded according to the MPEG video standard in this manner is called an MPEG video bit stream (hereinafter referred to as a "video stream"). MPEG-1 is mainly associated with storage media such as Compact Disk (CD) and Compact Disk-Read Only Memory (CD-ROM), while MPEG-2 includes MPEG-1 and is used for a wide range of applications.

저장 매체를 사용하는 디코더는 다음과 같은 3개의 특수 재생 기능을 가져야 한다.The decoder using the storage medium should have three special playback functions as follows.

(1) 정상 재생보다 빠른 속도로 동화상을 디스플레이(또는 재생)하는 기능(이 기능은 이후 "고속 재생"이라고 한다).(1) A function of displaying (or playing back) a moving image at a faster speed than normal playback (this function is hereinafter referred to as "fast playback").

(2) 정상 재생 속도보다 느린 속도로 동화성을 디스플레이하는 기능(이 기능은 이후 "저속 재생"이라고 한다).(2) A function that displays animation at a slower speed than the normal playback speed (this function is hereinafter referred to as "slow playback").

(3) 프레임 대 프레임으로 동화상을 디스플레이하는 기능(이 기능은 이후 "프레임 대 프레임 어드밴스 재생"이라고 한다).(3) A function of displaying moving pictures in frame-to-frame (this function is hereinafter referred to as "frame-to-frame advance playback").

순방향 모드의 고속 재생 기능은 사용자가 빨리 동화상을 볼 수 있게 한다. 고속 순방향 재생 또는 고속 역방향 재생은 사용자가 원하는 동화상을 찾을 수 있게 한다. 저속 재생 기능 및 프레임 대 프레임 어드밴스 재생 기능은 사용자가 동화상을 주의깊게 볼 수 있게 한다.The fast playback function of the forward mode allows the user to watch the video quickly. Fast forward playback or fast reverse playback allows the user to find the desired moving picture. Slow playback and frame-to-frame advance playback allow the user to watch the video carefully.

제1도는 고속 재생 기능을 구비한 종래의 MPEG 비디오 디코더를 도시하는 블럭 회로도이다. MPEG 비디오 디코더(101)은 비트 버퍼(102), 픽처 헤더 디코더(103), MPEG 비디오 디코드 코어 회로(이후, "디코드 코어 회로)(104), 비트 스트림 스킵 회로(105) 및 제어 코어 회로(106)을 포함한다. 제어 코어 회로(106)은 독립적인 회로(102 내지 105)를 제어한다.1 is a block circuit diagram showing a conventional MPEG video decoder having a high speed playback function. The MPEG video decoder 101 includes a bit buffer 102, a picture header decoder 103, an MPEG video decode core circuit (hereinafter referred to as a “decode core circuit” 104), a bit stream skip circuit 105, and a control core circuit 106. The control core circuit 106 controls the independent circuits 102-105.

데이타 리코더(도시하지 않음)에 의해 비디오 CD와 같은 기록 매체(100)으로 부터 판독되는 비트 스트림은 비트 스트림 스킵 회로(105)를 통해 비트 버퍼(102)에 공급된다. 비트 버퍼(102)는 FIFO(First-In-First-Out; 선입선출) 구성을 갖는RAM(Random Access Memory)가 구비된 링 버퍼이고, 비트 스트림을 연속적으로 저장한다. 픽처 헤더 디코더(103)은 비트 버퍼(102)내에 저장되는 비트 스트림내에 포함된 각각의 픽처의 헤드에서 픽처 헤더를 검출한다. 검출된 픽처 헤더에 기초하여, 제어 코어 회로(106)은 프레임 기간마다 하나의 픽처에 대응하는 비트 스트림을 판독하는 방식으로 비트 버퍼(102)를 제어한다. 각각의 동화상은 MPEG-1에서는 초당 30 프레임으로 구성되고, 한 프레임은 1/30초이다.The bit stream read from the recording medium 100 such as a video CD by a data recorder (not shown) is supplied to the bit buffer 102 through the bit stream skip circuit 105. The bit buffer 102 is a ring buffer provided with random access memory (RAM) having a first-in-first-out (FIFO) configuration, and continuously stores a bit stream. The picture header decoder 103 detects a picture header at the head of each picture included in the bit stream stored in the bit buffer 102. Based on the detected picture header, the control core circuit 106 controls the bit buffer 102 in a manner that reads a bit stream corresponding to one picture per frame period. Each moving picture is composed of 30 frames per second in MPEG-1, and one frame is 1/30 second.

디코드 코어 회로(104)는 비트 버퍼(102)로부터 판독된 각각의 픽처를 수신하여, MPEG 비디오 부분에 준거하여 이 픽처를 디코드한다. 이어서, 디코드 코어 회로(104)는 디스플레이(107)에 비디오 출력으로서 개별적으로 디코드된 픽처의 데이타를 연속적으로 공급한다.The decode core circuit 104 receives each picture read from the bit buffer 102 and decodes this picture based on the MPEG video portion. Decode core circuitry 104 subsequently supplies data of individually decoded pictures as video output to display 107.

비트 버퍼(102)는 데이타의 양이 서로 다른 I, P 및 B-픽처를 일시적으로 저장한다. i-픽처의 데이타량은 약 30 Kbyte이고, P-픽처의 데이타량은 약 10 내지 15 Kbyte이며, B-픽처의 데이타량은 0 내지 약 6 Kbyte의 범위이다. 정상 재생 모드에서, 비트 스트림의 비트 레이트(RB)은 일정하다. 디코드 코어 회로(104)는 이들 픽처 각각에 대한 데이타 디코딩을 수행하고, 디코딩 시간은 독립적인 픽처의 데이타량에 따라 변한다. 비트 스트림은 디코드 코어 회로(104)에 직접 전송되고, 디코드 코어 회로(104)는 모든 픽처를 디코드할 수 없다. 비트 버퍼(102)는 비트 스트림을 저장하기 위한 버퍼 메모리로서 기능하고, 디코드 코어 회로(104)가 데이타량에 무관하게 I, P 및 B-픽처를 디코드하도록 한다.The bit buffer 102 temporarily stores I, P, and B-pictures with different amounts of data. The data amount of the i-picture is about 30 Kbytes, the data amount of the P-picture is about 10-15 Kbytes, and the data amount of the B-picture ranges from 0 to about 6 Kbytes. In the normal playback mode, the bit rate R B of the bit stream is constant. The decode core circuit 104 performs data decoding on each of these pictures, and the decoding time varies according to the data amount of the independent picture. The bit stream is sent directly to the decode core circuit 104, and the decode core circuit 104 cannot decode all the pictures. The bit buffer 102 functions as a buffer memory for storing bit streams, and allows the decode core circuit 104 to decode I, P, and B-pictures regardless of the amount of data.

비트 스트림 스킵 회로(105)는 정상 재생 모드시의 비트 버퍼(102)에 직접 비디오 스트림을 전송하기 위한 제1 노드(105a) 및 제1 재생 모드시의 비디오 스트림을 스킵핑하기 위한 제2 모드(105b)를 갖는다. 제어 코어 회로(106)은 비트 버퍼(102)에 비디오 스트림을 간헐적으로 전송하기 위해 재생 속도에 따라 제1 노드(105a)에의 접속 및 제2 노드(105b)에의 접속을 선택적으로 전환한다. 즉, 비트 스트림 스킵 회로(105)가 제2 노드(105b)로 설정되면, 비디오 스트림은 비트 버퍼(102)에 전송되지 않고 스킵된다. 그 결과로서, 비트 버퍼(102)에 전송될 비디오 스트림은 스킵된 양만큼 솎아내어진다(즉, 감소된다).The bit stream skip circuit 105 has a first node 105a for transmitting the video stream directly to the bit buffer 102 in the normal playback mode and a second mode for skipping the video stream in the first playback mode ( 105b). The control core circuit 106 selectively switches the connection to the first node 105a and the connection to the second node 105b in accordance with the playback speed to intermittently transmit the video stream to the bit buffer 102. That is, if the bit stream skip circuit 105 is set to the second node 105b, the video stream is skipped without being sent to the bit buffer 102. As a result, the video stream to be sent to the bit buffer 102 is sieved (ie, reduced) by the skipped amount.

정상 재생 모드에서, 공급될 비디오 스트림의 비트 레이트(RB)은 일정하다. 하나의 픽처에 대해 비디오 스트림의 데이타량이 많을 때에는 오버플로우를 방지하고, 데이타량이 적을 때에는 언더플로우를 방지하여, 비트 버퍼(102)내의 비디오 스트림의 점유량(또는 잔여량)을 적절히 제어해야 한다. MPEG 비디오 부분은 MPEG 비디오 디코더를 규정하고, 점유량의 제어를 규정한다.In the normal playback mode, the bit rate R B of the video stream to be supplied is constant. Overflow should be prevented when the data amount of the video stream is large for one picture, and underflow should be prevented when the data amount is small, so that the occupancy (or remaining amount) of the video stream in the bit buffer 102 should be properly controlled. The MPEG video portion defines the MPEG video decoder and defines the control of occupancy.

제2도는 정상 재생 모드시의 비트 버퍼(102)내의 비디오 스트림의 점유량과 시간 사이의 관계를 도시한 그래프이다. 점유량(BM)은 그래프의 기울기로 나타나는 비디오 스트림의 비트 레이트(RB)에 따라 상승한다. 비디오 스트림의 비트 레이트(RB)는 아래의 식(1)에 의해 규정된다.2 is a graph showing the relationship between the occupancy and time of the video stream in the bit buffer 102 in the normal playback mode. Occupancy B M rises with the bit rate R B of the video stream indicated by the slope of the graph. The bit rate R B of the video stream is defined by equation (1) below.

여기서, BR은 시퀀스의 헤드에 제공된 시퀀스 헤더의 비트 레이트이다.Where BR is the bit rate of the sequence header provided at the head of the sequence.

비트 버퍼(102)의 용량(B)는 다음식 (2)에 의해 규정된다.The capacity B of the bit buffer 102 is defined by the following equation (2).

여기서, VBS는 시퀀서 헤더의 비디오 버퍼링 검공기(Video Buffering Verifier; VBV) 버퍼 크기이다.Where VBS is the Video Buffering Verifier (VBV) buffer size of the sequencer header.

한 프레임 기간내에 비트 버퍼(102)에 공급될 비디오 스트림의 데이타량 X는 다음 식(3)으로 규정된다.The data amount X of the video stream to be supplied to the bit buffer 102 within one frame period is defined by the following equation (3).

여기서, RP는 시퀀스 헤더의 픽처 레이트에 의해 규정된 비디오 스트림의 픽처 레이트이다. 하나의 픽처에 대한 비디오 스트림은 한 프레임 기간 동안 정지하지 않고 비트 버퍼로부터 판독되어, 디코드 코어 회로(104)에 의해 디코드된다. 비디오 스트림의 연속적인 판독 직후의 점유량(Bm)은 다음식 (4)에 의해 규정된다. 점유량(Bm)은 제2도에 도시된 바와 같이 "B0내지 B6"으로 나타내어진다.Here, R P is the picture rate of the video stream defined by the picture rate of the sequence header. The video stream for one picture is read from the bit buffer without being stopped for one frame period and decoded by the decode core circuit 104. The occupancy amount Bm immediately after continuous reading of the video stream is defined by the following equation (4). Occupancy amount Bm is represented by "B 0 to B 6 " as shown in FIG.

식(4)를 만족시키도록 점유량(Bm)을 규정하는 것은 비트 버퍼(102)의 오버플로우 및 언더플로우를 방지한다. 다시 말하면, B - X로 표시되는 임계값을 초과하는 점유량(Bm)은 비트 버퍼(102)가 오버플로우할 가능성이 높다는 것을 나타낸다. 정상 재생 모드에서, 비트 레이트(RB), 픽처 레이트(RP) 및 용량(B)는 식(4)를 만족하도록 규정된다. 또한, 비트 버퍼(102)의 용량(B)를 식(2)에 규정된대로 설정하는것은 비트 버퍼(102)의 오버플로우 및 언더플로우를 방지한다.Defining the occupancy amount Bm to satisfy equation (4) prevents overflow and underflow of the bit buffer 102. In other words, the occupancy amount Bm exceeding the threshold indicated by B-X indicates that the bit buffer 102 is more likely to overflow. In the normal playback mode, the bit rate R B , picture rate R P and capacity B are defined to satisfy equation (4). In addition, setting the capacity B of the bit buffer 102 as defined in equation (2) prevents the overflow and underflow of the bit buffer 102.

고속 재생 모드에서, 비디오 스트림의 비트 레이트는 재생 속도에 따라 증가한다. 고속 재생 모드시의 재생 속도가 정상 재생 속도의 n배라면, 비디오 스트림의 비트 레이트는 정상 재생 속도에서의 비트 레이트(RB= n × RB)의 n배이다. 비디오 스트림의 비트 레이트의 증가는 비트 버퍼(102)가 오버플로우하게 한다. 이 오버플로우를 방지하기 위해, 고속 재생 모드에서, 제어 코어 회로(106)은 비트 버퍼(102)에 전송될 비디오 스트림을 솎아내기 하기 위해 재생 속도에 따라 비디오 스트림 스킵 회로(105)를 제어한다. 결과적으로, 비디오 스트립의 비트 레이트는 정상 재생 모드에서의 비트 레이트(RB)와 실질적으로 동일하게 되어, 비트 버퍼(102)의 오버플로우를 방지한다.In the fast playback mode, the bit rate of the video stream increases with the playback speed. If the playback speed in the fast playback mode is n times the normal playback speed, the bit rate of the video stream is n times the bit rate (R B = n × R B ) at the normal playback speed. Increasing the bit rate of the video stream causes the bit buffer 102 to overflow. To prevent this overflow, in the high speed playback mode, the control core circuit 106 controls the video stream skip circuit 105 according to the playback speed in order to flush out the video stream to be transmitted to the bit buffer 102. As a result, the bit rate of the video strip becomes substantially the same as the bit rate R B in the normal playback mode, thereby preventing the overflow of the bit buffer 102.

그러나, 종래의 MPEG 비디오 디코더(101)에 따라, 비트 버퍼(102)의 용량(B)는 정상 재생 모드에 있어서의 식(2)와 같이 설정되고, 비트 버퍼(102)는 다음의 2개의 경우에 오버플로우할 수 있다.However, according to the conventional MPEG video decoder 101, the capacity B of the bit buffer 102 is set as in Equation (2) in the normal playback mode, and the bit buffer 102 is provided in the following two cases. Can overflow.

경우 1 : 기록 매체로부터 판독된 비디오 스트림의 비트 레이트(RB)는 비디오 출력의 비트 레이트와 동기되지 않고, 선 비트 레이트(RB)는 후 비트 레이트보다 크다.Case 1: The bit rate R B of the video stream read from the recording medium is not synchronized with the bit rate of the video output, and the line bit rate R B is greater than the later bit rate.

경우 2 : 디코드 코어 회로(104)는 MPEG 규격에 준거하여 비디오 스트림을 디코드하지 않는다.Case 2: The decode core circuit 104 does not decode a video stream in accordance with the MPEG standard.

비트 버퍼(102)는 오버플로우하고, 디코드 코어 회로(104)는 임의의 픽처를디코딩한다고 가정하자. 이어서, 디코드될 픽처의 비디오 스트림의 몇몇은 비트 버퍼(102)내에 여전히 남아있지만, 새로 공급된 비디오 스트림으로 중복기입된다.Assume the bit buffer 102 overflows and the decode core circuit 104 decodes any picture. Subsequently, some of the video stream of the picture to be decoded still remain in the bit buffer 102 but are overwritten with the newly supplied video stream.

결과적으로, 이 픽처의 잔여 비디오 스트림은 파괴되어 소실된다. 이것은 디코드 코어 회로(104)가 픽처 디코딩을 완료하는 것을 불가능하게 하여, 이 픽처의 비디오 출력을 생성되지 않게 한다.As a result, the residual video stream of this picture is destroyed and lost. This makes it impossible for the decode core circuitry 104 to complete the picture decoding, so that no video output of this picture is produced.

P-픽처는 과거의 또는 미래의 I- 또는 P-픽처를 참조함으로써 생성된다. 한편, I-픽처는 과거의 픽처 또는 미래의 픽처를 참조하지 않고 생성된다. I-또는 P- 픽처의 비디오 스트림이 비트 버퍼(102)의 오버플로우로 인해 파괴될 때, 디코드 코어 회로(104)는 다음 I-픽처가 비트 버퍼(102)로부터 공급될 때까지 P- 및 B-픽처를 디코드할 수 없다. 비트 버퍼(102)의 오버플로우는 다중 픽처의 디코딩을 불가능하게 하고, 몇몇 프레임이 디스플레이될 동화상로부터 드롭되게 한다는 것이 명백하다. 이 프레임 드롭핑은 동화상 및 저어키 동작(jerkey motion)하는 동화상의 디스플레이의 화질을 떨어뜨린다. 최종 동화상은 사용자에게 만족스럽게 보이지 않는다.P-pictures are generated by referring to past or future I- or P-pictures. On the other hand, an I-picture is generated without referring to a past picture or a future picture. When the video stream of an I- or P-picture is destroyed due to overflow of the bit buffer 102, the decode core circuit 104 may P- and B until the next I-picture is supplied from the bit buffer 102. -The picture cannot be decoded. It is clear that the overflow of the bit buffer 102 disables the decoding of multiple pictures and causes some frames to be dropped from the video to be displayed. This frame dropping degrades the quality of the display of moving pictures and moving pictures of jerkey motion. The final moving picture does not look satisfactory to the user.

고속 재생 모드에서, 제어 코어 회로(106)으로 비디오 스트림 스킵 회로(105)을 제어하는 것은 극단적으로 복잡하다. 그러므로, 제어 코어 회로(106)은 마이크로컴퓨터를 사용하여야 하는데, 이는 부득이하게 제조 비용을 증가시키고 전체 장치를 증대시킨다.In the fast playback mode, controlling the video stream skip circuit 105 with the control core circuit 106 is extremely complex. Therefore, the control core circuit 106 must use a microcomputer, which inevitably increases the manufacturing cost and increases the overall apparatus.

더욱이, 제어 코어 회로(106)은 고속 재생 모드에서의 재생 속도에 따라 비디오 스트림 스킵 회로(105)를 제어한다. 이러한 제어에 따라, 비디오 스트림 스킵회로(105)는 픽처에 무관하게 노드(105b)로부터의 비디오 스트림을 스킵한다. 이것은 비디오 스트림 스팁 회로(105)가 비트 버퍼(102)에 인터럽트된 픽처의 비디오 스트림을 전송하게 한다. I- 또는 P-픽처의 공급이 하강하면, 디코드 코어 회로(104)는 다음 I-픽처가 전송될 때까지 P-픽처 및 B-픽처를 모두 디코드할 수 없다. I-픽처의 비디오 스트림이 차단되지 않으면, 디코드 코어 회로(104)는 I-픽처를 디코드할 수 있다. I-픽처는 초당 약 1개 또는 2개 프레임의 비율로 비디오 스트림 내에 포함된다. 그러므로, 정상 재생보다 2배 내지 4배 빠른 고속 재생시에는 해독불가능한 픽처의 수가 증가하여서 소정 프레임들은 동화상으로부터 드롭되게 된다. (이러한 고속 재생은 이후부터 "2배속 고속 재생 또는 4배속 고속 재생"이라 한다.) 이 프레임 드롭핑은 동화상이 초당 1개 또는 2개 프레임의 비율로 디스플레이(107)의 스크린상에 디스플레이되게 한다. 따라서 이러한 고속 재생은 프레임 대 프레임 어드밴스 재생과 동일하게 되어, 동화상의 화질을 저하시켜 동화상이 저어키 동작으로 디스플레이되게 한다. 결과적으로 이 최종 동화상은 사용자에게 만족스럽게 보이지 않는다.Moreover, the control core circuit 106 controls the video stream skip circuit 105 according to the playback speed in the fast playback mode. According to this control, the video stream skip circuit 105 skips the video stream from the node 105b regardless of the picture. This causes the video stream steep circuit 105 to send a video stream of the interrupted picture to the bit buffer 102. If the supply of an I- or P-picture falls, the decode core circuit 104 cannot decode both the P-picture and the B-picture until the next I-picture is transmitted. If the video stream of the I-picture is not blocked, decode core circuitry 104 may decode the I-picture. I-pictures are included in a video stream at a rate of about one or two frames per second. Therefore, in fast reproduction, which is two to four times faster than normal reproduction, the number of undecipherable pictures increases so that certain frames are dropped from the moving image. (This high speed playback is hereinafter referred to as "2x high speed playback or 4x high speed playback".) This frame dropping causes the moving picture to be displayed on the screen of the display 107 at a rate of one or two frames per second. . Therefore, such high-speed playback becomes the same as frame-to-frame advance playback, degrading the picture quality of the moving picture so that the moving picture is displayed in a Jurkey operation. As a result, this final moving image does not seem satisfactory to the user.

예를 들어, 기록 매체로서 비디오 CD를 사용하는 비디오 CD 플레이어는 트랙 점핑 시스템에 의해 동화상을 재생한다. 이 시스템은 비디오 CD 플레이어의 광 픽업이 비디오 CD상에서 트랙을 간헐적으로 주사하게 하고, 어떤 트랙들은 스킵하게 한다. 픽업은 소정의 기록 트랙으로부터의 비디오 스트림의 선정된 양을 판독하고, 다른 기록 트랙으로 점핑하는 동작을 반복한다. I-픽처가 비디오 스트림내에 우연히 포함될 때, I-픽처가 디코드된다. 이 시스템에 따라, 비디오 스트림 중의 I-픽처를 모두 디코드하는 것은 불가능하고, 해독불가능한 I-픽처를 생성한다. 2배 내지 4배수의 고속 재생시, 동화상은 초당 0.1 내지 0.5 프레임의 레이트로 디스플레이된다. 1회에 판독된 비디오 스트림내에 포함된 I-픽처의 수는 일정하지 않고, I-픽처가 어떤 경우에는 판독될 수 없다. 다시 말하면, 재생된 동화상은 프레임들 사이에 일정한 시간 간격을 가질 수 없고, 화질이 매우 나쁘다.For example, a video CD player using a video CD as a recording medium plays back a moving picture by a track jumping system. This system allows the optical pickup of a video CD player to intermittently scan tracks on a video CD and some tracks to be skipped. The pickup repeats the operation of reading a predetermined amount of video stream from a given recording track and jumping to another recording track. When an I-picture is accidentally included in a video stream, the I-picture is decoded. According to this system, it is not possible to decode all the I-pictures in the video stream, producing an undecipherable I-picture. In high speed reproduction of 2 to 4 times, moving pictures are displayed at a rate of 0.1 to 0.5 frames per second. The number of I-pictures contained in a video stream read at one time is not constant, and the I-picture cannot be read in some cases. In other words, the reproduced moving image cannot have a constant time interval between frames, and the image quality is very bad.

이러한 단점을 향상시키기 위해, I-픽처 주사 시스템은 비디오 CD v2.0 규격에 따라 규정된다. 이 주사 시스템은 I-픽처가 비디오 스트림내에 저장되는 기록 트랙의 정보를 포함하는 것으로 규정한다. 이 정보는 "주사 정보"라고 한다. 이 주사 정보를 사용하여 비디오 CD 플레이어로 광 픽업을 제어하는 디코드될 비디오 시스템내의 모든 I-픽처를 허용한다. 그러나, 2배속 내지 4배속 고속 재생 모드에서는, 동화상은 초당 1 또는 2개의 플레임의 비율로만 디스플레이될 수 있다.To improve this disadvantage, the I-picture scanning system is defined according to the Video CD v2.0 specification. This scanning system defines that an I-picture contains information of a recording track stored in a video stream. This information is called "injection information". This scanning information is used to allow all I-pictures in the video system to be decoded to control the optical pickup with the video CD player. However, in the 2X to 4X fast playback mode, moving pictures can only be displayed at a rate of 1 or 2 frames per second.

3가지 형태의 I-, P- 및 B- 픽처 외에, 제4 픽처로서 D-픽처가 또한 규정되었다. D-픽처는 DCT(Discret Cosine Transform) 계수의 DC(Drect Current; 직류) 성분을 포함하고, I, P 및 B-픽처와 다른 시퀀스내에 있다. 이 D-픽처는 사용자가 원하는 동화상을 찾게 하는 고속 순방향 재생을 실행하는데 사용된다. D-픽처는 비디오 스트림을 거의 포함하고 있지 않아서, D-픽처가 2배속 내지 4배속 고속 재생 또는 초고속 재생시 사용되는 경우에도, 얻어진 동화상은 느린 움직임을 보이지도 않고 고화질을 갖는다.In addition to the three types of I-, P- and B- pictures, a D-picture as a fourth picture has also been defined. The D-picture contains a DC (Drect Current) component of the Discrete Cosine Transform (DCT) coefficients and is in a different sequence than the I, P, and B-pictures. This D-picture is used to perform fast forward playback which allows the user to find a desired moving picture. Since the D-picture contains almost no video streams, even when the D-picture is used during 2 to 4 times high speed playback or ultra high speed playback, the obtained moving picture does not exhibit slow motion and has high picture quality.

저속 재생 및 프레임 대 프레임 어드밴스 재생에는 또 다른 문제가 있다. 일반적으로, 저속 재생시 비디오 스트림의 비트 레이트, 및 프레임 대 프레임 어드밴스 재생은 정상 재생에서는 동일하다. 그러므로, 저속 재생 및 프레임 대 프레임 어드밴스 재생시, 제어 코어 회로(106)은 단위 시간 당 비트 버퍼(102)로부터 판독될 픽처의 수를 감소시켜서, 디스플레이(107)상에 디스플레이될 동화상의 프레임의 수를 감소시킨다. 비트 버퍼(102)의 오버플로우 및 언더플로우를 방지하기 위해, MPEG 비디오 디코더(101)은 기록 매체로부터 비디오 스트림을 판독하고, 픽처가 비트 버퍼(102)로부터 판독될 때마다 그것을 비트 버퍼(102)에 공급한다. 이 프로세스는 비디오 스트림 판독의 빈번한 반복을 요구한다. 비디오 CD로부터 비디오 CD 플레이어에 의해 비디오 스트림을 자주 판독하는 것은, 예를 들어 광 픽업용 구동 유닛의 복잡한 제어를 필요로 할 뿐만 아니라 구동 유닛에 대한 기계적인 로드 및 그들의 오동작 가능성을 증가시킨다.There is another problem with slow playback and frame-to-frame advance playback. In general, the bit rate of the video stream during slow playback, and frame-to-frame advance playback are the same for normal playback. Therefore, in slow playback and frame-to-frame advance playback, the control core circuit 106 reduces the number of pictures to be read from the bit buffer 102 per unit time, so that the number of frames of the moving picture to be displayed on the display 107. Decreases. To prevent overflow and underflow of the bit buffer 102, the MPEG video decoder 101 reads the video stream from the recording medium, and whenever a picture is read from the bit buffer 102, the bit buffer 102 To feed. This process requires frequent iterations of reading the video stream. Frequently reading the video stream from the video CD by the video CD player not only requires complicated control of the drive unit for optical pickup, for example, but also increases the mechanical load on the drive unit and their possibility of malfunction.

이미 언급했듯이, 점유량이 적절히 제어되는 경우에도 비트 버퍼(102)는 언더플로우할 수 있다. 예를 들어, 비디오 CD 플레이어가 외부 디바이스로서 사용된다면, 디스크상의 긁힘 및 디스크의 진동이 그 디스크상에 기록된 비디오 스트림의 판독을 불가능하게 한다. 이 경우에, 비디오 스트림은 비트 버퍼(102)에 전송되지 않을 것이고, 언더플로우를 일으킨다. 이 언더플로우는 비트 버퍼(102)에 전송될 새로운 비디오 스트림으로서 기억된다. 언더플로우하는 동안, 디코드 코어 회로(104)는 비디오 출력이 생성되지 않도록 디코딩 동작을 중지시키도록 강제된다. 결과적으로, 몇몇 프레임은 디스플레이(107)의 스크린상에 디스플레이되는 동화상으로부터 드롭된다. 이 프레임 드롭핑은 동화상의 화질을 저하시키고, 동화상이 저어키 동작으로 디스플레이되게 한다. 따라서 최종 동화상은 사용자에게 만족하게 보이지 않는다.As already mentioned, the bit buffer 102 can underflow even if the occupancy is properly controlled. For example, if a video CD player is used as an external device, scratching on the disc and vibration of the disc make reading of the video stream recorded on the disc impossible. In this case, the video stream will not be sent to the bit buffer 102, resulting in underflow. This underflow is stored as a new video stream to be transmitted to the bit buffer 102. During the underflow, the decode core circuitry 104 is forced to stop the decoding operation so that no video output is produced. As a result, some frames are dropped from the moving picture displayed on the screen of the display 107. This frame dropping degrades the image quality of the moving image and causes the moving image to be displayed in a Jerky operation. Thus, the final moving image does not appear satisfactory to the user.

광의적으로, 본 발명은 비디오 스트림을 저장하는 버퍼가 오버플로우 및/또는 언더플로우하는 것을 방지할 수 있는 MPEG 비디오 디코더에 관한 것이다. 본 발명은 방법, 시스템 및 장치를 포함하여, 다양한 방식으로 구현될 수 있다.Broadly speaking, the present invention relates to an MPEG video decoder capable of preventing the buffer storing the video stream from overflowing and / or underflowing. The invention can be implemented in a variety of ways, including methods, systems, and apparatus.

본 발명의 실시예에 따라, 디코드된 픽처를 생성하기 위해 일련의 픽처들을 포함하는, 코드된 비디오 비트 스트림을 디코딩하기 위한 비디오 디코딩 장치는 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼: 비트 버퍼로부터 비디오 비트 스트림 출력을 수신하고, 디코드된 픽처를 생성하기 위해 비디오 비트 스트림을 디코딩하기 위한 디코딩 회로; 및 비트 버퍼내에 저장된 비디오 비트 스트림의 데이타량에 기초하여 비트 버퍼로부터 디코딩 회로에 공급될 비디오 비트 스트림의 양을 제어하기 위한 비디오 비트 스트림 제어 회로를 포함한다. 제어 회로는 데이타량이 임계값을 초과하여 비트 버퍼내에 저장되는 한 비디오 비트 스트림이 비트 버퍼로부터 상기 디코딩 회로에 공급되는 것을 방지하기 위해 비디오 비트 스트림의 일부를 스킵하도록 동작한다. 선택적으로, 비디오 비트 스트림 제어 회로는 디코드된 픽처에 대한 재생 속도에 비례하여 임계값을 변경시킨다. 더욱이, 스킵될 비디오 비트 스트림의 일부는 각각의 픽처의 형태 및/또는 각각의 픽처에 대한 데이타량에 기초하여 선택될 수 있다.According to an embodiment of the invention, a video decoding apparatus for decoding a coded video bit stream, comprising a series of pictures for generating a decoded picture, comprises: a bit buffer for temporarily storing a video bit stream: from a bit buffer. Decoding circuitry for receiving the video bit stream output and decoding the video bit stream to generate a decoded picture; And a video bit stream control circuit for controlling the amount of video bit stream to be supplied from the bit buffer to the decoding circuit based on the data amount of the video bit stream stored in the bit buffer. The control circuitry operates to skip a portion of the video bit stream to prevent the video bit stream from being supplied from the bit buffer to the decoding circuit as long as the data amount exceeds the threshold and is stored in the bit buffer. Optionally, the video bit stream control circuit changes the threshold in proportion to the playback speed for the decoded picture. Moreover, the portion of the video bit stream to be skipped may be selected based on the type of each picture and / or the amount of data for each picture.

본 발명의 다른 실시예에 따라, 디코드된 픽처를 생성하기 위해 일련의 픽처들을 포함하는 코드된 비디오 비트 스트림을 디코딩하기 위한 비디오 디코딩 장치는 비디오 디코딩 장치는 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼; 비트 버퍼로부터 비디오 비트 스트림 출력을 수신하고, 디코드된 픽처를 생성하기 위해 비디오 비트 스트림을 디코딩하기 위한 디코딩 회로; 및 비트 버퍼의 판독 동작 및 비트 버퍼내에 저장된 비디오 비트 스트림의 데이타량에 기초한 디코딩 회로의 디코딩 동작을 제어하기 위한 동작 제어 회로를 포함한다. 동작 제어 회로는 비트 버퍼의 언더플로우가 발생되는 시점으로부터 언더플로우가 해제되는 시점까지의 기간 동안 이미 디코드된 픽처를 공급하기 위해, 상기 비트 버퍼의 판독 동작 및 디코딩 회로의 상기 디코딩 동작을 금지시키기 위해 동작한다.According to another embodiment of the present invention, a video decoding apparatus for decoding a coded video bit stream including a series of pictures to generate a decoded picture, the video decoding apparatus is a bit buffer for temporarily storing the video bit stream ; Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to produce a decoded picture; And an operation control circuit for controlling the decoding operation of the decoding circuit based on the read operation of the bit buffer and the data amount of the video bit stream stored in the bit buffer. The operation control circuit is configured to prohibit the read operation of the bit buffer and the decoding operation of the decoding circuit for supplying the already decoded picture for a period from the time when the underflow of the bit buffer occurs to the time when the underflow is released. It works.

본 발명은 첨부된 도면과 함께 양호한 실시예의 상세한 설명을 참조함으로써, 본 발명의 목적 및 장점과 함께 가장 잘 이해될 수 있을 것이다.BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be best understood with reference to the accompanying drawings and the detailed description of the preferred embodiments, together with the objects and advantages of the invention.

제1 실시예First embodiment

본 발명의 제1 실시예가 이제 첨부된 도면을 참조하여 설명될 것이다. 제1 실시예에 따른 비디오 디코더는 고속 재생 기능을 갖고, MPEG 규격에 적합하다. 제3도에 도시된 바와 같이, 제1 실시예에 따른 MPEG 비디오 디코더(1)은 비트 버퍼(2), 픽처 헤더 검출기(3), MPEG 비디오 디코드 코어 회로(4), 비디오 스트림 판단 회로(5), 픽처 스킵 회로(6) 및 제어 코어 회로(7)을 포함한다. 이들 회로(3 내지 7)은 하나의 대규모 집적(LSI) 칩상에 양호하게 장착된다.A first embodiment of the present invention will now be described with reference to the accompanying drawings. The video decoder according to the first embodiment has a high speed playback function and conforms to the MPEG standard. As shown in FIG. 3, the MPEG video decoder 1 according to the first embodiment includes a bit buffer 2, a picture header detector 3, an MPEG video decode core circuit 4, and a video stream determination circuit 5 ), A picture skip circuit 6 and a control core circuit 7. These circuits 3 to 7 are well mounted on one large scale integrated (LSI) chip.

제어 코어 회로(7)은 독립적인 회로(2 내지 6)을 제어한다. 데이타 판독기(도시되지 않음)에 의해 비디오 CD와 같은 기록 매체(100)로부터 판독되는 비디오 스트림은 비트 버퍼(2)에 공급된다. 비트 버퍼(2)는 비디오 스트림을 연속적으로 저장하기 위한 FIFO 구성을 갖는 RAM(Random Acess Memory)를 구비한 링 버퍼이다.비트 버퍼(2)는 디코드 코어 회로(4)가 I, P 및 B 픽처의 데이타량에 무관하게 모든 픽처를 디코드하도록 하기 위한 버퍼 메모리로서의 역할을 한다.The control core circuit 7 controls the independent circuits 2 to 6. The video stream read from the recording medium 100 such as a video CD by a data reader (not shown) is supplied to the bit buffer 2. The bit buffer 2 is a ring buffer having a random access memory (RAM) having a FIFO configuration for continuously storing video streams. The bit buffer 2 is formed by the decode core circuit 4 having I, P, and B pictures. It serves as a buffer memory to decode all pictures irrespective of the data amount of.

픽처 헤더 검출기(3)은 비트 버퍼(2)내에 저장된 비디오 스트림에 포함된 각각의 픽처의 헤드에서 픽처 헤더를 검출한다. 픽처 헤더는 I, P 및 B 픽처들 중 하나의 픽처 형태를 규정한다. 픽처 헤더 검출기(3)으로부터의 검출 신호, 및 후술될 판단 회로(5)의 판단 신호에 따라, 제어 코어 회로(7)은 프레임 기간마다 적절한 픽처의 수에 대응하는 비디오 스트림을 판독하는 방식으로 비트 버퍼(2)를 제어한다. 비트 버퍼(2)로부터 판독된 각각의 픽처의 비디오 스트림은 픽처 스킵회로(6)을 통해 디코드 코어 회로(4)에 전송된다.The picture header detector 3 detects a picture header at the head of each picture included in the video stream stored in the bit buffer 2. The picture header specifies the picture type of one of the I, P, and B pictures. In accordance with the detection signal from the picture header detector 3 and the determination signal of the determination circuit 5 to be described later, the control core circuit 7 performs a bit in a manner of reading a video stream corresponding to the appropriate number of pictures per frame period. The buffer 2 is controlled. The video stream of each picture read from the bit buffer 2 is transmitted to the decode core circuit 4 via the picture skip circuit 6.

디코드 코어 회로(4)는 각각의 픽처의 비디오 스트림을 수신하여, 픽처에 의해 비디오 출력 신호 픽처를 생성하기 위해 MPEG 비디오 부분에 적합하게 그것을 디코드한다. 이 비디오 출력 신호는 MPEG 비디오 디코더(1)에 접속된 디스플레이(8)에 공급된다.The decode core circuit 4 receives the video stream of each picture and decodes it appropriately for the MPEG video portion to generate a video output signal picture by the picture. This video output signal is supplied to a display 8 connected to the MPEG video decoder 1.

픽처 스킵 회로(6)은 제1 노드(6a) 및 제2 노드(6b)를 갖고, 제어 코어 회로(7)의 제어하에 노드(6a 및 6b)에 접속을 선택적으로 전환한다. 픽처 스킵 회로 (6)은 제1 노드(6a)에 설정될 때, 픽처는 비트 버퍼(2)로부터 디코드 코어 회로(4)에 전송된다. 반면, 픽처 스킵 회로(6)은 제2 노드(6b)에 설정될 때, 픽처는 비트 버퍼(2)에 전송되지 않고 스킵된다. 결과적으로, 디코드 코어 회로(4)에 전송될 비디오 스트림은 픽처 스킵 회로(6)에 의해 픽처의 단위로 솎아내어진다.The picture skip circuit 6 has a first node 6a and a second node 6b, and selectively switches the connection to the nodes 6a and 6b under the control of the control core circuit 7. When the picture skip circuit 6 is set in the first node 6a, the picture is transferred from the bit buffer 2 to the decode core circuit 4. On the other hand, when the picture skip circuit 6 is set in the second node 6b, the picture is skipped without being transferred to the bit buffer 2. As a result, the video stream to be transmitted to the decode core circuit 4 is subtracted by the picture skip circuit 6 in units of pictures.

비디오 스트림 판단 회로(5)는 외부 입력 디바이스(200)로부터 공급된 재생속도 신호(n)에 따라 비트 버퍼(2)내의 픽처(비디오 스트림)의 점유량(Bm)의 임계값(Bthn)을 변화시키고, 실제 점유량(Bm)과 임계값(Bthn)을 비교한다. 재생 고속 신호(n)은 정상 재생 속도에 대한 배율로 표시된다. 예를 들어, 2배속 재생 모드에서, 배율 n=2이고, 임계값(Bthn)은 Bth2로 된다. 정상 재생 모드에서, 배율 n=1이고, 임계값(Bthn)은 Bth1으로 된다. 비트 버퍼(2)의 점유량(Bm)이 임계값(Bthn)보다 크지 않을 때, 판단 회로(5)는 비트 버퍼(2)가 오버플로우할 염려가 없고, 점유량도 정상이다. 이 판단에 따라, 제어 코어 회로(7)은 하나의 픽처에 대해 비디오 스트림을 독출하는 방식으로 비트 버퍼(2)를 제어한다. 또한, 제어 코어 회로(7)은 픽처가 디코드 코어 회로(4)에 전송되도록 제1 노드(6a)에 픽처 스킵회로(6)을 설정한다.The video stream determination circuit 5 changes the threshold value Bthn of the occupancy amount Bm of the picture (video stream) in the bit buffer 2 in accordance with the refresh rate signal n supplied from the external input device 200. Then, the actual occupation amount Bm and the threshold value Bthn are compared. The reproduction high speed signal n is displayed at a magnification with respect to the normal reproduction speed. For example, in the double speed reproduction mode, the magnification n = 2 and the threshold Bthn becomes Bth2. In the normal reproduction mode, the magnification n = 1 and the threshold Bthn becomes Bth1. When the occupancy amount Bm of the bit buffer 2 is not larger than the threshold Bthn, the judging circuit 5 has no fear that the bit buffer 2 will overflow, and the occupancy amount is also normal. In accordance with this determination, the control core circuit 7 controls the bit buffer 2 in such a manner as to read a video stream for one picture. In addition, the control core circuit 7 sets the picture skip circuit 6 in the first node 6a so that the picture is transmitted to the decode core circuit 4.

비트 버퍼(2)의 점유량(Bm)은 임계값(Bthn)을 초과할 때, 판단 회로(5)는 비트 버퍼(2)가 오버플로우할 수 있다고 판단한다. 이 판단에 따라, 제어 코어 회로(7)은 픽처의 적절한 수의 비디오 스트림이 독출되어, 비트 버퍼(2)의 점유량(Bm)이 임계값(Bthn)보다 작게 설정하도록 하는 방식으로 비트 버퍼(2)를 제어한다. 또한, 제어 코어 회로(7)은 적절한 수의 픽처를 스킵하도록 제1 노드(6b)에 픽처 스킵 회로(6)을 설정한다.When the occupation amount Bm of the bit buffer 2 exceeds the threshold Bthn, the determination circuit 5 determines that the bit buffer 2 may overflow. In accordance with this determination, the control core circuit 7 reads the appropriate number of video streams of the picture so that the bit buffer 2 is set in such a manner that the occupancy amount Bm of the bit buffer 2 is set to be smaller than the threshold Bthn. ). In addition, the control core circuit 7 sets the picture skip circuit 6 at the first node 6b to skip the appropriate number of pictures.

제4조는 제1 실시예의 비트 버퍼(2)내의 비디오 스트림의 점유량과 시간 간의 관계를 도시하는 그래프이다. 정상 재생 모드시 점유량(Bm)은 그래프의 기울기를 나타내는 비디오 스트림의 비트 레이트(RB)에 따라 상승한다. 본 실시예의 MPEG비디오 디코더(1)에 대한 비트 레이트(RB), 픽처 레이트(RP), 및 용량(B)도 역시 종래의 MPEG 비디오 디코더(101)에 대한 것들과 같이, 상술한 식(4), 0 < Bm < B - X = B - (RB/RP)를 민족하도록 규정된다. 용량(B)는 식(2) B = 16 x 1024 x VBS로 규정된다. 이것은 비트 버퍼(2)가 픽처 스킵 회로(6)이 이상적인 조건에서 제1 노드(6a)로 전화될 때 오버플로윙 또는 언더플로윙하는 것을 방지한다.Article 4 is a graph showing the relationship between the occupancy and time of the video stream in the bit buffer 2 of the first embodiment. The occupancy amount Bm in the normal reproduction mode rises according to the bit rate R B of the video stream representing the slope of the graph. The bit rate (R B ), picture rate (R P ), and capacity (B) for the MPEG video decoder 1 of the present embodiment are also the same as those for the conventional MPEG video decoder 101. 4), 0 < Bm < B-X = B-(R B / R P ). The capacity B is defined by equation (2) B = 16 x 1024 x VBS. This prevents the bit buffer 2 from overflowing or underflowing when the picture skip circuit 6 is switched to the first node 6a under ideal conditions.

비트 버퍼(2)로부터 데이타의 하나의 픽처를 연속적으로 판독한 직후, B0내지 B4로 표시된 점유량(Bm)은 다음 식(5)를 만족시키도록 임계값(Bth1)에 기초하여 규정된다.Immediately after continuously reading one picture of data from the bit buffer 2, the occupancy amount Bm represented by B 0 to B 4 is defined based on the threshold value Bth1 to satisfy the following expression (5).

임계값(Bth1)은 식(4)에 따라 아래 식(6)으로 표현된 것에 따라 설정된다.The threshold Bth1 is set according to the following expression (6) in accordance with equation (4).

실제적으로, 용량(B)가 식(2)와 같이 설정된 경우에도, 비트 버퍼(2)는 제1 노드(6a)에 설정된 픽처 스킵 회로(6)이 유지될 때 2가지 경우에 따라 오버플로우할 수 있다.In practice, even when the capacitor B is set as in Equation (2), the bit buffer 2 may overflow in two cases when the picture skip circuit 6 set in the first node 6a is maintained. Can be.

경우 1 : 기록 매체로부터의 비디오 스트림 판독의 비트 레이트(RB)가 비디오 출력의 비트 레이트와 동기되지 않고, 선 비트 레이트(RB)가 후 비트 레이트보다 크다.Case 1: The bit rate R B of the video stream read from the recording medium is not synchronized with the bit rate of the video output, and the line bit rate R B is greater than the later bit rate.

경우 2 : 디코드 코어 회로(4)는 MPEG 규격에 적합하게 비디오 스트림을 디코드하지 않는다.Case 2: The decode core circuit 4 does not decode the video stream to conform to the MPEG standard.

먼저, 비트 버퍼(2)의 점유량(Bm)이 임계값을 초과하는 경우, 판단 회로(5)는 비트 버퍼(2)가 오버플로우할 염려가 있다고 판단한다. 이어서, 제어 코어 회로 (7)은 적절한 양의 픽처의 비디오 스트림이 비트 버퍼(2)로부터 독출되어, 점유량(Bm)을 임계값(Bth1)보다 작게 설정하도록 하는 방식으로 비트 버퍼(2)를 제어한다. 더욱이, 픽처 스킵 회로(6)은 모든 판독 픽처를 스킵하도록 제2 노드(6b)로 전환된다. 그러므로, 제1 실시예는 정상 재생 모드에서 비트 버퍼가 경우 1 및 경우 2 모드에서 오버플로윙하는 것을 방지할 수 있다.First, when the occupation amount Bm of the bit buffer 2 exceeds the threshold, the decision circuit 5 determines that the bit buffer 2 may overflow. The control core circuit 7 then controls the bit buffer 2 in such a way that a video stream of an appropriate amount of pictures is read out of the bit buffer 2 to set the occupancy Bm smaller than the threshold Bth1. do. Moreover, the picture skip circuit 6 is switched to the second node 6b to skip all read pictures. Therefore, the first embodiment can prevent the bit buffer from overflowing in the case 1 and case 2 modes in the normal playback mode.

고속 재생 모드시의 점유량(Bm)은 그래프의 기울기를 나타내는 비디오 스트림의 비트 레이트(n x RB)에 따라 상승한다. 예를 들어, 2배속 재생 모드시의 점유량(Bm)은 기울기가 비트 레이트(2 x RB)인 그래프를 따라 상승한다. 그러나, 고속 재생 모드에서, 비트 버퍼(2)로부터 1픽처분의 데이타의 연속적인 판독 직후 (B0내지 B4)로 표시되는 점유량(Bm)은 아래의 식(7)을 만족하도록 임계값(Bthn)에 기초하여 규정된다.The occupancy amount Bm in the fast playback mode increases in accordance with the bit rate nx R B of the video stream representing the slope of the graph. For example, the occupancy amount Bm in the double speed reproduction mode rises along the graph whose slope is the bit rate (2 × R B ). However, in the fast playback mode, the occupancy amount Bm represented by (B 0 to B 4 ) immediately after the continuous reading of one picture of data from the bit buffer 2 is equal to the threshold value (7) below. Bthn).

임계값(Bthn)은 다음의 식(8)과 같이 설정된다.The threshold Bthn is set as shown in the following equation (8).

점유량(Bm)이 고속 재생 모드시 임계값(Bthn)을 초과할 때 판단 회로(5)는 비트 버퍼(2)가 오버플로우할 수 있다고 판단한다. 예를 들어, 점유량(Bm)이 2배속 재생 모드시 임계값(Bth2)[= B - (2 x RB/RF)]를 초과하는 경우 및 점유량(Bm)이 3배속 재생 모드시 임계값(Bth3[= B - (3 x RB/RP)]을 초과하는 경우, 오버플로우가 발생할 것이다. 판단 신호에 따라, 제어 코어 회로(7)는 적절한 수의 픽처의 비디오 스트림이 비트 버퍼(2)로부터 독출되어 점유량(Bm)이 임계값(Bthn)보다 작게 설정되도록 스킵되는 방식으로 비트 버퍼(2)를 제어한다. 이 제어는 비트 버퍼(2)가 고속 재생 모드시 경우 2에서 오버플로윙하는 것을 방지할 수 있다. 정상 재생 모드 및 고속 재생 모드에서, 제어 코어 회로(7)은 임계값에 기초하여 비트 버퍼(2) 및 픽처 스킵 회로(6)을 쉽게 제어할 수 있다. 이러한 설계는 제어 코어 회로(7)용으로 마이크로컴퓨터를 사용할 필요가 없게 한다. 더욱이, 이 실시예에서는 하나의 LSI 칩상에 독립적인 회로(3 내지 7)을 장착하는 것을 제조 비용을 감소시키고, 전체 장치를 소형화시키는데 기여한다.When the occupation amount Bm exceeds the threshold Bthn in the fast regeneration mode, the judging circuit 5 determines that the bit buffer 2 may overflow. For example, when the occupancy Bm exceeds the threshold Bth2 [= B-(2 x R B / R F )] in the double speed regeneration mode and the occupancy Bm is the threshold in the triple speed regeneration mode. If (Bth3 [= B-(3 x R B / R P )] is exceeded, an overflow will occur. According to the determination signal, the control core circuit 7 determines that an appropriate number of pictures of the video stream are the bit buffer ( The bit buffer 2 is controlled in such a manner that it is read out from 2) and skipped so that the occupancy amount Bm is set to be smaller than the threshold value Bthn.This control overflows at 2 when the bit buffer 2 is in the fast playback mode. In the normal playback mode and the fast playback mode, the control core circuit 7 can easily control the bit buffer 2 and the picture skip circuit 6 based on the threshold value. There is no need to use a microcomputer for the control core circuit 7. Moreover, in this embodiment one LSI Mounting of the independent circuits (3 to 7) on to reduce the production cost, and contributes to miniaturization of the entire device.

비트 버퍼(2)의 오버플로우는 특히 디코드 코어 회로(4)는 임의의 픽처를 디코딩하는 동안 꼭 제거되어야 한다. 관련 기술에서 이미 언급한 바와 같이, 비트 버퍼(2)가 오버플로우하고, 디코드 코어 회로(4)는 임의의 픽처를 디코딩한다고 가정하자. 그러면, 디코드될 픽처의 몇몇 비디오 스트림은 여전히 비트 버퍼(102)내에 남아있지만, 새롭게 공급된 비디오 스트림으로 중복기입된다. 결과적으로, 이 픽처의 잔여 비디오 스트림은 파괴되어 소실된다. 그러므로 디코드 코어 회로(4)가픽처의 디코딩을 완료하는 것은 불가능해서, 픽처의 비디오 출력은 생성되지 않는다.The overflow of the bit buffer 2 must in particular be eliminated while the decode core circuit 4 decodes any picture. As already mentioned in the related art, assume that the bit buffer 2 overflows, and the decode core circuit 4 decodes any picture. Then, some video streams of the picture to be decoded still remain in the bit buffer 102 but are overwritten with the newly supplied video stream. As a result, the residual video stream of this picture is destroyed and lost. Therefore, it is impossible for the decode core circuit 4 to complete decoding of the picture, so that the video output of the picture is not generated.

그러므로, 이 실시예에 따라, 판단 회로(5)는 충분한 공간(n x X = n x RB/RP)이 확보되어 있는 지를 판단하기 위해 픽처 헤더 디코더(3)이 픽처 헤더를 검출할 때 비트 버퍼(2)내의 자유 공감은 검색한다. 판단 회로(5)가 충분한 공간이 있다고 판단하면, 제어 코어 회로(7)은 픽처 헤더에 기초하여 픽처 스킵 회로(6)을 통해 비트 버퍼(2)로부터 판독된 픽처를 스킵한다. 다음으로, 판단 회로(5)는 픽처 헤더 검출기(3)이 다음 픽처 헤더를 검출할 때 다시 비트 버퍼(2)내의 자유 공간을 검색한다. 이들 판단 및 스킵핑 프로세스에 필요한 시간은 디코드 코어 회로(4)에 의한 판단 프로세스에 필요한 시간 보다 상당히 짧다. 그러므로 충분한 공간이 비트 버퍼(2)내에 확보된 후 디코딩 프로세스가 개시될 때에도 문제가 발생하지 않는다.Therefore, according to this embodiment, the decision circuit 5 uses the bit buffer when the picture header decoder 3 detects the picture header to determine whether sufficient space (nx X = nx R B / R P ) is secured. (2) Free sympathy in search. If the judging circuit 5 determines that there is enough space, the control core circuit 7 skips the picture read from the bit buffer 2 through the picture skip circuit 6 based on the picture header. Next, the decision circuit 5 searches the free space in the bit buffer 2 again when the picture header detector 3 detects the next picture header. The time required for these judgment and skipping processes is considerably shorter than the time required for the judgment process by the decode core circuit 4. Therefore, no problem occurs even when the decoding process is started after sufficient space is secured in the bit buffer 2.

비트 버퍼(2)내의 자유 공간이 검색되는 이유는 픽처 데이타의 양이 일정하지 않기 때문이다. 1 픽처분의 데이타량은 1 내지 40 byte 범위내이고, 이 양은 디코드 코어 회로(4)가 디코딩을 종료할 때 판명된다. 더욱이, 1 픽처를 디코딩하기 위한 시간은 픽처의 데이타량, 및 디코드 코어 회로(4)의 동작 속도에 따라 변하는데, 정상적으로 한 프레임의 약 1/3 내지 4/3이다. 픽처의 데이타량이 0 byte이면, 예를 들어, 이 펀치의 판독 전의 비트 버퍼(2)의 점유량(Bm)은 픽처 판독 이후와 다르지 않다. 그러므로 0 byte의 픽처 스킵핑은 비트 버퍼(2)의 오버 플로우를 방지하는 것이 불가능하게 한다. 다시 말하면, 비트 버퍼(2)가 1 프레임 기간내에 공급되는 데이타량을 위해 충분한 자유 공감을 갖는다면, 판독 픽처의 데이타량과 무관하게 비트 버퍼(2)의 오버플로우를 방지할 수 있다.The free space in the bit buffer 2 is searched because the amount of picture data is not constant. The amount of data for one picture is in the range of 1 to 40 bytes, and this amount is found when the decode core circuit 4 finishes decoding. Moreover, the time for decoding one picture varies depending on the data amount of the picture and the operating speed of the decode core circuit 4, which is normally about 1/3 to 4/3 of one frame. If the data amount of the picture is 0 bytes, for example, the occupancy amount Bm of the bit buffer 2 before the reading of this punch is not different from that after the picture reading. Therefore, picture skipping of 0 bytes makes it impossible to prevent the overflow of the bit buffer 2. In other words, if the bit buffer 2 has sufficient free sympathy for the amount of data supplied in one frame period, overflow of the bit buffer 2 can be prevented regardless of the amount of data of the read picture.

1 프레임 기간에 비트 버퍼(2)에 공급될 비디오 스트림의 데이타량은 n x X = n x RB/RP인다. 그러므로, 비트 버퍼(2)의 오버플로우는 비트 버퍼(2)가 이 데이타량과 같거나 큰 자유 공간을 갖는 경우에 방지될 수 있다. 이 자유 공간은 식(8)로 규정된 것과 같이 비트 버퍼(2)의 용량(B)에서 임계값(Bthn)을 뺀 것이다. 그러므로, 점유량(Bm)은 임계값(Bthn)보다 크지 않을 때, 판단 회로(5)는 충분한 자유 공간이 비트 버퍼(2)내에 확보된다는 것을 판단한다. 즉, 식(2)로 나타난 바와 같이, 임계값(Bthn)을 설정하는 것은 비트 버퍼(2)의 오버플로우를 확실히 방지할 수 있다.The data amount of the video stream to be supplied to the bit buffer 2 in one frame period is nx X = nx R B / R P. Therefore, the overflow of the bit buffer 2 can be prevented when the bit buffer 2 has free space equal to or larger than this data amount. This free space is obtained by subtracting the threshold Bthn from the capacity B of the bit buffer 2 as defined by equation (8). Therefore, when the occupation amount Bm is not larger than the threshold Bthn, the determination circuit 5 determines that sufficient free space is secured in the bit buffer 2. That is, as shown by equation (2), setting the threshold value Bthn can surely prevent the bit buffer 2 from overflowing.

제1 실시예에 따라, 디코드 코어 회로(4)가 임의의 픽처의 디코딩을 개시하기 전에 비트 버퍼(2)가 오버플로우할 염려가 있다는 것이 판단된다.According to the first embodiment, it is determined that the bit buffer 2 may overflow before the decode core circuit 4 starts decoding any picture.

특히, 비트 버퍼(2)의 오버플로우에 대한 판단은 픽처 헤더 검출기(3)이 픽처 헤더를 검출할 때 이루어지고, 그 판단에 따라 픽처를 스킵할 것인 지의 여부를 판단한다. 이러한 방법은 디코드 코어 회로(4)의 비디오 스트림이 전송 동안 인터럽트되는 것을 방지할 수 있고, 디코드 코어 회로(4)가 I-픽처뿐만 아니라 P-픽처 및 B-픽처를 디코드하게 할 수 있다. 그 결과로서, 프레임 드롭핑의 발생은 감소될 것이다. 정상 재생보다 2배 또는 4배 빠른 고속 재생시에, 초당 몇몇 프레임의 레이트로 픽처를 디스플레이하는 것이 가능하다. 따라서, 고속 재생 모드시 자연스러운 동작을 보여주는 동화상을 달성하여, 픽처 화질을 상당히 향상시키는 것이 가능하다.In particular, the determination of the overflow of the bit buffer 2 is made when the picture header detector 3 detects the picture header, and it is determined whether or not to skip the picture according to the determination. This method can prevent the video stream of the decode core circuit 4 from being interrupted during transmission, and allow the decode core circuit 4 to decode not only I-pictures but also P-pictures and B-pictures. As a result, the occurrence of frame dropping will be reduced. In high speed playback, which is twice or four times faster than normal playback, it is possible to display pictures at a rate of several frames per second. Therefore, it is possible to achieve a moving picture showing natural operation in the high speed playback mode, and to significantly improve the picture quality.

제2 실시예Second embodiment

본 발명의 제2 실시예가 이제 제3도 내지 제5도를 참조하여 기술될 것이다. 제2 실시예에 따른 MPEG 비디오 디코더는 제1 실시예의 구성과 동일한 일반적인 구성을 갖는다.A second embodiment of the present invention will now be described with reference to FIGS. 3 to 5. The MPEG video decoder according to the second embodiment has the same general configuration as that of the first embodiment.

그러나 이 실시예에서 비디오 스트림 판단 회로(5)는 식(9)로 규정된 조건을 만족시키도록 2개의 임계값(B2th 및 B2th)을 사용한다.However, in this embodiment, the video stream determination circuit 5 uses two threshold values B2th and B2th to satisfy the condition defined by equation (9).

임계값(B2thn 및 B3thn)은 제1 실시예에서의 재생 속도에 따라 설정되고, 또한 디스플레이(8)에 디스플레이될 동화상의 화질을 실제로 검사한 결과에 기초하여 설정된다. 판단 회로(5)는 임계값(B2thn 및 B3thn)과 비트 버퍼(2)의 점유량(Bm)을 비교하고, 다음의 3가지 경우(C1 내지 C3) 중 어느 것에 해당하는 지를 판단한다.The thresholds B2thn and B3thn are set in accordance with the reproduction speed in the first embodiment, and are also set based on the result of actually checking the image quality of the moving image to be displayed on the display 8. The determination circuit 5 compares the threshold values B2thn and B3thn with the occupancy amount Bm of the bit buffer 2, and determines which of the following three cases (C1 to C3).

경우 C1 (Bm < B3thn) :If C1 (Bm <B3thn):

비트 버퍼(2)의 점유량(Bm)이 임계값(B3thn)을 초과하지 않을 때, 판단 회로(5)는 비트 버퍼(2)가 오버플로우할 염려가 없고 정상이라고 판단한다. 이 판단에 따라, 제어 코어 회로(7)은 비트 버퍼(2)로부터 하나의 픽처의 비디오 데이타를 판독하는 방식으로 비트 버퍼(2)를 제어한다. 더욱이, 제어 코어 회로(7)은 디코드 코어 회로(4)에 픽처의 비디오 스트림을 전송하기 위해 제1 노드(6a)로 픽처 스킵 회로(6)을 전환한다.When the occupancy amount Bm of the bit buffer 2 does not exceed the threshold value B3thn, the decision circuit 5 determines that the bit buffer 2 does not overflow and is normal. In accordance with this determination, the control core circuit 7 controls the bit buffer 2 in a manner of reading video data of one picture from the bit buffer 2. Moreover, the control core circuit 7 switches the picture skip circuit 6 to the first node 6a for transmitting the video stream of the picture to the decode core circuit 4.

경우 2 (B2thn < Bm) :Case 2 (B2thn <Bm):

점유량(Bm)이 임계값(B2thn)을 초과할 때, 판단 회로(5)는 비트 버퍼(2)로부터 판독된 픽처가 I- 또는 P-픽처인 한 제1 플래그(flag)를 설정한다. 제1 플래그가 설정되고 I- 또는 P-픽처 이후의 픽처 판독이 B-픽처인 경우에, 제어 코어 회로(7)은 점유량(Bm)이 임계값(B3thn)보다 작게 되는 경우에도 B-픽처를 스킵한다.When the occupation amount Bm exceeds the threshold B2thn, the judging circuit 5 sets a first flag as long as the picture read from the bit buffer 2 is an I- or P-picture. In the case where the first flag is set and the picture read after the I- or P-picture is a B-picture, the control core circuit 7 selects the B-picture even when the occupancy amount Bm becomes smaller than the threshold value B3thn. Skip it.

경우 3 (B3thn < Bm < B2thn) :Case 3 (B3thn <Bm <B2thn):

점유량(Bm)이 임계값(B3thn)보다 크지만 임계값(B2thn)보다 크지는 않는 경우, 판단 회로(5)는 판독 픽처가 P-픽처인 한 제2 플래그를 설정한다. 제2 플래그가 설정되고, P-픽처 이후의 픽처 판독이 B-픽처인 경우에는, 제어 코어 회로(7)은 점유량(Bm)가 임계값(B3thn)보다 작아지는 경우에도 B-픽처를 스킵한다.If the occupation amount Bm is larger than the threshold B3thn but not larger than the threshold B2thn, the determination circuit 5 sets the second flag as long as the read picture is a P-picture. If the second flag is set and the picture reading after the P-picture is a B-picture, the control core circuit 7 skips the B-picture even when the occupation amount Bm becomes smaller than the threshold value B3thn. .

제5도는 제2 실시예에 따른 비트 버퍼(2)에서의 비디오 스트림의 점유량과 시간 간의 관계를 도시하는 그래프이다. 점유량(Bm)이 임계값(B3thn)보다 큰 경우에, 판독된 B-픽처가 있다면, B-픽처는 디코드되지 않고 스킵된다(제5도의 ※1 참조). B-픽처의 스키핑 이후 점유량(Bm)이 여전히 임계값(B3thn)보다 클 때, B-픽처 이후 I- 또는 P-픽처 판독이 디코드된다(※2 참조).5 is a graph showing the relationship between the occupancy amount and time of a video stream in the bit buffer 2 according to the second embodiment. If the occupancy amount Bm is larger than the threshold value B3thn, if there is a read B-picture, the B-picture is skipped without decoding (see * 1 in Fig. 5). When the occupancy amount Bm after the skipping of the B-picture is still larger than the threshold value B3thn, the I- or P-picture readout after the B-picture is decoded (see * 2).

점유량(Bm)은 임계값(Bthn)보다 클 때, 판독된 I- 또는 P-픽처가 있다면, 이 픽처가 디코드된다(도면에서 ※3 참조). I- 또는 P-픽처의 디코딩 이후에도점유량(Bm)이 여전히 임계값(B3thn)보다 크다면, I- 또는 P-픽처 이후 판독된 B-픽처는 디코드되지 않고 스킵된다(※4 참조). 이 B-픽처의 스키핑은 점유량(Bm)이 임계값(B3thn)보다 작게 될 때까지 반복된다(※5 참조).When the occupancy Bm is larger than the threshold Bthn, if there is a read I- or P-picture, this picture is decoded (see * 3 in the figure). Even after the decoding of the I- or P-picture, if the occupancy amount Bm is still larger than the threshold value B3thn, the B-picture read after the I- or P-picture is skipped without being decoded (see * 4). The skipping of this B-picture is repeated until the occupancy amount Bm becomes smaller than the threshold value B3thn (see * 5).

B-픽처가 I- 또는 P-픽처에 대해 우선적으로 스킵되는 이유는 양방향 예측에 의해 발생된 B-픽처의 데이타의 중요도가 I- 및 P-픽처의 데이타의 중요도보다 낮기 때문이다. I- 또는 P-픽처에 대해 우선적인 B-픽처의 스키핑은 I- 및 P-픽처가 가능한 한 많이 디코드되게 한다. 그러므로, 디스플레이될 동화상으로부터 드롭되는 프레임의 수는 제1 실시예에서보다 작아진다. 따라서, 고속 재생 모드에서 보다 좋은 픽처 화질로 자연스러운 움직임을 보여주는 동화상을 얻는 것이 가능하다.The reason why a B-picture is preferentially skipped for an I- or P-picture is that the importance of the data of the B-picture generated by bidirectional prediction is lower than the importance of the data of the I- and P-picture. Skipping of B-pictures that is preferential for I- or P-pictures causes the I- and P-pictures to be decoded as much as possible. Therefore, the number of frames dropped from the moving image to be displayed is smaller than in the first embodiment. Therefore, it is possible to obtain a moving picture showing natural movement with better picture quality in the high speed playback mode.

점유량(Bm)이 임계값(B2thn)보다 크게 될 때, 판독될 I- 또는 P-픽처가 있다면 이 픽처가 디코드되고, 판단 회로(5)는 제1 플래그를 설정한다(도면에서 ※6 참조). 제1 플래그가 설정되고, I- 또는 P-픽처 후 B-픽처가 판독될 때, 이 B-픽처는 점유량(Bm)이 임계값(B3thn)보다 작아질 때에도 스킵된다(※7 참조). I- 또는 P-픽처 이후 판독된 B-픽처의 우선 스키핑은 오버플로우를 방지하기 위해 비트버퍼(2)내에 보다 큰 자유 공간을 확보할 수 있다.When the occupation amount Bm becomes larger than the threshold value B2thn, this picture is decoded if there is an I- or P-picture to be read out, and the judging circuit 5 sets the first flag (see * 6 in the figure). . When the first flag is set and the B-picture after the I- or P-picture is read, this B-picture is also skipped when the occupancy amount Bm becomes smaller than the threshold value B3thn (see * 7). Prior skipping of the B-picture read after the I- or P-picture can free up more free space in the bitbuffer 2 to prevent overflow.

점유량(Bm)이 임계값(B3thn)보다 크지만 임계값(B2thn)보다 작아질 때, 판독된 B-픽처가 있다면, 이 픽처가 디코드되고, 판단 회로(5)는 제2 플래그(도면에서 ※8을 참조)를 설정한다. 제2 플래그가 설정되고, P-픽처 이후 B-픽처가 판독될 때, B-픽처는 점유량(Bm)이 임계값(Bthn)보다 작아지는 경우에도 스킵된다(※9 참조). P-픽처 이후에 판독되는 B-픽처의 우선 스킵핑은 비트 버퍼(2)가 오버플로윙하는 것을 방지할 수 있는 만큼 점유량(Bm)을 감소시킬 수 있다. 이 오버플로우 방지 구성은 비트 버퍼(2)의 오버플로우를 제거한다.When the occupancy Bm is larger than the threshold B3thn but smaller than the threshold B2thn, if there is a read B-picture, the picture is decoded, and the judging circuit 5 determines the second flag (* in the figure). 8). When the second flag is set and the B-picture is read after the P-picture, the B-picture is skipped even when the occupancy amount Bm becomes smaller than the threshold value Bthn (see * 9). Priority skipping of the B-picture read after the P-picture can reduce the occupancy amount Bm to prevent the bit buffer 2 from overflowing. This overflow protection configuration eliminates overflow of the bit buffer 2.

점유량(Bm)이 임계값(B3thn)보다 크지만 임계값(B2thn)보다 작아질 때, 판독된 I-픽처가 있다면, 이 픽처는 디코드되고, 판단 회로(5)는 제2 플래그를 설정하지 않는다(도면의 ※10 참조). 제2플래그가 설정되지 않는 경우, 및 점유량(Bm)이 임계값(B3thn)보다 작은 경우, I-픽처 이후의 B-픽처 판독은 스킵없이 디코드된다.When the occupation amount Bm is larger than the threshold B3thn but smaller than the threshold B2thn, if there is an I-picture read out, this picture is decoded, and the judging circuit 5 does not set the second flag. (Refer to ※ 10 of drawing). When the second flag is not set, and when the occupancy amount Bm is smaller than the threshold value B3thn, the B-picture reading after the I-picture is decoded without skipping.

제1 및 제2 플래그는 P-픽처의 판독 이후 B-픽처를 스킵핑하기 위한 조건과 상이한, I-픽처의 판독 이후 B-픽처를 스킵핑하기 위한 조건을 형성하기 위해 상술한 방식으로 설정된다. 이것은 더 상세히 후술할 것이다. I-픽처의 데이타량은 P-픽처의 2배 내지 3배이다. 따라서, I-픽처의 판독 이후 점유량(Bm)의 감소 정도는 P-픽처의 판독 이후보다 크다. 다시 말하면, I-픽처의 판독 이후 비트 버퍼 (2)의 오버플로우의 확률은 P-픽처의 판독 이후보다 작다. 이에 대해, I-픽처에 따라 제1 플래그를 설정하기 위한 기준값 또는 임계값(B2thn)은 P-픽처에 따라 제2 플래그를 설정하기 위한 기준값 또는 임계값(B3thn)보다 높게 설정된다. 따라서, I-픽처의 판독 이후 B-픽처를 스킵핑하기 위한 조건은 P-픽처의 판독 이후의 스킵핑 조건보다 더 완화된다. 점유량(Bm)이 임계값(B3thn)보다 작은 경우에도, 비트 버퍼(2)의 오버플로우를 방지하기 위해 헛되게 스킵될 B-픽처의 수는 작아진다. 다시 말하면, 디코드될 B-픽처의 수가 증가한다.The first and second flags are set in the manner described above to form a condition for skipping a B-picture after reading an I-picture that is different from a condition for skipping a B-picture after reading a P-picture. . This will be described later in more detail. The data amount of the I-picture is two to three times that of the P-picture. Therefore, the degree of reduction of the occupancy amount Bm after the reading of the I-picture is larger than after the reading of the P-picture. In other words, the probability of overflow of the bit buffer 2 after the reading of the I-picture is smaller than after the reading of the P-picture. In contrast, the reference value or threshold B2thn for setting the first flag according to the I-picture is set higher than the reference value or threshold B3thn for setting the second flag according to the P-picture. Thus, the condition for skipping a B-picture after reading an I-picture is more relaxed than the skipping condition after reading a P-picture. Even if the occupation amount Bm is smaller than the threshold value B3thn, the number of B-pictures to be skipped in vain to prevent the overflow of the bit buffer 2 becomes small. In other words, the number of B-pictures to be decoded increases.

다음은 제2 실시예에 따른 고속 재생 모드에서의 시뮬레이션 결과를 도시한다. A1 및 A2는 기록 매체로부터의 비디오 스트림 판독의 GOP 구성 형태를 나타낸다.The following shows the simulation result in the fast playback mode according to the second embodiment. A1 and A2 represent GOP configuration forms of reading a video stream from a recording medium.

[1] 2배속 재생 모드시 : A1형에 대해 모든 I- 및 P-픽처들을 동화상이 30 프레임의 풀 레이트로 디스플레이되도록 디코드가능하고, 모든 I- 및 P-픽처 및 소정의 B-픽처들은 동화상이 초당 25 이상의 프레임의 레이트로 디스플레이되도록 디코드 가능하다.[1] In the double speed playback mode: for the A1 type, all I- and P-pictures can be decoded such that moving pictures are displayed at a full rate of 30 frames, and all I- and P-pictures and certain B-pictures are moving pictures. It can be decoded to be displayed at a rate of 25 or more frames per second.

[2] 4배속 재생 모드시 : A1와 A2형 모두에 대해, I-픽처 및 후속적인 3개 내지 4개의 P-픽처들이 동화상이 초당 15 이상의 프레임의 레이트로 디스플레이되도록 디코드가능하다.[2] In the 4x playback mode: For both A1 and A2 types, the I-picture and subsequent three to four P-pictures are decodable such that the moving picture is displayed at a rate of 15 frames or more per second.

제3 실시예Third embodiment

본 발명의 제3 실시예가 제6도를 참조하여 기술될 것이다. 상세한 설명의 반복 설명을 피하기 위해, 제1 실시예의 것과 동일한 소자에 동일한 참조부호 및 심볼이 붙여졌다.A third embodiment of the present invention will be described with reference to FIG. In order to avoid repeated description of the detailed description, the same elements and symbols as those in the first embodiment are denoted.

제6도는 고속 재생, 저속 재생 및 프레임 대 프레임 어드밴스 재생을 포함하는 특수 재생 기능을 갖는 이 실시예에 따른 MPEG 비디오 디코더(11)을 설명한다. MPEG 비디오 디코더(11)은 비트 버퍼(2), 픽처 헤더 검출기(3), MPEG 비디오 디코드 코어 회로(4), 비디오 스트림 판단 회로(5), 픽처 스킵 회로(6) 및 제어 코어 회로(7) 이외에 픽처 헤더 검출기/데이타량 분석기(12), 및 제1 및 제2레지스터(13 및 14)를 포함한다. 이들 회로(3 내지 7, 및 12 내지 14)는 하나의 LSI 칩상에 장착된다.6 illustrates an MPEG video decoder 11 according to this embodiment with special playback functions including fast playback, slow playback, and frame-to-frame advance playback. The MPEG video decoder 11 includes a bit buffer 2, a picture header detector 3, an MPEG video decode core circuit 4, a video stream determination circuit 5, a picture skip circuit 6 and a control core circuit 7 In addition, it includes a picture header detector / data amount analyzer 12 and first and second registers 13 and 14. These circuits 3 to 7, and 12 to 14 are mounted on one LSI chip.

제어 코어 회로(7)은 독립적인 회로(2 내지 6, 및 12 내지 14)를 제어한다. 비디오 CD와 같은 기록 매체(100)으로부터 판독된 비디오 스트림은 픽처 헤더 디코더/데이타량 분선기(12)를 통해 비트 버퍼(2)에 보내진다. 분석기(12)는 다음의 2가지 기능을 갖는다:The control core circuit 7 controls the independent circuits 2 to 6 and 12 to 14. The video stream read from the recording medium 100 such as a video CD is sent to the bit buffer 2 through the picture header decoder / data amount divider 12. The analyzer 12 has two functions:

(1) 비디오 스트림내에 포함된 각각의 픽처의 헤드에 위치된 픽처 헤드를 검출하고, 픽처 헤더에 기초된 각각의 형태(I, P 또는 B)를 판단하는 기능.(1) A function of detecting a picture head located at a head of each picture included in a video stream, and determining each type (I, P or B) based on the picture header.

(2) 검출된 픽처 헤더에 기초하여 각각의 픽처의 데이타량을 분석하는 기능.(2) A function of analyzing the data amount of each picture based on the detected picture header.

제1 및 제3 레지스터(13 및 14)는 각각 FIFO 구성을 갖는 RAM으로 구성된다. 제1 레지스터(13)은 분석기(12)에 의해 검출된 픽처 헤더들을 순차적으로 저장한다. 연속적으로, 비트 버퍼(2)내에 저장된 비디오 스트림의 GOP 구성은 제1 레지스터(13)내에 등록된다. 제2 레지스토(14)는 분석기(12)에 의해 분석된 각각의 픽처의 데이타량에 대한 정보를 순차적으로 저장한다.The first and third registers 13 and 14 are each composed of a RAM having a FIFO configuration. The first register 13 sequentially stores the picture headers detected by the analyzer 12. Subsequently, the GOP configuration of the video stream stored in the bit buffer 2 is registered in the first register 13. The second register 14 sequentially stores information on the data amount of each picture analyzed by the analyzer 12.

비디오 스트림 판단 회로(5)는 다음의 2가지 기능을 갖는다:The video stream determination circuit 5 has the following two functions:

(1) 비트 버퍼(2)의 점유량(Bm)과 임계값(B3thn 및 B2thn)를 비교하여, 상술한 경우 C1 내지 C3 중 해당하는 경우가 있는 지를 판단하는 기능.(1) A function of comparing whether the occupancy amount Bm of the bit buffer 2 and the threshold values B3thn and B2thn is applicable to determine whether any of the cases C1 to C3 are applicable.

(2) 제1 레지스터(13)내에 등록된 GOP 구성, 제2 레지스터(14)내에 등록된 각각의 픽처의 데이타량 및 상기 (1)에서의 판단의 결과에 기초하여 스킵될 픽처의 형태를 선택하는 기능.(2) Select the type of picture to be skipped based on the GOP structure registered in the first register 13, the data amount of each picture registered in the second register 14, and the result of the determination in (1) above. Function.

제1 및 제2 실시예와 다르게, 제3 실시예에 따라, 비디오 스트림가 비트 버퍼(2)에 공급되기 전에, 분석기(12)는 GOP 구성 및 각각의 픽처의 데이타량을 찾는다. 이러한 특징은 비트 버퍼(2)가 비디오 스트림이 비트 버퍼(2)에 공급되기 전에 오버플로우할 것인지를 판단하는 것이 가능하게 한다. 그러므로, GOP 구성 및 각각의 픽처의 데이타량에 기초하여 스킵될 픽처의 최적 형태를 선택하는 것이 가능하다. 예를 들어, 이것은 B-픽처의 불필요한 스킵핑을 방지할 수 있다. 즉, 디코드 코어 회로(4)에 공급될 B-픽처의 수는 비트 버퍼(2)가 오버플로우하는 것을 방지하는 동안 증가한다. 따라서, 고속 재생 모드시 자연스러운 움직임을 보이는 동화상을 얻을 수 있어서, 픽처 화질을 향상시키는 것이 가능하다.Unlike the first and second embodiments, according to the third embodiment, before the video stream is supplied to the bit buffer 2, the analyzer 12 finds the GOP configuration and the data amount of each picture. This feature makes it possible for the bit buffer 2 to determine whether the video stream will overflow before being fed to the bit buffer 2. Therefore, it is possible to select the optimal shape of the picture to be skipped based on the GOP configuration and the data amount of each picture. For example, this can prevent unnecessary skipping of B-pictures. That is, the number of B-pictures to be supplied to the decode core circuit 4 increases while preventing the bit buffer 2 from overflowing. Therefore, it is possible to obtain a moving picture showing natural movement in the high speed playback mode, thereby improving the picture quality.

더욱이, 제어 코어 회로(7)은 비트 버퍼(2)의 정확한 점유량(Bm)을 판단하기 위해 비트 버퍼(2)내에 저장될 픽처의 수 및 각각의 픽처의 정확한 데이타량을 알것이다. 제어 코어 회로(7)은 또한 임의의 픽처의 판독 이후 점유량(Bm)의 감소의 정확한 정도를 판단할수 있다. 예를들어 저속재생 및 프레임 대 프레임 어드밴스 재생시에, 제어 코어 회로(7)은 점유량(Bm)을 모니터하고, 비트 버퍼(2)가 더 오버플로우 또는 언더플로우할 수 있을 때에만, 기록 매체(100)으로부터 비디오 스트림을 판독한다. 이러한 방식으로, 단위 시간당 비트 버퍼(2)로부터 판독될 픽처의 수는 감소되고, 따라서 디스플레이(8)상에 나타나는 동화상의 프레임의 수는 감소한다. 따라서, 기록 매체로부터 비디오 스트림을 판독하는 역할을 하는 구동 유닛의 동작 회수가 감소될 수 있다. 이 결과는 예를 들어, 기록 매체(100)으로서 비디오 CD를 사용하는 비디오 CD 프레이어의 광 픽업용 구동 유닛을 간단히 제어할 수 있게 된다. 또한, 구동 유닛에 대한 기계적인 로드 및 오동작의 발생을 감소시키는 것이 가능하다.Moreover, the control core circuit 7 will know the number of pictures to be stored in the bit buffer 2 and the exact data amount of each picture to determine the exact occupancy amount Bm of the bit buffer 2. The control core circuit 7 can also determine the exact extent of the reduction in the occupancy amount Bm after the reading of any picture. For example, in slow playback and frame-to-frame advance playback, the control core circuit 7 monitors the occupancy amount Bm and only when the bit buffer 2 can overflow or underflow more, the recording medium 100 ) Read the video stream. In this way, the number of pictures to be read from the bit buffer 2 per unit time is reduced, and thus the number of frames of the moving picture appearing on the display 8 is reduced. Thus, the number of operations of the drive unit serving to read the video stream from the recording medium can be reduced. This result makes it possible, for example, to simply control the drive unit for optical pickup of the video CD player using the video CD as the recording medium 100. It is also possible to reduce the occurrence of mechanical loads and malfunctions on the drive unit.

제4 실시예Fourth embodiment

본 발명의 제4 실시예가 이제 제7도를 참조하여 기술될 것이다. 제3 실시예의 소자와 동일한 부분에는 동일한 참조부호 및 심볼을 부여했고, 그에 따른 상세한 설명은 생략하였다. 제7도는 특수 재생 기능을 갖는 MPEG 비디오 디코더(21)을 도시한다. MPEG 비디오 디코더(21)은 비트 버퍼(2), 픽처 헤더 검출기(3), MPEG 비디오 디코드 코어 회로(4), 디비오 스트림 판단 회로(5), 픽처 스킵회로(6), 제어 코어 회로(7), 픽처 헤더 검출기/데이타량 분석기(12) 및 제1 및 제2 레지스터(13 및 14) 이외에 프레임 버퍼(22)를 포함한다.A fourth embodiment of the present invention will now be described with reference to FIG. The same reference numerals and symbols are given to the same parts as the elements of the third embodiment, and detailed description thereof is omitted. 7 shows an MPEG video decoder 21 with a special playback function. The MPEG video decoder 21 includes a bit buffer 2, a picture header detector 3, an MPEG video decode core circuit 4, a video stream determination circuit 5, a picture skip circuit 6, and a control core circuit 7 ), A picture buffer detector / data amount analyzer 12 and a frame buffer 22 in addition to the first and second registers 13 and 14.

제어 코어 회로(7)은 독립적인 회로(2 내지 6, 12 내지 14 및 22)를 제어한다. 비트 버퍼(2)와 하나의 RAM을 공유하는 프레임 버퍼(22)는 3개의 저장 영역, 즉 순방향 참조 영역(22a), 역방향 참조 영역(22b) 및 B-픽처 저장 영역(22c)을 갖는다. 이들 영역(22a 내지 22c)는 플랜(plan)으로 부른다. 하나의 RAM내의 프레임 버퍼(22)와 비트 버퍼(2)의 배열은 필수 소자의 수를 감소시켜서, MPEG 비디오 디코더(21)의 비용을 감소시키는데 기여한다.The control core circuit 7 controls the independent circuits 2 to 6, 12 to 14, and 22. The frame buffer 22 which shares one RAM with the bit buffer 2 has three storage areas, namely a forward reference area 22a, a backward reference area 22b and a B-picture storage area 22c. These areas 22a to 22c are called plans. The arrangement of the frame buffer 22 and the bit buffer 2 in one RAM reduces the number of necessary elements, contributing to reducing the cost of the MPEG video decoder 21.

디코드 코어 회로(4)에 의해 발생된 독립적인 픽처의 디코드된 데이타(또는 비디오 데이타)는 관련 영역(22a 내지 22c)에 전송된다. 영역(22a 내지 22c)의 독립적인 픽처의 디코드된 데이타는 디코드 코어 회로(4)에 전송된다. 순방향 참조 영역(22a)는 디코드 코어 회로(4)에 의해 실행되는 역방향 예측에서 사용된 미래의I- 또는 P-픽처의 디토드 데이타를 저장한다. 역방향 참조 영역(22b)는 디코드 코어 회로(4)에 의해 실행된 순방향 예측에서 사용된 과거의 I- 또는 P-픽처의 디코드된 데이타를 저장한다. B-픽처 저장 영역(22c)는 B-픽처의 디코드된 데이타를 저징한다. 영역(22a 내지 22c) 중 하나의 영역내에 저장된 디코드된 데이타는 디스플레이(8)에 출력된다.Decoded data (or video data) of an independent picture generated by the decode core circuit 4 is transmitted to the relevant areas 22a to 22c. Decoded data of the independent pictures of the regions 22a to 22c are transmitted to the decode core circuit 4. The forward reference region 22a stores decoded data of future I- or P-pictures used in the backward prediction executed by the decode core circuit 4. The backward reference region 22b stores decoded data of past I- or P-pictures used in the forward prediction executed by the decode core circuit 4. The B-picture storage area 22c stores decoded data of the B-picture. Decoded data stored in one of the areas 22a to 22c is output to the display 8.

순방향 참조 영역(22a) 및 역방향 참조 영역(22b)내에 저장된 디코드 I- 또는 P-픽처는 순방향 예측 디코딩 또는 역방향 예측 디코딩용 기본 데이타로서 사용된다. 이를 위해, 디코드 I- 또는 P-픽처는 필수 예측 디코딩 프로세스가 완료되고, 픽처가 더 이상 필요없게 될 때까지 관련 저장 영역내에 저장되어 유지된다. 디코드 B-픽처는 기본 데이타로서 사용되지 않고, 디스플레이(8)에 공급될 때 불필요하게 된다.The decoded I- or P-pictures stored in the forward reference region 22a and backward reference region 22b are used as basic data for forward prediction decoding or backward prediction decoding. For this purpose, the decoded I- or P-picture is stored and kept in the relevant storage area until the required predictive decoding process is completed and the picture is no longer needed. Decoded B-pictures are not used as basic data and become unnecessary when supplied to the display 8.

MPEG 비디오 디코더 및 MPEG 오디오 디코더가 하나의 LSI 칩상에 장착되는 경우에, MPEG 오디오 디코더용 오디오 비트 버퍼는 하나의 RAM내에 프레임 버퍼(22) 및 비디오 비트 버퍼(2)와 함께 독립적으로 배열될 수 있다. 예를 들어, 비디오 CD용 4M DRAM은 52 kbyte의 비디오 비트 버퍼(2)용 용량, 148.5 kbyte의 각각의 영역(22a 내지 22c)용 용량, 6.5 kbyte의 오디오 비트 버퍼용 용량, 및 8 kbyte의 사용자 영역용 용량을 갖는다. 사용자 영역은 예를 들어, 비디오 CD v2.0 규격으로 특정된 섹터 버퍼로서 사용된다.In the case where the MPEG video decoder and the MPEG audio decoder are mounted on one LSI chip, the audio bit buffer for the MPEG audio decoder can be arranged independently with the frame buffer 22 and the video bit buffer 2 in one RAM. . For example, a 4M DRAM for a video CD may have a capacity of 52 kbytes of video bit buffer 2, a capacity of 148.5 kbytes of each region 22a through 22c, a capacity of 6.5 kbytes of audio bit buffer, and an 8 kbyte of user. Has a capacity for the area. The user area is used as, for example, a sector buffer specified in the Video CD v2.0 standard.

충분히 자연스러운 움직임을 보여주는 동화상이 4배속 재생 이상의 고속 재생시 I- 및 P-픽처의 디코드된 데이타를 이용함으로써 간단히 얻어질 수 있기 때문에, B-픽처는 불필요하고 전부 스킵될 수 있다. 충분히 자연스러운 움직임을 보여주는 동화상이 8배속 이상의 고속 재생시 I-픽처의 디코드된 데이타를 사용함으로서 간단히 얻어질 수 있기 때문에, P- 및 B-픽처는 불필요하게 되거나 전부 스킵 될 수 있다. 4배속 재생 이상의 고속 재생시, B-픽처 저장 영역(22c)가 불필요하게 됨을 분명히 알 수 있다.Since a moving picture showing sufficiently natural movement can be simply obtained by using the decoded data of I- and P-pictures during high-speed reproduction of 4x speed reproduction or more, the B-pictures are unnecessary and can be skipped altogether. Since moving pictures showing sufficiently natural movement can be simply obtained by using the decoded data of I-pictures at high speed reproduction of 8 times or more, the P- and B-pictures may be unnecessary or skipped altogether. It can be clearly seen that the B-picture storage area 22c becomes unnecessary during high-speed reproduction of 4x or higher reproduction.

그러므로, 제4 실시예에서, 고속 재생 모드에서는 불필요한 B-픽처 저장 영역(22c)는 비트 버퍼(2)를 보충하기 위해 사용될 수 있다. 이 방법은 저장 영역 (22c)가 비트 버퍼(2)용 확장 메모리(expansion)로서 사용되게 한다. 그러므로, 언급된 4M DRAM에서, 비트 버퍼(2)의 용량은 종래의 비트 버퍼의 용량의 거의 4배인, 약 200 kbyte[= 52kbyte(비트 버퍼(2)의 용량) + 148.5 kbyte(B-픽처 저장 영역(22c)의 용량)]로 증가된다. 확장 용량과 같은 비트 버퍼(2)를 사용하는 고속 재생 모드에서의 시뮬레이션을 통해서, 자연스러운 움직임을 보이는 동화상이 30배속 재생 속도까지 달성될 수 있다는 것이 확인되었다. 비트 버퍼(2)의 용량이 확장은 또한 비트 버퍼(2)가 4배속 속도 이상의 고속 재생 모드에서 오버플로윙하는 것을 방지할 수 있다.Therefore, in the fourth embodiment, the unnecessary B-picture storage area 22c in the fast playback mode can be used to replenish the bit buffer 2. This method allows the storage area 22c to be used as an expansion memory for the bit buffer 2. Therefore, in the mentioned 4M DRAM, the capacity of the bit buffer 2 is about 200 kbytes (= 52 kbytes (capacity of the bit buffer 2) + 148.5 kbytes (B-picture storage), which is almost four times the capacity of the conventional bit buffer. Capacity of region 22c)]. Simulation in the fast playback mode using the bit buffer 2 as the expansion capacity has confirmed that a moving picture showing natural movement can be achieved up to a 30x playback speed. The expansion of the capacity of the bit buffer 2 can also prevent the bit buffer 2 from overflowing in the high speed playback mode above the 4x speed.

제5 실시예Fifth Embodiment

본 발명의 제5 실시예가 제7도, 이제 제8A도, 제8B도 및 제9도를 참조하여 설명된다. 제5 실시예에 따른 MPEG 비디오 디코더는 제4 실시예와 같은 동일한 구성을 갖는다. 디코드 코어 회로(4)는 1 프레임 기간내에 MPEG 비디오 부분에 적합하게 2개의 I- 또는 P-픽처를 디코드하고, 2개의 비디오 출력을 생성한다. 디코드코어 회로(4)는 1 프레임 기간내에 생성된 2개의 비디오 출력 중 하나의 출력, 즉 디스플레이(8)에 먼저의 디코딩에 의해 얻어진 제1 비디오 출력이 아닌 나중의 디코딩에 의해 얻어진 제2 비디오 출력만을 공급한다. 제1 비디오 출력은 순방향 예측에 대한 중간 데이타로서 사용된다.A fifth embodiment of the present invention is described with reference to FIGS. 7, 8A, 8B and 9. The MPEG video decoder according to the fifth embodiment has the same configuration as that of the fourth embodiment. The decode core circuit 4 decodes two I- or P-pictures to fit the MPEG video portion within one frame period, and generates two video outputs. The decode core circuit 4 has one output of one of the two video outputs generated within one frame period, i.e., the second video output obtained by later decoding rather than the first video output obtained by the first decoding on the display 8. Feed only. The first video output is used as intermediate data for forward prediction.

제4 실시예에서 설정한 바와 같이, 프레임 버퍼(22)내의 B-픽처 저장 영역(22c)는 불필요하다. 그러므로, 이 실시예에 따라, 제어 코어 회로(7)은 저장 영역(22c)에 제1 비디오 출력을 저장하도록 디코드 코어 회로(4) 및 프레임 버퍼(22)를 제어한다. 이것은 프레임 버퍼(22)와 별도로 제1 비디오 출력의 저장하기 위한 프레임 버퍼를 제공할 필요가 없게 한다.As set in the fourth embodiment, the B-picture storage area 22c in the frame buffer 22 is unnecessary. Therefore, according to this embodiment, the control core circuit 7 controls the decode core circuit 4 and the frame buffer 22 to store the first video output in the storage area 22c. This eliminates the need to provide a frame buffer for storing the first video output separately from the frame buffer 22.

제5 실시예의 동작이 이제 제8A도, 제8B도 및 제9도를 참조하여 설명될 것이다. 제8A도에 도시된 바와 같이 기록 매체(100)으로부터 판독된 GOP 층(I, P, B, B, P, B, P, I)을 갖는 비디오 스트림을 가정한다. 제8B도는 디코드 코어 회로(4)에 의해 디코드될 픽처, 디스플레이(8)상에 디스플레이될 필처 및 각각의 1프레임 기간내에 픽처 스킵 회로(6)을 통해 스킵될 픽처를 도시한다.The operation of the fifth embodiment will now be described with reference to FIGS. 8A, 8B and 9. Assume a video stream having a GOP layer (I, P, B, B, P, B, P, I) read from the recording medium 100 as shown in FIG. 8A. 8B shows a picture to be decoded by the decode core circuit 4, a picture to be displayed on the display 8 and a picture to be skipped through the picture skip circuit 6 within each one frame period.

제9도는 제8A도 및 제8B도에 대응하는 비트 버퍼(2)의 점유량(Bm)과 시간 간의 관계를 도시하는 그래프이다. I-픽처(10)가 디코드된 후, P-픽처(P1)은 비트 버퍼(2)로부터 판독되어 디코드된다. P-픽처(P1)이 판독될 지라도 점유량(Bm)이 임계값(R3thn)보다 작을 때, P-픽처(P1)에 이어서 독출되는 2개의 B-픽처(B2 및 B3)은 디코드되지 않고 스킵된다. 점유량(Bm)이 여전히 임계값(B3thn)보다 클때, 다음에 독출될 P-픽처(P4)가 디코드된다. 이 때, 미리 디코드된 P-픽처(P1)(또는 제1 비디오 출력)는 디스플레이(8)상에 디스플레이되지 않고, 순방향 예측을 통해 P-픽처(P4)의 비디오 출력을 생성하기 위해 중간 데이타로서 사용된다. 따라서, 디코드된 P-픽처(P1)(또는 제1 비디오 출력)이 디스플레이된다. 이들 프로세스는 1 프레임 기간내에 실행된다. 다음의 1 프레임 기간내에, B-픽처(B5)는 디코드되고 디스플레이된다.9 is a graph showing the relationship between the occupancy amount Bm and the time of the bit buffer 2 corresponding to FIGS. 8A and 8B. After the I-picture 10 is decoded, the P-picture P1 is read from the bit buffer 2 and decoded. Even if the P-picture P1 is read, when the occupancy amount Bm is less than the threshold value R3thn, the two B-pictures B2 and B3 which are subsequently read after the P-picture P1 are skipped without being decoded. . When the occupation amount Bm is still larger than the threshold value B3thn, the P-picture P4 to be read next is decoded. At this time, the pre-decoded P-picture P1 (or the first video output) is not displayed on the display 8 but as intermediate data to generate the video output of the P-picture P4 through forward prediction. Used. Thus, the decoded P-picture P1 (or the first video output) is displayed. These processes are executed in one frame period. Within the next one frame period, the B-picture B5 is decoded and displayed.

그러므로, 비트 버퍼(2)가 오버플로윙하는 것을 방지하여도, 해독불가능한 P-픽처의 수는 증가한다. 따라서, 해독불가능한 B-픽처의 수가 또한 증가한다. 그러므로, 고속 재생 모드시의 자연스러운 움직임을 보여주는 동화상을 얻을 수 있고, 또한 픽처 화질을 향상시킬 수 있다.Therefore, even if the bit buffer 2 is prevented from overflowing, the number of undecipherable P-pictures increases. Thus, the number of undecipherable B-pictures also increases. Therefore, a moving picture showing natural movement in the fast playback mode can be obtained, and the picture quality can be improved.

제6 실시예Sixth embodiment

본 발명이 제6 실시예가 제10도 및 제11도를 참조하여 설명된다. 제1 실시예의 소자와 동일한 소자에는 동일한 참조 부호 및 심볼을 붙였고, 그에 대한 상세한 설명은 생략하였다. 제10도는 특수 재생 기능을 갖는 MPEG 비디오 디코더(31)의 블럭도를 도시한다. MPEG 비디오 디코더(31)은 픽처 헤더 검출기(3), MPEG 비디오 디코드 코어 회로(4), 픽처 스킵 회로(6), 제어 코어 회로(7), 비트 버퍼(33) 및 오버플로우 검출기(34)를 포함한다.A sixth embodiment of the present invention is described with reference to FIGS. 10 and 11. The same reference numerals and symbols are attached to the same elements as those of the first embodiment, and detailed descriptions thereof are omitted. 10 shows a block diagram of an MPEG video decoder 31 having a special playback function. The MPEG video decoder 31 carries the picture header detector 3, the MPEG video decode core circuit 4, the picture skip circuit 6, the control core circuit 7, the bit buffer 33 and the overflow detector 34. Include.

제어 코어 회로(7)은 독립적인 회로(3, 4, 6, 33 및 34)를 제어한다. 비트 버퍼(33)은 FIFO 구성을 갖는 RAM으로 구성되고, 비디오 스트림을 순차적으로 저장한다. 비트 버퍼(33)의 용량(버퍼 크기)(BA)는 다음 식(10)으로 규정된다.The control core circuit 7 controls the independent circuits 3, 4, 6, 33 and 34. The bit buffer 33 is composed of a RAM having a FIFO configuration and stores video streams sequentially. The capacity (buffer size) BA of the bit buffer 33 is defined by the following expression (10).

여기서, B는 관련 기술 부분에서 설명한 바와 같이, 식(2)에 의해 규정된 용량, 1024 x VBS이고, X는 관련 기술 부분에서 설명한 바와 같이 식(3)에 의해 규정된 데이타량, RB/RP이고, ΔB는 적절한 마진이다.Where B is the capacity defined by equation (2), 1024 x VBS, as described in the related art section, and X is the data amount, R B / R P and ΔB is a suitable margin.

오버플로우 검출기(34)는 비트 버퍼(33)내의 비디오 스트림의 점유량(Bm)을 검출하고, 제1 임계값(Bth1) 및 제2 임계값(Bth2)와 점유량(Bm)를 비교한다. 제1 임계값(Bth1)은 용량(B)와 동일한 값으로 설정된다. 제2 임계값(Bth2)는 데이타 량(X)에 용량(B)를 가산하여 얻어진 값으로 설정된다.The overflow detector 34 detects the occupancy amount Bm of the video stream in the bit buffer 33 and compares the occupancy amount Bm with the first threshold value Bth1 and the second threshold value Bth2. The first threshold Bth1 is set to the same value as the capacity B. The second threshold Bth2 is set to a value obtained by adding the capacity B to the data amount X.

비디오 디코더(31)이 제11도에서 도시된 플로우차트를 참조하여 기술될 것이다. 단계 1에서 오버플로우 검출기(5)기 점유량(Bm)이 제1 임계값(Bth1)보다 크다고 판단하면, 플로우는 단계 2로 진행한다. 단계 1에서 그렇지 않다고 판단하면, 플로우는 단계 3으로 이동한다. 오버플로우 검출기(5)는 단계 2에서 점유량(Bm)이 제2 임계값(Bth2)보다 크다고 판단하면, 플로우는 단계 5로 진행한다. 단계 2에서 그렇지 않다고 판단하면, 플로우는 단계 4로 진행한다.The video decoder 31 will be described with reference to the flowchart shown in FIG. If it is determined in step 1 that the overflow detector 5 occupancy amount Bm is greater than the first threshold value Bth1, the flow advances to step 2. If it is determined in step 1 that is not the case, the flow moves to step 3. If the overflow detector 5 determines in step 2 that the occupation amount Bm is greater than the second threshold Bth2, the flow advances to step 5. If not in step 2, the flow proceeds to step 4.

단계 4에서 픽처 헤더 검출기(3)에 의해 판단된 픽처의 형태가 B-픽처이면, 플로우는 단계 5로 진행한다. 픽처가 I-픽처 또는 P-픽처이면, 플로우는 단계 3으로 간다. 단계 5에서, 픽처 스킵 회로(6)은 픽처를 스킵하고, 이후 플로우는 단계 1로 복귀한다. 단계 3에서, 픽처 스킵 회로(6)은 픽처 스킵 회로(6)은 픽처를 디코드 코어 회로(4)에 전송하고, 이후 플로우는 단계 1로 복귀한다.If the shape of the picture determined by the picture header detector 3 in step 4 is a B-picture, the flow advances to step 5. If the picture is an I-picture or a P-picture, the flow goes to step 3. In step 5, the picture skip circuit 6 skips the picture, and the flow then returns to step 1. In step 3, the picture skip circuit 6 sends the picture to the decode core circuit 4, and the flow then returns to step 1.

제6 실시예에 따라, 상기로부터 명백하듯이, 점유량(Bm)가 임계값(Bth1)을 초과하지 않는다면, 비트 버퍼(33)으로부터 판독된 픽처는 그 형태에 상관없이 디코드 코어 회로(4)에 전송된다. 점유량(Bm)이 제1 및 제2 임계값(Bth1 및 Bth2) 사이에 있다면, I- 또는 P-픽처는 디코드 코어 회로(4)에 전송되고, B-픽처는 I- 또는 P-픽처에 대해 우선적으로 스킵된다. I- 또는 P-픽처에 대해 우선적인 B-픽처의 스킵핑은 비트 버퍼(33)의 오버플로우를 발생할 가능성을 억제한다. B-픽처의 스킵핑은 디코드 코어 회로(4)에 의한 연속적인 데이타 디코딩에 영향을 미치지 않는다.According to the sixth embodiment, as apparent from the above, if the occupancy amount Bm does not exceed the threshold Bth1, the picture read from the bit buffer 33 is decoded to the decode core circuit 4 regardless of its form. Is sent. If the occupancy Bm is between the first and second thresholds Bth1 and Bth2, the I- or P-picture is sent to the decode core circuit 4 and the B-picture is for the I- or P-picture. It is skipped first. Skipping of B-pictures that is preferential for I- or P-pictures suppresses the possibility of causing overflow of the bit buffer 33. Skipping of B-pictures does not affect continuous data decoding by the decode core circuit 4.

점유량(Bm)이 임계값(Bth2)보다 크게 되는 경우, I, P 및 B-픽처는 스킵된다. 결과적으로, 비트 버퍼(33)의 오버플로우가 발생되지 않도록, 비트 버피(33)의 점유량(Bm)이 감소한다.When the occupation amount Bm becomes larger than the threshold Bth2, the I, P and B-pictures are skipped. As a result, the occupancy amount Bm of the bit bufty 33 is reduced so that the overflow of the bit buffer 33 does not occur.

비트 버퍼(33)의 용량(BA)는 이 실시예에서의 마진(ΔB)을 포함하고, 비트 버퍼(33)이 오버플로우할 수가 있게 된다. 마진(ΔB)이 클수록 비트 버퍼(33)이 오버플로우할 염려는 적어진다. 그러나, 이 경우에, 용량(BA)가 증가하므로, 비용 효율이 악화한다. 실제로 행해진 다양한 비디오 스트림을 처리하는 실험으로부터 얻어진 적절한 값으로 마진(ΔB)을 설정하는 것이 양호하다.The capacity BA of the bit buffer 33 includes the margin ΔB in this embodiment, and the bit buffer 33 can overflow. The larger the margin ΔB, the less the risk that the bit buffer 33 will overflow. However, in this case, since the capacity BA is increased, the cost efficiency deteriorates. It is preferable to set the margin ΔB to an appropriate value obtained from experiments processing various video streams actually performed.

제7 실시예Seventh embodiment

본 발명의 제7 실시예가 제12도 및 제13도를 참조하여 이제 기술될 것이다. 제12도는 이 실시예에 따른 MPEG 비디오 디코더(41)의 블럭 회로도를 도시한다.MPEG 비디오 디코더(41)은 비트 버퍼(2), 픽처 헤더 검출기(3), 디코드 코어 회로(4), 제어 코어 회로(7), 프레임 버퍼(22) 및 언더플로우 검출기(42)를 포함한다. 픽처 헤더 검출기(3) 및 디코드 코어 회로(4)는 제1 실시예의 구성과 동일한 구성을 갖는다. 비트 버퍼(2) 및 프레임 버퍼(22)는 제4 실시예의 구성과 동일한 구성을 갖는다.A seventh embodiment of the present invention will now be described with reference to FIGS. 12 and 13. Fig. 12 shows a block circuit diagram of the MPEG video decoder 41 according to this embodiment. The MPEG video decoder 41 includes a bit buffer 2, a picture header detector 3, a decode core circuit 4, and a control core. Circuit 7, frame buffer 22 and underflow detector 42. The picture header detector 3 and the decode core circuit 4 have the same configuration as that of the first embodiment. The bit buffer 2 and the frame buffer 22 have the same configuration as that of the fourth embodiment.

언더플로우 검출기(22)는 비트 버퍼(2)의 점유량(Bm)과 임계값(Bth3)을 비교하고, 비트 버퍼(2)가 언더플로윙하는 지의 여부를 검출한다. 임계값(Bth3)는 비트 레이트(RB)에 vbv(비디오 버퍼링 검공기) 지연값(VD)를 곱함으로써 얻어진 값으로 설정된다. 이 vbv 지연값(VD)는 픽처 헤더에 의해 규정된다.The underflow detector 22 compares the occupancy amount Bm of the bit buffer 2 with the threshold value Bth3 and detects whether the bit buffer 2 underflows. The threshold Bth3 is set to a value obtained by multiplying the bit rate R B by vbv (video buffering air) delay value VD. This vbv delay value VD is defined by the picture header.

제어 코어 회로(7)은 비트 버퍼(2)로부터 판독된 픽처의 형태, 및 언더플로우 검출기(2)에 의한 비교 및 검출 결과에 기초하여 디코드 코어 회로(4) 및 비트 버퍼(2)를 제어한다.The control core circuit 7 controls the decode core circuit 4 and the bit buffer 2 based on the shape of the picture read out from the bit buffer 2 and the comparison and detection result by the underflow detector 2. .

MPEG 비디오 디코더(41)의 동작이 제13도에 도시된 플로우차트를 참조하여 논의될 것이다. 단계 11에서 언더플로우 검출기(42)가 점유량(Bm)이 임계값(Bth3) 보다 작다는 것을 판단한 경우, 플로우는 단계 12로 이동한다. 단계 11에서 그렇지 않다고 판단하면, 플로우는 단계 13을 건너뛴다. 임계값(Bth3)보다 작은 점유량(Bm)은 픽처가 비트 버퍼(2)로부터 판독될 때 비트 버퍼(2)가 언더플로우할 가능성이 높다는 것을 시사한다.The operation of the MPEG video decoder 41 will be discussed with reference to the flowchart shown in FIG. If the underflow detector 42 determines in step 11 that the occupation amount Bm is less than the threshold Bth3, the flow moves to step 12. If in step 11 it is not, the flow skips step 13. The occupation amount Bm smaller than the threshold Bth3 suggests that the bit buffer 2 is likely to underflow when a picture is read from the bit buffer 2.

에러 프로세스가 단계 12에서 수행된다. 특히, 제어 코어 회로(7)은 비트 버퍼(2)로부터의 픽처 리딩을 중지하고, 동시에 픽처 판독이 중지되기 전에 픽처를 반복적으로 출력하고, 픽처 판독의 중지시에는 디코딩되는 픽처를 출력하지 않는 방식으로 디코드 코어 회로(4)를 제어한다. 이어서, 플로우는 단계 11로 복귀한다. 이 에러 프로세스는 점유량(Bm)을 증가시켜, 비트 버퍼(2)가 언더플로우할 가능성을 적게 만든다.An error process is performed in step 12. In particular, the control core circuit 7 stops picture reading from the bit buffer 2, and at the same time repeatedly outputs a picture before picture reading is stopped, and does not output a picture to be decoded when picture reading is stopped. The decode core circuit 4 is controlled. The flow then returns to step 11. This error process increases the occupancy amount Bm, making the bit buffer 2 less likely to underflow.

단계 13에서, 다음 픽처는 비트 버퍼(2)로부터 판독되고, 디코드 코어 회로(4)에 의해 디코드되어 비디오 출력을 생성한다. 이어서, 플로우는 단계 1로 진행한다.In step 13, the next picture is read from the bit buffer 2 and decoded by the decode core circuit 4 to produce a video output. The flow then proceeds to step 1.

언더플로우 검출기(42)가 단계 14에서 비트 버퍼(2)가 언더플로우하지 않는다고 판단하면, 플로우는 단계 11로 복귀한다. 반면, 언더플로우가 발생한다고 판단하면, 플로우는 단계 15로 이동한다. 다시 말하면, 디코드 코어 회로(14)에 의한 한 픽처의 디코딩이 양호하게 종료될 때 플로우는 단계 11로 복귀하고, 비트 버퍼(2)가 한 픽처의 디코딩 동안 언더플로우할 때 플로우는 단계 15로 진행한다.If the underflow detector 42 determines in step 14 that the bit buffer 2 does not underflow, the flow returns to step 11. On the other hand, if it is determined that an underflow occurs, the flow moves to step 15. In other words, when the decoding of one picture by the decode core circuit 14 ends well, the flow returns to step 11 and the flow proceeds to step 15 when the bit buffer 2 underflows during decoding of one picture. do.

단계 15에서, 에러 프로세스가 단계 12에서의 프로세스와 유사하게 수행되고, 이후 플로우가 단계 16으로 진행한다. 언더플로우의 발생시에도 에러 프로세싱을 실행하는 것은 디코드 코어 회로(4)가 디스플레이(8)에 비디오 출력을 지속적으로 공급하게 하여, 동화상이 디스플렝(8)의 스크린상에 계속 디스플레이되게 한다.In step 15, the error process is performed similar to the process in step 12, and then the flow proceeds to step 16. Performing error processing even in the event of underflow causes the decode core circuit 4 to continuously supply the video output to the display 8 so that the moving picture is continuously displayed on the screen of the displen 8.

픽처 헤더 검출기(3)이 단계 16에서 판독 픽처가 B-픽처라고 판단한 경우, 플로우는 단계 17로 간다. 판독 픽처가 1-픽처 또는 P-픽처인 경우에는, 플로우는 딘계 18로 이동한다. 단계 17에서, 디코드 코어 회로(4)에 의해 디코딩 프로세스되는 B-픽처는 스킵된다. B-픽처의 스킵핑은 디코드 코어 회로(4)에 의해 연속적인 디코딩 프로세스에 영향을 미치지 않는다. 픽처 스킵핑 이후, 플로우는 단계 11로 복귀한다.If the picture header detector 3 determines in step 16 that the read picture is a B-picture, the flow goes to step 17. If the read picture is a 1-picture or a P-picture, the flow moves to Dean 18. In step 17, the B-picture to be decoded by the decode core circuit 4 is skipped. Skipping of the B-pictures does not affect the continuous decoding process by the decode core circuit 4. After picture skipping, the flow returns to step 11.

언더플로우 검출기(42)가 단계 18에서 비트 버퍼(2)의 언더플로우가 해제되었다고 판단하면, 플로우는 단계 13으로 복귀한다. 언더플로우는 비디오 스트림이 데이타 판독기(도시되지 않음)로부터 비트 버퍼(7)에 전송될 때 해제된다. 언더플로우의 해제 이후, 언더플로우의 발생시 진행하는 I- 또는 P-픽처의 디코딩은 단계 11에서 재개된다. 이것은 높은 중요성을 갖는 I- 또는 P-픽처를 가능한 재생할 수 있게 하고, 드롭되는 프레임이 더 적고 자연스러운 움직임으로 보여주는 동화상을 제공할 수 있게 한다. 따라서 얻어진 동화상의 화질은 향상된다.If the underflow detector 42 determines that underflow of the bit buffer 2 has been released in step 18, the flow returns to step 13. Underflow is released when the video stream is sent from the data reader (not shown) to the bit buffer 7. After the release of the underflow, decoding of the I- or P-picture that proceeds upon occurrence of the underflow is resumed at step 11. This makes it possible to reproduce I- or P-pictures of high importance and to provide moving pictures which show fewer dropped frames with natural movement. Therefore, the image quality of the obtained moving image is improved.

제7 실시예에 따라, 프레임 버퍼(22) 및 비트 버퍼(2)는 하나의 4M DRAM내에 제공된다. 더욱이, 프레임 버퍼(22)는 3개의 저장 영역 즉, 순방향 참조 영역(22a), 역방향 참조 영역(22b) 및 B-픽처 저장 영역(22c)를 갖는다. 디코드 코어 회로(4)에 의해 디코드된 제1 B-픽처는 B-픽처 저장 영역(22c)에 전송되고, 동시에 저장 영역(22c)에 이미 저장된 제2 B-픽처는 디스플레이(8)에 출력된다. 다시 말하면, 제2 B-픽처는 제1 B-픽처로 중복기입된다. 그러므로, 비트 버퍼(2)의 언더플로우가 발생할 때, 디코딩이 진행되는 제1 B-픽처, 및 제2 B-픽처의 비중복 기입 부분은 B-픽처 저장 영역(22c)내에 동시에 있게 되어 디스플레이(8)의 스크린이 2개의 부분으로 분할된다. 그러나 B-픽처의 중요도가 낮을 때, 스크린의 분할은 상기에 논의된 바와 같이 디코딩이 진행중인 B-픽처를 스킵핑함으로써 피할 수 있다.According to the seventh embodiment, the frame buffer 22 and the bit buffer 2 are provided in one 4M DRAM. Moreover, the frame buffer 22 has three storage areas, namely, the forward reference area 22a, the backward reference area 22b, and the B-picture storage area 22c. The first B-picture decoded by the decode core circuit 4 is transmitted to the B-picture storage area 22c, and at the same time, the second B-picture already stored in the storage area 22c is output to the display 8. . In other words, the second B-picture is overwritten with the first B-picture. Therefore, when an underflow of the bit buffer 2 occurs, the non-redundant write portions of the first B-picture and the second B-picture to which decoding proceeds are simultaneously present in the B-picture storage area 22c so that the display ( The screen of 8) is divided into two parts. However, when the importance of a B-picture is low, segmentation of the screen can be avoided by skipping the B-picture in decoding, as discussed above.

제1 디코드 코어 회로(4)에 의해 디코드된 I- 또는 P-픽처는 순방향 참조 영역(22a)에 전송되고, 역방향 참조 영역(22b)내에 이미 저장된 제1 I- 또는 B-픽처, 또는 B-픽처 저장 영역(23c)내에 저장된 디코드 B-픽처는 디스플레이(8)에 선택적으로 출력된다. 디코드 코어 회로(4)에 의해 디코드된 제3 I- 또는 P-픽처가 역방향 참조 영역(22b)에 전송된다면, 순방향 참조 영역(22a)내에 이미 저장된 제4 I- 또는 P-픽처, 또는 B-픽처 저장 영역(22c)내에 저장된 디코드 B-픽처는 디스플레이(8)에 출력된다. 그러므로 제1 I- 또는 P-픽처는 제2 I- 또는 P-픽처, 제3 I- 또는 P-픽처, 및 제4 I- 또는 P-픽처 중 어느 것과도 중복기입되지 않는다. 더욱이, 비트 버퍼(2)의 언더플로우의 발생시 진행되는 제1 또는 제3 I- 또는 P-픽처의 디코딩은 언더플로우가 해제된 후에 재개된다. 연속적으로, 완전히 디코드된 제1 또는 제3 I- 또는 P-픽처는 순방향 참조 영역(22a) 또는 역방향 참조 영역 (22b)내에 저장된다. 따라서, 제1 또는 제3 I- 또는 P-픽처는 또한 디스플레이(8)상에 디스플레이될 수 있으므로, 자연스러운 움직임을 보여주는 동화상을 제공할 수 있다.The I- or P-picture decoded by the first decode core circuit 4 is transmitted to the forward reference region 22a, and the first I- or B-picture, or B-, already stored in the backward reference region 22b. The decoded B-pictures stored in the picture storage area 23c are selectively output to the display 8. If the third I- or P-picture decoded by the decode core circuit 4 is transmitted to the reverse reference region 22b, the fourth I- or P-picture already stored in the forward reference region 22a, or B- The decoded B-picture stored in the picture storage area 22c is output to the display 8. Therefore, the first I- or P-picture is not overwritten with any of the second I- or P-picture, the third I- or P-picture, and the fourth I- or P-picture. Moreover, the decoding of the first or third I- or P-picture which proceeds upon occurrence of the underflow of the bit buffer 2 is resumed after the underflow is released. Subsequently, the fully decoded first or third I- or P-picture is stored in forward reference region 22a or reverse reference region 22b. Thus, the first or third I- or P-picture can also be displayed on the display 8, thereby providing a moving picture showing natural movement.

본 발명의 제7 실시예가 기술되었지만, 본 발명이 본 발명의 범위 또는 취지를 벗어나지 않는 많은 다른 특정 형태로 실시될 수 있다는 것은 본 기술 분야의 숙련된 자들은 명백히 알 수 있을 것이다. 특히, 본 발명이 다음의 형태로 실시될 수 있다는 것을 이해해야 한다.Although the seventh embodiment of the present invention has been described, it will be apparent to those skilled in the art that the present invention may be embodied in many other specific forms without departing from the scope or spirit of the invention. In particular, it should be understood that the present invention can be implemented in the following forms.

본 발명은 I-, P- 및 B-픽처 뿐만 아닌라 D-픽처를 포함하는 고속 재생에 적합하다.The present invention is suitable for high speed playback including I-, P- and B-pictures as well as D-pictures.

식(8), Bthn = B - n x X - (n x RB/RP)의 계수 m은 정상 재생 속도의 배율 n보다 큰 값으로 변경시킬 수 있다. 예를 들어, 계수 n은 2배속 재생시에는 "2"(n > 2)보다 크게 설정된다. 이 경우, 계수 n을 너무 크게 설정하면, 디스플레이될 동화상으로부터 드롭될 프레임의 수도 많아진다. 이에 대해, 계수 n의 값은 배율 n과 동일하게 설정하는 것이 가장 좋고, 양호하게는, 계수 n은 드롭될 프레임의 수를 억제하도록 조정되어야 한다.Equation (8), Bthn = B-nx X-(nx R B / R P ) The coefficient m can be changed to a value larger than the magnification n of the normal reproduction speed. For example, the coefficient n is set larger than "2"(n> 2) at the double speed reproduction. In this case, if the coefficient n is set too large, the number of frames to be dropped from the moving image to be displayed increases. In contrast, it is best to set the value of the coefficient n equal to the magnification n, and preferably, the coefficient n should be adjusted to suppress the number of frames to be dropped.

제1 실시예와 제2 실시예는 병합될 수 있다. 유사하게, 제2 실시예와 제7 실시예도 병합될 수 있다. 또한, 제6 실시예와 제7 실시예도 병합될 수 있다.The first embodiment and the second embodiment may be merged. Similarly, the second and seventh embodiments can also be merged. In addition, the sixth and seventh embodiments may also be merged.

제1 내지 제7 실시예에서, 독립적인 회로(4, 6, 7, 34 및 42)의 신호 처리는 CPU를 사용하여 달성되는 소프트웨어-기초 신호 처리로 대체될 수 있다.In the first to seventh embodiments, the signal processing of the independent circuits 4, 6, 7, 34 and 42 can be replaced by software-based signal processing which is achieved using the CPU.

프레임 버퍼(22)가 제4 실시예의 비트 버퍼(2)와 별도로 제공될 수 있다.The frame buffer 22 may be provided separately from the bit buffer 2 of the fourth embodiment.

제1 디코드 I- 또는 P-픽처의 제1 비디오 출력을 저장하기 위한 프레임 버퍼가 제5 실시예의 프레임 버퍼(22)와 별도로 제공될 수 있다.A frame buffer for storing the first video output of the first decode I- or P-picture may be provided separately from the frame buffer 22 of the fifth embodiment.

제6 실시예에서, 제2 임계값(Bth2) 및 이 임계값에 관련된 동작은 생략될 수 있다.In the sixth embodiment, the second threshold Bth2 and the operation related to this threshold can be omitted.

본 발명에 사용가능한 기록 매체는 비디오 CD뿐만 아니라 CD-ROM, 하드 디스크 및 비디오 테이프와 같은 디지탈 기록 매체의 모든 형태를 포함한다.Recording media usable in the present invention include not only video CDs but also all forms of digital recording media such as CD-ROMs, hard disks, and video tapes.

본 발명은 MPEG 시스템을 사용하는 비디오 테이프 리코더(VTR) 및 디지탈 비디오 디스크(DVD)와 같은 저장 매체용 플레이어뿐만 아니라 비디오 CD 플레이어에적합할 수 있다.The present invention is suitable for video CD players as well as players for storage media such as video tape recorders (VTR) and digital video discs (DVD) using the MPEG system.

그러므로, 본 예 및 실시예들은 예시적인 것이고 제한적인 것이 아니며, 본 발명은 상세한 설명에 제한되지 않고, 첨부된 특허청구범위의 범위내에서 변경할 수 있다.Therefore, the present examples and embodiments are to be considered as illustrative and not restrictive, and the invention is not to be limited to the details, but may be modified within the scope of the appended claims.

제1도는 종래의 MPEG 비디오 디코더를 도시하는 블럭 회로도.1 is a block circuit diagram showing a conventional MPEG video decoder.

제2도는 종래의 비트 버퍼내의 비디오 스트림의 점유량과 시간 간의 관계를 도시하는 그래프.2 is a graph showing the relationship between the occupancy and time of a video stream in a conventional bit buffer.

제3도는 본 발명의 제1 및 제2 실시예에 따른 MPEG 비디오 디코더를 도시하는 블럭 회로도.3 is a block circuit diagram showing an MPEG video decoder according to the first and second embodiments of the present invention.

제4도는 제1 실시예에 따른 비트 버퍼내의 비디오 스트림의 점유량 및 시간간의 관계를 도시하는 그래프.4 is a graph showing the relationship between the occupancy and time of a video stream in a bit buffer according to the first embodiment.

제5도는 제2 실시예에 따른 비트 버퍼내의 비디오 스트림의 점유량 및 시간간의 관계를 도시하는 그래프.5 is a graph showing the relationship between the occupancy and time of a video stream in a bit buffer according to the second embodiment.

제6도는 본 발명의 제3 실시예에 따른 MPEG 비디오 디코더를 도시하는 블럭 회로도.6 is a block circuit diagram showing an MPEG video decoder according to a third embodiment of the present invention.

제7도는 본 발명의 제4 및 제5 실시에에 따른 MPEG 비디오 디코더를 도시하는 블럭 회로도.7 is a block circuit diagram showing an MPEG video decoder according to the fourth and fifth embodiments of the present invention.

제8A도는 비디오 스트림의 GOP 구성을 설명하기 위한 도면, 및 제8B도는 하나의 플레임 기간마다 프로세스될 픽처를 설명하기 위한 도면.8A is a diagram for explaining a GOP configuration of a video stream, and FIG. 8B is a diagram for explaining a picture to be processed every one frame period.

제9도는 제5 실시예에 따른 비트 버퍼내의 비디오 스트림의 점유량과 시간간의 관계를 도시하는 그래프.9 is a graph showing the relationship between the occupied amount and time of a video stream in a bit buffer according to the fifth embodiment.

제10도는 본 발명의 제6 실시예에 따른 MPEG 비디오 디코더를 도시하는 블럭 회로도.10 is a block circuit diagram showing an MPEG video decoder according to a sixth embodiment of the present invention.

제11도는 제6 실시예의 동작을 설명하기 위한 플로우차트.11 is a flowchart for explaining the operation of the sixth embodiment.

제12도는 본 발명의 제7 실시예에 따른 MPEG 비디오 디코더를 도시하는 블럭 회로도.12 is a block circuit diagram showing an MPEG video decoder according to a seventh embodiment of the present invention.

제13도는 제7 실시예의 동작을 설명하기 위한 플로우차트.13 is a flowchart for explaining the operation of the seventh embodiment.

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

1, 11, 21, 31 : MPEG 비디오 디코더 2, 33 : 비트버퍼1, 11, 21, 31: MPEG video decoder 2, 33: bit buffer

3 : 픽처 헤더 검출기3: picture header detector

4 : MPEG 비디오 디코드 코어 회로 5 : 비디오 스트림 판단 회로4: MPEG video decode core circuit 5: video stream determination circuit

6 : 픽처 스킵 회로 6a, 6b : 노드6: picture skip circuit 6a, 6b: node

7 : 제어 코어 회로 8 : 디스플레이7: control core circuit 8: display

12 : 픽처 헤더 검출기/데이타량 분석기 13, 14 : 레지스터12: Picture header detector / data quantity analyzer 13, 14: register

22 : 프레임 버퍼 22a : 순방향 참조 영역22: frame buffer 22a: forward reference area

22b : 역방향 참조 영역 22c : B-픽처 저장 영역22b: backward reference area 22c: B-picture storage area

34 : 오버플로우 검출기 42 : 언더플로우 검출기34: overflow detector 42: underflow detector

Claims (23)

복수의 재생 모드를 가지며, 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream having a plurality of reproduction modes and including a series of pictures, 재생 모드와 상관없이 상기 모든 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼;A bit buffer for temporarily storing all the video bit streams regardless of a playback mode; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림의 양을 임계값까지 수신하고 상기 비디오 비트 스트림을 디코딩하여 상기 디코드된 픽처를 생성하기 위한 디코딩 회로; 및Decoding circuitry for receiving the amount of the video bit stream output from the bit buffer to a threshold and decoding the video bit stream to generate the decoded picture; And 상기 비트 버퍼 및 상기 디코딩 회로에 동작적으로 접속되고, 상기 비트 버퍼내에 저장된 상기 모든 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼로부터 상기 디코딩 회로에 제공될 상기 모든 비디오 비트 스트림의 양을 제어하기 위한 비디오 비트 스트림 제어 회로Controlling the amount of all the video bit streams to be provided from the bit buffer to the decoding circuit based on the data amount of all the video bit streams stored in the bit buffer, operatively connected to the bit buffer and the decoding circuit. Video bit stream control circuit 를 포함하고, 상기 제어 회로는The control circuit includes 상기 비트 버퍼내에 저장된 데이타량이 상기 임계값 - 상기 임계값은 상기 비트 버퍼내에 최적으로 저장될 수 있는 상기 비디오 비트 스트림의 양으로 미리 결정됨 - 을 초과하는지 여부를 판정하며,Determine whether the amount of data stored in the bit buffer exceeds the threshold, wherein the threshold is predetermined by the amount of the video bit stream that can be optimally stored in the bit buffer; 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 임계값을 초과하는 한, 상기 모든 비디오 비트 스트림의 일부를 스킵하도록 동작하여 상기 모든 비디오 비트 스트림의 일부가 상기 비트 버퍼로부터 상기 디코딩 회로에 공급되는 것을 방지하는 것을 특징으로 하는 비디오 디코딩 장치.As long as the amount of data stored in the bit buffer exceeds the threshold, it is operable to skip portions of all the video bit streams to prevent portions of all the video bit streams from being supplied from the bit buffers to the decoding circuit. Video decoding apparatus. 제1항에 있어서, 상기 비디오 비트 스트림 제어 회로는 상기 디코드된 픽처의 재생 속도에 비례하여 상기 임계값을 변화시키는 것을 특징으로 하는 비디오 디코딩 장치.The video decoding apparatus of claim 1, wherein the video bit stream control circuit changes the threshold value in proportion to a reproduction speed of the decoded picture. 제2항에 있어서, 상기 비디오 비트 스트림 제어 회로는 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 임계값을 초과하는 한, 상기 비디오 비트 스트림의 일부를 픽처 단위로 스킵하도록 동작하는 것을 특징으로 하는 비디오 디코딩 장치.The video decoding apparatus of claim 2, wherein the video bit stream control circuit is operable to skip a part of the video bit stream on a picture basis as long as the amount of data stored in the bit buffer exceeds the threshold. . 제2항에 있어서, 상기 비디오 비트 스트림 제어 회로는 상기 비디오 비트 스트림내에 포함된 시퀀스 헤더에 의해 규정된 비디오 버퍼링 검공기(Video Buffering Verifier; VBV) 버퍼 크기, 비트 레이트 및 픽처 레이트와, 정상 재생 속도에 대한 실제 재생 속도의 배율에 기초하여 상기 임계값을 변화시키는 것을 특징으로 하는 비디오 디코딩 장치.3. The video bit stream control circuitry of claim 2, wherein the video bit stream control circuitry comprises a Video Buffering Verifier (VBV) buffer size, bit rate and picture rate defined by a sequence header included in the video bit stream, and a normal playback speed. And varying the threshold based on a multiplier of the actual playback rate for. I-픽처, P-픽처 및 B-픽처를 포함하는 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream including a series of pictures including an I-picture, a P-picture, and a B-picture. 상기 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼;A bit buffer for temporarily storing the video bit stream; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림을 수신하고 상기 비디오 비트 스트림을 디코딩하여, 디코드된 픽처를 생성하기 위한 디코딩 회로; 및Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to produce a decoded picture; And 상기 비트 버퍼 및 상기 디코딩 회로에 동작적으로 접속되고, 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼로 부터 상기 디코딩 회로에 공급될 상기 비디오 비트 스트림의 양을 제어하기 위한 비디오 비트 스트림 제어 회로Operatively connected to the bit buffer and the decoding circuit, for controlling the amount of the video bit stream to be supplied from the bit buffer to the decoding circuit based on the data amount of the video bit stream stored in the bit buffer. Video bit stream control circuit 를 포함하고, 상기 제어 회로는The control circuit includes 상기 비트 버퍼내에 저장된 데이타량이 제1 임계값 - 상기 제1 임계값은 상기 비트 버퍼내에 최적으로 저장될 수 있는 상기 비디오 비트 스트림의 양으로 미리 결정됨 -을 초과하는지 여부를 판정하고, 상기 디코드된 픽처의 재생 속도에 비례하여 상기 제1 임계값을 변화시키도록 동작하며,Determine whether the amount of data stored in the bit buffer exceeds a first threshold, the first threshold being predetermined as the amount of the video bit stream that can be optimally stored in the bit buffer, and determining the decoded picture Change the first threshold in proportion to a playback speed of 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 제1 임계값을 초과하는 한, 상기 I-픽처 및 상기 P-픽처의 상기 비디오 비트 스트림이 상기 디코딩 회로에 공급되는 것을 허용하도록 동작하고, 상기 B-픽처의 상기 비디오 비트 스트림을 스킵하도록 동작하여 상기 B-픽처의 상기 비디오 비트 스트림이 상기 비트 버퍼로부터 상기 디코딩 회로에 공급되는 것을 방지하는And to allow the video bit stream of the I-picture and the P-picture to be supplied to the decoding circuit as long as the amount of data stored in the bit buffer exceeds the first threshold, Operate to skip the video bit stream to prevent the video bit stream of the B-picture from being supplied from the bit buffer to the decoding circuit. 것을 특징으로 하는 비디오 디코딩 장치.Video decoding apparatus, characterized in that. 제5항에 있어서, 상기 비디오 비트 스트림 제어 회로는 상기 I-픽처 또는 상기 P-픽처의 상기 비디오 비트 스트림이 상기 비트 버퍼로부터 상기 디코딩 회로에공급된 후, 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량이 상기 제1 임계값보다 작을 때에도, 다음에 공급될 상기 B-픽처의 상기 비디오 비트 스트림을 스킵하는 것을 특징으로 하는 비디오 디코딩 장치.6. The video bit stream control circuit of claim 5, wherein the video bit stream control circuit is further configured to convert the video bit stream stored in the bit buffer after the video bit stream of the I-picture or the P-picture is supplied from the bit buffer to the decoding circuit. And skips the video bit stream of the B-picture to be supplied next, even when the amount of data is less than the first threshold. 제5항에 있어서,The method of claim 5, 상기 판정 수단은 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 제1 임계값, 및 상기 제1 임계값보다 큰 제2 임계값을 초과하는지 여부를 판정하고,The determining means determines whether the amount of data stored in the bit buffer exceeds the first threshold value and a second threshold value greater than the first threshold value, 상기 비디오 비트 스트림 제어 회로는 상기 I-픽처 또는 상기 P-픽처의 상기 비디오 비트 스트림이 상기 디코딩 회로에 공급된 후, 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 제1 임계값을 초과할 때 상기 B-픽처의 상기 비디오 비트 스트림을 스킵하고, 상기 P-픽처의 상기 비디오 비트 스트림이 상기 디코딩 회로에 공급된 후, 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 제2 임계값을 초과할 때 상기 B-픽처의 상기 비디오 비트 스트림을 스킵하는The video bit stream control circuit controls the B- when the amount of data stored in the bit buffer exceeds the first threshold after the video bit stream of the I-picture or the P-picture is supplied to the decoding circuit. Skips the video bit stream of a picture, and after the video bit stream of the P-picture is supplied to the decoding circuit, when the amount of data stored in the bit buffer exceeds the second threshold value of the B-picture Skipping the video bit stream 것을 특징으로 하는 비디오 디코딩 장치.Video decoding apparatus, characterized in that. 제7항에 있어서, 상기 비디오 비트 스트림 제어 회로는 상기 비디오 비트 스트림내에 포함된 시퀀스 헤더에 의해 규정된 비디오 버퍼링 검공기(VBV) 버퍼 크기, 비트 레이트 및 픽처 레이트와, 정상 재생 속도에 대한 실제 재생 속도의 배율에 기초하여 상기 제1 및 제2 임계값을 변화시키는 것을 특징으로 하는 비디오 디코딩 장치.8. The video bit stream control circuitry of claim 7, wherein the video bit stream control circuitry is configured to display a video buffering checker (VBV) buffer size, bit rate and picture rate defined by a sequence header included in the video bit stream, and to reproduce the normal playback speed. And varying the first and second threshold values based on a multiplier of speed. I-픽처, P-픽처 및 B-픽처를 포함하는 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream including a series of pictures including an I-picture, a P-picture, and a B-picture. 상기 비디오 비트 스트림내에 포함된 각각의 픽처의 형태를 결정하고, 상기 비디오 비트 스트림의 데이타량을 픽처마다 분석하기 위한 비디오 비트 스트림 분석기;A video bit stream analyzer for determining the shape of each picture included in the video bit stream and for analyzing the data amount of the video bit stream for each picture; 상기 비디오 비트 스트림 분석기로부터의 상기 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼;A bit buffer for temporarily storing the video bit stream from the video bit stream analyzer; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림을 수신하고, 상기 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 디코딩 회로; 및Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to generate a decoded picture; And 상기 비트 버퍼 및 상기 디코딩 회로에 동작적으로 접속되고, 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼로 부터 상기 디코딩 회로에 공급될 상기 비디오 비트 스트림의 양을 제어하기 위한 비디오 비트 스트림 제어 회로Operatively connected to the bit buffer and the decoding circuit, for controlling the amount of the video bit stream to be supplied from the bit buffer to the decoding circuit based on the data amount of the video bit stream stored in the bit buffer. Video bit stream control circuit 를 포함하고,Including, 상기 제어 회로는 상기 비트 버퍼내에 저장된 데이타량이 임계값 - 상기 임계값은 상기 비트 버퍼내에 최적으로 저장될 수 있는 상기 비디오 비트 스트림의 양으로 미리 결정됨 -을 초과하는지 여부를 판정하고, 상기 디코드된 픽처의 재생 속도에 비례하여 상기 임계값을 변화시키도록 동작하며,The control circuit determines whether the amount of data stored in the bit buffer exceeds a threshold value, the threshold is predetermined by the amount of the video bit stream that can be optimally stored in the bit buffer, and the decoded picture And change the threshold in proportion to the playback speed of 상기 제어 회로가 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 임계값을 초과한다고 판정할 때, 상기 제어 회로는 상기 비디오 비트 스트림의 일부를 선택적으로 픽처 단위로 스킵하도록 동작하여 상기 비디오 비트 스트림이 상기 비트 버퍼로부터 상기 디코딩 회로에 공급되는 것을 방지하고, 상기 스킵될 부분은 상기 비디오 비트 스트림 분석기에 의해 검출된, 각각의 픽처의 형태 및 각각의 픽처에 대한 상기 데이타량에 기초하여 선택되는 것을 특징으로 하는 비디오 디코딩 장치.When the control circuit determines that the amount of data stored in the bit buffer exceeds the threshold, the control circuit operates to selectively skip a portion of the video bit stream on a picture basis such that the video bit stream is the bit buffer. From the supply to the decoding circuit, wherein the portion to be skipped is selected based on the type of each picture and the amount of data for each picture detected by the video bit stream analyzer. Decoding device. 제9항에 있어서, 상기 비디오 비트 스트림 제어 회로는 상기 비디오 비트 스트림내에 포함된 시퀀스 헤더에 의해 규정된 비디오 버퍼링 검공기(VBV) 버퍼 크기, 비트 레이트 및 픽처 레이트와, 정상 재생 속도에 대한 실제 재생 속도의 배율에 기초하여 상기 임계값을 변화시키는 것을 특징으로 하는 비디오 디코딩 장치.10. The video bit stream control circuitry of claim 9, wherein the video bit stream control circuitry is configured to perform video buffering checker (VBV) buffer size, bit rate and picture rate defined by a sequence header included in the video bit stream, and to actual playback for normal playback speed. And varying the threshold value based on a magnification of the speed. 일련의 I-픽처, P-픽처 및 B-픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream including a series of I-pictures, P-pictures, and B-pictures. 상기 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼 - 상기 비트 버퍼는 비트 레이트를 픽처 레이트로 나누어서 얻은 값을 비디오 버퍼링 검공기(VBV) 버퍼 크기에 더함으로써 규정된 용량을 가짐 - ;A bit buffer for temporarily storing the video bit stream, the bit buffer having a defined capacity by adding a value obtained by dividing a bit rate by a picture rate to a video buffering detector (VBV) buffer size; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림을 수신하고, 상기 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 디코딩 회로; 및Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to generate a decoded picture; And 상기 비트 버퍼 및 상기 디코딩 회로에 동작적으로 접속되고, 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼로부터 상기 디코딩 회로에 공급될 상기 비디오 비트 스트림의 양을 제어하기 위한 비디오 비트 스트림 제어 회로A video operatively connected to the bit buffer and the decoding circuit for controlling the amount of the video bit stream to be supplied from the bit buffer to the decoding circuit based on the amount of data of the video bit stream stored in the bit buffer. Bit stream control circuit 를 포함하고,Including, 상기 제어 회로는 상기 비트 버퍼내에 저장된 데이타량이 상기 VBV 버퍼 크기를 나타내는 제1 임계값, 및 상기 비트 레이트를 상기 픽처 레이트로 나눈 값을 상기 VBV 버퍼 크기에 더함으로써 얻어진 값을 나타내는 제2 임계값을 초과하는지 여부를 판정하며,The control circuit further comprises a first threshold indicating the amount of data stored in the bit buffer indicating the VBV buffer size, and a second threshold indicating the value obtained by adding the bit rate divided by the picture rate to the VBV buffer size. Determine whether or not 상기 제어 회로는 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 제1 임계값과 상기 제2 임계값 사이에 있는 한, 상기 I-픽처 및 상기 P-픽처의 상기 비디오 비트 스트림이 상기 디코딩 회로에 공급되는 것을 허용하도록 동작하고, 상기 B-픽처의 상기 비디오 비트 스트림을 스킵하도록 동작하여 상기 B-픽처의 상기 비디오 비트 스트림이 상기 비트 버퍼로부터 상기 디코딩 회로에 공급되는 것을 방지하며, 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 제2 임계값을 초과하는 한 픽처의 형태에 상관없이 상기 비디오 비트 스트림의 일부를 스킵하도록 동작하는The control circuitry is adapted to supply the video bit stream of the I-picture and the P-picture to the decoding circuit as long as the amount of data stored in the bit buffer is between the first threshold and the second threshold. Operate to permit, skipping the video bit stream of the B-picture to prevent the video bit stream of the B-picture from being supplied from the bit buffer to the decoding circuit, and to store the data stored in the bit buffer. Operate to skip a portion of the video bit stream regardless of the shape of the picture as long as the amount exceeds the second threshold. 것을 특징으로 하는 비디오 디코딩 장치.Video decoding apparatus, characterized in that. 제11항에 있어서, 상기 비디오 비트 스트림 제어 회로는 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림내에 포함된 픽처 헤더에 기초하여 픽처의 형태를 판정하기 위한 픽처 헤더 검출기를 더 포함하는 것을 특징으로 하는 비디오 디코딩 장치.12. The video bit stream control circuit of claim 11, wherein the video bit stream control circuit further comprises a picture header detector for determining a shape of a picture based on a picture header included in the video bit stream output from the bit buffer. Decoding device. 제11항에 있어서, 상기 비트 버퍼는 상기 비트 레이트를 상기 픽처 레이트로 나누어서 얻어진 값 및 마진 값을 상기 VBV 버퍼 크기에 더함으로써 규정된 용량을 갖는 것을 특징으로 하는 비디오 디코딩 장치.12. The video decoding apparatus of claim 11, wherein the bit buffer has a prescribed capacity by adding a value obtained by dividing the bit rate by the picture rate and a margin value to the VBV buffer size. 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream including a series of pictures. 재생 모드와 상관없이 상기 모든 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼;A bit buffer for temporarily storing all the video bit streams regardless of a playback mode; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림을 수신하고, 상기 비디오 비트 스트림을 디코딩하여 상기 디코드된 픽처를 생성하기 위한 디코딩 회로; 및Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to generate the decoded picture; And 상기 비디오 비트 스트림의 양으로 미리 결정되고 상기 비트 버퍼의 언더플로우의 가능성을 나타내는 임계값 미만인, 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼의 판독 동작 및 상기 디코딩 회로의 디코딩 동작을 제어하기 위한 동작 제어 회로 - 상기 동작 제어 회로는 상기 비트 버퍼의 언더플로우가 발생하는 시점으로부터 언더플로우가 해제되는 시점까지의 기간 동안에 상기 데이타량이 상기 임계값 미만일 때 상기 비트 버퍼의 상기 판독 동작 및 상기 디코딩 회로의 상기 디코딩 동작을 금지시키도록 동작하여상기 비트 버퍼에 이미 디코드된 픽처를 공급함 -The read operation of the bit buffer and the decoding circuit based on the data amount of the video bit stream stored in the bit buffer, which is predetermined by the amount of the video bit stream and is below a threshold indicating the possibility of underflow of the bit buffer. An operation control circuit for controlling a decoding operation, wherein the operation control circuit reads the bit buffer when the amount of data is less than the threshold value for a period from when an underflow of the bit buffer occurs to when an underflow is released. Operate to prohibit the decoding operation of the decoding circuit and supply a decoded picture to the bit buffer; 를 포함하는 것을 특징으로 하는 비디오 디코딩 장치.Video decoding apparatus comprising a. 제14항에 있어서, 상기 동작 제어 회로는 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 임계값 미만인지 여부를 판정하며, 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 임계값보다 작은 한, 상기 비트 버퍼의 상기 판독 동작 및 상기 디코딩 회로의 상기 디코딩 동작을 금지시키도록 동작하여 이미 디코드된 픽처를 공급하는 것을 특징으로 하는 비디오 디코딩 장치.The readout of the bit buffer according to claim 14, wherein the operation control circuit determines whether the amount of data stored in the bit buffer is less than the threshold value, and as long as the amount of data stored in the bit buffer is smaller than the threshold value. And deactivate the decoding operation of the decoding circuit to supply an already decoded picture. 제15항에 있어서, 상기 임계값은 상기 비트 레이트에 상기 비디오 버퍼링 검공기(VBV) 지연값을 곱함으로써 얻어진 값으로 설정되는 것을 특징으로 하는 비디오 디코딩 장치.16. The video decoding apparatus of claim 15, wherein the threshold is set to a value obtained by multiplying the bit rate by the video buffering air delay (VBV) delay value. 제14항에 있어서, 상기 픽처들은 I-픽처, P-픽처 및 B-픽처를 포함하고, 상기 동작 제어 회로는 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림 내에 포함된 픽처 헤더에 기초하여 픽처의 형태를 판정하고, 상기 B-픽처의 디코딩 중에 상기 비트 버퍼의 상기 언더플로우가 발생되면, 상기 B-픽처의 상기 비디오 비트 스트림의 잔여 부분을 스킵하고 디코딩을 계속하는 것을 특징으로 하는 비디오 디코딩 장치.15. The apparatus of claim 14, wherein the pictures comprise an I-picture, a P-picture, and a B-picture, and wherein the motion control circuitry is in the form of a picture based on a picture header included in the video bit stream output from the bit buffer. And if the underflow of the bit buffer occurs during decoding of the B-picture, skips the remaining portion of the video bit stream of the B-picture and continues decoding. 제14항에 있어서, 상기 픽처들은 I-픽처, P-픽처 및 B-픽처를 포함하고, 상기 동작 제어 회로는 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림에 포함된 픽처 헤더에 기초하여 픽처의 형태를 판정하고, 상기 I-픽처 또는 상기 P-픽처의 디코딩중에 상기 비트 버퍼의 상기 언더플로우가 발생되면 상기 디코딩을 인터럽트하고, 상기 언더플로우의 해제 이후에 상기 I-픽처 또는 P-픽처의 상기 비디오 비트 스트림을 계속 디코딩하는 것을 특징으로 하는 비디오 디코딩 장치.15. The apparatus of claim 14, wherein the pictures comprise an I-picture, a P-picture, and a B-picture, and the operation control circuitry is in the form of a picture based on a picture header included in the video bit stream output from the bit buffer. Determine if the underflow of the bit buffer occurs during decoding of the I-picture or the P-picture, interrupt the decoding, and after releasing the underflow, the video of the I-picture or P-picture And a video decoding apparatus for continuously decoding the bit stream. I-픽처, P-픽처 및 B-픽처를 포함하는 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream including a series of pictures including an I-picture, a P-picture, and a B-picture. 상기 비디오 비트 스트림내에 포함된 각각의 픽처의 형태를 판정하고, 상기 비디오 비트 스트림의 데이타량을 픽처마다 분석하기 위한 비디오 비트 스트림 분석기;A video bit stream analyzer for determining the shape of each picture included in the video bit stream and for analyzing the data amount of the video bit stream for each picture; 상기 비디오 비트 스트림 분석기로부터의 상기 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼;A bit buffer for temporarily storing the video bit stream from the video bit stream analyzer; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림을 수신하고, 상기 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 디코딩 회로;Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to generate a decoded picture; 상기 비트 버퍼 및 상기 디코딩 회로에 동작적으로 접속되고, 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼로부터 상기 디코딩 회로에 공급될 상기 비디오 비트 스트림의 양을 제어하기 위한비디오 비트 스트림 제어 회로; 및A video operatively connected to the bit buffer and the decoding circuit, for controlling the amount of the video bit stream to be supplied from the bit buffer to the decoding circuit based on the amount of data of the video bit stream stored in the bit buffer. Bit stream control circuits; And 상기 디코딩 회로에 의해 생성된 디코드된 픽처를 저장하기 위한 프레임 버퍼Frame buffer for storing decoded pictures generated by the decoding circuit 를 포함하고,Including, 상기 제어 회로는 상기 비트 버퍼내에 저장된 데이타량이 임계값 - 상기 임계값은 상기 비트 버퍼내에 최적으로 저장될 수 있는 상기 비디오 비트 스트림의 양으로 미리 결정됨 -을 초과하는지 여부를 판정하고, 상기 디코드된 픽처의 재생 속도에 비례하여 상기 임계값을 변화시키며,The control circuit determines whether the amount of data stored in the bit buffer exceeds a threshold value, the threshold is predetermined by the amount of the video bit stream that can be optimally stored in the bit buffer, and the decoded picture Varying the threshold in proportion to the playback speed of 상기 제어 회로가 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 임계값을 초과한다고 판정할 때, 상기 제어 회로는 각각의 픽처내의 상기 비디오 비트 스트림의 일부를 선택적으로 스킵하도록 동작하여 상기 비디오 비트 스트림이 상기 비트 버퍼로부터 상기 디코딩 회로에 공급되는 것을 방지하고, 상기 스킵될 부분은 상기 비디오 비트 스트림 분석기에 의해 검출된, 각각의 픽처의 형태 및 각각의 픽처의 상기 데이타량에 기초하여 선택되며,When the control circuit determines that the amount of data stored in the bit buffer exceeds the threshold, the control circuit is operative to selectively skip a portion of the video bit stream in each picture such that the video bit stream is the bit. Prevent from being supplied to the decoding circuit from a buffer, wherein the portion to be skipped is selected based on the type of each picture and the amount of data of each picture, detected by the video bit stream analyzer, 상기 프레임 버퍼는The frame buffer is 상기 디코딩 회로에 의해 실행될 역방향 예측 디코딩(backward prediction decoding)에 사용될 디코드된 I-픽처 또는 P-픽처를 저장하기 위한 순방향 참조 영역;A forward reference region for storing a decoded I-picture or P-picture to be used for backward prediction decoding to be executed by the decoding circuit; 상기 디코딩 회로에 의해 실행될 순방향 예측 디코딩에 사용될 디코드된 I-픽처 또는 P-픽처를 저장하기 위한 역방향 참조 영역; 및A backward reference region for storing a decoded I-picture or P-picture to be used for forward predictive decoding to be executed by the decoding circuit; And 디코드된 B-픽처를 저장하기 위한 B-픽처 저장 영역B-picture storage area for storing decoded B-pictures 을 포함하고,Including, 상기 비디오 비트 스트림 제어 회로는 상기 비디오 스트림내의 상기 B-픽처를 스킵핑할 때 상기 비트 버퍼용 확장 메모리로서 상기 B-픽처 저장 영역을 사용하는 것을 특징으로 하는 비디오 디코딩 장치.And the video bit stream control circuit uses the B-picture storage area as the extension memory for the bit buffer when skipping the B-picture in the video stream. 제19항에 있어서, 상기 디코딩 회로는 1 프레임 기간내에 2개의 디코드된 I-픽처 또는 P-픽처를 연속적으로 생성하고, 순방향 예측 디코딩 또는 역방향 예측 디코딩시의 참조 픽처로서 제1 I-픽처 또는 P-픽처를 저장하며, 이후에 디코드되는 제2 I-픽처 또는 P-픽처를 재생 픽처로서 출력하는 것을 특징으로 하는 비디오 디코딩 장치.20. The apparatus of claim 19, wherein the decoding circuit continuously generates two decoded I-pictures or P-pictures within one frame period, and the first I-picture or P as a reference picture in forward prediction decoding or backward prediction decoding. -Store the picture, and output a second I-picture or P-picture which is subsequently decoded as a playback picture. I-픽처, P-픽처 및 B-픽처를 포함하는 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream including a series of pictures including an I-picture, a P-picture, and a B-picture. 상기 비디오 비트 스트림내에 포함된 각각의 픽처의 형태를 결정하고, 상기 비디오 비트 스트림의 데이타량을 픽처마다 분석하기 위한 비디오 비트 스트림 분석기;A video bit stream analyzer for determining the shape of each picture included in the video bit stream and for analyzing the data amount of the video bit stream for each picture; 상기 비디오 비트 스트림 분석기로부터의 상기 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼;A bit buffer for temporarily storing the video bit stream from the video bit stream analyzer; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림을 수신하고, 상기 비디오 비트 스트림을 디코딩하여 상기 디코드된 픽처를 생성하기 위한 디코딩 회로; 및Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to generate the decoded picture; And 상기 비트 버퍼 및 상기 디코딩 회로에 동작적으로 접속되고, 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼로 부터 상기 디코딩 회로에 공급될 상기 비디오 비트 스트림의 양을 제어하기 위한 비디오 비트 스트림 제어 회로Operatively connected to the bit buffer and the decoding circuit, for controlling the amount of the video bit stream to be supplied from the bit buffer to the decoding circuit based on the data amount of the video bit stream stored in the bit buffer. Video bit stream control circuit 를 포함하고,Including, 상기 제어 회로는 상기 비트 버퍼내에 저장된 데이타량이 임계값 - 상기 임계값은 상기 비트 버퍼내에 최적으로 저장될 수 있는 상기 비디오 비트 스트림의 양으로 미리 결정됨 -을 초과하는지 여부를 판정하고, 상기 디코드된 픽처의 재생 속도에 비례하여 상기 임계값을 변화시키며,The control circuit determines whether the amount of data stored in the bit buffer exceeds a threshold value, the threshold is predetermined by the amount of the video bit stream that can be optimally stored in the bit buffer, and the decoded picture Varying the threshold in proportion to the playback speed of 상기 제어 회로가 상기 비트 버퍼내에 저장된 상기 데이타량이 상기 임계값을 초과한다고 판정할 때, 상기 제어 회로는 각각의 픽처내의 상기 비디오 비트 스트림의 일부를 선택적으로 스킵하도록 동작하여 상기 비디오 비트 스트림이 상기 비트 버퍼로부터 상기 디코딩 회로에 공급되는 것을 방지하고, 상기 스킵될 부분은 상기 비디오 비트 스트림 분석기에 의해 검출된, 각각의 픽처의 형태 및 각각의 픽처의 상기 데이타량에 기초하여 선택되며,When the control circuit determines that the amount of data stored in the bit buffer exceeds the threshold, the control circuit is operative to selectively skip a portion of the video bit stream in each picture such that the video bit stream is the bit. Prevent from being supplied to the decoding circuit from a buffer, wherein the portion to be skipped is selected based on the type of each picture and the amount of data of each picture, detected by the video bit stream analyzer, 상기 디코딩 회로는 1 프레임 기간내에 2개의 디코드된 I-픽처 또는 P-픽처를 연속적으로 생성하고, 순방향 예측 디코딩 또는 역방향 예측 디코딩시의 참조픽처로서 제1 I-픽처 또는 P-픽처를 저장하며, 이후에 디코드되는 제2 I-픽처 또는 P-픽처를 재생 픽처로서 출력하는 것을 특징으로 하는 비디오 디코딩 장치.The decoding circuit continuously generates two decoded I-pictures or P-pictures within one frame period, and stores the first I-picture or P-picture as a reference picture in forward prediction decoding or backward prediction decoding, And output a second I-picture or a P-picture to be decoded thereafter as a reproduction picture. I-픽처, P-픽처 및 B-픽처를 포함하는 일련의 픽처를 포함하는 코드된 비디오 비트 스트림을 디코딩하여 디코드된 픽처를 생성하기 위한 비디오 디코딩 장치에 있어서,A video decoding apparatus for generating a decoded picture by decoding a coded video bit stream including a series of pictures including an I-picture, a P-picture, and a B-picture. 상기 비디오 비트 스트림을 일시적으로 저장하기 위한 비트 버퍼;A bit buffer for temporarily storing the video bit stream; 상기 비트 버퍼로부터 출력된 상기 비디오 비트 스트림을 수신하고, 상기 비디오 비트 스트림을 디코딩하여 상기 디코드된 픽처를 생성하기 위한 디코딩 회로; 및Decoding circuitry for receiving the video bit stream output from the bit buffer and decoding the video bit stream to generate the decoded picture; And 상기 비트 버퍼내에 저장된 상기 비디오 비트 스트림의 데이타량에 기초하여 상기 비트 버퍼의 판독 동작 및 상기 디코딩 회로의 디코딩 동작을 제어하기 위한 동작 제어 회로 - 상기 동작 제어 회로는 상기 비트 버퍼의 언더플로우가 발생하는 시점으로부터 언더플로우가 해제되는 시점까지의 기간 동안에 상기 비트 버퍼의 상기 판독 동작 및 상기 디코딩 회로의 상기 디코딩 동작을 금지시키도록 동작하여 이미 디코드된 픽처를 공급하며, 비트 버퍼로부터 출력된 상기 비디오 비트 스트림에 포함된 픽처 헤더에 기초하여 상기 픽처의 형태를 판정하고, 상기 I-픽처 또는 상기 P-픽처의 디코딩중에 상기 비트 버퍼의 상기 언더플로우가 발생되면 상기 디코딩을 인터럽트하고, 상기 언더플로우의 해제 이후에 상기 I-픽처 또는 P-픽처의 상기 비디오 비트 스트림을 계속 디코딩함 -An operation control circuit for controlling a read operation of the bit buffer and a decoding operation of the decoding circuit based on the amount of data of the video bit stream stored in the bit buffer, wherein the operation control circuit is configured to generate an underflow of the bit buffer. The video bit stream output from the bit buffer to supply an already decoded picture by operating to prohibit the read operation of the bit buffer and the decoding operation of the decoding circuit during a period from the time point to the time when underflow is released. Determine the shape of the picture based on a picture header included in the; interrupt the decoding if the underflow of the bit buffer occurs during decoding of the I-picture or the P-picture; The video bit of the I-picture or the P-picture It should continue to decode the stream - 를 포함하는 것을 특징으로 하는 비디오 디코딩 장치.Video decoding apparatus comprising a. 제22항에 있어서, 상기 동작 제어 회로는 디코드된 제1 I-픽처 또는 P-픽처가 상기 순방향 참조 영역에 전송되면 상기 역방향 참조 영역내에 이미 저장되어 있는 디코드된 제2 I-픽처 또는 P-픽처 또는 상기 B-픽처 저장 영역내에 저장된 디코드된 B-픽처가 재생 픽처로서 판독되고, 디코드된 제3 I-픽처 또는 P-픽처가 상기 역방향 참조 영역에 전송되면 상기 순방향 참조 영역내에 이미 저장되어 있는 디코드된 제4 I-픽처 또는 P-픽처 또는 상기 B-픽처 저장 영역내에 저장된 디코드된 B-픽처가 상기 재생 픽처로서 판독되는 것을 특징으로 하는 비디오 디코딩 장치.23. The apparatus of claim 22, wherein the operation control circuitry is to decode a second I-picture or P-picture that is already stored in the backward reference region when a decoded first I-picture or P-picture is transmitted to the forward reference region. Or if a decoded B-picture stored in the B-picture storage area is read as a playback picture, and a decoded third I-picture or P-picture is transmitted to the reverse reference area, decode already stored in the forward reference area. And a decoded B-picture stored in said fourth I-picture or P-picture or said B-picture storage area is read as said playback picture.
KR1019950041837A 1994-11-18 1995-11-17 Video decoding device to control encoded video data KR100376904B1 (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
JP28519394 1994-11-18
JP94-285193 1994-11-18
JP94-297347 1994-11-30
JP29734794 1994-11-30
JP95-066471 1995-03-24
JP6647195 1995-03-24
JP95-166382 1995-06-30
JP16638295 1995-06-30

Publications (2)

Publication Number Publication Date
KR960020536A KR960020536A (en) 1996-06-17
KR100376904B1 true KR100376904B1 (en) 2003-06-02

Family

ID=49515857

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950041837A KR100376904B1 (en) 1994-11-18 1995-11-17 Video decoding device to control encoded video data

Country Status (1)

Country Link
KR (1) KR100376904B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100772753B1 (en) 2005-12-30 2007-11-01 주식회사 팬택앤큐리텔 Video decoder for preventing degradation of image quality
KR101161604B1 (en) 2007-01-16 2012-07-04 삼성전자주식회사 Method for controlling lip synchronization of video streams and apparatus therefor

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100421833B1 (en) * 1996-06-26 2004-06-11 엘지전자 주식회사 Picture skip apparatus for mpeg2 video decoder and method therefor
US6061399A (en) * 1997-05-28 2000-05-09 Sarnoff Corporation Method and apparatus for information stream frame synchronization
TWI249356B (en) * 2002-11-06 2006-02-11 Nokia Corp Picture buffering for prediction references and display
KR20040046055A (en) * 2002-11-26 2004-06-05 엘지전자 주식회사 Method for electrical transmission bit rate control of moving picture

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100772753B1 (en) 2005-12-30 2007-11-01 주식회사 팬택앤큐리텔 Video decoder for preventing degradation of image quality
KR101161604B1 (en) 2007-01-16 2012-07-04 삼성전자주식회사 Method for controlling lip synchronization of video streams and apparatus therefor

Also Published As

Publication number Publication date
KR960020536A (en) 1996-06-17

Similar Documents

Publication Publication Date Title
US5754241A (en) Video decoder capable of controlling encoded video data
US7787747B2 (en) Playback apparatus, Playback method, recording medium, and program
KR101227330B1 (en) Picture coding apparatus and picture decoding apparatus
US5809454A (en) Audio reproducing apparatus having voice speed converting function
JP3240017B2 (en) MPEG signal recording method and MPEG signal reproducing method
KR100405249B1 (en) Decoding and reverse playback apparatus and method
JP4769717B2 (en) Image decoding method
US8457212B2 (en) Image processing apparatus, image processing method, recording medium, and program
JP4884290B2 (en) Moving picture decoding integrated circuit, moving picture decoding method, moving picture decoding apparatus, and moving picture decoding program
US20020114388A1 (en) Decoder and decoding method, recorded medium, and program
US5786858A (en) Method of encoding image signal, apparatus for encoding image signal, method of decoding image signal, apparatus for decoding image signal, and image signal recording medium
US8009741B2 (en) Command packet system and method supporting improved trick mode performance in video decoding systems
KR20070103374A (en) Picture coding apparatus and picture decoding apparatus
US20070058725A1 (en) Coding/decoding apparatus, coding/decoding method, coding/decoding integrated circuit and coding/decoding program
JP3203168B2 (en) MPEG video decoder
KR100376904B1 (en) Video decoding device to control encoded video data
JP3253530B2 (en) Video recording device
US6128340A (en) Decoder system with 2.53 frame display buffer
JP3338425B2 (en) MPEG video decoder
JP3338426B2 (en) MPEG video decoder
JP3203169B2 (en) MPEG video decoder
JP3704356B2 (en) Decoded video signal decoding apparatus and storage decoding apparatus using the same
JP3568503B2 (en) MPEG video decoder
JP2004048206A (en) Video reproducing method and video reproducing apparatus
JP3322671B2 (en) MPEG video decoder

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130219

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20140220

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20150224

Year of fee payment: 13

EXPY Expiration of term