CPC H04N 19/58 (2014.11) [H04N 19/105 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/188 (2014.11); H04N 19/423 (2014.11); H04N 19/44 (2014.11); H04N 19/463 (2014.11); H04N 19/503 (2014.11); H04N 19/70 (2014.11)] | 18 Claims |
1. A method for encoding a video sequence into a bitstream, wherein the bitstream is a High Efficiency Video Coding “HEVC” compliant bitstream, wherein the method comprises, when encoding a current picture of the video sequence:
performing, by at least one processor of an encoder:
calculating an indication to a previous reference picture located before the current picture in decoding order, wherein the previous reference picture is, relatively to the current picture, a closest previous reference picture, in decoding order;
creating a first set of indicators to previous pictures, wherein the first set comprises:
the indication of the previous reference picture,
a second set of indicators to all reference pictures included in a first reference picture set, “RPS”, of the previous reference picture, and
a third set of indicators to all pictures in the first RPS that follow the previous reference picture in decoding order and precede the current picture in decoding order; and
based on a long term reference picture in a second RPS of the current picture having least significant bits of a picture order count, for which more than one picture indicated in the first set share the same value of the least significant bits of picture order count as the long term reference picture:
setting a flag for the long term reference picture, wherein the flag indicates use of a picture order count cycle and least significant bits of the picture order count to indicate the long term reference picture in the second RPS; and
calculating a full picture order count value for each of the more than one picture indicated in the first set that share the same value of the least significant bits of picture order count as the long term reference picture.
|