Adaptive video filter
A video coder may receive video data, and apply a filter to a plurality of categories of samples of the video data. The plurality of categories of samples may include two or more of an input of a fixed filter, an output of the fixed filter, an input of a signaled filter, an output of the signaled filter, an input of an adaptive loop filter, an output of the adaptive loop filter, an input of a sample adaptive offset (SAO) filter, an output of the SAO filter, an input of a bilateral filter, an output of the bilateral filter, an input of a cross component SAO filter, an output of the cross component SAO filter, an input of a deblocking filter, an output of the deblocking filter, filtered reconstructed residual data, dequantized coefficients, filtered dequantized coefficients, a predictor, or a filtered predictor.
1 . A method of coding video data, the method comprising:
receiving video data; and
applying a filter to a plurality of categories of samples of the video data, comprising:
receiving a first output of a signaled filter;
receiving a second output of a fixed filter; and
applying the filter to the first output and the second output.
2 . The method of claim 1 , wherein the plurality of categories of samples includes two or more of:
an input of a fixed filter,
an output of the fixed filter,
an input of a signaled filter,
an output of the signaled filter,
an input of an adaptive loop filter,
an output of the adaptive loop filter,
an input of a sample adaptive offset (SAO) filter,
an output of the SAO filter,
an input of a bilateral filter,
an output of the bilateral filter,
an input of a cross component SAO filter,
an output of the cross component SAO filter,
an input of a deblocking filter,
an output of the deblocking filter,
filtered reconstructed residual data,
dequantized coefficients,
filtered dequantized coefficients,
a predictor, or
a filtered predictor.
3 . The method of claim 1 , wherein the signaled filter includes one of an adaptive loop filter, a sample adaptive offset (SAO) filter, a bilateral filter, a cross component SAO filter, or deblocking filter.
4 . The method of claim 1 , wherein applying the filter to the plurality of categories of samples of the video data comprises:
receiving a first respective output of two or more signaled filters;
receiving a second respective output of one or more fixed filters; and
applying the filter to the first respective outputs and the second respective outputs.
5 . The method of claim 4 , wherein the two or more signaled filters include one or more adaptive loop filters, one or more sample adaptive offset (SAO) filters, one or more bilateral filters, one or more cross component SAO filters, one or more deblocking filters.
6 . The method of claim 1 , further comprising:
applying a classifier to an output sample value of the plurality of categories of samples of the video data.
7 . The method of claim 6 , wherein the classifier is a classifier for a fixed filter or a classifier of a signaled filter.
8 . The method of claim 1 , wherein coding comprises decoding.
9 . The method of claim 1 , wherein coding comprises encoding.
10 . An apparatus configured to code video data, the apparatus comprising:
a memory; and
processing circuitry in communication with the memory, the processing circuitry configured to:
receive video data; and
apply a filter to a plurality of categories of samples of the video data, wherein to apply the filter to the plurality of categories of samples of the video data, the processing circuitry is further configured to:
receive a first output of a signaled filter;
receive a second output of a fixed filter; and
apply the filter to the first output and the second output.
11 . The apparatus of claim 10 , wherein the plurality of categories of samples includes two or more of:
an input of a fixed filter,
an output of the fixed filter,
an input of a signaled filter,
an output of the signaled filter,
an input of an adaptive loop filter,
an output of the adaptive loop filter,
an input of a sample adaptive offset (SAO) filter,
an output of the SAO filter,
an input of a bilateral filter,
an output of the bilateral filter,
an input of a cross component SAO filter,
an output of the cross component SAO filter,
an input of a deblocking filter,
an output of the deblocking filter,
filtered reconstructed residual data,
dequantized coefficients,
filtered dequantized coefficients,
a predictor, or
a filtered predictor.
12 . The apparatus of claim 10 , wherein the signaled filter includes one of an adaptive loop filter, a sample adaptive offset (SAO) filter, a bilateral filter, a cross component SAO filter, or deblocking filter.
13 . The apparatus of claim 10 , wherein to apply the filter to the plurality of categories of samples of the video data, the processing circuitry is further configured to:
receive a first respective output of two or more signaled filters;
receive a second respective output of one or more fixed filters; and
apply the filter to the first respective outputs and the second respective outputs.
14 . The apparatus of claim 13 , wherein the two or more signaled filters include one or more adaptive loop filters, one or more sample adaptive offset (SAO) filters, one or more bilateral filters, one or more cross component SAO filters, one or more deblocking filters.
15 . The apparatus of claim 10 , wherein the processing circuitry is further configured to:
apply a classifier to an output sample value of the plurality of categories of samples of the video data.
16 . The apparatus of claim 15 , wherein the classifier is a classifier for a fixed filter or a classifier of a signaled filter.
17 . The apparatus of claim 10 , wherein the apparatus configured to decode video data.
18 . The apparatus of claim 10 , wherein the apparatus configured to encode video data.