摘要 |
Relating to the field of video coding, the present invention provides a method and an apparatus for building a motion vector list for motion vector prediction, which solve a problem of building motion vector lists of at least two PUs in a same coding unit in a serial manner, and improve the parallel processing capability. The method includes: obtaining spatial neighboring blocks of a current prediction block, where the current prediction block is located inside a current coding unit; determining available neighboring blocks of the current prediction block according to a partition manner of the current coding unit, where the available neighboring blocks are located outside the current coding unit; and obtaining motion vector predictors from the available neighboring blocks in a preset sequence according to motion vector predictors of the available neighboring blocks, and adding the obtained motion vector predictors to the motion vector list. The present invention is applicable to building a motion vector list. |