Patent attributes
A video coder may generate a predictor block using an intra prediction mode. As part of generating the predictor block, the video coder may, for each respective sample in a set of samples in the predictor block, determine, based on an initial value of the first weight and a distance between the respective sample and a first boundary of the predictor block, a value of the first weight for the respective sample. Additionally, the video coder may determine, based on the initial value of the second weight and a distance between the respective sample and a second boundary of the predictor block, a value of the second weight for the respective sample. The video coder may also determine a primary value for the respective sample. The video coder may then determine a secondary value for the respective sample based on the first weight, second weight, and the primary value.