| CPC H04N 19/82 (2014.11) [H04N 19/117 (2014.11); H04N 19/503 (2014.11)] | 20 Claims |

|
1. A method for encoding a video, the method comprising:
accessing a plurality of frames of the video;
performing inter prediction for a frame in the plurality of frames to generate prediction residuals for the frame, wherein the inter prediction for the frame is performed based on a reconstructed frame in the plurality of frames filtered using an in-loop filter, wherein determining a value of a parameter of the in-loop filter comprises:
for each candidate in-loop filter parameter value among a plurality of candidate in-loop filter parameter values, determining a visual quality metric for a plurality of training frames in one or more training video sequences filtered by the in-loop filter with the candidate in-loop filter parameter value, and
selecting a candidate in-loop filter parameter value among the plurality of candidate in-loop filter parameter values that corresponds a visual quality metric higher than another visual quality metric as the value of the parameter of the in-loop filter; and
encoding the prediction residues of the frame and the parameter of the in-loop filter into a bitstream representing the video.
|