KR100370227B1 - Error protection method and apparatus in video codec - Google Patents

Error protection method and apparatus in video codec Download PDF

Info

Publication number
KR100370227B1
KR100370227B1 KR10-2002-0008464A KR20020008464A KR100370227B1 KR 100370227 B1 KR100370227 B1 KR 100370227B1 KR 20020008464 A KR20020008464 A KR 20020008464A KR 100370227 B1 KR100370227 B1 KR 100370227B1
Authority
KR
South Korea
Prior art keywords
error
psc
picture
gob
information
Prior art date
Application number
KR10-2002-0008464A
Other languages
Korean (ko)
Other versions
KR20020020927A (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 KR10-2002-0008464A priority Critical patent/KR100370227B1/en
Publication of KR20020020927A publication Critical patent/KR20020020927A/en
Application granted granted Critical
Publication of KR100370227B1 publication Critical patent/KR100370227B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder

Landscapes

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

Abstract

본 발명은 비디오 코덱의 에러방지(error protection ) 방법 및 장치에 관한 것으로서, 그 방법은 비디오 데이터를 화질에 영향을 주는 중요도에 따라 나누는 단계; 및 중요도에 따라 나누어진 비디오 데이터를 에러방지 정도를 달리하여 비트스트림으로 형성하는 단계를 포함함을 특징으로 하고, 그 비디오 데이터가 관리정보 및 픽쳐 데이터로 이루어질 때, 비디오 데이터를 관리정보와 픽쳐데이터로 분류하고, 관리정보에 대해 에러방지 정도를 크게 함을 특징으로 한다.The present invention relates to a method and apparatus for error protection of a video codec, the method comprising: dividing video data according to importance that affects image quality; And forming the video data divided according to the importance into a bitstream with different degrees of error prevention, and when the video data is composed of management information and picture data, the video data is divided into management information and picture data. It is characterized by increasing the degree of error prevention for the management information.

본 발명에 의하면, 비디오 비트스트림의 정보의 중요도를 고려하여 에러방지 정도를 달리하여 전체 시스템의 성능을 향상시킨다. 그리고 프레임의 시작부분(PSC)와 GOB의 시작부분(GBSC)을 에러방지를 하여 잘 검출함으로써, 프레임 손실과 GOB의 손실을 줄일 수 있고, 잘못 디코딩되어 화면이 열화되는 것을 방지할 수 있다. 또한 디코딩 에러가 시간에 따라 번지면서 커지는 에러 전파도 줄일 수 있다.According to the present invention, the performance of the entire system is improved by varying the degree of error prevention in consideration of the importance of the information of the video bitstream. And by detecting the start of the frame (PSC) and the start of the GOB (GBSC) to prevent the error well, it is possible to reduce the frame loss and GOB loss, and to prevent the screen from being decoded deteriorated. It also reduces error propagation, which increases as decoding errors spread over time.

Description

비디오 코덱의 에러 방지 방법 및 장치{Error protection method and apparatus in video codec}Error protection method and apparatus in video codec

본 발명은 데이터의 에러방지(error protection)에 관한 것으로서, 특히 비디오 코덱의 에러 방지 방법 및 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to error protection of data, and more particularly, to an error prevention method and apparatus for a video codec.

최근 에러에 약한 네트웍(error-prone network)을 통해 비디오 데이터를 전송하는 데이터 통신이 멀티미디어 응용분야에서 중요한 이슈가 되고 있다. 특히 이동 통신(mobile links) 및 인터넷과 같은 에러에 약하거나 대역이 제한된 네트웍을 통해 데이터를 신뢰성있게 전송하는 것이 최근의 멀티미디어 분야에 있어서 더욱 요구되며, 이러한 에러 문제를 해결하기는 쉽지 않다. 일반적으로 에러 방지를 위한 스킴(error protection scheme)을 고려할 때, 부호화효율(coding efficiency)과 에러강도(error robustness)가 트래이드 오프(trade-off) 된다. 즉 에러 방지를 높이기 위해서는 에러강도를 크게 하여야 한다. 그러나 에러강도가 높아지면 부호화효율이 떨어지게 된다. 따라서 전송환경에 따라 이 두 요소를 적절히 조절하여야 한다. 도 1은 상기 부호화효율과 에러강도의 관계성을 도시한 것으로서, 부호화효율과 에러강도가 서로 반비례 관계에 있음을 보여주고 있다.Recently, data communication that transmits video data through an error-prone network has become an important issue in multimedia applications. In particular, the reliable transmission of data through a weak or band-limited network that is vulnerable to errors such as mobile links and the Internet is more demanded in recent multimedia fields, and it is not easy to solve the error problem. In general, when considering an error protection scheme, the coding efficiency and error robustness are traded off. In other words, to increase error prevention, the error intensity should be increased. However, the higher the error strength, the lower the coding efficiency. Therefore, these two factors should be properly adjusted according to the transmission environment. Figure 1 shows the relationship between the coding efficiency and the error intensity, and shows that the coding efficiency and the error intensity are inversely related to each other.

특히 H.263 계열(H.263-family)은 에러에 탄력적인(error resilient) 스킴(예: Annexes H, K, N 및 R)을 가지고 있지만 무선 채널에서 발생하는 랜덤 및 버스트 에러(random and burst error)에 대해서는 충분하게 대응하지 못하고 있다.In particular, the H.263 family (H.263-family) has error resilient schemes (e.g. Annexes H, K, N, and R), but random and burst errors that occur on wireless channels. error) is not adequately handled.

그리고 도 2는 계층적 구조(Layered structure )를 갖지 않는 비디오 코덱을 도시한 것으로서, 비디오 코딩이 각자 한 개 정도의 에러방지(error protection )을 갖고 있는 구조를 가진다.(예 : H.263의 Annex H, Annex K, Convolutional Codec 등) 그러나 상기 비디오 코덱은 채널 상태에 따라 채널 코덱을 다르게 하지 않으므로 성능을 극대화할 수 없고, 다른 채널 코덱을 쓰는 시스템과는 호환이 안된다는 문제점이 있다.2 illustrates a video codec having no layered structure, in which video coding has a structure in which one or more error protections are provided (for example, Annex of H.263). H, Annex K, Convolutional Codec, etc.) However, since the video codec does not vary the channel codec according to the channel state, performance cannot be maximized, and there is a problem that the video codec is not compatible with a system using another channel codec.

또한 도 3은 H.324 M의 Mobile 멀티플렉서를 도시한 것으로서, Level 0 - 3까지의 다양한 선택을 할 수 있도록 하는 계층적 구조를 가지며, 채널의 상태에 따라 MUX에서 에러방지 정도를 다르게 한다. 하지만, 상기 Mobile 멀티플렉서는 오디오와 비디오가 섞인 MUX 에서의 비트스트림에 대해 에러방지를 하기 때문에 비디오 그 자체에 대한 에러방지(error protection )가 고려되어 있지 않다.3 illustrates a mobile multiplexer of H.324 M, which has a hierarchical structure that allows various selections from Level 0 to 3, and varies the degree of error prevention in MUX according to the channel state. However, since the mobile multiplexer provides error protection for the bitstream in the MUX mixed with audio and video, error protection for the video itself is not considered.

본 발명이 이루고자하는 기술적 과제는 상술한 문제점을 해결하기 위한 것으로서, 비디오 비트 스트림의 정보의 중요도를 고려하여 에러방지 방법적응적으로 선택할 수 있는 비디오 코덱의 에러 방지 방법 및 장치를 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made in an effort to solve the above problems, and to provide an error prevention method and apparatus for a video codec capable of adaptively selecting an error prevention method in consideration of the importance of information of a video bit stream.

도 1은 상기 부호화효율과 에러강도의 관계성을 도시한 것이다.1 shows the relationship between the coding efficiency and the error strength.

도 2는 계층적 구조(Layered structure )를 갖지 않는 비디오 코덱을 도시한 것이다.2 illustrates a video codec having no layered structure.

도 3은 H.324 M의 Mobile 멀티플렉서를 도시한 것이다.3 illustrates a H.324 M Mobile Multiplexer.

도 4는 H.263 계열의 중요 구문(syntax)을 블록도로 도시한 것이다.4 is a block diagram illustrating important syntax of the H.263 series.

도 5은 프레임 데이터의 구성을 도시한 것이다.5 shows the configuration of frame data.

도 6은 도 4를 크게 두 개의 그룹으로 분류한 것을 도시한 것이다.FIG. 6 illustrates the classification of FIG. 4 into two groups.

도 7은 normal PSC 및 이를 두배로 늘린 Long PSC를 도시한 것이다.FIG. 7 illustrates a normal PSC and a Long PSC doubling it.

도 8은 에러방지 장치에 대한 구성도를 도시한 것이다.8 is a block diagram of the error prevention device.

상기 기술적 과제를 해결하기 위한 본 발명에 의한, 비디오 코덱의 에러방지(error protection ) 방법은 비디오 데이터를 화질에 영향을 주는 중요도에 따라 나누는 단계; 및 상기 중요도에 따라 나누어진 비디오 데이터를 에러방지 정도를 달리하여 비트스트림으로 형성하는 단계를 포함함을 특징으로 한다.According to an aspect of the present invention, there is provided an error protection method of a video codec, the method comprising: dividing video data according to importance that affects image quality; And forming the bitstream by varying the degree of error prevention of the divided video data according to the importance.

상기 비디오 데이터가 관리정보(adminstrative information ) 및 픽쳐 데이터로 이루어질 때, 상기 비디오 데이터를 관리정보와 픽쳐데이터로 분류하고, 상기 관리정보에 대해 에러방지 정도를 크게 함이 바람직하다.When the video data consists of administrative information and picture data, it is preferable to classify the video data into management information and picture data, and to increase the degree of error prevention for the management information.

상기 비디오 데이터는 H.263 계열의 비디오 정보이며, 상기 관리정보는 픽쳐, 블록들의 그룹(GOB), 매크로블록(MB)의 동기를 맞추기 위해 필요한 동기화 정보; 및 상기 픽쳐, GOB 및 MB 계층에 있는 헤더 정보임을 특징으로 한다.The video data is video information of the H.263 series, and the management information includes synchronization information necessary for synchronizing pictures, groups of blocks (GOBs), and macroblocks (MBs); And header information in the picture, GOB, and MB layers.

상기 다른 기술적 과제를 해결하기 위한 본 발명에 의한, 비디오 코덱의 에러방지(error protection ) 장치는, 부호화하고자 하는 비디오 데이터에 대해 화질에 영향을 주는 중요도를 분석하는 중요도 분석부; 및 상기 중요도분석부에서 분석된 비디오 데이터를 중요도에 따라 에러방지 정도를 달리하여 비트스트림으로 형성하는 비트스트림 형성부를 포함함을 특징으로 한다.In accordance with another aspect of the present invention, there is provided an error protection apparatus for a video codec, including: an importance analysis unit configured to analyze a criticality affecting image quality of video data to be encoded; And a bitstream forming unit for forming the video data analyzed by the importance analysis unit into a bitstream by varying an error prevention degree according to the importance level.

상기 중요도 분석부는 H.263 계열의 비디오데이터에서 픽쳐, 블록들의 그룹(GOB) 및 매크로블록(MB)의 동기를 맞추기 위해 필요한 동기화 정보를 분류하는 동기코드 추출부; H.263 계열의 비디오데이터에서 상기 픽쳐, GOB 및 MB 계층에 있는 헤더 정보를 추출하는 헤더추출부; 및 H.263 계열의 비디오데이터에서 픽쳐데이터를 추출하는 픽쳐추출부로 이루어지며, 상기 비트스트림 형성부는 상기 동기코드, 헤더정보 및 픽쳐데이터 순으로 에러방지 정도를 높게 하여 비디오 데이터를 비트스트림으로 형성함이 바람직하다.The importance analysis unit may include: a sync code extractor classifying synchronization information necessary for synchronizing pictures, groups of blocks (GOBs) and macroblocks (MBs) from H.263-based video data; A header extractor for extracting header information in the picture, GOB, and MB layers from H.263 video data; And a picture extraction unit for extracting picture data from H.263-based video data, wherein the bitstream forming unit increases the error prevention degree in order of the sync code, header information, and picture data to form the video data as a bitstream. This is preferable.

이하에서 첨부된 도면을 참조하여 본 발명을 상세히 설명하기로 한다. 도 4는 H.263 계열의 중요 구문(syntax)을 블록도로 도시한 것으로서, H.263계열의 비트스트림은 픽쳐 헤더, GOB 계층 및 MB 계층으로 나눌 수 있다. 상기 도 4에 도시된 바와 같이 동기정보(synchronization code)가 다른 관리정보(daminstrative inforamtion) 앞에 위치하고, MB 계층에만 픽쳐 데이터가 포함되어 있음을 볼 수 있다. 여기서 도 4에 도시된 약어를 설명하면, PSC(Picture Start Code)는 픽쳐가 처음 시작됨을 나타내는 코드이고, GBSC(Group of Block Start Code)는 GOB가 시작됨을 나타내는 코드이고, COD는 약어가 아니고 1 아니면 0를 나타낸다. 또한 MCBPC는 Macroblock type Coded block pattern for chrominance 의 약어이고,CBPY는 Coded block pattern for luminance의 약어이고, MVD는 Motion vector data, MB는 Macro block의 약어이다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. 4 is a block diagram illustrating an important syntax of the H.263 series, and a bitstream of the H.263 series may be divided into a picture header, a GOB layer, and an MB layer. As shown in FIG. 4, it can be seen that a synchronization code is located in front of other management information, and picture data is included only in the MB layer. Here, the abbreviation illustrated in FIG. 4 is described, PSC (Picture Start Code) is a code indicating that the picture is started first, GBSC (Group of Block Start Code) is a code indicating that the GOB is started, COD is not an abbreviation 1 Or 0. MCBPC stands for Macroblock type Coded block pattern for chrominance, CBPY stands for Coded block pattern for luminance, MVD stands for Motion vector data, and MB stands for Macro block.

상기 도 4는 하나의 프레임에 대한 구문만 표현한 것이며, 상기 프레임이 반복함으로써 비디오 시퀀스(sequence)에 대한 H.263 구문이 이루어진다. 도 5은 프레임 데이터가 어떻게 구성되는 지를 보여준다. QCIF에 대해, MB의 크기는 16x16 픽셀이고, GOB는 MB들이 모인 것이며, 1 GOB는 11MB이다. PSC는 한 프레임이 시작하는 시점에서 발생하고, GBSC는 GOB가 시작하는 시점에서 발생한다.4 shows only the syntax for one frame, and the H.263 syntax for the video sequence is achieved by repeating the frame. 5 shows how frame data is constructed. For QCIF, the size of the MB is 16x16 pixels, the GOB is a collection of MBs, and 1 GOB is 11MB. PSC occurs at the start of one frame, and GBSC occurs at the start of GOB.

도 6은 상기 도 4를 크게 두 개의 그룹으로 분류한 것을 도시한 것으로서, 관리정보(Adimistrative Information)와 픽쳐 데이터(Picture Data)로 나누어진다. 상기 관리정보는 픽쳐 헤더 및 GOB 헤더 계층에 있는 동기코드(synchronization codes)와 픽쳐/MB/GOB 정보로 이루어지며, 상기 픽쳐데이터는 MB 계층에 있는 움직임벡터(motion vectors), DC/AC계수로 구성된다.FIG. 6 illustrates the classification of FIG. 4 into two groups, which are divided into administrative information and picture data. The management information is composed of picture codes and synchronization codes in the GOB header layer and picture / MB / GOB information. The picture data is composed of motion vectors and DC / AC coefficients in the MB layer. do.

전체적인 화질(picture quality)과 디코딩을 고려해 볼 때, 에러에 약한 채널(error-prone channel)에 대한 동기화 코드의 features/importance 측면을 살펴볼 필요가 있다. 비트스트림에서 발생하는 많은 에러들 중 동기화 정보의 손실은 GOB/프레임 손실을 가져온다. 더구나 이로인해 발생하는 잘못된 디코딩은 비트스트림을 복호화할 때 치명적인 에러로 남게된다. 만일 디코더가 PSC 나 GBSC를 잘못되게 디코딩하여 상기 PSC 또는 GPSC가 훼손되면, 복원되는 영상은 틀린 GOB 번호로 인해 시각적으로 정상에서 벗어난 결함을 가져오고, 이는 다음 GOB로도 전파가 된다. 이를 막을 수 있는 가장 간단한 방법은 디코더가 다음 시작코드를 올바르게 검출하는 것이다. 그러나 이러한 동작은 두 개의 sync code 사이에 있는 모든 MB들을 버려야 한다는 점에서 바람직스럽지 못하다. 실제로, Sync code 사이에 있는 약간의 MB들은 훼손되지 않고 있을 가능성이 높다. 그러므로 MB들을 최소한도로 버리는 것이 중요하다. 따라서 sync 코드를 정확하게 검출할 수 있다면 복원된 영상의 질을 상당부분 높일 수 있다. 그리고 PTYPE, MCBPC 등과 같은 픽쳐/MB 정보들을 잘 보호한다면 디코딩과정은 훨씬 더 신뢰성을 가질 것이다.Given the overall picture quality and decoding, we need to look at the features / importance aspects of the synchronization code for error-prone channels. Among many errors occurring in the bitstream, loss of synchronization information results in GOB / frame loss. Moreover, the false decoding that results from this remains a fatal error when decoding the bitstream. If the decoder incorrectly decodes the PSC or GBSC and corrupts the PSC or GPSC, the reconstructed picture is visually out of order due to an incorrect GOB number, which also propagates to the next GOB. The simplest way to prevent this is for the decoder to correctly detect the next start code. However, this behavior is undesirable in that all MBs between two sync codes must be discarded. In fact, some MBs between the sync codes are likely to be intact. Therefore, it is important to discard MBs to the minimum. Therefore, if the sync code can be detected accurately, the quality of the reconstructed image can be greatly improved. And if the picture / MB information such as PTYPE, MCBPC, etc. is well protected, the decoding process will be much more reliable.

따라서, 비디오 데이터를 화질에 영향을 주는 중요도에 따라 나누는 것이 필요하다. 상기 비디오 데이터는 도 6에 도시된 바와 같이 크게 관리정보(adminstrative information ) 및 픽쳐 데이터로 구성되어 있으므로 비디오 데이터를 관리정보와 픽쳐데이터로 분류하고, 상기 관리정보에 대해 에러방지 정도를 크게 하여 비트스트림으로 형성하면 에러방지에 효과적이다. 도 8은 에러방지 장치에 대한 구성도를 도시한 것으로서, 부호화하고자 하는 비디오 데이터에 대해 화질에 영향을 주는 중요도를 분석하는 중요도 분석부 및 상기 중요도분석부에서 분석된 비디오 데이터를 중요도에 따라 에러방지 정도를 달리하여 비트스트림으로 형성하는 비트스트림 형성부로 이루어진다. 상기 중요도 분석부는 H.263 계열의 비디오데이터에서 픽쳐, 블록들의 그룹(GOB) 및 매크로블록(MB)의 동기를 맞추기 위해 필요한 동기화 정보를 분류하는 동기코드 추출부, H.263 계열의 비디오데이터에서 상기 픽쳐, GOB 및 MB 계층에 있는 헤더 정보를 추출하는 헤더추출부 및 H.263 계열의 비디오데이터에서 픽쳐데이터를 추출하는 픽쳐추출부로 구성된다.Therefore, it is necessary to divide the video data according to the importance that affects the picture quality. Since the video data is largely composed of administrative information and picture data, as shown in FIG. 6, the video data is classified into management information and picture data, and the error protection of the management information is increased to increase the bitstream. If it is formed as, it is effective to prevent error. FIG. 8 is a block diagram of an error prevention apparatus, and includes an importance analysis unit analyzing an importance factor affecting image quality with respect to video data to be encoded, and error prevention of the video data analyzed by the importance analysis unit according to importance. It consists of a bitstream forming unit to form a bitstream of varying degrees. The importance analysis unit extracts synchronization information necessary for synchronizing pictures, groups of blocks (GOBs) and macroblocks (MBs) from H.263-based video data, and H.263-based video data. And a picture extracting unit for extracting picture data from H.263 video data and a header extracting unit for extracting header information in the picture, GOB and MB layers.

한편, 상기 관리정보를 좀더 세부적으로 표현하면 픽쳐, 블록들의그룹(GOB), 매크로블록(MB)의 동기를 맞추기 위해 필요한 동기화 정보 및 상기 픽쳐, GOB 및 MB 계층에 있는 헤더 정보로 나눌 수 있다. 이렇게 될 때, 상기 동기화 정보만 에러방지 정도를 높여 부호화하여도 에러방지에 효과적일 수 있다. 이 때 상기 에러방지 정도는 도 7과 같이 픽쳐의 동기화 정보(PSC)와 GOB의 동기화 정보(GBSC)에 대해 유일성(uniqueness)이 보장되는 비트패턴을 갖는 범위 내에서 할당된 비트 수를 두 배로 하는 것도 하나의 방법이 될 수 있다. 즉 에러방지 정도를 PSC = GBSC >> MB 데이터로 하여 프레임 손실 및 GOB의 손실도 줄인다. 이 경우에 에러방지는 Long PSC, Long GBSC 혹은 채널코딩 개념을 이용하며, GOB Sync도 매우 강화되어 프레임 및 GOB단위의 데이터 누락을 줄일 수 있다.In detail, the management information may be divided into synchronization information required for synchronization of a picture, a group of blocks (GOB), and a macroblock (MB), and header information in the picture, GOB, and MB layers. In this case, even if the synchronization information is encoded only by increasing the error prevention degree, it may be effective for error prevention. At this time, the error prevention degree is to double the number of bits allocated within the range having a bit pattern that guarantees uniqueness with respect to the synchronization information (PSC) of the picture and the synchronization information (GBSC) of the GOB as shown in FIG. It may be one way. In other words, by using PSC = GBSC >> MB data, the degree of error prevention is also reduced. In this case, error prevention uses the concept of Long PSC, Long GBSC, or channel coding, and GOB Sync is also greatly enhanced to reduce frame and data loss in units of GOB.

그리고 다른 방법으로 에러방지 정도를 PSC > GBSC > MB data로 하여 프레임 손실을 줄이는 방법이 있다. 실제 에러방지는 Long PSC, Long GBSC 혹은 채널 코덱을 이용한다. 이 경우 Group of Block의 Sync도 강화되지만, 프레임의 헤더가 매우 강화되어 프레임 손실을 크게 줄일 수 있다.Another method is to reduce the frame loss by setting the error prevention level to PSC> GBSC> MB data. Actual error protection uses Long PSC, Long GBSC or channel codec. In this case, the Sync of the Group of Block is also enhanced, but the header of the frame is greatly enhanced, which can greatly reduce the frame loss.

본 발명은 관리정보 특히 동기화 정보에 대해 다른 정도의 에러방지를 적용하는 것이지만, 동기정보와 바로 인접하는 정보(예를 들어 PSC에 대해서는 PTYPE, GBSC에 대해서는 COD 등)들도 함께 에러방지를 하여 동기화 성능을 높일 수 있는 모든 종류의 실시예도 본 발명의 범위에 속함은 자명하다.The present invention applies a different degree of error prevention to management information, especially synchronization information. However, the information immediately adjacent to the synchronization information (for example, PTYPE for PSC, COD for GBSC, etc.) is also error-protected and synchronized. It is obvious that all kinds of embodiments capable of improving performance are included in the scope of the present invention.

한편, 상기 첫 번째 방법 즉 에러방지 정도를 도 7과 같이 픽쳐의 동기화 정보(PSC)와 GOB의 동기화 정보(GBSC)에 대해 유일성(uniqueness)이 보장되는 비트패턴을 갖는 범위 내에서 할당된 비트 수를 두 배로 하는 방법에 대한 컴퓨터 시뮬레이션에 대해 기술한다. 먼저, 시뮬레이션 조건은 다음과 같다.On the other hand, the first method, that is, the degree of error prevention, as shown in FIG. 7, the number of bits allocated within a range having a bit pattern that guarantees uniqueness with respect to the synchronization information PSC of the picture and the synchronization information GBSC of the GOB. Describes a computer simulation of how to double. First, simulation conditions are as follows.

1. QCIFs를 테스트 : Foreman at 24 kbps, Motherdaughter, Container, and Hall at 10 kbps1.Test QCIFs: Foreman at 24 kbps, Motherdaughter, Container, and Hall at 10 kbps

2. QP:Foreman (INTRA:15, INTER 10), others(15 for both INTRA and INTER)2.QP: Foreman (INTRA: 15, INTER 10), others (15 for both INTRA and INTER)

3. 채널 에러 profiles : EECT 1, Rayleigh fading(16,20, 22 dB)3. Channel error profiles: EECT 1, Rayleigh fading (16, 20, 22 dB)

4. 첫 번째 PSC left error-free 만4. Only the first PSC left error-free

5. 베이스 라인 H.263을 사용5. Use baseline H.263

6. 프레임 스킵(skip) = 26. Frame skip = 2

표 1 내지 4는 컴퓨터 시뮬레이션 결과를 도시하고 있다. 임계값(threshold value) K는 PSCs에 대해 탐색하는 데 사용되며, K bits는 훼손될 것으로 예상한다.Tables 1-4 show computer simulation results. Threshold value K is used to search for PSCs, and K bits are expected to be corrupted.

Foreman 시퀀스인 경우(normal PSC에 대해서는 116프레임, 평균 QP=23.87, long PSC에 대해서는 115프레임, 평균 QP=24.18 )Foreman sequence (116 frames for normal PSC, average QP = 23.87, 115 frames for long PSC, average QP = 24.18) No. of PSC 에뮬레이션No. of PSC emulation 잃어버린 전체 프레임Lost full frame PSCPSC Long PSCLong psc PSCPSC Long PSCLong psc K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 DECT 1DECT 1 1One 138138 00 00 1313 1010 1414 77 Rayleigh (16dB)Rayleigh (16dB) 00 143143 00 00 55 33 88 33 Rayleigh (20dB)Rayleigh (20dB) 00 141141 00 00 44 44 55 22 Rayleigh (22dB)Rayleigh (22dB) 00 128128 00 00 1One 1One 22 00

Motherdaughter 시퀀스인 경우(normal PSC에 대해서는 304프레임, 평균 QP=20.64, long PSC에 대해서는 303프레임, 평균 QP=21.05 )For motherdaughter sequence (304 frames for normal PSC, average QP = 20.64, 303 frames for long PSC, average QP = 21.05) No. of PSC 에뮬레이션No. of PSC emulation 잃어버린 전체 프레임Lost full frame PSCPSC Long PSCLong psc PSCPSC Long PSCLong psc K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 DECT 1DECT 1 33 246246 00 1One 2323 1818 4040 1818 Rayleigh (16dB)Rayleigh (16dB) 00 262262 00 00 2121 1515 2626 1616 Rayleigh (20dB)Rayleigh (20dB) 00 263263 00 00 88 77 1010 2626 Rayleigh (22dB)Rayleigh (22dB) 00 265265 00 00 66 44 88 55

Container 시퀀스인 경우(normal PSC에 대해서는 84프레임, 평균 QP=22.19, long PSC에 대해서는 83프레임, 평균 QP=23.04 )Container sequence (84 frames for normal PSC, average QP = 22.19, 83 frames for long PSC, average QP = 23.04) No. of PSC 에뮬레이션No. of PSC emulation 잃어버린 전체 프레임Lost full frame PSCPSC Long PSCLong psc PSCPSC Long PSCLong psc K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 DECT 1DECT 1 00 4545 00 00 1313 66 1616 1010 Rayleigh (16dB)Rayleigh (16dB) 00 5151 00 00 1One 1One 1One 1One Rayleigh (20dB)Rayleigh (20dB) 00 4848 00 00 1One 1One 1One 1One Rayleigh (22dB)Rayleigh (22dB) 00 00 00 00

Hall 시퀀스인 경우(normal PSC에 대해서는 93프레임, 평균 QP=20.21, long PSC에 대해서는 93프레임, 평균 QP=20.60)Hall sequence (93 frames for normal PSC, average QP = 20.21, 93 frames for long PSC, average QP = 20.60) No. of PSC 에뮬레이션No. of PSC emulation 잃어버린 전체 프레임Lost full frame PSCPSC Long PSCLong psc PSCPSC Long PSCLong psc K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 K = 0K = 0 K = 1K = 1 DECT 1DECT 1 00 4646 00 00 1212 1111 2020 99 Rayleigh (16dB)Rayleigh (16dB) 00 4949 00 00 22 00 22 1One Rayleigh (20dB)Rayleigh (20dB) 00 4242 00 00 1One 1One 1One 00 Rayleigh (22dB)Rayleigh (22dB) 00 00 00 00

한편, 상술한 본 발명의 실시예는 컴퓨터에서 실행될 수 있는 프로그램으로 작성가능하다. 그리고 컴퓨터에서 사용되는 매체로부터 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 매체는 마그네틱 저장매체(예:롬, 플로피디스크, 하드 디스크 등), 광학적 판독 매체(예:CD-ROM, DVD 등) 및 캐리어 웨이브(예:인터넷을 통해 전송)와 같은 저장매체를 포함한다. 상기 저장매체는 비디오 데이터를 화질에 영향을 주는 중요도에 따라 나누는 단계 및 상기 중요도에 따라 나누어진 비디오 데이터를 에러방지 정도를 달리하여 비트스트림으로 형성하는 단계를 포함하는 비디오 코덱의 에러방지 방법을 컴퓨터상에서 실행할 수 있는 프로그램 코드를 저장한다. 상기 프로그램 코드는 상기 비디오 데이터가 관리정보(adminstrative information ) 및 픽쳐 데이터로 이루어질 때, 상기 비디오 데이터를 관리정보와 픽쳐데이터로 분류하고, 상기 관리정보에 대해 에러방지 정도를 크게 하도록 코딩된다. 그리고 상기 프로그램의 상기 비디오 데이터는 H.263 계열의 비디오 정보이며, 상기 관리정보는 픽쳐, 블록들의 그룹(GOB), 매크로블록(MB)의 동기를 맞추기 위해 필요한 동기화 정보 및 상기 픽쳐, GOB 및 MB 계층에 있는 헤더정보가 한 실시예가 될 수 있다. 또한 상기 프로그램코드는 동기화 정보만 에러방지 정도를 높이도록 코딩될 수 있으며, 특히 상기 에러방지 정도는 픽쳐의 동기화 정보(PSC)와 GOB의 동기화 정보(GBSC)에 대해 유일성(uniqueness)이 보장되는 비트패턴을 갖는 범위 내에서 할당된 비트 수를 두 배가 되게 할 수 있다.On the other hand, the embodiments of the present invention described above can be written as a program that can be executed on a computer. And it can be implemented in a general-purpose digital computer for operating the program from a medium used in the computer. The media includes storage media such as magnetic storage media (e.g. ROM, floppy disks, hard disks, etc.), optical reading media (e.g. CD-ROM, DVD, etc.) and carrier waves (e.g., transmitted over the Internet). . The storage medium may include dividing the video data according to the importance that affects the image quality, and forming the bitstream by varying the degree of error prevention to the divided video data according to the importance. Stores program code that can be run on the system. The program code is coded to classify the video data into management information and picture data when the video data consists of administrative information and picture data, and to increase the degree of error prevention for the management information. The video data of the program is H.263-based video information, and the management information includes synchronization information necessary for synchronizing a picture, a group of blocks (GOB), and a macroblock (MB), and the picture, GOB, and MB. Header information in the hierarchy may be an embodiment. In addition, the program code may be coded to increase the degree of error prevention, only the synchronization information, in particular, the error prevention degree is a bit that guarantees the uniqueness (uniqueness) to the synchronization information (PSC) and GOB synchronization information (GBSC) of the picture It is possible to double the number of allocated bits within the range with the pattern.

그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.And functional programs, codes and code segments for implementing the present invention can be easily inferred by programmers in the art to which the present invention belongs.

본 발명에 의하면, 비디오 비트스트림의 정보의 중요도를 고려하여 에러방지 정도를 달리하여 전체 시스템의 성능을 향상시킨다.According to the present invention, the performance of the entire system is improved by varying the degree of error prevention in consideration of the importance of the information of the video bitstream.

그리고 프레임의 시작부분(PSC)와 GOB의 시작부분(GBSC)을 에러방지를 하여 잘 검출함으로써, 프레임 손실과 GOB의 손실을 줄일 수 있고, 잘못 디코딩되어 화면이 열화되는 것을 방지할 수 있다. 또한 디코딩 에러가 시간에 따라 번지면서 커지는 에러 전파(error propagation)도 줄일 수 있다.And by detecting the start of the frame (PSC) and the start of the GOB (GBSC) to prevent the error well, it is possible to reduce the frame loss and GOB loss, and to prevent the screen from being decoded deteriorated. It also reduces error propagation, which increases as decoding errors spread over time.

Claims (3)

비디오 코덱의 에러방지(error protection ) 방법에 있어서,In the error protection method of the video codec, 비디오 데이터를 동기화 정보, 헤더 정보 및 픽쳐 데이터로 분류하여 추출하는 단계; 및Classifying and extracting video data into synchronization information, header information, and picture data; And 상기 동기화 정보, 헤더 정보 및 픽쳐 데이터 순으로 에러방지 정도를 높게 하여 비디오 데이터를 비트스트림으로 형성하는 단계를 포함함을 특징으로 하는 비디오 코덱의 에러방지 방법.And forming video data into a bitstream by increasing the degree of error protection in order of the synchronization information, the header information, and the picture data. 제1항에 있어서,The method of claim 1, 상기 동기화 정보는 픽쳐, 블록들의 그룹(GOB), 매크로블록(MB)의 동기를 맞추기 위해 필요한 정보이고,The synchronization information is information necessary for synchronizing a picture, a group of blocks (GOB), and a macroblock (MB), 상기 헤더 정보는 픽쳐, GOB 및 MB 계층에 있는 헤더 정보임을 특징으로 하는 비디오 코덱의 에러방지 방법.And the header information is header information in a picture, GOB, and MB layer. 제1항에 있어서, 상기 동기화 정보에 대한 에러방지 정도는The method of claim 1, wherein the error prevention degree of the synchronization information is 픽쳐의 동기화 정보(PSC)와 GOB의 동기화 정보(GBSC)에 대해 유일성(uniqueness)이 보장되는 비트패턴을 갖는 범위 내에서 할당된 비트 수를 두 배로 함을 특징으로 하는 비디오 코덱의 에러방지 방법.A method of preventing an error in a video codec, wherein the number of allocated bits is doubled within a range having a bit pattern that guarantees uniqueness with respect to picture synchronization information (PSC) and GOB synchronization information (GBSC).
KR10-2002-0008464A 2002-02-18 2002-02-18 Error protection method and apparatus in video codec KR100370227B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0008464A KR100370227B1 (en) 2002-02-18 2002-02-18 Error protection method and apparatus in video codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0008464A KR100370227B1 (en) 2002-02-18 2002-02-18 Error protection method and apparatus in video codec

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1019980014058A Division KR19990080657A (en) 1998-04-20 1998-04-20 Error prevention method and device of video codec

Publications (2)

Publication Number Publication Date
KR20020020927A KR20020020927A (en) 2002-03-16
KR100370227B1 true KR100370227B1 (en) 2003-01-30

Family

ID=19719291

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0008464A KR100370227B1 (en) 2002-02-18 2002-02-18 Error protection method and apparatus in video codec

Country Status (1)

Country Link
KR (1) KR100370227B1 (en)

Also Published As

Publication number Publication date
KR20020020927A (en) 2002-03-16

Similar Documents

Publication Publication Date Title
Apostolopoulos Error-resilient video compression through the use of multiple states
KR100359093B1 (en) Video codec method in error resilient mode and apparatus therefor
Gringeri et al. Robust compression and transmission of MPEG-4 video
JP2009005357A (en) Circuit adapted to recover usable data from partially corrupted video packet, method of recovering data, and video decoder adapted to reconstruct corrupted video data, or method of decoding video bitstream
US20030235249A1 (en) Video encoder and method for encoding video frames
US20050195903A1 (en) Method and apparatus to check for wrongly decoded macroblocks in streaming multimedia applications
Talluri et al. Error concealment by data partitioning
Sodagar et al. A new error resilience technique for image compression using arithmetic coding
US20050089102A1 (en) Video processing
US8379729B2 (en) Content adaptive error localization to improve quality of corrupted video data streams upon decode
KR100370227B1 (en) Error protection method and apparatus in video codec
KR19990080657A (en) Error prevention method and device of video codec
US20050123047A1 (en) Video processing
Wu et al. Spatial-temporal error detection scheme for video transmission over noisy channels
Khan et al. Error Detection and Correction in H. 263 coded video over wireless network
KR100331333B1 (en) Image data segmentation method and decoding method of encoded data
Liu et al. Error detection For H. 264/AVC coded video based on artifact characteristics
Wang et al. A rateless UEP convolutional code for robust SVC/MGS wireless broadcasting
Fan et al. An error resilient codec for wireless video
Navarro et al. Adaptive joint h. 263-channel coding for memoryless binary channels
Fang et al. Efficient content-based resynchronization approach for wireless video
Zhonghua et al. Error resilient intra refresh scheme for H. 26L stream
Frater et al. Error concealment in video coding of arbitrarily shaped objects
Cao et al. Analysis and detection of transmission errors for MPEG-2 video signal
Xuewen et al. Detection and localization of transmission error in MPEG-4 video

Legal Events

Date Code Title Description
A107 Divisional application of patent
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: 20121228

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20131230

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee