KR101215138B1 - Method for fast determining inter/intra mode of macroblock - Google Patents

Method for fast determining inter/intra mode of macroblock Download PDF

Info

Publication number
KR101215138B1
KR101215138B1 KR1020100124708A KR20100124708A KR101215138B1 KR 101215138 B1 KR101215138 B1 KR 101215138B1 KR 1020100124708 A KR1020100124708 A KR 1020100124708A KR 20100124708 A KR20100124708 A KR 20100124708A KR 101215138 B1 KR101215138 B1 KR 101215138B1
Authority
KR
South Korea
Prior art keywords
mode
rate
distortion cost
macroblock
intra
Prior art date
Application number
KR1020100124708A
Other languages
Korean (ko)
Other versions
KR20120063647A (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 KR1020100124708A priority Critical patent/KR101215138B1/en
Publication of KR20120063647A publication Critical patent/KR20120063647A/en
Application granted granted Critical
Publication of KR101215138B1 publication Critical patent/KR101215138B1/en

Links

Images

Classifications

    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • 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/147Data rate or code amount at the encoder output according to rate distortion criteria
    • 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

Landscapes

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

Abstract

본 발명은 H.264/AVC의 매크로블록 모드결정을 위한 매크로블록의 인터/인트라모드 고속 결정 방법에 관한 것이다. 본 발명의 방법은, 후보모드를 SKIP모드(모드0)와 인터16×16모드(모드1)로 결정하고, 상기 모드0과 상기 모드1의 율-왜곡비용(RDC0, RDC1)을 인터8×16모드(모드3)의 율-왜곡비용(RDC3)과 비교하여, 후보모드를 상기 모드0과 상기 모드1로 결정하고, 상기 모드3과 인터16×8모드(모드2)의 율-왜곡비용(상기 RDC3, RDC2)을 비교하여, 율-왜곡비용이 작은 모드를 후보모드로 결정하고, P8×8(서브-매크로블록)의 최적모드에 따라 인트라모드 결정 생략여부를 결정한다.The present invention relates to a method of fast determining inter / intra mode of a macroblock for determining a macroblock mode of H.264 / AVC. According to the method of the present invention, the candidate mode is determined as the SKIP mode (mode 0) and the inter16 × 16 mode (mode 1), and the rate-distortion costs RDC0 and RDC1 of the mode 0 and the mode 1 are inter 8 ×. Compared with the rate-distortion cost RDC3 of the 16 modes (mode 3), the candidate mode is determined as the mode 0 and the mode 1, and the rate-distortion cost of the mode 3 and the inter16x8 mode (mode 2) By comparing the RDC3 and RDC2, a mode having a low rate-distortion cost is determined as a candidate mode, and whether or not to skip intra mode determination is determined according to an optimal mode of P8x8 (sub-macroblock).

Description

매크로블록의 인터/인트라모드 고속 결정 방법{METHOD FOR FAST DETERMINING INTER/INTRA MODE OF MACROBLOCK}High-speed decision method of macro block inter / intra mode {METHOD FOR FAST DETERMINING INTER / INTRA MODE OF MACROBLOCK}

본 발명은 매크로블록의 부호화모드 고속 결정 방법에 관한 것으로서, 보다 상세하게는 H.264/AVC 시스템에서 사용하기 위한 매크로블록의 인터/인트라모드 고속 결정 방법에 관한 것이다.
The present invention relates to a method for quickly determining an encoding mode of a macroblock, and more particularly, to an inter / intramode fast decision method for a macroblock for use in an H.264 / AVC system.

H.264/AVC((Advanced Video Coding)는 매우 높은 데이터 압축률을 가지는 디지털 비디오 코덱 표준으로서, ITU-T(International Telecommunications Union-Telecommunication Standardization Sector)의 비디오 코딩 전문가그룹(Video Coding Experts Group;n VCEG)과 ISO/IEC(International Standardization Organization/International Electro-technical Commision)의 동화상 전문가그룹(Moving Picture Experts Group; MPEG)이 공동으로 조인트 비디오 팀(Joint Video Team; JVT)을 구성하여 표준화를 진행한 것이다. H.264 / AVC (Advanced Video Coding) is a digital video codec standard with a very high data compression rate. It is the Video Coding Experts Group (n VCEG) of the International Telecommunications Union-Telecommunication Standardization Sector (ITU-T). And the Moving Picture Experts Group (MPEG) of the International Standardization Organization / International Electro-technical Commision (ISO / IEC) jointly formed a joint video team (JVT) to standardize.

이와 같은 H.264/AVC는 기존의 비디오 부호화 표준인 MPEG-2 및 MPEG-4와 비교하였을 때, 동일 화질에서 약 60%의 효율적인 부호화를 이루었으며, H.263과 비교했을 때 동일 화질에서 약 30%의 비트량이 절감되었다. Such H.264 / AVC achieved about 60% efficient encoding at the same image quality compared to MPEG-2 and MPEG-4, which are the existing video encoding standards, and at about the same image quality compared to H.263. 30% bit savings.

이중, 인터 프레임 내에서 인트라 예측 부호화의 경우에는, 동일 비트량에서 JPEG2000과 MPEG-4보다 약 3~4dB의 화질의 개선을 보였다. 그러나, 이런 우수한 부호화 효율에도 불구하고, 인터 프레임 내에서의 인트라 예측 부호화는, 기존의 비디오 부호화 표준과 비교하였을 때, 부호화기 및 복호화기의 복잡도가 이전 비디오 부호화 표준보다 훨씬 증가하는 단점이 있다.
In the intra-prediction encoding in the inter frame, the picture quality improved by about 3 to 4 dB over JPEG2000 and MPEG-4 at the same bit amount. However, despite this excellent coding efficiency, intra prediction coding in an inter frame has a disadvantage that the complexity of the encoder and the decoder is much higher than that of the previous video coding standard when compared to the existing video coding standard.

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, H.264/AVC에서 부호화 효율을 유지하면서 부호화 속도를 단축하기 위한 매크로블록의 인터/인트라 모드 고속 결정 방법을 제공하는데 그 목적이 있다.
SUMMARY OF THE INVENTION The present invention has been proposed to solve the above problems, and an object thereof is to provide a fast method for determining inter / intra mode of a macroblock to reduce coding speed while maintaining coding efficiency in H.264 / AVC. .

상기와 같은 목적을 달성하기 위해, H.264/AVC의 매크로블록 모드결정을 위한, 본 발명의 매크로블록의 인터/인트라모드 고속 결정 방법은, (a) 후보모드를 SKIP모드(모드0)와 인터16×16모드(모드1)로 결정하는 단계; (b) 상기 모드0과 상기 모드1의 율-왜곡비용(RDC0, RDC1)을 인터8×16모드(모드3)의 율-왜곡비용(RDC3)과 비교하여, 후보모드를 상기 모드0과 상기 모드1로 결정하는 단계; (c) 상기 모드3과 인터16×8모드(모드2)의 율-왜곡비용(상기 RDC3, RDC2)을 비교하여, 율-왜곡비용이 작은 모드를 후보모드로 결정하는 단계; 및 (d) P8×8(서브-매크로블록)의 최적모드에 따라 인트라모드 결정 생략여부를 결정하는 단계를 포함하는 것이 바람직하다.In order to achieve the above object, the macroblock mode inter / intra-mode fast decision method of the present invention for determining the macroblock mode of H.264 / AVC, (a) the candidate mode and the SKIP mode (mode 0) and Determining an inter16x16 mode (mode 1); (b) The rate-distortion costs RDC0 and RDC1 of the mode 0 and the mode 1 are compared with the rate-distortion cost RDC3 of the inter 8x16 mode (mode 3), and a candidate mode is selected from the mode 0 and the mode. Determining to mode 1; (c) comparing the rate-distortion costs (the RDC3, RDC2) of the mode 3 and the inter16 × 8 mode (mode 2) to determine a mode having a small rate-distortion cost as a candidate mode; And (d) determining whether to skip intra mode determination according to an optimal mode of P8x8 (sub-macroblock).

이때, 상기 (a)단계는, (e) 상기 모드0과 상기 모드1의 상기 RDC0 및 상기 RDC1을 각각 결정하는 단계; (f) 현재 프레임과 이전 프레임의 참조블록 중 최적모드가 모드0 또는 모드1로 결정된 참조블록의 율-왜곡비용의 평균값(RDCL)과, 현재 프레임과 이전 프레임의 참조블록 중 최적모드가 모드0 또는 모드1로 결정되지 않은 참조블록의 율-왜곡비용 평균값(RDCH)을 결정하는 단계; 및 (g) 상기 RDC0, 상기 RDC1, 상기 RDCL, 및 상기 RDCH를 비교하여, 소정의 경우 상기 모드0 및 상기 모드1을 최적모드로 결정하는 단계를 포함하는 것이 바람직하고, 상기 (g)단계는, 상기 RDC0, 상기 RDC1, 상기 RDCL 및 상기 RDCH에 대하여, {(RDCL<RDCH)&(RDC0<RDCL)&(RDC1<RDCL)}의 조건을 만족하는 경우에 상기 모드0 및 상기 모드1을 최적모드로 결정하는 것이 바람직하다.In this case, step (a) may include: (e) determining the RDC0 and the RDC1 of the mode 0 and the mode 1, respectively; (f) The average value of the rate-distortion cost (RDCL) of the reference block in which the optimal mode among the reference blocks of the current frame and the previous frame is determined to be mode 0 or mode 1, and the optimal mode of the reference blocks of the current frame and the previous frame is mode 0. Or determining a rate-distortion cost average value RDCH of the reference block not determined to be mode 1; And (g) comparing the RDC0, the RDC1, the RDCL, and the RDCH to determine the mode 0 and the mode 1 as an optimal mode in certain cases, and the step (g) For the RDC0, the RDC1, the RDCL and the RDCH, the mode 0 and the mode 1 are optimal when the condition of {(RDCL <RDCH) & (RDC0 <RDCL) & (RDC1 <RDCL)} is satisfied. It is desirable to determine the mode.

또한, 상기 (b)단계는, 상기 RDC0, 상기 RDC1 및 상기 RDC3에 대하여, {(RDC0<RDC3)&(RDC1<RDC3)}의 조건을 만족하는 경우에 상기 모드0 및 상기 모드1을 최적모드로 결정하는 것이 바람직하다.In the step (b), the mode 0 and the mode 1 are optimal modes when the conditions of {(RDC0 <RDC3) & (RDC1 <RDC3)} are satisfied with respect to the RDC0, the RDC1, and the RDC3. It is preferable to determine.

한편, (h) 인트라모드의 결정을 생략하는 단계를 더 포함하는 것이 바람직하다.On the other hand, (h) preferably further comprises the step of omitting the determination of the intra mode.

상기 (c)단계는, (i) 상기 모드2와 상기 모드3의 율-왜곡비용의 평균값과 상기 모드0의 율-왜곡비용에 가중치를 둔 값과 비교하여, P8×8(서브-매크로블록)의 모드결정을 생략하는 단계; 및 (j) 프레임내 시간상관도로서 최적인터모드의 평균비트율(AR)과 프레임내 공간상관도로서 평균 블록경계 에러(ABE)를 측정하여, 소정의 경우 인트라모드 결정을 생략하는 단계를 포함하는 것이 바람직하고, (k) 상기 RDC2가 상기 RDC3보다 작은 경우에는, 상기 모드3의 모드결정을 생략하고, P8×8(서브-매크로블록)에서 인터4×8모드의 모드결정을 생략하는 단계; 및 (l) 상기 RDC2가 상기 RDC3보다 작지 않은 경우에는, 상기 모드2의 모드결정을 생략하고, P8×8(서브-매크로블록)에서 인터8×4모드의 모드결정을 생략하는 단계를 더 포함하는 것이 바람직하다.Step (c) compares (i) the average value of the rate-distortion cost of the mode 2 and the mode 3 with the weighted value of the rate-distortion cost of the mode 0, whereby P8 × 8 (sub-macroblock Omitting mode determination of; And (j) measuring an average bit rate AR of an optimal inter mode as an intra frame temporal correlation diagram and an average block boundary error ABE as an intra frame spatial correlation diagram, and omitting intra mode determination in certain cases. Preferably, (k) if the RDC2 is smaller than the RDC3, omitting the mode determination of the mode 3, and omitting the mode determination of the inter4x8 mode at P8x8 (sub-macroblock); And (l) if the RDC2 is not smaller than the RDC3, omitting the mode determination of the mode 2 and omitting the mode determination of the inter8 × 4 mode at P8 × 8 (sub-macroblock). It is desirable to.

이 경우, 상기 (i)단계는, {

Figure 112010080768150-pat00001
} 조건을 만족하는 경우에, P8×8(서브-매크로블록)의 모드결정을 생략하는 것이 바람직하고, 상기 (j)단계는, AR<ABE인 경우 인트라모드 결정을 생략하는 것이 바람직하다.In this case, step (i) is performed by {
Figure 112010080768150-pat00001
} When the condition is satisfied, it is preferable to omit the mode determination of P8x8 (sub-macroblock), and in step (j), it is preferable to omit the intra mode determination when AR <ABE.

또한, 상기 (d)단계는, (m) 4개의 P8×8(서브-매크로블록) 중 최적모드가 8×8이 2개 이상인 경우에는, 인트라4×4모드 결정을 생략하는 단계; 및 (n) 4개의 P8×8(서브-매크로블록) 중 최적모드가 4×4가 2개 이상인 경우에는, 인트라16×16모드 결정을 생략하는 단계를 포함하는 것이 바람직하다.
Also, the step (d) may include: (m) omitting intra 4 × 4 mode determination when the optimal mode is two or more of four P8 × 8 (sub-macroblocks); And (n) in the case where the optimal mode among the four P8x8 (sub-macroblocks) is two or more 4x4, it is preferable to omit the intra16x16 mode determination.

상기와 같은 본 발명은, H.264/AVC 매크로블록의 모드결정을 위해 후보모드를 조기에 SKIP 모드(모드0)와 인터16×16모드(모드1)로 결정하고, 율-왜곡비용에 기초하여 인트라모드의 결정을 생략함으로써, 부호화 효율은 유지하면서 부호화 속도를 단축할 수 있도록 하는 효과가 있다.
In the present invention as described above, in order to determine the mode of the H.264 / AVC macroblock, the candidate mode is initially determined as the SKIP mode (mode 0) and the inter16 × 16 mode (mode 1), and based on the rate-distortion cost. By omitting the determination of the intra mode, the coding speed can be reduced while maintaining the coding efficiency.

도 1a는 H.264/AVC에서 시방향 예측을 위한 인터모드를 설명하기 위한 일예시도이다.
도 1b는 H.264/AVC에서 공간영역에서의 예측을 위한 인트라모드를 설명하기 위한 일예시도이다.
도 2a는 도 1b의 인트라16×16모드에서 각각의 예측모드를 보다 상세히 설명하기 위한 예시도이다.
도 2b는 도 1b의 인트라4×4모드에서 각각의 예측모드를 보다 상세하게 설명하기 위한 예시도이다.
도 3a는 본 발명에 따른 매크로블록의 인터/인트라모드 고속 결정 방법에 사용되는 블록들을 설명하기 위한 일예시도이다.
도 3b는 도 3a에서 현재 프레임의 참조블록을 설명하기 위한 일예시도이다.
도 3c는 도 3a에서 현재 매크로블록을 설명하기 위한 일예시도이다.
도 3d는 도 3a에서 이전 프레임의 참조블록을 설명하기 위한 일예시도이다.
도 4는 본 발명에 따른 매크로블록의 인터/인트라모드 고속 결정 방법을 설명하기 위한 일실시예 흐름도이다.
도 5는 도 4의 S71을 상세히 설명하기 위한 일실시예 상세 흐름도이다.
FIG. 1A is an exemplary diagram for describing an intermode for visual prediction in H.264 / AVC.
1B is an exemplary view for explaining an intra mode for prediction in a spatial domain in H.264 / AVC.
FIG. 2A is an exemplary diagram for describing each prediction mode in detail in the intra16 × 16 mode of FIG. 1B.
FIG. 2B is an exemplary diagram for describing each prediction mode in detail in the intra 4 × 4 mode of FIG. 1B.
3A is an exemplary view for explaining blocks used in the inter / intra mode fast determination method of a macroblock according to the present invention.
FIG. 3B is an exemplary view for explaining a reference block of a current frame in FIG. 3A.
FIG. 3C is an exemplary diagram for describing a current macroblock in FIG. 3A.
FIG. 3D is an exemplary view for explaining a reference block of a previous frame in FIG. 3A.
4 is a flowchart illustrating a method of quickly determining an inter / intra mode of a macroblock according to the present invention.
FIG. 5 is a detailed flowchart of an embodiment for describing S71 of FIG. 4 in detail.

본 발명은 다양한 변경을 가할 수 있고 여러가지 실시예를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1a는 H.264/AVC에서 시방향 예측을 위한 인터모드를 설명하기 위한 일예시도이고, 도 1b는 H.264/AVC에서 공간영역에서의 예측을 위한 인트라모드를 설명하기 위한 일예시도이다.FIG. 1A is an example diagram for describing an intermode for visual prediction in H.264 / AVC, and FIG. 1B is an example diagram for explaining an intra mode for prediction in a spatial domain in H.264 / AVC. to be.

H.264/AVC 국제 비디오 표준에서는 움직임 예측 및 모드 결정방법을 사용한다. 이러한 움직임 예측 및 모드 결정방법은 가변블록을 이용한 움직임 보상 기술을 적용한 것으로서, 매크로블록의 크기를 16×16에서 4×4까지 나눈 후 율-왜곡 최적화 기법을 사용하는데, 비디오 처리를 위하여 인터모드와 인트라모드를 구별하여 설정한다.The H.264 / AVC international video standard uses motion prediction and mode determination. The motion prediction and mode determination method is a motion compensation technique using a variable block, and uses a rate-distortion optimization technique after dividing the macroblock size from 16 × 16 to 4 × 4. Intra mode is set separately.

도 1a를 참조하면, 시(時)방향 예측을 위한 모드로 매크로블록(macroblock)의 단위크기에 따라 5개의 인터모드를 지원한다. 즉, 스킵(SKIP) 모드, 인터16×16모드, 인터8×16모드, 인터16×8모드, 인터8×8모드가 있다. 인터8×8모드에 포함된 8×8 크기의 매크로블록들은 8×8, 8×4, 4×8, 4×4의 크기로 갖는 서브 매크로블록(sub-macroblock)으로 구분할 수 있다.Referring to FIG. 1A, five inter modes are supported according to a unit size of a macroblock as a mode for visual prediction. That is, there are a skip (SKIP) mode, an inter16x16 mode, an inter8x16 mode, an inter16x8 mode, and an inter8x8 mode. 8 × 8 macroblocks included in the inter8 × 8 mode may be divided into sub-macroblocks having sizes of 8 × 8, 8 × 4, 4 × 8, and 4 × 4.

도 1b를 참조하면, 공간영역에서의 예측을 위한 모드로 매크로블록의 단위크기에 따라 3개의 인트라모드를 지원한다. 즉, 인트라16×16모드(휘도), 인트라8×8모드(색채) 및 인트라4×4모드(휘도)가 있다. 인트라8×8모드는 'FRExt' 프로파일에서만 제공되므로, 인트라8×8모드는 제외하고 설명하기로 하겠다.Referring to FIG. 1B, three intra modes are supported according to a unit size of a macroblock as a mode for prediction in a spatial domain. That is, there are intra16x16 mode (luminance), intra8x8 mode (color), and intra4x4 mode (luminance). Intra8x8 mode is provided only in the 'FRExt' profile, so I will explain it except intra8x8 mode.

인트라16×16모드에서는 4가지의 예측모드 및 방향을 지원하고, 인트라8×8모드에서는 8가지의 방향성 모드와 방향성을 가지지 않는 평균치 예측모드인 DC모드를 지원한다. 인트라모드는 이전에 부호화된 유효한 이웃 매크로블록의 경계화소(좌측, 상단, 우측 상단 또는 좌측 상단의 화소)를 이용해 현재 매크로블록을 예측한다.In the intra16x16 mode, four prediction modes and directions are supported, and in the intra8x8 mode, eight directional modes and DC mode, which is an average prediction mode without directionality, are supported. Intra mode predicts the current macroblock using the boundary pixels of the previously encoded valid neighboring macroblocks (pixels on the left, top, top right or top left).

도 2a는 도 1b의 인트라16×16모드에서 각각의 예측모드를 보다 상세히 설명하기 위한 예시도이고, 도 2b는 도 1b의 인트라4×4모드에서 각각의 예측모드를 보다 상세하게 설명하기 위한 예시도이다.FIG. 2A is an exemplary diagram for describing each prediction mode in more detail in the intra16 × 16 mode of FIG. 1B, and FIG. 2B is an illustration for explaining each prediction mode in more detail in the intra4 × 4 mode of FIG. 1B. It is also.

도 2a 및 도 2b를 참조하면, 인트라모드는 기부호화된 상단, 좌측, 우측 상단 또는 좌측 상단의 화소들을 이용하여 현재 부호화할 블록의 화소를 예측한다. 인트라16×16모드는 상단 화소들을 이용하여 예측하는 예측모드0(수직예측), 좌측의 화소를 이용하여 예측하는 예측모드1(수평예측), 좌측과 상단의 화소를 이용하여 평균값으로 예측하는 예측모드2(평균값예측), 좌측 및 상단 화소를 이용하여 예측하는 예측모드3(평균예측)을 가지며, 인트라4×4모드는 예측모드0부터 예측모드8까지 총 9가지의 예측모드를 가진다. 2A and 2B, the intra mode predicts a pixel of a block to be currently encoded by using pixels of the base-encoded top, left, top right, or top left corners. Intra 16x16 mode predicts prediction mode 0 (vertical prediction) using the upper pixels, predicted mode 1 (horizontal prediction) using the left pixels, and predicts the average value using the pixels on the left and upper sides. Mode 2 (average value prediction), prediction mode 3 (average prediction) that predicts using the left and top pixels, and intra 4x4 mode has a total of nine prediction modes from prediction mode 0 to prediction mode 8.

H.264/AVC에서는 상기와 같이 다양한 예측모드 각각의 율-왜곡 비용을 계산하여 최소값을 가지는 모드를 부호화할 최적모드로 결정하는데, 인트라4×4모드의 경우에 총 9개의 예측 방향에 따라 최적모드를 결정하고, 세분화된 블록에 대한 예측 부호화를 수행해야하기 때문에 인트라16×16모드에 비해 상대적으로 높은 복잡도를 가진다.H.264 / AVC calculates the rate-distortion cost of each of the various prediction modes as described above, and determines a mode having the minimum value as an optimal mode to encode. Since the mode is determined and the prediction coding on the granular block must be performed, it has a relatively high complexity compared to the intra16x16 mode.

만약, 배경과 같은 일반적인 영상에서 영상신호의 변화가 작은 영역에서는, 현재블록(현재 부호화할 블록)과 주변블록의 화소정보가 유사하다. 또한, 인트라4×4모드에서 현재블록의 최적 예측방향이 주변블록의 예측방향과 같다면 현재블록과 주변블록의 화소정보 또한 비슷할 확률이 높다. 그렇기 때문에 블록간 유사성이 높을 경우, 인트라4×4모드의 현재블록의 최적모드를 결정하기 위하여 9가지 후보모드 각각에 대한 율-왜곡 비용을 계산하는 것보다, 이미 결정된 주변모드정보를 이용하여 현재블럭의 최적모드를 결정하는 것이 복잡도를 낮추어 준다. If the change in the video signal is small in a general video such as a background, the pixel information of the current block (the current block to be encoded) and the neighboring block are similar. In addition, if the optimal prediction direction of the current block is the same as the prediction direction of the neighboring block in the intra 4x4 mode, the pixel information of the current block and the neighboring block is also likely to be similar. Therefore, when the similarity between blocks is high, rather than calculating the rate-distortion cost for each of the nine candidate modes in order to determine the optimal mode of the current block of intra4x4 mode, the current information is determined using the neighboring mode information that has already been determined. Determining the optimal mode of the block reduces the complexity.

따라서, 본 발명은 이전 프레임과 현재 프레임의 참조블록을 이용하여 모드를 결정함으로써, 부호화 효율을 유지하면서 부호화 속도를 단축할 수 있다. 즉, H.264/AVC에서는 5개의 인터모드와 2개의 인트라모드를 제공하는데, 이 중 상대적으로 낮은 복잡도와 발생 비트수를 가지는 모드는 SKIP, 인터16×16모드이다. 본 발명에서는, 조기에 SKIP모드와 인터16×16모드를 최적의 모드로 결정하여, 이하 8×8, 8×4, 4×8, 4×4에 대한 모드결정을 생략하도록 하는 것이다.
Accordingly, the present invention can reduce the coding speed while maintaining the coding efficiency by determining the mode by using the reference blocks of the previous frame and the current frame. That is, H.264 / AVC provides five inter modes and two intra modes, among which are SKIP and inter 16 × 16 modes having relatively low complexity and number of bits. In the present invention, the SKIP mode and the inter16x16 mode are determined as the optimal mode early, so that mode determination for 8x8, 8x4, 4x8, and 4x4 is omitted.

도 3a는 본 발명에 따른 매크로블록의 인터/인트라모드 고속 결정 방법에 사용되는 블록들을 설명하기 위한 일예시도이고, 도 3b는 도 3a에서 현재 프레임의 참조블록을 설명하기 위한 일예시도이고, 도 3c는 도 3a에서 현재 매크로블록을 설명하기 위한 일예시도이고, 도 3d는 도 3a에서 이전 프레임의 참조블록을 설명하기 위한 일예시도이다.FIG. 3A is an exemplary view for explaining blocks used in a method for quickly determining an inter / intra mode of a macroblock according to the present invention. FIG. 3B is an exemplary view for explaining a reference block of a current frame in FIG. 3A. FIG. 3C is an exemplary diagram for describing a current macroblock in FIG. 3A, and FIG. 3D is an exemplary diagram for explaining a reference block of a previous frame in FIG. 3A.

도면에 도시된 바와 같이, E는 현재 매크로블록이고, A, B, C 및 D는 현재 프레임의 참조블록이며, F, G, H 및 I는 이전 프레임의 참조블록이다.
As shown in the figure, E is a current macroblock, A, B, C and D are reference blocks of the current frame, and F, G, H and I are reference blocks of the previous frame.

도 4는 본 발명에 따른 매크로블록의 인터/인트라모드 고속 결정 방법을 설명하기 위한 일실시예 흐름도이다.4 is a flowchart illustrating a method of quickly determining an inter / intra mode of a macroblock according to the present invention.

도면에 도시된 바와 같이, 본 발명의 인터/인트라모드 고속 결정 방법은, H.264/AVC의 매크로블록의 모드 결정을 위해 후보모드를 조기에 SKIP모드(모드0)와 인터16×16모드(모드1)로 결정하고(S41), SKIP모드(모드0)의 율-왜곡비용(RDC0)과 인터16×16모드(모드1)의 율-왜곡비용(RDC1)을 계산한다(S43).As shown in the figure, the inter / intra-mode fast decision method of the present invention provides a candidate mode for the early decision of the macroblock mode of H.264 / AVC. Mode 1) (S41), and calculates the rate-distortion cost RDC0 of the SKIP mode (mode 0) and the rate-distortion cost RDC1 of the inter16x16 mode (mode 1) (S43).

본 발명의 인터/인트라모드 고속 결정 방법은, 현재 프레임의 참조블록인 좌상측(A), 상측(B), 우상측(C) 및 좌측(D)을 이용하고, 이전 프레임의 참조블록인 우측(F), 좌하측(G), 하측(H) 및 우하측(I)을 이용한다. 여기서, 8개의 참조블록 중 최적모드가 SKIP모드(모드0) 또는 인터16×16모드(모드1)로 결정된 참조블록의 율-왜곡비용의 평균값(RDCL)과 8개의 참조블록 중 최적모드가 SKIP모드(모드0) 또는 인터16×16모드(모드1)로 결정되지 않은 참조블록들의 율-왜곡비용의 평균값(RDCH)값을 구한 후(S45), SKIP모드(모드0)의 율-왜곡 비용(RDC0)와 인터16×16모드(모드1)의 율-왜곡 비용(RDC1)을 비교한다. 즉, {(RDCL<RDCH)&(RDC0<RDCL)&(RDC1<RDCL)}을 만족하는 경우(S47), 최적모드는 SKIP모드(모드0) 및 인터16×16모드(모드1)로 결정된다(S49). 이 경우, 인트라모드 결정을 생략하고(S51), 활성화된 모드에 대한 율-왜곡비용을 계산한다(S53).In the inter / intra-mode fast determination method of the present invention, the upper left side (A), the upper side (B), the upper right side (C), and the left side (D) which are reference blocks of the current frame are used, and the right side which is the reference block of the previous frame is used. (F), lower left side G, lower side H, and lower right side I are used. Here, the average value of the rate-distortion cost (RDCL) of the reference block determined as the optimal mode among the eight reference blocks in the SKIP mode (mode 0) or the inter16x16 mode (mode 1), and the optimal mode among the eight reference blocks are SKIP. After obtaining the average value of the rate-distortion cost (RDCH) of the reference blocks not determined as the mode (mode 0) or the inter16x16 mode (mode 1) (S45), the rate-distortion cost of the SKIP mode (mode 0) The rate-distortion cost RDC1 of the (RDC0) and the inter16x16 mode (mode 1) are compared. That is, when {(RDCL <RDCH) & (RDC0 <RDCL) & (RDC1 <RDCL)} is satisfied (S47), the optimum mode is determined as the SKIP mode (mode 0) and the inter16x16 mode (mode 1). (S49). In this case, intra mode determination is omitted (S51), and the rate-distortion cost for the activated mode is calculated (S53).

S47에서, {(RDCL<RDCH)&(RDC0<RDCL)&(RDC1<RDCL)}을 만족하지 않는 경우에는, SKIP모드(모드0)의 율-왜곡비용(RDC0)과 인터16×16모드(모드1)의 율-왜곡비용(RDC1)을 인터8×16모드(모드3)의 율-왜곡비용(RDC3)과 비교한다. 즉, {(RDC0<RDC3)&(RDC1<RDC3)}을 만족하는 경우(S55), 최적모드는 SKIP모드(모드0) 및 인터16×16모드(모드1)로 결정된다(S49). 이후, 인트라모드 결정을 생략하고(S51), 활성화된 모드에 대한 율-왜곡비용을 계산한다(S53). 여기서, RDC0과 RDC1을 RDC2와 비교하지 않는 이유는, 인터8×16모드(모드3)의 정확도(accuracy)와 히트비율(hit ratio; HR)이 인터16×8(모드2)보다 좋기 때문이다.In S47, when {(RDCL <RDCH) & (RDC0 <RDCL) & (RDC1 <RDCL)} is not satisfied, the rate-distortion cost (RDC0) of the SKIP mode (mode 0) and the inter16x16 mode ( The rate-distortion cost RDC1 of mode 1) is compared with the rate-distortion cost RDC3 of inter 8x16 mode (mode 3). That is, when {(RDC0 <RDC3) & (RDC1 <RDC3)} is satisfied (S55), the optimum mode is determined as the SKIP mode (mode 0) and the inter16x16 mode (mode 1) (S49). Thereafter, intra mode determination is omitted (S51), and the rate-distortion cost for the activated mode is calculated (S53). The reason why RDC0 and RDC1 are not compared with RDC2 is that the accuracy and hit ratio HR of the inter8x16 mode (mode 3) are better than the inter16x8 (mode 2). .

만약, S55에서, {(RDC0<RDC3)&(RDC1<RDC3)}을 만족하지 않는 경우에는, 인터16×8모드(모드2)와 인터8×16모드(모드3)의 율-왜곡비용의 평균값과 SKIP모드(모드0)의 율-왜곡비용에 가중치를 둔 값과 비교한다(S57). 즉, {

Figure 112010080768150-pat00002
}를 만족하는 경우(S57), P8×8(서브-매크로블록)의 모드결정을 생략하고(S59), 프레임간 시간상관도로서 최적인터모드의 평균 비트율(Average Rate; 이하, 'AR'이라 함)을 측정하고, 프레임내 공간상관도로서 평균 블록경계 에러(Average Boundary Error; 이하, 'ABE'라 함)를 측정하여(S61), AR<ABE를 만족하면(S63), 인트라모드 결정을 생략한다(S51). 만약 AR<ABE를 만족하지 않는 경우에는, 활성화된 모드에 대한 율-왜곡비용을 계산하는 것으로 마무리한다(S53).If, in S55, {(RDC0 <RDC3) & (RDC1 <RDC3)} is not satisfied, the ratio-distortion cost of the inter16x8 mode (mode 2) and the inter8x16 mode (mode 3) is determined. The average value is compared with the weighted value of the rate-distortion cost of the SKIP mode (mode 0) (S57). In other words, {
Figure 112010080768150-pat00002
} Is satisfied (S57), mode determination of P8x8 (sub-macroblock) is omitted (S59), and the average bit rate of the optimal inter mode is hereinafter referred to as 'AR' as the time correlation between frames. The average block boundary error (hereinafter referred to as 'ABE') as an intraframe spatial correlation diagram (S61), and if AR <ABE is satisfied (S63), intra mode determination is performed. Omitted (S51). If AR <ABE is not satisfied, the process ends with calculating the rate-distortion cost for the activated mode (S53).

만약, S57에서, {

Figure 112010080768150-pat00003
}를 만족하지 않는 경우에는, 인터16×8모드(모드2)의 율-왜곡비용(RDC2)과 인터8×16모드(모드3)의 율-왜곡비용(RDC3)을 계산하여, 율-왜곡비용의 값이 큰 모드를 후보모드에서 제외시킨다. 이를 상세하게 설명하면 다음과 같다.If, in S57, {
Figure 112010080768150-pat00003
}, The rate-distortion cost RDC2 of the inter16x8 mode (mode 2) and the rate-distortion cost RDC3 of the inter8x16 mode (mode 3) are calculated, and the rate-distortion is performed. The mode with a high cost is excluded from the candidate mode. This will be described in detail as follows.

즉, RDC2<RDC3를 만족하는 경우에는(S65), 인터8×16모드(모드3)의 모드결정을 생략하고, P8×8(서브-매크로블록)의 모드결정에서 인터4×8모드의 모드결정을 생략한다(S67). 만약, RDC2<RDC3를 만족하지 않는 경우에는(S65), 인터16×8모드(모드2)의 모드결정을 생략하고, P8×8(서브-매크로블록)의 모드결정에서 인터8×4모드의 모드결정을 생략한다(S69).That is, when RDC2 <RDC3 is satisfied (S65), the mode decision of the inter8x16 mode (mode 3) is omitted, and the mode of the inter4x8 mode is determined by the mode determination of P8x8 (sub-macroblock). The determination is omitted (S67). If RDC2 <RDC3 is not satisfied (S65), the mode determination of the inter16x8 mode (mode 2) is omitted, and the inter8x4 mode is determined by the mode determination of P8x8 (sub-macroblock). Mode determination is omitted (S69).

이후, 본 발명의 매크로블록의 인터/인트라모드 고속 결정 방법은, 서브매크로블록의 최적모드에 따라 인트라모드의 결정을 생략한다(S71). 이를 도면을 참조하여 상세히 설명하면 다음과 같다.Subsequently, in the inter / intra mode fast determination method of the macroblock of the present invention, the determination of the intra mode according to the optimum mode of the sub macroblock is omitted (S71). This will be described in detail with reference to the drawings.

도 5는 도 4의 S71을 상세히 설명하기 위한 일실시예 상세 흐름도이다.FIG. 5 is a detailed flowchart of an embodiment for describing S71 of FIG. 4 in detail.

도면에 도시된 바와 같이, 서브매크로블록의 최적모드에 따라 인트라모드의 결정을 생략하는 것은(S71), 우선, P8×8(서브-매크로블록)의 율-왜곡비용을 계산하고 P8×8(서브-매크로블록)의 최적모드를 결정한다(S73). 이때, P8×8(서브-매크로블록) 중 최적모드가 8×8 2개, 4×4 2개로 결정될 경우에는(S75), 4×4 정방마스크 및 블록간 상관도를 이용한 인트라4×4모드를 결정한다(S77). 이와 같은 인트라4×4모드를 결정하는 방법에 대해서는, 이미 본 발명이 속하는 기술분야에서 널리 알려진 바와 같으므로, 그 설명은 생략하는 것으로 하겠다.As shown in the figure, omitting the determination of the intra mode according to the optimum mode of the submacroblock (S71) first calculates the rate-distortion cost of P8x8 (sub-macroblock) and then calculates P8x8 ( The optimum mode of the sub-macroblock is determined (S73). In this case, when the optimal mode is determined as two 8 × 8 and two 4 × 4 P8 × 8 (sub-macroblocks) (S75), the intra 4 × 4 mode using the 4 × 4 square mask and the correlation between blocks is used. Determine (S77). As for the method of determining such an intra 4x4 mode, since it is already well known in the art to which the present invention belongs, the description thereof will be omitted.

4개의 P8×8(서브-매크로블록) 중 최적모드가 8×8 2개, 4×4 2개가 아닌 경우에는(S75), 즉, 4개의 P8×8(서브-매크로블록) 중 최적모드가 전부 8×8로 결정되거나, 4개의 P8×8(서브-매크로블록) 중 최적모드가 2개 이상 8×8로 결정될 경우(S79)에는, 인트라4×4모드 결정을 생략한다(S81). 만약, 4개의 P8×8(서브-매크로블록) 중 최적모드가 전부 4×4이거나, 또는 4개의 P8×8(서브-매크로블록) 중 2개 이상 4×4인 경우에는(S79), 인트라16×16모드의 결정을 생략한다(S83).If the optimal mode among the four P8 × 8 (sub-macroblocks) is not 8 × 8 2 and 4 × 4 2 (S75), that is, the optimal mode among the four P8 × 8 (sub-macroblocks) When all are determined to be 8x8 or the optimal mode is determined to be 2 or more and 8x8 among four P8x8 (sub-macroblocks) (S79), intra4x4 mode determination is omitted (S81). If the optimal mode among the four P8 × 8 (sub-macroblocks) is 4 × 4, or if two or more of the four P8 × 8 (sub-macroblocks) are 4 × 4 (S79), intra Determination of the 16x16 mode is omitted (S83).

이와 같이, 서브매크로블록의 최적모드에 따라 인트라모드의 결정을 생략한(S71) 본 발명의 인터/인트라모드 고속 결정 방법은, 이후, S61, S63, S51 및 S53 과정을 순서도의 흐름과 같이 수행한다. 그 상세한 설명은 위에 나타난 바와 같으므로, 생략하기로 하겠다. As described above, the inter / intra mode fast determination method of the present invention, in which the intra mode is omitted according to the optimal mode of the sub macroblock (S71), is then performed in the flow of the flowcharts S61, S63, S51, and S53. do. Since the detailed description is as shown above, it will be omitted.

이상에서 본 발명에 따른 실시예들이 설명되었으나, 이는 예시적인 것에 불과하며, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 범위의 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 다음의 특허청구범위에 의해서 정해져야 할 것이다.Although embodiments according to the present invention have been described above, these are merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent embodiments of the present invention are possible therefrom. Accordingly, the true scope of the present invention should be determined by the following claims.

Claims (10)

H.264/AVC의 매크로블록 모드결정을 위한, 매크로블록의 인터/인트라모드 고속 결정 방법에 있어서,
(a) 후보모드를 SKIP모드(모드0)와 인터16×16모드(모드1)로 결정하는 단계;
(b) 상기 모드0의 율-왜곡비용(RDC0)과 상기 모드1의 율-왜곡비용(RDC1)을 인터8×16모드(모드3)의 율-왜곡비용(RDC3)과 비교하여, 후보모드를 상기 모드0과 상기 모드1로 결정하는 단계;
(c) 상기 모드3의 율-왜곡비용(RDC3)과 인터16×8모드(모드2)의 율-왜곡비용(RDC2)을 비교하여, 그중 율-왜곡비용이 작은 모드를 후보모드로 결정하는 단계; 및
(d) 8×8(서브-매크로블록)의 최적모드에 따라 인트라모드 결정 생략여부를 결정하는 단계를 포함하고, 상기 (c) 단계는,
(i) 상기 모드2와 상기 모드3의 율-왜곡비용의 평균값과 상기 모드0의 율-왜곡비용에 가중치를 둔 값과 비교하여, P8×8(서브-매크로블록)의 모드결정을 생략하는 단계;
(j) 프레임내 시간상관도로서 최적인터모드의 평균비트율(AR)과 프레임내 공간상관도로서 평균 블록경계 에러(ABE)를 측정하여, AR<ABE인 경우 인트라모드 결정을 생략하는 단계;
(k) 상기 RDC2가 상기 RDC3보다 작은 경우에는, 상기 모드3의 모드결정을 생략하고, P8×8(서브-매크로블록)에서 인터4×8모드의 모드결정을 생략하는 단계; 및
(l) 상기 RDC2가 상기 RDC3보다 작지 않은 경우에는, 상기 모드2의 모드결정을 생략하고, P8×8(서브-매크로블록)에서 인터8×4모드의 모드결정을 생략하는 단계를 포함하는 고속 결정 방법.
In the inter / intra mode fast decision method of macroblock, for macroblock mode determination of H.264 / AVC,
(a) determining the candidate mode as the SKIP mode (mode 0) and the inter16 × 16 mode (mode 1);
(b) The candidate mode is compared with the rate-distortion cost (RDC0) of the mode 0 and the rate-distortion cost (RDC1) of the mode 1 with the rate-distortion cost (RDC3) of the inter 8x16 mode (mode 3). Determining the mode 0 and the mode 1;
(c) comparing the rate-distortion cost (RDC3) of the mode 3 with the rate-distortion cost (RDC2) of the inter16x8 mode (mode 2), whereby the mode having the smallest rate-distortion cost is determined as the candidate mode. step; And
(d) determining whether to skip intra mode determination according to an optimal mode of 8x8 (sub-macroblock), wherein step (c) includes:
(i) By comparing the average value of the rate-distortion cost of the mode 2 and the mode 3 with the weighted value of the rate-distortion cost of the mode 0, mode determination of P8 × 8 (sub-macroblock) is omitted. step;
(j) measuring an average bit rate AR of an optimal inter mode as an intra frame temporal correlation diagram and an average block boundary error A BE as an intra frame spatial correlation diagram and omitting intra mode determination when AR <ABE;
(k) if the RDC2 is smaller than the RDC3, omitting the mode determination of the mode 3, and omitting the mode determination of the inter4x8 mode at P8x8 (sub-macroblock); And
(l) if the RDC2 is not smaller than the RDC3, skipping the mode determination of the mode 2 and omitting the mode determination of the inter8x4 mode at P8x8 (sub-macroblock) How to decide.
제1항에 있어서, 상기 (a)단계는,
(e) 상기 모드0의 율-왜곡비용(RDC0)과 상기 모드1의 율-왜곡비용(RDC1)을 각각 결정하는 단계;
(f) 현재 프레임과 이전 프레임의 참조블록 중 최적모드가 모드0 또는 모드1로 결정된 참조블록의 율-왜곡비용의 평균값(RDCL)과, 현재 프레임과 이전 프레임의 참조블록 중 최적모드가 모드0 또는 모드1로 결정되지 않은 참조블록의 율-왜곡비용 평균값(RDCH)을 결정하는 단계; 및
(g) 상기 RDC0, 상기 RDC1, 상기 RDCL 및 상기 RDCH)를 비교하여, {(RDCL<RDCH)&(RDC0<RDCL)&(RDC1<RDCL)}의 조건을 만족하는 경우 상기 모드0 및 상기 모드1을 최적모드로 결정하는 단계를 포함하는 고속 결정 방법.
According to claim 1, wherein step (a),
(e) determining a rate-distortion cost (RDC0) of the mode 0 and a rate-distortion cost (RDC1) of the mode 1, respectively;
(f) The average value of the rate-distortion cost (RDCL) of the reference block in which the optimal mode among the reference blocks of the current frame and the previous frame is determined to be mode 0 or mode 1, and the optimal mode of the reference blocks of the current frame and the previous frame is mode 0. Or determining a rate-distortion cost average value RDCH of the reference block not determined to be mode 1; And
(g) The mode 0 and the mode when the conditions of {(RDCL <RDCH) & (RDC0 <RDCL) & (RDC1 <RDCL)} are satisfied by comparing the RDC0, the RDC1, the RDCL, and the RDCH). And determining 1 as the optimal mode.
삭제delete 제1항에 있어서, 상기 (b)단계는, 상기 RDC0, 상기 RDC1 및 상기 RDC3에 대하여, {(RDC0<RDC3)&(RDC1<RDC3)}의 조건을 만족하는 경우에 상기 모드0 및 상기 모드1을 최적모드로 결정하는 것을 특징으로 하는 고속 결정 방법.
The mode 0 and the mode of claim 1, wherein the step (b) is performed when the conditions of {(RDC0 <RDC3) & (RDC1 <RDC3)} are satisfied for the RDC0, the RDC1, and the RDC3. A fast decision method comprising determining 1 as an optimum mode.
제1항, 제2항 또는 제4항 중 어느 한 항에 있어서,
(h) 상기 (d)단계 이후, 인트라모드의 결정을 생략하는 단계를 더 포함하는 고속 결정 방법.
The method according to any one of claims 1, 2, and 4,
(h) after step (d), further comprising the step of omitting the determination of the intra mode.
삭제delete 삭제delete 제1항에 있어서, 상기 (i)단계는, {
Figure 112012064906899-pat00004
} 조건을 만족하는 경우에, P8×8(서브-매크로블록)의 모드결정을 생략하는 것을 특징으로 하는 고속 결정 방법.
The method of claim 1, wherein step (i) comprises:
Figure 112012064906899-pat00004
} When the condition is satisfied, the mode decision of P8x8 (sub-macroblock) is omitted.
삭제delete 제1항에 있어서, 상기 (d)단계는,
(m) 4개의 P8×8(서브-매크로블록) 중 최적모드가 8×8이 2개 이상인 경우에는, 인트라4×4모드 결정을 생략하는 단계; 및
(n) 4개의 P8×8(서브-매크로블록) 중 최적모드가 4×4가 2개 이상인 경우에는, 인트라16×16모드 결정을 생략하는 단계를 포함하는 고속 결정 방법.
The method of claim 1, wherein the step (d)
(m) omitting intra 4 × 4 mode determination if the optimal mode of the four P8 × 8 (sub-macroblocks) is two or more; And
and (n) skipping intra16x16 mode determination when the optimal mode is 4x4 or more among four P8x8 (sub-macroblocks).
KR1020100124708A 2010-12-08 2010-12-08 Method for fast determining inter/intra mode of macroblock KR101215138B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100124708A KR101215138B1 (en) 2010-12-08 2010-12-08 Method for fast determining inter/intra mode of macroblock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100124708A KR101215138B1 (en) 2010-12-08 2010-12-08 Method for fast determining inter/intra mode of macroblock

Publications (2)

Publication Number Publication Date
KR20120063647A KR20120063647A (en) 2012-06-18
KR101215138B1 true KR101215138B1 (en) 2012-12-24

Family

ID=46684015

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100124708A KR101215138B1 (en) 2010-12-08 2010-12-08 Method for fast determining inter/intra mode of macroblock

Country Status (1)

Country Link
KR (1) KR101215138B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110087087B (en) * 2019-04-09 2023-05-12 同济大学 VVC inter-frame coding unit prediction mode early decision and block division early termination method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100773761B1 (en) 2006-09-14 2007-11-09 한국전자통신연구원 The apparatus and method of moving picture encoding
KR100943636B1 (en) * 2007-12-26 2010-02-24 호서대학교 산학협력단 Method for fast determining encoding mode of macroblock

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100773761B1 (en) 2006-09-14 2007-11-09 한국전자통신연구원 The apparatus and method of moving picture encoding
KR100943636B1 (en) * 2007-12-26 2010-02-24 호서대학교 산학협력단 Method for fast determining encoding mode of macroblock

Also Published As

Publication number Publication date
KR20120063647A (en) 2012-06-18

Similar Documents

Publication Publication Date Title
KR102332672B1 (en) Method and apparatus for adaptive image decoding
KR101681443B1 (en) Methods and apparatus for video encoding and decoding geometrically partitioned super blocks
KR101433170B1 (en) Method of encoding and decoding using the directional information of the prediction mode of the adjacent blocks for estimating the intra prediction mode, and apparatus thereof
KR20190038405A (en) Method and apparatus for encoding/decoding image, recording medium for stroing bitstream
WO2008042127A2 (en) Geometric intra prediction
JP2006513636A (en) Fast mode decision making for inter-frame coding
CN101641959A (en) Intraprediction/interprediction method and apparatus
TWI749420B (en) Method and apparatus of encoding or decoding video blocks with constraints during block partitioning
KR20120135828A (en) Method for performing fast intra-prediction
KR101099257B1 (en) Method for fast determining encoding mode of macro block in H.264/AVC
KR101215138B1 (en) Method for fast determining inter/intra mode of macroblock
Yang et al. Description of video coding technology proposal by Huawei Technologies & Hisilicon Technologies
KR100943636B1 (en) Method for fast determining encoding mode of macroblock
Chen et al. A condition-based intra prediction algorithm for H. 264/AVC
KR100657277B1 (en) Method for selecting macro block type
KR101130733B1 (en) The method for determining encoding mode of macroblock and the apparatus thereof
Pan et al. Fast motion estimation and edge information inter-mode decision on H. 264 video coding
KR100939280B1 (en) Video coding method using multiple reference frame and computer readable medium recording the method
KR101072459B1 (en) Method for Mode decision on combined scalability
Shen et al. Fast mode decision algorithm in H. 264 for video communications
KR20170088318A (en) Method and apparatus for image encoding, and computer-readable medium including encoded bitstream
KR20100068108A (en) Adaptive coding mode decision method using the motion vector map in h.264/avc

Legal Events

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

Payment date: 20161206

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20171201

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20191210

Year of fee payment: 8