KR102142014B1 - Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, and video encoding-decoding apparatus - Google Patents

Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, and video encoding-decoding apparatus Download PDF

Info

Publication number
KR102142014B1
KR102142014B1 KR1020137001300A KR20137001300A KR102142014B1 KR 102142014 B1 KR102142014 B1 KR 102142014B1 KR 1020137001300 A KR1020137001300 A KR 1020137001300A KR 20137001300 A KR20137001300 A KR 20137001300A KR 102142014 B1 KR102142014 B1 KR 102142014B1
Authority
KR
South Korea
Prior art keywords
unit
size
probability table
decoding
encoding
Prior art date
Application number
KR1020137001300A
Other languages
Korean (ko)
Other versions
KR20140042763A (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 claimed from PCT/JP2012/004538 external-priority patent/WO2013018296A1/en
Publication of KR20140042763A publication Critical patent/KR20140042763A/en
Application granted granted Critical
Publication of KR102142014B1 publication Critical patent/KR102142014B1/en

Links

Images

Abstract

동화상 부호화 방법은, 제1의 처리 단위에 1개 이상 포함되는 제2의 처리 단위마다, 공간 영역의 동화상 신호를 주파수 영역의 계수로 변환하는 처리와, 주파수 영역의 계수를 양자화하는 처리를 포함하는 변환·양자화 단계와, 변환·양자화 단계가 실행된 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 부호화하는 산술 부호화 단계(S704)를 포함하고, 산술 부호화 단계에서는, 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부, 및 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라(S701), 산술 부호화에 이용하는 확률 테이블을 결정한다(S702, S703).The moving picture encoding method includes processing for converting a video signal in the spatial domain into coefficients in the frequency domain, and processing for quantizing the coefficients in the frequency domain, for every second processing unit included in one or more in the first processing unit. And an arithmetic encoding step (S704) of arithmetic encoding the luminance CBF flag indicating whether a quantization coefficient is included in the second processing unit in which the transform and quantization step has been performed, and in the arithmetic encoding step, According to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size (S701), a probability table used for arithmetic coding is determined (S702, S703).

Figure 112013004790435-pct00010
Figure 112013004790435-pct00010

Description

동화상 부호화 방법, 동화상 복호 방법, 동화상 부호화 장치, 동화상 복호 장치, 및 동화상 부호화 복호 장치{VIDEO ENCODING METHOD, VIDEO DECODING METHOD, VIDEO ENCODING APPARATUS, VIDEO DECODING APPARATUS, AND VIDEO ENCODING-DECODING APPARATUS}VIDEO ENCODING METHOD, VIDEO DECODING METHOD, VIDEO ENCODING APPARATUS, VIDEO DECODING APPARATUS, AND VIDEO ENCODING-DECODING APPARATUS}

본 발명은 블록마다 화상을 부호화하기 위해서, 부호화 대상 블록의 변환 계수가 존재하는지 여부를 나타내는 플래그를 부호화하는 동화상 부호화 방법 및 동화상 부호화 장치, 부호화된 변환 계수가 존재하는지 여부를 나타내는 플래그를 복호하는 동화상 복호 방법 및 동화상 복호 장치, 및 동화상 부호화 복호 장치에 관한 것이다.In the present invention, in order to encode an image for each block, a video encoding method and a video encoding apparatus for encoding a flag indicating whether a transform coefficient of a block to be encoded exists or not, a video encoding device for decoding a flag indicating whether or not coded transform coefficients exist A decoding method, a video decoding device, and a video encoding and decoding device.

인터넷을 통한 비디오 회의, 디지털 비디오 방송, 및 영상 컨텐츠의 스트리밍을 포함하는, 예를 들면, 비디오·온·디맨드 타입의 서비스를 위한 어플리케이션의 수는 끝없이 증가하고 있으며, 이들 어플리케이션은 영상 정보의 송신에 의지하고 있다. 영상 데이터가 송신되거나, 또는, 기록될 때, 상당한 양의 데이터는, 한정된 밴드폭의 종래의 전송로를 통과하여 송신되거나, 또는, 한정된 데이터 용량의 종래의 기억 매체에 기억된다. 종래의 전송 채널 및 기억 매체에 영상 정보를 송신 및 기억하기 위해서는, 디지털 데이터의 양을 압축 또는 삭감하는 것이 반드시 필요하다.The number of applications for video-on-demand type services, including video conferencing over the Internet, digital video broadcasting, and streaming of video content, is constantly increasing, and these applications are used to transmit video information. Depend on it. When video data is transmitted or recorded, a considerable amount of data is transmitted through a conventional transmission path of a limited bandwidth, or stored in a conventional storage medium having a limited data capacity. In order to transmit and store video information on conventional transmission channels and storage media, it is necessary to compress or reduce the amount of digital data.

여기서, 영상 데이터의 압축을 위해서, 복수의 영상 부호화 규격이 개발되어 있다. 이러한 영상 부호화 규격은, 예를 들면, H.26x로 표시되는 ITU-T 규격, 및, MPEG-x로 표시되는 ISO/IEC 규격이다. 최신 또한 가장 발전된 영상 부호화 규격은, 현재, H.264/MPEG-4 AVC로 표시되는 규격이다(비특허 문헌 1 참조).Here, a plurality of video encoding standards have been developed for compression of video data. These video encoding standards are, for example, the ITU-T standard indicated by H.26x and the ISO/IEC standard indicated by MPEG-x. The latest and most advanced video encoding standard is currently a standard indicated by H.264/MPEG-4 AVC (see Non-Patent Document 1).

이들 규격의 대부분의 기초를 이루는 부호화 어프로치는, 이하의 (a)~(d)로 나타내는 주요 단계를 포함하는 예측 부호화에 의거하고 있다. (a) 영상 프레임의 각각을 블록 레벨로 데이터 압축하기 위해서, 영상 프레임을 화소의 블록으로 분할한다. (b) 먼저 부호화된 영상 데이터로부터 개개의 블록을 예측함으로써, 시간적 및 공간적 중복성을 특정한다. (c) 영상 데이터로부터 예측 데이터를 줄임으로써, 특정된 중복성을 제거한다. (d) 푸리에 변환, 양자화, 및, 엔트로피 부호화에 의해서, 나머지 데이터(잔차 블록)를 압축한다.The encoding approaches that form the basis of most of these standards are based on predictive encoding including the main steps shown in (a) to (d) below. (a) In order to compress each image frame at a block level, the image frame is divided into blocks of pixels. (b) First, individual blocks are predicted from the encoded image data, thereby specifying temporal and spatial redundancy. (c) Specified redundancy is removed by reducing predictive data from image data. (d) The remaining data (residual block) is compressed by Fourier transform, quantization, and entropy coding.

ITU-T Recommendation H.264 「Advanced video coding for generic audiovisual services」, 2010년 3월ITU-T Recommendation H.264 「Advanced video coding for generic audiovisual services」, March 2010 JCT-VC “WD3: Working Draft 3 of High-Efficiency Video Coding”, JC TVC-E603, March 2011.JCT-VC “WD3: Working Draft 3 of High-Efficiency Video Coding”, JC TVC-E603, March 2011.

최근, 동화상의 고정밀화 등에 따라, 부호화 효율의 향상이 더욱 요구되고 있다.In recent years, improvement in encoding efficiency has been further demanded in accordance with high definition of moving images.

여기서, 본 발명은, 부호화 효율이 높은 동화상 부호화 방법, 동화상 부호화 장치, 동화상 복호 방법, 동화상 복호 장치, 및 동화상 부호화 복호 장치를 제공하는 것을 목적으로 한다.Here, an object of the present invention is to provide a video encoding method with high encoding efficiency, a video encoding device, a video decoding method, a video decoding device, and a video encoding and decoding device.

본 발명의 일형태에 관련된 동화상 부호화 방법은, 동화상 신호를 제1의 처리 단위마다 부호화하는 방법이다. 구체적으로, 동화상 부호화 방법은, 상기 제1의 처리 단위에 1개 이상 포함되는 제2의 처리 단위마다, 공간 영역의 상기 동화상 신호를 주파수 영역의 계수로 변환하는 처리와, 상기 주파수 영역의 계수를 양자화하는 처리를 포함하는 변환·양자화 단계와, 상기 변환·양자화 단계가 실행된 상기 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 부호화하는 산술 부호화 단계를 포함한다. 그리고 상기 산술 부호화 단계에서는, 상기 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부, 및 상기 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라, 산술 부호화에 이용하는 확률 테이블을 결정한다.A moving picture encoding method according to an aspect of the present invention is a method of encoding a moving picture signal for each first processing unit. Specifically, the video encoding method includes processing for converting the video signal in the spatial domain into coefficients in the frequency domain, and coefficients in the frequency domain in every second processing unit included in one or more of the first processing units. And a transform/quantization step including a quantization process, and an arithmetic coding step of performing arithmetic coding on a luminance CBF flag indicating whether a quantization coefficient is included in the second processing unit in which the transform/quantization step has been performed. In the arithmetic encoding step, a probability table used for arithmetic encoding is determined according to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size.

또한, 본 발명은, 상기와 같은 부호화 방법 또는 복호 방법으로서 실현할 수 있을 뿐만 아니라, 이러한 부호화 방법 또는 복호 방법에 포함되는 각 단계를 컴퓨터에 실행시키는 프로그램으로서 실현할 수도 있다. 그리고 이러한 프로그램은, CD-ROM(Compact Disc Read Only Memory) 등의 비일시적인 기록 매체 혹은 인터넷 등의 전송 매체를 통하여 전송할 수 있는 것은 말할 것도 없다.In addition, the present invention can be realized not only as the above-described encoding method or decoding method, but also as a program for executing each step included in such encoding method or decoding method in a computer. It goes without saying that such a program can be transmitted through a non-transitory recording medium such as a CD-ROM (Compact Disc Read Only Memory) or a transmission medium such as the Internet.

본 발명에 의하면, 휘도 CBF 플래그를 효율적으로 산술 부호화 및 산술 복호할 수 있다.According to the present invention, the luminance CBF flag can be efficiently arithmetic encoded and arithmetic decoded.

도 1은 본 발명의 실시의 형태 1에 관련된 휘도 CBF 플래그 복호화부를 포함하는 복호 장치의 기능 구성을 나타내는 블록도이다.
도 2는 본 발명의 휘도 CBF 복호부(101)의 동작 흐름의 일례를 나타내는 플로우차트이다.
도 3은 본 발명의 실시의 형태 1에 있어서의 휘도 CBF 복호부(101)의 상세를 설명하기 위한 모식도이다.
도 4는 본 발명의 실시의 형태 1에 관련된 동화상 복호화 장치의 구성의 일례를 나타내는 블록도이다.
도 5a는 본 실시의 형태의 산술 복호에 이용되는 Table1000이며, 도 28a의 Table0000에 대응하는 표이다.
도 5b는 본 실시의 형태의 산술 복호에 이용되는 Table1001이며, 도 28b의 Table0001에 대응하는 표이다.
도 5c는 본 실시의 형태의 산술 복호에 이용되는 Table1002이며, 도 28c의 Table0002에 대응하는 표이다.
도 5d는 본 실시의 형태의 산술 복호에 이용되는 Table1003이며, 도 28d의 Table0003에 대응하는 표이다.
도 6은 본 발명의 실시의 형태 1의 휘도 CBF 플래그에 대한 확률을 도출하기 위한 번호 ctxldxlnc를 취득하는 방법에 대하여 설명하는 도면이다.
도 7은 본 발명의 실시의 형태 2에 관련된 휘도 CBF 플래그 부호화부의 동작 흐름의 일례를 나타내는 플로우차트이다.
도 8은 본 발명의 실시의 형태 2에 관련된 화상 부호화 장치의 구성의 일례를 나타내는 블록도이다.
도 9는 컨텐츠 전송 서비스를 실현하는 컨텐츠 공급 시스템의 전체 구성도이다.
도 10은 디지털 방송용 시스템의 전체 구성도이다.
도 11은 텔레비전의 구성예를 나타내는 블록도이다.
도 12는 광 디스크인 기록 미디어에 정보의 읽고 쓰기를 행하는 정보 재생/기록부의 구성예를 나타내는 블록도이다.
도 13은 광 디스크인 기록 미디어의 구조예를 나타내는 도면이다.
도 14a는 휴대 전화의 일례를 나타내는 도면이다.
도 14b는 휴대 전화의 구성예를 나타내는 블록도이다.
도 15는 다중화 데이터의 구성을 나타내는 도면이다.
도 16은 각 스트림이 다중화 데이터에 있어서 어떻게 다중화되어 있는지를 모식적으로 나타내는 도면이다.
도 17은 PES 패킷열에, 비디오 스트림이 어떻게 저장되는지를 더욱 자세하게 나타낸 도면이다.
도 18은 다중화 데이터에 있어서의 TS 패킷과 소스 패킷의 구조를 나타내는 도면이다.
도 19는 PMT의 데이터 구성을 나타내는 도면이다.
도 20은 다중화 데이터 정보의 내부 구성을 나타내는 도면이다.
도 21은 스트림 속성 정보의 내부 구성을 나타내는 도면이다.
도 22는 영상 데이터를 식별하는 단계를 나타내는 도면이다.
도 23은 각 실시의 형태의 동화상 부호화 방법 및 동화상 복호화 방법을 실현하는 집적 회로의 구성예를 나타내는 블록도이다.
도 24는 구동 주파수를 전환하는 구성을 나타내는 도면이다.
도 25는 영상 데이터를 식별하고, 구동 주파수를 전환하는 단계를 나타내는 도면이다.
도 26은 영상 데이터의 규격과 구동 주파수를 대응시킨 룩업 테이블의 일례를 나타내는 도면이다.
도 27a는 신호 처리부의 모듈을 공유화하는 구성의 일례를 나타내는 도면이다.
도 27b는 신호 처리부의 모듈을 공유화하는 구성의 다른 일례를 나타내는 도면이다.
도 28a는 슬라이스 타입 SliceType과, 산술 부호화 및 산술 복호하기 위해서 필요한 확률치에 대응하는 ctxldx의 번호의 대응을 나타내는 도면이다.
도 28b는 도 28a에 나타낸 ctxldx 번호 0∼11과, 초기 확률을 결정하기 위해서 필요한 정보(m, n)의 조합을 정의하기 위한 표이다.
도 28c는 슬라이스 타입에 의해서 선두의 ctxldx가 바뀌는 것을 정의하는 오프셋치 ctxldxOffset의 할당을 나타낸 표이다.
도 28d는 2진 신호열의 선두로부터의 차례를 나타내는 번호 binldx에 대하여, 어떻게 ctxldx를 할당할지를 나타내는 표이다.
도 29a는 HEVC에서의 휘도 CBF 플래그를 포함하는 플래그에 대한 ctxldx 번호의 도출을 위한 신호 ctxldxlnc를 취득하는 방법을 나타내는 도면이다.
도 29b는 휘도 CBF 플래그의 ctxldxlnc의 결정 방법을 나타내는 도면이다.
도 30은 종래의 콘택스트 적응의 산술 복호화 처리의 플로우를 나타내는 도면이다.
도 31은 종래의 바이패스 처리용 산술 복호화 처리의 플로우를 나타내는 도면이다.
도 32는 도 30의 단계 SC08에서 나타낸 정규화 처리(RenormD)를 상세하게 설명하기 위한 플로우차트이다.
1 is a block diagram showing a functional configuration of a decoding apparatus including a luminance CBF flag decoder according to Embodiment 1 of the present invention.
2 is a flowchart showing an example of the operation flow of the luminance CBF decoding unit 101 of the present invention.
3 is a schematic diagram for explaining details of the luminance CBF decoding unit 101 according to the first embodiment of the present invention.
4 is a block diagram showing an example of a configuration of a video decoding apparatus according to Embodiment 1 of the present invention.
5A is a Table1000 used for arithmetic decoding according to the present embodiment, and is a table corresponding to Table0000 in FIG. 28A.
Fig. 5B is Table1001 used for arithmetic decoding of this embodiment, and is a table corresponding to Table0001 in Fig. 28B.
5C is a Table1002 used for arithmetic decoding of the present embodiment, and is a table corresponding to Table0002 in FIG. 28C.
Fig. 5D is Table1003 used for arithmetic decoding of this embodiment, and is a table corresponding to Table0003 in Fig. 28D.
6 is a diagram for explaining a method of obtaining a number ctxldxlnc for deriving the probability for the luminance CBF flag of Embodiment 1 of the present invention.
7 is a flowchart showing an example of an operation flow of the luminance CBF flag encoder according to Embodiment 2 of the present invention.
8 is a block diagram showing an example of a configuration of an image encoding device according to Embodiment 2 of the present invention.
9 is an overall configuration diagram of a content supply system that realizes a content delivery service.
10 is an overall configuration diagram of a digital broadcasting system.
11 is a block diagram showing a configuration example of a television.
12 is a block diagram showing a configuration example of an information reproducing/recording unit that reads and writes information on a recording medium that is an optical disc.
13 is a diagram showing an example of the structure of a recording medium that is an optical disc.
14A is a diagram showing an example of a mobile phone.
14B is a block diagram showing a configuration example of a mobile phone.
15 is a diagram showing the configuration of multiplexed data.
16 is a diagram schematically showing how each stream is multiplexed in multiplexed data.
17 is a diagram showing in more detail how a video stream is stored in a PES packet sequence.
18 is a diagram showing the structure of a TS packet and a source packet in multiplexed data.
19 is a diagram showing the data structure of PMT.
20 is a diagram showing an internal configuration of multiplexed data information.
21 is a diagram showing the internal configuration of stream attribute information.
22 is a diagram illustrating a step of identifying image data.
23 is a block diagram showing a configuration example of an integrated circuit that realizes the video encoding method and the video decoding method of each embodiment.
24 is a diagram showing a configuration for switching the driving frequency.
25 is a diagram showing steps of identifying image data and switching driving frequencies.
26 is a diagram showing an example of a look-up table in which a standard of video data and a driving frequency are correlated.
27A is a diagram showing an example of a configuration for sharing a module of a signal processing unit.
27B is a diagram showing another example of a configuration for sharing a module of the signal processing unit.
28A is a diagram showing a correspondence between a slice type SliceType and a number of ctxldx corresponding to a probability value required for arithmetic encoding and arithmetic decoding.
28B is a table for defining a combination of ctxldx numbers 0 to 11 shown in FIG. 28A and information (m, n) necessary for determining the initial probability.
28C is a table showing the allocation of the offset value ctxldxOffset defining that the leading ctxldx is changed by the slice type.
28D is a table showing how to assign ctxldx to the number binldx indicating the turn from the beginning of the binary signal sequence.
29A is a diagram showing a method of acquiring a signal ctxldxlnc for deriving a ctxldx number for a flag including a luminance CBF flag in HEVC.
29B is a diagram illustrating a method for determining ctxldxlnc of a luminance CBF flag.
30 is a diagram showing a flow of arithmetic decoding processing of conventional context adaptation.
31 is a diagram showing a flow of arithmetic decoding processing for conventional bypass processing.
32 is a flowchart for explaining in detail the normalization process (RenormD) shown in step SC08 of FIG. 30.

(본 발명의 기초가 된 지견)(Knowledge that became the basis of the present invention)

상기의 (d)의 공정에 있어서, 현재의 영상 부호화 규격 및 현재 검토 중의 영상 부호화 규격에서는, 푸리에 변환, 양자화 후의 잔차 블록내에 정보가 있는지 여부를 나타내는 플래그를 부호화함으로써, 정보량을 더욱 삭감한다. 구체적으로는, 양자화 후의 잔차 블록내의 계수의 유무를 식별하는 플래그를 가변 길이 부호화한다.In the step (d) described above, in the current video encoding standard and the video encoding standard under consideration, the amount of information is further reduced by encoding a flag indicating whether there is information in the residual block after Fourier transform and quantization. Specifically, a flag for identifying the presence or absence of a coefficient in the residual block after quantization is variable-length coded.

또한, 현재 표준화 작업이 진행되고 있는 HEVC로 불리는 규격 후보에서는(비특허 문헌 2 참조), 이 식별 플래그를 CBF로 부르고, 휘도 신호에 대한 상기의 식별 플래그는, 휘도 CBF 플래그 cbf_luma로 불린다. 가변 길이 부호화에는, 후술하는 산술 부호화를 베이스로 한 부호화 방식(CABAC)이 있는 것이 알려져 있고, HEVC에서는, 도 28a∼도 29b에 나타내는 방법으로 정의된 파라미터를 이용하여 부호화된다.In addition, in a standard candidate called HEVC, which is currently undergoing standardization work (see non-patent document 2), this identification flag is called CBF, and the above identification flag for the luminance signal is called luminance CBF flag cbf_luma. It is known that variable length encoding is based on arithmetic encoding (CABAC) based on arithmetic encoding, which will be described later. In HEVC, encoding is performed using parameters defined by the methods shown in FIGS.

도 28a~도 28d는, HEVC에서의 휘도 CBF 플래그의 부호화를 위한 정보의 정의를 나타내는 정보군이다. 우선, 도 28a에 나타내는 Table0000에서는, 슬라이스 타입 SliceType으로 불리는 슬라이스의 종류(I/P/B)와, 산술 부호화 및 산술 복호하기 위해서 필요한 확률치에 대응하는 ctxldx의 번호의 대응을 나타내고 있다. 이는, 예를 들면 I 슬라이스의 경우에는, 휘도 CBF 플래그의 부호화 및 복호를 위해서 이용되는 ctxldx 번호는 0∼3의 4종류인 것을 나타내고 있다. 마찬가지로 P슬라이스의 경우에는 4∼7의 4종류, B슬라이스의 경우에는 8∼11의 4종류 있는 것을 나타낸다.28A to 28D are information groups showing definition of information for encoding a luminance CBF flag in HEVC. First, Table0000 shown in FIG. 28A shows the correspondence between the slice type (I/P/B) called the slice type SliceType and the number of ctxldx corresponding to a probability value required for arithmetic encoding and arithmetic decoding. This indicates that, for example, in the case of an I slice, ctxldx numbers used for encoding and decoding of the luminance CBF flag are four types of 0 to 3. Similarly, there are 4 to 4 types in the case of P slices and 4 to 8 types in case of B slices.

다음에, 도 28b에 나타내는 Table0001에서는, Table0000로 나타낸 ctxldx 번호 0∼11과, 초기 확률을 결정하기 위해서 필요한 정보(m, n)의 조합을 정의하기 위한 표이다. 또한, (m, n)을 이용하여 초기 확률을 도출하는 방법에 대해서는, 비특허 문헌 1 또는 비특허 문헌 2에 기재된 방법을 이용한다.Next, in Table0001 shown in FIG. 28B, it is a table for defining a combination of the ctxldx numbers 0 to 11 indicated by Table0000 and information (m, n) necessary to determine the initial probability. For the method of deriving the initial probability using (m, n), the method described in Non-Patent Document 1 or Non-Patent Document 2 is used.

다음에, 도 28c에 나타내는 Table0002는, 전술의 슬라이스 타입에 따라 선두의 ctxldx가 바뀌는(예로는 0, 4, 8) 것을 정의하는 오프셋치 ctxldxOffset의 할당을 나타낸 표이다.Next, Table0002 shown in FIG. 28C is a table showing the allocation of the offset value ctxldxOffset defining that the leading ctxldx is changed (for example, 0, 4, 8) according to the slice type described above.

다음에, 도 28d에 나타내는 Table0003은, 실제로 산술 부호화 및 산술 복호하는 경우에는 2진 신호열(bin)마다 ctxldx가 할당되므로, 이 2진 신호열의 선두로부터의 순서를 나타내는 번호 binldx에 대하여, 어떻게 ctxldx를 할당할지를 나타내는 표이다. 즉, 최초의 2진 신호열의 최초의 비트를 binldx=0으로 하고, 이후, 1, 2로서 정의되어 있다. 또한, 휘도 CBF 플래그는 “0” 또는 “1”을 나타내는 플래그이므로, binldx=0의 경우만 정의되어 있다. 그리고 9.3.3.1.1.1절로 정의되는 방법에서, ctxldx 번호는 0, 1, 2, 3중 어느 하나가 이용되는 것과, 슬라이스 타입에 따라 0, 4, 8이라고 하는 오프셋이 주어지는 것을 나타내고 있다. 또한, 표 중의 na는 존재하지 않는 것을 나타내는 기호이다.Next, in Table0003 shown in FIG. 28D, ctxldx is allocated for each binary signal sequence (bin) when arithmetic encoding and arithmetic decoding are performed, so how to obtain ctxldx for the number binldx indicating the order from the beginning of this binary signal sequence Table indicating whether to allocate. That is, the first bit of the first binary signal sequence is binldx=0, and is defined as 1 and 2 thereafter. In addition, since the luminance CBF flag is a flag indicating “0” or “1”, only binldx=0 is defined. And in the method defined in Section 9.3.3.1.1.1, ctxldx number indicates that any one of 0, 1, 2, and 3 is used, and offsets of 0, 4, and 8 are given according to the slice type. Note that na in the table is a symbol indicating that it does not exist.

또한, 9.3.3.1.1.1절의 내용에 대해서는, 도 29a 및 도 29b를 이용하여 상세하게 설명한다. 도 29a에 나타내는 B01는, HEVC에서의 휘도 CBF 플래그를 포함하는 플래그에 대한 ctxldx 번호의 도출을 위한 신호 ctxldxlnc를 취득하는 방법을 나타내는 부분의 비특허 문헌 2에서의 발췌 부분이다.In addition, the contents of Section 9.3.3.1.1.1 will be described in detail with reference to FIGS. 29A and 29B. B01 shown in FIG. 29A is an excerpt from Non-Patent Document 2 of a part showing a method for obtaining a signal ctxldxlnc for deriving a ctxldx number for a flag including a luminance CBF flag in HEVC.

우선, 9.3.3.1.1에는, 휘도 CBF 플래그를 포함하는 플래그는, 인접하는 블록의 결과를 이용하여 산술 부호화되는 것이 나타나 있다. 다음에, 9.3.3.1.1.1의 부분에서는, 부호화 대상의 플래그를 포함하는 블록 상에 위치하는 블록 결과와, 왼쪽에 위치하는 블록 결과에 의해서 도출되는 것에 대하여 상세가 기술되어 있다. 또한, 휘도 CBF 플래그에 대해서는, 도 29b에 나타내는 Table9-50으로 표시하는 바와 같이, 왼쪽 블록의 휘도 CBF 플래그와, 상측 블록의 휘도 CBF 플래그에 의해서, 다음과 같이 ctxldxlnc가 결정되는 것을 나타내고 있다.First, in 9.3.3.1.1, it is shown that a flag including a luminance CBF flag is arithmetic coded using the result of an adjacent block. Next, in the section of 9.3.3.1.1.1, details are described about a block result located on a block containing a flag to be encoded and a result of the block result located on the left. As for the luminance CBF flag, ctxldxlnc is determined as follows by the luminance CBF flag in the left block and the luminance CBF flag in the upper block, as indicated by Table 9-50 shown in Fig. 29B.

우선, 왼쪽 블록의 휘도 CBF 플래그가 0(혹은 존재하지 않는다) 또한 상측 블록의 휘도 CBF 플래그가 0(혹은 존재하지 않는다)인 경우, 부호화 대상의 휘도 CBF 플래그의 ctxldxlnc의 번호를 0으로 한다(케이스 1). 또한, 왼쪽 블록의 휘도 CBF 플래그가 1 또한 상측 블록의 휘도 CBF 플래그가 0(혹은 존재하지 않는다)인 경우, 부호화 대상의 휘도 CBF 플래그의 ctxldxlnc의 번호를 1로 한다(케이스 2). 또한, 왼쪽 블록의 휘도 CBF 플래그가 0(혹은 존재하지 않는다) 또한 상측 블록의 휘도 CBF 플래그가 1인 경우, 부호화 대상의 휘도 CBF 플래그의 ctxldxlnc의 번호를 2로 한다(케이스 3). 또한, 왼쪽 블록의 휘도 CBF 플래그가 1 또한 상측 블록의 휘도 CBF 플래그가 1인 경우, 부호화 대상의 휘도 CBF 플래그의 ctxldxlnc의 번호를 3으로 한다(케이스 4).First, when the luminance CBF flag of the left block is 0 (or does not exist) and the luminance CBF flag of the upper block is 0 (or does not exist), the number of ctxldxlnc of the luminance CBF flag to be encoded is set to 0 (case One). When the luminance CBF flag of the left block is 1 and the luminance CBF flag of the upper block is 0 (or does not exist), the number of ctxldxlnc of the luminance CBF flag to be coded is set to 1 (case 2). In addition, when the luminance CBF flag of the left block is 0 (or does not exist) and the luminance CBF flag of the upper block is 1, the number of ctxldxlnc of the luminance CBF flag to be coded is 2 (case 3). In addition, when the luminance CBF flag of the left block is 1 and the luminance CBF flag of the upper block is 1, the number of ctxldxlnc of the luminance CBF flag to be coded is set to 3 (case 4).

이와 같이, 주위의 휘도 CBF 플래그의 값에 따라, 부호화 대상의 휘도 CBF 플래그의 산술 부호화 및 산술 복호에 이용하기 위한 확률치 도출을 위한 ctxldxlnc를 전환하고 있다.As described above, ctxldxlnc for deriving probability values for use in arithmetic encoding and arithmetic decoding of the luminance CBF flag to be encoded is switched according to the value of the surrounding luminance CBF flag.

다음에, 전술의 식별 플래그(CBF) 등의 가변 길이 부호화에 대하여 설명한다. H.264에서는, 가변 길이 부호화 방법의 하나로서, 콘택스트 적응형 산술 부호화(CABAC:Context Adaptive Binary Arithmetic Coding)가 있다. 이 CABAC에 대해서, 도 30∼도 32를 이용하여 이하에 설명한다.Next, variable length encoding such as the above-described identification flag (CBF) will be described. In H.264, as one of the variable length coding methods, there is context adaptive arithmetic coding (CABAC). This CABAC will be described below with reference to FIGS. 30 to 32.

도 30은 전술의 종래의 콘택스트 적응의 산술 복호화 처리의 플로우를 나타내는 도면이다. 또한, 이 도면은 비특허 문헌 1에서 발췌한 것이며, 특별히 설명이 없는 한, 비특허 문헌 1에 기재된 대로이다.30 is a diagram showing the flow of the arithmetic decoding process of the conventional context adaptation described above. In addition, this figure is excerpted from the nonpatent literature 1, and is as described in the nonpatent literature 1, unless otherwise specified.

산술 복호화 처리에서는, 우선, 신호 종별에 의거하여 결정되는 콘택스트(ctxldx)가 입력된다.In the arithmetic decoding process, first, a context (ctxldx) determined based on the signal type is input.

다음에, 현시점에서의 산술 복호화 장치 내의 상태를 나타내는 파라미터 codlRange로부터, 도출되는 값 qCodlRangeldx를 산출하고, ctxldx에 대응한 상태치인 pStateldx치를 취득한다. 그리고 그 2개의 값으로 테이블(rangeTableLPS)을 참조함으로써, codlRangeLPS를 취득한다. 또한, 이 codlRangeLPS란, 산술 복호 장치 내의 상태를 나타내는 제1의 파라미터 codlRange에 대하여 LPS(심볼 0 혹은 1의 발생 확률 중 낮은 쪽의 심볼을 가리킨다)가 발생한 경우의 산술 복호 장치 내의 상태를 나타내는 파라미터가 되는 값을 나타낸다. 또한, codlRange에는, 현재의 codlRange로부터 전술의 codlRangeLPS를 뺀 값을 넣어 둔다(단계 SC01).Next, the derived value qCodlRangeldx is calculated from the parameter codlRange indicating the state in the arithmetic decoding apparatus at the present time, and a pStateldx value that is a state value corresponding to ctxldx is obtained. Then, by referring to the table (rangeTableLPS) with the two values, codlRangeLPS is obtained. In addition, this codlRangeLPS is a parameter indicating the state in the arithmetic decoding device when LPS (indicating the lower one of symbols 0 or 1 occurrence probability) with respect to the first parameter codlRange indicating the state in the arithmetic decoding device. Indicates the value to be. In addition, a value obtained by subtracting the above-described codlRangeLPS from the current codlRange is put in the codlRange (step SC01).

다음에, 산출한 codlRange와, 산술 복호 장치 내의 상태를 나타내는 제2의 파라미터 codlOffset를 비교한다(단계 SC02). 그리고 codlOffset가 codlRange와 같거나, 혹은 codlRange보다 큰 경우에는(SC02에서 YES), LPS의 심볼이 발생했다고 판단하고, 복호 출력치인 binVal에, valMPS(MPS<심볼 0 혹은 1의 발생 확률 중 높은 쪽의 심볼을 가리킨다>의 구체적인 값(0 혹은 1))과 상이한 값(valMPM=1인 경우는 0, valMPM=0인 경우는 1)을 세트한다.Next, the calculated codlRange is compared with the second parameter codlOffset indicating the state in the arithmetic decoding apparatus (step SC02). And when codlOffset is equal to or greater than codlRange (YES in SC02), it is determined that a symbol of LPS has occurred, and in the decoded output value binVal, valMPS (the higher one of the probability of occurrence of MPS<symbol 0 or 1) Set a value (0 if valMPM=1, 1 if valMPM=0) and a value different from the specific value (0 or 1) of Pointing Symbol>.

또한, 산술 복호 장치 내의 상태를 나타내는 제2의 파라미터 codlOffset에는, codlRange를 뺀 값을 세트한다. 또한, 산술 복호 장치 내의 상태를 나타내는 제1의 파라미터 codlRange에는, LPS가 발생했기 때문에, 단계 SC01에서 산출한 codlRangeLPS의 값을 세트한다(단계 SC03).In addition, a value obtained by subtracting codlRange is set to the second parameter codlOffset indicating the state in the arithmetic decoding apparatus. In addition, since LPS is generated in the first parameter codlRange indicating the state in the arithmetic decoding apparatus, the value of codlRangeLPS calculated in step SC01 is set (step SC03).

또한, 여기서 전술의 ctxldx에 대응한 상태치인 pStateldx치가 0인 경우(단계 SC05에서 YES), LPS의 확률이 MPS의 확률을 웃도는 경우를 나타내므로, valMPM를 교체한다(valMPM=1인 경우는 0, valMPM=0인 경우는 1)(단계 SC06). 한편, pStateldx치가 0인 경우(단계 SC05에서 NO), pStateldx치를 LPS가 발생한 경우의 변환 테이블 transldxLPS에 의거하여 갱신한다(단계 SC07).In addition, when the pStateldx value corresponding to the ctxldx described above is 0 (YES in step SC05), since the probability of the LPS exceeds the probability of the MPS, the valMPM is replaced (0 when valMPM=1, When valMPM=0, 1) (step SC06). On the other hand, when the pStateldx value is 0 (NO in step SC05), the pStateldx value is updated based on the conversion table transldxLPS when LPS occurs (step SC07).

또한, codlOffset가 작은 경우에는(SC02에서 NO), MPS의 심볼이 발생했다고 판단하고, 복호 출력치인 binVal에 valMPS를 세트하고, pStateldx치를 MPS가 발생한 경우의 변환 테이블 transldxMPS에 의거하여 갱신한다(단계 SC04).When the codlOffset is small (NO in SC02), it is determined that a symbol of MPS has occurred, sets valMPS in the binVal which is the decoded output value, and updates the pStateldx value based on the conversion table transldxMPS when MPS occurs (step SC04) ).

마지막으로, 정규화 처리(RenormD)를 행하여(단계 SC08), 산술 복호 처리를 종료한다.Finally, normalization processing (RenormD) is performed (step SC08) to end the arithmetic decoding processing.

이와 같이 콘택스트 적응 산술 복호화 처리에서는, 2진 심볼의 발생 확률인 심볼 발생 확률을 콘택스트 인덱스에 대응시켜 복수 유지하고, 조건에 따라(예를 들면 인접 블록의 값을 참조) 전환하므로, 처리의 순서를 유지할 필요가 있다.As described above, in the context adaptive arithmetic decoding process, a plurality of symbol occurrence probability, which is a probability of occurrence of a binary symbol, is maintained in correspondence with a context index, and switched according to conditions (for example, referring to values of adjacent blocks). You need to keep order.

도 31은 전술의 종래의 바이패스 처리용 산술 복호화 처리의 플로우를 나타내는 도면이다. 또한, 이 도면은 비특허 문헌 1에서 발췌된 것이며, 특별히 설명이 없는 한, 비특허 문헌 1에 기재한 대로이다.Fig. 31 is a diagram showing the flow of the arithmetic decoding process for the conventional bypass processing described above. In addition, this figure is taken from the nonpatent literature 1, and it is as described in the nonpatent literature 1, unless there is a specific explanation.

우선, 현 시점에서의 산술 복호화 장치 내의 상태를 나타내는 제2의 파라미터 codlOffset를 왼쪽 시프트(2배)하고, 비트 스트림으로부터 1비트 독출하여, 그 독출 비트가 1이면, 다시 +1, 0이면 그대로(2배)의 값을 세트한다(SD01).First, the second parameter codlOffset indicating the state in the arithmetic decoding apparatus at the present time point is shifted left (twice), and 1 bit is read from the bit stream, and if the read bit is 1, it is +1, again if it is 0 (2) Times) is set (SD01).

다음에, codlOffset가 산술 복호화 장치 내의 상태를 나타내는 제1의 파라미터 codlRange와 동일하거나, 혹은 큰 경우에는(SD02에서 YES), 복호 출력치인 binVal에 “1”을 세트하고, codlOffset에 codlRange를 뺀 값을 세트한다(단계 SD03). 한편, codlOffset가 산술 복호화 장치내의 상태를 나타내는 제1의 파라미터 codlRange보다 작은 경우에는(SD02에서 NO), 복호 출력치인 binVal에 “0”을 세트한다(단계 SD04).Next, when codlOffset is equal to or greater than the first parameter codlRange indicating the state in the arithmetic decoding apparatus (YES in SD02), “1” is set to binVal, which is a decoded output value, and codlOffset is subtracted from codlRange. Set (step SD03). On the other hand, when codlOffset is smaller than the first parameter codlRange indicating the state in the arithmetic decoding apparatus (NO in SD02), “0” is set to binVal as the decoded output value (step SD04).

도 32는, 도 30의 단계 SC08에서 나타낸 정규화 처리(RenormD)를 상세하게 설명하기 위한 플로우차트이다. 이 도면은 비특허 문헌 1에서 발췌한 것이며, 특별히 설명이 없는 한, 비특허 문헌 1에 기재한 대로이다.32 is a flowchart for explaining in detail the normalization process (RenormD) shown in step SC08 of FIG. 30. This drawing is taken from non-patent document 1, and is as described in non-patent document 1, unless otherwise specified.

산술 복호 처리에서 산술 복호화 장치 내의 상태를 나타내는 제1의 파라미터 codlRange가 Ox100(16진(進):256(10진))보다 작아진 경우에는(단계 SE01에서 YES), codlRange를 왼쪽 시프트(2배)하고, 산술 복호화 장치 내의 상태를 나타내는 제2의 파라미터 codlOffset를 왼쪽 시프트(2배)하고, 비트 스트림으로부터 1비트 독출하여, 그 독출 비트가 1이면, 다시 +1, 0이면 그대로(2배)의 값을 세트한다(SE02). 이 처리는, 최종적으로 codlRange가 256 이상으로 된 단계에서(단계 SE01에서 NO), 종료한다.When the first parameter codlRange indicating the state in the arithmetic decoding apparatus in arithmetic decoding processing is smaller than Ox100 (hexadecimal: 256 (decimal)) (YES in step SE01), the codlRange is shifted left (2 times) ), left shift (twice) the second parameter codlOffset indicating the state in the arithmetic decoding apparatus, read one bit from the bit stream, and if the read bit is 1, again +1, if it is 0, it is the same (twice). The value is set (SE02). This process ends at the stage where the codlRange is 256 or more (NO in step SE01) finally.

상기의 처리를 행함으로써, 산술 복호를 행한다.Arithmetic decoding is performed by performing the above process.

그러나 종래, 휘도 CBF 플래그의 산술 부호화 및 산술 복호를 위해서는, 상측 및 좌측에 인접하는 블록의 결과에 따라, 확률치를 바꿀 필요가 있다. 이 때문에, 산술 부호화 또는 산술 복호를 위해서는, 좌측 및 상측에 인접하는 블록의 휘도 CBF 플래그의 결과를 기록해 둘 필요가 있다. 이 때문에, 입력 영상의 해상도가 큰 경우에, 휘도 CBF 플래그의 결과를 보존해 두기 위한 메모리를 방대하게 준비해 둘 필요가 있다는 과제가 있다.However, conventionally, for arithmetic coding and arithmetic decoding of the luminance CBF flag, it is necessary to change the probability value according to the result of blocks adjacent to the upper and left sides. For this reason, for arithmetic encoding or arithmetic decoding, it is necessary to record the results of the luminance CBF flags of blocks adjacent to the left and upper sides. For this reason, there is a problem in that, when the resolution of the input video is large, it is necessary to prepare a large amount of memory for storing the result of the luminance CBF flag.

상기의 과제를 해결하기 위해서 본 발명의 일형태에 관련된 동화상 부호화 방법은, 동화상 신호를 제1의 처리 단위마다 부호화하는 방법이다. 구체적으로는, 동화상 부호화 방법은, 상기 제1의 처리 단위에 1개 이상 포함되는 제2의 처리 단위마다, 공간 영역의 상기 동화상 신호를 주파수 영역의 계수로 변환하는 처리와, 상기 주파수 영역의 계수를 양자화하는 처리를 포함하는 변환·양자화 단계와, 상기 변환·양자화 단계가 실행된 상기 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 부호화하는 산술 부호화 단계를 포함한다. 그리고, 상기 산술 부호화 단계에서는, 상기 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부, 및 상기 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라, 산술 부호화에 이용하는 확률 테이블을 결정한다.In order to solve the above problems, a moving picture encoding method according to an embodiment of the present invention is a method of encoding a moving picture signal for each first processing unit. Specifically, the video encoding method includes processing for converting the video signal in the spatial domain into coefficients in the frequency domain for each second processing unit included in one or more in the first processing unit, and the coefficients in the frequency domain And a transform/quantization step including a process of quantizing, and an arithmetic coding step of performing arithmetic coding on a luminance CBF flag indicating whether a quantization coefficient is included in the second processing unit in which the transform/quantization step has been performed. . Then, in the arithmetic encoding step, a probability table used for arithmetic encoding is determined according to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size. .

상기 구성에 의하면, 휘도 CBF 플래그를 산술 부호화하기 위한 확률치를, 주변 블록의 휘도 CBF 플래그의 값에 의존하지 않고 결정할 수 있으므로, 휘도 CBF 플래그를 유지하는 메모리 용량을 대폭 삭감해도, 높은 부호화 효율을 유지할 수 있다.According to the above configuration, since the probability value for arithmetic encoding the luminance CBF flag can be determined without depending on the value of the luminance CBF flag of the neighboring block, even if the memory capacity for holding the luminance CBF flag is significantly reduced, high encoding efficiency is maintained. Can.

또한, 상기 산술 부호화 단계에서는, 상기 제1의 처리 단위가 속하는 슬라이스의 종별에 따라, 산술 부호화에 이용하는 확률 테이블을 결정한다.In addition, in the arithmetic encoding step, a probability table used for arithmetic encoding is determined according to the type of the slice to which the first processing unit belongs.

일예로서, 상기 제1의 처리 단위는 부호화 블록이어도 된다. 또한, 상기 제2의 처리 단위는 변환 블록이어도 된다.As an example, the first processing unit may be an encoding block. Further, the second processing unit may be a conversion block.

또한, 상기 동화상 부호화 방법은, 제1 규격에 준거한 부호화 처리와, 제2 규격에 준거한 부호화 처리를 전환하고, 상기 제1 규격에 준거한 부호화 처리로서, 상기 변환·양자화 단계와, 상기 산술 부호화 단계를 실행하고, 또한 부호화 처리의 규격을 나타내는 식별자를 부호화해도 된다.In addition, the moving picture encoding method is a coding process that conforms to the first standard and a coding process that conforms to the second standard, and is an encoding process that conforms to the first standard, wherein the conversion and quantization steps and the arithmetic are performed. An encoding step may be performed, and an identifier indicating the standard of the encoding process may be encoded.

본 발명의 일형태에 관련된 동화상 복호 방법은, 부호화된 동화상 신호를 제1의 처리 단위마다 복호하는 방법이다. 구체적으로는, 동화상 복호 방법은, 상기 제1의 처리 단위에 1개이상 포함되는 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 복호하는 산술 복호 단계와, 상기 산술 복호 단계에서 복호된 상기 휘도 CBF 플래그가 상기 제2의 처리 단위에 양자화 계수가 포함되어 있는 것을 나타내는 경우에, 상기 제2의 처리 단위의 양자화 계수를 이용하여 동화상 신호를 복원하는 복원 단계를 포함한다. 그리고, 상기 산술 복호 단계에서는, 상기 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부, 및 상기 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라, 산술 복호에 이용하는 확률 테이블을 결정한다.A moving picture decoding method according to an embodiment of the present invention is a method of decoding an encoded moving picture signal for each first processing unit. Specifically, the video decoding method includes an arithmetic decoding step of arithmetic decoding a luminance CBF flag indicating whether a quantization coefficient is included in a second processing unit included in one or more of the first processing units, and the arithmetic And restoring a moving picture signal using the quantization coefficient of the second processing unit when the luminance CBF flag decoded in the decoding step indicates that the second processing unit includes a quantization coefficient. . Then, in the arithmetic decoding step, a probability table used for arithmetic decoding is determined according to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size. .

또한, 상기 산술 복호 단계에서는, 상기 제1의 처리 단위가 속하는 슬라이스의 종별에 따라, 산술 복호에 이용하는 확률 테이블을 결정한다.Further, in the arithmetic decoding step, a probability table used for arithmetic decoding is determined according to the type of the slice to which the first processing unit belongs.

일예로서, 상기 제1의 처리 단위는 부호화 블록이어도 된다. 또한, 상기 제2의 처리 단위는, 변환 블록이어도 된다.As an example, the first processing unit may be an encoding block. Further, the second processing unit may be a conversion block.

또한, 상기 동화상 복호 방법은, 부호화 신호에 포함되는, 제1 규격 또는 제2 규격을 나타내는 식별자에 따라, 상기 제1 규격에 준거한 복호 처리와, 상기 제2 규격에 준거한 복호 처리를 전환하고, 상기 식별자가 제1 규격을 나타내는 경우에, 상기 제1 규격에 준거한 복호 처리로 하여, 상기 산술 복호 단계와, 상기 복원 단계를 행해도 된다.Further, the video decoding method switches between decoding processing conforming to the first standard and decoding processing conforming to the second standard according to an identifier indicating a first standard or a second standard included in an encoded signal. In the case where the identifier indicates the first standard, the arithmetic decoding step and the restoring step may be performed as decoding processing conforming to the first standard.

본 발명의 일형태에 관련된 동화상 부호화 장치는, 동화상 신호를 제1의 처리 단위마다 부호화한다. 구체적으로는, 동화상 부호화 장치는, 상기 제1의 처리 단위에 1개 이상 포함되는 제2의 처리 단위마다, 공간 영역의 상기 동화상 신호를 주파수 영역의 계수로 변환하는 처리와, 상기 주파수 영역의 계수를 양자화하는 처리를 포함하는 변환·양자화부와, 상기 변환·양자화부에서 처리된 상기 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 부호화하는 산술 부호화부를 구비한다. 그리고 상기 산술 부호화부는, 상기 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부 및 상기 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라, 산술 부호화에 이용하는 확률 테이블을 결정한다.The video encoding apparatus according to one embodiment of the present invention encodes a video signal for each first processing unit. Specifically, the video encoding apparatus includes processing for converting the video signal in the spatial domain into coefficients in the frequency domain for each second processing unit included in one or more of the first processing units, and the coefficients in the frequency domain And a transform/quantizer including quantization processing, and an arithmetic encoding unit for arithmetic encoding a luminance CBF flag indicating whether a quantization coefficient is included in the second processing unit processed by the transform/quantization unit. The arithmetic coding unit determines a probability table used for arithmetic coding according to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size.

본 발명의 일형태에 관련된 동화상 복호 장치는, 부호화된 동화상 신호를 제1의 처리 단위마다 복호한다. 구체적으로는, 동화상 복호 장치는, 상기 제1의 처리 단위에 1개 이상 포함되는 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 복호하는 산술 복호부와, 상기 산술 복호부에서 처리된 상기 휘도 CBF 플래그가 상기 제2의 처리 단위에 양자화 계수가 포함되어 있는 것을 나타내는 경우에, 상기 제2의 처리 단위의 양자화 계수를 이용하여 동화상 신호를 복원하는 복원부를 구비한다. 그리고 상기 산술 복호부는, 상기 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부, 및 상기 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라, 산술 복호에 이용하는 확률 테이블을 결정한다.The moving picture decoding apparatus according to one embodiment of the present invention decodes the encoded moving picture signal for each first processing unit. Specifically, the moving picture decoding apparatus includes an arithmetic decoding unit for arithmetic decoding the luminance CBF flag indicating whether a quantization coefficient is included in the second processing unit included in one or more of the first processing units, and the arithmetic When the luminance CBF flag processed by the decoding unit indicates that a quantization coefficient is included in the second processing unit, a restoration unit for restoring a video signal using the quantization coefficient of the second processing unit is provided. The arithmetic decoding unit determines a probability table used for arithmetic decoding according to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size.

본 발명의 일형태에 관련된 동화상 부호화 복호 장치는, 상기 기재의 동화상 부호화 장치와, 상기 기재의 동화상 복호 장치를 구비한다.The moving picture encoding/decoding device according to one embodiment of the present invention includes the moving picture encoding device described above and the moving picture decoding device described above.

또한, 이들 전반적 또는 구체적인 양태는, 시스템, 방법, 집적 회로, 컴퓨터 프로그램 또는 기록 매체로 실현되어도 되고, 시스템, 방법, 집적 회로, 컴퓨터 프로그램 및 기록 매체의 임의인 조합으로 실현되어도 된다.Moreover, these general or specific aspects may be realized by a system, a method, an integrated circuit, a computer program or a recording medium, or may be realized by any combination of a system, a method, an integrated circuit, a computer program and a recording medium.

이하, 본 발명의 실시의 형태에 대하여, 도면을 이용하여 상세하게 설명한다. 또한, 이하에서 설명하는 실시의 형태는, 모두 본 발명의 바람직한 하나의 구체적인 예를 나타낸다. 즉, 이하의 실시의 형태에서 나타내는 수치, 형상, 재료, 구성 요소, 구성 요소의 배치 및 접속 형태, 단계, 단계의 순서 등은, 본 발명의 일례이며, 본 발명을 한정하는 주지는 아니다. 본 발명은, 청구의 범위의 기재에 의해서 한정된다. 따라서, 이하의 실시의 형태에 있어서의 구성 요소 중, 본 발명의 최상위 개념을 나타내는 독립 청구항에 기재되지 않은 구성 요소는, 본 발명의 과제를 달성하기 위해서 반드시 필요하지 않지만, 더욱 바람직한 형태를 설명하기 위해서 기재된다.EMBODIMENT OF THE INVENTION Hereinafter, embodiment of this invention is described in detail using drawing. In addition, the embodiment demonstrated below shows all the specific preferable example of this invention. In other words, the numerical values, shapes, materials, components, arrangement and connection forms, steps, sequence of steps, etc. shown in the following embodiments are examples of the present invention and do not limit the present invention. The present invention is limited by the scope of the claims. Therefore, among the components in the following embodiments, components not described in the independent claims showing the highest concept of the present invention are not necessary to achieve the problems of the present invention, but more preferable embodiments will be described. It is written for.

(실시의 형태 1)(Embodiment 1)

실시의 형태 1에 관련된 동화상 복호 장치는, 부호화된 동화상 신호를 제1의 처리 단위마다 복호한다. 이 때문에 동화상 복호 장치는, 제1의 처리 단위에 1개 이상 포함되는 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 복호하는 산술 복호부와, 산술 복호부에서 복호된 휘도 CBF 플래그가 제2의 처리 단위에 양자화 계수가 포함되어 있는 것을 나타내는 경우에, 당해 제2의 처리 단위의 양자화 계수를 이용하여 동화상 신호를 복원하는 복원부를 구비한다.The moving picture decoding apparatus according to the first embodiment decodes the encoded moving picture signal for each first processing unit. For this reason, the moving picture decoding apparatus decodes the arithmetic decoding unit for arithmetic decoding the luminance CBF flag indicating whether a quantization coefficient is included in the second processing unit included in one or more of the first processing unit, and the arithmetic decoding unit When the luminance CBF flag indicates that the quantization coefficient is included in the second processing unit, a restoration unit for restoring a video signal using the quantization coefficient of the second processing unit is provided.

그리고 산술 복호부는, 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부, 및 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라, 휘도 CBF 플래그의 산술 복호에 이용하는 확률 테이블을 결정한다. 산술 복호부는, 또한, 제1의 처리 단위가 속하는 슬라이스의 종별(I 슬라이스/P 슬라이스/B 슬라이스)에 따라, 산술 복호에 이용하는 확률 테이블을 결정해도 된다. 또한, 「확률 테이블을 결정한다」란, 예를 들면, 「콘택스트를 전환한다」로 바꾸어 말할 수 있다.The arithmetic decoding unit determines a probability table used for arithmetic decoding of the luminance CBF flag according to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size. The arithmetic decoding unit may further determine a probability table used for arithmetic decoding according to the type of the slice (I slice/P slice/B slice) to which the first processing unit belongs. In addition, the phrase "determining the probability table" can be replaced with, for example, "switching the context."

동화상 복호 장치에 입력되는 동화상은, 복수의 픽쳐에 의해서 구성된다. 또한, 픽쳐는, 복수의 슬라이스로 분할된다. 그리고 슬라이스에는, 후술하는 처리 단위마다 부호화 및 복호된다. 처리 단위에는, 부호화 단위(CU)와 예측 단위(PU)와 변환 단위(TU)가 있다. CU는, 최대 128×128화소로 이루어지는 블록이며, 종래의 매크로 블록에 상당하는 단위이다. PU는 화면간 예측의 기본 단위이다. TU는 직교 변환의 기본 단위이며, 그 TU의 사이즈는 CU와 같거나, CU보다도 작다. 이하, 부호화 단위를 부호화 블록, 변환 단위를 변환 블록으로 표기하기도 한다.The moving image input to the moving image decoding apparatus is composed of a plurality of pictures. Further, the picture is divided into a plurality of slices. The slices are encoded and decoded for each processing unit described later. The processing unit includes a coding unit (CU), a prediction unit (PU), and a transformation unit (TU). A CU is a block made up of 128 x 128 pixels, and is a unit equivalent to a conventional macro block. PU is a basic unit of inter prediction. The TU is a basic unit of orthogonal transformation, and the size of the TU is equal to or smaller than the CU. Hereinafter, the coding unit is referred to as an encoding block and a transformation unit is referred to as a transformation block.

본 실시의 형태에 있어서의 제1의 처리 단위는, 예를 들면, 부호화 블록(CU)이다. 또한, 본 실시의 형태에 있어서의 제2의 처리 단위는, 예를 들면, 변환 블록(TU)이다. 그리고, 휘도 CBF 플래그는, 각 변환 블록에 1개씩 존재하고, 당해 변환 블록 내에 양자화 계수가 존재하는지 여부를 나타낸다. 또한, 「변환 블록 내에 양자화 계수가 존재하는지 여부」란, 부호화해야 할 양자화 계수가 존재하는지 여부로 바꾸어 말할 수 있다. 또한, 변환 블록 내에 비제로 계수(값이 제로가 아닌 계수)가 존재하는지 여부로 바꾸어 말할 수도 있다.The first processing unit in the present embodiment is, for example, an encoding block (CU). In addition, the second processing unit in the present embodiment is, for example, a conversion block (TU). Then, one luminance CBF flag exists in each transform block, and indicates whether a quantization coefficient is present in the transform block. In addition, "whether or not a quantization coefficient exists in a transform block" can be replaced with whether or not a quantization coefficient to be encoded exists. It is also possible to switch to whether or not a non-zero coefficient (coefficient whose value is non-zero) exists in the transform block.

도 1은, 본 발명의 실시의 형태 1에 관련된 휘도 CBF 플래그 복호화부를 포함하는 복호 장치의 기능 구성을 나타내는 블록도이다.1 is a block diagram showing a functional configuration of a decoding apparatus including a luminance CBF flag decoder according to Embodiment 1 of the present invention.

본 실시의 형태에 관련된 복호 장치(100)는, 도 1에 나타내는 바와 같이, 휘도 CBF 복호부(101)와, 제어부(102)와, 스위치(103)와, 잔차 계수 복호부(104)와, 잔차 신호 복원부(105)와, 가산부(106)를 구비한다. 이 복호 장치(100)는, 복호 위치 정보(POS)와, 취득하는 비트 스트림(BS)으로부터 휘도 CBF 플래그를 복원하고, 예측 화상 신호(PRED)로부터 복호 화상 신호(OUT)를 출력한다.As shown in Fig. 1, the decoding apparatus 100 according to the present embodiment includes a luminance CBF decoding unit 101, a control unit 102, a switch 103, a residual coefficient decoding unit 104, and A residual signal restoration unit 105 and an addition unit 106 are provided. The decoding apparatus 100 restores the luminance CBF flag from the decoding position information (POS) and the acquired bit stream (BS), and outputs the decoded image signal (OUT) from the predicted image signal (PRED).

본 실시의 형태의 휘도 CBF 복호부(101)의 동작에 대해서, 도 2를 이용하여 상세하게 설명한다. 도 2는, 본 발명의 휘도 CBF 복호부(101)의 동작 흐름의 일례를 나타내는 플로우차트이다.The operation of the luminance CBF decoding unit 101 of this embodiment will be described in detail with reference to FIG. 2. 2 is a flowchart showing an example of the operation flow of the luminance CBF decoding unit 101 of the present invention.

우선, 휘도 CBF 복호부(101)는, 대상이 되는 비트 스트림(BS)을 취득한다. 또한, 제어부(102)는, 복호 대상이 되는 휘도 CBF 플래그가 부호화 블록 및 변환 계수의 사이즈로서, 어느 위치에 있는지를 나타내는 정보(POS)를 취득하여, 휘도 CBF 복호부(101)에 대하여 출력한다.First, the luminance CBF decoding unit 101 acquires the target bit stream BS. In addition, the control unit 102 obtains information (POS) indicating where the luminance CBF flag to be decoded is the size of the coding block and the transform coefficient, and outputs it to the luminance CBF decoding unit 101. .

다음에, 휘도 CBF 복호부(101)는, 제어부(102)에서 얻은 정보로부터, (i) 복호 대상의 휘도 CBF 플래그가 나타내는 변환 블록이 부호화 블록의 사이즈와 동일하거나, 혹은 (ii) 변환 블록의 사이즈가 변환 블록의 최대 사이즈와 동일한지를 판단한다(S201). 또한, 변환 블록의 최대 사이즈를 특정하는 정보는, 예를 들면, 비트 스트림 중에 포함되어 있다.Next, from the information obtained from the control unit 102, the luminance CBF decoding unit 101, (i) the transform block indicated by the luminance CBF flag to be decoded is the same as the size of the encoding block, or (ii) the transform block It is determined whether the size is the same as the maximum size of the conversion block (S201). In addition, the information specifying the maximum size of the transform block is included in, for example, a bit stream.

상기의 (i) 및 (ii)중 적어도 한쪽을 만족하는 경우(S201에서 YES), 산술 복호에 이용하는 확률 정보를 규정하기 위한 번호 ctxldxlnc를 1에 세트한다(S203). 한편, 상기의 (i) 및 (ii)중 어느 것도 만족하지 않는 경우(S201에서 NO), 산술 복호에 이용하는 확률 정보를 규정하기 위한 번호 ctxldxlnc를 0에 세트한다(S202). 또한, ctxldxlnc로 설정되는 값은, 단계 S202, S203의 예에 한정되지 않는다. 즉, 단계 S202, S203에서 상이한 값이 설정되면 된다. 단, 부호화측과 복호측에서 공통의 값을 설정할 필요는 있다.When at least one of (i) and (ii) above is satisfied (YES in S201), a number ctxldxlnc for specifying probability information used for arithmetic decoding is set to 1 (S203). On the other hand, if none of the above (i) and (ii) is satisfied (NO in S201), the number ctxldxlnc for specifying probability information used for arithmetic decoding is set to 0 (S202). In addition, the value set by ctxldxlnc is not limited to the examples of steps S202 and S203. That is, different values may be set in steps S202 and S203. However, it is necessary to set common values on the encoding side and the decoding side.

다음에, 단계 S202, S203에서 얻어진 확률 정보를 규정하기 위한 번호 ctxldxlnc와, 미리 슬라이스마다 규정된 오프셋치(후술의 도 5a∼도 5d 참조)를 더함으로써 얻어지는 ctxldx에 대응하는 확률치를 취득하고, 대상이 되는 휘도 CBF 플래그의 산술 복호 처리를 행한다(S204). 이에 따라, 휘도 CBF 플래그를 취득한다.Next, a probability value corresponding to ctxldx obtained by adding the number ctxldxlnc for specifying the probability information obtained in steps S202 and S203 and an offset value defined for each slice in advance (see FIGS. 5A to 5D below) is acquired, and the target Arithmetic decoding processing of the luminance CBF flag to be performed is performed (S204). Thereby, the luminance CBF flag is acquired.

다음에, 단계 S204에서 얻어진 휘도 CBF 플래그는 제어부(102)에 대하여 출력되고, 스위치(103)의 제어에 이용된다. 휘도 CBF 플래그가 “계수 없음”을 나타내는 경우(예를 들면 0), 스위치(103)는 단자(B)에 접속된다. 즉, 변환 블록 내에 변환 계수가 없기 때문에, 예측 화상 신호(PRED)에 대하여 더하는 잔차 신호가 없고, 예측 화상 신호(PRED)가 복호 화상 신호(OUT)로서 출력된다.Next, the luminance CBF flag obtained in step S204 is output to the control unit 102, and is used for control of the switch 103. When the luminance CBF flag indicates "no coefficient" (for example, 0), the switch 103 is connected to the terminal B. That is, since there is no transform coefficient in the transform block, there is no residual signal added to the predicted image signal PRED, and the predicted image signal PRED is output as the decoded image signal OUT.

한편, 휘도 CBF 플래그가 “계수 유”를 나타내는 경우(예를 들면 1), 스위치(103)는 단자(A)에 접속된다. 이 경우, 비트 스트림(BS)에 포함되는 잔차 계수 신호를 잔차 계수 복호부(104)에서 복호하고, 잔차 신호 복원부(105)에서 역양자화 및 역변환함으로써 얻어지는 잔차 신호와, 예측 화상 신호(PRED)가 가산부(106)에서 가산되어, 복호 화상 신호(OUT)로서 출력된다. 이에 따라, 휘도 CBF 플래그를 이용하여, 비트 스트림(BS)으로부터 복호 화상 신호(OUT)를 올바르게 출력할 수 있다.On the other hand, when the luminance CBF flag indicates "coefficient existence" (for example 1), the switch 103 is connected to the terminal A. In this case, the residual coefficient signal included in the bit stream BS is decoded by the residual coefficient decoding unit 104, the residual signal obtained by inverse quantization and inverse transform by the residual signal restoration unit 105, and the predicted image signal PRED Is added by the addition unit 106 and output as a decoded image signal OUT. Accordingly, the decoded image signal OUT can be correctly output from the bit stream BS using the luminance CBF flag.

즉, 도 1에 나타내는 휘도 CBF 복호부(101) 및 제어부(102)는, 예를 들면, 본 실시의 형태에 관련된 산술 복호부에 상당한다. 또한, 도 1에 나타내는 스위치(103), 잔차 계수 복호부(104), 및 잔차 신호 복원부(105)는, 본 실시의 형태에 관련된 복원부에 상당한다. 단, 상기의 대응 관계에 한정되지 않는다.That is, the luminance CBF decoding unit 101 and the control unit 102 shown in Fig. 1 correspond to, for example, the arithmetic decoding unit according to the present embodiment. Note that the switch 103 shown in Fig. 1, the residual coefficient decoding unit 104, and the residual signal restoration unit 105 correspond to the restoration unit according to this embodiment. However, it is not limited to the above correspondence relationship.

도 3은, 도 2의 단계 S201에서 나타낸 조건을 설명하기 위한 모식도이다. 굵은 프레임으로 표시한 블록(301∼306)은 부호화 블록을 나타낸다. 또한, 블록(301, 302)을 더욱 작게 분할한 블록이 변환 블록을 나타낸다.FIG. 3 is a schematic diagram for explaining the conditions shown in step S201 in FIG. 2. Blocks 301 to 306 indicated by bold frames indicate coding blocks. In addition, a block in which the blocks 301 and 302 are further divided is a transform block.

변환 블록의 사이즈는, 부호화 블록의 사이즈와 같거나 혹은 부호화 블록보다 작다고 규정되어 있다. 또한, 이 설명에서는, 블록(301, 302)의 사이즈가 부호화 블록의 최대 사이즈(64화소×64화소)이며, 변환 블록의 최대 사이즈는 블록(301, 302)보다 1계층 작은 사이즈(32화소×32화소)로 규정되어 있는 경우에 대하여 설명한다. 또한, 변환 사이즈의 최대 사이즈는, 예를 들면 슬라이스의 헤더 정보에 기재되어 있는 정보에 따라 바뀐다.It is prescribed that the size of the transform block is equal to or smaller than the size of the coding block. In addition, in this description, the sizes of the blocks 301 and 302 are the maximum size of the encoded block (64 pixels x 64 pixels), and the maximum size of the transform block is one layer smaller than the blocks 301 and 302 (32 pixels × 32 pixels) will be described. In addition, the maximum size of the conversion size is changed according to information described in the header information of the slice, for example.

또한, 본 발명은 변환 블록의 사이즈에 관계없이 일정한 조건(단계 S201)에 의해 확률 테이블을 전환하고, 주위의 블록의 결과에 의존하지 않는 것을 특징으로 하므로, 변환 블록의 최대 사이즈가 바뀐 경우라도 본 발명의 효과(메모리량 삭감)를 실현할 수 있다.In addition, the present invention is characterized in that the probability table is switched under a certain condition (step S201) regardless of the size of the transform block, and does not depend on the result of the surrounding block. The effect of the invention (reducing the amount of memory) can be realized.

여기에서는 우선, 블록(301)을 부호화 블록으로 한 경우에 대하여 설명한다.Here, first, the case where the block 301 is used as an encoding block will be described.

우선, 블록(301)을 4분할하여 얻어지는 제1계층(32화소×32화소)의 소블록이 변환 블록인 경우, 제1 계층의 소블록에 대응된 휘도 CBF 플래그(311)가 복호된다. 이 휘도 CBF 플래그(311)가 계수없음을 나타내는 경우에는, 제1 계층의 소블록에 변환 계수가 포함되지 않게 된다. 이 때문에, 이보다 작은 블록에 대응된 휘도 CBF 플래그(312, 313)는 복호되지 않는다. 또한, 휘도 CBF 플래그(311)가 복호되는 경우, 제1계층의 소블록은 변환 블록의 최대 사이즈가 되므로(도 2의 S201에서 YES), 당해 휘도 CBF 플래그의 산술 복호에 이용되는 확률 테이블을 나타내는 번호로는 ctxldxlnc=1을 이용한다(도 2의 S203).First, when the small block of the first layer (32 pixels x 32 pixels) obtained by dividing the block 301 into four blocks is a transform block, the luminance CBF flag 311 corresponding to the small block of the first layer is decoded. When the luminance CBF flag 311 indicates no coefficient, the transform coefficient is not included in the small block of the first layer. For this reason, luminance CBF flags 312 and 313 corresponding to blocks smaller than this are not decoded. Also, when the luminance CBF flag 311 is decoded, the small block of the first layer becomes the maximum size of the transform block (YES in S201 in FIG. 2), and thus represents a probability table used for arithmetic decoding of the luminance CBF flag. As the number, ctxldxlnc=1 is used (S203 in FIG. 2).

한편, 제1 계층의 소블록을 4분할하여 얻어지는 제2 계층(16화소×16화소)의 소블록이 변환 블록인 경우, 이 제2 계층의 소블록에 대응된 휘도 CBF 플래그(312)가 복호된다. 또한, 제2계층의 소블록을 다시 4분할하여 얻어지는 제3계층(8화소×8화소)의 소블록이 변환 블록인 경우, 이 제3 계층의 소블록에 대응된 휘도 CBF 플래그(313)가 복호된다. 이러한 경우에, 상기 휘도 CBF 플래그의 산술 복호에 이용되는 확률 테이블을 나타내는 번호로는 ctxldxlnc=0을 이용하게 된다(도 2의 S202).On the other hand, when the small block of the second layer (16 pixels x 16 pixels) obtained by dividing the small block of the first layer into a transform block is a transform block, the luminance CBF flag 312 corresponding to the small block of the second layer is decoded. do. In addition, when the small block of the third layer (8 pixels × 8 pixels) obtained by dividing the small block of the second layer again into a transform block, the luminance CBF flag 313 corresponding to the small block of the third layer is Decrypted. In this case, ctxldxlnc=0 is used as a number indicating a probability table used for arithmetic decoding of the luminance CBF flag (S202 in FIG. 2).

또한, 블록(302)의 제1 계층의 소블록에 대응된 휘도 CBF 플래그(도시 생략)가 복호되는 경우에는, 확률 테이블을 나타내는 번호로는 ctxldxlnc=1을 이용하고, 제2 계층 이하의 소블록에 대응된 휘도 CBF 플래그(도시 생략)가 복호되는 경우에는, 확률 테이블을 나타내는 번호로는 ctxldxlnc=0을 이용한다. 또한, 블록(303∼306)에 대해서도, 변환 블록의 사이즈가, 부호화 블록의 사이즈와 일치하는지 여부, 혹은 변환 블록의 최대 사이즈에 일치하는지 여부를 판단하고, 판단 결과에 따라 확률 테이블을 나타내는 번호 ctxldxlnc가 결정된다.Further, when the luminance CBF flag (not shown) corresponding to the small block of the first layer of the block 302 is decoded, ctxldxlnc=1 is used as a number indicating the probability table, and a small block of the second layer or less When the luminance CBF flag (not shown) corresponding to is decoded, ctxldxlnc=0 is used as a number indicating the probability table. Further, for blocks 303 to 306, it is determined whether the size of the transform block matches the size of the coding block or the maximum size of the transform block, and the number ctxldxlnc indicating the probability table according to the determination result Is determined.

이상에서 나타낸 바와같이, 변환 블록의 사이즈와 부호화 블록의 사이즈를 비교함으로써, ctxldxinc를 “0”으로 하거나, “1”로 하거나의 2종류를 전환함으로써, 확률 테이블의 수도 종래의 4개에서 2개(슬라이스당)로 삭감할 수 있다. 또한, 복호 대상의 휘도 CBF 플래그의 ctxldxinc를 결정하기 위해서, 주위 블록의 휘도 CBF 플래그를 참조할 필요가 없기 때문에, 라인 버퍼를 포함하는 대량의 메모리를 확보할 필요가 없이, 바르게 휘도 CBF 플래그를 복호할 수 있다.As shown above, by comparing the size of the transform block and the size of the coding block, the number of probability tables can be changed from 4 to 2 in the prior art by switching two types of ctxldxinc to “0” or “1”. (Per slice). Further, since it is not necessary to refer to the luminance CBF flag of the surrounding block in order to determine the ctxldxinc of the luminance CBF flag to be decoded, the luminance CBF flag is correctly decoded without having to secure a large amount of memory including a line buffer. can do.

또한, 변환 블록의 사이즈가 최대인지 여부에 따라, 휘도 CBF 플래그의 확률 테이블을 2단계로 전환함으로써, 확률 테이블의 종류의 삭감에 의한 부호화 효율의 열화를 억제할 수 있다. 이는, 변환 계수의 유무는 변환 블록의 블록 사이즈에 의존하는 경우가 많기 때문이며, 보다 구체적으로는, 변환 블록의 사이즈가 작아지면 계수가 모두 제로로 될 가능성이 높아지는 것을 이용한 것이다.In addition, depending on whether or not the size of the transform block is the maximum, the deterioration of encoding efficiency due to the reduction in the type of the probability table can be suppressed by switching the probability table of the luminance CBF flag in two steps. This is because the presence or absence of the transform coefficient is often dependent on the block size of the transform block, and more specifically, the smaller the size of the transform block, the higher the probability that all of the coefficients become zero.

또한, 본 발명의 실시의 형태 1에 관련된 산술 복호화부(복호 장치(100))는, 압축 부호화된 부호화 화상 데이터를 복호하는 동화상 복호 장치에 구비된다. 도 4는 본 발명의 실시의 형태 1에 관련된 동화상 복호 장치(400)의 구성의 일례를 나타내는 블록도이다.Further, the arithmetic decoding unit (decoding device 100) according to the first embodiment of the present invention is provided in a moving picture decoding device for decoding compressed coded encoded image data. 4 is a block diagram showing an example of a configuration of a video decoding apparatus 400 according to Embodiment 1 of the present invention.

동화상 복호 장치(400)는 압축 부호화된 부호화 화상 데이터를 복호한다. 예를 들면, 동화상 복호 장치(400)는, 부호화 화상 데이터가 블록마다 복호 대상 신호로서 입력된다. 동화상 복호 장치(400)는, 입력된 복호 대상 신호에, 가변 길이 복호, 역양자화 및 역변환을 행함으로써, 화상 데이터를 복원한다.The moving picture decoding apparatus 400 decodes the coded coded image data. For example, in the video decoding apparatus 400, encoded image data is input as a decoding target signal for each block. The moving picture decoding apparatus 400 restores image data by performing variable length decoding, inverse quantization, and inverse transformation on the input decoding target signal.

도 4에 나타내는 바와같이, 동화상 복호 장치(400)는, 엔트로피 복호부(410)와, 역양자화·역변환부(420)와, 가산기(425)와, 디블로킹 필터(430)와, 메모리(440)와, 인트라 예측부(450)와, 움직임 보상부(460)와, 인트라/인터 전환 스위치(470)를 구비한다.As shown in Fig. 4, the video decoding apparatus 400 includes an entropy decoding unit 410, an inverse quantization and inverse conversion unit 420, an adder 425, a deblocking filter 430, and a memory 440. ), an intra prediction unit 450, a motion compensation unit 460, and an intra/inter switch 470.

엔트로피 복호부(410)는 입력 신호(입력 스트림)를 가변 길이 복호함으로써, 양자화 계수를 복원한다. 또한, 여기서, 입력 신호(입력 스트림)는, 복호 대상 신호이며, 부호화 화상 데이터의 블록마다의 데이터에 상당한다. 또한, 엔트로피 복호부(410)는, 입력 신호로부터 움직임 데이터를 취득하고, 취득한 움직임 데이터를 움직임 보상부(460)에 출력한다.The entropy decoding unit 410 restores the quantized coefficients by variable-length decoding an input signal (input stream). Here, the input signal (input stream) is a signal to be decoded, and corresponds to data for each block of encoded image data. In addition, the entropy decoding unit 410 acquires motion data from the input signal, and outputs the obtained motion data to the motion compensation unit 460.

역양자화·역변환부(420)는, 엔트로피 복호부(410)에 의해서 복원된 양자화 계수를 역양자화함으로써, 변환 계수를 복원한다. 그리고 역양자화·역변환부(420)는, 복원한 변환 계수를 역변환함으로써, 예측 오차를 복원한다.The inverse quantization/inverse transform unit 420 restores the transform coefficients by inverse quantizing the quantized coefficients restored by the entropy decoding unit 410. Then, the inverse quantization/inverse transform unit 420 restores the prediction error by inverse transforming the reconstructed transform coefficients.

가산기(425)는, 역양자화·역변환부(420)에서 복원된 예측 오차와, 인트라/인터 전환 스위치(470)로부터 취득한 예측 신호를 가산함으로써, 복호 화상을 생성한다.The adder 425 generates a decoded image by adding the prediction error restored by the inverse quantization and inverse transform unit 420 and the prediction signal obtained from the intra/inter switch 470.

디블로킹 필터(430)는, 가산기(425)에서 생성된 복호 화상에 디블로킹 필터 처리를 행한다. 디블로킹 필터 처리된 복호 화상은, 복호 신호로서 출력된다.The deblocking filter 430 performs deblocking filter processing on the decoded image generated by the adder 425. The decoded image subjected to the deblocking filter process is output as a decoded signal.

메모리(440)는 움직임 보상에 이용되는 참조 화상을 저장하기 위한 메모리이다. 구체적으로 메모리(440)는, 디블로킹 필터(430)에서 디블로킹 필터 처리가 실시된 복호 화상을 저장한다.The memory 440 is a memory for storing a reference image used for motion compensation. Specifically, the memory 440 stores a decoded image in which the deblocking filter process has been performed by the deblocking filter 430.

인트라 예측부(450)는, 인트라 예측을 행함으로써, 예측 신호(인트라 예측 신호)를 생성한다. 구체적으로, 인트라 예측부(450)는, 가산기(425)에 의해서 생성된 복호 화상 중의 복호 대상 블록(입력 신호)의 주위의 화상을 참조하여, 인트라 예측을 행함으로써, 인트라 예측 신호를 생성한다.The intra prediction unit 450 generates a prediction signal (intra prediction signal) by performing intra prediction. Specifically, the intra prediction unit 450 generates an intra prediction signal by performing intra prediction with reference to an image around a decoding target block (input signal) in the decoded image generated by the adder 425.

움직임 보상부(460)는, 엔트로피 복호부(410)로부터 출력된 움직임 데이터에 의거하여 움직임 보상을 행함으로써, 예측 신호(인터 예측 신호)를 생성한다.The motion compensation unit 460 generates a prediction signal (inter prediction signal) by performing motion compensation based on the motion data output from the entropy decoding unit 410.

인트라/인터 전환 스위치(470)는, 인트라 예측 신호 및 인터 예측 신호 중 어느 하나를 선택하고, 선택한 신호를 예측 신호로서 가산기(425)에 출력한다.The intra/inter switch 470 selects one of the intra prediction signal and the inter prediction signal, and outputs the selected signal to the adder 425 as a prediction signal.

이상의 구성에 의해, 본 발명의 실시의 형태 2에 관련된 동화상 복호 장치(400)는 압축 부호화된 부호화 화상 데이터를 복호한다.With the above configuration, the moving picture decoding apparatus 400 according to Embodiment 2 of the present invention decodes the coded coded image data.

또한, 동화상 복호 장치(400)에 있어서, 본 발명의 실시의 형태 1에 관련된 휘도 CBF 플래그의 복호화부는 엔트로피 복호부(410), 역양자화·역변환부(420), 및 가산기(425)에 포함된다. 보다 구체적으로는, 예를 들면, 도 1의 휘도 CBF 복호부(101), 제어부(102), 스위치(103), 및 잔차 계수 복호부(104)가 도 4의 엔트로피 복호부(410)에 포함되고, 도 1의 잔차 신호 복원부(105)가 도 4의 역양자화·역변환부(420)에 포함되고, 도 1의 가산부(106)가 도 4의 가산기(425)에 포함된다. 단, 상기의 대응 관계에는 한정되지 않는다.In the moving picture decoding apparatus 400, the decoding unit of the luminance CBF flag according to Embodiment 1 of the present invention is included in the entropy decoding unit 410, the inverse quantization and inverse conversion unit 420, and the adder 425. . More specifically, for example, the luminance CBF decoding unit 101, the control unit 102, the switch 103, and the residual coefficient decoding unit 104 of FIG. 1 are included in the entropy decoding unit 410 of FIG. 1, the residual signal restoration unit 105 of FIG. 1 is included in the inverse quantization and inverse conversion unit 420 of FIG. 4, and the adder 106 of FIG. 1 is included in the adder 425 of FIG. 4. However, it is not limited to the above-mentioned correspondence.

이상과 같이, 본 발명의 실시의 형태 1에 관련된 동화상 복호 장치 및 동화상 복호 방법에 의하면, 복호 대상의 휘도 CBF 플래그를 주변 블록의 휘도 CBF의 값에 의존하지 않고 산술 복호함으로써, 휘도 CBF 플래그의 산술 복호를 위한 메모리의 필요성을 삭감한 비트 스트림을 적절히 복원할 수 있다.As described above, according to the moving picture decoding apparatus and the moving picture decoding method according to Embodiment 1 of the present invention, arithmetic decoding of the luminance CBF flag is performed by arithmetically decoding the luminance CBF flag to be decoded without depending on the value of the luminance CBF of the neighboring block. A bit stream that reduces the need for memory for decoding can be properly restored.

또한, 도 5a, 도 5b, 도 5c, 및 도 5d에, 본 실시의 형태의 산술 복호에 이용되는 Table1000∼1003의 일례를 나타낸다. 또한, 이 Table1000∼10003은, 도 28a∼도 28d에 대응하는 표이다. 도 5a∼도 5d에 나타내는 바와같이, 본 실시의 형태에서는, 슬라이스당 2개의 확률 테이블을 전환하게 된다. 또한, 확률 테이블의 전환에는, 주위 블록의 휘도 CBF 플래그의 결과는 이용하지 않는다. 이에 대하여 다시 도 6을 이용하여 설명한다.5A, 5B, 5C, and 5D show examples of Table1000 to 1003 used for arithmetic decoding of the present embodiment. In addition, Tables 1000 to 10003 are tables corresponding to FIGS. 28A to 28D. 5A to 5D, in this embodiment, two probability tables per slice are switched. In addition, the result of the luminance CBF flag of the surrounding block is not used to switch the probability table. This will be described again with reference to FIG. 6.

도 6은, 본 실시의 형태에 있어서의 휘도 CBF 플래그에 대한 확률을 산출하기 위한 번호 ctxldxlnc를 취득하는 방법에 대하여 설명하는 문장이다. 여기서 나타내는 바와같이, 2개의 번호의 전환을 변환 블록의 블록 사이즈(transformDepth, MaxTrafoSize)에 의존시키고, 주변 블록의 결과에 의존시키지 않는다.6 is a sentence for explaining a method of obtaining the number ctxldxlnc for calculating the probability for the luminance CBF flag in the present embodiment. As shown here, the conversion of the two numbers depends on the block size (transformDepth, MaxTrafoSize) of the transform block, and not on the result of the neighboring block.

(실시의 형태 2)(Embodiment 2)

본 실시의 형태의 산술 부호화 방법의 개요에 대하여 설명한다. 또한, 실시의 형태 1과의 공통점의 상세한 설명은 생략하고, 차이점을 중심으로 설명한다.The outline of the arithmetic coding method of this embodiment will be described. In addition, the detailed description of the commonality with the first embodiment will be omitted, and the explanation will be mainly focused on the differences.

본 실시의 형태의 산술 부호화 방법은, 휘도 CBF 플래그의 부호화에 종래와 같이 주위의 블록에 있어서의 휘도 CBF 플래그의 결과를 이용하는 것이 아니라, 변환 블록의 블록 사이즈에 따라 2개의 확률 테이블(슬라이스당)을 전환하는 것을 특징으로 한다. 이에 따라, 부호화에 필요한 메모리 사이즈를 대폭 삭감하는 것을 실현한다.The arithmetic coding method of this embodiment does not use the result of the luminance CBF flag in the neighboring blocks as in the conventional method for encoding the luminance CBF flag, but two probability tables (per slice) according to the block size of the transform block. It is characterized by switching. Accordingly, it is realized to significantly reduce the memory size required for encoding.

이상이, 본 실시의 형태의 산술 부호화 방법의 개요에 대한 설명이다. 특별히 설명하지 않는 경우에는, 종래의 산술 부호화 방법과 동일한 방법을 취해도 되는 것을 나타낸다.The above is an explanation of the outline of the arithmetic coding method of the present embodiment. When not specifically described, it shows that the same method as the conventional arithmetic coding method may be employed.

실시의 형태 2에 관련된 동화상 부호화 장치는, 동화상 신호를 제1의 처리 단위마다 부호화한다. 구체적으로, 동화상 부호화 장치는, 제1의 처리 단위에 1개 이상 포함되는 제2의 처리 단위마다, 공간 영역의 동화상 신호(예를 들면, 잔차 신호)를 주파수 영역의 계수로 변환하는 처리와, 주파수 영역의 계수를 양자화하는 처리를 포함하는 변환·양자화부와, 변환·양자화부의 처리가 실행된 제2의 처리 단위에 양자화 계수가 포함되어 있는지 여부를 나타내는 휘도 CBF 플래그를 산술 부호화하는 산술 부호화부를 구비한다.The video encoding apparatus according to Embodiment 2 encodes a video signal for each first processing unit. Specifically, the video encoding apparatus includes processing for converting a video signal (eg, a residual signal) in the spatial domain into a coefficient in the frequency domain for every second processing unit included in one or more in the first processing unit, An arithmetic coding unit for performing arithmetic coding on a luminance CBF flag indicating whether a quantization coefficient is included in a transform/quantization unit including processing for quantizing frequency-domain coefficients and a second processing unit in which the processing of the conversion and quantization unit is performed. To be equipped.

그리고 산술 부호화부는, 제1 및 제2의 처리 단위의 사이즈가 동일한지 여부, 및 제2의 처리 단위가 미리 정해진 최대 사이즈인지 여부에 따라, 휘도 CBF 플래그의 산술 부호화에 이용하는 확률 테이블을 결정한다(콘택스트를 전환한다). 산술 부호화부는, 또한, 제1의 처리 단위가 속하는 슬라이스의 종별에 따라, 산술 부호화에 이용하는 확률 테이블을 결정해도 된다.The arithmetic encoding unit determines a probability table used for arithmetic encoding of the luminance CBF flag according to whether the sizes of the first and second processing units are the same and whether the second processing unit is a predetermined maximum size ( Switch context). The arithmetic coding unit may further determine a probability table used for arithmetic coding according to the type of the slice to which the first processing unit belongs.

다음에, 본 실시의 형태의 휘도 CBF 플래그 부호화 방법을 행하는 휘도 CBF 플래그 부호화부의 처리의 흐름에 대하여 설명한다. 도 7은, 본 발명의 실시의 형태 2에 관련된 휘도 CBF 플래그 부호화부의 동작의 흐름의 일례를 나타내는 플로우차트이다.Next, the processing flow of the luminance CBF flag encoding unit for performing the luminance CBF flag encoding method of the present embodiment will be described. 7 is a flowchart showing an example of the operation flow of the luminance CBF flag encoder according to Embodiment 2 of the present invention.

휘도 CBF 플래그 부호화부는, 제어부에서 얻은 정보로부터, (i) 부호화 대상의 휘도 CBF 플래그가 나타내는 변환 블록의 사이즈가 부호화 블록의 사이즈와 동일한지, 혹은 (ii) 변환 블록의 사이즈가 변환 블록의 최대 사이즈와 동일한지 여부를 판단한다(S701). 또한, 변환 블록의 최대 사이즈를 특정하는 정보는, 예를 들면, 비트 스트림 중에 포함되어 있다.The luminance CBF flag encoding unit, from the information obtained from the control unit, (i) whether the size of the transformation block indicated by the luminance CBF flag to be encoded is the same as the size of the encoding block, or (ii) the size of the transformation block is the maximum size of the transformation block. It is determined whether or not (S701). In addition, the information specifying the maximum size of the transform block is included in, for example, a bit stream.

상기의 (i) 및 (ii)의 적어도 한쪽을 만족하는 경우(S701에서 YES), 산술 부호화에 이용하는 확률 정보를 규정하기 위한 번호 ctxldxlnc를 1에 세트한다(S703). 한편, 상기의 (i) 및 (ii)의 어느것도 만족하지 않는 경우(S701에서 NO), 산술 부호화에 이용하는 확률 정보를 규정하기 위한 번호 ctxldxlnc를 0에 세트한다(S702).When at least one of (i) and (ii) above is satisfied (YES in S701), a number ctxldxlnc for specifying probability information used for arithmetic encoding is set to 1 (S703). On the other hand, if neither of the above (i) and (ii) is satisfied (NO in S701), the number ctxldxlnc for specifying probability information used for arithmetic encoding is set to 0 (S702).

다음에, 단계 S702, S703에서 얻어진 확률 정보를 규정하기 위한 번호 ctxldxlnc와, 미리 슬라이스마다 규정된 오프셋치(도 5a∼도 5d 참조)를 더함으로써 얻어지는 ctxldx에 대응하는 확률치를 취득하고, 대상이 되는 휘도 CBF 플래그의 산술 부호화 처리를 행한다(S704). 이에 따라, 휘도 CBF 플래그를 부호화한다.Next, a probability value corresponding to ctxldx obtained by adding the number ctxldxlnc for specifying the probability information obtained in steps S702 and S703 and an offset value (refer to FIGS. 5A to 5D) specified for each slice in advance is acquired, and the target is obtained. Arithmetic coding processing of the luminance CBF flag is performed (S704). Accordingly, the luminance CBF flag is encoded.

이와 같이 부호화함으로써, 메모리의 필요량이 적은 휘도 CBF 플래그의 부호화 장치를 실현할 수 있다.By encoding in this way, it is possible to realize an apparatus for encoding a luminance CBF flag with a small amount of memory required.

또한, 본 발명의 실시의 형태 2에 관련된 휘도 CBF 플래그 부호화부는, 화상 데이터를 압축 부호화하는 화상 부호화 장치에 구비된다. 도 8은, 본 발명의 실시의 형태 2에 관련된 화상 부호화 장치(200)의 구성의 일례를 나타내는 블록도이다.Moreover, the luminance CBF flag encoding unit according to Embodiment 2 of the present invention is provided in an image encoding apparatus for compression encoding image data. 8 is a block diagram showing an example of a configuration of an image encoding apparatus 200 according to Embodiment 2 of the present invention.

화상 부호화 장치(200)는, 화상 데이터를 압축 부호화한다. 예를 들면, 화상 부호화 장치(200)에는, 화상 데이터가 블록마다 입력 신호로서 입력된다. 화상 부호화 장치(200)는, 입력된 입력 신호에, 변환, 양자화 및 가변 길이 부호화를 행함으로써, 부호화 신호를 생성한다.The image encoding apparatus 200 compressively encodes image data. For example, in the image encoding apparatus 200, image data is input as an input signal for each block. The image encoding apparatus 200 generates an encoded signal by performing transform, quantization, and variable length encoding on the input signal.

도 10에 나타내는 바와같이, 화상 부호화 장치(200)는, 감산기(205)와, 변환·양자화부(210)와, 엔트로피 부호화부(220)와, 역양자화·역변환부(230)와, 가산기(235)와, 디블로킹 필터(240)와, 메모리(250)와, 인트라 예측부(260)와, 움직임 검출부(270)와, 움직임 보상부(280)와, 인트라/인터 전환 스위치(290)를 구비한다.As shown in FIG. 10, the image encoding apparatus 200 includes a subtracter 205, a transform-quantization unit 210, an entropy encoding unit 220, an inverse quantization-inverse transformation unit 230, and an adder ( 235), the deblocking filter 240, the memory 250, the intra prediction unit 260, the motion detection unit 270, the motion compensation unit 280, and the intra/inter switch 290 To be equipped.

감산기(205)는, 입력 신호와 예측 신호의 차분, 즉, 예측 오차를 산출한다.The subtractor 205 calculates the difference between the input signal and the prediction signal, that is, the prediction error.

변환·양자화부(210)는, 공간 영역의 예측 오차를 변환함으로써, 주파수 영역의 변환 계수를 생성한다. 예를 들면, 변환·양자화부(210)는, 예측 오차에 DCT(Discrete Cosine Transform) 변환을 행함으로써, 변환 계수를 생성한다. 또한, 변환·양자화부(210)는, 변환 계수를 양자화함으로써, 양자화 계수를 생성한다.The transform/quantization unit 210 generates transform coefficients in the frequency domain by transforming prediction errors in the spatial domain. For example, the transform/quantizer 210 generates a transform coefficient by performing a DCT (Discrete Cosine Transform) transform on a prediction error. In addition, the transform/quantizer 210 quantizes the transform coefficients to generate quantized coefficients.

또한, 변환·양자화부(210)는, 변환 블록 내에 계수(양자화 계수)가 존재하는지 여부를 나타내는 휘도 CBF 플래그를 생성한다. 구체적으로는, 변환·양자화부(210)는, 변환 블록 내에 계수가 존재하는 경우에 휘도 CBF 플래그에 “1”을 세트하고, 변환 블록 내에 계수가 존재하지 않는 경우에 휘도 CBF 플래그에 “0”을 세트한다.In addition, the conversion/quantization unit 210 generates a luminance CBF flag indicating whether a coefficient (quantization coefficient) exists in the conversion block. Specifically, the transform/quantizer 210 sets “1” in the luminance CBF flag when a coefficient is present in the transform block, and “0” in the luminance CBF flag when no coefficient is present in the transform block. Sets.

엔트로피 부호화부(220)는, 양자화 계수를 가변 길이 부호화함으로써, 부호화 신호를 생성한다. 또한, 엔트로피 부호화부(220)는, 움직임 검출부(270)에 의해서 검출된 움직임 데이터(예를 들면, 움직임 벡터)를 부호화하고, 부호화 신호에 포함하여 출력한다.The entropy encoding unit 220 generates a coded signal by variable-length encoding the quantization coefficients. In addition, the entropy encoding unit 220 encodes motion data (eg, motion vectors) detected by the motion detection unit 270 and outputs the motion data by including it in the encoded signal.

역양자화·역변환부(230)는, 양자화 계수를 역양자화함으로써, 변환 계수를 복원한다. 또한, 역양자화·역변환부(230)는, 복원한 변환 계수를 역변환함으로써, 예측 오차를 복원한다. 또한, 복원된 예측 오차는, 양자화에 의해 정보가 소실되므로, 감산기(205)가 생성하는 예측 오차와는 일치하지 않는다. 즉, 복원된 예측 오차는, 양자화 오차를 포함하고 있다.The inverse quantization/inverse transform unit 230 restores the transform coefficients by inversely quantizing the quantized coefficients. In addition, the inverse quantization/inverse transform unit 230 restores a prediction error by inverse transforming the reconstructed transform coefficients. In addition, the reconstructed prediction error does not match the prediction error generated by the subtractor 205 because information is lost by quantization. That is, the reconstructed prediction error includes quantization error.

가산기(235)는 복원된 예측 오차와 예측 신호를 가산함으로써, 로컬 복호 화상을 생성한다.The adder 235 generates a local decoded image by adding the reconstructed prediction error and prediction signal.

디블로킹 필터(240)는, 생성된 로컬 복호 화상에 디블로킹 필터 처리를 행한다.The deblocking filter 240 performs deblocking filter processing on the generated local decoded image.

메모리(250)는 움직임 보상에 이용되는 참조 화상을 저장하기 위한 메모리이다. 구체적으로, 메모리(250)는, 디블로킹 필터 처리가 실시된 로컬 복호 화상을 저장한다.The memory 250 is a memory for storing a reference image used for motion compensation. Specifically, the memory 250 stores a local decoded image subjected to deblocking filter processing.

인트라 예측부(260)는, 인트라 예측을 행함으로써, 예측 신호(인트라 예측 신호)를 생성한다. 구체적으로, 인트라 예측부(260)는, 가산기(235)에 의해서 생성된 로컬 복호 화상에 있어서의 부호화 대상 블록(입력 신호)의 주위 화상을 참조하여, 인트라 예측을 행함으로써 인트라 예측 신호를 생성한다.The intra prediction unit 260 generates a prediction signal (intra prediction signal) by performing intra prediction. Specifically, the intra prediction unit 260 refers to the surrounding image of the block to be coded (input signal) in the local decoded image generated by the adder 235, and performs intra prediction to generate an intra prediction signal. .

움직임 검출부(270)는, 입력 신호와, 메모리(250)에 저장된 참조 화상의 사이의 움직임 데이터(예를 들면, 움직임 벡터)를 검출한다.The motion detection unit 270 detects motion data (for example, a motion vector) between an input signal and a reference image stored in the memory 250.

움직임 보상부(280)는, 검출된 움직임 데이터에 의거하여 움직임 보상을 행함으로써, 예측 신호(인터 예측 신호)를 생성한다.The motion compensation unit 280 generates a prediction signal (inter prediction signal) by performing motion compensation based on the detected motion data.

인트라/인터 전환 스위치(290)는, 인트라 예측 신호 및 인터 예측 신호 중 어느 하나를 선택하고, 선택한 신호를 예측 신호로서 감산기(205) 및 가산기(235)에 출력한다.The intra/inter switch 290 selects one of an intra prediction signal and an inter prediction signal, and outputs the selected signal to the subtractor 205 and adder 235 as a prediction signal.

이상의 구성에 의해, 본 발명의 실시의 형태 2에 관련된 화상 부호화 장치(200)는, 화상 데이터를 압축 부호화한다.With the above structure, the image coding device 200 according to the second embodiment of the present invention compression-codes image data.

또한, 동화상 부호화 장치(200)에 있어서, 본 발명의 실시의 형태 2에 관련된 CBF 플래그 부호화부는, 예를 들면, 엔트로피 부호화부(220)에 포함된다. 즉, 엔트로피 부호화부(220)에 포함되는 CBF 플래그 부호화부는, 변환·양자화부(210)에서 생성된 휘도 CBF 플래그를 산술 부호화한다. 단, 상기의 대응 관계에 한정되지 않는다.In addition, in the video encoding apparatus 200, the CBF flag encoding unit according to Embodiment 2 of the present invention is included in, for example, the entropy encoding unit 220. That is, the CBF flag encoding unit included in the entropy encoding unit 220 performs arithmetic encoding on the luminance CBF flag generated by the transform/quantization unit 210. However, it is not limited to the above-mentioned correspondence.

(실시의 형태 3)(Embodiment 3)

상기 각 실시의 형태에서 나타낸 동화상 부호화 방법(화상 부호화 방법) 또는 동화상 복호화 방법(화상 복호 방법)의 구성을 실현하기 위한 프로그램을 기억 미디어에 기록함으로써, 상기 각 실시의 형태에 나타낸 처리를 독립된 컴퓨터 시스템에 있어서 간단하게 실시하는 것이 가능해진다. 기억 미디어는, 자기 디스크, 광 디스크, 광학 자기 디스크, IC 카드, 반도체 메모리 등, 프로그램을 기록할 수 있는 것이면 된다.By recording a program for realizing the configuration of the moving picture coding method (image coding method) or the moving picture decoding method (image decoding method) shown in each of the above embodiments in a storage medium, the processing shown in each embodiment is an independent computer system. In this, it becomes possible to carry out simply. The storage medium may be any one that can record programs such as a magnetic disk, optical disk, optical magnetic disk, IC card, and semiconductor memory.

또한, 여기서, 상기 각 실시의 형태에 나타낸 동화상 부호화 방법(화상 부호화 방법)이나 동화상 복호화 방법(화상 복호 방법)의 응용예와 이를 이용한 시스템을 설명한다. 당해 시스템은, 화상 부호화 방법을 이용한 화상 부호화 장치, 및 화상 복호 방법을 이용한 화상 복호 장치로 이루어지는 화상 부호화 복호 장치를 가지는 것을 특징으로 한다. 시스템에 있어서의 다른 구성에 대하여, 경우에 따라 적절히 변경할 수 있다.Here, an application example of a video encoding method (image encoding method) or a video decoding method (image decoding method) shown in each of the above embodiments and a system using the same will be described. The system is characterized by having an image encoding/decoding device comprising an image encoding device using an image encoding method and an image decoding device using an image decoding method. Other configurations in the system can be changed as appropriate.

도 9는, 컨텐츠 전송 서비스를 실현하는 컨텐츠 공급 시스템 ex100의 전체 구성을 나타내는 도면이다. 통신 서비스의 제공 영역을 원하는 크기로 분할하고, 각 셀 내에 각각 고정 무선국인 기지국(ex106, ex107, ex108, ex109, ex110)이 설치되어 있다.9 is a diagram showing the overall configuration of a content supply system ex100 that realizes a content delivery service. The area for providing communication services is divided into desired sizes, and base stations ex106, ex107, ex108, ex109, and ex110, which are fixed radio stations, are installed in each cell.

이 컨텐츠 공급 시스템(ex100)은, 인터넷(ex101)에 인터넷 서비스 프로바이더(ex102) 및 전화망(ex104), 및 기지국(ex106)으로부터 (ex110)를 통하여, 컴퓨터(ex111), PDA(Personal Digital Assistant)(ex112), 카메라(ex113), 휴대 전화(ex114), 게임기(ex115) 등의 각 기기가 접속된다.This content supply system ex100 is a computer ex111, a PDA (Personal Digital Assistant) via the internet service provider ex102 and the telephone network ex104, and the base station ex106 to the internet ex101 via ex110. Each device such as (ex112), camera ex113, mobile phone ex114, game machine ex115 is connected.

그러나 컨텐츠 공급 시스템(ex100)은 도 9와 같은 구성에 한정되지 않고, 몇 개의 요소를 조합하여 접속하도록 해도 된다. 또한, 고정 무선국인 기지국(ex106)으로부터 (ex110)를 통하지 않고, 각 기기가 전화망(ex104)에 직접 접속되어도 된다. 또한, 각 기기가 근거리 무선 등을 통하여 직접 서로 접속되어 있어도 된다.However, the content supply system ex100 is not limited to the configuration as shown in Fig. 9 and may be connected by combining several elements. Further, each device may be directly connected to the telephone network ex104 without going through ex110 from the base station ex106 which is a fixed radio station. Further, the devices may be directly connected to each other through short-range wireless or the like.

카메라(ex113)는 디지털 비디오 카메라 등의 동화상 촬영이 가능한 기기이며, 카메라(ex116)는 디지털 카메라 등의 정지 화상 촬영, 동화상 촬영이 가능한 기기이다. 또한, 휴대 전화(ex114)는, GSM(등록 상표)(GLobal System for Mobile Communications) 방식, CDMA(Code Division Multiple Access) 방식, W-CDMA(Wideband-Code Division Multiple Access) 방식, 혹은 LTE(Long Term Evolution) 방식, HSPA(High Speed Packet Access)의 휴대 전화기, 또는 PHS(Personal Handyphone System) 등이며, 어느 것이라도 상관없다.The camera ex113 is a device capable of shooting moving images such as a digital video camera, and the camera ex116 is a device capable of shooting still images and moving pictures such as a digital camera. In addition, the mobile phone ex114 is a GSM (registered trademark) (GLobal System for Mobile Communications) method, a Code Division Multiple Access (CDMA) method, a Wideband-Code Division Multiple Access (W-CDMA) method, or a Long Term (LTE). Evolution method, HSPA (High Speed Packet Access) mobile phone, or PHS (Personal Handyphone System).

컨텐츠 공급 시스템(ex100)에서는, 카메라(ex113) 등이 기지국(ex109), 전화망(ex104)을 통하여 스트리밍 서버(ex103)에 접속됨으로써, 라이브 전송 등이 가능해진다. 라이브 전송에서는, 유저가 카메라(ex113)를 이용하여 촬영하는 컨텐츠(예를 들면, 음악 라이브 영상 등)에 대하여 상기 각 실시의 형태에서 설명한 바와같이 부호화 처리를 행하여(즉, 본 발명의 일양태에 관련된 화상 부호화 장치로서 기능한다), 스트리밍 서버(ex103)에 송신한다. 한편, 스트리밍 서버(ex103)는 요구가 있는 클라이언트에 대하여 송신된 컨텐츠 데이터를 스트림 전송한다. 클라이언트로는, 상기 부호화 처리된 데이터를 복호화하는 것이 가능한, 컴퓨터(ex111), PDA(ex112), 카메라(ex113), 휴대 전화(ex114), 게임기(ex115) 등이 있다. 전송된 데이터를 수신한 각 기기에서는, 수신한 데이터를 복호화 처리하여 재생한다(즉, 본 발명의 일양태에 관련된 화상 복호 장치로서 기능한다).In the content supply system ex100, the camera ex113 or the like is connected to the streaming server ex103 via the base station ex109 and the telephone network ex104, thereby enabling live transmission and the like. In the live transmission, the content (for example, music live video, etc.) photographed by the user using the camera ex113 is subjected to encoding processing as described in each of the above embodiments (i.e., in one aspect of the present invention) Functions as an associated image encoding device) and the streaming server ex103. Meanwhile, the streaming server ex103 streams the content data transmitted to the client having a request. Examples of the client include a computer ex111, a PDA ex112, a camera ex113, a mobile phone ex114, and a game machine ex115 capable of decoding the encoded data. In each device that has received the transmitted data, the received data is decoded and reproduced (that is, functions as an image decoding device according to an aspect of the present invention).

또한, 촬영한 데이터의 부호화 처리는 카메라(ex113)로 행하거나, 데이터의 송신 처리를 하는 스트리밍 서버(ex103)로 행해도 되고, 서로 분담하여 행해도 된다. 마찬가지로 전송된 데이터의 복호화 처리는 클라이언트에서 행하거나, 스트리밍 서버(ex103)에서 행해도 되고, 서로 분담하여 행해도 된다. 또한, 카메라(ex113)에 한정되지 않고, 카메라(ex116)로 촬영한 정지 화상 및/또는 동화상 데이터를, 컴퓨터(ex111)를 통하여 스트리밍 서버(ex103)에 송신해도 된다. 이 경우의 부호화 처리는 카메라(ex116), 컴퓨터(ex111), 스트리밍 서버(ex103)중 어느 하나에서 행해도 되고, 서로 분담하여 행해도 된다.Incidentally, the encoding processing of the photographed data may be performed by the camera ex113, or may be performed by the streaming server ex103 which performs the data transmission processing, or may be shared with each other. Similarly, the decoding processing of the transmitted data may be performed by the client, by the streaming server ex103, or by sharing with each other. Further, the present invention is not limited to the camera ex113, and still image and/or moving image data captured by the camera ex116 may be transmitted to the streaming server ex103 via the computer ex111. The encoding processing in this case may be performed by either the camera ex116, the computer ex111, or the streaming server ex103, or may be performed by sharing with each other.

또한, 이들 부호화·복호화 처리는, 일반적으로 컴퓨터(ex111)나 각 기기가 가지는 LSI(ex500)에 있어서 처리한다. LSI(ex500)는, 원 칩이거나 복수 칩으로 이루어지는 구성이어도 된다. 또한, 동화상 부호화·복호화용의 소프트웨어를 컴퓨터(ex111) 등으로 판독 가능한 어떠한 기록 미디어(CD-ROM, 플렉서블 디스크, 하드 디스크 등)에 집어넣고, 그 소프트웨어를 이용하여 부호화·복호화 처리를 행해도 된다. 또한, 휴대 전화(exT14)가 카메라 부착인 경우에는, 그 카메라로 취득한 동화상 데이터를 송신해도 된다. 이때의 동화상 데이터는 휴대 전화(ex114)가 가지는 LSI(ex500)에서 부호화 처리된 데이터이다.In addition, these encoding/decoding processes are generally processed in the computer ex111 and the LSI ex500 owned by each device. The LSI ex500 may be composed of one chip or a plurality of chips. Further, the software for encoding and decoding moving pictures may be put in any recording medium (CD-ROM, flexible disk, hard disk, etc.) readable by a computer ex111 or the like, and encoding and decoding processing may be performed using the software. . In addition, when the mobile phone exT14 is equipped with a camera, the moving image data acquired with the camera may be transmitted. The video data at this time is data encoded by the LSI ex500 of the mobile phone ex114.

또한, 스트리밍 서버(ex103)는 복수의 서버나 복수의 컴퓨터로서, 데이터를 분산하여 처리하거나 기록하거나 전송하는 것이어도 된다.Further, the streaming server ex103 may be a plurality of servers or a plurality of computers, which may distribute data, process it, record it, or transmit it.

이상과 같이 하여, 컨텐츠 공급 시스템(ex100)에서는, 부호화된 데이터를 클라이언트가 수신하여 재생할 수 있다. 이와 같이 컨텐츠 공급 시스템(ex100)에서는, 유저가 송신한 정보를 실시간으로 클라이언트가 수신하여 복호화하여, 재생할 수 있고, 특별한 권리나 설비를 가지지 않는 유저라도 개인 방송을 실현할 수 있다.As described above, in the content supply system ex100, the encoded data can be received and reproduced by the client. In this way, in the content supply system ex100, the information transmitted by the user can be received and decoded in real time by the client, reproduced, and reproduced, and even a user without special rights or facilities can realize personal broadcasting.

또한, 컨텐츠 공급 시스템(ex100)의 예에 한정되지 않고, 도 10에 나타내는 바와같이, 디지털 방송용 시스템(ex200)에도, 상기 각 실시의 형태의 적어도 동화상 부호화 장치(화상 부호화 장치) 또는 동화상 복호화 장치(화상 복호 장치)중 어느 하나를 집어넣을 수 있다. 구체적으로는, 방송국(ex201)에서는 영상 데이터에 음악 데이터 등이 다중화된 다중화 데이터가 전파를 통하여 통신 또는 위성(ex202)에 전송된다. 이 영상 데이터는 상기 각 실시의 형태에서 설명한 동화상 부호화 방법에 의해 부호화된 데이터이다(즉, 본 발명의 일양태에 관련된 화상 부호화 장치에 의해서 부호화된 데이터이다). 이를 받은 방송 위성(ex202)은, 방송용 전파를 발신하고, 이 전파를 위성 방송의 수신이 가능한 가정의 안테나(ex204)가 수신한다. 수신한 다중화 데이터를, 텔레비전(수신기)(ex300) 또는 셋탑 박스(STB)(ex217) 등의 장치가 복호화하여 재생한다(즉, 본 발명의 일양태에 관련된 화상 복호 장치로서 기능한다).In addition, the present invention is not limited to the example of the content supply system ex100, and as shown in FIG. 10, the digital broadcasting system ex200 also includes at least a video encoding device (image encoding device) or a video decoding device (at least one of the above embodiments). Image decoding device). Specifically, in the broadcasting station ex201, multiplexed data in which music data or the like is multiplexed to video data is transmitted to a communication or satellite ex202 via radio waves. This video data is data encoded by the video encoding method described in each of the above embodiments (i.e., data encoded by the image encoding device according to one aspect of the present invention). The broadcast satellite ex202 that has received this transmits a broadcast radio wave, and the home antenna ex204 capable of receiving satellite broadcasts receives the radio wave. The received multiplexed data is decoded and reproduced by a device such as a television (receiver) ex300 or a set top box (STB) ex217 (that is, functions as an image decoding device according to an aspect of the present invention).

또한, DVD, BD 등의 기록 미디어(ex215)에 기록한 다중화 데이터를 판독하여 복호화하거나, 또는 기록 미디어(ex215)에 영상 신호를 부호화하고, 또한 경우에 따라서는 음악 신호와 다중화하여 기입하는 리더/레코더(ex218)에도 상기 각 실시의 형태에서 나타낸 동화상 복호화 장치 또는 동화상 부호화 장치를 실장하는 것이 가능하다. 이 경우, 재생된 영상 신호는 모니터(ex219)에 표시되고, 다중화 데이터가 기록된 기록 미디어(ex215)에 의해 다른 장치나 시스템에 있어서 영상 신호를 재생할 수 있다. 또한, 케이블 텔레비전용의 케이블(ex203) 또는 위성/지상파 방송의 안테나(ex204)에 접속된 셋탑 박스(ex217) 내에 동화상 복호화 장치를 실장하고, 이를 텔레비전의 모니터(ex219)로 표시해도 된다. 이때 셋탑 박스가 아니라, 텔레비젼 내에 동화상 복호화 장치를 집어넣어도 된다.In addition, a reader/recorder that reads and decodes multiplexed data recorded on a recording medium ex215, such as a DVD or BD, or encodes a video signal on the recording medium ex215 and, in some cases, multiplexes with a music signal to write. In (ex218), it is possible to mount the moving picture decoding apparatus or moving picture encoding apparatus shown in each of the above embodiments. In this case, the reproduced video signal is displayed on the monitor ex219, and the video signal can be reproduced in another device or system by the recording medium ex215 on which the multiplexed data is recorded. In addition, a moving picture decoding apparatus may be mounted in a set-top box ex217 connected to a cable ex203 for cable television or an antenna ex204 for satellite/terrestrial broadcast, and this may be displayed on a television monitor ex219. At this time, the video decoding device may be put in the TV, not in the set-top box.

도 11은 상기 각 실시의 형태에서 설명한 동화상 복호화 방법 및 동화상 부호화 방법을 이용한 텔레비전(수신기)(ex300)을 나타내는 도면이다. 텔레비전(ex300)은, 상기 방송을 수신하는 안테나(ex204) 또는 케이블(ex203) 등을 통하여 영상 데이터에 음성 데이터가 다중화된 다중화 데이터를 취득, 또는 출력하는 튜너(ex301)와, 수신한 다중화 데이터를 복조하거나, 또는 외부에 송신하는 다중화 데이터로 변조하는 변조/복조부(ex302)와, 복조한 다중화 데이터를 영상 데이터와 음성 데이터로 분리하거나, 또는 신호 처리부(ex306)에서 부호화된 영상 데이터, 음성 데이터를 다중화하는 다중/분리부(ex303)를 구비한다.Fig. 11 is a diagram showing a television (receiver) ex300 using the moving picture decoding method and the moving picture encoding method described in each of the above embodiments. The television ex300 includes a tuner ex301 that acquires or outputs multiplexed data in which audio data is multiplexed to video data through an antenna ex204 or a cable ex203 that receives the broadcast, and the received multiplexed data. A demodulation/demodulation unit ex302 for demodulating or modulating with multiplexed data transmitted to the outside, and separating the demodulated multiplexed data into image data and audio data, or image data or audio data encoded by the signal processing unit ex306 A multiplex/separator ex303 for multiplexing is provided.

또한, 텔레비전(ex300)은, 음성 데이터, 영상 데이터 각각을 복호화하거나, 또는 각각의 정보를 부호화하는 음성 신호 처리부(ex304), 영상 신호 처리부(ex305)(본 발명의 일양태에 관련된 화상 부호화 장치 또는 화상 복호 장치로서 기능한다)를 가지는 신호 처리부(ex306)와, 복호화한 음성 신호를 출력하는 스피커(ex307), 복호화한 영상 신호를 표시하는 디스플레이 등의 표시부(ex308)를 가지는 출력부(ex309)를 가진다. 또한, 텔레비전(ex300)은, 사용자 조작의 입력을 접수하는 조작 입력부(ex312) 등을 가지는 인터페이스부(ex317)를 가진다. 또한, 텔레비전(ex300)은, 각 부를 총괄적으로 제어하는 제어부(ex310), 각 부에 전력을 공급하는 전원 회로부(ex311)를 가진다. 인터페이스부(ex317)는, 조작 입력부(ex312) 이외에, 리더/레코더(ex218) 등의 외부 기기와 접속되는 브릿지(ex313), SD 카드 등의 기록 미디어(ex216)를 장착 가능하게 하기 위한 슬롯부(ex314), 하드 디스크 등의 외부 기록 미디어와 접속하기 위한 드라이버(ex315), 전화망과 접속하는 모뎀(ex316) 등을 가지고 있어도 된다. 또한, 기록 미디어(ex216)는, 저장하는 불휘발성/휘발성의 반도체 메모리 소자에 의해 전기적으로 정보의 기록을 가능하게 한 것이다. 텔레비전(ex300)의 각 부는 동기 버스를 통하여 서로 접속되어 있다.In addition, the television ex300 includes an audio signal processing unit ex304 and an image signal processing unit ex305 for decoding each of the audio data and the video data, or encoding each information (the image encoding device according to one aspect of the present invention, or A signal processing unit ex306 having a function as an image decoding device) and an output unit ex309 having a display unit ex308 such as a speaker ex307 for outputting a decoded audio signal and a display for displaying the decoded video signal. Have In addition, the television ex300 has an interface unit ex317 having an operation input unit ex312 or the like that accepts input of a user operation. In addition, the television ex300 has a control unit ex310 that collectively controls each unit, and a power supply circuit unit ex311 that supplies power to each unit. The interface unit ex317 includes, in addition to the operation input unit ex312, a slot unit for enabling mounting of a recording medium ex216, such as a bridge ex313 and an SD card connected to an external device such as a reader/recorder ex218. ex314), a driver ex315 for connecting to an external recording medium such as a hard disk, a modem ex316 for connecting to a telephone network, and the like. In addition, the recording medium ex216 enables recording of information electrically by a nonvolatile/volatile semiconductor memory element to be stored. Each part of the television ex300 is connected to each other via a synchronous bus.

우선, 텔레비전(ex300)이 안테나(ex204) 등에 의해 외부로부터 취득한 다중화 데이터를 복호화하고, 재생하는 구성에 대하여 설명한다. 텔레비전(ex300)은, 리모트 콘트롤러(ex220) 등으로부터의 유저 조작을 받아, CPU 등을 가지는 제어부(ex310)의 제어에 의거하여, 변조/복조부(ex302)에서 복조한 다중화 데이터를 다중/분리부(ex303)에서 분리한다. 또한, 텔레비전(ex300)은, 분리한 음성 데이터를 음성 신호 처리부(ex304)에서 복호화하고, 분리한 영상 데이터를 영상 신호 처리부(ex305)에서 상기 각 실시의 형태에서 설명한 복호화 방법을 이용하여 복호화한다. 복호화한 음성 신호, 영상 신호는, 각각 출력부(ex309)로부터 외부를 향하여 출력된다. 출력할 때는, 음성 신호와 영상 신호가 동기하여 재생하도록, 버퍼(ex318, ex319) 등에 일단 이들 신호를 축적하면 된다. 또한, 텔레비전(ex300)은, 방송 등으로부터가 아니라, 자기/광 디스크, SD 카드 등의 기록 미디어(ex215, ex216)로부터 다중화 데이터를 독출해도 된다. 다음에, 텔레비전(ex300)이 음성 신호나 영상 신호를 부호화하고, 외부로 송신 또는 기록 미디어 등에 기입하는 구성에 대하여 설명한다. 텔레비전(ex300)은, 리모트 콘트롤러(ex220) 등으로부터의 사용자 조작을 받아, 제어부(ex310)의 제어에 의거하여, 음성 신호 처리부(ex304)에서 음성 신호를 부호화하고, 영상 신호 처리부(ex305)에서 영상 신호를 상기 각 실시의 형태에서 설명한 부호화 방법을 이용하여 부호화한다. 부호화한 음성 신호, 영상 신호는 다중/분리부(ex303)에서 다중화되어 외부로 출력된다. 다중화할 때는, 음성 신호와 영상 신호가 동기하도록, 버퍼(ex320, ex321) 등에 일단 이들 신호를 축적하면 된다. 또한, 버퍼(ex318, ex319, ex320, ex321)는 도시하고 있는 바와같이 복수 구비되어 있어도 되고, 1개 이상의 버퍼를 공유하는 구성이어도 된다. 또한, 도시하고 있는 외에, 예를 들면 변조/복조부(ex302)나 다중/분리부(ex303)의 사이 등에서도 시스템의 오버플로우, 언더플로우를 피하는 완충재로서 버퍼에 데이터를 축적하는 것으로 해도 된다.First, a configuration in which the television ex300 decodes and reproduces multiplexed data acquired from the outside by the antenna ex204 or the like will be described. The television ex300 multiplexes/demultiplexes the multiplexed data demodulated by the modulation/demodulation unit ex302 under the control of the control unit ex310 having a CPU or the like by receiving user manipulation from the remote controller ex220 or the like. (ex303). In addition, the television ex300 decodes the separated audio data in the audio signal processing unit ex304, and decodes the separated video data in the video signal processing unit ex305 using the decoding method described in each of the above embodiments. The decoded audio signal and video signal are output from the output unit ex309 toward the outside, respectively. When outputting, it is sufficient to accumulate these signals once in the buffers ex318, ex319, etc. so that the audio signal and the video signal are reproduced in synchronization. Further, the television ex300 may read multiplexed data from recording media ex215, ex216, such as magnetic/optical disks, SD cards, etc., not from broadcast or the like. Next, a description will be given of a configuration in which the television ex300 encodes an audio signal or a video signal, and transmits it externally or writes it to a recording medium. The television ex300 receives a user's operation from the remote controller ex220 or the like, and encodes the audio signal in the audio signal processing unit ex304 under the control of the control unit ex310, and displays the video in the video signal processing unit ex305. Signals are encoded using the encoding methods described in the above embodiments. The encoded audio signal and video signal are multiplexed by the multiplex/separator ex303 and output to the outside. When multiplexing, these signals may be accumulated once in the buffers ex320, ex321, etc. so that the audio signal and the video signal are synchronized. Further, a plurality of buffers ex318, ex319, ex320, and ex321 may be provided as shown, or a configuration in which one or more buffers are shared. In addition to the illustration, data may be stored in the buffer as a buffer to avoid overflow and underflow of the system, for example, between the modulation/demodulation unit ex302 and the multiple/separation unit ex303.

또한, 텔레비전(ex300)은, 방송 등이나 기록 미디어 등으로부터 음성 데이터, 영상 데이터를 취득하는 외에, 마이크나 카메라의 AV 입력을 접수하는 구성을 구비하고, 이들로부터 취득한 데이터에 대하여 부호화 처리를 행해도 된다. 또한, 여기에서 텔레비전(ex300)은 상기의 부호화 처리, 다중화, 및 외부 출력이 가능한 구성으로서 설명했는데, 이들 처리를 행하는 것은 불가능하고, 상기 수신, 복호화 처리, 외부 출력만이 가능한 구성이어도 된다.In addition, the television ex300 is provided with a configuration for receiving audio data and video data from a broadcast or recording media, etc., and receiving AV input from a microphone or camera, and encoding processing can be performed on the data obtained from them. do. In addition, the television ex300 is described as a configuration capable of the above encoding processing, multiplexing, and external output, but it is impossible to perform these processes, and the receiving, decoding processing and only external output may be possible.

또한, 리더/레코더(ex218)로 기록 미디어로부터 다중화 데이터를 독출하거나, 또는 기입하는 경우에는, 상기 복호화 처리 또는 부호화 처리는 텔레비전(ex300), 리더/레코더(ex218)중 어느 하나로 행해도 되고, 텔레비전(ex300)과 리더/레코더(ex218)가 서로 분담하여 행해도 된다.When the multiplexed data is read or written from the recording medium by the reader/recorder ex218, the decoding process or encoding process may be performed by either the television ex300 or the reader/recorder ex218, and the television (ex300) and the leader/recorder ex218 may share each other.

일예로서, 광 디스크로부터 데이터의 읽어들임 또는 기입을 하는 경우의 정보 재생/기록부(ex400)의 구성을 도 12에 나타낸다. 정보 재생/기록부(ex400)는, 이하에 설명하는 요소(ex401, ex402, ex403, ex404, ex405, ex406, ex407)를 구비한다. 광 헤드(ex401)는, 광 디스크인 기록 미디어(ex215)의 기록면에 레이저 스폿을 조사하여 정보를 기입하고, 기록 미디어(ex215)의 기록면으로부터의 반사광을 검출하여 정보를 읽어들인다. 변조 기록부(ex402)는 광 헤드(ex401)에 내장된 반도체 레이저를 전기적으로 구동하여 기록 데이터에 따라 레이저광의 변조를 행한다. 재생 복조부(ex403)는 광 헤드(ex401)에 내장된 포토디텍터에 의해 기록면으로부터의 반사광을 전기적으로 검출한 재생 신호를 증폭하고, 기록 미디어(ex215)에 기록된 신호 성분을 분리하여 복조하여, 필요한 정보를 재생한다. 버퍼(ex4 04)는, 기록 미디어(ex215)에 기록하기 위한 정보 및 기록 미디어(ex215)로부터 재생한 정보를 일시적으로 유지한다. 디스크 모터(ex405)는 기록 미디어(ex215)를 회전시킨다. 서보 제어부(ex406)는, 디스크 모터(ex405)의 회전 구동을 제어하면서 광 헤드(ex401)를 소정의 정보 트랙으로 이동시켜, 레이저 스폿의 추종 처리를 행한다. 시스템 제어부(ex407)는, 정보 재생/기록부(ex400) 전체의 제어를 행한다. 상기의 독출이나 기입의 처리는 시스템 제어부(ex407)가, 버퍼(ex404)에 유지된 각종 정보를 이용하고, 또한 필요에 따라서 새로운 정보의 생성·추가를 행함과 더불어, 변조 기록부(ex402), 재생 복조부(ex403), 서보 제어부(ex406)를 협조 동작시키면서, 광 헤드(ex401)를 통하여, 정보의 기록 재생을 행함으로써 실현된다. 시스템 제어부(ex407)는 예를 들면 마이크로 프로세서로 구성되고, 독출 기입의 프로그램을 실행함으로써 이들 처리를 실행한다.As an example, the structure of the information reproducing/recording unit ex400 in the case of reading or writing data from an optical disc is shown in FIG. The information reproduction/recording unit ex400 includes elements (ex401, ex402, ex403, ex404, ex405, ex406, ex407) described below. The optical head ex401 irradiates a laser spot on the recording surface of the recording medium ex215, which is an optical disc, to write information, and detects reflected light from the recording surface of the recording medium ex215 to read the information. The modulation recording unit ex402 electrically drives the semiconductor laser embedded in the optical head ex401 to modulate the laser light according to the recording data. The reproduction demodulation unit ex403 amplifies the reproduction signal electrically detecting the reflected light from the recording surface by the photodetector built in the optical head ex401, separates and demodulates the signal components recorded on the recording medium ex215, Play the necessary information. The buffer ex4 04 temporarily holds information for recording on the recording medium ex215 and information reproduced from the recording medium ex215. The disc motor ex405 rotates the recording medium ex215. The servo control unit ex406 moves the optical head ex401 to a predetermined information track while controlling the rotational drive of the disc motor ex405, and performs laser spot tracking processing. The system control unit ex407 controls the entire information reproduction/recording unit ex400. In the above reading and writing processing, the system control unit ex407 uses various information held in the buffer ex404, and also creates and adds new information as necessary, and modulates the recording unit ex402 and reproduces it. It is realized by performing recording and reproduction of information through the optical head ex401 while cooperatively operating the demodulation unit ex403 and the servo control unit ex406. The system control unit ex407 is composed of, for example, a microprocessor, and executes these processes by executing a program of reading and writing.

이상에서, 광 헤드(ex401)는 레이저 스폿을 조사하는 것으로서 설명했는데, 근접장 광을 이용하여 보다 고밀도의 기록을 행하는 구성이어도 된다.In the above, the optical head ex401 has been described as irradiating a laser spot, but a configuration in which a higher-density recording is performed using near-field light may be used.

도 13에 광 디스크인 기록 미디어(ex215)의 모식도를 도시한다. 기록 미디어(ex215)의 기록면에는 안내 홈(그룹)이 스파이럴형상으로 형성되고, 정보 트랙(ex230)에는, 미리 그룹의 형상 변화에 따라 디스크 상의 절대 위치를 나타내는 번지 정보가 기록되어 있다. 이 번지 정보는 데이터를 기록하는 단위인 기록 블록(ex231)의 위치를 특정하기 위한 정보를 포함하고, 기록이나 재생을 행하는 장치에 있어서 정보 트랙(ex230)을 재생하여 번지 정보를 판독함으로써 기록 블록을 특정할 수 있다. 또한, 기록 미디어(ex215)는, 데이터 기록 영역(ex233), 내주 영역(ex232), 외주 영역(ex234)을 포함하고 있다. 유저 데이터를 기록하기 위해서 이용하는 영역이 데이터 기록 영역(ex233)이며, 데이터 기록 영역(ex233)보다 내주 또는 외주에 배치되어 있는 내주 영역(ex232)과 외주 영역(ex234)은, 유저 데이터의 기록 이외의 특정 용도에 이용된다. 정보 재생/기록부(ex400)는, 이러한 기록 미디어(ex215)의 데이터 기록 영역(ex233)에 대하여, 부호화된 음성 데이터, 영상 데이터 또는 이들 데이터를 다중화한 다중화 데이터의 읽고 쓰기를 행한다.Fig. 13 is a schematic diagram of a recording medium ex215 that is an optical disc. On the recording surface of the recording medium ex215, guide grooves (groups) are formed in a spiral shape, and in the information track ex230, address information indicating the absolute position on the disc according to the change in the shape of the group is recorded in advance. This address information includes information for specifying the position of the recording block ex231, which is a unit for recording data, and reads the address block by reading the address track ex230 in the apparatus for recording or reproducing. It can be specified. In addition, the recording medium ex215 includes a data recording area ex233, an inner peripheral area ex232, and an outer peripheral area ex234. The area used to record the user data is the data recording area ex233, and the inner circumferential area ex232 and the outer circumferential area ex234 that are disposed on the inner circumference or the outer circumference than the data recording area ex233 are other than the recording of the user data. Used for specific applications. The information reproducing/recording unit ex400 reads and writes the encoded audio data, video data, or multiplexed data multiplexed on these data recording areas ex233 of the recording medium ex215.

이상에서는, 1층의 DVD, BD 등의 광 디스크를 예로 들어 설명했는데, 이들에 한정되는 것은 아니고, 다층 구조이며, 표면 이외에도 기록 가능한 광 디스크여도 된다. 또한, 디스크와 같은 장소에 다양한 다른 파장의 색의 광을 이용하여 정보를 기록하거나, 다양한 각도로부터 다른 정보의 층을 기록하거나, 다차원적인 기록/재생을 행하는 구조의 광 디스크여도 된다.In the above, an optical disc such as a DVD or BD on one layer has been described as an example. However, the present invention is not limited to these, and may have a multi-layer structure and an optical disc that can be recorded in addition to the surface. Further, the optical disk may be a structure in which information is recorded using light of various different wavelengths in the same place as the disk, a layer of different information is recorded from various angles, or multidimensional recording/reproduction is performed.

또한, 디지털 방송용 시스템(ex200)에 있어서, 안테나(ex205)를 가지는 차(ex210)에서 위성(ex202) 등으로부터 데이터를 수신하고, 차(ex210)가 가지는 카 내비게이션(ex211) 등의 표시 장치에 동화상을 재생하는 것도 가능하다. 또한, 카 내비게이션(ex211)의 구성은 예를 들면 도 11에 나타내는 구성 중, GPS 수신부를 추가한 구성을 생각할 수 있고, 동일한 것이 컴퓨터(ex111)나 휴대 전화(ex114) 등에서도 생각할 수 있다.In addition, in the digital broadcasting system ex200, data is received from a satellite ex202 or the like by a car ex210 having an antenna ex205, and a moving image is displayed on a display device such as a car navigation ex211 of the car ex210. It is also possible to play. In addition, the configuration of the car navigation ex211, for example, among the configurations shown in FIG. 11, a configuration in which a GPS receiver is added can be considered, and the same can be considered for a computer ex111, a mobile phone ex114, or the like.

도 14a는 상기 실시의 형태에서 설명한 동화상 복호화 방법 및 동화상 부호화 방법을 이용한 휴대 전화(ex114)를 나타내는 도면이다. 휴대 전화(ex114)는, 기지국(ex110)과의 사이에서 전파를 송수신하기 위한 안테나(ex350), 영상, 정지 화상을 찍는 것이 가능한 카메라부(ex365), 카메라부(ex365)에서 촬상한 영상, 안테나(ex350)로 수신한 영상 등이 복호화된 데이터를 표시하는 액정 디스플레이 등의 표시부(ex358)를 구비한다. 휴대 전화(ex114)는, 조작 키부(ex366)를 더 가지는 본체부, 음성을 출력하기 위한 스피커 등인 음성 출력부(ex357), 음성을 입력하기 위한 마이크 등인 음성 입력부(ex356), 촬영한 영상, 정지 화상, 녹음한 음성, 또는 수신한 영상, 정지 화상, 메일 등의 부호화된 데이터 혹은 복호화된 데이터를 보존하는 메모리부(ex367), 또는 마찬가지로 데이터를 보존하는 기록 미디어와의 인터페이스부인 슬롯부(ex364)를 구비한다.Fig. 14A is a diagram showing a mobile phone ex114 using the moving picture decoding method and the moving picture encoding method described in the above embodiment. The mobile phone ex114 includes an antenna ex350 for transmitting and receiving radio waves between the base station ex110, a camera unit ex365 capable of taking a video, and a still image, and an image captured by the camera unit ex365, and an antenna A display unit ex358, such as a liquid crystal display, that displays the decoded data, such as an image received by (ex350), is provided. The mobile phone ex114 includes a main body having an operation key ex366, a voice output unit ex357 as a speaker for outputting audio, a voice input unit ex356 as a microphone for inputting audio, photographed images, still images Memory section (ex367) for storing coded or decoded data such as images, recorded voices, or received images, still images, and mail, or slot section (ex364), which is an interface to recording media that similarly stores data It is provided.

또한, 휴대 전화(ex114)의 구성예에 대하여, 도 14b를 이용하여 설명한다. 휴대 전화(ex114)는, 표시부(ex358) 및 조작 키부(ex366)를 구비한 본체부의 각 부를 총괄적으로 제어하는 주제어부(ex360)에 대하여, 전원 회로부(ex361), 조작 입력 제어부(ex362), 영상 신호 처리부(ex355), 카메라 인터페이스부(ex363), LCD(Liquid Crystal Display) 제어부(ex359), 변조/복조부(ex352), 다중/분리부(ex353), 음성 신호 처리부(ex354), 슬롯부(ex364), 메모리부(ex367)가 버스(ex370)를 통하여 서로 접속되어 있다.In addition, a configuration example of the mobile phone ex114 will be described with reference to Fig. 14B. The mobile phone ex114 includes a power supply circuit unit ex361, an operation input control unit ex362, and a video for the main control unit ex360 that collectively controls each part of the main body unit having the display unit ex358 and the operation key unit ex366. Signal processing unit (ex355), camera interface unit (ex363), LCD (Liquid Crystal Display) control unit (ex359), modulation / demodulation unit (ex352), multiple / separation unit (ex353), audio signal processing unit (ex354), slot unit ( ex364), and the memory units ex367 are connected to each other through the bus ex370.

전원 회로부(ex361)는, 유저의 조작에 의해 통화 종료 및 전원 키가 온 상태로 되면, 배터리 팩으로부터 각 부에 대하여 전력을 공급함으로써 휴대 전화(ex114)를 동작 가능한 상태로 기동한다.The power supply circuit unit ex361 activates the cellular phone ex114 in an operable state by supplying electric power to each unit from the battery pack when the call termination and the power key are turned on by a user's operation.

휴대 전화(ex114)는, CPU, ROM, RAM 등을 가지는 주제어부(ex360)의 제어에 의거하여, 음성 통화 모드 시에 음성 입력부(ex356)에서 수음한 음성 신호를 음성 신호 처리부(ex354)에서 디지털 음성 신호로 변환하고, 이를 변조/복조부(ex352)에서 스펙트럼 확산 처리하고, 송신/수신부(ex351)에서 디지털 아날로그 변환 처리 및 주파수 변환 처리를 실시한 후에 안테나(ex350)를 통하여 송신한다. 또한, 휴대 전화(ex114)는, 음성 통화 모드 시에 안테나(ex350)를 통하여 수신한 수신 데이터를 증폭하여 주파수 변환 처리 및 아날로그 디지털 변환 처리를 실시하고, 변조/복조부(ex352)에서 스펙트럼 역확산 처리하고, 음성 신호 처리부(ex354)에서 아날로그 음성 신호로 변환한 후, 이를 음성 출력부(ex357)로부터 출력한다.The mobile phone ex114 digitalizes the voice signal received by the voice input unit ex356 in the voice call mode in the voice signal processing unit ex354 under the control of the main control unit ex360 having a CPU, ROM, RAM, or the like. It is converted to a voice signal, and is subjected to spectrum spreading processing by the modulation/demodulation unit ex352, digital analog conversion processing and frequency conversion processing are performed by the transmission/reception unit ex351, and then transmitted through the antenna ex350. In addition, the mobile phone ex114 amplifies received data received through the antenna ex350 in the voice call mode, performs frequency conversion processing and analog digital conversion processing, and performs spectrum despreading by the modulation/demodulation unit ex352. After processing, the audio signal processing unit ex354 converts the analog audio signal, and outputs it from the audio output unit ex357.

또한, 데이터 통신 모드 시에 전자 메일을 송신하는 경우, 본체부의 조작 키부(ex366) 등의 조작에 의해서 입력된 전자 메일의 텍스트 데이터는 조작 입력 제어부(ex362)를 통하여 주제어부(ex360)에 송출된다. 주제어부(ex360)는, 텍스트 데이터를 변조/복조부(ex352)에서 스펙트럼 확산 처리를 하고, 송신/수신부(ex351)에서 디지털 아날로그 변환 처리 및 주파수 변환 처리를 실시한 후에 안테나(ex350)를 통하여 기지국(ex110)으로 송신한다. 전자 메일을 수신하는 경우는, 수신한 데이터에 대하여 이와는 거의 반대의 처리가 행해져, 표시부(ex358)에 출력된다.In addition, when the electronic mail is transmitted in the data communication mode, text data of the electronic mail input by an operation such as the operation key unit ex366 of the main body is sent to the main control unit ex360 through the operation input control unit ex362 . The main control unit ex360 performs spectrum spreading processing on the modulation/demodulation unit ex352 by the text data, performs digital analog conversion processing and frequency conversion processing by the transmission/reception unit ex351, and then transmits the frequency data through the antenna ex350. ex110). In the case of receiving an e-mail, processing substantially opposite to that of the received data is performed and output to the display unit ex358.

데이터 통신 모드시에 영상, 정지 화상, 또는 영상과 음성을 송신하는 경우, 영상 신호 처리부(ex355)는, 카메라부(ex365)로부터 공급된 영상 신호를 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법에 의해 압축 부호화하고(즉, 본 발명의 일양태에 관련된 화상 부호화 장치로서 기능한다), 부호화된 영상 데이터를 다중/분리부(ex353)로 송출한다. 또한, 음성 신호 처리부(ex354)는, 영상, 정지 화상 등을 카메라부(ex365)로 촬상 중에 음성 입력부(ex356)에서 수음한 음성 신호를 부호화하고, 부호화된 음성 데이터를 다중/분리부(ex353)로 송출한다.When transmitting a video, still image, or video and audio in data communication mode, the video signal processing unit ex355 uses the video encoding method shown in each of the above embodiments to receive the video signal supplied from the camera unit ex365. Compressed encoding (that is, functioning as an image encoding apparatus according to an aspect of the present invention), and the encoded image data is transmitted to a multiplex/separator ex353. In addition, the audio signal processing unit ex354 encodes the audio signal received by the audio input unit ex356 during imaging of an image, a still image, or the like with the camera unit ex365, and multiplex/separate the encoded audio data (ex353) Sent to

다중/분리부(ex353)는, 영상 신호 처리부(ex355)로부터 공급된 부호화된 영상 데이터와 음성 신호 처리부(ex354)로부터 공급된 부호화된 음성 데이터를 소정의 방식으로 다중화하고, 그 결과 얻어지는 다중화 데이터를 변조/ 복조부(변조/복조 회로부)(ex352)에서 스펙트럼 확산 처리를 하고, 송신/수신부(ex351)에서 디지털 아날로그 변환 처리 및 주파수 변환 처리를 실시한 후에 안테나(ex350)를 통하여 송신한다.The multiplex/separation unit ex353 multiplexes the encoded image data supplied from the video signal processing unit ex355 and the encoded audio data supplied from the audio signal processing unit ex354 in a predetermined manner, and multiplexed data obtained as a result. Spectrum spreading processing is performed by the modulation/demodulation unit (modulation/demodulation circuit unit) ex352, digital analog conversion processing and frequency conversion processing are performed by the transmission/reception unit ex351, and then transmitted through the antenna ex350.

데이터 통신 모드시에 홈 페이지 등에 링크된 동화상 파일의 데이터를 수신하는 경우, 또는 영상 및 혹은 음성이 첨부된 전자 메일을 수신하는 경우, 안테나(ex350)를 통하여 수신된 다중화 데이터를 복호화하기 위해서, 다중/분리부(ex353)는, 다중화 데이터를 분리함으로써 영상 데이터의 비트 스트림과 음성 데이터의 비트 스트림으로 나누고, 동기 버스(ex370)를 통하여 부호화된 영상 데이터를 영상 신호 처리부(ex355)에 공급함과 더불어, 부호화된 음성 데이터를 음성 신호 처리부(ex354)에 공급한다. 영상 신호 처리부(ex355)는, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법에 대응한 동화상 복호화 방법에 의해 복호화함으로써 영상 신호를 복호하고(즉, 본 발명의 일형태에 관련된 화상 복호 장치로서 기능한다), LCD 제어부(ex359)를 통하여 표시부(ex358)로부터, 예를 들면 홈 페이지에 링크된 동화상 파일에 포함되는 영상, 정지 화상이 표시된다. 또한, 음성 신호 처리부(ex354)는, 음성 신호를 복호하고, 음성 출력부(ex357)로부터 음성이 출력된다.When receiving data of a video file linked to a home page or the like in the data communication mode, or when receiving an e-mail with video and/or audio attached, in order to decode the multiplexed data received through the antenna ex350, multiplexing The /separation unit ex353 divides the multiplexed data into a bit stream of video data and a bit stream of audio data, and supplies the video data encoded through the sync bus ex370 to the video signal processing unit ex355, The encoded audio data is supplied to the audio signal processing unit ex354. The video signal processing unit ex355 decodes the video signal by decoding by the video decoding method corresponding to the video encoding method shown in each of the above embodiments (i.e., functions as an image decoding device according to one embodiment of the present invention) , An image and a still image included in a moving image file linked to a home page are displayed from the display unit ex358 through the LCD control unit ex359. In addition, the audio signal processing unit ex354 decodes the audio signal, and audio is output from the audio output unit ex357.

또한, 상기 휴대 전화(ex114) 등의 단말은, 텔레비전(ex300)과 마찬가지로, 부호화기·복호화기를 양쪽 모두 가지는 송수신형 단말 외에, 부호화기만의 송신 단말, 복호화기만의 수신 단말이라고 하는 3가지 실장 형식을 생각할 수 있다. 또한, 디지털 방송용 시스템(ex200)에 있어서, 영상 데이터에 음악 데이터 등이 다중화된 다중화 데이터를 수신, 송신하는 것으로 설명했는데, 음성 데이터 이외에 영상에 관련된 문자 데이터 등이 다중화된 데이터여도 되고, 다중화 데이터가 아니라 영상 데이터 자체여도 된다.In addition, the terminal such as the mobile phone ex114, like the television ex300, has three types of mounting types, in addition to a transmitting/receiving terminal having both an encoder and a decoder, and a transmitting terminal only for the encoder and a receiving terminal only for the decoder. Can think. In addition, in the digital broadcasting system ex200, it has been described as receiving and transmitting multiplexed data in which music data and the like are multiplexed to image data. In addition to audio data, text data related to images may be multiplexed data, and multiplexed data may be used. No, it may be the video data itself.

이와 같이, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 혹은 동화상 복호화 방법을 상술한 어느 하나의 기기·시스템에 이용하는 것이 가능하고, 그렇게 함으로써, 상기 각 실시의 형태에서 설명한 효과를 얻을 수 있다.In this way, it is possible to use the moving picture coding method or the moving picture decoding method shown in each of the above embodiments in any one of the above-described devices and systems, and by doing so, the effects described in the above-described respective embodiments can be obtained.

또한, 본 발명은 이러한 상기 실시의 형태에 한정되는 것은 아니고, 본 발명의 범위를 일탈하지 않고 다양한 변형 또는 수정이 가능하다.In addition, the present invention is not limited to the above-described embodiment, and various modifications or modifications can be made without departing from the scope of the present invention.

(실시의 형태 4) (Embodiment 4)

상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치와, MPEG-2, MPEG4-AVC, VC-1 등 상이한 규격에 준거한 동화상 부호화 방법 또는 장치를, 필요에 따라서 적절히 전환함으로써, 영상 데이터를 생성하는 것도 가능하다.Video data is generated by appropriately switching the video encoding method or apparatus shown in each of the above embodiments and the video encoding method or apparatus conforming to different standards such as MPEG-2, MPEG4-AVC, VC-1, etc. as necessary. It is also possible.

여기서, 각각 다른 규격에 준거하는 복수의 영상 데이터를 생성한 경우, 복호할 때에, 각각의 규격에 대응한 복호 방법을 선택할 필요가 있다. 그러나 복호하는 영상 데이터가, 어느 규격에 준거하는 것인지 식별할 수 없기 때문에, 적절한 복호 방법을 선택할 수 없다는 과제가 생긴다.Here, when a plurality of video data conforming to different standards are generated, it is necessary to select a decoding method corresponding to each standard when decoding. However, since it is not possible to discriminate which standard the video data to be decoded conforms to, a problem arises in that an appropriate decoding method cannot be selected.

이 과제를 해결하기 위해서, 영상 데이터에 음성 데이터 등을 다중화한 다중화 데이터는, 영상 데이터가 어느 규격에 준거하는 것인지를 나타내는 식별 정보를 포함하는 구성으로 한다. 상기 각 실시의 형태에서 나타내는 동화상 부호화 방법 또는 장치에 의해서 생성된 영상 데이터를 포함하는 다중화 데이터의 구체적인 구성을 이하에 설명한다. 다중화 데이터는, MPEG-2 트랜스포트 스트림 형식의 디지털 스트림이다.In order to solve this problem, the multiplexed data obtained by multiplexing audio data or the like to video data is configured to include identification information indicating which standard the video data conforms to. The specific configuration of the multiplexed data including the video data generated by the video encoding method or apparatus shown in each of the above embodiments will be described below. The multiplexed data is a digital stream in MPEG-2 transport stream format.

도 15는, 다중화 데이터의 구성을 나타내는 도면이다. 도 15에 나타내는 바와같이 다중화 데이터는, 비디오 스트림, 오디오 스트림, 프레젠테이션 그래픽스 스트림(PG), 인터랙티브 그래픽스 스트림 중, 1개 이상을 다중화함으로써 얻어진다. 비디오 스트림은 영화의 주영상 및 부영상을, 오디오 스트림(IG)은 영화의 주음성 부분과 그 주음성과 믹싱하는 부음성을, 프레젠테이션 그래픽스 스트림은, 영화의 자막을 각각 나타낸다. 여기서 주영상이란 화면에 표시되는 통상의 영상을 나타내고, 부영상이란 주영상 안에 작은 화면으로 표시하는 영상을 말한다. 또한, 인터랙티브 그래픽스 스트림은, 화면 상에 GUI 부품을 배치함으로써 작성되는 대화 화면을 나타낸다. 비디오 스트림은, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거한 동화상 부호화 방법 또는 장치에 의해서 부호화되어 있다. 오디오 스트림은, 돌비 AC-3, Dolby Digital Plus, MLP, DTS, DTS-HD, 또는, 리니어 PCM 등의 방식으로 부호화되어 있다.15 is a diagram showing a configuration of multiplexed data. As shown in Fig. 15, multiplexed data is obtained by multiplexing one or more of a video stream, an audio stream, a presentation graphics stream (PG), and an interactive graphics stream. The video stream represents the main and sub-pictures of the movie, the audio stream (IG) represents the main audio portion of the movie and the sub-audio mixing with the main voice, and the presentation graphics stream represents the subtitle of the movie. Here, the main image refers to a normal image displayed on the screen, and the sub-image refers to an image displayed on a small screen in the main image. In addition, the interactive graphics stream represents a dialog screen created by arranging GUI parts on the screen. The video stream is encoded by the video encoding method or apparatus shown in each of the above-mentioned embodiments, and the conventional video encoding method or apparatus conforming to standards such as MPEG-2, MPEG4-AVC and VC-1. The audio stream is encoded by Dolby AC-3, Dolby Digital Plus, MLP, DTS, DTS-HD, or linear PCM.

다중화 데이터에 포함되는 각 스트림은 PID에 의해서 식별된다. 예를 들면, 영화의 영상에 이용하는 비디오 스트림에는 Ox1011이, 오디오 스트림에는 Ox1100부터 Ox111F까지가, 프레젠테이션 그래픽스에는 Ox1200부터 Ox121F까지가, 인터랙티브 그래픽스 스트림에는 Ox1400부터 Ox141F까지가, 영화의 부영상에 이용하는 비디오 스트림에는 Ox1B00부터 Ox1B1F까지, 주음성과 믹싱하는 부음성에 이용하는 오디오 스트림에는 Ox1A00부터 Ox1A1F가, 각각 할당되어 있다.Each stream included in the multiplexed data is identified by PID. For example, Ox1011 is used for video streams used for movie images, Ox1100 to Ox111F for audio streams, Ox1200 to Ox121F for presentation graphics, and Ox1400 to Ox141F for interactive graphics streams. Ox1B00 to Ox1B1F are assigned to the stream, and Ox1A00 to Ox1A1F are assigned to audio streams used for the sub-audio that is mixed with the main voice.

도 16은, 다중화 데이터가 어떻게 다중화되는지를 모식적으로 나타내는 도면이다. 우선, 복수의 비디오 프레임으로 이루어지는 비디오 스트림(ex235), 복수의 오디오 프레임으로 이루어지는 오디오 스트림(ex238)을, 각각 PES 패킷열(ex236) 및 (ex239)로 변환하고, TS 패킷(ex237) 및 (ex240)로 변환한다. 마찬가지로 프레젠테이션 그래픽스 스트림(ex241) 및 인터랙티브 그래픽스(ex244)의 데이터를 각각 PES 패킷열(ex242) 및 (ex245)로 변환하고, 다시 TS 패킷(ex243) 및 (ex246)로 변환한다. 다중화 데이터(ex247)는 이들 TS 패킷을 1개의 스트림으로 다중화함으로써 구성된다.16 is a diagram schematically showing how multiplexed data is multiplexed. First, a video stream ex235 composed of a plurality of video frames and an audio stream ex238 composed of a plurality of audio frames are converted into PES packet sequences ex236 and ex239, respectively, and TS packets ex237 and ex240 ). Similarly, the data of the presentation graphics stream ex241 and the interactive graphics ex244 are converted into PES packet sequences ex242 and ex245, respectively, and then converted into TS packets ex243 and ex246, respectively. The multiplexed data ex247 is configured by multiplexing these TS packets into one stream.

도 17은, PES 패킷열에, 비디오 스트림이 어떻게 저장되는지를 더욱 상세하게 나타내고 있다. 도 17에 있어서의 제1단째는 비디오 스트림의 비디오 프레임열을 나타낸다. 제2단째는 PES 패킷열을 나타낸다. 도 17의 화살표 yy1, yy2, yy3, yy4로 나타내는 바와같이, 비디오 스트림에 있어서의 복수의 Video Presentation Unit인 I픽쳐, B픽쳐, P픽쳐는, 픽쳐마다 분할되고, PES 패킷의 페이로드에 저장된다. 각 PES 패킷은 PES 헤더를 가지고, PES 헤더에는, 픽쳐의 표시 시각인 PTS(Presentation Time-Stamp)나 픽쳐의 복호 시각인 DTS(Decoding Time-Stamp)가 저장된다.Fig. 17 shows how the video stream is stored in the PES packet sequence in more detail. The first row in Fig. 17 shows a video frame sequence of a video stream. The second row represents the PES packet sequence. As shown by arrows yy1, yy2, yy3, and yy4 in FIG. 17, I, B, and P pictures, which are a plurality of Video Presentation Units in a video stream, are divided for each picture and stored in the payload of the PES packet. . Each PES packet has a PES header, and the PES header stores PTS (Presentation Time-Stamp) as a picture display time or DTS (Decoding Time-Stamp) as a picture decoding time.

도 18은 다중화 데이터에 최종적으로 기입되는 TS 패킷의 형식을 나타내고 있다. TS 패킷은, 스트림을 식별하는 PID 등의 정보를 가지는 4Byte의 TS 헤더와 데이터를 저장하는 184Byte의 TS 페이로드로 구성되는 188Byte 고정 길이의 패킷이며, 상기 PES 패킷은 분할되어 TS 페이로드에 저장된다. BD-ROM의 경우, TS 패킷에는, 4Byte의 TP_Extra_Header가 부여되고, 192Byte의 소스 패킷을 구성하여, 다중화 데이터에 기입된다. TP_Extra_Header에는 ATS(Arrival_Time_Stamp) 등의 정보가 기재된다. ATS는 당해 TS 패킷의 디코더의 PID 필터로의 전송 개시 시각을 나타낸다. 다중화 데이터에는 도 18 하단에 나타내는 바와같이 소스 패킷이 배열되고, 다중화 데이터의 선두로부터 인크리먼트하는 번호는 SPN(소스 패킷 넘버)로 불린다.Fig. 18 shows the format of a TS packet finally written into the multiplexed data. The TS packet is a 188Byte fixed length packet composed of a 4Byte TS header having information such as PID for identifying a stream and a 184Byte TS payload storing data, and the PES packet is divided and stored in the TS payload. . In the case of BD-ROM, 4 bytes of TP_Extra_Header are assigned to TS packets, and a source packet of 192 bytes is constituted and written into multiplexed data. Information such as ATS (Arrival_Time_Stamp) is described in TP_Extra_Header. ATS indicates the start time of transmission of the TS packet to the PID filter of the decoder. Source packets are arranged in the multiplexed data as shown in the lower part of FIG. 18, and the number incremented from the top of the multiplexed data is called SPN (source packet number).

또한, 다중화 데이터에 포함되는 TS 패킷에는, 영상·음성·자막 등의 각 스트림 이외에도 PAT(Program Association Table), PMT(Program Map Table), PCR (Program Clock Reference) 등이 있다. PAT는 다중화 데이터 중에 이용되는 PMT의 PID가 무엇인지를 나타내고, PAT 자신의 PID는 0으로 등록된다. PMT는, 다중화 데이터 중에 포함되는 영상·음성·자막 등의 각 스트림의 PID와 각 PID에 대응하는 스트림의 속성 정보를 가지고, 또한 다중화 데이터에 관한 각종 디스크립터를 가진다. 디스크립터에는 다중화 데이터의 카피의 허가·불허가를 지시하는 카피 컨트롤 정보 등이 있다. PCR은, ATS의 시간축인 ATC(Arrrval Time Clock)와 PTS·DTS의 시간축인 STC(System Time Clock)의 동기를 취하기 위해서, 그 PCR 패킷이 디코더에 전송되는 ATS에 대응하는 STC 시간의 정보를 가진다.In addition, TS packets included in the multiplexed data include PAT (Program Association Table), PMT (Program Map Table), and PCR (Program Clock Reference) in addition to each stream such as video, audio, and subtitles. PAT indicates what PID of the PMT used in the multiplexed data, and the PID of the PAT itself is registered as 0. The PMT has PIDs of each stream, such as video, audio, and subtitles included in the multiplexed data, and attribute information of streams corresponding to each PID, and also has various descriptors for multiplexed data. The descriptor includes copy control information indicating whether permission of copying of multiplexed data is permitted or not. In order to synchronize the ATS (Arrrval Time Clock), the time axis of the ATS, and the System Time Clock (STC), the time axis of the PTS and DTS, the PCR packet has STC time information corresponding to the ATS transmitted to the decoder. .

도 19는 PMT의 데이터 구조를 상세하게 설명하는 도면이다. PMT의 선두에는, 그 PMT에 포함되는 데이터의 길이 등을 표기한 PMT 헤더가 배치된다. 그 뒤에는, 다중화 데이터에 관한 디스크립터가 복수 배치된다. 상기 카피 컨트롤 정보 등이 디스크립터로서 기재된다. 디스크립터의 후에는, 다중화 데이터에 포함되는 각 스트림에 관한 스트림 정보가 복수 배치된다. 스트림 정보는, 스트림의 압축 코덱 등을 식별하기 위한 스트림 타입, 스트림의 PID, 스트림의 속성 정보(프레임 레이트, 애스팩트비 등)가 기재된 스트림 디스크립터로 구성된다. 스트림 디스크립터는 다중화 데이터에 존재하는 스트림의 수만큼 존재한다.19 is a view for explaining in detail the data structure of the PMT. At the head of the PMT, a PMT header indicating the length of the data contained in the PMT and the like is arranged. After that, a plurality of descriptors for the multiplexed data are arranged. The copy control information and the like are described as descriptors. After the descriptor, a plurality of stream information relating to each stream included in the multiplexed data is arranged. The stream information is composed of a stream descriptor for describing a stream type, a PID of a stream, and attribute information (frame rate, aspect ratio, etc.) for identifying a compressed codec of the stream. There are as many stream descriptors as there are streams present in the multiplexed data.

기록 매체 등에 기록하는 경우에는, 상기 다중화 데이터는, 다중화 데이터 정보 파일과 함께 기록된다.When recording on a recording medium or the like, the multiplexed data is recorded together with the multiplexed data information file.

다중화 데이터 정보 파일은, 도 20에 나타내는 바와같이 다중화 데이터의 관리 정보이며, 다중화 데이터와 1대 1로 대응하고, 다중화 데이터 정보, 스트림 속성 정보와 엔트리 맵으로 구성된다.As shown in FIG. 20, the multiplexed data information file is management information of multiplexed data, and corresponds to multiplexed data one-to-one, and is composed of multiplexed data information, stream attribute information, and an entry map.

다중화 데이터 정보는 도 20에 나타내는 바와같이 시스템 레이트, 재생 개시 시각, 재생 종료 시각으로 구성되어 있다. 시스템 레이트는 다중화 데이터의, 후술하는 시스템 타겟 디코더의 PID 필터로의 최대 전송 레이트를 나타낸다. 다중화 데이터 중에 포함되는 ATS의 간격은 시스템 레이트 이하가 되도록 설정되어 있다. 재생 개시 시각은 다중화 데이터의 선두 비디오 프레임의 PTS이며, 재생 종료 시각은 다중화 데이터의 종단의 비디오 프레임의 PTS에 1프레임분의 재생 간격을 더한 것이 설정된다.As shown in FIG. 20, the multiplexed data information is composed of a system rate, a reproduction start time, and a reproduction end time. The system rate represents the maximum transmission rate of the multiplexed data to the PID filter of the system target decoder described later. The interval of ATS included in the multiplexed data is set to be equal to or less than the system rate. The reproduction start time is the PTS of the first video frame of the multiplexed data, and the reproduction end time is set by adding the reproduction interval for one frame to the PTS of the video frame at the end of the multiplexed data.

스트림 속성 정보는 도 21에 나타내는 바와같이, 다중화 데이터에 포함되는 각 스트림에 대한 속성 정보가, PID마다 등록된다. 속성 정보는 비디오 스트림, 오디오 스트림, 프리젠테이션 그래픽스 스트림, 인터랙티브 그래픽스 스트림마다 다른 정보를 가진다. 비디오 스트림 속성 정보는, 그 비디오 스트림이 어떠한 압축 코덱으로 압축되었는지, 비디오 스트림을 구성하는 개개의 픽쳐 데이터의 해상도가 얼마인지, 애스팩트비는 얼마인지, 프레임 레이트는 얼마인지 등의 정보를 가진다. 오디오 스트림 속성 정보는, 그 오디오 스트림이 어떠한 압축 코덱으로 압축되었는지, 그 오디오 스트림에 포함되는 채널수는 무엇인지, 어느 언어에 대응하는지, 샘플링 주파수가 얼마인지 등의 정보를 가진다. 이들 정보는, 플레이어가 재생하기 전의 디코더의 초기화 등에 이용된다.As shown in Fig. 21, as for the stream attribute information, attribute information for each stream included in the multiplexed data is registered for each PID. The attribute information has different information for each video stream, audio stream, presentation graphics stream, and interactive graphics stream. The video stream attribute information includes information such as what compression codec the video stream is compressed to, what resolution of each picture data constituting the video stream is, what is the aspect ratio, and what is the frame rate. The audio stream attribute information has information such as what compression codec the audio stream is compressed to, what number of channels are included in the audio stream, which language it corresponds to, and how much the sampling frequency is. These pieces of information are used for initialization of the decoder before the player plays it or the like.

본 실시의 형태에 있어서는, 상기 다중화 데이터 중, PMT에 포함되는 스트림 타입을 이용한다. 또한, 기록 매체에 다중화 데이터가 기록되어 있는 경우에는, 다중화 데이터 정보에 포함되는, 비디오 스트림 속성 정보를 이용한다. 구체적으로는, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 있어서, PMT에 포함되는 스트림 타입, 또는, 비디오 스트림 속성 정보에 대해, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 영상 데이터인 것을 나타내는 고유의 정보를 설정하는 단계 또는 수단을 구비한다. 이 구성에 의해, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성한 영상 데이터와, 다른 규격에 준거하는 영상 데이터를 식별하는 것이 가능해진다.In the present embodiment, among the multiplexed data, a stream type included in the PMT is used. When multiplexed data is recorded on a recording medium, video stream attribute information included in the multiplexed data information is used. Specifically, in the video encoding method or device shown in each of the above embodiments, the stream type or video stream attribute information included in the PMT is generated by the video encoding method or device shown in each of the above embodiments. And a step or means for setting unique information indicating that the video data is generated. With this configuration, it is possible to identify video data generated by the video encoding method or apparatus shown in each of the above embodiments and video data conforming to other standards.

또한, 본 실시의 형태에 있어서의 동화상 복호화 방법의 단계를 도 22에 나타낸다. 단계 exS100에 있어서, 다중화 데이터로부터 PMT에 포함되는 스트림 타입, 또는, 다중화 데이터 정보에 포함되는 비디오 스트림 속성 정보를 취득한다. 다음에, 단계 exS101에 있어서, 스트림 타입, 또는, 비디오 스트림 속성 정보가 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 다중화 데이터인 것을 나타내고 있는지 여부를 판단한다. 그리고 스트림 타입, 또는, 비디오 스트림 속성 정보가 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 것이라고 판단된 경우에는, 단계 exS102에 있어서, 상기 각 실시의 형태에서 나타낸 동화상 복호 방법에 의해 복호를 행한다. 또한, 스트림 타입, 또는, 비디오 스트림 속성 정보가, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거하는 것임을 나타내는 경우에는, 단계 exS103에 있어서, 종래의 규격에 준거한 동화상 복호 방법에 의해 복호를 행한다.Fig. 22 shows steps of the video decoding method according to the present embodiment. In step exS100, the stream type included in the PMT or the video stream attribute information included in the multiplexed data information is acquired from the multiplexed data. Next, in step exS101, it is judged whether or not the stream type or video stream attribute information indicates that it is multiplexed data generated by the video encoding method or apparatus shown in each of the above embodiments. When it is determined that the stream type or the video stream attribute information is generated by the video encoding method or apparatus shown in each of the above embodiments, in step exS102, the video decoding method shown in each of the above embodiments is used. Decrypt. When the stream type or the video stream attribute information indicates that it conforms to the standards of the conventional MPEG-2, MPEG4-AVC, VC-1, etc., in step exS103, the video decoding according to the conventional standard is decoded. Decoding is performed by a method.

이와 같이, 스트림 타입, 또는, 비디오 스트림 속성 정보에 새로운 고유값을 설정함으로써, 복호할 때에, 상기 각 실시의 형태에서 나타낸 동화상 복호화 방법 또는 장치에서 복호 가능한지를 판단할 수 있다. 따라서, 다른 규격에 준거하는 다중화 데이터가 입력된 경우라도, 적절한 복호화 방법 또는 장치를 선택할 수 있으므로, 에러를 일으키지 않고 복호하는 것이 가능해진다. 또한, 본 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치, 또는, 동화상 복호 방법 또는 장치를, 상술한 어느 하나의 기기·시스템에 이용하는 것도 가능하다.In this way, by setting a new eigenvalue in the stream type or video stream attribute information, it is possible to determine whether decoding is possible in the video decoding method or apparatus shown in each of the above embodiments when decoding. Therefore, even when multiplexed data conforming to other standards is input, since an appropriate decoding method or apparatus can be selected, decoding can be performed without causing an error. Moreover, it is also possible to use the moving picture encoding method or device shown in this embodiment, or the moving picture decoding method or device for any one of the above-mentioned devices and systems.

(실시의 형태 5)(Embodiment 5)

상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 및 장치, 동화상 복호화 방법 및 장치는 전형적으로는 집적 회로인 LSI로 실현된다. 일례로서, 도 23에 1칩화된 LSI(ex500)의 구성을 나타낸다. LSI(ex500)는, 이하에 설명하는 요소(ex501, ex502, ex503, ex504, ex505, ex506, ex507, ex508, ex509)를 구비하고, 각 요소는 버스(ex510)를 통하여 접속하고 있다. 전원 회로부(ex505)는 전원이 온 상태인 경우에 각 부에 대하여 전력을 공급함으로써 동작 가능한 상태로 기동한다.The moving picture encoding method and device, and the moving picture decoding method and device shown in each of the above embodiments are typically realized by an integrated circuit, LSI. As an example, the configuration of the LSI ex500 chipped in FIG. 23 is shown. The LSI ex500 includes elements described below (ex501, ex502, ex503, ex504, ex505, ex506, ex507, ex508, ex509), and each element is connected via a bus ex510. When the power is turned on, the power supply circuit unit ex505 starts up in an operable state by supplying power to each part.

예를 들면 부호화 처리를 행하는 경우에는, LSI(ex500)는, CPU(ex502), 메모리 콘트롤러(ex503), 스트림 콘트롤러(ex504), 구동 주파수 제어부(ex512) 등을 가지는 제어부(ex501)의 제어에 의거하여, AV I/O(ex509)에 의해 마이크(ex117)나 카메라(ex113) 등으로부터 AV 신호를 입력한다. 입력된 AV 신호는, 일단 SDRAM 등의 외부 메모리(ex511)에 축적된다. 제어부(ex501)의 제어에 의거하여, 축적한 데이터는 처리량이나 처리 속도에 따라 적절히 복수회로 나뉘어 신호 처리부(ex507)에 보내지고, 신호 처리부(ex507)에 있어서 음성 신호의 부호화 및/또는 영상 신호의 부호화가 행해진다. 여기서 영상 신호의 부호화 처리는 상기 각 실시의 형태에서 설명한 부호화 처리이다. 신호 처리부(ex507)에서는 또한 경우에 따라 부호화된 음성 데이터와 부호화된 영상 데이터를 다중화하는 등의 처리를 행하여, 스트림 I/O(ex506)으로부터 외부로 출력한다. 이 출력된 다중화 데이터는, 기지국(ex107)을 향해서 송신되거나, 또는 기록 미디어(ex215)에 기입되기도 한다. 또한, 다중화할 때 동기하도록, 일단 버퍼(ex508)에 데이터를 축적하면 된다.For example, in the case of performing encoding processing, the LSI ex500 is controlled by the control unit ex501 having the CPU ex502, the memory controller ex503, the stream controller ex504, the driving frequency control unit ex512, and the like. Then, the AV signal is input from the microphone ex117, the camera ex113, or the like by the AV I/O ex509. The input AV signal is once accumulated in an external memory ex511 such as SDRAM. Under the control of the control unit ex501, the accumulated data is appropriately divided into a plurality of circuits according to the throughput or processing speed, and sent to the signal processing unit ex507, and the signal processing unit ex507 encodes the audio signal and/or the video signal. Encoding is performed. Here, the encoding processing of the video signal is the encoding processing described in each of the above embodiments. The signal processing unit ex507 also performs processing such as multiplexing the encoded audio data and the encoded video data in some cases, and outputs it from the stream I/O ex506 to the outside. The output multiplexed data may be transmitted to the base station ex107, or may be written to the recording medium ex215. In addition, it is sufficient to accumulate data in the buffer ex508 once to synchronize when multiplexing.

또한, 상기에서는, 메모리(ex511)가 LSI(ex500)의 외부의 구성으로서 설명했는데, LSI(ex500)의 내부에 포함되는 구성이어도 된다. 버퍼(ex508)도 1개에 한정되는 것이 아니라, 복수의 버퍼를 구비하고 있어도 된다. 또한, LSI(ex500)는 1칩화되어도 되고, 복수 칩화되어도 된다.In addition, although the memory ex511 was described as an external configuration of the LSI ex500, the configuration included in the LSI ex500 may be sufficient. The buffer ex508 is also not limited to one, and a plurality of buffers may be provided. In addition, the LSI ex500 may be one chip or multiple chips.

또한, 상기에서는, 제어부(ex501)가, CPU(ex502), 메모리 콘트롤러(ex503), 스트림 콘트롤러(ex504), 구동 주파수 제어부(ex512) 등을 가지는 것으로 하고 있는데, 제어부(ex501)의 구성은, 이 구성에 한정되지 않는다. 예를 들면, 신호 처리부(ex507)가 CPU를 더 구비하는 구성이어도 된다. 신호 처리부(ex507)의 내부에도 CPU를 설치함으로써, 처리 속도를 보다 향상시키는 것이 가능해진다. 또한, 다른 예로서, CPU(ex502)가 신호 처리부(ex507), 또는 신호 처리부(ex507)의 일부인 예를 들면 음성 신호 처리부를 구비하는 구성이어도 된다. 이러한 경우에는, 제어부(ex501)는, 신호 처리부(ex507), 또는 그 일부를 가지는 CPU(ex502)를 구비하는 구성이 된다.In addition, in the above, it is assumed that the control unit ex501 has a CPU ex502, a memory controller ex503, a stream controller ex504, a driving frequency control unit ex512, and the like. It is not limited to the structure. For example, a configuration in which the signal processing unit ex507 further includes a CPU may be used. By providing a CPU inside the signal processing unit ex507, it becomes possible to further improve the processing speed. Further, as another example, the CPU ex502 may be configured to include a signal processing unit ex507 or, for example, an audio signal processing unit that is part of the signal processing unit ex507. In this case, the control unit ex501 is configured to include a signal processing unit ex507 or a CPU ex502 having a part thereof.

또한, 여기에서는, LSI로 했지만, 집적도의 차이에 따라, IC, 시스템 LSI, 슈퍼 LSI, 울트라 LSI로 불리기도 한다.In addition, although it was set as LSI here, it is also called IC, system LSI, super LSI, and ultra LSI depending on the difference in integration.

또한, 집적 회로화의 수법은 LSI에 한정되는 것이 아니라, 전용 회로 또는 범용 프로세서로 실현해도 된다. LSI 제조 후에, 프로그램하는 것이 가능한 FPGA(Field Prgrammable Gate Array)나, LSI 내부의 회로 셀의 접속이나 설정을 재구성 가능한 리콘피규러블·프로세서를 이용해도 된다.In addition, the method of integrated circuitization is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. After LSI manufacturing, a programmable field programmable gate array (FPGA) or a reconfigurable processor capable of reconfiguring the connection and setting of circuit cells inside the LSI may be used.

또한, 반도체 기술의 진보 또는 파생하는 별도 기술에 의해 LSI로 치환되는 집적 회로화의 기술이 등장하면, 당연히, 그 기술을 이용하여 기능 블록의 집적화를 행해도 된다. 바이오 기술의 적응 등을 가능성으로서 있을 수 있다.In addition, if the technology of integrated circuitization, which is replaced by LSI by the advancement of semiconductor technology or by a separate technology derived from it, has appeared, of course, the functional block may be integrated using the technology. There may be the possibility of adaptation of biotechnology and the like.

(실시의 형태 6)(Embodiment 6)

상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 영상 데이터를 복호하는 경우, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거하는 영상 데이터를 복호하는 경우에 비해, 처리량이 증가하는 것을 생각할 수 있다. 이 때문에, LSI(ex500)에 있어서, 종래의 규격에 준거하는 영상 데이터를 복호할 때의 CPU(ex502)의 구동 주파수보다도 높은 구동 주파수로 설정할 필요가 있다. 그러나 구동 주파수를 높게 하면, 소비 전력이 높아진다는 과제가 생긴다.When decoding the video data generated by the video encoding method or apparatus shown in each of the above embodiments, compared with the case of decoding video data conforming to the standards of conventional MPEG-2, MPEG4-AVC, VC-1, etc. It can be considered that the throughput increases. For this reason, in the LSI ex500, it is necessary to set the driving frequency higher than the driving frequency of the CPU ex502 when decoding the video data conforming to the conventional standard. However, when the driving frequency is increased, there is a problem that power consumption increases.

이 과제를 해결하기 위해서, 텔레비전(ex300), LSI(ex500) 등의 동화상 복호화 장치는, 영상 데이터가 어느 규격에 준거하는 것인지를 식별하고, 규격에 따라 구동 주파수를 전환하는 구성으로 한다. 도 24는, 본 실시의 형태에 있어서의 구성 ex800를 나타내고 있다. 구동 주파수 변환부(ex803)는, 영상 데이터가, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 것인 경우에는, 구동 주파수를 높게 설정한다. 그리고 상기 각 실시의 형태에서 나타낸 동화상 복호화 방법을 실행하는 복호 처리부(ex801)에 대하여, 영상 데이터를 복호하도록 지시한다. 한편, 영상 데이터가, 종래의 규격에 준거하는 영상 데이터인 경우에는, 영상 데이터가, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 것인 경우에 비하여, 구동 주파수를 낮게 설정한다. 그리고 종래의 규격에 준거하는 복호 처리부(ex802)에 대하여, 영상 데이터를 복호하도록 지시한다.In order to solve this problem, a moving picture decoding apparatus such as a television ex300 or an LSI ex500 is configured to identify which standard the video data conforms to and switch the driving frequency according to the standard. 24 shows the configuration ex800 in the present embodiment. The driving frequency conversion unit ex803 sets the driving frequency high when the video data is generated by the video encoding method or apparatus shown in each of the above embodiments. Then, the decoding processing unit ex801 that executes the moving picture decoding method shown in each of the above embodiments is instructed to decode the video data. On the other hand, when the video data is video data conforming to a conventional standard, the driving frequency is set to be lower than when the video data is generated by the video encoding method or apparatus shown in each of the above embodiments. . Then, the decoding processing unit ex802 conforming to the conventional standard is instructed to decode the video data.

보다 구체적으로, 구동 주파수 전환부(ex803)는, 도 23의 CPU(ex502)와 구동 주파수 제어부(ex512)로 구성된다. 또한, 상기 각 실시의 형태에서 나타낸 동화상 복호화 방법을 실행하는 복호 처리부(ex801), 및, 종래의 규격에 준거하는 복호 처리부(ex802)는, 도 23의 신호 처리부(ex507)에 해당한다. CPU(ex502)는, 영상 데이터가 어느 규격에 준거하는 것인지를 식별한다. 그리고 CPU(ex502)로부터의 신호에 의거하여, 구동 주파수 제어부(ex512)는 구동 주파수를 설정한다. 또한, CPU(ex502)로부터의 신호에 의거하여, 신호 처리부(ex507)는, 영상 데이터의 복호를 행한다. 여기서, 영상 데이터의 식별에는, 예를 들면, 실시의 형태 4에서 기재한 식별 정보를 이용하는 것을 생각할 수 있다. 식별 정보에 관해서는, 실시의 형태 4에 기재한 것에 한정되지 않고, 영상 데이터가 어느 규격에 준거하는지 식별할 수 있는 정보이면 된다. 예를 들면, 영상 데이터가 텔레비전에 이용되는 것인지, 디스크에 이용되는 것인지 등을 식별하는 외부 신호에 의거하여, 영상 데이터가 어느 규격에 준거하는 것인지 식별 가능한 경우에는, 이러한 외부 신호에 의거하여 식별해도 된다. 또한, CPU(ex502)에 있어서의 구동 주파수의 선택은, 예를 들면, 도 26과 같은 영상 데이터의 규격과, 구동 주파수를 대응시킨 룩업 테이블에 의거하여 행하는 것을 생각할 수 있다. 룩업 테이블을, 버퍼(ex508)나, LSI의 내부 메모리에 저장해 두고, CPU(ex502)가 이 룩업 테이블을 참조함으로써, 구동 주파수를 선택하는 것이 가능하다.More specifically, the driving frequency switching unit ex803 is composed of the CPU ex502 of FIG. 23 and the driving frequency control unit ex512. The decoding processing unit ex801 for executing the moving picture decoding method shown in each of the above-described embodiments, and the decoding processing unit ex802 conforming to the conventional standards correspond to the signal processing unit ex507 in FIG. 23. The CPU ex502 identifies which standard the video data conforms to. Then, based on the signal from the CPU ex502, the drive frequency control unit ex512 sets the drive frequency. In addition, based on the signal from the CPU ex502, the signal processing unit ex507 decodes the video data. Here, it is conceivable to use the identification information described in Embodiment 4, for example, for identification of video data. The identification information is not limited to that described in the fourth embodiment, and may be information that can identify which standard the video data conforms to. For example, if it is possible to identify which standard the video data conforms to based on an external signal that identifies whether the video data is used for a television or a disk, etc., it may be identified based on the external signal. do. In addition, it is conceivable to select the drive frequency in the CPU ex502 based on, for example, a lookup table in which the standard of the video data as shown in Fig. 26 and the drive frequency are correlated. It is possible to select the driving frequency by storing the lookup table in the buffer ex508 or the internal memory of the LSI, and the CPU ex502 refers to this lookup table.

도 25는, 본 실시 형태의 방법을 실시하는 단계를 나타내고 있다. 우선, 단계 exS200에서는, 신호 처리부(ex507)에 있어서, 다중화 데이터로부터 식별 정보를 취득한다. 다음에, 단계(exS201)에서는, CPU(ex502)에 있어서, 식별 정보에 의거하여 영상 데이터가 상기 각 실시의 형태에서 나타낸 부호화 방법 또는 장치에 의해서 생성된 것인지 여부를 식별한다. 영상 데이터가 상기 각 실시의 형태에서 나타낸 부호화 방법 또는 장치에 의해서 생성된 것인 경우에는, 단계(exS202)에 있어서, 구동 주파수를 높게 설정하는 신호를, CPU(ex502)가 구동 주파수 제어부(ex512)에 보낸다. 그리고 구동 주파수 제어부(ex512)에 있어서, 높은 구동 주파수로 설정된다. 한편, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거하는 영상 데이터인 것을 나타내는 경우에는, 단계(exS203)에 있어서, 구동 주파수를 낮게 설정하는 신호를, CPU(ex502)가 구동 주파수 제어부(ex512)에 보낸다. 그리고 구동 주파수 제어부(ex512)에 있어서, 영상 데이터가 상기 각 실시의 형태에서 나타낸 부호화 방법 또는 장치에 의해서 생성된 것인 경우에 비하여, 낮은 구동 주파수로 설정된다.25 shows the steps of implementing the method of the present embodiment. First, in step exS200, the signal processing unit ex507 acquires identification information from the multiplexed data. Next, in step exS201, it is discriminated in the CPU ex502 whether or not the video data is generated by the encoding method or apparatus shown in each of the above embodiments based on the identification information. When the video data is generated by the encoding method or apparatus shown in each of the above embodiments, in step exS202, a signal for setting the driving frequency high is generated by the CPU ex502 by the driving frequency control unit ex512. Send to And in the drive frequency control unit ex512, it is set to a high drive frequency. On the other hand, in the case of indicating that the video data conforms to the standards of the conventional MPEG-2, MPEG4-AVC, VC-1, etc., in step exS203, the signal for setting the driving frequency low is the CPU ex502. It is sent to the driving frequency control unit ex512. Then, in the driving frequency control unit ex512, the video data is set to a lower driving frequency compared to the case where the video data is generated by the encoding method or apparatus shown in each of the above embodiments.

또한, 구동 주파수의 전환에 연동하여, LSI(ex500) 또는 LSI(ex500)을 포함하는 장치에 주어지는 전압을 변경함으로써, 전력 절약 효과를 더욱 높이는 것이 가능하다. 예를 들면, 구동 주파수를 낮게 설정하는 경우에는, 이에 따라, 구동 주파수를 높게 설정하고 있는 경우에 비해, LSI(ex500) 또는 LSI(ex500)를 포함하는 장치에 부여하는 전압을 낮게 설정하는 것을 생각할 수 있다.In addition, it is possible to further increase the power saving effect by changing the voltage applied to the device including the LSI ex500 or the LSI ex500 in conjunction with the switching of the driving frequency. For example, when the driving frequency is set low, it is considered that the voltage applied to the device including the LSI (ex500) or the LSI (ex500) is set lower than the case where the driving frequency is set accordingly. Can.

또한, 구동 주파수의 설정 방법은, 복호할 때의 처리량이 큰 경우에, 구동 주파수를 높게 설정하고, 복호할 때의 처리량이 작은 경우에, 구동 주파수를 낮게 설정하면 되고, 상술한 설정 방법에 한정되지 않는다. 예를 들면, MPEG4-AVC 규격에 준거하는 영상 데이터를 복호하는 처리량이, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해 생성된 영상 데이터를 복호하는 처리량보다 큰 경우에는, 구동 주파수의 설정을 상술한 경우의 반대로 하는 것을 생각할 수 있다.In addition, the driving frequency setting method is limited to setting the driving frequency high when the throughput at the time of decoding is large, and setting the driving frequency low when the throughput at the time of decoding is small, and is limited to the above-described setting method. Does not work. For example, when the throughput for decoding video data conforming to the MPEG4-AVC standard is greater than the processing capacity for decoding video data generated by the video encoding method or apparatus shown in each of the above embodiments, setting the driving frequency It is conceivable to do the opposite of the case described above.

또한, 구동 주파수의 설정 방법은, 구동 주파수를 낮게 하는 구성에 한정되지 않는다. 예를 들면, 식별 정보가, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 영상 데이터인 것을 나타내는 경우에는, LSI(ex500) 또는 LSI(ex500)를 포함하는 장치에 주어지는 전압을 높게 설정하고, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거하는 영상 데이터인 것을 나타내는 경우에는, LSI(ex500) 또는 LSI(ex500)을 포함하는 장치에 주어지는 전압을 낮게 설정하는 것도 생각할 수 있다. 또한, 다른 예로서, 식별 정보가, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 영상 데이터인 것을 나타내는 경우에는, CPU(ex502)의 구동을 정지시키지 않고, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거하는 영상 데이터인 것을 나타내는 경우에는, 처리에 여유가 있으므로, CPU(ex502)의 구동을 일시 정지시키는 것도 생각할 수 있다. 식별 정보가, 상기 각 실시의 형태에서 나타낸 동화상 부호화 방법 또는 장치에 의해서 생성된 영상 데이터인 것을 나타내는 경우에도, 처리에 여유가 있으면, CPU(ex502)의 구동을 일시 정지시키는 것도 생각할 수 있다. 이 경우는, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거하는 영상 데이터인 것을 나타내는 경우에 비해, 정지 시간을 짧게 설정하는 것을 생각할 수 있다.In addition, the setting method of a drive frequency is not limited to the structure which makes a drive frequency low. For example, when the identification information indicates that the video data is generated by the video encoding method or apparatus shown in each of the above embodiments, the voltage applied to the device including the LSI (ex500) or LSI (ex500) is increased. In the case of setting and indicating that the video data conforms to the standards of the conventional MPEG-2, MPEG4-AVC, VC-1, etc., the voltage applied to the device including the LSI (ex500) or LSI (ex500) is set low. You can also think. Further, as another example, when the identification information indicates that the video data is generated by the video encoding method or apparatus shown in each of the above embodiments, the driving of the CPU ex502 is not stopped, and the conventional MPEG-2 is not used. In the case of indicating that it is video data conforming to standards such as MPEG4-AVC, VC-1, etc., it is conceivable to temporarily stop the operation of the CPU ex502 because there is room for processing. Even when the identification information indicates that the video data is generated by the video encoding method or apparatus shown in each of the above embodiments, it is also conceivable that the CPU ex502 is temporarily stopped when there is room for processing. In this case, it is conceivable to set the stop time shorter than that in the case of indicating that it is video data conforming to the standards of conventional MPEG-2, MPEG4-AVC, VC-1, and the like.

이와 같이, 영상 데이터가 준거하는 규격에 따라, 구동 주파수를 전환함으로써, 전력 절약화를 도모하는 것이 가능해진다. 또한, 전지를 이용하여 LSI(ex500) 또는 LSI(ex500)를 포함하는 장치를 구동하는 경우에는, 전력 절약화에 따라, 전지의 수명을 길게 하는 것이 가능하다.In this way, it is possible to achieve power saving by switching the driving frequency in accordance with the standard to which the video data conforms. In addition, when driving a device including an LSI (ex500) or LSI (ex500) using a battery, it is possible to increase the life of the battery in accordance with power saving.

(실시의 형태 7)(Embodiment 7)

TV나, 휴대 전화 등, 상술한 기기·시스템에는, 다른 규격에 준거하는 복수의 영상 데이터가 입력되는 경우가 있다. 이와 같이, 다른 규격에 준거하는 복수의 영상 데이터가 입력된 경우에도 복호할 수 있도록 하기 위해서, LSI(ex500)의 신호 처리부(ex507)가 복수의 규격에 대응하고 있을 필요가 있다. 그러나 각각의 규격에 대응하는 신호 처리부(ex507)를 개별적으로 이용하면, LSI(ex500)의 회로 규모가 커지고, 또한, 비용이 증가한다는 과제가 생긴다.A plurality of video data conforming to different standards may be input to the above-described devices and systems such as TVs and mobile phones. As described above, in order to be able to decode even when a plurality of video data conforming to different standards are input, it is necessary that the signal processing unit ex507 of the LSI ex500 corresponds to the plurality of standards. However, when the signal processing units ex507 corresponding to the respective standards are individually used, there is a problem that the circuit size of the LSI ex500 increases and the cost increases.

이 과제를 해결하기 위해서, 상기 각 실시의 형태에서 나타낸 동화상 복호 방법을 실행하기 위한 복호 처리부와, 종래의 MPEG-2, MPEG4-AVC, VC-1 등의 규격에 준거하는 복호 처리부를 일부 공유화하는 구성으로 한다. 이 구성예를 도 27a의 ex900에 나타낸다. 예를 들면, 상기 각 실시의 형태에서 나타낸 동화상 복호 방법과, MPEG4-AVC 규격에 준거하는 동화상 복호 방법은, 엔트로피 부호화, 역양자화, 디블로킹·필터, 움직임 보상 등의 처리에 있어서 처리 내용이 일부 공통된다. 공통되는 처리 내용에 대해서는, MPEG4-AVC 규격에 대응하는 복호 처리부(ex902)를 공유하고, MPEG4-AVC 규격에 대응하지 않는, 본 발명의 일양태에 특유의 다른 처리 내용에 대해서는, 전용의 복호 처리부(ex901)를 이용하는 구성을 생각할 수 있다. 특히, 본 발명의 일양태는, 역양자화에 특징을 가지고 있으므로, 예를 들면, 역양자화에 대해서는 전용의 복호 처리부(ex901)를 이용하고, 그 이외의 엔트로피 복호, 디블로킹·필터, 움직임 보상 중 어느 하나 또는 모든 처리에 대해서는, 복호 처리부를 공유하는 것을 생각할 수 있다. 복호 처리부의 공유화에 관해서는, 공통된 처리 내용에 대해서는, 상기 각 실시의 형태에서 나타낸 동화상 복호화 방법을 실행하기 위한 복호 처리부를 공유하고, MPEG4-AVC 규격에 특유의 처리 내용에 대해서는, 전용의 복호 처리부를 이용하는 구성이어도 된다.In order to solve this problem, a part of the decoding processing unit for executing the moving picture decoding method shown in each of the above-mentioned embodiments and a decoding processing unit conforming to conventional MPEG-2, MPEG4-AVC, and VC-1 standards are partially shared. It is configured. This configuration example is shown in ex900 in Fig. 27A. For example, the video decoding method shown in each of the above-described embodiments and the video decoding method conforming to the MPEG4-AVC standard are partially processed in processing such as entropy encoding, inverse quantization, deblocking filter, and motion compensation. It becomes common. For the common processing contents, the decoding processing unit ex902 corresponding to the MPEG4-AVC standard is shared, and for the other processing contents specific to one embodiment of the present invention that does not support the MPEG4-AVC standard, the dedicated decoding processing unit A configuration using (ex901) can be considered. Particularly, since one aspect of the present invention has characteristics for inverse quantization, for example, for the inverse quantization, a dedicated decoding processing unit ex901 is used, and other entropy decoding, deblocking filters, and motion compensation are being performed. It is conceivable to share the decoding processing unit for any one or all of the processing. Regarding the sharing of the decoding processing unit, for the common processing content, the decoding processing unit for executing the video decoding method shown in each of the above embodiments is shared, and for the processing content specific to the MPEG4-AVC standard, a dedicated decoding processing unit It may be configured to use.

또한, 처리를 일부 공유화하는 다른 예를 도 27b의 ex1000에 나타낸다. 이 예에서는, 본 발명의 일양태에 특유의 처리 내용에 대응한 전용 복호 처리부(ex1001)와, 다른 종래 규격에 특유의 처리 내용에 대응한 전용 복호 처리부(ex1002)와, 본 발명의 일양태에 관련된 동화상 복호 방법과 다른 종래 규격의 동화상 복호 방법에 공통되는 처리 내용에 대응한 공용 복호 처리부(ex1003)를 이용하는 구성으로 하고 있다. 여기서, 전용의 복호 처리부(ex1001, ex1002)는, 반드시 본 발명의 일양태, 또는, 다른 종래 규격에 특유의 처리 내용으로 특화한 것은 아니고, 다른 범용 처리를 실행할 수 있는 것이어도 된다. 또한, 본 실시의 형태의 구성을, LSI(ex500)에서 실장하는 것도 가능하다.In addition, another example in which the processing is partially shared is shown in ex1000 in Fig. 27B. In this example, the dedicated decoding processing unit ex1001 corresponding to the processing contents specific to one aspect of the present invention, the dedicated decoding processing unit ex1002 corresponding to the processing contents specific to other conventional standards, and one aspect of the present invention It is configured to use a common decoding processing unit ex1003 corresponding to the processing content common to the related video decoding method and other conventional standard video decoding methods. Here, the dedicated decoding processing units ex1001 and ex1002 are not necessarily specialized in the processing contents peculiar to one aspect of the present invention or other conventional standards, and may be capable of executing other general-purpose processing. Moreover, it is also possible to mount the structure of this embodiment in LSI ex500.

이와 같이, 본 발명의 일양태에 관련된 동화상 복호 방법과, 종래의 규격의 동화상 복호 방법에 공통되는 처리 내용에 대해서, 복호 처리부를 공유함으로써, LSI의 회로 규모를 작게 하고, 또한, 비용을 저감시키는 것이 가능하다.Thus, by sharing the decoding processing unit with respect to the processing contents common to the moving picture decoding method and the conventional standard moving picture decoding method according to one aspect of the present invention, the circuit size of the LSI is reduced and the cost is reduced. It is possible.

<산업상의 이용 가능성><Industrial availability>

본 발명의 일양태에 관련된 동화상 부호화 방법 및 동화상 복호 방법은, 예를 들면, 텔레비젼 수상기, 디지털 비디오 레코더, 카 내비게이션, 휴대 전화, 디지털 카메라, 또는, 디지털 비디오 카메라 등에 이용 가능하다.The moving picture encoding method and the moving picture decoding method according to an aspect of the present invention can be used, for example, a television set, a digital video recorder, car navigation system, a mobile phone, a digital camera, or a digital video camera.

100: 복호 장치 101: 휘도 CBF 복호부
102: 제어부 103: 스위치
104: 잔차 계수 복호부 105: 잔차 신호 복원부
106: 가산부 200: 화상 부호화 장치
205: 감산기 210: 변환·양자화부
220: 엔트로피 부호화부 230, 420: 역양자화·역변환부
235, 425: 가산기 240, 430: 디블로킹 필터
250, 440: 메모리 260, 450: 인트라 예측부
270: 움직임 검출부 280, 460: 움직임 보상부
290, 470: 인트라/인터 전환 스위치
301, 302, 303, 304, 305, 306: 블록
311, 312, 313, 314, 315: 휘도 CBF 플래그
400: 동화상 복호 장치 410: 엔트로피 복호부
100: decoding device 101: luminance CBF decoding unit
102: control unit 103: switch
104: residual coefficient decoding unit 105: residual signal recovery unit
106: adder 200: image coding device
205: subtractor 210: conversion, quantization
220: entropy encoding unit 230, 420: inverse quantization, inverse transformation unit
235, 425: adder 240, 430: deblocking filter
250, 440: memory 260, 450: intra prediction unit
270: motion detection unit 280, 460: motion compensation unit
290, 470: Intra/inter changeover switch
301, 302, 303, 304, 305, 306: block
311, 312, 313, 314, 315: luminance CBF flag
400: moving picture decoding device 410: entropy decoding unit

Claims (15)

하나 이상의 제2 단위를 포함하는 제1 단위마다 부호화된 화상 신호를 복호하는 복호 방법으로서,
상기 부호화된 화상 신호로부터, 상기 하나 이상의 제2 단위 중의 제2 단위에 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그를 취득하는 취득 단계;
상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일한 지의 여부, 및, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 판단 단계;
(i) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하거나, 또는, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제1 확률 테이블이 선택되고, (ii) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하지 않고, 또한, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제2 단위의 사이즈에 상관없이 제2 확률 테이블이 선택되도록, 제1 확률 테이블 또는 제2 확률 테이블을 선택하는 선택 단계;
상기 제1 확률 테이블 및 상기 제2 확률 테이블 중 선택된 한쪽을 사용하여, 상기 휘도 CBF 플래그의 산술 복호를 행하는 산술 복호 단계; 및
상기 양자화 계수가 상기 제2 단위에 포함되어 있는 것을 상기 휘도 CBF 플래그가 나타내는 경우에, 상기 제2 단위의 상기 양자화 계수를 사용하여 상기 제1 단위마다 화상 신호를 재구성하는 재구성 단계를 포함하는, 복호 방법.
A decoding method for decoding a coded image signal for each first unit including one or more second units,
An acquiring step of acquiring, from the coded image signal, a luminance CBF flag indicating whether a quantization coefficient is included in a second unit of the one or more second units;
A determining step of determining whether the size of the first unit and the size of the second unit are the same, and whether the size of the second unit is a predetermined maximum size;
(i) when the size of the first unit and the size of the second unit are the same, or when the size of the second unit is a predetermined maximum size, a first probability table is selected, and (ii) the first If the size of the unit and the size of the second unit are not the same, and the size of the second unit is not a predetermined maximum size, the second probability table is selected regardless of the size of the second unit. A selection step of selecting a first probability table or a second probability table;
An arithmetic decoding step of performing arithmetic decoding of the luminance CBF flag using one selected from the first probability table and the second probability table; And
And a reconstruction step of reconstructing an image signal for each of the first units using the quantization coefficients of the second unit when the luminance CBF flag indicates that the quantization coefficients are included in the second unit. Way.
하나 이상의 제2 단위를 포함하는 제1 단위마다 부호화된 화상 신호를 복호하는 복호 장치로서,
프로세서; 및
실행 가능한 명령이 저장된 비일시적인 메모리를 구비하며, 상기 명령은, 상기 프로세서에 의해 실행될 때, 상기 프로세서로 하여금:
상기 부호화된 화상 신호로부터, 상기 하나 이상의 제2 단위 중의 제2 단위에 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그를 취득하는 취득 단계;
상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일한 지의 여부, 및, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 판단 단계;
(i) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하거나, 또는, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제1 확률 테이블이 선택되고, (ii) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하지 않고, 또한, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제2 단위의 사이즈에 상관없이 제2 확률 테이블이 선택되도록, 제1 확률 테이블 또는 제2 확률 테이블을 선택하는 선택 단계;
상기 제1 확률 테이블 및 상기 제2 확률 테이블 중 선택된 한쪽을 사용하여, 상기 휘도 CBF 플래그의 산술 복호를 행하는 산술 복호 단계; 및
상기 양자화 계수가 상기 제2 단위에 포함되어 있는 것을 상기 휘도 CBF 플래그가 나타내는 경우에, 상기 제2 단위의 상기 양자화 계수를 사용하여 상기 제1 단위마다 화상 신호를 재구성하는 재구성 단계를 실행하게 하는, 복호 장치.
A decoding device for decoding an encoded image signal for each first unit including one or more second units,
Processor; And
It has a non-transitory memory in which executable instructions are stored, which, when executed by the processor, cause the processor to:
An acquiring step of acquiring, from the coded image signal, a luminance CBF flag indicating whether a quantization coefficient is included in a second unit of the one or more second units;
A determining step of determining whether the size of the first unit and the size of the second unit are the same, and whether the size of the second unit is a predetermined maximum size;
(i) when the size of the first unit and the size of the second unit are the same, or when the size of the second unit is a predetermined maximum size, a first probability table is selected, and (ii) the first If the size of the unit and the size of the second unit are not the same, and the size of the second unit is not a predetermined maximum size, the second probability table is selected regardless of the size of the second unit. A selection step of selecting a first probability table or a second probability table;
An arithmetic decoding step of performing arithmetic decoding of the luminance CBF flag using one selected from the first probability table and the second probability table; And
When the luminance CBF flag indicates that the quantization coefficient is included in the second unit, performing a reconstruction step of reconstructing an image signal for each of the first units using the quantization coefficient of the second unit, Decryption device.
하나 이상의 제2 단위를 포함하는 제1 단위마다 화상 신호를 부호화하는 부호화 방법으로서,
상기 하나 이상의 제2 단위 중의 제2 단위마다, 상기 제1 단위의 상기 화상 신호를 계수로 변환하고, 상기 계수를 양자화하는 변환 양자화 단계;
상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일한 지의 여부, 및, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 판단 단계;
(i) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하거나, 또는, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제1 확률 테이블이 선택되고, (ii) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하지 않고, 또한, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제2 단위의 사이즈에 상관없이 제2 확률 테이블이 선택되도록, 제1 확률 테이블 또는 제2 확률 테이블을 선택하는 선택 단계; 및
상기 제1 확률 테이블 및 상기 제2 확률 테이블 중 선택된 한쪽을 사용하여, 상기 제2 단위에 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그의 산술 부호화를 행하는 산술 부호화 단계를 포함하는, 부호화 방법.
An encoding method for encoding an image signal for each first unit including one or more second units,
A transform quantization step of converting the image signal of the first unit into a coefficient and quantizing the coefficient for every second unit of the one or more second units;
A determining step of determining whether the size of the first unit and the size of the second unit are the same, and whether the size of the second unit is a predetermined maximum size;
(i) when the size of the first unit and the size of the second unit are the same, or when the size of the second unit is a predetermined maximum size, a first probability table is selected, and (ii) the first If the size of the unit and the size of the second unit are not the same, and the size of the second unit is not a predetermined maximum size, the second probability table is selected regardless of the size of the second unit. A selection step of selecting a first probability table or a second probability table; And
And an arithmetic encoding step of performing arithmetic encoding of a luminance CBF flag indicating whether a quantization coefficient is included in the second unit, using one selected from the first probability table and the second probability table. .
하나 이상의 제2 단위를 포함하는 제1 단위마다 화상 신호를 부호화하는 부호화 장치로서,
프로세서; 및
실행 가능한 명령이 저장된 비일시적인 메모리를 구비하며, 상기 명령은, 상기 프로세서에 의해 실행될 때, 상기 프로세서로 하여금:
상기 하나 이상의 제2 단위 중의 제2 단위마다, 상기 제1 단위의 상기 화상 신호를 계수로 변환하고, 상기 계수를 양자화하는 변환 양자화 단계;
상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일한 지의 여부, 및, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 판단 단계;
(i) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하거나, 또는, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제1 확률 테이블이 선택되고, (ii) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하지 않고, 또한, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제2 단위의 사이즈에 상관없이 제2 확률 테이블이 선택되도록, 제1 확률 테이블 또는 제2 확률 테이블을 선택하는 선택 단계; 및
상기 제1 확률 테이블 및 상기 제2 확률 테이블 중 선택된 한쪽을 사용하여, 상기 제2 단위에 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그의 산술 부호화를 행하는 산술 부호화 단계를 실행하게 하는, 부호화 장치.
An encoding apparatus for encoding an image signal for each first unit including one or more second units,
Processor; And
It has a non-transitory memory in which executable instructions are stored, which, when executed by the processor, cause the processor to:
A transform quantization step of converting the image signal of the first unit into a coefficient and quantizing the coefficient for every second unit of the one or more second units;
A determining step of determining whether the size of the first unit and the size of the second unit are the same, and whether the size of the second unit is a predetermined maximum size;
(i) when the size of the first unit and the size of the second unit are the same, or when the size of the second unit is a predetermined maximum size, a first probability table is selected, and (ii) the first If the size of the unit and the size of the second unit are not the same, and the size of the second unit is not a predetermined maximum size, the second probability table is selected regardless of the size of the second unit. A selection step of selecting a first probability table or a second probability table; And
Encoding to perform an arithmetic encoding step of performing arithmetic encoding of a luminance CBF flag indicating whether a quantization coefficient is included in the second unit, using one selected from the first probability table and the second probability table Device.
부호화 복호 장치로서,
하나 이상의 프로세서; 및
상기 하나 이상의 프로세서에 접속된 비일시적인 기억 매체로서, 하나 이상의 제2 단위를 포함하는 제1 단위마다 화상 신호를 부호화하는 부호화 처리를 실행하기 위한 부호화 명령과, 하나 이상의 제4 단위를 포함하는 제3 단위마다 부호화된 화상 신호를 복호하는 복호 처리를 실행하기 위한 복호 명령을 포함하는, 상기 비일시적인 기억 매체를 구비하며;
상기 하나 이상의 프로세서는 상기 부호화 처리를 실행하고, 상기 부호화 처리는:
상기 하나 이상의 제2 단위 중의 제2 단위마다, 상기 제1 단위의 상기 화상 신호를 계수로 변환하고, 상기 계수를 양자화하는 변환 양자화 단계;
상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일한 지의 여부, 및, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 제1 판단 단계;
(i) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하거나, 또는, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제1 확률 테이블이 선택되고, (ii) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하지 않고, 또한, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제2 단위의 사이즈에 상관없이 제2 확률 테이블이 선택되도록, 제1 확률 테이블 또는 제2 확률 테이블을 선택하는 제1 선택 단계; 및
상기 제1 확률 테이블 및 상기 제2 확률 테이블 중 선택된 한쪽을 사용하여, 상기 제2 단위에 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그의 산술 부호화를 행하는 산술 부호화 단계를 포함하며;
상기 하나 이상의 프로세서는 또한 상기 복호 처리를 실행하고, 상기 복호 처리는:
상기 부호화된 화상 신호로부터, 상기 하나 이상의 제4 단위 중의 제4 단위에 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그를 취득하는 취득 단계;
상기 제3 단위의 사이즈 및 상기 제4 단위의 사이즈가 동일한 지의 여부, 및, 상기 제4 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 제2 판단 단계;
(i) 상기 제3 단위의 사이즈 및 상기 제4 단위의 사이즈가 동일하거나, 또는, 상기 제4 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제3 확률 테이블이 선택되고, (ii) 상기 제3 단위의 사이즈 및 상기 제4 단위의 사이즈가 동일하지 않고, 또한, 상기 제4 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제4 단위의 사이즈에 상관없이 제4 확률 테이블이 선택되도록, 제3 확률 테이블 또는 제4 확률 테이블을 선택하는 제2 선택 단계;
상기 제3 확률 테이블 및 상기 제4 확률 테이블 중 선택된 한쪽을 사용하여, 상기 휘도 CBF 플래그의 산술 복호를 행하는 산술 복호 단계; 및
상기 양자화 계수가 상기 제4 단위에 포함되어 있는 것을 상기 휘도 CBF 플래그가 나타내는 경우에, 상기 제4 단위의 상기 양자화 계수를 사용하여 상기 제3 단위마다 화상 신호를 재구성하는 재구성 단계를 포함하는, 부호화 복호 장치.
As an encoding/decoding device,
One or more processors; And
A non-transitory storage medium connected to the one or more processors, an encoding instruction for executing an encoding process for encoding an image signal for each first unit including one or more second units, and a third including one or more fourth units A non-transitory storage medium comprising a decoding instruction for executing decoding processing for decoding the encoded image signal for each unit;
The one or more processors execute the encoding process, and the encoding process is:
A transform quantization step of converting the image signal of the first unit into a coefficient and quantizing the coefficient for every second unit of the one or more second units;
A first determining step of determining whether the size of the first unit and the size of the second unit are the same, and whether the size of the second unit is a predetermined maximum size;
(i) when the size of the first unit and the size of the second unit are the same, or when the size of the second unit is a predetermined maximum size, a first probability table is selected, and (ii) the first If the size of the unit and the size of the second unit are not the same, and the size of the second unit is not a predetermined maximum size, the second probability table is selected regardless of the size of the second unit. A first selection step of selecting a first probability table or a second probability table; And
An arithmetic encoding step of performing arithmetic encoding of a luminance CBF flag indicating whether a quantization coefficient is included in the second unit, using one selected from the first probability table and the second probability table;
The one or more processors also execute the decoding process, the decoding process being:
An acquisition step of obtaining a luminance CBF flag indicating whether a quantization coefficient is included in a fourth unit of the one or more fourth units from the encoded image signal;
A second determination step of determining whether the size of the third unit and the size of the fourth unit are the same, and whether the size of the fourth unit is a predetermined maximum size;
(i) when the size of the third unit and the size of the fourth unit are the same, or when the size of the fourth unit is a predetermined maximum size, a third probability table is selected, and (ii) the third If the size of the unit and the size of the fourth unit are not the same, and the size of the fourth unit is not a predetermined maximum size, the fourth probability table is selected regardless of the size of the fourth unit. A second selection step of selecting a 3 probability table or a 4 probability table;
An arithmetic decoding step of performing arithmetic decoding of the luminance CBF flag using one selected from the third probability table and the fourth probability table; And
And a reconstruction step of reconstructing an image signal for every third unit by using the quantization coefficient of the fourth unit when the luminance CBF flag indicates that the quantization coefficient is included in the fourth unit. Decryption device.
청구항 5에 있어서,
상기 제1 단위 및 상기 제3 단위 각각은 부호화 단위이고, 상기 부호화 처리 또는 상기 복호 처리는 상기 부호화 단위를 기초로 하여 실행되며;
상기 제2 단위 및 상기 제4 단위 각각은 변환 단위이고, 상기 제1 단위마다 화상 신호는 상기 변환 단위를 기초로 하여 상기 계수로 변환되는, 부호화 복호 장치.
The method according to claim 5,
Each of the first unit and the third unit is a coding unit, and the coding process or the decoding process is performed based on the coding unit;
Each of the second unit and the fourth unit is a transformation unit, and an image signal is converted into the coefficients based on the transformation unit for each first unit.
부호화 복호 장치로서,
하나 이상의 제2 단위를 포함하는 제1 단위마다 화상 신호를 부호화하는 부호화 장치; 및
상기 하나 이상의 제2 단위를 포함하는 상기 제1 단위마다 부호화된 상기 화상 신호를 복호하는 복호 장치를 구비하며;
상기 부호화 장치는:
상기 하나 이상의 제2 단위 중의 제2 단위마다, 상기 제1 단위마다 화상 신호를 계수로 변환하고, 상기 계수를 양자화하는 변환 양자화부;
상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일한 지의 여부, 및, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 산술 부호화부; 및
(i) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하거나, 또는, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제1 확률 테이블이 선택되고, (ii) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하지 않고, 또한, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제2 단위의 사이즈에 상관없이 제2 확률 테이블이 선택되도록, 제1 확률 테이블 또는 제2 확률 테이블을 선택하는 스위치를 구비하며;
상기 산술 부호화부는, 상기 제1 확률 테이블 및 상기 제2 확률 테이블 중 선택된 한쪽을 사용하여, 상기 제2 단위에 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그의 산술 부호화를 행하며;
상기 복호 장치는:
상기 부호화된 화상 신호로부터, 상기 하나 이상의 제2 단위 중의 제2 단위에 상기 양자화 계수가 포함되어 있는 지의 여부를 나타내는 휘도 CBF 플래그를 취득하는 휘도 CBF 복호부;
상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일한 지의 여부, 및, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 지의 여부를 판단하는 산술 복호부; 및
(i) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하거나, 또는, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈인 경우에 제1 확률 테이블이 선택되고, (ii) 상기 제1 단위의 사이즈 및 상기 제2 단위의 사이즈가 동일하지 않고, 또한, 상기 제2 단위의 사이즈가 미리 정해진 최대 사이즈가 아닌 경우에 상기 제2 단위의 사이즈에 상관없이 제2 확률 테이블이 선택되도록, 제1 확률 테이블 또는 제2 확률 테이블을 선택하는 스위치를 구비하며;
상기 산술 복호부는, 상기 제1 확률 테이블 및 상기 제2 확률 테이블 중 선택된 한쪽을 사용하여, 상기 휘도 CBF 플래그의 산술 복호를 행하고;
상기 복호 장치는, 상기 양자화 계수가 상기 제2 단위에 포함되어 있는 것을 상기 휘도 CBF 플래그가 나타내는 경우에, 상기 제2 단위의 상기 양자화 계수를 사용하여 상기 제1 단위마다 화상 신호를 재구성하는 재구성부를 더 구비하는, 부호화 복호 장치.
As an encoding/decoding device,
An encoding device that encodes an image signal for each first unit including one or more second units; And
A decoding device for decoding the image signal encoded for each of the first units including the one or more second units;
The encoding device:
A transform quantization unit that converts an image signal into coefficients for every second unit among the one or more second units, and quantizes the coefficients for each first unit;
An arithmetic coding unit to determine whether the size of the first unit and the size of the second unit are the same, and whether the size of the second unit is a predetermined maximum size; And
(i) when the size of the first unit and the size of the second unit are the same, or when the size of the second unit is a predetermined maximum size, a first probability table is selected, and (ii) the first If the size of the unit and the size of the second unit are not the same, and the size of the second unit is not a predetermined maximum size, the second probability table is selected regardless of the size of the second unit. A switch for selecting a first probability table or a second probability table;
The arithmetic encoding unit performs arithmetic encoding of a luminance CBF flag indicating whether a quantization coefficient is included in the second unit, using one selected from the first probability table and the second probability table;
The decoding device is:
A luminance CBF decoder for obtaining a luminance CBF flag indicating whether the quantization coefficient is included in a second unit of the one or more second units from the encoded image signal;
An arithmetic decoding unit that determines whether the size of the first unit and the size of the second unit are the same, and whether the size of the second unit is a predetermined maximum size; And
(i) when the size of the first unit and the size of the second unit are the same, or when the size of the second unit is a predetermined maximum size, a first probability table is selected, and (ii) the first If the size of the unit and the size of the second unit are not the same, and the size of the second unit is not a predetermined maximum size, the second probability table is selected regardless of the size of the second unit. A switch for selecting a first probability table or a second probability table;
The arithmetic decoding unit performs arithmetic decoding of the luminance CBF flag using one selected from the first probability table and the second probability table;
The decoding apparatus, when the luminance CBF flag indicates that the quantization coefficient is included in the second unit, a reconstruction unit configured to reconstruct an image signal for each first unit using the quantization coefficient of the second unit. An encoding/decoding device further provided.
청구항 7에 있어서,
상기 제1 단위는 부호화 단위이고, 부호화 또는 복호는 상기 부호화 단위를 기초로 하여 실행되며;
상기 제2 단위는 변환 단위이고, 상기 제1 단위마다 화상 신호는 상기 변환 단위를 기초로 하여 상기 계수로 변환되는, 부호화 복호 장치.
The method according to claim 7,
The first unit is a coding unit, and encoding or decoding is performed based on the coding unit;
The second unit is a transform unit, and an image signal is transformed into the coefficients based on the transform unit for each first unit.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020137001300A 2011-07-29 2012-07-13 Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, and video encoding-decoding apparatus KR102142014B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US201161513141P 2011-07-29 2011-07-29
US61/513,141 2011-07-29
PCT/JP2012/004538 WO2013018296A1 (en) 2011-07-29 2012-07-13 Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, and video encoding/decoding apparatus

Publications (2)

Publication Number Publication Date
KR20140042763A KR20140042763A (en) 2014-04-07
KR102142014B1 true KR102142014B1 (en) 2020-08-06

Family

ID=

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
B. Bross, et al. High efficiency video coding (HEVC) text specification draft 7. JCT-VC of ITU-T and ISO/IEC. JCTVC-I1003 Ver.9, Jul. 10, 2012, pp.1-258*
H. Sasai, et al. Modified Context Derivation for Complexity reduction. JCT-VC of ITU-T and ISO/IEC. JCTVC-F429 Ver.3, Jul. 21, 2011, pp.1-18
I-K. Kim, et al. Simplification on context derivation of cbf_luma syntax element. JCT-VC of ITU-T and ISO/IEC. JCTVC-J0303 Ver.1, Jul. 3, 2012, pp.1-3*
V. Sze. BoG report on context reduction for CABAC. JCT-VC of ITU-T and ISO/IEC. JCTVC-F746 Ver.4, Jul. 21, 2011, pp.1-7

Similar Documents

Publication Publication Date Title
JP6531924B2 (en) Moving picture decoding method and moving picture decoding apparatus
KR101918786B1 (en) Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding/decoding device
KR102124141B1 (en) Image decoding method, image encoding method, image decoding device, image encoding device, and image encoding and decoding device
JP6504478B2 (en) Encoding / decoding method
KR102132917B1 (en) Video image coding method, video image decoding method, video image coding device, video image decoding device, and video image coding-decoding device
EP3059975B1 (en) Image coding method, image decoding method, image coding device, and image decoding device
CA2845548C (en) Methods and apparatuses for encoding and decoding video using periodic buffer description
KR102107643B1 (en) Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding/decoding device
CA2807957C (en) Image coding and decoding using shared contexts for processing blocks of different sizes
KR20200067219A (en) Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding/decoding device
KR102130046B1 (en) Image decoding method, image encoding method, image decoding device, image encoding device, and image encoding/decoding device
JP6483028B2 (en) Image encoding method and image encoding apparatus
KR102142014B1 (en) Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, and video encoding-decoding apparatus