Decoding a picture based on a reference picture set on an electronic device
A method for decoding a picture on an electronic device is described. The method includes obtaining a bitstream. The method also includes obtaining a current picture. The method further includes obtaining a relative reference picture set (RPS) parameter. The method additionally includes initializing an index value. Furthermore, the method includes processing another RPS parameter based on the index value. The method also includes decoding the current picture.
1. A method for decoding a video bitstream, comprising:
identifying a reference picture set from the bitstream, wherein the bitstream includes at least one flag corresponding to at least one reference picture of the reference picture set, wherein a current picture is associated with the reference picture set and encoded in the bitstream; and
decoding the current picture from the bitstream using inter prediction with some reference pictures within the reference picture set;
decoding the at least one flag from the bitstream, wherein the least on flag indicates that the at least one reference picture is to be kept for decoding subsequent pictures, and wherein the at least one reference picture is not used for decoding the current picture.
2. The method of claim 1 , wherein identifying the reference picture set is based on a slice header obtained from said bitstream.
3. A method for encoding a video bitstream comprising:
generating a reference picture set for a current picture of the video bitstream;
encoding a block of the current picture using inter prediction with some reference pictures within the reference picture set;
sending said reference picture set to said bitstream;
sending, to the bitstream, at least one flag corresponding to at least one reference picture of the reference picture set, wherein the least on flag indicates that the at least one reference picture is not to be used for decoding the current picture and is to be kept for decoding subsequent pictures; and
sending said encoded block to the bitstream.
4. The method of claim 3 , wherein sending the reference picture set is sent via a slice header.