[go: up one dir, main page]

CN108322754A - Coding method and corresponding coder and decoder - Google Patents

Coding method and corresponding coder and decoder Download PDF

Info

Publication number
CN108322754A
CN108322754A CN201710032477.1A CN201710032477A CN108322754A CN 108322754 A CN108322754 A CN 108322754A CN 201710032477 A CN201710032477 A CN 201710032477A CN 108322754 A CN108322754 A CN 108322754A
Authority
CN
China
Prior art keywords
image
picture
current encoded
dpb
encoded image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710032477.1A
Other languages
Chinese (zh)
Inventor
王龙飞
邱铭豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MediaTek Inc
Original Assignee
MediaTek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MediaTek Inc filed Critical MediaTek Inc
Priority to CN201710032477.1A priority Critical patent/CN108322754A/en
Publication of CN108322754A publication Critical patent/CN108322754A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Landscapes

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

Abstract

An encoding method for encoding a set of reference settings for a picture, the method comprising: judging whether the current coding image is a reference image, if so, setting a reference setting set of the current coding image as an image which does not mark as a reference image any more; and if the current coding image is judged to be the reference image, setting the reference setting set of the current coding image as an image which marks the current coding image not to be used as the reference image. The coding method, the coder and the decoder can ensure that the coded image buffer can avoid the problem that the coded image buffer can not normally move out of the reference image due to image loss, and improve the working efficiency of the coded image buffer.

Description

编码方法与相对应的编码器以及解码器Encoding method and corresponding encoder and decoder

技术领域technical field

本发明有关于视频编码/解码,更具体来说,涉及用于译码视频数据的技术。The present invention relates to video encoding/decoding, and more particularly, to techniques for coding video data.

背景技术Background technique

数字视频能力可并入到广泛范围的装置中,所述装置包含数字电视、数字直播系统、无线广播系统、个人数字助理(PDA)、膝上型或桌上型计算机、平板型计算机、电子书阅读器、数字摄像机、数字记录装置、数字媒体播放器、视频游戏装置、视频游戏控制台、蜂窝式或卫星无线电电话、所谓的“智能型电话”、视频电信会议装置、视频流装置,及其类似者。数字视频装置实施视频压缩技术,例如以下各者中所描述的那些技术:由MPEG-2、MPEG-4、ITU-T H.263、ITU-T H.264/MPEG-4第10部分(高级视频译码(AVC))定义的标准、目前在开发中的高效率视频译码(HEVC)标准,以及这些标准的扩展。视频装置可通过实施这些视频压缩技术而更有效率地传输、接收、编码、解码及/或存储数字视频信息。Digital video capabilities can be incorporated into a wide range of devices including digital televisions, digital live broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, electronic books Readers, digital video cameras, digital recording devices, digital media players, video game devices, video game consoles, cellular or satellite radiotelephones, so-called "smart phones", video teleconferencing devices, video streaming devices, and similar. Digital video devices implement video compression techniques such as those described in: MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264/MPEG-4 Part 10 (Advanced Video Coding (AVC)), the High Efficiency Video Coding (HEVC) standard currently in development, and extensions to these standards. Video devices can transmit, receive, encode, decode and/or store digital video information more efficiently by implementing these video compression techniques.

传统的视频编码标准通常采用基于区块的编码技术来应用空间以及时间的冗余。举例来说,基本的途径是将整个来源帧分割为多个区块,在每一区块上执行帧内预测/帧间预测,每一区块执行冗余转换,以及执行量化以及熵编码。此外,在编码循环中产生一个重建帧,来提供参考像素数据以编码后续区块。对于一些视频编码标准来说,环内滤波是用来增强重建帧的图像质量。图像的经帧间译码(P或B)的视频块可使用相对于相同图像中的相邻块中的参考样本的空间预测或相对于其它参考图像中的参考样本的时间预测。图像可被称作帧,且参考图像可被称作参考帧。Traditional video coding standards usually adopt block-based coding techniques to apply spatial and temporal redundancy. For example, the basic approach is to partition the entire source frame into blocks, perform intra/inter prediction on each block, perform redundant transformation per block, and perform quantization and entropy coding. In addition, a reconstructed frame is generated in the encoding loop to provide reference pixel data for encoding subsequent blocks. For some video coding standards, in-loop filtering is used to enhance the image quality of reconstructed frames. An inter-coded (P or B) video block of a picture may use spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures. An image may be referred to as a frame, and a reference image may be referred to as a reference frame.

视频解码器是用来执行视频编码器所执行的视频编码的逆操作。举例来说,视频编码器中的熵编码器是用来产生一个编码的比特流,视频解码器中的熵解码器是用来解码该编码的比特流。熵编码器实施算术编码。A video decoder is used to perform the inverse of video encoding performed by a video encoder. For example, an entropy encoder in a video encoder is used to generate an encoded bitstream, and an entropy decoder in a video decoder is used to decode the encoded bitstream. An entropy coder implements arithmetic coding.

发明内容Contents of the invention

本发明的目的之一是提供一种编码方法与相对应的编码器以及解码器,来编码图像的参考设置集,以及解码图像,来保证已解码图像缓冲器正常工作。One of the objectives of the present invention is to provide an encoding method and corresponding encoder and decoder to encode a reference set of images and decode images to ensure the normal operation of the decoded image buffer.

依据本发明的第一方面,提供一种编码方法,该编码方法用于编码图像的参考设置集,该方法包含:根据当前编码图像是否是参考图像来设置该当前编码图像的参考设置集中已解码图像缓冲保持信息。According to the first aspect of the present invention, an encoding method is provided, the encoding method is used for encoding a reference set of images, the method includes: according to whether the currently encoded image is a reference image, setting the decoded reference set of the current encoded image The image buffer holds information.

其中,该方法判断当前编码图像是否是参考图像,如果判断该当前编码图像是非参考图像,则将该当前编码图像的参考设置集设置为不标记不再作为参考图像的图像;如果判断该当前编码图像是参考图像,则将该当前编码图像的参考设置集设置为标记不再作为参考图像的图像。Wherein, the method judges whether the currently coded picture is a reference picture, and if it is judged that the current coded picture is a non-reference picture, then setting the reference setting set of the current coded picture to not mark pictures that are no longer used as reference pictures; If the picture is a reference picture, then set the reference setting set of the current coded picture to mark a picture that is no longer used as a reference picture.

依据本发明的另一方面,提供一种编码方法,该编码方法用于编码图像的参考设置集,该方法包含:根据当前编码图像是否是非随机访问可解码图像还是随机访问可解码图像来设置该当前编码图像的参考设置集。According to another aspect of the present invention, an encoding method is provided, which is used for a reference setting set of an encoded image, the method comprising: setting the encoding method according to whether the currently encoded image is a non-random access decodable image or a random access decodable image The set of reference settings for the currently encoded image.

其中,该编码方法进一步根据在该当前编码图像解码之后,不再作为参考图像的图像是否是非随机访问可解码图像来设置该当前编码图像的参考设置集。Wherein, the encoding method further sets the reference setting set of the current encoded image according to whether the image no longer used as the reference image is a non-random access decodable image after the decoding of the currently encoded image.

其中,当该当前编码图像是非随机访问可解码图像,并且该不再作为参考图像的图像是非随机访问可解码图像,标记该不再作为参考图像的图像。Wherein, when the currently coded picture is a non-random access decodable picture, and the picture that is no longer used as a reference picture is a non-random access decodable picture, mark the picture that is no longer used as a reference picture.

通过本发明的编码方法、编码器以及解码器,能够使得已编码图像缓冲器避免由于丢失图像而导致的已编码图像缓冲器无法正常移出参考图像的问题,提高已编码图像缓冲器工作效率。。Through the encoding method, encoder and decoder of the present invention, the encoded image buffer can avoid the problem that the encoded image buffer cannot normally move out the reference image due to lost images, and improve the working efficiency of the encoded image buffer. .

在本领域的技术人员阅读了如下的本发明的细节说明与举例的附图之后,可了解本发明的其他目的。Other objects of the present invention can be understood by those skilled in the art after reading the following detailed description of the present invention and the accompanying drawings for example.

附图说明Description of drawings

图1是表示图像之间参考关系的示意图。FIG. 1 is a schematic diagram showing a reference relationship between images.

图2A-图2C是DPB中存储的图像示意图。2A-2C are schematic diagrams of images stored in the DPB.

图3A-图3C是DPB中存储的图像另一示意图。3A-3C are another schematic diagrams of images stored in the DPB.

图4A-图4D是依据本发明的实施例的DPB中图像管理的示意图。4A-4D are schematic diagrams of image management in the DPB according to an embodiment of the present invention.

图5是依据本发明的实施例的编码方法的流程图Fig. 5 is a flow chart of an encoding method according to an embodiment of the present invention

图6是依据本发明的实施例的解码方法的流程图。FIG. 6 is a flowchart of a decoding method according to an embodiment of the present invention.

图7是依据本发明的实施例的编码器设置参考设置集的DPB保持信息方法的流程图。FIG. 7 is a flowchart of a method for an encoder to set DPB holding information of a reference setting set according to an embodiment of the present invention.

具体实施方式Detailed ways

整个说明书和权利要求书采用确定的术语来指代特定的部件。正如本领域的技术人员将理解的是,制造商可以使用不同的名称来指代某一部件。本文件无意于区分那些名称不同但功能相同的部件。在下面的说明书和权利要求书中,用开放式方式使用术语“包含”和“包括”,因此应当被解释为“包含,但是不限于……”。同样地,术语“耦合”既可以表示间接电气连接也可以表示直接电气连接。因此,如果一个设备与另一个设备耦合,其连接可以是通过直接电气连接或者是通过其他设备和连接件的间接电气连接。Throughout the specification and claims, certain terms are used to refer to particular components. As will be understood by those skilled in the art, manufacturers may use different names to refer to a certain component. This document does not attempt to distinguish between those parts that may have the same function but have different names. In the following description and claims, the terms "comprises" and "comprises" are used in an open-ended manner and should therefore be construed as "including, but not limited to...". Likewise, the term "coupled" may mean both an indirect electrical connection and a direct electrical connection. Thus, if a device couples to another device, that connection may be through a direct electrical connection or through an indirect electrical connection through other devices and connections.

本发明的技术一般来说涉及用于进行帧间预测的参考图像的管理。举例来说,视频解码器包含已解码图像缓冲器(DPB)。所述DPB存储已解码图像并且尚未输出显示的图像,包含参考图像。参考图像为可潜在地用于对图像进行帧间预测的图像。换句话说,视频译码器可在解码图像期间,基于存储在DPB中的一个或一个以上参考图像而预测所述图像。而如果发生在DPB中存储的参考图像丢失,则将导致参考该丢失的参考图像的图像解码失败,从而导致解码错误。The techniques of this disclosure generally relate to the management of reference pictures for inter prediction. For example, a video decoder includes a decoded picture buffer (DPB). The DPB stores decoded pictures and pictures not yet output for display, including reference pictures. A reference picture is a picture that can potentially be used for inter prediction of a picture. In other words, the video coder may predict a picture based on one or more reference pictures stored in the DPB during decoding of the picture. However, if the reference picture stored in the DPB is lost, decoding of the picture referring to the lost reference picture will fail, resulting in a decoding error.

为了有效率地利用DPB,可指定DPB管理过程,例如DPB中的已解码图像的存储过程、参考图像的标记过程、来自DPB的已解码图像的输出以及去除过程,等等。一般来说,在一些当前及开发中的视频译码标准中,DPB管理可包含以下方面中的一者或一者以上:图像识别及参考图像识别、参考图像列表构造、参考图像标记、来自DPB的图像输出、到DPB中的图像插入,以及来自DPB的图像去除。解码器根据当前处理的图像的参考设置集(referenceframe set)中的设定,来判断当前DPB中哪些图像不再作为后续图像的参考图像,从而将该些参考图像重新标记为非参考图像。DPB中包含两类图像,参考图像和未输出的图像,其中参考图像可以是未输出的图像,也可以是已经输出的图像,未输出的图像可以是参考图像或者是非参考图像,已输出的非参考图像需要从DPB移出。本发明指定的DPB移出动作是针对已输出的参考图像描述的。刚解码出的图像为未输出图像,根据AVS2定义的输出图像规则,输出某图像后,该图像标记为已输出图像。即在DPB中存储的图像需要至少满足以下两个条件任意一个,其中之一为是参考图像,之二为尚未输出显示。从而当一个原参考图像被重新标记为非参考图像时,并且该重新标记的非参考图像被标记为已输出图像,则其将被从DPB中移出,从而保证DPB中具有足够的空间来存储后续的参考图像,保证解码程序的顺利进行。In order to efficiently utilize the DPB, DPB management procedures, such as a storage procedure of decoded pictures in the DPB, a marking procedure of reference pictures, an output and removal procedure of decoded pictures from the DPB, etc., may be specified. Generally speaking, in some current and developing video decoding standards, DPB management may include one or more of the following aspects: image identification and reference image identification, reference image list construction, reference image marking, information from DPB Image output from DPB, image insertion into DPB, and image removal from DPB. The decoder judges which pictures in the current DPB are no longer used as reference pictures for subsequent pictures according to the settings in the reference frame set of the currently processed picture, so as to remark these reference pictures as non-reference pictures. DPB contains two types of images, reference images and unoutput images, where reference images can be unoutput images or images that have been output, unoutput images can be reference images or non-reference images, and output non- Reference images need to be moved out of the DPB. The DPB removal action specified in the present invention is described for the output reference image. The image just decoded is an unoutput image, and according to the output image rules defined by AVS2, after an image is output, the image is marked as an output image. That is, the image stored in the DPB needs to meet at least one of the following two conditions, one of which is a reference image, and the other is that it has not been output for display. Thus when an original reference picture is re-marked as a non-reference picture, and the re-marked non-reference picture is marked as an output picture, it will be removed from the DPB to ensure that there is enough space in the DPB to store subsequent The reference image to ensure the smooth progress of the decoding process.

如上所述,在图像的编码与解码程序中,为了利用空间与时间上的冗余,通常进行图像的参考而进行预测编码或预测解码。当一个图像被其他的图像参考而进行预测编码或者预测解码时,该图像标记为参考图像,当一个图像不被其他图像参考而进行预测编码或者预测解码时,该图像标记为非参考图像。当图像经解码时,所述图像可能为非参考图像或参考图像。参考图像可能为长期参考图像或短期参考图像,且当参考图像经标记为“不用于参考”时,所述参考图像可能变得不再需要供参考。在一些视频译码标准中,可能存在改变参考图像的状态的参考图像标记操作。举例来说,图1是表示图像之间参考关系的示意图,其中的箭头关系表示参考关系。图1中加斜线阴影的图像是表示在其他图像编码、解码时被被参考的图像,即参考图像,表示保存在DPB中的图像。而当图像7已经解码结束之后,图像0不再作为后续图像的参考图像,当图像0已经输出显示时,图像0即可从DPB中移出,从而节省DPB中的空间。换言之,在图像解码的过程中,图像0需要从参考图像标记为非参考图像。只有正确地将图像从参考图像标记为非参考图像,从而实现DPB中的图像的移出,从而保证DPB提供足够的空间给后续的参考图像来存储。As described above, in image encoding and decoding procedures, in order to utilize spatial and temporal redundancy, predictive encoding or predictive decoding is usually performed by referring to images. When a picture is predictively coded or decoded with reference to other pictures, the picture is marked as a reference picture, and when a picture is predictively encoded or decoded without being referenced by other pictures, the picture is marked as a non-reference picture. When a picture is decoded, the picture may be a non-reference picture or a reference picture. A reference picture may be a long-term reference picture or a short-term reference picture, and when a reference picture is marked "unused for reference," it may become no longer needed for reference. In some video coding standards, there may be a reference picture marking operation that changes the state of a reference picture. For example, FIG. 1 is a schematic diagram showing a reference relationship between images, where the arrow relationship represents the reference relationship. The obliquely hatched images in FIG. 1 represent images that are referred to when other images are encoded and decoded, that is, reference images, and represent images stored in the DPB. After picture 7 has been decoded, picture 0 is no longer used as a reference picture for subsequent pictures. When picture 0 has been output and displayed, picture 0 can be removed from the DPB, thereby saving space in the DPB. In other words, in the process of image decoding, image 0 needs to be marked as a non-reference image from a reference image. Only by correctly marking an image from a reference image to a non-reference image can the image in the DPB be moved out, thereby ensuring that the DPB provides enough space for subsequent reference images to be stored.

举例来说,如果在图像解码的过程中,出现标记错误,从而图像0没有正确地从参考图像标记为非参考图像,则图像0则一直保持参考图像的标记,从而图像0则一直存储在DPB中,占用DPB中的空间。由于DPB的空间通常有限,例如在AVS2标准中,DPB中通常可存储5-16张图像,如果出现图像一直保持在DPB中而占用DPB空间的情况,并且这样占用DPB空间的参考图像的数量进行持续积累的话,则将导致DPB中可用空间越来越少,降低DPB的使用效率,甚至可能导致DPB无可用存储空间而导致图像溢出的后果。而在DPB溢出时,通常由于此时解码器无法准确得知DPB中所存储的所有图像中应该选择移出哪一个图像,从而解码器选择随机移出,即解码器随机选择DPB中的一个图像进行移出。当解码器所选择的随机移出的图像是后续待解码图像的参考图像时,则将导致后续的待解码图像无参考图像,从而无法正常解码的问题。For example, if a marking error occurs during image decoding, so that picture 0 is not correctly marked from a reference picture to a non-reference picture, then picture 0 will always keep the mark of the reference picture, so that picture 0 will always be stored in the DPB , occupying space in the DPB. Since the space of DPB is usually limited, for example, in the AVS2 standard, 5-16 images can usually be stored in DPB. If it continues to accumulate, it will lead to less and less available space in the DPB, reducing the use efficiency of the DPB, and may even cause the DPB to have no available storage space and cause image overflow. When the DPB overflows, usually because the decoder cannot accurately know which image should be selected to be removed from all the images stored in the DPB at this time, the decoder chooses to move out randomly, that is, the decoder randomly selects an image in the DPB to move out . When the random image selected by the decoder is the reference image of the subsequent image to be decoded, it will lead to the problem that the subsequent image to be decoded has no reference image and cannot be decoded normally.

为了辅助理解,下文提供关于如何可根据一些视频译码标准发生参考图像标记的简要描述。本发明中所描述的技术中的一些技术解决可能存在于参考图像标记、及DPB图像去除及输出中的问题,以便改善对DPB的利用效率。To aid in understanding, a brief description of how reference picture marking may occur according to some video coding standards is provided below. Some of the techniques described in this disclosure address issues that may exist in reference image marking, and DPB image removal and output, in order to improve utilization efficiency of the DPB.

在图像编码过程中,编码器根据图像编码标准(例如HEVC、AVS2)对图像进行编码。在编码过程中,针对每一个图像构造与其对应的参考设置集(reference configurationset),参考设置集为关于参考图像的绝对描述,参考设置集中标示与该参考设置集相对应的图像的参考图像,并且标示在图像序列中哪些图像不再作为后续图像的参考图像。在一个实施例中,视频编码器可用信号发出语法元素的各种方式来发出参考设置集,视频解码器可利用所述语法元素导出参考设置集。举例来说,视频解码器可在视频序列头(sequenceheader),图像头(intra picture header/inter picture header),切片头(sliceheader)或其任何组合中用信号发出语法元素。尽为了说明的目的,视频编码器可使用序列头、图像头和切片头用信号发出语法元素。为了导出参考设置集,视频解码器可实施解码过程以确定用于属于参考设置集的图像的识别符。During the image encoding process, the encoder encodes the image according to the image encoding standard (eg, HEVC, AVS2). In the encoding process, a reference configuration set (reference configuration set) corresponding to it is constructed for each image, the reference configuration set is an absolute description about the reference image, and the reference configuration set indicates the reference image of the image corresponding to the reference configuration set, and Indicate which images in the image sequence are no longer used as reference images for subsequent images. In one embodiment, a video encoder may signal a reference setting set in various ways of signaling syntax elements that a video decoder may utilize to derive a reference setting set. For example, a video decoder may signal the syntax elements in a video sequence header, intra picture header/inter picture header, slice header, or any combination thereof. For purposes of illustration, a video encoder may signal syntax elements using sequence headers, picture headers, and slice headers. To derive a reference set set, a video decoder may implement a decoding process to determine identifiers for pictures belonging to the reference set set.

表1是编码器设置的一个图像的参考设置集的举例说明。Table 1 is an example of a reference setting set for a picture set by an encoder.

表1Table 1

其中u(1)、u(3)、u(6)、f(1)是描述符。refered_by_others_flag指示该图像是否是一个参考图像。num_of_reference_picture指示该图像的编码参考了几张图像。并且后续的语法指示哪几张图像是该图像的参考图像,即指示该图像的参考图像的图像序列号。num_of_removed_picture指示将图像从参考图像标注为非参考图像的数量。并且后续的语法指示哪几张图像是从DPB中移出的图像,即指示从参考图像标注为非参考图像的图像序列号。换言之,图像的参考设置集中包含DPB保持消息,而解码器通过解析该DPB保持消息,而管理DPB中存储的参考图像。where u(1), u(3), u(6), f(1) are descriptors. referred_by_others_flag indicates whether the picture is a reference picture. num_of_reference_picture indicates how many pictures are referenced by the encoding of this picture. And the subsequent syntax indicates which images are the reference images of the image, that is, indicates the image sequence number of the reference image of the image. num_of_removed_picture indicates the number of marking a picture from a reference picture to a non-reference picture. And the subsequent syntax indicates which pictures are removed from the DPB, that is, indicates the sequence number of the picture marked as a non-reference picture from the reference picture. In other words, the reference set of pictures contains the DPB hold message, and the decoder manages the reference pictures stored in the DPB by parsing the DPB hold message.

解码器在图像的解码过程中,导出上述参考设置集,并根据上述参考设置集来决定是否将当前解码的图像存储至DPB、以及将DPB中的哪些图像标注为非参考图像而移出DPB。During the image decoding process, the decoder derives the above-mentioned reference setting set, and decides whether to store the currently decoded image in the DPB according to the above-mentioned reference setting set, and which images in the DPB are marked as non-reference images and removed from the DPB.

图2A-图2C是DPB中存储的图像示意图。其中,在图2A中,DPB中存储了5张图像,分别为图像0-图像4,其中R表示参考图像,O表示已输出图像。在图2B中,解码器当前解码图像5,并且在解析图像5的参考设置集时,解析出图像5是非参考图像(图2B中使用N来表示),但由于图像5刚刚完成解码,而尚未输出(图2B中使用D来表示),因此图像5依然保持在DPB中。此外,在解码器解析图像5的参考设置集时,解析出图像1-图像4不再作为其他图像的参考图像,从而在图2B所示的DPB中,图像1-图像4标记为N,并且在图2C中,从DPB中移出,从而使得DPB具有足够的空间来存储后续的参考图像。并且由于图像0依然被后续的待解码的图像参考,从而图像0依然保持在DPB中。2A-2C are schematic diagrams of images stored in the DPB. Wherein, in FIG. 2A , 5 images are stored in the DPB, which are image 0-image 4, wherein R represents a reference image, and O represents an output image. In Figure 2B, the decoder is currently decoding picture 5, and when parsing the reference set set for picture 5, it resolves that picture 5 is a non-reference picture (indicated by N in Figure 2B), but since picture 5 has just finished decoding, it has not yet output (indicated by D in FIG. 2B ), so image 5 remains in the DPB. In addition, when the decoder parses the reference setting set of picture 5, it resolves that picture 1-picture 4 is no longer used as a reference picture of other pictures, so in the DPB shown in Figure 2B, picture 1-picture 4 is marked as N, and In FIG. 2C , the DPB is removed so that the DPB has enough space to store subsequent reference images. And because picture 0 is still referenced by subsequent pictures to be decoded, picture 0 is still kept in the DPB.

图3A-图3C是DPB中存储的图像另一示意图。在图3A中,DPB中存储了图像0-图像4,图像0-图像4都是已经输出显示的参考图像。如果发生图像5丢失,则解码器无法解析图像5的参考设置集中携带的信息,从而无法将图像1-图像4从参考图像标记为非参考图像。从而当解码图像6时,如图3B所示,图像6作为刚刚解码尚未输出的参考图像而存储至DPB。从而当解码器解码图像7时,如图3C所示,由于图像7是参考图像,从而需要保存至DPB。由于此时DPB中无空闲空间,从而解码器无法分辨应移出哪一个图像,如果解码器随机决定移出图像0,则图像7将取代图像0而保存至DPB。如果下一图像8需参考图像0而解码,由于DPB中缺少图像0,则图像8不能正确地解码。3A-3C are another schematic diagrams of images stored in the DPB. In FIG. 3A, image 0-image 4 are stored in the DPB, and image 0-image 4 are reference images that have been output and displayed. If picture 5 loss occurs, the decoder cannot parse the information carried in the reference set set of picture 5, and thus cannot mark pictures 1-picture 4 from reference pictures to non-reference pictures. Therefore, when the picture 6 is decoded, as shown in FIG. 3B , the picture 6 is stored in the DPB as a reference picture that has just been decoded and has not yet been output. Therefore, when the decoder decodes the picture 7, as shown in FIG. 3C , since the picture 7 is a reference picture, it needs to be saved to the DPB. Since there is no free space in the DPB at this time, the decoder cannot tell which picture should be moved out. If the decoder randomly decides to move out picture 0, picture 7 will be saved in the DPB instead of picture 0. If the next picture 8 needs to be decoded with reference to picture 0, picture 8 cannot be decoded correctly due to the lack of picture 0 in the DPB.

为了解决上述问题,本发明的编码器在编码时,针对非参考图像中的参考设置集施加限制。即根据当前编码图像是否是参考图像来设置该当前编码图像的参考设置集中已解码图像缓冲保持信息。具体来说,本发明的编码器在编码非参考图像的参考设置集时,该参考设置集不标记任何的参考图像作为非参考图像。判断当前编码图像是否是参考图像,如果判断该当前编码图像是非参考图像,则将该当前编码图像的参考设置集设置为不标记不再作为参考图像的图像;如果判断该当前编码图像是参考图像,则将该当前编码图像的参考设置集设置为标记不再作为参考图像的图像。换言之,非参考图像的参考设置集中的num_of_removed_picure设置为0.In order to solve the above problems, the encoder of the present invention imposes restrictions on the set of reference settings in non-reference images when encoding. That is, according to whether the current coded picture is a reference picture, the decoded picture buffer holding information in the reference setting set of the current coded picture is set. Specifically, when the encoder of the present invention encodes a reference setting set of non-reference pictures, the reference setting set does not mark any reference picture as a non-reference picture. Determine whether the current coded picture is a reference picture, if it is judged that the current coded picture is a non-reference picture, then set the reference setting set of the current coded picture to not mark the picture that is no longer used as a reference picture; if it is judged that the current coded picture is a reference picture , then set the reference setting set of the current coded picture to mark the picture that is no longer used as a reference picture. In other words, num_of_removed_picure is set to 0 in the reference set set for non-reference pictures.

在图2A-图2C、图3A-图C的例子中,编码器首先判断图像5为非参考图像(N),从而编码器在编码图像5的参考设置集时,设置其中的num_of_removed_picure为0。从而解码器在解析了图像5的参考设置集之后,不会将图像1-图像4从参考图像标记为非参考图像,即解码器在解码图像5之后,不会将图像1-图像4从DPB中移出。图4A-图4D是依据本发明的实施例的DPB中图像管理的示意图。图4A中的DPB存储了图像0-图像4.当图像5丢失时,解码器解码图像6,并且将其存储至DPB(如图4B所示)。并且,编码器在编码图像6时,判断图像6是参考图像,从而可以在编码图像6的参考设置集时,指示哪些图像不再作为参考图像,从而图像6的参考设置集中将指示图像1-图像4不再作为参考图像。如图4C所示,解码器在解码图像6之后,可将图像1-图像4从参考图像标记为非参考图像,从而使得图像1-图像4被从DPB中移出,保证DPB有足够的空闲空间来存储后续的参考图像7(如图4D所示),而使得解码顺利进行。In the examples of Fig. 2A-Fig. 2C and Fig. 3A-Fig. C, the encoder first judges that image 5 is a non-reference image (N), so the encoder sets num_of_removed_picure to 0 when encoding the reference setting set of image 5. Therefore, after the decoder parses the reference setting set of image 5, it will not mark image 1-image 4 from the reference image as a non-reference image, that is, after the decoder decodes image 5, it will not mark image 1-image 4 from the DPB removed. 4A-4D are schematic diagrams of image management in the DPB according to an embodiment of the present invention. The DPB in Figure 4A stores picture 0 - picture 4. When picture 5 is lost, the decoder decodes picture 6 and stores it in the DPB (as shown in Figure 4B). Moreover, when encoding image 6, the encoder judges that image 6 is a reference image, so that it can indicate which images are no longer used as reference images when encoding the reference setting set of image 6, so that the reference setting set of image 6 will indicate that image 1- Image 4 is no longer used as a reference image. As shown in Figure 4C, after decoding image 6, the decoder can mark image 1-image 4 from the reference image as a non-reference image, so that image 1-image 4 is removed from the DPB to ensure that the DPB has enough free space to store the subsequent reference image 7 (as shown in FIG. 4D ), so that the decoding proceeds smoothly.

本发明的编码器在编码非参考图像时,将非参考图像设置为无法将任何的参考图像标记为非参考图像。即,在编码非参考图像对应的参考设置集时,指示不修改任何的参考图像为非参考图像。换言之,编码器将非参考图像的参考设置集中的num_of_removed_picure设置为0。从而,采用本发明的技术方案,可以保证不因为任何的非参考图像的丢失,而导致参考图像标记为非参考图像的失败。即可保证不因为任何的非参考图像的丢失,而导致DPB出现混乱而无法解码。When encoding a non-reference picture, the encoder of the present invention sets the non-reference picture so that no reference picture can be marked as a non-reference picture. That is, when encoding the reference setting set corresponding to the non-reference picture, it is indicated not to modify any reference picture as the non-reference picture. In other words, the encoder sets num_of_removed_picure to 0 in the reference set set for non-reference pictures. Therefore, by adopting the technical solution of the present invention, it can be ensured that the reference image will not fail to be marked as a non-reference image due to the loss of any non-reference image. It can be guaranteed that the DPB will not be confused and cannot be decoded due to the loss of any non-reference image.

请参考附图图5,图5是依据本发明的实施例的编码方法的流程图。由一个编码器执行软件、硬件、固件来实现。图5中包含的编码方法包含以下步骤:Please refer to FIG. 5 of the accompanying drawings. FIG. 5 is a flowchart of an encoding method according to an embodiment of the present invention. Implemented by an encoder executing software, hardware, and firmware. The encoding method contained in Figure 5 consists of the following steps:

步骤501:编码当前图像;Step 501: encoding the current image;

步骤503:依照当前编码器采用的编码标准,搜寻在编码当前图像之后,不再作为参考图像的图像;Step 503: According to the encoding standard adopted by the current encoder, search for an image that is no longer used as a reference image after encoding the current image;

步骤505:判断当前编码图像是否是参考图像,如果判断结果为“是”,则执行步骤步骤507,否则执行步骤501;Step 505: Judging whether the current coded picture is a reference picture, if the judgment result is "yes", go to step 507, otherwise go to step 501;

步骤507:在当前编码图像的参考设置集中,设置在编码当前图像之后,不再作为参考图像的图像。Step 507: In the reference setting set of the current coded picture, set a picture that is no longer used as a reference picture after the current picture is coded.

本领域技术人员可了解,图5中的步骤之间执行的顺序可调整,各个步骤之间可拆分或者组合,其都在本发明的范围之内。Those skilled in the art can understand that the execution sequence of the steps in FIG. 5 can be adjusted, and each step can be split or combined, which are all within the scope of the present invention.

此外,本发明还涉及一种解码器,该解码器能够解析通过图5中的编码方法而设置的参考图像与非参考图像,而执行DPB的管理。Furthermore, the present invention relates to a decoder capable of performing management of DPB by analyzing reference pictures and non-reference pictures set by the encoding method in FIG. 5 .

本发明另包含一种编码非随机访问可解码图像(non-random access decodablepicture)的参考设置集的方法。在待解码的图像序列中,包含随机访问可解码图像(randomaccess decodable picture)与非随机访问可解码图像。视频编码标准追求更高的编码压缩效率,但同时还必须考虑压缩码流的随机访问性能。随机访问性能是指从某一点而非比特流起始点开始对比特流解码并恢复出解码图像的能力,直接与用户的体验相关。随机访问性能和编码压缩效率是矛盾的关系,如何在两者之间进行折中和平衡,是视频编码标准必须要考虑的一个重要问题。The present invention further includes a method for encoding a reference set of non-random access decodable pictures. The sequence of images to be decoded includes random access decodable pictures and non-random access decodable pictures. Video coding standards pursue higher coding and compression efficiency, but at the same time must also consider the random access performance of the compressed code stream. Random access performance refers to the ability to decode the bitstream and restore the decoded image from a certain point rather than the starting point of the bitstream, which is directly related to the user experience. Random access performance and coding compression efficiency are contradictory. How to make a compromise and balance between the two is an important issue that must be considered in video coding standards.

随机访问的需求主要包括广播业务中的节目换台、码流切换、编辑和拼接、节目回放的随机定位、快进快退等。不同的业务对随机访问性能的要求不同,比如,对于广播业务,DVB(Digital Video Broadcasting数字视频广播)标准规定每隔0.k要出现一个随机访问点;对于视频通信、视频会议、按观看节目付费业务等业务对随机访问性能的要求降低。The requirements for random access mainly include channel switching, code stream switching, editing and splicing, random positioning of program playback, fast forward and fast rewind, etc. in the broadcasting service. Different services have different requirements for random access performance. For example, for broadcasting services, the DVB (Digital Video Broadcasting) standard stipulates that a random access point should appear every 0.k; Services such as payment services have lower requirements on random access performance.

为了支持对视频压缩码流的随机访问,各个视频标准采取了一系列的措施。在图像数据流中,通常可分割为多个图像序列(frame sequence)。随机存取可解码图像代表该图像仅仅参考当前图像序列中的图像,而不参考其他图像序列中的参考图像。非随机存取可解码图像代表该图像参考其他图像序列中的参考图像。在编码过程中,每一个随机访问可解码图像与非随机访问可解码图像都具有对应的参考设置集(如表1所示),来指示该随机访问可解码图像或者非随机访问可解码图像是否是参考图像、其自身参考了哪些图像、以及在解码了该随机访问可解码图像或者非随机访问可解码图像之后,哪些参考图像可标记为非参考图像。In order to support random access to video compression streams, various video standards have adopted a series of measures. In the image data stream, it can usually be divided into multiple image sequences (frame sequence). A random access decodable picture means that the picture only refers to pictures in the current picture sequence and does not refer to reference pictures in other picture sequences. A non-random access decodable picture means that the picture refers to reference pictures in other picture sequences. In the encoding process, each random access decodable picture and non-random access decodable picture has a corresponding reference setting set (as shown in Table 1), to indicate whether the random access decodable picture or non-random access decodable picture is is the reference picture, which pictures it itself references, and which reference pictures may be marked as non-reference pictures after decoding the random access decodable picture or the non-random access decodable picture.

举例来说,当发生图像丢失时,例如视频剪裁与拼接时,可能发生参考图像丢失的情况,从而将导致需要参考该参考图像而解码的后续图像无法正常解码,而出现解码器处理混乱。为了避免上述问题,则解码器通常直接丢弃该些因缺少参考图像而无法正常解码的图像。图6是依据本发明的实施例的解码方法的流程图。解码方法包含以下步骤:For example, when image loss occurs, such as video cropping and splicing, the reference image may be lost, which will cause subsequent images that need to be decoded with reference to the reference image to be unable to be decoded normally, resulting in decoder processing confusion. In order to avoid the above problems, the decoder usually directly discards the images that cannot be decoded normally due to the lack of reference images. FIG. 6 is a flowchart of a decoding method according to an embodiment of the present invention. The decoding method includes the following steps:

步骤601:解码器获得待解码的图像;Step 601: the decoder obtains the image to be decoded;

步骤603:判断待解码图像是否为随机访问可解码图像(在附图中简写为RAD),当判断结果是“否”时,则进行步骤605,当判断结果是“是”时,则进行步骤607;Step 603: Judging whether the image to be decoded is a random access decodable image (abbreviated as RAD in the drawings), when the judgment result is "No", then proceed to Step 605, and when the judgment result is "Yes", then proceed to Step 603: 607;

步骤605:丢弃该待解码的图像;Step 605: Discard the image to be decoded;

步骤607:解析该待解码的图像的参考设置集,来进行DPB管理;Step 607: Parse the reference setting set of the image to be decoded to perform DPB management;

步骤609:解码该待解码的图像;Step 609: Decode the image to be decoded;

步骤611:判断是否有后续的待解码的图像,如果判断结果为“是”,则返回步骤601,如果判断结果为“否”,则结束该解码方法。Step 611: Judging whether there are subsequent images to be decoded, if the judging result is "yes", return to step 601, if the judging result is "no", then end the decoding method.

举例来说,当一个图像是非随机访问可解码图像时,该图像需要参考其他图像序列中的参考图像。在进行视频剪辑或者视频拼接时,通常其他序列中的参考图像已丢失,从而该非随机访问可解码图像无法正常解码。解码器可设置为直接丢弃该非随机访问可解码图像,而不进行任何的解码。但是,当该非随机访问可解码图像的参考设置集中包含了DPB保持信息时,即包含了将DPB中的参考图像标记为非参考图像的信息时,解码器直接丢弃该非随机访问可解码图像可能导致DPB中的参考图像无法正常地标记为非参考图像,而导致的DPB混乱的问题。For example, when a picture is a non-random access decodable picture, the picture needs to refer to reference pictures in other picture sequences. When performing video clipping or video splicing, usually the reference images in other sequences are lost, so the non-random access decodable image cannot be decoded normally. The decoder can be set to directly discard the non-random access decodable image without performing any decoding. However, when the reference setting set of the non-random access decodable picture contains DPB hold information, that is, when it contains the information that marks the reference picture in the DPB as a non-reference picture, the decoder directly discards the non-random access decodable picture It may lead to the problem that the reference image in the DPB cannot be marked as a non-reference image normally, resulting in DPB confusion.

依据本发明的一个实施例,编码器根据当前编码图像是否是非随机访问可解码图像还是随机访问可解码图像来设置该当前编码图像的参考设置集。编码器进一步根据在该当前编码图像解码之后,不再作为参考图像的图像是否是非随机访问可解码图像来设置该当前编码图像的参考设置集。According to an embodiment of the present invention, the encoder sets the reference setting set of the current coded picture according to whether the current coded picture is a non-random access decodable picture or a random access decodable picture. The encoder further sets the reference setting set of the current coded picture according to whether the picture no longer used as the reference picture is a non-random access decodable picture after the current coded picture is decoded.

编码器在编码非随机访问可解码图像的参考设置集时,仅仅指示非随机访问可解码图像从参考图像标记为非参考图像,而不会将随机访问可解码图像从参考图像标记为非参考图像。另一方面,编码器在编码随机访问可解码图像的参考设置集时,即可指示非随机访问可解码图像从参考图像标记为非参考图像,也可以指示随机访问可解码图像从参考图像标记为非参考图像。换言之,编码器在编码随机访问可解码图像时,其参考设置集是正常设置的,而编码器在编码非随机访问可解码图像时,其参考设置集中的DPB保持信息的设置需要考虑到所指示的参考图像是否是非随机访问可解码图像。The encoder only instructs non-random access decodable pictures to be marked from reference pictures to non-reference pictures when encoding the reference set set of non-random access decodable pictures, and does not mark random access decodable pictures from reference pictures to non-reference pictures . On the other hand, when encoding the reference set of random access decodable pictures, the encoder can either instruct the non-random access decodable pictures to be marked as non-reference pictures from the reference pictures, or instruct the random access decodable pictures to be marked from the reference pictures as non-reference image. In other words, when the encoder encodes a random access decodable image, its reference setting set is normally set, and when the encoder encodes a non-random access decodable image, the setting of the DPB holding information in the reference setting set needs to take into account the indicated Whether the reference image is a non-random access decodable image.

图7是依据本发明的实施例的编码器设置参考设置集的DPB保持信息方法的流程图。该方法包含以下步骤:FIG. 7 is a flowchart of a method for an encoder to set DPB holding information of a reference setting set according to an embodiment of the present invention. The method includes the following steps:

步骤701:编码当前图像;Step 701: encode the current image;

步骤703:依照编码器采用的视频标准,搜寻所有需要从参考图像标记为非参考图像的图像Pic[i],即搜寻所有不再作为参考图像的图像,并设置不再作为参考图像的图像的数量的计数值num_no_longer_ref_pic,来指示所有不再作为参考图像的图像数量;Step 703: According to the video standard adopted by the encoder, search for all pictures Pic[i] that need to be marked as non-reference pictures from reference pictures, that is, search for all pictures that are no longer used as reference pictures, and set The count value of the number num_no_longer_ref_pic, to indicate the number of pictures that are no longer used as reference pictures;

步骤705:设置计数值i=0;Step 705: Set count value i=0;

步骤707:判断计数值i是否小于num_no_longer_ref_pic,如果判断结果为“是”,则进行步骤709,如果判断结果为“否”,则当前编码图像的参考设置集中的DPB保持信息设置结束;Step 707: Judging whether the count value i is less than num_no_longer_ref_pic, if the judging result is "yes", proceed to step 709, if the judging result is "no", then the setting of the DPB holding information in the reference setting set of the current coded picture ends;

步骤709:判断当前编码图像是否是随机存取可解码图像(图7中简写为RADPic),如果判断结果为“是”,则进行步骤711,如果判断结果为否,则进行步骤713;Step 709: judging whether the current coded image is a random access decodable image (abbreviated as RADPic in FIG. 7), if the judgment result is "yes", then proceed to step 711, if the judgment result is no, then proceed to step 713;

步骤711:在当前图像的参考设置集中,设置指示图像Pic[i]不再为参考图像;Step 711: In the reference setting set of the current picture, set the indication picture Pic[i] to no longer be a reference picture;

步骤713:判断图像Pic[i]是否是非随机访问可解码图像(图7中简写为non-RADPic),当判断结果为“是”时,进行步骤711,当判断结果为否时进行步骤715;Step 713: judging whether the image Pic[i] is a non-random access decodable image (abbreviated as non-RADPic in FIG. 7), when the judging result is "yes", go to step 711, and when the judging result is no, go to step 715;

步骤715:计数值i+1,并且返回至步骤707,来处理图像Pic[i+1]。Step 715: Count i+1, and return to step 707 to process image Pic[i+1].

本领域的技术人员在阅读了上述段落之后,能够理解图7所示的每一步骤,进一步的描述被省略,以简化说明。Those skilled in the art can understand each step shown in FIG. 7 after reading the above paragraphs, and further description is omitted to simplify the description.

通过上述编码方法,非随机访问可解码图像的参考设置集中,将仅仅指示非随机访问可解码图像不再为参考图像。从而如果发生解码器丢弃非随机访问可解码图像的情况,则解码器无法获得该丢弃的非随机访问可解码图像相关的的参考设置集中的DPB保持信息,仅仅非随机访问可解码图像无法从参考图像标记为非参考图像,而不会发生随机访问可解码图像无法正常滴从参考图像标记为非参考图像的情况。换言之,非随机访问可解码图像的图像序号(DOI)与表1中所示的delta_doi_of_removed_picture的和不等于随机访问可解码图像的DOI。而随机访问可解码图像的图像序号与表1中所示的delta_doi_of_removed_picture的和可等于随机访问可解码图像的DOI或者非随机访问可解码图像的DOI。即仅仅会发生由于非随机访问可解码图像丢失,非随机访问可解码图像无法正常从DPB中移出的情况,而不会发生由于非随机访问可解码图像丢失,随机访问可解码图像无法正常从DPB中移出的情况。With the above encoding method, the reference set of non-random access decodable pictures will only indicate that the non-random access decodable pictures are no longer reference pictures. Therefore, if the decoder discards a non-random access decodable picture, the decoder cannot obtain the DPB holding information in the reference set related to the discarded non-random access decodable picture, and only the non-random access decodable picture cannot be retrieved from the reference The picture is marked as a non-reference picture without the random-access decodable picture not being marked as a non-reference picture from a reference picture normally. In other words, the sum of the index of picture (DOI) of a non-random access decodable picture and the delta_doi_of_removed_picture shown in Table 1 is not equal to the DOI of a random access decodable picture. The sum of the picture sequence number of the random access decodable picture and the delta_doi_of_removed_picture shown in Table 1 may be equal to the DOI of the random access decodable picture or the DOI of the non-random access decodable picture. That is, it will only happen that the non-random access decodable image cannot be normally removed from the DPB due to the loss of the non-random access decodable image, and it will not happen that the random access decodable image cannot be normally removed from the DPB due to the loss of the non-random access decodable image. In case of removal.

由于进行视频剪裁或者视频拼接时,丢失了先前图像序列,从而解码器会选择丢弃当前视频序列内所有的非随机访问可解码图像,所以,即使由于非随机访问可解码图像丢失,而非随机访问可解码图像无法正常从DPB中移出的情况,解码器也会因为其是非随机访问可解码图像而丢弃该图像,从而不会发生非随机访问可解码图像无法移出DPB,导致DPB混乱的问题。Due to the loss of the previous image sequence during video clipping or video splicing, the decoder will choose to discard all non-random access decodable images in the current video sequence, so even if non-random access decodable images are lost due to non-random access If a decodable image cannot be normally removed from the DPB, the decoder will also discard the image because it is a non-random access decodable image, so that the non-random access decodable image cannot be removed from the DPB, causing DPB confusion.

本发明提供的编码器编码图像的参考设置集的方法,通过将非参考图像相关的参考设置集设置为不指示任何的不再作为参考图像的图像,以及/或者通过将非随机访问可解码图像相关的参考设置集设置为仅指示非随机访问可解码图像不再作为参考图像,来使得DPB中的参考图像可正常移出,避免由于图像丢失,而导致的无法将DPB中的参考图像移出的问题,保证DPB的正常使用。The method for the reference setting set of an encoder encoding a picture provided by the present invention, by setting the reference setting set related to a non-reference picture to not indicate any picture that is no longer a reference picture, and/or by setting a non-random access decodable picture The relevant reference setting set is set to only indicate that the non-random access decodable picture is no longer used as a reference picture, so that the reference picture in the DPB can be moved out normally, avoiding the problem that the reference picture in the DPB cannot be moved out due to picture loss , to ensure the normal use of the DPB.

本领域技术人员可理解,本发明可使用软件、硬件、固件来完成。因此,本发明也包含了在编码器或者解码器中所嵌入的存储器,用于存储实现本发明的各个功能的程序代码。Those skilled in the art can understand that the present invention can be implemented using software, hardware, and firmware. Therefore, the present invention also includes a memory embedded in an encoder or a decoder for storing program codes for realizing various functions of the present invention.

本发明通过上述实施例进行举例说明,本发明并非局限于上述举例说明。本发明应理解为涵盖本领域技术人员可了解的多种变型的实施方式与相似的安排。因此,本发明的权利要求书应该理解为涵盖本领域技术人员可了解的多种变型的实施方式与相似的安排的较广范围。The present invention is illustrated by the above examples, but the present invention is not limited to the above examples. The invention should be understood to cover various alternative embodiments and similar arrangements which will occur to those skilled in the art. Accordingly, the claims of the present invention should be construed to cover a wide range of various modified embodiments and similar arrangements that are apparent to those skilled in the art.

Claims (10)

1. a kind of coding method, for the reference setting collection of coded image, this method includes:
Whether it is that reference picture concentrates decoding figure the reference setting of the current encoded image is arranged according to current encoded image As buffering keeps information.
2. coding method according to claim 1, which is characterized in that according to current encoded image whether be reference picture come Be arranged the current encoded image reference setting concentrate decoded picture buffer keep information the step of include:
Judge whether current encoded image is reference picture, if it is determined that the current encoded image is non-reference picture, then should The reference setting collection of current encoded image is set as not marking no longer as the image with reference to image;
If it is determined that the current encoded image is reference picture, then the reference of current encoded image setting collection is set as marking No longer as the image with reference to image.
3. coding method according to claim 2, which is characterized in that wherein if it is determined that the current encoded image is non-ginseng The step of examining image, then setting not marking no longer as the image with reference to image the reference of current encoded image setting collection to Including:
The cue mark that the reference setting concentration of the current encoded image is arranged is that the quantity of non-reference picture is 0.
4. a kind of encoder requires the coding method described in 1-3 for perform claim.
5. a kind of computer readable storage medium, for storing program code, which requires described in 1-3 Coding method.
6. a kind of coding method, for the reference setting collection of coded image, this method includes:
According to whether current encoded image is nonrandom access decodable picture or random access decodable picture, this is set The reference setting collection of current encoded image.
7. according to coding method shown in claim 6, which is characterized in that further include according to coded image solution in this prior After code, no longer as refer to image image whether be nonrandom access decodable picture and present image whether right and wrong with Machine accesses decodable picture and collection is arranged the reference of the current encoded image is arranged.
8. according to coding method shown in claim 7, which is characterized in that can be solved when the current encoded image is nonrandom access Code image, and this is no longer nonrandom access decodable picture as the image with reference to image, marks this no longer as reference The image of image.
9. a kind of encoder requires the coding method described in 6-8 for perform claim.
10. a kind of computer readable storage medium, for storing program code, which requires described in 6-8 Coding method.
CN201710032477.1A 2017-01-16 2017-01-16 Coding method and corresponding coder and decoder Pending CN108322754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710032477.1A CN108322754A (en) 2017-01-16 2017-01-16 Coding method and corresponding coder and decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710032477.1A CN108322754A (en) 2017-01-16 2017-01-16 Coding method and corresponding coder and decoder

Publications (1)

Publication Number Publication Date
CN108322754A true CN108322754A (en) 2018-07-24

Family

ID=62892014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710032477.1A Pending CN108322754A (en) 2017-01-16 2017-01-16 Coding method and corresponding coder and decoder

Country Status (1)

Country Link
CN (1) CN108322754A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012295A (en) * 2019-05-07 2019-07-12 杭州当虹科技股份有限公司 A kind of fault-tolerance approach of AVS2 decoder reference picture management
WO2020190616A1 (en) * 2019-03-15 2020-09-24 Tencent America LLC Decoded picture buffer management for video coding
CN114424555A (en) * 2019-09-24 2022-04-29 华为技术有限公司 Indication of picture-level non-picture-level syntax elements

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020190616A1 (en) * 2019-03-15 2020-09-24 Tencent America LLC Decoded picture buffer management for video coding
US10986353B2 (en) 2019-03-15 2021-04-20 Tencent America LLC Decoded picture buffer management for video coding
US11516486B2 (en) 2019-03-15 2022-11-29 Tencent America LLC Decoded picture buffer management for video coding
US12238307B2 (en) 2019-03-15 2025-02-25 Tencent America LLC Decoded picture buffer management for video coding
CN110012295A (en) * 2019-05-07 2019-07-12 杭州当虹科技股份有限公司 A kind of fault-tolerance approach of AVS2 decoder reference picture management
CN110012295B (en) * 2019-05-07 2021-05-25 杭州当虹科技股份有限公司 Fault-tolerant method for reference image management of AVS2 decoder
CN114424555A (en) * 2019-09-24 2022-04-29 华为技术有限公司 Indication of picture-level non-picture-level syntax elements
CN115460411A (en) * 2019-09-24 2022-12-09 华为技术有限公司 Indication of picture-level non-picture-level syntax elements
CN114424555B (en) * 2019-09-24 2023-11-10 华为技术有限公司 Indication of picture-level non-picture-level syntax elements
US12069284B2 (en) 2019-09-24 2024-08-20 Huawei Technologies Co., Ltd. Signaling of non-picture-level syntax elements at the picture level

Similar Documents

Publication Publication Date Title
US12445650B2 (en) Constraints and unit types to simplify video random access
US11997313B2 (en) Dependent random access point pictures
US10602156B2 (en) Devices and methods for identifying a leading picture
US9100659B2 (en) Multi-view video coding method and device using a base view
CN104685889B (en) Decoding and encoding of video sequence images
US20090323824A1 (en) Methods and Apparatus for Use in Multi-View Video Coding
JP2015216680A (en) Method and apparatus for encoding and decoding multi-view video
US8811483B2 (en) Video processing apparatus and method
KR20120093067A (en) Methods and apparatus for adaptive probability update for non-coded syntax
CN108322754A (en) Coding method and corresponding coder and decoder
JP7338075B2 (en) Video blocking method, transmission method, server, adapter and storage medium
WO2016093752A1 (en) Stream access for adaptive streaming of video
KR20160023777A (en) Picture referencing control for video decoding using a graphics processor
EP2560386A1 (en) Video processing apparatus and method
US20110299591A1 (en) Video processing apparatus and method
US20240297998A1 (en) Encoding video with extended long term reference picture retention

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180724