a system and method for calculating an output value from a plurality of input sample values contributing to the output value in accordance with a respective weight value . a first intermediate value is interpolated for a first offset value from a first plurality of the input sample values and a second intermediate value is interpolated for a second offset value from a second plurality of the input sample values . the offset values are representative of the weight values of the input samples of the respective plurality of the input samples . the first and second intermediate values are combined to produce a resultant value which is subsequently blended with the remaining input sample values of the plurality in accordance with respective scaling values assigned to the resultant value and the remaining input sample values .