CPC H04N 19/85 (2014.11) [H04N 19/172 (2014.11); H04N 19/174 (2014.11); H04N 19/70 (2014.11)] | 13 Claims |
1. A method performed by a decoder for decoding encoded pictures, the method comprising:
obtaining a film grain model syntax element from an adaptation parameter set, APS, in a coded data representation;
determining a film grain model value by decoding the film grain model syntax element;
obtaining a seed syntax element from a picture header or a slice header of the coded data representation;
determining a seed value by decoding the seed syntax element;
decoding a current picture from the coded data representation;
generating film grain from a number generator based on the seed value;
generating an output picture by applying the generated film grain to the current picture; and
outputting the output picture,
wherein the APS comprises an APS set identifier syntax element and an APS type syntax element comprising a value equal to a film grain type value, and
wherein the picture header or slice header comprises a film grain parameter set identifier syntax element comprising a value equal to the value of the APS set identifier syntax element.
|