摘要 |
A video encoding apparatus includes: a parameter calculator to calculate a brightness compensation parameter based on one or more first pixels adjacent to a current block and one or more second pixels adjacent to a motion prediction block obtained by using a prediction motion vector, the one or more second pixels being located in locations corresponding to the one or more first pixels; a target pixel selector to select one or more target pixels for a brightness compensation from pixels in a prediction block determined by a motion vector of the current block, by using pixels adjacent to the motion prediction block; and a predictive encoder to generate a compensated prediction block of the prediction block by applying the brightness compensation parameter to the selected one or more target pixels and to perform a predictive encoding on the generated compensated prediction block. |