RE-SAMPLING FILTERS FOR SCALABLE VIDEO CODING
In one embodiment, a method receives a plurality of sample values. The method then determines a filter to determine an up-sampled value for a first layer for a video, wherein the filter has a set of coefficient values of [−1, 3, −8, 60, 13, −4, 1, 0] or [0, 1, −4, 13, 60, −8, 3, −1] assigned to the filter. The up-sampled value is determined by applying the set of coefficient values of [−1, 3, −8, 60, 13, −4, 1, 0] or [0, 1, −4, 13, 60, −8, 3, −1] to the plurality of sample values. The method then outputs the up-sampled value for use in coding a second layer of a higher resolution than the first layer. The up-sampled values may be for the 3/16 and −3/16 phase offsets.
1 . A method comprising:
receiving, by a computing device, a plurality of sample values;
determining, by the computing device, a filter to determine an up-sampled value for a first layer for a video, wherein the filter has a set of coefficient values of [0, 1, −4, 13, 60, −8, 3, −1] assigned to the filter;
determining, by the computing device, the up-sampled value by applying the set of coefficient values of [0, 1, −4, 13, 60, −8, 3, −1] to the plurality of sample values; and
outputting, by the computing device, the up-sampled value for use in coding a second layer of a higher resolution than the first layer.
2 . The method of claim 1 , wherein a phase offset for the filter is a −3/16 phase offset.
3 . The method of claim 1 , wherein the filter comprises a first filter, the set of coefficient values comprise a first set of coefficient values, and the up-sampled value comprises a first up-sampled value, the method further comprising:
determining a second filter, wherein the second filter has a second set of coefficient values of [−1, 3, −8, 60, 13, −4, 1, 0] assigned for the second filter;
determining a second up-sampled value by applying the second set of coefficient values of [−1, 3, −8, 60, 13, −4, 1, 0] to the plurality of sample values; and
outputting the second up-sampled value for use in coding the second layer of the higher resolution than the first layer.
4 . The method of claim 1 , further comprising:
communicating information for the set of coefficient values from an encoder to a decoder, the information allowing the decoder to determine the set of coefficient values assigned for the filter.
5 . The method of claim 1 , wherein the up-sampled value is used for encoding the second layer.
6 . The method of claim 1 , wherein the up-sampled value is used for decoding the second layer.
7 . A method comprising:
receiving, by a computing device, a plurality of sample values;
determining, by the computing device, a filter to determine an up-sampled value for a first layer for a video, wherein the filter has a set of coefficient values assigned to the filter;
determining, by the computing device, the up-sampled value by applying the set of coefficient values of to the plurality of sample values;
outputting, by the computing device, the up-sampled value for use in coding a second layer of a higher resolution than the first layer; and
communicating, by the computing device, information for the set of coefficient values to a decoder, the information allowing the decoder to determine the set of coefficient values assigned for the filter.
8 . The method of claim 7 , wherein communicating comprises:
communicating a first portion of the set of coefficient values from the encoder to the decoder, wherein the decoder determines a second portion of the set of coefficient values based on the first portion of the set of coefficient values.
9 . The method of claim 8 , wherein the set of coefficient values are time reversed.
10 . The method of claim 7 , wherein the information comprises a flag indicating a method to use to determine the set of coefficient values.
11 . The method of claim 7 , wherein the information comprises differences between the set of coefficient values and another set of coefficient values for a different filter.
12 . A method comprising:
determining, by the computing device, a filter to determine an up-sampled value for a first layer for a video, wherein the filter has a set of coefficient values of [−1, 3, −8, 60, 13, −4, 1, 0] assigned to the filter;
determining, by the computing device, the up-sampled value by applying the set of coefficient values of [−1, 3, −8, 60, 13, −4, 1, 0] to the plurality of sample values; and
outputting, by the computing device, the up-sampled value for use in coding a second layer of a higher resolution than the first layer.
13 . The method of claim 12 , wherein a phase offset for the second filter is a 3/16 phase offset.
14 . The method of claim 12 , wherein the filter comprises a first filter, the set of coefficient values comprise a first set of coefficient values, and the up-sampled value comprises a first up-sampled value, the method further comprising:
determining a second filter, wherein the second filter has a second set of coefficient values of [0, 1, −4, 13, 60, −8, 3, −1] assigned for the second filter;
determining a second up-sampled value by applying the second set of coefficient values of [0, 1, −4, 13, 60, −8, 3, −1] to the plurality of sample values; and
outputting the second up-sampled value for use in coding the second layer of the higher resolution than the first layer.
15 . The method of claim 12 , wherein the up-sampled value is used for encoding the second layer.
16 . The method of claim 12 , wherein the up-sampled value is used for decoding the second layer.
17 . The method of claim 12 , further comprising:
communicating information for the set of coefficient values from an encoder to a decoder, the information allowing the decoder to determine the set of coefficient values assigned for the filter.
18 . The method of claim 17 , wherein communicating comprises:
communicating a first portion of the set of coefficient values from the encoder to the decoder, wherein the decoder determines a second portion of the set of coefficient values based on the first portion of the set of coefficient values.
19 . The method of claim 17 , wherein the information comprises a flag indicating a method to use to determine the set of coefficient values.
20 . The method of claim 17 , wherein the information comprises differences between the set of coefficient values and another set of coefficient values for a different filter.