[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110235446A - Method for video coding, video encoding/decoding method and relevant apparatus - Google Patents

Method for video coding, video encoding/decoding method and relevant apparatus Download PDF

Info

Publication number
CN110235446A
CN110235446A CN201780084713.2A CN201780084713A CN110235446A CN 110235446 A CN110235446 A CN 110235446A CN 201780084713 A CN201780084713 A CN 201780084713A CN 110235446 A CN110235446 A CN 110235446A
Authority
CN
China
Prior art keywords
image
reference picture
image block
block
decoded
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.)
Granted
Application number
CN201780084713.2A
Other languages
Chinese (zh)
Other versions
CN110235446B (en
Inventor
郑萧桢
李蔚然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI Technology Co Ltd
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 SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Publication of CN110235446A publication Critical patent/CN110235446A/en
Application granted granted Critical
Publication of CN110235446B publication Critical patent/CN110235446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/573Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction

Landscapes

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

Abstract

Provide a kind of method for video coding, video encoding/decoding method and relevant apparatus.The method for video coding includes: when current image to be encoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.

Description

Method for video coding, video encoding/decoding method and relevant apparatus Technical field
The present invention relates to field of image processings, and more particularly, to a kind of method for video coding and device, video encoding/decoding method and device.
Background technique
Occupied bandwidth is stored and transmitted in order to reduce video, needs to carry out encoding compression processing to video data.Encoding compression processing process includes prediction, transformation, quantization and entropy coding process.Wherein prediction includes intra prediction and inter-prediction two types, and its object is to the redundancy of current image block to be encoded is removed using prediction block message.Intra prediction utilizes the information acquisition prediction block data of this frame image.Inter-prediction utilizes the information acquisition prediction block data of reference frame, process include will using as unit of image block or the subimage block divided through image block in a reference image search and current image block or most matched piece of subimage block as prediction block;Thereafter, the respective pixel values of the image block or subimage block and prediction block are subtracted each other to obtain residual error.
When carrying out inter-prediction, when reference frame is more similar to current image to be encoded, then the residual error that inter-prediction generates is then smaller, so that the code efficiency of inter-prediction can be promoted.In order to improve the similarity of reference frame and current image to be encoded, the purpose can be realized by way of constructing particular reference frame.In video content, usually there is a kind of specific coding scene, background does not change substantially in this scenario, and only the prospect in video is changed or moved.For example, video monitoring just belongs to such scene.In video monitoring scene usual monitoring camera it is fixed or only occur it is slowly moving, at this time it is believed that background does not change substantially.In contrast, the objects such as people taken in video monitoring camera lens or vehicle then move or change frequent occurrence, at this time it is believed that prospect often changes.In this kind of scene, if a particular reference frame can be constructed, the particular reference frame only includes the background information of high quality, then when carrying out inter-prediction, the background parts of current encoded frame can be by reference to the particular reference frame of the high quality for reducing the residual information of inter-prediction, to improve code efficiency.
The construction particular reference frame can pass through the encoded content of analysis of encoding frame in an encoding process, the reconstruction Pixel Information that will be considered to the image block for belonging to background flushes in particular reference frame in image block identical with described image block position, one frame image of every coding is carried out above-mentioned update operation, by a frame image In the reconstruction Pixel Informations of several image blocks flush in the specific reference frame, the construction of specific reference frame described in a width can be completed after encoding several images.
Do not account for whether the image block is located in the image for not being incorporated by reference frame when refreshing using the reconstruction Pixel Information of image block to particular reference frame in the prior art.In video technique, image can be divided into the image that can be used as reference frame and not be incorporated by reference the image of frame.For not being incorporated by reference the image of frame, the information of the image of itself is not used in the coding and decoding process of other images in coding and in decoding.And whether be located at due to not accounting for described image block when refreshing using the reconstruction Pixel Information of image block to specific reference frame in the prior art and be not incorporated by reference the image of frame, the definition for resulting in the construction process and the image for not being incorporated by reference frame of the specific reference frame is disagreed.
Furthermore, it is not incorporated by reference the decoding process of image other images since it goes without doing in decoding of frame, therefore the image for not being incorporated by reference frame can not be decoded in decoding, so as to accelerate the decoding speed of video code flow, realize that the change frame per second of video content plays.And whether it is located at due to not accounting for described image block when refreshing using the reconstruction Pixel Information of image block to specific reference frame in the prior art and is not incorporated by reference the image of frame, resulting in the image for not being incorporated by reference frame cannot be simply discarded in decoding process, cannot realize above-mentioned function.
Summary of the invention
The embodiment of the present invention provides a kind of method for video coding and device, video encoding/decoding method and device.
In a first aspect, providing a kind of method for video coding, comprising:
When current image to be encoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
Second aspect provides a kind of video encoding/decoding method, comprising:
When current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein Described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
The third aspect provides a kind of video decoder, comprising:
At least one processor, for storing computer executable instructions;
At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
When current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
Fourth aspect provides a kind of device readable storage medium storing program for executing, is suitable for terminal, is stored with several computer instructions on the machine readable storage medium, the computer instruction, which is performed, carries out method for video coding described in processing first aspect.
5th aspect, provides a kind of video decoder, comprising:
At least one processor, for storing computer executable instructions;
At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
When current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
6th aspect, provides a kind of machine readable storage medium, which is characterized in that is suitable for terminal, several computer instructions are stored on the machine readable storage medium, the computer instruction is performed the video encoding/decoding method for carrying out processing second aspect.
7th aspect, provides a kind of method of Video coding, comprising:
When current image to be encoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, the specific image block the position in the certain reference picture by described image block in the current image to be encoded Position determine.
Eighth aspect provides a kind of video encoding/decoding method, comprising:
When current image to be decoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
9th aspect, provides a kind of video coding apparatus, comprising:
At least one processor, for storing computer executable instructions;
At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
When current image to be encoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
Tenth aspect, provides a kind of video decoder, comprising:
At least one processor, for storing computer executable instructions;
At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
When current image to be decoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
On the one hand tenth, provides a kind of machine readable storage medium, be suitable for terminal, and several computer instructions are stored on the machine readable storage medium, and the computer instruction is performed the method for video coding for carrying out the 7th aspect of processing.
12nd aspect, provides a kind of machine readable storage medium, is suitable for terminal, described machine readable Several computer instructions are stored on storage medium, the computer instruction is performed the video encoding/decoding method for carrying out processing eighth aspect.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, the drawings to be used in the description of the embodiments or prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the invention, for those of ordinary skill in the art, without any creative labor, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic diagram of one embodiment of method for video coding of the invention;
Fig. 2 is illustrated the relationship of the image block in the image block and certain reference picture in current image to be encoded;
Fig. 3 is the relation schematic diagram of the multiple images and certain reference picture in video;
Fig. 4 is the schematic diagram of another embodiment of the method for Video coding of the invention;
Fig. 5 is the schematic diagram of the video encoding/decoding method of another embodiment of the present invention;
Fig. 6 is the flow diagram of another embodiment of the decoded method of video of the invention;
Fig. 7 is the schematic block diagram of video coding apparatus according to an embodiment of the present invention;
Fig. 8 is another schematic block diagram of video coding apparatus according to an embodiment of the present invention;
Fig. 9 is the schematic block diagram of video decoder according to an embodiment of the present invention;
Figure 10 is the schematic block diagram of video decoder according to an embodiment of the present invention.
Specific embodiment
These method, apparatus and terminal described herein provide the mode that a variety of pairs of certain reference pictures are updated.
Video is made of multiple images.When encoding to video, different prediction modes is can be used in different images in video.Image can be divided into intra-prediction image and inter-prediction image by the prediction mode according to used by image, and wherein inter-prediction image includes forward-predicted picture and bidirectional predictive picture.I image is intra-prediction image, also referred to as key frame;P image is forward-predicted picture, namely a P image or I image encoded before use are as reference picture;B image is bidirectional predictive picture, namely uses the image of front and back as reference picture.One kind, which is achieved in that after coding side is encoded multiple images, generates sectional image group (group of picture, GOP), the GOP It is the image group being made of an I image and multiple B images (or bidirectional predictive picture) and/or P image (or forward-predicted picture).Decoding end is then to read reading picture after sectional GOP is decoded to render display again when playing.
When encoding to each image, image can initially be divided into multiple images block.In some embodiments, image can be divided into multiple images block, and described image block is referred to as macro block or maximum coding unit (LCU, Largest Coding Unit) in some coding standards.Image block can have or can not have any lap.The image can be divided into any amount of image block.For example, which can be divided into m × n image block array.Image block can have rectangular shape, square shape, circular shape or any other shape.Image block can have any size, such as p × q pixel.In Modern video coding standards, the image of different resolution can be encoded by the way that the image is divided into multiple fritters first.For H.264, image block is referred to as macro block, size can be 16 × 16 pixels, and for HEVC, image block is referred to as maximum coding unit, and size can be 64 × 64.Each image block may have identical size and/or shape.Alternatively, two or more image blocks can have different size and/or shapes.In some embodiments, one image block may not be a macro block or maximum coding unit, it but include the part of a macro block or maximum coding unit, or contain at least two complete macro block (or maximum coding unit), perhaps part comprising at least one complete macro block (or maximum coding unit) and macro block (or maximum coding unit) or the part for containing at least two complete macro block (or maximum coding unit) and some macro blocks (or maximum coding unit).In this way, can be encoded respectively to these image blocks in image data after image is divided into multiple images block.
During being coded and decoded to video, the content of certain reference picture is updated using each image in video simultaneously, to construct the certain reference picture of a background content comprising scene, then when carrying out inter-prediction, currently the background parts of image to be encoded or current image to be decoded can be used to reduce the residual information of inter-prediction by reference to the certain reference picture of the high quality, to improve code efficiency.That is, the certain reference picture is the reference picture as inter-prediction.Specifically, the certain reference picture can be the long term reference frame (long term reference) in the standards such as H.264/AVC or H.265/HEVC, the background frames (background picture) being also possible in the standards such as AVS1-P2, AVS2-P2, IEEE 1857.9-P4, the gold frame (golden frame) being also possible in the standards such as VP8, VP9.
It is explained below with reference to the method that Fig. 1 is used to update certain reference picture to an image block in image.As shown in FIG. 1, FIG. 1 is the flow diagrams of one embodiment of method for video coding of the invention.This method is executed by image processing apparatus, which can be various types of chip, image processors etc. for image procossing.As shown in Figure 1, method includes:
101, when current image to be encoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to image block, wherein, image block is an image block in the current image to be encoded, and position of the specific image block in certain reference picture is determined by position of the image block in current image to be encoded.
In some embodiments, it determines that current image to be encoded can be used as reference picture, can occur before being encoded to the image to be encoded.In this way, can judge that each image block meets the condition for updating certain reference picture when treating each image block in coded image and being encoded or after coding according to the result of the determination.Or, determine that current image to be encoded can be used as reference picture, it can also occur when treating each image block in coded image and being encoded or after coding, namely when to each image block coding or after coding, determine that the image block is currently located image and can be used as reference picture first, when determination can be used as reference picture, then determine that the image block can be used for updating certain reference picture.
In some embodiments, since I image and P image (or forward-predicted picture) can be used as the reference picture that other images carry out inter-prediction, therefore, when determining that current image to be encoded is I image or is P image (or forward-predicted picture), determine current image to be encoded as reference picture.In some embodiments, part B image (or bidirectional predictive picture) also can be used as the reference picture that other images carry out inter-prediction, such as in layering B (Hierarchical B) technology, it can be used as reference frame positioned at the lower B image of level to use, therefore, when determining that current image to be encoded is this part of B image, it can also determine that current image to be encoded can be used as reference picture.
In some embodiments, after determining that current image to be encoded can be used as reference picture, coding side is also in video parameter collection (VPS, video parameter set), sequence parameter set (SPS, sequence parameter set), sequence head (sequence header), image head (picture header), slice header (slice header), reference picture collection (RPS, reference picture set) and reference picture config set (RCS, reference configuration set) at least one of in write parameters or flag bit, to indicate that this is current to be encoded Image can be used as reference picture.
In some embodiments, judge that image block can be used for updating certain reference picture, can be judged by the Pixel Information of the image block.For example, when determining image block and before identical bits in encoded image Set the block at place content difference it is smaller when, then it is assumed that the image block include background content, can be used for updating certain reference picture.Certainly, there are also other can be used for determining that image block can be used for updating the method for certain reference picture.
In some embodiments, the position of position of the specific image block in certain reference picture and image block in current image to be encoded is identical.As shown in Fig. 2, Fig. 2 is illustrated the relationship of the image block in the image block and certain reference picture in current image to be encoded.The image block 210,220 in current image to be encoded in shown in Fig. 2 is the image block for meeting preset condition, wherein the position of the image block 210 in current image to be encoded is identical with the position of the image block 110 in certain reference picture, and the image block 220 in current image to be encoded is identical with the position of the image 120 in certain reference picture.
In some embodiments, positional shift of the image block in current image to be encoded preset offset value is compared in the position in certain reference picture.
In some embodiments, the specific image block in certain reference picture is updated according to image block, specially using the pixel value replacement of image block with particular reference to the Current Content of block.In some embodiments, the specific image block in certain reference picture is updated according to image block, it can be the current pixel value replaced after being handled using the pixel value of image block with particular reference to block, the pixel value that the processing can be an image block in pixel value and certain reference picture according to image block is averaged, perhaps being weighted and averaged the wherein average weighted coefficient according to the pixel value of image block in the pixel value of image block and certain reference picture is that preset value or parse from code stream obtains.Wherein, it when using the pixel value of image block, can be the original pixel value using image block, be also possible to the reconstruction pixel value using image block.
In video technique, not being incorporated by reference the image of image, itself image information is not used in the coding and decoding processes of other images in coding and in decoding.In the present embodiment when determining that current image to be encoded can be used as reference picture, it is considered as the image block in the current image to be encoded just to be updated to certain reference picture, the case where definition of the construction process and the image for not being incorporated by reference image that avoid certain reference picture is disagreed.Furthermore, it is not incorporated by reference the decoding process of image other images since it goes without doing in decoding of image, therefore the image for not being incorporated by reference image can not be decoded in decoding, so as to accelerate the decoding speed of video code flow, realize that the change frame per second of video content plays.In the present embodiment when determining that current image to be encoded can be used as reference picture, be considered as the image block in the current image to be encoded just to be updated to certain reference picture, avoid cannot achieve discarding part when being updated using the image block in the image that not can be used as reference picture to certain reference picture can not The case where as reference picture.
In some embodiments, when current image to be encoded is not the image that can be used as reference picture, determine that the image block is not used in update certain reference picture.
Determine that image block can be used for there are many ways to updating certain reference picture.For example, can judge that image block can be used for updating certain reference picture according to the pixel value of image block and the pixel value of coded block, wherein coded block refers to the image block of specific location in the encoded image before current image to be encoded.For example, the coded block refers to being located in former frame (or front cross frame) encoded image of current image to be encoded.For example, the specific position can be, position is identical in current image to be encoded with image block or image block adds preset offset value in position in current image to be encoded.
In some embodiments, when judging that image block can be used for updating certain reference picture according to the Pixel Information of image block and the Pixel Information of coded block, judge that image block can be used for updating certain reference picture with specific reference at least one of following:
The pixel value of luminance component between image block and coded block;
The sum of all pixels of image block and/or the luminance component of coded block;
The pixel value of chromatic component between image block and coded block;
The sum of all pixels of image block and/or the chromatic component of coded block.
Wherein, the pixel value of luminance component between image block and coded block, it can be the distribution of the luminance component of image block and the second encoding block difference of the pixel value at each same position respectively, the summation that can be the luminance component of image block and the second encoding block difference of the pixel value at each same position respectively, be also possible to the luminance component of image block each pixel average value and coded block luminance component each pixel average value difference.
Wherein, the pixel value of chromatic component between image block and coded block, it can be the distribution of the chromatic component of image block and the second encoding block difference of the pixel value at each same position respectively, the summation that can be the chromatic component of image block and the second encoding block difference of the pixel value at each same position respectively, be also possible to the chromatic component of image block each pixel average value and coded block chromatic component each pixel average value difference.
Wherein, judge that image block can be used for updating certain reference picture according to the pixel value of the luminance component between image block and coded block, specifically can be and judge that image block can be used for updating certain reference picture according to the sum of the absolute value of pixel value of luminance component between image block and the second encoding block.
Wherein, image block is judged according to the pixel value of the chromatic component between image block and coded block It can be used for updating certain reference picture, specifically can be and judge that image block can be used for updating certain reference picture according to the sum of the absolute value of pixel value of chromatic component between image block and the second encoding block.
Wherein, in judging embodiment that image block can be used for updating certain reference picture according to the pixel value of the luminance component between image block and coded block, optionally, when determining that image block can be used for updating certain reference picture, it includes: that the number of specific pixel in image block is less than first threshold that image block, which needs the condition met,.Wherein, which is, and the pixel in coded block at same position is not less than the pixel of second threshold in the difference of the pixel value of the first Color Channel.
For concrete example, image is stored according to three components, respectively Y (brightness), U (coloration 1), V (coloration 2).First Color Channel is the channel Y.Coded block is in the encoded image of the former frame (or front cross frame) of current image to be encoded, the identical image block in position and the position of described image block or position offset by the image block of preset value compared to image block in current image to be encoded.The pixel value difference of the Y-component of coded block and the Y-component of image block at any one same position is Dist y.Wherein, when Dist y is not less than second threshold, the pixel in the corresponding image block of Dist y is specific pixel.When judging that image block meets " number of the specific pixel of image block the is not less than first threshold " condition, which can be a preset value, be also possible to the sum of all pixels of the Y-component of image block and the product of a preset ratio, herein with no restrictions.
Wherein, in judging embodiment that image block can be used for updating certain reference picture according to the pixel value of the luminance component between image block and coded block, optionally, when determining that image block can be used for updating certain reference picture, it includes: that the pixel value of the luminance component between image block and coded block is less than third threshold value that image block, which needs the condition met,.
Wherein, when judging that image block meets " pixel value of the luminance component between image block and coded block the is less than third threshold value " condition, the third threshold value can be a preset value, be also possible to the sum of all pixels of the Y-component of image block and the product of a preset ratio, herein with no restrictions.
Wherein, in judging embodiment that image block can be used for updating certain reference picture according to the pixel value of the chromatic component between image block and coded block, optionally, when determining that image block can be used for updating certain reference picture, it includes: the pixel value of the chromatic component between image block and coded block less than the 4th threshold value that image block, which needs the condition met,.
Wherein, the pixel value of chromatic component between image block and coded block is less than the 4th threshold value, the pixel value of the U component between image block and coded block be can be less than the 4th threshold value, the pixel value of V component between image block and the second encoding block is less than the 4th threshold value or image Less than one default value of the pixel value of U component between block and coded block, and the pixel value of the V component between image block and coded block is less than another default value.
Wherein, when judging that image block meets " pixel value of the chromatic component between image block and coded block is less than the 4th threshold value " condition, 4th threshold value can be a preset value, it is also possible to the sum of all pixels of the luminance component (or chromatic component) of image block and the product of a preset ratio, herein with no restrictions.
Described above is the conditions that some image blocks that can be used for updating certain reference picture need to meet.In some embodiments, when current image to be encoded is I image or is random access point (RAP, random access point) when, or current image to be encoded is updated all images block of the certain reference picture according to whole graph blocks of current image to be encoded when being simultaneously I image and random access point.Wherein, all images block of image to be encoded also refers to all images block after the coding and rebuilding of current image to be encoded, the original all images block of the current image to be encoded also also referred to.For example, can be using all images block in all images block replacement certain reference picture of current image to be encoded.Or, it carries out replacing all images block in certain reference picture after centainly handling using all images block of current image to be encoded, wherein, which, which can be, is averaged or is weighted and averaged to the pixel value of all images block of current image to be encoded, herein with no restrictions.
In some embodiments, the quantity for the image block that can be used for updating certain reference picture in current image to be encoded can be 1, be also possible to be greater than 1.In some embodiments, the quantity for the image block that can be used for updating certain reference picture in current image to be encoded can be what there is no limit, namely all image blocks for meeting the condition that can be used for updating certain reference picture are all used to be updated certain reference picture in current image to be encoded.
In some embodiments, the quantity that can be used for updating the image block of certain reference picture is more, consider from coding/decoding system implementation complexity, the quantity for the image block that can be used for updating certain reference picture in current image to be encoded can be limited to no more than M, the M be the integer not less than 1.
In this way, in determining current image to be encoded it is all can be used for updating the image block of certain reference picture after, however, it is determined that the quantity of the image block gone out is not more than M, then is updated respectively according to each image block determined to certain reference picture.Foregoing description can refer to the method that certain reference picture is updated according to each image block, details are not described herein.If it is determined that image block quantity be greater than M, then M image block therein is picked out from the image block that this is determined, and be updated to certain reference picture according to the M image block.
Currently there are many methods of determination for the value of the corresponding M of image to be encoded.For example, currently the value of the corresponding M of image to be encoded is the type determination based on current image to be encoded.
In some embodiments, when the type difference of current image to be encoded, the value of the corresponding M of the current image to be encoded is different.For concrete example, when current image to be encoded is I image, which is up to update of the first default value image block for certain reference picture;When current image to be encoded is P image (or forward-predicted picture), which is up to update of the second default value image block for certain reference picture;When current image to be encoded is B image (or bidirectional predictive picture), the current image to be encoded is up to update of the third default value image block for certain reference picture, wherein, first default value, the second default value and third default value are different.
In some embodiments, the value of the corresponding M of current image to be encoded is the total number of images determination based on the current affiliated type of image to be encoded.For concrete example, such as the half that the corresponding M value of I image is the total number of images of I image in video;The corresponding M value of P image (or forward-predicted picture) is a quarter of the total number of images of P image (or forward-predicted picture);It can be used as 1/8th of the total number of images that the corresponding M value of B image (or bidirectional predictive picture) that reference picture uses is B image (or bidirectional predictive picture).
There are many ways to picking out M image block therein from all image blocks that can be used for updating certain reference picture determined in current image to be encoded.Such as, image be according to the component of different color channels to store in the case where, cost therein (cost) is picked out from all image blocks that can be used for updating certain reference picture determined in current image to be encoded less than default value, and the smallest M image block of cost is used to update certain reference picture.
Wherein, the cost (cost) of image block is summation of the described image block in the pixel difference of each Color Channel;Image block is that each pixel of image block has the pixel of same position in the summation of the difference of the pixel value of Color Channel in third coded block respectively in the pixel difference of each Color Channel;Third coded block refers to the image block of specific location in the encoded image before current image to be encoded.For example, the third coded block refers to being located in former frame (or front cross frame) encoded image of current image to be encoded.For example, the specific position can be, position is identical in current image to be encoded with image block.
For concrete example, image is divided into tri- components of YUV to store.The pixel value on tri- components of YUV is Dist Y, Dist U, Dist V respectively for image block and third encoding block, and sum of all pixels of the image block on luminance component is PixCount.So cost (cost)=(Dist of image block Y+Dist U+Dist V)/PixCount.When can be used for updating certain reference picture in determining current image to be encoded, from determining that all costs in current image to be encoded are less than the image block of default value, if it is determined that image block quantity be not more than M, then all image blocks may be incorporated for update certain reference picture;If it is determined that the quantity of image block be greater than M, it is determined that the smallest M image block of cost can be used for updating certain reference picture in current image to be encoded.
In some embodiments, the flag bit of the image block is also encoded, the flag bit is for identifying whether the image block is used to be updated the certain reference picture.Coding side be sent in the code stream of decoding end further include each image flag bit, wherein the flag bit of each image is used to indicate whether each image block in the image is used to be updated certain reference picture.
It is illustrated below with reference to method of the specific example to Video coding.
As shown in figure 3, Fig. 3 is the relation schematic diagram of the multiple images and certain reference picture in video.In Fig. 3 by taking 4 images successively encoded therein in video as an example, wherein first three image is encoded image, and the 4th figure is current image to be encoded.In first three image, first can be used as reference picture with third encoded image, and second encoded image not can be used as reference picture.Wherein, the image block 11 in first encoded image and image block 12 be used to be updated certain reference picture.Image block 31, image block 32, image block 33 and image block 34 in third encoded image be used to be updated certain reference picture.For example, the pixel value in image block 11,12,31,32,33,34 is respectively used to the pixel value of the image block at the same position in replacement certain reference picture.
Method for video coding when below to encode to current image to be encoded is illustrated.Before encoding to current image to be encoded, determine that current image to be encoded can be used as reference picture according to the type of current image to be encoded.For example, since current image to be encoded is I image, it is thus determined that current image to be encoded can be used as reference picture.Therefore, when encoding respectively to each image block in current image to be encoded, for each image block, determine whether the image block can be used for updating certain reference picture.
It is illustrated below with reference to the method that two examples can be used for updating certain reference picture to determining image block.
Example one
Image is stored according to three components, is tri- components of Y, U, V respectively.Any one image block in current image to be encoded is referred to as image block 1, claims the former frame of the current image to be encoded encoded The image block in image with image block 1 with same position is image block 2.
In the Y-component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist Y.In the U component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist U.In the V component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist V.
The total pixel of the luminance component of image block 1 is PixCount, and the big error dot between image block 1 and image block 2 is counted as LargeDist1.The initial value that LargeDist1 is arranged is 0, when the pixel value at the same position for occurring the luminance component of one and image block 2 in the luminance component of image block 1 is greater than the pixel of preset value (such as 20), LargeDist1 cumulative 1.
When meeting following 4 conditions simultaneously, it is believed that image block 1 is the alternate chunks for updating certain reference picture.
A) LargeDist1 is less than the preset ratio (such as 1%) of PixCount;
B) Dist Y is less than the presupposition multiple (such as 4 times) of PixCount;
C) Dist U is less than the presupposition multiple (such as 0.5 times) of PixCount;
D) DistV is less than the presupposition multiple (such as 0.5 times) of PixCount.
Meet in the alternate chunks for updating certain reference picture in current image to be encoded, when the quantity of the alternate chunks is not more than M, is used as using all alternate chunks and updates certain reference picture.
Meet in the alternate chunks for updating certain reference picture in current image to be encoded, when the quantity of the alternate chunks is greater than M, remembers the cost cost of each image block are as follows: Cost=(Dist Y+Dist U+DistV)/PixCount.The smallest M alternate chunks of cost are selected in current image to be encoded for updating the specific reference picture.
Example two
Image is stored according to three components, is tri- components of Y, U, V respectively.Any one image block in current image to be encoded is referred to as image block 1, image block in the former frame encoded image of the current image to be encoded with image block 1 with same position is referred to as image 2, and the image block in the front cross frame encoded image of the current image to be encoded with image block 1 with same position is referred to as image 3.
In the Y-component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist Y.In the U component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist U.In the V component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist V.
In the Y-component of image block 1 and image block 3, the summation of the difference of the pixel value of the pixel at each same position is Dist Y '.In the U component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist U '.In the V component of image block 1 and image block 2, the summation of the difference of the pixel value of the pixel at each same position is Dist V '.
The total pixel of the luminance component of image block 1 is PixCount, and the big error dot between image block 1 and image block 2 is counted as LargeDist1, and the big error dot between image block 1 and image block 3 is counted as LargeDist2.The initial value that LargeDist1 and LargeDist2 is arranged is 0, when pixel value at the same position for occurring the luminance component of one and image block 2 in the luminance component of image block 1 is greater than the pixel of preset value (such as 20), LargeDist1 cumulative 1.When pixel value at the same position for occurring the luminance component of one and image block 3 in the luminance component of image block 1 is greater than the pixel of preset value (such as 20), LargeDist2 cumulative 1.
When meeting following 4 conditions simultaneously, it is believed that image block 1 is the alternate chunks for updating specific background block.
A) LargeDist1 and LargeDist2 is respectively less than the preset ratio (such as 2%) of PixCount;
B) Dist Y and Dist Y ' is respectively less than the presupposition multiple (such as 6 times) of PixCount;
C) Dist U and Dist U ' is respectively less than the presupposition multiple (such as 0.5 times) of PixCount
D) DistV and Dist V ' is respectively less than the presupposition multiple (such as 0.5 times) of PixCount
Meet in the alternate chunks for updating certain reference picture in current image to be encoded, when the quantity of the alternate chunks is not more than M, is used as using all alternate chunks and updates certain reference picture.
Meet in the alternate chunks for updating certain reference picture in current image to be encoded, when the quantity of the alternate chunks is greater than M, remembers the cost cost of each image block are as follows: Cost=(Dist Y+Dist U+DistV)/PixCount.The smallest M alternate chunks of cost are selected in current image to be encoded for updating the specific reference picture.
In determining current image to be encoded after all image blocks (being specially image block 41,42,43 and 44 in Fig. 3) that can be used for updating certain reference picture, certain reference picture is updated using all image blocks that can be used for updating certain reference picture.For example, as shown in figure 3, the pixel value in image block 41,42,43 and 44 is respectively used to the pixel value of the image block at the same position in replacement certain reference picture.
As shown in figure 4, Fig. 4 is the flow diagram of another embodiment of the method for Video coding of the invention.As shown in figure 4, method includes:
401, when current image to be encoded can be used for updating certain reference picture, and when image block is available When updating certain reference picture, the specific image block in certain reference picture is updated according to the image block, wherein, the image block is an image block in current image to be encoded, and position of the specific image block in certain reference picture is determined by position of the image block in current image to be encoded.
Wherein it is determined that current image to be encoded can be used for there are many ways to updating certain reference picture.
In some embodiments, when current image to be encoded can be used for inter-prediction, determine that current image to be encoded can be used for updating the certain reference picture.For example, determining that current image to be encoded can be used for updating the certain reference picture when determining that current code image to be encoded is intra-prediction image or is forward-predicted picture.Such as, since I image and P image (or forward-predicted picture) can be used as the reference picture that other images carry out inter-prediction, therefore, when determining that current image to be encoded is I image or is P image (or forward-predicted picture), determine current image to be encoded as reference picture.In some embodiments, part B image (or bidirectional predictive picture) also can be used as the reference picture that other images carry out inter-prediction, such as in layering B (Hierarchical B) technology, it can be used as reference frame positioned at the lower B image of level to use, therefore, when determining that current image to be encoded is this part of B image, it can also determine that current image to be encoded can be used as reference picture.
In some embodiments, when the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be encoded.
In some embodiments, when image in video can be used as reference picture (also can be used to inter-prediction), it is not distinguish as long term reference image or as short-term reference picture, as long as current image to be encoded can be used as the reference picture that other images carry out inter-prediction, it can determine that current image to be encoded can be used as reference picture, the image block in the image to be encoded described at this time can be used for updating specific image block.
In some embodiments, when the image in video can be used as reference picture, long term reference image and short-term reference picture are to discriminate between.Wherein, which is a concept corresponding with long term reference image.Short-term reference picture refers to can be only present in a period of time in reference picture buffer area, after several in reference picture buffer area of encoded reference picture after the short-term reference picture are movable into and out operation, short-term reference picture can be moved out of reference picture buffer area.Accordingly, long term reference image (or a part of data of long term reference image) is always present in reference picture buffer area, be movable into and out operation of the long term reference image (perhaps a part of data of long term reference image) not by encoded or decoded reference picture in reference picture buffer area is influenced the only long term reference image long term reference image (or a part of long term reference image when coding side issues the operation of more new command Data) it can just be moved out of reference picture buffer area.It should be noted that the call of short-term reference picture and long term reference image in different standards may be different, H.264/AVC or H.265/HEVC such as in standard, short-term reference picture is referred to as short-term reference frame (short-term reference), long term reference image is referred to as long term reference frame (long-term reference), for another example long-term reference picture is referred to as background frames in AVS1 video and AVS2 video standard, and long-term reference picture is referred to as gold frame in VP8, VP9 standard.
In some embodiments, when current image to be encoded not can be used as short-term reference picture and not can be used as long term reference image, determine that the image block in the image to be encoded is not useable for updating the specific image block in the certain reference picture.
In some embodiments, when current image to be encoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be encoded can be used for updating the certain reference picture.
In some embodiments, when current image to be encoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be encoded can be used for updating the certain reference picture.
In some embodiments, when current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, it determines that the image to be encoded is not useable for updating the certain reference picture, namely determines that the image block in the image to be encoded is not used in the specific image block updated in certain reference picture.
In some embodiments, when current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image to be encoded can be used for updating the certain reference picture.
In some embodiments, when current image to be encoded can be used as short-term reference picture and can be used as long term reference image, determine that the image to be encoded can be used for updating the certain reference picture.
In some embodiments, also at least one of following middle addition flag bit, which is used to identify not whether the image that can be used as short-term reference picture can be used for updating the certain reference picture:
Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
Optionally, which is flexible time domain flag bit.When with flexible time domain demand, the value of the flag bit, which is used to indicate, to be not useable for updating the certain reference picture for the image block in the image of short-term reference picture;And/or when not having flexible time domain demand, the value of the flag bit, which is used to indicate, can be used for updating the certain reference picture for the image block in the image of short-term reference picture.
The image block in image in view of not can be used as short-term reference picture, which is not used in update certain reference picture, will affect the renewal speed of particular reference frame, to will affect effect of the particular reference frame to coding quality is promoted, using scheme as " not can be used as short-term reference picture but can be used as the image block in the current image to be encoded of long term reference image still can be used for updating particular reference frame ", can reduce generation influences in this way.
And, the meaning of scheme as " not can be used as short-term reference picture but the image block that can be used as in the current image to be encoded of long term reference frame still can be used for updating certain reference picture " is, when directly abandoning the characteristic not as short-term reference picture quickening decoding speed when coded system pays no attention to the parallel encoding characteristic not as short-term reference picture or pays no attention to decoding, it is the effect that can guarantee particular reference frame to promotion coding quality using the program, and the definition that not can be used as the image of reference picture in the concept of short-term reference picture can be taken into account;When directly abandoning the characteristic not as short-term reference picture quickening coding rate when coded system takes notice of the parallel encoding characteristic not as short-term reference picture or takes notice of decoding, then it still can specify that not that the image block in the image that can be used as short-term reference picture cannot be used for the update to particular reference frame.
Further, a flag bit can be added at least one that video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration are concentrated, whether the image block message which is used to identify not in the image that can be used as short-term reference picture can be used for updating particular reference frame.In some embodiments, flag bit can also be flexible time domain flag bit.When coded system has flexible time domain demand, the value that the flag bit is arranged is used to indicate the update that can not be not useable for particular reference frame for the image block in the image of short-term reference picture;And/or when coded system does not have flexible time domain demand, the value that the flag bit is arranged is used to indicate the update that can not can be used for particular reference frame for the image block in the image of short-term reference picture.
Wherein, the explanation about certain reference picture and specific image block can refer to the explanation in being described above to certain reference picture and specific image block, and details are not described herein.
Wherein, on how to determine that image block can be used for updating certain reference picture, it can refer to the explanation in being described above to " determining that image block can be used for updating certain reference picture ", details are not described herein.
Wherein, on how to be updated according to the image block in current image to be encoded to the specific image block in certain reference picture, it can refer to the explanation in being described above to " being updated according to the image block in current image to be encoded to the specific image block in certain reference picture ", details are not described herein.
In some embodiments, the quantity for the image block that can be used for updating certain reference picture in current image to be encoded can be 1, be also possible to be greater than 1.In some embodiments, current image to be encoded In can be used for updating certain reference picture image block quantity can be there is no limit, namely all image blocks for meeting the condition that can be used for updating certain reference picture are all used to be updated certain reference picture in current image to be encoded.
In some embodiments, the quantity that can be used for updating the image block of certain reference picture is more, consider from coding/decoding system implementation complexity, the quantity for the image block that can be used for updating certain reference picture in current image to be encoded can be limited to no more than M, the M be the integer not less than 1.
In this way, in determining current image to be encoded it is all can be used for updating the image block of certain reference picture after, however, it is determined that the quantity of the image block gone out is not more than M, then is updated respectively according to each image block determined to certain reference picture.Foregoing description can refer to the method that certain reference picture is updated according to each image block, details are not described herein.If it is determined that image block quantity be greater than M, then M image block therein is picked out from the image block that this is determined, and be updated to certain reference picture according to the M image block.
Currently there are many methods of determination for the value of the corresponding M of image to be encoded.For example, currently the value of the corresponding M of image to be encoded is the type determination based on current image to be encoded.
In some embodiments, when the type difference of current image to be encoded, the value of the corresponding M of the current image to be encoded is different.For concrete example, when current image to be encoded is I image, which is up to update of the first default value image block for certain reference picture;When current image to be encoded is P image (or forward-predicted picture), which is up to update of the second default value image block for certain reference picture;When current image to be encoded is B image (or bidirectional predictive picture), the current image to be encoded is up to update of the third default value image block for certain reference picture, wherein, first default value, the second default value and third default value are different.
In some embodiments, the value of the corresponding M of current image to be encoded is the total number of images determination based on the current affiliated type of image to be encoded.For concrete example, such as the half that the corresponding M value of I image is the total number of images of I image in video;The corresponding M value of P image (or forward-predicted picture) is a quarter of the total number of images of P image (or forward-predicted picture);It can be used as 1/8th of the total number of images that the corresponding M value of B image (or bidirectional predictive picture) that reference picture uses is B image (or bidirectional predictive picture).
There are many ways to picking out M image block therein from all image blocks that can be used for updating certain reference picture determined in current image to be encoded.It specifically refers in being described above to " picking out from all image blocks that can be used for updating certain reference picture determined in current image to be encoded The explanation of the method for M image block therein ", is not repeating herein.
In video technique, not being incorporated by reference the image of image, itself image information is not used in the coding and decoding process of other images in coding and in decoding, namely parts of images occurs and be not useable for being used to update certain reference picture when updating certain reference picture yet.In the present embodiment when determining that current image to be encoded can be used for updating certain reference picture, it is considered as the image block in the current image to be encoded just to be updated to certain reference picture, it avoids parts of images to be not useable for also being used for the case where updating certain reference picture when updating certain reference picture, such as avoids the construction process of certain reference picture and the case where the definition for the image for not being incorporated by reference image is disagreed.Furthermore, it is not incorporated by reference the decoding process of image other images since it goes without doing in decoding of image, therefore the image for not being incorporated by reference image can not be decoded in decoding, so as to accelerate the decoding speed of video code flow, realize that the change frame per second of video content plays.Further, in some embodiments, when determining that current image to be encoded can be used as reference picture, it is considered as the image block in the current image to be encoded just to be updated to certain reference picture, avoids and cannot achieve the case where discarding part not can be used as reference picture when being updated using the image block in the image that not can be used as reference picture to certain reference picture.
In some embodiments, when current image to be encoded is not useable for updating certain reference picture, specific image block in the certain reference picture is updated without the image block in current image to be encoded.For example, determining that the current image to be encoded is not useable for updating certain reference picture when the current image to be encoded is not useable for inter-prediction.In another example determining that the image block in the image to be encoded is not used in the specific image block updated in the certain reference picture when current image to be encoded can be used as short-term reference picture but not can be used as long term reference image.In another example determining that the image block in the image to be encoded is not used in the specific image block updated in the certain reference picture when current image to be encoded not can be used as short-term reference picture and not can be used as long term reference image yet.
In some embodiments, after determining that current image to be encoded can be used for updating certain reference picture, coding side is also in video parameter collection (VPS, video parameter set), sequence parameter set (SPS, sequence parameter set), sequence head (sequence header), image head (picture header), slice header (slice header), reference picture collection (RPS, reference picture set) and reference picture config set (RCS, reference configuration set) at least one of in write parameters or flag bit, deserved with instruction Preceding image to be encoded can be used for updating certain reference picture.
In some embodiments, after determining that current image to be encoded can be used for updating certain reference picture, the flag bit of the image block in current image to be encoded is also encoded, the flag bit is current for identifying this Whether the image block in image to be encoded is used to be updated the certain reference picture.
It combines Fig. 1, Fig. 2, Fig. 3 and Fig. 4 to describe method for video coding according to an embodiment of the present invention from coding side above, method for video coding according to another embodiment of the present invention is described in detail from decoding end below in conjunction with Fig. 5.Fig. 5 shows video encoding/decoding method according to another embodiment of the present invention, and this method can be executed by image processing apparatus, and described image processing unit can be various types of chip, image processors etc. for image procossing.As shown in figure 5, video encoding/decoding method includes:
501, when current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
In some embodiments, it determines that current image to be decoded can be used as reference picture, can occur before being decoded to the image to be decoded.In this way, can judge that each image block meets the condition for updating certain reference picture when being decoded to each image block in image to be decoded or after decoding according to the result of the determination.Or, determine that current image to be decoded can be used as reference picture, it can also occur when being decoded to each image block in image to be decoded or after decoding, namely when being decoded to each image block or after decoding, determining that the image block is currently located image first is the image that can be used as reference picture, when determination can be used as reference picture, then judge that the image block can be used for updating certain reference picture.
In some embodiments, determine that current image to be decoded can be used as reference picture, it can be used to indicate the referring-to relation of current image to be decoded parameter by obtaining and perhaps flag bit and determine whether current image to be decoded is the image that can be used as reference picture according to the parameter or flag bit.Wherein, the parameter or flag bit for being used to indicate the referring-to relation of current image to be decoded can be obtained through a variety of ways.Such as, it can be from video parameter collection (VPS, video parameter set), sequence parameter set (SPS, sequence parameter set), sequence head (sequence header), image head (picture header), slice header (slice header), reference picture collection (RPS, reference picture set) and reference picture config set (RCS, reference configuration set) at least one of obtain the parameter or flag bit of the referring-to relation for being used to indicate current image to be decoded.
In some embodiments, since I image and P image (or forward-predicted picture) can be used as the reference picture that other images carry out inter-prediction, therefore, when determining that current image to be decoded is I image or is P image (or forward-predicted picture), determine that current image to be decoded is to can be used as reference picture Image.In some embodiments, part B image (or bidirectional predictive picture) also can be used as the reference picture for inter-prediction, such as in layering B (Hierarchical B) technology, it can be used as reference frame positioned at the lower B image of level to use, therefore, when determining that current image to be encoded is this part of B image, it can also determine that current image to be encoded can be used as reference picture.
Judge that image block can be used for updating the method for certain reference picture, can be used for updating the method for certain reference picture with reference to the image block being described above in the current image to be encoded of middle judgement.Alternatively, in some embodiments, decoding end also parses the flag bit of each image from code stream, wherein the flag bit of each image is used to indicate whether each image block in the image is used to be updated certain reference picture.Decoding end can therefrom get the flag bit of image block, and judge whether the image block is used to update certain reference picture according to the flag bit.
Wherein, the method being updated according to image block to the specific image block in certain reference picture can not repeat herein with reference to the method for image block of the middle basis currently in image to be encoded is described above being updated to the specific image block in certain reference picture.Wherein, how specific image block is specifically determined by position of the image block in current image to be decoded in the position in the certain reference picture, specifically how by position of the image block in current image to be encoded can determine that details are not described herein with reference to position of the specific image block in certain reference picture in step 101.
Wherein, in some embodiments, the quantity for the image block that can be used for updating certain reference picture in current image to be decoded can be 1, be also possible to be greater than 1.In some embodiments, the quantity for the image block that can be used for updating certain reference picture in current image to be decoded can be what there is no limit, namely all image blocks for meeting the condition that can be used for updating certain reference picture are all used to be updated certain reference picture in current image to be decoded.
In some embodiments, the quantity that can be used for updating the image block of certain reference picture is more, consider from coding/decoding system implementation complexity, the quantity for the image block that can be used for updating certain reference picture in current image to be decoded can be limited to no more than M, the M be the integer not less than 1.
In this way, in determining current image to be decoded it is all can be used for updating the image block of certain reference picture after, however, it is determined that the quantity of the image block gone out is not more than M, then is updated respectively according to each image block determined to certain reference picture.Foregoing description can refer to the method that certain reference picture is updated according to each image block, details are not described herein.If it is determined that image block quantity be greater than M, then M image block therein is picked out from the image block that this is determined, and be updated to certain reference picture according to the M image block.
Currently the value of the corresponding M of image to be decoded can be based on a variety of determining methods.For example, currently the value of the corresponding M of image to be decoded is the type determination based on current image to be decoded.In some embodiments, when the image type difference of current image to be decoded, the value of the corresponding M of the current image to be decoded is different.For concrete example, when current image to be decoded is I image, which is up to update of the first default value image block for certain reference picture;When current image to be decoded is P image (or forward-predicted picture), which is up to update of the second default value image block for certain reference picture;When current image to be decoded is B image (or bidirectional predictive picture), the current image to be decoded is up to update of the third default value image block for certain reference picture, wherein, first default value, the second default value and third default value are different.
In some embodiments, the value of the corresponding M of current image to be decoded is the total number of images determination based on the current affiliated type of image to be decoded.For concrete example, such as the half that the corresponding M value of I image is the total number of images of I image in video;The corresponding M value of P image (or forward-predicted picture) is a quarter of the total number of images of P image (or forward-predicted picture);It can be used as 1/8th of the total number of images that the corresponding M value of B image (or bidirectional predictive picture) that reference picture uses is B image (or bidirectional predictive picture).
In some embodiments, the quantity that can be used for updating the image block of the certain reference picture in currently image to be decoded is carried at least one below: the currently image head of image to be decoded, the picture parameter set of current decoding image, the currently corresponding sequence head of image to be decoded, the currently corresponding sequence parameter set of image to be decoded, the currently corresponding video parameter collection of image to be decoded.Decoding end can be used for updating the quantity of the image block of the certain reference picture from wherein parsing in current image to be decoded.
In some embodiments, the value of the corresponding M of current image to be decoded is only used for informing update decoding end present image at most how many image block can be used for particular reference frame, in this way can be in order to the design of decoding end, to reduce the complexity of decoding end.
As shown in fig. 6, Fig. 6 is the flow diagram of another embodiment of the decoded method of video of the invention.As shown in fig. 6, method includes:
601, when current image to be encoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
Wherein it is determined that current image to be encoded can be used for there are many ways to updating certain reference picture.
In some embodiments, when the current image to be decoded can be used for inter-prediction, determine that current image to be decoded can be used for updating the certain reference picture.Such as, since I image and P image (or forward-predicted picture) can be used as the reference picture that other images carry out inter-prediction, therefore, when determining that current image to be decoded is I image or is P image (or forward-predicted picture), determine that current image to be decoded is the image that can be used as reference picture.In some embodiments, part B image (or bidirectional predictive picture) also can be used as the reference picture for inter-prediction, such as in layering B (Hierarchical B) technology, it can be used as reference frame positioned at the lower B image of level to use, therefore, when determining that current image to be encoded is this part of B image, it can also determine that current image to be encoded can be used as reference picture.
In some embodiments, when the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.Specific explanations can refer to the explanation to " being updated according to all images block of the current image to be decoded to all images block of the certain reference picture " above, and details are not described herein.
Determine that current image to be decoded can be used as reference picture (also can be used to inter-prediction), it can be used to indicate the referring-to relation of current image to be decoded parameter by obtaining and perhaps flag bit and determine whether current image to be decoded is the image that can be used as reference picture according to the parameter or flag bit.Wherein, it is short-term reference picture or long term reference image that the referring-to relation of the current image to be decoded, which also refers to the current band decoding image,.Wherein, the parameter or flag bit for being used to indicate the referring-to relation of current image to be decoded can be obtained through a variety of ways.Such as, it can be from video parameter collection (VPS, video parameter set), sequence parameter set (SPS, sequence parameter set), sequence head (sequence header), image head (picture header), slice header (slice header), reference picture collection (RPS, reference picture set) and reference picture config set (RCS, reference configuration set) at least one of obtain the parameter or flag bit of the referring-to relation for being used to indicate current image to be decoded.
In some embodiments, when image in video can be used as reference picture, it is not distinguish as long term reference image or as short-term reference picture, as long as current image to be decoded can be used as the reference picture that other images carry out inter-prediction, it can determine that current image to be decoded can be used as reference picture, current image to be encoded can be used for updating certain reference picture at this time.
In some embodiments, when the image in video can be used as reference picture, long term reference image and short-term reference picture are to discriminate between.Wherein, which is corresponding with long term reference image one A concept.Short-term reference picture refers to can be only present in a period of time in reference picture buffer area, after several in reference picture buffer area of decoded reference picture after the short-term reference picture are movable into and out operation, short-term reference picture can be moved out of reference picture buffer area.Accordingly, long term reference image (or a part of data in long term reference image) is always present in reference picture buffer area, the operation that is movable into and out of long term reference image (or a part of data in long term reference image) not by decoded reference picture in reference picture buffer area is influenced, and only when decoding end issues the operation of more new command, the long term reference image (or a part of data in long term reference image) can just be moved out of reference picture buffer area.It should be noted that the call of short-term reference picture and long term reference image in different standards may be different, H.264/AVC or H.265/HEVC such as in standard, short-term reference picture is referred to as short-term reference frame (short-term reference), long term reference image is referred to as long term reference frame (long-term reference), for another example long-term reference picture is referred to as background frames in AVS1 video and AVS2 video standard, and long-term reference picture is referred to as gold frame in VP8, VP9 standard.
In some embodiments, when current image to be decoded not can be used as short-term reference picture and not can be used as long term reference image, it determines that the image to be decoded is not useable for updating the certain reference picture, namely determines that the image block in the image to be decoded is not used in the specific image block updated in certain reference picture.
In some embodiments, when current image to be decoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be decoded can be used for updating the certain reference picture.
In some embodiments, when current image to be decoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be decoded can be used for updating the certain reference picture.
In some embodiments, when current image to be decoded can be used as short-term reference picture but not can be used as long term reference image, it determines that the image to be decoded is not useable for updating the certain reference picture, namely determines that the image block in the image to be decoded is not used in the specific image block updated in certain reference picture.
In some embodiments, when current image to be decoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image to be decoded can be used for updating the certain reference picture.
In some embodiments, when current image to be decoded can be used as short-term reference picture and can be used as long term reference image, determine that the image to be decoded can be used for updating the certain reference picture.
Determine currently band decoding image there are many ways to being any image, for example, can by with video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, It is short-term reference picture or long term reference image that reference configuration, which concentrates parsing to obtain present image,.
Further, it can also be by the way that parse a flag bit at least one of video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration concentration, the flag bit be for identifying whether the image to be decoded can be used for updating the certain reference picture.In some embodiments, flag bit can also be flexible time domain flag bit.When decoding end has flexible time domain demand, the value of the flag bit is used to indicate the update that can not be not useable for particular reference frame for the image block in the image of short-term reference picture;And/or when decoding end does not have flexible time domain demand, the value of the flag bit is used to indicate the update that can not can be used for particular reference frame for the image block in the image of short-term reference picture.
Wherein, the explanation about certain reference picture and specific image block can refer to the explanation in being described above to certain reference picture and specific image block, and details are not described herein.
Wherein, on how to determine that image block can be used for updating certain reference picture, it can refer to the explanation in being described above to " determining that image block can be used for updating certain reference picture ", details are not described herein.
In some embodiments, the flag bit of the image block of current image to be decoded is also obtained, wherein whether the image block that the flag bit is used to identify in the current image to be decoded is used to be updated the certain reference picture.The image block that can be used for updating certain reference picture is determined according to the flag bit.
Wherein, on how to be updated according to the image block in current image to be decoded to the specific image block in certain reference picture, it can refer to the explanation in being described above to " being updated according to the image block in current image to be decoded to the specific image block in certain reference picture ", details are not described herein.
Wherein, in some embodiments, the quantity for the image block that can be used for updating certain reference picture in current image to be decoded can be 1, be also possible to be greater than 1.In some embodiments, the quantity for the image block that can be used for updating certain reference picture in current image to be decoded can be what there is no limit, namely all image blocks for meeting the condition that can be used for updating certain reference picture are all used to be updated certain reference picture in current image to be decoded.
In some embodiments, the quantity that can be used for updating the image block of certain reference picture is more, consider from coding/decoding system implementation complexity, the quantity for the image block that can be used for updating certain reference picture in current image to be decoded can be limited to no more than M, the M be the integer not less than 1.
In this way, in determining current image to be decoded it is all can be used for updating the image block of certain reference picture after, however, it is determined that the quantity of the image block gone out is not more than M, then is updated respectively according to each image block determined to certain reference picture.Certain reference picture is updated according to each image block Method can refer to foregoing description, and details are not described herein.If it is determined that image block quantity be greater than M, then M image block therein is picked out from the image block that this is determined, and be updated to certain reference picture according to the M image block.
Currently the value of the corresponding M of image to be decoded can be based on a variety of determining methods.For example, currently the value of the corresponding M of image to be decoded is the type determination based on current image to be decoded.In some embodiments, when the image type difference of current image to be decoded, the value of the corresponding M of the current image to be decoded is different.For concrete example, when current image to be decoded is I image, which is up to update of the first default value image block for certain reference picture;When current image to be decoded is P image (or forward-predicted picture), which is up to update of the second default value image block for certain reference picture;When current image to be decoded is B image (or bidirectional predictive picture), the current image to be decoded is up to update of the third default value image block for certain reference picture, wherein, first default value, the second default value and third default value are different.
In some embodiments, the value of the corresponding M of current image to be decoded is the total number of images determination based on the current affiliated type of image to be decoded.For concrete example, such as the half that the corresponding M value of I image is the total number of images of I image in video;The corresponding M value of P image (or forward-predicted picture) is a quarter of the total number of images of P image (or forward-predicted picture);It can be used as 1/8th of the total number of images that the corresponding M value of B image (or bidirectional predictive picture) that reference picture uses is B image (or bidirectional predictive picture).
In some embodiments, the quantity that can be used for updating the image block of the certain reference picture in currently image to be decoded is carried at least one below: the currently image head of image to be decoded, the picture parameter set of current decoding image, the currently corresponding sequence head of image to be decoded, the currently corresponding sequence parameter set of image to be decoded, the currently corresponding video parameter collection of image to be decoded.Decoding end can be used for updating the quantity of the image block of the certain reference picture from wherein parsing in current image to be decoded.
In some embodiments, the value of the corresponding M of current image to be decoded is only used for informing update decoding end present image at most how many image block can be used for particular reference frame, in this way can be in order to the design of decoding end, to reduce the complexity of decoding end.
In some embodiments, it when determining that the current image to be decoded is not useable for carrying out inter-prediction except the image of the current image to be decoded, determines that described image block is not used in and updates the certain reference picture.
In some embodiments, when current image to be decoded can be used as short-term reference picture but not can be used as length When phase reference picture, determines that the image block in the image to be decoded is not used in and update the certain reference picture.
In some embodiments, when current image to be decoded not can be used as short-term reference picture and not can be used as long term reference image, determine that the image block in the image to be decoded is not useable for updating the certain reference picture.
Fig. 7 is the schematic block diagram of video coding apparatus according to an embodiment of the present invention.As shown in fig. 7, video coding apparatus 70 includes:
At least one processor 701, for storing computer executable instructions;
At least one processor 702, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
When current image to be encoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
In some embodiments, the processor is also used to:
When the current image to be encoded is intra-prediction image or is forward-predicted picture, determine that the current image to be encoded can be used as reference picture.
In some embodiments, the processor is also used to:
When the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be encoded.
In some embodiments, the quantity for the image block that can be used for updating the certain reference picture in the current image to be encoded is not more than M, and M is the integer not less than 1.
In some embodiments, the value of the corresponding M of the image currently to be encoded is the referring-to relation determination based on the current image to be encoded.
In some embodiments, when the type difference of the current image to be encoded, the value of the corresponding M of the current image to be encoded is different.
In some embodiments, the value of the corresponding M of the image currently to be encoded is the total number of images determination based on the current affiliated type of image to be encoded.
In some embodiments, described image block includes the pixel of preset quantity Color Channel,
In the current image to be encoded in the sequence of the cost (cost) of each image block from small to large, The cost of described image block is located in preceding M, and the cost of described image block is not less than default value;Wherein,
The cost of described image block is summation of the described image block in the pixel difference of each Color Channel;
Described image block is that each pixel of described image block has the pixel of same position in the summation of the difference of the pixel value of the Color Channel in coded block respectively in the pixel difference of each Color Channel;
The coded block is the image block of specific location in encoded image before the current image to be encoded.
In some embodiments, the processor is also used to:
The flag bit of described image block is encoded, the flag bit is for identifying whether described image block is used to be updated the certain reference picture.
In some embodiments, the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded, comprising:
The specific image block is identical as position of the described image block in the current image to be encoded in the position in the certain reference picture, alternatively,
The specific image block is that position of the described image block in the current image to be encoded is obtained plus preset offset value in the position in the certain reference picture.
In some embodiments, the processor is also used to:
When the current image to be encoded not can be used as reference picture, determines that described image block is not used in and update the certain reference picture.
In some embodiments, the certain reference picture is the reference picture as inter-prediction.
In some embodiments, the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
In some embodiments, the judgement image block can be used for updating the device of certain reference picture, comprising:
Judge that image block can be used for updating certain reference picture according to the Pixel Information of the Pixel Information of described image block and coded block, wherein the coded block is the image block of specific location in encoded image before the current image to be encoded.
It is in some embodiments, described to judge that image block can be used for updating certain reference picture according to described image block and coded block, comprising:
Judge that image block can be used for updating certain reference picture according at least one of following:
The sum of all pixels of the chromatic component of the pixel value of chromatic component between the sum of all pixels of the luminance component of the pixel value of luminance component between described image block and the coded block, described image block and/or the coded block, described image block and the coded block, described image block and/or the coded block.
Fig. 8 is another schematic block diagram of video coding apparatus according to an embodiment of the present invention.As shown in figure 8, video coding apparatus 80 includes:
At least one processor 801, for storing computer executable instructions;
At least one processor 802, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
When current image to be encoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
In some embodiments, the processor is also used to:
When current image to be encoded is not useable for updating certain reference picture, specific image block in the certain reference picture is updated without the image block in the current image to be encoded.
In some embodiments, the processor is also used to:
When the current image to be encoded is intra-prediction image or is forward-predicted picture, determine that the current image to be encoded can be used as reference picture.
In some embodiments, the processor is also used to:
When the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be encoded.
In some embodiments, the quantity for the image block that can be used for updating the certain reference picture in the current image to be encoded is not more than M, and M is the integer not less than 1.
In some embodiments, the value of the corresponding M of the image currently to be encoded is the referring-to relation determination based on the current image to be encoded.
In some embodiments, when the type difference of the current image to be encoded, the value of the corresponding M of the current image to be encoded is different.
In some embodiments, the value of the corresponding M of the image currently to be encoded is worked as based on described What the total number of images of the preceding affiliated type of image to be encoded determined.
In some embodiments, described image block includes the pixel of preset quantity Color Channel,
In the current image to be encoded in the sequence of the cost (cost) of each image block from small to large, the cost of described image block is located in preceding M, and the cost of described image block is not less than default value;Wherein,
The cost of described image block is summation of the described image block in the pixel difference of each Color Channel;
Described image block is that each pixel of described image block has the pixel of same position in the summation of the difference of the pixel value of the Color Channel in coded block respectively in the pixel difference of each Color Channel;
The coded block is the image block of specific location in encoded image before the current image to be encoded.
In some embodiments, the processor is also used to:
The flag bit of described image block is encoded, the flag bit is for identifying whether described image block is used to be updated the certain reference picture.
In some embodiments, the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded, comprising:
The specific image block is identical as position of the described image block in the current image to be encoded in the position in the certain reference picture, alternatively,
The specific image block is that position of the described image block in the current image to be encoded is obtained plus preset offset value in the position in the certain reference picture.
In some embodiments, the processor is also used to:
When the current image to be encoded is not useable for inter-prediction, determine that the current image to be encoded is not useable for updating certain reference picture.
In some embodiments, the processor is also used to:
When current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image block in the image to be encoded is not used in the specific image block updated in the certain reference picture.
In some embodiments, the processor is also used to:
When current image to be encoded, which not can be used as short-term reference picture, not can be used as long term reference image yet, determine that the image block in the image to be encoded is not used in the specific image block updated in the certain reference picture.
In some embodiments, the processor is also used to:
When the current image to be encoded can be used for inter-prediction, determine that current image to be encoded can be used for updating the certain reference picture.
In some embodiments, the processor is also used to:
When the current code image to be encoded is intra-prediction image or is forward-predicted picture, determine that current image to be encoded can be used for updating the certain reference picture.
In some embodiments, the processor is also used to:
When current image to be encoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be encoded can be used for updating the certain reference picture.
In some embodiments, the processor is also used to:
When current image to be encoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be encoded can be used for updating the certain reference picture.
In some embodiments, the processor is also used to:
When current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image block in the image to be encoded can be used for updating the certain reference picture.
In some embodiments, at least one of following middle addition flag bit, the flag bit is used to identify not whether the image that can be used as short-term reference picture can be used for updating the certain reference picture:
Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
In some embodiments, the flag bit is flexible time domain flag bit.
In some embodiments, when with flexible time domain demand, the value of the flag bit, which is used to indicate, to be not useable for updating the certain reference picture for the image block in the image of short-term reference picture;And/or
When not having flexible time domain demand, the value of the flag bit, which is used to indicate, can be used for updating the certain reference picture for the image block in the image of short-term reference picture.
In some embodiments, the certain reference picture is the image that can be used for inter-prediction.
In some embodiments, the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
In some embodiments, the judgement image block can be used for updating the device of certain reference picture, comprising:
Judge that image block can be used for updating certain reference picture according to the Pixel Information of the Pixel Information of described image block and coded block, wherein the coded block is the image block of specific location in encoded image before the current image to be encoded.
It is in some embodiments, described to judge that image block can be used for updating certain reference picture according to described image block and coded block, comprising:
Judge that image block can be used for updating certain reference picture according at least one of following:
The sum of all pixels of the chromatic component of the pixel value of chromatic component between the sum of all pixels of the luminance component of the pixel value of luminance component between described image block and the coded block, described image block and/or the coded block, described image block and the coded block, described image block and/or the coded block.
Fig. 9 is the schematic block diagram of video decoder according to an embodiment of the present invention.As shown in figure 8, video coding apparatus 90 includes:
At least one processor 901, for storing computer executable instructions;
At least one processor 902, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
When current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
In some embodiments, the processor is also used to:
Obtain the flag bit of described image block;
Determine that described image block can be used for updating certain reference picture according to the flag bit.
In some embodiments, the processor is also used to:
When the current image to be decoded is intra-prediction image or is forward-predicted picture, determine that the current image to be decoded can be used as reference picture.
In some embodiments, the processor is also used to:
Obtain the parameter or flag bit for being used to indicate the referring-to relation of the current image to be decoded;
Determine that the current image to be decoded can be used as reference picture according to the parameter or flag bit.
In some embodiments, the acquisition is used to indicate the parameter or flag bit of the referring-to relation of the current image to be decoded, comprising:
The parameter or flag bit of the referring-to relation of the current image to be decoded are used to indicate from least one of following middle acquisition:
Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
In some embodiments, the processor is also used to:
When the current image to be decoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.
In some embodiments, the quantity for the image block that can be used for updating the certain reference picture in the current image to be decoded is M, and M is the integer not less than 1.
In some embodiments, the value of the corresponding M of the image currently to be decoded is the referring-to relation determination based on the current image to be decoded.
In some embodiments, when the type difference of the current image to be decoded, the value of the corresponding M of the current image to be decoded is different.
In some embodiments, the value of the corresponding M of the image currently to be decoded is the total number of images determination based on the current affiliated type of image to be decoded.
In some embodiments, below include the quantity that can be used for updating the image block of the certain reference picture in the current image to be decoded at least one:
The image head of the current image to be decoded, the picture parameter set of the current decoding image, the corresponding sequence head of the current image to be decoded, the corresponding sequence parameter set of the current image to be decoded, the corresponding video parameter collection of the current image to be decoded.
In some embodiments, the processor is also used to:
When determining that the current image to be decoded not can be used as reference picture, determine that described image block is not used in the specific image block updated in the certain reference picture.
In some embodiments, the certain reference picture is the reference picture as inter-prediction.
In some embodiments, the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
Figure 10 is the schematic block diagram of video decoder according to an embodiment of the present invention.As shown in figure 8, video coding apparatus 100 includes:
At least one processor 1001, for storing computer executable instructions;
At least one processor 1002, is individually or jointly used for: at least one processor is accessed, And the computer executable instructions are executed, to implement following operation:
When current image to be decoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
In some embodiments, the processor is also used to:
When current image to be decoded is not useable for updating certain reference picture, specific image block in the certain reference picture is updated without the image block in the current image to be decoded.
In some embodiments, the processor is also used to:
Obtain the flag bit of described image block;
Determine that described image block can be used for updating certain reference picture according to the flag bit.
In some embodiments, the processor is also used to:
Obtain the parameter or flag bit for being used to indicate the referring-to relation of the current image to be decoded;
Determine that the current image to be decoded can be used for updating certain reference picture according to the parameter or flag bit.
In some embodiments, the acquisition is used to indicate the parameter or flag bit of the referring-to relation of the current image to be decoded, comprising:
The parameter or flag bit of the referring-to relation of the current image to be decoded are used to indicate from least one of following middle acquisition:
Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
In some embodiments, the processor is also used to:
When the current image to be decoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.
In some embodiments, the quantity for the image block that can be used for updating the certain reference picture in the current image to be decoded is M, and M is the integer not less than 1.
In some embodiments, the value of the corresponding M of the image currently to be decoded is the referring-to relation determination based on the current image to be decoded.
In some embodiments, described current to be decoded when the type difference of the current image to be decoded The value of the corresponding M of image is different.
In some embodiments, the value of the corresponding M of the image currently to be decoded is the total number of images determination based on the current affiliated type of image to be decoded.
In some embodiments, below include the quantity that can be used for updating the image block of the certain reference picture in the current image to be decoded at least one:
The image head of the current image to be decoded, the picture parameter set of the current decoding image, the corresponding sequence head of the current image to be decoded, the corresponding sequence parameter set of the current image to be decoded, the corresponding video parameter collection of the current image to be decoded.
In some embodiments, the processor is also used to:
When determining that the current image to be decoded is not useable for carrying out inter-prediction except the image of the current image to be decoded, determine that described image block is not used in the specific image block updated in the certain reference picture.
In some embodiments, the processor is also used to:
When current image to be decoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image block in the image to be decoded is not used in the specific image block updated in the certain reference picture.
In some embodiments, the processor is also used to:
When the current image to be decoded can be used for inter-prediction, determine that current image to be decoded can be used for updating the certain reference picture.
In some embodiments, the processor is also used to:
When the current image to be decoded is intra-prediction image or is forward-predicted picture, determine that current image to be decoded can be used for updating the certain reference picture.
In some embodiments, the processor is also used to:
When current image to be decoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be decoded can be used for updating the certain reference picture.
In some embodiments, the processor is also used to:
When current image to be decoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be decoded can be used for updating the certain reference picture.
In some embodiments, the referring-to relation of the current image to be decoded are as follows: the current band decoding image is short-term reference picture or long term reference image.
In some embodiments, the processor is also used to:
When current image to be decoded not can be used as short-term reference picture and not can be used as long term reference image, determine that the image block in the image to be decoded is not useable for updating the certain reference picture.
In some embodiments, the processor is also used to: from least one of following middle acquisition flag bit, the flag bit is for identifying whether the image to be decoded can be used for updating the certain reference picture:
Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
In some embodiments, the flag bit is flexible time domain flag bit.
In some embodiments, when the flag bit or scalable flag bit are the first numerical value, the value of the flag bit, which is used to indicate, to be not useable for updating the certain reference picture for the image block in the image of short-term reference picture;And/or
When the flag bit or scalable flag bit are second value, the value of the flag bit, which is used to indicate, can be used for updating the certain reference picture for the image block in the image of short-term reference picture.
In some embodiments, the certain reference picture is the image that can be used for inter-prediction.
In some embodiments, the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
Optionally, the processor in the present embodiment can be central processing unit (Central Processing Unit, referred to as " CPU "), the combination of network processing unit (Network Processor, referred to as " NP ") or CPU and NP.Processor can further include hardware chip.Above-mentioned hardware chip can be specific integrated circuit (Application-Specific Integrated Circuit, referred to as " ASIC "), programmable logic device (Programmable Logic Device, referred to as " PLD ") or combinations thereof.Above-mentioned PLD can be Complex Programmable Logic Devices (Complex Programmable Logic Device, referred to as " CPLD "), field programmable gate array (Field-Programmable Gate Array, referred to as " FPGA "), Universal Array Logic (Generic Array Logic, referred to as " GAL ") or any combination thereof.
Optionally, the memory in the embodiment of the present invention may include read-only memory and random access memory, and provide instruction and data to processor.The a part of of memory can also include nonvolatile RAM.For example, memory can be with the information of storage device type.
It should also be understood that the differentiation that the various digital numbers being referred to herein only carry out for convenience of description, is not intended to limit the invention the range of embodiment.
It should also be understood that in certain embodiments, the size of the serial number of each process is not meant that the order of the execution order, the execution sequence of each process be should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
Those of ordinary skill in the art may be aware that module described in conjunction with the examples disclosed in the embodiments of the present disclosure, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Professional technician can use different methods to achieve the described function each specific application, but such implementation should not be considered as beyond the scope of the present invention.
In several embodiments provided herein, it should be understood that disclosed device and method may be implemented in other ways.Such as, the apparatus embodiments described above are merely exemplary, such as, the division of the module, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple modules may be combined or can be integrated into another module, or some features can be ignored or not executed.
In addition, each functional module in Installation practice can integrate in one processing unit, it is also possible to each functional module and physically exists alone in respective processing unit, can also be integrated in a processing unit with two or more functional modules.
It is described above; the only specific embodiment of the application, but the protection scope of the application is not limited thereto, and anyone skilled in the art is in the technical scope that the embodiment of the present invention discloses; it can easily think of the change or the replacement, should all cover within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (176)

  1. A kind of method for video coding characterized by comprising
    When current image to be encoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
  2. Method for video coding according to claim 1, which is characterized in that the method also includes:
    When the current image to be encoded is intra-prediction image or is forward-predicted picture, determine that the current image to be encoded can be used as reference picture.
  3. Method for video coding according to claim 1, which is characterized in that the method also includes:
    When the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be encoded.
  4. Method for video coding according to claim 1, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be encoded is not more than M, and M is the integer not less than 1.
  5. Method for video coding according to claim 4, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the referring-to relation of the current image to be encoded.
  6. Method for video coding according to claim 5, which is characterized in that when the type difference of the current image to be encoded, the value of the corresponding M of the current image to be encoded is different.
  7. Method for video coding according to claim 5, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the total number of images of the current affiliated type of image to be encoded.
  8. Method for video coding according to claim 4, which is characterized in that described image block includes the pixel of preset quantity Color Channel,
    In the current image to be encoded in the sequence of the cost (cost) of each image block from small to large, the cost of described image block is located in preceding M, and the cost of described image block is not less than default value;Wherein,
    The cost of described image block is summation of the described image block in the pixel difference of each Color Channel;
    Described image block is that each pixel of described image block has the pixel of same position in the summation of the difference of the pixel value of the Color Channel in coded block respectively in the pixel difference of each Color Channel;
    The coded block is the image block of specific location in encoded image before the current image to be encoded.
  9. Method for video coding according to claim 1, which is characterized in that the method also includes:
    The flag bit of described image block is encoded, the flag bit is for identifying whether described image block is used to be updated the certain reference picture.
  10. Method for video coding according to claim 1, which is characterized in that the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded, comprising:
    The specific image block is identical as position of the described image block in the current image to be encoded in the position in the certain reference picture, alternatively,
    The specific image block is that position of the described image block in the current image to be encoded is obtained plus preset offset value in the position in the certain reference picture.
  11. Method for video coding according to claim 1, which is characterized in that the method also includes:
    When the current image to be encoded not can be used as reference picture, determines that described image block is not used in and update the certain reference picture.
  12. Method for video coding according to claim 1, which is characterized in that the certain reference picture is the reference picture as inter-prediction.
  13. Method for video coding according to claim 12, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  14. Method for video coding according to claim 1, which is characterized in that the judgement image block can be used for updating the method for certain reference picture, comprising:
    Judge that image block can be used for updating certain reference picture according to the Pixel Information of the Pixel Information of described image block and coded block, wherein the coded block is the image block of specific location in encoded image before the current image to be encoded.
  15. Method for video coding according to claim 14, it is characterised in that: described to judge that image block can be used for updating certain reference picture according to described image block and coded block, comprising:
    Judge that image block can be used for updating certain reference picture according at least one of following:
    The sum of all pixels of the chromatic component of the pixel value of chromatic component between the sum of all pixels of the luminance component of the pixel value of luminance component between described image block and the coded block, described image block and/or the coded block, described image block and the coded block, described image block and/or the coded block.
  16. A kind of video encoding/decoding method characterized by comprising
    When current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
  17. Video encoding/decoding method according to claim 16, which is characterized in that the method also includes:
    Obtain the flag bit of described image block;
    Determine that described image block can be used for updating certain reference picture according to the flag bit.
  18. Video encoding/decoding method according to claim 16, which is characterized in that the method also includes:
    When the current image to be decoded is intra-prediction image or is forward-predicted picture, determine that the current image to be decoded can be used as reference picture.
  19. Video encoding/decoding method according to claim 16, which is characterized in that the method also includes:
    Obtain the parameter or flag bit for being used to indicate the referring-to relation of the current image to be decoded;
    Determine that the current image to be decoded can be used as reference picture according to the parameter or flag bit.
  20. Video encoding/decoding method according to claim 19, which is characterized in that the acquisition is used to indicate the parameter or flag bit of the referring-to relation of the current image to be decoded, comprising:
    The parameter or flag bit of the referring-to relation of the current image to be decoded are used to indicate from least one of following middle acquisition:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  21. Video encoding/decoding method according to claim 16, which is characterized in that the method also includes:
    When the current image to be decoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.
  22. Video encoding/decoding method according to claim 16, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be decoded is M, and M is the integer not less than 1.
  23. Video encoding/decoding method according to claim 22, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the referring-to relation of the current image to be decoded.
  24. Video encoding/decoding method according to claim 23, which is characterized in that when the type difference of the current image to be decoded, the value of the corresponding M of the current image to be decoded is different.
  25. Video encoding/decoding method according to claim 23, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the total number of images of the current affiliated type of image to be decoded.
  26. Video encoding/decoding method according to claim 22, which is characterized in that include the quantity that can be used for updating the image block of the certain reference picture in the current image to be decoded at least one of following:
    The image head of the current image to be decoded, the picture parameter set of the current decoding image, the corresponding sequence head of the current image to be decoded, the corresponding sequence parameter set of the current image to be decoded, the corresponding video parameter collection of the current image to be decoded.
  27. Video encoding/decoding method according to claim 16, which is characterized in that the method also includes:
    When determining that the current image to be decoded not can be used as reference picture, determines that described image block is not used in and update the certain reference picture.
  28. Video solution method according to claim 16, which is characterized in that the certain reference picture is the reference picture as inter-prediction.
  29. Video encoding/decoding method according to claim 28, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  30. A kind of video coding apparatus characterized by comprising
    At least one processor, for storing computer executable instructions;
    At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
    When current image to be encoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
  31. Video coding apparatus according to claim 30, which is characterized in that the processor is also used to:
    When the current image to be encoded is intra-prediction image or is forward-predicted picture, determine that the current image to be encoded can be used as reference picture.
  32. Video coding apparatus according to claim 30, which is characterized in that the processor is also used to:
    When the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be encoded.
  33. Video coding apparatus according to claim 30, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be encoded is not more than M, and M is the integer not less than 1.
  34. Video coding apparatus according to claim 33, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the referring-to relation of the current image to be encoded.
  35. Video coding apparatus according to claim 34, which is characterized in that when the type difference of the current image to be encoded, the value of the corresponding M of the current image to be encoded is different.
  36. Video coding apparatus according to claim 34, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the total number of images of the current affiliated type of image to be encoded.
  37. Video coding apparatus according to claim 33, which is characterized in that described image block includes the pixel of preset quantity Color Channel,
    In the current image to be encoded in the sequence of the cost (cost) of each image block from small to large, the cost of described image block is located in preceding M, and the cost of described image block is not less than default value;Wherein,
    The cost of described image block is summation of the described image block in the pixel difference of each Color Channel;
    Described image block is that each pixel of described image block has the pixel of same position in the summation of the difference of the pixel value of the Color Channel in coded block respectively in the pixel difference of each Color Channel;
    The coded block is the image block of specific location in encoded image before the current image to be encoded.
  38. Video coding apparatus according to claim 30, which is characterized in that the processor is also used to:
    The flag bit of described image block is encoded, the flag bit is for identifying whether described image block is used to be updated the certain reference picture.
  39. Video coding apparatus according to claim 30, which is characterized in that the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded, comprising:
    The specific image block is identical as position of the described image block in the current image to be encoded in the position in the certain reference picture, alternatively,
    The specific image block is that position of the described image block in the current image to be encoded is obtained plus preset offset value in the position in the certain reference picture.
  40. Video coding apparatus according to claim 30, which is characterized in that the processor is also used to:
    When the current image to be encoded not can be used as reference picture, determines that described image block is not used in and update the certain reference picture.
  41. Video coding apparatus according to claim 30, which is characterized in that the certain reference picture is the reference picture as inter-prediction.
  42. Video coding apparatus according to claim 41, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  43. Video coding apparatus according to claim 30, which is characterized in that the judgement image block can be used for updating the device of certain reference picture, comprising:
    Judge that image block can be used for updating certain reference picture according to the Pixel Information of the Pixel Information of described image block and coded block, wherein the coded block is the image block of specific location in encoded image before the current image to be encoded.
  44. Video coding apparatus according to claim 43, it is characterised in that: described to judge that image block can be used for updating certain reference picture according to described image block and coded block, comprising:
    Judge that image block can be used for updating certain reference picture according at least one of following:
    The pixel value of luminance component between described image block and the coded block, described image block And/or the sum of all pixels of the chromatic component of the pixel value of the chromatic component between the sum of all pixels of the luminance component of the coded block, described image block and the coded block, described image block and/or the coded block.
  45. A kind of video decoder characterized by comprising
    At least one processor, for storing computer executable instructions;
    At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
    When current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
  46. Video decoder according to claim 1, which is characterized in that the processor is also used to:
    Obtain the flag bit of described image block;
    Determine that described image block can be used for updating certain reference picture according to the flag bit.
  47. Video decoder according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be decoded is intra-prediction image or is forward-predicted picture, determine that the current image to be decoded can be used as reference picture.
  48. Video decoder according to claim 1, which is characterized in that the processor is also used to:
    Obtain the parameter or flag bit for being used to indicate the referring-to relation of the current image to be decoded;
    Determine that the current image to be decoded can be used as reference picture according to the parameter or flag bit.
  49. Video decoder according to claim 48, which is characterized in that the acquisition is used to indicate the parameter or flag bit of the referring-to relation of the current image to be decoded, comprising:
    The parameter or flag bit of the referring-to relation of the current image to be decoded are used to indicate from least one of following middle acquisition:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  50. Video decoder according to claim 1, which is characterized in that the processor is also For:
    When the current image to be decoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.
  51. Video decoder according to claim 1, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be decoded is M, and M is the integer not less than 1.
  52. Video decoder according to claim 51, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the referring-to relation of the current image to be decoded.
  53. Video decoder according to claim 52, which is characterized in that when the type difference of the current image to be decoded, the value of the corresponding M of the current image to be decoded is different.
  54. Video decoder according to claim 52, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the total number of images of the current affiliated type of image to be decoded.
  55. Video decoder according to claim 51, which is characterized in that include the quantity that can be used for updating the image block of the certain reference picture in the current image to be decoded at least one of following:
    The image head of the current image to be decoded, the picture parameter set of the current decoding image, the corresponding sequence head of the current image to be decoded, the corresponding sequence parameter set of the current image to be decoded, the corresponding video parameter collection of the current image to be decoded.
  56. Video decoder according to claim 1, which is characterized in that the processor is also used to:
    When determining that the current image to be decoded not can be used as reference picture, determines that described image block is not used in and update the certain reference picture.
  57. Video solution device according to claim 1, which is characterized in that the certain reference picture is the reference picture as inter-prediction.
  58. Video decoder according to claim 57, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  59. A kind of machine readable storage medium, which is characterized in that be suitable for terminal, several computer instructions are stored on the machine readable storage medium, the computer instruction, which is performed, carries out the processing described in any item method for video coding of claim 1-15.
  60. A kind of video decoder characterized by comprising
    At least one processor, for storing computer executable instructions;
    At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
    When current image to be decoded can be used as reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
  61. Video decoder according to claim 60, which is characterized in that the processor is also used to:
    Obtain the flag bit of described image block;
    Determine that described image block can be used for updating certain reference picture according to the flag bit.
  62. Video decoder according to claim 60, which is characterized in that the processor is also used to:
    When the current image to be decoded is intra-prediction image or is forward-predicted picture, determine that the current image to be decoded can be used as reference picture.
  63. Video decoder according to claim 60, which is characterized in that the processor is also used to:
    Obtain the parameter or flag bit for being used to indicate the referring-to relation of the current image to be decoded;
    Determine that the current image to be decoded can be used as reference picture according to the parameter or flag bit.
  64. Video decoder according to claim 63, which is characterized in that the acquisition is used to indicate the parameter or flag bit of the referring-to relation of the current image to be decoded, comprising:
    The parameter or flag bit of the referring-to relation of the current image to be decoded are used to indicate from least one of following middle acquisition:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  65. Video decoder according to claim 60, which is characterized in that the processor is also used to:
    When the current image to be decoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.
  66. Video decoder according to claim 60, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be decoded is M, and M is the integer not less than 1.
  67. Video decoder according to claim 66, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the referring-to relation of the current image to be decoded.
  68. Video decoder according to claim 67, which is characterized in that when the type difference of the current image to be decoded, the value of the corresponding M of the current image to be decoded is different.
  69. Video decoder according to claim 67, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the total number of images of the current affiliated type of image to be decoded.
  70. Video decoder according to claim 66, which is characterized in that include the quantity that can be used for updating the image block of the certain reference picture in the current image to be decoded at least one of following:
    The image head of the current image to be decoded, the picture parameter set of the current decoding image, the corresponding sequence head of the current image to be decoded, the corresponding sequence parameter set of the current image to be decoded, the corresponding video parameter collection of the current image to be decoded.
  71. Video decoder according to claim 60, which is characterized in that the processor is also used to:
    When determining that the current image to be decoded not can be used as reference picture, determines that described image block is not used in and update the certain reference picture.
  72. Video solution device according to claim 60, which is characterized in that the certain reference picture is the reference picture as inter-prediction.
  73. The video decoder according to claim 72, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  74. A kind of machine readable storage medium, which is characterized in that be suitable for terminal, several computer instructions are stored on the machine readable storage medium, the computer instruction, which is performed, carries out the processing described in any item video encoding/decoding methods of claim 16-29.
  75. A kind of method of Video coding characterized by comprising
    When current image to be encoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is carried out more according to described image block Newly, wherein described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
  76. The method for video coding according to claim 75, which is characterized in that the method also includes:
    When current image to be encoded is not useable for updating certain reference picture, the specific image block in the certain reference picture is updated without the described image block in the current image to be encoded.
  77. The method for video coding according to claim 75, which is characterized in that the method also includes:
    When the current image to be encoded is intra-prediction image or is forward-predicted picture, determine that the current image to be encoded can be used as reference picture.
  78. The method for video coding according to claim 75, which is characterized in that the method also includes:
    When the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be encoded.
  79. The method for video coding according to claim 75, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be encoded is not more than M, and M is the integer not less than 1.
  80. The method for video coding according to claim 79, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the referring-to relation of the current image to be encoded.
  81. The method for video coding according to claim 80, which is characterized in that when the type difference of the current image to be encoded, the value of the corresponding M of the current image to be encoded is different.
  82. The method for video coding according to claim 80, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the total number of images of the current affiliated type of image to be encoded.
  83. The method for video coding according to claim 79, which is characterized in that described image block includes the pixel of preset quantity Color Channel,
    In the current image to be encoded in the sequence of the cost (cost) of each image block from small to large, the cost of described image block is located in preceding M, and the cost of described image block is not less than default value;Wherein,
    The cost of described image block is summation of the described image block in the pixel difference of each Color Channel;
    Described image block is that each pixel of described image block has the pixel of same position in the summation of the difference of the pixel value of the Color Channel in coded block respectively in the pixel difference of each Color Channel;
    The coded block is the image block of specific location in encoded image before the current image to be encoded.
  84. The method for video coding according to claim 75, which is characterized in that the method also includes:
    The flag bit of described image block is encoded, the flag bit is for identifying whether described image block is used to be updated the certain reference picture.
  85. The method for video coding according to claim 75, which is characterized in that the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded, comprising:
    The specific image block is identical as position of the described image block in the current image to be encoded in the position in the certain reference picture, alternatively,
    The specific image block is that position of the described image block in the current image to be encoded is obtained plus preset offset value in the position in the certain reference picture.
  86. The method for video coding according to claim 76, which is characterized in that the method also includes:
    When the current image to be encoded is not useable for inter-prediction, determine that the described image block in the current image to be encoded is not useable for updating the specific image block in the certain reference picture.
  87. The method for video coding according to claim 76, which is characterized in that the method also includes:
    When current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, determine that the described image block in the image to be encoded is not used in the specific image block updated in the certain reference picture.
  88. The method for video coding according to claim 76, which is characterized in that the method also includes:
    When current image to be encoded, which not can be used as short-term reference picture, not can be used as long term reference image yet, determine that the described image block in the image to be encoded is not used in the specific image block updated in the certain reference picture.
  89. The method for video coding according to claim 75 or 76, which is characterized in that the method also includes:
    When the current image to be encoded can be used for inter-prediction, determine that current image to be encoded can be used for updating the certain reference picture.
  90. The method for video coding according to claim 89, which is characterized in that the method also includes:
    When the current code image to be encoded is intra-prediction image or is forward-predicted picture, determine that current image to be encoded can be used for updating the certain reference picture.
  91. The method for video coding according to claim 75 or 76, which is characterized in that the method also includes:
    When current image to be encoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be encoded can be used for updating the certain reference picture.
  92. The method for video coding according to claim 75 or 76, which is characterized in that the method also includes:
    When current image to be encoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be encoded can be used for updating the certain reference picture.
  93. The method for video coding according to claim 75 or 76, which is characterized in that the method also includes:
    When current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image block in the image to be encoded can be used for updating the certain reference picture.
  94. According to the described in any item method for video coding of claim 75,87,88,91,92,93, it is characterized in that, in at least one of following middle addition flag bit, the flag bit is used to identify not whether the image that can be used as short-term reference picture can be used for updating the certain reference picture:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  95. The method for video coding according to claim 94, which is characterized in that the flag bit is flexible time domain flag bit.
  96. The method for video coding according to claim 95, which is characterized in that
    When with flexible time domain demand, the value of the flag bit, which is used to indicate, to be not useable for updating the certain reference picture for the image block in the image of short-term reference picture;And/or
    When not having flexible time domain demand, the value of the flag bit, which is used to indicate, can be used for updating the certain reference picture for the image block in the image of short-term reference picture.
  97. The method for video coding according to claim 75, which is characterized in that the certain reference picture is the image that can be used for inter-prediction.
  98. The method for video coding according to claim 97, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  99. The method for video coding according to claim 75, which is characterized in that the judgement image block can be used for updating the method for certain reference picture, comprising:
    Judge that image block can be used for updating certain reference picture according to the Pixel Information of the Pixel Information of described image block and coded block, wherein the coded block is the image block of specific location in encoded image before the current image to be encoded.
  100. The method for video coding according to claim 99, it is characterised in that: described to judge that image block can be used for updating certain reference picture according to described image block and coded block, comprising:
    Judge that image block can be used for updating certain reference picture according at least one of following:
    The sum of all pixels of the chromatic component of the pixel value of chromatic component between the sum of all pixels of the luminance component of the pixel value of luminance component between described image block and the coded block, described image block and/or the coded block, described image block and the coded block, described image block and/or the coded block.
  101. A kind of video encoding/decoding method characterized by comprising
    When current image to be decoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
  102. Video encoding/decoding method described in 01 according to claim 1, which is characterized in that the method also includes:
    When current image to be decoded is not useable for updating certain reference picture, the specific image block in the certain reference picture is updated without the described image block in the current image to be decoded.
  103. Video encoding/decoding method described in 01 according to claim 1, which is characterized in that the method also includes:
    Obtain the flag bit of described image block;
    Determine that described image block can be used for updating certain reference picture according to the flag bit.
  104. Video encoding/decoding method described in 01 according to claim 1, which is characterized in that the method also includes:
    Obtain the parameter or flag bit for being used to indicate the referring-to relation of the current image to be decoded;
    Determine that the current image to be decoded can be used for updating certain reference picture according to the parameter or flag bit.
  105. Video encoding/decoding method described in 04 according to claim 1, which is characterized in that the acquisition is used to indicate the parameter or flag bit of the referring-to relation of the current image to be decoded, comprising:
    The parameter or flag bit of the referring-to relation of the current image to be decoded are used to indicate from least one of following middle acquisition:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  106. Video encoding/decoding method described in 01 according to claim 1, which is characterized in that the method also includes:
    When the current image to be decoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.
  107. Video encoding/decoding method described in 01 according to claim 1, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be decoded is M, and M is the integer not less than 1.
  108. Video encoding/decoding method described in 07 according to claim 1, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the referring-to relation of the current image to be decoded.
  109. Video encoding/decoding method described in 08 according to claim 1, which is characterized in that when the type difference of the current image to be decoded, the value of the corresponding M of the current image to be decoded is different.
  110. Video encoding/decoding method described in 08 according to claim 1, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the total number of images of the current affiliated type of image to be decoded.
  111. Video encoding/decoding method described in 07 according to claim 1, which is characterized in that include the quantity that can be used for updating the image block of the certain reference picture in the current image to be decoded at least one of following:
    The image head of the current image to be decoded, the picture parameter set of the current decoding image, the corresponding sequence head of the current image to be decoded, the corresponding sequence parameter set of the current image to be decoded, the corresponding video parameter collection of the current image to be decoded.
  112. Video encoding/decoding method described in 02 according to claim 1, which is characterized in that the method also includes:
    When determining that the current image to be decoded is not useable for carrying out inter-prediction except the image of the current image to be decoded, determine that described image block is not used in the specific image block updated in the certain reference picture.
  113. Video encoding/decoding method described in 02 according to claim 1, which is characterized in that the method also includes:
    When current image to be decoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image block in the image to be decoded is not used in the specific image block updated in the certain reference picture.
  114. Video encoding/decoding method described in 01 or 102 according to claim 1, which is characterized in that the method also includes:
    When the current image to be decoded can be used for inter-prediction, determine that current image to be decoded can be used for updating the certain reference picture.
  115. Video encoding/decoding method described in 14 according to claim 1, which is characterized in that the method also includes:
    When the current image to be decoded is intra-prediction image or is forward-predicted picture, determine that current image to be decoded can be used for updating the certain reference picture.
  116. Video encoding/decoding method described in 01 or 102 according to claim 1, which is characterized in that the method also includes:
    When current image to be decoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be decoded can be used for updating the certain reference picture.
  117. Video encoding/decoding method described in 01 or 102 according to claim 1, which is characterized in that the method also includes:
    When current image to be decoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be decoded can be used for updating the certain reference picture.
  118. Video encoding/decoding method described in 05 according to claim 1, which is characterized in that described The referring-to relation of current image to be decoded are as follows: the current band decoding image is short-term reference picture or long term reference image.
  119. Video encoding/decoding method described in 02 according to claim 1, which is characterized in that the method also includes:
    When current image to be decoded not can be used as short-term reference picture and not can be used as long term reference image, determine that the image block in the image to be decoded is not useable for updating the specific image block in the certain reference picture.
  120. 01,113,116,117,118,119 described in any item video encoding/decoding methods according to claim 1, which is characterized in that
    From at least one of following middle acquisition flag bit, the flag bit is for identifying whether the image to be decoded can be used for updating the certain reference picture:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  121. Video encoding/decoding method described in 20 according to claim 1, which is characterized in that the flag bit is flexible time domain flag bit.
  122. Video encoding/decoding method described in 20 or 121 according to claim 1, which is characterized in that
    When the flag bit or scalable flag bit are the first numerical value, the value of the flag bit, which is used to indicate, to be not useable for updating the certain reference picture for the image block in the image of short-term reference picture;And/or
    When the flag bit or scalable flag bit are second value, the value of the flag bit, which is used to indicate, can be used for updating the certain reference picture for the image block in the image of short-term reference picture.
  123. Video solution method described in 01 according to claim 1, which is characterized in that the certain reference picture is the image that can be used for inter-prediction.
  124. Video encoding/decoding method described in 23 according to claim 1, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  125. A kind of video coding apparatus characterized by comprising
    At least one processor, for storing computer executable instructions;
    At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
    When current image to be encoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be encoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded.
  126. Video coding apparatus described in 25 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be encoded is not useable for updating certain reference picture, the specific image block in the certain reference picture is updated without the described image block in the current image to be encoded.
  127. Video coding apparatus described in 25 according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be encoded is intra-prediction image or is forward-predicted picture, determine that the current image to be encoded can be used as reference picture.
  128. Video coding apparatus described in 25 according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be encoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be encoded.
  129. Video coding apparatus described in 25 according to claim 1, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be encoded is not more than M, and M is the integer not less than 1.
  130. Video coding apparatus described in 29 according to claim 1, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the referring-to relation of the current image to be encoded.
  131. Video coding apparatus described in 30 according to claim 1, which is characterized in that when the type difference of the current image to be encoded, the value of the corresponding M of the current image to be encoded is different.
  132. Video coding apparatus described in 30 according to claim 1, which is characterized in that the value of the corresponding M of the current image to be encoded is determined based on the total number of images of the current affiliated type of image to be encoded.
  133. Video coding apparatus described in 29 according to claim 1, which is characterized in that described image block includes the pixel of preset quantity Color Channel,
    In the current image to be encoded in the sequence of the cost (cost) of each image block from small to large, The cost of described image block is located in preceding M, and the cost of described image block is not less than default value;Wherein,
    The cost of described image block is summation of the described image block in the pixel difference of each Color Channel;
    Described image block is that each pixel of described image block has the pixel of same position in the summation of the difference of the pixel value of the Color Channel in coded block respectively in the pixel difference of each Color Channel;
    The coded block is the image block of specific location in encoded image before the current image to be encoded.
  134. Video coding apparatus described in 25 according to claim 1, which is characterized in that the processor is also used to:
    The flag bit of described image block is encoded, the flag bit is for identifying whether described image block is used to be updated the certain reference picture.
  135. Video coding apparatus described in 25 according to claim 1, which is characterized in that the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be encoded, comprising:
    The specific image block is identical as position of the described image block in the current image to be encoded in the position in the certain reference picture, alternatively,
    The specific image block is that position of the described image block in the current image to be encoded is obtained plus preset offset value in the position in the certain reference picture.
  136. Video coding apparatus described in 26 according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be encoded is not useable for inter-prediction, determine that the described image block in the current image to be encoded is not useable for updating the specific image block in the certain reference picture.
  137. Video coding apparatus described in 26 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, determine that the described image block in the image to be encoded is not used in the specific image block updated in the certain reference picture.
  138. Video coding apparatus described in 26 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be encoded, which not can be used as short-term reference picture, not can be used as long term reference image yet, Determine that the described image block in the image to be encoded is not used in the specific image block updated in the certain reference picture.
  139. Video coding apparatus described in 25 or 126 according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be encoded can be used for inter-prediction, determine that current image to be encoded can be used for updating the certain reference picture.
  140. Video coding apparatus described in 39 according to claim 1, which is characterized in that the processor is also used to:
    When the current code image to be encoded is intra-prediction image or is forward-predicted picture, determine that current image to be encoded can be used for updating the certain reference picture.
  141. Video coding apparatus described in 25 or 126 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be encoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be encoded can be used for updating the certain reference picture.
  142. Video coding apparatus described in 25 or 126 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be encoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be encoded can be used for updating the certain reference picture.
  143. Video coding apparatus described in 25 or 126 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be encoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image block in the image to be encoded can be used for updating the certain reference picture.
  144. 25,137,138,141,142,143 described in any item video coding apparatus according to claim 1, it is characterized in that, in at least one of following middle addition flag bit, the flag bit is used to identify not whether the image that can be used as short-term reference picture can be used for updating the certain reference picture:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  145. Video coding apparatus described in 44 according to claim 1, which is characterized in that the flag bit is flexible time domain flag bit.
  146. Video coding apparatus described in 45 according to claim 1, which is characterized in that
    When with flexible time domain demand, the value of the flag bit, which is used to indicate, to be not useable for updating the certain reference picture for the image block in the image of short-term reference picture;And/or
    When not having flexible time domain demand, the value of the flag bit, which is used to indicate, can be used for updating the certain reference picture for the image block in the image of short-term reference picture.
  147. Video coding apparatus described in 25 according to claim 1, which is characterized in that the certain reference picture is the image that can be used for inter-prediction.
  148. Video coding apparatus described in 47 according to claim 1, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  149. Video coding apparatus described in 25 according to claim 1, which is characterized in that the judgement image block can be used for updating the device of certain reference picture, comprising:
    Judge that image block can be used for updating certain reference picture according to the Pixel Information of the Pixel Information of described image block and coded block, wherein the coded block is the image block of specific location in encoded image before the current image to be encoded.
  150. Video coding apparatus described in 49 according to claim 1, it is characterised in that: described to judge that image block can be used for updating certain reference picture according to described image block and coded block, comprising:
    Judge that image block can be used for updating certain reference picture according at least one of following:
    The sum of all pixels of the chromatic component of the pixel value of chromatic component between the sum of all pixels of the luminance component of the pixel value of luminance component between described image block and the coded block, described image block and/or the coded block, described image block and the coded block, described image block and/or the coded block.
  151. A kind of video decoder characterized by comprising
    At least one processor, for storing computer executable instructions;
    At least one processor, is individually or jointly used for: at least one processor accessed, and executes the computer executable instructions, to implement following operation:
    When current image to be decoded can be used for updating certain reference picture, and when image block can be used for updating certain reference picture, the specific image block in certain reference picture is updated according to described image block, wherein, described image block is an image block in the current image to be decoded, and the specific image block is determined in the position in the certain reference picture by position of the described image block in the current image to be decoded.
  152. Video decoder described in 51 according to claim 1, which is characterized in that the processing Device is also used to:
    When current image to be decoded is not useable for updating certain reference picture, specific image block in the certain reference picture is updated without the described image block of the current image to be decoded.
  153. Video decoder described in 51 according to claim 1, which is characterized in that the processor is also used to:
    Obtain the flag bit of described image block;
    Determine that described image block can be used for updating certain reference picture according to the flag bit.
  154. Video decoder described in 51 according to claim 1, which is characterized in that the processor is also used to:
    Obtain the parameter or flag bit for being used to indicate the referring-to relation of the current image to be decoded;
    Determine that the current image to be decoded can be used for updating certain reference picture according to the parameter or flag bit.
  155. Video decoder described in 54 according to claim 1, which is characterized in that the acquisition is used to indicate the parameter or flag bit of the referring-to relation of the current image to be decoded, comprising:
    The parameter or flag bit of the referring-to relation of the current image to be decoded are used to indicate from least one of following middle acquisition:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  156. Video decoder described in 51 according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be decoded is intra-prediction image and/or random access point, all images block of the certain reference picture is updated according to all images block of the current image to be decoded.
  157. Video decoder described in 51 according to claim 1, which is characterized in that the quantity for the image block that can be used for updating the certain reference picture in the current image to be decoded is M, and M is the integer not less than 1.
  158. Video decoder described in 57 according to claim 1, which is characterized in that the value of the corresponding M of the current image to be decoded is determined based on the referring-to relation of the current image to be decoded.
  159. Video decoder described in 58 according to claim 1, which is characterized in that when the type difference of the current image to be decoded, the value of the corresponding M of the current image to be decoded is different.
  160. Video decoder described in 58 according to claim 1, which is characterized in that described current The value of the corresponding M of image to be decoded is determined based on the total number of images of the current affiliated type of image to be decoded.
  161. Video decoder described in 57 according to claim 1, which is characterized in that include the quantity that can be used for updating the image block of the certain reference picture in the current image to be decoded at least one of following:
    The image head of the current image to be decoded, the picture parameter set of the current decoding image, the corresponding sequence head of the current image to be decoded, the corresponding sequence parameter set of the current image to be decoded, the corresponding video parameter collection of the current image to be decoded.
  162. Video decoder described in 52 according to claim 1, which is characterized in that the processor is also used to:
    When determining that the current image to be decoded is not useable for carrying out inter-prediction except the image of the current image to be decoded, determine that the described image block in the image to be decoded is not used in the specific image block updated in the certain reference picture.
  163. Video decoder described in 52 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be decoded can be used as short-term reference picture but not can be used as long term reference image, determine that the image block in the image to be decoded is not used in the specific image block updated in the certain reference picture.
  164. Video decoder described in 51 or 152 according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be decoded can be used for inter-prediction, determine that current image to be decoded can be used for updating the certain reference picture.
  165. Video decoder described in 64 according to claim 1, which is characterized in that the processor is also used to:
    When the current image to be decoded is intra-prediction image or is forward-predicted picture, determine that current image to be decoded can be used for updating the certain reference picture.
  166. Video decoder described in 51 or 152 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be decoded not can be used as short-term reference picture but can be used as long term reference image, determine that the image to be decoded can be used for updating the certain reference picture.
  167. Video decoder described in 51 or 152 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be decoded can be used as short-term reference picture and can be used as long term reference image, determine that the image block in the image to be decoded can be used for updating the certain reference picture.
  168. Video decoder described in 54 according to claim 1, which is characterized in that the referring-to relation of the current image to be decoded are as follows: the current band decoding image is short-term reference picture or long term reference image.
  169. Video decoder described in 52 according to claim 1, which is characterized in that the processor is also used to:
    When current image to be decoded not can be used as short-term reference picture and not can be used as long term reference image, determine that the image block in the image to be decoded is not useable for updating the certain reference picture.
  170. 51,163,166,167,168,169 described in any item video decoders according to claim 1, which is characterized in that the processor is also used to:
    From at least one of following middle acquisition flag bit, the flag bit is for identifying whether the image to be decoded can be used for updating the certain reference picture:
    Video parameter collection, sequence parameter set, sequence head, picture parameter set, image head, slice header, reference picture collection, reference configuration collection.
  171. Video decoder described in 70 according to claim 1, which is characterized in that the flag bit is flexible time domain flag bit.
  172. Video decoder described in 70 or 171 according to claim 1, which is characterized in that
    When the flag bit or scalable flag bit are the first numerical value, the value of the flag bit, which is used to indicate, to be not useable for updating the certain reference picture for the image block in the image of short-term reference picture;And/or
    When the flag bit or scalable flag bit are second value, the value of the flag bit, which is used to indicate, can be used for updating the certain reference picture for the image block in the image of short-term reference picture.
  173. Video solution device described in 51 according to claim 1, which is characterized in that the certain reference picture is the image that can be used for inter-prediction.
  174. Video decoder described in 73 according to claim 1, which is characterized in that the certain reference picture is long term reference frame, is perhaps background frames or is gold frame.
  175. A kind of machine readable storage medium, which is characterized in that be suitable for terminal, the machine can It reads to be stored with several computer instructions on storage medium, the computer instruction, which is performed, carries out the processing described in any item method for video coding of claim 75-100.
  176. A kind of machine readable storage medium, which is characterized in that be suitable for terminal, several computer instructions are stored on the machine readable storage medium, the computer instruction, which is performed, carries out the processing described in any item video encoding/decoding methods of claim 101-124.
CN201780084713.2A 2017-06-08 2017-06-08 Video encoding method, video decoding method and related devices Active CN110235446B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/087633 WO2018223353A1 (en) 2017-06-08 2017-06-08 Video coding method, video decoding method, and related device

Publications (2)

Publication Number Publication Date
CN110235446A true CN110235446A (en) 2019-09-13
CN110235446B CN110235446B (en) 2024-04-12

Family

ID=64565611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780084713.2A Active CN110235446B (en) 2017-06-08 2017-06-08 Video encoding method, video decoding method and related devices

Country Status (2)

Country Link
CN (1) CN110235446B (en)
WO (1) WO2018223353A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127912A (en) * 2007-09-14 2008-02-20 浙江大学 Video coding method for dynamic background frames
CN101272494A (en) * 2008-01-25 2008-09-24 浙江大学 Video encoding/decoding method and device using synthesized reference frame
WO2014030920A1 (en) * 2012-08-21 2014-02-27 삼성전자 주식회사 Inter-layer video coding method and device for predictive information based on tree structure coding unit, and inter-layer video decoding method and device for predictive information based on tree structure coding unit
CN104717511A (en) * 2013-12-13 2015-06-17 联发科技(新加坡)私人有限公司 Video coding or decoding method and device
CN106791829A (en) * 2016-11-18 2017-05-31 华为技术有限公司 The method for building up and equipment of virtual reference frame

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687301B2 (en) * 2001-03-19 2004-02-03 Fulvio Moschetti Method for block matching motion estimation in digital video sequences
CN101415115B (en) * 2007-10-15 2011-02-02 华为技术有限公司 Method for encoding and decoding video based on movement dancing mode, and encoder and decoder thereof
US8363727B2 (en) * 2008-09-30 2013-01-29 Microsoft Corporation Techniques to perform fast motion estimation
CN106534871B (en) * 2016-12-06 2019-06-07 北京大学 The coding method of Video Codec and coding/decoding method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127912A (en) * 2007-09-14 2008-02-20 浙江大学 Video coding method for dynamic background frames
CN101272494A (en) * 2008-01-25 2008-09-24 浙江大学 Video encoding/decoding method and device using synthesized reference frame
WO2014030920A1 (en) * 2012-08-21 2014-02-27 삼성전자 주식회사 Inter-layer video coding method and device for predictive information based on tree structure coding unit, and inter-layer video decoding method and device for predictive information based on tree structure coding unit
CN104717511A (en) * 2013-12-13 2015-06-17 联发科技(新加坡)私人有限公司 Video coding or decoding method and device
CN106791829A (en) * 2016-11-18 2017-05-31 华为技术有限公司 The method for building up and equipment of virtual reference frame

Also Published As

Publication number Publication date
WO2018223353A1 (en) 2018-12-13
CN110235446B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
US11375229B2 (en) Method, device, and computer program for optimizing transmission of motion vector related information when transmitting a video stream from an encoder to a decoder
CN105900420B (en) Select motion vector accuracy
CN105874795B (en) When wavefront parallel processing is activated to the rule of intra-picture prediction mode
CN105264888B (en) Coding strategy for adaptively switching to color space, color samples rate and/or bit-depth
RU2613738C2 (en) Signaling of state information for decoded picture buffer and reference picture lists
US20110129016A1 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
CN102150428A (en) System and method for video encoding using adaptive segmentation
US20190335179A1 (en) Decoded picture buffer management for handling cross-picture data prediction
CN115243048B (en) Video image decoding and encoding method and device
CN115567713B (en) Decoding method and decoding device based on sub-images and device for storing code stream
CN105872556B (en) Video encoding method and apparatus
CN111447452B (en) Data coding method and system
CN110913215B (en) Method and device for selecting prediction mode and readable storage medium
CN110868590B (en) Image dividing method and device
CN110235446A (en) Method for video coding, video encoding/decoding method and relevant apparatus
CN111277840A (en) Transform method, inverse transform method, video encoder and video decoder
CN117616751A (en) Video encoding and decoding of moving image group
CN112135128B (en) Image prediction method, coding tree node division method and device thereof
WO2024197744A1 (en) Decoding method, encoding method, decoder, and encoder
RU2783337C2 (en) Method for video decoding and video decoder
CN111479111B (en) Method and device for determining image display sequence and video encoding and decoding equipment
KR100968808B1 (en) Variable length code decoding system and decoding method thereof
US10063853B2 (en) Efficient error recovery
CN117397238A (en) Encoding and decoding method and device
CN118020290A (en) System and method for encoding and decoding video with memory efficient prediction mode selection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant