KR20170113724A - Cabac encoding method and apparatus using adaptive initialization for context model, and cabac decoding method and apparatus - Google Patents
Cabac encoding method and apparatus using adaptive initialization for context model, and cabac decoding method and apparatus Download PDFInfo
- Publication number
- KR20170113724A KR20170113724A KR1020160035090A KR20160035090A KR20170113724A KR 20170113724 A KR20170113724 A KR 20170113724A KR 1020160035090 A KR1020160035090 A KR 1020160035090A KR 20160035090 A KR20160035090 A KR 20160035090A KR 20170113724 A KR20170113724 A KR 20170113724A
- Authority
- KR
- South Korea
- Prior art keywords
- cabac context
- context model
- cabac
- adaptive initialization
- initialization
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/13—Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- H03M7/4006—Conversion to or from arithmetic code
- H03M7/4012—Binary arithmetic codes
- H03M7/4018—Context adapative binary arithmetic codes [CABAC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/107—Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/186—Methods 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 a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/625—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
본 발명은 비디오 압축 기술 중 컨텍스트 기반 적응적 이진 산술 코딩 (CABAC: Context-based Adaptive Binary Arithmetic Coding)의 컨텍스트 모델을 초기화하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for initializing a context model of context-based adaptive binary arithmetic coding (CABAC) among video compression techniques.
Description
본 발명은 영상 처리기술에 관한 것으로써, 보다 상세하게는 비디오압축 기술에서 컨텍스트 기반 적응적 이진 산술 코딩 (CABAC: Context-based Adaptive Binary Arithmetic Coding)의 컨텍스트 모델을 초기화하는 방법 및 장치에 관한 것이다.The present invention relates to an image processing technique, and more particularly, to a method and apparatus for initializing a context-based adaptive binary arithmetic coding (CABAC) context model in a video compression technique.
최근 고해상도, 고화질 비디오에 대한 요구가 증가함에 따라 차세대 비디오 서비스를 위한 고효율 비디오 압축 기술에 대한 필요성이 대두되었다. 이러한 필요성에 기반하여 H.264/AVC 비디오 압축 표준을 공동으로 표준화했던 MPEG과 VCEG은 JCT-VC (Joint Collaborative Team on Video Coding)을 결성하여 2013년 1월 최신 국제 비디오 압축 표준인 HEVC에 대한 표준화를 완료하였다.Recently, as the demand for high definition and high definition video increases, there is a need for a high efficiency video compression technology for next generation video service. Based on this need, MPEG and VCEG, which jointly standardized the H.264 / AVC video compression standard, formed Joint Collaborative Team on Video Coding (JCT-VC) to standardize the latest international video compression standard HEVC .
비디오 압축 기술에서 CABAC은 H.264/AVC, HEVC와 같은 비디오 압축에 사용되는 알고리즘으로 이전에 부/복호화된 통계적 정보를 이용하여 이진 산술 부호화를 수행하는 방법이다. 컨텍스트는 심벌의 확률의 예측 성능을 향상시키기 위하여 이전에 부/복호화된 심벌에 의해 정의되는 통계적 정보의 수집환경이다. CABAC의 압축률은 컨텍스트 모델링 방법에 영향을 받으며, 컨텍스트 모델을 MPS (Most Probable Symbol)의 확률이 높아질수록 부호화 성능은 향상된다. 이와 더불어, 각 컨텍스트의 초기 확률 값을 결정하는 컨텍스트 모델 초기화에서 결정된 초기 확률 값에 따라서 부호화 성능이 좌우된다. 즉, CABAC의 부호화 성능을 향상시키는데 컨텍스트 모델의 초기 값 설정 방법 및 장치는 주요한 영향을 미친다.In video compression technology, CABAC is an algorithm used for video compression such as H.264 / AVC, HEVC, and is a method of performing binary arithmetic coding using previously added / decoded statistical information. The context is a collection environment of statistical information defined by previously coded / decoded symbols to improve the prediction performance of the probability of symbols. The compression rate of CABAC is affected by the context modeling method, and the coding performance improves as the probability of MPS (Most Probable Symbol) increases. In addition, the encoding performance depends on the initial probability value determined in the context model initialization that determines the initial probability value of each context. That is, the method and apparatus for setting the initial value of the context model to improve the CABAC encoding performance have a major influence.
본 발명은 CABAC의 컨텍스트 모델을 고정적으로 초기화하는 기존의 비디오 압축 기술 대비 부호화 효율을 향상시키는 방법 및 장치를 제공하는 것을 그 목적으로 한다.It is an object of the present invention to provide a method and an apparatus for improving the coding efficiency of an existing video compression technique that fixedly initializes a context model of CABAC.
다만, 본 실시예가 이루고자 하는 기술적 과제는 상기된 바와 같은 기술적 과제들로 한정되지 않으며, 또 다른 기술적 과제들이 존재할 수 있다.It is to be understood, however, that the technical scope of the present invention is not limited to the above-described technical problems, and other technical problems may exist.
상기 과제를 해결하기 위하여 본 발명의 실시예에 따른 비디오 부호화 장치 및 방법, 그리고 복호화 장치 및 방법은 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보 획득하는 CABAC 컨텍스트 모델 적응적 초기화 수행 여부 획득부, 상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 CABAC 컨텍스트 모델 적응적 초기화 수행 여부 판단부, 상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 참조 CABAC 컨텍스트 상태를 로드하는 참조 CABAC 컨텍스트 상태 로드부, 상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 QP에 따른 CABAC 컨텍스트 초기값 로드부, 및 상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 CABAC 컨텍스트 모델 초기화부를 포함한다.According to an aspect of the present invention, there is provided a video encoding apparatus and method, and a decoding apparatus and method therefor, including a CABAC context model adaptive initialization performance acquisition unit for acquiring adaptive initialization information on a CABAC context model, A CABAC context model adaptive initialization performing determination unit for determining whether to perform adaptive initialization of the CABAC context model using the adaptive initialization information of the context model, A CABAC context initial value load unit for loading a CABAC context initial value according to QP according to whether the adaptive initialization of the CABAC context model is performed and a CABAC context initial value load unit for loading the obtained CABAC context initial value according to QP, To use the CABAC context model And a CABAC context model initialization unit for initializing the CABAC context model.
상기 과제를 해결하기 위하여 본 발명의 실시예에 따른 비디오 복호화 장치 및 방법은 현재 복호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 추출하는 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 추출부, 상기 추출된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하는 경우, 참조 CABAC 컨텍스트 상태를 로드하는 CABAC 컨텍스트 상태 로드부, 및 상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 CABAC 컨텍스트 모델 초기화부를 포함한다.According to an aspect of the present invention, there is provided a video decoding apparatus and method for performing adaptive initialization of a CABAC context model for extracting information on whether to perform adaptive initialization of a CABAC context model with respect to a bitstream to be decoded, A CABAC context state load unit for loading a reference CABAC context state when adaptive initialization use information of the extracted CABAC context model indicates adaptive initialization use of the CABAC context model, And a CABAC context model initialization unit for initializing the CABAC context model using the CABAC context model.
상기 과제를 해결하기 위하여 본 발명의 실시예에 따른 비디오 복호화 장치 및 방법은 현재 복호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 추출하는 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 추출부, 상기 추출된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하지 않는 경우, QP에 따른 CABAC 컨텍스트 초기값을 로드하는 QP에 따른 CABAC 컨텍스트 초기값 로드부, 및 상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 CABAC 컨텍스트 모델 초기화부를 포함한다.According to an aspect of the present invention, there is provided a video decoding apparatus and method for performing adaptive initialization of a CABAC context model for extracting information on whether to perform adaptive initialization of a CABAC context model with respect to a bitstream to be decoded, If the adaptive initialization use information of the extracted CABAC context model does not indicate the adaptive initialization use of the CABAC context model, the CABAC context initial value load according to the QP that loads the CABAC context initial value according to the QP And a CABAC context model initialization unit for initializing the CABAC context model using the obtained CABAC context.
상기 과제를 해결하기 위하여 본 발명의 실시예에 따른 비디오 부호화 장치 및 방법은 현재 부호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 부호화부, 상기 부호화된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하는 경우, 참조 CABAC 컨텍스트 상태를 저장하는 CABAC 컨텍스트 상태 저장부, 상기 저장된 참조 CABAC 컨텍스트 상태를 로드하는 참조 CABAC 컨텍스트 로드부, 및 상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 CABAC 컨텍스트 모델 초기화부를 포함한다.According to an aspect of the present invention, there is provided a video encoding apparatus and method for performing adaptive initialization of a CABAC context model for encoding adaptive initialization information of a CABAC context model to a current bitstream, A CABAC context state storage unit for storing a reference CABAC context state when the adaptive initialization use information of the encoded CABAC context model indicates adaptive initialization use of the CABAC context model; And a CABAC context model initialization unit for initializing the CABAC context model using the obtained CABAC context.
상기 과제를 해결하기 위하여 본 발명의 실시예에 따른 비디오 부호화 장치 및 방법은 현재 부호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 부호화부, 상기 부호화된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하지 않는 경우, QP에 따른 CABAC 컨텍스트 초기값을 로드하는 QP에 따른 CABAC 컨텍스트 초기값 로드부, 및 상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 CABAC 컨텍스트 모델 초기화부를 포함한다.According to an aspect of the present invention, there is provided a video encoding apparatus and method for performing adaptive initialization of a CABAC context model for encoding adaptive initialization information of a CABAC context model to a current bitstream, If the adaptive initialization use information of the encoded CABAC context model does not mean adaptive initialization use of the CABAC context model, the CABAC context initial value according to the QP for loading the CABAC context initial value according to the QP And a CABAC context model initialization unit for initializing the CABAC context model using the obtained CABAC context.
상기 과제를 해결하기 위하여 본 발명의 실시예에 따른 비디오 복호화 장치 및 방법은 현재 복호화하는 비트스트림에 대하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 추출하는 병열화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 추출부, 상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 판단부, 상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 대응되는 참조 CABAC 컨텍스트 상태를 로드하는 참조 CABAC 컨텍스트 상태 로드부, 상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 QP에 따른 CABAC 컨텍스트 초기값 로드부, 및 상기 획득한 CABAC 컨텍스트를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델을 초기화하는 병렬화 단위별 CABAC 컨텍스트 모델 초기화부를 포함한다.According to an aspect of the present invention, there is provided a video decoding apparatus and method, including: a CABAC context model for each degradation unit for extracting adaptive initialization information of a CABAC context model for each parallelization unit with respect to a bitstream to be decoded; An adaptive initialization execution unit for determining whether to perform adaptive initialization of the CABAC context model for each parallelization unit using adaptive initialization information of the CABAC context model for each parallelization unit, A reference CABAC context state load unit for loading a corresponding reference CABAC context state according to whether the adaptive initialization of the CABAC context model for each parallelization unit is performed, whether or not to perform adaptive initialization of the CABAC context model for each parallelization unit, Therefore, CABAC Text includes CABAC context initial value loading unit according to the QP to load the initial value, and the parts of the obtained used to initialize parallelism CABAC context model parallelism CABAC context model per unit to initialize the unit by a CABAC context.
상기 과제를 해결하기 위하여 본 발명의 실시예에 따른 비디오 부호화 장치 및 방법은 현재 부호화하는 비트스트림에 대하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 부호화부, 상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 판단부, 상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 대응되는 참조 CABAC 컨텍스트 상태를 저장하는 병렬화 단위별 참조 CABAC 컨텍스트 상태 저장부, 상기 저장된 병렬화 단위별 CABAC 컨텍스트 상태를 로드하는 병렬화 단위별 참조 CABAC 컨텍스트 상태 로드부, 상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 QP에 따른 CABAC 컨텍스트 초기값 로드부, 및 상기 획득한 CABAC 컨텍스트를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델을 초기화하는 별렬화 단위별 CABAC 컨텍스트 모델 초기화부를 포함한다.According to an aspect of the present invention, there is provided a video encoding apparatus and method, including: a CABAC context-by-parallelization unit that encodes adaptive initialization information of a CABAC context model for each parallelization unit into a flag type, Adaptive initialization of the model, adaptation of the CABAC context model for each parallelization unit to determine whether to perform adaptive initialization of the CABAC context model for each parallelization unit using the adaptive initialization information of the CABAC context model for each parallelization unit A reference CABAC context state storage unit for storing a reference CABAC context state corresponding to whether the adaptive initialization of the CABAC context model for each parallelization unit is performed, a CABAC context state storage unit for each parallelization unit, Loading A CABAC context initial value load unit for loading a CABAC context initial value according to the QP according to whether the adaptive initialization of the CABAC context model for each parallelization unit is performed according to the parallelization unit, And a CABAC context model initialization unit for each serialization unit that initializes the CABAC context model for each parallelization unit using the CABAC context.
본 발명은 부호화 효율 향상을 위하여 기존의 비디오 압축 기술에서 사용하는 QP에 따른 CABAC의 컨텍스트 모델 초기화를 부호화 과정에서 저장된 CABAC 컨텍스트 모델의 상태 값을 참조하여 초기화하는 방법 및 장치를 제공하는 것을 그 목적으로 한다.It is an object of the present invention to provide a method and an apparatus for initializing a context model initialization of a CABAC according to a QP used in an existing video compression technique with reference to a state value of a CABAC context model stored in a coding process do.
본 발명의 일 실시 예에 따르면, 부호화 순서상의 이전 픽쳐 혹은 동일한 QP를 사용하는 참조 픽쳐의 부호화 과정에서 저장된 CABAC 컨텍스트 모델의 상태 값을 현재 부호화하고자 하는 픽쳐의 CABAC 컨텍스트 모델의 초기 값으로 설정하여 부호화의 성능을 향상시킬 수 있다.According to an embodiment of the present invention, the state value of the CABAC context model stored in the encoding process of the previous picture in the encoding order or the reference picture using the same QP is set as the initial value of the CABAC context model of the current picture to be encoded, Can be improved.
또한, 본 발명의 일 실시 예에 따르면, 병렬화 도구를 이용하여 하나의 픽쳐를 분할하는 경우 병렬화 단위별 CABAC 컨텍스트 모델의 초기화 과정에서 부호화 순서상의 대응되는 위치의 병렬화 단위 혹은 동일한 QP를 사용하는 참조 병렬화 단위에서 저장된 CABAC 컨텍스트 모델의 상태 값을 현재 부호화하고자 하는 병렬화 단위의 CABAC 컨텍스트 모델의 초기 값으로 설정하여 부호화의 성능을 향상시킬 수 있다.According to an embodiment of the present invention, when a single picture is divided using a parallelization tool, in a process of initializing a CABAC context model for each parallelization unit, a parallelization unit at a corresponding position in a coding order, or a reference parallelization The state value of the CABAC context model stored in the unit can be set as the initial value of the CABAC context model of the parallelization unit to be encoded at present, thereby improving the performance of the encoding.
도 1은 본 발명의 일 실시예에 따른 비디오 부호화 장치의 구성을 나타내는 블록도를 도시한다.
도 2는 본 발명의 일 실시예에 따른 비디오 복호화 장치의 구성을 나타내는 블록도를 도시한다.
도 3은 본 발명의 일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 여부를 판단하고 CABAC 컨텍스트 모델 초기화를 수행하는 순서를 나타내는 블록도를 도시한다.
도 4는 본 발명의 일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 여부를 전송하는 신택스의 일 예를 나타내는 표를 도시한다.
도 5는 본 발명의 일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도를 도시한다.
도 6은 본 발명의 일 실시예에 따른 병렬화 단위별 적응적 CABAC 컨텍스트 모델 초기화 여부를 전송하는 신택스의 일 예를 나타내는 표를 도시한다.
도 7은 본 발명의 일 실시예에 따른 병렬화 단위별 적응적 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도를 도시한다.
도 8은 본 발명의 일 실시예에 따른 기존 비디오 부호화에서 병렬화 단위별 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도를 도시한다.
도 9는 본 발명의 일 실시예에 따른 병렬화 도구 적용에 따른 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도를 도시한다.1 is a block diagram showing a configuration of a video encoding apparatus according to an embodiment of the present invention.
2 is a block diagram illustrating a configuration of a video decoding apparatus according to an embodiment of the present invention.
FIG. 3 is a block diagram illustrating a procedure for determining whether to initialize an adaptive CABAC context model according to an embodiment of the present invention and performing a CABAC context model initialization.
4 is a table showing an example of a syntax for transmitting whether to initialize an adaptive CABAC context model according to an embodiment of the present invention.
FIG. 5 is a conceptual diagram illustrating an exemplary implementation of an adaptive CABAC context model initialization according to an embodiment of the present invention.
6 is a table showing an example of a syntax for transmitting whether or not to initialize an adaptive CABAC context model for each parallelization unit according to an embodiment of the present invention.
FIG. 7 is a conceptual diagram illustrating an example of performing an initialization of an adaptive CABAC context model for each parallelization unit according to an embodiment of the present invention.
FIG. 8 is a conceptual diagram illustrating an example of performing initialization of a CABAC context model for each parallelization unit in conventional video encoding according to an embodiment of the present invention.
FIG. 9 is a conceptual diagram illustrating an example of the CABAC context model initialization according to the application of the parallelization tool according to an embodiment of the present invention.
하기는 본 명세서에 첨부된 도면을 참조하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings attached hereto, so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.
본 명세서 전체에서, 어떤 부분이 다른 부분과 '연결'되어 있다고 할 때, 이는 직접적으로 연결되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 전기적으로 연결되어 있는 경우도 포함한다.Throughout this specification, when a part is referred to as being 'connected' to another part, it includes not only a case where it is directly connected but also a case where the part is electrically connected with another part in between.
또한, 본 명세서 전체에서 어떤 부분이 어떤 구성요소를 '포함'한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것을 의미한다.In addition, when an element is referred to as being "comprising" an element throughout the specification, it is understood that the element may include other elements, but not other elements, unless specifically stated otherwise.
본 명세서 전체에서 사용되는 정도의 용어 ~(하는) 단계 또는 ~의 단계는 ~를 위한 단계를 의미하지 않는다.The term (or step) or step of (~) used in the present specification does not imply a step for.
또한, 제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Also, the terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.
덧붙여, 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 기술되고, 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있다.이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리 범위에 포함된다.In addition, the components shown in the embodiments of the present invention are shown independently to represent different characteristic functions, which does not mean that each component is composed of separate hardware or software constituent units. That is, each constituent unit is described by arranging each constituent unit for convenience of explanation, and at least two constituent units of each constituent unit may be combined to form one constituent unit or one constituent unit may be divided into a plurality of constituent units to perform a function. The integrated embodiments and the separate embodiments of each of these components are also included in the scope of the present invention without departing from the essence of the present invention.
이하 본 명세서에 기재된 본 발명의 다양한 실시예들에서, '병렬화 단위'는 비디오 부호화 및 복호화 단계에서 병렬처리를 위하여 하나의 부호화 및 복호화 단위를 분할한 부호화 및 복호화 단위를 지칭하며, 하나의 부호화 및 복호화 단위를 분할하는 다수개의 부호화 및 복호화 단위를 모두 포함하여 포괄적으로 지칭할 수 있다.In the various embodiments of the present invention described herein, the 'parallelization unit' refers to a coding and decoding unit in which one coding and decoding unit is divided for parallel processing in the video coding and decoding step, and one coding and decoding unit A plurality of encoding and decoding units for dividing a decoding unit can be collectively referred to.
이하 본 발명의 일 실시예에 따라 제안하는 컨텍스트 모델의 적응적 초기화를 사용하는 CABAC 부호화 방법 및 장치, 그리고 CABAC 복호화 방법 및 장치에 대하여 도 3을 참조하여 구체적으로 설명하기로 한다.Hereinafter, a CABAC encoding method and apparatus using adaptive initialization of the proposed context model according to an embodiment of the present invention, and a CABAC decoding method and apparatus will be described in detail with reference to FIG.
도 1은 본 발명의 일 실시예에 따른 비디오 부호화 방법 및 장치의 구성을 나타내는 블록도를 도시한다.BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating a video encoding method and apparatus according to an embodiment of the present invention.
일 실시예에 따른 비디오 부호화 방법 및 장치는 화면 간 예측부(120), 화면 내 예측부(125), 감산부(130), 변환부(140), 양자화부(150), 엔트로피 부호화부(160), 역변환부(145), 역양자화부(155), 가산부(135), 인루프 필터부(180), 복원 픽쳐 버퍼(190)를 포함할 수 있다.The video encoding method and apparatus according to one embodiment includes an inter
화면 간 예측부(120)는 입력 영상(110)과 복원 픽쳐 버퍼(190)에 저장되어 있는 복원 영상을 이용하여 움직임 예측을 수행하여 예측 신호를 생성한다.The
화면 내 예측부(125)는 부호화되는 현재 블록과 인접하는 기-복원된 주변 블록의 화소 값을 이용하여 공간적 예측을 수행하여 예측 신호를 생성한다.The
감산부(130)는 입력 영상과 화면 간 예측부(120) 혹은 화면 내 예측부(125)를 통해 생성된 예측 신호를 이용하여 잔차 신호(residual signal)를 생성한다.The
변환부(140) 및 양자화부(150)는 감산부(130)을 통해 생성된 잔차 신호에 대하여 변환 및 양자화를 수행하여 양자화된 계수(quantized coefficient)를 생성한다.The
엔트로피 부호화부(160)는 비디오 부호화기에 정의된 신택스 요소(syntax elements) 및 양자화된 계수 등과 같은 부호화 정보에 대하여 엔트로피 부호화를 수행하여 비트스트림을 출력한다.The
역변환부(145) 및 역양자화부(155)는 양자화 계수를 수신하여 역양자화 및 역변환을 차례대로 수행하고, 복원된 잔차 신호를 생성한다.The
가산부(135)는 화면 간 예측부(120) 혹은 화면 내 예측부(125)를 통해 생성된 예측 신호와 복원된 잔차 신호를 이용하여 복원 신호를 생성한다.The
복원 신호는 인루프 필터부(180)로 전달된다. 필터링이 적용된 복원 픽쳐는 복원 픽쳐 버퍼(190)에 저장되며, 화면 간 예측부(120)에서 참조 픽쳐로 사용될 수 있다.The restored signal is transmitted to the in-
도 2는 본 발명의 일 실시예에 따른 비디오 복호화 장치 및 방법의 구성을 나타내는 블록도를 도시한다.2 is a block diagram showing the configuration of a video decoding apparatus and method according to an embodiment of the present invention.
일 실시예에 따른 비디오 복호화 장치 및 방법은 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 화면 내 예측부(240), 화면 간 예측부(250), 가산부(260), 인루프 필터부(270), 복원 픽쳐 버퍼(280)를 포함할 수 있다.The video decoding apparatus and method according to one embodiment includes an
엔트로피 복호화부(210)는 입력된 비트스트림(200)을 복호화하여 신택스 요소(syntax elements) 및 양자화된 계수 등과 같은 복호화 정보를 출력한다.The
역양자화부(220) 및 역변환부 (230)는 양자화 계수를 수신하여 역양자화 및 역변환을 차례대로 수행하고, 잔차 신호(residual signal)를 출력한다.The
화면 내 예측부(240)는 복호화되는 현재 블록과 인접하는 기-복호화된 주변 블록의 화소 값을 이용하여 공간적 예측을 수행하여 예측 신호를 생성한다.The
화면 간 예측부(250)는 비트스트림으로부터 추출된 움직임 벡터와 복원 픽쳐 버퍼(280)에 저장되어 있는 복원 영상을 이용하여 움직임 보상을 수행하여 예측 신호를 생성한다.The
화면 내 예측부(240)와 화면 내 예측부(250)로부터 출력된 예측 신호는 가산부(260)를 통해 잔차 신호와 합해지고, 그에 따라 블록 단위로 생성된 복원 신호는 복원된 영상을 포함한다.The prediction signals output from the
복원된 영상은 인루프 필터부(270)로 전달된다. 필터링이 적용된 복원 픽쳐는 복원 픽쳐 버퍼(280)에 저장되며, 화면 간 예측부(250)에서 참조 픽쳐로 사용될 수 있다.The reconstructed image is transferred to the in-
도 3은 본 발명의 일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 여부를 판단하고 CABAC 컨텍스트 모델 초기화를 수행하는 순서를 나타내는 블록도를 도시한다.FIG. 3 is a block diagram illustrating a procedure for determining whether to initialize an adaptive CABAC context model according to an embodiment of the present invention and performing a CABAC context model initialization.
일 실시예에 따른 컨텍스트 모델의 적응적 초기화를 사용하는 CABAC 부호화 방법 및 장치, 그리고 CABAC 복호화 방법 및 장치는 CABAC 컨텍스트 모델을 초기화하기 위하여 적응적 CABAC 컨텍스트 초기화 판단부(320), 참조 CABAC 컨텍스트 상태 로드부(330), QP에 따른 CABAC 컨텍스트 초기값 로드부(340), CABAC 컨텍스트 초기화부(350)를 포함한다.The CABAC encoding method and apparatus using adaptive initialization of the context model according to an embodiment, and the CABAC decoding method and apparatus include an adaptive CABAC context initialization determiner 320 for initializing a CABAC context model, a reference CABAC context
적응적 CABAC 컨텍스트 초기화 판단부(320)는 적응적 CABAC 컨텍스트 초기화 사용 여부 정보를 전송받아 적응적 CABAC 컨텍스트 초기화 사용 여부를 판단하는 역할을 수행한다. 적응적 CABAC 컨텍스트 초기화 사용 여부 정보는 적어도 하나의 하이-레벨 신택스에서 시그날링될 수 있다.The adaptive CABAC
일 실시예에 따른 적응적 CABAC 컨텍스트 초기화 사용 여부 정보는 CABAC 컨텍스트를 초기화함에 있어, 본 발명에서 제안하는 적응적 CABAC 컨텍스트 초기화의 사용 여부를 판단하는 정보로서, 이는 플래그 형태, 혹은 사용되는 참조 CABAC 컨텍스트 상태 정보를 지정해 주는 특정한 인덱스 형태로 나타내는 것을 포함한다. 전술한 적응적 CABAC 컨텍스트 초기화 사용 여부에 따라 적응적 CABAC 컨텍스트 초기화 수행인 경우, 참조 CABAC 컨텍스트 상태 로드부(330)를 통해 참조 CABAC 컨텍스트 상태를 로드(load)하여 CABAC 컨텍스트의 초기화를 수행할 수 있다. 적응적 CABAC 컨텍스트 초기화 수행이 아닌 경우, QP에 따른 CABAC 컨텍스트 초기값 로드부(340)를 통해 QP에 따라 테이블에 저장되어 있는 CABAC 컨텍스트 초기값을 로드하여 CABAC 컨텍스트의 초기화를 수행한다.The adaptive CABAC context initialization use information according to an embodiment determines whether to use the adaptive CABAC context initialization proposed in the present invention in initializing the CABAC context, And a specific index form for specifying the state information. If the adaptive CABAC context initialization is performed according to whether or not the adaptive CABAC context initialization is performed, the reference CABAC context
참조 CABAC 컨텍스트 상태 로드부(330)는 이전 복호화 단계에서 저장된 CABAC 컨텍스트 상태를 CABAC 컨텍스트를 초기화하기 위하여 로드하는 역할을 수행한다.The reference CABAC context
일 실시예에 따른 이전 복호화 단계에서 저장된 CABAC 컨텍스트 상태는 본 발명에서 제안하는 적응적 CABAC 컨텍스트 초기화를 위하여 참조하는 CABAC 컨텍스트 상태를 의미한다. 상기 참조하는 CABAC 컨텍스트 상태는 복호화 순서에 따라 이미 복호화된 픽쳐의 특정 위치에서 저장된 CABAC 컨텍스트 상태를 의미한다. 또는, 픽쳐가 병렬화 단위(예를 들어, 슬라이스, 타일 등)로 분할된 경우에는 이미 복호화된 픽쳐 내의 대응되는 병렬화 단위의 특정 위치에 저장된 CABAC 컨텍스트 상태를 의미한다.The CABAC context state stored in the previous decoding step according to an embodiment implies a CABAC context state referred to for initializing the adaptive CABAC context proposed in the present invention. The CABAC context state referred to above refers to a CABAC context state stored at a specific location of a picture that has already been decoded according to a decoding order. Or a CABAC context state stored at a specific position of a corresponding parallelization unit in a decoded picture if the picture is divided into a parallelization unit (e.g., slice, tile, etc.).
일 실시예에 따른 병렬화 단위로 픽쳐가 분할된 경우, 본 발명에서 제안하는 적응적 CABAC 컨텍스트 초기화를 위하여 참조하는 CABAC 컨텍스트 상태의 위치는 병렬화 단위의 크기 및 갯수가 동일한 경우에 이미 복호화된 픽쳐 내의 대응되는 병렬화 단위 내의 특정 위치를 의미한다. 반면, 병렬화 단위의 크기 및 갯수가 동일하지 않은 경우에 이미 복호화된 픽쳐 내의 저장된 CABAC 컨텍스트 상태에 대한 위치 정보를 바탕으로 현재 픽쳐를 분할하는 병렬화 단위와의 거리가 가장 가까운 위치의 상태 정보를 선택하여 사용하는 것을 포함한다.In a case where a picture is divided in parallel units according to an exemplary embodiment, the location of the CABAC context state referred to for the initialization of the adaptive CABAC context proposed in the present invention is a location in which the size and number of parallelization units are the same, Quot; refers to a specific location within a parallelization unit. On the other hand, when the size and the number of the parallelization units are not the same, based on the position information on the stored CABAC context state in the decoded picture, state information of a position closest to the parallelization unit that divides the current picture is selected .
일 실시예에 따른 병렬화 단위로 픽쳐가 분할된 경우에 있어서, 병렬화 단위의 크기 및 갯수가 동일하지 않은 경우, 이미 복호화된 픽쳐 내의 저장된 CABAC 컨텍스트 상태에 대한 위치 정보를 바탕으로 현재 픽쳐를 분할하는 병렬화 단위와 대응시켰을 때 가장 넓은 면적/크기를 가진 이미 복호화된 픽쳐 내의 병렬화 단위에 저장된 CABAC 컨텍스트 상태를 사용하는 것을 포함한다.In a case where a picture is divided by a parallelization unit according to an embodiment, when the size and the number of the parallelization units are not the same, a parallelization process of dividing a current picture based on position information on a stored CABAC context state in a decoded picture And using the CABAC context state stored in the parallelization unit in the already decoded picture with the largest area / size when matched with the unit.
도 4는 본 발명의 일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 여부를 전송하는 신택스의 일 예를 나타내는 표를 도시한다.4 is a table showing an example of a syntax for transmitting whether to initialize an adaptive CABAC context model according to an embodiment of the present invention.
일 실시예에 따른 컨텍스트 모델의 적응적 초기화를 사용하는 CABAC 부호화 방법 및 장치, 그리고 CABAC 복호화 방법 및 장치는 적응적 CABAC 컨텍스트 모델 초기화 정보를 VPS (video sequence parameter set), SPS (Sequence Parameter Set) 또는 PPS (Picture Parameter Set) 중 적어도 하나에서 플래그 형태로 전송하는 것을 포함한다.A CABAC encoding method and apparatus using adaptive initialization of a context model according to an exemplary embodiment, and a CABAC decoding method and apparatus include adaptive CABAC context model initialization information using a video sequence parameter set (VPS), a sequence parameter set (SPS) And a PPS (Picture Parameter Set).
도 5는 본 발명의 일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도를 도시한다.FIG. 5 is a conceptual diagram illustrating an exemplary implementation of an adaptive CABAC context model initialization according to an embodiment of the present invention.
일 실시예에 따른 컨텍스트 모델의 적응적 초기화를 사용하는 CABAC 부호화 방법 및 장치, 그리고 CABAC 복호화 방법 및 장치는 적응적 CABAC 컨텍스트 모델 초기화 수행을 위하여 이전에 부호화 혹은 복호화되어 참조 픽쳐 (Reference Picture) (510)의 특정 위치에서 저장된 CABAC 컨텍스트 상태를 참조하는 과정 (530), 현재 부호화 혹은 복호화하는 현재 픽쳐 (Current Picture) (520)의 CABAC 컨텍스트 초기화 과정을 포함한다.The CABAC encoding method and apparatus using the adaptive initialization of the context model according to an embodiment, and the CABAC decoding method and apparatus are previously encoded or decoded to perform the initialization of the adaptive CABAC context model, (Step 530) of referring to the stored CABAC context state at a specific location of the
일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행과정에서 참조 픽쳐 (510)의 특정 위치라 함은 부호화 및 복호화 수행에 앞서 미리 상호 정의된 부호화 단위의 절대 위치 및 상대 위치를 의미하며, 이러한 경우 상기 특정 위치 정보는 복호화기로 전송하는 것을 포함하지 않는다.In the process of initializing the adaptive CABAC context model according to an embodiment, the specific location of the
일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행과정에서 참조 픽쳐 (510)의 특정 위치라 함은 부호화 단계에서 지정된 부호화 단위의 절대 위치 및 상대 위치를 의미하며, 이러한 경우 상기 특정 위치 정보를 복호화기로 전송하는 것을 포함한다.In the process of initializing the adaptive CABAC context model according to an exemplary embodiment, the specific location of the
도 6은 본 발명의 일 실시예에 따른 병렬화 단위별 적응적 CABAC 컨텍스트 모델 초기화 여부를 전송하는 신택스의 일 예를 나타내는 표를 도시한다.6 is a table showing an example of a syntax for transmitting whether or not to initialize an adaptive CABAC context model for each parallelization unit according to an embodiment of the present invention.
일 실시예에 따른 컨텍스트 모델의 적응적 초기화를 사용하는 CABAC 부호화 방법 및 장치, 그리고 CABAC 복호화 방법 및 장치는 적응적 CABAC 컨텍스트 모델 초기화 여부를 각 병렬화 단위에 대하여 플래그 형태로 전송하는 것을 포함한다.The CABAC encoding method and apparatus using the adaptive initialization of the context model according to an embodiment, and the CABAC decoding method and apparatus include transmitting the flag indicating whether the adaptive CABAC context model is initialized for each parallelization unit.
일 실시예에 따라 상기 병렬화 단위 별로 적응적 CABAC 컨텍스트 모델 초기화 수행 여부에 대한 플래그를 이용하여 각 병렬화 단위 별로 적응적 CABAC 컨텍스트 모델 초기화를 독립적으로 수행하는 것을 포함한다.And independently performing an initialization of an adaptive CABAC context model for each parallelization unit using a flag for performing an initialization of an adaptive CABAC context model for each parallelization unit according to an exemplary embodiment.
도 7은 본 발명의 일 실시예에 따른 병렬화 단위별 적응적 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도를 도시한다.FIG. 7 is a conceptual diagram illustrating an example of performing an initialization of an adaptive CABAC context model for each parallelization unit according to an embodiment of the present invention.
일 실시예에 따른 컨텍스트 모델의 적응적 초기화를 사용하는 CABAC 부호화 방법 및 장치, 그리고 CABAC 복호화 방법 및 장치는 병렬화 단위별 적응적 CABAC 컨텍스트 모델 초기화 수행을 위하여 이전에 부호화 혹은 복호화되어 참조 픽쳐 (Reference Picture) (710)의 해당 병렬화 단위 (711, 712, 713, 714)에 대응되는 특정 위치에서 저장된 CABAC 컨텍스트 상태를 참조하는 과정 (731, 732, 733, 734), 현재 부호화 혹은 복호화하는 현재 픽쳐 (Current Picture) (520)의 해당 병렬화 단위 (721, 722, 723, 724)의 CABAC 컨텍스트 초기화 과정을 포함한다.The CABAC encoding method and apparatus using the adaptive initialization of the context model according to an embodiment and the CABAC decoding method and apparatus are previously encoded or decoded to perform initialization of the adaptive CABAC context model for each parallelization unit, (731, 732, 733, 734) referencing the stored CABAC context state at a specific location corresponding to the corresponding
일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행 과정에서 참조 픽쳐 (710)의 각 병렬화 단위 (711, 712, 713, 714) 별 특정 위치라 함은 부호화 및 복호화 수행에 앞서 미리 상호 정의된 부호화 단위의 절대 위치 및 상대 위치를 의미하며, 이러한 경우 상기 특정 위치 정보는 복호화기로 전송하는 것을 포함하지 않는다.In the process of initializing the adaptive CABAC context model according to an exemplary embodiment, a specific location of each
일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행 과정에서 참조 픽쳐 (710)의 각 병렬화 단위 (711, 712, 713, 714) 별 특정 위치라 함은 부호화 단계에서 지정된 부호화 단위의 절대 위치 및 상대 위치를 의미하며, 이러한 경우 상기 특정 위치 정보를 복호화기로 전송하는 것을 포함한다.The specific position of each
도 8 및 도 9는 본 발명의 일 실시예에 따른 기존 비디오 부호화에서 병렬화 단위별 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도와 본 발명의 일 실시예에 따른 병렬화 도구 적용에 따른 CABAC 컨텍스트 모델 초기화 수행의 일 예를 나타내는 개념도를 도시한다.8 and 9 are conceptual diagrams illustrating an example of performing initialization of a CABAC context model for each parallelization unit in an existing video encoding according to an embodiment of the present invention and a CABAC context model initialization according to an embodiment of the
기존의 비디오 부호화 및 복호화 장치 및 방법에서 사용되는 WPP (Wave-front Parallel Processing) 병렬화 방법에서는 부호화 단위의 라인 (810, 820, 830, 840, 850) 별로 CABAC 컨텍스트 모델 초기화를 수행하며, 상기 라인의 시작 부호화 단위는 이전 부호화 라인의 두번째 부호화 단위의 CABAC 컨텍스트 상태를 참조하여 CABAC 컨텍스트 모델 초기화를 수행한다.In the WPP (Parallel Processing) method used in conventional video encoding and decoding apparatuses and methods, CABAC context model initialization is performed for each line of encoding
일 실시예에 따른 컨텍스트 모델의 적응적 초기화를 사용하는 CABAC 부호화 방법 및 장치, 그리고 CABAC 복호화 방법 및 장치는 WPP 병렬화 방법을 적용하여 부호화 및 복호화를 수행함에 있어 이전에 부호화 혹은 복호화되어 참조 픽쳐 (Reference Picture) (910)의 특정 위치에서 저장된 CABAC 컨텍스트 상태를 참조하는 과정 (930), 현재 부호화 혹은 복호화하는 현재 픽쳐 (Current Picture) (920)의 최초 부호화 단위의 라인 (921)의 CABAC 컨텍스트 초기화 과정을 포함한다.The CABAC encoding method and apparatus using the adaptive initialization of the context model according to an embodiment, and the CABAC decoding method and apparatus, when encoding and decoding using the WPP parallelization method, are previously encoded or decoded, A CABAC context initialization process of a
일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행과정에서 참조 픽쳐 (910)의 특정 위치라 함은 부호화 및 복호화 수행에 앞서 미리 상호 정의된 부호화 단위의 절대 위치 및 상대 위치를 의미하며, 이러한 경우 상기 특정 위치 정보는 복호화기로 전송하는 것을 포함하지 않는다.In the process of initializing the adaptive CABAC context model according to an embodiment, the specific location of the
일 실시예에 따른 적응적 CABAC 컨텍스트 모델 초기화 수행과정에서 참조 픽쳐 (910)의 특정 위치라 함은 부호화 단계에서 지정된 부호화 단위의 절대 위치 및 상대 위치를 의미하며, 이러한 경우 상기 특정 위치 정보를 복호화기로 전송하는 것을 포함한다.In the process of initializing the adaptive CABAC context model according to an exemplary embodiment, the specific location of the
Claims (14)
CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 획득하는 단계;
상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 단계;
상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 참조 CABAC 컨텍스트 상태를 로드하는 단계;
상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 방법 및 복호화 방법.A video encoding and decoding method,
Obtaining information on whether to perform adaptive initialization of the CABAC context model;
Determining whether to perform adaptive initialization of the CABAC context model using the adaptive initialization execution information of the CABAC context model;
Loading a reference CABAC context state according to the adaptive initialization of the CABAC context model;
Loading a CABAC context initial value according to QP according to whether or not adaptive initialization of the CABAC context model is performed; And
And initializing the CABAC context model using the obtained CABAC context.
현재 복호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 추출하는 단계;
상기 추출된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하는 경우, 참조CABAC 컨텍스트 상태를 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.The method according to claim 1,
Extracting information on whether to perform adaptive initialization of a CABAC context model in a flag form with respect to a bitstream to be decoded;
Loading the reference CABAC context state when adaptive initialization use information of the extracted CABAC context model indicates adaptive initialization use of the CABAC context model; And
And initializing the CABAC context model using the obtained CABAC context.
현재 부호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 단계;
상기 부호화하는 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하는 경우, 참조 CABAC 컨텍스트 상태를 저장하는 단계;
상기 저장된 참조 CABAC 컨텍스트 상태를 로드하는 단계; 및
상기 저장된 CABAC 컨텍스트 상태를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 방법.The method according to claim 1,
Encoding the adaptive initialization information of the CABAC context model into a flag type for the current bitstream;
Storing a reference CABAC context state when adaptive initialization use information of the CABAC context model to be encoded implies adaptive initialization use of a CABAC context model;
Loading the stored reference CABAC context state; And
And initializing a CABAC context model using the stored CABAC context state.
현재 복호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 추출하는 단계;
상기 추출된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하지 않는 경우, QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.The method according to claim 1,
Extracting information on whether to perform adaptive initialization of a CABAC context model in a flag form with respect to a bitstream to be decoded;
Loading the CABAC context initial value according to the QP when the adaptive initialization use information of the extracted CABAC context model does not mean adaptive initialization use of the CABAC context model; And
And initializing the CABAC context model using the obtained CABAC context.
현재 부호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 단계;
상기 부호화하는 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하지 않는 경우, QP에 따른 CABAC 컨텍스트 초기값을 추출하는 단계; 및
상기 추출된 CABAC 컨텍스트 초기값을 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 방법.The method according to claim 1,
Encoding the adaptive initialization information of the CABAC context model into a flag type for the current bitstream;
Extracting a CABAC context initial value according to the QP when the adaptive initialization use information of the CABAC context model to be encoded does not mean adaptive initialization use of the CABAC context model; And
And initializing the CABAC context model using the extracted initial value of the CABAC context.
병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 획득하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 대응되는 참조 CABAC 컨텍스트 상태를 로드하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.A video decoding method comprising:
Acquiring information on whether to perform adaptive initialization of the CABAC context model for each parallelization unit;
Determining whether to perform adaptive initialization of the CABAC context model for each parallelization unit using the adaptive initialization execution information of the CABAC context model for each parallelization unit;
Loading a corresponding reference CABAC context state according to whether or not adaptive initialization of the CABAC context model for each parallelization unit is performed;
Loading a CABAC context initial value according to the QP according to whether the adaptive initialization of the CABAC context model for each parallelization unit is performed; And
And initializing a CABAC context model for each parallelization unit using the obtained CABAC context.
병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 대응되는 참조 CABAC 컨텍스트 상태를 저장하는 단계;
상기 저장된 병렬화 단위별 참조 CABAC 컨텍스트 상태를 로드하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 방법.A video parallel encoding method comprising:
Encoding the adaptive initialization performance information of the CABAC context model for each parallelization unit into a flag type;
Determining whether to perform adaptive initialization of the CABAC context model for each parallelization unit using the adaptive initialization execution information of the CABAC context model for each parallelization unit;
Storing a corresponding reference CABAC context state according to the adaptive initialization of the CABAC context model for each parallelization unit;
Loading the stored reference parallel CABAC context state;
Loading a CABAC context initial value according to the QP according to whether the adaptive initialization of the CABAC context model for each parallelization unit is performed; And
And initializing a CABAC context model for each parallelization unit using the obtained CABAC context.
CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 획득하는 단계;
상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 단계;
상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 참조 CABAC 컨텍스트 상태를 로드하는 단계;
상기 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 장치 및 복호화 장치.A video encoding and decoding apparatus comprising:
Obtaining information on whether to perform adaptive initialization of the CABAC context model;
Determining whether to perform adaptive initialization of the CABAC context model using the adaptive initialization execution information of the CABAC context model;
Loading a reference CABAC context state according to the adaptive initialization of the CABAC context model;
Loading a CABAC context initial value according to QP according to whether or not adaptive initialization of the CABAC context model is performed; And
And initializing the CABAC context model using the obtained CABAC context.
현재 복호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 추출하는 단계;
상기 추출된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC컨텍스트 모델의 적응적 초기화 사용을 의미하는 경우, 참조 CABAC 컨텍스트 상태를 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 장치.9. The method of claim 8,
Extracting information on whether to perform adaptive initialization of a CABAC context model in a flag form with respect to a bitstream to be decoded;
Loading the reference CABAC context state when adaptive initialization use information of the extracted CABAC context model indicates adaptive initialization use of the CABAC context model; And
And initializing the CABAC context model using the obtained CABAC context.
현재 부호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 단계;
상기 부호화하는 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하는 경우, 참조 CABAC 컨텍스트 상태를 저장하는 단계;
상기 저장된 참조 CABAC 컨텍스트 상태를 로드하는 단계; 및
상기 저장된 CABAC 컨텍스트 상태를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 장치.9. The method of claim 8,
Encoding the adaptive initialization information of the CABAC context model into a flag type for the current bitstream;
Storing a reference CABAC context state when adaptive initialization use information of the CABAC context model to be encoded implies adaptive initialization use of a CABAC context model;
Loading the stored reference CABAC context state; And
And initializing the CABAC context model using the stored CABAC context state.
현재 복호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 추출하는 단계;
상기 추출된 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하지 않는 경우, QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 장치.9. The method of claim 8,
Extracting information on whether to perform adaptive initialization of a CABAC context model in a flag form with respect to a bitstream to be decoded;
Loading the CABAC context initial value according to the QP when the adaptive initialization use information of the extracted CABAC context model does not mean adaptive initialization use of the CABAC context model; And
And initializing the CABAC context model using the obtained CABAC context.
현재 부호화하는 비트스트림에 대하여 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 단계;
상기 부호화하는 CABAC 컨텍스트 모델의 적응적 초기화 사용 여부 정보가 CABAC 컨텍스트 모델의 적응적 초기화 사용을 의미하지 않는 경우, QP에 따른 CABAC 컨텍스트 초기값을 추출하는 단계; 및
상기 추출된 CABAC 컨텍스트 초기값을 이용하여 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 장치.9. The method of claim 8,
Encoding the adaptive initialization information of the CABAC context model into a flag type for the current bitstream;
Extracting a CABAC context initial value according to the QP when the adaptive initialization use information of the CABAC context model to be encoded does not mean adaptive initialization use of the CABAC context model; And
And initializing the CABAC context model using the extracted CABAC context initial value.
병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 획득하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 대응되는 참조 CABAC 컨텍스트 상태를 로드하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 장치.A video decoding apparatus comprising:
Acquiring information on whether to perform adaptive initialization of the CABAC context model for each parallelization unit;
Determining whether to perform adaptive initialization of the CABAC context model for each parallelization unit using the adaptive initialization execution information of the CABAC context model for each parallelization unit;
Loading a corresponding reference CABAC context state according to whether or not adaptive initialization of the CABAC context model for each parallelization unit is performed;
Loading a CABAC context initial value according to the QP according to whether the adaptive initialization of the CABAC context model for each parallelization unit is performed; And
And initializing a CABAC context model for each parallelization unit using the obtained CABAC context.
병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 플래그 형태로 부호화하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부 정보를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부를 판단하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 대응되는 참조 CABAC 컨텍스트 상태를 저장하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 대응되는 참조 CABAC 컨텍스트 상태를 로드하는 단계;
상기 병렬화 단위별 CABAC 컨텍스트 모델의 적응적 초기화 수행 여부에 따라 QP에 따른 CABAC 컨텍스트 초기값을 로드하는 단계; 및
상기 획득한 CABAC 컨텍스트를 이용하여 병렬화 단위별 CABAC 컨텍스트 모델을 초기화하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 장치.A video parallel encoding apparatus comprising:
Encoding the adaptive initialization performance information of the CABAC context model for each parallelization unit into a flag type;
Determining whether to perform adaptive initialization of the CABAC context model for each parallelization unit using the adaptive initialization execution information of the CABAC context model for each parallelization unit;
Storing a corresponding reference CABAC context state according to the adaptive initialization of the CABAC context model for each parallelization unit;
Loading a corresponding reference CABAC context state according to whether or not adaptive initialization of the CABAC context model for each parallelization unit is performed;
Loading a CABAC context initial value according to the QP according to whether the adaptive initialization of the CABAC context model for each parallelization unit is performed; And
And initializing a CABAC context model for each parallelization unit using the obtained CABAC context.
Priority Applications (11)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160035090A KR20170113724A (en) | 2016-03-24 | 2016-03-24 | Cabac encoding method and apparatus using adaptive initialization for context model, and cabac decoding method and apparatus |
CN202210296042.9A CN114615493A (en) | 2016-03-24 | 2017-03-22 | Video decoding method, video encoding method, and readable recording medium |
EP22177043.1A EP4072141A1 (en) | 2016-03-24 | 2017-03-22 | Method and apparatus for encoding/decoding video signal |
PCT/KR2017/003082 WO2017164645A2 (en) | 2016-03-24 | 2017-03-22 | Method and apparatus for encoding/decoding video signal |
CN201780029821.XA CN109155847A (en) | 2016-03-24 | 2017-03-22 | Method and apparatus for encoding/decoding video signal |
EP17770615.7A EP3435673A4 (en) | 2016-03-24 | 2017-03-22 | Method and apparatus for encoding/decoding video signal |
US16/087,787 US10778987B2 (en) | 2016-03-24 | 2017-03-22 | Method and apparatus for encoding/decoding video signal |
US16/993,628 US11388420B2 (en) | 2016-03-24 | 2020-08-14 | Method and apparatus for encoding/decoding video signal |
US17/836,347 US11770539B2 (en) | 2016-03-24 | 2022-06-09 | Method and apparatus for encoding/decoding video signal |
US17/836,236 US11973960B2 (en) | 2016-03-24 | 2022-06-09 | Method and apparatus for encoding/decoding video signal |
US18/350,040 US20230353757A1 (en) | 2016-03-24 | 2023-07-11 | Method and apparatus for encoding/decoding video signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160035090A KR20170113724A (en) | 2016-03-24 | 2016-03-24 | Cabac encoding method and apparatus using adaptive initialization for context model, and cabac decoding method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20170113724A true KR20170113724A (en) | 2017-10-13 |
Family
ID=60139425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160035090A KR20170113724A (en) | 2016-03-24 | 2016-03-24 | Cabac encoding method and apparatus using adaptive initialization for context model, and cabac decoding method and apparatus |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20170113724A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112534471A (en) * | 2018-11-29 | 2021-03-19 | 欧姆龙株式会社 | Image generation device, robot training system, image generation method, and image generation program |
WO2023182673A1 (en) * | 2022-03-21 | 2023-09-28 | 현대자동차주식회사 | Method and device for video coding by using context model initialization |
-
2016
- 2016-03-24 KR KR1020160035090A patent/KR20170113724A/en unknown
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112534471A (en) * | 2018-11-29 | 2021-03-19 | 欧姆龙株式会社 | Image generation device, robot training system, image generation method, and image generation program |
WO2023182673A1 (en) * | 2022-03-21 | 2023-09-28 | 현대자동차주식회사 | Method and device for video coding by using context model initialization |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102165340B1 (en) | Methods of determination for chroma quantization parameter and apparatuses for using the same | |
US20220060755A1 (en) | Method of Coding and Decoding Images, Coding and Decoding Device and Computer Programs Corresponding Thereto | |
KR101947142B1 (en) | Methods of decoding using skip mode and apparatuses for using the same | |
EP3080988B1 (en) | Parameter derivation for entropy coding of a syntax element | |
KR20180042899A (en) | Video coding method and apparatus using adaptive interpolation filter | |
JP2023168518A (en) | Prediction block generation device, image encoder, image decoder, and program | |
KR20170114598A (en) | Video coding and decoding methods using adaptive cross component prediction and apparatus | |
JP6708211B2 (en) | Moving picture coding apparatus, moving picture coding method, and recording medium storing moving picture coding program | |
KR20110090841A (en) | Apparatus and method for encoding/decoding of video using weighted prediction | |
KR20170113724A (en) | Cabac encoding method and apparatus using adaptive initialization for context model, and cabac decoding method and apparatus | |
JP2020137119A (en) | Intra prediction device, image coding device, image decoding device, and program | |
KR102505364B1 (en) | Decryption device, program, and decryption method | |
JP7332385B2 (en) | Intra prediction device, image coding device, image decoding device, and program | |
KR20170122351A (en) | Video coding method and apparatus using adaptive coding order according to direction of intra prediction | |
US10110892B2 (en) | Video encoding device, video decoding device, video encoding method, video decoding method, and program | |
KR20140004018A (en) | The method of encoding and decoding of quantization matrix and the apparatus for using the same | |
JP6421426B2 (en) | Encoding method conversion apparatus and program | |
KR20180041833A (en) | Video coding method and apparatus using most probable mode list of intra | |
KR20180040827A (en) | Video coding method and apparatus using grouped coding uinit syntax | |
JP2021093634A (en) | Coding device, decoding device and program | |
KR101373083B1 (en) | Device and method for encoding/decoding motion information | |
KR20130078321A (en) | Method and device for near-lossless encoding of depth image | |
KR20170125155A (en) | Video coding method and apparatus using interpolation filter for intra prediction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant |