BACKGROUND
Field of the Invention
[0001] The present invention relates to a method and apparatus for performing intra planar mode type prediction decoding on digital video data that has been encoded using an intra planar mode type prediction.
Discussion of the Related Art
[0002] A digital video signal is comprised of a sequence of digital video frames that are a representation of an original RGB video signal. As part of the analog to digital signal transformation, each frame of the original RGB video signal is encoded into the digital video frames of data that comprise the digital video signal. The purpose of the encoding process is to calculate as accurate a digital prediction of the original RGB video signal as possible while also attempting to maximize a compression of the binary data that is the digital representation of the original RGB video signal. While there exists both inter prediction methods and intra prediction methods for encoding a video signal, the present invention is only concerned with the intra prediction method that is also referred to as a spatial prediction method.
[0003] In order to accomplish the encoding process, an encoding unit will process a prediction on a portion of an original video frame in order to encode it into digital video data. The resulting encoded digital video data is referred to as a prediction unit. A plurality of prediction units will typically comprise a tree block of video data, a plurality of tree blocks will typically comprise a slice of video data and a plurality of slices will then typically comprise a frame of digital video data, although other configurations are possible. Pertaining specifically to the intra prediction methods that rely on spatial predictions, a current prediction unit that is being processed will be predicted by referencing previously predicted samples that spatially neighbor the current prediction unit. Once all of the digital video frames have been predicted and encoded, the digital video program is said to be fully compressed and ready for storage or transmission as digital video data or a signal. Along with the actual digital video data, the encoding unit will also include identifying information that indicates which prediction mode was applied to predict each prediction unit of video data.
[0004] A decoding unit is then tasked with performing the decoding, or decompression, of the digital video data/signal. The decoding is processed by applying the same prediction mode processing on each prediction unit as was applied by the encoding unit. This is accomplished by parsing the identifying information and determining the proper prediction mode that is identified for predicting each prediction unit of video data. By applying the proper prediction on each of the prediction units of video data, the decoding unit is able to successfully reconstruct the original video. The decoding unit is thus assigned the task of reconstructing the digital video signal into a displayable representation of the original video signal. According to the intra prediction mode for decoding a prediction unit, previously reconstructed samples from previously reconstructed prediction units will be referenced to reconstruct samples of a current prediction unit that is currently being processed by the decoding unit.
[0005] Of the many available intra prediction modes for predicting a prediction unit of digital video data, the present invention is concerned with the intra planar prediction mode. The intra planar mode prediction is generally known to first predict a single sample within a current prediction unit by referencing neighboring blocks that have been previously reconstructed. Then after predicting the first sample within the current prediction unit, the remaining samples of the current prediction unit are predicted by referencing the predicted first sample within the current prediction unit and reconstructed samples from the blocks that neighbor the current prediction unit.
SUMMARY OF THE INVENTION
[0007] The present invention is defined in the independent claims. Enabling disclosure for the invention is found in the fourth embodiment illustrated in Figure 10. The remaining embodiments are to be understood as examples which do not describe parts of the present invention.
[0008] It is an object of the present invention to offer a variety of new methods for obtaining the prediction of a first sample within a current prediction unit, where the current prediction unit is being predicted according to a new intra planar mode of the present invention.
[0009] It is also an object of the present invention to offer a variety of methods for predicting the remaining samples within the current prediction unit once the first sample within the current prediction unit has been predicted and reconstructed. According to the present invention, these methods will predict the remaining samples within the current prediction unit by referencing the first sample as well as previously reconstructed samples from blocks that neighbor the current prediction unit.
[0010] It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the present invention as claimed.
BRIEF DESCRIPTION OF THE DRAWINGS
[0011]
Fig. 1 illustrates a first embodiment for obtaining the first sample of a prediction unit according to the present invention;
Fig. 2 illustrates a second embodiment for obtaining the first sample of a prediction unit according to the present invention;
Fig. 3 illustrates a third embodiment for obtaining the first sample of a prediction unit according to the present invention;
Fig. 4 illustrates a fourth embodiment for obtaining the first sample of a prediction unit according to the present invention;
Fig. 5 illustrates a first embodiment for predicting the remaining samples after a first sample has been predicted according to the present invention;
Fig. 6 illustrates a second embodiment for predicting the remaining samples after a first sample has been predicted according to the present invention;
Fig. 7 illustrates an enlarged view of a portion taken from Fig. 6;
Fig. 8 illustrates a third embodiment for predicting the remaining samples after a first sample has been predicted according to the present invention;
Fig. 9 illustrates an enlarged view of a portion taken from Fig. 8;
Fig. 10 illustrates a fourth embodiment for predicting the remaining samples after a first sample has been predicted according to the present invention;
Fig. 11 illustrates a fifth embodiment for predicting the remaining samples after a first sample has been predicted according to the present invention;
Fig. 12 illustrates a sixth embodiment for predicting the remaining samples after a first sample has been predicted according to the present invention;
Fig. 13 illustrates a method for filtering certain reference samples that are determined to be important according to the present invention;
Fig. 14 illustrates an example for processing a first sample of a prediction unit according to the present invention;
Fig. 15 illustrates an example for determining the location for a first sample of a prediction unit according to the present invention;
Fig. 16 illustrates another example for determining the location for a first sample of a prediction unit according to the present invention;
Fig. 17 illustrates an example for determining the location for a first sample of a prediction unit according to the present invention;
Fig. 18 illustrates a method for processing a prediction unit after having received a first sample of the prediction unit according to the present invention;
Fig. 19 illustrates the relationship between a prediction unit and blocks of video data that neighbor the prediction unit according to the present invention;
Fig. 20 illustrates a decoding unit according to the present invention, and
Fig. 21 illustrates a close up view of the prediction units that are part of the decoding unit illustrated in Fig. 20.
DETAILED DESCRIPTION
[0012] Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Terminologies or words used in this specification and claims are not construed as limited to the general or dictionary meanings and should be construed as the meanings and concepts matching the technical idea of the present invention based on the principle that an inventor is able to appropriately define the concepts of the terminologies to describe the inventor's invention in an intended way. The embodiments disclosed in this disclosure and configurations shown in the accompanying drawings are exemplary in nature and are not intended to be inclusive in nature. The preferred embodiments do not represent all possible technical variations of the present invention. Therefore, it is understood that the present invention covers the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents at the timing point of filing this application.
[0013] It is noted that for the purposes of the detailed explanation that follows, all mention of a neighboring block is understood to be in reference to a block that neighbors a current prediction unit. A current prediction unit is understood to include the current prediction samples that are being prediction processed according to the new intra planar modes of the present invention. Distance H refers to a height, in samples, of the current prediction unit, and W refers to a width, in samples, of the current prediction unit. Also any gray areas are illustrated to represented previously reconstructed samples. Reconstructed samples have been predicted and combined with a residual value that is included in a video signal, and such reconstructed samples may be referenced for predicting samples according to the present invention. Predicted samples have not yet been combined with a residual value to be reconstructed, but have been prediction processed and may also be referenced for predicting samples according to this present invention. And any use of the term "samples" is understood to be interchangeable with the commonly known term of "pixels".
[0014] Fig. 1 illustrates a first embodiment for predicting a first current prediction sample RB from within a current prediction unit 101 for referencing in the new intra planar mode prediction method according to the present invention. The current prediction unit 101 is seen to have a neighboring left block 102 located adjacent and to the left of the current prediction unit 101. And the current prediction unit 101 is seen to have a neighboring top block 103 located adjacent and to the top of the current prediction block 101. Both the neighboring left block 102 and neighboring top block 103 are depicted as gray areas to indicate that they consist of previously reconstructed samples. Although only the first current prediction sample RB is specifically illustrated, the current prediction unit 101 also additionally contains a plurality of current prediction samples that need to be predicted and eventually reconstructed. Also, the first current prediction sample RB will be the sample located at the right-bottom of current prediction unit 101.
[0015] According to the first embodiment for predicting the first current prediction sample RB from within the current prediction unit 101, the first current prediction sample RB will be predicted based on an intra DC mode prediction. The intra DC mode prediction will reference the sample value for sample T and the sample value for sample L and determine an average value of these two sample values. The reference sample T is referenced from the neighboring top block 103, and the reference sample L is referenced from the neighboring left block 102. Then according to the intra DC mode prediction, the average sample value for reference samples T and L will serve as the prediction value for the first current prediction sample RB. Now with this intra DC mode prediction value, the predicted value for RB can be referenced to predict the remaining samples of the current prediction unit 101. Although Fig. 1 specifically identifies the positions for reference samples L and T, it is within the scope of the present invention for reference sample L to be referenced from any one of the samples from the neighboring left block 102, and it is within the scope of the present invention for reference sample T to be referenced from any one of the samples from the neighboring top block 103.
[0016] Fig. 2 illustrates a second embodiment for predicting a first current prediction sample RB from within a current prediction unit 201 for referencing in the new intra planar mode prediction method according to the present invention. According to this second embodiment, the first current prediction sample RB will be predicted based on an average of a previously reconstructed reference sample 2H and a previously reconstructed reference sample 2W. The reference sample 2H may be taken from either a neighboring left block or a neighboring bottom-left block, depending on the size of the neighboring blocks to the left of the current prediction unit 201. The reference sample 2W may be taken from either a neighboring top block or a neighboring top-right block, depending on the size of the neighboring blocks to the top of the current prediction unit 201. This average sample value for reference samples 2H and 2W will serve as the prediction value for the first current prediction sample RB according to this second embodiment. Now by referencing this prediction for first current prediction sample RB, the remaining samples of the current prediction unit 201 may be predicted. In the case where the reference sample 2H is not available, a reference sample located at distance H within the neighboring left block may be referenced instead of the reference sample 2H for purposes of this second embodiment. In the case where reference sample 2W is not available, a reference sample located at distance W within the neighboring top block may be referenced instead of the reference sample 2W for purposes of this second embodiment.
[0017] Fig. 3 illustrates a third embodiment for predicting a first current prediction sample RB from within a current prediction unit 301 for referencing in the new intra planar mode prediction method according to the present invention. According to this third embodiment, an average of four previously reconstructed reference samples from neighboring blocks will be referenced to predict the first current prediction sample RB. Specifically, reference sample T and reference sample 2T will be referenced to obtain the averaged sample value of T'. While reference sample T is referenced from a neighboring top block, reference sample 2T may be referenced from the same neighboring top block or a separate neighboring top-right block depending on the size of the neighboring top block. Similarly, reference samples L and 2L will be referenced to obtain the averaged sample value of L'. While reference sample L is obtained from a neighboring left block, reference sample 2L may be referenced from the same neighboring left block or a separate bottom-left neighboring block depending on the size of the neighboring left block. Then, the prediction for the first current prediction sample RB will be the average of T' and L' according to this third embodiment. Now by referencing this prediction for first current prediction sample RB, the remaining samples of the current prediction unit 301 may be predicted.
[0018] In Fig. 3 the function for determining the average of two reference samples is denoted in terms of a shift function. For example the average of reference samples L and 2L is denoted by:
According to the above shift function, a value of 1 is added to the sum of reference samples L and 2L in order to account for potential rounding errors, however it is within the scope of the present invention to forgo the plus 1. And the double arrow shift function, >>, represents taking the average of the sum by dividing the sum by two. The remaining calculations for the average sample values for RB and T' illustrated in Fig. 3 that utilize the shift function may be understood to operate in a like manner.
[0019] Fig. 4 illustrates a fourth embodiment for predicting a first current prediction sample RB from within a current prediction unit 401 for referencing in the new intra planar mode prediction method according to the present invention. According to this fourth embodiment, the prediction value for the first prediction sample RB is obtained by referencing two reference samples from neighboring blocks. Specifically, a first reference sample T' is referenced from a neighboring block that may either be a neighboring top block or neighboring top-right block, depending on the size of the neighboring top block. The distinguishing feature of the first reference sample T' is that it is referenced from between previously reconstructed samples T and 2T. A second reference sample L' is referenced from a neighboring block that may either be a neighboring left block or neighboring bottom-left block, depending on the size of the neighboring left block. The distinguishing feature of the second reference sample L' is that it is referenced from a location between previously reconstructed samples L and 2L. The prediction value for the first current prediction sample RB is then obtained from the average of reference samples T' and L'. This is denoted by the shift function in Fig 4 as:
According to the above shift function, a value of 1 is added to the sum of reference samples T' and L' in order to account for potential rounding errors, however it is within the scope of the present invention to forgo the plus one. And the double arrow shift function, >>, represents taking the average of the sum by dividing the sum by two.
[0020] After obtaining the prediction value for the first current prediction sample RB by averaging the values for reference samples T' and L', the first current prediction sample RB may be referenced for predicting the remaining samples within the current prediction unit 401 according to the new intra planar mode prediction of the present invention.
[0021] Fig. 5 illustrates a first embodiment for predicting the remaining samples within a current prediction unit 501 after first obtaining the prediction of the first current prediction sample RB. Once the first current prediction sample RB has been predicted according to any of the methods described for the present invention, sample L from the neighboring left block 502 and sample RB from within the current prediction unit 501 will be referenced to perform a linear interpolation. The result from the linear interpolation of reference sample L and reference sample RB is referred to as LI1 in Fig. 5. The resulting prediction value, LI1, from the linear interpolation of reference samples L and RB will then be filled in horizontally as the prediction value for all the current prediction samples that run along the bottom row of current prediction unit 501. These samples that run along the bottom row of current prediction unit 501 may now be referenced for predicting the remaining samples within current prediction unit 501.
[0022] Similarly, sample T from the neighboring top block 503 and sample RB from within the current prediction unit 501 will be referenced to perform a linear interpolation. The resulting prediction value from the linear interpolation of reference sample T and reference sample RB is represented in Fig. 5 as LI2. The resulting prediction value, LI2, from the linear interpolation of reference samples T and RB will then be filled in as the prediction value for all the current prediction samples that run vertically along the right-most column of current prediction unit 501. These samples that run vertically along the right-most column of current prediction unit 501 may now be referenced for predicting the remaining samples within current prediction unit 501.
[0023] Staying with Fig. 5, the remaining samples within current prediction unit 501 that have not been predicted are predicted by a bi-linear interpolation of four reference samples taken from among previously reconstructed samples from the left neighboring block 502, top neighboring block 503 and from within the current prediction unit 501. For exemplary purposes, Fig. 5 depicts the prediction processing for current prediction sample C. Thus according to this first embodiment, the prediction for current prediction sample C will be the bi-linear interpolation of reference samples L
_{y}, LI2, T
_{x} and LI1. It can be seen that reference sample L
_{y} is the previously reconstructed sample from the neighboring left block 502 that is adjacent to the current prediction unit 501 and also shares the same y-coordinate as the current prediction sample C. Reference sample LI2 is the predicted sample from within the current prediction unit 501 that was predicted by the linear interpolation of reference samples L and RB. It can also be seen that reference sample T
_{x} is the previously reconstructed sample from the neighboring top block 503 that is adjacent to the current prediction unit 501 and also shares the same x-coordinate as the current prediction sample C. Reference sample LI1 is the predicted sample from within the current prediction unit 501 what was predicted by the linear interpolation of reference samples L and RB. The bi-linear interpolation of L
_{y}, LI2, T
_{x} and LI1 will be processed simultaneously in order to obtain the prediction value for the current prediction sample C. The remaining current prediction samples within the current prediction unit 501 will be predicted according to this first embodiment in a like manner as current prediction sample C.
[0024] As an alternative, the bi-linear interpolation of current prediction sample C can also be processed by averaging two separate linear interpolations.
[0025] According to this alternative, the linear interpolation of reference samples L
_{y} and LI2 will be processed separately from the linear interpolation of reference samples T
_{x} and LI1, and then the prediction for the current prediction sample C will be based on the average of these two linear interpolations. The remaining current prediction samples will be predicted according to this alternative of the first embodiment in a like manner as current prediction sample C.
[0026] Fig. 6 illustrates a second embodiment for predicting the remaining samples within a current prediction unit 601 after first obtaining the prediction of the first current prediction sample RB. In Fig. 6, it is seen that the first current prediction RB is predicted by taking the average of reference sample 2L and reference sample 2T. After having predicted the first current prediction sample RB, the remaining current prediction samples along the bottom row of the current prediction unit 601 are copied from the neighboring block as depicted in Fig. 6. The reference samples referenced to copy the bottom row of the current prediction unit 601 may come from either a neighboring left block or neighboring bottom-left block in relation to the current prediction unit 601, depending on the size of the neighboring left block. Similarly, the remaining current prediction samples along the right-most vertical column of the current prediction unit 601 are copied from the neighboring block as depicted in Fig. 6. The reference samples referenced to copy the rightmost vertical column in the current prediction unit 601 may come from either a neighboring top block or neighboring top-right block, depending on the size of the neighboring top block.
[0027] Fig. 7 is a close up view of the current prediction unit 601 seen in Fig. 6. After predicting the samples along the bottom row and right-most vertical column of the current prediction unit 601 by copying the samples from the neighboring blocks as seen in Fig. 6, the remaining samples within current prediction unit 601 are predicted according to a bi-linear interpolation. The bi-linear interpolation is processed by referencing four samples taken from among the left neighboring block 602, top neighboring block 603 and from within the current prediction unit 601. For exemplary purposes, Fig. 7 depicts the prediction processing for current prediction sample C. Thus according to this second embodiment, the prediction for current prediction sample C will be the bi-linear interpolation of reference samples L
_{y}, R
_{C}, T
_{x} and B
_{C}. Reference sample L
_{y} is a sample from the neighboring left block 602 that is adjacent to the current prediction unit 601 and is also on the same y-coordinate line as the current prediction sample C. Reference sample R
_{C} is a sample from within the current prediction sample 601 that has been predicted by copying a reference sample from a neighboring block as explained with reference to Fig. 6 above, and is also on the same y-coordinate line as the current prediction sample C. Reference sample T
_{x} is a sample from the neighboring top block 603 that is adjacent to the current prediction unit 601 and is also on the same x-coordinate line as the current prediction sample C. Reference sample B
_{C} is a sample from within the current prediction sample 501 that has been predicted by copying a reference sample from a neighboring block as explained in reference to Fig. 6 above, and is also on the same x-coordinate line as the current prediction sample C. The bi-linear interpolation of L
_{y}, R
_{c}, T
_{x} and B
_{c} will be processed simultaneously in order to obtain the prediction value for the current prediction sample C. The remaining current prediction samples will be predicted according to this second embodiment in a like manner as current prediction sample C.
[0028] As an alternative, the bi-linear interpolation of current prediction sample C can also be processed by averaging two separate linear interpolations. According to this alternative, the linear interpolation of reference samples L
_{y} and R
_{c} will be processed separately from the linear interpolation of reference samples T
_{x} and B
_{c}, and then the prediction for the current prediction sample C will be based on the average of these two linear interpolations. The remaining current prediction samples will be predicted according to this alternative of the second embodiment in a like manner.
[0029] Fig. 8 illustrates a third embodiment for predicting the remaining samples within a current prediction unit 801 after first obtaining the prediction of the first current prediction sample RB. After having predicted the first current prediction sample RB according to any one of the previously mentioned embodiments above, the remaining current prediction samples that belong to the bottom row of the current prediction unit 801 are filled by utilizing a linear interpolation of two reference samples referenced from two neighboring blocks. For exemplary purposes, the instance for predicting current prediction sample B
_{5} will be described as an exemplary instance for predicting the samples along the bottom row of the current prediction unit 801. It can be seen from Fig. 8 that the two reference samples referenced to predict current prediction sample B
_{5} lie along a common angular line and also come from two separate neighboring blocks. The first reference sample, as indicated by the arrow α, is referenced from either a neighboring left block or neighboring bottom-left block, depending on the size of the neighboring left block. The second reference sample, as indicated by the arrow 1- α, is referenced from either a neighboring top block or neighboring top-right block, depending on the size of the neighboring top block. Thus the first reference sample and the second reference sample will be linearly interpolated to obtain a prediction value for current prediction sample B
_{5}. The remaining current prediction samples along the bottom row of the current prediction unit 801 will be predicted in a similar manner by referencing two separate reference samples that lay along a corresponding angular line. Predicted current prediction samples may then be referenced when predicting the remaining samples within the current prediction unit 801.
[0030] Also depicted in Fig. 8 is the prediction method for the right-most vertical column of samples within the current prediction unit 801 according to this third embodiment. For exemplary purposes, the instance of predicting current prediction sample R
_{2} will be described as an exemplary instance for predicting the samples along the rightmost vertical column of the current prediction unit 801. It can be seen from Fig. 8 that the two reference samples referenced to predict current prediction sample R
_{2} lie along a common angular line and also come from two separate neighboring blocks. The first reference sample, as indicated by the arrow α, is referenced from either a neighboring left block or neighboring bottom-left block, depending on the size of the left block. The second reference sample, as indicated by the arrow 1- α, is referenced from either a neighboring top block or neighboring top-right block, depending on the size of the top block. Thus the first reference sample and the second reference sample will be linearly interpolated to obtain a prediction value for current prediction sample R
_{2}. The remaining samples along the right-most vertical column of the current prediction unit 801 will be predicted in a similar manner by referencing two separate reference samples that lay along a corresponding angular line. Predicted current prediction samples may then be referenced when predicting the remaining samples within the current prediction unit 801.
[0031] Fig. 9 is a close up view of the current prediction unit 801 seen in Fig. 8 where the samples along the bottom row and the samples along the right-most vertical column have been predicted. The remaining samples within current prediction unit 801 that have not been predicted are predicted by a bi-linear interpolation of four reference samples taken from among previously reconstructed samples from the left neighboring block 802, top neighboring block 803 and from within the current prediction unit 801. For exemplary purposes, Fig. 9 depicts the instance for prediction processing of the current prediction sample C. Thus according to this third embodiment, the prediction for current prediction sample C will be the bi-linear interpolation of reference samples L
_{y}, R
_{C}, T
_{x} and B
_{C}. Reference sample L
_{y} is a sample from the neighboring left block 802 that is adjacent to the current prediction unit 801 and is also on the same y-coordinate line as the current prediction sample C. Reference sample R
_{C} is a sample from within the current prediction sample 801 that has been predicted based on the linear interpolation of two samples from neighboring blocks that lay along a common angular line as explained with reference to Fig. 8 above, and is also on the same y-coordinate line as the current prediction sample C. Reference sample T
_{x} is a sample from the neighboring top block 803 that is adjacent to the current prediction unit 801 and is also on the same x-coordinate line as the current prediction sample C. Reference sample B
_{C} is a sample from within the current prediction sample 801 that has been predicted by the linear interpolation of two samples from neighboring blocks that lay along a common angular line as explained in reference to Fig. 8 above, and is also on the same x-coordinate line as the current prediction sample C. The bi-linear interpolation of L
_{y}, R
_{c}, T
_{x} and B
_{c} will then be processed simultaneously in order to obtain the prediction value for the current prediction sample C. The remaining current prediction samples will be predicted according to this third embodiment in a like manner as current prediction sample C.
[0032] As an alternative, the bi-linear interpolation of current prediction sample C can also be processed by separately taking the linear interpolation of reference samples L
_{y} and R
_{C} and taking the linear interpolation of reference samples T
_{x} and B
_{C}, and then taking the average of these two linear interpolations. The remaining current prediction samples will be predicted according this alternative to the third embodiment in a like manner.
[0033] Fig. 10 illustrates a fourth embodiment for predicting the remaining samples within a current prediction unit 1001 after first obtaining the prediction of the first current prediction sample RB. After having predicted the first current prediction sample RB according to any one of the previously mentioned embodiments above, all remaining current prediction samples that belong to the current prediction unit 1001 are filled/predicted by utilizing a bi-linear interpolation of four reference samples referenced from neighboring blocks. Therefore there is no need to separately calculate a prediction for the current prediction samples that lay along the bottom row of the current prediction unit 1001 and the current prediction samples that lay along the rightmost vertical column of current prediction unit 1001. For exemplary purposes, Fig. 10 depicts the prediction processing for current prediction sample C according to this fourth embodiment.
[0034] In order to process the prediction for the current prediction sample C, a bi-linear interpolation of four reference samples will be made: L
_{y}, 2T, T
_{x}, and 2L. Reference sample L
_{y} is a sample from a neighboring left block that is adjacent to the current prediction unit 1001 and is also on the same y-coordinate line as the current prediction sample C. Reference sample 2T is simply a copy of the previously reconstructed reference sample 2T taken from either a neighboring top block or neighboring top-right block. Reference sample T
_{x} is a sample from a neighboring top block that is adjacent to the current prediction unit 1001 and is also on the same x-coordinate line as the current prediction sample C. Reference sample 2L is simply a copy of the previously reconstructed reference sample 2L taken from either a neighboring left block or neighboring bottom-left block. The bi-linear interpolation of L
_{y}, 2T, T
_{x}, and 2L will then be processed simultaneously in order to obtain the prediction value for the current prediction sample C. The remaining current prediction samples will be predicted according to this fourth embodiment in a like manner as current prediction sample C.
[0035] It is noted that according to this fourth embodiment, reference samples 2L and 2T will remain constant for each bi-linear interpolation made for predicting a current prediction sample within the current prediction unit 1001. However the reference samples L
_{y} and T
_{x} will vary to correspond to the x and y coordinates of the current prediction sample being predicted.
[0036] As a first alternative of this fourth embodiment, the bi-linear interpolation can also be processed as the average of two separate linear interpolations. According to this first alternative, the first linear interpolation is taken by referencing samples L
_{y} and 2T. And the second linear interpolation is taken by referencing samples T
_{x} and 2L. Then prediction for current prediction sample C will be the resulting average from the first linear interpolation of samples L
_{y} and 2T and the second linear interpolation of samples T
_{x} and 2L. The remaining current prediction samples may be predicted according to this alternative of the fourth embodiment in a like manner.
[0037] In a second alternative to this fourth embodiment, after predicting the first current prediction sample RB and prior to predicting the current prediction sample C, the current prediction samples that lay in the bottom row of the current prediction unit 1001 may be padded with copies of 2L. And similarly, the current prediction samples that lay in the right-most column of the current prediction unit 1001 may be padded with copies of 2T.
[0038] Fig. 11 illustrates a fifth embodiment for predicting the remaining samples within a current prediction unit 1101 after first obtaining the prediction of the first current prediction sample RB. After having predicted the first current prediction sample RB according to any one of the methods of the present invention, all remaining current prediction samples within the current prediction unit 1101 are predicted by averaging a first linear interpolation of two previously reconstructed reference samples and a second linear interpolation of two previously reconstructed reference samples from neighboring blocks.
[0039] In Fig. 11, the first linear interpolation is made by referencing previously reconstructed reference sample L
_{y} that is referenced from a neighboring left block that is at the same y-coordinate as the current prediction sample C, and referencing sample T which is a copy of the previously reconstructed sample T from a neighboring top block that is adjacent to the top-right sample from the current prediction unit 1101. The second linear interpolation is made by referencing previously reconstructed sample T
_{x} from a neighboring top block that is at the same x-coordinate as the current prediction sample C, and referencing sample L which is a copy of the previously reconstructed sample L from a neighboring left block that is adjacent to the bottom-left sample of the current prediction unit 1101.
[0040] The first linear interpolation is added to the second linear interpolation and then averaged to obtain the prediction for the current prediction sample C. The averaging function is graphically represented by the shift-right function, >>, in Fig. 11. The prediction for current prediction sample C is then the average of the first linear interpolation and the second linear interpolation. The remaining samples will be predicted in a similar manner. The first linear interpolation will always reference the copied sample T from the neighboring top block, and then variably reference a previously reconstructed sample L
_{y} from the neighboring left block that has the same y-coordinate as the current prediction sample C. And the second linear interpolation will always reference the copied sample L from the neighboring left block, and then variably reference a previously reconstructed sample T
_{x} from the neighboring top block that has the same x-coordinate as the current prediction sample C.
[0041] In an alternative of this fifth embodiment, after predicting the first current prediction sample RB and prior to predicting the current prediction sample C, the current prediction samples that lay in the bottom row of the current prediction unit 1101 may be padded with copies of reference sample L. And similarly, the current prediction samples that lay in the rightmost column of the current prediction unit 1101 may be padded with copies of reference sample T.
[0042] Fig. 12 illustrates a sixth embodiment for predicting the remaining samples within a current prediction unit 1201 after first obtaining the prediction of the first current prediction sample RB. After having predicted the first current prediction sample RB according to any one of the methods of the present invention, all remaining current prediction samples within the current prediction unit 1201 will be predicted based on a combination of two weighted linear interpolations.
[0043] In Fig. 12, the first linear interpolation is processed by referencing previously reconstructed reference sample L
_{y} referenced from a neighboring left block that is at the same y-coordinate as the current prediction sample C, and referencing reference sample T which is a copy of the previously reconstructed sample T from a neighboring top block that is adjacent to the top-right sample of the current prediction unit 1201. The second linear interpolation is processed by referencing previously reconstructed sample T
_{x} from a neighboring top block that is at the same x-coordinate as the current prediction sample C, and reference sample L which is a copy of the previously reconstructed sample L from a neighboring left block that is adjacent to the bottom-left sample of the current prediction unit 1201.
[0044] Now each of the first linear interpolation and second linear interpolation will be assigned their own weighting values. Fig. 12 illustrates that the first linear interpolation will be weighted by the first weighting value W
_{H}, and the second linear interpolation will be weighted by the second weighting value W
_{V}. Therefore, the prediction for the current prediction sample C, P
_{c}, will be the sum:
P
_{c} = W
_{H} x (First Linear Interpolation) + W
_{V} x (Second Linear Interpolation) Assuming that the current prediction sample C has the coordinates (x,y) within the current prediction unit 1201, then the prediction for the current prediction sample C, P
_{C}(x,y), will follow the equation below:
[0045] According to the above equation, the value for W
_{H} that will be applied to the First Linear Interpolation is,
[0046] And the value for W
_{V} that will be applied to the Second Linear Interpolation is
[0047] In an alternative of this sixth embodiment, after predicting the first current prediction sample RB and prior to predicting the current prediction sample C, the current prediction samples that lay in the bottom row of the current prediction unit 1201 may be padded with copies of reference sample L. And similarly, the remaining current prediction samples that lay in the right-most column of the current prediction unit 1201 may be padded with copies of reference sample T.
[0048] Fig. 13 illustrates a new method for filtering certain samples that neighbor a current prediction unit, where the samples selected for filtering may be referenced when processing the new intra planar mode predictions according to the present invention. Typically the neighboring sample T that is adjacent to the top-right sample of the current prediction unit 1301 will be one of the samples to be prominently referenced during the new intra planar mode prediction. Also, typically the neighboring sample L that is adjacent to the bottom-right sample of the current prediction unit 1301 will be the other reference sample to be prominently referenced during the new intra planar mode prediction. Therefore, there is a desire to prioritize the two reference samples T and L. So as a method for prioritizing the reference samples T and L, the present invention offers the solution of processing reference samples T and L through a filtering process in order to increase the smoothness of the resulting predicted samples within the current prediction unit 1301, as well as increasing the efficiency of the overall video signal compression.
[0049] Accordingly, Fig. 13 is a graphical illustration of processing the reference samples T and L through a 1:2:1 filtering process. To accomplish the filtering process according to the present invention, previously reconstructed samples that are adjacent to the reference samples T and L will also be utilized. For example, sample T
_{-1} that is adjacent to the left of reference sample T, and T
_{+1} that is adjacent to the right of reference sample T are highlighted in Fig. 13. Also, sample L
_{-1} that is adjacent to the top of reference sample L, and L
_{+1} that is adjacent to the bottom of reference sample L are highlighted in Fig. 13. The reference samples that result from the filtering process of reference samples T and L will be referred to as T' and L' respectively. It is then these filtered samples T' and L' that will actually be referenced when predicting the samples within the current prediction unit 1301 according to the new intra planar modes of the present invention.
[0050] The 1:2:1 filtering process applied to reference sample T is processed according to the following equation:
Because at the most basic level of digital data, the actual sample value is represented by a string of binary bits, the above equation may be written in terms of shift functions in the binary bits that represent the value for the reference sample T. This equation that is written in terms of shift functions may be written as the following:
Referring to the above equation written in terms of the shift functions, the (<< 1) left-shift represents a single shift to the left, which is mathematically understood to be equivalent to doubling or multiplying by two. The (>> 2) right-shift represents two shifts to the right, which is mathematically understood to be equivalent to dividing by four.
[0051] Similarly, the 1:2:1 filtering process applied to reference sample L is processed according to the following equation:
This equation may also be represented in terms of the shift functions by the following:
After processing the filtering for the reference samples L and T, the new filtered values L' and T' will replace the original reference samples L and T. By doing so, the new filtered reference samples L' and T' may be referenced when processing the new intra planar mode prediction on the current prediction unit 1301.
[0052] If, however, one of the samples that are adjacent to the reference samples T and L are not available, then the value for the reference sample will need to be weighted to a greater degree. For example if sample T
_{+1} that is adjacent to the right of reference sample T is not available, reference sample T may undergo a 1:3 filtering process that may be processed according to the following equation:
It is evident from the revised filtering equation that the value for reference sample T is weighted three times, as opposed to the original two times, in order to compensate for the sample T
_{+1} that is not available. This new filtering process in terms of the shift function may be written as follows:
[0053] Similarly, if the sample T
_{-1} that is adjacent to the left of reference sample T is not available, then reference sample T may undergo a 3:1 filtering process that may be processed according to the following equation:
This new filtering process in terms of the shift function may be written as follows:
[0054] The same type of compensation filtering processing may be applied for filtering reference sample L when either one of the adjacent samples L
_{+1} or L
_{-1} are not available.
[0055] Referencing the new filtered reference samples L' and T' will result in smoother predictions for samples within the current prediction unit 1301, as well as increase the compression efficiency for the digital video signal.
[0056] All of the embodiments described thus far have called for the bottom-right sample within a current prediction unit to be the first prediction sample to be predicted after it has been received by a decoding unit. However, according to an alternative aspect of the present invention, an encoding unit that initially encodes an original video signal into the prediction units of video data may keep one of the samples within a prediction unit that is predicted according to the new intra planar mode of the present invention, in a reconstructed state. By then transmitting the first prediction sample in a reconstructed state, this frees the decoding unit from the task of performing a prediction to obtain this first prediction sample for referencing during the new intra planar mode prediction. This first prediction sample has been described above to be necessary for the interpolation processing required for the new intra planar mode predictions according to the present invention.
[0057] In addition, this alternative aspect of the present invention also allows for this first prediction value that is transmitted as a reconstructed sample, to be located at any point within the prediction unit. While previous examples have always envisioned this first prediction sample within the prediction unit to be located at the bottom-right corner of the prediction unit, this alternative aspect of the present invention allows for this first prediction sample to be located at any location.
[0058] For exemplary purposes, Fig. 14 illustrates the first current prediction sample C being shaded gray to indicate it has been received by a decoding unit in the reconstructed state. Also, the samples from the neighboring left block 1402 and neighboring top block have been shaded gray to indicate that they have been previously reconstructed by the decoding unit. The first current prediction sample C transmitted in the reconstructed state may also be accompanied by coordinate information indicating the location of the first current prediction sample C within the current prediction unit 1401. If the coordinates of the first current prediction sample C that is transmitted in the reconstructed state is not included in the video signal as part of identifying information, then the decoding unit has a variety of options for determining the coordinates.
[0059] Typically, at the encoding unit side where the original video signal is encoded into the prediction units, if information identifying the location of the first prediction sample to be transmitted in a reconstructed state is not included with the transmitted video signal, then the encoding unit will coincide the location of the first prediction sample to run along the edges of neighboring blocks. This is a desirable practice because there are a variety of methods for a decoding unit that receives the prediction units to detect these edges. This practice can be seen from the illustration in Fig. 15 where the encoding unit will select a location for the first prediction sample C to coincide with the edges 1504 and 1505. The edges are essentially the edges of the neighboring blocks that are adjacent to the prediction unit 1501. So edge 1504 is the edge of neighboring left block 1502, and the edge 1505 is the edge from neighboring top block 1503. These edges are formed due to the partition of neighboring blocks into sizes that are smaller than the prediction unit 1501. So if the encoding unit does not expressly transmit information identifying the location for the prediction sample C that is transmitted in a reconstructed state within the video signal, the encoding unit must select a location within the prediction unit that may be easily identifiable by the decoding unit. The edges of neighboring blocks offer such a marking point that may be easily identifiable by the receiving decoding unit. So the encoding unit will base the coordinates of the first prediction sample to correspond to these neighboring edges because each edge point where one block ends and the next block starts can be easily detected by the decoding unit that receives the video signal including the prediction unit 1501.
[0060] Fig. 16 illustrates one method of how a decoding unit may detect an edge. The method illustrated in Fig. 16 is able to locate an edge position by finding the point at which two adjacent previously reconstructed samples have the greatest difference in sample value. Each reconstructed sample will have its own corresponding sample value. Then because each neighboring block can be assumed to have been uniquely predicted and reconstructed, it can be assumed that while reconstructed samples within a same block will share similar sample values, samples belonging to separate blocks will not share similar sample values. Therefore it reasons that at the edge point where the end of one block becomes the start of the next adjacent block, comparing the two adjacent samples where one sample belongs to a first block and the second sample belongs to a second block will result in the greatest difference in sample values. So in Fig. 16, the decoding unit may calculate the differentials for all adjacent samples that make up the row of samples that line up immediately to the top of the current prediction unit 1601. Then, when the decoding unit finds the greatest differential in sample values between two adjacent samples, this can be considered the point at which there is an edge between two adjacent blocks. And correspondingly, this is the point where the decoding unit may consider being the x-coordinate for the first prediction sample C that is received in a reconstructed state. Similarly, the decoding unit will calculate the differentials for all adjacent samples that make up the column of samples that line up immediately to the left of the current prediction unit 1601. Then, where the decoding unit finds the greatest differential in sample values between two adjacent samples, this can be considered the point at which there is an edge between two adjacent blocks. And correspondingly, this is the point where the decoding unit may consider being the y-coordinate for the first prediction sample C that is received in a reconstructed state.
[0061] Another method for determining the coordinates of a first prediction sample that is transmitted by in a reconstructed state, is for a decoding unit receiving the prediction unit to parse partition information for neighboring blocks. Typically, a video signal that is encoded by the encoding unit will be comprised of video data and identifying information. The prediction unit may be considered to be part of the video data, and the partition information may be considered to be part of the identifying information. The partition information identifies how each block of video data is partitioned into smaller blocks of video data. For instance a tree block of data may be partitioned into a plurality of coding blocks, then each coding block may be partitioned into a plurality of prediction blocks/units, then each prediction block/unit may be partitioned into a plurality of transform blocks/units, and so on. It is also within the scope of the present invention to partition video data into non-square areas of sample data, in which case geometry block partition information may also be included as part of the identifying information.
[0062] In any case, such partition information is transmitted as part of the identifying information along with the prediction units that comprise the video data in the video signal. Thus upon receiving the video signal including the prediction units and partition information, the decoding unit will be able to parse the partition information to determine the partition size of each prediction unit that neighbors a current prediction unit. This is depicted in Fig. 17.
[0063] In Fig. 17, if a decoding unit receives current prediction unit 1701 and is processing a prediction on current prediction unit 1701 according to the new intra planar mode of the present invention, the decoding unit will have also received and parsed partition information pertaining to the blocks that neighbor current prediction unit 1701. Thus the partition information will identify the size of each partitioned block of video data that neighbors to the top of the current prediction unit 1701. And from this partition information, the decoding unit is able to identify where the partition between neighboring top block NB1 and NB2 occurs. And from this determination, the decoding unit can follow the resulting edge line to determine the x-coordinate for the first current prediction sample C. Similarly, the partition information will identify the size of each partitioned block of video data that neighbors to the left of the current prediction unit 1701. And from this partition information, the decoding unit is able to identify where the partition between neighboring left blocks NB3 and NB4 occurs. Then by knowing where the partition between neighboring left block NB3 and NB4 occurs, the decoding unit can follow the resulting edge line to determine the y-coordinate for the first current prediction sample C.
[0064] So when the location of the first prediction unit that is transmitted in a reconstructed state is selected to coincide with edge lines resulting from the partitioning of neighboring blocks, a decoding unit may successfully identify these edge lines to determine the location for the first prediction unit that is transmitted in the reconstructed state.
[0065] Now after receiving the prediction unit containing the first prediction sample that is in a reconstructed state, and then determining the location of the first prediction sample, prediction for the remaining samples within the prediction unit according to the new intra planar prediction modes of the present invention may be processed. So in Fig. 18, the first current prediction sample C is seen to have been received in a reconstructed state, and the location of the first current prediction sample C has been determined to have the corresponding x-coordinate and y-coordinate. Now the block marked as 1 that is within the current prediction unit 1801, and is defined by having the first current prediction sample C as its bottom-right sample, is predicted by any one of the embodiments for the new intra planar mode of the present invention. After predicting the samples of block 1, then the remaining current prediction samples that are within the current prediction unit 1801 are marked as blocks 2, 3 and 4. These remaining samples may be predicted by any one of the embodiments of the new intra planar mode of the present invention. This may be accomplished by first reconstructing the bottom-right sample within each block 2, 3 and 4 and referencing this bottom-right sample for predicting each individual block 2, 3 and 4 separately. Or the remaining samples within blocks 2, 3 and 4 may be predicted as a whole. In any case the remaining samples in block 2, 3 and 4 may be predicted according to any one of the embodiments of the new intra planar mode according to the present invention.
[0066] Or as an alternative, the remaining samples within blocks 2, 3 and 4 may be predicted by copying the reconstructed samples within any of the neighboring blocks that have been previously reconstructed, for instance block 1.
[0067] Or as another alternative, the remaining blocks may be predicted by referencing samples from a neighboring block that is determined to be a dominant block. The dominant block will have sample characteristics that are most similar to the current block that is being prediction processed. This is illustrated in Fig. 19, where the current prediction block 1901 is currently being predicted. For exemplary purposes, each neighboring block is depicted as having various shades of gray, wherein the darker shading indicates a higher dominance. The neighboring top-left block is seen to have the highest dominance, and therefore the neighboring top-left block will be referenced to predict the current prediction block 1901. By referencing the neighboring top-left block, the current prediction block may be predicted by simply copying the samples from the neighboring top-left block or by referencing the samples within the neighboring top-left block to perform prediction processing according to any of the available intra prediction modes.
[0068] In order to identify the most dominant neighboring block for the current prediction block 1901, dominant block information will be included as part of the identifying information that is transmitted as part of a video signal by an encoding unit. Then when a decoding unit receives the video signal including the dominant block information and the current prediction block 1901, the decoding unit will be able to parse the dominant block information to determine which neighboring block will be referenced for predicting the current prediction block 1901.
[0069] Fig. 20 is a schematic block diagram of a video signal decoding unit that may be used to perform the new intra planar mode predictions according to the present invention.
[0070] Referring to Fig. 20, the decoding unit according to the present invention includes an entropy decoding unit 2010, an inverse quantizing unit 2020, an inverse transforming unit 2025, a deblocking filtering unit 2030, a decoded/reconstructed picture storing unit 2040, an inter prediction unit 2050 and an intra prediction unit 2060.
[0071] The entropy decoding unit 2010 extracts a transform coefficient of each block of video data, a motion vector, a reference picture index and the like by performing entropy decoding on a video signal bitstream that is encoded by an encoding unit (not pictured). The inverse quantizing unit 2020 inverse-quantizes the entropy decoded transform coefficient, and the inverse transforming unit 2025 then restores an original sample value using the inverse-quantized transform coefficient. The deblocking filtering unit 2030 is applied to each coded block of video data to reduce block distortion. A picture through filtering is stored in the decoded picture storing unit 2040 to be outputted or used as a reference picture. The inter predicting unit 2050 predicts a current picture using the reference picture stored in the decoded picture storing unit 2040 and inter prediction information (e.g., reference picture index, motion vector, etc.) delivered from the entropy decoding unit 2010. In particular, motion vectors of blocks adjacent to a current block (ie. neighboring blocks) are extracted from a video signal. A predicted motion vector of the current block may be obtained from the neighboring block. The neighboring block may include a block located at a left, top or right top side of the current block. For instance, a predicted motion vector of a current block may be obtained using median value of horizontal and vertical components of motion vectors of neighboring blocks. Alternatively, in case that a left block of a current block has at least one prediction block coded in an inter mode, a predicted motion vector of the current block may be obtained using a motion vector of a prediction block located at a top side of the current block. In case that a top block of a current block has at least one prediction block coded in an inter mode, a predicted motion vector of the current block may be obtained using a motion vector of a prediction block located at a most left side. In case that blocks located at top and right sides of a current block among neighboring blocks are located outside a boundary of a picture or slice, a predicted motion vector of the current block may be set to a motion vector of a left block. If there exists one block having the same reference picture index of a current block among neighboring blocks, a motion vector of the block may be used for motion prediction.
[0072] The intra predicting unit 2060 performs intra prediction by referencing previously reconstructed samples from within a current picture. The reconstructed sample within the current picture may include a sample to which deblocking filtering is not applied. An original picture is then reconstructed by adding the predicted current picture and a residual outputted from the inverse transforming unit 2025 together. For each prediction unit of video data, each current prediction sample of a current prediction unit will be processed according to the new intra planar mode prediction of the present invention by the intra prediction unit 2060. Then the predicted current prediction samples will be reconstructed by combining the predicted samples with a residual outputted from the inverse transforming unit 2025.
[0073] Fig. 21 is a block diagram of an alternative view of the decoding unit illustrated by Fig. 20. Fig. additionally includes a block type determining unit 2100 and a reconstructing unit 2170. The block type determining unit 2100 determines whether a current prediction unit is an inter predicted type unit or an intra prediction type unit. If the block type determining unit determines that the current prediction unit is an inter prediction type unit then the current prediction unit will be sent along to the inter prediction unit 2150. And if the block type determining unit determines that the current prediction unit is an intra prediction type unit, then the current prediction unit will be sent along to the intra prediction unit 2160.
[0074] Fig. 21 also illustrates that the intra prediction unit 2160 is comprised of a prediction size determining unit 2161 and a prediction mode obtaining unit 2162. The prediction size determining unit 2161 is able to determine the size of a current prediction unit that is being predicted by the intra prediction unit 2160 by either parsing identifying information that is encoded into the video signal by an encoding unit and is received by the decoding unit, or by directly processing the current prediction unit to determine its size. So according to the first method, the encoding unit that encodes the video signal and accompanying identifying information, will include size information for each prediction unit of video data that is encoded into the video signal. Then the decoding unit need only parse the identifying information from the video signal to determine the size for each prediction unit it receives. According to the second method, the encoding unit does not expressly include size information for each prediction unit of video data into the video signal. Instead, the prediction size determining unit 2161 of the decoding unit is tasked with processing each prediction unit to determine the size of each prediction unit. It should be noted that according to the first method, the actual parsing of the identifying information to determine the size of each prediction unit may be processed by either the prediction size determining unit 2161 or the entropy decoding unit 2010 as seen in Fig. 20.
[0075] The prediction mode obtaining unit 2162 is tasked with parsing identifying information that is included in a video signal to determine the proper intra prediction mode to apply to each current prediction unit that is being predicted by the intra prediction unit 2160. So according to the present invention, the prediction mode obtaining unit 2162 will process signaling information from the identifying information included in a video signal and determine from the signaling information that the new intra planar mode for prediction should be applied to a current prediction unit.
[0076] And once the current prediction unit is properly predicted by the intra prediction unit 2160 according to the proper intra prediction mode identified by the prediction mode determining unit 2162, the predicted samples of the current prediction unit will be reconstructed by the reconstructing unit 2170. The reconstructing unit 2170 is able to reconstruct the predicted samples by combining them with residual values obtained from the inverse transforming unit 2125.
1. A method for decoding a video signal in intra planar prediction mode, the method comprising:
predicting a video data sample included in a current block of the video signal by processing a bi-linear interpolation of a first reference sample, a second reference sample, a third reference sample, and a fourth reference sample,
the first reference sample being a neighboring left sample of the current block and being on a same y-coordinate line as the video data sample,
the second reference sample being a neighboring top sample of the current block and being on a same x-coordinate line as the video data sample,
the third reference sample being a reference sample taken from a neighboring top-right block of the current block, and
the fourth reference sample being a reference sample taken from a neighboring bottom-left block of the current block; and
reconstructing the video data sample based on the predicted video data sample,
wherein the same third and fourth reference samples are used in the bi-linear interpolation process for each of a plurality of video data samples to be predicted within the current block.
2. The method of claim 1, the processing the bi-linear interpolation comprising:
processing a first linear interpolation by referencing the first reference sample and the third reference sample; and
processing a second linear interpolation by referencing the second reference sample and the fourth reference sample.
3. The method of claim 2, wherein the predicted video data sample is a resulting average from the first linear interpolation of the first reference sample and the third reference sample and the second linear interpolation of the second reference sample and fourth reference sample.
4. An apparatus for decoding a video signal in intra planar prediction mode, the apparatus comprising:
an intra predicting unit configured to:
predict a video data sample included in a current block of the video signal by processing a bi-linear interpolation of a first reference sample, a second reference sample, a third reference sample, and a fourth reference sample,
the first reference sample being a neighboring left sample of the current block and being on a same y-coordinate line as the video data sample,
the second reference sample being a neighboring top sample of the current block and being on a same x-coordinate line as the video data sample,
the third reference sample being a reference sample taken from a neighboring top-right block of the current block, and
the fourth reference sample being a reference sample taken from a neighboring bottom-left block of the current block; and
reconstruct the video data sample based on the predicted video data sample,
wherein the same third and fourth reference samples are used in the bi-linear interpolation process for each of a plurality of video data samples to be predicted within the current block.
5. The apparatus of claim 4, the processing the bi-linear interpolation comprising:
processing a first linear interpolation by referencing the first reference sample and the third reference sample; and
processing a second linear interpolation by referencing the second reference sample and the fourth reference sample.
6. The apparatus of claim 5, wherein the predicted video data sample is a resulting average from the first linear interpolation of the first reference sample and the third reference sample and the second linear interpolation of the second reference sample and fourth reference sample.
7. A method for encoding a video signal in intra planar prediction mode, the method comprising:
predicting a video data sample included in a current block of the video signal by processing a bi-linear interpolation of a first reference sample, a second reference sample, a third reference sample, and a fourth reference sample,
the first reference sample being a neighboring left sample of the current block and being on a same y-coordinate line as the video data sample,
the second reference sample being a neighboring top sample of the current block and being on a same x-coordinate line as the video data sample,
the third reference sample being a reference sample taken from a neighboring top-right block of the current block, and
the fourth reference sample being a reference sample taken from a neighboring bottom-left block of the current block; and
encoding the video data sample based on the predicted video data sample,
wherein the same third and fourth reference samples are used in the bi-linear interpolation process for each of a plurality of video data samples to be predicted within the current block.
8. An apparatus for encoding a video signal in intra planar prediction mode, the apparatus comprising:
an intra predicting unit configured to:
predict a video data sample included in a current block of the video signal by processing a bi-linear interpolation of a first reference sample, a second reference sample, a third reference sample, and a fourth reference sample,
the first reference sample being a neighboring left sample of the current block and being on a same y-coordinate line as the video data sample,
the second reference sample being a neighboring top sample of the current block and being on a same x-coordinate line as the video data sample,
the third reference sample being a reference sample taken from a neighboring top-right block of the current block, and
the fourth reference sample being a reference sample taken from a neighboring bottom-left block of the current block; and
encode the video data sample based on the predicted video data sample,
wherein the same third and fourth reference samples are used in the bi-linear interpolation process for each of a plurality of video data samples to be predicted within the current block.
1. Verfahren zum Decodieren eines Videosignals im intraplanaren Prädiktionsmodus, wobei das Verfahren umfasst:
Vorhersage eines Videodatenabtastwertes, der in einem aktuellen Block des Videosignals enthalten ist, durch Verarbeitung einer bi-linearen Interpolation eines ersten Referenzabtastwertes, eines zweiten Referenzabtastwertes, eines dritten Referenzabtastwertes und eines vierten Referenzabtastwertes,
wobei der erste Referenabtastwert ein benachbarter linker Abtastwert des aktuellen Blocks ist und sich auf derselben y-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der zweite Referenzabtastwert ein benachbarter oberer Abtastwert des aktuellen Blocks ist und sich auf derselben x-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der dritte Referenzabtastwert ein Referenzabtastwert ist, der aus einem benachbarten Block oben rechts des aktuellen Blocks entnommen wurde, und
wobei der vierte Referenzabtastwert ein Referenzabtastwert ist, der aus einem benachbarten Block unten links des aktuellen Blocks entnommen wurde; und
Rekonstruktion des Videodatenabtastwerts auf der Grundlage des vorhergesagten Videodatenabtastwerts,
wobei die gleichen dritten und vierten Referenzabtastwerte in dem bi-linearen Interpolationsprozess für jeden einer Vielzahl von Videodatenabtastwerten verwendet werden, die innerhalb des aktuellen Blocks vorhergesagt werden sollen.
2. Das Verfahren von Anspruch 1, wobei die Verarbeitung der bi-linearen Interpolation umfasst:
Verarbeitung einer ersten linearen Interpolation durch Bezugnahme auf den ersten Referenzabtastwert und den dritten Referenzabtastwert; und
Verarbeitung einer zweiten linearen Interpolation durch Bezugnahme auf den zweiten Referenzabtastwert und den vierten Referenzabtastwert.
3. Verfahren nach Anspruch 2, wobei der vorhergesagte Videodatenabtastwert ein resultierender Mittelwert aus der ersten linearen Interpolation des ersten Referenzabtastwerts und des dritten Referenzabtastwerts und der zweiten linearen Interpolation des zweiten Referenzabtastwerts und des vierten Referenzabtastwerts ist.
4. Vorrichtung zum Decodieren eines Videosignals im intraplanaren Vorhersagemodus, wobei die Vorrichtung umfasst:
eine Intra-Vorhersageeinheit, die konfiguriert ist:
einen Videodatenabtastwert, der in einem aktuellen Block des Videosignals enthalten ist, durch Verarbeitung einer bi-linearen Interpolation eines ersten Referenzabtastwerts, eines zweiten Referenzabtastwerts, eines dritten Referenzabtastwerts und eines vierten Referenzabtastwerts vorherzusagen,
wobei der erste Referenzabtastwert ein benachbarter linker Abtastwert des aktuellen Blocks ist und sich auf derselben y-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der zweite Referenzabtastwert ein benachbarter oberer Abtastwert des aktuellen Blocks ist und sich auf derselben x-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der dritte Referenzabtastwert ein Referenzabtastwert ist, der aus einem benachbarten Block oben rechts des aktuellen Blocks entnommen wurde, und
wobei der vierte Referenzabtastwert ein Referenzabtaswert ist, der aus einem benachbarten Block unten links des aktuellen Blocks entnommen wurde; und
den Videodatenabtastwert auf der Grundlage des vorhergesagten Videodatenabtastwerts zu rekonstruieren,
wobei die gleichen dritten und vierten Referenzabtastwerte in dem bi-linearen Interpolationsprozess für jeden einer Vielzahl von Videodatenabtastwerten verwendet werden, die innerhalb des aktuellen Blocks vorhergesagt werden sollen.
5. Die Vorrichtung nach Anspruch 4, wobei die Verarbeitung der bi-linearen Interpolation umfasst:
Verarbeitung einer ersten linearen Interpolation durch Bezugnahme auf den ersten Referenzabtastwert und den dritten Referenzabtastwert; und
Verarbeitung einer zweiten linearen Interpolation durch Bezugnahme auf den zweiten Referenzabtastwert und den vierten Referenzabtastwert.
6. Vorrichtung nach Anspruch 5, wobei die vorhergesagten Videodatenabtastwerte ein resultierender Mittelwert aus der ersten linearen Interpolation des ersten Referenzabtastwerts und des dritten Referenzabtastwerts und der zweiten linearen Interpolation des zweiten Referenzabtaswerts und des vierten Referenzabtaswerts ist.
7. Verfahren zum Codieren eines Videosignals im intraplanaren Vorhersagemodus, wobei das Verfahren umfasst:
Vorhersage eines Videodatenabtastwertes, der in einem aktuellen Block des Videosignals enthalten ist, durch Verarbeitung einer bi-linearen Interpolation eines ersten Referenzabtastwertes, eines zweiten Referenzabtastwertes, eines dritten Referenzabtastwertes und eines vierten Referenzabtastwertes,
wobei der erste Referenzabtastwert ein benachbarter linker Abtastwert des aktuellen Blocks ist und sich auf derselben y-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der zweite Referenzabtastwert ein benachbarter oberer Abtastwert des aktuellen Blocks ist und sich auf derselben x-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der dritte Referenzabtastwert ein Referenzabtastwert ist, der aus einem benachbarten Block oben rechts des aktuellen Blocks entnommen wurde, und
wobei der vierte Referenzabtastwert eine Referenzabtastwert ist, der aus einem benachbarten Block unten links des aktuellen Blocks entnommen wurde; und
Codierung des Videodatenabtastwerts auf der Grundlage des vorhergesagten Videodatenabtastwerts,
wobei die gleichen dritten und vierten Referenzabtastwerte in dem bi-linearen Interpolationsprozess für jeden einer Vielzahl von Videodatenabtastwerten verwendet werden, die innerhalb des aktuellen Blocks vorhergesagt werden sollen.
8. Vorrichtung zum Codieren eines Videosignals im intraplanaren Vorhersagemodus, wobei die Vorrichtung umfasst:
eine Intra-Vorhersageeinheit, die konfiguriert ist:
einen Videodatenabtastwert, der in einem aktuellen Block des Videosignals enthalten ist, durch Verarbeitung einer bi-linearen Interpolation eines ersten Referenzabtastwerts, eines zweiten Referenzabtastwerts, eines dritten Referenzabtastwerts und eines vierten Referenzabtastwerts vorherzusagen,
wobei der erste Referenzabtastwert ein benachbarter linker Abtastwert des aktuellen Blocks ist und sich auf derselben y-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der zweite Referenzabtastwert ein benachbarter oberer Abtastwert des aktuellen Blocks ist und sich auf derselben x-Koordinatenlinie wie der Videodatenabtastwert befindet,
wobei der dritte Referenzabtastwert eine Referenzabtastwert ist, der aus einem benachbarten Block oben rechts des aktuellen Blocks entnommen wurde, und
wobei der vierte Referenzabtaswert ein Referenzabtastwert ist, der aus einem benachbarten Block unten links des aktuellen Blocks entnommen wurde; und
den Videodatenabtastwert auf der Grundlage des vorhergesagten Videodatenabtastwerts zu kodieren,
wobei die gleichen dritten und vierten Referenzabtastwerte in dem bi-linearen Interpolationsprozess für jeden einer Vielzahl von Videodatenabtastwerten verwendet werden, die innerhalb des aktuellen Blocks vorhergesagt werden sollen.
1. Procédé pour décoder un signal vidéo dans un mode d'intra-prédiction planaire, consistant à :
prédire un échantillon de données vidéo inclus dans un bloc courant du signal vidéo par traitement d'une interpolation bilinéaire d'un premier échantillon de référence, d'un deuxième échantillon de référence, d'un troisième échantillon de référence et d'un quatrième échantillon de référence,
le premier échantillon de référence étant un échantillon gauche voisin du bloc courant et étant sur une même ligne de coordonnée y que l'échantillon de données vidéo,
le deuxième échantillon de référence étant un échantillon haut voisin du bloc courant et étant sur une même ligne de coordonnée x que l'échantillon de données vidéo,
le troisième échantillon de référence étant un échantillon de référence reconstruit prélevé à partir d'un bloc haut-droit voisin du bloc courant, et
le quatrième échantillon de référence étant un échantillon de référence reconstruit prélevé à partir d'un bloc bas-gauche voisin du bloc courant ; et
reconstruire l'échantillon de données vidéo en fonction de l'échantillon de données vidéo prédit,
les mêmes troisième et quatrième échantillons de référence étant utilisés dans le traitement d'interpolation bilinéaire pour chacun échantillon de données vidéo de la pluralité d'échantillons de données vidéo à prédire dans le bloc courant.
2. Procédé selon la revendication 1, le traitement de l'interpolation bilinéaire consistant à :
traiter une première interpolation linéaire en faisant référence au premier échantillon de référence et au troisième échantillon de référence ; et
traiter une seconde interpolation linéaire en faisant référence au deuxième échantillon de référence et au quatrième échantillon de référence.
3. Procédé selon la revendication 2, dans lequel l'échantillon de données vidéo prédit est une moyenne résultante de la première interpolation linéaire du premier échantillon de référence et du troisième échantillon de référence et de la seconde interpolation linéaire du deuxième échantillon de référence et du quatrième échantillon de référence.
4. Appareil de décodage d'un signal vidéo dans un mode d'intra-prédiction planaire, l'appareil comprenant :
une unité d'intra-prédiction conçue pour :
prédire un échantillon de données vidéo inclus dans un bloc courant du signal vidéo par traitement d'une intra-prédiction planaire d'un premier échantillon de référence, d'un deuxième échantillon de référence, d'un troisième échantillon de référence et d'un quatrième échantillon de référence,
le premier échantillon de référence étant un échantillon voisin gauche du bloc courant et étant sur une même ligne de coordonnée y que l'échantillon de données, vidéo,
le deuxième échantillon de référence étant un échantillon voisin en haut du bloc courant et étant sur une même ligne de coordonnée x que l'échantillon de données vidéo,
le troisième échantillon de référence étant un échantillon prélevé d'un bloc haut droit du bloc courant, et
le quatrième échantillon de référence étant un échantillon de référence prélevé à partir du bloc voisin bas-gauche du bloc courant ; et
reconstruire l'échantillon de données vidéo en fonction de l'échantillon de données vidéo prédites,
les troisième et quatrième échantillons de référence identiques sont utilisés dans le processus d'intra-prédiction planaire pour chacun des échantillons de données vidéo à prédire dans le bloc courant.
5. Appareil selon la revendication 4, le traitement de l'interpolation bilinéaire consistant à :
traiter une première interpolation linéaire en faisant référence au premier échantillon de référence et au troisième échantillon de référence ; et
traiter une seconde interpolation linéaire en faisant référence au second échantillon de référence et au quatrième échantillon de référence.
6. Appareil selon la revendication 5, dans lequel l'échantillon de données vidéo prédites est une moyenne obtenue à partir de la première interpolation linéaire du premier échantillon de référence et du troisième échantillon de référence et de la seconde interpolation linéaire du second échantillon de référence et du quatrième échantillon de référence.
7. Procédé de codage d'un signal vidéo dans un mode d'intra-prédiction planaire, le procédé consistant à :
prédire un échantillon de données vidéo inclus dans un bloc courant du signal vidéo par traitement d'une interpolation bilinéaire d'un premier échantillon de référence, d'un deuxième échantillon de référence, d'un troisième échantillon de référence et d'un quatrième échantillon de référence,
le premier échantillon de référence étant un échantillon gauche voisin du bloc courant et étant sur une même ligne de coordonnée y que l'échantillon de données vidéo,
le deuxième échantillon de référence étant un échantillon haut voisin du bloc courant et étant sur une même ligne de coordonnée x que l'échantillon de données vidéo,
le troisième échantillon de référence étant un échantillon de référence reconstruit prélevé à partir d'un bloc haut-droit voisin du bloc courant, et
le quatrième échantillon de référence étant un échantillon de référence reconstruit prélevé à partir d'un bloc bas-gauche voisin du bloc courant ; et
les mêmes troisième et quatrième échantillons de référence étant utilisés dans le traitement d'interpolation bilinéaire pour chacun échantillon de données vidéo de la pluralité d'échantillons de données vidéo à prédire dans le bloc courant.
8. Appareil pour coder un signal vidéo dans un mode de prédiction intra-planaire, l'appareil comprenant :
une unité d'intra-prédiction conçue pour :
prédire un échantillon de données vidéo inclus dans un bloc courant du signal vidéo par traitement d'un interpolation bilinéaire d'un premier échantillon de référence, d'un second échantillon de référence, d'un troisième échantillon de référence et d'un quatrième échantillon de référence,
le premier échantillon de référence étant un échantillon gauche voisin du bloc courant et étant sur une même ligne de coordonnée x que l'échantillon de données vidéo,
le troisième échantillon de référence étant un échantillon de référence prélevé d'un bloc haut-droit voisin du bloc courant, et
le quatrième échantillon de référence étant un échantillon de référence prélevé d'un bloc bas-gauche voisin du bloc courant ; et
coder l'échantillon de données vidéo en fonction de l'échantillon de données vidéo prédit,
les mêmes troisième et quatrième échantillons de données étant utilisés dans le traitement d'interpolation bilinéaire pour chaque échantillon d'une pluralité d'échantillons de données vidéo à prédire dans le bloc courant.