Patent ID: 8755437

Claim:
A method of deriving a first motion vector predictor (MVP) and a second MVP for a motion vector (MV) of a current block in Inter, or Merge, or Skip mode, wherein the MV is associated with the current block and a corresponding block of a target reference picture in a given reference list, the method comprising: receiving first motion vectors (MVs) associated with a first neighboring block group of the current block; receiving second MVs associated with a second neighboring block group of the current block; determining first MV attribute search comprising whether a given first MV pointing to the target reference picture in the given reference list, and determining second MV attribute search comprising whether the given first MV pointing to other reference pictures in the given reference list, whether the given first MV pointing to the target reference picture in other reference list, or whether the given first MV pointing to the other reference pictures in the other reference list; determining third MV attribute search comprising whether a given second MV pointing to the target reference picture in the given reference list, and determining fourth MV attribute search comprising whether the given second MV pointing to the other reference pictures in the given reference list, whether the given second MV pointing to the target reference picture in the other reference list, or whether the given second MV pointing to the other reference pictures in the other reference list; determining the first MVP for the current block from the first neighboring block group according to a search order, wherein first effective MV is selected as the first MVP, and wherein the search order comprises searching the first MVs for the first effective MV having asserted first MV attribute search firstly; and searching the first MVs for the first effective MV having asserted second MV attribute search firstly when no first MV has the asserted first MV attribute search; determining the second MVP for the current block from the second neighboring block group according to the search order, wherein second effective MV is selected as the second MVP, and wherein the search order comprises searching the second MVs for the second effective MV having asserted third MV attribute search firstly; and searching the second MVs for the second effective MV having asserted fourth MV attribute search firstly when no second MV has the asserted third MV attribute search; providing the first MVP for the current block; and providing the second MVP for the current block.