CPC H04N 19/124 (2014.11) [H04N 19/117 (2014.11); H04N 19/126 (2014.11); H04N 19/15 (2014.11); H04N 19/172 (2014.11); H04N 19/174 (2014.11); H04N 19/186 (2014.11); H04N 19/70 (2014.11); H04N 19/86 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11)] | 20 Claims |
1. A computing device that includes one or more processing units and memory, wherein the computing device implements a video encoder configured to perform operations comprising:
encoding a picture, thereby producing encoded data, wherein the encoding includes:
quantizing transform coefficients for one or more portions of a slice of the picture;
reconstructing at least part of the slice, including inverse quantizing the transform coefficients for the one or more portions of the slice; and
performing deblock filtering on the at least part of the slice, including:
determining a value of a first variable using a chroma quantization parameter (QP) offset and an average of luma QP values for blocks on either side of an edge in the at least part of the slice;
determining a value of a second variable using the value of the first variable in a lookup operation on a first table, the first table mapping possible values of the first variable to corresponding values of the second variable, wherein, for possible values of the first variable above a threshold value, the first table maps the possible values of the first variable to the corresponding values of the second variable using a fixed chroma QP offset;
determining a value of a third variable using the value of the second variable and a control parameter offset;
determining a value of a fourth variable using the value of the third variable in a lookup operation on a second table, the second table mapping possible values of the third variable to corresponding values of the fourth variable; and
determining a value of a control parameter for the deblock filtering using the fourth variable and a bit depth value; and
outputting the encoded data as part of a bitstream.
|