Systems and methods for performing an adaptive resolution change in video coding
This disclosure relates to video coding and more particularly to techniques for an adaptive resolution change. According to an aspect of an invention, a motion compensation interpolation filter is selected based on a value of a scaling factor, wherein the motion compensation interpolation filter is specified by 16 fractional sample positions and 8 interpolation filter coefficients corresponding to each of the fractional sample position.
1. A method of video decoding, the method comprising:
determining a scaling factor based on a width of a reference picture and a width of a current picture; and
determining which filter coefficients to use for an interpolation filter based on a value of the scaling factor being greater than a first threshold and less than or equal to a second threshold, wherein the interpolation filter is an 8-tap filter defined for 16 fractional sample positions, includes interpolation filter coefficients corresponding to each of the 16 fractional sample positions and includes the interpolation filter coefficients being equal to [−1, −5, 17, 42, 17, −5, −1, 0] for respective taps 0 to 7 at a fractional sample position 0.
2. A device for coding video data, the device comprising one or more processors configured to:
determine a scaling factor based on a width of a reference picture and a width of a current picture; and
determine which filter coefficients to use for an interpolation filter based on a value of the scaling factor being greater than a first threshold and less than or equal to a second threshold, wherein the interpolation filter is an 8-tap filter defined for 16 fractional sample positions, includes interpolation filter coefficients corresponding to each of the 16 fractional sample positions and includes the interpolation filter coefficients being equal to [−1, −5, 17, 42, 17, −5, −1, 0] for respective taps 0 to 7 at a fractional sample position 0.
3. A device for decoding video data, the device comprising one or more processors configured to:
determine a scaling factor based on a width of a reference picture and a width of a current picture; and
determine which filter coefficients to use for an interpolation filter based on a value of the scaling factor being greater than a first threshold and less than or equal to a second threshold, wherein the interpolation filter is an 8-tap filter defined for 16 fractional sample positions, includes interpolation filter coefficients corresponding to each of the 16 fractional sample positions, and includes the interpolation filter coefficients being equal to [−1, −5, 17, 42, 17, −5, −1, 0] for respective taps 0 to 7 at a fractional sample position 0.