[go: up one dir, main page]

CN109040762B - Decoding apparatus and decoding method - Google Patents

Decoding apparatus and decoding method Download PDF

Info

Publication number
CN109040762B
CN109040762B CN201811099370.XA CN201811099370A CN109040762B CN 109040762 B CN109040762 B CN 109040762B CN 201811099370 A CN201811099370 A CN 201811099370A CN 109040762 B CN109040762 B CN 109040762B
Authority
CN
China
Prior art keywords
unit
rps
image
current picture
short
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811099370.XA
Other languages
Chinese (zh)
Other versions
CN109040762A (en
Inventor
陆硕
佐藤数史
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Group Corp
Original Assignee
Velos Media LLC
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 Velos Media LLC filed Critical Velos Media LLC
Publication of CN109040762A publication Critical patent/CN109040762A/en
Application granted granted Critical
Publication of CN109040762B publication Critical patent/CN109040762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/109Selection of coding mode or of prediction mode among a plurality of temporal predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/177Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a group of pictures [GOP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/58Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

本技术涉及一种能够减小与指定参考图像的信息相关的信息的数量的编码设备和编码方法。编码单元利用参考图像,生成预测图像。传输单元在当前编码图像是GOP(图像组)的除第1图像外的图像的情况下,传送inter_ref_pic_set_prediction_flag,inter_ref_pic_set_prediction_flag表示指定在先图像的参考图像的参考图像指定信息是否用作当前编码图像的参考图像指定信息,所述在先图像是按照编码顺序,在当前编码图像之前的图像。例如,本技术可适用于HEVC(高效视频编码)方式的编码设备。

Figure 201811099370

The present technology relates to an encoding apparatus and an encoding method capable of reducing the amount of information related to information specifying a reference image. The coding unit generates a predicted image using the reference image. The transmission unit transmits inter_ref_pic_set_prediction_flag when the current coded picture is a picture other than the first picture of the GOP (group of pictures). Specifies information that the previous picture is a picture preceding the current coded picture in coding order. For example, the present technology can be applied to an encoding apparatus of the HEVC (High Efficiency Video Coding) scheme.

Figure 201811099370

Description

解码设备和解码方法Decoding device and decoding method

技术领域technical field

本技术涉及编码设备和编码方法,更具体地,涉及能够减小与指定参考图像的信息有关的信息的数量的编码设备和编码方法。The present technology relates to an encoding apparatus and an encoding method, and more particularly, to an encoding apparatus and an encoding method capable of reducing the amount of information related to information specifying a reference image.

背景技术Background technique

最近,图像信息是作为数字数据处理的,此时,为了高效率地传送和存储信息,符合通过利用为图像信息特有的冗余而进行诸如离散余弦变换之类的正交变换,和利用运动补偿的压缩的MPEG(运动图像专家组阶段)等方式的设备被广泛用于广播站等中的信息传送,和一般家庭中的信息接收。Recently, image information is handled as digital data, and at this time, in order to efficiently transmit and store information, it is compatible to perform orthogonal transform such as discrete cosine transform by utilizing redundancy peculiar to image information, and utilize motion compensation Compressed MPEG (Moving Picture Experts Group) and other systems are widely used for information transmission in broadcasting stations, etc., and information reception in general households.

特别地,MPEG2(ISO/IEC 13818-2)方式被定义为通用图像编码方式,目前作为覆盖隔行扫描图像和逐行扫描图像两者,以及标准分辨率图像和高清晰度图像的标准,广泛用于专业用途和消费用途的各种应用。通过利用MPEG2方式,例如,分配在720×480像素的标准分辨率的隔行扫描图像情况下的4-8Mbps的代码量(比特率),和在1920×1088像素的高清晰度的隔行扫描图像情况下的18-22Mbps的代码量,从而能够实现高压缩率和改善的图像质量。In particular, the MPEG2 (ISO/IEC 13818-2) method is defined as a general image coding method, and is currently widely used as a standard covering both interlaced and progressive images, as well as standard resolution images and high-definition images. Various applications for professional and consumer use. By using the MPEG2 method, for example, a code amount (bit rate) of 4-8 Mbps is allocated in the case of an interlaced image of a standard resolution of 720×480 pixels, and a code amount (bit rate) of 4 to 8 Mbps in the case of a high-definition interlaced image of 1920×1088 pixels Under the 18-22Mbps code volume, which can achieve high compression rate and improved image quality.

MPEG2把高图像质量编码作为目标,高图像质量编码主要适合于广播,但是不对应于代码量(比特率)比MPEG1的代码量(比特率)低的编码方式,换句话说,压缩率更高的编码方式。随着移动终端的普及,预测未来对这种编码方式的需求会增大,响应于此,进行了MPEG4编码方式的标准化。与MPEG4的图像编码方式相关,在1998年12月,一种规范被批准为国际标准ISO/IEC 14496-2。MPEG2 targets high image quality encoding, which is mainly suitable for broadcasting, but does not correspond to an encoding method with a lower code amount (bit rate) than that of MPEG1, in other words, a higher compression rate encoding method. With the popularization of mobile terminals, it is predicted that the demand for this encoding method will increase in the future, and in response to this, the standardization of the MPEG4 encoding method has been carried out. Related to the image encoding method of MPEG4, in December 1998, a specification was approved as the international standard ISO/IEC 14496-2.

另外,最近,对用于电视会议的图像编码来说,H.26L(ITU-T Q6/16 VCEG)的标准化正在进行中。尽管H.26L需要比诸如MEPG2或MPEG4 之类的常规编码方式大的编码和解码计算量,不过,已知可实现更高的编码效率。In addition, recently, standardization of H.26L (ITU-T Q6/16 VCEG) is in progress for image coding for video conferences. Although H.26L requires larger encoding and decoding computations than conventional encoding methods such as MPEG2 or MPEG4, it is known that higher encoding efficiency can be achieved.

此外,目前,作为MPEG4的活动的一部分,作为增强压缩视频编码联合模式,正在进行基于H.26L的、包括在H.26L中不支持的功能并且实现更高编码效率的规范的标准化。这种标准化是在2003年3月,基于H.264和MPEG-4 Part 10(AVC(高级视频编码))的名称被国际标准化的。Furthermore, currently, as part of the activities of MPEG4, as the Enhanced Compression Video Coding Joint Mode, standardization of a specification based on H.26L that includes functions not supported in H.26L and achieves higher coding efficiency is being carried out. This standardization was internationally standardized in March 2003 based on the names of H.264 and MPEG-4 Part 10 (AVC (Advanced Video Coding)).

另外,在2005年2月,完成了包括作为扩展的为业务所需的称为 RGB,4:2:2或4:4:4的编码工具,和在MPEG-2中定义的8×8 DCT和量化矩阵的FRExt(保真度范围扩展)的标准化。因而,AVC变成也能够改进地表现包含在电影中的影片噪声的编码方式,是一种其中用于诸如蓝光(注册商标)光盘之类的各种应用的方式。In addition, in February 2005, an encoding tool called RGB, 4:2:2 or 4:4:4 required for the service, and 8x8 DCT defined in MPEG-2, were completed including as extensions and FRExt (Fidelity Range Extension) normalization of the quantization matrix. Thus, AVC has become an encoding method that can also improve the expression of film noise contained in movies, and is a method used therein for various applications such as Blu-ray (registered trademark) discs.

然而,近来,对为压缩约4000×2000像素(为高视觉图像(high vision image)的4倍)的图像,和在诸如因特网之类的传输容量有限的环境中传送高视觉图像所需的更高压缩率编码的需求已增大。因此,在ITU-T 领导下的VCEG(视频编码专家组)中,持续不断地进行了关于改善编码效率的检讨。However, recently, more and more attention has been paid to compressing an image of about 4000×2000 pixels (4 times that of a high vision image) and transmitting a high vision image in an environment with limited transmission capacity such as the Internet. The demand for high compression rate encoding has increased. Therefore, in the VCEG (Video Coding Experts Group) under the leadership of the ITU-T, the review on improving the coding efficiency is continuously carried out.

同时,在HEVC(高效视频编码)方式中,在SPS(序列参数集)中包含用于识别指定解码设备中的参考图像的参考图像指定信息的短期参考画面集(下面称为RPS)(例如,参见非专利文献1)。Meanwhile, in the HEVC (High Efficiency Video Coding) method, a short-term reference picture set (hereinafter referred to as RPS) containing reference picture designation information for identifying a reference picture in a decoding device is included in an SPS (Sequence Parameter Set) (for example, See Non-Patent Document 1).

图1是图解说明RPS的语法的例子的示图。FIG. 1 is a diagram illustrating an example of the syntax of RPS.

如在图1中的第2行中图解所示,在RPS中,包含inter_ref_pic_ set_prediction_flag。这里,inter_ref_pic_set_prediction_flag是表示指定在先图像的参考图像的参考图像指定信息是否被用作当前编码图像的参考图像指定信息的参考信息,所述在先图像是当前编码图像的GOP(画面组)内,按照编码顺序在当前编码图像之前的图像。As illustrated in row 2 in FIG. 1 , in the RPS, inter_ref_pic_set_prediction_flag is included. Here, inter_ref_pic_set_prediction_flag is reference information indicating whether or not the reference picture specification information specifying the reference picture of the previous picture, which is within the GOP (Group of Pictures) of the current coded picture, is used as the reference picture specification information of the current coded picture, The picture that precedes the currently encoded picture in encoding order.

这里,inter_ref_pic_set_prediction_flag在它表示指定在先图像的参考图像的参考图像指定信息被用作当前编码图像的参考图像指定信息的情况下,为“1”,而在它表示指定在先图像的参考图像的参考图像指定信息不用作当前编码图像的参考图像指定信息的情况下,为“0”。Here, inter_ref_pic_set_prediction_flag is "1" in the case where it indicates that the reference picture designation information of the reference picture designating the previous picture is used as the reference picture designation information of the current coded picture, and is "1" in the case where it indicates that the reference picture designating the previous picture's reference picture When the reference picture specification information is not used as the reference picture specification information of the current coded picture, it is "0".

如在图1的第3行和第4行中所示,在inter_ref_pic_set_ prediction_flag为“1”的情况下,在RPS中包括为指定在先图像的在先图像指定信息的delta_idx_minus1。更具体地,delta_idx_minus1具有从通过从当前编码图像的编码号(编码顺序)中减去在先图像的编码号而获得的值中,减去1获得的值。这里,编码号是按照编码顺序,从小值开始,分配给GOP内的各个图像的编号。As shown in the 3rd and 4th lines of FIG. 1 , in the case where inter_ref_pic_set_prediction_flag is "1", delta_idx_minus1 which is previous picture designation information for designating a previous picture is included in the RPS. More specifically, delta_idx_minus1 has a value obtained by subtracting 1 from a value obtained by subtracting the code number of the previous picture from the code number (coding order) of the current coded picture. Here, the code number is a number assigned to each picture in the GOP, starting from a smaller value in the coding order.

另外,如在图1中的第13行-第23行中图解所示,在inter_ref_ pic_set_prediction_flag为“0”的情况下,在RPS中包含参数图像指定信息。In addition, as illustrated in lines 13 to 23 in FIG. 1 , when inter_ref_pic_set_prediction_flag is “0”, parameter image designation information is included in the RPS.

图2是图解说明inter_ref_pic_set_prediction_flag和 delta_idx_minus1的例子的示图。FIG. 2 is a diagram illustrating an example of inter_ref_pic_set_prediction_flag and delta_idx_minus1.

在图2中图解所示的例子中,其编码号为N的当前编码图像的参考图像指定信息和按照编码顺序在当前编码图像之前的其编码号为“N-1”的在先图像的参考图像指定信息相同。In the example illustrated in FIG. 2, the reference picture designation information of the current coded picture whose code number is N and the reference of the previous picture whose code number is "N-1" preceding the current coded picture in the coding order The image specification information is the same.

这种情况下,inter_ref_pic_set_prediction_flag被设定成“1”,表示指定在先图像的信息的参考图像被用作指定当前编码图像的信息的参考图像。另外,delta_idx_minus1被设定成通过从作为当前编码图像的编码号的“N”中减去作为在先图像的编码号的“N-1”,随后从通过所述减法获得的值“1”中,再减去1而获得的“0”。In this case, inter_ref_pic_set_prediction_flag is set to "1", indicating that the reference picture specifying the information of the previous picture is used as the reference picture specifying the information of the current coded picture. In addition, delta_idx_minus1 is set by subtracting "N-1", which is the code number of the previous picture, from "N", which is the code number of the current encoded picture, and then from the value "1" obtained by the subtraction. , then subtract 1 to get "0".

引文列表Citation List

非专利文献Non-patent literature

非专利文献1:Benjamin Bross,Woo-Jin Han,Jens-Rainer Ohm, GaryJ.Sullivan,Thomas Wiegand,“High efficiency video coding (HEVC)textspecification draft7”,JCTVC-I1003_d4,2012.4.27-5.7。Non-patent document 1: Benjamin Bross, Woo-Jin Han, Jens-Rainer Ohm, Gary J. Sullivan, Thomas Wiegand, "High efficiency video coding (HEVC) textspecification draft7", JCTVC-I1003_d4, 2012.4.27-5.7.

发明内容SUMMARY OF THE INVENTION

然而,与诸如RPS之类的参考图像指定信息相关的信息的数量未被充分减少。However, the amount of information related to reference picture designation information such as RPS is not sufficiently reduced.

考虑到这种状况,发明了本技术,本技术能够减少与指定参考图像的信息相关的信息的数量。The present technology, which can reduce the amount of information related to information specifying a reference image, has been invented in consideration of such a situation.

按照本技术的一个方面,提供一种编码设备,包括:预测图像生成单元,所述预测图像生成单元被配置成利用参考图像,生成预测图像;和传输单元,所述传输单元被配置成在当前编码图像是GOP(图像组)的除第1图像外的图像的情况下,传送参考信息,所述参考信息表示在先图像的指定参考图像的参考图像指定信息是否用作当前编码图像的参考图像指定信息,所述在先图像是按照编码顺序在当前编码图像之前的图像。According to an aspect of the present technology, there is provided an encoding apparatus including: a predicted image generation unit configured to generate a predicted image using a reference image; and a transmission unit configured to When the coded picture is a picture other than the first picture of the GOP (Group of Pictures), transmits reference information indicating whether the reference picture specifying information specifying the reference picture of the previous picture is used as the reference picture of the current coded picture Specifies information that the previous picture is a picture preceding the current coded picture in coding order.

按照本技术的另一个方面的编码方法对应于按照本技术的所述一个方面的编码设备。An encoding method according to another aspect of the present technology corresponds to the encoding apparatus according to the one aspect of the present technology.

按照本技术的所述一个方面,利用参考图像,生成预测图像;在当前编码图像是GOP(图像组)的除第1图像外的图像的情况下,传送参考信息,所述参考信息表示在先图像的指定参考图像的参考图像指定信息是否用作当前编码图像的参考图像指定信息,所述在先图像是按照编码顺序在当前编码图像之前的图像。According to the one aspect of the present technology, a reference picture is used to generate a predicted picture; if the currently encoded picture is a picture other than the first picture of a GOP (group of pictures), reference information is transmitted, the reference information indicating the previous Whether the reference picture specification information of the specified reference picture of the picture, which is the picture preceding the current coded picture in the coding order, is used as the reference picture specification information of the current coded picture.

另外,通过使计算机执行程序,可以实现按照本技术的所述一个方面的编码设备。In addition, by causing a computer to execute the program, the encoding device according to the one aspect of the present technology can be realized.

此外,为了实现按照本技术的所述一个方面的编码设备,通过经传输介质传送,或者被记录在记录介质上,可以提供由计算机执行的程序。Furthermore, in order to realize the encoding apparatus according to the one aspect of the present technology, by being transmitted via a transmission medium, or being recorded on a recording medium, a program executed by a computer may be provided.

按照本技术,能够减小与指定参考图像的信息相关的信息的数量。According to the present technology, it is possible to reduce the amount of information related to information specifying a reference image.

附图说明Description of drawings

图1是图解说明RPS的语法的例子的示图。FIG. 1 is a diagram illustrating an example of the syntax of RPS.

图2是图解说明inter_ref_pic_set_prediction_flag和 delta_idx_minus1的例子的示图。FIG. 2 is a diagram illustrating an example of inter_ref_pic_set_prediction_flag and delta_idx_minus1.

图3是图解说明按照第一实施例的本技术适用于的编码设备的结构例子的方框图。FIG. 3 is a block diagram illustrating a configuration example of an encoding apparatus to which the present technology according to the first embodiment is applied.

图4是图解说明图3中图解所示的编码单元的结构例子的方框图。FIG. 4 is a block diagram illustrating a structural example of the coding unit illustrated in FIG. 3 .

图5是图解说明由图3中图解所示的设定单元12设定的SPS的语法的例子的示图。FIG. 5 is a diagram illustrating an example of the syntax of the SPS set by the setting unit 12 illustrated in FIG. 3 .

图6是图解说明RPS的语法的例子的示图。FIG. 6 is a diagram illustrating an example of the syntax of the RPS.

图7是图解说明由图3中图解所示的设定单元12设定的RPS的信息量的示图。FIG. 7 is a diagram illustrating the information amount of the RPS set by the setting unit 12 illustrated in FIG. 3 .

图8是图解说明常规RPS的信息量的示图。FIG. 8 is a diagram illustrating the amount of information of a conventional RPS.

图9是图解说明切片头部的语法的例子的示图。FIG. 9 is a diagram illustrating an example of the syntax of the slice header.

图10是图解说明由图3中图解所示的编码设备进行的生成处理的流程图。FIG. 10 is a flowchart illustrating generation processing by the encoding apparatus illustrated in FIG. 3 .

图11是详细图解说明图10中图解所示的RPS设定处理的流程图。FIG. 11 is a flowchart illustrating in detail the RPS setting process illustrated in FIG. 10 .

图12是详细图解说明图10中图解所示的编码处理的流程图。FIG. 12 is a flowchart illustrating the encoding process illustrated in FIG. 10 in detail.

图13是详细图解说明图10中图解所示的编码处理的流程图。FIG. 13 is a flowchart illustrating the encoding process illustrated in FIG. 10 in detail.

图14是详细图解说明图12中图解所示的RPS索引确定处理的流程图。FIG. 14 is a flowchart illustrating the RPS index determination process illustrated in FIG. 12 in detail.

图15是图解说明按照第一实施例的本技术适用于的解码设备的结构例子的方框图。15 is a block diagram illustrating a structural example of a decoding apparatus to which the present technology according to the first embodiment is applied.

图16是图解说明图15中图解所示的解码单元的结构例子的方框图。FIG. 16 is a block diagram illustrating a structural example of the decoding unit illustrated in FIG. 15 .

图17是图解说明图15中图解所示的解码设备进行的接收处理的流程图。FIG. 17 is a flowchart illustrating reception processing by the decoding apparatus illustrated in FIG. 15 .

图18是详细图解说明图17中图解所示的RPS设定处理的流程图。FIG. 18 is a flowchart illustrating the RPS setting process illustrated in FIG. 17 in detail.

图19是详细图解说明图17中图解所示的解码处理的流程图。FIG. 19 is a flowchart illustrating the decoding process illustrated in FIG. 17 in detail.

图20是图解说明按照第二实施例的本技术适用于的编码设备的结构例子的方框图。20 is a block diagram illustrating a structural example of an encoding apparatus to which the present technology according to the second embodiment is applied.

图21是图解说明由图20中图解所示的设定单元设定的SPS的语法的例子的示图。FIG. 21 is a diagram illustrating an example of the syntax of the SPS set by the setting unit illustrated in FIG. 20 .

图22是图解说明图21中图解所示的RPS的语法的例子的示图。FIG. 22 is a diagram illustrating an example of the syntax of the RPS illustrated in FIG. 21 .

图23是图解说明由图20中图解所示的设定单元设定的RPS的信息量的示图。FIG. 23 is a diagram illustrating the information amount of the RPS set by the setting unit illustrated in FIG. 20 .

图24是图解说明由图20中图解所示的设定单元设定的RPS的信息量的示图。FIG. 24 is a diagram illustrating the information amount of the RPS set by the setting unit illustrated in FIG. 20 .

图25是图解说明常规RPS的信息量的示图。FIG. 25 is a diagram illustrating the amount of information of a conventional RPS.

图26是详细图解说明图20中图解所示的编码设备进行的RPS设定处理的流程图。FIG. 26 is a flowchart illustrating in detail the RPS setting process performed by the encoding apparatus illustrated in FIG. 20 .

图27是图解说明按照第二实施例的本技术适用于的解码设备的结构例子的方框图。27 is a block diagram illustrating a structural example of a decoding apparatus to which the present technology according to the second embodiment is applied.

图28是详细图解说明图27中图解所示的解码设备进行的RPS设定处理的流程图。FIG. 28 is a flowchart illustrating in detail the RPS setting process performed by the decoding apparatus illustrated in FIG. 27 .

图29是图解说明按照第三实施例的本技术适用于的编码设备的结构例子的方框图。FIG. 29 is a block diagram illustrating a structural example of an encoding apparatus to which the present technology according to the third embodiment is applied.

图30是图解说明由图29中图解所示的设定单元设定的SPS的语法的例子的示图。FIG. 30 is a diagram illustrating an example of the syntax of the SPS set by the setting unit illustrated in FIG. 29 .

图31是图30中图解所示的RPS的语法的例子的示图。FIG. 31 is a diagram of an example of the syntax of the RPS illustrated in FIG. 30 .

图32是图解说明由图29中图解所示的设定单元设定的RPS的信息量的示图。FIG. 32 is a diagram illustrating the information amount of the RPS set by the setting unit illustrated in FIG. 29 .

图33是详细图解说明图29中图解所示的编码设备进行的RPS设定处理的流程图。FIG. 33 is a flowchart illustrating in detail the RPS setting process performed by the encoding apparatus illustrated in FIG. 29 .

图34是图解说明按照第三实施例的本技术适用于的解码设备的结构例子的方框图。34 is a block diagram illustrating a structural example of a decoding apparatus to which the present technology according to the third embodiment is applied.

图35是详细图解说明图34中图解所示的解码设备进行的RPS设定处理的流程图。FIG. 35 is a flowchart illustrating in detail the RPS setting process performed by the decoding apparatus illustrated in FIG. 34 .

图36是图解说明按照第四实施例的本技术适用于的编码设备的结构例子的方框图。FIG. 36 is a block diagram illustrating a structural example of an encoding apparatus to which the present technology according to the fourth embodiment is applied.

图37是图解说明图36中图解所示的编码单元的结构例子的方框图。FIG. 37 is a block diagram illustrating a structural example of the coding unit illustrated in FIG. 36 .

图38是图解说明由图36中图解所示的设定单元设定的PPS的语法的例子的示图。FIG. 38 is a diagram illustrating an example of the syntax of the PPS set by the setting unit illustrated in FIG. 36 .

图39是图解说明由图36中图解所示的设定单元设定的PPS的语法的例子的示图。FIG. 39 is a diagram illustrating an example of the syntax of the PPS set by the setting unit illustrated in FIG. 36 .

图40是图解说明常规HEVC系统中的PPS的语法的例子的示图。FIG. 40 is a diagram illustrating an example of the syntax of PPS in a conventional HEVC system.

图41是图解说明常规HEVC系统中的PPS的语法的例子的示图。FIG. 41 is a diagram illustrating an example of the syntax of PPS in a conventional HEVC system.

图42是图解说明由图37中图解所示的无损编码单元增加的切片头部的语法的例子的示图。FIG. 42 is a diagram illustrating an example of syntax of a slice header added by the lossless coding unit illustrated in FIG. 37 .

图43是图解说明由图37中图解所示的无损编码单元增加的切片头部的语法的例子的示图。FIG. 43 is a diagram illustrating an example of syntax of a slice header added by the lossless coding unit illustrated in FIG. 37 .

图44是图解说明由图37中图解所示的无损编码单元增加的切片头部的语法的例子的示图。FIG. 44 is a diagram illustrating an example of syntax of a slice header added by the lossless coding unit illustrated in FIG. 37 .

图45是图解说明常规HEVC系统中的切片头部的语法的例子的示图。FIG. 45 is a diagram illustrating an example of the syntax of a slice header in a conventional HEVC system.

图46是图解说明常规HEVC系统中的切片头部的语法的例子的示图。FIG. 46 is a diagram illustrating an example of syntax of a slice header in a conventional HEVC system.

图47是图解说明常规HEVC系统中的切片头部的语法的例子的示图。FIG. 47 is a diagram illustrating an example of syntax of a slice header in a conventional HEVC system.

图48是图解说明图36中图解所示的编码设备进行的生成处理的流程图。FIG. 48 is a flowchart illustrating generation processing by the encoding apparatus illustrated in FIG. 36 .

图49是详细图解说明图48中图解所示的编码处理的流程图。FIG. 49 is a flowchart illustrating the encoding process illustrated in FIG. 48 in detail.

图50是详细图解说明图48中图解所示的编码处理的流程图。FIG. 50 is a flowchart illustrating the encoding process illustrated in FIG. 48 in detail.

图51是详细图解说明图48中图解所示的PPS设定处理的流程图。FIG. 51 is a flowchart illustrating in detail the PPS setting process illustrated in FIG. 48 .

图52是图解说明按照第四实施例的本技术适用于的解码设备的结构例子的方框图。FIG. 52 is a block diagram illustrating a structural example of a decoding apparatus to which the present technology according to the fourth embodiment is applied.

图53是图解说明图52中图解所示的解码单元的结构例子的方框图。FIG. 53 is a block diagram illustrating a structural example of the decoding unit illustrated in FIG. 52 .

图54是图解说明图52中图解所示的解码设备进行的接收处理的流程图。FIG. 54 is a flowchart illustrating reception processing by the decoding apparatus illustrated in FIG. 52 .

图55是详细图解说明图54中图解所示的解码处理的流程图。FIG. 55 is a flowchart illustrating the decoding process illustrated in FIG. 54 in detail.

图56是图解说明多视点图像编码系统的例子的示图。FIG. 56 is a diagram illustrating an example of a multi-view image encoding system.

图57是图解说明本技术适用于的多视点图像编码设备的主要结构的例子的示图。FIG. 57 is a diagram illustrating an example of the main structure of a multi-viewpoint image encoding apparatus to which the present technology is applied.

图58是图解说明本技术适用于的多视点图像解码设备的主要结构的例子的示图。FIG. 58 is a diagram illustrating an example of the main structure of a multi-viewpoint image decoding apparatus to which the present technology is applied.

图59是图解说明分层图像编码系统的例子的示图。FIG. 59 is a diagram illustrating an example of a layered image coding system.

图60是图解说明本技术适用于的分层图像编码设备的主要结构的例子的示图。FIG. 60 is a diagram illustrating an example of the main structure of a layered image encoding apparatus to which the present technology is applied.

图61是图解说明本技术适用于的分层图像解码设备的主要结构的例子的示图。FIG. 61 is a diagram illustrating an example of the main structure of a layered image decoding apparatus to which the present technology is applied.

图62是图解说明计算机的硬件结构的例子的方框图。FIG. 62 is a block diagram illustrating an example of a hardware configuration of a computer.

图63是图解说明本技术适用于的电视机的示意结构的例子的示图。FIG. 63 is a diagram illustrating an example of a schematic structure of a television to which the present technology is applied.

图64是图解说明本技术适用于的移动电话机的示意结构的例子的示图。FIG. 64 is a diagram illustrating an example of a schematic structure of a mobile phone to which the present technology is applied.

图65是图解说明本技术适用于的记录和再现设备的示意结构的例子的示图。FIG. 65 is a diagram illustrating an example of a schematic structure of a recording and reproducing apparatus to which the present technology is applied.

图66是图解说明本技术适用于的成像设备的示意结构的例子的示图。FIG. 66 is a diagram illustrating an example of a schematic structure of an imaging apparatus to which the present technology is applied.

图67是图解说明可缩放编码的使用例子的方框图。67 is a block diagram illustrating a use example of scalable encoding.

图68是图解说明可缩放编码的再一个使用例子的方框图。FIG. 68 is a block diagram illustrating yet another example of use of scalable coding.

图69是图解说明可缩放编码的另一个使用例子的方框图。FIG. 69 is a block diagram illustrating another example of use of scalable coding.

图70是图解说明本技术适用于的视频机组的示意结构的例子的示图。FIG. 70 is a diagram illustrating an example of a schematic structure of a video set to which the present technology is applied.

图71是图解说明本技术适用于的视频处理器的示意结构的例子的示图。FIG. 71 is a diagram illustrating an example of a schematic structure of a video processor to which the present technology is applied.

图72是图解说明本技术适用于的视频处理器的示意结构的另一个例子的示图。FIG. 72 is a diagram illustrating another example of a schematic structure of a video processor to which the present technology is applied.

具体实施方式Detailed ways

<第一实施例><First Embodiment>

(按照第一实施例的编码设备的结构例子)(Configuration example of the encoding apparatus according to the first embodiment)

图3是图解所示按照第一实施例的本技术适用于的编码设备的结构例子的方框图。FIG. 3 is a block diagram illustrating a configuration example of an encoding apparatus to which the present technology according to the first embodiment is applied.

图3中图解所示的编码设备10由编码单元11、设定单元12和传输单元13构成,并按照HEVC方式对图像编码。The encoding apparatus 10 illustrated in FIG. 3 is constituted by an encoding unit 11, a setting unit 12, and a transmission unit 13, and encodes an image in the HEVC method.

更具体地,以帧为单位构成的图像作为输入信号,被输入编码设备10的编码单元11。编码单元11通过参考从设定单元12供给的RPS,按照HEVC方式对输入信号编码,随后把通过编码获得的编码数据提供给设定单元12。More specifically, an image constituted in units of frames is input to the encoding unit 11 of the encoding device 10 as an input signal. The encoding unit 11 encodes the input signal in the HEVC manner by referring to the RPS supplied from the setting unit 12 , and then supplies the encoded data obtained by encoding to the setting unit 12 .

设定单元12设定不包括inter_ref_pic_set_prediction_flag,但是包括参考图像指定信息的RPS,和包括inter_ref_pic_set_prediction_flag 和参考图像指定信息或delta_idx_minus1的RPS。设定单元12向各个 RPS分配作为指定RPS(参考图像信息)的参考图像信息指定信息的索引。这里,假定“0”被设定成不包括inter_ref_pic_set_prediction_flag,但是包括参考图像指定信息的RPS的索引。The setting unit 12 sets an RPS that does not include inter_ref_pic_set_prediction_flag, but includes reference picture designation information, and an RPS that includes inter_ref_pic_set_prediction_flag and reference picture designation information or delta_idx_minus1. The setting unit 12 assigns to each RPS an index as reference picture information specifying information specifying an RPS (reference picture information). Here, it is assumed that "0" is set not to include the inter_ref_pic_set_prediction_flag, but to include the index of the RPS of the reference picture designation information.

设定单元12把已被赋予索引的RPS提供给编码单元11。设定单元 12设定包含RPS的SPS,PPS(画面参数集)等。The setting unit 12 supplies the RPS to which the index has been assigned to the encoding unit 11 . The setting unit 12 sets SPS including RPS, PPS (Picture Parameter Set), and the like.

设定单元12根据设定的SPS和PPS,和从编码单元11供给的编码数据,生成编码流。设定单元12把编码流提供给传输单元13。The setting unit 12 generates an encoded stream based on the set SPS and PPS and the encoded data supplied from the encoding unit 11 . The setting unit 12 supplies the encoded stream to the transmission unit 13 .

传输单元13把从设定单元12供给的编码流传送给后面说明的解码设备。The transmission unit 13 transmits the encoded stream supplied from the setting unit 12 to a decoding device described later.

(编码单元的结构例子)(Structure example of coding unit)

图4是图解说明图3中图解所示的编码单元11的结构例子的方框图。FIG. 4 is a block diagram illustrating a structural example of the encoding unit 11 illustrated in FIG. 3 .

图4中图解所示的编码单元11包括:A/D转换器31;屏幕重排缓冲器32;计算单元33;正交变换单元34;量化单元35;无损编码单元36;累积缓冲器37;逆量化单元38;逆正交变换单元39;加法单元40;解块滤波器41;自适应偏移滤波器42;自适应环路滤波器43;帧存储器 44;开关45;帧内预测单元46;运动预测/补偿单元47;预测图像选择单元48;参考图像设定单元49;和速率控制单元50。The encoding unit 11 illustrated in FIG. 4 includes: A/D converter 31; screen rearrangement buffer 32; calculation unit 33; orthogonal transform unit 34; quantization unit 35; lossless encoding unit 36; accumulation buffer 37; Inverse quantization unit 38; inverse orthogonal transform unit 39; addition unit 40; deblocking filter 41; adaptive offset filter 42; adaptive loop filter 43; frame memory 44; switch 45; intra prediction unit 46 ; motion prediction/compensation unit 47 ; predicted image selection unit 48 ; reference image setting unit 49 ; and rate control unit 50 .

更具体地,编码单元11的A/D转换器31进行作为输入信号输入的以帧为单位的图像的A/D转换,并把转换后的图像输出给屏幕重排缓冲器32,以便保存在其中。屏幕重排缓冲器32按照编码顺序,根据GOP 结构,重排保存的按照显示顺序的以帧为单位的图像,并把重排的图像输出给计算单元33、帧内预测单元46和运动预测/补偿单元47。More specifically, the A/D converter 31 of the encoding unit 11 performs A/D conversion of the frame-by-frame image input as an input signal, and outputs the converted image to the screen rearrangement buffer 32 for saving in in. The screen rearrangement buffer 32 rearranges the stored images in units of frames in the display order according to the GOP structure in the coding order, and outputs the rearranged images to the calculation unit 33, the intra prediction unit 46, and the motion prediction/ Compensation unit 47 .

计算单元33充当编码单元,并通过计算从预测图像选择单元48供给的预测图像,和从屏幕重排缓冲器32输出的当前编码图像之间的差分,进行编码。更具体地,计算单元33通过从输出自屏幕重排缓冲器32的当前编码图像中,减去从预测图像选择单元48供给的预测图像,进行编码。计算单元33把作为其结果而获得的图像作为残差信息,输出给正交变换单元34。另外,在未从预测图像选择单元48供给预测图像的情况下,计算单元33把从屏幕重排缓冲器32读取的图像作为残差信息,直接输出给正交变换单元34。The calculation unit 33 functions as an encoding unit, and performs encoding by calculating the difference between the predicted image supplied from the predicted image selection unit 48 and the currently encoded image output from the screen rearrangement buffer 32 . More specifically, the calculation unit 33 performs encoding by subtracting the predicted image supplied from the predicted image selection unit 48 from the current encoded image output from the screen rearrangement buffer 32 . The calculation unit 33 outputs the image obtained as a result to the orthogonal transformation unit 34 as residual information. In addition, when the predicted image is not supplied from the predicted image selection unit 48 , the calculation unit 33 directly outputs the image read from the screen rearrangement buffer 32 to the orthogonal transformation unit 34 as residual information.

正交变换单元34进行从计算单元33输出的残差信息的正交变换,从而生成正交变换系数。正交变换单元34把生成的正交变换系数提供给量化单元35。The orthogonal transform unit 34 performs orthogonal transform of the residual information output from the calculation unit 33 to generate orthogonal transform coefficients. The orthogonal transform unit 34 supplies the generated orthogonal transform coefficients to the quantization unit 35 .

量化单元35通过利用从速率控制单元50供给的量化参数,进行从正交变换单元34供给的正交变换系数的量化。量化单元35把作为其结果而获得的系数输入无损编码单元36。The quantization unit 35 performs quantization of the orthogonal transform coefficient supplied from the orthogonal transform unit 34 by using the quantization parameter supplied from the rate control unit 50 . The quantization unit 35 inputs the coefficients obtained as a result thereof to the lossless encoding unit 36 .

无损编码单元36从帧内预测单元46,获得表示最佳帧内预测模式的信息(下面称为帧内预测模式信息)。另外,无损编码单元36从运动预测/ 补偿单元47,获得表示最佳帧间预测模式、运动向量等的信息(下面称为帧间预测模式信息)。另外,无损编码单元36从参考图像设定单元49,获得RPS的索引、RPS等,并从速率控制单元50获得量化参数。The lossless encoding unit 36 obtains information indicating the optimum intra prediction mode (hereinafter referred to as intra prediction mode information) from the intra prediction unit 46 . In addition, the lossless encoding unit 36 obtains, from the motion prediction/compensation unit 47, information indicating the optimum inter prediction mode, motion vector, and the like (hereinafter referred to as inter prediction mode information). In addition, the lossless encoding unit 36 obtains the index of the RPS, the RPS, and the like from the reference image setting unit 49 , and obtains the quantization parameter from the rate control unit 50 .

另外,无损编码单元36从自适应偏移滤波器42获得作为偏移滤波信息的存储标记、索引或偏移量、和种类信息,并从自适应环路滤波器 43,获得滤波系数。In addition, the lossless encoding unit 36 obtains the storage flag, index or offset amount, and category information as offset filter information from the adaptive offset filter 42, and obtains filter coefficients from the adaptive loop filter 43.

无损编码单元36对从量化单元35供给的量化系数进行无损编码,比如变长编码(例如,CAVLC(上下文自适应变长编码)等),或者算术编码(例如,CABAC(上下文自适应二进制算术编码)。The lossless encoding unit 36 performs lossless encoding such as variable-length encoding (for example, CAVLC (Context Adaptive Variable Length Coding) or the like), or arithmetic encoding (for example, CABAC (Context-Adaptive Binary Arithmetic Coding), on the quantized coefficients supplied from the quantization unit 35 ).

另外,无损编码单元36进行诸如帧内预测模式信息或帧间预测模式信息、运动向量、RPS的索引或者RPS之类的量化参数、偏移滤波信息和滤波系数的无损编码,作为与编码相关的编码信息。无损编码单元36 把按照无损方式编码的编码信息和系数,作为编码数据提供给累积缓冲器37,以便保存在其中。另外,按照无损方式编码的编码信息可被视为按照无损方式编码的系数的头部信息(切片头部)。In addition, the lossless encoding unit 36 performs lossless encoding of quantization parameters such as intra prediction mode information or inter prediction mode information, motion vector, index of RPS, or RPS, offset filter information, and filter coefficients as encoding-related encoding information. The lossless encoding unit 36 supplies the encoding information and coefficients encoded in the lossless manner to the accumulation buffer 37 as encoded data so as to be held therein. In addition, the encoding information encoded in the lossless manner can be regarded as header information (slice header) of the coefficients encoded in the lossless manner.

累积缓冲器37临时保存从无损编码单元36供给的编码数据。另外,累积缓冲器37把保存的编码数据提供给图3中图解所示的设定单元12。The accumulation buffer 37 temporarily holds the encoded data supplied from the lossless encoding unit 36 . In addition, the accumulation buffer 37 supplies the held encoded data to the setting unit 12 illustrated in FIG. 3 .

另外,从量化单元35输出的量化系数还被输入逆量化单元38。逆量化单元38通过利用从速率控制单元50供给的量化参数,进行由量化单元35量化的系数的逆量化,并把作为其结果获得的正交变换系数提供给逆正交变换单元39。In addition, the quantization coefficient output from the quantization unit 35 is also input to the inverse quantization unit 38 . The inverse quantization unit 38 performs inverse quantization of the coefficients quantized by the quantization unit 35 by using the quantization parameter supplied from the rate control unit 50 , and supplies the orthogonal transform coefficients obtained as a result to the inverse orthogonal transform unit 39 .

逆正交变换单元39进行从逆量化单元38供给的正交变换系数的逆正交变换。逆正交变换单元39把通过逆正交变换获得的残差信息,提供给加法单元40。The inverse orthogonal transform unit 39 performs inverse orthogonal transform of the orthogonal transform coefficients supplied from the inverse quantization unit 38 . The inverse orthogonal transform unit 39 supplies the residual information obtained by the inverse orthogonal transform to the addition unit 40 .

加法单元40相加从逆正交变换单元39供给的残差信息,和从预测图像选择单元48供给的预测图像,从而获得已被局部解码的图像。另外,在未从预测图像选择单元48供给预测图像的情况下,加法单元40把从逆正交变换单元39供给的残差信息设定成局部解码图像。加法单元40 把局部解码图像提供给解块滤波器41,并把局部解码图像提供给帧存储器44,以便保存在其中。The addition unit 40 adds the residual information supplied from the inverse orthogonal transform unit 39 and the predicted image supplied from the predicted image selection unit 48, thereby obtaining an image that has been locally decoded. In addition, in the case where the predicted image is not supplied from the predicted image selection unit 48, the addition unit 40 sets the residual information supplied from the inverse orthogonal transform unit 39 as a local decoded image. The adding unit 40 supplies the locally decoded image to the deblocking filter 41 and supplies the locally decoded image to the frame memory 44 for storage therein.

解块滤波器41对从加法单元40供给的局部解码图像进行消除块失真的自适应解块滤波处理,并把作为其结果获得的图像提供给自适应偏移滤波器42。The deblocking filter 41 performs adaptive deblocking filter processing for removing block distortion on the locally decoded image supplied from the adding unit 40 , and supplies the image obtained as a result to the adaptive offset filter 42 .

自适应偏移滤波器42对在解块滤波器41进行的自适应解块滤波处理之后的图像,进行主要消除图像的振影(ringing)的自适应偏移滤波 (SAO:采样点自适应偏移)处理。The adaptive offset filter 42 performs an adaptive offset filter (SAO: Sampling Point Adaptive Offset) that mainly eliminates ringing of the image on the image after the adaptive deblocking filter process performed by the deblocking filter 41 . move) processing.

更具体地,自适应偏移滤波器42确定对于作为最大编码单元的各个 LCU(最大编码单元)的自适应偏移滤波处理的种类,并获得在自适应偏移滤波处理中使用的偏移量。自适应偏移滤波器42利用获得的偏移量,对自适应解块滤波处理之后的图像,进行确定种类的自适应偏移滤波处理。随后,自适应偏移滤波器42把自适应偏移滤波处理之后的图像提供给自适应环路滤波器43。More specifically, the adaptive offset filter 42 determines the kind of adaptive offset filter processing for each LCU (largest coding unit) that is the largest coding unit, and obtains the offset amount used in the adaptive offset filter processing. . The adaptive offset filter 42 uses the obtained offset to perform a specific type of adaptive offset filter processing on the image after the adaptive deblocking filter processing. Then, the adaptive offset filter 42 supplies the image after the adaptive offset filter processing to the adaptive loop filter 43 .

另外,自适应偏移滤波器42具有其中保存偏移量的缓冲器。对于每个LCU,自适应偏移滤波器42判定用于自适应解块滤波处理的偏移量是否已被保存在所述缓冲器中。In addition, the adaptive offset filter 42 has a buffer in which the offset is stored. For each LCU, adaptive offset filter 42 determines whether an offset for the adaptive deblocking filtering process has been stored in the buffer.

在判定用于自适应解块滤波处理的偏移量已被保存在所述缓冲器中的情况下,自适应偏移滤波器42把表示偏移量是否被保存在缓冲器中的存储标记,设定成表示所述偏移量被保存在缓冲器中的值(这里,“1”)。In a case where it is determined that the offset used for the adaptive deblocking filtering process has been stored in the buffer, the adaptive offset filter 42 puts a storage flag indicating whether the offset is stored in the buffer, Set to a value (here, "1") indicating that the offset is stored in the buffer.

随后,对于各个LCU,自适应偏移滤波器42把设定成“1”的存储标记、表示偏移量在缓冲器中的存储位置的索引、和表示已进行的自适应偏移滤波处理的种类的种类信息,提供给无损编码单元36。Then, for each LCU, the adaptive offset filter 42 sets the storage flag to "1", the index indicating the storage position of the offset in the buffer, and the index indicating the performed adaptive offset filtering process. The category information of the category is supplied to the lossless encoding unit 36 .

另一方面,在用于自适应解块滤波处理的偏移量未被保存在所述缓冲器中的情况下,自适应偏移滤波器42把偏移量顺序保存在缓冲器中。另外,自适应偏移滤波器42把存储标记设定成表示偏移量未被保存在缓冲器中的值(这里,“0”)。随后,对于各个LCU,自适应偏移滤波器42 把设定成“0”的存储标记、偏移量和种类信息提供给无损编码单元36。On the other hand, in the case where the offsets used for the adaptive deblocking filtering process are not stored in the buffer, the adaptive offset filter 42 sequentially stores the offsets in the buffer. In addition, the adaptive offset filter 42 sets the storage flag to a value (here, "0") indicating that the offset is not stored in the buffer. Then, for each LCU, the adaptive offset filter 42 supplies the storage flag, the offset amount, and the category information set to "0" to the lossless encoding unit 36 .

对于各个LCU,自适应环路滤波器43对从自适应偏移滤波器42供给的在自适应偏移滤波处理之后的图像,进行例如自适应环路滤波(ALF:自适应环路滤波)处理。例如,作为自适应环路滤波处理,使用利用二维 Wiener滤波器的处理。显然可以使用除Wiener滤波器外的滤波器。For each LCU, the adaptive loop filter 43 performs, for example, adaptive loop filter (ALF: Adaptive Loop Filter) processing on the image after the adaptive offset filter processing supplied from the adaptive offset filter 42 . For example, as the adaptive loop filter processing, processing using a two-dimensional Wiener filter is used. Obviously filters other than Wiener filters can be used.

更具体地,对于各个LCU,自适应环路滤波器43计算在自适应环路滤波处理中使用的滤波系数,以致使作为从屏幕重排缓冲器32输出的图像的原始图像,和自适应环路滤波处理之后的图像之间的残差降至最小。随后,对于各个LCU,自适应环路滤波器43通过利用计算的滤波系数,对在自适应偏移滤波处理之后的图像,进行自适应环路滤波处理。More specifically, for each LCU, the adaptive loop filter 43 calculates filter coefficients used in the adaptive loop filter process so as to be the original image which is the image output from the screen rearrangement buffer 32, and the adaptive loop filter. The residuals between the images after channel filtering are minimized. Then, for each LCU, the adaptive loop filter 43 performs adaptive loop filter processing on the image after the adaptive offset filter processing by using the calculated filter coefficients.

自适应环路滤波器43把自适应环路滤波处理之后的图像提供给帧存储器44。另外,自适应环路滤波器43把滤波系数提供给无损编码单元 36。The adaptive loop filter 43 supplies the image after the adaptive loop filter processing to the frame memory 44 . In addition, the adaptive loop filter 43 supplies the filter coefficients to the lossless encoding unit 36.

这里,尽管假定对各个LCU进行自适应环路滤波处理,不过,自适应环路滤波处理的处理单位并不局限于LCU。然而,通过相互匹配自适应偏移滤波器42和自适应环路滤波器43的处理单位,可以高效地进行处理。Here, although it is assumed that the adaptive loop filter processing is performed on each LCU, the processing unit of the adaptive loop filter processing is not limited to the LCU. However, by matching the processing units of the adaptive offset filter 42 and the adaptive loop filter 43 with each other, processing can be performed efficiently.

帧存储器44保存从自适应环路滤波器43供给的图像,和从加法单元40供给的图像。保存在帧存储器44中的图像通过开关45,被输出给帧内预测单元46或运动预测/补偿单元47,作为参考图像。The frame memory 44 holds the image supplied from the adaptive loop filter 43 and the image supplied from the adding unit 40 . The image stored in the frame memory 44 is output to the intra prediction unit 46 or the motion prediction/compensation unit 47 through the switch 45 as a reference image.

帧内预测单元46通过利用经开关45从帧存储器44读取的参考图像,进行作为候选者的所有帧内预测模式的帧内预测处理。The intra prediction unit 46 performs intra prediction processing of all intra prediction modes that are candidates by using the reference image read from the frame memory 44 via the switch 45 .

另外,帧内预测单元46根据从屏幕重排缓冲器32读取的图像,和通过帧内预测处理生成的预测图像,计算作为候选者的所有帧内预测模式的成本函数值(后面详细说明)。随后,帧内预测单元46把其成本函数值最小的帧内预测模式,确定为最佳帧内预测模式。In addition, the intra prediction unit 46 calculates cost function values of all intra prediction modes that are candidates based on the images read from the screen rearrangement buffer 32 and the predicted images generated by the intra prediction processing (details will be described later). . Subsequently, the intra prediction unit 46 determines the intra prediction mode whose cost function value is the smallest as the optimal intra prediction mode.

帧内预测单元46把按照最佳帧内预测模式生成的预测图像,和对应的成本函数值提供给预测图像选择单元48。在从预测图像选择单元48 向帧内预测单元46告知按照最佳帧内预测模式生成的预测图像的选择的情况下,帧内预测单元46把帧内预测模式信息提供给无损编码单元36。The intra prediction unit 46 supplies the predicted image generated in accordance with the optimal intra prediction mode, and the corresponding cost function value to the predicted image selection unit 48 . When the intra prediction unit 46 is informed of the selection of the predicted image generated in the optimum intra prediction mode from the predicted image selection unit 48 , the intra prediction unit 46 supplies the intra prediction mode information to the lossless encoding unit 36 .

成本函数值也被称为RD(速率失真)成本,并且如在作为按照 H.264/AVC方式的参考软件的JM(联合模型)中定义的那样,是根据高复杂度模式和低复杂度模式之一的技术计算的。The cost function value is also called RD (Rate Distortion) cost, and as defined in JM (Joint Model) which is reference software according to the H.264/AVC method, is according to the high complexity mode and the low complexity mode One of the technical computing ones.

更具体地,在采用高复杂度模式作为计算成本函数值的技术的情况下,对于作为候选者的所有预测模式,临时进行解码,并对于各种预测模式,计算用下式(1)表示的成本函数值。More specifically, in the case of employing a high-complexity mode as a technique for calculating a cost function value, for all prediction modes that are candidates, decoding is temporarily performed, and for each prediction mode, the expression expressed by the following equation (1) is calculated: Cost function value.

成本(模式)=D+λ·R...(1)cost(mode)=D+λ·R...(1)

这里,D是原始图像和解码图像之间的差分(失真),R是还包括正交变换的系数的生成编码量,λ是作为量化参数QP的函数给出的拉格朗日乘数。Here, D is the difference (distortion) between the original image and the decoded image, R is the amount of generated coding that also includes the coefficients of the orthogonal transform, and λ is the Lagrangian multiplier given as a function of the quantization parameter QP.

另一方面,在采用低复杂度模式作为计算成本函数值的技术的情况下,对于作为候选者的所有预测模式中的每个进行预测图像的生成和编码信息的编码量的计算,并对于各种预测模式计算用下式(2)表示的成本函数。On the other hand, in the case of employing the low-complexity mode as the technique for calculating the cost function value, the generation of the predicted image and the calculation of the encoding amount of the encoding information are performed for each of all the prediction modes that are candidates, and for each A cost function expressed by the following equation (2) is calculated for each prediction mode.

成本(模式)=D+QPtoQuant(QP)·Header_Bit...(2)Cost(Mode)=D+QPtoQuant(QP)·Header_Bit...(2)

这里,D是原始图像和解码图像之间的差分(失真),Header_Bit是编码信息的编码量,QPtoQuant是作为量化参数QP的函数给出的函数。Here, D is the difference (distortion) between the original image and the decoded image, Header_Bit is the encoding amount of encoded information, and QPtoQuant is a function given as a function of the quantization parameter QP.

在低复杂度模式下,对于所有预测模式,可以只生成预测图像,不必生成解码图像,从而计算量较小。In the low-complexity mode, for all prediction modes, only the predicted image can be generated, and the decoded image does not have to be generated, so that the amount of computation is small.

运动预测/补偿单元47进行作为候选者的所有帧间预测模式的运动预测/补偿处理。更具体地,运动预测/补偿单元47根据从屏幕重排缓冲器32供给的图像,和通过开关45从帧存储器44读取的参考图像,检测作为候选者的所有帧间预测模式的运动向量。随后,运动预测/补偿单元 47起预测图像生成单元的作用,并通过根据运动向量进行参考图像的补偿处理来生成预测图像。The motion prediction/compensation unit 47 performs motion prediction/compensation processing of all inter prediction modes that are candidates. More specifically, the motion prediction/compensation unit 47 detects motion vectors of all inter prediction modes as candidates from the image supplied from the screen rearrangement buffer 32 and the reference image read from the frame memory 44 through the switch 45 . Subsequently, the motion prediction/compensation unit 47 functions as a predicted image generation unit, and generates a predicted image by performing compensation processing of the reference image according to the motion vector.

此时,运动预测/补偿单元47根据从屏幕重排缓冲器32供给的图像,和预测图像,计算作为候选者的所有帧间预测模式的成本函数值,把其成本函数值最小的帧间预测模式确定为最佳帧间预测模式。随后,运动预测/补偿单元47把最佳帧间预测模式的成本函数值,和对应的预测图像提供给预测图像选择单元48。另外,当从预测图像选择单元48向运动预测/补偿单元47告知按最佳帧间预测模式生成的预测图像的选择时,运动预测/补偿单元47把帧间预测模式信息,对应的运动向量等输出给无损编码单元36,并把参考图像指定信息输出给参考图像设定单元49。At this time, the motion prediction/compensation unit 47 calculates the cost function values of all the inter prediction modes that are candidates based on the images supplied from the screen rearrangement buffer 32 and the predicted images, and predicts the inter prediction with the smallest cost function value. mode is determined as the best inter prediction mode. Subsequently, the motion prediction/compensation unit 47 supplies the cost function value of the optimum inter prediction mode, and the corresponding predicted image, to the predicted image selection unit 48 . In addition, when the motion prediction/compensation unit 47 is notified of the selection of the predicted image generated in the optimum inter prediction mode from the predicted image selection unit 48, the motion prediction/compensation unit 47 converts the inter prediction mode information, the corresponding motion vector, etc. It is output to the lossless encoding unit 36 , and the reference image specifying information is output to the reference image setting unit 49 .

预测图像选择单元48根据从帧内预测单元46和运动预测/补偿单元 47供给的成本函数值,把其对应成本函数值较小的最佳帧内预测模式和最佳帧间预测模式之一,确定为最佳预测模式。随后,预测图像选择单元48把最佳预测模式的预测图像提供给计算单元33和加法单元40。另外,预测图像选择单元48把最佳预测模式的预测图像的选择,告知帧内预测单元46或者运动预测/补偿单元47。The predicted image selection unit 48 selects one of the optimal intra prediction mode and the optimal inter prediction mode corresponding to the smaller cost function value according to the cost function value supplied from the intra prediction unit 46 and the motion prediction/compensation unit 47, Determined as the best prediction mode. Subsequently, the predicted image selection unit 48 supplies the predicted image of the optimum prediction mode to the calculation unit 33 and the addition unit 40 . In addition, the prediction image selection unit 48 notifies the intra prediction unit 46 or the motion prediction/compensation unit 47 of the selection of the prediction image of the optimal prediction mode.

参考图像设定单元49对应于GOP地保持从运动预测/补偿单元47 供给的参考图像指定信息。在当前编码图像是GOP的第1图像的情况下,参考图像设定单元49把作为RPS的索引的“0”,和表示当前编码图像的 RPS是包含在SPS中的RPS的RPS标记提供给无损编码单元36。The reference image setting unit 49 holds the reference image designation information supplied from the motion prediction/compensation unit 47 corresponding to the GOP. When the current coded picture is the first picture of the GOP, the reference picture setting unit 49 supplies "0" which is the index of the RPS, and an RPS flag indicating that the RPS of the current coded picture is the RPS included in the SPS to the lossless encoding unit 36 .

另一方面,在当前编码图像是GOP的除第1图像外的图像的情况下,参考图像设定单元49相互比较保持的在先图像的参考图像指定信息,和当前编码图像的参考图像指定信息,并根据比较结果,确定inter_ref_pic_ set_prediction_flag和delta_idx_minus1。随后,参考图像设定单元49 设定包括确定的inter_ref_pic_set_prediction_flag,和当前编码图像的参考图像指定信息或delta_idx_minus1的RPS,作为当前编码图像的RPS。On the other hand, when the current coded picture is a picture other than the first picture of the GOP, the reference picture setting section 49 compares the reference picture specifying information of the previous picture and the reference picture specifying information of the current coded picture with each other. , and according to the comparison result, determine inter_ref_pic_set_prediction_flag and delta_idx_minus1. Subsequently, the reference picture setting unit 49 sets the RPS including the determined inter_ref_pic_set_prediction_flag, and the reference picture designation information of the current coded picture or delta_idx_minus1, as the RPS of the current coded picture.

随后,在从设定单元12供给与当前编码图像的RPS相同的RPS的情况下,参考图像设定单元49把RPS的索引,和表示当前编码图像的 RPS是包含在SPS中的RPS的RPS标记提供给无损编码单元36。另一方面,在未从设定单元12供给与当前编码图像的RPS相同的RPS的情况下,参考图像设定单元49把当前编码图像的RPS,和表示当前编码图像的RPS不是包含在SPS中的RPS的RPS标记提供给无损编码单元36。Subsequently, in the case where the same RPS as the RPS of the current coded picture is supplied from the setting unit 12, the reference picture setting unit 49 sets the index of the RPS, and the RPS flag indicating that the RPS of the current coded picture is the RPS contained in the SPS Provided to the lossless encoding unit 36 . On the other hand, when the same RPS as the RPS of the current coded picture is not supplied from the setting unit 12, the reference picture setting unit 49 sets the RPS of the current coded picture and the RPS indicating that the current coded picture is not included in the SPS The RPS flag of the RPS is supplied to the lossless encoding unit 36 .

速率控制单元50根据保存在累积缓冲器37中的编码数据,确定量化单元35使用的量化参数,以致不会发生上溢或下溢。速率控制单元50 把确定的量化参数提供给量化单元35、无损编码单元36和逆量化单元 38。The rate control unit 50 determines the quantization parameter used by the quantization unit 35 based on the encoded data stored in the accumulation buffer 37 so that overflow or underflow does not occur. The rate control unit 50 supplies the determined quantization parameter to the quantization unit 35, the lossless encoding unit 36 and the inverse quantization unit 38.

(SPS的语法的例子)(SPS syntax example)

图5是图解说明由图3中图解所示的设定单元12设定的SPS的语法的例子的示图。FIG. 5 is a diagram illustrating an example of the syntax of the SPS set by the setting unit 12 illustrated in FIG. 3 .

如在图5中的第18行中图解所示,各个索引(i)的RPS包含在SPS 中。As illustrated in line 18 in FIG. 5 , the RPS of each index (i) is contained in the SPS.

(RPS的语法的例子)(Syntax example of RPS)

图6是图解说明RPS的语法的例子的示图。FIG. 6 is a diagram illustrating an example of the syntax of the RPS.

尽管未在图中图示,不过,图6中图解说明的第6行和后续各行的说明与图1中图解所示的第3行和后续各行的说明相同。Although not illustrated in the figure, the description of the sixth and subsequent rows illustrated in FIG. 6 is the same as that of the third and subsequent rows illustrated in FIG. 1 .

如在图6中的第2行和第3行中图解所示,在其索引(idx)为0的RPS 中,不包括inter_ref_pic_set_prediction_flag,但是包括当 inter_ref_pic_set_prediction_flag为“0”时包含的参考图像指定信息。As illustrated in lines 2 and 3 in FIG. 6 , in an RPS whose index (idx) is 0, inter_ref_pic_set_prediction_flag is not included, but reference picture designation information included when inter_ref_pic_set_prediction_flag is "0" is included.

另一方面,如在第4行和第5中图解所示,在其索引(idx)不同于“0”的RPS中,包含inter_ref_pic_set_prediction_flag。随后,在 inter_ref_pic_set_prediction_flag为“0”的情况下,包含参考图像指定信息。另一方面,在inter_ref_pic_set_prediction_flag为“1”的情况下,包含delta_idx_minus1。On the other hand, as illustrated in lines 4 and 5, in the RPS whose index (idx) is different from "0", inter_ref_pic_set_prediction_flag is included. Subsequently, when inter_ref_pic_set_prediction_flag is "0", reference picture designation information is included. On the other hand, when inter_ref_pic_set_prediction_flag is "1", delta_idx_minus1 is included.

(本技术的优点的说明)(Explanation of the advantages of the present technology)

图7是图解说明由图3中图解所示的设定单元12设定的RPS的信息量的示图,图8是图解说明常规RPS的信息量的示图。FIG. 7 is a diagram illustrating the information amount of the RPS set by the setting unit 12 illustrated in FIG. 3 , and FIG. 8 is a diagram illustrating the information amount of the conventional RPS.

在图7和8中图解所示的例子中,GOP内从开始起的第2画面和第 8画面的参考图像指定信息都与按照编码顺序的前一个画面的参考图像指定信息相同。In the examples illustrated in Figs. 7 and 8, the reference picture designation information of the 2nd picture and the 8th picture from the beginning within the GOP is the same as the reference picture designation information of the previous picture in coding order.

这种情况下,如图7中图解所示,设定单元12设定GOP的第1画面的参考图像指定信息,作为其索引为“0”的RPS。另外,作为其索引为“1”的RPS,设定单元12设定作为inter_ref_pic_set_prediction_flag的“1”,并设定作为delta_idx_minus1的“0”。从而,GOP的第1画面的RPS的索引被设定为“0”,第2画面和第8画面的RPS的索引被设定为“1”。In this case, as illustrated in FIG. 7 , the setting unit 12 sets the reference image designation information of the first picture of the GOP as the RPS whose index is “0”. In addition, as the RPS whose index is "1", the setting unit 12 sets "1" as inter_ref_pic_set_prediction_flag, and sets "0" as delta_idx_minus1. Therefore, the index of the RPS of the first picture of the GOP is set to "0", and the indices of the RPS of the second picture and the eighth picture are set to "1".

相反,如图8中图解所示,在常规情况下,例如,作为其索引为“0”的RPS,设定作为inter_ref_pic_set_prediction_flag的“0”,和GOP的第1画面的参考图像指定信息。另外,类似于设定单元12的情况,设定其索引为“1”的RPS。从而,GOP的第1画面的索引被设定为“0”,第2 画面和第8画面的RPS的索引被设定为“1”。In contrast, as illustrated in FIG. 8 , in the conventional case, for example, as an RPS whose index is “0”, “0” as inter_ref_pic_set_prediction_flag is set, and reference picture designation information of the 1st picture of the GOP is set. In addition, similarly to the case of the setting unit 12, the RPS whose index is "1" is set. Therefore, the index of the first picture of the GOP is set to "0", and the indices of the RPS of the second picture and the eighth picture are set to "1".

如上,设定单元不设定作为用作第1画面的RPS的其索引为“0”的 RPS的inter_ref_pic_set_prediction_flag。换句话说,由于GOP的第1 画面不具有就编码顺序来说的任何在先画面,因此inter_ref_pic_set_ prediction_flag必定为“0”。因而,设定单元12不设定作为用作第1画面的RPS的其索引为“0”的RPS的inter_ref_pic_set_prediction_flag,而是由于inter_ref_pic_set_prediction_flag为“0”,只设定参考图像指定信息。结果,与常规情况相比,RPS的信息量能够减少与第1画面的 inter_ref_pic_set_prediction_flag对应的数量。As described above, the setting unit does not set inter_ref_pic_set_prediction_flag which is the RPS whose index is "0" used as the RPS of the first picture. In other words, since the 1st picture of the GOP does not have any preceding pictures in coding order, inter_ref_pic_set_prediction_flag must be "0". Therefore, the setting section 12 does not set the inter_ref_pic_set_prediction_flag of the RPS whose index is "0" serving as the RPS of the first picture, but sets only the reference picture specifying information because the inter_ref_pic_set_prediction_flag is "0". As a result, the information amount of the RPS can be reduced by the amount corresponding to the inter_ref_pic_set_prediction_flag of the first picture compared to the conventional case.

(切片头部的语法的例子)(Example of the syntax of the slice header)

图9是图解说明切片头部的语法的例子的示图。FIG. 9 is a diagram illustrating an example of the syntax of the slice header.

如在图9中的第5行中图解所示,在切片头部中,包含对应系数的 RPS标记(short_term_ref_pic_set_sps_flag)。另外,如在图9中的第6行和第7行中图解所示,当RPS标记为“0”,表示当前编码图像的RPS不是包含在SPS中的RPS时,在切片头部中,包含对应系数的RPS,作为 short_term_ref_pic_set(num_short_term_ref_pic_sets)。As illustrated in row 5 in Fig. 9, in the slice header, the RPS flag (short_term_ref_pic_set_sps_flag) of the corresponding coefficient is included. In addition, as illustrated in the 6th row and the 7th row in FIG. 9, when the RPS flag is "0", indicating that the RPS of the current coded picture is not the RPS included in the SPS, in the slice header, including The RPS of the corresponding coefficient, as short_term_ref_pic_set(num_short_term_ref_pic_sets).

另一方面,如在图9中的第8行和第9行中图解所示,当RPS标记为“1”,表示当前编码图像的RPS是包含在SPS中的RPS时,在切片头部中,包含对应系数的RPS的索引,作为short_term_ref_pic_set_idx (num_short_term_ref_pic_sets)。On the other hand, as illustrated in lines 8 and 9 in FIG. 9 , when the RPS flag is "1", indicating that the RPS of the currently encoded picture is the RPS contained in the SPS, in the slice header , containing the index of the RPS of the corresponding coefficient, as short_term_ref_pic_set_idx (num_short_term_ref_pic_sets).

(编码设备的处理的说明)(Explanation of the processing of the encoding device)

图10是图解所示由图3中图解所示的编码设备10进行的生成处理的流程图。FIG. 10 is a flowchart illustrating generation processing performed by the encoding apparatus 10 illustrated in FIG. 3 .

在图10中图解所示的步骤S11,编码设备10的设定单元12进行设定RPS的RPS设定处理。该RPS设定处理将在后面参考后面说明的图 11详细说明。在步骤S12,编码单元11进行按照HEVC方式,对作为输入信号,从外部输入的以帧为单位构成的图像编码的编码处理。该编码处理将在后面参考后面说明的图12和13详细说明。In step S11 illustrated in FIG. 10 , the setting unit 12 of the encoding device 10 performs an RPS setting process of setting the RPS. This RPS setting process will be described in detail later with reference to Fig. 11 described later. In step S12, the encoding section 11 performs an encoding process of encoding an image that is externally input as an input signal and configured in frame units according to the HEVC method. This encoding process will be described in detail later with reference to FIGS. 12 and 13 described later.

在步骤S13,设定单元12设定包括被赋予索引的RPS的SPS。在步骤S14,设定单元12设定PPS。在步骤S15,设定单元12根据设定的 SPS和PPS,和从编码单元12供给的编码数据,生成编码流。设定单元 12把编码流提供给传输单元13。In step S13, the setting unit 12 sets the SPS including the RPS to which the index is assigned. In step S14, the setting unit 12 sets the PPS. In step S15, the setting unit 12 generates an encoded stream based on the set SPS and PPS and the encoded data supplied from the encoding unit 12. The setting unit 12 supplies the encoded stream to the transmission unit 13.

在步骤S16,传输单元13把从设定单元12供给的编码流,传送给后面说明的解码设备,然后结束处理。In step S16, the transmission unit 13 transmits the encoded stream supplied from the setting unit 12 to the decoding device described later, and then ends the processing.

图11是详细图解说明在图10中图解所示的步骤S11中表示的RPS 设定处理的流程图。FIG. 11 is a flowchart illustrating in detail the RPS setting process represented in step S11 illustrated in FIG. 10 .

在图11中图解所示的步骤S21,设定单元12把RPS的索引i设定为“0”。在步骤S22,判定RPS的索引i是否为“0”。当在步骤S22,RPS 的索引i被判定为“0”时,在步骤S23,设定单元12把inter_ref_pic_ set_prediction_flag设定为“0”,然后处理进入步骤S25。In step S21 illustrated in Fig. 11, the setting unit 12 sets the index i of the RPS to "0". In step S22, it is determined whether or not the index i of the RPS is "0". When the index i of the RPS is determined to be "0" in step S22, the setting unit 12 sets the inter_ref_pic_set_prediction_flag to "0" in step S23, and the process proceeds to step S25.

另一方面,当在步骤S22,RPS的索引i被判定不为“0”时,在步骤 S24,设定单元12把索引i的RPS设定为inter_ref_pic_set_ prediction_flag,然后处理进入步骤S25。On the other hand, when the index i of the RPS is determined not to be "0" in step S22, the setting unit 12 sets the RPS of the index i to inter_ref_pic_set_prediction_flag in step S24, and the process proceeds to step S25.

在步骤S25,设定单元12判定inter_ref_pic_set_prediction_flag是否为“1”。当在步骤S25,判定inter_ref_pic_set_prediction_flag为“1”时,在步骤S26,设定单元12设定delta_idx_minus1,作为索引i的RPS,然后处理进入步骤S28。In step S25, the setting unit 12 determines whether or not inter_ref_pic_set_prediction_flag is "1". When it is determined in step S25 that inter_ref_pic_set_prediction_flag is "1", in step S26 the setting unit 12 sets delta_idx_minus1 as the RPS of the index i, and the process proceeds to step S28.

另一方面,当在步骤S25,判定inter_ref_pic_set_prediction_flag不为“1”时,换句话说,当inter_ref_pic_set_prediction_flag为“0”时,在步骤S27,设定单元12设定参考图像指定信息,然后处理进入步骤S28。On the other hand, when it is determined in step S25 that inter_ref_pic_set_prediction_flag is not "1", in other words, when inter_ref_pic_set_prediction_flag is "0", in step S27 the setting unit 12 sets the reference picture specifying information, and the process proceeds to step S28 .

在步骤S28,设定单元12把索引i递增1。在步骤S29,设定单元12判定索引i是否等于或大于包含在SPS中的RPS的数目 num_short_term_ref_pic_sets。In step S28, the setting unit 12 increments the index i by one. In step S29, the setting unit 12 determines whether or not the index i is equal to or greater than the number num_short_term_ref_pic_sets of the RPS contained in the SPS.

当在步骤S29,判定索引i不等于或大于数目num_short_term_ref_ pic_sets时,处理返回步骤S22,重复步骤S22-S29的处理,直到索引i 等于或大于数目num_short_term_ref_pic_sets为止。When it is determined in step S29 that the index i is not equal to or greater than the number num_short_term_ref_pic_sets, the process returns to step S22, and the processes of steps S22-S29 are repeated until the index i is equal to or greater than the number num_short_term_ref_pic_sets.

另一方面,当在步骤S29,判定索引i等于或大于数目 num_short_term_ref_pic_sets时,处理返回图10中图解所示的步骤S11,然后进入步骤S12。On the other hand, when it is determined in step S29 that the index i is equal to or greater than the number num_short_term_ref_pic_sets, the process returns to step S11 illustrated in Fig. 10 and then proceeds to step S12.

图12和13表示详细图解说明在图10中图解所示的步骤S12的编码处理的流程图。12 and 13 show flowcharts illustrating the encoding process of step S12 illustrated in FIG. 10 in detail.

在图12中图解所示的步骤S31,编码单元11的A/D转换器31进行作为输入信号输入的以帧为单位的图像的A/D转换,然后把转换后的图像输出给屏幕重排缓冲器32,以便保存在其中。In step S31 illustrated in FIG. 12 , the A/D converter 31 of the encoding unit 11 performs A/D conversion of the frame-unit image input as an input signal, and then outputs the converted image to screen rearrangement buffer 32 to be stored in it.

在步骤S32,屏幕重排缓冲器32依据GOP的结构,按编码顺序,重排按显示顺序排列的保存的各帧图像。屏幕重排缓冲器32把重排后的以帧为单位构成的图像提供给计算单元33、帧内预测单元46和运动预测 /补偿单元47。In step S32, the screen rearrangement buffer 32 rearranges the saved frame images arranged in the display order according to the structure of the GOP and in the encoding order. The screen rearrangement buffer 32 supplies the rearranged image constituted in units of frames to the calculation unit 33 , the intra prediction unit 46 and the motion prediction/compensation unit 47 .

在步骤S33,帧内预测单元46进行作为候选者的所有帧内预测模式的帧内预测处理。另外,帧内预测单元46根据从屏幕重排缓冲器32读取的图像,和通过帧内预测处理生成的预测图像,计算作为候选者的所有帧内预测模式的成本函数值。随后,帧内预测单元46把其成本函数值最小的帧内预测模式确定为最佳帧内预测模式。帧内预测单元46把按照最佳帧内预测模式生成的预测图像,和对应的成本函数值提供给预测图像选择单元48。In step S33, the intra prediction unit 46 performs intra prediction processing of all intra prediction modes that are candidates. In addition, the intra prediction unit 46 calculates cost function values of all intra prediction modes that are candidates based on the image read from the screen rearrangement buffer 32 and the predicted image generated by the intra prediction process. Subsequently, the intra prediction unit 46 determines the intra prediction mode whose cost function value is the smallest as the optimal intra prediction mode. The intra prediction unit 46 supplies the predicted image generated in accordance with the optimal intra prediction mode, and the corresponding cost function value to the predicted image selection unit 48 .

另外,运动预测/补偿单元47进行作为候选者的所有帧间预测模式的运动预测/补偿处理。此外,运动预测/补偿单元47根据从屏幕重排缓冲器32供给的图像,和预测图像,计算作为候选者的所有帧间预测模式的成本函数值,并把其成本函数值最小的帧间预测模式确定为最佳帧间预测模式。随后,运动预测/补偿单元47把最佳帧间预测模式的成本函数值,和对应的预测图像提供给预测图像选择单元48。In addition, the motion prediction/compensation unit 47 performs motion prediction/compensation processing of all the inter prediction modes that are candidates. Further, the motion prediction/compensation unit 47 calculates the cost function values of all the inter prediction modes as candidates based on the images supplied from the screen rearrangement buffer 32, and the predicted images, and predicts the inter prediction whose cost function value is the smallest mode is determined as the best inter prediction mode. Subsequently, the motion prediction/compensation unit 47 supplies the cost function value of the optimum inter prediction mode, and the corresponding predicted image, to the predicted image selection unit 48 .

在步骤S34,预测图像选择单元48根据在步骤S33的处理中,从帧内预测单元46和运动预测/补偿单元47供给的成本函数值,把其成本函数值最小的最佳帧内预测模式和最佳帧间预测模式之一,确定为最佳预测模式。随后,预测图像选择单元48把最佳预测模式的预测图像提供给计算单元33和加法单元40。In step S34, the predicted image selection unit 48 uses the cost function values supplied from the intra prediction unit 46 and the motion prediction/compensation unit 47 in the process of step S33 to select the optimal intra prediction mode whose cost function value is the smallest and the One of the best inter prediction modes is determined as the best prediction mode. Subsequently, the predicted image selection unit 48 supplies the predicted image of the optimum prediction mode to the calculation unit 33 and the addition unit 40 .

在步骤S35,预测图像选择单元48判定最佳预测模式是否是最佳帧间预测模式。当在步骤S35,判定最佳预测模式是最佳帧间预测模式时,预测图像选择单元48把按最佳帧间预测模式生成的预测图像的选择,告知运动预测/补偿单元47。In step S35, the predicted image selection unit 48 determines whether or not the optimum prediction mode is the optimum inter prediction mode. When it is determined in step S35 that the optimal prediction mode is the optimal inter prediction mode, the prediction image selection unit 48 notifies the motion prediction/compensation unit 47 of the selection of the prediction image generated in the optimal inter prediction mode.

随后,在步骤S36,运动预测/补偿单元47把帧间预测模式信息和对应的运动向量,提供给无损编码单元36。运动预测/补偿单元47把参考图像指定信息提供给参考图像设定单元49。Subsequently, in step S36, the motion prediction/compensation unit 47 supplies the inter prediction mode information and the corresponding motion vector to the lossless encoding unit 36. The motion prediction/compensation unit 47 supplies the reference image designation information to the reference image setting unit 49 .

在步骤S37,参考图像设定单元49进行确定RPS的索引的RPS索引确定处理。该RPS索引确定处理将在后面参考后面说明的图14详细说明。In step S37, the reference image setting unit 49 performs RPS index determination processing of determining the index of the RPS. This RPS index determination process will be described in detail later with reference to FIG. 14 described later.

另一方面,在步骤S35,当判定最佳预测模式不是最佳帧间预测模式时,换句话说,当最佳预测模式是最佳帧内预测模式时,预测图像选择单元48把按最佳帧内预测模式生成的预测图像的选择,告知帧内预测单元46。随后,在步骤S38,帧内预测单元46把帧内预测模式信息提供给无损编码单元36,然后处理进入步骤S39。On the other hand, in step S35, when it is determined that the optimal prediction mode is not the optimal inter prediction mode, in other words, when the optimal prediction mode is the optimal intra prediction mode, the predicted image selection unit 48 selects the optimal prediction mode according to the optimal prediction mode. The selection of the predicted image generated by the intra prediction mode is notified to the intra prediction unit 46 . Subsequently, in step S38, the intra prediction unit 46 supplies the intra prediction mode information to the lossless encoding unit 36, and the process proceeds to step S39.

在步骤S39,计算单元33从供给自屏幕重排缓冲器32的图像中,减去从预测图像选择单元48供给的预测图像,从而进行编码。计算单元 33把作为其结果获得的图像,作为残差信息输出给正交变换单元34。In step S39, the calculation unit 33 subtracts the predicted image supplied from the predicted image selection unit 48 from the image supplied from the screen rearrangement buffer 32, thereby performing encoding. The calculation unit 33 outputs the image obtained as a result to the orthogonal transformation unit 34 as residual information.

在步骤S40,正交变换单元34对从计算单元33输出的残差信息进行正交变换,并把作为其结果获得的正交变换系统提供给量化单元35。In step S40 , the orthogonal transform unit 34 orthogonally transforms the residual information output from the calculation unit 33 , and supplies the orthogonal transform system obtained as a result to the quantization unit 35 .

在步骤S41,量化单元35通过利用从速率控制单元50供给的量化参数,量化从正交变换单元34供给的系数。量化系数被输入无损编码单元36和逆量化单元38。In step S41 , the quantization unit 35 quantizes the coefficient supplied from the orthogonal transform unit 34 by using the quantization parameter supplied from the rate control unit 50 . The quantized coefficients are input to the lossless encoding unit 36 and the inverse quantization unit 38 .

在图13中图解所示的步骤S42,逆量化单元38通过利用从速率控制单元50供给的量化参数,进行从量化单元35供给的量化系数的逆量化,并把作为其结果获得的正交变换系数提供给逆正交变换单元39。In step S42 illustrated in Fig. 13 , the inverse quantization unit 38 performs inverse quantization of the quantization coefficient supplied from the quantization unit 35 by using the quantization parameter supplied from the rate control unit 50, and transforms the orthogonal transform obtained as a result thereof The coefficients are supplied to the inverse orthogonal transform unit 39 .

在步骤S43,逆正交变换单元39对从逆量化单元38供给的正交变换系数进行逆正交变换,并把作为其结果获得的残差信息提供给加法单元40。In step S43 , the inverse orthogonal transform unit 39 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 38 , and supplies the residual information obtained as a result to the addition unit 40 .

在步骤S44,加法单元40相加从逆正交变换单元39供给的残差信息,和从预测图像选择单元48供给的预测图像,从而获得局部解码图像。加法单元40把获得的图像提供给解块滤波器41和帧存储器44。In step S44, the adding unit 40 adds the residual information supplied from the inverse orthogonal transform unit 39 and the predicted image supplied from the predicted image selection unit 48, thereby obtaining a local decoded image. The adding unit 40 supplies the obtained image to the deblocking filter 41 and the frame memory 44 .

在步骤S45,解块滤波器41对从加法单元40供给的局部解码图像进行解块滤波处理。解块滤波器41把作为其结果获得的图像提供给自适应偏移滤波器42。In step S45 , the deblocking filter 41 performs deblocking filter processing on the locally decoded image supplied from the adding unit 40 . The deblocking filter 41 supplies the image obtained as a result thereof to the adaptive offset filter 42 .

在步骤S46,对于每个LCU,自适应偏移滤波器42对从解块滤波器 41供给的图像,进行自适应偏移滤波处理。自适应偏移滤波器42把作为其结果获得的图像提供给自适应环路滤波器43。另外,对于各个LCU,自适应偏移滤波器42把存储标记、索引或偏移量、和种类信息,作为偏移滤波信息提供给无损编码单元36。In step S46, the adaptive offset filter 42 performs adaptive offset filter processing on the image supplied from the deblocking filter 41 for each LCU. The adaptive offset filter 42 supplies the image obtained as a result thereof to the adaptive loop filter 43 . In addition, for each LCU, the adaptive offset filter 42 supplies the storage flag, the index or offset, and the category information to the lossless encoding unit 36 as offset filter information.

在步骤S47,对于各个LCU,自适应环路滤波器43对从自适应偏移滤波器42供给的图像,进行自适应环路滤波处理。自适应环路滤波器43 把作为其结果获得的图像提供给帧存储器44。另外,自适应环路滤波器 43把在自适应环路滤波处理中使用的滤波系数提供给无损编码单元36。In step S47, the adaptive loop filter 43 performs adaptive loop filter processing on the image supplied from the adaptive offset filter 42 for each LCU. The adaptive loop filter 43 supplies the image obtained as a result thereof to the frame memory 44 . In addition, the adaptive loop filter 43 supplies the lossless encoding unit 36 with filter coefficients used in the adaptive loop filter processing.

在步骤S48,帧存储器44保存从自适应环路滤波器43供给的图像,和从加法单元40供给的图像。保存在帧存储器44中的图像通过开关45,被输出给帧内预测单元46或运动预测/补偿单元47,作为参考图像。In step S48, the frame memory 44 holds the image supplied from the adaptive loop filter 43 and the image supplied from the adding unit 40. The image stored in the frame memory 44 is output to the intra prediction unit 46 or the motion prediction/compensation unit 47 through the switch 45 as a reference image.

在步骤S49,无损编码单元36对从速率控制单元50供给的量化参数、偏移滤波信息和滤波系数,比如帧内预测模式信息或帧间预测模式信息、运动向量、RPS的索引或RPS等,进行无损编码,作为编码信息。In step S49, the lossless encoding unit 36 compares the quantization parameters, offset filter information and filter coefficients supplied from the rate control unit 50, such as intra prediction mode information or inter prediction mode information, motion vector, index of RPS or RPS, etc., Perform lossless encoding as encoded information.

在步骤S50,无损编码单元36对从量化单元35供给的量化系数进行无损编码。随后,无损编码单元36根据在步骤S49中,按照无损方式编码的编码信息和系数,生成编码数据。In step S50 , the lossless encoding unit 36 performs lossless encoding on the quantized coefficient supplied from the quantization unit 35 . Subsequently, the lossless encoding unit 36 generates encoded data based on the encoding information and coefficients encoded in the lossless manner in step S49.

在步骤S51,累积缓冲器37临时保存从无损编码单元36供给的编码数据。In step S51, the accumulation buffer 37 temporarily holds the encoded data supplied from the lossless encoding unit 36.

在步骤S52,速率控制单元50根据保存在累积缓冲器37中的编码数据,确定量化单元35使用的量化参数,以致不发生上溢或下溢。速率控制单元50把确定的量化参数提供给量化单元35、无损编码单元36和逆量化单元38。In step S52, the rate control unit 50 determines the quantization parameter used by the quantization unit 35 based on the encoded data stored in the accumulation buffer 37 so that overflow or underflow does not occur. The rate control unit 50 supplies the determined quantization parameters to the quantization unit 35 , the lossless encoding unit 36 and the inverse quantization unit 38 .

在步骤S53,累积缓冲器37把保存的编码数据输出给图3中图解所示的设定单元12。In step S53, the accumulation buffer 37 outputs the held encoded data to the setting unit 12 illustrated in Fig. 3 .

在图12和13中图解所示的编码处理中,为了简化说明,尽管帧内预测处理和运动预测/补偿处理两者被配置成是持续不断地进行的,不过,实际上,可按照画面种类等,只进行其中之一。In the encoding process illustrated in FIGS. 12 and 13 , in order to simplify the explanation, although both the intra prediction process and the motion prediction/compensation process are configured to be continuously performed, in practice, it is possible to etc., do only one of them.

图14是详细图解说明在图12中图解所示的步骤S37中表示的RPS 索引确定处理的流程图。FIG. 14 is a flowchart illustrating in detail the RPS index determination process represented in step S37 illustrated in FIG. 12 .

在图14中图解所示的步骤S71,参考图像设定单元49对应于GOP 地保持从运动预测/补偿单元47供给的参考图像指定信息。在步骤S72,参考图像设定单元49确定当前编码图像是否是GPS的第1图像。In step S71 illustrated in FIG. 14 , the reference image setting unit 49 holds the reference image designation information supplied from the motion prediction/compensation unit 47 in correspondence with the GOP. In step S72, the reference image setting unit 49 determines whether or not the currently encoded image is the first image of the GPS.

当在步骤S72,确定当前编码图像是GOP中的第1图像时,在步骤S73,参考图像设定单元49把RPS标记设定为“1”。在步骤S74,参考图像设定单元49把RPS的索引设定为“0”,然后处理进入步骤S79。When it is determined in step S72 that the currently encoded picture is the first picture in the GOP, in step S73 the reference picture setting unit 49 sets the RPS flag to "1". In step S74, the reference image setting unit 49 sets the index of the RPS to "0", and the process proceeds to step S79.

另一方面,当在步骤S72,确定当前编码图像是GOP中的除第1图像外的图像时,在步骤S75,参考图像设定单元49生成当前编码图像的 RPS。On the other hand, when it is determined in step S72 that the current coded picture is a picture other than the first picture in the GOP, in step S75, the reference picture setting unit 49 generates the RPS of the currently coded picture.

更具体地,参考图像设定单元49判定保持的在先图像的参考图像指定信息和当前编码图像的参考图像指定信息是否相同。当判定保持的在先图像的参考图像指定信息和当前编码图像的参考图像指定信息相同时,参考图像设定单元49生成当前编码图像的RPS,该RPS包含作为 inter_ref_pic_set_prediction_flag的“1”,并包含delta_idx_minus1。More specifically, the reference picture setting unit 49 determines whether or not the reference picture specification information of the held previous picture and the reference picture specification information of the currently encoded picture are the same. When it is determined that the reference picture specifying information of the previous picture held and the reference picture specifying information of the current coded picture are the same, the reference picture setting unit 49 generates the RPS of the current coded picture which contains "1" as inter_ref_pic_set_prediction_flag and contains delta_idx_minus1 .

另一方面,当判定保持的在先图像的参考图像指定信息和当前编码图像的参考图像指定信息不相同时,参考图像设定单元49生成包含作为 inter_ref_pic_set_prediction_flag的“0”的当前编码图像的RPS。On the other hand, when it is determined that the reference picture specifying information of the held previous picture and the reference picture specifying information of the current coded picture are not identical, the reference picture setting unit 49 generates the RPS of the current coded picture including "0" as inter_ref_pic_set_prediction_flag.

在步骤S76,参考图像设定单元49判定当前编码图像的RPS是否和包含在从设定单元12供给的SPS中的RPS相同。当在步骤S76,判定当前编码图像的RPS和包含在SPS中的RPS相同时,在步骤S77,参考图像设定单元49把RPS标记设定为“1”。In step S76 , the reference picture setting unit 49 determines whether or not the RPS of the currently encoded picture is the same as the RPS contained in the SPS supplied from the setting unit 12 . When it is determined in step S76 that the RPS of the currently encoded picture and the RPS contained in the SPS are the same, in step S77 the reference picture setting unit 49 sets the RPS flag to "1".

在步骤S78,参考图像设定单元49识别与当前编码图像的RPS相同的包含在SPS中的RPS的索引,然后处理进入步骤S79。在步骤S79,参考图像设定单元49把在步骤S73或步骤S77中设定的RPS标记,和在步骤S74中设定的RPS的索引,或者在步骤S78中识别的RPS的索引提供给无损编码单元36。随后,处理返回图12中图解所示的步骤S37,然后处理进入步骤S39。In step S78, the reference picture setting unit 49 identifies the index of the same RPS contained in the SPS as the RPS of the currently encoded picture, and the process proceeds to step S79. In step S79, the reference picture setting unit 49 supplies the RPS flag set in step S73 or step S77, and the index of the RPS set in step S74, or the index of the RPS identified in step S78 to lossless encoding unit 36. Subsequently, the process returns to step S37 illustrated in Fig. 12 , and then the process proceeds to step S39.

另一方面,当在步骤S76,判定当前编码图像的RPS和包含在SPS 中的RPS不同时,参考图像设定单元49把RPS标记设定为“0”。在步骤S81,参考图像设定单元49把在步骤S80中设定的RPS标记,和在步骤S75中生成的RPS提供给无损编码单元36。随后,处理返回图12中图解所示的步骤S37,然后处理进入步骤S39。On the other hand, when it is determined in step S76 that the RPS of the currently encoded picture and the RPS contained in the SPS are different, the reference picture setting unit 49 sets the RPS flag to "0". In step S81, the reference image setting unit 49 supplies the RPS flag set in step S80 and the RPS generated in step S75 to the lossless encoding unit 36. Subsequently, the process returns to step S37 illustrated in Fig. 12 , and then the process proceeds to step S39.

如上,在当前编码图像是GOP内的除第1图像外的图像的情况下,编码设备10传送inter_ref_pic_set_prediction_flag。换句话说,在当前编码图像是GOP的第1图像时,编码设备10不传送inter_ref_pic_ set_prediction_flag。因而,与参考图像指定信息相关的RPS的信息量可被减少与GOP的第1图像的inter_ref_pic_set_prediction_flag对应的数量。As above, when the currently encoded picture is a picture other than the first picture in the GOP, the encoding device 10 transmits the inter_ref_pic_set_prediction_flag. In other words, the encoding device 10 does not transmit the inter_ref_pic_set_prediction_flag when the currently encoded picture is the first picture of the GOP. Therefore, the information amount of the RPS related to the reference picture designation information can be reduced by the amount corresponding to the inter_ref_pic_set_prediction_flag of the first picture of the GOP.

(按照第一实施例的解码设备的结构例子)(Configuration example of decoding apparatus according to first embodiment)

图15是图解说明按照第一实施例的本技术适用于的,解码从图3中图解所示的编码设备10传送的编码流的解码设备的结构例子的方框图。FIG. 15 is a block diagram illustrating a structural example of a decoding apparatus that decodes an encoded stream transmitted from the encoding apparatus 10 illustrated in FIG. 3 to which the present technology according to the first embodiment is applied.

图15中图解所示的解码设备110由接收单元111、提取单元112和解码单元113构成。The decoding apparatus 110 illustrated in FIG. 15 is constituted by a receiving unit 111 , an extracting unit 112 , and a decoding unit 113 .

解码设备110的接收单元111接收从图3中图解所示的编码设备10 传送的编码流,并把接收的编码流提供给提取单元112。The receiving unit 111 of the decoding device 110 receives the encoded stream transmitted from the encoding device 10 illustrated in FIG. 3 , and supplies the received encoded stream to the extraction unit 112 .

提取单元112从供给自接收单元111的编码流中,提取SPS、PPS、编码数据等。提取单元112把编码数据供给解码单元113。另外,提取单元112根据SPS,获得各个SPS的inter_ref_pic_set_prediction_flag,和 delta_idx_minus1或参考图像指定信息,并把获得的信息提供给解码单元113。另外,必要时,提取单元112把包含在SPS中的除RPS外的信息,PPS等,提供给解码单元113。The extraction unit 112 extracts SPS, PPS, encoded data, and the like from the encoded stream supplied from the reception unit 111 . The extraction unit 112 supplies the encoded data to the decoding unit 113 . In addition, the extraction unit 112 obtains inter_ref_pic_set_prediction_flag of each SPS, and delta_idx_minus1 or reference picture designation information from the SPS, and supplies the obtained information to the decoding unit 113. In addition, the extracting unit 112 supplies information other than the RPS, PPS, etc., contained in the SPS, to the decoding unit 113, as necessary.

根据从提取单元112供给的各个RPS的inter_ref_pic_set_ prediction_flag和delta_idx_minus1或参考图像指定信息,解码单元113 按照HEVC方式,解码从提取单元112供给的编码数据。此时,必要时,解码单元113参考包含在SPS中的除RPS外的信息,PPS等。解码单元 113输出通过解码获得的图像,作为输出信号。Based on the inter_ref_pic_set_prediction_flag and delta_idx_minus1 of each RPS supplied from the extraction unit 112 or the reference picture designation information, the decoding unit 113 decodes the encoded data supplied from the extraction unit 112 according to the HEVC method. At this time, the decoding unit 113 refers to information other than the RPS, the PPS, and the like contained in the SPS, as necessary. The decoding unit 113 outputs the image obtained by decoding as an output signal.

(解码单元的结构例子)(Example of structure of decoding unit)

图16是图解说明在图15中图解所示的解码单元13的结构例子的方框图。FIG. 16 is a block diagram illustrating a structural example of the decoding unit 13 illustrated in FIG. 15 .

图16中图解所示的解码单元113由以下组件构成:累积缓冲器131;无损解码单元132;逆量化单元133;逆正交变换单元134;加法单元135;解块滤波器136;自适应偏移滤波器137;自适应环路滤波器138;屏幕重排缓冲器139;D/A转换器140;帧存储器141;开关142;帧内预测单元143;参考图像设定单元144;运动补偿单元145;和开关146。The decoding unit 113 illustrated in FIG. 16 is composed of the following components: an accumulation buffer 131; a lossless decoding unit 132; an inverse quantization unit 133; an inverse orthogonal transform unit 134; an addition unit 135; a deblocking filter 136; Shift filter 137; Adaptive loop filter 138; Screen rearrangement buffer 139; D/A converter 140; Frame memory 141; Switch 142; Intra prediction unit 143; Reference image setting unit 144; Motion compensation unit 145; and switch 146.

解码单元113的累积缓冲器131从图15中图解所示的提取单元112 接收编码数据,并保存接收的编码数据。累积缓冲器131把保存的编码数据提供给无损解码单元132。The accumulation buffer 131 of the decoding unit 113 receives encoded data from the extraction unit 112 illustrated in FIG. 15 and holds the received encoded data. The accumulation buffer 131 supplies the stored encoded data to the lossless decoding unit 132 .

无损解码单元132对从累积缓冲器131供给的编码数据,进行诸如变长解码或算术解码之类的无损解码,从而获得量化系数和编码信息。无损解码单元132把量化系数提供给逆量化单元133。另外,无损解码单元132把帧内预测模式信息等,作为编码信息提供给帧内预测单元143,并把运动向量、帧间预测模式信息等提供给运动补偿单元145。无损解码单元132把RPS标记和RPS的索引或者RPS,作为编码信息提供给参考图像设定单元144。The lossless decoding unit 132 performs lossless decoding such as variable-length decoding or arithmetic decoding on the encoded data supplied from the accumulation buffer 131, thereby obtaining quantized coefficients and encoding information. The lossless decoding unit 132 supplies the quantized coefficients to the inverse quantization unit 133 . In addition, the lossless decoding unit 132 supplies intra prediction mode information and the like to the intra prediction unit 143 as encoding information, and supplies the motion vector, inter prediction mode information, and the like to the motion compensation unit 145 . The lossless decoding unit 132 supplies the RPS flag and the RPS index or RPS to the reference image setting unit 144 as encoding information.

另外,无损解码单元132把帧内预测模式信息或帧间预测模式信息,作为编码信息提供给开关146。无损解码单元132把偏移滤波信息,作为编码信息提供给自适应偏移滤波器137,并把滤波系数提供给自适应环路滤波器138。In addition, the lossless decoding unit 132 supplies intra prediction mode information or inter prediction mode information to the switch 146 as encoding information. The lossless decoding unit 132 supplies the offset filter information as encoded information to the adaptive offset filter 137 and supplies the filter coefficients to the adaptive loop filter 138 .

逆量化单元133、逆正交变换单元134、加法单元135、解块滤波器 136、自适应偏移滤波器137、自适应环路滤波器138、帧存储器141、开关142、帧内预测单元13和运动补偿单元145进行和图4中图解所示的逆量化单元38、逆正交变换单元39、加法单元40、解块滤波器41、自适应偏移滤波器42、自适应环路滤波器43、帧存储器44、开关45、帧内预测单元46和运动预测/补偿单元47的处理类似的处理,从而图像被解码。Inverse quantization unit 133, inverse orthogonal transform unit 134, addition unit 135, deblocking filter 136, adaptive offset filter 137, adaptive loop filter 138, frame memory 141, switch 142, intra prediction unit 13 and the motion compensation unit 145 perform the inverse quantization unit 38, the inverse orthogonal transform unit 39, the addition unit 40, the deblocking filter 41, the adaptive offset filter 42, the adaptive loop filter illustrated in FIG. 4 43, the frame memory 44, the switch 45, the intra prediction unit 46, and the motion prediction/compensation unit 47 are processed similarly, whereby the image is decoded.

更具体地,逆量化单元133进行从无损解码单元132供给的量化系数的逆量化,并把作为其结果获得的正交变换系数提供给逆正交变换单元134。More specifically, the inverse quantization unit 133 performs inverse quantization of the quantized coefficients supplied from the lossless decoding unit 132 , and supplies the orthogonal transform coefficients obtained as a result to the inverse orthogonal transform unit 134 .

逆正交变换单元134对从逆量化单元133供给的正交变换系数,进行逆正交变换。逆正交变换单元134把通过逆正交变换获得的残差信息提供给加法单元135。Inverse orthogonal transform unit 134 performs inverse orthogonal transform on the orthogonal transform coefficients supplied from inverse quantization unit 133 . The inverse orthogonal transform unit 134 supplies the residual information obtained by the inverse orthogonal transform to the addition unit 135 .

加法单元135充当解码单元,并通过相加作为当前解码图像,从逆正交变换单元134供给的残差信息,和从开关146供给的预测图像,来进行解码。加法单元135把通过解码获得的图像提供给解块滤波器136 和帧存储器141。另外,当未从开关146供给预测图像时,加法单元135 把作为从逆正交变换单元134供给的残差信息的图像提供给解块滤波器136,作为通过解码获得的图像,并把该图像提供给帧存储器141,以便保存在其中。The adding unit 135 functions as a decoding unit, and performs decoding by adding, as the current decoded image, the residual information supplied from the inverse orthogonal transform unit 134 , and the predicted image supplied from the switch 146 . The adding unit 135 supplies the image obtained by decoding to the deblocking filter 136 and the frame memory 141 . In addition, when the predicted image is not supplied from the switch 146, the adding unit 135 supplies the image that is the residual information supplied from the inverse orthogonal transform unit 134 to the deblocking filter 136 as an image obtained by decoding, and adds the image to the deblocking filter 136. Provided to the frame memory 141 to be stored therein.

解块滤波器136对从加法单元135供给的图像,进行自适应解块滤波处理,并把作为其结果获得的图像,提供给自适应偏移滤波器137。The deblocking filter 136 performs adaptive deblocking filter processing on the image supplied from the adding unit 135 , and supplies the image obtained as a result to the adaptive offset filter 137 .

自适应偏移滤波器137具有顺序保存从无损解码单元132供给的偏移量的缓冲器。另外,自适应偏移滤波器137根据从无损解码单元132 供给的偏移滤波信息,对在解块滤波器136进行的自适应解块滤波处理之后的图像,各个LCU地进行自适应偏移滤波处理。The adaptive offset filter 137 has a buffer that sequentially holds the offsets supplied from the lossless decoding unit 132 . In addition, the adaptive offset filter 137 performs adaptive offset filtering for each LCU on the image after the adaptive deblocking filter processing performed by the deblocking filter 136 based on the offset filter information supplied from the lossless decoding unit 132 deal with.

更具体地,当包含在偏移滤波信息中的存储标记为“0”时,自适应偏移滤波器137通过利用包含在偏移滤波信息中的偏移量,对在以LCU为单位进行的解块滤波处理之后的图像,进行由种类信息表示的种类的自适应偏移滤波处理。More specifically, when the storage flag included in the offset filter information is "0", the adaptive offset filter 137 performs the processing performed in the LCU unit by using the offset amount included in the offset filter information. The image after the deblocking filter process is subjected to the adaptive offset filter process of the type indicated by the type information.

另一方面,当包含在偏移滤波信息中的存储标记为“1”时,自适应偏移滤波器137对于在以LCU为单位进行的解块滤波处理之后的图像,读取保存在由包含在偏移滤波信息中的索引表示的位置的偏移。随后,自适应偏移滤波器137通过利用读取的偏移,进行由种类信息表示的种类的自适应偏移滤波处理。自适应偏移滤波器137把自适应偏移滤波处理之后的图像提供给自适应环路滤波器138。On the other hand, when the storage flag included in the offset filter information is "1", the adaptive offset filter 137 reads the image after deblocking The offset of the position indicated by the index in the offset filter information. Then, the adaptive offset filter 137 performs adaptive offset filter processing of the category indicated by the category information by using the read offset. The adaptive offset filter 137 supplies the image after the adaptive offset filter processing to the adaptive loop filter 138 .

自适应环路滤波器138通过利用从无损解码单元132供给的滤波系数,对从自适应偏移滤波器137供给的图像,各个LCU地进行自适应环路滤波处理。自适应环路滤波器138把作为其结果获得的图像提供给帧存储器141和屏幕重排缓冲器139。The adaptive loop filter 138 performs adaptive loop filter processing for each LCU on the image supplied from the adaptive offset filter 137 by using the filter coefficient supplied from the lossless decoding unit 132 . The adaptive loop filter 138 supplies the image obtained as a result thereof to the frame memory 141 and the screen rearrangement buffer 139 .

屏幕重排缓冲器139以帧为单位地保存从自适应环路滤波器138供给的图像。屏幕重排缓冲器139按照原始顺序,重排按照编码顺序排列的以帧为单位的存储图像,并把重排的图像提供给D/A转换器140。The screen rearrangement buffer 139 holds the image supplied from the adaptive loop filter 138 on a frame-by-frame basis. The screen rearrangement buffer 139 rearranges the stored images in units of frames arranged in the encoding order in the original order, and supplies the rearranged images to the D/A converter 140 .

D/A转换器140进行从屏幕重排缓冲器139供给的以帧为单位构成的图像的D/A转换,并输出转换后的图像,作为输出信号。帧存储器141 保存从自适应环路滤波器138供给的图像,和从加法单元135供给的图像。保存在帧存储器141中的图像被读取,作为参考图像,并通过开关 142被提供给运动补偿单元145或者帧内预测单元143。The D/A converter 140 performs D/A conversion of the image supplied from the screen rearrangement buffer 139 constituted in units of frames, and outputs the converted image as an output signal. The frame memory 141 holds the image supplied from the adaptive loop filter 138 and the image supplied from the adding unit 135 . The image stored in the frame memory 141 is read as a reference image and supplied to the motion compensation unit 145 or the intra prediction unit 143 through the switch 142.

帧内预测单元143通过利用经开关142,从帧存储器141读取的参考图像,进行由从无损解码单元132供给的帧内预测模式信息表示的帧内预测模式的帧内预测处理。帧内预测单元143把作为其结果生成的预测图像提供给开关146。The intra prediction unit 143 performs intra prediction processing of the intra prediction mode indicated by the intra prediction mode information supplied from the lossless decoding unit 132 by using the reference image read from the frame memory 141 via the switch 142 . The intra prediction unit 143 supplies the predicted image generated as a result thereof to the switch 146 .

参考图像设定单元144保持从图15中图解所示的提取单元112供给的各个RPS的inter_ref_pic_set_prediction_flag和delta_idx_minus1或参考图像指定信息,作为RPS信息。另外,参考图像设定单元144根据从无损解码单元132供给的RPS标记和RPS的索引或RPS,以及各个 RPS的RPS信息,生成当前解码图像的参考图像指定信息。参考图像设定单元144把生成的参考图像指定信息提供给运动补偿单元145,并保持参考图像指定信息。The reference picture setting unit 144 holds, as RPS information, inter_ref_pic_set_prediction_flag and delta_idx_minus1 of each RPS supplied from the extraction unit 112 illustrated in FIG. 15 or reference picture specifying information. In addition, the reference picture setting section 144 generates reference picture specifying information of the currently decoded picture based on the RPS flag and the RPS index or RPS supplied from the lossless decoding section 132, and the RPS information of each RPS. The reference image setting unit 144 supplies the generated reference image designation information to the motion compensation unit 145, and holds the reference image designation information.

运动补偿单元145根据从参考图像设定单元144供给的参考图像指定信息,通过开关142,从帧存储器141中读取由参考图像指定信息指定的参考图像。运动补偿单元145充当预测图像生成单元,通过利用运动向量和参考图像,进行由帧间预测模式信息表示的最佳帧间预测模式的运动补偿处理。运动补偿单元145把作为其结果生成的预测图像提供给开关146。The motion compensation unit 145 reads the reference image designated by the reference image designation information from the frame memory 141 through the switch 142 based on the reference image designation information supplied from the reference image setting unit 144 . The motion compensation unit 145 functions as a predicted image generation unit, and performs motion compensation processing of the optimum inter prediction mode indicated by the inter prediction mode information by using the motion vector and the reference image. The motion compensation unit 145 supplies the predicted image generated as a result thereof to the switch 146 .

当从无损解码单元132供给帧内预测模式信息时,开关146把从帧内预测单元143供给的预测图像提供给加法单元135。另一方面,当从无损解码单元132供给帧间预测模式信息时,开关146把从运动补偿单元 145供给的预测图像提供给加法单元135。When the intra prediction mode information is supplied from the lossless decoding unit 132 , the switch 146 supplies the prediction image supplied from the intra prediction unit 143 to the adding unit 135 . On the other hand, when the inter prediction mode information is supplied from the lossless decoding unit 132, the switch 146 supplies the prediction image supplied from the motion compensation unit 145 to the adding unit 135.

(解码设备的处理的说明)(Explanation of the processing of the decoding device)

图17是图解说明由图15中图解所示的解码设备110进行的接收处理的流程图。FIG. 17 is a flowchart illustrating reception processing by the decoding apparatus 110 illustrated in FIG. 15 .

在图17中图解所示的步骤S111,解码设备110的接收单元111接收从图3中图解所示的编码设备10传送的编码流,并把接收的编码流提供给提取单元112。In step S111 illustrated in FIG. 17 , the receiving unit 111 of the decoding device 110 receives the encoded stream transmitted from the encoding device 10 illustrated in FIG. 3 and supplies the received encoded stream to the extraction unit 112 .

在步骤S112,提取单元112从供给自接收单元111的编码流中,提取SPS、PPS、编码数据等。提取单元112把编码数据提供给解码单元 113。另外,必要时,提取单元112把包含在SPS中的除RPS外的信息, PPS等提供给解码单元113。In step S112 , the extraction unit 112 extracts SPS, PPS, encoded data, and the like from the encoded stream supplied from the reception unit 111 . The extraction unit 112 supplies the encoded data to the decoding unit 113. In addition, the extracting unit 112 supplies information other than the RPS, PPS, etc. contained in the SPS to the decoding unit 113 as necessary.

在步骤S113,提取单元112根据SPS,获得各个RPS的inter_ref_ pic_set_prediction_flag,和delta_idx_minus1或参考图像指定信息,作为RPS信息,并把获得的信息提供给解码单元113。In step S113 , the extraction unit 112 obtains, as RPS information, inter_ref_pic_set_prediction_flag of each RPS, and delta_idx_minus1 or reference picture specifying information according to the SPS, and supplies the obtained information to the decoding unit 113 .

在步骤S114,解码单元113进行根据从提取单元112供给的各个 RPS的RPS信息,按照HEVC方式,对从提取单元112供给的编码数据解码的解码处理。该解码处理将参考后面说明的图19,详细说明。随后,处理结束。In step S114, the decoding unit 113 performs decoding processing of decoding the encoded data supplied from the extraction unit 112 according to the HEVC method based on the RPS information of each RPS supplied from the extraction unit 112. This decoding process will be described in detail with reference to FIG. 19 described later. Then, the processing ends.

图18是详细图解说明在图17中图解所示的步骤S113中表示的RPS 设定处理的流程图。FIG. 18 is a flowchart illustrating in detail the RPS setting process represented in step S113 illustrated in FIG. 17 .

在图18中图解所示的步骤S120,提取单元112获得包含在SPS(图 5)中的num_short_term_ref_pic_sets。在步骤S121,提取单元112把与生成的RPS信息对应的RPS的索引i设定为“0”。在步骤S122,判定 RPS的索引i是否为“0”。In step S120 illustrated in Fig. 18, the extraction unit 112 obtains num_short_term_ref_pic_sets contained in the SPS (Fig. 5). In step S121, the extraction unit 112 sets the index i of the RPS corresponding to the generated RPS information to "0". In step S122, it is determined whether or not the index i of the RPS is "0".

当在步骤S122,判定索引i为“0”时,在步骤S123,提取单元112 把包含在索引i的RPS的RPS信息中的inter_ref_pic_set_prediction_flag 设定为“0”,然后处理进入步骤S125。When it is determined in step S122 that the index i is "0", in step S123, the extraction unit 112 sets the inter_ref_pic_set_prediction_flag contained in the RPS information of the RPS of the index i to "0", and the process proceeds to step S125.

另一方面,当在步骤S122,判定索引i不为“0”时,在步骤S124,提取单元112获得包括在包含于SPS中的索引i的RPS中的 inter_ref_pic_set_prediction_flag。随后,提取单元112设定获得的 inter_ref_pic_set_prediction_flag,作为包含在索引i的RPS的RPS信息中的inter_ref_pic_set_prediction_flag,然后处理进入步骤S125。On the other hand, when it is determined in step S122 that the index i is not "0", in step S124 the extraction unit 112 obtains the inter_ref_pic_set_prediction_flag included in the RPS of the index i included in the SPS. Subsequently, the extraction unit 112 sets the obtained inter_ref_pic_set_prediction_flag as the inter_ref_pic_set_prediction_flag included in the RPS information of the RPS of the index i, and the process proceeds to step S125.

在步骤S125,提取单元112判定inter_ref_pic_set_prediction_flag 是否为“1”。当在步骤S125,判定inter_ref_pic_set_prediction_flag为“1”时,在步骤S126,提取单元112获得包括在包含于SPS中的索引i的 RPS中的delta_idx_minus1。随后,提取单元112设定获得的 delta_idx_minus1,作为包含在索引i的RPS的RPS信息中的 delta_idx_minus1,然后处理进入步骤S128。In step S125, the extraction unit 112 determines whether or not inter_ref_pic_set_prediction_flag is "1". When it is determined in step S125 that the inter_ref_pic_set_prediction_flag is "1", in step S126, the extraction unit 112 obtains delta_idx_minus1 included in the RPS of the index i included in the SPS. Subsequently, the extraction unit 112 sets the obtained delta_idx_minus1 as delta_idx_minus1 included in the RPS information of the RPS of index i, and the process proceeds to step S128.

另一方面,当在步骤S125,判定inter_ref_pic_set_prediction_flag 不为“1”时,在步骤S127,提取单元112获得包括在包含于SPS中的索引i的RPS中的参考图像指定信息。随后,提取单元112设定获得的参考图像指定信息,作为包含在索引i的RPS的RPS信息中的参考图像指定信息,然后处理进入步骤S128。On the other hand, when it is determined in step S125 that the inter_ref_pic_set_prediction_flag is not "1", in step S127 the extraction unit 112 obtains the reference picture designation information included in the RPS of the index i included in the SPS. Subsequently, the extraction unit 112 sets the obtained reference image designation information as the reference image designation information contained in the RPS information of the RPS of index i, and the process proceeds to step S128.

在步骤S128,提取单元112把索引i加1。在步骤S129,提取单元 112判定索引i是否等于或大于在步骤S120中获得的 num_short_term_ref_pic_sets。In step S128, the extraction unit 112 increments the index i by 1. In step S129, the extraction unit 112 determines whether the index i is equal to or greater than num_short_term_ref_pic_sets obtained in step S120.

当在步骤S129,判定索引i不等于或大于num_short_term_ref_pic_ sets时,处理返回步骤S122,重复步骤S122-S129的处理,直到索引i 等于或大于num_short_term_ref_pic_sets为止。When it is determined in step S129 that the index i is not equal to or greater than num_short_term_ref_pic_sets, the process returns to step S122, and the processes of steps S122-S129 are repeated until the index i is equal to or greater than num_short_term_ref_pic_sets.

另一方面,当在步骤S129,判定索引i等于或大于num_short_term_ ref_pic_sets时,在步骤S130,提取单元112供给其数目为设定的 num_short_term_ref_pic_sets的RPS的RPS信息。随后,处理返回图 17中图解所示的步骤S113,然后处理进入步骤S114。On the other hand, when it is determined in step S129 that the index i is equal to or greater than num_short_term_ref_pic_sets, in step S130, the extraction unit 112 supplies the RPS information of the RPS whose number is the set num_short_term_ref_pic_sets. Subsequently, the process returns to step S113 illustrated in Fig. 17, and then the process proceeds to step S114.

图19是详细图解说明在图17中图解所示的步骤S114中表示的解码处理的流程图。FIG. 19 is a flowchart illustrating in detail the decoding process represented in step S114 illustrated in FIG. 17 .

在图19中图解所示的步骤S131,解码单元113的累积缓冲器131 从图15中图解所示的提取单元112,接收以帧为单位构成的编码数据,并保存接收的编码数据。累积缓冲器131把保存的编码数据提供给无损解码单元132。In step S131 illustrated in FIG. 19 , the accumulation buffer 131 of the decoding unit 113 receives encoded data constituted in units of frames from the extraction unit 112 illustrated in FIG. 15 , and holds the received encoded data. The accumulation buffer 131 supplies the stored encoded data to the lossless decoding unit 132 .

在步骤S132,无损解码单元132进行从累积缓冲器131供给的编码数据的无损解码,从而获得量化系数和编码信息。无损解码单元132把量化系数提供给逆量化单元133。另外,无损解码单元132把帧内预测模式信息等,作为编码信息提供给帧内预测单元143,并把运动向量、帧间预测模式信息、RPS标记、RPS的索引或RPS等,提供给运动补偿单元 145。In step S132, the lossless decoding unit 132 performs lossless decoding of the encoded data supplied from the accumulation buffer 131, thereby obtaining quantization coefficients and encoding information. The lossless decoding unit 132 supplies the quantized coefficients to the inverse quantization unit 133 . In addition, the lossless decoding unit 132 supplies intra prediction mode information and the like as encoding information to the intra prediction unit 143, and supplies motion vector, inter prediction mode information, RPS flag, RPS index or RPS, etc. to motion compensation unit 145.

另外,无损解码单元132把帧间预测模式信息或帧内预测模式信息,作为编码信息提供给开关146。无损解码单元132把偏移滤波信息作为编码信息提供给自适应偏移滤波器137,并把滤波系数提供给自适应环路滤波器138。In addition, the lossless decoding unit 132 supplies the inter prediction mode information or the intra prediction mode information to the switch 146 as encoding information. The lossless decoding unit 132 supplies the offset filter information as encoded information to the adaptive offset filter 137 and supplies the filter coefficients to the adaptive loop filter 138 .

在步骤S133,逆量化单元133进行从无损解码单元132供给的量化系数的逆量化,并把作为其结果获得的正交变换系数提供给逆正交变换单元134。In step S133 , the inverse quantization unit 133 performs inverse quantization of the quantized coefficients supplied from the lossless decoding unit 132 , and supplies the orthogonal transform coefficients obtained as a result to the inverse orthogonal transform unit 134 .

在步骤S134,运动补偿单元145判定是否从无损解码单元132供给了帧间预测模式信息。当在步骤S134,判定供给了帧间预测模式信息时,处理进入步骤S135。In step S134 , the motion compensation unit 145 determines whether the inter prediction mode information is supplied from the lossless decoding unit 132 . When it is determined in step S134 that the inter prediction mode information is supplied, the process proceeds to step S135.

在步骤S135,参考图像设定单元144根据从提取单元112供给的各个RPS的RPS信息,和从无损解码单元132供给的RPS标记和RPS的索引或RPS,生成当前解码图像的参考图像指定信息,并保持生成的参考图像指定信息。In step S135, the reference picture setting unit 144 generates the reference picture specifying information of the current decoded picture based on the RPS information of each RPS supplied from the extraction unit 112, and the RPS flag and the index or RPS of the RPS supplied from the lossless decoding unit 132, And keep the generated reference image specifying information.

更具体地,参考图像设定单元144保持从提取单元112供给的各个RPS的RPS信息。当RPS标记为“1”时,参考图像设定单元144读取包含在保持的RPS信息中的RPS的索引RPS信息。随后,当包含在读取的RPS信息中的inter_ref_pic_set_prediction_flag为“0”时,参考图像设定单元144生成包含在RPS信息中的参考图像指定信息,作为当前解码图像的参考图像指定信息,并保持生成的参考图像指定信息。More specifically, the reference image setting unit 144 holds the RPS information of each RPS supplied from the extraction unit 112 . When the RPS flag is "1", the reference image setting unit 144 reads the index RPS information of the RPS contained in the held RPS information. Subsequently, when the inter_ref_pic_set_prediction_flag contained in the read RPS information is "0", the reference picture setting unit 144 generates the reference picture specifying information contained in the RPS information as the reference picture specifying information of the current decoded picture, and keeps generating The reference image specification information for .

另一方面,当inter_ref_pic_set_prediction_flag为“1”时,参考图像设定单元144从保持的参考图像指定信息之中,读取由包含在RPS信息中的delta_idx_minus1指定的在先图像的参考图像指定信息。随后,参考图像设定单元144生成并保持读取的在先图像的参考图像指定信息,作为当前解码图像的参考图像指定信息。On the other hand, when inter_ref_pic_set_prediction_flag is "1", the reference picture setting unit 144 reads the reference picture specifying information of the preceding picture specified by delta_idx_minus1 included in the RPS information from among the held reference picture specifying information. Subsequently, the reference image setting unit 144 generates and holds the read reference image designation information of the previous image as the reference image designation information of the current decoded image.

另外,当RPS标记为“0”,并且包含在和RPS标记一起从无损解码单元132供给的RPS中的inter_ref_pic_set_prediction_flag为“0”时,参考图像设定单元144生成包含在RPS中的参考图像指定信息,作为当前解码图像的参考图像指定信息,并保持生成的参考图像指定信息。另一方面,当inter_ref_pic_set_prediction_flag为“1”时,参考图像设定单元144从保持的参考图像指定信息中,读取利用包含在RPS中的 delta_idx_minus1指定的在先图像的参考图像指定信息。随后,参考图像设定单元144生成读取的在先图像的参考图像指定信息,作为当前解码图像的参考图像指定信息,并保持生成的参考图像指定信息。In addition, when the RPS flag is "0" and the inter_ref_pic_set_prediction_flag contained in the RPS supplied from the lossless decoding unit 132 together with the RPS flag is "0", the reference picture setting unit 144 generates reference picture designation information contained in the RPS , as the reference picture specification information of the current decoded picture, and maintain the generated reference picture specification information. On the other hand, when inter_ref_pic_set_prediction_flag is "1", the reference picture setting section 144 reads the reference picture specification information of the preceding picture specified by delta_idx_minus1 included in the RPS from the held reference picture specification information. Subsequently, the reference image setting unit 144 generates the read reference image designation information of the preceding image as the reference image designation information of the currently decoded image, and holds the generated reference image designation information.

在步骤S136,运动补偿单元145根据从参考图像设定单元144供给的参考图像指定信息,读取参考图像,并通过利用运动向量和参考图像,进行由帧间预测模式信息表示的最佳帧间预测模式的运动补偿处理。运动补偿单元145把作为其结果生成的预测图像,通过开关146提供给加法单元135,然后处理进入步骤S138。In step S136, the motion compensation unit 145 reads the reference image based on the reference image designation information supplied from the reference image setting unit 144, and performs an optimal inter frame represented by the inter prediction mode information by using the motion vector and the reference image Motion compensation processing for prediction mode. The motion compensation unit 145 supplies the predicted image generated as a result thereof to the addition unit 135 through the switch 146, and the process proceeds to step S138.

另一方面,当在步骤S134中,判定未供给帧间预测模式信息时,换句话说,当向帧内预测单元143供给帧内预测模式信息时,处理进入步骤S137。On the other hand, when it is determined in step S134 that the inter prediction mode information is not supplied, in other words, when the intra prediction mode information is supplied to the intra prediction unit 143, the process proceeds to step S137.

在步骤S137,帧内预测单元143通过利用经开关142从帧存储器141 读取的参考图像,进行由帧内预测模式信息表示的帧内预测模式的帧内预测处理。帧内预测单元143通过开关146,把通过帧内预测处理生成的预测图像提供给加法单元135,随后处理进入步骤S138。In step S137, the intra prediction unit 143 performs intra prediction processing of the intra prediction mode indicated by the intra prediction mode information by using the reference image read from the frame memory 141 via the switch 142. The intra prediction unit 143 supplies the predicted image generated by the intra prediction process to the addition unit 135 through the switch 146, and the process proceeds to step S138.

在步骤S138,逆正交变换单元134对从逆量化单元133供给的正交变换系数,进行逆正交变换,并把作为其结果获得的残差信息提供给加法单元135。In step S138 , the inverse orthogonal transform unit 134 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 133 , and supplies the residual information obtained as a result to the addition unit 135 .

在步骤S139,加法单元135相加从逆正交变换单元134供给的残差信息,和从开关146供给的预测图像。加法单元135把作为其结果获得的图像提供给解块滤波器136,并把获得的图像提供给帧存储器141。In step S139 , the adding unit 135 adds the residual information supplied from the inverse orthogonal transform unit 134 and the predicted image supplied from the switch 146 . The adding unit 135 supplies the image obtained as a result thereof to the deblocking filter 136 and supplies the obtained image to the frame memory 141 .

在步骤S140,解块滤波器136对从加法单元135供给的图像,进行解块滤波处理,从而消除块失真。解块滤波器136把作为其结果获得的图像提供给自适应偏移滤波器137。In step S140, the deblocking filter 136 performs deblocking filter processing on the image supplied from the adding unit 135, thereby eliminating block distortion. The deblocking filter 136 supplies the image obtained as a result thereof to the adaptive offset filter 137 .

在步骤S141,自适应偏移滤波器137根据从无损解码单元132供给的偏移滤波信息,对在解块滤波器136进行的解块滤波处理之后的图像,各个LCU地进行自适应偏移滤波处理。自适应偏移滤波器137把自适应偏移滤波处理之后的图像提供给自适应环路滤波器138。In step S141, the adaptive offset filter 137 performs adaptive offset filtering for each LCU on the image after the deblocking filter processing performed by the deblocking filter 136 based on the offset filter information supplied from the lossless decoding unit 132 deal with. The adaptive offset filter 137 supplies the image after the adaptive offset filter processing to the adaptive loop filter 138 .

在步骤S142,自适应环路滤波器138通过利用从无损解码单元132 供给的滤波系数,对从自适应偏移滤波器137供给的图像,各个LCU地进行自适应环路滤波处理。自适应环路滤波器138把作为其结果获得的图像提供给帧存储器141和屏幕重排缓冲器139。In step S142, the adaptive loop filter 138 performs adaptive loop filter processing for each LCU on the image supplied from the adaptive offset filter 137 by using the filter coefficient supplied from the lossless decoding unit 132. The adaptive loop filter 138 supplies the image obtained as a result thereof to the frame memory 141 and the screen rearrangement buffer 139 .

在步骤S143,帧存储器141保存从加法单元135供给的图像,和从自适应环路滤波器138供给的图像。保存在帧存储器141中的图像通过开关142,被提供给运动补偿单元145或者帧内预测单元143,作为参考图像。In step S143 , the frame memory 141 holds the image supplied from the adding unit 135 and the image supplied from the adaptive loop filter 138 . The image stored in the frame memory 141 is supplied to the motion compensation unit 145 or the intra prediction unit 143 through the switch 142 as a reference image.

在步骤S144,屏幕重排缓冲器139以帧为单位,保存从自适应环路滤波器138供给的图像,并按照原始显示顺序,重排保存的按照编码顺序、以帧为单位构成的图像,然后把重排的图像提供给D/A转换器140。In step S144, the screen rearrangement buffer 139 stores the images supplied from the adaptive loop filter 138 in units of frames, and rearranges the stored images in units of frames in the encoding order in the original display order, The rearranged image is then supplied to the D/A converter 140 .

在步骤S145,D/A转换器140对从屏幕重排缓冲器139供给的以帧为单位构成的图像,进行D/A转换,并输出转换后的图像作为输出信号。随后,处理返回图17中图解所示的步骤S114,然后处理结束。In step S145, the D/A converter 140 performs D/A conversion on the image supplied from the screen rearrangement buffer 139 constituted in units of frames, and outputs the converted image as an output signal. Subsequently, the process returns to step S114 illustrated in FIG. 17 , and then the process ends.

如上,解码设备110接收当当前编码图像是GOP的除第1图像外的图像时传送的inter_ref_pic_set_prediction_flag。当收到 inter_ref_pic_set_prediction_flag时,解码设备110根据 inter_ref_pic_set_prediction_flag,生成当前解码图像的参考图像指定信息。另一方面,当未收到inter_ref_pic_set_prediction_flag时,解码设备 110根据作为inter_ref_pic_set_prediction_flag的“0”,生成当前解码图像的参考图像指定信息。As above, the decoding apparatus 110 receives the inter_ref_pic_set_prediction_flag transmitted when the current encoded picture is a picture other than the first picture of the GOP. When receiving the inter_ref_pic_set_prediction_flag, the decoding apparatus 110 generates reference picture designation information of the current decoded picture according to the inter_ref_pic_set_prediction_flag. On the other hand, when the inter_ref_pic_set_prediction_flag is not received, the decoding device 110 generates the reference picture designation information of the current decoded picture based on "0" as the inter_ref_pic_set_prediction_flag.

结果,解码设备110能够解码其中RPS的信息量被减少与GOP的第1图像的inter_ref_pic_set_prediction_flag对应的数量的编码流。As a result, the decoding apparatus 110 can decode the encoded stream in which the information amount of the RPS is reduced by the amount corresponding to the inter_ref_pic_set_prediction_flag of the first picture of the GOP.

<第二实施例><Second Embodiment>

(按照第二实施例的编码设备的结构例子)(Example of the structure of the encoding apparatus according to the second embodiment)

图20是图解说明按照第二实施例的本技术适用于的编码设备的结构例子的方框图。20 is a block diagram illustrating a structural example of an encoding apparatus to which the present technology according to the second embodiment is applied.

这里,向图20中图解所示的与图3中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 20 that are the same as those illustrated in FIG. 3 , and repeated explanations thereof are omitted.

图20中图解所示的编码设备150的结构和图3中图解所示的编码设备10的结构的不同之处在于设置设定单元151,而不是设定单元12。编码设备150设定SPS,以致可以GOP为单位,共享inter_ref_pic_set_ prediction_flag和delta_idx_minus1。The structure of the encoding device 150 illustrated in FIG. 20 differs from the structure of the encoding device 10 illustrated in FIG. 3 in that the setting unit 151 is set instead of the setting unit 12 . The encoding apparatus 150 sets the SPS so that inter_ref_pic_set_prediction_flag and delta_idx_minus1 can be shared in units of GOPs.

更具体地,必要时,设定单元151设定包含inter_ref_pic_set_ prediction_flag、delta_idx_minus1、参考图像指定信息等的RPS,并向各个RPS赋予索引。设定单元151把被赋予索引的RPS提供给编码单元11。另外,设定单元151设定包括表示在RPS和GOP内的所有画面中,inter_ref_pic_set_prediction_flag是否为“0”的不可参考信息,并且必要时,包含为GOP内的所有画面共有的delta_idx_minus1的SPS。设定单元151设定PPS等。More specifically, the setting unit 151 sets an RPS including inter_ref_pic_set_prediction_flag, delta_idx_minus1, reference picture designation information, and the like, as necessary, and assigns an index to each RPS. The setting unit 151 supplies the indexed RPS to the encoding unit 11 . In addition, setting section 151 sets the SPS including delta_idx_minus1 common to all pictures in the GOP including non-reference information indicating whether inter_ref_pic_set_prediction_flag is "0" in all pictures in the RPS and GOP, if necessary. The setting unit 151 sets PPS and the like.

另外,类似于图3中图解所示的设定单元12,设定单元151根据已设定的SPS和PPS,以及从编码单元11供给的编码数据,生成编码流。类似于设定单元12,设定单元151把编码流提供给传输单元13。In addition, similar to the setting unit 12 illustrated in FIG. 3 , the setting unit 151 generates an encoded stream based on the SPS and PPS that have been set, and the encoded data supplied from the encoding unit 11 . Similar to the setting unit 12 , the setting unit 151 supplies the encoded stream to the transmission unit 13 .

(SPS的语法的例子)(SPS syntax example)

图21是图解说明由图20中图解所示的设定单元151设定的SPS的语法的例子的示图。FIG. 21 is a diagram illustrating an example of the syntax of the SPS set by the setting unit 151 illustrated in FIG. 20 .

如在图21中的第4行中图解所示,在SPS中包括不可参考信息 (disable_rps_prediction_flag)。另外,如在第5行和第6行中图解所示,当不可参考信息为不表示在GOP内的所有画面内 inter_ref_pic_set_prediction_flag为“0”的“0”时,在SPS中包括表示在 GOP内的所有画面内delta_idx_minus1是否相同的一致信息(unified_rps_prediction_control_present_flag)。As illustrated in the 4th row in FIG. 21 , unreferenceable information (disable_rps_prediction_flag) is included in the SPS. In addition, as illustrated in the 5th and 6th lines, when the unreferenceable information is "0" that does not indicate that inter_ref_pic_set_prediction_flag is "0" in all pictures within the GOP, the SPS includes the information that is within the GOP. Consistency information (unified_rps_prediction_control_present_flag) whether delta_idx_minus1 is the same in all pictures.

此外,如在第7行和第8行中图解所示,当一致信息为“1”,表示在 GOP内的所有画面内delta_idx_minus1相同时,在SPS中包括是为GOP 内的所有画面共有的delta_idx_minus1的unified_delta_idx_minus1。另外,如在第11行中图解所示,各个索引(i)的RPS被包含在SPS中。Also, as illustrated in the 7th and 8th lines, when the coincidence information is "1", indicating that delta_idx_minus1 is the same in all pictures within the GOP, the delta_idx_minus1 that is common to all pictures within the GOP is included in the SPS unified_delta_idx_minus1. In addition, as illustrated in line 11, the RPS of each index (i) is included in the SPS.

(RPS的语法的例子)(Syntax example of RPS)

图22是图解说明RPS的语法的例子的示图。FIG. 22 is a diagram illustrating an example of the syntax of the RPS.

图22中图解所示的第11行和后续各行的说明与在图1中图解所示的第5行和后续各行的说明相同。The description of the 11th and subsequent rows illustrated in FIG. 22 is the same as that of the fifth and subsequent rows illustrated in FIG. 1 .

如在图22中的第2行和第3行中图解所示,当disable_rps_ prediction_flag为“1”时,在RPS中,不包括inter_ref_pic_set_ prediction_flag,但是包括当inter_ref_pic_set_prediction_flag为“0”时包含的参考图像指定信息。As illustrated in lines 2 and 3 in FIG. 22 , when the disable_rps_prediction_flag is "1", in the RPS, the inter_ref_pic_set_prediction_flag is not included, but the reference picture designation included when the inter_ref_pic_set_prediction_flag is "0" is included information.

另一方面,如在第4行和第5行中图解所示,当disable_rps_ prediction_flag为“0”时,在RPS中,包含inter_ref_pic_set_ prediction_flag。另外,如在第6行-第8行中图解所示,当 inter_ref_pic_set_prediction_flag和unified_rps_prediction_ control_present_flag分别为“1”时,在RPS中,不包括delta_idx_minus1, delta_idx_minus1是unified_delta_idx_minus1。On the other hand, as illustrated in lines 4 and 5, when disable_rps_prediction_flag is "0", the RPS includes inter_ref_pic_set_prediction_flag. Also, as illustrated in lines 6 to 8, when inter_ref_pic_set_prediction_flag and unified_rps_prediction_control_present_flag are "1", respectively, in RPS, delta_idx_minus1 is not included, and delta_idx_minus1 is unified_delta_idx_minus1.

此外,如在第9行和第10行中图解所示,在inter_ref_pic_set_ prediction_flag为“1”,并且unified_rps_prediction_control_present_flag 为“0”的情况下,在RPS中包括delta_idx_minus1。Also, as illustrated in the 9th and 10th lines, in the case where inter_ref_pic_set_prediction_flag is "1" and unified_rps_prediction_control_present_flag is "0", delta_idx_minus1 is included in the RPS.

(本技术的优点的说明)(Explanation of the advantages of the present technology)

图23和24是图解说明由图20中图解所示的设定单元151设定的 RPS的信息量的示图,图25是图解说明常规RPS的信息量的示图。23 and 24 are diagrams illustrating the information amount of the RPS set by the setting unit 151 illustrated in FIG. 20, and FIG. 25 is a diagram illustrating the information amount of the conventional RPS.

在图23中图解所示的例子中,GOP内从开始起的第2画面和第8 画面中每个的参考图像指定信息都与按照编码顺序的相应前一个画面的参考图像指定信息相同。In the example illustrated in FIG. 23 , the reference picture designation information of each of the 2nd picture and the 8th picture from the beginning within the GOP is the same as the reference picture designation information of the corresponding previous picture in coding order.

这种情况下,如图23中图解所示,设定单元151设定“0”,作为 disable_rps_prediction_flag,并设定“1”,作为unified_rps_ prediction_control_present_flag。另外,设定单元151设定“0”,作为 unified_delta_idx_minus1。In this case, as illustrated in FIG. 23, the setting unit 151 sets "0" as disable_rps_prediction_flag, and sets "1" as unified_rps_prediction_control_present_flag. In addition, the setting unit 151 sets "0" as unified_delta_idx_minus1.

此外,例如,作为其索引为“0”的RPS,设定单元151设定作为 inter_ref_pic_set_prediction_flag的“0”,并设定GOP的第1画面的参考图像指定信息。另外,作为其索引为“1”的RPS,设定单元151设定作为 inter_ref_pic_set_prediction_flag的“1”。从而,GOP的第1画面的RPS 的索引被设定为“0”,第2画面和第8画面的RPS的索引被设定为“1”。Further, for example, as the RPS whose index is "0", the setting section 151 sets "0" as the inter_ref_pic_set_prediction_flag, and sets the reference picture specification information of the first picture of the GOP. In addition, as the RPS whose index is "1", the setting unit 151 sets "1" as inter_ref_pic_set_prediction_flag. Therefore, the index of the RPS of the first picture of the GOP is set to "0", and the indices of the RPS of the second picture and the eighth picture are set to "1".

如上,设定单元151把为GOP内的所有画面共有的 delta_idx_minus1设定为unified_delta_idx_minus1。因而,设定单元151 能够以GOP为单位,设定delta_idx_minus1。As above, the setting unit 151 sets delta_idx_minus1 common to all pictures within the GOP to unified_delta_idx_minus1. Therefore, the setting unit 151 can set delta_idx_minus1 in units of GOPs.

另外,在图24和25中图解所示的例子中,GOP内的所有画面的参考图像指定信息不与按照编码顺序的相应前一个画面的参考图像指定信息相同。In addition, in the examples illustrated in FIGS. 24 and 25 , the reference picture designation information of all pictures within the GOP is not the same as the reference picture designation information of the corresponding previous picture in encoding order.

这种情况下,如图24中图解所示,设定单元151设定“1”作为 disable_rps_prediction_flag,并且作为对应于GOP内的各个画面的RPS,设定该画面的参考图像指定信息。相反,在常规情况下,如图25中图解所示,作为对应于GOP内的各个画面的RPS,“0”被设定为 inter_ref_pic_set_prediction_flag,并设定该画面的参考图像指定信息。In this case, as illustrated in FIG. 24 , the setting unit 151 sets "1" as the disable_rps_prediction_flag, and as the RPS corresponding to each picture within the GOP, sets the reference picture designation information of the picture. In contrast, in the conventional case, as illustrated in FIG. 25 , as the RPS corresponding to each picture within the GOP, "0" is set as inter_ref_pic_set_prediction_flag, and the reference picture designation information of the picture is set.

如上,设定单元151把作为GOP内的所有画面共有的inter_ref_ pic_set_prediction_flag的“0”设定为disable_rps_prediction_flag。从而,在disable_rps_prediction_flag为“1”的情况下,与常规情况相比,RPS 的信息量可被减少与inter_ref_pic_set_prediction_flag对应的数量。As described above, the setting section 151 sets "0" which is inter_ref_pic_set_prediction_flag common to all pictures in the GOP to disable_rps_prediction_flag. Thus, in the case where the disable_rps_prediction_flag is "1", the information amount of the RPS can be reduced by the amount corresponding to the inter_ref_pic_set_prediction_flag compared to the normal case.

(编码设备的处理的说明)(Explanation of the processing of the encoding device)

除了RPS设定处理之外,由图20中图解所示的编码设备150进行的生成处理和图10中图解所示的生成处理相同,从而下面只说明RPS 设定处理。The generation processing by the encoding device 150 illustrated in FIG. 20 is the same as the generation processing illustrated in FIG. 10 except for the RPS setting processing, so that only the RPS setting processing will be described below.

图26是详细图解说明由编码设备150的设定单元151进行的RPS 设定处理的流程图。FIG. 26 is a flowchart illustrating the RPS setting process performed by the setting unit 151 of the encoding device 150 in detail.

在图26中图解所示的步骤S161中,设定单元151设定作为SPS的 disable_rps_prediction_flag。在步骤S162,设定单元151判定 disable_rps_prediction_flag是否为“1”。当在步骤S162,判定 disable_rps_prediction_flag不为“1”时,在步骤S163,设定单元151设定作为SPS的unified_rps_prediction_control_present_flag。In step S161 illustrated in FIG. 26 , the setting unit 151 sets disable_rps_prediction_flag as the SPS. In step S162, the setting unit 151 determines whether the disable_rps_prediction_flag is "1". When it is determined in step S162 that disable_rps_prediction_flag is not "1", in step S163, the setting unit 151 sets unified_rps_prediction_control_present_flag as the SPS.

在步骤S164,设定单元151判定unified_rps_prediction_control_ present_flag是否为“1”。当在步骤S164,判定unified_rps_ prediction_control_present_flag为“1”时,在步骤S165,设定单元151 设定作为SPS的unified_delta_idx_minus1,然后处理进入步骤S166。In step S164, the setting unit 151 determines whether or not unified_rps_prediction_control_present_flag is "1". When it is determined in step S164 that unified_rps_prediction_control_present_flag is "1", in step S165, the setting unit 151 sets unified_delta_idx_minus1 as the SPS, and the process proceeds to step S166.

当在步骤S162,判定disable_rps_prediction_flag为“1”时,或者当在步骤S164,判定unified_rps_prediction_control_present_flag为“0”时,处理进入步骤S166。When it is determined in step S162 that disable_rps_prediction_flag is "1", or when it is determined that unified_rps_prediction_control_present_flag is "0" in step S164, the process proceeds to step S166.

在步骤S166,设定单元151把RPS的索引i设定为“0”。在步骤S167,设定单元151判定disable_rps_prediction_flag是否为“1”。当在步骤S167,判定disable_rps_prediction_flag为“1”时,在步骤S168,设定单元151 把inter_ref_pic_set_prediction_flag设定为“0”,然后处理进入步骤S170。In step S166, the setting unit 151 sets the index i of the RPS to "0". In step S167, the setting unit 151 determines whether the disable_rps_prediction_flag is "1". When it is determined in step S167 that disable_rps_prediction_flag is "1", in step S168, the setting unit 151 sets the inter_ref_pic_set_prediction_flag to "0", and the process proceeds to step S170.

另一方面,当在步骤S167,判定disable_rps_prediction_flag不为“1”时,在步骤S169,设定单元151设定作为索引i的RPS的 inter_ref_pic_set_prediction_flag,处理进入步骤S170。On the other hand, when it is determined in step S167 that disable_rps_prediction_flag is not "1", in step S169, the setting unit 151 sets inter_ref_pic_set_prediction_flag of the RPS as index i, and the process proceeds to step S170.

在步骤S170,设定单元151判定inter_ref_pic_set_prediction_flag 是否为“1”。当在步骤S170,判定inter_ref_pic_set_prediction_flag为“1”时,在步骤S171,设定单元151判定 unified_rps_prediction_control_present_flag是否为“1”。In step S170, the setting unit 151 determines whether or not inter_ref_pic_set_prediction_flag is "1". When it is determined in step S170 that inter_ref_pic_set_prediction_flag is "1", in step S171, the setting unit 151 determines whether unified_rps_prediction_control_present_flag is "1".

当在步骤S171,判定unified_rps_prediction_control_present_flag 为“1”时,处理进入步骤S174。另一方面,当在步骤S171,判定 unified_rps_prediction_control_present_flag不为“1”时,在步骤S172,设定单元151设定delta_idx_minus1,作为索引i的RPS,然后处理进入步骤S174。When it is determined in step S171 that unified_rps_prediction_control_present_flag is "1", the process proceeds to step S174. On the other hand, when it is determined in step S171 that unified_rps_prediction_control_present_flag is not "1", in step S172, the setting unit 151 sets delta_idx_minus1 as the RPS of index i, and the process proceeds to step S174.

另外,当在步骤S170,判定inter_ref_pic_set_prediction_flag不为“1”时,在步骤S173,设定单元151设定参考图像指定信息,作为索引i的 RPS,然后处理进入步骤S174。In addition, when it is determined in step S170 that inter_ref_pic_set_prediction_flag is not "1", in step S173, the setting unit 151 sets the reference picture specifying information as the RPS of the index i, and the process proceeds to step S174.

在步骤S174,设定单元151把索引i加1。在步骤S175,设定单元 151判定索引i是否等于或大于包括在SPS中的RPS的数目 num_short_term_ref_pic_sets。In step S174, the setting unit 151 increments the index i by 1. In step S175, the setting unit 151 determines whether the index i is equal to or greater than the number num_short_term_ref_pic_sets of RPS included in the SPS.

当在步骤S175,判定索引i不等于或大于num_short_term_ref_pic_ sets时,处理返回步骤S167,重复步骤S167-S175的处理,直到索引i 等于或大于数目num_short_term_ref_pic_sets为止。When it is determined in step S175 that the index i is not equal to or greater than num_short_term_ref_pic_sets, the process returns to step S167, and the processes of steps S167-S175 are repeated until the index i is equal to or greater than the number num_short_term_ref_pic_sets.

另一方面,当在步骤S175,判定索引i为num_short_term_ref_pic_ sets时,RPS设定处理结束。On the other hand, when it is determined in step S175 that the index i is num_short_term_ref_pic_sets, the RPS setting process ends.

如上,由于编码设备150设定disable_rps_prediction_flag,当 disable_rps_prediction_flag为“1”时,与常规情况相比,与参考图像指定信息相关的RPS的信息量可被减少对应于inter_ref_pic_set_ prediction_flag的数量。另外,可以GOP为单位,设定inter_ref_pic_ set_prediction_flag。As above, since the encoding apparatus 150 sets disable_rps_prediction_flag, when disable_rps_prediction_flag is "1", the information amount of the RPS related to the reference picture designation information can be reduced by the amount corresponding to inter_ref_pic_set_prediction_flag compared to the normal case. In addition, inter_ref_pic_set_prediction_flag can be set in GOP units.

此外,由于编码设备150把为GOP内的所有画面共有的 delta_idx_minus1设定为unified_delta_idx_minus1,因此能够以GOP 为单位,设定delta_idx_minus1。Furthermore, since the encoding apparatus 150 sets delta_idx_minus1 common to all pictures within a GOP as unified_delta_idx_minus1, it is possible to set delta_idx_minus1 in units of GOPs.

(按照第二实施例的解码设备的结构例子)(Configuration example of decoding apparatus according to second embodiment)

图27是图解说明按照第二实施例的本技术适用于的,解码从图20 中图解所示的编码设备150传送的编码流的解码设备的结构例子的方框图。FIG. 27 is a block diagram illustrating a structural example of a decoding apparatus that decodes an encoded stream transmitted from the encoding apparatus 150 illustrated in FIG. 20 to which the present technology according to the second embodiment is applied.

这里,向图27中图解所示的与图15中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 27 that are the same as those illustrated in FIG. 15 , and repeated explanations thereof are omitted.

图27中图解所示的解码设备170的结构和图15中图解所示的解码设备110的结构的不同之处在于设置提取单元171,而不是提取单元112。解码设备170根据图21中图解所示的SPS,设定各个RPS的RPS信息。The structure of the decoding apparatus 170 illustrated in FIG. 27 differs from the structure of the decoding apparatus 110 illustrated in FIG. 15 in that the extraction unit 171 is provided instead of the extraction unit 112 . The decoding device 170 sets the RPS information of each RPS according to the SPS illustrated in FIG. 21 .

更具体地,类似于在图15中图解所示的提取单元112,解码设备170 的提取单元171从供给自接收单元111的编码流中,提取SPS、PPS、编码数据等。类似于提取单元112,提取单元171把编码数据提供给解码单元113。另外,根据在图21中图解所示的SPS,提取单元171获得各个 RPS的RPS信息,并把获得的RPS信息提供给解码单元113。此外,类似于提取单元112,必要时,提取单元171还把包含在SPS中的除RPS 外的信息,PPS等提供给解码单元113。More specifically, similar to the extraction unit 112 illustrated in FIG. 15 , the extraction unit 171 of the decoding device 170 extracts SPS, PPS, encoded data, and the like from the encoded stream supplied from the reception unit 111 . Similar to the extraction unit 112 , the extraction unit 171 supplies the encoded data to the decoding unit 113 . In addition, according to the SPS illustrated in Fig. 21 , the extraction unit 171 obtains the RPS information of each RPS, and supplies the obtained RPS information to the decoding unit 113. Further, similarly to the extraction unit 112, the extraction unit 171 also supplies the information other than the RPS, PPS, etc. contained in the SPS to the decoding unit 113 as necessary.

(解码设备的处理的说明)(Explanation of the processing of the decoding device)

除了RPS设定处理之外,图27中图解所示的解码设备170进行的接收处理和图17中图解所示的接收处理相同,从而,下面只说明RPS 设定处理。The reception processing performed by the decoding apparatus 170 illustrated in FIG. 27 is the same as the reception processing illustrated in FIG. 17 except for the RPS setting processing, so that only the RPS setting processing will be described below.

图28是详细图解说明由图27中图解所示的解码设备170进行的RPS 设定处理的流程图。FIG. 28 is a flowchart illustrating in detail the RPS setting process performed by the decoding apparatus 170 illustrated in FIG. 27 .

在图28中图解所示的步骤S191,提取单元171获得包含在SPS(图 21)中的num_short_term_ref_pic_sets。在步骤S192,提取单元171获得包含在SPS中的disable_rps_prediction_flag。在步骤S193,提取单元 171判定获得的disable_rps_prediction_flag是否为“1”。In step S191 illustrated in Fig. 28, the extraction unit 171 obtains num_short_term_ref_pic_sets contained in the SPS (Fig. 21). In step S192, the extraction unit 171 obtains the disable_rps_prediction_flag included in the SPS. In step S193, the extraction unit 171 determines whether the obtained disable_rps_prediction_flag is "1".

当在步骤S193中,判定disable_rps_prediction_flag不为“1”时,在步骤S194,提取单元171获得包含在SPS中的 unified_rps_prediction_control_present_flag。在步骤S195,提取单元171 判定获得的unified_rps_prediction_control_present_flag是否为“1”。When, in step S193, it is determined that the disable_rps_prediction_flag is not "1", in step S194, the extraction unit 171 obtains the unified_rps_prediction_control_present_flag included in the SPS. In step S195, the extraction unit 171 determines whether or not the obtained unified_rps_prediction_control_present_flag is "1".

当在步骤S195,判定unified_rps_prediction_control_present_flag 为“1”时,提取单元171获得包含在SPS中的unified_delta_idx_minus1,然后处理进入步骤S197。When it is determined in step S195 that unified_rps_prediction_control_present_flag is "1", the extraction unit 171 obtains unified_delta_idx_minus1 included in the SPS, and then the process proceeds to step S197.

另一方面,当在步骤S195,判定unified_delta_idx_minus1不为“1”时,处理进入步骤S197。另外,当在步骤S193,判定 disable_rps_prediction_flag为1时,处理进入步骤S197。On the other hand, when it is determined in step S195 that unified_delta_idx_minus1 is not "1", the process proceeds to step S197. In addition, when it is determined in step S193 that disable_rps_prediction_flag is 1, the process proceeds to step S197.

在步骤S197,提取单元171把与生成的RPS信息对应的RPS的索引i设定为“0”。在步骤S198,提取单元171判定在步骤S192获得的 disable_rps_prediction_flag是否为“1”。In step S197, the extraction unit 171 sets the index i of the RPS corresponding to the generated RPS information to "0". In step S198, the extraction unit 171 determines whether the disable_rps_prediction_flag obtained in step S192 is "1".

当在步骤S198,判定disable_rps_prediction_flag为“1”时,在步骤 S199,提取单元171把包含在索引i的RPS的RPS信息中的 inter_ref_pic_set_prediction_flag设定为“0”,然后处理进入步骤S201。When it is determined in step S198 that disable_rps_prediction_flag is "1", in step S199, the extraction unit 171 sets the inter_ref_pic_set_prediction_flag contained in the RPS information of the RPS of index i to "0", and the process proceeds to step S201.

另一方面,当在步骤S198中,判定disable_rps_prediction_flag不为“1”时,在步骤S200,提取单元171获得包括在包含于SPS中的索引 i的RPS中的inter_ref_pic_set_prediction_flag。随后,提取单元171把获得的inter_ref_pic_set_prediction_flag设定为包含在索引i的RPS的 RPS信息中的inter_ref_pic_set_prediction_flag,然后处理进入步骤S201。On the other hand, when it is determined in step S198 that disable_rps_prediction_flag is not "1", in step S200, the extraction unit 171 obtains the inter_ref_pic_set_prediction_flag included in the RPS of the index i included in the SPS. Subsequently, the extraction unit 171 sets the obtained inter_ref_pic_set_prediction_flag as the inter_ref_pic_set_prediction_flag included in the RPS information of the RPS of index i, and the process proceeds to step S201.

在步骤S201,提取单元171判定inter_ref_pic_set_prediction_flag 是否为“1”。当在步骤S201,判定inter_ref_pic_set_prediction_flag为“1”时,在步骤S202,提取单元171判定在步骤S194获得的 unified_rps_prediction_control_present_flag是否为“1”。In step S201, the extraction unit 171 determines whether or not inter_ref_pic_set_prediction_flag is "1". When it is determined in step S201 that inter_ref_pic_set_prediction_flag is "1", in step S202, the extraction unit 171 determines whether the unified_rps_prediction_control_present_flag obtained in step S194 is "1".

当在步骤S202,判定unified_rps_prediction_control_present_flag 为“1”时,处理进入步骤S203。在步骤S203,提取单元171把在步骤S196 获得的unified_delta_idx_minus1,设定为包含在索引i的RPS的RPS 信息中的unified_delta_idx_minus1,然后处理进入步骤S206。When it is determined in step S202 that unified_rps_prediction_control_present_flag is "1", the process proceeds to step S203. In step S203, the extraction unit 171 sets unified_delta_idx_minus1 obtained in step S196 as unified_delta_idx_minus1 included in the RPS information of the RPS of index i, and the process proceeds to step S206.

另一方面,当在步骤S202,判定unified_rps_prediction_control_ present_flag不为“1”时,在步骤S204,提取单元171获得包括在包含于 SPS中的索引i的RPS中的delta_idx_minus1。随后,提取单元171把获得的delta_idx_minus1设定为包含在索引i的RPS的RPS信息中的 delta_idx_minus1,然后处理进入步骤S206。On the other hand, when it is determined in step S202 that unified_rps_prediction_control_present_flag is not "1", in step S204, the extraction unit 171 obtains delta_idx_minus1 included in the RPS of index i included in the SPS. Subsequently, the extraction unit 171 sets the obtained delta_idx_minus1 as delta_idx_minus1 included in the RPS information of the RPS of index i, and the process proceeds to step S206.

另一方面,当在步骤S201,判定inter_ref_pic_set_prediction_flag 不为“1”时,在步骤S205,提取单元171获得包括在包含于SPS中的索引i的RPS中的参考图像指定信息。随后,提取单元171把获得的参考图像指定信息设定成包含在索引i的RPS的RPS信息中的参考图像指定信息,然后处理进入步骤S206。On the other hand, when it is determined in step S201 that inter_ref_pic_set_prediction_flag is not "1", in step S205, the extraction unit 171 obtains the reference picture designation information included in the RPS of the index i included in the SPS. Subsequently, the extraction unit 171 sets the obtained reference image designation information to the reference image designation information contained in the RPS information of the RPS of index i, and the process proceeds to step S206.

步骤S206-S208的处理和图18中图解所示的步骤S128-S130的处理相似,从而省略其说明。The processing of steps S206 to S208 is similar to the processing of steps S128 to S130 illustrated in FIG. 18 , so that the description thereof is omitted.

如上,解码设备170接收disable_rps_prediction_flag,并根据 disable_rps_prediction_flag,生成当前解码图像的参考图像指定信息。结果,在disable_rps_prediction_flag为“1”的情况下,解码设备170能够解码其中RPS的信息量被减少与inter_ref_pic_set_prediction_flag对应的数量的编码流。As above, the decoding apparatus 170 receives the disable_rps_prediction_flag, and generates the reference picture specifying information of the current decoded picture according to the disable_rps_prediction_flag. As a result, in the case where the disable_rps_prediction_flag is "1", the decoding apparatus 170 can decode the encoded stream in which the information amount of the RPS is reduced by the amount corresponding to inter_ref_pic_set_prediction_flag.

另外,解码设备170接收为GOP内的所有画面共有的 delta_idx_minus1,作为unified_delta_idx_minus1,并根据 unified_delta_idx_minus1,生成当前解码图像的参考图像指定信息。结果,解码设备170能够解码其中以GOP为单位来设定delta_idx_minus1的编码流。In addition, the decoding apparatus 170 receives delta_idx_minus1 common to all pictures within the GOP as unified_delta_idx_minus1, and generates reference picture specifying information of the current decoded picture according to unified_delta_idx_minus1. As a result, the decoding apparatus 170 can decode the encoded stream in which delta_idx_minus1 is set in units of GOPs.

<第三实施例><Third Embodiment>

(按照第三实施例的编码设备的结构例子)(Example of the structure of the encoding apparatus according to the third embodiment)

图29是图解说明按照第三实施例的本技术适用于的编码设备的结构例子的方框图。FIG. 29 is a block diagram illustrating a structural example of an encoding apparatus to which the present technology according to the third embodiment is applied.

这里,向图29中图解所示的与图3中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 29 that are the same as those illustrated in FIG. 3 , and repeated explanations thereof are omitted.

图29中图解所示的编码设备190的结构和图3中图解所示的编码设备10的结构的不同之处在于设置设定单元191,而不是设定单元12。编码设备190是通过结合图3中图解所示的编码设备10和图20中图解所示的编码设备150获得的。The structure of the encoding device 190 illustrated in FIG. 29 differs from the structure of the encoding device 10 illustrated in FIG. 3 in that the setting unit 191 is set instead of the setting unit 12 . The encoding device 190 is obtained by combining the encoding device 10 illustrated in FIG. 3 and the encoding device 150 illustrated in FIG. 20 .

更具体地,编码设备190的设定单元191设定包括不包含 inter_ref_pic_set_prediction_flag,但是包含参考图像指定信息的PRS,和必要时,包括inter_ref_pic_set_prediction_flag、delta_idx_minus1、参考图像指定信息等的RPS的RPS。另外,设定单元191向各个RPS 赋予索引。这里,作为不包括inter_ref_pic_set_prediction_flag,但是包括参考图像指定信息的RPS的索引,赋予“0”。More specifically, the setting unit 191 of the encoding device 190 sets an RPS including a PRS that does not include inter_ref_pic_set_prediction_flag, but includes reference picture designation information, and, if necessary, an RPS that includes inter_ref_pic_set_prediction_flag, delta_idx_minus1, reference picture designation information, and the like. In addition, the setting unit 191 assigns an index to each RPS. Here, "0" is assigned as an index of an RPS that does not include inter_ref_pic_set_prediction_flag but includes reference picture designation information.

设定单元191把被赋予索引的RPS提供给编码单元11。另外,设定单元191设定包括RPS和disable_rps_prediction_flag,必要时,包括 unified_rps_prediction_control_present_flag和unified_delta_ idx_minus1的SPS。设定单元191设定PPS等。The setting unit 191 supplies the indexed RPS to the encoding unit 11 . In addition, the setting unit 191 sets the SPS including the RPS and disable_rps_prediction_flag and, if necessary, unified_rps_prediction_control_present_flag and unified_delta_idx_minus1. The setting unit 191 sets PPS and the like.

另外,类似于图3中图解所示的设定单元12,设定单元191根据设定的SPS和PPS,以及从编码单元11供给的编码数据,生成编码流。类似于设定单元12,设定单元191把编码流提供给传输单元13。In addition, similarly to the setting unit 12 illustrated in FIG. 3 , the setting unit 191 generates an encoded stream based on the set SPS and PPS, and the encoded data supplied from the encoding unit 11 . Similar to the setting unit 12 , the setting unit 191 supplies the encoded stream to the transmission unit 13 .

(SPS的语法的例子)(SPS syntax example)

图30是图解说明由图29中图解所示的设定单元191设定的SPS的语法的例子的示图。FIG. 30 is a diagram illustrating an example of the syntax of the SPS set by the setting unit 191 illustrated in FIG. 29 .

图30中图解所示的结构和图21中图解所示的结构相同,从而省略其说明。The structure illustrated in FIG. 30 is the same as the structure illustrated in FIG. 21 , so that the description thereof is omitted.

(RPS的语法的例子)(Syntax example of RPS)

图31是图解说明RPS的语法的例子的示图。FIG. 31 is a diagram illustrating an example of the syntax of the RPS.

尽管未在图中图示,不过,图31中图解所示的第11行和后续各行的说明与在图1中图解所示的第5行和后续各行的说明相同。Although not illustrated in the drawing, the description of the 11th and subsequent rows illustrated in FIG. 31 is the same as that of the fifth and subsequent rows illustrated in FIG. 1 .

如在图31中图解所示的第2行和第3行中图解所示,当索引(idx) 为“0”时,或者当disable_rps_prediction_flag为“1”时,在RPS中,不包含inter_ref_pic_set_prediction_flag,但是包含当 inter_ref_pic_set_prediction_flag为“0”时包含的参考图像指定信息。As illustrated in the 2nd and 3rd rows illustrated in FIG. 31, when the index (idx) is "0", or when the disable_rps_prediction_flag is "1", in the RPS, the inter_ref_pic_set_prediction_flag is not included, but Contains reference picture specification information included when inter_ref_pic_set_prediction_flag is "0".

第4行-第10行的说明与图22中图解所示的第4行-第10行的说明相同,从而省略其说明。The description of the 4th row to the 10th row is the same as that of the 4th row to the 10th row illustrated in FIG. 22 , so that the description thereof is omitted.

(本技术的优点的说明)(Explanation of the advantages of the present technology)

图32是图解说明由图29中图解所示的设定单元191设定的RPS的信息量的示图。FIG. 32 is a diagram illustrating the information amount of the RPS set by the setting unit 191 illustrated in FIG. 29 .

在图32中图解所示的例子中,GOP内从开始起的第2画面和第8 画面的参考图像指定信息与按照编码顺序的前一个画面的参考图像指定信息相同。In the example illustrated in FIG. 32 , the reference picture designation information of the 2nd picture and the 8th picture from the beginning within the GOP is the same as the reference picture designation information of the previous picture in coding order.

这种情况下,如图32中图解所示,设定单元191设定“0”,作为 disable_rps_prediction_flag,并设定“1”,作为unified_rps_ prediction_control_present_flag。另外,设定单元191设定“0”,作为 unified_delta_idx_minus1。In this case, as illustrated in FIG. 32, the setting unit 191 sets "0" as disable_rps_prediction_flag, and sets "1" as unified_rps_prediction_control_present_flag. In addition, the setting unit 191 sets "0" as unified_delta_idx_minus1.

此外,例如,设定单元191把GOP的第1画面的参考图像指定信息设定为其索引为“0”的RPS。另外,设定单元191把作为 inter_ref_pic_set_prediction_flag的“1”设定为其索引为“1”的RPS。从而, GOP的第1画面的RPS的索引被设定为“0”,第2画面和第8画面的RPS 的索引被设定为“1”。Further, for example, the setting unit 191 sets the reference image designation information of the first picture of the GOP to the RPS whose index is "0". In addition, the setting unit 191 sets "1" as inter_ref_pic_set_prediction_flag to the RPS whose index is "1". Therefore, the index of the RPS of the first picture of the GOP is set to "0", and the index of the RPS of the second picture and the eighth picture is set to "1".

如上,设定单元191不把inter_ref_pic_set_prediction_flag设定为用作第1画面的RPS的其索引为“0”的RPS。因而,与图8中图解所示的常规情况相比,RPS的信息量可被减少与第1画面的 inter_ref_pic_set_prediction_flag对应的数量。As above, the setting unit 191 does not set the inter_ref_pic_set_prediction_flag to the RPS whose index is "0" serving as the RPS of the first picture. Thus, compared to the conventional case illustrated in FIG. 8 , the information amount of the RPS can be reduced by the amount corresponding to the inter_ref_pic_set_prediction_flag of the 1st picture.

另外,设定单元191把为GOP内的所有画面共有的 delta_idx_minus1设定为unified_delta_idx_minus1。从而,能够以GOP 为单位,设定delta_idx_minus1。In addition, the setting unit 191 sets delta_idx_minus1 common to all pictures in the GOP to unified_delta_idx_minus1. Therefore, delta_idx_minus1 can be set in units of GOPs.

尽管未在图中图示,不过,设定单元191把作为GOP内的所有画面共有的inter_ref_pic_set_prediction_flag的“0”设定为 disable_rps_prediction_flag。因而,当disable_rps_prediction_flag为“1”时,与常规情况相比,RPS的信息量也可被减少与除第1画面外的画面的inter_ref_pic_set_prediction_flag对应的数量。Although not shown in the figure, the setting unit 191 sets "0", which is inter_ref_pic_set_prediction_flag common to all pictures in the GOP, to disable_rps_prediction_flag. Therefore, when the disable_rps_prediction_flag is "1", the information amount of the RPS can also be reduced by the amount corresponding to the inter_ref_pic_set_prediction_flag of pictures other than the 1st picture, compared to the normal case.

(编码设备的处理的说明)(Explanation of the processing of the encoding device)

除了RPS设定处理之外,由图29中图解所示的编码设备190进行的生成处理和图10中图解所示的生成处理相同,从而下面只说明RPS 设定处理。The generation processing performed by the encoding device 190 illustrated in FIG. 29 is the same as the generation processing illustrated in FIG. 10 except for the RPS setting processing, so that only the RPS setting processing will be described below.

图33是图解说明由编码设备190的设定单元191进行的RPS设定处理的流程图。33 is a flowchart illustrating the RPS setting process performed by the setting unit 191 of the encoding device 190.

图33中图解所示的步骤S221-S226的处理和图26中图解所示的步骤S161-S166的处理相似,从而省略其说明。The processing of steps S221 to S226 illustrated in FIG. 33 is similar to the processing of steps S161 to S166 illustrated in FIG. 26 , so that the description thereof is omitted.

在步骤S227,设定单元191判定disable_rps_prediction_flag是否为“1”,或者索引i是否为“0”。当在步骤S227,判定disable_rps_prediction_flag为“1”或索引i为“0”时,处理进入步骤S228。另一方面,当在步骤S227,判定disable_rps_prediction_flag不为“1”,并且索引i不为“0”时,处理进入步骤S229。In step S227, the setting unit 191 determines whether the disable_rps_prediction_flag is "1", or whether the index i is "0". When it is determined in step S227 that the disable_rps_prediction_flag is "1" or the index i is "0", the process proceeds to step S228. On the other hand, when it is determined in step S227 that the disable_rps_prediction_flag is not "1" and the index i is not "0", the process proceeds to step S229.

步骤S228-S235的处理和图26中图解所示的步骤S168-S175的处理相似,从而省略其说明。The processing of steps S228-S235 is similar to the processing of steps S168-S175 illustrated in FIG. 26, so that the description thereof is omitted.

(按照第三实施例的解码设备的结构例子)(Configuration example of decoding apparatus according to third embodiment)

图34是图解说明按照第三实施例的本技术适用于的,解码从图29 中图解所示的编码设备190传送的编码流的解码设备的结构例子的方框图。FIG. 34 is a block diagram illustrating a structural example of a decoding apparatus that decodes an encoded stream transmitted from the encoding apparatus 190 illustrated in FIG. 29 to which the present technology according to the third embodiment is applied.

这里,向图34中图解所示的与图15中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 34 that are the same as those illustrated in FIG. 15 , and repeated explanations thereof are omitted.

图34中图解所示的解码设备210的结构和图15中图解所示的解码设备110的结构的不同之处在于设置提取单元211,而不是提取单元112。解码设备210根据图30中图解所示的包括图31中图示的RPS的SPS,设定各个RPS的RPS信息。The structure of the decoding apparatus 210 illustrated in FIG. 34 differs from the structure of the decoding apparatus 110 illustrated in FIG. 15 in that the extraction unit 211 is provided instead of the extraction unit 112 . The decoding device 210 sets the RPS information of each RPS according to the SPS illustrated in FIG. 30 including the RPS illustrated in FIG. 31 .

更具体地,类似于图15中图解所示的提取单元112,解码设备210 的提取单元211从供给自接收单元111的编码流中,提取SPS、PPS、编码数据等。类似于提取单元112,提取单元211把编码数据提供给解码单元113。另外,提取单元211根据图30中图解所示的包括图31中图示的 RPS的SPS,获得各个RPS的RPS信息,并把获得的RPS信息提供给解码单元113。此外,类似于提取单元112,必要时,提取单元211还把包含在SPS中的除RPS外的信息、PPS等提供给解码单元113。More specifically, similar to the extraction unit 112 illustrated in FIG. 15 , the extraction unit 211 of the decoding device 210 extracts SPS, PPS, encoded data, and the like from the encoded stream supplied from the reception unit 111 . Similar to the extraction unit 112 , the extraction unit 211 supplies the encoded data to the decoding unit 113 . In addition, the extraction unit 211 obtains the RPS information of each RPS from the SPS illustrated in FIG. 30 including the RPS illustrated in FIG. 31 , and supplies the obtained RPS information to the decoding unit 113. Further, similarly to the extraction unit 112, the extraction unit 211 also supplies the information other than the RPS, the PPS, etc. contained in the SPS to the decoding unit 113 as necessary.

(解码设备的处理的说明)(Explanation of the processing of the decoding device)

除了RPS设定处理之外,由图34中图解所示的解码设备210进行的接收处理和图17中图解所示的接收处理相同,从而,下面只说明RPS 设定处理。The reception processing by the decoding device 210 illustrated in FIG. 34 is the same as the reception processing illustrated in FIG. 17 except for the RPS setting processing, so that only the RPS setting processing will be described below.

图35是详细图解说明由图34中图解所示的解码设备210进行的RPS 设定处理的流程图。FIG. 35 is a flowchart illustrating in detail the RPS setting process performed by the decoding apparatus 210 illustrated in FIG. 34 .

图35中图解所示的步骤S251-S257的处理和图28中图解所示的步骤S191-S197的处理相似,从而省略其说明。The processing of steps S251 to S257 illustrated in FIG. 35 is similar to the processing of steps S191 to S197 illustrated in FIG. 28 , so that the description thereof is omitted.

在步骤S258,提取单元211判定在步骤S252中获得的 disable_rps_prediction_flag是否为“1”,或者索引i是否为“0”。In step S258, the extraction unit 211 determines whether the disable_rps_prediction_flag obtained in step S252 is "1", or whether the index i is "0".

当在步骤S258,判定disable_rps_prediction_flag为“1”,或者索引 i为“0”时,处理进入步骤S259。另一方面,当在步骤S258中,判定 disable_rps_prediction_flag不为“1”,并且索引i不为“0”时,处理进入步骤S260。When it is determined in step S258 that the disable_rps_prediction_flag is "1", or the index i is "0", the process proceeds to step S259. On the other hand, when it is determined in step S258 that disable_rps_prediction_flag is not "1" and the index i is not "0", the process proceeds to step S260.

步骤S259-S268的处理和图28中图解所示的步骤S199-S208的处理相似,从而省略其说明。The processing of steps S259-S268 is similar to the processing of steps S199-S208 illustrated in FIG. 28, and thus the description thereof is omitted.

<第四实施例><Fourth Embodiment>

(按照第四实施例的编码设备的结构例子)(Configuration example of encoding apparatus according to fourth embodiment)

图36是图解说明按照第四实施例的本技术适用于的编码设备的结构例子的方框图。FIG. 36 is a block diagram illustrating a structural example of an encoding apparatus to which the present technology according to the fourth embodiment is applied.

这里,向图36中图解所示的与图3中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 36 that are the same as those illustrated in FIG. 3 , and repeated explanations thereof are omitted.

图36中图解所示的编码设备230的结构和图3中图解所示的编码设备10的结构的不同之处在于设置编码单元231,而不是编码单元11,设置设定单元232,而不是设定单元12。按照画面内的切片的种类,编码设备230不设定对切片的种类来说不必要的与参考图像相关的信息。The structure of the encoding device 230 illustrated in FIG. 36 differs from the structure of the encoding device 10 illustrated in FIG. 3 in that the encoding unit 231 is set instead of the encoding unit 11, and the setting unit 232 is set instead of the set Fixed unit 12. Depending on the type of slice within the screen, the encoding device 230 does not set information related to the reference image that is unnecessary for the type of slice.

更具体地,以帧为单位构成的图像作为输入信号,被输入编码设备 230的编码单元231。编码单元231通过参考从设定单元232供给的RPS、 PPS等,按照HEVC方式,对输入信号编码。此时,在必要时,编码单元231对帧间预测中的参考图像进行加权预测(加权预测)。More specifically, an image constituted in units of frames is input to the encoding unit 231 of the encoding device 230 as an input signal. The encoding section 231 encodes the input signal according to the HEVC method by referring to the RPS, PPS, etc. supplied from the setting section 232 . At this time, when necessary, the encoding unit 231 performs weighted prediction (weighted prediction) on the reference image in the inter prediction.

这里,加权预测是通过对参考图像加权,生成预测图像的处理。更具体地,例如,在按照编码顺序在当前编码帧X之前的两帧Y1和Y0的解码图像被用作参考图像的情况下,在加权预测中,利用下式(3),获得帧X的预测图像X'。Here, the weighted prediction is a process of generating a predicted image by weighting a reference image. More specifically, for example, in the case where the decoded images of the two frames Y 1 and Y 0 preceding the current coded frame X in the coding order are used as reference images, in the weighted prediction, using the following formula (3), the frame is obtained: Predicted image X' of X.

X'=w0×Y0+w0×Y1+d...(3)X'=w 0 ×Y 0 +w 0 ×Y 1 +d...(3)

这里,在式(3)中,w0和w1是加权系数,d是偏移值。这些加权系数和偏移值是包含在编码流中地传送的。Here, in Equation (3), w 0 and w 1 are weighting coefficients, and d is an offset value. These weighting coefficients and offset values are transmitted as contained in the encoded stream.

通过进行加权预测,即使归因于淡入、淡出、交叉衰落等,在参考图像和当前编码图像之间,出现亮度的变化的情况下,也能够减小预测图像和当前编码图像之间的差分。结果,能够改善编码效率。By performing the weighted prediction, even if a change in luminance occurs between the reference image and the currently encoded image due to fade-in, fade-out, cross-fading, etc., the difference between the predicted image and the currently encoded image can be reduced. As a result, encoding efficiency can be improved.

相反,在不进行加权预测的情况下,归因于淡入、淡出、交叉衰落等,在参考图像和当前编码图像之间出现的亮度的变化直接变成预测图像和当前编码图像之间的差分,从而降低编码效率。Conversely, without weighted prediction, the change in luminance that occurs between the reference image and the currently encoded image directly becomes the difference between the predicted image and the currently encoded image due to fade-in, fade-out, cross-fading, etc., Thereby reducing the coding efficiency.

编码单元231把通过编码处理获得的编码数据提供给设定单元232。The encoding unit 231 supplies the encoded data obtained by the encoding process to the setting unit 232 .

类似于图3中图解所示的设定单元12,设定单元232设定不包括 inter_ref_pic_set_prediction_flag,但是包括参考图像指定信息的RPS,和包括inter_ref_pic_set_prediction_flag及参考图像指定信息或者 delta_idx_minus1的RPS。类似于设定单元12,设定单元232向各个RPS 赋予索引。Similar to the setting unit 12 illustrated in FIG. 3 , the setting unit 232 sets an RPS that does not include inter_ref_pic_set_prediction_flag, but includes reference picture specification information, and an RPS that includes inter_ref_pic_set_prediction_flag and reference picture specification information or delta_idx_minus1. Similar to the setting unit 12, the setting unit 232 assigns an index to each RPS.

设定单元232设定包括RPS的SPS、PPS等。设定单元232把被赋予索引的RPS,以及PPS提供给编码单元231。设定单元232根据设定的SPS和PPS,以及从编码单元231供给的编码数据,生成编码流。设定单元232把编码流提供给传输单元13。The setting unit 232 sets SPS, PPS, and the like including RPS. The setting unit 232 supplies the indexed RPS and the PPS to the encoding unit 231 . The setting unit 232 generates an encoded stream based on the set SPS and PPS and the encoded data supplied from the encoding unit 231 . The setting unit 232 supplies the encoded stream to the transmission unit 13 .

(编码设备的结构例子)(Configuration example of encoding device)

图37是图解所示在图36中图解所示的编码单元231的结构例子的方框图。FIG. 37 is a block diagram illustrating a structural example of the encoding unit 231 illustrated in FIG. 36 .

这里,向图37中图解所示的与图4中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 37 that are the same as those illustrated in FIG. 4 , and repeated explanations thereof are omitted.

图37中图解所示的编码单元231的结构和图4中图解所示的编码单元11的结构的不同之处在于设置运动预测/补偿单元251,而不是运动预测/补偿单元47,设置无损编码单元252,而不是无损编码单元36。The structure of the encoding unit 231 illustrated in FIG. 37 differs from the structure of the encoding unit 11 illustrated in FIG. 4 in that the motion prediction/compensation unit 251 is provided instead of the motion prediction/compensation unit 47, lossless encoding is provided unit 252 instead of lossless encoding unit 36.

根据从图36中图解所示的设定单元232供给的PPS,运动预测/补偿单元251利用作为候选者的所有帧间预测模式的加权预测,进行运动预测/补偿处理。更具体地,运动预测/补偿单元251根据从屏幕重排缓冲器32供给的图像,和通过开关45从帧存储器44读取的参考图像,检测作为候选者的所有帧间预测模式的运动向量。随后,运动预测/补偿单元 251根据检测的运动向量,对参考图像进行补偿处理。According to the PPS supplied from the setting unit 232 illustrated in FIG. 36 , the motion prediction/compensation unit 251 performs motion prediction/compensation processing using weighted prediction of all inter prediction modes as candidates. More specifically, the motion prediction/compensation unit 251 detects motion vectors of all inter prediction modes as candidates from the image supplied from the screen rearrangement buffer 32 and the reference image read from the frame memory 44 through the switch 45 . Subsequently, the motion prediction/compensation unit 251 performs compensation processing on the reference image based on the detected motion vector.

随后,运动预测/补偿单元251计算由加权预测中的加权系数和偏移值构成的加权信息。运动预测/补偿单元251起生成单元的作用,并根据计算的加权信息,对补偿处理之后的参考图像进行加权预测,从而生成预测图像。Subsequently, the motion prediction/compensation unit 251 calculates weighting information composed of the weighting coefficient and the offset value in the weighted prediction. The motion prediction/compensation unit 251 functions as a generation unit, and performs weighted prediction on the reference image after compensation processing based on the calculated weighting information, thereby generating a predicted image.

此时,类似于图4中图解所示的运动预测/补偿单元47,运动预测/ 补偿单元251根据从屏幕重排缓冲器32供给的图像,和预测图像,计算作为候选者的所有帧间预测模式的成本函数值。随后,类似于运动预测/ 补偿单元47,运动预测/补偿单元251把其成本函数值最小的帧间预测模式,确定为最佳帧间预测模式。At this time, similarly to the motion prediction/compensation unit 47 illustrated in FIG. 4 , the motion prediction/compensation unit 251 calculates all inter predictions as candidates from the images supplied from the screen rearrangement buffer 32 , and the predicted images The cost function value of the mode. Then, similarly to the motion prediction/compensation unit 47, the motion prediction/compensation unit 251 determines the inter prediction mode whose cost function value is the smallest as the optimum inter prediction mode.

随后,类似于运动预测/补偿单元47,运动预测/补偿单元251把最佳帧间预测的成本函数值和对应的预测图像提供给预测图像选择单元48。另外,在从预测图像选择单元48向运动预测/补偿单元251告知按照最佳帧间预测模式生成的预测图像的选择的情况下,运动预测/补偿单元 251把帧间预测模式信息,对应的运动向量,加权信息等,输出给无损编码单元252。另外,运动预测/补偿单元251把参考图像指定信息输出给参考图像设定单元49。Then, similarly to the motion prediction/compensation unit 47 , the motion prediction/compensation unit 251 supplies the cost function value of the optimum inter prediction and the corresponding predicted image to the predicted image selection unit 48 . In addition, when the motion prediction/compensation unit 251 is notified from the predicted image selection unit 48 of the selection of the predicted image generated in accordance with the optimal inter prediction mode, the motion prediction/compensation unit 251 converts the inter prediction mode information to the corresponding motion The vector, weighting information, etc., are output to the lossless encoding unit 252 . In addition, the motion prediction/compensation unit 251 outputs the reference image designation information to the reference image setting unit 49 .

无损编码单元252根据从图36中图解所示的设定单元232供给的 PPS,生成表示当前编码图像的切片的种类的切片种类。另外,类似于图4中图解所示的无损编码单元36,无损编码单元252从帧内预测单元 46,获得帧内预测模式信息。此外,无损编码单元252从运动预测/补偿单元251,获得帧间预测模式信息、运动向量、加权信息等。另外,类似于无损编码单元36,无损编码单元252从参考图像设定单元49,获得 RPS的索引或者RPS等,并从速率控制单元50获得量化参数。The lossless encoding unit 252 generates a slice type indicating the type of the slice of the currently encoded image based on the PPS supplied from the setting unit 232 illustrated in Fig. 36 . In addition, similar to the lossless encoding unit 36 illustrated in FIG. 4 , the lossless encoding unit 252 obtains intra prediction mode information from the intra prediction unit 46. Further, the lossless encoding unit 252 obtains inter prediction mode information, motion vector, weighting information, and the like from the motion prediction/compensation unit 251 . In addition, similarly to the lossless encoding unit 36, the lossless encoding unit 252 obtains the index of the RPS or the RPS or the like from the reference image setting unit 49, and obtains the quantization parameter from the rate control unit 50.

另外,类似于无损编码单元36,无损编码单元252从自适应偏移滤波器42,获得存储标记、索引或偏移量和种类信息,作为偏移滤波信息,并从自适应环路滤波器43获得滤波系数。In addition, similarly to the lossless encoding unit 36, the lossless encoding unit 252 obtains the storage flag, index or offset amount and kind information from the adaptive offset filter 42 as offset filter information, and obtains from the adaptive loop filter 43 Get filter coefficients.

类似于无损编码单元36,无损编码单元252进行从量化单元35供给的量化系数的无损编码。另外,无损编码单元252进行量化参数、偏移滤波信息和滤波系数,比如切片种类、帧内预测模式信息或帧间预测模式信息、运动向量、加权信息、和RPS的索引或RPS的无损编码,作为编码信息。Similar to the lossless encoding unit 36 , the lossless encoding unit 252 performs lossless encoding of the quantized coefficients supplied from the quantization unit 35 . In addition, the lossless encoding unit 252 performs lossless encoding of quantization parameters, offset filter information and filter coefficients such as slice type, intra prediction mode information or inter prediction mode information, motion vector, weight information, and RPS index or RPS, as coded information.

无损编码单元252把按照无损方式编码的编码信息,作为切片头部加入按照无损方式编码的系数中,从而生成编码数据。无损编码单元252 把编码数据提供给累积缓冲器37,以便保存在其中。The lossless encoding unit 252 adds the encoding information encoded in the lossless manner as a slice header to the coefficients encoded in the lossless manner, thereby generating encoded data. The lossless encoding unit 252 supplies the encoded data to the accumulation buffer 37 so as to be held therein.

(PPS的语法的例子)(Syntax example of PPS)

图38和39是图解说明由图36中图解所示的设定单元232设定的 PPS的语法的例子的示图。图40和41是图解说明常规HEVC方式中的 PPS的语法的例子的示图。38 and 39 are diagrams illustrating an example of the syntax of the PPS set by the setting unit 232 illustrated in FIG. 36 . 40 and 41 are diagrams illustrating an example of the syntax of PPS in the conventional HEVC method.

如在图38中的第6行中图解所示,在由设定单元232设定的PPS 中,包含表示对应画面内的所有切片的种类是否相同的统一标记 unified_slice_type_flag。另外,如在第7行和第8行中图解所示,在统一标记为“1”的情况下,在PPS中,包含表示对应画面内的所有切片的种类是否是I切片的I标记(all_intra_slice_flag)。As illustrated in row 6 in FIG. 38 , in the PPS set by the setting unit 232, a unified flag unified_slice_type_flag indicating whether or not the kinds of all slices within the corresponding picture are the same is included. In addition, as illustrated in the seventh and eighth lines, when the unified flag is "1", the PPS includes an I flag (all_intra_slice_flag) indicating whether the types of all slices in the corresponding picture are I slices or not. ).

另外,如在第9行和第10行中图解所示,在I标记不为“1”的情况下,换句话说,在画面内包含P切片或B切片的情况下,在PPS中,包含表示在对应画面内,是否存在B切片的B-not-present标记 no_b_slice_flag。In addition, as illustrated in the ninth and tenth lines, when the I flag is not "1", in other words, when a P slice or a B slice is included in the screen, in the PPS, the Indicates whether the B-not-present flag no_b_slice_flag of the B slice exists in the corresponding picture.

如在第11行和第12行中所示,在I标记不为“1”的情况下,在PPS 中,包含RPSL0数num_ref_idx_l0_default_active_minus1,作为与参考图像相关的信息,RPSL0数num_ref_idx_l0_default_active_minus1是利用其显示时间比对应画面的显示时间早的参考图像的前向预测(L0预测) 中的RPS的最大数。As shown in the 11th and 12th lines, when the I flag is not "1", the PPS includes the RPSL0 number num_ref_idx_l0_default_active_minus1, and the RPSL0 number num_ref_idx_l0_default_active_minus1 is used for the display time as information related to the reference picture. The maximum number of RPS in the forward prediction (L0 prediction) of the reference picture earlier than the display time of the corresponding picture.

如在第13行和第14中图解所示,在B-not-present标记为“0”的情况下,换句话说,在画面内包含B切片的情况下,在PPS中,包括RPSL1 数(num_ref_idx_l1_default_active_minus1),作为与参考图像相关的信息, RPSL1数(num_ref_idx_l1_default_active_minus1)是利用其显示时间比对应画面的显示时间晚的参考图像的后向预测(L1预测)中的RPS的最大数。As illustrated in lines 13 and 14, in the case where the B-not-present flag is "0", in other words, in the case where the B slice is included in the picture, in the PPS, the RPSL1 number ( num_ref_idx_l1_default_active_minus1), as information related to a reference picture, the number of RPSL1 (num_ref_idx_l1_default_active_minus1) is the maximum number of RPS in backward prediction (L1 prediction) using a reference picture whose display time is later than that of the corresponding picture.

如在第25行和第26行中图解所示,在I标记不为“1”的情况下,在 PPS中,包含P预测标记weighted_pred_flag,作为与参考图像相关的信息,P预测标记weighted_pred_flag表示对于P切片,是否进行加权预测。另外,在B-not-present标记不为“1”的情况下,在PPS中,包含 B预测标记weighted_bipred_flag,作为与参考图像相关的信息,B预测标记weighted_bipred_flag表示对于B切片,是否进行加权预测。As illustrated in the 25th and 26th lines, when the I flag is not "1", in the PPS, the P prediction flag weighted_pred_flag is included as information related to the reference picture, and the P prediction flag weighted_pred_flag indicates that the P slice, whether to perform weighted prediction. In addition, when the B-not-present flag is not "1", the PPS includes the B prediction flag weighted_bipred_flag as information related to the reference picture, and the B prediction flag weighted_bipred_flag indicates whether weighted prediction is performed for the B slice.

如上,在图38和39中图解所示的PPS中,在对应画面只由I切片构成的情况下,不设定RPSL0数、RPSL1数、P预测标记和B预测标记。另外,在对应画面包括除I切片外的切片的情况下,不设定RPSL1 数和B预测标记。因而,与不管画面内的切片的种类而对于所有画面都设定RPSL0数、RPSL1数、P预测标记和B预测标记的情况相比,能够改善编码效率。As above, in the PPS illustrated in FIGS. 38 and 39 , in the case where the corresponding picture is composed of only I slices, the number of RPSL0, the number of RPSL1, the P prediction flag, and the B prediction flag are not set. In addition, in the case where the corresponding picture includes slices other than the I slice, the RPSL1 number and the B prediction flag are not set. Therefore, compared with the case where the number of RPSL0, the number of RPSL1, the P prediction flag, and the B prediction flag are set for all pictures regardless of the type of slice in the picture, encoding efficiency can be improved.

另外,在解码设备中,在画面只由I切片构成的情况下,RPSL0数和RPSL1数被识别成“0”,并且,在画面包括除I切片外的切片的情况下,RPSL1数被识别成“0”。In addition, in the decoding device, in the case where the picture consists of only I slices, the RPSL0 number and the RPSL1 number are recognized as "0", and in the case where the picture includes slices other than the I slice, the RPSL1 number is recognized as "0".

相反,在图40和41中图解所示的常规HEVC方式的PPS中,如在图40的第6行、第7行、第17行和第18行中图解所示,不管画面内的切片的种类,设定RPSL0数、RPSL1数、P预测标记和B预测标记。In contrast, in the PPS of the conventional HEVC mode illustrated in FIGS. 40 and 41, as illustrated in the 6th, 7th, 17th, and 18th rows of FIG. 40, regardless of the number of slices within the picture Type, the number of RPSL0, the number of RPSL1, the P prediction flag and the B prediction flag are set.

另外,在画面只由B切片构成的情况下,P预测标记可以不被设定。In addition, when the picture is composed of only B slices, the P prediction flag may not be set.

(切片头部的语法的例子)(Example of the syntax of the slice header)

图42-44是图解说明由图37中图解所示的无损编码单元252增加的切片头部的语法的例子的示图。另外,图45-47是图解说明常规的HEVC 方式中的切片头部的语法的例子的示图。42-44 are diagrams illustrating examples of syntax of the slice header added by the lossless encoding unit 252 illustrated in FIG. 37 . In addition, FIGS. 45-47 are diagrams illustrating an example of the syntax of the slice header in the conventional HEVC method.

如在图42的第2行中图解所示,在无损编码单元252增加的切片头部中,包含表示对应切片是否是画面内的第一切片的第一标记 first_slice_in_pic_flag。另外,如在第11行和第12行中图解所示,当统一标记为“0”,或者当统一标记为“1”,并且第一标记为“0”时,在切片头部中,包含对应切片的切片种类slice_type。As illustrated in the second row of FIG. 42 , in the slice header added by the lossless encoding unit 252, a first flag first_slice_in_pic_flag indicating whether the corresponding slice is the first slice in the picture is included. In addition, as illustrated in lines 11 and 12, when the uniform flag is "0", or when the uniform flag is "1" and the first flag is "0", in the slice header, contains The slice type slice_type of the corresponding slice.

换句话说,在图42-44中图解所示的切片头部中,当画面内的切片的种类不相同时,或者当画面内的切片的种类相同并且对应切片是画面内的第一切片时,设定切片种类。In other words, in the slice headers illustrated in FIGS. 42-44 , when the kinds of slices within the picture are not the same, or when the kinds of slices within the picture are the same and the corresponding slice is the first slice within the picture , set the slice type.

然而,在图42-44中图解所示的切片头部中,当画面内的切片的种类相同,但是对应切片是画面内的除第一切片外的切片时,不设定切片种类。在这种情况下,包含在切片头部中的切片种类被视为除第一切片外的切片的切片种类。However, in the slice headers illustrated in FIGS. 42-44 , when the types of slices within the screen are the same, but the corresponding slice is a slice other than the first slice within the screen, the slice type is not set. In this case, the slice types included in the slice header are regarded as slice types of slices other than the first slice.

因而,与不管画面内的所有切片的切片种类是否相同,都设定所有切片的切片种类的情况相比,能够改善编码效率。Therefore, compared to the case where the slice types of all slices are set regardless of whether or not the slice types of all the slices in the screen are the same, encoding efficiency can be improved.

相反,在图45-47中图解所示的常规HEVC方式的切片头部中,如在图45中的第11行中图解所示,不管画面内的所有切片的切片种类是否相同,都设定所有切片的切片种类。On the contrary, in the slice header of the conventional HEVC method illustrated in FIGS. 45-47 , as illustrated in the 11th row in FIG. 45 , regardless of whether the slice types of all slices within the screen are the same or not, it is set The slice type for all slices.

(编码设备的处理的说明)(Explanation of the processing of the encoding device)

图48是图解说明由图36中图解所示的编码设备230进行的生成处理的流程图。FIG. 48 is a flowchart illustrating generation processing by the encoding apparatus 230 illustrated in FIG. 36 .

在图48中图解所示的步骤S281,编码设备230的设定单元232进行图11中图解所示的RPS设定处理。在步骤S282,编码单元231按照 HEVC方式,进行对作为输入信号从外部输入的以帧为单位构成的图像编码的编码处理。该编码处理将在后面参考后面说明的图49和50详细说明。In step S281 illustrated in FIG. 48 , the setting unit 232 of the encoding device 230 performs the RPS setting process illustrated in FIG. 11 . In step S282, the encoding section 231 performs an encoding process of encoding an image in frame units input as an input signal from the outside in accordance with the HEVC method. This encoding process will be described in detail later with reference to FIGS. 49 and 50 described later.

在步骤S283,设定单元232设定包括将被赋予索引的RPS的SPS。在步骤S284,设定单元232进行设定PPS的PPS设定处理。该PPS设定处理将在后面参考后面说明的图51详细说明。In step S283, the setting unit 232 sets the SPS including the RPS to be given an index. In step S284, the setting unit 232 performs a PPS setting process of setting the PPS. This PPS setting process will be described in detail later with reference to FIG. 51 described later.

步骤S285和S286的处理和图10中图解所示的步骤S15和S16的处理相似,从而省略其说明。The processing of steps S285 and S286 is similar to the processing of steps S15 and S16 illustrated in FIG. 10 , so that the description thereof is omitted.

图49和50表示详细图解说明图48中图解所示的步骤S282的编码处理的流程图。49 and 50 show flowcharts illustrating the encoding process of step S282 illustrated in FIG. 48 in detail.

图49中图解所示的步骤S301和S302的处理和图12中图解所示的步骤S31和S32的处理相似,从而省略其说明。The processing of steps S301 and S302 illustrated in FIG. 49 is similar to the processing of steps S31 and S32 illustrated in FIG. 12 , so that the description thereof is omitted.

在步骤S303,运动预测/补偿单元251根据包含在从图36中图解所示的设定单元232供给的PPS中的P预测标记或B预测标记,判定是否进行加权预测。In step S303, the motion prediction/compensation unit 251 determines whether to perform weighted prediction based on the P prediction flag or the B prediction flag included in the PPS supplied from the setting unit 232 illustrated in Fig. 36 .

更具体地,在当前编码图像是P切片的情况下,当P预测标记为“1”时,运动预测/补偿单元251判定进行加权预测。另外,在当前编码图像是B切片的情况下,当B预测标记为“1”时,运动预测/补偿单元251判定进行加权预测。此外,在当前编码图像是I切片的情况下,步骤S303 的处理被跳过,处理随后进入步骤S304。More specifically, in the case where the currently encoded image is a P slice, when the P prediction flag is "1", the motion prediction/compensation unit 251 determines to perform weighted prediction. In addition, in the case where the currently encoded image is a B slice, when the B prediction flag is "1", the motion prediction/compensation unit 251 determines to perform weighted prediction. Also, in the case where the currently encoded image is an I slice, the process of step S303 is skipped, and the process then proceeds to step S304.

当在步骤S303,判定要进行加权预测时,在步骤S304,帧内预测单元46进行作为候选者的所有帧内预测模式的帧内预测处理。另外,帧内预测单元46根据从屏幕重排缓冲器32读取的图像,和通过帧内预测处理生成的预测图像,计算作为候选者的所有帧内预测模式的成本函数值。随后,帧内预测单元46把其成本函数值最小的帧内预测模式确定为最佳帧内预测模式。帧内预测单元46把按照最佳帧内预测模式生成的预测图像,和对应的成本函数值提供给预测图像选择单元48。When it is determined in step S303 that weighted prediction is to be performed, in step S304 the intra prediction unit 46 performs intra prediction processing of all intra prediction modes that are candidates. In addition, the intra prediction unit 46 calculates cost function values of all intra prediction modes that are candidates based on the image read from the screen rearrangement buffer 32 and the predicted image generated by the intra prediction process. Subsequently, the intra prediction unit 46 determines the intra prediction mode whose cost function value is the smallest as the optimal intra prediction mode. The intra prediction unit 46 supplies the predicted image generated in accordance with the optimal intra prediction mode, and the corresponding cost function value to the predicted image selection unit 48 .

另外,运动预测/补偿单元251利用作为候选者的所有帧间预测模式的加权预测,进行运动预测/补偿处理。另外,运动预测/补偿单元251根据从屏幕重排缓冲器32供给的图像,和预测图像,计算作为候选者的所有帧间预测模式的成本函数值,并把其成本函数值最小的帧间预测模式确定为最佳帧间预测模式。随后,运动预测/补偿单元251把最佳帧间预测模式的成本函数值,和对应的预测图像提供给预测图像选择单元48。In addition, the motion prediction/compensation unit 251 performs motion prediction/compensation processing using weighted prediction of all inter prediction modes as candidates. In addition, the motion prediction/compensation unit 251 calculates the cost function values of all the inter prediction modes as candidates based on the images supplied from the screen rearrangement buffer 32 and the predicted images, and predicts the inter prediction whose cost function value is the smallest mode is determined as the best inter prediction mode. Subsequently, the motion prediction/compensation unit 251 supplies the cost function value of the optimum inter prediction mode, and the corresponding predicted image, to the predicted image selection unit 48 .

然而,在当前编码图像为I切片的情况下,不进行运动预测/补偿处理。在步骤S304的处理之后,处理进入步骤S306。However, in the case where the currently encoded image is an I slice, motion prediction/compensation processing is not performed. After the process of step S304, the process proceeds to step S306.

另一方面,当在步骤S303,判定不进行加权预测的情况下,在步骤 S305,帧内预测单元46进行和步骤S304相同的处理。On the other hand, when it is determined in step S303 that weighted prediction is not to be performed, in step S305, the intra prediction unit 46 performs the same processing as that of step S304.

另外,运动预测/补偿单元251进行作为候选者的所有帧间预测模式的运动预测/补偿处理。此外,运动预测/补偿单元251根据从屏幕重排缓冲器32供给的图像,和预测图像,计算作为候选者的所有帧间预测模式的成本函数值,并把其成本函数值最小的帧间预测模式确定为最佳帧间预测模式。随后,运动预测/补偿单元251把最佳帧间预测模式的成本函数值和对应的预测图像提供给预测图像选择单元48。随后,处理进入步骤S306。In addition, the motion prediction/compensation unit 251 performs motion prediction/compensation processing of all inter prediction modes that are candidates. Further, the motion prediction/compensation unit 251 calculates the cost function values of all the inter prediction modes as candidates based on the images supplied from the screen rearrangement buffer 32, and the predicted images, and predicts the inter prediction whose cost function value is the smallest mode is determined as the best inter prediction mode. Subsequently, the motion prediction/compensation unit 251 supplies the cost function value of the optimal inter prediction mode and the corresponding predicted image to the predicted image selection unit 48 . Subsequently, the process proceeds to step S306.

步骤S306-S308的处理和图12中图解所示的步骤S34-S36的处理相似,从而省略其说明。The processing of steps S306 to S308 is similar to the processing of steps S34 to S36 illustrated in FIG. 12 , so that the description thereof is omitted.

在步骤S308的处理之后,在步骤S309,运动预测/补偿单元251判定在运动预测/补偿处理中,是否进行了加权预测。当在步骤S309中,判定在运动预测/补偿处理中,进行了加权预测时,在步骤S310,运动预测/补偿单元251把加权预测的加权信息提供给无损编码单元252。随后,处理进入步骤S311。After the process of step S308, in step S309, the motion prediction/compensation unit 251 determines whether or not weighted prediction is performed in the motion prediction/compensation process. When it is determined in step S309 that weighted prediction is performed in the motion prediction/compensation process, the motion prediction/compensation unit 251 supplies the weighting information of the weighted prediction to the lossless encoding unit 252 in step S310. Subsequently, the process proceeds to step S311.

步骤S311-S322的处理与图12和13中图解所示的步骤S37-S48的处理相似,从而省略其说明。The processing of steps S311-S322 is similar to the processing of steps S37-S48 illustrated in Figs. 12 and 13, so that the description thereof is omitted.

在图50中图解所示的步骤S323中,无损编码单元252判定包含在从图36中图解所示的设定单元232供给的PPS中的统一标记是否为“0”,或者所述统一标记和第一标记是否为“1”。In step S323 illustrated in Fig. 50 , the lossless encoding unit 252 determines whether the unified flag contained in the PPS supplied from the setting unit 232 illustrated in Fig. 36 is "0", or the unified flag and Whether the first flag is "1".

当在步骤S323,判定统一标记为“0”,或者所述统一标记和第一标记为“1”时,在步骤S324,无损编码单元252生成当前编码图像的切片种类。随后,处理进入步骤S325。When it is determined in step S323 that the unified flag is "0", or the unified flag and the first flag are "1", in step S324, the lossless encoding unit 252 generates the slice type of the currently encoded image. Subsequently, the process proceeds to step S325.

另一方面,当在步骤S323,判定统一标记不为“0”,并且统一标记和第一标记不为“1”时,处理进入步骤S325。On the other hand, when it is determined in step S323 that the unified flag is not "0" and the unified flag and the first flag are not "1", the process proceeds to step S325.

在步骤S325,无损编码单元252进行从速率控制单元50供给的量化参数、偏移滤波信息和滤波系数,比如切片种类、帧内预测模式信息或帧间预测模式信息、运动向量、加权信息、和RPS的索引或者RPS 的无损编码,作为编码信息。In step S325, the lossless encoding unit 252 performs the quantization parameters, offset filter information, and filter coefficients supplied from the rate control unit 50, such as slice types, intra prediction mode information or inter prediction mode information, motion vectors, weighting information, and The index of the RPS or the lossless encoding of the RPS is used as the encoding information.

步骤S326-S329的处理和图13中图解所示的步骤S50-S53的处理相似,从而省略其说明。The processing of steps S326 to S329 is similar to the processing of steps S50 to S53 illustrated in FIG. 13 , so that the description thereof is omitted.

图51是详细图解说明在图48中图解所示的步骤S284的PPS设定处理的流程图。该PPS设定处理是以画面为单位进行的。FIG. 51 is a flowchart illustrating in detail the PPS setting process of step S284 illustrated in FIG. 48 . This PPS setting process is performed on a screen-by-screen basis.

在图51中图解所示的步骤S331,设定单元232判定画面内的所有切片的种类是否相同。当在步骤S331,判定画面内的所有切片的种类相同时,在步骤S332,设定单元232把统一标记设定为“1”,并把设定的统一标记包含在PPS中。In step S331 illustrated in FIG. 51 , the setting unit 232 determines whether or not the types of all slices in the screen are the same. When it is determined in step S331 that all slices in the screen are of the same type, in step S332, the setting unit 232 sets the unified flag to "1", and includes the set unified flag in the PPS.

在步骤S333,设定单元232判定画面内的所有切片的种类是否都是 I切片。当在步骤S333,判定画面内的所有切片的种类都是I切片时,在步骤S334,设定单元232把I标记设定为“1”,然后把设定的I标记包含在PPS中,处理进入步骤S337。In step S333, the setting section 232 determines whether or not the types of all slices in the screen are I slices. When it is determined in step S333 that the types of all slices in the screen are I slices, in step S334, the setting unit 232 sets the I flag to "1", and then includes the set I flag in the PPS, and the processing Proceed to step S337.

另一方面,当在步骤S333,判定画面内的所有切片的种类不是I切片时,在步骤S335,设定单元232把I标记设定为“0”,然后把设定的I 标记包含在PPS中,处理进入步骤S337。On the other hand, when it is determined in step S333 that the types of all slices in the screen are not I slices, in step S335, the setting unit 232 sets the I flag to "0", and then includes the set I flag in the PPS , the process proceeds to step S337.

另一方面,当在步骤S331,判定画面内的所有切片的种类不相同时,在步骤S336,设定单元232把I标记设定为“0”,然后把设定的I标记包含在PPS中,处理进入步骤S337。On the other hand, when it is determined in step S331 that the types of all the slices in the screen are not the same, in step S336 the setting unit 232 sets the I flag to "0", and then includes the set I flag in the PPS , the process proceeds to step S337.

在步骤S337,设定单元232判定I标记是否为“1”。当在步骤S337,判定I标记不为“1”时,在步骤S338,设定单元232设定包含在PPS中的RPSL0数和P预测标记,并把设定的RPSL0数和P预测标记包含在 PPS中。In step S337, the setting unit 232 determines whether the I flag is "1". When it is determined in step S337 that the I flag is not "1", in step S338, the setting unit 232 sets the RPSL0 number and the P prediction flag contained in the PPS, and includes the set RPSL0 number and P prediction flag in the in PPS.

在步骤S339,设定单元232判定在画面内,是否包含B切片。当在步骤S339,判定在画面内包含B切片时,在步骤S340,设定单元232 把包含在PPS中的B-not-present标记设定为“0”,并把设定的标记包含在PPS中。在步骤S341,设定单元232设定包含在PPS中的RPSL1数和B预测标记,并把设定的RPSL1数和B预测标记包含在PPS中。随后,处理返回图48中图解所示的步骤S284,然后进入到步骤S285。In step S339, setting section 232 determines whether or not B slices are included in the screen. When it is determined in step S339 that the B slice is included in the picture, in step S340 the setting unit 232 sets the B-not-present flag included in the PPS to "0", and includes the set flag in the PPS middle. In step S341, the setting unit 232 sets the RPSL1 number and the B prediction flag contained in the PPS, and includes the set RPSL1 number and the B prediction flag in the PPS. Subsequently, the process returns to step S284 illustrated in FIG. 48 and then proceeds to step S285.

另一方面,当在步骤S339,判定在画面内不包含B切片时,在步骤 S342,设定单元232把B-not-present标记设定为“1”,并把设定的标记包含在PPS中。随后,处理返回图48中图解所示的步骤S284,然后进入到步骤S285。On the other hand, when it is determined in step S339 that the B slice is not included in the screen, in step S342, the setting unit 232 sets the B-not-present flag to "1" and includes the set flag in the PPS middle. Subsequently, the process returns to step S284 illustrated in FIG. 48 and then proceeds to step S285.

另外,当在步骤S337,判定I标记为“1”时,处理返回图48中图解所示的步骤S284,然后进入到步骤S285。In addition, when it is determined in step S337 that the I flag is "1", the process returns to step S284 illustrated in FIG. 48 and then proceeds to step S285.

如上所述,由于编码设备230按照画面内的切片的种类,设定与参考图像相关的信息,因此与参考图像相关的信息的数量被减少,从而能够改善编码效率。另外,由于编码设备230取决于画面内的所有切片的种类是否相同,来设定切片种类,因此切片种类的信息的数量被减少,从而能够改善编码效率。As described above, since the encoding device 230 sets the information related to the reference image according to the type of slice in the screen, the amount of information related to the reference image is reduced, so that encoding efficiency can be improved. In addition, since the encoding device 230 sets the slice type depending on whether the types of all slices within the picture are the same, the amount of information of the slice type is reduced, so that encoding efficiency can be improved.

(按照第四实施例的解码设备的结构例子)(Configuration example of decoding apparatus according to fourth embodiment)

图52是图解说明按照第四实施例的本技术适用于的,解码从图36 中图解所示的编码设备230传送的编码流的解码设备的结构例子的方框图。FIG. 52 is a block diagram illustrating a structural example of a decoding apparatus that decodes an encoded stream transmitted from the encoding apparatus 230 illustrated in FIG. 36 to which the present technology according to the fourth embodiment is applied.

这里,向图52中图解所示的与图15中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 52 that are the same as those illustrated in FIG. 15 , and repeated explanations thereof are omitted.

图52中图解所示的解码设备270的结构和图15中图解所示的结构的不同之处在于设置解码单元271,而不是解码单元113。必要时,解码设备270在进行运动补偿处理时,进行加权预测。The structure of the decoding apparatus 270 illustrated in FIG. 52 differs from the structure illustrated in FIG. 15 in that the decoding unit 271 is provided instead of the decoding unit 113 . When necessary, the decoding apparatus 270 performs weighted prediction when performing motion compensation processing.

更具体地,解码设备270的解码单元271根据从提取单元112供给的各个RPS的inter_ref_pic_set_prediction_flag,和delta_idx_minus1 或参考图像指定信息,按照HEVC方式,解码从提取单元112供给的编码数据。此时,必要时,解码单元271参考包含在SPS中的除RPS外的信息,PPS等。另外,必要时,解码单元271在进行运动补偿处理时,进行加权预测。解码单元271作为输出信号地输出通过解码获得的图像。More specifically, the decoding unit 271 of the decoding device 270 decodes the encoded data supplied from the extraction unit 112 according to the HEVC method based on the inter_ref_pic_set_prediction_flag of each RPS supplied from the extraction unit 112, and delta_idx_minus1 or reference picture designation information. At this time, the decoding unit 271 refers to information other than the RPS, the PPS, and the like contained in the SPS, as necessary. In addition, when necessary, the decoding unit 271 performs weighted prediction when performing motion compensation processing. The decoding unit 271 outputs the image obtained by decoding as an output signal.

(解码单元的结构例子)(Example of structure of decoding unit)

图53是图解说明在图52中图解所示的解码单元271的结构例子的方框图。FIG. 53 is a block diagram illustrating a structural example of the decoding unit 271 illustrated in FIG. 52 .

这里,向图53中图解所示的与图16中图示的结构相同的每个结构赋予相同的附图标记,并省略其重复的说明。Here, the same reference numerals are assigned to each of the structures illustrated in FIG. 53 that are the same as those illustrated in FIG. 16 , and repeated explanations thereof are omitted.

图53中图解所示的解码单元271的结构和图16中图解所示的结构的不同之处在于设置无损解码单元291,而不是无损解码单元132,另外设置运动补偿单元292,而不是运动补偿单元145。The structure of the decoding unit 271 illustrated in FIG. 53 differs from the structure illustrated in FIG. 16 in that the lossless decoding unit 291 is provided instead of the lossless decoding unit 132, and the motion compensation unit 292 is provided additionally instead of the motion compensation unit 145.

类似于图16中图解所示的无损解码单元132,解码单元271的无损解码单元291对从累积缓冲器131供给的编码数据,进行无损解码,从而获得量化系数和编码信息。类似于无损解码单元132,无损解码单元 291把量化系数提供给逆量化单元133。另外,无损解码单元291把作为编码信息的帧内预测模式信息等,提供给帧内预测单元143,并把运动向量、帧间预测模式信息、加权信息等提供给运动补偿单元292。类似于无损解码单元132,无损解码单元291把作为编码信息的RPS的RPS标记和索引,或者RPS,提供给参考图像设定单元144。Similar to the lossless decoding unit 132 illustrated in FIG. 16 , the lossless decoding unit 291 of the decoding unit 271 performs lossless decoding on the encoded data supplied from the accumulation buffer 131, thereby obtaining quantization coefficients and encoding information. Similar to the lossless decoding unit 132, the lossless decoding unit 291 supplies the quantized coefficients to the inverse quantization unit 133. In addition, the lossless decoding unit 291 supplies intra prediction mode information and the like as encoding information to the intra prediction unit 143 , and supplies the motion vector, inter prediction mode information, weighting information, and the like to the motion compensation unit 292 . Similar to the lossless decoding unit 132 , the lossless decoding unit 291 supplies the reference image setting unit 144 with the RPS flag and index of the RPS, or RPS, which is encoded information.

另外,类似于无损解码单元132,无损解码单元291把作为编码信息的帧内预测模式信息或者帧间预测模式信息提供给开关146。类似于无损解码单元132,无损解码单元291把作为编码信息的偏移滤波信息提供给自适应偏移滤波器137,并把滤波系数提供给自适应环路滤波器138。In addition, similar to the lossless decoding unit 132 , the lossless decoding unit 291 supplies intra prediction mode information or inter prediction mode information as encoding information to the switch 146 . Similar to the lossless decoding unit 132 , the lossless decoding unit 291 supplies offset filter information as encoded information to the adaptive offset filter 137 and supplies filter coefficients to the adaptive loop filter 138 .

类似于图16中图解所示的运动补偿单元145,运动补偿单元292根据从参考图像设定单元144供给的参考图像指定信息,通过开关142,从帧存储器141读取由参考图像指定信息指定的参考图像。Similar to the motion compensation unit 145 illustrated in FIG. 16 , the motion compensation unit 292 reads from the frame memory 141 specified by the reference image specifying information through the switch 142 on the basis of the reference image specifying information supplied from the reference image setting unit 144 Reference image.

另外,类似于图37中图解所示的运动预测/补偿单元251,运动补偿单元292根据包含在从提取单元112供给的PPS中的P预测标记或B预测标记,判定是否进行加权预测。In addition, similar to the motion prediction/compensation unit 251 illustrated in FIG. 37 , the motion compensation unit 292 decides whether to perform weighted prediction according to the P prediction flag or the B prediction flag contained in the PPS supplied from the extraction unit 112 .

运动补偿单元292充当生成单元,在判定要进行加权预测的情况下,通过利用运动向量和参考图像,进行利用由帧间预测模式信息表示的最佳帧间预测模式的加权预测的运动补偿处理。此时,当必要时,运动补偿单元292在当前编码图像的切片是P切片的情况下,参考RPSL0数,而在当前编码图像的切片是B切片的情况下,参考RPSL0数和RPSL1 数。The motion compensation unit 292 functions as a generation unit that performs motion compensation processing of weighted prediction using the optimal inter prediction mode indicated by the inter prediction mode information by using a motion vector and a reference image when it is determined that weighted prediction is to be performed. At this time, when necessary, the motion compensation unit 292 refers to the RPSL0 number when the slice of the current coded image is a P slice, and refers to the RPSL0 number and RPSL1 number when the slice of the current coded image is a B slice.

另一方面,在判定将不进行加权预测的情况下,类似于运动补偿单元145,运动补偿单元292进行最佳帧间预测模式的运动补偿处理。运动补偿单元292把作为其结果生成的预测图像提供给开关146。On the other hand, in a case where it is determined that weighted prediction will not be performed, similarly to the motion compensation unit 145, the motion compensation unit 292 performs motion compensation processing of the optimal inter prediction mode. The motion compensation unit 292 supplies the predicted image generated as a result thereof to the switch 146 .

(解码设备的处理的说明)(Explanation of the processing of the decoding device)

图54是图解说明由图52中图解所示的解码设备270进行的接收处理的流程图。FIG. 54 is a flowchart illustrating reception processing by the decoding apparatus 270 illustrated in FIG. 52 .

图54中图解所示的步骤S351-S353的处理类似于在图17中图解所示的步骤S111-S113的处理,从而省略其说明。The processing of steps S351 to S353 illustrated in FIG. 54 is similar to the processing of steps S111 to S113 illustrated in FIG. 17 , so that the description thereof is omitted.

在步骤S354,解码单元271根据从提取单元112供给的每个RPS 的RPS信息和PPS,进行解码处理。该解码处理将参考后面说明的图55 详细说明。随后,处理结束。In step S354, the decoding unit 271 performs decoding processing based on the RPS information and the PPS of each RPS supplied from the extraction unit 112. This decoding process will be described in detail with reference to FIG. 55 described later. Then, the processing ends.

图55是详细图解说明在图54中图解所示的步骤S354的解码处理的流程图。FIG. 55 is a flowchart illustrating the decoding process of step S354 illustrated in FIG. 54 in detail.

在图55中图解所示的步骤S361,解码单元271的累积缓冲器131 从图52中图解所示的提取单元112,接收以帧为单位构成的编码数据,并保存接收的编码数据。累积缓冲器131把保存的编码数据提供给无损解码单元291。In step S361 illustrated in FIG. 55, the accumulation buffer 131 of the decoding unit 271 receives encoded data constituted in units of frames from the extraction unit 112 illustrated in FIG. 52, and holds the received encoded data. The accumulation buffer 131 supplies the stored encoded data to the lossless decoding unit 291 .

在步骤S362,无损解码单元291进行从累积缓冲器131供给的编码数据的无损解码,从而获得量化系数和编码信息。无损解码单元291把量化系数提供给逆量化单元133。另外,无损解码单元291把作为编码信息的帧内预测模式信息等,提供给帧内预测单元143,并把运动向量、帧间预测模式信息、加权信息、RPS标记、RPS的索引或者RPS等提供给运动补偿单元292。In step S362, the lossless decoding unit 291 performs lossless decoding of the encoded data supplied from the accumulation buffer 131, thereby obtaining quantization coefficients and encoding information. The lossless decoding unit 291 supplies the quantized coefficients to the inverse quantization unit 133 . In addition, the lossless decoding unit 291 supplies intra prediction mode information and the like as encoding information to the intra prediction unit 143, and supplies a motion vector, inter prediction mode information, weighting information, an RPS flag, an index of the RPS, or the RPS, etc. to the motion compensation unit 292.

另外,无损解码单元291把作为编码信息的帧内预测模式信息或者帧间预测模式信息提供给开关146。无损解码单元291把作为编码信息的偏移滤波信息提供给自适应偏移滤波器137,并把滤波系数提供给自适应环路滤波器138。In addition, the lossless decoding unit 291 supplies intra prediction mode information or inter prediction mode information as encoded information to the switch 146 . The lossless decoding unit 291 supplies the offset filter information as encoded information to the adaptive offset filter 137 and supplies the filter coefficients to the adaptive loop filter 138 .

步骤S363-S365的处理类似于在图19中图解所示的步骤S133-S135 的处理,从而省略其说明。在步骤S366,类似于图37中图解所示的运动预测/补偿单元251,运动补偿单元292根据包含在从图52中图解所示的提取单元112供给的PPS中的P预测标记或B预测标记,判定是否进行加权预测。The processing of steps S363-S365 is similar to the processing of steps S133-S135 illustrated in FIG. 19, so that the description thereof is omitted. In step S366, similar to the motion prediction/compensation unit 251 illustrated in Fig. 37 , the motion compensation unit 292 is based on the P prediction flag or the B prediction flag contained in the PPS supplied from the extraction unit 112 illustrated in Fig. 52 , to determine whether to perform weighted prediction.

当在步骤S366中,判定要进行加权预测时,运动补偿单元292根据从参考图像设定单元144供给的参考图像指定信息,读取参考图像,并通过利用运动向量和参考图像,进行利用由帧间预测模式信息表示的最佳帧间预测模式的加权预测的运动补偿处理。When it is determined in step S366 that weighted prediction is to be performed, the motion compensation unit 292 reads the reference image based on the reference image designation information supplied from the reference image setting unit 144, and uses the motion vector and the reference image to utilize the frame by frame Motion compensation processing for weighted prediction of the optimal inter prediction mode indicated by the inter prediction mode information.

此时,当必要时,运动补偿单元292在当前编码图像的切片是P切片的情况下,参考RPSL0数,并在当前编码图像的切片是B切片的情况下,参考RPSL0数和RPSL1数。运动补偿单元292把作为其结果生成的预测图像,通过开关146提供给加法单元135,然后处理进入步骤S370。At this time, when necessary, the motion compensation unit 292 refers to the RPSL0 number when the slice of the current coded image is a P slice, and refers to the RPSL0 number and RPSL1 number when the slice of the current coded image is a B slice. The motion compensation unit 292 supplies the predicted image generated as a result thereof to the addition unit 135 through the switch 146, and the process proceeds to step S370.

另一方面,当在步骤S366中,判定将不进行加权预测时,在步骤 S368,运动补偿单元292根据从参考图像设定单元144供给的参考图像指定信息,读取参考图像,并通过利用运动向量和参考图像,进行用帧间预测模式信息表示的最佳帧间预测模式的运动补偿处理。运动补偿单元292把作为其结果生成的预测图像,通过开关146提供给加法单元135,然后处理进入步骤S370。On the other hand, when it is determined in step S366 that the weighted prediction will not be performed, in step S368, the motion compensation unit 292 reads the reference image based on the reference image designation information supplied from the reference image setting unit 144, and uses motion The vector and the reference image are subjected to motion compensation processing of the optimal inter prediction mode indicated by the inter prediction mode information. The motion compensation unit 292 supplies the predicted image generated as a result thereof to the addition unit 135 through the switch 146, and the process proceeds to step S370.

步骤S369-S377的处理类似于图19中图解所示的步骤S137-S145的处理,从而省略其说明。The processing of steps S369-S377 is similar to the processing of steps S137-S145 illustrated in FIG. 19, so that the description thereof is omitted.

如上,通过按照画面内的切片的种类设定与参考图像相关的信息,解码设备270能够解码具有改进的编码效率的编码流。As above, the decoding apparatus 270 can decode an encoded stream with improved encoding efficiency by setting the information related to the reference image according to the kind of slice within the picture.

另外,在第四实施例中,尽管与参考图像相关的信息被描述成RPSL0 数,RPSL1数,P预测标记和B预测标记,不过,本技术并不局限于此。In addition, in the fourth embodiment, although the information related to the reference picture is described as the RPSL0 number, the RPSL1 number, the P prediction flag, and the B prediction flag, the present technology is not limited to this.

<对多视点图像编码/多视点图像解码的应用><Application to multi-view image encoding/multi-view image decoding>

上述一系列处理可以应用于多视点图像编码和多视点图像解码。图 56是图解说明多视点图像编码系统的例子的示图。The above-described series of processing can be applied to multi-view image encoding and multi-view image decoding. FIG. 56 is a diagram illustrating an example of a multi-view image encoding system.

如图56中图解所示,多视点图像包括多个视点的图像,所述多个视点之中的预定视点的图像被指定为基本视图的图像。除基本视图的图像之外的各个视点的图像被视为非基本视图的图像。As illustrated in FIG. 56 , the multi-viewpoint image includes images of a plurality of viewpoints, and images of predetermined viewpoints among the plurality of viewpoints are designated as images of the base view. The images of the respective viewpoints other than the images of the base view are regarded as images of the non-base view.

在进行如图56中图解所示的多视点图像编码的情况下,对于各个视图(相同视图),可以获得量化参数之间的差分。In the case of performing multi-view image encoding as illustrated in FIG. 56 , for each view (the same view), the difference between the quantization parameters can be obtained.

(1)基本视图:(1) Basic view:

(1-1)dQP(基本视图)=Current_CU_QP(基本视图)-LCU_QP(基本视图)(1-1) dQP (base view)=Current_CU_QP (base view)-LCU_QP (base view)

(1-2)dQP(基本视图)=Current_CU_QP(基本视图)- Previsous_CU_QP(基本视图)(1-2) dQP (basic view) = Current_CU_QP (basic view) - Previsous_CU_QP (basic view)

(1-3)dQP(基本视图)=Current_CU_QP(基本视图)-Slice_QP(基本视图)(1-3) dQP (base view)=Current_CU_QP (base view)-Slice_QP (base view)

(2)非基本视图:(2) Non-basic view:

(2-1)dQP(非基本视图)=Current_CU_QP(非基本视图)-LCU_QP(非基本视图)(2-1) dQP (non-base view)=Current_CU_QP (non-base view)-LCU_QP (non-base view)

(2-2)dQP(非基本视图)=CurrentQP(非基本视图)-PrevisousQP(非基本视图)(2-2) dQP (non-basic view)=CurrentQP (non-basic view)-PrevisousQP (non-basic view)

(2-3)dQP(非基本视图)=Current_CU_QP(非基本视图)-Slice_QP(非基本视图)(2-3) dQP (non-base view)=Current_CU_QP (non-base view)-Slice_QP (non-base view)

在进行多视点图像编码的情况下,对于各个视图(不同的视图),可以获得量化参数之间的差分。In the case of multi-view image encoding, the difference between the quantization parameters can be obtained for each view (different view).

(3)基本视图/非基本视图:(3) Basic view/non-basic view:

(3-1)dQP(视图间)=Slice_QP(基本视图)-Slice_QP(非基本视图)(3-1) dQP (inter-view) = Slice_QP (base view) - Slice_QP (non-base view)

(3-2)dQP(视图间)=LCU_QP(基本视图)-LCU_QP(非基本视图)(3-2) dQP (inter-view) = LCU_QP (base view) - LCU_QP (non-base view)

(4)非基本视图/非基本视图:(4) Non-Basic View/Non-Basic View:

(4-1)dQP(视图间)=Slice_QP(非基本视图i)-Slice_QP(非基本视图j)(4-1) dQP (inter-view)=Slice_QP (non-base view i)-Slice_QP (non-base view j)

(4-2)dQP(视图间)=LCU_QP(非基本视图i)-LCU_QP(非基本视图j)(4-2) dQP (inter-view) = LCU_QP (non-base view i) - LCU_QP (non-base view j)

在这种情况下,可以组合地使用上面说明的(1)-(4)。例如,在非基本视图中,可以考虑在切片水平,获得基本视图和非基本视图的量化参数之间的差分的技术(组合3-1和2-3),和在LCU水平,获得基本视图和非基本视图的量化参数之间的差分的技术(组合3-2和2-1)。这样,通过重复应用所述差分,在进行多视点编码的情况下,也能够提高编码效率。In this case, (1)-(4) described above can be used in combination. For example, in the non-base view, it is possible to consider the technique of obtaining the difference between the quantization parameters of the base view and the non-base view (combining 3-1 and 2-3) at the slice level, and at the LCU level, obtaining the base view and Technique for the difference between quantization parameters of non-base views (combination 3-2 and 2-1). In this way, by repeatedly applying the difference, it is possible to improve encoding efficiency even in the case of multi-view encoding.

类似于上述技术,对于上面说明的各个dQP,可以设定用于识别是否存在具有除“0”以外的值的dQP的标记。Similar to the above-described technique, for each dQP explained above, a flag for identifying whether there is a dQP having a value other than "0" can be set.

<多视点图像编码设备><Multi-view image encoding device>

图57是图解说明进行上述多视点图像编码的多视点图像编码设备的示图。如图57中图解所示,多视点图像编码设备600包括编码单元601、编码单元602和复用器603。FIG. 57 is a diagram illustrating a multi-viewpoint image encoding apparatus that performs the above-described multi-viewpoint image encoding. As illustrated in FIG. 57 , the multi-view image encoding apparatus 600 includes an encoding unit 601 , an encoding unit 602 , and a multiplexer 603 .

编码单元601编码基本视图图像,从而生成基本视图图像编码流。另外,编码单元602编码非基本视图图像,从而生成非基本视图图像编码流。复用器603复用由编码单元601生成的基本视图图像编码流,和由编码单元602生成的非基本视图图像编码流,从而生成多视点图像编码流。The encoding unit 601 encodes a base view image, thereby generating a base view image encoded stream. In addition, the encoding unit 602 encodes the non-base view image, thereby generating a non-base view image encoded stream. The multiplexer 603 multiplexes the base view image encoded stream generated by the encoding unit 601 and the non-base view image encoded stream generated by the encoding unit 602, thereby generating a multi-viewpoint image encoded stream.

编码设备10(150和190)可适用于此多视点图像编码设备600的编码单元601和编码单元602。在这种情况下,多视点图像编码设备600设定由编码单元601设定的量化参数和由编码单元602设定的量化参数之间的差分,并传送设定的差分。The encoding device 10 ( 150 and 190 ) is applicable to the encoding unit 601 and the encoding unit 602 of this multi-viewpoint image encoding device 600 . In this case, the multi-view image encoding apparatus 600 sets the difference between the quantization parameter set by the encoding unit 601 and the quantization parameter set by the encoding unit 602, and transmits the set difference.

<多视点图像解码设备><Multi-view image decoding device>

图58是图解说明进行上述多视点图像解码的多视点图像解码设备的示图。如图58中图解所示,多视点图像解码设备610包括分用器611、解码单元612和解码单元613。FIG. 58 is a diagram illustrating a multi-view image decoding apparatus that performs the above-described multi-view image decoding. As illustrated in FIG. 58 , the multi-viewpoint image decoding apparatus 610 includes a demultiplexer 611 , a decoding unit 612 , and a decoding unit 613 .

分用器611分用通过复用基本视图图像编码流和非基本视图图像编码流而获得的多视点图像编码流,从而提取基本视图图像编码流和非基本视图图像编码流。解码单元612解码分用器611提取的基本视图图像编码流,从而获得基本视图图像。解码单元613解码分用器611提取的非基本视图图像编码流,从而获得非基本视图图像。The demultiplexer 611 demultiplexes the multi-view image coded stream obtained by multiplexing the base view image coded stream and the non-base view image coded stream, thereby extracting the base view image coded stream and the non-base view image coded stream. The decoding unit 612 decodes the base-view image encoded stream extracted by the demultiplexer 611, thereby obtaining a base-view image. The decoding unit 613 decodes the non-base view image encoded stream extracted by the demultiplexer 611, thereby obtaining a non-base view image.

解码设备110(170和210)可适用于此多视点图像解码设备610的解码单元612和解码单元613。在这种情况下,多视点图像解码设备610 根据编码单元601设定的量化参数和编码单元602设定的量化参数之间的差分,设定量化参数,并进行逆量化。The decoding device 110 ( 170 and 210 ) is applicable to the decoding unit 612 and the decoding unit 613 of this multi-viewpoint image decoding device 610 . In this case, the multi-view image decoding device 610 sets the quantization parameter based on the difference between the quantization parameter set by the encoding unit 601 and the quantization parameter set by the encoding unit 602, and performs inverse quantization.

<对分层图像编码/分层图像解码的应用><Application to Layered Image Encoding/Layered Image Decoding>

上述一系列处理可适用于分层图像编码和分层图像解码。图59是图解说明分层图像编码方式的例子的示图。The above-described series of processes are applicable to layered image encoding and layered image decoding. FIG. 59 is a diagram illustrating an example of a layered image coding method.

如图59中图解所示,分层图像包括多个层次(分辨率)的图像,所述多个分辨率之中的预定层次的图像被指定为基本层的图像。除基本层的图像之外的各个层次的图像被视为非基本层的图像。As illustrated in FIG. 59 , the layered image includes images of a plurality of layers (resolutions), and images of a predetermined layer among the plurality of resolutions are designated as images of the base layer. The images of the respective layers other than the images of the base layer are regarded as images of the non-base layer.

在进行如图59中图解所示的分层图像编码(空间可缩放性)的情况下,在各层(相同层)中,可以获得量化参数之间的差分。In the case of performing layered image coding (spatial scalability) as illustrated in FIG. 59 , in each layer (the same layer), the difference between the quantization parameters can be obtained.

(1)基本层:(1) Basic layer:

(1-1)dQP(基本层)=Current_CU_QP(基本层)-LCU_QP(基本层)(1-1) dQP (base layer)=Current_CU_QP (base layer)-LCU_QP (base layer)

(1-2)dQP(基本层)=Current_CU_QP(基本层)-Previsous_CU_QP(基本层)(1-2) dQP (base layer)=Current_CU_QP (base layer)-Previsous_CU_QP (base layer)

(1-3)dQP(基本层)=Current_CU_QP(基本层)-Slice_QP(基本层)(1-3) dQP (base layer)=Current_CU_QP (base layer)-Slice_QP (base layer)

(2)非基本层(2) Non-basic layer

(2-1)dQP(非基本层)=Current_CU_QP(非基本层)-LCU_QP(非基本层)(2-1) dQP (non-base layer)=Current_CU_QP (non-base layer)-LCU_QP (non-base layer)

(2-2)dQP(非基本层)=CurrentQP(非基本层)-PrevisousQP(非基本层)(2-2) dQP (non-base layer)=CurrentQP (non-base layer)-PrevisousQP (non-base layer)

(2-3)dQP(非基本层)=Current_CU_QP(非基本层)-Slice_QP(非基本层)(2-3) dQP (non-base layer)=Current_CU_QP (non-base layer)-Slice_QP (non-base layer)

在进行分层编码的情况下,在各层(不同层)中,可以获得量化参数之间的差分。In the case of performing layered encoding, in each layer (different layers), the difference between the quantization parameters can be obtained.

(3)基本层/非基本层:(3) Basic layer/non-basic layer:

(3-1)dQP(层间)=Slice_QP(基本层)-Slice_QP(非基本层)(3-1) dQP (inter-layer)=Slice_QP (base layer)-Slice_QP (non-base layer)

(3-2)dQP(层间)=LCU_QP(基本层)-LCU_QP(非基本层)(3-2) dQP (inter-layer) = LCU_QP (base layer) - LCU_QP (non-base layer)

(4)非基本层/非基本层(4) Non-Basic Layer/Non-Basic Layer

(4-1)dQP(层间)=Slice_QP(非基本层i)-Slice_QP(非基本层j)(4-1) dQP (inter-layer)=Slice_QP (non-base layer i)-Slice_QP (non-base layer j)

(4-2)dQP(层间)=LCU_QP(非基本层i)-LCU_QP(非基本层j)(4-2) dQP (inter-layer) = LCU_QP (non-base layer i) - LCU_QP (non-base layer j)

在这种情况下,可以组合地使用上面说明的(1)-(4)。例如,在非基本层中,可以考虑在切片水平,获得基本层和非基本层的量化参数之间的差分的技术(组合3-1和2-3),和在LCU水平,获得基本层和非基本层的量化参数之间的差分的技术(组合3-2和2-1)。这样,通过重复应用所述差分,在进行分层编码的情况下,也能够提高编码效率。In this case, (1)-(4) described above can be used in combination. For example, in the non-base layer, a technique of obtaining the difference between the quantization parameters of the base layer and the non-base layer at the slice level (combining 3-1 and 2-3) can be considered, and at the LCU level, obtaining the base layer and Techniques for the difference between quantization parameters of non-base layers (combination 3-2 and 2-1). In this way, by repeatedly applying the difference, the coding efficiency can be improved even in the case of performing hierarchical coding.

类似于上述技术,对于上面说明的各个dQP,可以设定用于识别是否存在具有除“0”以外的值的dQP的标记。Similar to the above-described technique, for each dQP explained above, a flag for identifying whether there is a dQP having a value other than "0" can be set.

<分层图像编码设备><Layered Image Coding Device>

图60是图解说明进行上面说明的分层图像编码的分层图像编码设备的示图。如图60中图解所示,分层图像编码设备620包括编码单元621、编码单元622和复用器623。FIG. 60 is a diagram illustrating a layered image encoding apparatus that performs the layered image encoding explained above. As illustrated in FIG. 60 , the layered image encoding apparatus 620 includes an encoding unit 621 , an encoding unit 622 , and a multiplexer 623 .

编码单元621编码基本层图像,从而生成基本层图像编码流。另外,编码单元622编码非基本层图像,从而生成非基本层图像编码流。复用器623复用由编码单元621生成的基本层图像编码流,和由编码单元622 生成的非基本层图像编码流,从而生成分层图像编码流。The encoding unit 621 encodes the base layer image, thereby generating a base layer image encoded stream. In addition, the encoding unit 622 encodes a non-base layer image, thereby generating a non-base layer image encoded stream. The multiplexer 623 multiplexes the base layer image encoded stream generated by the encoding unit 621 and the non-base layer image encoded stream generated by the encoding unit 622, thereby generating a layered image encoded stream.

编码设备10(150和190)可适用于这种分层图像编码设备620的编码单元621和编码单元622。在这种情况下,分层图像编码设备620设定由编码单元621设定的量化参数和由编码单元622设定的量化参数之间的差分,并传送设定的差分。The encoding device 10 ( 150 and 190 ) is applicable to the encoding unit 621 and the encoding unit 622 of such a layered image encoding device 620 . In this case, the layered image encoding apparatus 620 sets the difference between the quantization parameter set by the encoding unit 621 and the quantization parameter set by the encoding unit 622, and transmits the set difference.

<分层图像解码设备><Layered Image Decoding Device>

图61是图解说明进行上面说明的分层图像解码的分层图像解码设备的示图。如图61中图解所示,分层图像解码设备630包括分用器631、解码单元632和解码单元633。FIG. 61 is a diagram illustrating a layered image decoding apparatus that performs the above-explained layered image decoding. As illustrated in FIG. 61 , the layered image decoding apparatus 630 includes a demultiplexer 631 , a decoding unit 632 and a decoding unit 633 .

分用器631分用通过复用基本层图像编码流和非基本层图像编码流而获得的分层图像编码流,从而提取基本层图像编码流和非基本层图像编码流。解码单元632解码分用器631提取的基本层图像编码流,从而获得基本层图像。解码单元633解码分用器631提取的非基本层图像编码流,从而获得非基本层图像。The demultiplexer 631 demultiplexes the layered image coded stream obtained by multiplexing the base layer image coded stream and the non-base layer image coded stream, thereby extracting the base layer image coded stream and the non-base layer image coded stream. The decoding unit 632 decodes the base layer image encoded stream extracted by the demultiplexer 631, thereby obtaining a base layer image. The decoding unit 633 decodes the non-base layer image encoded stream extracted by the demultiplexer 631, thereby obtaining a non-base layer image.

解码设备110(170和210)可适用于这种分层图像解码设备630的解码单元632和解码单元633。在这种情况下,分层图像解码设备630根据编码单元621设定的量化参数和编码单元622设定的量化参数之间的差分,设定量化参数,并进行逆量化。The decoding device 110 ( 170 and 210 ) is applicable to the decoding unit 632 and the decoding unit 633 of such a layered image decoding device 630 . In this case, the layered image decoding device 630 sets the quantization parameter based on the difference between the quantization parameter set by the encoding unit 621 and the quantization parameter set by the encoding unit 622, and performs inverse quantization.

<本技术适用于的计算机的说明><Description of the computer to which this technology is applied>

上述一系列处理可用硬件或者软件执行。在用软件执行所述一系列处理的情况下,构成所述软件的程序被安装到计算机。这里,计算机包括内置到专用硬件中的计算机,通过安装各种程序,能够执行各种功能的计算机,比如通用计算机,等等。The above-described series of processing can be performed by hardware or software. In the case where the series of processing is executed with software, a program constituting the software is installed on a computer. Here, the computer includes a computer built into dedicated hardware, a computer capable of executing various functions by installing various programs, such as a general-purpose computer, and the like.

图62是图解说明按照程序,执行上述一系列处理的计算机的硬件结构的例子的方框图。FIG. 62 is a block diagram illustrating an example of a hardware configuration of a computer that executes the above-described series of processes in accordance with a program.

在计算机中,CPU(中央处理器)801、ROM(只读存储器)802和 RAM(随机存取存储器)803通过总线804互连。In the computer, a CPU (Central Processing Unit) 801 , a ROM (Read Only Memory) 802 and a RAM (Random Access Memory) 803 are interconnected by a bus 804 .

另外,输入/输出接口805连接到总线804。输入单元806、输出单元807、存储单元808、通信单元809和驱动器810连接到输入/输出接口805。In addition, an input/output interface 805 is connected to the bus 804 . An input unit 806 , an output unit 807 , a storage unit 808 , a communication unit 809 , and a drive 810 are connected to the input/output interface 805 .

输入单元806由键盘、鼠标、麦克风等构成。输出单元807由显示器、扬声器等构成。存储单元808由硬盘、非易失性存储器等构成。通信单元809由网络接口等构成。驱动器810驱动可拆卸介质811,比如磁盘、光盘、磁光盘或半导体盘。The input unit 806 is constituted by a keyboard, a mouse, a microphone, and the like. The output unit 807 is constituted by a display, a speaker, and the like. The storage unit 808 is constituted by a hard disk, a nonvolatile memory, or the like. The communication unit 809 is constituted by a network interface and the like. The drive 810 drives a removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor disk.

在如上所述构成的计算机中,CPU 801通过经输入/输出接口805和总线804,把保存在存储单元808中的程序载入RAM 803中,并执行所述程序,进行上面说明的一系列处理。In the computer constructed as described above, the CPU 801 performs a series of processing described above by loading the program stored in the storage unit 808 into the RAM 803 via the input/output interface 805 and the bus 804 and executing the program. .

通过把程序记录在作为套装介质的可拆卸介质811上,可提供由计算机(CPU801)执行的程序。另外,可通过有线或无线传输介质,比如局域网、因特网或数字卫星广播,提供所述程序。By recording the program on the removable medium 811 as a package medium, the program executed by the computer (CPU 801) can be provided. In addition, the program may be provided through a wired or wireless transmission medium, such as a local area network, the Internet, or digital satellite broadcasting.

在计算机中,通过把可拆卸介质811放入驱动器810中,可通过输入/输出接口805,把程序安装到存储单元808中。另外,程序可通过有线或无线传输介质,被通信单元809接收,并安装到存储单元808中。此外,程序可被预先安装到ROM 802或者存储单元808。In the computer, the program can be installed into the storage unit 808 through the input/output interface 805 by putting the removable medium 811 in the drive 810 . In addition, the program can be received by the communication unit 809 and installed in the storage unit 808 through a wired or wireless transmission medium. Also, the program may be pre-installed to the ROM 802 or the storage unit 808 .

另外,计算机执行的程序可以是按照这里说明的顺序,时序地进行处理的程序,或者可以是并行地,或者在必要时,比如当程序被调用时,进行处理的程序。In addition, the program executed by the computer may be a program that is processed sequentially in the order described herein, or may be a program that is processed in parallel, or when necessary, such as when the program is called.

<电视机的结构例子><Structure example of TV set>

图63图解说明本技术适用于的电视机的示意结构。电视机900包括:天线901;调谐器902;分用器903;解码器904;视频信号处理单元905;显示单元906;音频信号处理单元907;扬声器908和外部接口单元909。另外,电视机900包括控制单元910、用户接口单元911等。FIG. 63 illustrates a schematic structure of a television to which the present technology is applied. The television set 900 includes: an antenna 901; a tuner 902; a demultiplexer 903; a decoder 904; a video signal processing unit 905; a display unit 906; In addition, the television set 900 includes a control unit 910, a user interface unit 911, and the like.

调谐器902从通过天线901接收的广播波信号中,选择期望的频道,进行解调,随后把获得的编码比特流输出给分用器903。The tuner 902 selects a desired channel from the broadcast wave signal received through the antenna 901, performs demodulation, and then outputs the obtained encoded bit stream to the demultiplexer 903.

分用器903从编码比特流中,提取作为观看目标的节目的视频或音频的分组,并把提取的分组的数据输出给解码器904。另外,分用器903 把诸如EPG(电子节目指南)之类的数据分组提供给控制单元910。此外,在进行加扰的情况下,利用分用器等解除加扰。The demultiplexer 903 extracts packets of video or audio of the program targeted for viewing from the encoded bit stream, and outputs the data of the extracted packets to the decoder 904 . In addition, the demultiplexer 903 supplies data packets such as EPG (Electronic Program Guide) to the control unit 910 . In addition, when scrambling is performed, the scrambling is canceled by a demultiplexer or the like.

解码器904进行分组的解码处理,把通过解码处理产生的视频数据输出给视频信号处理单元905,把音频数据输出给音频信号处理单元907。The decoder 904 performs packet decoding processing, outputs the video data generated by the decoding processing to the video signal processing unit 905 , and outputs the audio data to the audio signal processing unit 907 .

视频信号处理单元905对视频数据进行噪声消除、与用户设定相应的视频处理等。视频信号处理单元905生成将被显示在显示单元906上的节目的视频数据,与基于通过网络提供的应用的处理相应的图像数据等。另外,视频信号处理单元905生成用于显示菜单屏幕,比如项目选择屏幕等的视频数据,并把生成的视频数据重叠在节目的视频数据上。视频信号处理单元905根据如上生成的视频数据生成驱动信号,并驱动显示单元906。The video signal processing unit 905 performs noise removal on the video data, video processing according to user settings, and the like. The video signal processing unit 905 generates video data of a program to be displayed on the display unit 906, image data corresponding to processing based on an application provided through a network, and the like. In addition, the video signal processing unit 905 generates video data for displaying a menu screen, such as an item selection screen, etc., and superimposes the generated video data on the video data of the program. The video signal processing unit 905 generates a driving signal according to the video data generated as above, and drives the display unit 906 .

显示单元906根据从视频信号处理单元905供给的驱动信号,驱动显示设备(例如,液晶显示设备等),从而显示节目的视频等。The display unit 906 drives a display device (eg, a liquid crystal display device or the like) according to the drive signal supplied from the video signal processing unit 905, thereby displaying the video of the program and the like.

音频信号处理单元907对音频数据进行诸如噪声消除之类的预定处理,进行在该处理之后的音频数据的D/A转换处理,或者音频数据的放大处理,并把结果数据提供给扬声器908,从而进行音频输出。The audio signal processing unit 907 performs predetermined processing such as noise cancellation on the audio data, performs D/A conversion processing of the audio data after the processing, or amplification processing of the audio data, and supplies the resultant data to the speaker 908, thereby for audio output.

外部接口单元909是用于连接到外部设备或网络的接口,并传送/接收诸如视频数据或音频数据之类的数据。The external interface unit 909 is an interface for connecting to an external device or a network, and transmits/receives data such as video data or audio data.

用户接口单元911连接到控制单元910。用户接口911由操作开关、遥控信号接收单元等构成,并把与用户操作相应的操作信号提供给控制单元910。The user interface unit 911 is connected to the control unit 910 . The user interface 911 is composed of an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 910 .

控制单元910由CPU(中央处理器)、存储器等构成。存储器保存由 CPU执行的程序,为CPU执行的处理所必需的各种数据,EPG数据,通过网络获得的数据等等。保存在存储器中的程序由CPU在预定定时,比如启动电视机900时读取和执行。通过执行程序,CPU进行各个单元的控制,以致电视机900按照用户操作工作。The control unit 910 is constituted by a CPU (Central Processing Unit), a memory, and the like. The memory holds programs executed by the CPU, various data necessary for processing executed by the CPU, EPG data, data obtained through a network, and the like. The programs stored in the memory are read and executed by the CPU at predetermined timings, such as when the television 900 is activated. By executing the program, the CPU controls the respective units so that the television 900 operates according to user operations.

另外,在电视机900中,为了把调谐器902、分用器903、视频信号处理单元905、音频信号处理单元907、外部接口单元909等连接到控制单元910,布置有总线912。In addition, in the television set 900, in order to connect the tuner 902, the demultiplexer 903, the video signal processing unit 905, the audio signal processing unit 907, the external interface unit 909, etc. to the control unit 910, a bus 912 is arranged.

在按照这种方式构成的电视机中,在解码器904中实现按照本申请的解码设备(解码方法)的功能。从而,其中与指定参考图像的信息相关的信息的数量被减小的编码流能够被解码。In the television set constructed in this way, the functions of the decoding device (decoding method) according to the present application are realized in the decoder 904 . Thus, an encoded stream in which the amount of information related to information specifying a reference image is reduced can be decoded.

<移动电话机的结构例子><Configuration example of mobile phone>

图64图解说明本技术适用于的移动电话机的示意结构。移动电话机 920包括:通信单元922;音频编解码器923;相机单元926;图像处理单元927;复用/分用单元928;记录/再现单元929;显示单元930和控制单元931。这些单元通过总线933互连。FIG. 64 illustrates a schematic structure of a mobile phone to which the present technology is applied. The mobile phone 920 includes: a communication unit 922; an audio codec 923; a camera unit 926; an image processing unit 927; These units are interconnected by bus 933 .

另外,天线921连接到通信单元922,扬声器924和麦克风925连接到音频编解码器923。此外,操作单元932连接到控制单元931。In addition, the antenna 921 is connected to the communication unit 922 , and the speaker 924 and the microphone 925 are connected to the audio codec 923 . Furthermore, the operation unit 932 is connected to the control unit 931 .

移动电话机920按各种模式,比如语音通话模式和数据通信模式,进行诸如音频信号的传输和接收、电子邮件和图像数据的传输和接收、图像拍摄和数据记录之类的各种操作。The mobile phone 920 performs various operations such as transmission and reception of audio signals, transmission and reception of electronic mail and image data, image capture, and data recording in various modes such as a voice call mode and a data communication mode.

在语音通话模式下,麦克风925产生的音频信号被音频编解码器923 转换成音频数据或者被压缩,作为结果的信号被提供给通信单元922。通信单元922对音频数据进行调制处理、频率变换处理等,从而生成传输信号。另外,通信单元922把传输信号提供给天线921,以便被传送给图中未图解所示的基站。此外,通信单元922对利用天线921接收的接收信号,进行放大处理、频率变换处理、解调处理等,并把获得的音频数据提供给音频编解码器923。音频编解码器923进行音频数据的数据解压缩,把音频数据转换成模拟音频信号,并把结果信号输出给扬声器924。In the voice call mode, the audio signal generated by the microphone 925 is converted into audio data by the audio codec 923 or compressed, and the resulting signal is provided to the communication unit 922 . The communication unit 922 performs modulation processing, frequency conversion processing, etc. on the audio data, thereby generating a transmission signal. In addition, the communication unit 922 supplies the transmission signal to the antenna 921 to be transmitted to a base station not shown in the figure. Further, the communication unit 922 performs amplification processing, frequency conversion processing, demodulation processing, etc. on the reception signal received by the antenna 921 , and supplies the obtained audio data to the audio codec 923 . The audio codec 923 performs data decompression of the audio data, converts the audio data into an analog audio signal, and outputs the resultant signal to the speaker 924 .

另外,在数据通信模式下,当传送邮件时,控制单元931接收利用对操作单元932的操作而输入的字符数据,并把输入的字符显示在显示单元930上。此外,控制单元931根据来自操作单元932的用户指令,生成邮件数据,并把生成的邮件数据提供给通信单元922。通信单元922 对邮件数据进行调制处理、频率变换处理等,然后从天线921传送获得的传输信号。另外,通信单元922对通过天线921接收的接收信号,进行放大处理、频率变换处理、解调处理等,从而恢复邮件数据。所述邮件数据被提供给显示单元930,从而显示邮件的内容。In addition, in the data communication mode, when a mail is transmitted, the control unit 931 receives character data input by an operation on the operation unit 932 and displays the input characters on the display unit 930 . Further, the control unit 931 generates mail data according to a user instruction from the operation unit 932 , and supplies the generated mail data to the communication unit 922 . The communication unit 922 performs modulation processing, frequency conversion processing, etc. on the mail data, and then transmits the obtained transmission signal from the antenna 921 . In addition, the communication unit 922 performs amplification processing, frequency conversion processing, demodulation processing, etc. on the reception signal received through the antenna 921, thereby restoring mail data. The mail data is supplied to the display unit 930, thereby displaying the content of the mail.

另外,移动电话机920可利用记录/再现单元929,把接收的邮件数据保存在存储介质中。存储介质可以是任意可重写存储介质。例如,存储介质是诸如RAM或内置式闪存之类的半导体存储器、硬盘、磁盘、磁光盘、光盘、或者诸如USB存储器或存储卡之类的可拆卸介质。In addition, the mobile phone 920 can use the recording/reproducing unit 929 to store the received mail data in a storage medium. The storage medium may be any rewritable storage medium. For example, the storage medium is a semiconductor memory such as RAM or built-in flash memory, a hard disk, a magnetic disk, a magneto-optical disk, an optical disk, or a removable medium such as a USB memory or a memory card.

在数据通信模式下,当传送图像数据时,利用相机单元926生成的图像数据被提供给图像处理单元927。图像处理单元927进行图像数据的编码处理,从而生成编码数据。In the data communication mode, when transferring image data, the image data generated by the camera unit 926 is supplied to the image processing unit 927 . The image processing unit 927 performs encoding processing of image data, thereby generating encoded data.

复用/分用单元928按照预定方式,复用由图像处理单元927生成的编码数据和从音频编解码器923供给的音频数据,并把复用的数据提供给通信单元922。通信单元922进行复用数据的调制处理、频率变换处理等,然后从天线921传送获得的传输信号。另外,通信单元922对利用天线921接收的接收信号,进行放大处理、频率变换处理、解调处理等,从而恢复复用数据。所述复用数据被提供给复用/分用单元928。复用/分用单元928分离复用数据,把编码数据提供给图像处理器927,并把音频数据提供给音频编解码器923。图像处理器927进行编码数据的解码处理,从而生成图像数据。图像数据被提供给显示单元930,从而接收的图像被显示。音频编解码器923把音频数据转换成模拟音频信号,并把转换的模拟音频信号提供给扬声器924,从而输出接收的音频。The multiplexing/demultiplexing unit 928 multiplexes the encoded data generated by the image processing unit 927 and the audio data supplied from the audio codec 923 in a predetermined manner, and supplies the multiplexed data to the communication unit 922 . The communication unit 922 performs modulation processing of the multiplexed data, frequency conversion processing, and the like, and then transmits the obtained transmission signal from the antenna 921 . In addition, the communication unit 922 performs amplification processing, frequency conversion processing, demodulation processing, etc. on the reception signal received by the antenna 921, thereby restoring the multiplexed data. The multiplexed data is supplied to the multiplexing/demultiplexing unit 928 . The multiplexing/demultiplexing unit 928 separates the multiplexed data, supplies the encoded data to the image processor 927, and supplies the audio data to the audio codec 923. The image processor 927 performs decoding processing of the encoded data, thereby generating image data. The image data is supplied to the display unit 930 so that the received image is displayed. The audio codec 923 converts the audio data into an analog audio signal, and supplies the converted analog audio signal to the speaker 924, thereby outputting the received audio.

在按照这种方式构成的移动电话机设备中,在图像处理单元927中实现按照本申请的编码设备和解码设备(编码方法和解码方法)的功能。因而,其中与指定参考图像的信息相关的信息的数量被减小的编码流能够被解码。In the mobile phone device constructed in this way, the functions of the encoding device and the decoding device (encoding method and decoding method) according to the present application are realized in the image processing unit 927 . Thus, an encoded stream in which the amount of information related to information specifying a reference image is reduced can be decoded.

<记录和再现设备的结构例子><Structure example of recording and reproducing apparatus>

图65图解说明本技术适用于的记录和再现设备的示意结构。例如,记录和再现设备940把接收的广播节目的音频数据和视频数据记录在记录介质上,并在与用户的指令相应的定时,把记录的数据提供给用户。另外,例如,记录和再现设备940可从另一个设备获得音频数据和视频数据,并把音频数据和视频数据记录在记录介质上。此外,记录和再现设备940解码并输出记录在记录介质上的音频数据和视频数据,从而在监视器等中,能够进行图像的显示或音频的输出。FIG. 65 illustrates a schematic structure of a recording and reproducing apparatus to which the present technology is applied. For example, the recording and reproducing apparatus 940 records audio data and video data of the received broadcast program on a recording medium, and provides the recorded data to the user at timing corresponding to the user's instruction. In addition, for example, the recording and reproducing apparatus 940 may obtain audio data and video data from another apparatus and record the audio data and video data on a recording medium. Furthermore, the recording and reproducing device 940 decodes and outputs audio data and video data recorded on the recording medium, so that in a monitor or the like, display of images or output of audio can be performed.

记录和再现设备940包括:调谐器941;外部接口单元942;编码器 943;HDD(硬盘驱动器)单元944;光盘驱动器945;选择器946;解码器947;OSD(屏上显示器)单元948;控制单元949;和用户接口单元950。The recording and reproducing apparatus 940 includes: a tuner 941; an external interface unit 942; an encoder 943; an HDD (Hard Disk Drive) unit 944; an optical disc drive 945; a selector 946; a decoder 947; unit 949; and user interface unit 950.

调谐器941从通过图中未图示的天线接收的广播信号中,选择期望的频道。调谐器941把通过解调期望频道的接收信号而获得的编码比特流输出给选择器946。The tuner 941 selects a desired channel from a broadcast signal received through an antenna (not shown). The tuner 941 outputs the encoded bit stream obtained by demodulating the reception signal of the desired channel to the selector 946 .

外部接口单元942由IEEE 1394接口、网络接口单元、USB接口、闪存接口等至少之一构成。外部接口单元942是连接到外部设备、网络、存储卡等的接口,进行待记录的视频数据、音频数据等的数据接收。The external interface unit 942 is constituted by at least one of an IEEE 1394 interface, a network interface unit, a USB interface, a flash memory interface, and the like. The external interface unit 942 is an interface connected to an external device, a network, a memory card, and the like, and performs data reception of video data, audio data, and the like to be recorded.

当从外部接口单元942供给的视频数据和音频数据未被编码时,编码器943按照预定方式,对所述视频数据和音频数据编码,随后把编码比特流输出给选择器946。When the video data and audio data supplied from the external interface unit 942 are not encoded, the encoder 943 encodes the video data and audio data in a predetermined manner, and then outputs the encoded bit stream to the selector 946 .

HDD单元944把诸如视频和音频、各种程序、其它数据之类的内容数据记录在内置硬盘上,并在再现时之际等等,从硬盘读取记录的数据。The HDD unit 944 records content data such as video and audio, various programs, and other data on the built-in hard disk, and reads the recorded data from the hard disk upon reproduction or the like.

光盘驱动器945对装入的光盘进行信号记录和信号再现。光盘例如是DVD光盘(DVD-视频、DVD-RAM、DVD-R、DVD-RW、DVD+R、 DVD+RW等),蓝光(注册商标)光盘等。The optical disc drive 945 performs signal recording and signal reproduction on the loaded optical disc. The optical disc is, for example, a DVD disc (DVD-Video, DVD-RAM, DVD-R, DVD-RW, DVD+R, DVD+RW, etc.), Blu-ray (registered trademark) disc, or the like.

当记录视频或音频时,选择器946选择从调谐器941或编码器943 供给的编码比特流,并把选择的编码比特流输出给HDD单元944和光盘驱动器945之一。另外,当再现视频或音频时,选择器946把从HDD单元944或光盘驱动器945输出的编码比特流提供给解码器947。When recording video or audio, the selector 946 selects the encoded bit stream supplied from the tuner 941 or the encoder 943, and outputs the selected encoded bit stream to one of the HDD unit 944 and the optical disc drive 945. In addition, the selector 946 supplies the encoded bit stream output from the HDD unit 944 or the optical disc drive 945 to the decoder 947 when reproducing video or audio.

解码器947进行编码比特流的解码处理。解码器947把通过进行解码处理生成的视频数据提供给OSD单元948。另外,解码器947输出通过进行解码处理生成的音频数据。The decoder 947 performs decoding processing of the encoded bit stream. The decoder 947 supplies the video data generated by performing the decoding process to the OSD unit 948 . In addition, the decoder 947 outputs audio data generated by performing decoding processing.

OSD单元948生成用于显示菜单屏幕,比如项目选择菜单等的视频数据,并且输出生成的视频数据,以致与从解码器947输出的视频数据重叠。The OSD unit 948 generates video data for displaying a menu screen, such as an item selection menu, etc., and outputs the generated video data so as to overlap with the video data output from the decoder 947 .

用户接口单元950连接到控制单元949。用户接口单元950由操作开关、遥控信号接收单元等构成,并把与用户操作相应的操作信号提供给控制单元949。The user interface unit 950 is connected to the control unit 949 . The user interface unit 950 is composed of an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 949 .

控制单元949是通过利用CPU、存储器等构成的。存储器保存由 CPU执行的程序,和为CPU进行的处理所必需的各种数据。保存在存储器中的程序由CPU在预定定时,比如启动记录和再现设备940时读取和执行。CPU执行程序,从而进行各个单元的控制,以致记录和再现设备940按照用户操作工作。The control unit 949 is constituted by using a CPU, a memory, and the like. The memory stores programs executed by the CPU and various data necessary for the processing performed by the CPU. The program stored in the memory is read and executed by the CPU at predetermined timing, such as when the recording and reproducing apparatus 940 is activated. The CPU executes the program, thereby performing control of the respective units, so that the recording and reproducing apparatus 940 operates according to user operations.

在按照这种方式构成的记录和再现设备中,在解码器947中实现按照本申请的解码设备(解码方法)的功能。从而,其中与指定参考图像的信息相关的信息的数量被减小的编码流能够被解码。In the recording and reproducing apparatus constructed in this way, the functions of the decoding apparatus (decoding method) according to the present application are realized in the decoder 947 . Thus, an encoded stream in which the amount of information related to information specifying a reference image is reduced can be decoded.

<成像设备的结构例子><Configuration example of imaging apparatus>

图66是图解说明本技术适用于的成像设备的示意结构的例子的示图。成像设备960对被摄物体进行成像,并把被摄物体的图像显示在显示单元上,或者把被摄物体的图像作为图像数据,记录在记录介质上。FIG. 66 is a diagram illustrating an example of a schematic structure of an imaging apparatus to which the present technology is applied. The imaging device 960 images the subject and displays the image of the subject on the display unit, or records the image of the subject as image data on a recording medium.

成像设备960包括:光学部件961;成像单元962;照相机信号处理单元963;图像数据处理单元964;显示单元965;外部接口单元966;存储单元967;介质驱动器968;OSD单元969;和控制单元970。另外,用户接口单元971连接到控制单元970。此外,图像数据处理单元964、外部接口单元966、存储单元967、介质驱动器968、OSD单元969、控制单元970等通过总线972互连。The imaging device 960 includes: an optical component 961; an imaging unit 962; a camera signal processing unit 963; an image data processing unit 964; a display unit 965; an external interface unit 966; a storage unit 967; . In addition, the user interface unit 971 is connected to the control unit 970 . Further, the image data processing unit 964 , the external interface unit 966 , the storage unit 967 , the media drive 968 , the OSD unit 969 , the control unit 970 and the like are interconnected through the bus 972 .

通过利用聚焦透镜、光圈机构等,构成光学部件961。光学部件961 在成像单元962的像面上形成被摄物体的光学图像。成像单元962是通过利用CCD或CMOS图像传感器构成的,通过光电转换生成与光图像相应的电信号,并把生成的电信号提供给信号处理单元963。The optical member 961 is constituted by using a focus lens, a diaphragm mechanism, and the like. The optical member 961 forms an optical image of the subject on the image plane of the imaging unit 962 . The imaging unit 962 is constructed by using a CCD or a CMOS image sensor, generates electrical signals corresponding to the optical image through photoelectric conversion, and supplies the generated electrical signals to the signal processing unit 963 .

照相机信号处理单元963对从成像单元962供给的图像信号进行各种照相机信号处理,比如拐点校正、γ校正和颜色校正。照相机信号处理单元963把照相机信号处理之后的图像数据提供给图像数据处理单元 964。The camera signal processing unit 963 performs various camera signal processing, such as knee correction, gamma correction, and color correction, on the image signal supplied from the imaging unit 962 . The camera signal processing unit 963 supplies the image data after the camera signal processing to the image data processing unit 964.

图像数据处理单元964进行从照相机信号处理单元963供给的图像数据的编码处理。图像数据处理单元964把通过进行编码处理生成的编码数据提供给外部接口单元966或介质驱动器968。另外,图像数据处理单元964进行从外部接口单元966或介质驱动器968供给的编码数据的解码处理。图像数据处理单元964把通过进行解码处理生成的图像数据提供给显示单元965。另外,图像数据处理单元964进行把从照相机信号处理单元963提供的图像数据供给显示单元965的处理,并把从OSD单元969获得的显示数据与图像数据叠加地提供给显示单元965。The image data processing unit 964 performs encoding processing of the image data supplied from the camera signal processing unit 963 . The image data processing unit 964 supplies the encoded data generated by performing the encoding process to the external interface unit 966 or the media drive 968 . In addition, the image data processing unit 964 performs decoding processing of the encoded data supplied from the external interface unit 966 or the media drive 968 . The image data processing unit 964 supplies the image data generated by performing the decoding process to the display unit 965 . In addition, the image data processing unit 964 performs processing of supplying image data supplied from the camera signal processing unit 963 to the display unit 965, and supplies the display data obtained from the OSD unit 969 to the display unit 965 superimposed with the image data.

OSD单元969生成诸如由符号、字符或图形构成的菜单屏幕或图标之类的显示数据,并把生成的显示数据输出给图像数据处理单元964。The OSD unit 969 generates display data such as a menu screen or icons composed of symbols, characters, or graphics, and outputs the generated display data to the image data processing unit 964 .

外部接口单元966例如由USB输入/输出端子等构成,并在打印图像的情况下,连接到打印机。另外,必要时,驱动器被连接到外部接口单元966,适当地放入可拆卸介质,比如磁盘或光盘,并在必要时,安装从可拆卸介质读取的计算机程序。此外,外部接口单元966包括连接到预定网络,比如LAN或因特网的网络接口。例如,按照来自用户接口单元 971的指令,控制单元970可从介质驱动器968读取编码数据,把读取的编码数据从外部接口单元968提供给通过网络连接的另一个设备。另外,控制单元970可通过外部接口单元966,获得通过网络从另一个设备供给的编码数据或图像数据,并把获得的数据提供给图像数据处理单元964。The external interface unit 966 is constituted by, for example, a USB input/output terminal or the like, and in the case of printing an image, is connected to a printer. In addition, when necessary, a drive is connected to the external interface unit 966, a removable medium such as a magnetic disk or an optical disk is appropriately placed, and when necessary, a computer program read from the removable medium is installed. Further, the external interface unit 966 includes a network interface connected to a predetermined network such as a LAN or the Internet. For example, in accordance with an instruction from the user interface unit 971, the control unit 970 may read encoded data from the media drive 968, and provide the read encoded data from the external interface unit 968 to another device connected through a network. In addition, the control unit 970 may obtain encoded data or image data supplied from another device through a network through the external interface unit 966, and supply the obtained data to the image data processing unit 964.

作为由介质驱动器968驱动的记录介质,例如,使用任意可读/可写的可拆卸介质,比如磁盘、磁光盘、光盘或半导体存储器。另外,作为可拆卸介质的记录介质的种类是任意的,从而可以是磁带设备、磁盘或存储卡。此外,非接触式IC(集成电路)卡等可以用作记录介质。As the recording medium driven by the media drive 968, for example, any readable/writable removable medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory is used. In addition, the kind of the recording medium as the removable medium is arbitrary, and thus may be a tape device, a magnetic disk, or a memory card. In addition, a non-contact IC (Integrated Circuit) card or the like can be used as the recording medium.

另外,通过把介质驱动器968和记录介质结合在一起,例如,记录介质可由诸如内置式硬盘驱动器或SSD(固态驱动器)之类的不可便携记录介质构成。In addition, by combining the media drive 968 and the recording medium, for example, the recording medium may be constituted by a non-portable recording medium such as a built-in hard disk drive or an SSD (Solid State Drive).

控制单元970是通过利用CPU构成的。存储单元967保存由控制单元970执行的程序,为控制单元970进行的处理所必需的各种数据等。保存在存储单元967中的程序由控制单元970在预定定时,比如启动成像设备960时读取和执行。控制单元970执行程序,从而进行各个单元的控制,以致成像设备960按照用户操作工作。The control unit 970 is constituted by using a CPU. The storage unit 967 stores programs executed by the control unit 970 , various data necessary for processing by the control unit 970 , and the like. The programs stored in the storage unit 967 are read and executed by the control unit 970 at predetermined timings, such as when the image forming apparatus 960 is activated. The control unit 970 executes a program to perform control of the respective units so that the image forming apparatus 960 operates according to user operations.

在按照这种方式构成的成像设备中,在图像数据处理单元964中实现按照本申请的编码设备和解码设备(编码方法和解码方法)的功能。从而,能够减少与指定参考图像的信息相关的信息的数量。另外,其中与指定参考图像的信息相关的信息的数量被减小的编码流能够被解码。In the imaging device constructed in this way, the functions of the encoding device and the decoding device (encoding method and decoding method) according to the present application are realized in the image data processing unit 964 . Thus, the amount of information related to the information specifying the reference image can be reduced. In addition, an encoded stream in which the amount of information related to information specifying a reference image is reduced can be decoded.

<分层编码的应用例子><Application example of hierarchical coding>

(第一系统)(First System)

下面说明分层编码(可缩放地编码)的可缩放编码数据的具体使用例子。和图67中图解所示的例子中一样,可缩放编码例如用于选择待传送的数据。A specific example of use of the hierarchically encoded (scalably encoded) scalable encoded data will be described below. As in the example illustrated in Figure 67, scalable coding is used, for example, to select data to be transmitted.

在图67中图解所示的数据传输系统1000中,分发服务器1002读取保存在可缩放编码数据存储单元1001中的可缩放编码数据,并经网络 1003,把读取的可缩放编码数据分发给终端设备,比如个人计算机1004、 AV设备1005、平板设备1006或移动电话机1007。In the data transmission system 1000 illustrated in FIG. 67, the distribution server 1002 reads the scalable encoded data stored in the scalable encoded data storage unit 1001, and distributes the read scalable encoded data to the via the network 1003 A terminal device such as a personal computer 1004 , an AV device 1005 , a tablet device 1006 or a mobile phone 1007 .

此时,分发服务器1002按照终端设备的能力、通信环境等,选择并传送具有适当质量的编码数据。即使当分发服务器1002传送质量不必要地高的数据时,在终端设备中也不能获得高质量图像,并且存在可能导致延迟或上溢的发生的顾虑。另外,存在会不必要地占据通信带宽,或者会不必要地增大终端设备的负荷的顾虑。相反,当分发服务器1002传送质量不必要地低的数据时,存在在终端设备中不能获得具有足够画质的图像的顾虑。从而,分发服务器1002适当地读取和传送保存在可缩放编码数据单元1001中的可缩放编码数据,作为具有适合于终端设备的能力、通信环境等的质量的编码数据。At this time, the distribution server 1002 selects and transmits encoded data having an appropriate quality in accordance with the capabilities of the terminal device, the communication environment, and the like. Even when the distribution server 1002 transmits data of unnecessarily high quality, high-quality images cannot be obtained in the terminal device, and there is a concern that delay or overflow may occur. In addition, there is a concern that the communication bandwidth will be unnecessarily occupied or the load of the terminal device will be unnecessarily increased. On the contrary, when the distribution server 1002 transmits data of unnecessarily low quality, there is a concern that an image with sufficient picture quality cannot be obtained in the terminal device. Thereby, the distribution server 1002 appropriately reads and transmits the scalable encoded data stored in the scalable encoded data unit 1001 as encoded data having a quality suitable for the capabilities of the terminal device, the communication environment, and the like.

例如,假定可缩放编码数据存储单元1001保存按照可缩放方式编码的可缩放编码数据(BL+EL)1011。该可缩放编码数据(BL+EL)1011是包括基本层和增强层的编码数据,并且是通过解码可缩放编码数据能够从其获得基本层的图像和增强层的图像的数据。For example, it is assumed that the scalable encoded data storage unit 1001 holds the scalable encoded data (BL+EL) 1011 encoded in a scalable manner. This scalable encoded data (BL+EL) 1011 is encoded data including a base layer and an enhancement layer, and is data from which an image of the base layer and an image of the enhancement layer can be obtained by decoding the scalable encoded data.

分发服务器1002按照传送数据的终端的能力、通信环境等,选择适当层,并读取该层的数据。例如,对于具有高处理能力的个人计算机1004 或平板设备1006,分发服务器1002从可缩放编码数据存储单元1001,读取高质量的可缩放编码数据(BL+EL)1011,并原样传送该可缩放编码数据。相反,例如,对于具有低处理能力的AV设备1005和移动电话机1007,分发服务器1002从可缩放编码数据(BL+EL)1011中,提取基本层的数据,并传送内容和可缩放编码数据(BL+EL)1011相同、但是质量比可缩放编码数据(BL+EL)低的可缩放编码数据(BL)1012。The distribution server 1002 selects an appropriate layer according to the capability of the terminal transmitting the data, the communication environment, and the like, and reads the data of the layer. For example, for a personal computer 1004 or a tablet device 1006 having high processing power, the distribution server 1002 reads high-quality scalable encoded data (BL+EL) 1011 from the scalable encoded data storage unit 1001, and transmits the scalable encoded data as it is encoded data. In contrast, for example, for the AV equipment 1005 and the mobile phone 1007 having low processing power, the distribution server 1002 extracts the data of the base layer from the scalable encoded data (BL+EL) 1011, and transmits the content and the scalable encoded data ( Scalable coded data (BL) 1012 which is the same as BL+EL) 1011 but of lower quality than scalable coded data (BL+EL).

如上所述,通过利用可缩放编码数据,能够容易地调整数据量。从而,能够抑制延迟或上溢的发生,并且能够抑制终端设备或通信介质的负荷的不必要增大。另外,在可缩放编码数据(BL+EL)1011中,由于各层之间的冗余被减小,因此与各层的编码数据被配置成单独数据的情况相比,数据量可被减小。因而,能够更有效地利用可缩放编码数据存储单元1001的存储区。As described above, by utilizing scalable encoded data, the amount of data can be easily adjusted. Therefore, the occurrence of delay or overflow can be suppressed, and unnecessary increase in the load of the terminal device or the communication medium can be suppressed. In addition, in the scalable encoded data (BL+EL) 1011, since the redundancy between the layers is reduced, the amount of data can be reduced compared to the case where the encoded data of the layers are arranged as separate data . Thus, the storage area of the scalable encoded data storage unit 1001 can be used more efficiently.

另外,类似于个人计算机1004和移动电话机1007,各种设备可用作终端设备,从而,终端设备的硬件的能力随设备而不同。此外,由于存在由终端设备执行的各种应用程序,因此存在软件的各种能力。另外,作为充当通信介质的网络1003,可以应用所有通信线路网任意之一,包括有线和/或无线网络,比如因特网和LAN(局域网),从而数据传输能力不同。此外,存在数据传输能力会按照其它通信等而变化的顾虑。In addition, similar to the personal computer 1004 and the mobile phone 1007, various devices can be used as terminal devices, so that the capabilities of the hardware of the terminal devices vary from device to device. Furthermore, since there are various application programs executed by the terminal device, there are various capabilities of the software. In addition, as the network 1003 serving as a communication medium, any one of all communication line networks can be applied, including wired and/or wireless networks such as the Internet and a LAN (Local Area Network), so that data transmission capabilities differ. Furthermore, there is a concern that the data transmission capability may vary according to other communications and the like.

从而,在开始数据传输之前,分发服务器1002可以与作为数据的传输目的地的终端设备通信,以便获得关于该终端设备的能力的信息,比如所述终端设备的硬件能力,和所述终端设备执行的应用(软件)的能力,以及关于通信环境的信息,比如网络1003的可用带宽等。另外,分发服务器1002可被配置成根据这里获得的信息,选择适当的层。Thus, before starting data transmission, the distribution server 1002 can communicate with a terminal device that is a transmission destination of data to obtain information on the capabilities of the terminal device, such as the hardware capabilities of the terminal device, and the terminal device execution The capabilities of the application (software) of the network, and information about the communication environment, such as the available bandwidth of the network 1003, etc. Additionally, distribution server 1002 may be configured to select the appropriate tier based on the information obtained herein.

另外,层的提取可由终端设备进行。例如,个人计算机1004可解码传送的可缩放编码数据(BL+EL)1011,并显示基本层的图像或增强层的图像。此外,例如,个人计算机1004可从传送的可缩放编码数据(BL+EL) 1011中,提取基本层的可缩放编码数据(BL)1012,保存提取的可缩放编码数据,把提取的可缩放编码数据传送给另一个设备,或者解码提取的可缩放编码数据,从而显示基本层的图像。In addition, the extraction of layers can be performed by the terminal device. For example, the personal computer 1004 can decode the transmitted scalable encoded data (BL+EL) 1011 and display the image of the base layer or the image of the enhancement layer. Also, for example, the personal computer 1004 may extract the base layer scalable encoded data (BL) 1012 from the transmitted scalable encoded data (BL+EL) 1011, save the extracted scalable encoded data, and store the extracted scalable encoded data. The data is transmitted to another device, or the extracted scalable encoded data is decoded, thereby displaying the image of the base layer.

这里,显然可缩放编码数据存储单元1001,分发服务器1002,网络 1003和终端设备的数目都是任意的。在上面的说明中,尽管说明了其中分发服务器1002向终端设备传送数据的例子,不过使用例子并不局限于此。数据传输系统1000可以应用于任何系统,只要当向终端设备传送按可缩放方式编码的编码数据时,所述系统按照终端设备的能力、通信环境等,选择适当层,并传送选择的层即可。Here, it is obvious that the numbers of scalable encoded data storage units 1001, distribution servers 1002, networks 1003 and terminal devices are arbitrary. In the above description, although the example in which the distribution server 1002 transmits data to the terminal device is described, the use example is not limited to this. The data transmission system 1000 can be applied to any system, as long as the system selects an appropriate layer according to the capabilities of the terminal device, the communication environment, etc., and transmits the selected layer when transmitting encoded data encoded in a scalable manner to the terminal device .

(第二系统)(Second system)

另外,如图68中图解所示的例子中一样,可缩放编码用于经多种通信介质的传输。Additionally, as in the example illustrated in Figure 68, scalable encoding is used for transmission over a variety of communication media.

在图68中图解所示的数据传输系统1100中,广播站1101通过地面广播1111,传送基本层的可缩放编码数据(BL)1121。另外,广播站1101 通过由有线和/或无线通信网络构成的任意网络1112,传送增强层的可缩放编码数据(EL)1122(例如,数据被分包和传送)。In the data transmission system 1100 illustrated in FIG. 68, the broadcasting station 1101 transmits the scalable encoded data (BL) 1121 of the base layer through the terrestrial broadcasting 1111. In addition, the broadcast station 1101 transmits scalable encoded data (EL) 1122 of the enhancement layer (eg, the data is packetized and transmitted) through any network 1112 consisting of wired and/or wireless communication networks.

终端设备1102具有接收由广播站1101广播的地面广播1111的功能,并接收通过地面广播1111传送的基本层的可缩放编码数据(BL)1121。另外,终端设备1102还具有通过网络1112进行通信的通信功能,并接收通过网络1112传送的增强层的可缩放编码数据(EL)1122。The terminal device 1102 has a function of receiving the terrestrial broadcast 1111 broadcast by the broadcasting station 1101 , and receives the scalable encoded data (BL) 1121 of the base layer transmitted through the terrestrial broadcast 1111 . In addition, the terminal device 1102 also has a communication function to communicate through the network 1112 and receives the scalable encoded data (EL) 1122 of the enhancement layer transmitted through the network 1112 .

终端设备1102例如按照用户指令等,通过解码经地面广播1111获得的基本层的可缩放编码数据(BL)1121,获得基本层的图像,保存获得的可缩放编码数据,或者把获得的可缩放编码数据传送给另一个设备。The terminal device 1102 obtains the image of the base layer by decoding the scalable coded data (BL) 1121 of the base layer obtained through the terrestrial broadcast 1111, for example, according to user instructions, etc., and saves the obtained scalable coded data, or converts the obtained scalable coded data. data to another device.

另外,终端设备1102例如按照用户指令等,组合通过地面广播1111 获得的基本层的可缩放编码数据(BL)1121和通过网络1112获得的增强层的可缩放编码数据(EL)1122,从而获得可缩放编码数据(BL+EL),解码所述可缩放编码数据,以获得增强层的图像,保存获得的可缩放编码数据,或者把可缩放编码数据传送给另一个设备。In addition, the terminal device 1102 combines the scalable coded data (BL) 1121 of the base layer obtained through the terrestrial broadcast 1111 and the scalable coded data (EL) 1122 of the enhancement layer obtained through the network 1112, for example, in accordance with a user's instruction or the like, thereby obtaining scalable Scale the coded data (BL+EL), decode the scalable coded data to obtain an image of the enhancement layer, save the obtained scalable coded data, or transmit the scalable coded data to another device.

如上所述,可以经对每层来说不同的通信介质,传送可缩放编码数据。从而,可以分散负荷,并且能够抑制延迟或上溢的发生。As described above, scalable encoded data may be communicated over a communication medium that is different for each layer. Therefore, the load can be distributed, and the occurrence of delay or overflow can be suppressed.

另外,取决于状况,用于传输的通信介质可被配置为针对每一层进行选择。例如,可配置为通过具有较大带宽的通信介质,传送数据量较大的基本层的可缩放编码数据(BL)1121,可通过带宽较窄的通信介质,传送数据量较小的增强层的可缩放编码数据(EL)1122。另外,例如,按照网络1112的可用带宽,经其传送增强层的可缩放编码数据(EL)1122 的通信介质可被配置为在网络1112和地面广播1111之间切换。这类似地适用于任意层的数据。Additionally, depending on the situation, the communication medium used for transmission may be configured to be selected for each layer. For example, the scalable coded data (BL) 1121 of the base layer may be configured to transmit a relatively large amount of data over a communication medium with a larger bandwidth, and the data of an enhancement layer of a smaller amount of data may be transmitted over a communication medium with a narrower bandwidth. Scalable encoded data (EL) 1122. In addition, the communication medium over which the scalable encoded data (EL) 1122 of the enhancement layer is transmitted may be configured to switch between the network 1112 and the terrestrial broadcast 1111, for example, according to the available bandwidth of the network 1112. This applies similarly to arbitrary layers of data.

通过如此进行控制,能够进一步抑制数据传输负荷的增大。By performing such control, it is possible to further suppress an increase in the data transmission load.

这里,层数是任意的,用于传输的通信介质的数目也是任意的。另外,作为数据的分发目的地的终端设备1102的数目也是任意的。此外,在上面的说明中,尽管举例说明了从广播站1101进行广播的例子,不过使用例子并不局限于此。数据传输系统1100可应用于任何系统,只要所述系统以层为单位,把可扩展地编码的编码数据分成多个部分,并通过多条线路传送分割的数据即可。Here, the number of layers is arbitrary, as is the number of communication media used for transmission. In addition, the number of terminal apparatuses 1102 as the distribution destination of data is also arbitrary. Further, in the above description, although the example of broadcasting from the broadcasting station 1101 has been exemplified, the use example is not limited to this. The data transmission system 1100 can be applied to any system as long as the system divides the coded data that is expansibly encoded into a plurality of parts in units of layers, and transmits the divided data through a plurality of lines.

(第三系统)(Third system)

另外,如图69中图解所示的例子中一样,可缩放编码数据也用于保存编码数据。In addition, as in the example illustrated in FIG. 69, scalable encoded data is also used to hold encoded data.

在图69中图解所示的成像系统1200中,成像设备1201进行通过对被摄物体1211成像而获得的图像数据的可缩放编码,并把作为结果的图像数据作为可缩放编码数据(BL+EL)1221,提供给可缩放编码数据存储设备1202。In the imaging system 1200 illustrated in FIG. 69, the imaging apparatus 1201 performs scalable encoding of image data obtained by imaging a subject 1211, and takes the resulting image data as scalable encoded data (BL+EL ) 1221, provided to the scalable encoded data storage device 1202.

可缩放编码数据存储设备1202以与状况相应的质量,保存从成像设备1201供给的可缩放编码数据(BL+EL)1221。例如在正常时,可缩放编码数据存储设备1202从可缩放编码数据(BL+EL)1221中,提取基本层的数据,并保存提取的数据,作为质量低、并且数据量小的基本层的可缩放编码数据(BL)1222。相反,例如在关注时,可缩放编码数据存储设备1202原样保存质量高、且数据量大的可缩放编码数据(BL+EL)1221。The scalable encoded data storage device 1202 stores the scalable encoded data (BL+EL) 1221 supplied from the imaging device 1201 with a quality corresponding to the situation. For example, in normal operation, the scalable coded data storage device 1202 extracts the data of the base layer from the scalable coded data (BL+EL) 1221, and saves the extracted data as a scalable base layer with low quality and a small amount of data. Scaled encoded data (BL) 1222. On the contrary, for example, when paying attention, the scalable encoded data storage device 1202 stores the scalable encoded data (BL+EL) 1221 of high quality and large amount of data as it is.

这样,可缩放编码数据存储设备1202可以只有当必需时,才高画质地保存图像。从而,能够抑制数据量的增大,同时抑制由图像质量的降低引起的图像价值的降低,由此能够提高存储区的使用效率。In this way, the scalable encoded data storage device 1202 can save images in high quality only when necessary. Accordingly, it is possible to suppress an increase in the amount of data, and at the same time, to suppress a decrease in image value caused by a decrease in image quality, whereby the use efficiency of the storage area can be improved.

例如,假定成像设备1201是监控相机。在监控对象(例如入侵者)未出现在拍摄的图像中(正常时)的情况下,拍摄图像的内容不重要的可能性高,从而,优先考虑数据量的降低,从而低质量地保存图像数据(可缩放编码数据)。相反,在监控对象作为被摄物体1211,出现在拍摄的图像中 (关注时)的情况下,拍摄图像的内容重要的可能性高,从而,优先考虑图像质量,从而高质量地保存图像数据(可缩放编码数据)。For example, assume that the imaging device 1201 is a surveillance camera. In the case where a monitoring object (such as an intruder) does not appear in the captured image (at the normal time), there is a high possibility that the content of the captured image is not important, and therefore, priority is given to reduction in the amount of data, thereby saving image data with low quality (scalable encoded data). Conversely, when the monitoring object appears in the captured image as the subject 1211 (at the time of attention), the content of the captured image is highly likely to be important, and the image quality is given priority to save the image data ( scalable encoded data).

这里,通过利用可缩放编码数据存储设备1202分析图像,可以判定是正常时还是关注时。另外,可以配置成判定处理由成像设备1201进行,判定结果被传送给可缩放编码数据存储设备1202。Here, by analyzing the image using the scalable coded data storage device 1202, it can be determined whether it is a normal time or an attention time. In addition, it may be configured that the determination process is performed by the imaging device 1201 and the determination result is transmitted to the scalable encoded data storage device 1202 .

这里,判定正常时或关注时的判定标准是任意标准,作为判定标准的图像的内容是任意内容。另外,除图像的内容之外的条件可被设定成判定标准。例如,可以按照记录语音的大小、波形等,改变判定,可以每隔预定时间改变判定,或者可以按照从外部供给的指令(比如用户指令)改变判定。Here, the criterion for determining the normal state or the time of interest is an arbitrary criterion, and the content of the image as the criterion for determining is an arbitrary content. In addition, conditions other than the content of the image may be set as the determination criteria. For example, the judgment may be changed according to the size, waveform, etc. of the recorded voice, the judgment may be changed every predetermined time, or the judgment may be changed according to an instruction supplied from the outside (such as a user instruction).

另外,在上面的说明中,尽管说明了其中进行正常时和关注时两种状态之间的切换的例子,不过,状态的数目是任意的。从而,例如,可以配置成以致在3种或者更多种状态,包括正常时,弱关注时,关注时和强关注时之间进行切换。然而,在其间进行切换的状态的上限数取决于可缩放编码数据的层数。In addition, in the above description, although the example in which the switching between the two states of the normal time and the attention time is performed is described, the number of states is arbitrary. Thus, for example, it may be configured so as to switch between three or more states including normal time, weak focus time, focus time, and strong focus time. However, the upper limit of the number of states to switch between depends on the number of layers of scalable encoded data.

此外,成像设备1201可被配置成按照状态,确定可缩放编码的层数。例如,正常时,成像设备1201可被配置成生成质量低、并且数据量小的基本层的可缩放编码数据(BL)1222,并把生成的可缩放编码数据提供给可缩放编码数据存储设备1202。另外,例如,关注时,成像设备1201 可生成质量高、并且数据量大的基本层的可缩放编码数据(BL+EL)1221,并把生成的可缩放编码数据提供给可缩放编码数据存储设备1202。Furthermore, the imaging device 1201 may be configured to determine the number of layers of scalable encoding according to the state. For example, normally, the imaging device 1201 may be configured to generate scalable encoded data (BL) 1222 of a base layer of low quality and a small amount of data, and to provide the generated scalable encoded data to the scalable encoded data storage device 1202 . In addition, for example, the imaging device 1201 may generate scalable encoded data (BL+EL) 1221 of the base layer with high quality and a large amount of data, and supply the generated scalable encoded data to the scalable encoded data storage device, for example 1202.

在上面的说明中,尽管举例说明了监控相机,不过,这种成像系统 1200的应用是任意的,并不局限于监控相机。In the above description, although a surveillance camera is exemplified, the application of this imaging system 1200 is arbitrary and is not limited to surveillance cameras.

这里,LCU是具有最大大小的CU(编码单元),CTU(编码树单元) 是包括LCU的CTB(编码树块)和在LCU基础(级)进行处理时的参数的单元。另外,构成CTU的CU是包括CB(编码块)和在CU基础(级)进行处理时的参数的单元。Here, an LCU is a CU (coding unit) having the largest size, and a CTU (coding tree unit) is a unit including a CTB (coding tree block) of the LCU and parameters when processing is performed on an LCU basis (level). In addition, a CU constituting a CTU is a unit including a CB (coding block) and parameters when processing is performed on a CU basis (level).

<其它例子><Other examples>

尽管上面说明了本技术适用于的设备、系统等的例子,不过,本技术并不局限于此。从而,可以按安装到所述设备,或者构成所述系统的设备的所有结构,例如,作为系统LSI(大规模集成)等的处理器,利用多个处理器等的模块,利用多个模块等的单元,或者通过向所述单元增加其它功能而获得的机组等(换句话说,设备的一部分的结构)的形式,应用本技术。Although examples of devices, systems, and the like to which the present technology is applicable have been described above, the present technology is not limited thereto. Thus, it is possible to install to the device, or to make up the system in all configurations of the device, for example, as a processor of a system LSI (Large Scale Integration) or the like, a module using a plurality of processors, etc., using a plurality of modules, etc. The present technology is applied in the form of a unit, or a unit or the like obtained by adding other functions to the unit (in other words, the structure of a part of the device).

(视频机组的结构例子)(Example of the structure of the video unit)

下面参考图70,说明以机组的形式,应用本技术的情况的例子。图 70图解说明本技术适用于的视频机组的示意结构的例子。Next, with reference to FIG. 70 , an example of a case where the present technology is applied in the form of a unit will be described. FIG. 70 illustrates an example of a schematic structure of a video set to which the present technology is applicable.

最近,电子设备的多功能化在进展中,并且在电子设备的研发或制造中,在提供一部分的所述结构,以便销售、供给等的情况下,不仅存在应用具有一种功能的结构的情况,而且广泛存在应用通过组合具有相关功能的多种结构而获得的具有多种功能的一个机组的情况。Recently, multi-functionalization of electronic equipment is progressing, and in the development or manufacture of electronic equipment, in the case of providing a part of the structure for sale, supply, etc., there is not only a case where a structure having one function is applied , and there are widespread cases of applying one unit having multiple functions obtained by combining multiple structures having related functions.

图70中图解所示的视频机组1300具有这样的多功能结构,是通过组合具有与图像编码或图像解码(图像编码和/或图像解码)相关的功能的设备和具有与所述功能相关的其它功能的设备获得的。The video set 1300 illustrated in FIG. 70 has such a multifunctional structure by combining a device having functions related to image encoding or image decoding (image encoding and/or image decoding) and other devices having functions related to the functions functional device obtained.

如图70中图解所示,视频机组1300包括包含视频模块1311、外部存储器1312、电源管理模块1313、前端模块1314等的模块组,和具有连接模块1321、相机1322、传感器1323等的相关功能的设备。As illustrated in FIG. 70, the video set 1300 includes a module set including a video module 1311, an external memory 1312, a power management module 1313, a front-end module 1314, etc., and a module having related functions of a connection module 1321, a camera 1322, a sensor 1323, etc. equipment.

模块是通过把彼此相关的几个组件功能布置在一起,以功能具有统一性的组件的形式形成的。尽管具体的物理结构是任意的,不过例如,可以考虑通过把都具有某种功能的多个处理器,诸如电阻器或电容器之类的电子电路组件和其它器件等布置在配线板等上,一致被集成在一起而获得的模块。另外,可以考虑通过组合模块和其它模块、处理器等,形成新模块。A module is formed by arranging the functions of several components related to each other in the form of components with unified functions. Although the specific physical structure is arbitrary, for example, it can be considered by arranging a plurality of processors each having a certain function, electronic circuit components such as resistors or capacitors, and other devices, etc., on a wiring board or the like. Modules that are consistently integrated together. In addition, it is contemplated that new modules may be formed by combining modules with other modules, processors, and the like.

在图70中图解所示的例子中,视频模块1311是通过结合具有与图像处理相关的功能的结构而获得的,包括:应用处理器;视频处理器;宽带调制解调器1333;和RF模块1334。In the example illustrated in FIG. 70 , the video module 1311 is obtained by combining structures having functions related to image processing, including: an application processor; a video processor; a broadband modem 1333 ; and an RF module 1334 .

通过以SoC(片上系统)的形式,在半导体芯片上集成具有预定功能的结构,获得处理器,例如,还存在称为系统LSI(大规模集成)等的处理器。具有预定功能的结构可以是逻辑电路(硬件结构),包括CPU、ROM、RAM 等和利用它们执行的程序(软件结构)的结构,或者组合上述两种结构的结构。例如,可以这样构成,以致处理器包括逻辑电路、CPU、ROM、RAM等,一些功能由逻辑电路(硬件结构)实现,而其它功能由CPU执行的程序(软件结构)实现。A processor is obtained by integrating a structure having predetermined functions on a semiconductor chip in the form of an SoC (System on Chip), for example, there is also a processor called a system LSI (Large Scale Integration) or the like. The structure having a predetermined function may be a logic circuit (hardware structure), a structure including a CPU, ROM, RAM, etc. and a program (software structure) executed using them, or a structure combining the above two structures. For example, it may be constructed such that the processor includes logic circuits, CPU, ROM, RAM, etc., some functions are realized by logic circuits (hardware structure), and other functions are realized by programs (software structure) executed by the CPU.

图70中图解所示的应用处理器1331是执行与图像处理相关的应用的处理器。为了实现预定功能,由应用处理器1331执行的应用不仅可进行计算处理,而且可在必要时,控制在视频模块1311之内和之外的结构,比如视频处理器1332。The application processor 1331 illustrated in FIG. 70 is a processor that executes an application related to image processing. In order to realize predetermined functions, the application executed by the application processor 1331 may not only perform calculation processing, but also control structures inside and outside the video module 1311, such as the video processor 1332, if necessary.

视频处理器1332是具有与图像编码和图像解码(图像编码和/或图像解码)相关的功能的处理器。The video processor 1332 is a processor having functions related to image encoding and image decoding (image encoding and/or image decoding).

宽带调制解调器1333是与通过宽带线路,比如因特网或公共电话网,进行的有线或无线(或者有线和无线)宽带通信相关的处理器(或模块)。例如,宽带调制解调器1333通过数字调制等,把待传送的数据(数字信号) 转换成模拟信号,或者解调接收的模拟信号,以便转换成数据(数字信号)。例如,宽带调制解调器1333可以进行任意信息,比如由视频处理器1332 处理的图像数据,其中图像数据被编码的码流,应用程序和设定数据的数字调制/解调。Broadband modem 1333 is a processor (or module) associated with wired or wireless (or wired and wireless) broadband communications over a broadband line, such as the Internet or the public telephone network. For example, the broadband modem 1333 converts data to be transmitted (digital signal) into an analog signal by digital modulation or the like, or demodulates a received analog signal so as to be converted into data (digital signal). For example, the broadband modem 1333 may perform digital modulation/demodulation of arbitrary information, such as image data processed by the video processor 1332, the code stream in which the image data is encoded, and application and setting data.

RF模块1334是对通过天线传送/接收的RF(射频)信号,进行频率转换、调制/解调、放大、滤波处理等的模块。例如,RF模块1334通过对由宽带调制解调器1333生成的专线连接系统信号进行频率转换等,生成 RF信号。另外,例如,RF模块1334通过对经前端模块1314接收的RF 信号进行频率转换等,生成专线连接系统信号。The RF module 1334 is a module that performs frequency conversion, modulation/demodulation, amplification, filtering, and the like on the RF (Radio Frequency) signal transmitted/received through the antenna. For example, the RF module 1334 generates an RF signal by performing frequency conversion or the like on the dedicated line connection system signal generated by the broadband modem 1333 . In addition, for example, the RF module 1334 generates a dedicated line connection system signal by performing frequency conversion or the like on the RF signal received via the front-end module 1314 .

另外,如用图70中的虚线1341所示,应用处理器1331和视频处理器1332可被一体化,以致被构成为一个处理器。In addition, as indicated by the dotted line 1341 in FIG. 70, the application processor 1331 and the video processor 1332 may be integrated so as to be constituted as one processor.

外部存储器1312是布置在视频模块1311之外,包括由视频模块1311 使用的存储器件的模块。外部存储器1312的存储器件由某种物理结构实现。不过,一般来说,由于存储器件常常用于保存大容量的数据,比如以帧为单位构成的图像数据,因此存储器件最好用成本较低的大容量半导体存储器,比如DRAM(动态随机存取存储器)实现。The external memory 1312 is a module arranged outside the video module 1311 and including a storage device used by the video module 1311 . The storage device of the external memory 1312 is implemented by a certain physical structure. However, in general, since memory devices are often used to store large-capacity data, such as image data constituted in units of frames, it is best to use low-cost large-capacity semiconductor memories such as DRAM (Dynamic Random Access) as the memory device. memory) implementation.

电源管理模块1313管理并控制对视频模块1311(视频模块1311内的各种构成)的供电。The power management module 1313 manages and controls power supply to the video module 1311 (various components within the video module 1311).

前端模块1314是向RF模块1334提供前端功能(在天线侧的传输/ 接收端电路)的模块。如图70中图解所示,前端模块1314例如包括天线单元1351、滤波器1352和放大单元1353。The front-end module 1314 is a module that provides front-end functions (transmission/reception side circuits on the antenna side) to the RF module 1334 . As illustrated in FIG. 70 , the front end module 1314 includes, for example, an antenna unit 1351 , a filter 1352 and an amplification unit 1353 .

天线单元1351包括传送/接收无线信号的天线及其周边结构。天线单元1351以无线信号的形式,传送从放大单元1353供给的信号,并以电信号(RF信号)的形式,把接收的无线信号提供给滤波器1352。滤波器 1352对通过天线单元1351接收的RF信号,进行滤波处理等,并把处理后的RF信号提供给RF模块1334。放大单元1353放大从RF模块1334 供给的RF信号,并把放大后的RF信号提供给天线单元1351。The antenna unit 1351 includes an antenna that transmits/receives wireless signals and its peripheral structures. The antenna unit 1351 transmits the signal supplied from the amplifying unit 1353 in the form of a wireless signal, and supplies the received wireless signal to the filter 1352 in the form of an electric signal (RF signal). The filter 1352 performs filtering processing and the like on the RF signal received through the antenna unit 1351, and supplies the processed RF signal to the RF module 1334. The amplifying unit 1353 amplifies the RF signal supplied from the RF module 1334, and supplies the amplified RF signal to the antenna unit 1351.

连接模块1321是具有与和外部的连接相关的功能的模块。连接模块 1321的物理结构是任意的。例如,连接模块1321包括具有除宽带调制解调器1333对应于的通信规范以外的通信功能的结构、外部输入/输出端子等。The connection module 1321 is a module having a function related to connection with the outside. The physical structure of the connection module 1321 is arbitrary. For example, the connection module 1321 includes a structure having a communication function other than the communication specification to which the broadband modem 1333 corresponds, an external input/output terminal, and the like.

例如,连接模块1321可被配置成包括具有符合无线通信规范,比如蓝牙(注册商标)、IEEE 802.11(例如,Wi-Fi(无线保真;注册商标))、NFC(近场通信)和IrDA(红外数据转会)的通信功能的模块,和传送/接收符合所述规范的信号的天线。另外,例如,连接模块1321可被配置成包括具有符合有线通信规范,比如USB(通用串行总线)和HDMI(注册商标)(高清多媒体接口)的通信功能的模块,和符合所述规范的端子。此外,例如,连接模块1321可被配置成具有模拟输入/输出端子等的另外的数据(信号) 传输功能等。For example, the connection module 1321 may be configured to include devices compliant with wireless communication specifications such as Bluetooth (registered trademark), IEEE 802.11 (eg, Wi-Fi (Wireless Fidelity; registered trademark)), NFC (Near Field Communication), and IrDA ( Infrared data transfer) the communication function module, and the antenna to transmit/receive the signal conforming to the stated specification. In addition, for example, the connection module 1321 may be configured to include a module having a communication function conforming to wired communication specifications such as USB (Universal Serial Bus) and HDMI (registered trademark) (High Definition Multimedia Interface), and a terminal conforming to the specifications . Also, for example, the connection module 1321 may be configured to have additional data (signal) transmission functions of analog input/output terminals and the like, and the like.

另外,连接模块1321可被配置成包括作为数据(信号)的传输目的地的设备。例如,连接模块1321可被配置成包括对记录介质,比如磁盘、光盘、磁光盘或半导体存储器进行数据读取或数据写入的驱动器(不仅包括可拆卸介质的驱动器,而且包括硬盘、SSD(固态驱动器)、NAS(网络附加存储器)等)。此外,连接模块1321可被配置成包括图像或音频的输出设备(监视器、扬声器等)。In addition, the connection module 1321 may be configured to include a device as a transmission destination of data (signal). For example, the connection module 1321 may be configured to include a drive for data reading or data writing to a recording medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory (including not only a removable media drive, but also a hard disk, an SSD (Solid State) drives), NAS (Network Attached Storage), etc.). In addition, the connection module 1321 may be configured to include an output device (monitor, speaker, etc.) of images or audio.

相机1322是具有通过对被摄物体成像,获得被摄物体的图像数据的功能的模块。利用相机1322进行的成像处理获得的图像数据被提供给视频处理器1332,并被编码。The camera 1322 is a module having a function of obtaining image data of a subject by imaging the subject. Image data obtained by imaging processing by the camera 1322 is supplied to the video processor 1332 and encoded.

传感器1323是具有任意传感器,比如音频传感器、超声波传感器、光传感器、照度传感器、红外传感器、图像传感器、旋转传感器、角传感器、角速度传感器、速度传感器、加速度传感器、倾斜传感器、磁性标识传感器、冲击传感器或温度传感器的功能的模块。由传感器1323检测的数据被提供给应用处理器1331,并由应用等使用。The sensor 1323 has any sensor, such as audio sensor, ultrasonic sensor, light sensor, illuminance sensor, infrared sensor, image sensor, rotation sensor, angle sensor, angular velocity sensor, speed sensor, acceleration sensor, tilt sensor, magnetic identification sensor, impact sensor or temperature sensor function module. The data detected by the sensor 1323 is supplied to the application processor 1331 and used by applications and the like.

在上面的说明中,描述成模块的各个结构可用处理器实现,描述成处理器的各个结构可用模块实现。In the above description, each structure described as a module can be implemented by a processor, and each structure described as a processor can be implemented by a module.

如后所述,本技术可适用于具有如上所述的结构的视频机组1300的视频处理器1332。因而,视频机组1300可被配置成本技术适用于的装置。As will be described later, the present technology can be applied to the video processor 1332 of the video set 1300 having the structure as described above. Thus, the video set 1300 can be configured as a device to which the technology is applicable.

(视频处理器的结构例子)(Configuration example of video processor)

图71图解说明本技术适用于的视频处理器1332(图70)的示意结构的例子。71 illustrates an example of a schematic structure of the video processor 1332 (FIG. 70) to which the present technology is applicable.

在图71中图解所示的例子中,视频处理器1332具有接收视频信号和音频信号的输入,并按照预定方式对接收的信号编码的功能,和对编码的视频数据和编码的音频数据解码,并再现和输出视频信号和音频信号的功能。In the example illustrated in FIG. 71, the video processor 1332 has a function of receiving input of a video signal and an audio signal, and encoding the received signal in a predetermined manner, and decoding the encoded video data and the encoded audio data, And the function of reproducing and outputting video signal and audio signal.

如图71中图解所示,视频处理器1332包括视频输入处理单元1401;第一图像放大/缩小单元1402;第二图像放大/缩小单元1403;视频输出处理单元1404;帧存储器1405;和存储控制单元1406。另外,视频处理器1332包括:编码/解码引擎1407;视频ES(基本码流)缓冲器1408A和 1408B,和音频ES缓冲器1409A和1409B。另外,视频处理器1332包括:音频编码器1410;音频解码器1411;复用器(MUX)1412;分用器 (DMUX)1413;和流缓冲器1414。As illustrated in FIG. 71, the video processor 1332 includes a video input processing unit 1401; a first image enlargement/reduction unit 1402; a second image enlargement/reduction unit 1403; a video output processing unit 1404; a frame memory 1405; and a storage control unit 1406. In addition, the video processor 1332 includes: an encoding/decoding engine 1407; video ES (Elementary Stream) buffers 1408A and 1408B, and audio ES buffers 1409A and 1409B. In addition, the video processor 1332 includes: an audio encoder 1410; an audio decoder 1411; a multiplexer (MUX) 1412; a demultiplexer (DMUX) 1413;

例如,视频输入处理单元1401获得从连接模块1321(图70)等输入的视频信号,把获得的视频信号转换成数字图像数据。第一图像放大/缩小单元1402对图像数据进行格式变换和图像放大/缩小处理。对于图像数据,第二图像放大/缩小单元1403按照经由视频输出处理单元1404的输出目的地的格式,进行图像放大/缩小处理,或者进行与第一图像放大/ 缩小单元1402类似的格式变换和图像放大/缩小处理等。视频输出处理单元1404对图像数据进行格式变换,到模拟信号的转换等,并把结果信号作为再现视频信号,输出给连接模块1321(图70)等。For example, the video input processing unit 1401 obtains a video signal input from the connection module 1321 (FIG. 70) or the like, and converts the obtained video signal into digital image data. The first image enlargement/reduction unit 1402 performs format conversion and image enlargement/reduction processing on the image data. For image data, the second image enlargement/reduction unit 1403 performs image enlargement/reduction processing in accordance with the format of the output destination via the video output processing unit 1404, or performs format conversion and image processing similar to the first image enlargement/reduction unit 1402 Zoom in/out processing, etc. The video output processing unit 1404 performs format conversion, conversion into an analog signal, etc. of the image data, and outputs the resulting signal as a reproduced video signal to the connection module 1321 (FIG. 70) and the like.

帧存储器1405是由视频输入处理单元1401、第一图像放大/缩小单元1402、第二图像放大/缩小单元1403、视频输出处理单元1404和编码 /解码引擎1407共用的图像数据用存储器。帧存储器1405被实现成诸如 DRAM之类的半导体存储器。The frame memory 1405 is a memory for image data shared by the video input processing unit 1401 , the first image enlargement/reduction unit 1402 , the second image enlargement/reduction unit 1403 , the video output processing unit 1404 , and the encoding/decoding engine 1407 . The frame memory 1405 is implemented as a semiconductor memory such as DRAM.

存储控制单元1406接收从编码/解码引擎1407供给的同步信号,并按照写入存取管理表1406A中的对帧存储器1405的存取时间表,控制对帧存储器1405的存取,以便写入/读取。存储控制单元1406按照编码/ 解码引擎1407、第一图像放大/缩小单元1402、第二图像放大/缩小单元 1403等进行的处理,更新存取管理表1406A。The storage control unit 1406 receives the synchronization signal supplied from the encoding/decoding engine 1407, and controls access to the frame memory 1405 in accordance with the access schedule to the frame memory 1405 in the write access management table 1406A to write/ read. The storage control unit 1406 updates the access management table 1406A according to the processing performed by the encoding/decoding engine 1407, the first image enlargement/reduction unit 1402, the second image enlargement/reduction unit 1403, and the like.

编码/解码引擎1407进行图像数据的编码处理,并进行通过编码图像数据而获得的视频流的解码处理。例如,编码/解码引擎1407编码从帧存储器1405读取的图像数据,并把读取的图像数据作为视频流,顺序写入视频ES缓冲器1408A。另外,例如,编码/解码引擎1407顺序从视频ES缓冲器1408B读取视频流,解码读取的视频流,然后把解码的视频流作为图像数据,顺序写入帧存储器1405。编码/解码引擎1407利用帧存储器1405作为这种编码或解码处理中的工作区。另外,例如在开始各个宏块的处理之际,编码/解码引擎1407向存储控制单元1406输出同步信号。The encoding/decoding engine 1407 performs encoding processing of image data, and performs decoding processing of a video stream obtained by encoding the image data. For example, the encoding/decoding engine 1407 encodes image data read from the frame memory 1405, and sequentially writes the read image data as a video stream to the video ES buffer 1408A. In addition, for example, the encoding/decoding engine 1407 sequentially reads video streams from the video ES buffer 1408B, decodes the read video streams, and sequentially writes the decoded video streams as image data to the frame memory 1405. The encoding/decoding engine 1407 utilizes the frame memory 1405 as a work area in this encoding or decoding process. In addition, the encoding/decoding engine 1407 outputs a synchronization signal to the storage control unit 1406, for example, when the processing of each macroblock is started.

视频ES缓冲器1408A缓存由编码/解码引擎1407生成的视频流,并把该视频流提供给复用器(MUX)1412。视频ES缓冲器1408B缓存从分用器(DMUX)1413供给的视频流,并把该视频流提供给编码/解码引擎 1407。The video ES buffer 1408A buffers the video stream generated by the encoding/decoding engine 1407 and supplies the video stream to the multiplexer (MUX) 1412 . The video ES buffer 1408B buffers the video stream supplied from the demultiplexer (DMUX) 1413, and supplies the video stream to the encoding/decoding engine 1407.

音频ES缓冲器1409A缓存由音频编码器1410生成的音频流,并把该音频流提供给复用器(MUX)1412。音频ES缓冲器1409B缓存从分用器(DMUX)1413供给的音频流,并把该音频流提供给音频解码器1411。The audio ES buffer 1409A buffers the audio stream generated by the audio encoder 1410 and supplies the audio stream to the multiplexer (MUX) 1412 . The audio ES buffer 1409B buffers the audio stream supplied from the demultiplexer (DMUX) 1413 and supplies the audio stream to the audio decoder 1411.

音频编码器1410把例如从连接模块1321(图70)等输入的音频信号转换成例如数字信号,并按照诸如MPEG音频方式或AC3(音频编码号3) 方式,对转换后的音频信号编码。音频编码器1410把作为通过对音频信号编码而获得的数据的音频流,顺序写入音频ES缓冲器1409A。音频解码器1411对从音频ES缓冲器1409B供给的音频流解码,把解码音频流转换成模拟信号等,并把转换后的信号,作为再现音频信号提供给例如连接模块1321(图70)等。The audio encoder 1410 converts, for example, an audio signal input from the connection module 1321 (FIG. 70) into, for example, a digital signal, and encodes the converted audio signal in a manner such as MPEG audio or AC3 (audio code number 3). The audio encoder 1410 sequentially writes the audio stream, which is data obtained by encoding the audio signal, into the audio ES buffer 1409A. The audio decoder 1411 decodes the audio stream supplied from the audio ES buffer 1409B, converts the decoded audio stream into an analog signal or the like, and supplies the converted signal as a reproduced audio signal to, for example, the connection module 1321 (FIG. 70) or the like.

复用器(MUX)1412复用视频流和音频流。复用方法(换句话说,通过复用生成的比特流的格式)是任意的。另外,在复用之际,复用器 (MUX)1412可向比特流中加入预定头部信息等。换句话说,复用器 (MUX)1412可通过复用处理,转换流的格式。例如,通过复用视频流和音频流,复用器(MUX)1412把视频流和音频流转换成作为具有传输用格式的比特流的传输流。另外,例如,通过复用视频流和音频流,复用器 (MUX)1412把视频流和音频流转换成具有记录用格式的数据(文件数据)。A multiplexer (MUX) 1412 multiplexes the video stream and the audio stream. The multiplexing method (in other words, the format of the bitstream generated by multiplexing) is arbitrary. In addition, at the time of multiplexing, the multiplexer (MUX) 1412 may add predetermined header information and the like to the bit stream. In other words, the multiplexer (MUX) 1412 can convert the format of the stream through the multiplexing process. For example, by multiplexing the video stream and the audio stream, the multiplexer (MUX) 1412 converts the video stream and the audio stream into a transport stream which is a bit stream having a format for transport. In addition, for example, by multiplexing the video stream and the audio stream, the multiplexer (MUX) 1412 converts the video stream and the audio stream into data (file data) having a format for recording.

分用器(DMUX)1413利用与复用器(MUX)1412进行的复用处理对应的方法,分用其中复用视频流和音频流的比特流。换句话说,分用器 (DMUX)1413从读取自流缓冲器1414的比特流中,提取视频流和音频流 (视频流和音频流被分离)。换句话说,分用器(DMUX)1413可通过分用处理,转换流的格式(复用器(MUX)1412进行的变换的逆变换)。例如,分用器(DMUX)1413通过流缓冲器1414,获得例如从连接模块1321(图70)、宽带调制解调器1333(图70)等供给的传输流,分用获得的传输流,从而把传输流转换成视频流和音频流。另外,例如,分用器(DMUX)1413通过流缓冲器1414,获得利用连接模块1321(图70)从各种记录介质读取的文件数据,分用获得的文件数据,从而把文件数据转换成视频流和音频流。The demultiplexer (DMUX) 1413 demultiplexes the bit stream in which the video stream and the audio stream are multiplexed using a method corresponding to the multiplexing process performed by the multiplexer (MUX) 1412 . In other words, the demultiplexer (DMUX) 1413 extracts the video stream and the audio stream (the video stream and the audio stream are separated) from the bit stream read from the stream buffer 1414. In other words, the demultiplexer (DMUX) 1413 can convert the format of the stream (inverse transformation of the transformation by the multiplexer (MUX) 1412 ) through the demultiplexing process. For example, the demultiplexer (DMUX) 1413 obtains, for example, the transport stream supplied from the connection module 1321 (FIG. 70), the broadband modem 1333 (FIG. 70), etc. through the stream buffer 1414, and demultiplexes the obtained transport stream, thereby transferring the transport stream to Switch to video streaming and audio streaming. In addition, for example, the demultiplexer (DMUX) 1413 obtains file data read from various recording media by the connection module 1321 (FIG. 70) through the stream buffer 1414, and demultiplexes the obtained file data, thereby converting the file data into Video streaming and audio streaming.

流缓冲器1414缓存比特流。例如,流缓冲器1414缓存从复用器 (MUX)1412供给的传输流,并在预定定时,或者根据从外部传送的请求,把传输流提供给例如连接模块1321(图70)、宽带调制解调器1333(图70) 等。Stream buffer 1414 buffers the bit stream. For example, the stream buffer 1414 buffers the transport stream supplied from the multiplexer (MUX) 1412, and supplies the transport stream to, for example, the connection module 1321 (FIG. 70), the broadband modem 1333 at predetermined timing or in accordance with a request transmitted from the outside (Fig. 70) and so on.

另外,流缓冲器1414缓存从复用器(MUX)1412供给的文件数据,并在预定定时,或者根据从外部传送的请求,把文件数据提供给例如连接模块1321(图70)等。In addition, the stream buffer 1414 buffers the file data supplied from the multiplexer (MUX) 1412, and supplies the file data to, for example, the connection module 1321 (FIG. 70) or the like at predetermined timing or according to a request transmitted from the outside.

此外,流缓冲器1414缓存例如通过连接模块1321(图70)、宽带调制解调器1333(图70)等获得的传输流,并在预定定时,或者根据来自外部的请求等,把传输流提供给分用器(DMUX)1413。In addition, the stream buffer 1414 buffers, for example, the transport stream obtained by the connection module 1321 (FIG. 70), the broadband modem 1333 (FIG. 70), etc., and supplies the transport stream to the demultiplexer at predetermined timing, or in accordance with a request from the outside, or the like device (DMUX) 1413.

另外,流缓冲器1414缓存例如由连接模块1321(图70)等从各种记录介质读取的文件数据,并在预定定时,或者根据来自外部的请求等,把文件数据提供给分用器(DMUX)1413。In addition, the stream buffer 1414 buffers the file data read from various recording media by the connection module 1321 (FIG. 70), for example, and supplies the file data to the demultiplexer ( DMUX) 1413.

下面,说明具有这种结构的视频处理器1332的操作例子。例如,从连接模块1321(图70)等输入视频处理器1332的视频信号由视频输入处理单元1401,按照诸如4:2:2Y/Cb/Cr方式之类的预定方式,转换成数字图像数据,随后被顺序写入帧存储器1405中。该数字图像数据被第一图像放大/缩小单元1402或第二图像放大/缩小单元1403读取,对所述数字图像数据进行到诸如4:2:0Y/Cb/Cr方式之类的预定方式的格式变换,和放大/缩小处理,处理后的数字图像数据被写入帧存储器1405中。该图像数据被编码/解码引擎1407编码,然后作为视频流,被写入视频ES缓冲器1408A中。Next, an example of the operation of the video processor 1332 having such a configuration will be described. For example, the video signal input to the video processor 1332 from the connection module 1321 (FIG. 70) or the like is converted into digital image data by the video input processing unit 1401 in a predetermined manner such as the 4:2:2Y/Cb/Cr method, It is then sequentially written into the frame memory 1405. The digital image data is read by the first image enlargement/reduction unit 1402 or the second image enlargement/reduction unit 1403, and the digital image data is subjected to a predetermined method such as a 4:2:0Y/Cb/Cr method. Format conversion, and enlargement/reduction processing, the processed digital image data is written into the frame memory 1405 . The image data is encoded by the encoding/decoding engine 1407, and then written into the video ES buffer 1408A as a video stream.

另外,从连接模块1321(图70)等输入视频处理器1332的音频信号被音频编码器1410编码,随后作为音频流被写入音频ES缓冲器1409A中。In addition, the audio signal input to the video processor 1332 from the connection module 1321 (FIG. 70) or the like is encoded by the audio encoder 1410, and then written into the audio ES buffer 1409A as an audio stream.

保存在视频ES缓冲器1408A中的视频流和保存在音频ES缓冲器 1409A中的音频流被复用器(MUX)1412读取,被复用,并被转换成传输流、文件数据等。由复用器(MUX)1412生成的传输流被缓存在流缓冲器 1414中,随后例如通过连接模块1321(图70)、宽带调制解调器1333(图 70)等被输出到外部网络。另外,由复用器(MUX)1412生成的文件数据被缓存在流缓冲器1414中,随后被输出给例如连接模块1321(图70)等,然后被记录在各种记录介质任意之一中。The video stream held in the video ES buffer 1408A and the audio stream held in the audio ES buffer 1409A are read by the multiplexer (MUX) 1412, multiplexed, and converted into transport streams, file data, and the like. The transport stream generated by the multiplexer (MUX) 1412 is buffered in the stream buffer 1414, and then output to an external network, for example, through the connection module 1321 (FIG. 70), the broadband modem 1333 (FIG. 70), and the like. In addition, the file data generated by the multiplexer (MUX) 1412 is buffered in the stream buffer 1414, then output to, for example, the connection module 1321 (FIG. 70) or the like, and then recorded in any one of various recording media.

另外,通过连接模块1321(图70)、宽带调制解调器1333(图70)等,从外部网络输入视频处理器1332的传输流被缓存在流缓冲器1414中,随后被分用器(DMUX)1413分用。另外,利用连接模块1321(图70)等,从各种记录介质任意之一读取,并被输入视频处理器1332的文件数据被缓存在流缓冲器1414中,随后被分用器(DMUX)1413分用。换句话说,输入视频处理器1332的传输流或文件数据被分用器(DMUX)1413分离成视频流和音频流。In addition, through the connection module 1321 (FIG. 70), the broadband modem 1333 (FIG. 70), etc., the transport stream input to the video processor 1332 from the external network is buffered in the stream buffer 1414, and then demultiplexed by the demultiplexer (DMUX) 1413 use. In addition, using the connection module 1321 (FIG. 70) or the like, file data read from any one of various recording media and input to the video processor 1332 is buffered in the stream buffer 1414, and then demultiplexed (DMUX) 1413 points are used. In other words, the transport stream or file data input to the video processor 1332 is separated by the demultiplexer (DMUX) 1413 into a video stream and an audio stream.

音频流通过音频ES缓冲器1409B,被提供给音频解码器1411,然后被解码,从而再现音频信号。另外,视频流被写入视频ES缓冲器1408B 中,随后被编码/解码引擎1407顺序读取,被解码,然后被写入帧存储器1405中。解码的图像数据被第二图像放大/缩小单元1403放大或缩小,然后被写入帧存储器1405中。随后,解码的图像数据被视频输出处理单元1404读取,把格式转换成诸如4:2:2Y/Cb/Cr方式之类的预定方式,然后被进一步转换成模拟信号,从而视频信号被再现和输出。The audio stream passes through the audio ES buffer 1409B, is supplied to the audio decoder 1411, and is then decoded, thereby reproducing the audio signal. In addition, the video stream is written into the video ES buffer 1408B, then sequentially read by the encoding/decoding engine 1407, decoded, and then written into the frame memory 1405. The decoded image data is enlarged or reduced by the second image enlargement/reduction unit 1403 and then written into the frame memory 1405 . Subsequently, the decoded image data is read by the video output processing unit 1404, format-converted into a predetermined format such as a 4:2:2Y/Cb/Cr format, and then further converted into an analog signal, so that the video signal is reproduced and output.

在把本技术应用于如此构成的视频处理器1332的情况下,按照上述各个实施例的本技术可适用于编码/解码引擎1407。换句话说,编码/解码引擎1407可被配置成具有编码设备10或解码设备110的功能。另外,例如,编码/解码引擎1407可被配置成具有编码设备150和解码设备170,编码设备190和解码设备210,或者编码设备230和解码设备270的功能。此外,例如,编码/解码引擎1407可被配置成具有多视点图像编码设备 600和多视点图像解码设备610的功能。通过如此构成,视频处理器1332 可获得和上面参考图1-61说明的优点相同的优点。In the case where the present technology is applied to the video processor 1332 thus constituted, the present technology according to the above-described respective embodiments can be applied to the encoding/decoding engine 1407 . In other words, the encoding/decoding engine 1407 may be configured to have the functions of the encoding device 10 or the decoding device 110 . In addition, for example, the encoding/decoding engine 1407 may be configured to have the functions of the encoding device 150 and the decoding device 170 , the encoding device 190 and the decoding device 210 , or the encoding device 230 and the decoding device 270 . Also, for example, the encoding/decoding engine 1407 may be configured to have the functions of the multi-viewpoint image encoding apparatus 600 and the multi-viewpoint image decoding apparatus 610. By so constituted, the video processor 1332 can obtain the same advantages as those described above with reference to FIGS. 1-61.

另外,在编码/解码引擎1407中,本技术(换句话说,按照上述各个实施例的图像编码设备和图像解码设备的功能)可利用诸如逻辑电路之类的硬件实现,可利用诸如内置程序之类的软件实现,或者可利用硬件和软件两者实现。In addition, in the encoding/decoding engine 1407, the present technology (in other words, the functions of the image encoding device and the image decoding device according to the above-described respective embodiments) can be implemented using hardware such as logic circuits, and can be implemented using hardware such as built-in programs. A software implementation of the class, or it can be implemented using both hardware and software.

(视频处理器的另一种结构例子)(Another structural example of a video processor)

图72是图解说明本技术适用于的视频处理器1332(图70)的示意结构的另一个例子的示图。在图72中图解所示的例子的情况下,视频处理器 1332具有按照预定方式,编码/解码视频数据的功能。FIG. 72 is a diagram illustrating another example of a schematic structure of the video processor 1332 ( FIG. 70 ) to which the present technology is applied. In the case of the example illustrated in Fig. 72, the video processor 1332 has a function of encoding/decoding video data in a predetermined manner.

更具体地,如图72中图解所示,视频处理器1332包括:控制单元 1511;显示接口1512;显示引擎1513;图像处理引擎1514;和内部存储器1515。另外,视频处理器1332包括:编解码器引擎1516;存储接口 1517;复用器/分用器(MUX DMUX)1518;网络接口1519;和视频接口 1520。More specifically, as illustrated in FIG. 72 , the video processor 1332 includes: a control unit 1511; a display interface 1512; a display engine 1513; an image processing engine 1514; In addition, video processor 1332 includes: codec engine 1516; storage interface 1517; multiplexer/demultiplexer (MUX DMUX) 1518; network interface 1519;

控制单元1511控制布置在视频处理器1332内的处理单元,比如显示接口1512、显示引擎1513、图像处理引擎1514和编解码器引擎1516 的操作。The control unit 1511 controls operations of processing units arranged within the video processor 1332 , such as the display interface 1512 , the display engine 1513 , the image processing engine 1514 and the codec engine 1516 .

如图72中图解所示,例如,控制单元1511包括主CPU 1531、副 CPU 1532和系统控制器1533。主CPU 1531执行用于控制布置在视频处理器1332内的各个处理单元的操作的程序。主CPU 1531按照所述程序等,生成控制信号,并把控制信号提供给各个处理单元(换句话说,控制各个处理单元的操作)。副CPU 1532完成主CPU 1531的辅助作用。例如,副CPU1532执行主CPU 1531执行的程序的子处理、子例程等。系统控制器1533控制主CPU 1531和副CPU 1532的操作,比如将由主CPU 1531和副CPU 1532执行的程序的指定。As illustrated in FIG. 72 , for example, the control unit 1511 includes a main CPU 1531 , a sub CPU 1532 , and a system controller 1533 . The main CPU 1531 executes programs for controlling the operations of the respective processing units arranged in the video processor 1332 . The main CPU 1531 generates control signals in accordance with the program and the like, and supplies the control signals to the respective processing units (in other words, controls the operations of the respective processing units). The sub CPU 1532 performs the auxiliary role of the main CPU 1531. For example, the sub CPU 1532 executes subprocessing, subroutines, and the like of the program executed by the main CPU 1531 . The system controller 1533 controls operations of the main CPU 1531 and the sub CPU 1532 , such as designation of programs to be executed by the main CPU 1531 and the sub CPU 1532 .

在控制单元1511的控制下,显示接口1512把图像数据输出给例如连接模块1321(图70)等。例如,显示接口1512把作为数字数据的图像数据转换成模拟信号,并把图像数据作为再现的视频信号,或者作为数字数据的图像数据,输出给连接模块1321(图70)的监视设备等。Under the control of the control unit 1511, the display interface 1512 outputs image data to, for example, the connection module 1321 (FIG. 70) or the like. For example, the display interface 1512 converts image data as digital data into an analog signal, and outputs the image data as a reproduced video signal or image data as digital data to a monitoring device or the like of the connection module 1321 (FIG. 70).

在控制单元1511的控制下,显示引擎1513对图像数据进行诸如格式变换、尺寸变换和色域变换之类的各种变换处理,以便调整成与显示图像的监视设备等的硬件规范一致。Under the control of the control unit 1511, the display engine 1513 performs various conversion processes such as format conversion, size conversion, and color gamut conversion on the image data so as to be adjusted to conform to hardware specifications of a monitoring device or the like that displays the image.

在控制单元1511的控制下,图像处理引擎1514对图像数据进行诸如改善图像质量的滤波处理之类的预定图像处理。Under the control of the control unit 1511, the image processing engine 1514 performs predetermined image processing such as filtering processing to improve image quality on the image data.

内部存储器1515是布置在视频处理器1332内的由显示引擎1513、图像处理引擎1514和编解码器引擎1516共用的存储器。例如,内部存储器1515用于在显示引擎1513、图像处理引擎1514和编解码器引擎1516 之间进行的数据交换。例如,内部存储器1515保存从显示引擎1513、图像处理引擎1514或编解码器引擎1516供给的数据,和在必要时(例如,按照请求),把数据提供给显示引擎1513、图像处理引擎1514或编解码器引擎1516。尽管所述内部存储器1515可用任何存储器件实现,不过一般来说,内部存储器1515常常用于保存容量较小的数据,比如以块为单位构成的图像数据,或者参数,因而,它最好用容量较小(例如,与外部存储器1312相比),并且响应速度高的半导体存储器,比如SRAM(静态随机存取存储器)实现。The internal memory 1515 is a memory arranged within the video processor 1332 and shared by the display engine 1513 , the image processing engine 1514 and the codec engine 1516 . For example, the internal memory 1515 is used for data exchange between the display engine 1513 , the image processing engine 1514 and the codec engine 1516 . For example, internal memory 1515 holds data supplied from display engine 1513, image processing engine 1514, or codec engine 1516, and provides data to display engine 1513, image processing engine 1514, or codec when necessary (eg, on request). Decoder Engine 1516. Although the internal memory 1515 can be implemented with any storage device, in general, the internal memory 1515 is often used to store data with a small capacity, such as image data constituted by blocks, or parameters, so it is best to use the capacity A semiconductor memory such as SRAM (Static Random Access Memory) that is small (for example, compared to the external memory 1312) and has a high response speed is realized.

编解码器引擎1516进行与编码或解码图像数据相关的处理。编解码器引擎1516对应于的编码/解码方式是任意的,其数目可以是一种或两种或更多种。例如,编解码器引擎1516可包括多个编码/解码方式的编解码器功能,并通过利用所述多种编码/解码方式中的所选一种编码/解码方式,进行图像数据的编码或者编码的图像数据的解码。The codec engine 1516 performs processing related to encoding or decoding image data. The encoding/decoding methods corresponding to the codec engine 1516 are arbitrary, and the number may be one or two or more. For example, the codec engine 1516 may include a codec function of a plurality of encoding/decoding methods, and perform encoding or encoding of image data by using a selected one encoding/decoding method among the plurality of encoding/decoding methods decoding of the image data.

在图72中图解所示的例子中,作为与编解码器相关的处理的功能块,编解码器引擎1516例如包括MPEG-2 Video 1541、AVC/H.264 1542、 HEVC/H.265 1543、HEVC/H.265(可缩放)1544、HEVC/H.265(多视点)1545和MPEG-DASH 1551。In the example illustrated in FIG. 72 , as functional blocks of codec-related processing, the codec engine 1516 includes, for example, MPEG-2 Video 1541, AVC/H.264 1542, HEVC/H.265 1543, HEVC/H.265 (scalable) 1544, HEVC/H.265 (multi-view) 1545, and MPEG-DASH 1551.

MPEG-2 Video 1541是用于按照MPEG-2方式对图像数据编码或解码的功能块。AVC/H.264 1542是用于按照AVC方式对图像数据编码或解码的功能块。另外,HEVC/H.2651543是用于按照HEVC方式对图像数据编码或解码的功能块。HEVC/H.265(可缩放)1544是用于按照HEVC 方式对图像数据进行可缩放编码或可扩展解码的功能块。HEVC/H.265 (多视点)1545是用于按照HEVC方式对图像数据进行多视点编码或多视点解码的功能块。MPEG-2 Video 1541 is a functional block for encoding or decoding image data according to the MPEG-2 method. AVC/H.264 1542 is a functional block for encoding or decoding image data according to the AVC method. In addition, HEVC/H.2651543 is a functional block for encoding or decoding image data according to the HEVC method. HEVC/H.265 (Scalable) 1544 is a functional block for scalable encoding or scalable decoding of image data in the HEVC manner. HEVC/H.265 (multi-view) 1545 is a functional block for performing multi-view encoding or multi-view decoding on image data according to the HEVC method.

MPEG-DASH 1551是用于按照MPEG-DASH(MPEG-基于HTTP 的动态自适应流式传输)方式,传送/接收图像数据的功能块。 MPEG-DASH是一种通过利用HTTP(超文本传输协议),流式传输视频的技术,具有以片段为单位,从预先准备的分辨率等彼此不同的多个编码数据之中,选择并传送一个编码数据的特征。MPEG-DASH 1551进行符合规范的流的生成,流传输控制等,并利用上面说明的MPEG-2 Video 1541或HEVC/H.265(多视点)1545编码/解码图像数据。The MPEG-DASH 1551 is a functional block for transmitting/receiving image data according to the MPEG-DASH (MPEG-Dynamic Adaptive Streaming over HTTP) method. MPEG-DASH is a technology for streaming video by using HTTP (Hypertext Transfer Protocol), which selects and transmits one piece of coded data that differs from each other in resolutions prepared in advance. Features of encoded data. MPEG-DASH 1551 performs specification-compliant stream generation, stream transmission control, etc., and encodes/decodes image data using MPEG-2 Video 1541 or HEVC/H.265 (multi-view) 1545 explained above.

存储接口1517是用于外部存储器1312的接口。从图像处理引擎1514 或编解码器引擎1516供给的数据通过存储接口1517,被提供给外部存储器1312。另外,从外部存储器1312读取的数据通过存储接口1517,被提供给视频处理器1332(图像处理引擎1514或编解码器引擎1516)。The storage interface 1517 is an interface for the external memory 1312 . Data supplied from the image processing engine 1514 or the codec engine 1516 is supplied to the external memory 1312 through the storage interface 1517 . In addition, the data read from the external memory 1312 is supplied to the video processor 1332 (the image processing engine 1514 or the codec engine 1516 ) through the storage interface 1517 .

复用器/分用器(MUX DMUX)1518复用或分用与图像相关的各种数据,比如编码数据的比特流、图像数据或视频信号。复用/分用方法是任意的。例如,在复用处理之际,复用器/分用器(MUX DMUX)1518不仅可把多个数据布置成一个数据,而且还可向该数据中添加预定的头部信息。另外,在分用处理之际,复用器/分用器(MUX DMUX)1518不仅可把一个数据分成多个部分,而且还可向分割后的数据中添加预定的头部信息等。换句话说,复用器/分用器(MUX DMUX)1518可通过复用/分用处理,转换数据的格式。例如,复用器/分用器(MUXDMUX)1518可通过复用比特流,把比特流转换成为传输用格式的传输流,或者为记录用文件格式的数据(文件数据)。显然,通过分用处理,可以进行逆变换。A multiplexer/demultiplexer (MUX DMUX) 1518 multiplexes or demultiplexes various data related to images, such as bitstreams of encoded data, image data, or video signals. The multiplexing/demultiplexing method is arbitrary. For example, at the time of multiplexing processing, the multiplexer/demultiplexer (MUX DMUX) 1518 may not only arrange a plurality of data into one data, but also add predetermined header information to the data. In addition, at the time of demultiplexing, the multiplexer/demultiplexer (MUX DMUX) 1518 can not only divide one data into a plurality of parts, but also can add predetermined header information and the like to the divided data. In other words, the multiplexer/demultiplexer (MUX DMUX) 1518 can convert the format of the data through the multiplexing/demultiplexing process. For example, the multiplexer/demultiplexer (MUXDMUX) 1518 can multiplex the bit stream to convert the bit stream into a transport stream in a transport format, or into data (file data) in a file format for recording. Obviously, through the demultiplexing process, the inverse transformation can be performed.

网络接口1519是诸如宽带调制解调器1333(图70)或者连接模块 1321(图70)之类的专用接口。视频接口1520是诸如连接模块1321(图70) 或相机1322(图70)之类的专用接口。Network interface 1519 is a dedicated interface such as broadband modem 1333 (FIG. 70) or connection module 1321 (FIG. 70). Video interface 1520 is a dedicated interface such as connection module 1321 (FIG. 70) or camera 1322 (FIG. 70).

下面,说明这种视频处理器1332的操作的例子。例如,当通过连接模块1321(图70)、宽带调制解调器1333(图70)等,从外部网络收到传输流时,所述传输流通过网络接口1519被提供给复用器/分用器(MUX DMUX)1518,被分用,并被编解码器引擎1516解码。对于利用编解码器引擎1516进行的解码处理获得的图像数据,图像处理引擎1514进行预定的图像处理,显示引擎1513进行预定变换,作为结果的图像数据通过显示接口1512,被提供给连接模块1321(图70)等,从而图像被显示在监视器上。另外,例如,利用编解码器引擎1516进行的解码处理获得的图像数据被编解码器引擎1516重新编码,被复用器/分用器(MUXDMUX)1518复用,被转换成文件数据,通过视频接口1520被输出给例如连接模块1321(图70)等,并被记录在各种记录介质任意之一上。Next, an example of the operation of such a video processor 1332 will be described. For example, when a transport stream is received from an external network through the connection module 1321 (FIG. 70), the broadband modem 1333 (FIG. 70), etc., the transport stream is provided to the multiplexer/demultiplexer (MUX) through the network interface 1519. DMUX) 1518, is demultiplexed and decoded by the codec engine 1516. For the image data obtained by the decoding process performed by the codec engine 1516, the image processing engine 1514 performs predetermined image processing, the display engine 1513 performs predetermined transformation, and the resulting image data is supplied to the connection module 1321 ( 70), etc., so that the image is displayed on the monitor. In addition, for example, image data obtained by decoding processing by the codec engine 1516 is re-encoded by the codec engine 1516, multiplexed by the multiplexer/demultiplexer (MUXDMUX) 1518, converted into file data, passed through the video The interface 1520 is output to, for example, the connection module 1321 (FIG. 70) and the like, and is recorded on any one of various recording media.

另外,例如,通过对利用连接模块1321(图70)等,从未在图中图示的记录介质读取的图像数据编码而获得的编码数据通过视频接口1520,被提供给复用器/分用器(MUXDMUX)1518,被分用,并被编解码器引擎 1516解码。对于利用编解码器引擎1516进行的解码处理获得的图像数据,图像处理引擎1514进行预定的图像处理,显示单元1513进行预定变换,作为结果的图像数据通过显示接口1512被提供给例如连接模块1321(图 70)等,随后图像被显示在监视器上。此外,例如,利用编解码器引擎1516 进行的解码处理获得的图像数据被编解码器引擎1516重新编码,被复用器/分用器(MUX DMUX)1518复用,被转换成传输流,通过网络接口1519 被提供给例如连接模块1321(图70)、宽带调制解调器1333(图70)等,随后被传送给未在图中图示的另一个设备。In addition, for example, encoded data obtained by encoding image data read from a recording medium not shown in the drawing using the connection module 1321 (FIG. 70) or the like is supplied to the multiplexer/demultiplexer via the video interface 1520. Demultiplexer (MUXDMUX) 1518, demultiplexed, and decoded by codec engine 1516. For image data obtained by decoding processing by the codec engine 1516, the image processing engine 1514 performs predetermined image processing, the display unit 1513 performs predetermined transformation, and the resulting image data is supplied to, for example, the connection module 1321 ( 70) etc., and then the image is displayed on the monitor. Also, for example, image data obtained by decoding processing by the codec engine 1516 is re-encoded by the codec engine 1516, multiplexed by the multiplexer/demultiplexer (MUX DMUX) 1518, converted into a transport stream, and passed through The network interface 1519 is provided, for example, to the connection module 1321 (FIG. 70), the broadband modem 1333 (FIG. 70), etc., and then to another device not shown in the figure.

另外,利用内部存储器1515或外部存储器1312,进行布置在视频处理器1332内的处理单元之间的图像数据或其它数据的互换。另外,电源管理模块1313例如控制向控制单元1511的供电。In addition, using the internal memory 1515 or the external memory 1312, exchange of image data or other data between processing units arranged within the video processor 1332 is performed. In addition, the power management module 1313 controls the power supply to the control unit 1511, for example.

在把本技术应用于如此构成的视频处理器1332的情况下,按照上述各个实施例的本技术可适用于编解码器引擎1516。换句话说,例如,编解码器引擎1516可包括实现编码设备10或解码设备110的功能块。另外,例如,编解码器引擎1516可被配置成包括实现编码设备150和解码设备170,编码设备190和解码设备210,或者编码设备230和解码设备 270的功能块。此外,例如,编解码器引擎1516可被配置成包括多视点图像编码设备600和多视点图像解码设备610的功能。通过如此构成,视频处理器1332可获得和上面参考图1-61说明的优点相同的优点。In the case where the present technology is applied to the video processor 1332 thus constituted, the present technology according to the above-described respective embodiments can be applied to the codec engine 1516 . In other words, the codec engine 1516 may include functional blocks that implement the encoding apparatus 10 or the decoding apparatus 110, for example. Additionally, codec engine 1516 may be configured to include functional blocks that implement encoding device 150 and decoding device 170, encoding device 190 and decoding device 210, or encoding device 230 and decoding device 270, for example. Also, for example, the codec engine 1516 may be configured to include the functions of the multi-viewpoint image encoding apparatus 600 and the multi-viewpoint image decoding apparatus 610 . By so constructed, the video processor 1332 can obtain the same advantages as those described above with reference to FIGS. 1-61.

另外,在编解码器引擎1516中,本技术(换句话说,按照上述各个实施例的图像编码设备和图像解码设备的功能)可利用诸如逻辑电路之类的硬件实现,可利用诸如内置程序之类的软件实现,或者可利用硬件和软件两者实现。In addition, in the codec engine 1516, the present technology (in other words, the functions of the image encoding device and the image decoding device according to the above-described respective embodiments) can be implemented using hardware such as a logic circuit, and can be implemented using a program such as a built-in program. A software implementation of the class, or it can be implemented using both hardware and software.

如上,尽管作为例子说明了视频处理器1332的两种结构,不过,视频处理器1332的结构是任意的,可以是除上述两种结构外的结构。另外,所述视频处理器1332可由一个半导体芯片,或者多个半导体芯片构成。例如,视频处理器1332可用其中层叠多个半导体的三维层叠LSI构成。另外,视频处理器1332可用多个LSI实现。As above, although two structures of the video processor 1332 have been described as an example, the structure of the video processor 1332 is arbitrary and may be a structure other than the above two structures. In addition, the video processor 1332 may be composed of one semiconductor chip or a plurality of semiconductor chips. For example, the video processor 1332 may be constructed of a three-dimensional stacked LSI in which a plurality of semiconductors are stacked. In addition, the video processor 1332 may be implemented with a plurality of LSIs.

(对设备的应用例子)(Example of application to equipment)

视频机组1300可内置在处理图像数据的各个设备中。例如,视频机组1300可内置在电视机900(图63)、移动电话机920(图64)、记录和再现设备940(图65)、成像设备960(图66)等中。通过把视频机组1300内置于其中,所述设备可获得与上面参考图1-61说明的优点相同的优点。The video set 1300 may be built in various devices that process image data. For example, the video set 1300 may be built in a television set 900 (FIG. 63), a mobile phone 920 (FIG. 64), a recording and reproducing apparatus 940 (FIG. 65), an imaging apparatus 960 (FIG. 66), and the like. By having the video set 1300 built into it, the device achieves the same advantages as described above with reference to Figures 1-61.

另外,视频机组1300例如可内置在图67中图解所示的数据传输系统1000的终端设备,比如个人计算机1004、AV设备1005、平板设备 1006和移动电话机1007,图68中图解所示的数据传输系统1100的广播站1101和终端设备1102,和图69中图解所示的成像系统1200的成像设备1201和可缩放编码数据存储设备1202等中。通过把视频机组1300内置于其中,所述设备可获得与上面参考图1-61说明的优点相同的优点。In addition, the video set 1300 may be built in, for example, terminal devices of the data transmission system 1000 illustrated in FIG. 67, such as a personal computer 1004, an AV device 1005, a tablet device 1006, and a mobile phone 1007, and the data illustrated in FIG. 68 In the broadcasting station 1101 and the terminal device 1102 of the transmission system 1100, and the imaging device 1201 and the scalable encoded data storage device 1202 of the imaging system 1200 illustrated in FIG. 69, and the like. By having the video set 1300 built into it, the device achieves the same advantages as described above with reference to Figures 1-61.

此外,上面说明的视频机组1300的各种结构中的一些结构可以是在其中包括视频处理器1332的情况下,本技术适用于的结构。例如,只有视频处理器1332可被配置成本技术适用于的视频处理器。另外,如上所述,用虚线1341表示的处理器、视频模块1311等可被配置成本技术适用于的处理器、模块等。此外,例如,视频模块1311、外部存储器1312、电源管理模块1313和前端模块1314可被结合,以致被配置成本技术适用于的视频单元1361。在所述结构任意之一中,可以获得和上面参考图 1-61说明的优点相同的优点。Furthermore, some of the various structures of the video group 1300 described above may be structures to which the present technology is applicable if the video processor 1332 is included therein. For example, only video processor 1332 may be configured as a video processor for which this technology is applicable. Additionally, as described above, the processor, video module 1311, etc. represented by dashed line 1341 may be configured with processors, modules, etc. to which this technology is applicable. Furthermore, for example, the video module 1311, the external memory 1312, the power management module 1313, and the front-end module 1314 may be combined so as to configure the video unit 1361 to which the technology is applicable. In any of the described configurations, the same advantages as described above with reference to Figures 1-61 can be obtained.

换句话说,类似于视频机组1300的情况,包括视频处理器1332的任何结构可被内置在处理图像数据的各种设备中。例如,视频处理器1332,用虚线1341表示的处理器和视频模块1311,或者视频单元1361可被内置在电视机900(图63),移动电话机920(图64),记录和再现设备940(图 65),成像设备960(图66),图67中图解所示的数据传输系统1000的终端设备,比如个人计算机1004、AV设备1005、平板设备1006和移动电话机1007,图68中图解所示的数据传输系统1100的广播站1101和终端设备1102,和图69中图解所示的成像系统1200的成像设备1201和可缩放编码数据存储设备1202等中。通过把本技术适用于的任何结构内置于其中,类似于视频机组1300的情况,所述设备能够获得和上面参考图1-61 说明的优点相同的优点。In other words, similar to the case of the video set 1300, any structure including the video processor 1332 may be built into various devices that process image data. For example, the video processor 1332, the processor and video module 1311 represented by the dotted line 1341, or the video unit 1361 may be built in the television set 900 (FIG. 63), the mobile phone 920 (FIG. 64), the recording and reproducing device 940 (FIG. 64) 65 ), the imaging device 960 ( FIG. 66 ), the terminal devices of the data transmission system 1000 illustrated in FIG. In the broadcasting station 1101 and the terminal device 1102 of the data transmission system 1100 shown, and the imaging device 1201 and the scalable encoded data storage device 1202 of the imaging system 1200 illustrated in FIG. 69 , and the like. By having built into it any structure to which the present technology is applicable, similar to the case of video set 1300, the device can achieve the same advantages as described above with reference to Figures 1-61.

在本说明书中,说明了其中各种信息被复用到编码流中,并且编码流从编码侧被传送给解码侧的例子。然而,用于传送信息的技术并不局限于此。例如,信息可作为与编码比特流相关的独立数据被传送或记录,而不被复用到编码比特流中。这里,用语“与…相关”表示包含在比特流中的图像(切片、块等;它可以是图像的一部分)和对应于图像的信息在解码处理之际,被相互关联。换句话说,所述信息可在与图像(或者比特流) 的传输线路不同的传输线路上被传送。此外,所述信息可被记录在与图像(或者比特流)的记录介质不同的记录介质(或者相同记录介质的不同存储区)上。另外,可按任意单位,比如多帧、一帧、或者帧的一部分,相互关联所述信息和图像(或者比特流)。In this specification, an example is described in which various kinds of information are multiplexed into an encoded stream, and the encoded stream is transmitted from the encoding side to the decoding side. However, the technique for transmitting information is not limited to this. For example, information may be transmitted or recorded as separate data associated with the encoded bitstream, rather than multiplexed into the encoded bitstream. Here, the term "associated with" means that a picture (slice, block, etc.; it may be a part of the picture) contained in the bitstream and the information corresponding to the picture are associated with each other at the time of the decoding process. In other words, the information may be transmitted on a transmission line different from that of the image (or bitstream). Furthermore, the information may be recorded on a recording medium (or a different storage area of the same recording medium) that is different from that of the image (or bitstream). In addition, the information and the image (or bitstream) may be correlated with each other in arbitrary units, such as multiple frames, a frame, or a portion of a frame.

本技术可适用于像H.26x等中一样,当通过诸如卫星广播、有线TV、因特网或移动电话机之类的网络介质传送和接收通过诸如离散余弦变换之类的正交变换和运动补偿压缩的图像信息(比特流)时,或者当在诸如光盘、磁盘或闪存之类的存储介质上处理压缩的图像信息时使用的设备。The present technique is applicable when transmitting and receiving through a network medium such as satellite broadcasting, cable TV, the Internet or a mobile phone as in H.26x etc. by orthogonal transform such as discrete cosine transform and motion compensation compression A device used when processing compressed image information on storage media such as optical discs, magnetic disks or flash memory.

另外,本技术例如可适用于其中以片段为单位,从分辨率等彼此不同的多个编码数据之中,选择并使用适当的编码数据的HTTP流式传输,比如MPEG DASH。In addition, the present technology is applicable to, for example, HTTP streaming, such as MPEG DASH, in which appropriate encoded data is selected and used from a plurality of encoded data whose resolutions and the like differ from each other in units of segments.

此外,按照本技术的编码系统可以是除HEVC系统外的编码系统。Also, the encoding system according to the present technology may be an encoding system other than the HEVC system.

本技术的实施例并不局限于上述实施例,在不脱离本技术的原理的范围中,可以作出各种变化。Embodiments of the present technology are not limited to the above-described embodiments, and various changes may be made without departing from the principles of the present technology.

另外,本技术可具有以下结构。In addition, the present technology may have the following structures.

(1)一种编码设备,包括:(1) An encoding device, comprising:

预测图像生成单元,所述预测图像生成单元被配置成利用参考图像,生成预测图像;和a predicted image generation unit configured to generate a predicted image using the reference image; and

传输单元,所述传输单元被配置成在当前编码图像是GOP(图像组) 的除第1图像外的图像的情况下,传送参考信息,所述参考信息表示在先图像的指定参考图像的参考图像指定信息是否用作当前编码图像的参考图像指定信息,所述在先图像是按照编码顺序在当前编码图像之前的图像。a transmission unit configured to, in the case where the currently encoded picture is a picture other than the 1st picture of a GOP (Group of Pictures), transmit reference information representing a reference to a specified reference picture of the preceding picture Whether or not the picture specifying information is used as reference picture specifying information for the current coded picture, which is the picture preceding the current coded picture in the coding order.

(2)按照(1)所述的编码设备,其中在参考信息表示在先图像的参考图像指定信息用作当前编码图像的参考图像指定信息的情况下,传输单元传送指定在先图像的在先图像指定信息。(2) The encoding apparatus according to (1), wherein in the case where the reference information indicates that the reference picture specifying information of the previous picture is used as the reference picture specifying information of the current encoded picture, the transmission unit transmits the previous specifying the previous picture Image specification information.

(3)按照(2)所述的编码设备,其中在参考信息表示在先图像的参考图像指定信息不用作当前编码图像的参考图像指定信息的情况下,传输单元传送当前编码图像的参考图像指定信息。(3) The encoding device according to (2), wherein the transmission unit transmits the reference image designation of the current encoded image in a case where the reference information indicates that the reference image designation information of the previous image is not used as the reference image designation information of the current encoded image information.

(4)按照(3)所述的编码设备,还包括参考图像信息设定单元,所述参考图像信息设定单元被配置成设定多个参考图像信息,所述多个参考图像信息包括参考信息和在先图像指定信息或者参考图像指定信息,(4) The encoding apparatus according to (3), further comprising a reference image information setting unit configured to set a plurality of reference image information including reference information and prior image designation information or reference image designation information,

其中传输单元传送由参考图像信息设定单元设定的多个参考图像信息,并在当前编码图像是GOP(图像组)的除第1图像外的图像的情况下,传送在所述多个参考图像信息之中、指定当前编码图像的参考图像信息的参考图像信息指定信息。wherein the transmission unit transmits a plurality of reference picture information set by the reference picture information setting unit, and transmits the plurality of reference pictures in the case where the currently encoded picture is a picture other than the first picture of a GOP (Group of Pictures) Among the picture information, reference picture information specifying information specifying reference picture information of the currently encoded picture.

(5)按照(4)所述的编码设备,(5) According to the encoding device described in (4),

其中参考图像信息设定单元设定包括参考图像指定信息的第一参考图像信息,作为参考图像信息,和wherein the reference image information setting unit sets the first reference image information including the reference image designation information as the reference image information, and

在当前编码图像是GOP(图像组)的第1图像的情况下,传输单元传送指定第一参考图像信息的参考图像信息指定信息。In a case where the currently encoded picture is the first picture of a GOP (Group of Pictures), the transmission unit transmits reference picture information specifying information specifying the first reference picture information.

(6)一种编码方法,所述编码方法包括借助编码设备的以下步骤:(6) a kind of coding method, described coding method comprises the following steps by means of coding equipment:

预测图像生成步骤,所述预测图像生成步骤利用参考图像,生成预测图像;和a predicted image generation step that utilizes the reference image to generate a predicted image; and

传输步骤,所述传输步骤在当前编码图像是GOP(图像组)的除第1 图像外的图像的情况下,传送参考信息,所述参考信息表示在先图像的指定参考图像的参考图像指定信息是否用作当前编码图像的参考图像指定信息,所述在先图像是按照编码顺序在当前编码图像之前的图像。A transmission step of transmitting reference information indicating reference picture designation information for designating a reference picture of a preceding picture in a case where the currently encoded picture is a picture other than the first picture of a GOP (Group of Pictures) Whether to use as reference picture designation information for the current coded picture, which is the picture preceding the current coded picture in coding order.

附图标记列表List of reference signs

10 编码设备10 encoding equipment

12 设定单元12 Setting unit

13 传输单元13 Transmission unit

33 计算单元33 Computing Units

47 运动预测/补偿单元47 Motion prediction/compensation unit

110 解码设备110 decoding equipment

111 接收单元111 Receiver unit

135 加法单元135 Addition unit

144 参考图像设定单元144 Reference image setting unit

145 运动补偿单元145 Motion Compensation Unit

150 编码设备150 encoding equipment

170 解码设备170 decoding equipment

190 编码设备190 encoding equipment

210 解码设备210 decoding equipment

230 编码设备230 encoding equipment

232 设定单元232 Setting unit

251 运动预测/补偿单元251 Motion prediction/compensation unit

270 解码设备270 decoding equipment

292 运动补偿单元292 Motion Compensation Unit

Claims (8)

1. A decoding device, comprising:
at least one processor;
at least one memory including a computer program, the memory and computer program configured to, working with the at least one processor, cause the decoding apparatus to perform at least the following:
decoding a syntax element received in a sequence parameter set ("SPS") of a plurality of pictures to be decoded, the syntax element indicating a plurality of short-term reference picture sets ("RPSs") included in the SPS;
setting, in a slice header of a current picture of the plurality of pictures, an index value of a short-term RPS of the current picture equal to a number of short-term RPSs included in the SPS;
setting a prediction flag value to a first value indicating that a short-term RPS included in the SPS is not predicted to a short-term RPS of the current picture if an index value of the short-term RPS of the current picture is equal to zero indicating that the prediction flag value is not received in a slice header of the current picture;
generating a predicted image of the current image; and
decoding the current picture using the predicted picture.
2. The decoding device according to claim 1, wherein performing generating a predicted image of the current image further comprises:
decoding the prediction flag value if an index value of a short-term RPS of the current picture is not equal to zero indicating that the prediction flag value is not received in a slice header of the current picture, wherein the prediction flag value is either the first value indicating that the short-term RPS of the current picture is not predicted from the short-term RPS included in the SPS or a second value indicating that the short-term RPS of the current picture is predicted from the short-term RPS included in the SPS; and
generating a short-term RPS for the current picture based on the predictive flag value; and
generating a predicted image of the current picture using the short-term RPS of the current picture.
3. The decoding device according to claim 2, wherein performing generating a predicted image of the current image further comprises:
decoding an RPS delta index received in a slice header of the current picture if the prediction flag value is equal to a second value indicating that a short-term RPS of the current picture is predicted from a short-term RPS included in the SPS; and
generating a short-term RPS for the current picture based on the RPS delta index; and
a predicted image of a current picture is generated using a short-term RPS of the current picture.
4. The decoding device according to any one of claims 1 or 2, wherein generating a predicted image of the current picture further comprises the operations of:
decoding short-term RPS specification information for a current picture received in a slice header of the current picture if the prediction flag value is equal to a first value indicating that a short-term RPS for the current picture is not predicted from a short-term RPS included in the SPS, wherein the slice header of the current picture does not include the RPS delta index; and
generating a short-term PRS for the current picture based on the short-term RPS specification information; and
generating a predicted image of the current picture using the short-term RPS of the current picture.
5. A decoding method comprising the steps of:
decoding a syntax element received in a sequence parameter set ("SPS") of a plurality of pictures to be decoded, the syntax element serving as an indicator of a plurality of short-term reference picture sets ("RPSs") included in the SPS;
setting, in a slice header of a current picture of the plurality of pictures, an index value of a short-term RPS of the current picture equal to a number of short-term RPSs included in the SPS;
setting a prediction flag value to a first value if an index value of the short-term RPS of the current picture is equal to zero, which is an indicator that the prediction flag value is not received in a slice header of the current picture, the first value being an indicator that the short-term RPS of the current picture is not predicted from the short-term RPS included in the SPS;
generating a predicted image of the current image; and
decoding the current picture using the predicted picture.
6. The decoding method according to claim 5, wherein the step of generating a predictive image of the current picture further comprises the steps of:
decoding a prediction flag value if an index value of a short-term RPS of the current picture is not equal to zero, which is an indicator that the prediction flag value is not received in a slice header of the current picture, wherein the prediction flag value is the first value indicating that the short-term RPS of the current picture is not predicted from the short-term RPS included in the SPS, or the second value indicating that the short-term RPS of the current picture is predicted from the short-term RPS included in the SPS; and
generating a short-term RPS for the current picture based on the predictive flag value; and
generating a predicted image of the current picture using the short-term RPS of the current picture.
7. The decoding method according to claim 6, wherein the step of generating a predictive image of the current image further comprises the steps of:
decoding an RPS delta index received in a slice header of the current picture if the prediction flag value is equal to a second value that is an indicator that the short-term RPS of the current picture is predicted from the short-term RPS contained in the SPS; and
generating a short-term RPS for the current picture based on the RPS delta index; and
a predicted image of a current picture is generated using a short-term RPS of the current picture.
8. The decoding method according to any one of claims 5 or 6, wherein the step of generating a predictive image of the current picture further comprises:
decoding short-term RPS specification information of a current picture received in a slice header of the current picture if the prediction flag value is equal to a first value which is an indicator that the short-term RPS of the current picture is not predicted from the short-term RPS included in the SPS, wherein the slice header of the current picture does not include the RPS delta index; and
generating a short-term PRS for the current picture based on the short-term RPS specification information; and
generating a predicted image of the current picture using the short-term RPS of the current picture.
CN201811099370.XA 2012-06-29 2013-06-21 Decoding apparatus and decoding method Active CN109040762B (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2012-147883 2012-06-29
JP2012147883 2012-06-29
JP2012-218097 2012-09-28
JP2012218097 2012-09-28
PCT/JP2013/067112 WO2014002899A1 (en) 2012-06-29 2013-06-21 Coding device, and coding method
CN201380032783.5A CN104380752B (en) 2012-06-29 2013-06-21 Encoding device and coding method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201380032783.5A Division CN104380752B (en) 2012-06-29 2013-06-21 Encoding device and coding method

Publications (2)

Publication Number Publication Date
CN109040762A CN109040762A (en) 2018-12-18
CN109040762B true CN109040762B (en) 2022-04-15

Family

ID=49778143

Family Applications (4)

Application Number Title Priority Date Filing Date
CN201380032794.3A Active CN104396256B (en) 2012-06-29 2013-06-21 Decoding device and coding/decoding method
CN201811099258.6A Pending CN109068141A (en) 2012-06-29 2013-06-21 Encoding device and coding method
CN201380032783.5A Active CN104380752B (en) 2012-06-29 2013-06-21 Encoding device and coding method
CN201811099370.XA Active CN109040762B (en) 2012-06-29 2013-06-21 Decoding apparatus and decoding method

Family Applications Before (3)

Application Number Title Priority Date Filing Date
CN201380032794.3A Active CN104396256B (en) 2012-06-29 2013-06-21 Decoding device and coding/decoding method
CN201811099258.6A Pending CN109068141A (en) 2012-06-29 2013-06-21 Encoding device and coding method
CN201380032783.5A Active CN104380752B (en) 2012-06-29 2013-06-21 Encoding device and coding method

Country Status (16)

Country Link
US (5) US10595036B2 (en)
EP (2) EP2869559A4 (en)
JP (6) JP6182719B2 (en)
KR (2) KR102179087B1 (en)
CN (4) CN104396256B (en)
AR (1) AR091570A1 (en)
AU (3) AU2013281947B2 (en)
BR (2) BR112014032227B1 (en)
CA (2) CA2875213C (en)
MX (4) MX342499B (en)
MY (3) MY171975A (en)
RU (3) RU2642364C2 (en)
SG (4) SG10201909372YA (en)
TW (5) TWI749530B (en)
WO (2) WO2014002898A1 (en)
ZA (1) ZA201409038B (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7295609B2 (en) 2001-11-30 2007-11-13 Sony Corporation Method and apparatus for coding image information, method and apparatus for decoding image information, method and apparatus for coding and decoding image information, and system of coding and transmitting image information
JP5359657B2 (en) * 2009-07-31 2013-12-04 ソニー株式会社 Image encoding apparatus and method, recording medium, and program
JP5914962B2 (en) 2010-04-09 2016-05-11 ソニー株式会社 Image processing apparatus and method, program, and recording medium
TWI508534B (en) 2010-05-18 2015-11-11 Sony Corp Image processing apparatus and image processing method
KR20170118962A (en) 2010-06-04 2017-10-25 소니 주식회사 Image processing device and method
BR122020013143B1 (en) 2010-12-07 2022-02-22 Sony Corporation Device and image processing method
EP3748964A1 (en) 2010-12-07 2020-12-09 Sony Corporation Image processing device and image processing method
JP5741076B2 (en) 2010-12-09 2015-07-01 ソニー株式会社 Image processing apparatus and image processing method
MX383834B (en) 2011-02-10 2025-03-14 Sony Group Corp IMAGE PROCESSING DEVICE AND IMAGE PROCESSING METHOD.
MX2013010159A (en) 2011-03-11 2013-09-26 Sony Corp Image processing device and method.
TWI530161B (en) 2011-06-07 2016-04-11 Sony Corp Image processing apparatus and method
JP5907367B2 (en) 2011-06-28 2016-04-26 ソニー株式会社 Image processing apparatus and method, program, and recording medium
WO2013001957A1 (en) 2011-06-28 2013-01-03 ソニー株式会社 Image processing device and image processing method
CN103765903B (en) * 2012-01-18 2017-09-01 松下知识产权经营株式会社 Picture decoding apparatus, picture coding device, picture decoding method and method for encoding images
ES2587744T3 (en) 2012-06-29 2016-10-26 Telefonaktiebolaget Lm Ericsson (Publ) Encoding and decoding of video sequences comprising sets of reference images
TWI749530B (en) 2012-06-29 2021-12-11 愛爾蘭商維洛思媒介國際公司 Information processing apparatus and information processing method
KR20180008445A (en) * 2015-06-10 2018-01-24 삼성전자주식회사 Method and apparatus for encoding or decoding an image using syntax signaling for adaptive weight prediction
CN105681563B (en) * 2016-01-26 2019-04-09 深圳市美贝壳科技有限公司 The implementation method of intelligent hardware devices picture sharing permission
CN106254869A (en) * 2016-08-25 2016-12-21 腾讯科技(深圳)有限公司 The decoding method of a kind of video data, device and system
CN108347602B (en) * 2017-01-22 2021-07-30 上海澜至半导体有限公司 Method and apparatus for lossless compression of video data
CN109410558B (en) * 2018-06-20 2023-12-12 深圳市宏芯达科技有限公司 Intelligent compression chip for infrared codes
US11152992B2 (en) * 2018-12-21 2021-10-19 Qualcomm Incorporated Beam switch related information feedback in wireless communications
CN110365983B (en) * 2019-09-02 2019-12-13 珠海亿智电子科技有限公司 Macroblock-level code rate control method and device based on human eye vision system
KR20220074954A (en) * 2019-11-05 2022-06-03 엘지전자 주식회사 Slice type-based video/video coding method and apparatus
US11902584B2 (en) * 2019-12-19 2024-02-13 Tencent America LLC Signaling of picture header parameters
KR20220143023A (en) 2020-02-19 2022-10-24 바이트댄스 아이엔씨 Inference of weight values for video components in the bitstream
US12243274B2 (en) * 2021-12-07 2025-03-04 Cloudinary Ltd. System, device, and method for improved encoding and enhanced compression of images, videos, and media content

Family Cites Families (62)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2660139B1 (en) * 1990-03-23 1995-08-25 France Etat ENCODING AND TRANSMISSION METHOD FOR AT LEAST TWO QUALITY LEVELS OF DIGITAL IMAGES BELONGING TO A SEQUENCE OF IMAGES, AND CORRESPONDING DEVICES.
EP2271116B1 (en) 1997-06-09 2013-09-11 Hitachi, Ltd. Image decoding method and image decoder
US6697426B1 (en) * 2000-03-17 2004-02-24 Koninklijke Philips Electronics N.V. Reduction of layer-decoding complexity by reordering the transmission of enhancement layer frames
EP1468567B1 (en) * 2002-01-22 2006-12-13 Microsoft Corporation Methods for start code emulation prevention and data stuffing
CN101483773B (en) * 2002-04-12 2010-12-08 松下电器产业株式会社 Image encoding method and image encoding device
US7206347B2 (en) * 2002-07-11 2007-04-17 Matsushita Electric Industrial Co., Ltd. Image coding method and image decoding method
EP2302931A3 (en) * 2002-08-08 2011-12-07 Panasonic Corporation Moving picture encoding method and decoding method
JP5068947B2 (en) * 2003-02-18 2012-11-07 ノキア コーポレイション Picture coding method
PL214807B1 (en) 2003-04-14 2013-09-30 Adb Polska Sp Method for combining - in a system for processing MPEG streams - packets containing several MPEG input streams into one output stream with simultaneous correction of time signals
CN100531396C (en) * 2003-07-24 2009-08-19 日本电信电话株式会社 Image encoding device and method, image decoding device and method
JP3675464B2 (en) * 2003-10-29 2005-07-27 ソニー株式会社 Moving picture coding apparatus and moving picture coding control method
CN1898965B (en) * 2003-12-25 2012-04-18 日本电气株式会社 Moving image encoding method and apparatus
US20050201471A1 (en) 2004-02-13 2005-09-15 Nokia Corporation Picture decoding method
CN101677383B (en) * 2004-04-28 2013-05-29 松下电器产业株式会社 Stream generating device and method, stream reproducing device, method and system, stream recording method
TWI252695B (en) * 2004-07-21 2006-04-01 Realtek Semiconductor Corp Block-based motion estimation method
US20060083298A1 (en) 2004-10-14 2006-04-20 Nokia Corporation Reference picture management in video coding
JP4656912B2 (en) * 2004-10-29 2011-03-23 三洋電機株式会社 Image encoding device
CN100551074C (en) * 2005-01-17 2009-10-14 松下电器产业株式会社 Picture decoding method, picture decoding apparatus and integrated circuit
JP4854046B2 (en) 2005-04-06 2012-01-11 トムソン ライセンシング Method and apparatus for encoding enhancement layer video data
JP2007110348A (en) * 2005-10-12 2007-04-26 Ntt Docomo Inc Moving picture coding apparatus, moving picture decoding apparatus, moving picture coding method, moving picture decoding method, moving picture coding program, and moving picture decoding program
CN101288311B (en) 2005-10-12 2011-05-11 汤姆森特许公司 Methods and apparatus for weighted prediction in scalable video encoding and decoding
EP1806930A1 (en) * 2006-01-10 2007-07-11 Thomson Licensing Method and apparatus for constructing reference picture lists for scalable video
JP4763549B2 (en) * 2006-08-18 2011-08-31 富士通セミコンダクター株式会社 Inter-frame prediction processing apparatus, image encoding apparatus, and image decoding apparatus
US20080095228A1 (en) * 2006-10-20 2008-04-24 Nokia Corporation System and method for providing picture output indications in video coding
JP4999859B2 (en) * 2006-10-30 2012-08-15 日本電信電話株式会社 Prediction reference information generation method, moving image encoding and decoding method, apparatus thereof, program thereof, and storage medium storing the program
EP2123052B1 (en) 2007-01-18 2010-11-24 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Quality scalable video data stream
US8472522B2 (en) * 2007-02-23 2013-06-25 Nippon Telegraph And Telephone Corporation Video encoding method and decoding method, apparatuses therefor, programs therefor, and storage media which store the programs
JP2009055519A (en) * 2007-08-29 2009-03-12 Sony Corp Encoding processing apparatus, encoding processing method, decoding processing apparatus, and decoding processing method
US8782379B2 (en) * 2007-09-27 2014-07-15 Qualcomm Incorporated H.264 video decoder CABAC core optimization techniques
US8416858B2 (en) * 2008-02-29 2013-04-09 Cisco Technology, Inc. Signalling picture encoding schemes and associated picture properties
JP2010258738A (en) * 2009-04-24 2010-11-11 Sony Corp Image processing apparatus, method and program
JP5282692B2 (en) * 2009-07-27 2013-09-04 ソニー株式会社 Image coding apparatus and image coding method
CN101969544A (en) 2009-07-27 2011-02-09 谢正旭 Method for investigating pre-reception data
TW201121331A (en) * 2009-12-10 2011-06-16 Novatek Microelectronics Corp Picture decoder
US20120276348A1 (en) * 2010-01-07 2012-11-01 Clausi Robert N Resilient flooring compositions
JP2011199396A (en) * 2010-03-17 2011-10-06 Ntt Docomo Inc Moving image prediction encoding device, moving image prediction encoding method, moving image prediction encoding program, moving image prediction decoding device, moving image prediction decoding method, and moving image prediction decoding program
JP5241771B2 (en) 2010-06-08 2013-07-17 サントリーホールディングス株式会社 Glucose-induced inactivation / degradation resistance transporter gene and use thereof
EP2589229A4 (en) * 2010-07-02 2016-03-30 Librestream Technologies Inc Adaptive frame rate control for video in a resource limited system
US9300970B2 (en) 2010-07-09 2016-03-29 Samsung Electronics Co., Ltd. Methods and apparatuses for encoding and decoding motion vector
WO2012023281A1 (en) * 2010-08-17 2012-02-23 パナソニック株式会社 Video image decoding method, video image encoding method, video image decoding apparatus, and video image encoding apparatus
US8873627B2 (en) * 2010-12-07 2014-10-28 Mediatek Inc Method and apparatus of video coding using picture structure with low-delay hierarchical B group
JP2012147127A (en) * 2011-01-07 2012-08-02 Sony Corp Image processing apparatus and method
EP3902258B1 (en) * 2011-06-30 2025-03-26 Telefonaktiebolaget LM Ericsson (publ) Reference picture signaling
US20130094774A1 (en) * 2011-10-13 2013-04-18 Sharp Laboratories Of America, Inc. Tracking a reference picture based on a designated picture on an electronic device
US9210430B2 (en) * 2012-01-19 2015-12-08 Sharp Kabushiki Kaisha Reference picture set signaling and restriction on an electronic device
US8867852B2 (en) * 2012-01-19 2014-10-21 Sharp Kabushiki Kaisha Decoding a picture based on a reference picture set on an electronic device
US8805098B2 (en) 2012-01-19 2014-08-12 Sharp Laboratories Of America, Inc. Inter reference picture set signaling and prediction on an electronic device
US8693793B2 (en) * 2012-01-19 2014-04-08 Sharp Laboratories Of America, Inc. Reducing reference picture set signal overhead on an electronic device
AU2013210955B2 (en) * 2012-01-20 2017-11-09 Nokia Technologies Oy Method for video coding and an apparatus, a computer-program product, a system, and a module for the same
CN104396240B (en) 2012-01-31 2018-02-02 Vid拓展公司 Reference picture collection (RPS) signaling for scalable efficient video coding (HEVC)
US9369710B2 (en) * 2012-02-06 2016-06-14 Qualcomm Incorporated Reference picture list modification for video coding
PT2822276T (en) * 2012-02-29 2018-12-18 Lg Electronics Inc Inter-layer prediction method and apparatus using same
SG10201701147XA (en) * 2012-04-16 2017-03-30 Samsung Electronics Co Ltd Method and apparatus for determining reference picture set of image
US9516308B2 (en) * 2012-04-27 2016-12-06 Qualcomm Incorporated Parameter set updates in video coding
JP5950726B2 (en) 2012-06-28 2016-07-13 株式会社Nttドコモ Video predictive encoding method, video predictive encoding device, video predictive encoding program, video predictive decoding method, video predictive decoding device, and video predictive decode program
TWI749530B (en) 2012-06-29 2021-12-11 愛爾蘭商維洛思媒介國際公司 Information processing apparatus and information processing method
ES2587744T3 (en) 2012-06-29 2016-10-26 Telefonaktiebolaget Lm Ericsson (Publ) Encoding and decoding of video sequences comprising sets of reference images
WO2014002900A1 (en) 2012-06-29 2014-01-03 ソニー株式会社 Image processing device, and image processing method
US9602827B2 (en) 2012-07-02 2017-03-21 Qualcomm Incorporated Video parameter set including an offset syntax element
AU2013285333A1 (en) 2012-07-02 2015-02-05 Nokia Technologies Oy Method and apparatus for video coding
US20140092988A1 (en) * 2012-09-28 2014-04-03 Sharp Laboratories Of America, Inc. Systems and methods for reference picture set extension
US9648326B2 (en) * 2013-07-02 2017-05-09 Qualcomm Incorporated Optimizations on inter-layer prediction signalling for multi-layer video coding

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
AHG21: Inter reference picture set prediction syntax and semantics(JCTVC-G198r1);TK Tan;《Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11》;20111115;全文 *
High efficiency video coding (HEVC) text specification draft 7(JCTVC-I1003 version 4);Benjamin Bross;《Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 9th Meeting》;20120611;全文 *
On reference picture set definition and signaling;Rajan L. Joshi;《Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 9th Meeting》;20120417;全文 *

Also Published As

Publication number Publication date
US20150092846A1 (en) 2015-04-02
CN104380752A (en) 2015-02-25
MX391484B (en) 2025-03-21
TWI574554B (en) 2017-03-11
EP2869560A4 (en) 2016-09-07
RU2752695C2 (en) 2021-07-30
RU2018101252A (en) 2019-02-21
TWI513199B (en) 2015-12-11
BR112014032228A2 (en) 2017-06-27
TW201717642A (en) 2017-05-16
AR091570A1 (en) 2015-02-11
MX342497B (en) 2016-10-03
CA2875213C (en) 2020-12-15
JP2017195619A (en) 2017-10-26
CN104396256A (en) 2015-03-04
WO2014002899A1 (en) 2014-01-03
CN109068141A (en) 2018-12-21
KR20150032257A (en) 2015-03-25
JP2020039187A (en) 2020-03-12
AU2013281946B2 (en) 2017-03-02
TWI644564B (en) 2018-12-11
AU2013281947A1 (en) 2014-12-04
JP2019024273A (en) 2019-02-14
AU2018201321A1 (en) 2018-03-15
KR102179087B1 (en) 2020-11-18
JPWO2014002898A1 (en) 2016-05-30
BR112014032227B1 (en) 2023-01-24
MY171975A (en) 2019-11-09
RU2018101252A3 (en) 2021-06-17
JPWO2014002899A1 (en) 2016-05-30
SG10201909372YA (en) 2019-11-28
RU2014152104A (en) 2016-07-20
SG11201408589RA (en) 2015-01-29
TW202032990A (en) 2020-09-01
KR102165220B1 (en) 2020-10-14
MX2014016002A (en) 2015-04-13
JP2017195620A (en) 2017-10-26
SG10201610882XA (en) 2017-02-27
CA2875213A1 (en) 2014-01-03
RU2642364C2 (en) 2018-01-24
CN104396256B (en) 2018-11-06
AU2018201321B2 (en) 2020-02-27
BR112014032227A2 (en) 2017-06-27
US20140003510A1 (en) 2014-01-02
US10595036B2 (en) 2020-03-17
JP6182719B2 (en) 2017-08-23
US8811480B2 (en) 2014-08-19
EP2869559A4 (en) 2016-09-07
MX352958B (en) 2017-12-15
EP2869559A1 (en) 2015-05-06
TW201907726A (en) 2019-02-16
CA2875243C (en) 2022-11-22
US20150139324A1 (en) 2015-05-21
ZA201409038B (en) 2015-08-26
EP2869560A1 (en) 2015-05-06
RU2014152105A (en) 2016-07-20
CA2875243A1 (en) 2014-01-03
AU2013281947B2 (en) 2017-12-14
JP6182718B2 (en) 2017-08-23
MX342499B (en) 2016-10-03
WO2014002898A1 (en) 2014-01-03
JP6442566B2 (en) 2018-12-19
BR112014032228B1 (en) 2023-01-17
CN104380752B (en) 2018-10-23
US20190149839A1 (en) 2019-05-16
CN109040762A (en) 2018-12-18
KR20150032258A (en) 2015-03-25
JP6442565B2 (en) 2018-12-19
JP6823151B2 (en) 2021-01-27
MX2014015993A (en) 2015-03-20
SG11201408571RA (en) 2015-01-29
MY190544A (en) 2022-04-27
TW201601520A (en) 2016-01-01
TW201414313A (en) 2014-04-01
TWI694715B (en) 2020-05-21
TWI749530B (en) 2021-12-11
US20210160534A1 (en) 2021-05-27
US10958930B2 (en) 2021-03-23
AU2013281946A1 (en) 2014-12-04
US11399197B2 (en) 2022-07-26
JP6636122B2 (en) 2020-01-29
MY170355A (en) 2019-07-23
RU2643490C2 (en) 2018-02-01
US10623765B2 (en) 2020-04-14

Similar Documents

Publication Publication Date Title
JP6823151B2 (en) Encoding device and coding method
KR102338669B1 (en) Image processing apparatus and method, and recording medium
US20160286218A1 (en) Image encoding device and method, and image decoding device and method
JP2015050738A (en) Decoder and decoding method, encoder and encoding method
WO2014203762A1 (en) Decoding device, decoding method, encoding device, and encoding method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1260568

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221208

Address after: Tokyo

Patentee after: Sony Group

Address before: Irish Dublin

Patentee before: Velos Media, LLC

TR01 Transfer of patent right