Patent Document ID: 9167248
Application ID: 13940064

Base Claim:
1. A method of decoding video data, the method comprising: generating an initial version of a reference picture list; determining that a reference picture list modification (RPLM) syntax element is a last RPLM syntax element in an ordered set of one or more RPLM syntax elements when the RPLM syntax element has a particular value; generating a final version of the reference picture list, wherein for each respective RPLM syntax element in the ordered set of RPLM syntax elements that does not have the particular value, the final version of the reference picture list includes, at an insertion position for the respective RPLM syntax element, a reference picture associated with the respective RPLM syntax element, wherein the respective RPLM syntax element indicates a position in the initial version of the reference picture list of the reference picture associated with the respective RPLM syntax element, and wherein the insertion position for the respective RPLM syntax element corresponds to a position in the ordered set of RPLM syntax elements of the respective RPLM syntax element; and decoding, based on a reference picture in the reference picture list, a block of the video data.

---

Claim 3:
3. The method of claim 1 , wherein generating the final version of the reference picture list comprises: generating a temporary reference picture index list; for each respective RPLM syntax element in the ordered set of RPLM syntax elements that is less than the particular value: determining an end position associated with the respective RPLM syntax element, wherein the end position associated with the respective RPLM syntax element is a position in the temporary reference picture index list that contains an index value equal to an index value specified by the respective RPLM syntax element; and shifting, by one position, a set of index values in the temporary reference picture index list, wherein the set of index values starts with an index value at a position within the temporary reference picture index list identified by an index to a position of the respective RPLM syntax element in the ordered set of RPLM syntax elements, wherein the set of index values ends with the end position associated with the respective RPLM syntax element; and while a position indicator is less than the number of positions in the final version of the reference picture list: configuring the final version of the reference picture list such that a reference picture at a current position in the initial version of the reference picture list is assigned to a current position in the final version of the reference picture list, wherein the position indicator indicates the current position in the final version of the reference picture list and a position in the temporary reference picture index list of a current index value of the temporary reference picture index list, wherein the current index value of the temporary reference picture index list indicates the current position in the initial version of the reference picture list; and incrementing the position indicator.