HK1204186B - Devices for identifying a leading picture - Google Patents
Devices for identifying a leading picture Download PDFInfo
- Publication number
- HK1204186B HK1204186B HK15104498.2A HK15104498A HK1204186B HK 1204186 B HK1204186 B HK 1204186B HK 15104498 A HK15104498 A HK 15104498A HK 1204186 B HK1204186 B HK 1204186B
- Authority
- HK
- Hong Kong
- Prior art keywords
- picture
- leading
- electronic device
- leading picture
- bitstream
- Prior art date
Links
Description
技术领域Technical Field
本公开总体上涉及电子设备。更具体地,本公开涉及用于标识前导画面(leadingpicture)的设备。The present disclosure relates generally to electronic devices and more particularly to a device for identifying a leading picture.
背景技术Background Art
电子设备变得越来越小并且越来越强大,以便满足消费者需要并改善便携性和便利性。消费者已经变得依赖于电子设备,并期望增加的功能性。电子设备的一些示例包括台式计算机、膝上型计算机、蜂窝电话、智能电话、媒体播放器、集成电路等。Electronic devices are becoming smaller and more powerful to meet consumer needs and improve portability and convenience. Consumers have become dependent on electronic devices and expect increased functionality. Some examples of electronic devices include desktop computers, laptop computers, cellular phones, smartphones, media players, integrated circuits, etc.
一些电子设备用于处理并显示数字媒体。例如,便携式电子设备现在允许在消费者可能处于的几乎任何位置处使用数字媒体。此外,一些电子设备可以提供对数字媒体内容的下载或流传输,以便消费者使用和欣赏。Some electronic devices are used to process and display digital media. For example, portable electronic devices now allow consumers to use digital media in almost any location. In addition, some electronic devices can provide downloading or streaming of digital media content for consumers to use and enjoy.
越来越受欢迎的数字媒体呈现出若干问题。例如,高效地表示用于存储、传输和回放的高质量数字媒体提出了若干挑战。如从本讨论中可以看出,更高效地表示数字媒体的系统和方法可能是有利的。The increasing popularity of digital media presents several problems. For example, efficiently representing high-quality digital media for storage, transmission, and playback presents several challenges. As can be seen from this discussion, systems and methods for more efficiently representing digital media may be advantageous.
发明内容Summary of the Invention
技术问题Technical issues
需要的是提供更高效的用于表示数字媒体的技术。What is needed is to provide more efficient techniques for representing digital media.
解决方案Solution
本发明的一方面提供了一种用于指示前导画面的电子设备,所述前导画面是在解码顺序中位于第一画面之后并且在输出顺序中位于第一画面之前的画面,所述电子设备包括:An aspect of the present invention provides an electronic device for indicating a leading picture, wherein the leading picture is a picture located after a first picture in a decoding order and before the first picture in an output order, the electronic device comprising:
处理器;processor;
存储器,与所述处理器电子通信;a memory in electronic communication with the processor;
指令,存储在所述存储器中,所述指令能够被执行用以:Instructions stored in the memory, the instructions being executable to:
(a)对第一画面编码;(a) Encode the first picture;
(b)确定是否存在前导画面;(b) determining whether a leading picture exists;
(c)如果存在前导画面,则产生显式的前导画面指示符;以及(c) if a leading picture exists, generating an explicit leading picture indicator; and
(d)如果存在前导画面,则发送所述显式的前导画面指示符。(d) If a leading picture exists, sending the explicit leading picture indicator.
本发明的另一方面提供了一种用于确定是否存在前导画面的电子设备,所述前导画面是在解码顺序中位于第一画面之后并且在输出顺序中位于第一画面之前的画面,所述电子设备包括:Another aspect of the present invention provides an electronic device for determining whether a leading picture exists, the leading picture being a picture that follows a first picture in a decoding order and precedes the first picture in an output order, the electronic device comprising:
处理器;processor;
存储器,与所述处理器电子通信;a memory in electronic communication with the processor;
指令,存储在所述存储器中,所述指令能够被执行用以:Instructions stored in the memory, the instructions being executable to:
(a)接收比特流;(a) receiving a bit stream;
(b)基于比特流是否包括显式的前导画面指示符,来确定是否存在前导画面;以及(b) determining whether a leading picture is present based on whether the bitstream includes an explicit leading picture indicator; and
(c)基于是否存在前导画面,对比特流执行操作。(c) An operation is performed on the bitstream based on whether a leading picture exists.
本发明的另一方面提供了一种用于通过电子设备确定是否存在前导画面的方法,所述方法包括:Another aspect of the present invention provides a method for determining whether a leading screen exists by an electronic device, the method comprising:
对第一画面编码;encoding a first picture;
确定是否存在前导画面;Determine whether there is a leading screen;
如果存在前导画面,则产生显式的前导画面指示符;以及If a leading picture exists, generating an explicit leading picture indicator; and
如果存在前导画面,则发送所述显式的前导画面指示符。If a leading picture exists, the explicit leading picture indicator is sent.
本发明的另一方面提供了一种用于通过电子设备确定是否存在前导画面的方法,所述方法包括:Another aspect of the present invention provides a method for determining whether a leading screen exists by an electronic device, the method comprising:
接收比特流;Receive bit stream;
基于比特流是否包括显式的前导画面指示符,来确定是否存在前导画面;以及determining whether a leading picture exists based on whether the bitstream includes an explicit leading picture indicator; and
基于是否存在前导画面,执行对比特流的操作。Based on whether a leading picture exists, an operation on the bitstream is performed.
本发明的有利效果Advantageous Effects of the Invention
当结合附图考虑本发明的以下详细描述时,将更容易理解本发明的上述和其它目标、特征和优点。The above and other objects, features and advantages of the present invention will be more readily understood when the following detailed description of the present invention is considered in conjunction with the accompanying drawings.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是示出了可以实现用于标识前导画面的系统和方法的一个或更多个设备的示例的框图;1 is a block diagram illustrating an example of one or more devices that may implement systems and methods for identifying a leading screen;
图2是示出了用于标识前导画面的方法的一个配置的流程图;FIG2 is a flow chart illustrating one configuration of a method for identifying a leading screen;
图3是示出了用于标识前导画面的方法的更具体配置的流程图;FIG3 is a flowchart showing a more specific configuration of a method for identifying a leading screen;
图4是示出了用于标识前导画面的方法的一个配置的流程图;FIG4 is a flow chart illustrating one configuration of a method for identifying a leading screen;
图5是示出了用于标识前导画面的方法的一个配置的流程图;FIG5 is a flow chart illustrating one configuration of a method for identifying a leading screen;
图6是示出了电子设备的编码器的一个配置的框图;FIG6 is a block diagram showing one configuration of an encoder of an electronic device;
图7是示出了电子设备的解码器的一个配置的框图;FIG7 is a block diagram showing one configuration of a decoder of an electronic device;
图8是示出了可以在发送电子设备中使用的多种组件的框图;FIG8 is a block diagram illustrating various components that may be used in a transmitting electronic device;
图9是示出了可以在接收电子设备中使用的多种组件的框图;FIG9 is a block diagram illustrating various components that may be used in a receiving electronic device;
图10是示出了可以实现用于标识前导画面的系统和方法的电子设备的一个配置的框图;10 is a block diagram illustrating one configuration of an electronic device in which systems and methods for identifying a leading screen may be implemented;
图11是示出了可以实现用于标识前导画面的系统和方法的电子设备的一个配置的框图;以及FIG11 is a block diagram illustrating one configuration of an electronic device in which systems and methods for identifying a leading screen may be implemented; and
图12是示出了可以实现用于标识前导画面的系统和方法的若干设备的框图。12 is a block diagram illustrating several devices in which the systems and methods for identifying leading pictures may be implemented.
具体实施方式DETAILED DESCRIPTION
描述了一种用于指示前导画面的电子设备。所述电子设备包括处理器和与所述处理器电子通信的存储器。电子设备包括存储在所述存储器中的指令。电子设备对第一画面编码。电子设备还确定是否存在前导画面。如果存在前导画面,则电子设备产生显式的前导画面指示符。如果存在前导画面,则电子设备还发送所述显式的前导画面指示符。An electronic device for indicating a leading screen is described. The electronic device includes a processor and a memory in electronic communication with the processor. The electronic device includes instructions stored in the memory. The electronic device encodes a first screen. The electronic device also determines whether a leading screen exists. If a leading screen exists, the electronic device generates an explicit leading screen indicator. If a leading screen exists, the electronic device also transmits the explicit leading screen indicator.
第一画面可以是清除随机访问(CRA)或随机访问画面。显式的前导画面指示符可以与CRA画面相关联,并指示至少一个前导画面在CRA画面之后。显式的前导画面指示符还可以与前导画面相关联。显式的前导画面指示符还可以包括由序列参数集(SPS)、画面参数集(PPS)、适配参数集(APS)以及CRA画面的片首部中的标志构成的组中的至少一个。The first picture may be a clear random access (CRA) or random access picture. An explicit leading picture indicator may be associated with a CRA picture and indicate that at least one leading picture follows the CRA picture. An explicit leading picture indicator may also be associated with a leading picture. The explicit leading picture indicator may also include at least one of the group consisting of a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), and a flag in a slice header of a CRA picture.
如果不存在前导画面,则电子设备可以产生显式的前导画面缺少指示符。电子设备还可以发送显式的前导画面缺少指示符。确定是否存在前导画面可以包括:确定第二画面在解码顺序中是否在第一画面之后,在输出顺序中是否在第一画面之前。If the leading picture does not exist, the electronic device may generate an explicit leading picture absence indicator. The electronic device may also send an explicit leading picture absence indicator. Determining whether the leading picture exists may include determining whether the second picture is after the first picture in the decoding order and before the first picture in the output order.
显式的前导画面指示符可以是网络访问层(NAL)单元类型。NAL单元类型可以包括与前导画面相关联的NAL单元类型。NAL单元类型可以包括与具有后续前导画面(subsequent leading picture)的CRA画面相关联的NAL单元类型。NAL单元类型还可以包括与不具有后续前导画面的CRA画面相关联的NAL单元类型。NAL单元类型还可以包括由CRA画面的片首部和前导画面的片首部构成的组中的至少一个。The explicit leading picture indicator may be a network access layer (NAL) unit type. The NAL unit type may include a NAL unit type associated with a leading picture. The NAL unit type may include a NAL unit type associated with a CRA picture having a subsequent leading picture. The NAL unit type may also include a NAL unit type associated with a CRA picture without a subsequent leading picture. The NAL unit type may also include at least one of the group consisting of a slice header of a CRA picture and a slice header of a leading picture.
还描述了一种用于确定是否存在前导画面的电子设备。所述电子设备包括处理器和与所述处理器电子通信的存储器。所述电子设备还包括存储在存储器中的指令。所述电子设备接收比特流。所述电子设备还基于比特流是否包括显式的前导画面指示符来确定是否存在前导画面。电子设备还基于是否存在前导画面来对比特流执行操作。对比特流执行操作可以包括:如果存在前导画面,则丢弃前导画面。An electronic device for determining whether a leading picture exists is also described. The electronic device includes a processor and a memory in electronic communication with the processor. The electronic device also includes instructions stored in the memory. The electronic device receives a bitstream. The electronic device further determines whether a leading picture exists based on whether the bitstream includes an explicit leading picture indicator. The electronic device also performs an operation on the bitstream based on whether a leading picture exists. Performing the operation on the bitstream may include discarding the leading picture if the leading picture exists.
所述电子设备还可以是处理设备(例如,网络节点)。如果存在前导画面,则前导画面还可以与随机访问点处的CRA画面相对应。The electronic device may also be a processing device (eg, a network node). If a leading picture exists, the leading picture may also correspond to a CRA picture at a random access point.
确定是否存在前导画面包括:如果比特流包括显式的前导画面指示符,则确定存在前导画面。确定是否存在前导画面还可以包括:如果比特流包括显式的前导画面缺少指示符,或如果比特流不包括显式的前导画面指示符,则确定缺少前导画面。Determining whether a leading picture exists includes determining that a leading picture exists if the bitstream includes an explicit leading picture indicator. Determining whether a leading picture exists may also include determining that a leading picture is absent if the bitstream includes an explicit leading picture absence indicator, or if the bitstream does not include an explicit leading picture indicator.
显式的前导画面指示符可以包括:由NAL单元类型;SPS、PPS、APS和CRA画面的片首部中的标志构成的组中的至少一个。显式的前导画面指示符还可以是NAL单元类型。NAL单元类型可以包括与不具有后续前导画面的CRA画面相关联的NAL单元类型。The explicit leading picture indicator may include at least one of the group consisting of a NAL unit type; a flag in a slice header of an SPS, PPS, APS, and CRA picture. The explicit leading picture indicator may also be a NAL unit type. The NAL unit type may include a NAL unit type associated with a CRA picture that has no subsequent leading picture.
还描述了一种用于通过电子设备确定是否存在前导画面的方法。所述方法包括对第一画面编码。所述方法还包括确定是否存在前导画面。所述方法还包括:如果存在前导画面,则产生显式的前导画面指示符。所述方法还包括:如果存在前导画面,则发送显式的前导画面指示符。A method for determining, by an electronic device, whether a leading picture exists is also described. The method includes encoding a first picture. The method also includes determining whether a leading picture exists. The method also includes generating an explicit leading picture indicator if a leading picture exists. The method also includes transmitting the explicit leading picture indicator if a leading picture exists.
还描述了一种用于通过电子设备确定是否存在前导画面的方法。所述方法包括对比特流编码。所述方法还包括:基于比特流是否包括显式的前导画面指示符,来确定是否存在前导画面。所述方法还包括:基于是否存在前导画面,对比特流执行操作。A method for determining, by an electronic device, whether a leading picture is present is also described. The method includes encoding a bitstream. The method also includes determining whether a leading picture is present based on whether the bitstream includes an explicit leading picture indicator. The method also includes performing an operation on the bitstream based on whether a leading picture is present.
本文所公开的系统和方法描述了用于标识前导画面的方法。例如,本文所述的一些配置包括用于发信号通知CRA画面的设备和方法。此外,所描述的设备和方法中的一些可用于区分具有后续前导画面的CRA画面和不具有后续前导画面的CRA画面。The systems and methods disclosed herein describe methods for identifying a leading picture. For example, some configurations described herein include devices and methods for signaling a CRA picture. In addition, some of the described devices and methods can be used to distinguish between a CRA picture with a subsequent leading picture and a CRA picture without a subsequent leading picture.
通常还需要标识比特流中的前导画面。目前,已知系统通过对多种参数集执行大量编码和解码操作,来标识比特流中的前导画面。例如,已知系统通过对SPS和PPS进行编码和解码来标识前导画面。已知系统还可以计算画面顺序计数(POC)值,并将计算出的值与对应CRA画面的POC值进行比较。已知方法还将CRA画面与对应的计算出的值进行比较,以便确定画面是否是前导画面。执行这些步骤可能对系统具有不利影响,并且需要对用于标识前导画面和对比特流执行操作的数据进行大量处理。It is also often necessary to identify the leading picture in the bitstream. Currently, known systems identify the leading picture in the bitstream by performing a large number of encoding and decoding operations on various parameter sets. For example, known systems identify the leading picture by encoding and decoding the SPS and PPS. Known systems can also calculate a picture order count (POC) value and compare the calculated value with the POC value of the corresponding CRA picture. Known methods also compare the CRA picture with the corresponding calculated value to determine whether the picture is the leading picture. Performing these steps can have an adverse effect on the system and requires a large amount of processing of the data used to identify the leading picture and perform operations on the bitstream.
为了解决这些困难中的一部分,本文的系统和方法提供了用于标识前导画面的方法。在一些方法中,一个或更多个指示符可以实现为指示CRA画面是否在比特流中具有后续前导画面。例如,在一个配置中,可以引入新的NAL单元以指示CRA画面是否具有在比特流中位于该CRA画面之后的一个或更多个前导画面。在另一配置中,可以将SPS、PPS和/或APS中的标志用于指示在CRA画面之后是否存在前导画面。该方法的优点可以包括:允许电子设备标识前导画面,而无需由一个或更多个电子设备进行大量编码或解码。To address some of these difficulties, the systems and methods herein provide methods for identifying leading pictures. In some methods, one or more indicators can be implemented to indicate whether a CRA picture has a subsequent leading picture in the bitstream. For example, in one configuration, a new NAL unit can be introduced to indicate whether a CRA picture has one or more leading pictures that follow the CRA picture in the bitstream. In another configuration, a flag in the SPS, PPS, and/or APS can be used to indicate whether a leading picture follows the CRA picture. Advantages of this method can include allowing an electronic device to identify a leading picture without requiring extensive encoding or decoding by one or more electronic devices.
在提供与CRA画面相关联的指示符的情况下,应注意:CRA画面可以包括编码画面,所述编码画面包含与特定类型NAL单元相关联的编码片。在一些情况下,CRA画面可以仅包括帧内预测片(I片),其中仅使用帧内预测来对帧内预测片解码。例如,在一个配置中,CRA画面是编码画面,包括NAL单元类型(nal_unit_type)等于4的编码片。在一些情况下,在编码顺序和输出顺序中位于CRA画面之后的所有编码画面可能无法使用根据在编码顺序或输出顺序中位于CRA画面之前的任何画面的帧间预测。此外,在一些情况下,在解码顺序中位于CRA画面之前的其它画面还可以在输出顺序中位于该CRA画面之前。Where indicators associated with CRA pictures are provided, it should be noted that a CRA picture may include a coded picture containing coded slices associated with a particular type of NAL unit. In some cases, a CRA picture may include only intra-predicted slices (I-slices), where only intra-predicted slices are decoded using intra-prediction. For example, in one configuration, a CRA picture is a coded picture that includes coded slices with a NAL unit type (nal_unit_type) equal to 4. In some cases, all coded pictures that follow the CRA picture in coding order and output order may not use inter prediction from any picture that precedes the CRA picture in coding order or output order. Furthermore, in some cases, other pictures that precede the CRA picture in decoding order may also precede the CRA picture in output order.
在一些配置中,NAL单元类型可以规定在NAL单元中包含的原始字节序列有效载荷(PBSP)数据结构的类型。在一个示例中,使用NAL单元类型等于0或在24-63的范围内的NAL单元可以不影响在多种配置中规定的解码处理。还应注意,在一个示例中,如多种应用所确定的,可以使用NAL单元类型0和24-63。在本文所述的一些配置中,解码器可以忽略NAL单元的内容,所述NAL单元使用保留的或未规定的NAL单元类型值。In some configurations, the NAL unit type may specify the type of raw byte sequence payload (PBSP) data structure contained in the NAL unit. In one example, using NAL units with a NAL unit type equal to 0 or in the range of 24-63 may not affect the decoding process specified in various configurations. It should also be noted that in one example, NAL unit types 0 and 24-63 may be used as determined by various applications. In some configurations described herein, a decoder may ignore the content of a NAL unit that uses a reserved or unspecified NAL unit type value.
在以下表格1和表格11中包括了可以根据本文所公开的系统和方法实现的NAL单元类型编码和NAL单元类型类别的示例。应注意,一些配置可以包括与以下所述的配置相似的域和不同的域。在一些配置中,表格1中的一些或全部NAL域可以是不同NAL单元类型的示例。在一些配置中,特定NAL单元类型可以与不同域和语法结构相关联,所述不同域和语法结构与一个或更多个画面相关联。下文包括了对一个或更多个域的进一步解释。应注意,下表1包括了对视频编码层(VCL)NAL单元类型类别、即时解码刷新(IDR)画面和时间层访问(TLA)画面的缩写。还可将与表格1相关的其它示例应用于表格11和下文所述的其它配置。Examples of NAL unit type encodings and NAL unit type categories that can be implemented according to the systems and methods disclosed herein are included in Tables 1 and 11 below. It should be noted that some configurations may include similar domains and different domains to the configurations described below. In some configurations, some or all of the NAL domains in Table 1 may be examples of different NAL unit types. In some configurations, a particular NAL unit type may be associated with different domains and syntax structures, which are associated with one or more pictures. Further explanation of one or more domains is included below. It should be noted that Table 1 below includes abbreviations for video coding layer (VCL) NAL unit type categories, instantaneous decoding refresh (IDR) pictures, and temporal layer access (TLA) pictures. Other examples related to Table 1 may also be applied to Table 11 and other configurations described below.
表格1Table 1
在该示例中,语法可以包括补充增强(SEI)信息RBSP语法。SEI RBSP可以包含一个或更多个SEI消息。每个SEI消息可以包括规定SEI有效载荷的类型的变量payloadType和规定SEI有效载荷的大小的变量payloadSize。可以用字节规定导出的SEI有效载荷大小payloadSize,并且导出的SEI有效载荷大小可以等于SEI有效载荷中的RBSP字节的数目。In this example, the syntax may include supplemental enhancement (SEI) information RBSP syntax. The SEI RBSP may contain one or more SEI messages. Each SEI message may include a variable payloadType that specifies the type of the SEI payload and a variable payloadSize that specifies the size of the SEI payload. The derived SEI payload size payloadSize may be specified in bytes and may be equal to the number of RBSP bytes in the SEI payload.
在一个示例中,语法还可以包括访问单元分隔符RBSP语法。访问单元分隔符可用于指示在编码画面中存在的片的类型,并简化对访问单元之间的边界的检测。可以没有与访问单元分隔符相关联的标准化解码过程。In one example, the syntax may also include an access unit delimiter RBSP syntax. The access unit delimiter may be used to indicate the type of slice present in a coded picture and to simplify detection of boundaries between access units. There may be no standardized decoding process associated with the access unit delimiter.
在一个示例中,语法还可以包括填充数据RBSP语法。填充数据RBSP可以包含其值等于0xFF的字节。此外,可以不对填充数据RBSP规定标准化解码过程。ff_byte是等于0xFF的字节。In one example, the syntax may also include a padding data RBSP syntax. The padding data RBSP may include a byte whose value is equal to 0xFF. In addition, a standardized decoding process may not be specified for the padding data RBSP. ff_byte is a byte equal to 0xFF.
片层RBSP可以包括片首部和由rbsp_slice_trailing_bits跟随的片数据。下表2示出了该示例:The slice layer RBSP may include a slice header and slice data followed by rbsp_slice_trailing_bits. Table 2 below shows this example:
表格2Table 2
下表3示出了RBSP片结尾比特语法的示例:Table 3 below shows an example of RBSP slice end bit syntax:
表格3Table 3
在该示例中,cabac_zero_word可以是等于0x0000的两个字节的byte_aligned序列。此外,NumBytesInVcINALunits可以是编码画面的所有VCL单元的NumBytesinNALunit的值的总和。此外,BinCountsInNALunits可以是可以调用解析过程函数DecodeBin()以对编码画面的所有VCL NAL单元的内容进行解码的次数。In this example, cabac_zero_word may be a byte_aligned sequence of two bytes equal to 0x0000. Additionally, NumBytesInVcINALunits may be the sum of the values of NumBytesinNALunit for all VCL units of the coded picture. Additionally, BinCountsInNALunits may be the number of times the parsing process function DecodeBin() may be called to decode the contents of all VCL NAL units of the coded picture.
可以如下导出变量RawMinCUBits和PicSizeMinCUs:The variables RawMinCUBits and PicSizeMinCUs can be derived as follows:
RawMinCUBits=(1<<Log2MinCUSize)*(1<<Log2MinCUSize)*BitDepthY+2*(1<<Log2MinCUSize-1))*(1<<Log2MinCUSize-1))*BitDepthC;以及RawMinCUBits=(1<<Log2MinCUSize)*(1<<Log2MinCUSize)*BitDepthY+2*(1<<Log2MinCUSize-1))*(1<<Log2MinCUSize-1))*BitDepthC; and
PicSizeMinCUs=Ceil(pic_width_in_luna_samples/(1<<Log2MinCUSize))*Ceil(pic_height_in_luma_samples/(1<<Log2MinCUSize))。PicSizeMinCUs=Ceil(pic_width_in_luna_samples/(1<<Log2MinCUSize))*Ceil(pic_height_in_luma_samples/(1<<Log2MinCUSize)).
在该方法中,BinCountsInNALunits不可以超过:In this method, BinCountsInNALunits may not exceed:
(32/3)*NumBytesInVcINALunits+(RawMinCUBits*PicSizeInMinCUS)/32。(32/3)*NumBytesInVcINALunits+(RawMinCUBits*PicSizeInMinCUS)/32.
应注意,可以通过插入多个cabac_zero_word语法元素来增加NumBytesInVcINALunits的值,满足对bin的最大数目的约束,所述bin是由于对片层NAL单元的内容进行解码而导致的。在NAL单元中,将每个cabac_zero_word由三字节序列0x000003表示(由于对NAL单元内容的约束导致需要针对每个cabac_zero_word包括emulation_prevention_three_byte)。It should be noted that the value of NumBytesInVcINALunits can be increased by inserting multiple cabac_zero_word syntax elements to meet the constraint on the maximum number of bins resulting from decoding the content of the slice layer NAL unit. In the NAL unit, each cabac_zero_word is represented by the three-byte sequence 0x000003 (due to the constraints on the NAL unit content, it is necessary to include emulation_prevention_three_byte for each cabac_zero_word).
下表4示出了RBSP结尾比特语法的一个示例:Table 4 below shows an example of RBSP end bit syntax:
表格4Table 4
表格4提供了RBSP结尾比特语义的示例。在该示例中,rbsp_stop_bit可以等于1,且rbsp_alignment_zero_bit可以等于0。Table 4 provides an example of RBSP end bit semantics. In this example, rbsp_stop_bit may be equal to 1 and rbsp_alignment_zero_bit may be equal to 0.
下表5示出了字节对齐语法的示例。Table 5 below shows an example of the byte alignment syntax.
表格5Form 5
表格5提供了字节对齐语义的示例。在该示例中,bit_equal_to_one可以等于1。Table 5 provides an example of byte alignment semantics. In this example, bit_equal_to_one may be equal to 1.
在这些示例中,序列参数集RBSP可以包括与SPS原始字节序列有效载荷相对应的语法元素。序列参数集RBSP可以包括与PPS原始字节序列有效载荷相对应的语法元素。序列参数集RBSP可以包括与APS原始字节序列有效载荷相对应的语法元素。In these examples, the sequence parameter set RBSP may include syntax elements corresponding to an SPS raw byte sequence payload. The sequence parameter set RBSP may include syntax elements corresponding to a PPS raw byte sequence payload. The sequence parameter set RBSP may include syntax elements corresponding to an APS raw byte sequence payload.
在一些方法中,可以将信号或指示符与前导画面相关联以指示比特流中在CRA画面之后的前导画面。例如,可以通过与前导画面相关联的NAL单元类型将前导画面指示为前导画面。在该方法中提供显式的前导画面指示符的优点可以包括:避免对PPS、SPS或其它域进行解码或修改。此外,该方法可以支持标识一个或更多个前导画面,而无需执行特定的解码操作。In some methods, a signal or indicator can be associated with a leading picture to indicate the leading picture following the CRA picture in the bitstream. For example, the leading picture can be indicated as a leading picture by the NAL unit type associated with the leading picture. Advantages of providing an explicit leading picture indicator in this method can include avoiding decoding or modification of the PPS, SPS, or other fields. In addition, the method can support identification of one or more leading pictures without performing specific decoding operations.
在一些方法中,可以将一个或更多个指示符实现为指示缺少前导画面。在一个示例中,可以引入与CRA画面相关联的NAL单元、标志或其它指示符,对比特流中缺少一个或更多个前导画面加以指示。该方法的一个优点在于可以产生显式的前导画面指示符,而无需对一个或更多个画面进行大量编码。In some methods, one or more indicators can be implemented to indicate the absence of a leading picture. In one example, a NAL unit, flag, or other indicator associated with a CRA picture can be introduced to indicate the absence of one or more leading pictures in the bitstream. One advantage of this approach is that an explicit leading picture indicator can be generated without requiring extensive encoding of one or more pictures.
本文所公开的系统和方法可以在处理数据比特流时提供一个或更多个附加优点。在一个配置中,可以在一个或更多个电子设备之间传输比特流,所述比特流具有与一个或更多个前导画面相对应的显式指示符。采用该方案可以减少电子设备的处理量,其中获知比特流是否包括前导画面是有利的。在另一配置下,电子设备可以丢弃一个或更多个前导画面,而无需对比特流进行大量处理。丢弃前导画面而无需大量处理的一个优点可以包括:减少输出或传输的数据量,而不对信号或显示(包括一个或更多个画面)的质量造成过度不利的影响。在一些配置中,这些和其他优点可以有助于在电子设备之间更有效地对数据进行流传输。The system and method disclosed herein can provide one or more additional advantages when processing data bit streams. In one configuration, a bit stream can be transmitted between one or more electronic devices, and the bit stream has an explicit indicator corresponding to one or more leading pictures. Adopting this scheme can reduce the processing capacity of electronic devices, wherein knowing whether the bit stream includes a leading picture is advantageous. Under another configuration, the electronic device can discard one or more leading pictures without the need to perform a large amount of processing on the bit stream. Abandoning the leading picture without the need for a large amount of processing can include: reducing the amount of data output or transmission without causing excessive adverse effects on the quality of the signal or display (including one or more pictures). In some configurations, these and other advantages can contribute to more effectively streaming data between electronic devices.
现在参考附图描述各种配置,在附图中,相似的附图标记可以指示功能上相似的元件。可以以各种不同配置来布置和设计如本文附图中一般地描述和示出的系统和方法。因此,下文对附图所示的若干配置的更具体描述并非意在限制要求保护的范围,而仅仅是所述系统和方法的代表。Various configurations will now be described with reference to the accompanying drawings, in which like reference numerals may indicate functionally similar elements. The systems and methods generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following more detailed description of several configurations illustrated in the drawings is not intended to limit the scope of the claims, but is merely representative of the described systems and methods.
图1是示出了一个或更多个电子设备102a-b的示例的框图,可以在所述电子设备102a-b中实现用于标识前导画面的系统和方法。在该示例中,示出了电子设备A 102a和电子设备B 102b。然而,应注意,在一些配置中,可以将关于电子设备A 102a和电子设备B102b所描述的一个或更多个特征和功能组合到单个电子设备中。FIG1 is a block diagram illustrating an example of one or more electronic devices 102a-b in which systems and methods for identifying a leading screen may be implemented. In this example, electronic device A 102a and electronic device B 102b are illustrated. However, it should be noted that in some configurations, one or more features and functions described with respect to electronic device A 102a and electronic device B 102b may be combined into a single electronic device.
电子设备A 102a包括编码器104和前导画面指示符模块108。电子设备A 102a中包括的元件中的每一个元件(例如,编码器104和前导画面指示符模块108)可以以硬件、软件或两者的组合来实现。Electronic device A 102a includes an encoder 104 and a leading picture indicator module 108. Each of the elements included in electronic device A 102a (eg, encoder 104 and leading picture indicator module 108) may be implemented in hardware, software, or a combination of both.
电子设备A 102a可以获得输入画面106。在一些配置中,可以使用图像传感器在电子设备A 104a上捕捉、从存储器取得和/或从另一电子设备接收输入画面106。Electronic device A 102a may obtain an input screen 106. In some configurations, the input screen 106 may be captured on electronic device A 104a using an image sensor, retrieved from memory, and/or received from another electronic device.
编码器104可以对输入画面106进行编码以产生编码数据。例如,编码器104可以对一系列输入画面106(例如,视频)进行编码。在一个配置中,编码器104可以是高效视频编码(HEVC)编码器。可以将编码数据包括在比特流114中。编码器104可以基于输入画面106产生开销信令。The encoder 104 may encode the input pictures 106 to generate encoded data. For example, the encoder 104 may encode a series of input pictures 106 (e.g., a video). In one configuration, the encoder 104 may be a High Efficiency Video Coding (HEVC) encoder. The encoded data may be included in a bitstream 114. The encoder 104 may generate overhead signaling based on the input pictures 106.
前导画面指示符模块108可以提供与前导画面相对应的指示符。例如,前导画面指示符模块108可以确定是否存在前导画面。如果存在前导画面,则前导画面指示符模块108还可以产生显式的前导画面指示符。在一些配置中,前导画面指示符模块108可以发送或以其他方式与一个或更多个电子设备共享所述显式的前导画面指示符。在一个示例中,电子设备A 102a可以向电子设备B 102b发送一个或更多个前导画面指示符。产生显式的前导画面指示符的一个优点可以包括:当处理比特流中的一个或更多个画面时,减少对一个或更多个画面执行的操作。The leading picture indicator module 108 can provide an indicator corresponding to the leading picture. For example, the leading picture indicator module 108 can determine whether a leading picture exists. If a leading picture exists, the leading picture indicator module 108 can also generate an explicit leading picture indicator. In some configurations, the leading picture indicator module 108 can send or otherwise share the explicit leading picture indicator with one or more electronic devices. In one example, electronic device A 102a can send one or more leading picture indicators to electronic device B 102b. One advantage of generating an explicit leading picture indicator can include reducing the operations performed on one or more pictures when processing one or more pictures in a bitstream.
根据本文所公开的系统和方法描述了一种或更多种指示符。本文给出了可以由电子设备A 102a产生的多种指示符的更多细节。例如,编码器104可以用一个或更多个指示符标识前导画面。下文示出了更多细节。应注意,在一些配置中,可以将前导画面指示符模块108包括在编码器104中。前导画面指示符模块108可以支持减少由一个或更多个电子设备102a-b对比特流进行的处理。One or more indicators are described in accordance with the systems and methods disclosed herein. Further details are provided herein regarding the various indicators that may be generated by electronic device A 102a. For example, encoder 104 may use one or more indicators to identify a leading picture. Further details are provided below. It should be noted that in some configurations, a leading picture indicator module 108 may be included in encoder 104. Leading picture indicator module 108 may support reduced bitstream processing by one or more electronic devices 102a-b.
编码器104(以及例如前导画面指示符模块108)可以产生比特流114。比特流114可以包括基于输入画面106的编码数据。在一个示例中,比特流114可以包括编码画面数据。在一些配置中,比特流114还可以包括开销数据,例如,片首部信息、PSP信息、SPS信息、APS信息等。在一些情况下,可以将片首部、PPS信息、SPS信息或APS信息称作高级语法。比特流114还可以包括其它数据,本文描述了其它数据的一部分示例。当对附加输入画面106编码时,比特流114可以包括一个或更多个前导画面。附加地或备选地,比特流114可以包括一个或更多个前导画面指示符和其它编码数据。The encoder 104 (and, for example, the leading picture indicator module 108) can generate a bitstream 114. The bitstream 114 can include coded data based on the input picture 106. In one example, the bitstream 114 can include coded picture data. In some configurations, the bitstream 114 can also include overhead data, such as slice header information, PSP information, SPS information, APS information, etc. In some cases, the slice header, PPS information, SPS information, or APS information can be referred to as high-level syntax. The bitstream 114 can also include other data, some examples of which are described herein. When encoding additional input pictures 106, the bitstream 114 can include one or more leading pictures. Additionally or alternatively, the bitstream 114 can include one or more leading picture indicators and other coded data.
可以将比特流114提供给解码器112。在一个示例中,可以使用有线或无线链路将比特流114传输到电子设备B 102b。在一些情况下,这可以通过网络(例如,Internet、局域网(LAN)或用于在设备之间通信的其它类型网络)来完成。如图1所示,可以将解码器112实现在电子设备B 102上,与电子设备A 102a上的解码器104相分离。应注意,在一些配置下,可以将编码器104和解码器112实现在相同电子设备上。在将编码器104和解码器102实现在相同电子设备上的实现方案中,例如,可以以多种方式使比特流114对解码器可用。例如,可以通过总线将比特流114提供给解码器112或将其存储在存储器中以便由解码器112取得。Bitstream 114 can be provided to decoder 112. In one example, bitstream 114 can be transferred to electronic device B 102b using a wired or wireless link. In some cases, this can be accomplished by a network (for example, the Internet, local area network (LAN) or other types of networks for communicating between devices). As shown in Figure 1, decoder 112 can be implemented on electronic device B 102, separated from the decoder 104 on electronic device A 102a. It should be noted that, in some configurations, encoder 104 and decoder 112 can be implemented on the same electronic device. In the implementation scheme in which encoder 104 and decoder 102 are implemented on the same electronic device, for example, bitstream 114 can be made available to decoder in many ways. For example, bitstream 114 can be provided to decoder 112 or stored in a memory so as to be obtained by decoder 112 by bus.
可以将解码器112实现为硬件、软件或二者的组合。在一个配置中,解码器112可以是HEVC解码器。解码器112可以获得(例如,接收)比特流114。解码器112可以基于比特流114产生一个或更多个解码画面118。可以显示、回放解码画面118,将其存储在存储器中和/或传输到另一设备等。The decoder 112 can be implemented as hardware, software, or a combination of both. In one configuration, the decoder 112 can be an HEVC decoder. The decoder 112 can obtain (e.g., receive) a bitstream 114. The decoder 112 can generate one or more decoded pictures 118 based on the bitstream 114. The decoded pictures 118 can be displayed, played back, stored in a memory, and/or transmitted to another device, etc.
解码器112可以包括前导画面确定模块120。前导画面确定模块120可以使电子设备B 102b能够标识在比特流114中是否存在前导画面。例如,前导画面确定模块120可以基于比特流114是否包括前导画面指示符,来确定是否存在前导画面。附加地或备选地,前导画面确定模块120可以基于前导画面缺少指示符,来确定是否存在前导画面。下文更详细地描述了前导画面确定模块120。The decoder 112 may include a leading picture determination module 120. The leading picture determination module 120 may enable the electronic device B 102b to identify whether a leading picture is present in the bitstream 114. For example, the leading picture determination module 120 may determine whether a leading picture is present based on whether the bitstream 114 includes a leading picture indicator. Additionally or alternatively, the leading picture determination module 120 may determine whether a leading picture is present based on a leading picture lacking an indicator. The leading picture determination module 120 is described in more detail below.
电子设备B 102b还可以对比特流114执行一个或更多个操作。在一个示例中,对比特流114执行的操作或处理可以基于是否存在前导画面或前导画面指示符。在一些配置中,电子设备B 102b上的解码器112或其它元件可以对比特流114执行操作。在一些配置中,对比特流114执行的操作可以包括丢弃前导画面或传输解码比特流114。此外,还可以对比特流114执行其它操作。Electronic device B 102b may also perform one or more operations on the bitstream 114. In one example, the operations or processing performed on the bitstream 114 may be based on the presence of a leading picture or a leading picture indicator. In some configurations, a decoder 112 or other component on electronic device B 102b may perform the operations on the bitstream 114. In some configurations, the operations performed on the bitstream 114 may include discarding the leading picture or transmitting the decoded bitstream 114. In addition, other operations may be performed on the bitstream 114.
在一些配置中,电子设备B 102b可以输出解码画面118。在一个示例中,可以将解码画面118传输到另一设备或回送到电子设备A102a。在一个配置中,可以存储解码画面118或以其他方式将其保持在电子设备B 102b上。在另一示例中,电子设备B 102b可以显示解码画面118。在其它配置中,解码画面118可以基于对比特流114执行的编码和其它操作,包括具有不同特性的输入画面106的元素。在一些配置中,解码画面118可以包括在与输入画面106具有不同分辨率、格式、规格或其它属性的画面流中。In some configurations, electronic device B 102b can output a decoded picture 118. In one example, the decoded picture 118 can be transmitted to another device or sent back to electronic device A 102a. In one configuration, the decoded picture 118 can be stored or otherwise retained on electronic device B 102b. In another example, electronic device B 102b can display the decoded picture 118. In other configurations, the decoded picture 118 can include elements of the input picture 106 having different characteristics based on the encoding and other operations performed on the bitstream 114. In some configurations, the decoded picture 118 can be included in a picture stream having a different resolution, format, size, or other attributes than the input picture 106.
应注意,在一些配置或实例中,可以将比特流114提供给处理设备(例如,网络节点)。例如,处理设备(例如,网络节点)可以是电子设备B 102b的一个示例。例如,处理设备可以包括解码器。备选地,处理设备可以是介于电子设备A 102a和电子设备B 102b之间的单独设备。例如,处理设备可以接收比特流114,将其中继到电子设备B 102b。在一些情况或配置中,处理设备或电子设备102b可以包括前导画面确定模块120,以确定比特流114中是否存在前导画面。在一些情况或配置中,处理设备或电子设备B 102b可以从比特流114丢弃前导画面。It should be noted that in some configurations or instances, bitstream 114 can be provided to a processing device (e.g., a network node). For example, a processing device (e.g., a network node) can be an example of electronic device B 102b. For example, the processing device can include a decoder. Alternatively, the processing device can be a separate device between electronic device A 102a and electronic device B 102b. For example, the processing device can receive bitstream 114 and relay it to electronic device B 102b. In some cases or configurations, the processing device or electronic device 102b can include a leading picture determination module 120 to determine whether there is a leading picture in the bitstream 114. In some cases or configurations, the processing device or electronic device B 102b can discard the leading picture from the bitstream 114.
应注意,可以将电子设备102中所包括的一个或更多个元件或其部件实现为硬件。例如,可以将一个或更多个这些元件或其部件实现为芯片、电路或硬件组件等。还应注意,可以将本文所述的一个或更多个功能或方法实现为硬件,和/或使用硬件来执行所述功能或方法。例如,可以在芯片集、专用集成电路(ASIC)、大规模集成电路(LSI)或集成电路等中实现和/或使用芯片集、专用集成电路(ASIC)、大型集成电路(LSI)或集成电路等来实现本文所述的一个或更多个方法。It should be noted that one or more elements or parts thereof included in the electronic device 102 can be implemented as hardware. For example, one or more of these elements or parts thereof can be implemented as chips, circuits, or hardware components. It should also be noted that one or more functions or methods described herein can be implemented as hardware and/or hardware can be used to perform the functions or methods. For example, one or more methods described herein can be implemented in and/or using a chipset, an application specific integrated circuit (ASIC), a large scale integrated circuit (LSI), or an integrated circuit.
图2是示出了用于标识前导画面的方法200的一个配置的流程图。电子设备102可以对第一画面编码202。第一画面可以是通过电子设备102获得的输入画面106或输入画面106的流之一。在一些情况下,第一画面可以是CRA画面。在其它情况下,除了第一画面之外的画面可以是CRA画面。例如,在一个配置中,CRA画面可以是在随机访问点处出现的画面。随机访问点可以是数据流(例如,比特流)中的任何点,可以在所述点处开始对比特流解码。具有在随机访问点处出现的CRA画面的一个优点在于:能够确定前导画面是否存在于比特流中该CRA画面之后。无论CRA画面是否是第一画面,或CRA画面是否在随机访问点处,得知前导画面相对CRA画面的位置可以是有利的。此外,在一些配置中,与CRA画面相对应的指示符可以指示一个或更多个前导画面是否在CRA画面之后。在一些配置中,电子设备102可以对多个输入画面106进行编码。FIG2 is a flow chart illustrating one configuration of a method 200 for identifying a leading picture. An electronic device 102 may encode 202 a first picture. The first picture may be an input picture 106 or one of a stream of input pictures 106 obtained by the electronic device 102. In some cases, the first picture may be a CRA picture. In other cases, pictures other than the first picture may be CRA pictures. For example, in one configuration, a CRA picture may be a picture that appears at a random access point. A random access point may be any point in a data stream (e.g., a bitstream) at which decoding of the bitstream may begin. One advantage of having a CRA picture appear at a random access point is that it is possible to determine whether a leading picture appears after the CRA picture in the bitstream. Regardless of whether a CRA picture is the first picture or whether a CRA picture appears at a random access point, knowing the position of the leading picture relative to the CRA picture may be advantageous. Furthermore, in some configurations, an indicator corresponding to a CRA picture may indicate whether one or more leading pictures appear after the CRA picture. In some configurations, the electronic device 102 may encode multiple input pictures 106.
对第一画面编码202可以包括将输入画面106表示为数字数据。例如,对第一画面编码202可以包括产生比特串,所述比特串表示输入画面106的特性(例如,颜色、亮度、空间位置等)。在一些情况下,可以将输入画面106编码为202CRA画面。可以将一个或更多个编码画面包括在比特流114中,并可以将其发送到包括解码器112的另一电子设备102。Encoding 202 the first picture may include representing the input picture 106 as digital data. For example, encoding 202 the first picture may include generating a bit string representing characteristics (e.g., color, brightness, spatial position, etc.) of the input picture 106. In some cases, the input picture 106 may be encoded 202 as a CRA picture. One or more encoded pictures may be included in a bitstream 114 and may be sent to another electronic device 102 including a decoder 112.
电子设备102可以确定204是否存在前导画面。前导画面可以是在解码顺序中位于CRA画面之后并且在输出顺序中位于CRA画面之前的画面。例如,如果编码器104规定画面在解码顺序中位于CRA画面之后并且在输出顺序(例如,从解码器112输出的顺序)中位于该CRA画面之前,则可以存在前导画面。The electronic device 102 may determine 204 whether a leading picture exists. A leading picture may be a picture that follows a CRA picture in decoding order and precedes the CRA picture in output order. For example, a leading picture may exist if the encoder 104 specifies that a picture follows a CRA picture in decoding order and precedes the CRA picture in output order (e.g., an order output from the decoder 112).
可以根据一个或更多个方法来完成确定204是否存在前导画面。在一个方法中,如果第一画面是CRA画面并存在被规定为(例如,由编码器104规定为)在解码顺序中位于CRA画面之后且在输出顺序中位于CRA画面之前的另一画面,则电子设备102确定204存在前导画面。在一些配置中,电子设备102可以读取与CRA画面和一个或更多个其他画面相对应的数据,以确定是否存在前导画面。例如,电子设备102可以读取对CRA画面和一个或更多个其它画面的解码顺序和输出顺序加以规定的数据。Determining 204 whether a leading picture exists can be accomplished according to one or more methods. In one method, if the first picture is a CRA picture and there is another picture that is specified (e.g., by the encoder 104) to be located after the CRA picture in decoding order and before the CRA picture in output order, the electronic device 102 determines 204 that a leading picture exists. In some configurations, the electronic device 102 can read data corresponding to the CRA picture and one or more other pictures to determine whether a leading picture exists. For example, the electronic device 102 can read data that specifies the decoding order and output order of the CRA picture and one or more other pictures.
在一些配置中,可以通过POC确定输出顺序,而可以通过语法元素出现在比特流114中的顺序确定解码顺序。输出顺序是从电子设备102输出解码画面的顺序。在一些配置中,输出顺序可以是从解码画面缓冲器输出解码画面的顺序。在从解码画面缓冲器输出解码画面的情况下,可以通过POC规定画面的输出顺序,而无论是否要输出该画面。此外,解码顺序是由解码处理来处理语法元素的顺序。如果满足画面被指定为在解码顺序中位于CRA画面之后且被指定为在输出顺序中位于该CRA画面之前的条件,则电子设备102可以确定204存在前导画面。In some configurations, the output order may be determined by the POC, while the decoding order may be determined by the order in which syntax elements appear in the bitstream 114. The output order is the order in which decoded pictures are output from the electronic device 102. In some configurations, the output order may be the order in which decoded pictures are output from a decoded picture buffer. In the case of outputting decoded pictures from a decoded picture buffer, the output order of the pictures may be specified by the POC, regardless of whether the pictures are to be output. Furthermore, the decoding order is the order in which syntax elements are processed by the decoding process. If the condition that a picture is designated as following a CRA picture in decoding order and designated as preceding the CRA picture in output order is met, the electronic device 102 may determine 204 that a leading picture exists.
如果存在前导画面,则电子设备102可以产生206显式的前导画面指示符。在一些配置中,电子设备102可以包括产生一个或更多个显式的前导画面指示符的前导画面指示符模块108。在一个示例中,可以将前导画面指示符模块108包括为电子设备102上的编码器104的一部分。产生显式的前导画面指示符的一个优点可以包括减少解码器的不必要的处理。If a leading picture is present, the electronic device 102 may generate 206 an explicit leading picture indicator. In some configurations, the electronic device 102 may include a leading picture indicator module 108 that generates one or more explicit leading picture indicators. In one example, the leading picture indicator module 108 may be included as part of the encoder 104 on the electronic device 102. One advantage of generating explicit leading picture indicators may include reducing unnecessary processing by a decoder.
可以采用一个或更多个方法来产生206显式的前导画面指示符。在一个方法中,前导画面指示符模块108可以通过修改或创建与CRA画面相对应的NAL单元类型,来产生前导画面指示符。例如,NAL单元类型可以与由电子设备102编码的第一画面相关联。例如,NAL单元类型可以与CRA画面相对应。在一些配置中,NAL单元类型可以是显式的指示符,指示具有一个或更多个后续前导画面的CRA画面的编码片。创建或修改显式地指示前导画面的NAL单元的一个优点在于:可以不需要(例如,处理设备、网络节点或解码器的)附加解码来标识前导画面。另一优点可以在于:在仅将NAL单元类型用于显式地指示前导画面的配置中,可以不需要修改CRA画面的SPS、PPS或其它域。One or more methods may be employed to generate 206 an explicit leading picture indicator. In one method, the leading picture indicator module 108 may generate the leading picture indicator by modifying or creating a NAL unit type corresponding to a CRA picture. For example, the NAL unit type may be associated with a first picture encoded by the electronic device 102. For example, the NAL unit type may correspond to a CRA picture. In some configurations, the NAL unit type may be an explicit indicator indicating a coded slice of a CRA picture with one or more subsequent leading pictures. One advantage of creating or modifying a NAL unit that explicitly indicates a leading picture is that additional decoding (e.g., by a processing device, a network node, or a decoder) may not be required to identify the leading picture. Another advantage may be that in configurations where only the NAL unit type is used to explicitly indicate a leading picture, the SPS, PPS, or other fields of the CRA picture may not need to be modified.
例如,可以参考表格1,来解释产生显式的前导画面指示符以指示存在前导画面的电子设备102的一个配置。在一个示例中,如果对于包含特定画面的片的NAL单元,NAL单元类型等于4,则该特定画面的所有VCL NAL单元的NAL单元类型可以等于4。在该示例中,NAL单元类型等于4可以指示具有一个或更多个后续前导画面(例如,在CRA画面之后)的CRA画面的编码片。For example, one configuration of the electronic device 102 that generates an explicit leading picture indicator to indicate the presence of a leading picture may be explained with reference to Table 1. In one example, if the NAL unit type is equal to 4 for a NAL unit of a slice containing a particular picture, the NAL unit type of all VCL NAL units of the particular picture may be equal to 4. In this example, the NAL unit type being equal to 4 may indicate a coded slice of a CRA picture having one or more subsequent leading pictures (e.g., following a CRA picture).
在附加或备选方法中,电子设备102可以通过产生标志来产生206显式的前导画面指示符。例如,电子设备102可以在SPS、PPS、APS和CRA画面的片首部内的一个或更多个中产生标志,指示一个或更多个前导画面是否在CRA画面之后。例如,如果确定前导画面在CRA画面之后,则电子设备102可以将标志插入CRA画面的一个或更多个片首部。In an additional or alternative method, the electronic device 102 may generate 206 an explicit leading picture indicator by generating a flag. For example, the electronic device 102 may generate a flag in one or more of the slice headers of the SPS, PPS, APS, and CRA pictures to indicate whether the one or more leading pictures follow the CRA picture. For example, if it is determined that the leading picture follows the CRA picture, the electronic device 102 may insert the flag into one or more slice headers of the CRA picture.
下文示出了产生206显式的前导画面指示符的更具体的示例。在一个示例中,电子设备102可以创建或修改标志或其它指示符来伴随一个或更多个画面(例如,第一画面)的语法结构。例如,前导画面指示符模块108可以通过将标志插入SPS、PPS、APS或CRA画面的片首部,来指示存在前导画面。在一些情况下,可以在随机访问点或CRA画面的片首部处将所述标志进行编码或发送,以便指示前导画面是否存在于CRA画面之后。A more specific example of generating 206 an explicit leading picture indicator is shown below. In one example, the electronic device 102 can create or modify a flag or other indicator to accompany the syntax structure of one or more pictures (e.g., the first picture). For example, the leading picture indicator module 108 can indicate the presence of a leading picture by inserting a flag into a slice header of an SPS, PPS, APS, or CRA picture. In some cases, the flag can be encoded or sent at a random access point or a slice header of a CRA picture to indicate whether a leading picture is present after the CRA picture.
在一个示例中,前导画面指示符模块108可以在SPS中产生标志。前导画面指示符可以是编码为SPS的一部分的显式指示符。例如,表格6示出了可以由前导画面指示符模块108产生的并包括在SPS中的标志的一个配置。在一个配置中,前导画面标志(例如,cra_leadingpict_present_flag)等于1可以指示在比特流114中存在位于CRA画面之后的前导画面。以粗体表示SPS中的标志的示例。In one example, the leading picture indicator module 108 can generate a flag in the SPS. The leading picture indicator can be an explicit indicator encoded as part of the SPS. For example, Table 6 shows one configuration of flags that can be generated by the leading picture indicator module 108 and included in the SPS. In one configuration, a leading picture flag (e.g., cra_leadingpict_present_flag) equal to 1 can indicate that a leading picture is present after a CRA picture in the bitstream 114. Examples of flags in the SPS are shown in bold.
表格6Table 6
在该示例中,profile_idc和level_idc可以指示编码视频序列符合的简档和等级。域reserved_zero_8bits等于0指示解码器应忽略reserved_zero_8bits的值。由seq_parameter_set_id表示的域可以标识序列参数集,所述序列参数集由画面参数集引用。seq_poarameter_set_id的值应在0到31的范围(包括0和31)中。In this example, profile_idc and level_idc may indicate the profile and level to which the coded video sequence conforms. A field of reserved_zero_8bits equal to 0 indicates that the decoder should ignore the value of reserved_zero_8bits. The field denoted by seq_parameter_set_id may identify the sequence parameter set referenced by the picture parameter set. The value of seq_parameter_set_id shall be in the range of 0 to 31, inclusive.
此外,对于域rbsp_trailing_bits,语法的一个示例可以如下表7中所示:Furthermore, for the field rbsp_trailing_bits, an example of syntax may be as shown in Table 7 below:
表格7Form 7
在该示例中,rbsp_byte[i]是RBSP的第i个字节。可以将RBSP规定为字节的有序序列(SODB)。RBSP的SODB可以包括多种配置。例如,如果SODB为空(即,长度是0比特),则RBSP还可以为空。如果SODB不为空,则RBSP的第一字节可以包含SODB的最高有效或最左侧八比特,RBSP的下一字节包含SODB的下一八比特,以此类推直到SODB的小于八个比特剩下为止。此外,可以在SODB之后存在rbsp_trailing_bits()。在该示例中,最后RBSP字节的头几个比特可以包括SODB的任何剩余比特。下一比特可以包括等于1的单个rbsp_stop_one_bit。当rbsp_stop_one_bit不是字节对齐的字节的最后比特时,可以存在一个或更多个rbsp_alignment_zero_bit,以便导致字节对齐。此外,可以在一些RBSP中,在RBSP的末尾的rbsp_trailing_bits()之后,存在等于0x0000的一个或更多个cabac_zero_word16比特语法元素。In this example, rbsp_byte[i] is the i-th byte of the RBSP. The RBSP can be defined as an ordered sequence of bytes (SODB). The SODB of the RBSP can include multiple configurations. For example, if the SODB is empty (i.e., the length is 0 bits), the RBSP can also be empty. If the SODB is not empty, the first byte of the RBSP can contain the most significant or leftmost eight bits of the SODB, the next byte of the RBSP contains the next eight bits of the SODB, and so on until less than eight bits of the SODB remain. In addition, rbsp_trailing_bits() can be present after the SODB. In this example, the first few bits of the last RBSP byte can include any remaining bits of the SODB. The next bit can include a single rbsp_stop_one_bit equal to 1. When the rbsp_stop_one_bit is not the last bit of a byte that is byte-aligned, one or more rbsp_alignment_zero_bits can be present to cause byte alignment. Additionally, there may be one or more cabac_zero_word 16-bit syntax elements equal to 0x0000 in some RBSPs, following rbsp_trailing_bits() at the end of the RBSP.
附加地或备选地,前导画面指示符模块108可以在PPS中产生标志。例如,该前导画面指示符可以是被包括为PPS的一部分的显式指示符。例如,表格8示出了包括标志的代码的一个配置,所述标志可以由前导画面指示符模块108产生并包括在PPS中。在一个示例中,前导画面标志(例如,cra_leadingpict_present_flag)等于1可以指示在比特流114中存在位于CRA画面之后的前导画面。以粗体表示PPS中的标志的示例。Additionally or alternatively, the leading picture indicator module 108 can generate a flag in the PPS. For example, the leading picture indicator can be an explicit indicator included as part of the PPS. For example, Table 8 shows one configuration of code including a flag that can be generated by the leading picture indicator module 108 and included in the PPS. In one example, a leading picture flag (e.g., cra_leadingpict_present_flag) equal to 1 can indicate the presence of a leading picture following a CRA picture in the bitstream 114. Examples of flags in the PPS are shown in bold.
表格8Form 8
在该示例中,pic_parameter_set_id可以标识在片首部中引用的画面参数集。此外,pic_parameter_set_id的值可以在0到255的范围(包括0和255)中。seq_parameter_set_id可以指活动的序列参数集。此外,seq_parameter_set_id的值可以在0到31的范围(包括0和31)中。在符合HEVC推荐f国际标准的比特流中,pps_extension_flag可以等于0。可以将pps_extension_fla的值1保留,以供ITU—T|ISO/IEC将来使用。解码器应忽略在画面参数集NAL单元中在值为1的pps_extension_flag之后的所有数据。pps_extension_data_flag可以具有任意值,并且不影响符合在HEVC推荐|国际标准中规定的简档的解码器。In this example, pic_parameter_set_id can identify the picture parameter set referenced in the slice header. In addition, the value of pic_parameter_set_id can be in the range of 0 to 255 (including 0 and 255). seq_parameter_set_id can refer to the active sequence parameter set. In addition, the value of seq_parameter_set_id can be in the range of 0 to 31 (including 0 and 31). In a bitstream that conforms to the HEVC Recommendation f international standard, pps_extension_flag can be equal to 0. The value of 1 for pps_extension_fla can be reserved for future use by ITU-T | ISO/IEC. The decoder should ignore all data after the pps_extension_flag with a value of 1 in the picture parameter set NAL unit. pps_extension_data_flag can have any value and does not affect decoders that conform to the profile specified in the HEVC Recommendation | International Standard.
附加地或备选地,前导画面指示符模块108可以在APS中产生标志。该前导画面指示符可以是被包括为APS的一部分的显式指示符。例如,表格9示出了包括标志的代码的一个配置,所述标志可以由前导画面指示符模块108产生并包括在APS中。在一个示例中,前导画面标志(例如,cra_leadingpict_present_flag)等于1可以指示在比特流114存在位于CRA画面之后的前导画面。以粗体表示PPS中的标志的示例。作为进一步的说明,APS标识标签(aps_id)还可以包括与画面的片首部相对应的数据。在一些配置中,aps_id的值可以在0到预定限制的范围(包括0和预定限制)中。Additionally or alternatively, the leading picture indicator module 108 can generate a flag in the APS. The leading picture indicator can be an explicit indicator included as part of the APS. For example, Table 9 shows a configuration of code including a flag that can be generated by the leading picture indicator module 108 and included in the APS. In one example, a leading picture flag (e.g., cra_leadingpict_present_flag) equal to 1 can indicate that there is a leading picture following a CRA picture in the bitstream 114. Examples of flags in the PPS are shown in bold. As a further illustration, the APS identification tag (aps_id) can also include data corresponding to the slice header of the picture. In some configurations, the value of aps_id can be in the range of 0 to a predetermined limit (including 0 and the predetermined limit).
表格9Form 9
在该示例中,aps_id可以标识在片首部中引用的适配参数集。In this example, aps_id may identify the adaptation parameter set referenced in the slice header.
aps_id的值可以在0到TBD的范围(包括0和TBD)内。The value of aps_id can be in the range of 0 to TBD (inclusive).
aps_scaling_list_data_present_flag等于1可以指示在APS中存在缩放列表参数。aps_scaling_list_data_present_flag等于0可以指示在APS中不存在缩放列表参数。aps_deblocking_filter_flag等于1可以表明在APS中存在去块参数。aps_deblocking_filter_flag等于0可以表明在APS中不存在去块参数。aps_sao_interleaving_flag等于1可以表明:在引用当前APS的片的片数据中,SAO参数是交织的。aps_scaling_list_data_present_flag equal to 1 may indicate that scaling list parameters are present in the APS. aps_scaling_list_data_present_flag equal to 0 may indicate that scaling list parameters are not present in the APS. aps_deblocking_filter_flag equal to 1 may indicate that deblocking parameters are present in the APS. aps_deblocking_filter_flag equal to 0 may indicate that deblocking parameters are not present in the APS. aps_sao_interleaving_flag equal to 1 may indicate that SAO parameters are interleaved in the slice data of the slice referencing the current APS.
aps_sao_interleaving_flag等于0可以表明:SAO参数在引用当前APS的片的APS中。当不存在活动APS时,可以将aps_sao_interleaving_flag推断为0。aps_sample_adaptive_offset_flag等于1可以表明:对于引用当前APS的片,SAO是开启的。aps_sample_adaptive_offset_flag等于0可以表明:对于引用当前APS的片,SAO是关闭的。当没有活动APS时,可以将aps_sample_adaptive_offset_flag值推断为0。aps_sao_interleaving_flag equal to 0 indicates that the SAO parameters are in the APS of the slice that references the current APS. When no APS is active, aps_sao_interleaving_flag is inferred to be 0. aps_sample_adaptive_offset_flag equal to 1 indicates that SAO is on for the slice that references the current APS. aps_sample_adaptive_offset_flag equal to 0 indicates that SAO is off for the slice that references the current APS. When no APS is active, aps_sample_adaptive_offset_flag value is inferred to be 0.
aps_adaptive_loop_filter_flag等于1可以表明:对于引用当前APS的片,白适应环路滤波器(ALF)是开启的。aps_adaptive_loop_filter_flag等于0可以表明:对于引用当前APS的片,ALF是关闭的。当没有活动APS时,可以将aps_adaoptive_loop_filter_flag值推断为0。aps_adaptive_loop_filter_flag equal to 1 may indicate that the adaptive loop filter (ALF) is on for slices referencing the current APS. aps_adaptive_loop_filter_flag equal to 0 may indicate that the ALF is off for slices referencing the current APS. When there is no active APS, the aps_adaptive_loop_filter_flag value may be inferred to be 0.
aps_extension_flag等于0可以表明在画面参数集RBSP语法结构中不存在aps_extension_data_flag语法元素。aps_extension_flag可以在符合HEVC推荐l国际标准的比特流中等于0。可以将aps_extension_flag的值1保留,以供ITU-T|ISO/IEC将来使用。解码器应忽略在画面参数集NAL单元中在值为1的aps_extension_flag之后的所有数据。The value of aps_extension_flag equal to 0 may indicate that the aps_extension_data_flag syntax element is not present in the picture parameter set RBSP syntax structure. aps_extension_flag may be equal to 0 in bitstreams conforming to the HEVC Recommendation 1 international standard. The value of aps_extension_flag of 1 is reserved for future use by ITU-T | ISO/IEC. A decoder shall ignore all data following an aps_extension_flag value of 1 in a picture parameter set NAL unit.
aps_extension_data_flag可以具有任意值,并且可以不影响符合在HEVC推荐|国际标准中规定的简档的解码器。aps_extension_data_flag may have any value and may not affect decoders conforming to the profile specified in the HEVC Recommendation | International Standard.
附加地或备选地,前导画面指示符模块108可以在CRA画面或前导画面的相关的片首部中产生标志。该前导画面指示符可以是被包括为片首部的一部分的显式指示符。例如,表格10示出了包括标志的代码的一个配置,所述标志可以由前导画面指示符模块108产生并包括为片首部的一部分。在一个示例中,前导画面标志(例如,cra_leadingpict_present_flag)等于1可以指示:在比特流114中存在位于与该标志相关联的CRA画面或其它画面之后的前导画面。以粗体表示片首部中的标志的示例。Additionally or alternatively, the leading picture indicator module 108 can generate a flag in the slice header associated with the CRA picture or the leading picture. The leading picture indicator can be an explicit indicator included as part of the slice header. For example, Table 10 shows one configuration of code including a flag that can be generated by the leading picture indicator module 108 and included as part of the slice header. In one example, a leading picture flag (e.g., cra_leadingpict_present_flag) equal to 1 can indicate that a leading picture is present in the bitstream 114 following the CRA picture or other picture associated with the flag. Examples of flags in the slice header are shown in bold.
表格10Form 10
在该示例中,first_slice_in_pic_flag可以指示所述片是否是画面的第一片。如果first_slice_in_pic_flag等于1,则可以将变量SliceCbAddrZS和SliceCtbAddrRS都设置为0,并且可以从画面中的第一编码树块开始解码。slice_address可以以片颗粒度分辨率规定所述片开始的地址。在一个示例中,slice_address语法元素的长度以比特计可以等于:In this example, first_slice_in_pic_flag may indicate whether the slice is the first slice of a picture. If first_slice_in_pic_flag is equal to 1, then the variables SliceCbAddrZS and SliceCtbAddrRS may both be set to 0, and decoding may begin from the first coding tree block in the picture. slice_address may specify the address where the slice begins at slice granularity resolution. In one example, the length of the slice_address syntax element in bits may be equal to:
(Ceil(Log2(PicWidthInCtbs*PicHeightInCtbs))+SliceGranularity)。(Ceil(Log2(PicWidthInCtbs*PicHeightInCtbs))+SliceGranularity).
变量SliceCtbAddrRS可以以编码树块栅格(raster)扫描顺序规定所述片开始的编码树块,并且可以如下导出:The variable SliceCtbAddrRS may specify the coding tree block where the slice starts in coding tree block raster scan order and may be derived as follows:
SliceCtbAddrRS=(slice address>>SliceGranularity)。SliceCtbAddrRS=(slice address>>SliceGranularity).
变量SliceCbAddrZS可以按z扫描顺序以最小编码块颗粒度规定所述片中第一编码块的地址,并且可以如下导出:The variable SliceCbAddrZS may specify the address of the first coded block in the slice in z-scan order at the smallest coded block granularity and may be derived as follows:
SliceCbAddrZS=slice_address;以及SliceCbAddrZS=slice_address; and
slice_address<<((log2 diff max min coding block size-SliceGranularity)<<1)。slice_address<<((log2 diff max min coding block size-SliceGranularity)<<1).
片解码可以从片开始坐标处可能的最大编码单元开始。Slice decoding may start from the largest possible coding unit at the slice start coordinates.
应注意,以上表格和附加说明示出了可以包括cra_leadingpict_present_flag的一个可能位置。在其它配置中,可以在SPS、PPS、APS或片首部的不同位置处发送一个或更多个标志。It should be noted that the above table and accompanying description show one possible location where cra_leadingpict_present_flag may be included. In other configurations, one or more flags may be sent at different locations in the SPS, PPS, APS, or slice header.
附加地或备选地,前导画面指示符模块108可以修改或创建与一个或更多个前导画面相对应的NAL单元类型。例如,与前导画面相对应的NAL单元类型可以指示前导画面。例如,NAL单元类型可以指示在CRA画面之后的前导画面的编码片。在一个配置中,前导画面的编码片还可以包括对CRA画面的引用。Additionally or alternatively, the leading picture indicator module 108 may modify or create NAL unit types corresponding to one or more leading pictures. For example, the NAL unit type corresponding to the leading picture may indicate the leading picture. For example, the NAL unit type may indicate a coded slice of the leading picture following a CRA picture. In one configuration, the coded slice of the leading picture may also include a reference to a CRA picture.
如果存在前导画面,则电子设备102可以发送208显式的前导画面指示符。发送208显式的前导画面指示符可以包括在电子设备102的多个组件之问传送数据(例如,比特流114)或在一个或更多个电子设备102之间传输比特流114。在一个示例中,电子设备A 102a上的编码器104可以向电子设备B 102b发送包括一个或更多个前导画面指示符的比特流114。在一些配置中,可以向电子设备B 102b上的解码器120发送比特流114。例如,可以通过有线或无线传输,来发送208显式的前导画面指示符。If a leading picture is present, the electronic device 102 may transmit 208 an explicit leading picture indicator. Transmitting 208 the explicit leading picture indicator may include communicating data (e.g., a bitstream 114) between multiple components of the electronic device 102 or transmitting the bitstream 114 between one or more electronic devices 102. In one example, the encoder 104 on electronic device A 102a may transmit the bitstream 114 including one or more leading picture indicators to electronic device B 102b. In some configurations, the bitstream 114 may be transmitted to the decoder 120 on electronic device B 102b. For example, the explicit leading picture indicator may be transmitted 208 via a wired or wireless transmission.
图3是示出了用于标识前导画面的方法300的更具体配置的流程图。电子设备102可以对CRA画面编码302。例如,电子设备102可以对作为CRA画面的输入画面106编码302。例如,电子设备102可以如以上结合图2所述,对CRA画面编码302。还应注意,尽管一些配置可以指示与一个或更多个前导画面指示符相对应的CRA画面,然而前导画面指示符可以与其它类型的画面相对应。例如,可以将多个所提出的用于提供前导画面指示符的方法应用于即时解码刷新(IDR)画面。在一个配置中,IDR画面可以是变量IdrPicFlag等于1的编码画面。IDR画面可以导致解码处理,以将所有参考画面标记为“未用于参考”。此外,可以对在解码顺序中位于IDR画面之后的所有编码画面进行解码,而无需根据在解码顺序中位于IDR画面之前的任何画面的帧间预测。在一些配置中,每个编码视频序列或画面流的第一画面可以是IDR画面。FIG3 is a flow chart illustrating a more specific configuration of a method 300 for identifying a leading picture. The electronic device 102 may encode 302 a CRA picture. For example, the electronic device 102 may encode 302 an input picture 106 that is a CRA picture. For example, the electronic device 102 may encode 302 the CRA picture as described above in conjunction with FIG2 . It should also be noted that while some configurations may indicate a CRA picture corresponding to one or more leading picture indicators, the leading picture indicators may correspond to other types of pictures. For example, several of the proposed methods for providing leading picture indicators may be applied to Instantaneous Decoding Refresh (IDR) pictures. In one configuration, an IDR picture may be a coded picture with the variable IdrPicFlag equal to 1. An IDR picture may cause the decoding process to mark all reference pictures as "unused for reference." Furthermore, all coded pictures following the IDR picture in decoding order may be decoded without requiring inter-frame prediction based on any pictures preceding the IDR picture in decoding order. In some configurations, the first picture of each coded video sequence or picture stream may be an IDR picture.
对CRA画面编码302可以包括将输入画面106表示为数字数据。例如,对第一画面编码302可以包括产生表示输入画面106的特性(例如,颜色、亮度、空间位置等)的比特串。可以将一个或更多个编码画面包括在比特流114中,并可以将其发送到包括解码器112的另一电子设备102。Encoding 302 a CRA picture may include representing the input picture 106 as digital data. For example, encoding 302 a first picture may include generating a bit string representing characteristics (e.g., color, brightness, spatial position, etc.) of the input picture 106. One or more encoded pictures may be included in a bitstream 114 and may be sent to another electronic device 102 including a decoder 112.
电子设备102可以确定304是否存在前导画面。前导画面可以是在解码顺序中位于CRA画面之后并且在输出顺序中位于CRA画面之前的画面。例如,如果编码器104规定画面在解码顺序中位于CRA画面之后并且在输出顺序(例如,从解码器112输出的顺序)中位于该CRA画面之前,则可以存在前导画面。例如,电子设备102可以如以上结合图2所述确定304是否存在前导画面。The electronic device 102 may determine 304 whether a leading picture exists. A leading picture may be a picture that follows a CRA picture in decoding order and precedes the CRA picture in output order. For example, if the encoder 104 specifies that a picture follows a CRA picture in decoding order and precedes the CRA picture in output order (e.g., the order output from the decoder 112), then a leading picture may exist. For example, the electronic device 102 may determine 304 whether a leading picture exists as described above in conjunction with FIG. 2 .
如果存在前导画面,则电子设备102可以产生306显式的前导画面指示符。电子设备102可以根据一个或更多个方法来产生306显式的前导画面指示符。例如,电子设备102可以产生306NAL单元类型、SPS中的标志、PPS中的标志、APS中的标志和CRA画面的片首部中的标志中的一个或更多个,指示存在前导画面(例如,一个或更多个前导画面在CRA画面之后)。换言之,显式的前导画面指示符的示例包括NAL单元类型、SPS中的标志、PPS中的标志、APS中的标志和CRA画面的片首部中的标志中的一个或更多个。If a leading picture exists, the electronic device 102 may generate 306 an explicit leading picture indicator. The electronic device 102 may generate 306 the explicit leading picture indicator according to one or more methods. For example, the electronic device 102 may generate 306 one or more of a NAL unit type, a flag in an SPS, a flag in a PPS, a flag in an APS, and a flag in a slice header of a CRA picture to indicate that a leading picture exists (e.g., one or more leading pictures follow the CRA picture). In other words, examples of an explicit leading picture indicator include one or more of a NAL unit type, a flag in an SPS, a flag in a PPS, a flag in an APS, and a flag in a slice header of a CRA picture.
在一个方法中,电子设备102可以产生306与CRA画面相对应的NAL单元类型。例如,电子设备102可以产生306如以上表格1所示的NAL单元类型4。NAL单元类型4可以指示具有一个或更多个后续前导画面的CRA画面的编码片。In one method, the electronic device 102 may generate 306 a NAL unit type corresponding to a CRA picture. For example, the electronic device 102 may generate 306 a NAL unit type 4 as shown in Table 1 above. NAL unit type 4 may indicate a coded slice of a CRA picture with one or more subsequent leading pictures.
在附加或备选方法中,电子设备102可以在SPS、PPS、APS和CRA画面的片首部中的一个或更多个中产生306标志。例如,电子设备102可以如上所述在SPS、PPS、APS和CRA画面的片首部中的一个或更多个中,产生306一个或更多个值为1的cra_leadingpict_present_flags。例如,值为1的cra_leadingpict_present_flags可以指示在CRA画面之后存在一个或更多个前导画面。应注意,可以仅实现上述方法之一,或可以实现上述方法中的两个或多个方法的组合,以显式地指示一个或更多个前导画面在CRA画面之后。In an additional or alternative method, the electronic device 102 may generate 306 a flag in one or more of the slice headers of the SPS, PPS, APS, and CRA pictures. For example, the electronic device 102 may generate 306 one or more cra_leadingpict_present_flags with a value of 1 in one or more of the slice headers of the SPS, PPS, APS, and CRA pictures as described above. For example, a cra_leadingpict_present_flags value of 1 may indicate that one or more leading pictures are following the CRA picture. It should be noted that only one of the above methods may be implemented, or a combination of two or more of the above methods may be implemented to explicitly indicate that one or more leading pictures are following the CRA picture.
电子设备102可以发送308显式的前导画面指示符。在一些配置中,发送显式的前导画面指示符可以包括在电子设备102的多个组件之间传送数据(例如,比特流114)或在一个或更多个电子设备102之间传输比特流114。在一个示例中,电子设备A 102a上的编码器104可以向电子设备B 102b或电子设备B 102b上的解码器112发送包括一个或更多个前导画面指示符的比特流114。The electronic device 102 may send 308 an explicit leading picture indicator. In some configurations, sending the explicit leading picture indicator may include transferring data (e.g., a bitstream 114) between multiple components of the electronic device 102 or transmitting the bitstream 114 between one or more electronic devices 102. In one example, the encoder 104 on electronic device A 102a may send a bitstream 114 including one or more leading picture indicators to electronic device B 102b or a decoder 112 on electronic device B 102b.
如果电子设备102确定不存在前导画面,则前导画面指示符模块108可以产生310显式的前导画面缺少指示符。电子设备102可以根据一个或更多个方法来产生310显式的前导画面缺少指示符。例如,电子设备102可以产生310NAL单元类型、SPS中的标志、PPS中的标志、APS中的标志和CRA画面的片首部中的标志中的一个或更多个,指示缺少前导画面(例如,不在CRA画面之后)。换言之,显式的前导画面缺少指示符的示例包括NAL单元类型、SPS中的标志、PPS中的标志、APS中的标志和CRA画面的片首部中的标志中的一个或更多个。If the electronic device 102 determines that a leading picture is not present, the leading picture indicator module 108 may generate 310 an explicit leading picture absence indicator. The electronic device 102 may generate 310 the explicit leading picture absence indicator according to one or more methods. For example, the electronic device 102 may generate 310 one or more of a NAL unit type, a flag in an SPS, a flag in a PPS, a flag in an APS, and a flag in a slice header of a CRA picture to indicate that a leading picture is absent (e.g., not following a CRA picture). In other words, examples of an explicit leading picture absence indicator include one or more of a NAL unit type, a flag in an SPS, a flag in a PPS, a flag in an APS, and a flag in a slice header of a CRA picture.
在一个方法中,电子设备102可以产生310与CRA画面相对应的NAL单元类型。例如,电子设备102可以产生310如以上表格1所示的NAL单元类型16。该NAL单元类型16可以指示没有一个或更多个后续前导画面的CRA画面的编码片。In one method, the electronic device 102 may generate 310 a NAL unit type corresponding to a CRA picture. For example, the electronic device 102 may generate 310 a NAL unit type 16 as shown in Table 1 above. The NAL unit type 16 may indicate a coded slice of a CRA picture without one or more subsequent leading pictures.
在附加或备选方法中,电子设备102可以在SPS、PPS、APS和CRA画面的片首部中的一个或更多个中产生310标志。例如,电子设备102可以如上所述在SPS、PPS、APS和CRA画面的片首部中的一个或更多个中,产生310一个或更多个值为0的cra_leadingpict_present_flags。例如,值为0的cra_leadingpict_present_flags可以指示在CRA画面之后缺少一个或更多个前导画面。应注意,可以实现仅上述方法之一,或可以实现上述方法中的两个或多个方法的组合,以显式地指示没有前导画面在CRA画面之后。In an additional or alternative method, the electronic device 102 may generate 310 a flag in one or more of the slice headers of the SPS, PPS, APS, and CRA pictures. For example, the electronic device 102 may generate 310 one or more cra_leadingpict_present_flags with a value of 0 in one or more of the slice headers of the SPS, PPS, APS, and CRA pictures as described above. For example, a cra_leadingpict_present_flags value of 0 may indicate the absence of one or more leading pictures following the CRA picture. It should be noted that only one of the above methods may be implemented, or a combination of two or more of the above methods may be implemented to explicitly indicate that no leading picture follows the CRA picture.
如果不存在前导画面,则电子设备102可以发送312显式的前导画面缺少指示符。所述发送312显式的前导画面缺少指示符可以包括在电子设备102的多个组件之间传送数据,或在一个或更多个电子设备102之间或在多个设备上的组件(例如,编码器104、解码器112)之间传输比特流114。提供显式的前导画面指示符或缺少指示符的一个优点可以包括减少用于确定比特流114中是否存在前导画面的一个或更多个解码步骤。此外,当具有缺少指示符的比特流114通过电子设备102时,提供缺少指示符可以减少对比特流114执行的附加操作。If the leading picture is not present, the electronic device 102 may send 312 an explicit leading picture absence indicator. Sending 312 the explicit leading picture absence indicator may include transmitting data between multiple components of the electronic device 102, or transmitting the bitstream 114 between one or more electronic devices 102 or between components on multiple devices (e.g., encoder 104, decoder 112). One advantage of providing an explicit leading picture indicator or absence indicator may include reducing one or more decoding steps for determining whether a leading picture is present in the bitstream 114. Furthermore, providing the absence indicator may reduce additional operations performed on the bitstream 114 when the bitstream 114 with the absence indicator passes through the electronic device 102.
图4是示出了用于标识前导画面的方法400的一个配置的流程图。电子设备102可以对CRA画面编码402。例如,电子设备102可以对作为CRA画面的输入画面106编码。例如,电子设备102可以如以上结合图2所述,对CRA画面编码402。FIG4 is a flow chart illustrating one configuration of a method 400 for identifying a leading picture. The electronic device 102 may encode 402 a CRA picture. For example, the electronic device 102 may encode 402 an input picture 106 as a CRA picture. For example, the electronic device 102 may encode 402 the CRA picture as described above in conjunction with FIG2 .
电子设备102可以确定404是否存在前导画面。前导画面可以是在解码顺序中位于CRA画面之后并且在输出顺序中位于CRA画面之前的画面。例如,如果编码器104规定画面在解码顺序中过位于CRA画面之后并且在输出顺序(例如,从解码器112输出的顺序)中位于该CRA画面之前,则可以存在前导画面。例如,电子设备102可以如以上结合图2所述确定404是否存在前导画面。The electronic device 102 may determine 404 whether a leading picture exists. A leading picture may be a picture that follows a CRA picture in decoding order and precedes the CRA picture in output order. For example, if the encoder 104 specifies that a picture follows a CRA picture in decoding order and precedes the CRA picture in output order (e.g., the order output from the decoder 112), then a leading picture may exist. For example, the electronic device 102 may determine 404 whether a leading picture exists as described above in conjunction with FIG. 2 .
如果存在前导画面,则电子设备102可以产生406与前导画面相关联的显式的前导画面指示符。在一些配置中,电子设备102可以通过创建与一个或更多个前导画面相对应的NAL单元类型,来产生406与前导画面相关联的显式的前导画面指示符。例如,电子设备102可以产生406如表格11所示的NAL单元类型15。If a leading picture is present, the electronic device 102 may generate 406 an explicit leading picture indicator associated with the leading picture. In some configurations, the electronic device 102 may generate 406 an explicit leading picture indicator associated with the leading picture by creating a NAL unit type corresponding to one or more leading pictures. For example, the electronic device 102 may generate 406 a NAL unit type 15 as shown in Table 11.
表格11Form 11
例如,NAL单元类型15可以指示在CRA画面之后的前导画面的编码片。例如,如果对于包含特定画面的片的NAL单元,NAL单元类型等于15,则该特定画面的所有VCL NAL单元的NAL单元类型可以等于15。在该示例中,NAL单元类型等于15可以指示在CRA画面之后的前导画面的编码片。该方法中产生显式的前导画面指示符的一个优点可以包括便于标识前导画面指示符,而无需修改CRA画面或与CRA画面相关联的其它数据。此外,可以获得(例如,通过解码器或网络节点获得)前导画面指示符,而无需对SPS、PPS或与CRA画面或其它画面相关联的其它域进行解码。在一些配置中,可以将与前导画面相对应的前导画面指示符包括在与一个或更多个前导画面相关联的SPS、PPS、APS或片首部中的一个或更多个中。For example, a NAL unit type of 15 may indicate a coded slice of a leading picture following a CRA picture. For example, if the NAL unit type for a NAL unit containing a slice of a particular picture is equal to 15, then the NAL unit type of all VCL NAL units of that particular picture may be equal to 15. In this example, a NAL unit type of 15 may indicate a coded slice of a leading picture following a CRA picture. One advantage of generating an explicit leading picture indicator in this method may include facilitating identification of the leading picture indicator without requiring modification of the CRA picture or other data associated with the CRA picture. Furthermore, the leading picture indicator may be obtained (e.g., by a decoder or a network node) without requiring decoding of an SPS, PPS, or other field associated with a CRA picture or other picture. In some configurations, a leading picture indicator corresponding to a leading picture may be included in one or more of an SPS, PPS, APS, or slice header associated with one or more leading pictures.
如果存在前导画面,则电子设备102可以发送408显式的前导画面指示符。所述发送显式的前导画面指示符可以包括在电子设备102的多个组件之间传送数据(例如,比特流114)或在一个或更多个电子设备102之间传输比特流114。此外,所述发送显式的前导画面指示符可以包括用于在一个或更多个电子设备102之间传送数据的其它相似方法。If a leading picture is present, the electronic device 102 may transmit 408 an explicit leading picture indicator. Transmitting the explicit leading picture indicator may include transferring data (e.g., a bitstream 114) between multiple components of the electronic device 102 or transmitting the bitstream 114 between one or more electronic devices 102. Furthermore, transmitting the explicit leading picture indicator may include other similar methods for transferring data between one or more electronic devices 102.
图5是示出了用于标识前导画面的方法500的一个配置的流程图。电子设备102可以接收502比特流114。所述接收比特流114可以包括获得、读取或以其他方式访问比特流114。在一些配置中,可以从相同电子设备或不同电子设备102上的编码器104接收比特流114。在一个示例中,电子设备B 102b可以从电子设备A 102a上的编码器104接收比特流114。在一些配置中,电子设备B 102b还可以包括接收比特流114的解码器112。比特流114可以包括基于一个或更多个输入画面106的编码数据。在一些配置中,比特流114还可以包括显式的前导画面指示符和显式的前导画面缺少指示符中的一个或更多个。FIG5 is a flow chart illustrating one configuration of a method 500 for identifying a leading picture. An electronic device 102 may receive 502 a bitstream 114. Receiving the bitstream 114 may include obtaining, reading, or otherwise accessing the bitstream 114. In some configurations, the bitstream 114 may be received from an encoder 104 on the same electronic device or a different electronic device 102. In one example, electronic device B 102b may receive the bitstream 114 from an encoder 104 on electronic device A 102a. In some configurations, electronic device B 102b may also include a decoder 112 that receives the bitstream 114. The bitstream 114 may include encoded data based on one or more input pictures 106. In some configurations, the bitstream 114 may also include one or more of an explicit leading picture indicator and an explicit leading picture absence indicator.
电子设备102可以基于比特流114是否包括显式的前导画面指示符,来确定504是否存在前导画面。附加地或备选地,在一些配置中,电子设备102可以基于比特流114是否包括显式的前导画面缺少指示符来确定是否缺少前导画面。提供显式的前导画面指示符或显式的前导画面缺少指示符的优点可以包括:减少电子设备102在确定是否存在前导画面中执行的解码或其它处理步骤的数量。在一些配置中,在前导画面指示符模块108可以确定缺少或存在前导画面的情况下,还可以减少由一个或更多个电子设备(例如,解码器)对比特流114执行的不必要操作。The electronic device 102 may determine 504 whether a leading picture is present based on whether the bitstream 114 includes an explicit leading picture indicator. Additionally or alternatively, in some configurations, the electronic device 102 may determine whether a leading picture is missing based on whether the bitstream 114 includes an explicit leading picture absence indicator. Advantages of providing an explicit leading picture indicator or an explicit leading picture absence indicator may include reducing the number of decoding or other processing steps performed by the electronic device 102 in determining whether a leading picture is present. In some configurations, when the leading picture indicator module 108 can determine whether a leading picture is missing or present, unnecessary operations performed by one or more electronic devices (e.g., a decoder) on the bitstream 114 may also be reduced.
确定504存在或缺少前导画面可以包括读取或以其他方式访问比特流114。附加地或备选地,在一些配置中,电子设备102可以部分地对比特流114解码。在一个配置中,解码器112可以接收并读取一部分的或全部的比特流114,以确定是否存在前导画面指示符。在一个示例中,解码器112可以包括用于读取比特流114并标识是否存在前导画面指示符的前导画面确定模块120。在一些配置中,前导画面确定模块120可以与前导画面指示符模块108交互以确定比特流114中是否存在前导画面指示符。在一些配置中,前导画面确定模块120可以通过查看NAL单元类型、与一个或更多个画面相关联的一个或更多个标志、由前导画面指示符模块108创建或修改的编码片或可以指示存在或缺少前导画面的其它显式指示符,来确定是否存在前导画面指示符。Determining 504 whether a leading picture is present or absent may include reading or otherwise accessing the bitstream 114. Additionally or alternatively, in some configurations, the electronic device 102 may partially decode the bitstream 114. In one configuration, the decoder 112 may receive and read a portion or all of the bitstream 114 to determine whether a leading picture indicator is present. In one example, the decoder 112 may include a leading picture determination module 120 for reading the bitstream 114 and identifying whether a leading picture indicator is present. In some configurations, the leading picture determination module 120 may interact with the leading picture indicator module 108 to determine whether a leading picture indicator is present in the bitstream 114. In some configurations, the leading picture determination module 120 may determine whether a leading picture indicator is present by viewing a NAL unit type, one or more flags associated with one or more pictures, a coded slice created or modified by the leading picture indicator module 108, or other explicit indicators that may indicate the presence or absence of a leading picture.
在一个方法中,电子设备102可以基于与CRA画面相对应的NAL单元类型,确定504是否存在前导画面。例如,如果电子设备102接收到如以上表格1所示的NAL单元类型4,则电子设备102可以确定504存在一个或更多个前导画面(例如,一个或更多个前导画面在CRA画面之后)。此外,如果电子设备102接收到NAL单元类型16,则电子设备102可以确定504不存在前导画面。In one method, the electronic device 102 may determine 504 whether a leading picture exists based on the NAL unit type corresponding to the CRA picture. For example, if the electronic device 102 receives NAL unit type 4 as shown in Table 1 above, the electronic device 102 may determine 504 that one or more leading pictures exist (e.g., one or more leading pictures follow the CRA picture). Additionally, if the electronic device 102 receives NAL unit type 16, the electronic device 102 may determine 504 that no leading picture exists.
在附加或备选方法中,电子设备102可以基于包括在SPS、PPS、APS和CRA画面的片首部中的一个或更多个中的标志,确定504是否存在前导画面。例如,如果电子设备102接收到值为1的cra_leadingpict_present_flag,则电子设备102可以确定504存在前导画面(例如,一个或更多个前导画面在CRA画面之后)。此外,如果电子设备102接收到值为0的cra_leadingpict_present_flag,则电子设备102可以确定504缺少前导画面(例如,在CRA画面之后没有前导画面)。因此,显式的前导画面指示符的示例可以包括以下内容中的一个或更多个:与CRA画面相对应的NAL单元类型;以及与SPS、PPS、APS和CRA画面的片首部中的一个或更多个相对应的一个或更多个标志,所述NAL单元类型和标志可以指示存在一个或更多个前导画面。In an additional or alternative method, the electronic device 102 may determine 504 whether a leading picture exists based on a flag included in one or more of the slice headers of the SPS, PPS, APS, and CRA pictures. For example, if the electronic device 102 receives a cra_leadingpict_present_flag with a value of 1, the electronic device 102 may determine 504 that a leading picture exists (e.g., one or more leading pictures follow the CRA picture). Furthermore, if the electronic device 102 receives a cra_leadingpict_present_flag with a value of 0, the electronic device 102 may determine 504 that a leading picture is absent (e.g., no leading picture follows the CRA picture). Thus, examples of explicit leading picture indicators may include one or more of the following: a NAL unit type corresponding to a CRA picture; and one or more flags corresponding to one or more of the slice headers of the SPS, PPS, APS, and CRA pictures, the NAL unit type and flag indicating the presence of one or more leading pictures.
附加地或备选地,电子设备102可以基于与前导画面相对应的NAL单元,确定504是否存在前导画面。此外,如果电子设备102接收到如以上表格11所示的NAL单元类型15,则电子设备102可以确定存在前导画面(例如,一个或更多个前导画面在CRA画面之后)。然而,如果电子设备102没有接收到如以上表格11所示的NAL单元类型15,则电子设备102可以确定504缺少前导画面(例如,在CRA画面之后没有前导画面)。因此,显式的前导画面指示符的另一示例是与前导画面相关联的NAL单元。Additionally or alternatively, the electronic device 102 may determine 504 whether a leading picture exists based on a NAL unit corresponding to the leading picture. Furthermore, if the electronic device 102 receives a NAL unit type 15 as shown in Table 11 above, the electronic device 102 may determine that a leading picture exists (e.g., one or more leading pictures follow the CRA picture). However, if the electronic device 102 does not receive a NAL unit type 15 as shown in Table 11 above, the electronic device 102 may determine 504 that a leading picture is absent (e.g., no leading picture follows the CRA picture). Thus, another example of an explicit leading picture indicator is a NAL unit associated with a leading picture.
电子设备102可以基于是否存在前导画面,对比特流114执行506一个或更多个操作。在一些配置中,对比特流114执行506操作可以包括丢弃一个或更多个前导画面。例如,处理设备(例如,网络节点)或解码器可以从比特流114丢弃一个或更多个前导画面。电子设备102可以对比特流114执行506的操作的其它示例可以包括由电子设备102对比特流114中包含的数据或画面执行的读取、写入、重排序、删除、解码、发送或其它操作。附加地或备选地,对比特流114执行506操作可以基于其它因素,例如,带宽的可用性、电子设备102的能力、比特流114的规范以及其它特性。The electronic device 102 may perform 506 one or more operations on the bitstream 114 based on whether there is a leading picture. In some configurations, performing 506 operations on the bitstream 114 may include discarding one or more leading pictures. For example, a processing device (e.g., a network node) or a decoder may discard one or more leading pictures from the bitstream 114. Other examples of operations that the electronic device 102 may perform 506 on the bitstream 114 may include reading, writing, reordering, deleting, decoding, sending, or other operations performed by the electronic device 102 on the data or pictures included in the bitstream 114. Additionally or alternatively, performing 506 operations on the bitstream 114 may be based on other factors, such as the availability of bandwidth, the capabilities of the electronic device 102, the specifications of the bitstream 114, and other characteristics.
在一个示例中,除了与电子设备102或比特流114相关联的其它因素之外,电子设备102还可以基于存在或缺少显式的前导画面指示符,丢弃一个或更多个前导画面。附加地或备选地,电子设备102可以基于与用于高效地表示数字媒体的预测、补偿、估计或其它方法相关联的其它系统和方法,丢弃一个或更多个前导画面。其它配置可以包括由一个或更多个电子设备102对比特流114执行的其它操作。In one example, the electronic device 102 may discard one or more leading pictures based on the presence or absence of an explicit leading picture indicator, in addition to other factors associated with the electronic device 102 or the bitstream 114. Additionally or alternatively, the electronic device 102 may discard one or more leading pictures based on other systems and methods associated with prediction, compensation, estimation, or other methods for efficiently representing digital media. Other configurations may include other operations performed on the bitstream 114 by one or more electronic devices 102.
图6是示出了电子设备602的编码器604的一个配置的框图。应注意,可以将被示为包括在电子设备602中的元件中的一个或更多个元件实现为硬件、软件或二者的组合。例如,电子设备602包括编码器604,可以将编码器604实现为硬件、软件或二者的组合。例如,可以将编码器604实现为电路、集成电路、专用集成电路(ASIC)、与具有可执行指令的存储器电子通信的处理器、固件、现场可编程门阵列(FPGA)等或其组合。在一些配置中,解码器604可以是HEVC编码器。6 is a block diagram illustrating one configuration of an encoder 604 of an electronic device 602. It should be noted that one or more of the elements shown as included in the electronic device 602 may be implemented as hardware, software, or a combination of the two. For example, the electronic device 602 includes an encoder 604, which may be implemented as hardware, software, or a combination of the two. For example, the encoder 604 may be implemented as a circuit, an integrated circuit, an application specific integrated circuit (ASIC), a processor in electronic communication with a memory having executable instructions, firmware, a field programmable gate array (FPGA), or the like, or a combination thereof. In some configurations, the decoder 604 may be an HEVC encoder.
电子设备602可以包括源634。源634可以向编码器604提供画面或图像数据(例如视频),作为输入画面606。源634的示例可以包括图像传感器、存储器、通信接口、网络接口、无线接收机、端口等。The electronic device 602 may include a source 634. The source 634 may provide picture or image data (e.g., video) to the encoder 604 as input picture 606. Examples of the source 634 may include an image sensor, a memory, a communication interface, a network interface, a wireless receiver, a port, and the like.
可以将一个或更多个输入画面606提供给帧内预测模块和重构缓冲器640。还可以将输入画面606提供给运动估计和运动补偿模块666以及减法模块646。One or more input pictures 606 may be provided to the intra prediction module and reconstruction buffer 640. The input pictures 606 may also be provided to the motion estimation and motion compensation module 666 and the subtraction module 646.
帧内预测模块和重构缓冲器640可以基于一个或更多个输入画面606和重构数据680,产生帧内模式信息658和帧内信号642。运动估计和运动补偿模块666可以基于一个或更多个输入画面606和参考画面缓冲器696信号698,产生帧间模式信息668和帧间信号644。在一些配置中,参考画面缓冲器696可以包括来自参考画面缓冲器696中的一个或更多个参考画面的数据。The intra prediction module and reconstruction buffer 640 may generate intra mode information 658 and an intra signal 642 based on one or more input pictures 606 and the reconstruction data 680. The motion estimation and motion compensation module 666 may generate inter mode information 668 and an inter signal 644 based on one or more input pictures 606 and a reference picture buffer 696 signal 698. In some configurations, the reference picture buffer 696 may include data from one or more reference pictures in the reference picture buffer 696.
编码器604可以根据模式在帧内信号642和帧间信号644之间进行选择。在帧内编码模式下可以使用帧内信号642以便利用画面内的空间特性。在帧间编码模式下可以使用帧间信号644以便利用画面间的时间特性。当在帧内编码模式下时,可以将帧内信号642提供给减法模块646,并可以将帧内模式信息658提供给熵编码模块660。当在帧间编码模式下时,可以将帧间信号644提供给减法模块646,并且可以将帧间模式信息668提供给熵编码模块660。The encoder 604 can select between an intra-frame signal 642 and an inter-frame signal 644 depending on the mode. In the intra-frame coding mode, the intra-frame signal 642 can be used to take advantage of spatial characteristics within the picture. In the inter-frame coding mode, the inter-frame signal 644 can be used to take advantage of temporal characteristics between pictures. When in the intra-frame coding mode, the intra-frame signal 642 can be provided to the subtraction module 646, and the intra-frame mode information 658 can be provided to the entropy coding module 660. When in the inter-frame coding mode, the inter-frame signal 644 can be provided to the subtraction module 646, and the inter-frame mode information 668 can be provided to the entropy coding module 660.
在减法模块642处,从输入画面606减去帧内信号642或帧间信号644(取决于模式),以便产生预测残差648。将预测残差648提供给变换模块650。变换模块650可以压缩预测残差648以产生变换后的信号652,将所述信号652提供给量化模块654。量化模块654量化变换后的信号652,以产生经变换和量化的系数(TOC)656。At a subtraction module 642, an intra signal 642 or an inter signal 644 (depending on the mode) is subtracted from the input picture 606 to produce a prediction residual 648. The prediction residual 648 is provided to a transform module 650. The transform module 650 may compress the prediction residual 648 to produce a transformed signal 652, which is provided to a quantization module 654. The quantization module 654 quantizes the transformed signal 652 to produce transformed and quantized coefficients (TOC) 656.
将TQC 656提供给熵编码模块660以及逆量化模块670。逆量化模块670对TQC 656执行逆量化以产生逆量化的信号672,将所述信号672提供给逆变换模块674。逆变换模块674对逆量化的信号672进行解压缩,以产生解压缩后的信号676,将所述信号676提供给重构模块678。The TQC 656 is provided to an entropy coding module 660 and an inverse quantization module 670. The inverse quantization module 670 performs inverse quantization on the TQC 656 to produce an inverse quantized signal 672, which is provided to an inverse transform module 674. The inverse transform module 674 decompresses the inverse quantized signal 672 to produce a decompressed signal 676, which is provided to a reconstruction module 678.
重构模块678可以基于解压缩后的信号676产生重构后的数据680。例如,重构模块678可以重构(修改)画面。可以将重构数据680提供给去块滤波器682以及帧内预测模块和重构缓冲器640。去块滤波器682可以基于重构后的数据680产生滤波后的信号684。The reconstruction module 678 can generate reconstructed data 680 based on the decompressed signal 676. For example, the reconstruction module 678 can reconstruct (modify) a picture. The reconstructed data 680 can be provided to a deblocking filter 682 and an intra-frame prediction module and reconstruction buffer 640. The deblocking filter 682 can generate a filtered signal 684 based on the reconstructed data 680.
可以将经滤波的信号684提供给采样自适应偏移(SAO)模块686。SAO模块686可以产生提供给熵编码模块660的SAO信息688以及提供给自适应环路滤波器(ALF)692的SAO信号690。ALF 692产生提供给参考画面缓冲器696的ALF信号694。ALF信号694可以包括来自可以用作参考画面的一个或更多个画面的数据。The filtered signal 684 may be provided to a sample adaptive offset (SAO) module 686. The SAO module 686 may generate SAO information 688, which is provided to the entropy coding module 660, and an SAO signal 690, which is provided to an adaptive loop filter (ALF) 692. The ALF 692 generates an ALF signal 694, which is provided to a reference picture buffer 696. The ALF signal 694 may include data from one or more pictures that may be used as reference pictures.
熵编码模块660可以对TQC 656进行编码,以产生比特流614或其它信号。此外,熵编码模块660可以使用上下文自适应可变长度编码(CAVLC)或上下文自适应二进制算术编码(CABAC)来对TQC 656进行编码。具体地,熵编码模块660可以基于帧内模式信息658、帧间模式信息668和SAO信息688中的一个或更多个,来对TQC 656进行编码。在一些配置中,比特流614可以包括编码画面数据。在一个示例中,可以在从编码器604发送比特流614之前或向另一电子设备602发送比特流614之前,令比特流614通过前导画面指示符模块608。The entropy coding module 660 may encode the TQC 656 to generate a bitstream 614 or other signal. Furthermore, the entropy coding module 660 may encode the TQC 656 using context-adaptive variable length coding (CAVLC) or context-adaptive binary arithmetic coding (CABAC). Specifically, the entropy coding module 660 may encode the TQC 656 based on one or more of the intra-mode information 658, the inter-mode information 668, and the SAO information 688. In some configurations, the bitstream 614 may include coded picture data. In one example, the bitstream 614 may be passed through a leading picture indicator module 608 before being transmitted from the encoder 604 or to another electronic device 602.
在视频压缩(例如,HEVC)中涉及的量化是通过将值的范围压缩为单个量化值实现的有损压缩技术。量化参数(QP)是用于基于重构视频的质量和压缩比二者来执行量化的预定义缩放参数。在HEVC中定义块类型以基于块尺寸及其颜色信息表示给定块的特性。可以在熵编码之前确定QP、分辨率信息和块类型。例如,电子设备602(例如,编码器604)可以确定QP、分辨率信息和块类型,所述QP、分辨率信息和块类型可以被提供给熵编码模块660。Quantization, as used in video compression (e.g., HEVC), is a lossy compression technique that compresses a range of values into a single quantized value. A quantization parameter (QP) is a predefined scaling parameter used to perform quantization based on both the quality and compression ratio of the reconstructed video. Block types are defined in HEVC to characterize a given block based on its size and its color information. The QP, resolution information, and block type may be determined prior to entropy encoding. For example, the electronic device 602 (e.g., the encoder 604) may determine the QP, resolution information, and block type, which may be provided to the entropy encoding module 660.
熵编码模块660可以基于TQC 656的块来确定块大小。例如,块大小可以是TQC 656沿TQC块的一个维度的数目。换言之,TQC 656在TQC块中的数目可以等于块大小的平方。例如,可以将块大小确定为TQC 656在TQC块中的数目的平方根。可以将分辨率定义为像素宽度乘以像素高度。分辨率信息可以包括画面宽度的像素数目、画面高度的像素数目或二者。可以将块大小定义为TQC 656沿2D TQC块的一个维度的数目。The entropy coding module 660 can determine a block size based on the blocks of TQCs 656. For example, the block size can be the number of TQCs 656 along a dimension of the TQC block. In other words, the number of TQCs 656 in the TQC block can be equal to the square of the block size. For example, the block size can be determined as the square root of the number of TQCs 656 in the TQC block. The resolution can be defined as the pixel width multiplied by the pixel height. The resolution information can include the number of pixels for the picture width, the number of pixels for the picture height, or both. The block size can be defined as the number of TQCs 656 along a dimension of a 2D TQC block.
在一些配置中,熵编码模块660向前导画面指示符模块608发送比特流614或包括一个或更多个画面的其它信息。前导画面指示符模块608可以确定在一个或更多个输入画面606中是否存在前导画面,并产生与前导画面或其它画面(例如CRA画面)相关联的前导画面指示符。在一些配置中,前导画面指示符模块可以产生新的NAL单元类型、标志或其它指示符来表示存在或缺少前导画面。此外,前导画面指示符模块608可以修改或创建前导画面指示符或缺少指示符,以伴随或与存储在电子设备上或向另一电子设备发送的数据的比特流614一同发送。In some configurations, the entropy coding module 660 sends a bitstream 614 or other information including one or more pictures to the leading picture indicator module 608. The leading picture indicator module 608 can determine whether a leading picture is present in one or more input pictures 606 and generate a leading picture indicator associated with the leading picture or other pictures (e.g., a CRA picture). In some configurations, the leading picture indicator module can generate a new NAL unit type, flag, or other indicator to indicate the presence or absence of a leading picture. In addition, the leading picture indicator module 608 can modify or create a leading picture indicator or lack thereof to accompany or be sent with the bitstream 614 of data stored on the electronic device or transmitted to another electronic device.
前导画面指示符模块608还可以包括多种模块或子模块,用于产生与输入画面606相关联的一个或更多个前导画面指示符。例如,指示符模块608可以包括SPS模块624a、PPS模块624b、APS模块624c、片首部模块624d、NAL单元(NALU)模块624e或用于产生与输入画面606相关联的显式的前导画面指示符的其它模块,以指示在数据流中是否存在前导画面。在一些配置中,可以在对画面部分编码之后或画面通过电子设备602的组件之后,产生前导画面指示符。该方法的一个优点可以包括减少用于确定并提供对是否存在前导画面的指示的大量编码。The leading picture indicator module 608 may also include various modules or submodules for generating one or more leading picture indicators associated with the input picture 606. For example, the indicator module 608 may include an SPS module 624a, a PPS module 624b, an APS module 624c, a slice header module 624d, a NAL unit (NALU) module 624e, or other modules for generating an explicit leading picture indicator associated with the input picture 606 to indicate whether a leading picture is present in the data stream. In some configurations, the leading picture indicator may be generated after the picture portion is encoded or after the picture passes through components of the electronic device 602. One advantage of this method may include reducing the amount of coding required to determine and provide an indication of whether a leading picture is present.
在一个配置中,前导画面指示符模块608可以产生标志或其它指示符,来指示是否存在前导画面。例如,SPS模块624a可以在SPS中产生标志,以与存在一个或更多个前导画面相对应。在另一示例中,PPS模块624b可以在PPS中产生标志或其它指示符,以与存在一个或更多个前导画面相对应。在另一示例中,APS模块624c可以在APS中产生标志,以与存在一个或更多个前导画面相对应。在另一示例中,片首部模块624d可以在片首部中(例如,CRA片首部)产生标志或其它指示符,以与存在或缺少一个或更多个前导画面相对应。在一些实施例中,这里所述的一个或更多个模块可以产生与一个或更多个前导画面相对应的一个或更多个指示符。In one configuration, the leading picture indicator module 608 can generate a flag or other indicator to indicate whether a leading picture is present. For example, the SPS module 624a can generate a flag in the SPS to correspond to the presence of one or more leading pictures. In another example, the PPS module 624b can generate a flag or other indicator in the PPS to correspond to the presence of one or more leading pictures. In another example, the APS module 624c can generate a flag in the APS to correspond to the presence of one or more leading pictures. In another example, the slice header module 624d can generate a flag or other indicator in the slice header (e.g., a CRA slice header) to correspond to the presence or absence of one or more leading pictures. In some embodiments, one or more modules described herein can generate one or more indicators corresponding to one or more leading pictures.
附加地或备选地,在一个配置中,前导画面指示符模块608可以通过创建或修改新的NAL单元类型,产生与一个或更多个输入画面606相关联的显式的前导画面指示符。在一个示例中,NALU模块624e可以产生与一个或更多个画面相关联的NAL单元,指示存在一个或更多个前导画面。在一个配置中,NAL单元可以与CRA画面相关联,NALU模块624e可以产生NAL单元,以指示或指出一个或更多个前导画面在CRA画面之后。在一些配置中,NALU模块624e可以产生与一个或更多个前导画面相关联的NAL单元,以指示输入画面606是前导画面。Additionally or alternatively, in one configuration, the leading picture indicator module 608 can generate an explicit leading picture indicator associated with one or more input pictures 606 by creating or modifying a new NAL unit type. In one example, the NALU module 624e can generate a NAL unit associated with one or more pictures to indicate the presence of one or more leading pictures. In one configuration, the NAL unit can be associated with a CRA picture, and the NALU module 624e can generate a NAL unit to indicate or indicate that one or more leading pictures follow the CRA picture. In some configurations, the NALU module 624e can generate a NAL unit associated with one or more leading pictures to indicate that the input picture 606 is a leading picture.
在另一配置中,前导画面指示符模块608可以产生显式的前导画面缺少指示符。在一个示例中,前导画面指示符模块608可以产生与一个或更多个输入画面606(例如,CRA画面)相关联的NAL单元类型,以指示缺少前导画面。在一个示例中,NAL单元类型可以包括CRA画面的编码片,指示在CRA画面之后缺少前导画面。In another configuration, the leading picture indicator module 608 can generate an explicit leading picture absence indicator. In one example, the leading picture indicator module 608 can generate a NAL unit type associated with one or more input pictures 606 (e.g., a CRA picture) to indicate the absence of a leading picture. In one example, the NAL unit type can include a coded slice of a CRA picture, indicating the absence of a leading picture following the CRA picture.
在一些配置中,可以向另一电子设备传输比特流614。例如,可以将比特流614提供给通信接口、网络接口、无线发射机、端口等。例如,可以通过LAN、互联网、蜂窝电话基站等,将比特流614传送给另一电子设备。附加地或备选地,可以将比特流614存储在存储器或电子设备602的其它组件中。In some configurations, the bitstream 614 can be transmitted to another electronic device. For example, the bitstream 614 can be provided to a communication interface, a network interface, a wireless transmitter, a port, etc. For example, the bitstream 614 can be transmitted to another electronic device via a LAN, the Internet, a cellular phone base station, etc. Additionally or alternatively, the bitstream 614 can be stored in a memory or other component of the electronic device 602.
图7是示出了电子设备702的解码器712的一个配置的框图。解码器712可以包括在电子设备702中。例如,解码器712可以是HEVC解码器。可以将解码器712和被示为包括在解码器712中的一个或更多个元件实现为硬件、软件或二者的组合。解码器712可以接收比特流714(例如,包括在比特流714中的一个或更多个编码画面),以便进行解码。在一些配置中,接收到的比特流714可以包括接收到的开销信息,例如,接收到的片首部、接收到的PPS、接收到的缓冲器描述信息等。比特流714中包括的编码画面可以包括一个或更多个编码参考画面和/或一个或更多个其它编码画面。在一些配置中,比特流714可以包括一个或更多个显式的前导画面指示符或缺少指示符,或由一个或更多个显式的前导画面指示符或缺少指示符伴随。FIG7 is a block diagram illustrating one configuration of a decoder 712 of an electronic device 702. The decoder 712 may be included in the electronic device 702. For example, the decoder 712 may be an HEVC decoder. The decoder 712 and one or more elements shown as included in the decoder 712 may be implemented as hardware, software, or a combination of both. The decoder 712 may receive a bitstream 714 (e.g., one or more coded pictures included in the bitstream 714) for decoding. In some configurations, the received bitstream 714 may include received overhead information, such as a received slice header, a received PPS, received buffer description information, etc. The coded pictures included in the bitstream 714 may include one or more coded reference pictures and/or one or more other coded pictures. In some configurations, the bitstream 714 may include, or be accompanied by, one or more explicit leading picture indicators or lack thereof.
在一个配置中,解码器712包括前导画面确定模块720。在一些配置中,电子设备702接收比特流714,并将比特流714发送通过前导画面确定模块720。前导画面确定模块720可以是解码器712或电子设备702上的其它组件的一部分。In one configuration, the decoder 712 includes a leading picture determination module 720. In some configurations, the electronic device 702 receives the bitstream 714 and sends the bitstream 714 through the leading picture determination module 720. The leading picture determination module 720 can be part of the decoder 712 or other components on the electronic device 702.
前导画面确定模块720可以包括多种模块或子模块,用于基于比特流714是否包括显式的前导画面指示符,来确定是否存在前导画面。例如,前导画面确定模块720可以包括SPS模块726a、PPS模块726b、APS模块726c、片首部模块726d、NALU模块726e或用于确定前导画面指示符是否伴随或包括在比特流714中的其它模块。在一些配置中,前导画面确定模块720可以在比特流714通过解码器712的特定元件之前,接收比特流714。该方法的一个优点可以包括:标识是否存在前导画面,而无需对一部分或全部的比特流714进行解码。在一些配置中,该方法可以防止低效操作,例如,当可以调度前导画面以便丢弃时对前导画面解码。The leading picture determination module 720 may include a variety of modules or submodules for determining whether a leading picture exists based on whether the bitstream 714 includes an explicit leading picture indicator. For example, the leading picture determination module 720 may include an SPS module 726a, a PPS module 726b, an APS module 726c, a slice header module 726d, a NALU module 726e, or other modules for determining whether the leading picture indicator is accompanied by or included in the bitstream 714. In some configurations, the leading picture determination module 720 may receive the bitstream 714 before the bitstream 714 passes through a specific element of the decoder 712. One advantage of this method may include identifying whether a leading picture exists without decoding a portion or all of the bitstream 714. In some configurations, this method may prevent inefficient operation, for example, decoding a leading picture when the leading picture can be scheduled to be discarded.
在一些配置中,每个模块或子模块726可以基于多种类型的指示符,确定是否存在前导画面。例如,SPS模块726a可以确定比特流714中是否存在与SPS相关联的标志或指示符。PPS模块726b可以确定比特流714中是否存在与PPS相关联的标志或指示符。APS模块726c可以确定比特流714中是否存在与APS相关联的标志或指示符。片首部模块726d可以确定比特流714中是否存在与CRA画面或其它画面的片首部相关联的标志或指示符。附加地或备选地,NALU模块726e可以确定比特流714中是否存在指示存在或缺少前导画面的新的NALU单元类型。在一个配置中,NALU单元可以与CRA画面相关联,并且NALU模块726e可以确定一个或更多个前导画面在CRA画面之后。在一些配置中,NALU模块726e可以根据与那些前导画面相关联的NAL单元确定存在一个或更多个前导画面。In some configurations, each module or submodule 726 can determine whether a leading picture exists based on multiple types of indicators. For example, the SPS module 726a can determine whether a flag or indicator associated with the SPS exists in the bitstream 714. The PPS module 726b can determine whether a flag or indicator associated with the PPS exists in the bitstream 714. The APS module 726c can determine whether a flag or indicator associated with the APS exists in the bitstream 714. The slice header module 726d can determine whether a flag or indicator associated with a slice header of a CRA picture or other picture exists in the bitstream 714. Additionally or alternatively, the NALU module 726e can determine whether a new NALU unit type indicating the presence or absence of a leading picture exists in the bitstream 714. In one configuration, a NALU unit can be associated with a CRA picture, and the NALU module 726e can determine whether one or more leading pictures follow the CRA picture. In some configurations, the NALU module 726e may determine that one or more leading pictures are present based on NAL units associated with those leading pictures.
可以通过熵解码模块768对接收到的符号(在包括在比特流714中的一个或更多个编码画面中)进行熵解码,从而产生运动信息信号770以及经量化、缩放和/或变换的系数772。The received symbols (in one or more encoded pictures included in the bitstream 714 ) may be entropy decoded by an entropy decoding module 768 to produce a motion information signal 770 and quantized, scaled, and/or transformed coefficients 772 .
在运动补偿模块774处,运动信息信号770可以与来自帧存储器778的参考帧信号798的一部分组合,从而可以产生帧间预测信号782。可以通过逆模块762对经量化、解缩放和/或变换的系数772进行逆量化、缩放和逆变换,从而产生解码残差信号784。可以将解码残差信号784与预测信号792相加以产生合并信号786。预测信号792可以是从由运动补偿模块774产生的帧间预测信号782或备选地由帧内预测模块788产生的帧内预测信号790选择的信号。在一些配置中,所述信号选择可以基于比特流714(例如,由比特流714控制)。At the motion compensation module 774, the motion information signal 770 may be combined with a portion of the reference frame signal 798 from the frame memory 778, thereby generating an inter-frame prediction signal 782. The quantized, descaled, and/or transformed coefficients 772 may be inversely quantized, scaled, and inversely transformed by the inverse module 762, thereby generating a decoded residual signal 784. The decoded residual signal 784 may be added to the prediction signal 792 to generate a merged signal 786. The prediction signal 792 may be a signal selected from the inter-frame prediction signal 782 generated by the motion compensation module 774 or, alternatively, the intra-frame prediction signal 790 generated by the intra-frame prediction module 788. In some configurations, the signal selection may be based on (e.g., controlled by) the bitstream 714.
可以根据来自合并信号786(例如,在当前帧中)的先前解码信息来预测帧内预测信号790。还可以通过去块滤波器794来对合并信号786进行滤波。可以将得到的滤波信号796写入帧存储器709。得到的滤波信号796可以包括解码画面。The intra prediction signal 790 may be predicted based on previously decoded information (e.g., in the current frame) from the merged signal 786. The merged signal 786 may also be filtered by a deblocking filter 794. The resulting filtered signal 796 may be written to the frame memory 709. The resulting filtered signal 796 may include a decoded picture.
帧存储器778可以包括与解码画面相对应的开销信息。例如,帧存储器778可以包括片首部、PPS信息、循环参数、缓冲器描述信息等。可以从编码器(例如,编码器604)发信号通知这些信息中的一个或更多个。帧存储器778可以提供解码画面718或其它输出信号。Frame memory 778 may include overhead information corresponding to the decoded picture. For example, frame memory 778 may include slice headers, PPS information, loop parameters, buffer description information, etc. One or more of these may be signaled from an encoder (e.g., encoder 604). Frame memory 778 may provide decoded picture 718 or other output signals.
在一些配置中,解码器712可以包括与帧存储器778通信的前导画面确定模块720a。例如,解码器712可以在比特流714经过解码器714或被熵解码之前基于一个或更多个前导画面指示符,或者在一些情况下通过访问帧存储器778以确定是否在比特流714中包含或伴随有一个或更多个前导画面指示符或缺少指示符,来确定是否存在前导画面。包括访问帧存储器的前导画面确定模块720的一个优点可以包括:向电子设备702a提供确定是否存在前导画面而不干扰解码处理的能力。在该方法中,前导画面确定模块720a可以简单地访问帧存储器778,而无需对一个或更多个画面进行修改或解码。In some configurations, the decoder 712 may include a leading picture determination module 720a in communication with a frame memory 778. For example, the decoder 712 may determine whether a leading picture exists based on one or more leading picture indicators before the bitstream 714 passes through the decoder 714 or is entropy decoded, or in some cases by accessing the frame memory 778 to determine whether one or more leading picture indicators, or the absence of an indicator, are included or accompanied by the bitstream 714. One advantage of including the leading picture determination module 720 with access to the frame memory may include providing the electronic device 702a with the ability to determine whether a leading picture exists without interfering with the decoding process. In this approach, the leading picture determination module 720a may simply access the frame memory 778 without having to modify or decode one or more pictures.
图8是示出了可以在发送电子设备802中使用的多种组件。可以将发送电子设备802实现为本文所述的电子设备中的一个或更多个电子设备(例如,电子设备102、602、702)。8 shows various components that may be used in a transmitting electronic device 802. The transmitting electronic device 802 may be implemented as one or more of the electronic devices described herein (eg, electronic devices 102, 602, 702).
发送电子设备802包括:处理器817,控制发送电子设备802的操作。处理器817还可以被称作计算机处理单元(CPU)。存储器811向处理器817提供指令813a(例如,可执行指令)和数据815a,所述存储器811可以包括只读存储器(ROM)、随机访问存储器(RAM)或可以存储信息的任何类型的设备。存储器811的一部分还可以包括非易失性随机访问存储器(NVRAM)。存储器811可以与处理器817电子通信。The transmitting electronic device 802 includes a processor 817 that controls the operation of the transmitting electronic device 802. The processor 817 may also be referred to as a computer processing unit (CPU). The memory 811 provides instructions 813a (e.g., executable instructions) and data 815a to the processor 817. The memory 811 may include read-only memory (ROM), random access memory (RAM), or any other type of device capable of storing information. A portion of the memory 811 may also include non-volatile random access memory (NVRAM). The memory 811 may be in electronic communication with the processor 817.
指令813b和数据815b还可以驻留在处理器817中。被加载到处理器817的指令813b和/或数据815b还可以包括来自存储器811的指令813a和/或数据815a,加载所述指令813a和/或数据815a以便通过处理器817来执行或处理。可以通过处理器817执行所述指令813b以实现本文所公开的系统和方法。The instructions 813b and data 815b may also reside in the processor 817. The instructions 813b and/or data 815b loaded into the processor 817 may also include instructions 813a and/or data 815a from the memory 811, which are loaded for execution or processing by the processor 817. The instructions 813b may be executed by the processor 817 to implement the systems and methods disclosed herein.
发送电子设备802可以包括一个或更多个通信接口819,用于与其它电子设备(例如,接收电子设备)进行通信。通信接口819可以基于有线通信技术、无线通信技术或二者。通信接口819的示例包括串行端口、并行端口、通用串行总线(USB)、以太网适配器、IEEE1394总线接口、小型计算机系统接口(SCSI)总线接口、红外(IR)通信端口、蓝牙无线通信适配器、符合第三代合作伙伴计划(3GPP)规范的无线收发机等。The transmitting electronic device 802 may include one or more communication interfaces 819 for communicating with other electronic devices (e.g., receiving electronic devices). The communication interface 819 may be based on wired communication technology, wireless communication technology, or both. Examples of the communication interface 819 include a serial port, a parallel port, a universal serial bus (USB), an Ethernet adapter, an IEEE 1394 bus interface, a small computer system interface (SCSI) bus interface, an infrared (IR) communication port, a Bluetooth wireless communication adapter, a wireless transceiver conforming to the Third Generation Partnership Project (3GPP) specification, and the like.
发送电子设备802可以包括一个或更多个输出设备823以及一个或更多个输入设备821。输出设备823的示例包括扬声器、打印机等。可以包括在发送电子设备802中的一种类型的输出设备是显示设备825。使用本文所公开的配置的显示设备825可以使用任何适合的图像投影技术,例如,阴极射线管(CRT)、液晶显示器(LCD)、发光二极管(LED)、气体等离子体、电致发光等。可以提供显示控制器827用于将存储在存储器811中的数据转换为示出在显示器825上的文本、图形和/或运动图像(视情况而定)。输入设备821的示例包括键盘、鼠标、麦克风、遥控设备、按钮、操控杆、轨迹球、触摸板、触摸屏、激光笔等。The transmitting electronic device 802 may include one or more output devices 823 and one or more input devices 821. Examples of output devices 823 include speakers, printers, and the like. One type of output device that may be included in the transmitting electronic device 802 is a display device 825. The display device 825 using the configuration disclosed herein may use any suitable image projection technology, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a light emitting diode (LED), gas plasma, electroluminescence, and the like. A display controller 827 may be provided for converting data stored in the memory 811 into text, graphics, and/or moving images (as appropriate) displayed on the display 825. Examples of input devices 821 include a keyboard, a mouse, a microphone, a remote control device, buttons, a joystick, a trackball, a touchpad, a touch screen, a laser pointer, and the like.
将发送电子设备802的多种组件通过总线系统829耦接在一起,其中除了数据总线之外,所述总线系统829还可以包括电力总线、控制信号总线和状态信号总线。然而,为了清楚,图8将多种总线示出为总线系统829。图8所示的发送电子设备802是功能框图,而不是具体组件的列表。The various components of the transmitting electronic device 802 are coupled together via a bus system 829, wherein in addition to a data bus, the bus system 829 may also include a power bus, a control signal bus, and a status signal bus. However, for clarity, FIG8 illustrates the various buses as the bus system 829. The transmitting electronic device 802 shown in FIG8 is a functional block diagram rather than a list of specific components.
图9是示出了可以在接收电子设备902中使用的多种组件的框图。可以将接收电子设备902实现为本文所述的电子设备中的一个或更多个电子设备(例如,电子设备102、602、702)。9 is a block diagram illustrating various components that may be utilized in a receiving electronic device 902. The receiving electronic device 902 may be implemented as one or more of the electronic devices described herein (eg, electronic devices 102, 602, 702).
接收电子设备902包括控制电子设备902的操作的处理器917。还可以将所述处理器917称作CPU。存储器911向处理器917提供指令913a(例如,可执行指令)和数据915a,所述存储器911可以包括只读存储器(ROM)、随机访问存储器(RAM)或可以存储信息的任何类型的设备。存储器911的一部分还可以包括非易失性随机访问存储器(NVRAM)。存储器911可以与处理器917电子通信。The receiving electronic device 902 includes a processor 917 that controls the operation of the electronic device 902. The processor 917 may also be referred to as a CPU. The memory 911 provides instructions 913a (e.g., executable instructions) and data 915a to the processor 917. The memory 911 may include read-only memory (ROM), random access memory (RAM), or any other type of device that can store information. A portion of the memory 911 may also include non-volatile random access memory (NVRAM). The memory 911 may be in electronic communication with the processor 917.
指令913b和数据915b还可以驻留在处理器917中。被加载到处理器917的指令913b和/或数据915b还可以包括来自存储器911的指令913a和/或数据915a,加载所述指令913a和/或数据915a以便通过处理器917来执行或处理。可以通过处理器917执行指令913b以实现本文所述的系统和方法。The instructions 913b and data 915b may also reside in the processor 917. The instructions 913b and/or data 915b loaded into the processor 917 may also include instructions 913a and/or data 915a from the memory 911, which are loaded for execution or processing by the processor 917. The instructions 913b may be executed by the processor 917 to implement the systems and methods described herein.
接收电子设备902可以包括一个或更多个通信接口919,用于与其它电子设备(例如,发送电子设备)进行通信。通信接口919可以基于有线通信技术、无线通信技术或二者。通信接口919的示例包括串行端口、并行端口、通用串行总线(USB)、以太网适配器、IEEE1394总线接口、小型计算机系统接口(SCSI)总线接口、红外(IR)通信端口、蓝牙无线通信适配器、符合第三代合作伙伴计划(3GPP)规范的无线收发机等。The receiving electronic device 902 may include one or more communication interfaces 919 for communicating with other electronic devices (e.g., transmitting electronic devices). The communication interface 919 may be based on wired communication technology, wireless communication technology, or both. Examples of the communication interface 919 include a serial port, a parallel port, a universal serial bus (USB), an Ethernet adapter, an IEEE 1394 bus interface, a small computer system interface (SCSI) bus interface, an infrared (IR) communication port, a Bluetooth wireless communication adapter, a wireless transceiver that complies with the Third Generation Partnership Project (3GPP) specification, and the like.
接收电子设备902可以包括一个或更多个输出设备923以及一个或更多个输入设备921。输出设备923的示例包括扬声器、打印机等。可以包括在接收电子设备902中的一种类型的输出设备是显示设备925。使用本文所公开的配置的显示设备925可以使用任何适合的图像投影技术,例如,阴极射线管(CRT)、液晶显示器(LCD)、发光二极管(LED)、气体等离子体、电致发光等。可以提供显示控制器927用于将存储在存储器911中的数据转换为示出在显示器925上的文本、图形和/或运动图像(视情况而定)。输入设备921的示例包括键盘、鼠标、麦克风、遥控设备、按钮、操控杆、轨迹球、触摸板、触摸屏、激光笔等。The receiving electronic device 902 may include one or more output devices 923 and one or more input devices 921. Examples of output devices 923 include speakers, printers, and the like. One type of output device that may be included in the receiving electronic device 902 is a display device 925. The display device 925 using the configuration disclosed herein may use any suitable image projection technology, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a light emitting diode (LED), gas plasma, electroluminescence, and the like. A display controller 927 may be provided for converting data stored in the memory 911 into text, graphics, and/or moving images (as appropriate) displayed on the display 925. Examples of input devices 921 include a keyboard, a mouse, a microphone, a remote control device, buttons, a joystick, a trackball, a touchpad, a touch screen, a laser pointer, and the like.
将发送电子设备902的多种组件通过总线系统929耦接在一起,其中除了数据总线之外,所述总线系统929还可以包括电力总线、控制信号总线和状态信号总线。然而,为了清楚,图9将多种总线示出为总线系统929。图9所示的接收电子设备902是功能框图,而不是具体组件的列表。The various components of the transmitting electronic device 902 are coupled together via a bus system 929, wherein in addition to a data bus, the bus system 929 may also include a power bus, a control signal bus, and a status signal bus. However, for clarity, FIG9 illustrates the various buses as the bus system 929. The receiving electronic device 902 shown in FIG9 is a functional block diagram rather than a list of specific components.
图10是示出了电子设备1002的一个配置的框图,在所述电子设备中,可以实现用于标识前导画面的系统和方法。电子设备1002可以包括编码装置1031和传输装置1033。编码装置1031和传输装置1033可以配置为执行以上结合图2、图3、图6和以上其它附图所述的一个或更多个相似功能。图8示出了图10的具体装置结构的一个示例。可以实现其它多种结构,以实现图1和图6的功能中的一个或更多个功能。例如,可以通过软件来实现DSP。Figure 10 is a block diagram illustrating a configuration of an electronic device 1002, in which the system and method for identifying a leading screen can be implemented. Electronic device 1002 may include an encoding device 1031 and a transmission device 1033. Encoding device 1031 and transmission device 1033 may be configured to perform one or more similar functions described above in conjunction with Figures 2, 3, 6, and other figures. Figure 8 illustrates an example of a specific device structure of Figure 10. Various other structures may be implemented to implement one or more of the functions shown in Figures 1 and 6. For example, the DSP may be implemented using software.
图11是示出了电子设备1102的一个配置的框图,在所述电子设备中,可以实现用于标识前导画面的系统和方法。电子设备1102包括比特流1114、接收装置1135和解码装置1137。接收装置1135和解码装置1137可以配置为执行结合图2、图5、图7和以上其它附图所述的一个或更多个相似功能。以上图9示出了图11的具体装置结构的一个示例。可以实现其它多种结构,以实现图1和图7的一个或更多个功能。例如,可以通过软件来实现DSP。FIG11 is a block diagram illustrating a configuration of an electronic device 1102 in which a system and method for identifying a leading picture can be implemented. Electronic device 1102 includes a bitstream 1114, a receiver 1135, and a decoder 1137. Receiver 1135 and decoder 1137 can be configured to perform one or more similar functions described in conjunction with FIG2, FIG5, FIG7, and the other figures above. FIG9 above illustrates an example of a specific device structure for FIG11. Various other configurations can be implemented to achieve one or more of the functions of FIG1 and FIG7. For example, a DSP can be implemented using software.
图12是示出了可以实现用于标识前导画面的系统和方法的若干设备的框图。在一个示例中,示出了电子设备A 1202、电子设备B1202b和处理设备1239。然而,应注意,可以与图1的电子设备A 102a和电子设备B 102b相似地配置结合图12的电子设备A 1202、电子设备B 1202b和处理设备1239。例如,电子设备A 1202a可以包括编码器1204和前导画面指示符模块1208。编码器1204还可以获得或接收输入画面1206。此外,电子设备A 1202a可以产生并发送与其它附图中的比特流114相似的比特流1214a。FIG12 is a block diagram illustrating several devices that can implement the system and method for identifying a leading picture. In one example, electronic device A 1202, electronic device B 1202b, and processing device 1239 are shown. However, it should be noted that electronic device A 1202, electronic device B 1202b, and processing device 1239 in conjunction with FIG12 can be configured similarly to electronic device A 102a and electronic device B 102b in FIG1 . For example, electronic device A 1202a can include an encoder 1204 and a leading picture indicator module 1208. Encoder 1204 can also obtain or receive an input picture 1206. Furthermore, electronic device A 1202a can generate and transmit a bitstream 1214a similar to bitstream 114 in other figures.
在一个示例中,可以从电子设备A 1202a向处理设备1239传送或发送比特流1214a。处理设备可以包括前导画面确定模块1220。结合图12的前导画面确定模块1220可以执行与图1的前导画面确定模块120相似的操作,并且可以或可以不包括在解码器中。此外,处理设备可以是结合其它附图描述的电子设备的一个示例。在一个示例中,处理设备1239可以是网络节点。在一个示例中,处理设备1239可以确定是否在比特流1214a中存在任何前导画面。此外,处理设备1239可以对比特流1214a执行一个或更多个操作。处理设备1239可以对比特流1214a执行的操作的示例可以包括:丢弃前导画面、存储与比特流1214a相关联的数据或转换比特流1214a和/或向电子设备1202发送比特流1214b。In one example, bitstream 1214a can be transmitted or sent from electronic device A 1202a to processing device 1239. The processing device may include a leading picture determination module 1220. Leading picture determination module 1220, as described in conjunction with FIG12 , can perform operations similar to leading picture determination module 120 of FIG1 and may or may not be included in the decoder. Furthermore, the processing device may be an example of an electronic device described in conjunction with other figures. In one example, processing device 1239 may be a network node. In one example, processing device 1239 may determine whether any leading pictures are present in bitstream 1214a. Furthermore, processing device 1239 may perform one or more operations on bitstream 1214a. Examples of operations that processing device 1239 may perform on bitstream 1214a may include discarding a leading picture, storing data associated with bitstream 1214a, converting bitstream 1214a, and/or sending bitstream 1214b to electronic device 1202.
在一个示例中,处理设备1239接收比特流1214a、对比特流1214a执行操作并向电子设备B 1202发送比特流1214b。可以与图1的电子设备B 102b相似地配置结合图12所述的电子设备B 1202b。电子设备B 1202b还可以包括解码器1212。此外,解码器1212可以或可以不包括前导画面确定模块。在一个配置中,电子设备B 1202b可以对比特流1214b执行操作,产生输出,例如,解码画面1218。电子设备B 1202b还可以存储、显示、丢弃或以其他方式处理解码画面1218。In one example, processing device 1239 receives bitstream 1214a, performs operations on bitstream 1214a, and sends bitstream 1214b to electronic device B 1202. Electronic device B 1202b, described in conjunction with FIG. 12 , can be configured similarly to electronic device B 102b of FIG. 1 . Electronic device B 1202b can also include a decoder 1212. Furthermore, decoder 1212 may or may not include a leading picture determination module. In one configuration, electronic device B 1202b can perform operations on bitstream 1214b to generate an output, such as a decoded picture 1218. Electronic device B 1202b can also store, display, discard, or otherwise process decoded picture 1218.
术语“计算机可读介质”指可以由计算机或处理器访问的任何可用介质。如本文所用,术语“计算机可读介质”可以表示非暂时性的且有形的计算机和/或处理器可读介质。例如而非限制性地,计算机可读或处理器可读介质可以包括:RAM、ROM、EEPROM、CD-COM或其它光学存储设备、磁盘存储设备或其它磁性存储器件、或可以用于携带或存储所需程序代码(以指令或数据结构形式)并可通过计算机或处理器访问的任何其它介质。如本文所用,磁盘和光盘包括:紧致盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘和蓝光(注册商标)盘,其中磁盘通常磁性地再现数据,而光盘用激光光学地再现数据。The term "computer-readable medium" refers to any available medium that can be accessed by a computer or processor. As used herein, the term "computer-readable medium" may refer to a non-transitory and tangible computer and/or processor-readable medium. For example, and not limitation, a computer-readable or processor-readable medium may include: RAM, ROM, EEPROM, CD-COM or other optical storage device, magnetic disk storage device or other magnetic storage device, or any other medium that can be used to carry or store the required program code (in the form of instructions or data structures) and can be accessed by a computer or processor. As used herein, magnetic disks and optical disks include: compact disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks and Blu-ray (registered trademark) disks, where magnetic disks typically reproduce data magnetically, while optical disks reproduce data optically with lasers.
应注意,本文所述方法中的一个或更多个可以实现为硬件和/或使用硬件来执行。例如,可以在芯片集、ASIC、大规模集成电路(LSI)或集成电路等中实现和/或使用芯片集、ASIC、大规模集成电路(LSI)或集成电路等来实现本文所述方法或方案中的一个或更多个。It should be noted that one or more of the methods described herein may be implemented as hardware and/or performed using hardware. For example, one or more of the methods or solutions described herein may be implemented in and/or using a chipset, an ASIC, a large-scale integrated circuit (LSI), or an integrated circuit.
本文所公开的每个方法包括用于实现所述方法的一个或更多个步骤或动作。所述方法步骤和/或动作可以与其它步骤和/或动作交换,和/或合并为单个步骤,而不脱离权利要求的范围。换言之,除非需要特定顺序的步骤或动作来正确操作所述的方法,否则可以修改具体步骤和/或动作的顺序和/或使用,而不脱离权利要求的范围。Each method disclosed herein includes one or more steps or actions for implementing the method. The method steps and/or actions may be interchanged with other steps and/or actions, and/or combined into a single step, without departing from the scope of the claims. In other words, unless a specific order of steps or actions is required for the proper operation of the method described, the order and/or use of the specific steps and/or actions may be modified without departing from the scope of the claims.
应理解,权利要求不限于以上所述的特定配置和组件。可以对本文所述的系统、方法和装置的布置、操作和细节进行多种修改、变形和改变,而不脱离权利要求的范围。It should be understood that the claims are not limited to the specific configurations and components described above. Various modifications, variations, and changes may be made to the arrangement, operation, and details of the systems, methods, and apparatus described herein without departing from the scope of the claims.
Claims (8)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US13/447,126 US9351016B2 (en) | 2012-04-13 | 2012-04-13 | Devices for identifying a leading picture |
| US13/447,126 | 2012-04-13 | ||
| PCT/JP2013/002532 WO2013153830A1 (en) | 2012-04-13 | 2013-04-12 | Devices for identifying a leading picture |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1204186A1 HK1204186A1 (en) | 2015-11-06 |
| HK1204186B true HK1204186B (en) | 2019-11-08 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11076160B2 (en) | Devices and methods for identifying a leading picture | |
| CN104221382B (en) | Electronics for sending messages and buffering bitstreams | |
| US20130272619A1 (en) | Devices for identifying a leading picture | |
| US20180255342A1 (en) | Method for decoding a video bitstream and decoder for decoding a video bitstream | |
| HK1261398B (en) | Devices and methods for identifying a leading picture | |
| HK1261067B (en) | Devices for identifying a leading picture | |
| HK1261067A1 (en) | Devices for identifying a leading picture | |
| HK1261398A1 (en) | Devices for identifying a leading picture | |
| HK1204186B (en) | Devices for identifying a leading picture | |
| HK1248041B (en) | Electronic devices for sending a message and buffering a bitstream | |
| HK1248042B (en) | Electronic devices for sending a message and buffering a bitstream | |
| HK1204739B (en) | Electronic devices for sending a message and buffering a bitstream |