CN103916672B - A kind of data decoding method, relevant apparatus and system - Google Patents

A kind of data decoding method, relevant apparatus and system Download PDF

Info

Publication number
CN103916672B
CN103916672B CN201410109719.9A CN201410109719A CN103916672B CN 103916672 B CN103916672 B CN 103916672B CN 201410109719 A CN201410109719 A CN 201410109719A CN 103916672 B CN103916672 B CN 103916672B
Authority
CN
China
Prior art keywords
weighted value
weight
prediction
residual
weighted
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.)
Active
Application number
CN201410109719.9A
Other languages
Chinese (zh)
Other versions
CN103916672A (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.)
Migu Cultural Technology Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410109719.9A priority Critical patent/CN103916672B/en
Publication of CN103916672A publication Critical patent/CN103916672A/en
Application granted granted Critical
Publication of CN103916672B publication Critical patent/CN103916672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The embodiment of the invention discloses a kind of data-encoding scheme, including:Start advanced residual prediction ARP in data encoding processor;A kind of weighted value is chosen from default first weighted value and the second weighted value, carrying out residual weighted to prediction signal is superimposed the prediction signal corrected, and generates weight flag;The weight flag is used to indicate the weight value information chosen;Entropy code is carried out to the weight flag and is exported.The invention also discloses a kind of data decoding method, relevant apparatus and system, solves Weight computation complexity height in the prior art, causes the high technical problem of 3D coding and decoding video complexities, simplify ARP realization;And 1 number of bits is only needed in the transmission of weight flag, reduces the number of bits needed for transmission, improves communication efficiency.

Description

A kind of data decoding method, relevant apparatus and system
Technical field
The present invention relates to field of video image processing, more particularly to a kind of data decoding method, relevant apparatus and system.
Background technology
It is currently based in the video coding technique of block and usually eliminates the information redundancy between image using inter-frame prediction techniques, Inter-frame prediction techniques utilize the neighbouring redundancy that is encoded or having decoded image pixel information removal current image block of present image Information is to obtain residual error.
Due to that there may be similar picture material in the image of synchronization different points of view, therefore compiled in multi-angle video Code(Multi-view Video Coding, MVC)In, in order to further eliminate the information redundancy between different points of view image, interframe Predicting Technique includes regard between Predicting Technique, depending on prediction an encoding and decoding technique be that mixed encoding and decoding structure is compiled to residual signals Decoding.
In order to further improve encoding-decoding efficiency so that predicted video signal is more nearly with raw video signal, is subtracted Few residual signals, include advanced residual prediction in 3D coding and decoding videos(Advanced Residual Prediction, ARP)Technology.
The residual signals being superimposed in current ARP technologies employ three kinds of weight schemes to realize, need carry out 3 in coding side Then secondary cycle calculations select optimal weight and carry out coding transmission, final decoding end carries out corresponding decode.It is of the prior art Weight computation complexity is high, causes 3D coding and decoding videos complexity height, is unfavorable for realizing 3D coding and decoding videos.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of data-encoding scheme, data decoding method, Data coding device, data deciphering device and data coding/decoding system, reduce the encoding and decoding complexity to video or image.
In a first aspect, the embodiments of the invention provide a kind of data-encoding scheme, including:
Start advanced residual prediction ARP in data encoding processor;
A kind of weighted value is chosen from default first weighted value and the second weighted value, residual weighted is carried out to prediction signal It is superimposed the prediction signal corrected;And generate weight flag;The weight flag is used to indicate the weighted value letter chosen Breath;
Entropy code is carried out to the weight flag and is exported.
It is described to be weighed from default first weighted value and second with reference in a first aspect, in the first possible implementation A kind of weighted value is chosen in weight values, being superimposed the prediction signal corrected to prediction signal progress residual weighted includes:
According to default first weighted value and the second weighted value, residual signals weighted superposition prediction signal twice is carried out respectively Calculate, and count respective rate distorted result;
A kind of weighted value is chosen from first weighted value and the second weighted value according to the rate distorted result, to prediction Signal carries out residual weighted and is superimposed the prediction signal corrected.
With reference in a first aspect, or first aspect the first possible implementation, second of possible realization side In formula, first weighted value is 0, and second weighted value is 1.
With reference in a first aspect, either the first possible implementation of first aspect or second of possible realization Mode, it is described to start advanced residual prediction ARP in data encoding processor and specifically wrap in the third possible implementation Include:
When judging present encoding for the interframe of non-basic viewpoint or regarding coding, start advanced residual prediction ARP.
Second aspect, the embodiments of the invention provide a kind of data decoding method, including:
Start advanced residual prediction ARP in data decoding procedure;
According to the weight flag of reception, a kind of weighted value is chosen from default first weighted value and the second weighted value, Residual weighted is carried out to prediction signal to be superimposed to obtain the prediction signal of motion compensation;The weight flag is used to indicate in data The weight value information chosen in decoding process.
With reference to second aspect, in the first possible implementation, the weight flag according to reception, from default The first weighted value and the second weighted value in choose a kind of weighted value, residual weighted carried out to prediction signal be superimposed to obtain motion to mend The prediction signal repaid includes:
Entropy decoding is carried out to the weight flag by entropy code of reception, obtains the weight flag;
The weight value information indicated according to the weight flag, is selected from default first weighted value and the second weighted value A kind of weighted value is taken, carrying out residual weighted to prediction signal is superimposed to obtain the prediction signal of motion compensation.
It is described from pre- in second of possible implementation with reference to the first possible implementation of second aspect If the first weighted value and the second weighted value in choose a kind of weighted value, carrying out residual weighted to prediction signal is superimposed and is moved The prediction signal of compensation includes:
A kind of weighted value is chosen from default first weighted value and the second weighted value;
To currently the residual signals of reference block are multiplied by the weighted value of the selection corresponding to be decoded piece, be added to described treat Motion compensation calculations are carried out in the prediction signal of decoding block, obtain the prediction signal of motion compensation.
With reference to second aspect, either second of the possible implementation of the first of second aspect or second aspect Possible implementation, in the third possible implementation, first weighted value is 0, and second weighted value is 1.
The third aspect, the embodiments of the invention provide a kind of data coding device, including advanced residual prediction ARP coding moulds Block, the ARP computing modules include:
Start unit is encoded, for starting advanced residual prediction ARP in data encoding processor;
Weight chooses unit, for choosing a kind of weighted value from default first weighted value and the second weighted value, to pre- Survey signal progress residual weighted and be superimposed the prediction signal corrected;
Weight flag generation unit, for generating weight flag;The weight flag is used to indicate the power chosen Weight values information;
Encoding output unit, for carrying out entropy code to the weight flag and exporting.
With reference to the third aspect, in the first possible implementation, the weight, which chooses unit, to be included:
Residual error superimposed motion computing unit, for according to default first weighted value and the second weighted value, carrying out two respectively Secondary residual signals weighted superposition prediction signal calculates;
Rate distortion statistical unit, respective rate mistake is calculated for counting the residual signals weighted superposition prediction signal twice True result;
Weighted calculation choose unit, for according to the rate distorted result from first weighted value and the second weighted value A kind of weighted value is chosen, carrying out residual weighted to prediction signal is superimposed the prediction signal corrected.
With reference to the first possible implementation of the third aspect, or the third aspect, second of possible realization side In formula, first weighted value is 0, and second weighted value is 1.
With reference to the third aspect, the either possible implementation of the first of the third aspect or second of possible realization Mode, in the third possible implementation, the coding start unit is specifically used for:Judge that present encoding regards substantially to be non- Point interframe or regarding coding when, start advanced residual prediction ARP.
Fourth aspect, the embodiments of the invention provide a kind of data deciphering device, including advanced residual prediction ARP decoding moulds Block, the ARP decoder modules include:
Start unit is decoded, for starting advanced residual prediction ARP in data decoding procedure;
Weight chooses decoding unit, for the weight flag according to reception, is weighed from default first weighted value and second A kind of weighted value is chosen in weight values, carrying out residual weighted to prediction signal is superimposed to obtain the prediction signal of motion compensation;The power Re-mark position is used to indicate the weight value information chosen in data decoding procedure.
With reference to fourth aspect, in the first possible implementation, the weight, which chooses decoding unit, to be included:
Entropy decoding unit, for carrying out entropy decoding to the weight flag by entropy code of reception, obtain the weight Flag;
Decoding unit, for the weight value information indicated according to the weight flag, from default first weighted value and A kind of weighted value is chosen in second weighted value, carrying out residual weighted to prediction signal is superimposed to obtain the prediction signal of motion compensation.
With reference to the first possible implementation of fourth aspect, in second of possible implementation, the decoding Unit includes:
Unit is chosen, for choosing a kind of weighted value from default first weighted value and the second weighted value;
Residual error superimposed motion compensating unit, it is described for being multiplied by the currently residual signals of reference block corresponding to be decoded piece The weighted value of selection, motion compensation calculations are carried out in described to be decoded piece of the prediction signal that is added to, obtain the pre- of motion compensation Survey signal.
With reference to fourth aspect, either second of the possible implementation of the first of fourth aspect or fourth aspect Possible implementation, in the third possible implementation, first weighted value is 0, and second weighted value is 1.
5th aspect, the embodiments of the invention provide a kind of data coding/decoding system, including data coding device and data Decoding apparatus, wherein
The data coding device is the third aspect, or the first possible implementation of the third aspect, Huo Zhe Second of possible implementation of three aspects, or the data encoding dress in the third possible implementation of the third aspect Put;
The data deciphering device is fourth aspect, or the first possible implementation of fourth aspect, Huo Zhe Second of possible implementation of four aspects, or the data decoding dress in the third possible implementation of fourth aspect Put.
By implementing the embodiment of the present invention, from default first weighted value and the second weighted value choose a kind of weighted value and enter Row coding, and weight flag is generated, entropy code is carried out to the weight flag and is exported;Power in decoding end according to reception Re-mark position, from default first weighted value and the second weighted value choosing a kind of weighted value is decoded, and is followed without carrying out 3 times Ring calculates and then selected optimal weight and carries out coding transmission, solves Weight computation complexity height in the prior art, causes 3D coding and decoding video complexities high technical problems, simplifies ARP realization;And only need 1 in the transmission of weight flag Position number of bits, reduces the number of bits needed for transmission, improves communication efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of data-encoding scheme provided by the invention;
Fig. 2 is the principle schematic of ARP technologies provided by the invention;
Fig. 3 is the principle schematic of another embodiment of ARP technologies provided by the invention;
Fig. 4 is the schematic flow sheet of data decoding method provided by the invention;
Fig. 5 is the structural representation of data coding device provided by the invention;
Fig. 6 is the structural representation that weight of the present invention chooses unit;
Fig. 7 is the structural representation of data deciphering device provided by the invention;
Fig. 8 is the structural representation that weight of the present invention chooses decoding unit;
Fig. 9 is the structural representation of data coding/decoding system provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment , and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other implications.It is also understood that this Term "and/or" used herein refers to and comprising any or all possible group associated of list items purpose of one or more Close.
It is the schematic flow sheet of data-encoding scheme provided by the invention referring to Fig. 1, this method includes:
Step S100:Start advanced residual prediction ARP in data encoding processor;
Specifically, ARP codings can be started in the case of the interframe of non-basic viewpoint or regarding a cataloged procedure to calculate, i.e., When judging present encoding for the interframe of non-basic viewpoint or regarding coding, then start advanced residual prediction ARP;Below by Fig. 2 and Fig. 3 describes ARP technologies provided by the invention in detail;
The principle schematic of ARP technologies provided by the invention as shown in Figure 2, in the ARP technologies of time domain, carries out non-base The block D of this viewpointcDuring encoding and decoding, the block D of the non-basic viewpoint can be obtained using difference vectorcIn reference view image Corresponding reference block Bc, according to DcTo DrMotion vector can obtain corresponding BcPrediction block Br, DrIt is DcIn inter-reference Prediction block in image, residual signals r can be obtained using motion compensationB, wherein rB=Bc-Br.Under normal circumstances, it is because same Object motion vector of corresponding region in different points of view is consistent, therefore the residual signals r that will be obtained from basic viewpointBIt is added to Current block DcPrediction signal on more accurately primary signal can be predicted, so as to the information content of residual error needed for reducing, So as to reduce required number of coded bits, code efficiency is improved.
The principle schematic of another embodiment of ARP technologies provided by the invention as shown in Figure 3, regarding ARP skills In art, the block D of non-basic viewpoint is carried outcDuring encoding and decoding, D is utilizedcMotion-vector prediction relative can obtain the non-basic viewpoint Block DcThe corresponding reference block B in reference view imagec, according to BcMotion vector can obtain corresponding BcTime domain prediction Block Br, according to DcMotion-vector prediction relative can obtain prediction block BrCorresponding blocks Dr, DrIt is DcIn the prediction in a reference picture Block, residual signals r can be obtained using motion compensationB, wherein rB=Dr-Br.Under normal circumstances, because same object regards in difference The motion vector of corresponding region is consistent on point, therefore the residual signals r that will be obtained from basic viewpointBBe added to current block DcIt is pre- Survey on signal to be more accurately predicted to primary signal, so as to reduce the information content of required residual error, needed for reducing Number of coded bits, improve code efficiency.
Step S102:A kind of weighted value is chosen from default first weighted value and the second weighted value, prediction signal is entered Row residual weighted is superimposed the prediction signal corrected;And generate weight flag;The weight flag is used to indicate to choose Weight value information;
Specifically, the difference of size is quantified due to existing, it is necessary to which the residual signals of superposition are weighted calculating;The present invention By choosing a kind of weighted value from default first weighted value and the second weighted value to be encoded, i.e., need not carry out following for 3 times Ring calculates and then selected optimal weight and carries out coding transmission, and the weight flag of generation indicates to select without 2 number of bits The weight value information taken, only need 1 number of bits.
Step S104:Entropy code is carried out to the weight flag and is exported.
Specifically, the present invention can choose first weighted value by setting weight flag 0 to show, set weight to identify Position 1 shows to choose second weighted value;Or first weighted value is chosen by setting weight flag 1 to show, weight is set Flag 0 shows to choose second weighted value;As long as encoding and decoding both sides agreement consults.
Further, step S102 can include:According to default first weighted value and the second weighted value, two are carried out respectively Secondary residual signals weighted superposition prediction signal calculates, and counts respective rate distorted result;According to the rate distorted result from A kind of weighted value is chosen in first weighted value and the second weighted value, prediction signal progress residual weighted is superimposed and corrected Prediction signal.
Specifically, when carrying out residual computations, one of them will be chosen from default first weighted value and the second weighted value Residual error superimposed motion estimation is carried out, after choosing one of weighted value and carrying out the estimation calculating of residual error superimposed motion, then is selected Take another weighted value to carry out the estimation of residual error superimposed motion to calculate;In detail, when in Merge(Merge)During pattern, residual Reference listing is merged after difference superposition(Merge candidates List, MCL)And motion compensation;When in Inter(Frame Between)Pattern, Motion estimation and compensation is carried out after residual error superposition.All counted according to first weighted value and the second weighted value After calculation, respective rate distorted result is counted, a kind of weighted value is finally then chosen according to the rate distorted result, to prediction Signal carries out residual weighted and is superimposed the prediction signal corrected;.
It is intelligible, such as:Include calculation error 0.3 from the rate distorted result of the first weight Data-Statistics and use bit Digit 7, then rate distortion can be 0.3 × 7=2.1;Include calculation error from the rate distorted result of the first weight Data-Statistics 0.5 and use number of bits 6, then rate distortion can be 0.5 × 6=3.The small weighted value of rate distortion can so be selected(I.e. First weighted value)To be weighted and encode.It should be noted that the rate that the embodiment of the present invention is not limited to foregoing description is lost True statistical method.
Yet further, the first weighted value in the embodiment of the present invention can be 0, and the second weighted value can be 1;The present invention Surveyed by logical, carry out ARP weighted values as 0.5 number divided by progress ARP number using choosing, chosen in the prior art The probability that weighted value is 0.5 is 0.053, therefore can be neglected using weighted value is 0.5 situation for being weighted and encoding.
By implementing the embodiment of the present invention, from default first weighted value and the second weighted value choose a kind of weighted value and enter Row coding, and weight flag is generated, entropy code is carried out to the weight flag and is exported;Power in decoding end according to reception Re-mark position, from default first weighted value and the second weighted value choosing a kind of weighted value is decoded, and is followed without carrying out 3 times Ring calculates and then selected optimal weight and carries out coding transmission, solves Weight computation complexity height in the prior art, causes 3D coding and decoding video complexities high technical problems, simplifies ARP realization;And only need 1 in the transmission of weight flag Position number of bits, reduces the number of bits needed for transmission, improves communication efficiency.
The above-mentioned data-encoding scheme for illustrating the embodiment of the present invention, below correspondingly, describe the present invention in detail also A kind of data decoding method is provided, as shown in figure 4, including:
Step S400:Start advanced residual prediction ARP in data decoding procedure;
Specifically, decoding end, can be in the frame of non-basic viewpoint after coded data and weight flag information is received Between or in a decoding process start ARP decoding calculate.
Step S402:According to the weight flag of reception, one is chosen from default first weighted value and the second weighted value Kind weighted value, residual weighted is carried out to prediction signal and is superimposed to obtain the prediction signal of motion compensation;The weight flag is used for Indicate the weight value information chosen in data decoding procedure.
Specifically, according to the weight flag of reception, which kind of weighted value is employed when identifying coding;Such as encoding and decoding are double Fang Yueding weight flags 0 show to choose first weighted value, and weight flag 1 shows to choose second weighted value;And connect The weight flag of receipts is 0, that is, the first weighted value is employed when identifying coding, you can solved using first weighted value Code.
Further, step S402 can include:Entropy decoding is carried out to the weight flag by entropy code of reception, obtained To the weight flag;The weight value information indicated according to the weight flag, from default first weighted value and second A kind of weighted value is chosen in weighted value, carrying out residual weighted to prediction signal is superimposed to obtain the prediction signal of motion compensation.
Specifically, a kind of weighted value is chosen from default first weighted value and the second weighted value carrying out decoding to have Body includes:A kind of weighted value is chosen from default first weighted value and the second weighted value;To currently ginseng corresponding to be decoded piece The residual signals for examining block are multiplied by the weighted value of the selection, and motion compensation is carried out in described to be decoded piece of the prediction signal that is added to Calculate, obtain the prediction signal of motion compensation.
Intelligible, when carrying out time domain ARP, currently the residual signals of reference block corresponding to be decoded piece are regarding a reference The residual signals of block;As ARP between being regarded, currently the residual signals of reference block corresponding to be decoded piece are time domain reference block Residual signals.
Yet further, first weighted value can be 0, and the second weighted value can be 1.
By implementing the embodiment of the present invention, from default first weighted value and the second weighted value choose a kind of weighted value and enter Row coding, and weight flag is generated, entropy code is carried out to the weight flag and is exported;Power in decoding end according to reception Re-mark position, from default first weighted value and the second weighted value choosing a kind of weighted value is decoded, and is followed without carrying out 3 times Ring calculates and then selected optimal weight and carries out coding transmission, solves Weight computation complexity height in the prior art, causes 3D coding and decoding video complexities high technical problems, simplifies ARP realization;And only need 1 in the transmission of weight flag Position number of bits, reduces the number of bits needed for transmission, improves communication efficiency.
The above-mentioned data-encoding scheme and data decoding method for illustrating the embodiment of the present invention, following for being easy to more Implement the such scheme of the embodiment of the present invention well, correspondingly, the related dress for implementing such scheme for coordinating is also provided below Put.
The structural representation of data coding device provided by the invention as shown in Figure 5, data coding device 50 include ARP Coding module 500, ARP coding modules 500 include:Encode start unit 5000, weight chooses unit 5002, the life of weight flag Into unit 5004 and encoding output unit 5006, wherein
Coding start unit 5000 is used to start advanced residual prediction ARP in data encoding processor;
Weight chooses unit 5002 and is used to choose a kind of weighted value from default first weighted value and the second weighted value, right Prediction signal carries out residual weighted and is superimposed the prediction signal corrected;
Weight flag generation unit 5004 is used to generate weight flag;The weight flag is used to indicate what is chosen Weight value information;
Encoding output unit 5006 is used to carry out entropy code to the weight flag and exported.
Specifically, weight of the present invention as shown in Figure 6 chooses the structural representation of unit, and weight is chosen unit 5002 and wrapped Include:Residual error superimposed motion computing unit 50020, rate distortion statistical unit 50022 and weighted calculation choose unit 50024, wherein
Residual error superimposed motion computing unit 50020 is used for according to default first weighted value and the second weighted value, enters respectively Row residual signals superposition twice prediction signal calculates;In detail, when in Merge(Merge)During pattern, residual error superimposed motion meter Calculate unit 50020 and merge reference listing after residual error superposition(Merge candidates List, MCL)And motion compensation; When in Inter(Interframe)Pattern, residual error superimposed motion computing unit 50020 carry out estimation and motion after residual error superposition Compensation.
Rate distortion statistical unit 50022 is used to count the respective rate mistake of the superposition of residual signals twice prediction signal calculating True result;
Weighted calculation is chosen unit 50024 and is used for according to the rate distorted result from first weighted value and the second weight A kind of weighted value is chosen in value, carrying out residual weighted to prediction signal is superimposed the prediction signal corrected.
Further, the first weighted value in the embodiment of the present invention can be 0, and the second weighted value can be 1.
Yet further, coding start unit 5000 is specifically used for:Judge present encoding for the interframe of non-basic viewpoint or Depending on coding when, start advanced residual prediction ARP.
It is intelligible, the electric terminal such as can be computer of data coding device 50 of the embodiment of the present invention.
It is understood that the function of each functional module of the data coding device 50 of the present embodiment can be according to the above method Method specific implementation in embodiment, its specific implementation process are referred to the associated description of above method embodiment, herein not Repeat again.
By implementing the embodiment of the present invention, from default first weighted value and the second weighted value choose a kind of weighted value and enter Row coding, and weight flag is generated, entropy code is carried out to the weight flag and is exported;Power in decoding end according to reception Re-mark position, from default first weighted value and the second weighted value choosing a kind of weighted value is decoded, and is followed without carrying out 3 times Ring calculates and then selected optimal weight and carries out coding transmission, solves Weight computation complexity height in the prior art, causes 3D coding and decoding video complexities high technical problems, simplifies ARP realization;And only need 1 in the transmission of weight flag Position number of bits, reduces the number of bits needed for transmission, improves communication efficiency.
The structure of the above-mentioned data coding device for illustrating the embodiment of the present invention, it is public that the present invention is specifically described further below The structure for the data deciphering device opened, the structural representation of data deciphering device provided by the invention as shown in Figure 7, data solution Code device 70 includes ARP decoder modules 700, and ARP decoder modules 700 can include:Decode start unit 7000 and weight is chosen Decoding unit 7002, wherein
Decoding start unit 7000 is used to start advanced residual prediction ARP in data decoding procedure;
Weight chooses decoding unit 7002 for the weight flag according to reception, from default first weighted value and second A kind of weighted value is chosen in weighted value, carrying out residual weighted to prediction signal is superimposed to obtain the prediction signal of motion compensation;It is described Weight flag is used to indicate the weight value information chosen in data decoding procedure.
Specifically, weight of the present invention as shown in Figure 8 chooses the structural representation of decoding unit, and weight chooses decoding unit 7002 include:Entropy decoding unit 70020 and decoding unit 70022, wherein
Entropy decoding unit 70020 is used to carry out entropy decoding to the weight flag by entropy code of reception, obtains described Weight flag;
Decoding unit 70022 is used for the weight value information indicated according to the weight flag, from default first weight A kind of weighted value is chosen in value and the second weighted value, residual weighted is carried out to prediction signal and is superimposed to obtain the prediction letter of motion compensation Number.
Specifically, decoding unit 70022 can also include choosing unit and residual error superimposed motion compensating unit, wherein choosing Unit is used to choose a kind of weighted value from default first weighted value and the second weighted value;Residual error superimposed motion compensating unit is used In to currently the residual signals of reference block are multiplied by the weighted value of the selection corresponding to be decoded piece, it is added to described to be decoded piece Prediction signal on carry out motion compensation calculations, obtain the prediction signal of motion compensation.
Further, the first weighted value in the embodiment of the present invention can be 0, and the second weighted value can be 1.
It is intelligible, the mobile terminal such as can be computer of data deciphering device 70 of the embodiment of the present invention.
It is understood that the function of each functional module of the data deciphering device 70 of the present embodiment can be according to the above method Method specific implementation in embodiment, its specific implementation process are referred to the associated description of above method embodiment, herein not Repeat again.
For the ease of preferably implementing the such scheme of the embodiment of the present invention, present invention also offers implement for coordinating State the related system of scheme.With reference to the structural representation of the data coding/decoding system provided by the invention shown in Fig. 9, carry out Describe in detail:
Data coding/decoding system 90 includes data coding device 900 and data deciphering device 902, wherein,
Data coding device 900 is the data coding device 50 in above-mentioned Fig. 5 to Fig. 6 embodiments, is repeated no more here;
Data deciphering device 902 is the data deciphering device 70 in above-mentioned Fig. 7 to Fig. 8 embodiments, is repeated no more here.
In summary, by implementing the embodiment of the present invention, one is chosen from default first weighted value and the second weighted value Kind weighted value is encoded, and generates weight flag, and entropy code is carried out to the weight flag and is exported;In decoding end root According to the weight flag of reception, from default first weighted value and the second weighted value choosing a kind of weighted value is decoded, nothing 3 cycle calculations need to be carried out and then select optimal weight carrying out coding transmission, solve Weight in the prior art and calculate again Miscellaneous degree is high, causes the high technical problem of 3D coding and decoding video complexities, simplifies ARP realization;And in weight flag 1 number of bits is only needed in transmission, reduces the number of bits needed for transmission, improves communication efficiency.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention can not being limited with this certainly Sharp scope, one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and weighed according to the present invention Profit requires made equivalent variations, still falls within and invents covered scope.

Claims (13)

  1. A kind of 1. data-encoding scheme, it is characterised in that including:
    When judging present encoding for the interframe of non-basic viewpoint or regarding coding, start advanced residual prediction ARP;
    According to default first weighted value and the second weighted value, residual signals weighted superposition prediction signal meter twice is carried out respectively Calculate, when in merging patterns, residual error superposition after using merge reference listing progress motion compensation;When in inter-frame mode, Motion estimation and compensation is carried out after residual error superposition;And count respective rate distorted result;
    A kind of weighted value is chosen from first weighted value and the second weighted value according to the rate distorted result, to prediction signal Carry out residual weighted and be superimposed the prediction signal corrected;And weight flag is generated, the weight flag is used to indicate to select The weight value information taken;
    Entropy code is carried out to the weight flag and is exported;
    Described when judging present encoding for the interframe of non-basic viewpoint or regarding coding, starting advanced residual prediction ARP includes:
    In the ARP technologies of time domain, when carrying out the block Dc encoding and decoding of non-basic viewpoint, obtained using difference vector described non-basic Reference block Bc corresponding in reference view image the block Dc of viewpoint, the pre- of corresponding Bc is obtained according to Dc to Dr motion vector It is prediction blocks of the Dc in inter reference picture to survey block Br, Dr, and residual signals rB, wherein rB=can be obtained using motion compensation Bc-Br;
    Regarding ARP technologies in, when carrying out the block Dc encoding and decoding of non-basic viewpoint, institute is obtained using Dc motion-vector prediction relative The block Dc of non-basic viewpoint reference block Bc corresponding in reference view image are stated, corresponding Bc is obtained according to Bc motion vector Time domain prediction block Br, it is Dc regarding a reference that can obtain prediction block Br corresponding blocks Dr, Dr according to Dc motion-vector prediction relative Prediction block in image, residual signals rB, wherein rB=Dr-Br can be obtained using motion compensation.
  2. 2. the method as described in claim 1, it is characterised in that first weighted value is 0, and second weighted value is 1.
  3. A kind of 3. data decoding method, it is characterised in that including:
    Data encoding is carried out by the method described in claim 1;
    Start advanced residual prediction ARP in data decoding procedure;
    According to the weight flag of reception, a kind of weighted value is chosen from default first weighted value and the second weighted value, to pre- Signal progress residual weighted is surveyed to be superimposed to obtain the prediction signal of motion compensation;The weight flag is used to indicate to decode in data During the weight value information chosen.
  4. 4. method as claimed in claim 3, it is characterised in that the weight flag according to reception, from default first A kind of weighted value is chosen in weighted value and the second weighted value, carrying out residual weighted to prediction signal is superimposed to obtain the pre- of motion compensation Surveying signal includes:
    Entropy decoding is carried out to the weight flag by entropy code of reception, obtains the weight flag;
    The weight value information indicated according to the weight flag, one is chosen from default first weighted value and the second weighted value Kind weighted value, residual weighted is carried out to prediction signal and is superimposed to obtain the prediction signal of motion compensation.
  5. 5. method as claimed in claim 4, it is characterised in that described to be selected from default first weighted value and the second weighted value A kind of weighted value is taken, being superimposed to obtain the prediction signal of motion compensation to prediction signal progress residual weighted includes:
    A kind of weighted value is chosen from default first weighted value and the second weighted value;
    To currently the residual signals of reference block are multiplied by the weighted value of the selection corresponding to be decoded piece, it is added to described to be decoded Motion compensation calculations are carried out in the prediction signal of block, obtain the prediction signal of motion compensation.
  6. 6. the method as described in claim any one of 3-5, it is characterised in that first weighted value is 0, second weight It is worth for 1.
  7. 7. a kind of data coding device, including advanced residual prediction ARP coding modules, it is characterised in that the ARP computing modules Including:
    Encode start unit, for judge present encoding for the interframe of non-basic viewpoint or regarding encode when, start advanced residual error Predict ARP;
    Weight chooses unit, and for choosing a kind of weighted value from default first weighted value and the second weighted value, prediction is believed Number carry out residual weighted be superimposed the prediction signal corrected;
    Weight flag generation unit, for generating weight flag;The weight flag is used to indicate the weighted value chosen Information;
    Encoding output unit, for carrying out entropy code to the weight flag and exporting;
    Wherein, the weight is chosen unit and included:
    Residual error superimposed motion computing unit, for according to default first weighted value and the second weighted value, carrying out respectively residual twice Difference signal weighted superposition prediction signal calculates;When in merging patterns, residual error superposition after using merge reference listing progress Motion compensation;When in inter-frame mode, Motion estimation and compensation is carried out after residual error superposition;
    Rate distortion statistical unit, respective rate distorted result is calculated for counting the superposition of the residual signals twice prediction signal;
    Weighted calculation chooses unit, for being chosen according to the rate distorted result from first weighted value and the second weighted value A kind of weighted value, residual weighted is carried out to prediction signal and is superimposed the prediction signal corrected;
    The coding start unit is specifically used for, in the ARP technologies of time domain, when carrying out the block Dc encoding and decoding of non-basic viewpoint, The block Dc reference block Bc corresponding in reference view image of the non-basic viewpoint are obtained using difference vector, are arrived according to Dc The prediction block Br, Dr that Dr motion vector obtains corresponding Bc are prediction blocks of the Dc in inter reference picture, utilize motion compensation Residual signals rB, wherein rB=Bc-Br can be obtained;
    Regarding ARP technologies in, when carrying out the block Dc encoding and decoding of non-basic viewpoint, institute is obtained using Dc motion-vector prediction relative The block Dc of non-basic viewpoint reference block Bc corresponding in reference view image are stated, corresponding Bc is obtained according to Bc motion vector Time domain prediction block Br, it is Dc regarding a reference that can obtain prediction block Br corresponding blocks Dr, Dr according to Dc motion-vector prediction relative Prediction block in image, residual signals rB, wherein rB=Dr-Br can be obtained using motion compensation.
  8. 8. device as claimed in claim 7, it is characterised in that first weighted value is 0, and second weighted value is 1.
  9. 9. a kind of data deciphering device, including advanced residual prediction ARP decoder modules, it is characterised in that described device also includes ARP computing modules as claimed in claim 7;
    The ARP decoder modules include:
    Start unit is decoded, for starting advanced residual prediction ARP in data decoding procedure;
    Weight chooses decoding unit, for the weight flag according to reception, from default first weighted value and the second weighted value It is middle to choose a kind of weighted value, residual weighted is carried out to prediction signal and is superimposed to obtain the prediction signal of motion compensation;The weight mark Know position to be used to indicate the weight value information chosen in data decoding procedure.
  10. 10. device as claimed in claim 9, it is characterised in that the weight, which chooses decoding unit, to be included:
    Entropy decoding unit, for carrying out entropy decoding to the weight flag by entropy code of reception, obtain the weight mark Position;
    Decoding unit, for the weight value information indicated according to the weight flag, from default first weighted value and second A kind of weighted value is chosen in weighted value, carrying out residual weighted to prediction signal is superimposed to obtain the prediction signal of motion compensation.
  11. 11. device as claimed in claim 10, it is characterised in that the decoding unit includes:
    Unit is chosen, for choosing a kind of weighted value from default first weighted value and the second weighted value;
    Residual error superimposed motion compensating unit, for currently the residual signals of reference block are multiplied by the selection corresponding to be decoded piece Weighted value, carry out motion compensation calculations in described to be decoded piece of the prediction signal that is added to, obtain the prediction letter of motion compensation Number.
  12. 12. the device as described in claim any one of 9-11, it is characterised in that first weighted value is 0, second power Weight values are 1.
  13. A kind of 13. data coding/decoding system, it is characterised in that including data coding device and data deciphering device, wherein
    The data coding device is the data coding device as described in claim any one of 7-8;
    The data deciphering device is the data deciphering device as described in claim any one of 9-12.
CN201410109719.9A 2014-03-21 2014-03-21 A kind of data decoding method, relevant apparatus and system Active CN103916672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410109719.9A CN103916672B (en) 2014-03-21 2014-03-21 A kind of data decoding method, relevant apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410109719.9A CN103916672B (en) 2014-03-21 2014-03-21 A kind of data decoding method, relevant apparatus and system

Publications (2)

Publication Number Publication Date
CN103916672A CN103916672A (en) 2014-07-09
CN103916672B true CN103916672B (en) 2018-03-13

Family

ID=51042016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410109719.9A Active CN103916672B (en) 2014-03-21 2014-03-21 A kind of data decoding method, relevant apparatus and system

Country Status (1)

Country Link
CN (1) CN103916672B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112236996A (en) * 2018-12-21 2021-01-15 株式会社 Xris Video signal encoding/decoding method and apparatus thereof
CN112261409A (en) * 2019-07-22 2021-01-22 中兴通讯股份有限公司 Residual encoding method, residual decoding method, residual encoding device, residual decoding device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064845A (en) * 2007-05-17 2007-10-31 上海交通大学 Leaking motion compensation process for video interesting area coding/decoding
CN101610413A (en) * 2009-07-29 2009-12-23 清华大学 A kind of coding/decoding method of video and device
CN101662697A (en) * 2009-07-21 2010-03-03 天津大学 Method for analyzing AVS video elementary code stream

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222638B (en) * 2007-01-08 2011-12-07 华为技术有限公司 Multi-video encoding and decoding method and device
US9843801B2 (en) * 2012-07-10 2017-12-12 Qualcomm Incorporated Generalized residual prediction for scalable video coding and 3D video coding
US9641836B2 (en) * 2012-08-07 2017-05-02 Qualcomm Incorporated Weighted difference prediction under the framework of generalized residual prediction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064845A (en) * 2007-05-17 2007-10-31 上海交通大学 Leaking motion compensation process for video interesting area coding/decoding
CN101662697A (en) * 2009-07-21 2010-03-03 天津大学 Method for analyzing AVS video elementary code stream
CN101610413A (en) * 2009-07-29 2009-12-23 清华大学 A kind of coding/decoding method of video and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ADVANCED RESIDUAL PREDICTION IN 3D-HEVC;Xiang Li等;《IEEE International Conference on Image Processing》;20130918;第2.1-2.3节,图2 *

Also Published As

Publication number Publication date
CN103916672A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN103237216B (en) The decoding method and coding and decoding device of depth image
US10091523B2 (en) Method and apparatus for building motion vector list for motion vector prediction
CN104243982B (en) A kind of video coding-decoding processing method and device
CN104661031B (en) For encoding video pictures and method, encoding device and the decoding device of decoding
US11979578B2 (en) Method and apparatus for encoding or decoding video data in FRUC mode with reduced memory accesses
EP2448266A1 (en) Method, apparatus and device for obtaining video image motion information and template construction method
CN106031170B (en) The method of motion information coding
CN102215389B (en) Video coding and decoding methods and devices capable of realizing local luminance compensation
JP2013523010A5 (en) Method and apparatus for implicit adaptive motion vector predictor selection for video encoding and video decoding
MY183996A (en) Method and apparatus for encoding and decoding motion vector by obtaining motion vector prediction candidate using co-located block
EP3457694A1 (en) Image prediction method and related device
CN109068143A (en) Video data decoding method and video data decoding device
CN103916672B (en) A kind of data decoding method, relevant apparatus and system
CN106576170A (en) Adaptive search window positioning for video encoding
CN115379239A (en) Method and apparatus for improved compression/decompression
CN104782126B (en) Device and method for being encoded/decoded to multi-view image
CN104104956B (en) For layered video coding and the method for decoding, encoding apparatus and decoding apparatus
CN103765895B (en) Coding/decoding method and device using dancing mode
US20150036741A1 (en) Method for storing movement prediction-related information in an interscreen prediction method, and method for calculating the movement prediction-related information in the inter-screen prediction method
EP3180913B1 (en) System and method for depth map coding for smooth depth map area
CN103916667B (en) A kind of coding, coding/decoding method and the device of telescopic video code stream
CN104093025A (en) Coding and decoding method and device
CN104396239B (en) Device and method for encoded video signal
CN102843561B (en) Inter frame image predicts reference frame number decoding method and the codec of encoding and decoding
CN104301734B (en) The method and apparatus for handling image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210113

Address after: Room 400, building 5, No.11 Deshengmenwai street, Xicheng District, Beijing 100032 (Desheng Park)

Patentee after: Migu cultural technology Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right