[go: up one dir, main page]

KR19980030414A - Moving picture decoding apparatus based on compulsory one-way motion compensation - Google Patents

Moving picture decoding apparatus based on compulsory one-way motion compensation Download PDF

Info

Publication number
KR19980030414A
KR19980030414A KR1019960049807A KR19960049807A KR19980030414A KR 19980030414 A KR19980030414 A KR 19980030414A KR 1019960049807 A KR1019960049807 A KR 1019960049807A KR 19960049807 A KR19960049807 A KR 19960049807A KR 19980030414 A KR19980030414 A KR 19980030414A
Authority
KR
South Korea
Prior art keywords
motion compensation
motion
mode
way
compensation mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
KR1019960049807A
Other languages
Korean (ko)
Other versions
KR100203281B1 (en
Inventor
천강욱
Original Assignee
김광호
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김광호, 삼성전자 주식회사 filed Critical 김광호
Priority to KR1019960049807A priority Critical patent/KR100203281B1/en
Publication of KR19980030414A publication Critical patent/KR19980030414A/en
Application granted granted Critical
Publication of KR100203281B1 publication Critical patent/KR100203281B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • H04N19/426Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
    • 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/176Methods 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 block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures

Landscapes

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

Abstract

개시된 내용은 MPEG 기반의 동화상 복호화장치에서 양방향 운동보상방식으로 부호화된 매크로블록에 대해서 운동보상을 강제적으로 순방향 또는 역방향중 하나의 방향으로 제한하여 복호화할 수 있도록 하므로써 운동보상에 소요되는 메모리량과 계산량을 ½ 이하로 줄여 전체적인 복잡성 및 가격을 낮춘 새로운 동화상 복호화장치에 관한 것이다. 본 발명의 장치는 일반적인 동화상 복호화장치의 구성을 모두 포함하며, 입력되는 픽춰헤더정보 및 매크로블록헤더정보로부터 픽춰형태정보 및 매크로블록형태정보를 추출하여 현재 복호화되는 매크로블록의 운동보상모드를 판단하는 운동보상형태검출기와 판단결과 양방향운동보상모드가 아니면 매크로블록헤더정보를 그대로 통과시켜 원래 모드로 동작시키고, 양방향운동보상모드이면 양방향중 한 방향을 선택하여 강제적으로 한방향 운동보상으로 전환하는 운동보상방향선택기로 된 운동보상선택부와, 선택된 운동보상모드에 따라 운동보상을 수행하는 한방향운동보상부를 추가로 포함하도록 구성된다. 여기서, 양방향중 한방향 선택기준은 현재 복호화되는 B-픽춰 프레임의 시간축에서의 위치 T에 대해 순방향 운동보상에 이용되는 이전프레임의 위치 T′간의 차분(T-T′)이 역방향 운동보상에 이용되는 다음프레임의 위치 T″간의 차분(T″-T)보다 작거나 같으면 순방향 운동보상으로 선택하고 그렇지 않으면 역방향 운동보상으로 선택한다.Disclosed is the amount of memory and the amount of memory required for motion compensation by forcibly restricting and decoding motion compensation to one of the forward and reverse directions for a macroblock encoded by a bidirectional motion compensation method in an MPEG-based video decoding apparatus. The present invention relates to a new moving picture decoding apparatus which reduces the overall complexity and price by reducing ½ or less. The apparatus of the present invention includes all the configurations of a general moving picture decoding apparatus, and extracts picture shape information and macroblock shape information from input picture header information and macroblock header information to determine a motion compensation mode of a currently decoded macroblock. Motion compensation type detector and judgment result, if it is not two-way motion compensation mode, it passes macroblock header information as it is and operates in the original mode, and if it is two-way motion compensation mode, it selects one of two directions and compensates for one-way motion compensation. And a one-way exercise compensator for performing exercise compensation according to the selected exercise compensation mode. Here, the one-way selection criterion of the bidirectional is the next frame in which the difference (TT ') between the positions T' of the previous frame used in the forward motion compensation with respect to the position T in the time axis of the currently decoded B-picture frame is used in the backward motion compensation. If it is less than or equal to the difference (T "-T) between positions T", it selects forward motion compensation, otherwise it selects backward motion compensation.

Description

강제적 한방향 운동보상에 근거한 동화상 복호화장치Moving picture decoding apparatus based on compulsory one-way motion compensation

본 발명은 동화상 복호화장치에 관한 것으로, 보다 상세하게는, 양방향운동보상방식으로 부호화된 데이타에 대해서 강제적으로 순방향 내지 역방향의 한방향으로 운동보상하여 복호화하므로써 운동보상에 소요되는 메모리와 그 계산량을 줄일 수 있도록 한 강제적 한방향 운동보상에 근거한 동화상 복호화장치에 관한 것이다.The present invention relates to a moving picture decoding apparatus, and more particularly, by compensating and decoding motion coded data in one direction of a forward or reverse direction for data encoded by a bidirectional motion compensation method, a memory required for motion compensation and a calculation amount thereof can be reduced. The present invention relates to a moving picture decoding apparatus based on forced one-way motion compensation.

최근들어 디지탈TV, 대화형TV, 주문형비디오(Video on Demand; VOD)등 동화상을 서비스하기 위한 응용분야들이 매우 빠른 속도로 확산되고 있다. 이러한 시스템들은 방대한 양의 디지탈 동화상을 제한된 저장매체에 저장 또는 제한된 채널을 통해 전송하기 위해 디지탈 동화상을 MPEG(Moving Picture Experts Group)등과 같은 동화상부호화알고리즘을 이용해 압축하는 과정이 필수적이다. MPEG-1, MPEG-2와 같은 표준화시스템에 근거한 동화상 복호기를 구현하기 위해서는 MPEG의 동화상복호알고리즘에서 정의하고 있는 가장 복잡한 경우를 수용할 수 있어야 한다. 즉, MPEG 동화상복호알고리즘에서 복잡성(complexity) 및 메모리대역폭(memory bandwidth) 관점에서 가장 복잡한 경우는 B-픽춰에서 모든 매크로블록들을 양방향으로 운동보상하는 경우이며, 이러한 경우를 모두 수용할 수 있도록 복호기를 구현하여야 한다. 그 일예를 도 1 내지 도 3에 도시하였다.Recently, applications for moving picture services such as digital TV, interactive TV, and video on demand (VOD) are rapidly spreading. In such systems, it is necessary to compress a digital video using a video encoding algorithm such as a Moving Picture Experts Group (MPEG) in order to store a large amount of digital video on a limited storage medium or transmit it through a limited channel. In order to implement a video decoder based on standardization systems such as MPEG-1 and MPEG-2, it is necessary to accommodate the most complicated cases defined in the MPEG video decoding algorithm. In other words, the most complex case in terms of complexity and memory bandwidth in the MPEG video decoding algorithm is a case in which all macroblocks are motion-compensated in B-picture in both directions. Should be implemented. One example is shown in FIGS.

도 1은 일반적인 MPEG 동화상 복호화장치의 블록도를 나타내며, 입력되는 부호화된 비트스트림 데이타는 버퍼(11)에서 일시 저장된다. 버퍼(11)에 저장된 부호화된 비트스트림 데이타는 구문분석기(12)로 입력된다. 구문분석기(12)는 입력되는 부호화된 비트스트림 데이타를 해당 규격에 맞도록 구문분석(syntax parsing)하여 비트스트림내에 비디오시컨스(video sequence)의 구문 및 복호화에 필요한 여러 가지 파라메타들을 복원한다. 즉, 부호화된 비디오시컨스의 형태, 크기, 부호화형태등 부호화에 관련된 헤더정보들과 매크로블록층(macroblock layer)에서 운동벡터(motion vector), 부호화블록의 패턴등 매크로블록헤더를 복호화한다. 가변장복호기(13)에서는 구문분석기(12)로부터 이산여현변환(DCT)계수들에 대한 가변장부호들을 입력받아 가변장복호화하고, 가변장복호화된 데이타는 스캔변환부(14)에 의해서 양자화된 2차원 이산여현변환(DCT)계수블록으로 복원된다. 역양자화부(15)는 양자화된 이산여현변환(DCT)계수들을 입력받아 역양자화하고, 역이산여현변환(DCT)부(16)는 이를 역이산여현변환하여 오차신호블록으로 복원한다. 한편, 운동보상부(17)는 구문분석기(12)로부터 매크로블록헤더(macroblock header)정보를 입력받고, 메모리(19)에 저장된 이전프레임으로부터 매크로블록헤더정보내의 운동벡터에 의해서 지정된 위치에 있는 데이타를 추출하여 예측블록을 형성한다. 여기서, 운동보상부(17)에 대한 좀더 구체적인 동작은 후술한다. 가산기(18)는 운동보상부(17)에서 출력된 예측블록과 역이산여현변환(DCT)부(16)에서 출력된 오차블록을 서로 합하여 복원블록을 구성하고, 이를 메모리(19)에 저장함과 동시에 미도시된 디스플레이부로 출력한다.Fig. 1 shows a block diagram of a general MPEG video decoding apparatus, and the encoded coded bitstream data is temporarily stored in the buffer 11. The encoded bitstream data stored in the buffer 11 is input to the parser 12. The parser 12 parses input coded bitstream data according to a corresponding standard to restore various parameters necessary for syntax and decoding of a video sequence in the bitstream. That is, macroblock headers such as a motion vector and a pattern of a coding block are decoded in header information related to encoding, such as the shape, size, and encoding form of an encoded video sequence, and a macroblock layer. The variable length decoder 13 receives variable length codes for the discrete cosine transform (DCT) coefficients from the parser 12 and performs variable length decoding, and the variable length decoded data is quantized by the scan converter 14. It is restored to two-dimensional discrete cosine transform (DCT) coefficient block. The inverse quantization unit 15 receives the inverse quantized discrete cosine transform (DCT) coefficients and inverse quantizes it, and the inverse discrete cosine transform (DCT) unit 16 converts the inverse discrete cosine to restore an error signal block. On the other hand, the motion compensator 17 receives the macroblock header information from the parser 12, and the data at the position designated by the motion vector in the macroblock header information from the previous frame stored in the memory 19. Is extracted to form a prediction block. Here, a more specific operation of the exercise compensator 17 will be described later. The adder 18 combines the prediction block output from the motion compensator 17 and the error block output from the inverse discrete cosine transform (DCT) unit 16 to form a reconstruction block, and stores the reconstruction block in the memory 19. At the same time output to the display unit not shown.

도 2는 도 1 장치의 운동보상부(17)를 나타낸 상세도로서, 운동보상부(17)의 운동보상제어기(21)는 구문분석기(도 1 참조)(12)로부터 인가되는 매크로블록헤더(macroblock header)정보로부터 가변장복호기(도 1참조)(13)에서 현재 복호화되는 매크로블록 데이타의 부호화형태를 판단하여 운동보상모드를 결정하고, 그에 따른 운동벡터를 출력한다. 여기에서 운동벡터는 현재 복호화되는 매크로블록 데이타의 부호화형태에 따라서 순방향운동벡터(Vf), 역방향운동벡터(Vb) 그리고 순방향 및 역방향운동벡터를 모두 포함하는 세가지경우중 하나이다. 운동보상제어기(21)는 입력되는 매크로블록헤더(macroblock header)정보로부터 현재 매크로블록 데이타가 순방향운동보상에 따라 부호화된 경우로 판단되면 매크로블록헤더(macroblock header)정보내의 운동벡터를 순방향운동벡터(Vf)로 하여 순방향운동보상기(22)로 출력한다. 반면에, 운동보상제어기(21)는 입력되는 매크로블록헤더(macroblock header)정보로부터 현재 매크로블록 데이타가 역방향운동보상에 따라 부호화된 경우로 판단되면 매크로블록헤더(macroblock header)정보내의 운동벡터를 역방향운동벡터(Vb)로 하여 역방향운동보상기(23)로 출력한다. 운동보상제어기(21)는 입력되는 매크로블록헤더(macroblock header)정보로부터 현재 매크로블록 데이타가 양방향운동보상에 따라 부호화된 경우로 판단되면 매크로블록헤더(macroblock header)정보내의 양방향에 대한 운동벡터를 해당하는 순방향운동보상기(22) 내지 역방향운동보상기(23)로 출력한다. 즉, 현재 복호화되는 프레임이 P(Predictive-coded)-픽춰라면 순방향운동보상만 이루어지므로 전송되는 운동벡터는 항상 순방향운동벡터(Vf)만을 갖는다. 그러나, B(Bidirectionally predictive-coded)-픽춰인 경우 각 매크로블록은 순방향운동보상, 역방향운동보상 그리고 양방향운동보상등 3가지경우중 하나일 수 있으므로 각 운동보상형태에 따라서 전송되는 운동벡터가 달라진다. 순방향운동보상기(22)는 도 3a에서 보듯이 운동보상제어기(21)로부터 인가되는 순방향운동벡터(Vf)를 사용하여 메모리(도 1 참조)(19)에 저장된 이전프레임으로부터 순방향운동벡터(Vf)로 표시된 위치의 데이타를 취해 예측블록(MC_f)을 형성한다. 이때, 전송된 운동벡터가 반화소 정밀도를 가지면 반화소보간을 이용하여 예측블록을 구성한다. 또한, 역방향운동보상기(23)는 도 3b에서 보듯이 도 3a의 순방향운동보상과 마찬가지로 운동보상제어기(21)로부터 인가되는 역방향운동벡터(Vb)를 이용하여 메모리(도 1 참조)(19)에 저장된 다음프레임으로부터 역방향운동벡터(Vb)로 표시된 위치의 데이타를 취해 예측블록(MC_b)을 구한다. 양방향운동보상의 경우에는 도 3c에서 보듯이 일단 순방향운동벡터(Vf) 및 이전프레임을 이용하여 순방향예측블록(MC_f)을 구하고, 역방향운동벡터(Vb) 및 복원된 다음프레임을 이용하여 역방향예측블록(MC_b)을 구한 후, 가산기(24)를 통해 순방향예측블록(MC_f)과 역방향예측블록(MC_b)를 더해서 2로 나눈 평균을 구하여 양방향예측블록(MC_fb)을 구한다. 스위치(25)에서는 순방향운동보상기(22)로부터 인가되는 순방향예측블록(MC_f)과 역방향운동보상기(23)로부터 인가되는 역방향예측블록(MC_b) 및 가산기(24)를 통해 인가되는 양방향예측블록(MC_fb)중 운동보상제어기(21)의 판단에 따른 운동보상모드에 해당하는 예측블록을 선택하여 가산기(도 1 참조)(18)로 출력한다.FIG. 2 is a detailed view of the exercise compensator 17 of the apparatus of FIG. 1, wherein the exercise compensator 21 of the exercise compensator 17 is a macroblock header applied from the parser 12 (see FIG. 1). The motion compensation mode is determined by determining the encoding form of the macroblock data currently decoded by the variable length decoder (see FIG. 1) from the macroblock header information, and outputs the motion vector accordingly. Here, the motion vector is one of three cases including both the forward motion vector Vf, the backward motion vector Vb, and the forward and backward motion vectors according to the encoding form of the currently decoded macroblock data. When the motion compensation controller 21 determines that the current macroblock data is encoded according to the forward motion compensation from the macroblock header information input, the motion compensation controller 21 converts the motion vector in the macroblock header information into the forward motion vector ( Output to the forward motion compensator 22 as Vf). On the other hand, if the motion compensation controller 21 determines that the current macroblock data is encoded according to the backward motion compensation from the macroblock header information input, the motion compensation controller 21 reverses the motion vector in the macroblock header information. It outputs to the backward motion compensator 23 as a motion vector Vb. If it is determined that the current macroblock data is encoded according to the bidirectional motion compensation from the macroblock header information input, the motion compensation controller 21 corresponds to the motion vector for both directions in the macroblock header information. The forward motion compensator 22 to the reverse motion compensator 23 is output. That is, if the frame currently decoded is P (Predictive-coded) -picture, only forward motion compensation is performed, and thus the transmitted motion vector always has only forward motion vector Vf. However, in case of B (Bidirectionally predictive-coded) -picture, each macroblock can be one of three cases such as forward motion compensation, backward motion compensation, and bidirectional motion compensation, and thus the motion vector transmitted varies according to each motion compensation type. The forward motion compensator 22 uses the forward motion vector Vf applied from the motion compensation controller 21 as shown in FIG. 3A to forward motion vector Vf from the previous frame stored in the memory (see FIG. 1) 19. The data at the position indicated by is taken to form the prediction block MC_f. At this time, if the transmitted motion vector has half pixel precision, the prediction block is constructed using half pixel interpolation. Also, as shown in FIG. 3B, the backward motion compensator 23 uses the backward motion vector Vb applied from the motion compensation controller 21 to the memory (see FIG. 1) 19 as in the forward motion compensation of FIG. 3A. The prediction block MC_b is obtained by taking the data of the position indicated by the backward motion vector Vb from the next stored frame. In the case of bidirectional motion compensation, as shown in FIG. 3C, the forward prediction block MC_f is obtained using the forward motion vector Vf and the previous frame, and then the backward prediction block is obtained using the backward motion vector Vb and the restored next frame. After the MC_b is obtained, the forward prediction block MC_f and the backward prediction block MC_b are added through the adder 24 to obtain an average divided by two to obtain a bidirectional prediction block MC_fb. In the switch 25, the forward prediction block MC_f applied from the forward motion compensator 22 and the reverse prediction block MC_b applied from the backward motion compensator 23 and the bidirectional prediction block MC_fb applied through the adder 24 are provided. ) Selects a prediction block corresponding to the exercise compensation mode according to the determination of the exercise compensation controller 21 and outputs the predicted block to the adder 18 (see FIG. 1).

하지만, 양방향 운동보상의 경우 이전프레임과 다음프레임으로부터 두개의 예측블록을 추출해야 하므로 순방향 내지 역방향의 한방향 운동보상에 비해 2배 이상의 메모리량과 계산량을 필요로 한다. 더욱이, B-픽춰의 경우 각 매크로블록이 양방향 운동보상으로 부호화되었을 가능성이 있으므로 최악의 경우 한 프레임내의 모든 매크로블록이 양방향 운동보상으로 부호화되는 경우도 있다. 그래서, MPEG을 기반으로 하는 동화상 복호화장치가 완전히 제대로 동작하기 위해서는 시스템의 구현 복잡도(메모리량과 계산량)를 B-픽춰에서 모든 매크로블록들이 양방향 운동보상으로 부호화된 경우에 맞추어 설계되야 한다. 이로 인하여 한 프레임시간(1/30초)동안 모든 매크로블록들을 양방향 운동보상에 따라 복호화할 수 있도록 전체 시스템의 복잡도를 설정하여야 한다. 이는 매우 복잡한 설계가 필요하며, 전체적인 동화상 복호화장치의 가격을 상승시키는 요인이 된다.However, in the case of bidirectional motion compensation, two prediction blocks must be extracted from the previous frame and the next frame, thus requiring more than twice as much memory and computation amount as the one-way motion compensation in the forward and reverse directions. Furthermore, in the case of B-pictures, since each macroblock may be encoded by bidirectional motion compensation, in the worst case, all macroblocks in one frame may be encoded by bidirectional motion compensation. Therefore, in order for the MPEG-based video decoding apparatus to work properly, the implementation complexity (memory amount and computation amount) of the system should be designed in a case where all macroblocks in the B-picture are encoded by bidirectional motion compensation. Therefore, the complexity of the entire system must be set so that all macroblocks can be decoded according to bidirectional motion compensation for one frame time (1/30 second). This requires a very complicated design, which increases the price of the entire video decoding apparatus.

따라서, 본 발명의 목적은 MPEG을 기반으로 하는 동화상 복호화장치에서 구현 복잡도가 가장 높은 B-픽춰의 양방향 운동보상모드에 대해 강제적으로 순방향 내지 역방향의 한방향 운동보상모드로 설정하여 복잡성 및 메모리량에 대해 제한을 두므로써 전체적인 복잡도를 줄이고, 저가격의 동화상 복호화장치를 구현할 수 있도록 한 강제적 한방향 운동보상에 근거한 동화상 복호화장치를 제공함에 있다.Accordingly, an object of the present invention is to forcibly set the forward to reverse one-way motion compensation mode for the B-picture bidirectional motion compensation mode having the highest implementation complexity in the MPEG-based video decoding apparatus, and thus for the complexity and memory amount. The present invention provides a video decoding apparatus based on a compulsory one-way motion compensation to reduce the overall complexity and to implement a low cost video decoding apparatus.

도 1은 일반적인 동화상 복호화장치를 나타낸 블록도,1 is a block diagram showing a general moving picture decoding apparatus;

도 2는 도 1 장치의 운동보상부를 나타낸 상세도,2 is a detailed view showing a motion compensation unit of the device of FIG.

도 3은 각 운동보상모드에 대한 운동보상방식을 설명하기 위한 도면,3 is a view for explaining an exercise compensation method for each exercise compensation mode;

도 4는 본 발명에 의한 강제적 한방향 운동보상에 근거한 동화상 복호화장치를 나타내는 블록도,4 is a block diagram showing a moving picture decoding apparatus based on forced one-way motion compensation according to the present invention;

도 5는 도 4 장치의 운동보상선택부를 나타내는 상세도,5 is a detailed view showing a motion compensation selection unit of FIG. 4;

도 6은 도 4 장치의 한방향운동보상부를 나타내는 상세도.Figure 6 is a detailed view showing the one-way motion compensation of the Figure 4 device.

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

41 : 버퍼 42 : 구문분석기41: buffer 42: parser

43 : 가변장복호기 44 : 스캔변환부43: variable length decoder 44: scan conversion unit

45 : 역양자화부 46 : 역DCT부45: inverse quantization unit 46: inverse DCT unit

47 : 운동보상선택부 48 : 한방향운동보상부47: motion compensation selector 48: one-way motion compensation

49 : 가산기 50 : 메모리49: adder 50: memory

이와 같은 목적을 달성하기 위한 본 발명의 강제적 한방향 운동보상에 근거한 동화상 복호화장치는 입력되는 부호화된 비트스트림 데이타를 복호화하여 출력하는 동화상 복호화장치에 있어서, 부호화된 비트스트림 데이타내의 픽춰헤더정보 및 매크로블록헤더정보를 입력받아 현재 복호화되는 매크로블록 데이타의 운동보상모드를 판단하여 순방향 내지 역방향운동보상모드이면 그 운동보상모드와 함께 매크로블록헤더정보내의 운동벡터를 출력하고, 양방향운동보상모드이면 강제적으로 순방향 및 역방향중 하나의 방향을 선택하여 그 운동보상모드와 함께 매크로블록헤더정보내의 운동벡터를 출력하는 운동보상선택부, 및 상기 운동보상선택부로부터 인가되는 운동보상모드와 운동벡터를 이용하여 운동보상을 수행하는 한방향운동보상부를 포함한다.The moving picture decoding apparatus based on the compulsory one-way motion compensation of the present invention for achieving the above object is a moving picture decoding apparatus that decodes and inputs coded bitstream data, wherein the picture header information and macroblocks in the coded bitstream data are output. Determines the motion compensation mode of the macroblock data currently decoded by receiving the header information, and outputs the motion vector in the macroblock header information together with the motion compensation mode in the forward or reverse motion compensation mode, and forcibly forwards in the bidirectional motion compensation mode. And a motion compensation selector which selects one of the reverse directions and outputs a motion vector in the macroblock header information together with the motion compensation mode, and a motion compensation using the motion compensation mode and the motion vector applied from the motion compensation selection part. One-way motion compensation The.

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시예를 상세히 기술하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명에 따른 강제적 한방향 운동보상에 근거한 동화상 복호화장치를 나타내는 블록도이다. 도시된 바와 같이, 본 발명의 장치는 종래 도 1 장치의 구성과 동일하게 구성되며, 단지 구문분석기(42)로부터 픽춰헤더(picture header)정보와 매크로블록헤더(macroblock header)정보를 입력받아 운동보상모드를 선택하는 운동보상선택부(47)와, 선택된 운동보상모드에 맞게 순방향 내지 역방향의 한방향으로만 운동보상하는 변형된 운동보상부(48)를 추가로 포함하도록 구성된다(점선표시부분).4 is a block diagram showing a moving picture decoding apparatus based on forced one-way motion compensation according to the present invention. As shown, the apparatus of the present invention is configured in the same manner as the conventional apparatus of FIG. 1, and receives motion picture compensation information and macroblock header information from the parser 42. It further comprises a motion compensation selecting section 47 for selecting a mode and a modified motion compensation section 48 for compensating for motion only in one direction in the forward or reverse direction in accordance with the selected exercise compensation mode (dotted line display section).

이와 같이 구성된 본 발명의 강제적 한방향 운동보상에 근거한 동화상 복호화장치에 대한 동작을 도 5 및 도 6를 참조하여 좀더 구체적으로 설명한다.The operation of the moving picture decoding apparatus based on the compulsory one-way motion compensation of the present invention configured as described above will be described in more detail with reference to FIGS. 5 and 6.

도 5는 도 4 장치의 운동보상선택부(47)를 나타내는 상세도이다. 도시된 바와 같이, 본 발명의 운동보상선택부(47)는 입력되는 픽춰헤더(picture header)정보와 매크로블록헤더(macroblock header)정보로부터 운동보상형태를 검출하는 운동보상형태검출기(51)와, 검출된 운동보상형태가 양방향 운동보상모드일 경우 양방향중 한방향을 선택하기 위한 운동보상방향선택기(53)를 구비하고 있다. 또한, 검출된 운동보상형태에 따라 운동벡터를 그대로 통과시키거나 운동보상방향선택기(53)로 출력하는 제 1스위치(52)와, 제 1스위치(52)에서 출력되는 운동벡터와 운동보상방향선택기(53)에서 출력되는 운동벡터를 선택적으로 출력하는 제 2스위치(54), 및 운동보상형태검출기(51)에서 출력되는 최초의 운동보상모드와 운동보상방향선택기(53)에서 선택된 운동보상모드를 선택적으로 출력하는 제 3스위치(55)를 구비하도록 구성된다.FIG. 5 is a detailed view of the motion compensation selecting unit 47 of the apparatus of FIG. 4. As shown, the motion compensation selection unit 47 of the present invention includes a motion compensation shape detector 51 for detecting a motion compensation shape from input picture header information and macroblock header information; When the detected motion compensation form is a bidirectional motion compensation mode, a motion compensation direction selector 53 is provided for selecting one of the two directions. In addition, the motion vector and the motion compensation direction selector output from the first switch 52 to pass the motion vector as it is or output to the motion compensation direction selector 53 according to the detected motion compensation form. The second switch 54 for selectively outputting the motion vector output from the 53 and the first motion compensation mode output from the motion compensation shape detector 51 and the motion compensation mode selected by the motion compensation direction selector 53. It is configured to have a third switch 55 for selectively outputting.

도 6은 도 4 장치의 한방향운동보상부(48)를 나타내는 상세도이다. 도시된 바와 같이, 본 발명의 한방향운동보상부(48)는 운동보상선택부(도 4 및 도 5 참조)(47)로부터 인가되는 운동보상모드에 따라 입력되는 운동벡터를 순방향운동벡터(Vf)와 역방향운동벡터(Vb)중 하나로 출력하는 제 4스위치(61)와, 제 4스위치(61)를 통해 입력되는 순방향운동벡터(Vf)에 따라 순방향 운동보상을 수행하여 순방향예측블록(MC_f)을 출력하는 순방향운동보상기(62), 및 제 4스위치(61)를 통해 입력되는 역방향운동벡터(Vb)에 따라 역방향 운동보상을 수행하여 역방향예측블록(MC_b)을 출력하는 역방향운동보상기(63)를 구비하고 있다. 또한, 순방향운동보상기(62)와 역방향운동보상기(63) 사이에는 순방향 예측블록(MC_f)과 역방향 예측블록(MC_b)을 선택적으로 출력하는 제 5스위치(64)가 연결되도록 구성된다.FIG. 6 is a detailed view of the unidirectional motion compensation unit 48 of the apparatus of FIG. 4. As shown, the one-way motion compensator 48 of the present invention uses the motion vector input according to the motion compensation mode applied from the motion compensation selector 47 (see FIGS. 4 and 5) 47 to forward motion vector Vf. And the forward motion compensation block MC_f by performing forward motion compensation according to the fourth switch 61 outputting one of the reverse motion vectors Vb and the forward motion vector Vf input through the fourth switch 61. The backward motion compensator 63 outputs the backward prediction block MC_b by performing backward motion compensation according to the forward motion compensator 62 to be output and the reverse motion vector Vb input through the fourth switch 61. Equipped. In addition, a fifth switch 64 selectively outputs the forward prediction block MC_f and the backward prediction block MC_b between the forward motion compensator 62 and the backward motion compensator 63.

먼저, 도 4에서 버퍼(41)는 입력되는 부호화된 비트스트림 데이타를 일단 저장하고, 저장된 부호화된 비트스트림 데이타를 구문분석기(42)로 출력한다. 구문분석기(42)는 입력되는 부호화된 비트스트림 데이타를 MPEG의 표준규격에 부합하도록 구문분석(syntax parsing)하여 픽춰헤더(picture header)정보와 매크로블록헤더(macroblock header)정보를 운동보상선택부(47)로 출력하고, 이산여현변환(DCT)계수들에 대한 가변장부호들을 가변장복호기(43)로 출력한다. 가변장복호기(43)는 입력되는 가변장부호들을 가변장복호화하고, 스캔변환부(44)에서는 가변장복호화된 데이타들을 입력받아 양자화된 2차원 이산여현변환(DCT)계수블록으로 복원한다. 역양자화부(45) 및 역이산여현변환(DCT)부(46)에서는 양자화된 이산여현변환(DCT)계수들을 차례로 역양자화 및 역이산여현변환(IDCT)하여 오차신호블록으로 복원하여 가산기(49)로 출력한다. 한편, 운동보상선택부(47)는 구문분석기(42)로부터 픽춰헤더(picture header)정보 및 매크로블록헤더(macroblock header)정보를 입력받아 가변장복호기(43)에서 현재 복호화되는 매크로블록 데이타의 운동보상모드를 인식하고, 그중 양방향운동보상모드에 대해 강제적으로 한방향의 운동보상모드로 전환시킨다. 여기에서 운동보상선택부(47)에 대한 좀더 구체적인 동작은 후술한다. 한방향운동보상부(48)는 운동보상선택부(47)에서 선택된 운동보상모드 및 운동벡터에 따라 메모리(50)에 저장된 이전 복원 프레임으로부터 운동벡터에 의해서 지정된 위치에 있는 데이타를 추출하여 예측블록을 형성한다. 여기에서 한방향운동보상부(48)에 대한 좀더 구체적인 동작은 후술한다. 가산기(49)는 한방향운동보상부(48)에서 형성한 예측블록과 역이산여현변환(DCT)부(46)에서 형성한 오차블록을 서로 가산하여 복원블록을 구성하고, 이를 메모리(50)에 저장함과 동시에 미도시된 디스플레이부로 출력한다.First, in FIG. 4, the buffer 41 stores the input coded bitstream data once, and outputs the stored coded bitstream data to the parser 42. The parser 42 parses the input bitstream data to conform to the MPEG standard, and parses the picture header information and the macroblock header information into a motion compensation selection unit. 47), and variable length codes for the discrete cosine transform (DCT) coefficients are output to the variable length decoder 43. The variable length decoder 43 variably decodes the input variable length codes, and the scan converter 44 receives the variable length decoded data and restores the quantized two-dimensional discrete cosine transform (DCT) coefficient block. The inverse quantization unit 45 and the inverse discrete cosine transform (DCT) unit 46 perform inverse quantization and inverse discrete cosine transform (IDCT) on the quantized discrete cosine transform (DCT) coefficients in order to restore the error signal block, and adder 49 ) On the other hand, the motion compensation selector 47 receives picture header information and macroblock header information from the parser 42 and executes motion of macroblock data currently decoded by the variable length decoder 43. Recognizes the compensation mode and forcibly switches to the one-way motion compensation mode. Here, a more specific operation of the exercise compensation selecting unit 47 will be described later. The one-way motion compensator 48 extracts the data at the position designated by the motion vector from the previous reconstructed frame stored in the memory 50 according to the motion compensation mode and the motion vector selected by the motion compensation selector 47 to obtain a prediction block. Form. Here, a more specific operation of the one-way motion compensation unit 48 will be described later. The adder 49 adds the prediction block formed by the one-way motion compensator 48 and the error block formed by the inverse discrete cosine transform (DCT) unit 46 to form a reconstruction block, and adds it to the memory 50. At the same time as the storage and output to the display unit not shown.

도 5에서, 운동보상선택부(47)의 운동보상형태검출기(51)는 구문분석기(도 4 참조)(42)로부터 인가되는 픽춰헤더(picture header)정보 및 매크로블록헤더(macroblock header)정보에서 픽춰형태(picture type) 및 매크로블록형태(macroblock type)정보를 추출하여 가변장복호기(도 4 참조)(43)에서 현재 복호화되는 매크로블록 데이타의 운동보상모드를 판단하고, 판단한 운동보상모드와 그에 따른 운동벡터를 출력한다. 제 1스위치(52)는 운동보상형태검출기(51)로부터 인가되는 운동벡터를 운동보상형태검출기(51)의 제어에 따라 선택적으로 제 2스위치(54) 내지 운동보상방향선택기(53)로 출력한다. 즉, 운동보상형태검출기(51)는 순방향 또는 역방향운동보상모드로 판단되면 그 운동보상모드 본래대로 복호화가 이루어질 수 있도록 제 1스위치(52)를 통해 운동벡터를 제 2스위치(54)로 출력한다. 반면에, 운동보상형태검출기(51)는 픽춰형태(picture type)가 B-픽춰이고, 매크로블록형태(macroblock type)가 내삽(interpolative)된 매크로블록이면 양방향운동보상모드로 판단하여 강제적 한방향 운동보상모드로 복호화가 이루어질 수 있도록 제 1스위치(52)를 통해 운동벡터를 운동보상방향선택기(53)로 출력한다. 한편, 운동보상방향선택기(53)는 제 1스위치(52)를 통해 입력되는 운동벡터를 이용하여 순방향 및 역방향중 하나의 운동보상 방향을 선택하여 강제적으로 한방향 운동보상모드로 전환한다. 운동보상방향선택기(53)에서 순방향 및 역방향중 하나의 방향을 선택하는 기준은, 도 3c에서 보듯이 현재 복호화되는 B-픽춰 프레임이 시간축에서의 위치를 T라고 하고, 순방향운동보상에 이용되는 이전프레임의 위치를 T′, 그리고 역방향운동보상에 이용되는 다음프레임의 위치를 T″이라고 하면, (T-T′)이 (T″-T)보다 작거나 같으면 순방향운동보상으로 선택하고, 그렇지 않으면 역방향운동보상으로 선택한다. 제 2스위치(54)는 제 1스위치(52)로부터 인가되는 운동벡터와 운동보상방향선택기(53)로부터 인가되는 운동벡터를 운동보상형태검출기(51)의 제어에 따라 선택적으로 출력한다. 여기서, 제 2스위치(54)는 제 1스위치(52)와 연동하므로 운동보상형태검출기(51)에서 순방향 또는 역방향운동보상모드로 판단되면 운동벡터가 제 1스위치(52)와 제 2스위치(54)를 그대로 통과하여 한방향운동보상부(도 4 참조)(48)로 출력된다. 또한, 운동보상형태검출기(51)에서 양방향운동보상모드로 판단되면 운동벡터가 제 1스위치(52)와 운동보상방향선택기(53) 및 제 2스위치(54)를 통해서 한방향운동보상부(도 4 참조)(48)로 출력된다. 한편, 제 3스위치(55)는 운동보상형태검출기(51)에서 판단된 최초의 운동보상모드와 운동보상방향선택기(53)에서 선택된 운동보상모드를 운동보상형태검출기(51)의 제어에 따라 선택적으로 출력한다. 물론, 제 3스위치(55)도 제 1스위치(52) 및 제 2스위치(54)와 연동하므로 운동보상형태검출기(51)에서 순방향 또는 역방향운동보상모드로 판단되면 최초의 운동보상모드를 선택하여 한방향운동보상부(도 4 참조)(48)로 출력하고, 양방향운동보상모드로 판단되면 운동보상방향선택기(53)에서 강제적으로 선택한 운동보상모드를 선택하여 한방향운동보상부(도 4 참조)(48)로 출력한다.In FIG. 5, the motion compensation shape detector 51 of the motion compensation selecting unit 47 is configured in picture header information and macroblock header information applied from the parser 42 (see FIG. 4). Determine the motion compensation mode of the macroblock data currently decoded by the variable length decoder (see FIG. 4) by extracting picture type and macroblock type information, and determining the determined motion compensation mode and Output the motion vector according to the The first switch 52 selectively outputs the motion vector applied from the motion compensation shape detector 51 to the second switch 54 to the motion compensation direction selector 53 under the control of the motion compensation shape detector 51. . That is, if the motion compensation shape detector 51 determines the forward or reverse motion compensation mode, the motion compensation mode detector 51 outputs the motion vector to the second switch 54 through the first switch 52 so that decoding can be performed intact. . On the other hand, if the motion compensation shape detector 51 is a B-picture and the macroblock type is an interpolated macroblock, the motion compensation shape detector 51 determines the bidirectional motion compensation mode to force one-way motion compensation. The motion vector is output to the motion compensation direction selector 53 through the first switch 52 so that decoding can be performed in the mode. On the other hand, the motion compensation direction selector 53 selects one of the motion compensation directions in the forward and reverse directions by using the motion vector input through the first switch 52 and forcibly switches to the one-way motion compensation mode. The criterion for selecting one of the forward and reverse directions in the motion compensation direction selector 53 is, as shown in Fig. 3c, that the position of the currently decoded B-picture frame is T on the time axis, and is used for forward motion compensation. If the position of the frame is T 'and the position of the next frame used for the backward motion compensation is T ″, if (TT') is less than or equal to (T ″ -T), the forward motion compensation is selected. Choose as a reward. The second switch 54 selectively outputs the motion vector applied from the first switch 52 and the motion vector applied from the motion compensation direction selector 53 under the control of the motion compensation shape detector 51. Here, since the second switch 54 is interlocked with the first switch 52, if the motion compensation type detector 51 determines the forward or reverse motion compensation mode, the motion vectors are the first switch 52 and the second switch 54. ) Is passed through as it is and is output to the one-way motion compensator (see FIG. 4) 48. In addition, when it is determined that the motion compensation mode detector 51 is the bidirectional motion compensation mode, the motion vector is one-way motion compensation unit through the first switch 52, the motion compensation direction selector 53, and the second switch 54 (FIG. 4). 48). On the other hand, the third switch 55 selectively selects the first motion compensation mode determined by the motion compensation shape detector 51 and the motion compensation mode selected by the motion compensation direction selector 53 according to the control of the motion compensation shape detector 51. Will print Of course, since the third switch 55 also interlocks with the first switch 52 and the second switch 54, if the motion compensation type detector 51 determines the forward or reverse motion compensation mode, the first motion compensation mode is selected. Output to the one-way motion compensator (see Fig. 4) 48, and if it is determined that the two-way motion compensation mode is selected, the one-way motion compensator (see Fig. 4) by forcibly selecting the motion compensation mode selected by the motion compensation direction selector 53 ( 48).

도 6에서, 한방향운동보상부(48)는 운동보상선택부(47)로부터 한방향운동보상모드와 운동벡터를 입력받아 한방향 운동보상에 의한 예측블록을 형성한다. 즉, 제 4스위치(61)는 입력되는 운동벡터를 입력되는 운동보상모드에 따라 순방향운동벡터(Vf) 내지 역방향운동벡터(Vb)로 하여 출력한다. 순방향운동보상기(62)는 제 4스위치(61)로부터 인가되는 순방향운동벡터(Vf)를 사용하여 메모리(도 4 참조)(50)에 저장된 이전프레임으로부터 순방향운동벡터(Vf)로 표시된 위치의 데이타를 취해 순방향예측블록(MC_f)을 구한다. 역방향운동보상기(63)는 순방향운동보상기(62)와 마찬가지로 제 4스위치(61)로부터 인가되는 역방향운동벡터(Vb)를 이용하여 메모리(도 4 참조)(50)에 저장된 다음프레임으로부터 역방향예측블록(MC_b)을 구한다. 제 5스위치(64)는 순방향운동보상기(62)로부터 인가되는 순방향예측블록(MC_f)과 역방향운동보상기(63)로부터 인가되는 역방향예측블록(MC_b)을 입력되는 운동보상모드에 따라 선택하여 가산기(도 4 참조)(49)로 출력한다.In FIG. 6, the one-way motion compensator 48 receives the one-way motion compensation mode and the motion vector from the motion compensation selector 47 to form a prediction block by the one-way motion compensation. That is, the fourth switch 61 outputs the input motion vector as the forward motion vector Vf to the reverse motion vector Vb according to the input motion compensation mode. The forward motion compensator 62 uses the forward motion vector Vf applied from the fourth switch 61 to display data of the position indicated by the forward motion vector Vf from the previous frame stored in the memory (see FIG. 4) 50. To obtain the forward prediction block MC_f. The backward motion compensator 63, like the forward motion compensator 62, is a backward prediction block from the next frame stored in the memory (see FIG. 4) 50 using the backward motion vector Vb applied from the fourth switch 61. Obtain (MC_b). The fifth switch 64 selects the forward predicting block MC_f applied from the forward motion compensator 62 and the reverse predicting block MC_b applied from the backward motion compensator 63 according to the input motion compensation mode, thereby adding an adder ( 4).

이처럼, B-픽춰에서 양방향 운동보상으로 부호화된 매크로블록단위의 데이타를 강제적으로 순방향 내지 역방향중 하나의 방향으로 운동보상하여 복호화하므로써 전체 시스템의 메모리량과 계산량을 일반적인 MPEG 동화상 복호화장치에 비해 ½ 이하로 줄일 수 있어 저가격의 동화상 복호화장치를 구현할 수 있다. 여기서, 양방향운동보상에 의해 부호화된 매크로블록을 한방향만의 운동보상으로 복호화하므로써 B-픽춰에 대한 화질이 저하될 가능성이 있지만 B-픽춰가 전체 화질에 미치는 영향이 다른 형태의 픽춰에 의한 영향보다 작으므로 전체적인 화질에 크게 영향을 미치지는 않는다.Thus, by compensating and decoding the data in macroblock units encoded by bidirectional motion compensation in B-picture in one of the forward and reverse directions, the amount of memory and computation of the entire system is less than ½ of the conventional MPEG video decoding apparatus. It can be reduced to implement a low-cost video decoding apparatus. Here, the quality of the B-picture may be degraded by decoding the macroblock encoded by the bidirectional motion compensation into one-way motion compensation, but the effect of the B-picture on the overall picture quality is more than that of other types of pictures. Its small size does not significantly affect the overall picture quality.

상술한 바와 같이, 본 발명은 강제적 한방향 운동보상에 근거한 동화상 복호화장치에 관한 것으로 MPEG기반의 동화상 복호화장치를 구현시 복잡도를 결정짓는 B-픽춰의 양방향 운동보상방식으로 복호화되는 매크로블록에 대해 강제적으로 순방향 및 역방향중 하나의 방향으로 제한하므로써 운동보상에 소요되는 메모리량과 계산량을 ½ 이하로 줄일 수 있어 복잡도를 낮추고 전체적인 가격을 줄일 수 있는 효과를 갖는다.As described above, the present invention relates to a moving picture decoding apparatus based on a compulsory one-way motion compensation, and compulsorily for a macroblock decoded by a B-picture bidirectional motion compensation method that determines the complexity when implementing an MPEG-based moving picture decoding apparatus. By limiting to one of the forward and reverse directions, the amount of memory and calculation required for the exercise compensation can be reduced to less than ½, which reduces the complexity and reduces the overall price.

Claims (7)

입력되는 부호화된 비트스트림 데이타를 복호화하여 출력하는 동화상 복호화장치에 있어서, 부호화된 비트스트림 데이타내의 픽춰헤더정보 및 매크로블록헤더정보를 입력받아 현재 복호화되는 매크로블록 데이타의 운동보상모드를 판단하여 순방향 내지 역방향운동보상모드이면 그 운동보상모드와 함께 매크로블록헤더정보내의 운동벡터를 출력하고, 양방향운동보상모드이면 강제적으로 순방향 및 역방향중 하나의 방향을 선택하여 그 운동보상모드와 함께 매크로블록헤더정보내의 운동벡터를 출력하는 운동보상선택부 및 상기 운동보상선택부로부터 인가되는 운동보상모드와 운동벡터를 이용하여 운동보상을 수행하는 한방향운동보상부를 포함하는 강제적 한방향 운동보상에 근거한 동화상 복호화장치.A moving picture decoding apparatus for decoding and outputting input coded bitstream data, comprising: receiving picture header information and macroblock header information in the coded bitstream data and determining a motion compensation mode of the currently decoded macroblock data to determine whether the motion compensation mode is forward or not. In the backward motion compensation mode, the motion vector in the macroblock header information is output together with the motion compensation mode.In the two-way motion compensation mode, one of the forward and reverse directions is forcibly selected to display the motion vector in the macroblock header information together with the motion compensation mode. And a motion compensation selector for outputting a motion vector, and a motion compensation mode configured to perform motion compensation using the motion compensation mode and the motion vector applied from the motion compensation selector. 제 1항에 있어서, 상기 운동보상선택부는 픽춰헤더정보 및 매크로블록헤더정보를 입력받아 픽춰형태 및 매크로블록형태정보를 검출하여 현재 복호화되는 매크로블록 데이타의 운동보상모드를 판단하고, 그에 따른 운동보상모드와 운동벡터를 출력하는 운동보상형태검출기 상기 운동보상형태검출기에서 양방향운동보상모드로 판단되면 기설정된 기준에 따라 순방향운동보상모드 및 역방향운동보상모드중 하나의 운동보상 방향을 선택하는 운동보상방향선택기 및 상기 운동보상형태검출기에서 순방향 또는 역방향운동보상모드로 판단되면 그 운동보상모드와 운동벡터를 그대로 상기 한방향운동보상부로 출력하고, 상기 운동보상형태검출기에서 양방향운동보상모드로 판단되면 상기 운동보상방향선택기에서 선택한 한방향의 운동보상모드와 운동벡터를 상기 한방향운동보상부로 출력하는 출력기를 구비함을 특징으로 하는 강제적 한방향 운동보상에 근거한 동화상 복호화장치.The method of claim 1, wherein the motion compensation selection unit receives picture header information and macro block header information to detect picture shape and macro block shape information to determine a motion compensation mode of the currently decoded macroblock data, and to thereby compensate for motion. Motion compensation shape detector for outputting mode and motion vector If the motion compensation shape detector determines that the motion compensation mode is a bidirectional motion compensation mode, the motion compensation direction selects one of the motion compensation direction among the forward motion compensation mode and the backward motion compensation mode according to a predetermined criterion. If the selector and the motion compensation shape detector determine the forward or reverse motion compensation mode, the motion compensation mode and the motion vector are output to the one-way motion compensation unit as they are, and if the motion compensation shape detector is determined to be the bidirectional motion compensation mode, the motion compensation is performed. Exercise compensation mode and exercise in one direction selected from the direction selector And an output unit for outputting a vector to the one-way motion compensator. 제 2항에 있어서, 상기 출력기는 상기 운동보상형태검출기로부터 인가되는 운동벡터를 상기 운동보상형태검출기의 운동보상모드판단결과에 따라 제 2스위치 내지 상기 운동보상방향선택기에 선택적으로 출력하는 제 1스위치 상기 제 1스위치를 통해 입력되는 운동벡터와 상기 운동보상방향선택기를 통해 입력되는 운동벡터를 상기 운동보상형태검출기의 운동보상모드판단결과에 따라 선택적으로 상기 한방향운동보상부로 출력하는 제 2스위치 및 상기 운동보상형태검출기에서 판단한 최초의 운동보상모드와 상기 운동보상방향선택기에서 선택한 운동보상모드를 상기 운동보상형태검출기의 운동보상모드판단결과에 따라 선택적으로 상기 한방향운동보상부로 출력하는 제 3스위치로 이루어진 것을 특징으로 하는 강제적 한방향 운동보상에 근거한 동화상 복호화장치.3. The first switch of claim 2, wherein the output unit selectively outputs a motion vector applied from the motion compensation shape detector to a second switch or the motion compensation direction selector according to a result of the motion compensation mode determination of the motion compensation shape detector. A second switch for selectively outputting the motion vector input through the first switch and the motion vector input through the motion compensation direction selector to the one-way motion compensator according to the motion compensation mode determination result of the motion compensation type detector; And a third switch for selectively outputting the first motion compensation mode determined by the motion compensation shape detector and the motion compensation mode selected by the motion compensation direction selector to the one-way motion compensator according to the result of the motion compensation mode judgment of the motion compensation shape detector. Based on compulsory one-way compensation The picture decoding apparatus. 제 3항에 있어서, 상기 운동보상형태검출기는 검출한 픽춰형태 및 매크로블록형태정보에 의해 현재 복호화되는 매크로블록 데이타가 순방향 또는 역방향운동보상모드로 판단되면 매크로블록헤더정보내의 운동벡터를 그대로 상기 제 1스위치와 상기 제 2스위치를 차례로 통과시켜 상기 한방향운동보상부로 출력하고, 판단된 최초의 운동보상모드를 그대로 상기 제 3스위치를 통해 상기 한방향운동보상부로 출력하는 것을 특징으로 하는 강제적 한방향 운동보상에 근거한 동화상 복호화장치.The method of claim 3, wherein the motion compensation shape detector detects the motion vector in the macroblock header information as it is when the macroblock data currently decoded by the detected picture shape and macroblock shape information is determined to be forward or backward motion compensation mode. Compulsory one-way motion compensation by passing through the first switch and the second switch in order to output to the one-way motion compensation unit, and outputs the determined first motion compensation mode to the one-way motion compensation unit through the third switch as it is. Based moving picture decoding apparatus. 제 3항에 있어서, 상기 운동보상형태검출기는 검출한 픽춰형태가 B-픽춰이고, 매크로블록형태가 내삽된 매크로블록이면 현재 복호화되는 매크로블록 데이타를 양방향운동보상모드로 판단하여 매크로블록헤더정보내의 운동벡터를 상기 제 1스위치를 통해 상기 운동보상방향선택기로 출력하여 상기 운동보상방향선택기에서 강제적으로 선택한 한방향의 운동보상모드와 함께 각각의 상기 제 2스위치와 상기 제 3스위치를 통해 상기 한방향운동보상부로 출력하는 것을 특징으로 하는 강제적 한방향 운동보상에 근거한 동화상 복호화장치.The method of claim 3, wherein the motion compensation shape detector detects the currently decoded macroblock data as a bidirectional motion compensation mode when the detected picture shape is a B-picture and the macroblock shape is interpolated. Outputs a motion vector to the motion compensation direction selector through the first switch and compensates the one-way motion through each of the second and third switches together with a motion compensation mode of one direction forcedly selected by the motion compensation direction selector. A moving picture decoding apparatus based on compulsory one-way motion compensation, characterized in that outputted as a negative. 제 2항에 있어서, 상기 운동보상방향선택기는 현재 복호화되는 B-픽춰 프레임의 시간축에서의 위치(T)에 대해 순방향운동보상에 이용되는 이전프레임의 위치(T′)간의 차분(T-T′)이 역방향운동보상에 이용되는 다음프레임의 위치(T″)간의 차분(T″-T)보다 작거나 같으면 순방향운동보상모드로 선택하고, 그렇지 않으면 역방향운동보상모드로 선택하는 것을 특징으로 하는 강제적 한방향 운동보상에 근거한 동화상 복호화장치.3. The motion compensation direction selector according to claim 2, wherein the motion compensation direction selector has a difference (TT ') between the position (T') of the previous frame used in the forward motion compensation with respect to the position (T) in the time axis of the currently decoded B-picture frame. Forced one-way motion, characterized in that the forward motion compensation mode is selected if it is less than or equal to the difference (T ″ -T) between the position T ″ of the next frame used in the backward motion compensation, otherwise the reverse motion compensation mode is selected. A video decoding apparatus based on compensation. 제 1항에 있어서, 상기 한방향운동보상부는 상기 운동보상선택부로부터 운동벡터와 운동보상모드를 입력받고, 운동보상모드에 따라 입력된 운동벡터를 순방향운동벡터 내지 역방향운동벡터로 출력하는 제 4스위치 상기 제 4스위치를 통해 입력되는 순방향운동벡터를 사용하여 복원된 이전프레임으로부터 순방향운동벡터로 표시된 위치의 데이타를 취해 순방향예측블록을 구하는 순방향운동보상기 상기 제 4스위치를 통해 입력되는 역방향운동벡터를 사용하여 복원된 다음프레임으로부터 역방향운동벡터로 표시된 위치의 데이타를 취해 역방향예측블록을 구하는 역방향운동보상기 및 상기 순방향예측블록과 상기 역방향예측블록을 입력되는 운동보상모드에 따라 선택적으로 출력하는 제 5스위치를 구비함을 특징으로 하는 강제적 한방향 운동보상에 근거한 동화상 복호화장치.The fourth switch of claim 1, wherein the one-way motion compensator receives a motion vector and a motion compensation mode from the motion compensation selector, and outputs a motion vector input according to the motion compensation mode as a forward motion vector or a reverse motion vector. Using the forward motion vector input through the fourth switch to obtain a forward prediction block by taking the data of the position indicated by the forward motion vector from the previous frame reconstructed using the forward motion vector input through the fourth switch And a fifth switch for selectively outputting the forward predictive block and the backward predictive block according to the input motion compensation mode by taking the data of the position indicated by the reverse motion vector from the next frame restored. Compulsory one-way motion compensation characterized by having Based video decoding apparatus.
KR1019960049807A 1996-10-29 1996-10-29 Moving picture decorder based on forced one-direction motion compensation Expired - Fee Related KR100203281B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960049807A KR100203281B1 (en) 1996-10-29 1996-10-29 Moving picture decorder based on forced one-direction motion compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960049807A KR100203281B1 (en) 1996-10-29 1996-10-29 Moving picture decorder based on forced one-direction motion compensation

Publications (2)

Publication Number Publication Date
KR19980030414A true KR19980030414A (en) 1998-07-25
KR100203281B1 KR100203281B1 (en) 1999-06-15

Family

ID=19479616

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960049807A Expired - Fee Related KR100203281B1 (en) 1996-10-29 1996-10-29 Moving picture decorder based on forced one-direction motion compensation

Country Status (1)

Country Link
KR (1) KR100203281B1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010027146A (en) * 1999-09-10 2001-04-06 서평원 Apparatus For Encryption And Decryption Of Packet Data
WO2016041507A1 (en) * 2014-09-17 2016-03-24 Mediatek Inc. Syntax parsing apparatus with multiple syntax parsing circuits for processing multiple image regions within same frame or processing multiple frames and related syntax parsing method
CN113632477A (en) * 2019-03-24 2021-11-09 北京字节跳动网络技术有限公司 Derivation of transformed unidirectional prediction candidates
US11843725B2 (en) 2018-11-12 2023-12-12 Beijing Bytedance Network Technology Co., Ltd Using combined inter intra prediction in video processing
US11889108B2 (en) 2018-10-22 2024-01-30 Beijing Bytedance Network Technology Co., Ltd Gradient computation in bi-directional optical flow
US11930165B2 (en) 2019-03-06 2024-03-12 Beijing Bytedance Network Technology Co., Ltd Size dependent inter coding
US11956465B2 (en) 2018-11-20 2024-04-09 Beijing Bytedance Network Technology Co., Ltd Difference calculation based on partial position
US12348760B2 (en) 2018-11-20 2025-07-01 Beijing Bytedance Network Technology Co., Ltd. Coding and decoding of video coding modes
US12477106B2 (en) 2018-10-22 2025-11-18 Beijing Bytedance Network Technology Co., Ltd. Sub-block based prediction

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010027146A (en) * 1999-09-10 2001-04-06 서평원 Apparatus For Encryption And Decryption Of Packet Data
WO2016041507A1 (en) * 2014-09-17 2016-03-24 Mediatek Inc. Syntax parsing apparatus with multiple syntax parsing circuits for processing multiple image regions within same frame or processing multiple frames and related syntax parsing method
US12477106B2 (en) 2018-10-22 2025-11-18 Beijing Bytedance Network Technology Co., Ltd. Sub-block based prediction
US12041267B2 (en) 2018-10-22 2024-07-16 Beijing Bytedance Network Technology Co., Ltd. Multi-iteration motion vector refinement
US11889108B2 (en) 2018-10-22 2024-01-30 Beijing Bytedance Network Technology Co., Ltd Gradient computation in bi-directional optical flow
US11956449B2 (en) 2018-11-12 2024-04-09 Beijing Bytedance Network Technology Co., Ltd. Simplification of combined inter-intra prediction
US11843725B2 (en) 2018-11-12 2023-12-12 Beijing Bytedance Network Technology Co., Ltd Using combined inter intra prediction in video processing
US12432355B2 (en) 2018-11-12 2025-09-30 Beijing Bytedance Network Technology Co., Ltd. Using combined inter intra prediction in video processing
US11956465B2 (en) 2018-11-20 2024-04-09 Beijing Bytedance Network Technology Co., Ltd Difference calculation based on partial position
US12348760B2 (en) 2018-11-20 2025-07-01 Beijing Bytedance Network Technology Co., Ltd. Coding and decoding of video coding modes
US12363337B2 (en) 2018-11-20 2025-07-15 Beijing Bytedance Network Technology Co., Ltd. Coding and decoding of video coding modes
US11930165B2 (en) 2019-03-06 2024-03-12 Beijing Bytedance Network Technology Co., Ltd Size dependent inter coding
CN113632477A (en) * 2019-03-24 2021-11-09 北京字节跳动网络技术有限公司 Derivation of transformed unidirectional prediction candidates

Also Published As

Publication number Publication date
KR100203281B1 (en) 1999-06-15

Similar Documents

Publication Publication Date Title
KR100592651B1 (en) Transcoding Method and Apparatus
US7359558B2 (en) Spatial scalable compression
EP0542195B1 (en) Interframe predicting method and picture signal coding/decoding apparatus
EP0690392B1 (en) Method and device for transcoding a sequence of coded digital signals
EP0874526B1 (en) Motion compensation encoding apparatus and motion compensation encoding method for high-efficiency encoding of video information through selective use of previously derived motion vectors in place of motion vectors derived from motion estimation
KR960006762B1 (en) Efficient 2D Scan Selection Circuit for Image Coding
US20060133475A1 (en) Video coding
US7269304B2 (en) Transcoder system for adaptively reducing frame-rate
KR100202538B1 (en) MPEG video codec device
KR100203281B1 (en) Moving picture decorder based on forced one-direction motion compensation
JP4153150B2 (en) Transcoding method and transcoding apparatus for moving image encoded data
US7085321B2 (en) Compression
JP3590976B2 (en) Video compression device
JP2000253404A (en) Moving picture coding apparatus, moving picture coding method and moving picture processing system
HK1029694B (en) Transcoding

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

R18-X000 Changes to party contact information recorded

St.27 status event code: A-3-3-R10-R18-oth-X000

PN2301 Change of applicant

St.27 status event code: A-3-3-R10-R13-asn-PN2301

St.27 status event code: A-3-3-R10-R11-asn-PN2301

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 10

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 11

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 12

FPAY Annual fee payment

Payment date: 20110225

Year of fee payment: 13

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 13

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

St.27 status event code: A-4-4-U10-U13-oth-PC1903

Not in force date: 20120324

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PC1903 Unpaid annual fee

St.27 status event code: N-4-6-H10-H13-oth-PC1903

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20120324

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000