| CPC H04N 19/154 (2014.11) [H04N 19/11 (2014.11); H04N 19/147 (2014.11); H04N 19/176 (2014.11)] | 25 Claims |

|
1. A method for encoding video data, comprising:
coding a current video block of a video frame of the video data into a bitstream, the coding comprises:
determining costs of using respective candidate intra prediction modes to predict samples in a template region adjacent to the current video block, wherein determining the costs comprises:
in an initial stage, determining costs of using respective intra prediction modes from an initial set of candidate modes, and
in at least one subsequent stage, determining costs of using respective intra prediction modes from a subsequent set of candidate modes, the subsequent set of candidate modes is selected based on the candidate mode in the previous stage having the lowest cost,
deriving an intra prediction mode based on candidates of the candidate intra prediction modes and their respective costs, and
predicting samples in the current video block using the derived intra prediction mode.
|