CN108322754A - coding method and corresponding encoder and decoder - Google Patents

coding method and corresponding encoder 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
reference picture
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

Abstract

A kind of coding method and corresponding encoder and decoder, reference setting of the coding method for coded image collect, and this method includes:Judge whether current encoded image is reference picture, if it is determined that the current encoded image is non-reference picture, then sets not marking no longer as the image with reference to image the reference of current encoded image setting collection to;If it is determined that the current encoded image is reference picture, then the reference of current encoded image setting collection is set to label no longer as the image with reference to image.Coding method, encoder and decoder through the invention enable to encoded image buffer to avoid the problem that encoded image buffer can not normally remove reference picture caused by losing image, improve encoded image buffer working efficiency.

Description

Coding method and corresponding encoder and decoder
Technical field
The present invention is about encoding and decoding of video, systems the technology for coded video data.
Background technology
Digital video capabilities can be incorporated into a wide range of devices, and described device includes DTV, digital live broadcast system System, wireless broadcast system, personal digital assistant (PDA), on knee or desktop PC, Tablet PC, e-book are read Read device, digital camera, digital recorder, digital media player, video game apparatus, video game console, honeycomb Formula or satellite radiotelephone, so-called " intelligent telephone ", video teleconference device, video flowing device, and so on. Digital video apparatus implements video compression technology, such as technology those of described in the following:By MPEG-2, MPEG-4, ITU-T H.263, the ITU-T standards that H.264/MPEG-4 the 10th part (advanced video decodes (AVC)) is defined, opening at present The extension of high efficiency video coding (HEVC) standard and these standards in hair.Video-unit can be by implementing these videos Compress technique and efficiently transmit, receive, encode, decode and/or store digital video information.
Traditional video encoding standard generally use is based on the coding techniques of block come application space and the redundancy of time. For example, basic approach is will entirely to carry out source frame to be divided into multiple blocks, and intra prediction/interframe is executed on each block Prediction, each onblock executing redundant conversion, and execute quantization and entropy coding.In addition, generating a weight in the coding loop Frame is built, to provide reference pixel data to encode follow-up block.For some video encoding standards, intra-loop filtering be for Enhance the picture quality of reconstructed frame.The video block of inter-frame decoded (P or the B) of image can be used relative to the phase in identical image The spatial prediction of adjacent reference sample in the block or the time prediction relative to the reference sample in other reference pictures.Image can quilt Referred to as frame, and reference picture can be referred to reference frame.
Video Decoder is the inverse operation for executing the Video coding performed by video encoder.For example, video Entropy coder in encoder is the bit stream for generating a coding, and the entropy decoder in Video Decoder is for decoding The bit stream of the coding.Entropy coder implements arithmetic coding.
Invention content
An object of the present invention is to provide a kind of coding method and corresponding encoder and decoder, carrys out code pattern The reference setting collection of picture, and decoding image, to ensure decoded picture buffer normal work.
According to the present invention in a first aspect, provide a kind of coding method, reference of the coding method for coded image is set Collection is set, this method includes:According to whether current encoded image is reference picture, the reference setting of the current encoded image is set Concentrate the information of decoded picture buffer holding.
Wherein, this method judges whether current encoded image is reference picture, if it is determined that the current encoded image right and wrong Reference picture then sets not marking no longer as the image with reference to image the reference of current encoded image setting collection to;Such as Fruit judges that the current encoded image is reference picture, then setting the reference of current encoded image setting collection to label does not remake For the image of reference picture.
Another aspect according to the present invention provides a kind of coding method, and reference of the coding method for coded image is set Collection is set, this method includes:Whether it is nonrandom access decodable picture or random access decodable code according to current encoded image Collection is arranged the reference of the current encoded image is arranged in image.
Wherein, after which further decodes according to coded image in this prior, no longer as with reference to image Whether image is that collection is arranged the reference of the current encoded image is arranged in nonrandom access decodable picture.
Wherein, when the current encoded image is nonrandom access decodable picture, and this is no longer as with reference to image Image is nonrandom access decodable picture, marks this no longer as the image with reference to image.
Coding method, encoder and decoder through the invention, enable to encoded image buffer avoid by It is slow to improve encoded image for the problem of encoded image buffer normally can not remove reference picture caused by losing image Rush device working efficiency..
Those skilled in the art has read after the following specification specified of the present invention and the attached drawing of citing, it may be appreciated that Other objects of the present invention.
Description of the drawings
Fig. 1 is the schematic diagram of referring-to relation between indicating image.
Fig. 2A-Fig. 2 C are the image schematic diagrames stored in DPB.
Fig. 3 A- Fig. 3 C are another schematic diagrames of image stored in DPB.
Fig. 4 A- Fig. 4 D be embodiment according to the present invention DPB in image management schematic diagram.
Fig. 5 is the flow chart of the coding method of embodiment according to the present invention
Fig. 6 is the flow chart of the coding/decoding method of embodiment according to the present invention.
Fig. 7 is that the encoder setting of embodiment according to the present invention keeps the flow of information approach with reference to the DPB of setting collection Figure.
Specific implementation mode
The whole instruction and claims refer to specific component using determining term.As the technology of this field Personnel will be appreciated that manufacturer can refer to a certain component using different titles.This document has no intention to distinguish those names Claim the different but identical component of function.In following specification and claims, term " packet is used with open mode Containing " and " comprising ", therefore should be interpreted " include, but be not limited to ... ".Similarly, term " coupling " can both indicate Electrical connection can also indicate directly to be electrically connected indirectly.Therefore, if an equipment is coupled with another equipment, connection can To be by being directly electrically connected the indirect electrical connection either by other equipment and connector.
The technology of the present invention generally relates to the management of the reference picture for carrying out inter-prediction.For example, depending on Frequency decoder includes decoded picture buffer (DPB).The DPB storages have decoded image and have not yet exported the figure of display Picture, including reference picture.Reference picture is the image that can be potentially served as carrying out image inter-prediction.In other words, video Decoder can predict described image during decoding image based on one or more reference pictures being stored in DPB. And in case of the reference picture loss stored in DPB, then the image decoding that will lead to refer to the reference picture of the loss loses It loses, so as to cause decoding error.
In order to efficiently utilize DPB, DPB management processes, such as the storage for having decoded image in DPB may specify Journey, the labeling process of reference picture, the output for having decoded image from DPB and removal process, etc..In general, exist In various video coding standard in some current and exploitations, DPB management may include one of following aspect or one or more of:Image Identification and reference picture identification, reference picture list construction, reference picture marking, image from DPB exports, in DPB Image is inserted into, and the removal of the image from DPB.Collection (reference is arranged according to the reference of currently processed image in decoder Frame set) in setting, to judge which image in current DPB is not re-used as the reference picture of subsequent image, to should A little reference pictures re-flag as non-reference picture.Comprising two class images, reference picture and the image not exported in DPB, wherein Reference picture can be the image not exported, can also be the image exported, and the image not exported can be reference picture Either non-reference picture, the non-reference picture exported need to remove from DPB.The DPB removals action that the present invention specifies is needle The reference picture exported is described.The image just decoded is not export image, is advised according to the output image that AVS2 is defined Then, after exporting certain image, which is to have exported image.The image stored in DPB needs at least to meet following two A condition any one, one of them to be reference picture, two be not yet output display.To when a former reference picture quilt Re-flag for non-reference picture when, and the non-reference picture re-flagged is marked as having exported image, then it will be by It is removed from DPB, to ensure to store subsequent reference picture in DPB with enough spaces, ensures the suitable of decoding program Profit carries out.
As described above, in the coding and decoding program of image, in order to using space and temporal redundancy, usually carry out The reference of image and carry out predictive coding or prediction decoding.When an image carried out by other image references predictive coding or When person's prediction decoding, the image tagged be reference picture, when an image do not carried out by other image references predictive coding or When person's prediction decoding, which is non-reference picture.When image is decoded, described image may be non-reference picture or Reference picture.Reference picture may be long term reference image or short-term reference picture, and when reference picture is marked as " being not used in With reference to " when, the reference picture may become no longer to need for reference.In some various video coding standards, it is understood that there may be change The reference picture marking of the state of reference picture operates.For example, Fig. 1 is the schematic diagram of referring-to relation between indicating image, Arrow relationship therein indicates referring-to relation.In Fig. 1 plus the image of diagonal line hatches is to indicate the quilt in other images coding, decoding The image being referenced, i.e. reference picture indicate the image being stored in DPB.And after 7 decoded end of image, image 0 It is not re-used as the reference picture of subsequent image, when image 0 has exported display, image 0 can be removed from DPB, to save Save the space in DPB.In other words, during image decoding, image 0 needs from reference picture marking to be non-reference picture. Only correctly by image from reference picture marking be non-reference picture, to realize the removal of the image in DPB, to ensure DPB provides enough spaces to subsequent reference picture to store.
For example, if during image decoding, there is marked erroneous, to which image 0 is not correctly from ginseng It is non-reference picture to examine image tagged, then image 0 is then always maintained at the label of reference picture, to which image 0 then has been stored in In DPB, the space in DPB is occupied.Since the space of DPB is usually limited, such as in AVS2 standards, can usually be stored in DPB 5-16 images the case where being always held in DPB if there is image and occupy the spaces DPB, and occupy the spaces DPB in this way Reference picture quantity carry out persistent accumulation if, then will lead to that free space is fewer and fewer in DPB, and reduce the use of DPB Efficiency, in some instances it may even be possible to the consequence for causing DPB that image is caused to overflow without free memory.And when DPB overflows, it is typically due to Decoder can not accurately learn in all images stored in DPB should select which image removed at this time, to decode Device selection is random to be removed, i.e. an image in decoder random selection DPB is removed.When the selected random shifting of decoder When the image gone out is the reference picture of follow-up image to be decoded, then it will lead to subsequent image reference-free image to be decoded, to The problem of can not normally decoding.
In order to assist understanding, it is provided below on how to reference picture marking occur according to some various video coding standards It briefly describes.Some technologies solution in technology described in the present invention is likely to be present in reference picture marking and DPB images The problems in removal and output, to improve the utilization ratio to DPB.
In image encoding process, encoder encodes image according to image encoding standards (such as HEVC, AVS2). In an encoding process, for corresponding reference setting collection (the reference configuration of each image configuration Set), it is the absolute description about reference picture with reference to setting collection, concentrates mark corresponding with reference to setting collection with this with reference to setting Image reference picture, and be indicated in the reference picture which image in image sequence is not re-used as subsequent image.One In a embodiment, video encoder available signal sends out the various modes of syntactic element to send out with reference to setting collection, video decoding Device can utilize institute's syntax elements export with reference to setting collection.For example, Video Decoder can be in video sequence head (sequence Header), image head (intra picture header/inter picture header), slice head (slice Header) or any combination thereof in signal send out syntactic element.For illustrative purposes to the greatest extent, sequence can be used in video encoder Head, image head and slice head send out syntactic element with signal.In order to export with reference to setting collection, Video Decoder can be implemented to decode Journey is to determine the identifier for belonging to the image with reference to setting collection.
Table 1 is the illustration of the reference setting collection of an image of encoder setting.
Table 1
Wherein u (1), u (3), u (6), f (1) are descriptors.Whether refered_by_others_flag indicates the image It is a reference picture.Num_of_reference_picture indicates several images of the coded reference of the image.After and Continuous grammer indicates which image is the reference picture of the image, that is, indicates the image sequence number of the reference picture of the image. Num_of_removed_picture indicates the quantity that image is labeled as to non-reference picture from reference picture.And subsequent language Method indicates which image is the image removed from DPB, that is, indicates the image sequence that non-reference picture is labeled as from reference picture Row number.In other words, the reference setting of image is concentrated keeps message comprising DPB, and decoder keeps message by parsing the DPB, And manage the reference picture stored in DPB.
For decoder in the decoding process of image, export is above-mentioned with reference to setting collection, and is collected come certainly with reference to setting according to above-mentioned It is fixed whether current decoded image to be stored to DPB and removes which of DPB image labelings for non-reference picture DPB。
Fig. 2A-Fig. 2 C are the image schematic diagrames stored in DPB.Wherein, in fig. 2,5 images are stored in DPB, point Not Wei image 0- images 4, wherein R indicate reference picture, O expression exported image.In fig. 2b, decoder currently decodes image 5, and when collection is arranged in the reference for parsing image 5, it is non-reference picture (being indicated using N in Fig. 2 B) to parse image 5, but It since image 5 is just completed to decode, and not yet exports and (is indicated using D in Fig. 2 B), therefore image 5 is still maintained in DPB. In addition, when collection is arranged in the reference for parsing image 5 in decoder, the reference that image 1- images 4 are not re-used as other images is parsed Image, to which in the DPB shown in Fig. 2 B, image 1- images 4 are labeled as N, and in fig. 2 c, are removed from DPB, to make It obtains DPB and stores subsequent reference picture with enough spaces.And since image 0 is still by subsequent image to be decoded With reference to which image 0 is still maintained in DPB.
Fig. 3 A- Fig. 3 C are another schematic diagrames of image stored in DPB.In figure 3 a, image 0- images 4 are stored in DPB, Image 0- images 4 are all the reference pictures for having exported display.It is lost in case of image 5, then decoder can not parse image 5 Reference setting concentrate carry information, to can not by image 1- images 4 from reference picture marking be non-reference picture.To When decoding image 6, as shown in Figure 3B, image 6 is stored as the reference picture not yet exported is just decoded to DPB.To When decoder decodes image 7, as shown in Figure 3 C, since image 7 is reference picture, to need to preserve to DPB.Due at this time Without free space in DPB, to which decoder can not differentiate which image should be removed, if decoder determines to remove image at random 0, then image 7 will replace image 0 and preserve to DPB.If next image 8 refers to image 0 and decodes, due to lacking in DPB Image 0, then image 8 cannot correctly decode.
To solve the above-mentioned problems, collection is arranged for the reference in non-reference picture in coding in encoder of the invention Apply limitation.Whether it is that reference picture is concentrated the reference setting of the current encoded image is arranged according to current encoded image Decoded picture buffer keeps information.Specifically, encoder of the invention, should when collection is arranged in the reference of coded non-reference image Do not mark any reference picture as non-reference picture with reference to setting collection.Judge whether current encoded image is reference picture, If it is determined that the current encoded image is non-reference picture, then the reference of current encoded image setting collection 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 by the current encoded image Label is set as no longer as the image with reference to image with reference to setting collection.In other words, the reference setting of non-reference picture is concentrated Num_of_removed_picure is set as 0.
In the example that Fig. 2A-Fig. 2 C, Fig. 3 A- scheme C, encoder first determines whether that image 5 is non-reference picture (N), to For encoder when collection is arranged in the reference of coded image 5, it is 0 that num_of_removed_picure therein, which is arranged,.To decoder Parsed image 5 reference setting collection after, will not by image 1- images 4 from reference picture marking be non-reference picture, i.e., Decoder will not remove image 1- images 4 after decoding image 5 from DPB.Fig. 4 A- Fig. 4 D are realities according to the present invention Apply the schematic diagram of image management in the DPB of example.DPB in Fig. 4 A stores image 0- images 4. when image 5 is lost, decoder Image 6 is decoded, and is stored to DPB (as shown in Figure 4 B).Also, encoder judges that image 6 is in coded image 6 Reference picture, so as to when the reference of coded image 6 is arranged and collects, indicate which image is no longer used as and refer to image, to The reference setting of image 6, which concentrates instruction image 1- images 4 being no longer used as, refers to image.As shown in Figure 4 C, decoder is decoding After image 6, can by image 1- images 4 from reference picture marking be non-reference picture so that image 1- images 4 by from It is removed in DPB, ensures that DPB has enough free spaces to store subsequent reference picture 7 (as shown in Figure 4 D), and make decoding It is smoothed out.
For the encoder of the present invention in coded non-reference image, setting non-reference picture to can not be by any reference chart As being labeled as non-reference picture.That is, in the corresponding collection with reference to setting of coded non-reference image, any reference is not changed in instruction Image is non-reference picture.In other words, the num_of_removed_ that encoder concentrates the reference setting of non-reference picture Picure is set as 0.To technical solution using the present invention, it is ensured that not because of the loss of any non-reference picture, And reference picture marking is caused to be the failure of non-reference picture.It can guarantee not because of the loss of any non-reference picture, and Lead to that DPB causes confusion and can not decode.
Please refer to the flow chart that attached drawing Fig. 5, Fig. 5 are the coding methods of embodiment according to the present invention.By an encoder Software, hardware, firmware are executed to realize.The coding method for including in Fig. 5 comprises the steps of:
Step 501:Encode present image;
Step 503:According to the coding standard that current encoder uses, searches after encoding present image, be not re-used as The image of reference picture;
Step 505:Judge whether current encoded image is reference picture, if it is judged that being "Yes", thens follow the steps Step 507, no to then follow the steps 501;
Step 507:It is arranged in the reference of current encoded image and concentrates, is arranged after encoding present image, is not re-used as The image of reference picture.
Those skilled in the art are removable between each step it can be appreciated that the sequence executed between step in Fig. 5 is adjustable Divide or combine, is within the scope of the present invention.
Moreover, it relates to a kind of decoder, which can parse is arranged by the coding method in Fig. 5 Reference picture and non-reference picture, and execute the management of DPB.
The present invention additionally comprises a kind of coding nonrandom access decodable picture (non-random access decodable Picture the method for reference setting collection).In image sequence to be decoded, including random access decodable picture (random Access decodable picture) and nonrandom access decodable picture.Video encoding standard pursues higher coding pressure Contracting efficiency, but the random access performance of compressed bit stream must also be considered simultaneously.Random access performance refers to from certain point rather than ratio Spy's stream starting point starts to bit stream decoding and recovers the ability of decoding image, directly related to the experience of user.It is random to visit It asks that performance and coding compression efficiency are contradictory relationships, how to carry out folding neutral equilibrium therebetween, be video encoding standard Have to the major issue considered.
The demand of random access is mainly returned including program zapping, bitstreams switching, editor and splicing in broadcasting service, program Random position, fast forwarding and fast rewinding for putting etc..Requirement of the different business to random access performance is different, for example, for broadcasting service, DVB (Digital Video Broadcasting digital video broadcasting) standard regulation a random access will occur every 0.k Point;It is reduced for video communication, video conference, by requirement of the business such as viewing pay per view business to random access performance.
In order to support the random access to compressed video stream, each video standard to take a series of measure.Scheming As in data flow, usually may be partitioned into multiple images sequence (frame sequence).Arbitrary access decodable picture represents should Image is referring only to the image in current picture sequence, and without reference to the reference picture in other image sequences.Nonrandom access Decodable picture represents the reference picture in the image reference other image sequences.In an encoding process, each random access Decodable picture and nonrandom access decodable picture all have it is corresponding with reference to setting collection (as shown in table 1), come indicate this with Machine access decodable picture or nonrandom access decodable picture whether be reference picture, its own with reference to which image, And after having decoded the random access decodable picture or nonrandom access decodable picture, which reference picture can be marked It is denoted as non-reference picture.
For example, when missing image occurs, such as when video-clips and splicing, it may occur however that reference picture loss Situation to result in the need for reference to the reference picture and decoded subsequent image can not be decoded normally, and occurs at decoder Reason is chaotic.In order to avoid the above problem, then decoder typically directly abandons those and can not normally be decoded because lacking reference picture Image.Fig. 6 is the flow chart of the coding/decoding method of embodiment according to the present invention.Coding/decoding method comprises the steps of:
Step 601:Decoder obtains image to be decoded;
Step 603:Judge whether image to be decoded is random access decodable picture (being abbreviated as RAD in the accompanying drawings), when When judging result is "No", then step 605 is carried out, when judging result is "Yes", then carries out step 607;
Step 605:Abandon the image to be decoded;
Step 607:The reference setting collection for parsing the image to be decoded, to carry out DPB management;
Step 609:Decode the image to be decoded;
Step 611:Subsequent image to be decoded is judged whether there is, if it is judged that being "Yes", then return to step 601, if it is judged that being "No", then terminate the coding/decoding method.
For example, when an image is nonrandom access decodable picture, which needs to refer to other image sequences Reference picture in row.When carrying out video clipping or video-splicing, the reference picture in usual other sequences has been lost, from And the nonrandom access decodable picture can not be decoded normally.Decoder may be configured as directly abandoning the nonrandom access decodable code Image, and without any decoding.But it is concentrated when the reference of nonrandom access decodable picture setting and contains DPB When keeping information, that is, when containing information that the reference picture marking in DPB is non-reference picture, decoder directly abandons this Nonrandom access decodable picture may cause the reference picture in DPB that can not normally be labeled as non-reference picture, and cause DPB confusions problem.
Whether one embodiment according to the present invention, encoder are nonrandom access decodable code figures according to current encoded image Collection is arranged the reference of the current encoded image is arranged in picture or random access decodable picture.Encoder is further according at this After current encoded image decoding, this no longer is set as whether the image with reference to image is nonrandom access decodable picture The reference setting collection of current encoded image.
When collection is arranged in the reference for encoding nonrandom access decodable picture, being merely indicative nonrandom access can solve encoder Code image from reference picture marking be non-reference picture, without by random access decodable picture from reference picture marking be it is non- Reference picture.On the other hand, encoder is when collection is arranged in the reference for encoding random access decodable picture, you can instruction is nonrandom It is non-reference picture that decodable picture, which is accessed, from reference picture marking, can also indicate that random access decodable picture from reference chart As being labeled as non-reference picture.In other words, encoder is normal with reference to setting collection when encoding random access decodable picture It is arranged, and encoder keeps the setting of information with reference to the DPB of setting concentration when encoding nonrandom access decodable picture It needs in view of indicated reference picture whether to be nonrandom access decodable picture.
Fig. 7 is that the encoder setting of embodiment according to the present invention keeps the flow of information approach with reference to the DPB of setting collection Figure.The method includes the steps of:
Step 701:Encode present image;
Step 703:According to encoder use video standard, search institute it is in need from reference picture marking be non-reference figure The image Pic [i] of picture, that is, search it is all no longer as with reference to image image, and be arranged no longer as refer to image image Quantity count value num_no_longer_ref_pic, come indicate it is all no longer as with reference to image amount of images;
Step 705:Count value i=0 is set;
Step 707:Judge whether count value i is less than num_no_longer_ref_pic, if it is judged that be "Yes", Step 709 is then carried out, if it is judged that being "No", then the DPB that the reference setting of current encoded image is concentrated keeps information to set Set end;
Step 709:Judge whether current encoded image is arbitrary access decodable picture (RADPic is abbreviated as in Fig. 7), If it is judged that being "Yes", then step 711 is carried out, if it is judged that being no, then carries out step 713;
Step 711:It is arranged in the reference of present image and concentrates, setting instruction image Pic [i] is no longer reference picture;
Step 713:Judge whether image Pic [i] is that nonrandom access decodable picture (is abbreviated as non-in Fig. 7 RADPic), when judging result is "Yes", step 711 is carried out, step 715 is carried out when judging result is no;
Step 715:Count value i+1, and it is back to step 707, to handle image Pic [i+1].
Those skilled in the art is after having read above-mentioned paragraph, it is to be understood that each step shown in Fig. 7, further Description be omitted, with simplify explanation.
By above-mentioned coding method, the reference setting of nonrandom access decodable picture is concentrated, and will be merely indicative nonrandom It is reference picture to access decodable picture no longer.To abandon the feelings of nonrandom access decodable picture in case of decoder Condition, then decoder can not obtain the discarding nonrandom access decodable picture it is relevant reference setting concentrate DPB keep Information, only nonrandom access decodable picture can not be non-reference picture from reference picture marking, without random visit occurs Ask decodable picture can not normally drip from reference picture marking be non-reference picture the case where.In other words, nonrandom access can solve Shown in picture numbers (DOI) and the table 1 of code image delta_doi_of_removed_picture's and not equal to random Access the DOI of decodable picture.And the picture numbers of random access decodable picture and delta_doi_of_ shown in table 1 Removed_picture's and it can be equal to the DOI or nonrandom access decodable picture of random access decodable picture DOI.Can only occur due to nonrandom access decodable picture lose, nonrandom access decodable picture can not normally from The case where being removed in DPB is lost without occurring due to nonrandom access decodable picture, and random access decodable picture can not The case where normally being removed from DPB.
When due to carrying out video-clips or video-splicing, it is lost prior images sequence, to which decoder can select to lose Nonrandom access decodable picture all in current video sequence is abandoned, so, even if due to nonrandom access decodable picture It loses, and the case where nonrandom access decodable picture can not be removed normally from DPB, decoder is as it is nonrandom It accesses decodable picture and abandons the image, can not remove DPB to which nonrandom access decodable picture will not occur, cause The problem of DPB confusions.
The method of the reference setting collection of encoder coded image provided by the invention, by by the relevant ginseng of non-reference picture Examine setting collection be set as not indicating it is any no longer as the image for referring to image, and/or by can by nonrandom access Decoding image is relevant to be set as only indicating nonrandom access decodable picture no longer as image is referred to, to make with reference to setting collection Reference picture in DPB can be removed normally, avoid due to missing image, caused by the reference picture in DPB can not be moved The problem of going out ensures the normal use of DPB.
Those skilled in the art are it is understood that software, hardware, firmware can be used to complete for the present invention.Therefore, the present invention also wraps Embedded memory in encoder or decoder is contained, for storing the program generation for realizing each function of the present invention Code.
The present invention is illustrated by above-described embodiment, and the present invention is not limited to the example above explanation.The present invention It is interpreted as covering the embodiment of the apprehensible a variety of modifications of those skilled in the art and similar arrangement.Therefore, of the invention Claims be construed as covering the embodiment of the apprehensible a variety of modifications of those skilled in the art and similar peace The wider range of row.

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 encoder 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 encoder 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 encoder 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 encoder 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 (8)

* 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
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

Similar Documents

Publication Publication Date Title
US9100659B2 (en) Multi-view video coding method and device using a base view
TWI437886B (en) Parameter set and picture header in video coding
US20090323824A1 (en) Methods and Apparatus for Use in Multi-View Video Coding
EP3158752B1 (en) Dependent random access point pictures
BRPI0616407B1 (en) H.264 SCALE SCALE VIDEO ENCODING / DECODING WITH REGION OF INTEREST
JP2010507974A (en) Image management for multi-view video coding
KR101385808B1 (en) Method for using a network abstract layer unit to signal an instantaneous decoding refresh during a video operation
HUE028853T2 (en) Reference picture signaling
CN101485208A (en) Methods and apparatus for multi-view video encoding and decoding
US8401077B2 (en) Video processing apparatus and method
JP2010516098A (en) Method and apparatus for error concealment using high-level syntax reference views in multi-view coded video
TW201907708A (en) Video coding method
CN108322754A (en) coding method and corresponding encoder and decoder
KR20090099545A (en) Method and apparatus for video error concealment in multi-view coded video using high level syntax
US20110299591A1 (en) Video processing apparatus and method
US20100166383A1 (en) System and method for providing trick modes

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