摘要 |
A prediction unit is identified within a picture of a video sequence. The prediction unit is bordered by neighboring prediction units within the picture. The neighboring prediction units include first and second neighboring prediction units that are separated from one another by at least a third neighboring prediction unit. A subset of the neighboring prediction units is scanned to identify an MVP candidate. The subset includes at least the first and second neighboring prediction units and excludes at least the third neighboring prediction unit. An encoder calculates a difference between a motion vector of the MVP candidate and a motion vector of the prediction unit, and encodes the difference and an index to identify the MVP candidate. A decoder decodes the difference, and calculates the motion vector of the prediction unit by adding the difference to the motion vector of the MVP candidate. |