CPC H04N 19/105 (2014.11) [H04N 19/11 (2014.11); H04N 19/147 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/593 (2014.11); H04N 19/96 (2014.11)] | 15 Claims |
1. A method, comprising:
predicting a video sample belonging to a rectangular block based on at least one sample of a neighboring block lying along a direction based on block shape of the rectangular block, wherein a greater number of prediction directions are available along a longer side of said rectangular block than along a shorter side of said rectangular block; and,
encoding the rectangular block using intra prediction based on the predicted video sample, wherein a mapping of a regular mode to a wide angle mode is performed based on a ratio of block width to block height corresponding to a prediction direction for the rectangular block being encoded and, wherein a fixed number of prediction indices are used to indicate a range of intra prediction directions, an angular prediction mode is mapped to a wide angle mode by a value that corresponds to the target block shape and the mapping of angular modes to wide angle modes is one-to-one, the overall number of intra prediction directions is fixed, the range of intra prediction directions being adapted to a shape of the rectangular block and a range of intra prediction directions extends beyond the prediction directions for a square block, and wherein a reference array of samples above the rectangular block has length of 2W+1 and a reference array of samples left of the rectangular block has height 2H+1, where W is a width of the rectangular block and H is a height of the rectangular block and prediction directions on the longer side of said rectangular block extend to angles ranging from 45 degrees down to −135 degrees.
|