A motion compensation device 1000 described in this embodiment, which may be implemented in the inter predictor 124 of the video encoding apparatus and/or the inter predictor 344 of the video decoding apparatus, may include a reference block generator 1010, a skip determiner 1020, and a prediction block generator 1030. Each of these components may be implemented as a hardware chip or may be implemented as software, and one or more microprocessors may be implemented to execute the functions of the software corresponding to the respective components.
The reference block generator 1010 generates a first reference block using a first motion vector referring to a first reference picture in reference picture list 0, and generates a second reference picture using a second motion vector referring to a second reference picture in reference picture list 1.
The skip determiner 1020 determines whether to apply the BIO process in the motion compensation procedure.
When it is determined by the skip determiner 1020 that the BIO process is skipped, the prediction block generator 1030 generates a prediction block of a current block by typical motion compensation. That is, the prediction block of the current block is generated by averaging or weighted-averaging the first reference block and the second reference block. On the other hand, when it is determined by the skip determiner 1020 that the BIO process is applied, the prediction block generator 1030 generates a prediction block of the current block using the first reference block and the second reference block according to the BIO process. That is, the prediction block of the current block may be generated by applying Equation 11.