CN106534871A - Coding method and decoding method for video codec - Google Patents

Coding method and decoding method for video codec Download PDF

Info

Publication number
CN106534871A
CN106534871A CN201611108487.0A CN201611108487A CN106534871A CN 106534871 A CN106534871 A CN 106534871A CN 201611108487 A CN201611108487 A CN 201611108487A CN 106534871 A CN106534871 A CN 106534871A
Authority
CN
China
Prior art keywords
image
decoded
current
reference frame
frame
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
CN201611108487.0A
Other languages
Chinese (zh)
Other versions
CN106534871B (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.)
Peking University
Original Assignee
Peking University
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 Peking University filed Critical Peking University
Priority to CN201611108487.0A priority Critical patent/CN106534871B/en
Publication of CN106534871A publication Critical patent/CN106534871A/en
Application granted granted Critical
Publication of CN106534871B publication Critical patent/CN106534871B/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/57Motion estimation characterised by a search window with variable size or shape

Abstract

The invention provides a coding method and a decoding method for a video codec. The coding method comprises steps that a present to-be-coded image and a construction reference frame corresponding to a previous coded image of the present to-be-coded image are acquired; the construction reference frame corresponding to the previous coded image is updated according to the coded image, the construction reference frame corresponding to the previous coded image after update is taken as a construction reference frame corresponding to the present to-be-coded image; the construction reference frame corresponding to the present to-be-coded image is taken as a reference image, and the present to-be-coded image is coded. The coding method is advantaged in that coding and decoding performance can be improved.

Description

The coding method of Video Codec and coding/decoding method
Technical field
The present invention relates to belong to the video coding and decoding technology field in digital media processing technology, more particularly to video compiles solution The coding method of code device and coding/decoding method.
Background technology
Existing method for video coding is usually used the image of encoded mistake as reference frame.Exist in view of in cataloged procedure Quantify loss, pixel value included in reference frame not necessarily most reference value;Meanwhile, the selection of reference frame is not Have and make full use of above encoded great amount of images information.Therefore, prediction to current image some regions to be encoded is simultaneously forbidden Really, cause coding efficiency low.
The content of the invention
The embodiment provides a kind of coding method of Video Codec and coding/decoding method, it is possible to increase compile solution Code performance.
A kind of coding method of Video Codec, including:
Before the encoded image of the former frame of the current image to be encoded of acquisition and the current image to be encoded is corresponding The corresponding structure reference frame of one frame encoded image;The reference frame that builds is the front cross frame according to the current image to be encoded Encoded image and the corresponding prognostic chart picture of the front cross frame encoded image are produced;
The corresponding structure reference frame of the former frame encoded image is updated according to the encoded image, after renewal The corresponding reference frame that builds of the former frame encoded image is used as the corresponding currently figure to be encoded of the current image to be encoded As corresponding structure reference frame;
Using the currently image to be encoded corresponding current image to be encoded corresponding reference frame that builds as reference picture, The current image to be encoded is encoded.
It is described that the corresponding structure reference frame of the former frame encoded image is updated according to the encoded image, will update The rear former frame encoded image is corresponding to be built reference frame current image to be encoded is corresponding currently waits to compile as described Code image it is corresponding build reference frame the step of include:
The relation between prognostic chart picture according to corresponding to the current encoded image and the current encoded image, Calculate the coded residual of each location of pixels of the current encoded image;
According to the coded residual of each location of pixels of the current encoded image, to the former frame encoded image The pixel value of corresponding each location of pixels for building reference frame is processed, and the generation current image to be encoded is corresponding to work as The corresponding structure reference frame of front image to be encoded.
The coded residual of each location of pixels according to the current encoded image, it is encoded to the former frame The pixel value of corresponding each location of pixels for building reference frame of image is processed, and generates the current image correspondence to be encoded Image current to be encoded it is corresponding build reference frame the step of include:
Whether step a, judge the coded residual of current pixel position of the current encoded image less than threshold value;Work as institute State judged result be less than when, then jump to step b, otherwise, jump to step c;
Step b, updates the pixel value of the corresponding current pixel position for building reference frame of the former frame encoded image;
Step c, does not update the pixel of the corresponding current pixel position for building reference frame of the former frame encoded image Value;
According to step a- step c, each location of pixels for building reference frame corresponding to the former frame encoded image Pixel value processed, generate the corresponding structure reference frame of current image to be encoded.
Before step a, methods described also includes:
Judge whether the place predicting unit of the current pixel position of the current encoded image is compiled using skip mode Code;
When the judged result is to be, then step c is jumped to;Otherwise, jump to step a.
It is described update the former frame encoded image it is corresponding build reference frame current pixel position the step of include:
By the pixel value of the current pixel position of the current encoded image and the former frame encoded image Being weighted with the pixel value of the current pixel position corresponding position in corresponding structure reference frame, is generated and calculates knot Really;
Using the result of calculation, the corresponding described current picture for building reference frame of the former frame encoded image is updated The pixel value of plain position corresponding position.
When the current image to be encoded is the first frame, the image of the former frame of the current image to be encoded is corresponding The corresponding value for building reference frame of former frame encoded image is set to 0.
The pixel value of the current pixel position by the current encoded image is encoded with the former frame The corresponding pixel value with the current pixel position corresponding position that is building in reference frame of image is weighted, and generates and calculates As a result the step of, includes:
P `R(i, j)=PR(i,j)*w1+Prec(i,j)*w2
Wherein, (i, j) is current pixel position, Prec(i, j) is the pixel of the current pixel position of current encoded image Value, PRThe pixel value of (i, j) for the corresponding current pixel position for building reference frame of former frame encoded image;P `R(i, j) is Result of calculation;w1With w2Respectively the first weight and the second weight, w1+ w2=1.
A kind of coding/decoding method of Video Codec, including:
Before the image of decoding of the former frame of the current image to be decoded of acquisition and the current image to be decoded is corresponding One frame has decoded the corresponding structure reference frame of image;The reference frame that builds is the front cross frame according to the current image to be decoded The corresponding prognostic chart picture of the image of decoding for decoding image and the front cross frame produce;
According to it is described decoded image update described in former frame decoded the corresponding structure reference frame of image, after renewal The former frame has decoded the corresponding reference frame that builds of image as the corresponding structure reference frame of the current image to be decoded;
Using the current image to be decoded corresponding reference frame that builds as reference picture, to the current image to be decoded Decoded.
Former frame described in image update is decoded described in the basis and has decoded the corresponding structure reference frame of image, will have been updated The former frame afterwards has decoded the corresponding reference frame that builds of image and has built reference as the current image to be decoded is corresponding The step of frame, includes:
According to it is described currently decoded image and it is described currently decoded image corresponding to prognostic chart picture between relation, Calculate the decoded residual of each location of pixels for currently having decoded image;
According to the decoded residual of each location of pixels for currently having decoded image, image is decoded to the former frame The pixel value of corresponding each location of pixels for building reference frame is processed, and generates the corresponding structure of the image currently to be decoded Build reference frame.
The decoded residual according to each location of pixels for currently having decoded image, is decoded to the former frame The pixel value of corresponding each location of pixels for building reference frame of image is processed, and generates the current image correspondence to be decoded Structure reference frame the step of include:
Whether step a, judge the decoded residual of the current pixel position for currently having decoded image less than threshold value;Work as institute State judged result be less than when, then jump to step b, otherwise, jump to step c;
Step b, updates the pixel value that the former frame has decoded the corresponding current pixel position for building reference frame of image;
Step c, does not update the pixel that the former frame has decoded the corresponding current pixel position for building reference frame of image Value;
According to step a- step c, corresponding each location of pixels for building reference frame of image is decoded to the former frame Pixel value processed, generate the corresponding structure reference frame of current image to be decoded.
Before step a, methods described also includes:
Judge the place predicting unit of the current pixel position for currently having decoded image whether using skip mode solution Code;
When the judged result is to be, then step c is jumped to;Otherwise, jump to step a.
Described renewal the step of the former frame has decoded the current pixel position of the corresponding structure reference frame of image includes:
The pixel value of the current pixel position for currently having decoded image image has been decoded into the former frame Being weighted with the pixel value of the current pixel position corresponding position in corresponding structure reference frame, is generated and calculates knot Really;
Using the result of calculation, update the former frame and decoded the corresponding described current picture for building reference frame of image The pixel value of plain position corresponding position.
When the current image to be decoded is the first frame, the image of the former frame of the current image to be decoded is corresponding Former frame has decoded the corresponding value for building reference frame of image and has been set to 0.
The pixel value by the current pixel position for currently having decoded image is decoded with the former frame The corresponding pixel value with the current pixel position corresponding position that is building in reference frame of image is weighted, and generates and calculates As a result the step of, includes:
P `R(i, j)=PR(i,j)*w1+Prec(i,j)*w2
Wherein, (i, j) is current pixel position, Prec(i, j) is the pixel of the current pixel position for currently having decoded image Value, PR(i, j) has decoded the pixel value of the corresponding current pixel position for building reference frame of image for former frame;P `R(i, j) is Result of calculation;w1With w2Respectively the first weight and the second weight, w1+ w2=1.
The technical scheme provided by embodiments of the invention described above is can be seen that in the embodiment of the present invention, builds reference frame Selection utilization above encoding and decoding image information, it is possible to increase encoding and decoding performances.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to using needed for embodiment description Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill of field, without having to pay creative labor, can be obtaining other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of schematic diagram of the coding method of Video Codec that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic diagram of the coding/decoding method of Video Codec that the embodiment of the present invention one is provided;
Fig. 3 be the embodiment of the present invention described in Video Codec coding method in build reference frame generation with it is adaptive Answer the schematic diagram of update method;
Fig. 4 be the embodiment of the present invention described in Video Codec coding/decoding method in build reference frame generation with it is adaptive Answer the schematic diagram of update method.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the drawings, wherein ad initio Same or similar element or the element with same or like function are represented to same or similar label eventually.Below by ginseng The embodiment for examining Description of Drawings is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
For ease of the understanding to the embodiment of the present invention, do by taking several specific embodiments as an example further below in conjunction with accompanying drawing Explanation, and each embodiment does not constitute the restriction to the embodiment of the present invention.
As shown in figure 1, for a kind of coding method of Video Codec of the present invention, including:
Step 11, obtains the encoded image pair of the former frame of current image to be encoded and the current image to be encoded The corresponding structure reference frame of former frame encoded image answered;The structure reference frame is according to the current image to be encoded The corresponding prognostic chart picture of encoded image of the encoded image of front cross frame and the front cross frame is produced;When described current to be encoded When image is the first frame, the corresponding structure of the corresponding former frame encoded image of image of the former frame of the current image to be encoded The value for building reference frame is set to 0.
Step 12, updates the corresponding structure reference frame of the former frame encoded image according to the encoded image, will The corresponding structure reference frame of the former frame encoded image after renewal is corresponding current as the current image to be encoded The corresponding structure reference frame of image to be encoded;
Step 13, using the currently image to be encoded corresponding current image to be encoded corresponding reference frame that builds as ginseng Image is examined, the current image to be encoded is encoded.
In the present invention, the present invention does not directly use a certain encoded image as reference frame, and adopts following calculations Method builds a brand-new reference frame, improves encoding characteristics.
Step 12 includes:
Step 121, the prognostic chart picture according to corresponding to the current encoded image is with the current encoded image it Between relation, calculate the coded residual of each location of pixels of the current encoded image;Coded residual is encoded image Difference between corresponding prognostic chart picture.
Step 122, according to the coded residual of each location of pixels of the current encoded image, to the former frame The pixel value of corresponding each location of pixels for building reference frame of coded image is processed, and generates the current image to be encoded The corresponding structure reference frame of corresponding current image to be encoded.
In one embodiment, step 122 includes:
Whether step a, judge the coded residual of current pixel position of the current encoded image less than threshold value;Work as institute State judged result be less than when, then jump to step b, otherwise, jump to step c;
Step b, updates the pixel value of the corresponding current pixel position for building reference frame of the former frame encoded image;
Step c, does not update the pixel of the corresponding current pixel position for building reference frame of the former frame encoded image Value;
According to step a- step c, each location of pixels for building reference frame corresponding to the former frame encoded image Pixel value processed, generate the corresponding structure reference frame of current image to be encoded.
Step b includes:
Step b1, the pixel value of the current pixel position of the current encoded image and the former frame are compiled The corresponding pixel value with the current pixel position corresponding position that is building in reference frame of code image is weighted, and generates meter Calculate result;The pixel value of the current pixel position by the current encoded image and the encoded figure of the former frame As the corresponding pixel value with the current pixel position corresponding position that is building in reference frame is weighted, generates and calculate knot The step of fruit, includes:
P `R(i, j)=PR(i,j)*w1+Prec(i,j)*w2
Wherein, (i, j) is current pixel position, Prec(i, j) is the pixel of the current pixel position of current encoded image Value, PRThe pixel value of (i, j) for the corresponding current pixel position for building reference frame of former frame encoded image;P `R(i, j) is Result of calculation;w1With w2Respectively the first weight and the second weight, w1+ w2=1.
Step b2, using the result of calculation, updates the corresponding institute for building reference frame of the former frame encoded image State the pixel value of current pixel position corresponding position.
In another embodiment, step 122 includes:
Step a, judges whether the place predicting unit of the current pixel position of the current encoded image adopts and skips Pattern-coding;
Whether step b, judge the coded residual of current pixel position of the current encoded image less than threshold value;Work as institute State judged result be less than when, then jump to step c, otherwise, jump to step d;
Step c, updates the pixel value of the corresponding current pixel position for building reference frame of the former frame encoded image;
Step d, does not update the pixel of the corresponding current pixel position for building reference frame of the former frame encoded image Value;
According to step a- step d, each location of pixels for building reference frame corresponding to the former frame encoded image Pixel value processed, generate the corresponding structure reference frame of current image to be encoded.
As shown in Fig. 2 for a kind of coding/decoding method of Video Codec of the present invention, including:
Step 21, obtains the decoding image pair of the former frame of current image to be decoded and the current image to be decoded The former frame answered has decoded the corresponding structure reference frame of image;The structure reference frame is according to the current image to be decoded The corresponding prognostic chart picture of the image of decoding of image and the front cross frame that decodes of front cross frame is produced;When described current to be decoded When image is the first frame, the corresponding former frame of image of the former frame of the current image to be decoded has decoded the corresponding structure of image The value for building reference frame is set to 0.
Step 22, according to it is described decoded image update described in former frame decoded the corresponding structure reference frame of image, will The former frame after renewal has decoded the corresponding reference frame that builds of image as the corresponding structure of the current image to be decoded Reference frame;
Step 23, using the current image to be decoded corresponding reference frame that builds as reference picture, currently treats to described Decoding image is decoded.
Step 22 includes:
Step 221, according to it is described currently decoded image with it is described currently decoded image corresponding to prognostic chart picture it Between relation, calculate the decoded residual of each location of pixels for currently having decoded image;
Step 222, according to the decoded residual of each location of pixels for currently having decoded image, to the former frame The pixel value of corresponding each location of pixels for building reference frame of decoding image is processed, and generates the current image to be decoded Corresponding structure reference frame.
In one embodiment, step 222 includes:
Whether step a, judge the decoded residual of the current pixel position for currently having decoded image less than threshold value;Work as institute State judged result be less than when, then jump to step b, otherwise, jump to step c;
Step b, updates the pixel value that the former frame has decoded the corresponding current pixel position for building reference frame of image;
Step c, does not update the pixel that the former frame has decoded the corresponding current pixel position for building reference frame of image Value;
According to step a- step c, corresponding each location of pixels for building reference frame of image is decoded to the former frame Pixel value processed, generate the corresponding structure reference frame of current image to be decoded.
In another embodiment, step 222 includes:
Step a, judges whether the place predicting unit of the current pixel position for currently having decoded image adopts and skips Mode decoding;When the judged result is to be, then step c is jumped to;Otherwise, jump to step a.
Whether step b, judge the decoded residual of the current pixel position for currently having decoded image less than threshold value;Work as institute State judged result be less than when, then jump to step c, otherwise, jump to step d;
Step c, updates the pixel value that the former frame has decoded the corresponding current pixel position for building reference frame of image;
Step d, does not update the pixel that the former frame has decoded the corresponding current pixel position for building reference frame of image Value;
According to step a- step d, corresponding each location of pixels for building reference frame of image is decoded to the former frame Pixel value processed, generate the corresponding structure reference frame of current image to be decoded.
Step c includes:
Step c1, the pixel value of the current pixel position for currently having decoded image is solved with the former frame The corresponding pixel value with the current pixel position corresponding position that is building in reference frame of code image is weighted, and generates meter Calculate result;The pixel value by the current pixel position for currently having decoded image and former frame decoding figure As the corresponding pixel value with the current pixel position corresponding position that is building in reference frame is weighted, generates and calculate knot The step of fruit, includes:P `R(i, j)=PR(i,j)*w1+Prec(i,j)*w2;
Wherein, (i, j) is current pixel position, Prec(i,j)The pixel of the current pixel position currently to have decoded image Value, PR(i, j) has decoded the pixel value of the corresponding current pixel position for building reference frame of image for former frame;P `R(i, j) is Result of calculation;w1With w2Respectively the first weight and the second weight, w1+ w2=1.
Step c2, using the result of calculation, updates the former frame and has decoded the corresponding institute for building reference frame of image State the pixel value of current pixel position corresponding position.
The application scenarios of the present invention are below described.
The present invention builds the generation of reference frame and adaptive updates method in providing a kind of Video Codec.
In an encoding process, first, generated using encoded image information and build reference frame;Then, to building reference Each pixel of frame carries out dynamic self-adapting renewal;Then, the image to be encoded of follow-up input can alternatively be used the structure Reference frame is predicted coding as reference picture.
Accordingly, in decoding process, first, generated using the decoded image information of preamble and build reference frame;Then, Each pixel to building reference frame carries out dynamic self-adapting renewal;Then, when structure of choosing of follow-up image to be decoded is joined When examining frame, decoded as reference picture using the structure reference frame.
The following specifically describes:
The present invention builds the generation of reference frame and adaptive updates method in proposing a kind of Video Codec.The method bag Include:
When cataloged procedure starts, generated using encoded image information and build reference frame;
The each pixel value for building reference frame is 0;
In an encoding process, according to the relation between the corresponding prognostic chart picture of encoded image, analyze each pixel The coded residual of position;
According to coded residual, judge whether the current pixel position for building reference frame needs to update;
The reference frame that builds through updating is predicted coding as the reference picture of the image to be encoded of follow-up input.
That is, the original pixel values for building reference frame are all 0;With the carrying out of cataloged procedure, pixel value therein Can constantly update;Updating principle is:Carry out judging whether to need to update according to coded residual;If updating, new picture is calculated Plain value simultaneously replaces the original pixel value in the position in structure reference frame.
Above-mentioned steps are specially:When cataloged procedure starts, each pixel value for building reference frame R is initialized as into 0.When the 0th After the completion of frame coding, the reconstruction image of the 0th frame and the relation of prognostic chart picture are analyzed, residual error between the two is obtained.To each pixel The residual error of position is analyzed;When residual absolute value is less than threshold θ, it is believed that the location of pixels for building reference frame needs more Newly, otherwise need not.For the location of pixels for needing to update in structure reference frame, new calculated for pixel values is as follows:
PR(i, j)=PR(i,j)*w1+Prec(i,j)*w2
Wherein, the position of (i, j) for current pixel, PrecFor encoded image (reconstruction image), w1With w2For weight.
Corresponding, in decoding process, methods described includes:
When decoding process starts, it is 0 to build each pixel value of reference frame;
When decoding process starts, according to the relation between the corresponding prognostic chart picture of current decoded image, analysis The coded residual of each location of pixels;
According to coded residual, judge to build whether reference frame current pixel position needs to update;
The reference frame that builds through updating is decoded as the reference picture of follow-up image to be decoded.
In a kind of Video Codec proposed by the present invention in the generation of reference frame and adaptive updates method, update and build The step of reference frame, is specially:
In an encoding process, for the location of pixels for needing to update in structure reference frame, using correspondence in encoded image The pixel value of position is weighted with the pixel value for building the position in reference frame, and result of calculation is used as in structure reference frame The new pixel value in the position.
Accordingly, generation and the adaptive updates side of reference frame are built in a kind of Video Codec proposed by the present invention Method, updates the step of building reference frame and is specially:
In decoding process, for the location of pixels that needs to update in reference frame is built, using currently having decoded in image The pixel value of correspondence position is weighted with the pixel value for building the position in reference frame, and result of calculation is referred to as building The new pixel value in the position in frame.
Build in a kind of Video Codec proposed by the present invention in generation and the adaptive updates method of reference frame, compiling During code, when the location of pixels place predicting unit of encoded image is encoded using skip mode, build in reference frame The location of pixels is not updated.
Accordingly, generation and the adaptive updates method of reference frame are built in a kind of Video Codec proposed by the present invention In, in an encoding process, when the location of pixels place predicting unit for currently having decoded image is encoded using skip mode, build The location of pixels in reference frame is not updated.
As shown in figure 3, currently will encode to the 3rd frame, generated using the 0th, 1,2 frame and build reference frame R, and by the 3rd Frame is used for inter-reference.As shown in figure 4, with the carrying out of cataloged procedure, it is to constantly update to build reference frame, it makes use of it The information of front encoded excessively all images.
The example realizes platform for HM16.1, and as shown in table 1, test result is as shown in table 2 basic configuration.
Table 1:
2 this method of table and HM16.1 coding efficiency Comparative results
Sequence sequences Y-component U components V component
Video sequence 1 (576p) - 0.9% - 3.5% - 5.2%
Video sequence 2 (720p) - 1.6% - 2.0% - 2.0%
Video sequence 3 (480p) - 1.3% - 2.3% - 2.9%
Video sequence 4 (1080p) - 1.0% - 0.8% - 0.7%
Average mean values - 1.20% - 2.15% - 2.70%
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, Should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claims It is defined.

Claims (10)

1. a kind of coding method of Video Codec, it is characterised in that include:
The corresponding structure of former frame encoded image for obtaining current image to be encoded and the current image to be encoded refers to Frame;The reference frame that builds is encoded according to the front cross frame encoded image and the front cross frame of the current image to be encoded The corresponding prognostic chart picture of image is produced;
The corresponding structure reference frame of the former frame encoded image is updated according to the encoded image, described in after renewal Reference frame is built as the corresponding structure reference frame of the current image to be encoded;
Using the current image to be encoded corresponding reference frame that builds as reference picture, the current image to be encoded is carried out Coding.
2. method according to claim 1, it is characterised in that described that the former frame is updated according to the encoded image The corresponding structure reference frame of encoded image, using renewal after the structure reference frame as the current image correspondence to be encoded Structure reference frame the step of include:
The relation between prognostic chart picture according to corresponding to the current encoded image and the current encoded image, calculates The coded residual of each location of pixels of the current encoded image;
According to the coded residual of each location of pixels of the current encoded image, to former frame encoded image correspondence The pixel value of each location of pixels of structure reference frame processed, generate that the current image to be encoded is corresponding to build ginseng Examine frame.
3. method according to claim 2, it is characterised in that described each pixel according to the current encoded image The coded residual of position, the pixel value of each location of pixels for building reference frame corresponding to the former frame encoded image are entered Row is processed, and generating the step of current image to be encoded is corresponding to build reference frame includes:
Whether step a, judge the coded residual of current pixel position of the current encoded image less than threshold value;Sentence when described Disconnected result be less than when, then jump to step b, otherwise, jump to step c;
Step b, updates the pixel value of the corresponding current pixel position for building reference frame of the former frame encoded image;
Step c, does not update the pixel value of the corresponding current pixel position for building reference frame of the former frame encoded image;
According to step a- step c, the picture of each location of pixels for building reference frame corresponding to the former frame encoded image Plain value is processed, and generates the corresponding structure reference frame of current image to be encoded.
4. method according to claim 3, it is characterised in that before step a, methods described also includes:
Judge whether the place predicting unit of the current pixel position of the current encoded image is encoded using skip mode;
When the judged result is to be, then step c is jumped to;Otherwise, jump to step a.
5. the method according to claim 3 or 4, it is characterised in that the renewal former frame encoded image correspondence Structure reference frame current pixel position the step of include:
The pixel value of the current pixel position of the current encoded image is corresponding with the former frame encoded image Build being weighted with the pixel value of the current pixel position corresponding position in reference frame, generate result of calculation;
Using the result of calculation, the corresponding current pixel position for building reference frame of the former frame encoded image is updated Put the pixel value of corresponding position.
6. a kind of coding/decoding method of Video Codec, it is characterised in that include:
Obtain the corresponding former frame of the image of decoding of the former frame of current image to be decoded and the current image to be decoded The corresponding structure reference frame of image is decoded;It is described build reference frame be according to the front cross frame of the current image to be decoded The corresponding prognostic chart picture of the image of decoding of decoding image and the front cross frame is produced;
According to it is described decoded image update described in former frame decoded the corresponding structure reference frame of image, described in after renewal Former frame has decoded the corresponding reference frame that builds of image as the corresponding structure reference frame of the current image to be decoded;
Using the current image to be decoded corresponding reference frame that builds as reference picture, the current image to be decoded is carried out Decoding.
7. method according to claim 6, it is characterised in that former frame described in image update has been decoded described in the basis Decoded the corresponding structure reference frame of image, using renewal after the former frame decoded image it is corresponding build reference frame as The current image to be decoded is corresponding to be included the step of build reference frame:
According to it is described currently decoded image and it is described currently decoded image corresponding to prognostic chart picture between relation, calculate The decoded residual of each location of pixels for currently having decoded image;
According to the decoded residual of each location of pixels for currently having decoded image, image correspondence is decoded to the former frame The pixel value of each location of pixels of structure reference frame processed, generate that the current image to be decoded is corresponding to build ginseng Examine frame.
8. method according to claim 7, it is characterised in that described according to described each pixel for currently having decoded image The decoded residual of position, the pixel value that corresponding each location of pixels for building reference frame of image has been decoded to the former frame are entered Row is processed, and generating the step of current image to be decoded is corresponding to build reference frame includes:
Whether step a, judge the decoded residual of the current pixel position for currently having decoded image less than threshold value;Sentence when described Disconnected result be less than when, then jump to step b, otherwise, jump to step c;
Step b, updates the pixel value that the former frame has decoded the corresponding current pixel position for building reference frame of image;
Step c, does not update the pixel value that the former frame has decoded the corresponding current pixel position for building reference frame of image;
According to step a- step c, the picture of corresponding each location of pixels for building reference frame of image is decoded to the former frame Plain value is processed, and generates the corresponding structure reference frame of current image to be decoded.
9. method according to claim 8, it is characterised in that before step a, methods described also includes:
Judge whether the place predicting unit of the current pixel position for currently having decoded image is decoded using skip mode;
When the judged result is to be, then step c is jumped to;Otherwise, jump to step a.
10. method according to claim 8 or claim 9, it is characterised in that the renewal former frame has decoded image correspondence Structure reference frame current pixel position the step of include:
The pixel value of the current pixel position for currently having decoded image image is decoded into the former frame corresponding Build being weighted with the pixel value of the current pixel position corresponding position in reference frame, generate result of calculation;
Using the result of calculation, update the former frame and decoded the corresponding current pixel position for building reference frame of image Put the pixel value of corresponding position.
CN201611108487.0A 2016-12-06 2016-12-06 The coding method of Video Codec and coding/decoding method Active CN106534871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611108487.0A CN106534871B (en) 2016-12-06 2016-12-06 The coding method of Video Codec and coding/decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611108487.0A CN106534871B (en) 2016-12-06 2016-12-06 The coding method of Video Codec and coding/decoding method

Publications (2)

Publication Number Publication Date
CN106534871A true CN106534871A (en) 2017-03-22
CN106534871B CN106534871B (en) 2019-06-07

Family

ID=58342693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611108487.0A Active CN106534871B (en) 2016-12-06 2016-12-06 The coding method of Video Codec and coding/decoding method

Country Status (1)

Country Link
CN (1) CN106534871B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018223353A1 (en) * 2017-06-08 2018-12-13 深圳市大疆创新科技有限公司 Video coding method, video decoding method, and related device
CN109618227A (en) * 2018-10-26 2019-04-12 西安科锐盛创新科技有限公司 Video data storage method and its system
CN112040234A (en) * 2020-11-04 2020-12-04 北京金山云网络技术有限公司 Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and storage medium
CN112291569A (en) * 2020-06-19 2021-01-29 珠海市杰理科技股份有限公司 Encoding method and device of H.264 image group, encoding and decoding chip and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104757A (en) * 1998-05-15 2000-08-15 North Carolina State University System and method of error control for interactive low-bit rate video transmission
CN101232619A (en) * 2008-01-25 2008-07-30 浙江大学 Video encoding method of embedding intraframe coding block
CN101237587A (en) * 2007-02-02 2008-08-06 中兴通讯股份有限公司 A video sequence coding method and its error control system
CN101355707A (en) * 2008-06-10 2009-01-28 西南交通大学 Error control method for demixing and encoding stereo video
CN103916667A (en) * 2013-01-07 2014-07-09 华为技术有限公司 Scalable video bit stream encoding and decoding method and device
CN104053009A (en) * 2013-03-15 2014-09-17 中兴通讯股份有限公司 Encoding method of monitoring video and device
US20160309192A1 (en) * 2008-09-11 2016-10-20 Google Inc. System and Method for Video Encoding Using Constructed Reference Frame
CN106488144A (en) * 2016-10-27 2017-03-08 浙江广播电视集团 The system and method that a kind of multi-source information convergence send studio real-time interactive to represent

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104757A (en) * 1998-05-15 2000-08-15 North Carolina State University System and method of error control for interactive low-bit rate video transmission
CN101237587A (en) * 2007-02-02 2008-08-06 中兴通讯股份有限公司 A video sequence coding method and its error control system
CN101232619A (en) * 2008-01-25 2008-07-30 浙江大学 Video encoding method of embedding intraframe coding block
CN101355707A (en) * 2008-06-10 2009-01-28 西南交通大学 Error control method for demixing and encoding stereo video
US20160309192A1 (en) * 2008-09-11 2016-10-20 Google Inc. System and Method for Video Encoding Using Constructed Reference Frame
CN103916667A (en) * 2013-01-07 2014-07-09 华为技术有限公司 Scalable video bit stream encoding and decoding method and device
CN104053009A (en) * 2013-03-15 2014-09-17 中兴通讯股份有限公司 Encoding method of monitoring video and device
CN106488144A (en) * 2016-10-27 2017-03-08 浙江广播电视集团 The system and method that a kind of multi-source information convergence send studio real-time interactive to represent

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TIEJUN HUANG ET AL: "Representing Visual Objects in HEVC Coding Loop", 《IEEE CIRCUITS AND SYSTEMS SOCIETY 》 *
郁梅: "应用于多视点视频压缩的多参考B帧快速编码算法", 《电子与信息学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018223353A1 (en) * 2017-06-08 2018-12-13 深圳市大疆创新科技有限公司 Video coding method, video decoding method, and related device
CN109618227A (en) * 2018-10-26 2019-04-12 西安科锐盛创新科技有限公司 Video data storage method and its system
CN112291569A (en) * 2020-06-19 2021-01-29 珠海市杰理科技股份有限公司 Encoding method and device of H.264 image group, encoding and decoding chip and electronic equipment
CN112040234A (en) * 2020-11-04 2020-12-04 北京金山云网络技术有限公司 Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and storage medium
CN112040234B (en) * 2020-11-04 2021-01-29 北京金山云网络技术有限公司 Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106534871B (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN106534871A (en) Coding method and decoding method for video codec
JP6149076B2 (en) Method and apparatus for palette index signaling for image and video encoding
CN113068032B (en) Image encoding/decoding method, encoder, decoder, and storage medium
CN100518315C (en) Coding/decoding apparatus adopting articulation improving technology and spatial scalable compression scheme, and method thereof
JP4555758B2 (en) Coding mode selection method for intra prediction in video compression
US20200007872A1 (en) Video decoding method, video decoder, video encoding method and video encoder
US10477249B2 (en) Video processing for masking coding artifacts using dynamic noise maps
JP2005130509A (en) Intra-prediction method and apparatus
CN101595736A (en) Distortion estimation
CA2490378A1 (en) Improved interpolation of video compression frames
CN107040785A (en) The method and apparatus of image decoding and Image Coding
CN102946505B (en) Self-adaptive motion detection method based on image block statistics
CN111263243B (en) Video coding method and device, computer readable medium and electronic equipment
CN1147154C (en) Method and apparatus for coding interlaced shape information
CN107404648A (en) A kind of multi-channel video code-transferring method based on HEVC
CN104853192A (en) Prediction mode selection method and device
CN109688407A (en) Reference block selection method, device, electronic equipment and the storage medium of coding unit
CN105898296A (en) Video coding frame selection method and device
CN106331700A (en) Coding and decoding methods of reference image, coding device, and decoding device
US11909999B2 (en) Coding management method and apparatus based on high efficiency video coding
CN107454414A (en) Image coding/decoding method and relevant apparatus
CN101742293B (en) Video motion characteristic-based image adaptive frame/field encoding method
US8275033B2 (en) Picture mode selection for video transcoding
CN108737819A (en) A kind of flexible coding unit division methods based on quaternary tree binary tree structure
CN108924551A (en) The prediction technique and relevant device of video image coding pattern

Legal Events

Date Code Title Description
C06 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