The invention relates to encoding and decoding pixel blocks (20) of a vid eo frame (10) through a hybrid mode involving usage of a first prediction of a pixel block (20) and at least a second prediction of the pixel block (20) . An initial first weighting factor is modified using a factor modifier to g enerate a first weighting factor comprising multiple different factor values that are assignable to the different pixel-based first prediction values of the first prediction. The first weighting factor is applied to the first pr ediction and a second weighting factor is applied to the second block predic tion. The at least two weighted predictions are then combined to form a hybr id prediction of the current pixel block (20).