The optical flows vx and vy of the respective pixels in a block are obtained by calculation using Equations 6 to 9 for each pixel in the block.
Once the optical flow (vx, vy) of the current pixel is determined, a bidirectional prediction value predBIO for the current pixel (i, j) according to the BIO may be calculated by Equation 11. predBIO=?·(I(0)+I(1)+vx(τ0?Ix(0)?τ1?Ix(1))+vy(τ0?Iy(0)?τ1?Iy(1))), or predBIO=?·(I(0)+I(1)+vx/2(τ1?Ix(1)?τ0?Ix(0))+vy/2(τ1?Iy(1)?τ0?Iy(0)) ??[Equation 11]
In Equation 11, (I(0)+I(1))/2 is typical bidirectional motion compensation on a block basis, and therefore the remaining terms may be referred to as BIO offsets.