| CPC H04N 19/50 (2014.11) [H04N 19/14 (2014.11); H04N 19/172 (2014.11); H04N 19/174 (2014.11); H04N 19/70 (2014.11)] | 17 Claims |

|
17. An electronic device, comprising:
at least one processor; and
a memory configured to store at least one program, wherein
the at least one program, when executed by the at least one processor, causes the at least one processor to carry out a video coding method, the method comprising:
acquiring a video picture, wherein the video picture is at least one frame of picture of a video; and
performing weighted predictive coding of the video picture to generate a picture code stream, wherein the weighted predictive coding uses at least one set of weighted prediction identification information and parameters;
wherein said performing weighted predictive coding of the video picture to generate a picture code stream comprises:
performing weighted predictive coding of the video picture according to a luminance change situation of the video picture relative to a reference picture, comprising at least one of:
in the case where the luminance change situation is the luminance being consistent throughout the entire frame of picture, performing weighted predictive coding of the video picture; or
in the case where the luminance change situation is the luminance being consistent within picture segments, determining to separately perform weighted predictive coding on each of the picture segments within the video picture.
|