1. A method, comprising: identifying an inter prediction block for a first block of a video frame; identifying an intra prediction block for the first block based on an intra prediction mode for the first block; forming, using a processor, a combined prediction block for the first block by combining weighted pixel values of the inter prediction block and weighted pixel values of the intra prediction block, wherein a weighting of each pixel value is based on the intra prediction mode; identifying weighting values according to a formula A+B −Kx ; wherein A, B and K are constants; and x represents a distance from the weighting value to a nearest prediction edge; and encoding the first block using the combined prediction block.