Image decoding apparatus and image coding apparatus
AssigneeSharp Kabushiki Kaisha
InventorsKiran Mukesh Misra, Jie Zhao, Christopher Andrew Segall
Life of this patent
Estimating the term…
Abstract
A method of generating a prediction for an area of video data, comprises Receiving a rectangular video block including sample values, and for each sample included in the video block, generating a predictive sample value by averaging a horizontal interpolation and a vertical interpolation corresponding to the location of the sample within the video block.
Claims6
A method of generating a predicted sample value corresponding to a current sample having a position, (x, y), in a rectangular video block according to a planar prediction, the method comprising:
- calculating a vertical interpolation value being equal to a product of a width, W, of the rectangular video block and a sum of a first value, (H−1−y)*p[x][−1], and a second value, (y+1)*p[−1][H];
- calculating a horizontal interpolation value being equal to a product of a height, H, of the rectangular video block and a sum of a third value, (W−1−x)*p[−1][y], and a fourth value, (x+1)*p[W][−1];
- and
- where,
- p[x][−1] is a sample value of a reconstructed sample located in an adjacent above row to the rectangular video block and having a same horizontal position as the current sample,
- p[−1][H] is a sample value of a reconstructed sample located at adjacent to a bottom left of the rectangular video block,
- p[−1][y] is a sample value of a reconstructed sample located in an adjacent left column to the rectangular video block and having a same vertical position as the current sample,
- p[W][−1] is a sample value of a reconstructed sample located at adjacent to an upper right of the rectangular video block
- and
- generating the predicted sample value being equal to a quotient of (a) a sum of the vertical interpolation value, the horizontal interpolation value, and the product of the width of the rectangular video block and the height of the rectangular video block, W*H, and (b) a product of twice the width of the rectangular video block and the height of the rectangular video block, 2*W*H.
A device for coding video data by generating a predicted sample value corresponding to a current sample having a position, (x, y), in a rectangular video block according to a planar prediction, the device comprising one or more processors configured to:
- calculate a vertical interpolation value being equal to a product of a width, W, of the rectangular video block and a sum of a first value, (H−1−y)*p[x][−1], and a second value, (y+1)*p[−1][H];
- calculate a horizontal interpolation value being equal to a product of a height, H, of the rectangular video block and a sum of a third value, (W−1−x)*p[−1][y], and a fourth value, (x+1)*p[W][−1];
- and
- where,
- p[x][−1] is a sample value of a reconstructed sample located in an adjacent above row to the rectangular video block and having a same horizontal position as the current sample,
- p[−1][H] is a sample value of a reconstructed sample located at adjacent to a bottom left of the rectangular video block,
- p[−1][y] is a sample value of a reconstructed sample located in an adjacent left column to the rectangular video block and having a same vertical position as the current sample,
- p[W][−1] is a sample value of a reconstructed sample located at adjacent to an upper right of the rectangular video block
- and
- generate the predicted sample value being equal to a quotient of (a) a sum of the vertical interpolation value, the horizontal interpolation value, and the product of the width of the rectangular video block and the height of the rectangular video block, W*H, and (b) a product of twice the width of the rectangular video block and the height of the rectangular video block, 2*W*H.
Dependencies are inferred from the claim text.