Enhanced interpolation filtering

By selecting the appropriate filter length and coefficient value set, the problem of phase dislocation of the filter at low frequencies in the prior art is solved, and more efficient video encoding and more accurate motion compensation prediction are achieved.

CN119032574APending Publication Date: 2024-11-26TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380033735.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-06-09
Filing Date
2023-03-30
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the existing video encoding technology, the filter has phase dislocation problems at lower frequencies, especially the 6-tap, 8-tap and 12-tap filters perform poorly in this regard, affecting the efficiency and quality of video encoding.

Method used

Provided is a method to encode or decode the video by selecting a set of filters with 6, 8, 10 or 12 coefficient values, select filter lengths based on the reconstructed sample characteristics in the reference picture or the current picture, and use these The filter performs interpolation filtering to improve the accuracy of motion compensation prediction and resolution conversion.

Benefits of technology

An interpolation filter with precise phase in video encoding is realized, which improves the effect of motion compensation prediction, amplification and reduction, and improves the quality and efficiency of video encoding, especially at lower frequencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119032574A_ABST
    Figure CN119032574A_ABST
Patent Text Reader

Abstract

A method of encoding or decoding a video including a series of pictures including a first picture and a second picture is provided. The method includes obtaining a first set of values for samples included in a first block, where the first block is included in a first picture. The method further includes selecting, from the set of filters, a filter for generating a second set of values included in a second block, where the second block is included in the first picture or the second picture. The method includes generating a second set of values using a selected filter and the first set of values, where the filter includes a set of 6, 8, 10, or 12 coefficient values, and the set of coefficient values is selected from a given set of coefficient values.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to methods and apparatus for enhanced interpolation filtering. Background Art

[0002] In Versatile Video Coding (VVC), the chroma interpolation filter length is 4 taps. However, in Joint Video Exploration Team (JVET)-Y0172, it was shown that significant gains can be obtained by increasing the filter length to 12 taps. Therefore, in JVET-Y02024, the impact of increasing the filter length to 6 taps, 8 taps, and 12 taps was studied in an exploratory experiment.

[0003] Videos and photos

[0004] A video sequence consists of a series of pictures. In VVC, each picture is identified by a picture order count (POC) value. The POC value indicates the display order of the pictures. A picture with a smaller POC value is displayed before another picture with a larger POC value.

[0005] Quantity

[0006] Each component can be described as a two-dimensional rectangular array of sample values. Typically each picture consists of three components: a luminance component Y, where the sample values ​​are luminance values; and two chrominance components Cb and Cr, where the sample values ​​are chrominance values.

[0007] It is also common that the size of the chroma components is half of the luma component in each dimension. For example, the size of the luma component of a high definition (HD) picture is 1920x1080, while the size of each chroma component is 960x540. The components are sometimes referred to as color components.

[0008] Coding Units and Coding Blocks

[0009] A block is a two-dimensional array of samples. In video coding, each component is divided into blocks, and the coded video bitstream consists of a sequence of coded blocks. In video coding, a picture is usually divided into units covering a specific area of ​​the picture.

[0010] Each unit includes all blocks from all components that make up that particular region, and each block belongs entirely to one unit. A coding unit (CU) in VVC is an example of a unit. In VVC, a CU can be recursively divided into smaller CUs. The CU at the top level is called a coding tree unit (CTU).

[0011] A CU usually contains three coding blocks, one coding block for luma and two coding blocks for chroma. The size of the luma coding block is the same as the size of the CU. In the current VVC (ie, version 1), the size of the CU can be 4x4 to 128x128.

[0012] Parameter Set, Slice Header, and Image Header

[0013] VVC specifies three types of parameter sets: picture parameter set (PPS), sequence parameter set (SPS), and video parameter set (VPS). PPS contains data common to the entire picture, SPS contains data common to a coded layer video sequence (CLVS), and VPS contains data common to multiple CLVS (e.g., data for multiple layers in a bitstream).

[0014] In the concept of slices, a picture is divided into independently coded slices, where the decoding of one slice in a picture is independent of other slices of the same picture. Each slice has a slice header that includes syntax elements. When decoding a slice, the decoded slice header values ​​from these syntax elements are used.

[0015] In VVC, a coded picture contains a picture header. The picture header contains parameters common to all slices of the coded picture.

[0016] Intra prediction

[0017] In intra prediction (aka spatial prediction), a block is predicted using previously decoded blocks within the same picture. Samples from previously decoded blocks within the same picture are used to predict samples inside the current block. A picture consisting only of intra-predicted blocks is called an intra picture.

[0018] Inter prediction

[0019] In inter prediction (aka temporal prediction), blocks from previously decoded pictures are used to predict blocks of the current picture. Samples from blocks from previously decoded pictures are used to predict samples inside the current block.

[0020] Pictures that allow inter-frame prediction of blocks are called inter-frame pictures. Previously decoded pictures used for inter-frame prediction are called reference pictures.

[0021] A motion vector (MV) is used to indicate the location of a reference block within a reference picture. Each MV consists of an x ​​component and a y component that represent the displacement between the current block and the reference block in either the x or y dimension. The displacement can be finer than the distance between samples. In this case, filtering (usually interpolation) is performed to calculate the value used for prediction. Fig.15 An example of MV for the current block C is shown.

[0022] Inter-frame pictures can depend on several reference pictures. Reference pictures are usually put into two reference picture lists L0 and L1. The reference picture output before the current picture is usually the first picture in L0. The reference picture output after the current picture is usually the first picture in L1.

[0023] Inter-prediction blocks can use one of two prediction types: unidirectional prediction and bidirectional prediction. Unidirectional prediction blocks are predicted from one reference picture (using L0 or L1). Bidirectional prediction predicts from two reference pictures (one reference picture from L0 and another reference picture from L1). Fig.16 Examples of prediction types are shown.

[0024] Low latency images and non-low latency images

[0025] A low-delay picture is a picture whose all reference pictures are displayed before the picture. In other words, for a low-delay picture, the POC values ​​of all its reference pictures are smaller than the current POC.

[0026] A non-low-delay picture is a picture whose reference pictures are at least one picture displayed after the picture. In other words, a non-low-delay picture has at least one reference picture whose POC value is greater than the current POC.

[0027] Fractional MV, interpolation filters, and MV rounding

[0028] The values ​​of the x or y components of an MV may correspond to sample positions with a finer granularity than integer (sample) positions. These positions are also called fractional (sample) positions.

[0029] In VVC, the MV may be at the 1 / 16 sample position (given in luma samples, so for 4:2:0 the corresponding MV for chroma is at the 1 / 32 sample position). Fig.17 Several fractional positions in the horizontal (x) dimension are depicted. Solid squares represent integer positions. Circles represent 1 / 16 positions. For example, MV = (4, 10) means the x component is at the 4 / 16 position and the y component is at the 10 / 16 position.

[0030] In video coding, an MV rounding process is sometimes used to convert an MV at one position to an MV at another target position. An example of rounding is rounding a fractional MV position to the nearest integer position.

[0031] When the MV is at a fractional position, filtering (usually interpolation) is performed to calculate the sample value at the fractional position. In VVC, the length of the interpolation filter (the number of filter taps) for the luma component is 8, as shown in the following table (here, the filter gain is 64 (e.g., the sum of the coefficients is equal to 64), which means that the filter response is normalized by dividing by 64 or right shifting by 6 bits to have unity gain).

[0032]

[0033] In VVC, an alternative filter can be used when the fractional sample position is at a half-pixel position (8 / 16). The alternative half-pixel filter has more (stronger) low-pass properties than the half-pixel filter in the previous table. The coefficients of the alternative half-pixel filter are shown below.

[0034]

[0035] The process used to filter a block of samples is to first apply the filter in the horizontal direction, then filter the output of the first filter in the vertical direction. The final output is normalized (R) so that the filter has unity gain. The filter in the first stage can be shifted down (P) to reduce the bit depth of the second filter.

[0036] Residuals, transformations, and quantization

[0037] The differences between the samples of the source block (containing the original samples) and the samples of the prediction block (aka residual block) are then compressed, typically via a spatial transform, to remove further redundancy. The transform coefficients are then quantized via a quantization parameter (QP) to control the fidelity of the residual block and the bitrate required to compress that block. The coded block flag (CBF) is used to indicate if there are any non-zero quantized transform coefficients. All coding parameters are then entropy encoded at the encoder and decoded at the decoder. If the coded block flag is 1 and is then added to the predicted block, the reconstructed block can be derived by inverse quantizing and inverse transforming the quantized transform coefficients.

[0038] Hierarchical picture coding structure

[0039] In a random access configuration, intra-coded pictures are located at regular intervals (e.g., every second). Pictures between intra pictures are usually spaced using Figure 3 . Picture 0 is encoded first, and then picture 8 is encoded using picture 0 as a reference picture for picture 8. Picture 4 is then encoded using picture 8 and picture 0 as reference pictures. Pictures 2 and 6 are then encoded similarly. Finally, pictures 1, 3, 5, and 7 are encoded.

[0040] We call pictures 1, 3, 5, and 7 the highest hierarchy level, pictures 2, 4, and 6 the next highest hierarchy level, and picture 4 the next lowest level and picture 8 the lowest level. Typically, pictures 1, 3, 5, and 7 are not used as references for any other pictures. They are called non-reference pictures. Fig.18 An example of a four-layer B group of pictures (GOP) structure using two reference pictures for each picture is shown.

[0041] The QP assigned to each picture is usually different and is set according to the hierarchy level. A higher QP is assigned to pictures at higher hierarchy levels.

[0042] Inter-frame prediction / motion information

[0043] In VVC, for inter-frame blocks in inter-frame pictures, the inter-frame prediction information consists of the following three elements:

[0044] (1) Reference picture list flag (RefPicListFlag). This flag indicates which reference picture list is used for the block. When the value of this flag is equal to 0, it means that only L0 is used to predict the current block. When the value of this flag is equal to 1, it means that only L1 is used to predict the current block. When the value of this flag is equal to 2, it means that both L0 and L1 are used to predict the current block.

[0045] (2) The reference picture index (RefPicIdx) of each reference picture list used. This index indicates which reference picture in the reference list is to be used to predict the current block.

[0046] (3) The motion vector (MV) of each reference picture used. It indicates the position within the reference picture used to predict the current block.

[0047] Inter prediction information is also called motion information. The decoder stores the motion information of each inter block. In other words, the inter block maintains its own motion information.

[0048] Encoder Decisions and Rate-Distortion (RD) Costs

[0049] In practice, in order for the encoder to decide the best prediction mode for the current block, it will evaluate all possible prediction modes for the current block and select the prediction mode that produces the minimum rate-distortion (RD) cost.

[0050] The RD cost is calculated as D (distortion) measures the difference between the reconstructed block and the corresponding source block. A common metric for calculating D is the sum of squared differences (SSE), where ,in, and are the sample values ​​in two blocks A and B respectively. R (rate) is usually an estimate of the bits it takes to encode the pattern. is a trade-off parameter between R and D.

[0051] Motion Information Signaling

[0052] VVC includes several methods to implicitly signal the motion information of each block, including merging methods and sub-block merging methods. The common motivation behind the implicit method is to inherit or reuse motion information from neighboring coded blocks.

[0053] Merge (Block Merge) Methods and Merge Modes

[0054] The merging method is similar to the method in the High Efficiency Video Coding (HEVC) standard. This method is sometimes called a block merging method because the derived motion information is used to generate samples for the entire block.

[0055] The method first generates a list of motion information candidates. This list is also called a merge list. These candidates are derived from previously coded blocks. These blocks can be spatially adjacent neighboring blocks or temporally co-located blocks relative to the current block.

[0056] The merge list construction process typically checks previously coded blocks in a predefined order, such as TL-TR-LB-TL. For each previously coded block being checked, if the previously coded block is inter-coded and its motion information is not repeated in the list, the motion information of the previously coded block is added to the merge list. Fig.19 Possible spatial neighboring blocks for obtaining neighboring motion information are shown: left (L), top (T), top right (TR), bottom left (LB) and top left (TL) spatial neighboring blocks.

[0057] After the merge list is generated, one of the candidates in the list is used to derive the motion information for the current block. The candidate selection process is performed at the encoder side. The encoder will select the best candidate from the list and encode the index (merge_index) in the bitstream to signal to the decoder. The decoder receives the index, it follows the same merge list derivation process as the encoder, and uses the index to retrieve the correct candidate. Blocks using the block merge method are sometimes referred to as blocks in merge mode.

[0058] In the current development of ECM, an enhanced compression model with compression capabilities exceeding VVC, motion information from non-neighboring spatial blocks is also considered during merge list construction. Fig. 20 Some of those non-adjacent spatial blocks are shown (labeled NA1 , NA2 and NA3 ).

[0059] Sub-block merging method and sub-block motion refinement

[0060] VVC also includes a sub-block merging method and sub-block-based motion refinement. The current block is divided into multiple sub-blocks, and each sub-block is allowed to have its own motion information. Fig.21 An example of a current block and its sub-blocks is shown. For each sub-block, it maintains its own motion information.

[0061] Explicit motion information signaling

[0062] VVC also includes explicit motion information signaling methods such as AMVP (Alternative Motion Vector Prediction).For the current inter block, its reference picture number, reference picture index, and motion vector are signaled and encoded into the bitstream.

[0063] Encoders usually choose explicit motion information signaling when directly inheriting or reusing motion information from a previously coded inter block is not well suited for the current block. For example, when the previously coded block and the current block belong to different objects, the motions of the previously coded block and the current block may not be well correlated.

[0064] When the encoder decides to use explicit signaling for the MV of the current block, the process usually involves deriving a motion vector predictor (MVP), where the MVP is derived from the MV of the previously encoded block. After deriving the MVP, the motion vector difference (MVD) between the MVP and the current MV is calculated as MVD = MV-MVP. Fig. 22 An example of MVD derivation is shown.

[0065] It can be clearly seen that the MVD also has two components: the x component and the y component. Each component has two pieces of information: amplitude and sign. Both the amplitude and sign information (if the amplitude is non-zero) of the x component and the y component are signaled in the bitstream.

[0066] For example, if the MV of the current block is (+10, -5), and the derived MVP is (+7, +3), then the MVD will be (+3, -8), where 3 = 10-7 and -8 = -5-3. The magnitudes 3 and 8 and the signs + and - are signaled in the bitstream.

[0067] In order for the decoder to reconstruct the MV of the current block, the amplitude and sign information of both the x-component and the y-component of the MVD needs to be decoded from the bitstream. The decoder then follows the same predictor derivation process as the encoder to derive the MVP, reconstructing the MV using the MVP and MVD. Using the above example, the decoder decodes the amplitudes 3 and 8 and the signs + and - from the bitstream to get the MVD (+3, -8). The decoder then uses the same predictor derivation process to get the MVP (+7, +3). The MV is derived as (+10, -5), where 10=3+7 and -5=-8+3.

[0068] Reference Picture Resampling (RPR)

[0069] RPR is a VVC tool that can be used to enable switching between different resolutions in a video bitstream without having to encode the start of a new sequence with intra pictures. This provides greater flexibility for adjusting the resolution to control the bitrate (which can be used, for example, for video conferencing or adaptive streaming). As part of the current inter-picture prediction, RPR can make use of previously encoded pictures whose resolution is lower or higher than the resolution of the current picture to be encoded by rescaling them to the resolution of the current picture. Summary of the invention

[0070] There are certain challenges. The filters proposed in JVET-Y0172 and JVET-Y02024 (Test EE2-2.6) have phase misalignment at lower frequencies. The phase and amplitude responses of the filter proposed in EE2-2.6 are shown in Figures 23(a) to 23(b). In Figure 23(a), the green straight line shows the ideal phase delay response, and the red curve shows the phase delay response of the EE2-2.6 filter. Similarly, in Figure 23(b), the green line in the figure shows the ideal amplitude response, and the red curve shows the amplitude response of the EE2-2.6 filter. As shown in Figures 23(a) and 9(b), the EE2-2.6 filter has suboptimal phase characteristics at lower frequencies, and this suboptimal phase characteristic is particularly significant not only for the 12-tap filter, but also for the 6-tap filter and the 8-tap filter, as shown in Figures 24(a) to 25(b). Additionally, as shown in Figures 26(a) to 27(b), there is a phase misalignment in the scalable extension of the High Efficiency Video Coding (SHVC) filter that can be used for RPR in ECM to be consistent with the use of 12 taps for luma motion compensation for upscaling. Furthermore, as shown in Figures 28(a) to 29(b), the 4-tap chroma RPR filters used in VVC and ECM for 2x and 1.5x downscaling attenuate at lower frequencies, so they remove more information than is necessary.

[0071] Furthermore, the 2x filters proposed in JVET-Z0062 for downsampling (aka "zooming out") result in some amplification of lower frequency components and some phase shifting at lower frequencies. On the other hand, while the 1.5x filters proposed in JVET-Z0062 for downsampling generally work well, they result in the passage of some higher frequency components with non-zero amplitudes.

[0072] FIG33(a) to FIG34(b) show the phase and amplitude responses of the filter proposed in JVET-Z0062 (note that FIG33 shows the same filter as filter set #3 shown in FIG5(a) and FIG5(b)). The straight lines in FIG33(a) and FIG34(a) correspond to the ideal phase delay response, the curve in FIG33(a) corresponds to the phase delay response of the 1.5x down-sampling 12-tap filter from JVET-Z0062, and the curve in FIG34(a) corresponds to the phase delay response of the 2x down-sampling 12-tap filter from JVET-Z0062 (note that FIG34(a) shows the same filter as in FIG27(a) and FIG27(b)).

[0073] The straight lines in FIG33(b) and FIG34(b) correspond to the reference amplitude response, the solid line in FIG33(b) corresponds to the amplitude response of the 1.5x down-sampling 12-tap filter from JVET-Z0062, and the curved line in FIG34(b) corresponds to the amplitude response of the 2x down-sampling 12-tap filter from JVET-Z0062. The reference amplitude response is a reference response that is similar to the ideal response but not completely the ideal response. For example, in FIG33(b) and FIG34(b), the straight lines correspond to the reference amplitude response but not the ideal amplitude response because the ideal amplitude response should have a constant value of 1 from the normalized frequency 0 to a specific cutoff frequency and a constant value of 0 from the cutoff frequency to the normalized frequency 1.

[0074] Therefore, in one aspect of an embodiment of the present disclosure, a method for encoding or decoding a video is provided, the video comprising a series of pictures, the series of pictures comprising a first picture (e.g., a reference picture) and a second picture (e.g., a current picture). The method comprises obtaining a first set of values ​​of samples included in a first block, wherein the first block is included in the first picture; selecting a filter from a filter set for generating a second set of values ​​included in a second block, wherein the second block is included in the first picture or the second picture; and generating a second set of values ​​using the selected filter and the first set of values, wherein the filter comprises a set of 6, 8, 10, or 12 coefficient values, and the set of coefficient values ​​is selected from the coefficient values. 2. The coefficient value group is disclosed in the following embodiment A1.

[0075] On the other hand, a method for encoding or decoding a video is provided, the video comprising a series of pictures, the series of pictures comprising a first picture and a second picture, the method comprising: obtaining a first set of values ​​of samples included in a first block, wherein the first block is included in the first picture; selecting a length of a filter based on characteristics of reconstructed samples included in the first picture or the second picture; selecting a filter based at least on the selected length; interpolating the first set of values ​​using the selected filter; generating a second set of values ​​of samples included in a second block based on a result of the interpolation of the first set of values, wherein the second block is included in the first picture or the second picture; and encoding or decoding the video based at least on the second set of values.

[0076] In a different aspect, a computer program is provided comprising instructions, which, when executed by a processing circuit, causes the processing circuit to perform the method described in any one of the above embodiments.

[0077] In different aspects, a device for encoding or decoding a video is provided, the video comprising a series of pictures, the series of pictures comprising a first picture and a second picture. The device is configured to: obtain a first set of values ​​of samples included in a first block, wherein the first block is included in the first picture; interpolate the first set of values ​​using a filter; generate a second set of values ​​of samples included in a second block based on the result of interpolating the first set of values, wherein the second block is included in the first picture or the second picture; and encode or decode the video based on at least the second set of values, wherein the filter comprises a set of 6, 8, 10 or 12 coefficient values, and the set of 6, 8, 10 or 12 coefficient values ​​is from the coefficient values 2. The coefficient value group is disclosed in the following embodiment A1.

[0078] In different aspects, a device for encoding or decoding a video is provided, the video comprising a series of pictures, the series of pictures comprising a first picture and a second picture. The device is configured to: obtain a first set of values ​​of samples included in a first block, wherein the first block is included in the first picture; select a length of a filter based on characteristics of reconstructed samples included in the first picture or the second picture; select a filter based at least on the selected length; interpolate the first set of values ​​using the selected filter; generate a second set of values ​​of samples included in a second block based on a result of interpolating the first set of values, wherein the second block is included in the first picture or the second picture; and encode or decode the video based at least on the second set of values.

[0079] In a different aspect, a device is provided, comprising a memory and a processing circuit coupled to the memory, wherein the device is configured to execute the method described in any one of the above embodiments.

[0080] Embodiments of the present disclosure provide interpolation filters with precise phase for interpolation, for performing motion compensated prediction, upscaling to higher resolution, downscaling to lower resolution and / or for performing motion compensation (e.g., RPR) in video coding. The filter can be used for at least one color or brightness or chrominance component. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate various embodiments.

[0082] Figure 1A , Figure 1B and Figure 1C Systems according to some embodiments are respectively shown.

[0083] Figure 2 A schematic block diagram of an encoder according to some embodiments is shown.

[0084] Figure 3 A schematic block diagram of a decoder according to some embodiments is shown.

[0085] 4( a ) and 4 ( b ) respectively show graphs of the phase delay response and the magnitude of the frequency response of a filter according to some embodiments.

[0086] 5( a ) and 5 ( b ) respectively show graphs of the phase delay response and the magnitude of the frequency response of a filter according to some embodiments.

[0087] 6( a ) and 6 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0088] 7( a ) and 7 ( b ) respectively show graphs of the phase delay response and the magnitude of the frequency response of a filter according to some embodiments.

[0089] 8( a ) and 8 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0090] 9( a ) and 9 ( c ) and 9 ( b ) and 9 ( d ) respectively show graphs of the phase delay response and the magnitude of the frequency response of a filter according to some embodiments.

[0091] 10( a ) and 10 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0092] 11( a ) and 11 ( c ) and 11 ( b ) and 11 ( d ) respectively show graphs of the phase delay response and the magnitude of the frequency response of a filter according to some embodiments.

[0093] Fig.12 and Fig.13 The processes according to some embodiments are respectively shown.

[0094] Fig.14 An apparatus according to some embodiments is shown.

[0095] Fig.15 An example of a motion vector is shown.

[0096] Fig.16 Different prediction types are shown.

[0097] Fig.17 The fractional MV positions are shown.

[0098] Fig.18 An example of a four-layer B-GOP structure is shown.

[0099] Fig.19 and Fig. 20 The arrangements of possible spatial blocks are shown respectively.

[0100] Fig.21 An example of a sub-block is shown.

[0101] Fig. 22 An example of MVD derivation is shown.

[0102] 23( a ) and 23 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0103] 24( a ) and 24 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0104] 25( a ) and 25 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0105] 26( a ) and 26 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0106] 27( a ) and 27 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0107] 28( a ) and 28 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0108] 29( a ) and 29 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0109] 30( a ) and 30 ( b ) are graphs showing the phase delay response of the filter and the magnitude of the frequency response, respectively.

[0110] 31( a ) and 31 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0111] 32( a ) and 32 ( b ) are graphs showing the phase delay response and the magnitude of the frequency response of the filter, respectively.

[0112] Figure 33(a) shows a plot of the phase delay response of the 1.5x down-sampling 12-tap filter from JVET-Z0062. This is the same 1.5x filter in filter set #3 also shown in Figure 5(a).

[0113] Figure 33(b) shows a plot of the magnitude of the frequency response of the 1.5x down-sampling 12-tap filter from JVET-Z0062. This is the same 1.5x filter in filter set #3 also shown in Figure 5(b).

[0114] Figure 34(a) shows a plot of the phase delay response of the 2x down-sampling 12-tap filter from JVET-Z0062. This is the same 2x filter in the SHM also shown in Figure 27(a).

[0115] Figure 34(b) shows a plot of the magnitude of the frequency response of the 2x down-sampling 12-tap filter from JVET-Z0062. This is the same 2x filter in the SHM also shown in Figure 27(b).

[0116] 35( a ) and 35 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0117] 36( a ) and 36 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0118] 37( a ) and 37 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0119] 38( a ) and 38 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0120] 39( a ) and 39 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0121] 40( a ) and 40 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments.

[0122] 41( a ) and 41 ( b ) show graphs of the phase delay response and the magnitude of the frequency response, respectively, of a filter according to some embodiments. DETAILED DESCRIPTION

[0123] Figure 1A A system 100 according to some embodiments is shown. The system 100 comprises a first entity 102, a second entity 104 and a network 110. The first entity 102 is configured to send a video stream (aka "video bitstream", "bitstream", "encoded video") 106 to the second entity 104.

[0124] The first entity 102 may be any computing device (e.g., a network node such as a server) capable of encoding a video using an encoder 112 and sending the encoded video to the second entity 104 via the network 110. The second entity 104 may be any computing device (e.g., a network node) capable of receiving the encoded video and decoding the encoded video using a decoder 114. Each of the first entity 102 and the second entity 104 may be a single physical entity or a combination of multiple physical entities. The multiple physical entities may be located at the same location or may be distributed in a cloud.

[0125] In some embodiments, Figure 1B As shown, the first entity 102 is a video streaming server 132, and the second entity 104 is a user equipment (UE) 134. The UE 134 can be a desktop computer, a laptop computer, a tablet computer, a mobile phone, or any other computing device. The video streaming server 132 can send a video bitstream 136 (e.g., a YouTube™ video stream) to a video streaming client 134. Upon receiving the video bitstream 136, the UE 134 can decode the received video bitstream 136, thereby generating and displaying a video for the video stream.

[0126] In other embodiments, Figure 1C As shown, the first entity 102 and the second entity 104 are a first UE 152 and a second UE 154. For example, the first UE 152 may be the initiator of a video conference session or a caller of a video chat, and the second UE 154 may be the respondent of the video conference session or the respondent of the video chat. Figure 1CIn the illustrated embodiment, the first UE 152 can send a video bitstream 156 for video conferencing (e.g., Zoom™, Skype™, MS Teams™, etc.) or video chatting (e.g., Facetime™) to the second UE 154. Upon receiving the video bitstream 156, the UE 154 can decode the received video bitstream 156 to generate and display a video for the video conferencing session or the video chatting.

[0127] Figure 2 A schematic block diagram of an encoder 112 according to some embodiments is shown. The encoder 112 is configured to encode a block of pixel values ​​(hereinafter referred to as a "block") in a video frame of a source video 202. In the encoder 112, a current block (e.g., a block included in a video frame of the source video 202) is predicted by performing motion estimation by a motion estimator 250 based on blocks already provided in the same frame or a previous frame. In the case of inter-frame prediction, the result of the motion estimation is a motion or displacement vector associated with a reference block. The motion compensator 250 uses the motion vector to output an inter-frame prediction of the block.

[0128] The intra-frame predictor 249 calculates the intra-frame prediction of the current block. The output from the motion estimator / compensator 250 and the intra-frame predictor 249 is input to the selector 251, which selects the intra-frame prediction or the inter-frame prediction for the current block. The output from the selector 251 is input to the error calculator in the form of an adder 241, which also receives the pixel values ​​of the current block. The adder 241 calculates and outputs the residual as the difference in pixel values ​​between the block and its prediction. The error is transformed in the transformer 242 (such as by a discrete cosine transform) and quantized by the quantizer 243, and then encoded in the encoder 244 (such as by an entropy encoder). In inter-frame coding, the estimated motion vector is taken to the encoder 244 to produce an encoded representation of the current block.

[0129] The transformed and quantized residual of the current block is also provided to the inverse quantizer 245 and the inverse transformer 246 to retrieve the original residual. The error is added by the adder 247 to the block prediction output from the motion compensator 250 or the intra-frame predictor 249 to create a reconstructed sample block 280 that can be used for prediction and encoding of the next block. The reconstructed sample block 280 is processed by the filter 230 according to an embodiment to perform filtering to combat any blocking artifacts. The output from the filter 230 (i.e., output data 290) is then temporarily stored in the frame buffer 248, where it can be used for the intra-frame predictor 249 and the motion estimator / compensator 250.

[0130] In some embodiments, encoder 112 may include SAO unit 270 and / or ALF 272. SAO unit 270 and ALF 272 may be configured to receive output data 290 from filter 230, perform additional filtering on output data 290, and provide filtered output data to buffer 248.

[0131] Despite Figure 2 In the illustrated embodiment, the filter 230 is disposed between the SAO unit 270 and the adder 247, but in other embodiments, the filter 230 may replace the SAO unit 270 and / or the ALF 272. Alternatively, in other embodiments, the filter 230 may be disposed between the buffer 248 and the motion compensator 250. Furthermore, in some embodiments, a deblocking filter (not shown) may be disposed between the filter 230 and the adder 247, so that the reconstructed sample block 280 is deblocked and then provided to the filter 230. Additionally, in other embodiments, the filter 230 may function as a deblocking filter.

[0132] Figure 3 36 is a schematic block diagram of a decoder 114 according to some embodiments. The decoder 114 includes a decoder 361 (such as an entropy decoder) for decoding an encoded representation of a block to obtain a set of quantized and transformed residuals. These residuals are dequantized in an inverse quantizer 362 and inversely transformed by an inverse transformer 363 to obtain a set of residuals. These residuals are added to the pixel values ​​of a reference block in an adder 364. Depending on whether inter-frame prediction or intra-frame prediction is performed, the reference block is determined by a motion estimator / compensator 367 or an intra-frame predictor 366.

[0133] Thus, the selector 368 is interconnected to the adder 364 as well as the motion estimator / compensator 367 and the intra predictor 366. The resulting decoded block 380 output from the adder 364 is input to the filter unit 330 according to an embodiment in order to filter any blocking artifacts. The filtered block 390 is output from the filter 330 and is further preferably temporarily provided to the frame buffer 365 and can be used as a reference block for subsequent blocks to be decoded.

[0134] A frame buffer (eg, decoded picture buffer (DPB)) 365 is thereby connected to a motion estimator / compensator 367 to make the stored pixel blocks available to the motion estimator / compensator 367. The output of the adder 364 is preferably also input to an intra predictor 366 for use as an unfiltered reference block.

[0135] In some embodiments, decoder 114 may include SAO unit 380 and / or ALF 372. SAO unit 380 and ALF 382 may be configured to receive output data 390 from filter 330, perform additional filtering on output data 390, and provide filtered output data to buffer 365.

[0136] Despite Figure 3 In the illustrated embodiment, the filter 330 is disposed between the SAO unit 380 and the adder 364, but in other embodiments, the filter 330 may replace the SAO unit 380 and / or the ALF 382. Alternatively, in other embodiments, the filter 330 may be disposed between the buffer 365 and the motion compensator 367. Furthermore, in some embodiments, a deblocking filter (not shown) may be disposed between the filter 330 and the adder 364, so that the reconstructed sample block 380 is deblocked and then provided to the filter 330.

[0137] As described above, in some embodiments, interpolation-based filtering (also known as "filtering") can be used for motion estimation / compensation (performed by motion estimator / compensator 250 / 367) and / or intra-frame prediction (performed by intra-frame predictor 249 / 366). Filtering can also be used to transform the resolution of the current picture to a higher resolution (i.e., zoom in) or a lower resolution (i.e., zoom out). For example, the following filter set #1 can be used for zooming in, while filter sets #2, #3, #4, and #5 can be used for zooming out. In some embodiments, this filtering-based zooming in / out can be used with motion compensation (also known as "motion compensated prediction") (e.g., RPR).

[0138] In the present disclosure, filtering means adding products obtained by multiplying the value of a sample (eg, decoded sample) of a previous (or current) picture by N filter coefficients using a motion vector (mvX, mvY). The following formula shows an example of filtering.

[0139]

[0140]

[0141] t(x', y') is the sample value after horizontal filtering, x is the horizontal coordinate of the sample in the current picture, y is the vertical coordinate of the sample in the current picture, x' is the horizontal coordinate of the sample in the time buffer t, y' is the vertical coordinate of the sample in the time buffer t, mvXInt and mvYInt are motion vectors at integer resolution used to determine the sample to be filtered in the reference picture r, is the subsample filter corresponding to the fractional position (phase) of mvX, is the filter coefficient of the filter at position n, is the subsample filter corresponding to the fractional position (phase) of mvY, is the filter coefficient of the filter at position n, r(A, B) is the sample value at position (A, B) in the previous / current picture, and N is the filter length (ie, the number of taps).

[0142] are samples that have been horizontally and vertically filtered, for example, samples obtained using inter-frame prediction based on fractional sample interpolation of samples from a reference picture (a previously reconstructed picture). As shown above, horizontal filtering is applied to all samples required for vertical filtering before vertical filtering is applied.

[0143] As described above, in order to perform filtering, filter coefficients are required.

[0144] Filter Set #1

[0145] In some embodiments, filters in the following filter set may be used in video coding as interpolation filters with phases 1 / 32 to 31 / 32 and with 9-bit coefficients (where the magnitude of each coefficient is represented by 8 bits and the sign (+ or -) of each coefficient is represented by 1 sign bit). Zero-phase (e.g., phase 0 / 32) pixel copies are sufficient, which may also be indicated by filter coefficients {0, 0, 256, 0, 0, 0}.

[0146] For a filter with a filter length of 6 (i.e., N=6), the filter coefficients are: {1, -6, 256, 6, -1, 0}, {2, -11, 254, 14, -4, 1}, {4, -18, 252, 23, -6, 1}, {6, -24, 249, 32, -9,2}, {6, -26, 244, 41, -12, 3}, {7, -30, 239, 53, -18, 5}, {8, -34, 235, 61, -19,5}, {10, -38, 228, 72, -22, 6}, {10, -39, 220, 84, -26, 7}, {10, -40, 213, 6}. 94, -29, 8}, {11, -42, 205, 105, -32, 9}, {11, -42, 196, 116, -35, 10}, {11, -42,186, 128, -37, 10}, {11, -42, 177, 138, -38, 10}, {11, -41, 167, 148, -40, 11}, {11, -41, 158, 158, -41, 11}, {11, -40, 148, 167, -41, 11}, {10, -38, 138, 177,-42, 11}, {10, -37, 128, 186, , 10}, {1, -35, 116, 196, -42, 11}, {9, -32,105, 205, -42, 11}, {8, -29, 94, 213, -40, 10}, {7, -26, 84, 220, -39, 10}, {6, -22, 72, 228, -38, 10}, {5, -19, 61, 235, -34, 8}, {5, -18, 53, 239, -30, 7}, {3, -12, 41, 244, -26, 6}, {2, -9, 32, 249, -24, 6}, {1, -6, 23, 252, -18, 4}, {1, -4, 14, 254, -11, 2}, {0, -1, 6, 256, -6, 1}.

[0147] In the above coefficient set, there are 31 coefficient subsets. The first coefficient subset includes {1, -6, 256, 6, -1,0}, and the last coefficient subset includes {0, -1, 6, 256, -6, 1}. For the first coefficient subset, i (or j) = 1, and for the last coefficient subset, i (or j) = 31. Therefore, =1, =-6, ==256...etc. Similarly, =0, = -1, =6...etc.

[0148] A zero-phase (eg, phase 0 / 32) pixel copy is sufficient, which may also be indicated by the filter coefficients {0, 0, 0, 256, 0, 0, 0, 0}. For a filter with a filter length of 8 (i.e., N=8), the filter coefficients are: {-1, 3, -7, 254, 11, -6, 3, -1}, {-1, 4, -12, 253, 16, -6, 3, -1}, {-2, 7, -18,249, 28, -12, 6, -2}, {-2, 8, -23, 248, 33, -11, 4, -1}, {-3, 11, -28, 242, 47, -19, 8, -2}, {-3, 12, -33, 241, 51, -16, 5, -1}, {-4, 15, -38, 236, 62, -21, 8,-2}, {-5, 18, , 18, -4}、{-4, 15, -40, 210, 99, -35, 15, -4}、{-3, 12, -36, 195, 117, -42, 18, -5}、{-4,15, -40, 190, 124, -42, 18, -5}、{-4, 15, -41, 183, 133, -42, 16, -4}、{-4, 15,-42, 176, 142, -44, 18, -5}、{-5, 17, -42, 165, , 15, -4}、{-4, 16, -44, 160, 160, -44, 16, -4}、{-5, 18, -45, 153, 165, -42, 17, -5}、{-5, 18, -44,142, 176, -42, 15, -4}、{-4, 16, -42, 133, 183, -41, 15, -4}、{-5, 18, -42,124, 190, -40, 15, -4}、{-5, 18, -42, 117, 195, -36, 12, -3}、{-4, 15, -35, 99,210, -40, 15, -4}、{-4, 12, -28, 84, 223, -44, 19, -6}、{-2, 8, -23, 72, 231, -43, 18, -5}、{-2, 8, -21, 62, 236, -38, 15, -4}、{-1, 5, -16, 51, 241,-33, 12,-3}、{-2, 8, -19, 47, 242, -28, 11, -3}、{-1, 4, -11, 33, 248, -23, 8, -2}、{-2,6, -12, 28, 249, -18, 7, -2}、{-1, 3, -6, 16, 253, -12, 4, -1}、{-1, 3, -6, 11,254, -7, 3, -1}。,

[0149] A zero-phase (e.g., phase 0 / 32) pixel copy is sufficient, which may also be indicated by the filter coefficients {0, 0, 0, 0, 0, 256, 0, 0, 0, 0, 0, 0}. For a filter with a filter length of 12 (i.e., N=12), the filter coefficients are: {0, 1, -2, 3, -7, 255, 8, -3, 2, -1, 0, 0}, {-1, 3, -4, 6, -14,254, 17, -8, 5, -3, 1, 0}, {-1, 3, -5, 9, -21, 253, 25, -10, 5, -3, 1, 0}, {-1,4, -8, 13, -26, 249, 34, -14, 8, -4, 1, 0}, {-2, 6, -10, 16, -32, 246, 44, -18, 9, -4, 1, 0}, {-2, 5, -9, , 7, -13, 23, -48, 216, 97, -36, 18, -9, 4, -1}、{-2, 6, -12, 23, -49, 208, 106, 14, -7, 3, -1}、{-2, 6, -12, 23, -47, 236, 129, 81, -31, 15, -7, 3, -1}、{-2, 7, -13, 23, -48, 214, 98, -36, 18, -9, 4, -1}、{-2, 6, -12, 23, -49, 209, 106, , 24, -50, 171, 151, -47, 23, -12, 6, -2}、{-2, 6, -12, 24, -50, 162, 162, -50, 25, 71, 171, -47, 23, -12, 6, -2}、{-2, 6, -13, 25, -50, 162, 162, -50, 25, -13, 6, -2}、{-2, 6, -12, 23, -47,151, 171, -50, 24, -12, 6, -2}、{-2, 6, -12, 23, -46, 141, 180, -50, 25,, 7, -2}、{-2, 6, -12, 22, -43, 129, 191, -51, 24, -12, 6, -2}、{-2, 6, -12, 22,-42, 119, 200, -52, 26, -14, 8, -3}、{-1, 4, -10, 19, -37, 106, 209, -49, 23,-12, 6, -2}、{-1, 4, -9, 18, -36, 97, 216, -48, 23, -13, 7, -2}、{-1, 3, -7,15, -31, 85, 224, -47, 23, -12, 6, , 0, 1, -4, 9, -18, 44, 246, -32, 16, -10,6, -2}, {0, 1, -4, 8, -14, 34, 249, -26, 13, -8, 4, -1}, {0, 1, -3, 5, -10, -22, 54, 241, -36, 17, -9, 5, -2}, {0, 1, -4, 9, -18, 44, 246, -32, 16, -10,6, -2}, {0, 1, -4, 8, -14, 34, 249, -26, 13, -8, 4, -1}, {0, 1, -3, 5, -10, 25,253, -21, 9, -5, 3, -1}, {0, 1, -3, 5, -8, 17, 254, -14, 6, -4, 3, -1}, {0, 0,-1, 2, -3, 8, 255, -7, 3, -2, 1, 0}. ,

[0150] Each coefficient may be represented using 9 bits, where 8 bits indicate the magnitude of the coefficient and 1 bit indicates the sign of the coefficient (whether the coefficient is + or -).

[0151] FIG30(a) shows a graph of the phase delay response of 12-tap chroma interpolation filters according to some embodiments, and FIG30(b) shows a graph of the magnitude of the frequency response of these filters. FIG31(a) shows a graph of the phase delay response of 8-tap chroma interpolation filters according to some embodiments, and FIG31(b) shows a graph of the magnitude of the frequency response of these filters. FIG32(a) shows a graph of the phase delay response of 6-tap chroma interpolation filters according to some embodiments, and FIG32(b) shows a graph of the magnitude of the frequency response of these filters.

[0152] Filter Set #2

[0153] In some embodiments, phases from 1 / 32 to 31 / 32 may be defined to be similar to the amplitude response of a half-pixel LP filter that may be selected for use in VVC, for example. Instead of the half-pixel LP filter of VVC, other reference half-pixel filters may also be used. Additionally, instead of using a range between 1 and 32, a different phase range may be used. An important aspect of filter set #2 is that the amplitude of the frequency response of the half-pixel filter may be maintained to a certain extent, but the phase characteristics may vary depending on the desired phase accuracy (1 / 32 or 1 / 16).

[0154] The filters in the following filter set can be used in video coding as interpolation filters from 1 / 32 to 31 / 32 with 9-bit coefficients (where the magnitude of each coefficient is represented by 8 bits and the sign (+ or -) of each coefficient is represented by 1 sign bit). These coefficients can be obtained from VVC (e.g., half-pixel filter) with the filter gain adjusted to 256.

[0155] For a filter with a filter length of 6 (i.e., N=6), the filter coefficients are: {28, 46, 103, 49,29, 1}, {26, 47, 100, 53, 28, 2}, {25, 46, 99, 55, 28, 3}, {26, 39, 105, 53, 29,4}, {25, 39, 102, 56, 29, 5}, {23, 40, 99, 60, 28, 6}, {22, 40, 96, 63, 28, 7}, {20, 41, 93, 66, 29, 7}, {19, 40, 92, 68, 29, 8}, {18, 39, 91, 70, 29, 9}, {16,40, 88, 73, 30, 9}, {16, 38, 87, 74, 31, 10}, {16, 36, 86, 75, 32, 11}, {14, 38,82, 77, 34, 11}, {12, 38, 81, 79, 35, 11}, {12, 36, 80, 80, 36, 12}, {11, 35,79, 81, 38, 12}, {11, 34, 77, 82, 38, 14}, {11, 32, 75, 86, 36, 16}, {10, 31,74, 87, 38, 16}, {9, 30, 73, 88, 40, 16}, {9, 29, 70, 91, 39, 18}, {8, 29, 68,92, 40, 19}, {7, 29, 66, 93, 41, 20}, {7, 28, 63, 96, 40, 22}, {6, 28, 60, 99,40, 23}, {5, 29, 56, 102, 39, 25}, {4, 29, 53, 105, 39, 26}, {3, 28, 55, 99, 46,25}, {2, 28, 53, 100, 47, 26}, {1, 29, 49, 103, 46, 28}.

[0156] In some embodiments, a corresponding luminance filter with a 1 / 16 phase can be obtained by taking every second phase from the filter set defined above. In fact, a filter with 16 phases can be obtained by taking every second phase from any filter with 32 phases.

[0157] For a filter with a filter length of 8 (i.e., N=8), the filter coefficients are: {0, 29, 44, 105,47, 30, 1, 0}, {1, 25, 49, 96, 55, 27, 3, 0}, {1, 24, 47, 96, 57, 27, 5, -1}, {0, 24, 45, 97, 58, 28, 5, -1}, {-1, 25, 42, 98, 58, 30, 5, -1}, {-1, 24, 41,97, 60, 30, 6, -1}, {-2, 25, 38, 97, 62, 30, 8, -2}, {-2, 24, 37, 97, 64, 30, 8, -2}. , 32, 12, -1}, {0, 13, 39, 82, 77, 35, 10, 0}, {0, 12, 38, 81, 79, 35, 11,0}, {0, 12, 38, 81, 79, 35, 11,0}, {0, 12, 38, 81, 79, 35, 11,0}. , 36, 80, 80, 36, 12, 0}、{0, 11, 35, 79, 81, 38, 12, 0}、{0, 10, 35,77, 82, 39, 13, 0}、{-1, 12, 32, 75, 86, 36, 17, -1}、{-1, 11, 32, 74, 85, 39,16, 0}、{-2, 11, 31, 71, 91, 36, 20, -2}、{-2, 10, 31, 69, 92, 37, 21, -2}、{-2,10, 30, 66, 95, 36, 23, 5, 96, 47, 24, 1}, {0, 3, 27,55, 96, 49, 25, 1}, {0, 1, 30, 47, 105, 44, 29, 25, 1}, {-1, 5, 28, 58, 97, 45, 24, 0}, {-1, 5, 27, 57, 96, 47, 24, 1}, {0, 3, 27,55, 96, 49, 25, 1}, {0, 1, 30, 47, 105, 44, 29,0}. ,

[0158] In some embodiments, a corresponding luminance filter with a 1 / 16 phase may be obtained by taking every second phase from the filter set defined above.

[0159] Fig. 4(a) shows a graph of the phase delay response of the proposed 6-tap LP luma interpolation filter, and Fig. 4(b) shows the magnitude of the frequency response (b) of the proposed 6-tap LP luma interpolation filter. As shown in Figs. 4(a) and 4(b), the phase of the above filters remains unchanged, but these filters have much more low-pass characteristics.

[0160] Filter Set #3

[0161] In some embodiments, the phase from full pixel, 1 / 16 to 15 / 16 can be defined to be similar to the amplitude response of, for example, an SHM (reference codec for SHVC) filter used for downsampling. In other embodiments, other reference filters or reference functions can be used instead of the SHM filter used for downsampling. Also, in other embodiments, different phase ranges can be used. An important aspect of filter set #3 is that the amplitude of the frequency response of the SHM filter can be maintained to a certain extent, but the phase characteristics can be changed depending on the desired phase accuracy (1 / 16 or 1 / 32).

[0162] The filters in the following filter set can be used in video coding as interpolation filters with phase full pixel, 1 / 16 to 15 / 16 and 9-bit coefficients (where the magnitude of each coefficient is represented by 8 bits and the sign (+ or -) of each coefficient is represented by 1 sign bit).

[0163] For a filter with a filter length of 12 (i.e., N=12) for 1.5x downsampling, the filter coefficients are: {0, 10, -12, -19, 70, 158, 70, -19, -12, 10, 0, 0}, {0, 10, -9, -22, 62,156, 79, -17, -13, 9, 1, 0}, {-1, 10, -8, -22, 54, 155, 87, -13, -16, 9, 2, -1}, {-2, 10, -5, -23, 46, 152, 95, -9, -18, 9, 2, -1}, {-2, 9, -4, -23, 39,150, 103, -6, , 0, 7, 15, 123, 10, -23, 4, 5, -2}、{-2, 6, 3, -25, 16, 130, 130, 16, -25, 3, 6, -2}、{-2, 5, 4, -23, 10, 123, 137, 20, -23, 0, 8, -3}、{-2, 6, 3, -25, 16, 130, 130, 16, -25, 3, 6, -2}、{-2, 5, 4, -23, 10, 123, 137, 20, -23, 0, 8, -3}、{-2, , 9, -23, -5, 10, -2}、{-1, 2, 9, -16, -13, 84, 153, 54, -22, -8, 10, -1}、{-2, 5, 6, -20, -2, 111, 144, 33, -24, -1, 8, -2}、{-2, 4, 8,-20, -6, 103, 150, 39, -23, -4, / 9, -2}、{-1, 2, 9, -18, -9, 95, 152, 46, -23,-5, 10, -2}、{-1, 2, 9, -16, -13, 87, 155, 5 156, 62, -22, -9, 10, 0}

[0164] FIG5(a) shows a graph of the improved phase delay response of the above-described 12-tap 1.5x downsampling filter, and FIG5(b) shows a graph of the magnitude of the improved frequency response of the above-described 12-tap 1.5x downsampling filter.

[0165] For a filter with a filter length of 12 (i.e., N=12) for 2x downsampling, the filter coefficients are: {4, -7, -17, 13, 73, 124, 73, 13, -17, -7, 4, 0}, {3, -7, -17, 9, 72, 122,81, 15, -16, -9, 3, 0}, {3, -5, -16, 6, 66, 120, 85, 18, -15, -10, 3, 1}, {3, -6, -17, 3, 64, 120, 90, 23, -15, -11, 1, 1}, {2, -3, -15, 0, 58, 117, 93, 25, -13, -10, 3, 0}. , 4}、{4, -4, -16, -2, 54, 116, 96, 31, -14, -12, 0, 3}、{4, -3, -14, -6, 49, 114, 101, 32, -12, -12, 0, 3}、{4, -3, -13, -7, 45, 110, 103, 38, -11, -12, -2, 4}、{2, 0, -14, -9, 42, 107, 107, 42, -9, -14, 0, 2}、{4, -2, -12, -11, 38, 103, 110, 45, -7, -13, -3, 4}、{3, 0, -12, , 0, -12, 32, 101, 114, 49, -6, -14, -3, 4}、{3, 0, -12, -14, 31, 96, 116, 54, -2, -16, -4, 4}、{1, 1, -10, -13, 25, 93, 117, 58, 0, -15, -3, 2}、{1, 1, -11, -15, 23, 90, 120, 64, 3, -17, -6, 3}、{1, 3, -10, -15, 18, 84, 120, 66, 6, -16, -5, 3}、{0, 3, -9, -16, 15, 81, 122, 72, 9, -17, -7, 3}.

[0166] FIG. 6( a ) shows a graph of the phase delay response of the above-described 12-tap 2× down-sampling filter, and FIG. 6( b ) shows a graph of the magnitude of the frequency response of the above-described 12-tap 2× down-sampling filter.

[0167] From Figure 5 (a) to Figure 6 (b), it can be seen that the phase is more accurate than that of the SHM filter ( Fig.12 and Fig.13 , for 1.5x downsampling and 2x downsampling respectively), but have a similar amplitude response as the SHM filter.

[0168] In some embodiments, when a 6-tap half-pixel low-pass filter is used as an alternative filter for half-pixel interpolation in motion compensation, it can be extended.

[0169] In some embodiments, the extended filter may be the following 10-tap filter: f = {2, 4, 10, 34, 78, 78, 34, 10, 4, 2}, with a normalization factor of 256. Alternatively, the extended filter may be the following 8-tap filter: f = {1, 10, 39, 78, 78, 39, 10, 1}, with a normalization factor of 256.

[0170] In some embodiments, the amplitude frequency response of an alternative half-pixel (i.e., with phases 8 / 16 or 16 / 32) filter can be used to derive filters for interpolation of other phases, and this can be made available for selecting a low-pass filter for motion compensation, rather than the 6-tap or 8-tap filters discussed with respect to filter set #2.

[0171] Filter Set #4

[0172] In some embodiments, the phase alignment of the 4-tap chroma RPR1.5x filter in VVC (used for motion compensation and downscaling from higher resolution to lower resolution at a rate of about 1.5x) can be corrected by using filters in the following filter set. The filters in the following filter set are extended to 8 taps compared to the 4-tap chroma RPR1.5x filter in VVC. In some embodiments, the filters can be extended to 6 taps.

[0173] The filters in the following filter set can be used in video coding as interpolation filters with phase full pixel, 1 / 32 to 31 / 32 and 9-bit coefficients (where the magnitude of each coefficient is represented by 8 bits and the sign (+ or -) of each coefficient is represented by 1 sign bit). These coefficients can be obtained from VVC (e.g., half-pixel filter (phase 16 / 32) and full-pixel filter) with filter gain adjusted to 256.

[0174] Zero-phase (eg, phase 0 / 32) pixel copies corresponding to integer motion are sufficient, which may also be indicated by the filter coefficients {0, 0, 256, 0, 0, 0}. For a filter with a filter length of 6 (i.e., N=6), the filter coefficients are: {0, 44, 160, 53, -2, 1}, {-2, 42, 160, 59, -4, 1}, {-2, 38, 159, 65, -5, 1}, {-1, 33, 159, 68, -4, 1}, {-2, 33, 154, 74, -4, 1}, {-1, 27, 155, 78, -4,1}, {-2, 25, 153, 84, -5, 1}, {-2, 22, 151, 89, -5, 1}, {-1, 17, 151, 93, -6,2}, {-2, 16, , 0}, {0, 4, 124, 124, 4, 0}, {1, -1, 122, 131, 3, 0}, {0, 1, 116, 132, 8, -1}, {0, 0,112, 135, 10, -1}, {1, -2, 107, 139, 1 9, 151, 17, -2}, {1, -5, 89, 151, 22, -2}, {1, -5,84, 153, 25, -2}, {1, -4, 78, 155, 27, -1}, {1, -4, 74, 154, 33, -2}, {1, -4,68, 159, 33, -1}, {1, -5, 65, 159, 38, -2}, {1, -4, 59, 160, 42, -2}, {1, -2,53, 160, 44, 0}.

[0175] FIG7( a ) shows a graph of the improved phase delay response of the proposed 6-tap chroma RPR1.5x downsampling filter, and FIG7( b ) shows the magnitude of the frequency response of the proposed 6-tap chroma RPR1.5x downsampling filter.

[0176] In other embodiments, a filter more similar to the 12-tap luma filter for 1.5x downscaling may be derived but with only 6 taps for chroma 1.5x downscaling. In some embodiments, a filter with the following coefficients may be used for filtering (for phase full pixels, 1 / 32 to 31 / 32).

[0177] The filters in the following filter set can be used in video coding as interpolation filters with phase full pixel, 1 / 32 to 31 / 32 and 9-bit coefficients (where the magnitude of each coefficient is represented by 8 bits and the sign (+ or -) of each coefficient is represented by 1 sign bit).

[0178] For a filter with a filter length of 6 (i.e., N=6), the filter coefficients are: {-14, 64, 156,64, -14, 0}, {-13, 59, 155, 68, -12, -1}, {-13, 56, 154, 71, -11, -1}, {-13, 52,153, 76, -10, -2}, {-12, 47, 153, 79, -9, -2}, {-13, 45, 151, 84, -8, -3}, {-13, 39, 154, 88, -9, -3}, {-14, 34, 156, 94, -10, -4}, {-15, 33, 152, 99, -7, , -6}, {-15, 30, 150, 103, -5, -7}, {-14, 26, 148, 107, -4, -7}, {-12, 23, 143, 110, -1, -7}, {-13, 18, 145, 116, -2, -8}, {-10, 15, 139, 118, 1, -7}, {-15, 19, 134,122, 9, -13}, {-14, 18, 129, 123, 13, -13}, {-14, 18, 124, 124, 18, -14}, {-13,13, 123, 129, 18, , 15, -14}, {-13, 9, 122, 134, 19, -15}, {-7, 1, 118, 139, 15, -10}, {-8, -2, 116, 145, 18, -13}, {-7, -1, 110, 143, 23, -12}, {-7, -4, 107,148, 26, -14}, {-7, -5, 103, 150, 30, -15}, {-6, -7, 99, 152, 33, -15}, {-4, -10, 94, 156, 34, -14}, {-3, -9, 88, 154, 39, -13}, {-3, -8, , -13}, {-2, -9, 79, 153, 47, -12}, {-2, -10, 76, 153, 52, -13}, {-1, -11, 71, 154, 56,-13}, {-1, -12, 68, 155, 59, -13}.

[0179] FIG8( a ) shows a graph of the improved phase delay response of the 6-tap chroma RPR1.5x downsampling filter, and FIG8( b ) shows the magnitude of the frequency response of the 6-tap chroma RPR1.5x downsampling filter.

[0180] In some embodiments, the filter may be extended to 8 taps. In these embodiments, filtering may be performed using filters with the following coefficients (for phase full pixels, 1 / 32 to 31 / 32): {13, -38, 56, 194, 56, -38, 13, 0,}, {13, -38, 52, 193, 62, -38, 11, 1,}, {13, -36, 44, 193, 69, -37,8, 2,}, {12, -34, 39, 192, 74, -36, 7, 2,}, {13, -33, 32, 192, 79, -36, 6, 3,}, {12, -30, 26, 190, 86, -36, 4, 4,}, {12, -29, 21, , 7,}, {12, -20, -3, 172, 121, -30, 7,}, {11, -18, -7, 168, 128, -28, -6, 8,}, {11, -23, 4, 180, 109, -34, 0, 7,}, {13, -23, 2, 175, 115, -31, -2, 7,}, {12, -20,-3, 172, 121, -30, -4, 8,}, {11, -18, -7, 168, 128, -28, -6, 8,}, {11, -16, -11, 164, , 9,}, {11, -15, -14, 159, 139, -25, -8, 9,}, {10, -13,-17, 155, 144, -23, -9, 9,}, {9, -11, -20, 150, 150, -20, -11, 9,}, {9, -9, -23, 144, 155, -17, -13, 10,}, {9, -8, -25, 139, 159, -14, -15, 11,}, {9, -7,-27, 133, 164, -11, -16, 11,}, {8, -6, -28, 128, , 168, -7, -18, 11,}, {8, -4,-30, 121, 172, -3, -20, 12,}, {7, -2, -31, 115, 175, 2, -23, 13,}, {7, 0, -34, 109, 180, 4, -23, 13,}, {6, 1, -34, 103, 182, 11, -26, 13,}, {6,,}, {4, 3, -35, 92, 188, 21, -29, 12,}, {4, 4, -36, 86,190, 26, -30, 12,}, {3, 6, -36, 79, 192, 32, -33, 13,}, {2, 7, -36, 74, 192,39, -34, 12,}, {2, 8, -37, 69, 193, 44, -36, 13,}, {1, 11, -38, 62, 193, 52, -38, 13,}. ,

[0181] FIG9( a ) shows a graph of the improved phase delay response of the proposed 8-tap chroma RPR1.5x downsampling filter, and FIG9( b ) shows the magnitude of the frequency response of the proposed 8-tap chroma RPR1.5x downsampling filter.

[0182] In another embodiment, an alternative 8-tap filter set may be used that has a more uniform amplitude response at lower frequencies (which is preferred). At least one of the following interpolation filters (filter f) with phase full pixel, 1 / 32 to 31 / 32 and 9-bit coefficients (i.e., 8-bit amplitude + 1 sign bit) is used in video coding: {-4, -20, 68, 168,68, -20, -4, 0}, {-4, -20, 64, 167, 73, -19, -5, 0}, {-1, -20, 58, 164, 77, -19, -4, 1}, {-1, -20, 53, 165, 81, -18, -5, 1}, {0, -19, 49, 161, 84, -15, -5,1}, {0, -19, 45, 160, 89, -14, -6, 1}, {1, -20, 42, 167, 89, -14, -6, 1}. , 2}, {1, -19, 37, 157, 98, -12, -8, 2}, {1, -18, 33, 154, 103, -10, -9, 2}, {1, -18, 31,151, 107, -8, -11, 3}, {1, -19, 26, 152, 113, -7, -12, 2}, {1, -19, 23, 151,116, -6, -12, 2}, {3, -17, 18, 145, 120, -4, -13, 4}, {3, -17, 16, 142, 123, -1, -14, 4}, {4, , 4}, {4, -14, 0, 127, 141, 11, -17, 4}, {4, -14, -1, 123, 142, 16, -17, 3}, {4, -13, -4, 120,145, 18, -17, 3}, {2, -12, -6, 116, 151, 23, -19, 1}、{2, -12, -7, 113, 152,26, -19, 1}、{3, -11, -8, 107, 151, 31, -18, 1}、{2, -9, -10, 103, 154, 33, -18, 1}、{2, -8, -12, 98, 157, 37, -19,1}, {2, -8, -13, 95, 157, 42, -20, 1}, {1, -6, -14, 89, 160, 45, -19, 0}, {1, -5, -15, 84, 161, 49, -19, 0}, {1, -5, -18, 81, 165, 53, -20, -1}, {1, -4, -19, 77, 164, 58, -20, -1}, {0, -5, -19, 73,167, 64, -20, -4},

[0183] FIG9( c ) shows a graph of the improved phase delay response of the above-mentioned 8-tap chroma RPR1.5x down-sampling filter, and FIG9( d ) shows the magnitude of the frequency response of the above-mentioned 8-tap chroma RPR1.5x down-sampling filter.

[0184] Filter Set #5

[0185] In some embodiments, the phase alignment of the 4-tap chroma RPR2x filter in VVC (used for motion compensation and downscaling from higher resolution to lower resolution at a rate of about 2x) can be corrected by using filters in the following filter set. The filters in the following filter set are extended to 8 taps compared to the 4-tap chroma RPR2x filter in VVC. In some embodiments, the filters can be extended to 6 taps.

[0186] The filters in the following filter set can be used in video coding as interpolation filters with phase full pixel, 1 / 32 to 31 / 32 and 9-bit coefficients (where the magnitude of each coefficient is represented by 8 bits and the sign (+ or -) of each coefficient is represented by 1 sign bit).

[0187] For a filter with a filter length of 6 (i.e., N=6), the filter coefficients are: {-5, 64, 138, 64,-5, 0}, {-8, 66, 132, 73, -6, -1}, {-9, 62, 134, 76, -5, -2}, {-10, 59, 134, 80,-4, -3}, {-10, 57, 132, 82, -2, -3}, {-10, 53, 132, 85, 0, -4}, {-11, 50, 132,89, 1, -5}, {-12, 47, 132, 93, 2, -6}, {-13, 45, 131, 96, 4, , 117, 117, 21, -13}, {-12, 21, 115, 119, 25, -12}, {-13, 24, 117, 117, 24, -13}, {-12, 21, 115, 119, 25, -11}, {-12, 21, 115, 119, 25, -12}, {-13, 29, 121, 112, 18, -11}, {-12, 39, 127, 101, 9, -8}, {-13, 36, 127, 105, 10, -9}, {-12, 33,124, 107, 14, -10}, {-13, 30, 124, 111, 15, -11} , -12}, {-11, 18, 112, 121, 29, -13}, {-11, 15, 111, 124, 30, -13}, {-10, 14,107, 124, 33, -12}, {-9, 10, 105, 127, 36, -13}, {-8, 9, 101, 127, 39, -12}, {-7, 5, 99, 131, 40, -12}, {-7, 4, 96, 131, 45, -13}, {-6, 2, 93, 132, 47, -12}, {-5, 1, 89, 132, 50, -11}, {-4, 0, 85, 132, 53, -10}, {-3, -2, 82, 132, 57, -10}, {-3, -4, 80, 134, 59, -10}, {-2, -5, 76, 134, 62, -9}, {-1, -6, 73, 132,66, -8}.

[0188] FIG. 10( a ) shows a graph of the improved phase delay response of the above-mentioned 6-tap chroma RPR2x downsampling filter, and FIG. 10( b ) shows the magnitude of the frequency response of the above-mentioned 6-tap chroma RPR2x downsampling filter.

[0189] Below are different filters that can be used in video coding as interpolation filters with phase full pixel, 1 / 32 to 31 / 32 and with 9-bit coefficients where the magnitude of each coefficient is represented by 8 bits and the sign (+ or -) of each coefficient is represented by 1 sign bit.

[0190] For a filter with a filter length of 8 (i.e., N=8), the filter coefficients are: {-21, 7, 74, 136,74, 7, -21, 0,}, {-20, 5, 69, 140, 75, 8, -20, -1,}, {-19, 3, 66, 140, 78, 9,-19, -2,}, {-17, 1, 62, 141, 80, 8, -17, -2,}, {-16, 1, 59, 138, 82, 10, -15,-3,}, {-16, -1, 57, 138, 86, 11, -15, -4,}, {-11, 0, 6, 131, 8 , 10, -13, -3,}, {-9, -8, 53, 131, 94, 10, -12, -3,}, {-8, -9, 49, 131, 97, 11, -12, -3,}, {-13, -8, 50, 130, 100, 18, -15, -6,}, {-10, -9, 46, 128, 102, 17, -14, -4,}, {-11, -10, 44, 127, 106, 21, -15, -6,}, {-9, -12, 41, 126, 109, 21, -15, -5,}, {-10, -12, 40, , 32, -13, 116, 116, 32, -13,-7,}, {-7, -14, 29, 115, 120, 35, -14, -8,}, {-8, -14, 29, 113, 120, 38, -13,-9,}, {-7, -15, 26, 111, 123, 40, -12, -10,}, {-5, , 10, 94, 131, 50, -8, -13,}, {-3, -12, 11, 97, 131, 49, -9, -8,}, {-3, -12, 10, 94, 131, 50, -8, -13,}, {-6, -15, 21, 109, 126, 41, -12, -9,}, {-6, -15, 21, 106, 127, 44, -10, -11,}, {-4, -14, 17, 102, 128, 46, -9, -10,}, {-6, -15, 18, 100, 130, 50, -8, -13,}, {-3, -12, 11, 97, 131, 49, -9, -8,}, {-3, -12, 10, 94, 131,,}, {-3, -15, 10, 82, 138, 59, 1, -16,}, {-2, -17, 8, 84, 141, 62, 1, -17,}, {-2, -19, 9, 78, 142, 64, 3, -19,}, {-1, -20, 8, 74, 143, 69, 5, -20,}.

[0191] FIG. 11( a ) shows a graph of the improved phase delay response of the above-described 8-tap chroma RPR2x downsampling filter, and FIG. 11( b ) shows the magnitude of the frequency response of the above-described 8-tap chroma RPR2x downsampling filter.

[0192] In another embodiment, an alternative 8-tap filter set may be used that has a more uniform amplitude response at lower frequencies and suppresses more amplitude response at higher frequencies (which is typically preferred in 2x downsampling). At least one of the following interpolation filters (filter f) with phase full pixel, 1 / 32 to 31 / 32 and 9-bit coefficients (i.e., 8-bit amplitude + 1 sign bit) is used in video coding: {-15, 9, 75, 118, 75, 9, -15, 0}, {-14, 7, 70,123, 75, 9, -13, -1}, {-18, 7, 69, 125, 79, 14, -18, -2}, {-17, 5, 66, 126, 81,14, -16, -3}, {-16, 3, 63, 127, 83, 15, -16, -3}, {-17, 3, 60, 128, 85, 17, -16, -4}, {-16, 3, 56, 127, 86, 19, -14, -5}、{-15, 0, 56, 124, 90, 21, -15, -5}、{-16, 1, 53, 124, 90, 25, -15, -6}、{-15, 0, 51, 121, 93, 26, -13, -7}、{-16, -2, 52, 118, 97, 29, -13, -9}、{-15, -4, 51, 116, 99, 31, -13, -9}、{-15, -4, 47, 116, 102, 31, -10, -11}、{-15, -4, 45, 114, , 43, -5, -14}, {-14, -5,43, 112, 104, 37, -9, -12}, {-13, -7, 42, 110, 106, 39, -9, -12}, {-13, -9, 41,109, 109, 41, -9, -13}, {-12, -9, 39, 106, 110, 42, -7, -13}, {-12, -9, 37,104, 112, 43, -5, -14}, {-12, -9, 34, 103, 114, 45, -4, -15}, {-11, -10, 31,102, 116, 47, -4, -15}, {-9, -13, 31, 99, 116, 51, -4, -15}, {-9, -13, 29, 97,118, 52, -2, -16}, {-7, -13, 26, 93, 121, 51, 0, -15}, {-6,, 75, 127, 64, 3, -16}、{-2, -18, 14, 79, 125, 69, 7, -18}、{-1, -13, 9, 75, 123, 64, 3, -16}、{-2, -15, 21, 90, 124, 56, 0, -15}、{-5, -14, 19, 86, 127, 56, 3, -16}、{-4, -16, 17, 85, 128, 60, 3, -17}、{-3, -16, 15, 83, 127, 63, 3, -16}、{-3, -16, 14, 81, 126, 66, 5, -17}、{-2, -18, 14, 79, 125, 69, 7, -18}、{-1, -13, 9, 75, 123, 70, 7, -14}. ,

[0193] FIG. 11( c ) shows a graph of the improved phase delay response of the above-mentioned 8-tap chroma RPR2x down-sampling filter, and FIG. 11( d ) shows the magnitude of the frequency response of the above-mentioned 8-tap chroma RPR2x down-sampling filter.

[0194] In some embodiments, the encoder 112 and / or the decoder 114 may select a filter (e.g., an asymmetric filter) to be used for filtering from at least two filter sets having different frequency characteristics but similar phase characteristics. The at least two filter sets may include: a filter set that retains most of the energy in the reconstructed samples from the previous picture (reference picture) (e.g., such as the above-mentioned filter set #1), and / or a filter set that removes most of the high-frequency components in the reconstructed samples from the previous picture. The two filter sets may be able to maintain an accurate phase (e.g., such as the above-mentioned filter sets #2, #3, #4, or #5). The selection of filters may be performed at the block level, the picture level, or the sequence level.

[0195] In some embodiments, the selection of filters may be made via implicit derivation (eg, template matching) or explicit signaling (eg, by signaling a flag value indicating which filter set to use).

[0196] In some embodiments, selection of filters may be enabled only for a restricted set of phases. For example, selection of filters may be enabled only for every second phase position (e.g., 2 / 16, 4 / 16, 6 / 16, etc.) or every fourth phase position (e.g., 4 / 16, 8 / 16, 12 / 16, etc.).

[0197] In some embodiments, the encoder 112 or the decoder 114 may select a filter length (e.g., 6, 8, or 12 taps) based on characteristics of a current block (i.e., a block subjected to filtering by a motion estimator / compensator, an intra-frame predictor, or an inter-frame predictor) and perform filtering using the selected filter length.

[0198] In some embodiments, the characteristics of the current block may be obtained by reconstructing samples from previously coded blocks within a region inside the current picture (e.g., Figure 2 280 or Figure 3 For example, if it is determined that the reconstructed sample contains high frequency information, a filter with a longer filter length (eg, 12 taps) may be used. Otherwise, a filter with a shorter filter length (eg, 6 taps) may be used.

[0199] In other embodiments, the characteristics of the current block may be determined by the picture resolution of the current picture instead of or in addition to the degree of frequency information of the reconstructed samples.

[0200] In other embodiments, the characteristics of the current block may be determined by the chroma format (e.g., 444, 422, or 420) of the current picture, instead of, or in addition to, any one or more of the degree of frequency information of the reconstructed samples or the picture resolution.

[0201] In other embodiments, the characteristics of the current block may be determined by a quantization parameter (QP) of the current block or a QP of the current picture instead of, or in addition to, any one or more of the degree of frequency information of the reconstructed samples, the picture resolution, or the chroma format of the current picture.

[0202] The following table illustrates the performance improvement (related to coding efficiency) provided by the filters in filter set #1 according to some embodiments of the present disclosure.

[0203] Table 1 - 12-tap chroma IF for CTC

[0204]

[0205]

[0206] Table 2 - 8-tap chroma IF for CTC

[0207]

[0208]

[0209] Table 3 - 6-tap chroma IF for CTC

[0210]

[0211]

[0212] As described above, the filter according to the embodiment can provide a target gain for motion compensation prediction with sub-sample accuracy in video coding. Figures 30(a) to 32(b) show the phase and amplitude responses of the filter. As shown, the behavior of the filter is closer to the ideal phase and amplitude response (especially at lower frequencies).

[0213] 30( a ) shows a graph of a phase delay response of a 12-tap chroma interpolation filter according to some embodiments, and FIG. 30( b ) shows a magnitude of a frequency response of a 12-tap chroma interpolation filter according to some embodiments.

[0214] FIG. 31( a ) shows a graph of a phase delay response of an 8-tap chroma interpolation filter according to some embodiments, and FIG. 31( b ) shows a magnitude of a frequency response (b) of an 8-tap chroma interpolation filter according to some embodiments.

[0215] FIG. 32( a ) shows a graph of a phase delay response of a 6-tap chroma interpolation filter according to some embodiments, and FIG. 32( b ) shows a magnitude of a frequency response of a 6-tap chroma interpolation filter according to some embodiments.

[0216] Select a filter set based on the ratio of the reference image to the current image

[0217] Filter Set #6

[0218] In some embodiments, the filter set may be selected based on the ratio of the reference picture to the current picture. For example, in one embodiment, when the ratio of the picture resolution of the reference picture to the picture resolution of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), any of the above-mentioned 2x reduction filter sets #3, #4, #5 and the 12-tap filter set provided in the next paragraph may be used for 2x reduction. Alternatively or additionally, when the ratio of the width of the reference picture to the width of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 12-tap 2x reduction filter set provided in the next paragraph may be used to perform filtering operations in the horizontal direction. Alternatively or additionally, when the ratio of the height of the reference picture to the height of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 12-tap 2x reduction filter set provided in the next paragraph may be used to perform filtering operations in the vertical direction.

[0219] Filter set: {5, -5, -17, 9, 78, 116, 78, 9, -17, -5, 5, 0}, {5, -4, -18, 7, 73, 116, 82, 14, -18, -6, 4, 1}, {5, -4, -17, 4, 69, 115, 86, 17, -17,-7, 4, 1}, {5, -3, -17, 1, 64, 115, 90, 21, -17, -8, 3, 2}, {4, -2, -15, -2,59, 114, 93, 24, -15, -8, 2, 2}, {4, -1, -15, -5, 55, 113, , -13, 1, 3}、{3, 1, -13, -10, 42, 105, 105, 42, -10, -13, 1,3}、{3, 1, -11, -12, 36, 104, 108, 45, -9, -13, 1, 3}、{3, 2, -11, -14, 33,100, 110, 51, -7, -15, 0, 4}, {2, 3, -10, -15, 29, 96, 113, 55, -5, -15, -1,4}, {2, 2, -8, -15, 24, 93, 114, 59, -2, -15, -2, 4}, {2, 3, -8, -17, 21, 90,115, 64, 1, -17, -3, 5}, {1, 4, -7, -17, 17, 86, 115, 69, 4, -17, -4, 5}, {1,4, -6, -18, 14, 82, 116, 73, 7, -18, -4, 5}.

[0220] As indicated above, the filter set includes 16 coefficient value subsets, and each coefficient value subset includes 12 coefficient values.

[0221] As described above, in some embodiments, the coefficient values ​​in the filter set can be used for interpolation filtering of phases 0 / 16 to 15 / 16 in video encoding. For example, in the above filter set, the first coefficient value subset is {5, -5, -17, 9, 78, 116, 78, 9, -17, -5, 5, 0} corresponding to phase 0 / 16, and the last coefficient value subset is {1, 4, -6, -18, 14, 82, 116, 73, 7, -18, -4, 5} corresponding to phase 15 / 16.

[0222] FIG. 35( a ) shows a graph of the phase delay response of the above-described 12-tap 2× reduction filter, and FIG. 35( b ) shows a graph of the magnitude of the frequency response of the above-described 12-tap 2× reduction filter.

[0223] Filter Set #7

[0224] In one embodiment, when the ratio of the picture resolution of the reference picture to the picture resolution of the current picture is substantially close to a predefined value (e.g., 1.5) or within a specific range (e.g., between 1.25 and 1.75), any of the above-mentioned 1.5x reduction filter sets #3, #4, #5 and the 12-tap filter set provided in the next paragraph can be used for 1.5x reduction. Alternatively or additionally, when the ratio of the width of the reference picture to the width of the current picture is substantially close to a predefined value (e.g., 1.5) or within a specific range (e.g., between 1.25 and 1.75), the 12-tap 1.5x reduction filter set provided in the next paragraph can be used to perform filtering operations in the horizontal direction. Alternatively or additionally, when the ratio of the height of the reference picture to the height of the current picture is substantially close to a predefined value (e.g., 1.5) or within a specific range (e.g., between 1.25 and 1.75), the 12-tap 1.5x reduction filter set provided in the next paragraph can be used to perform filtering operations in the vertical direction.

[0225] Filter set: {-1, 9, -10, -21, 74, 154, 74, -21, -10, 9, -1, 0}, {-2, 9,-8, -22, 65, 155, 81, -18, -12, 9, 0, -1}, {-2, 8, -5, -24, 57, 153, 90, -15,-14, 9, 0, -1}, {-1, 8, -5, -25, 52, 148, 97, -10, -17, 8, 2, -1}, {-2, 8, -5,-23, 45, 144, 104, -3, -20, 6, 4, -2}, {-2, 6, 0, -25, , 6, 1, -22, 6, 2, -1}、{-1, 2, 6, -22, 10, 133, 133, 10, -22, 6, 2, -1}、{-1, 2, 6, -21, 6, 126, 137, 18, -23, 4, 3, -1}、{-2, 4, 6, -22, 3, 119, 140,28, -25, 3}, {-2, 4, 7, -20, -2, 112, 144, 35, -25, 0, 6, -2}, {-2, 4,6, -20, -3, 104, 144, 45, -23, -5, 8, -2}, {-1, 2, 8, -17, -10, 97, 148, 52, -25, -5, 8, -1}, {-1, 0, 9, -14, -15, 92, 153, 57, -24, -5, 8, -2}, {-1, 0, 9, -12, -18, 81, 155, 65, -22, -8, 9, -2}.

[0226] As indicated above, the filter set includes 16 coefficient value subsets, and each coefficient value subset includes 12 coefficient values.

[0227] As described above, in some embodiments, the coefficient values ​​in the filter set can be used for interpolation filtering of phases 0 / 16 to 15 / 16 in video encoding. For example, in the above filter set, the first coefficient value subset is {-1, 9, -10, -21, 74, 154, 74, -21, -10, 9, -1, 0} corresponding to phase 0 / 16, and the last coefficient value subset is {-1, 0, 9, -12, -18, 81, 155, 65, -22, -8, 9, -2} corresponding to phase 15 / 16.

[0228] FIG. 36( a ) shows a graph of the phase delay response of the above-described 12-tap 1.5× reduction filter, and FIG. 36( b ) shows a graph of the magnitude of the frequency response of the above-described 12-tap 1.5× reduction filter.

[0229] Filter Set #8

[0230] In some embodiments, instead of using a 12-tap filter, a 10-tap filter can be used. Compared to a 12-tap filter, a 10-tap filter can reduce the computational complexity of filtering while providing compromised compression performance. These 10-tap filters can be used for inter-frame blocks in sub-block mode (e.g., affine mode).

[0231] In one embodiment, when the ratio of the picture resolution of the reference picture to the picture resolution of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 10-tap filter set provided in the next paragraph can be used for 2x reduction. Alternatively or additionally, when the ratio of the width of the reference picture to the width of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 12-tap 2x reduction filter set provided in the next paragraph can be used to perform filtering operations in the horizontal direction. Alternatively or additionally, when the ratio of the height of the reference picture to the height of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 12-tap 2x reduction filter set provided in the next paragraph can be used to perform filtering operations in the vertical direction.

[0232] Filter set: {-3, -14, 10, 77, 116, 77, 10, -14, -3, 0}, {-4, -15, 8,73, 116, 82, 14, -15, -5, 2}, {-3, -15, 5, 69, 115, 86, 18, -15, -6, 2}, {-2, -15, 2, 65, 114, 89, 22, -14, -7, 2}, {-1, -14, -1, 60, 113, 93, 26, -14, -8,2}, {-1, -14, -3, 56, 112, 96, 30, -13, -9, 2}, {0, -13, , 34, 100, 110, 51, -5, -13, 0}, {2, -9, -13, 30, 96, 112, 56, -3, -14, -1}, {1, -12, -9, 43,105, 105, 43, -9, -12, 1}, {1, -11, -10, 38, 103, 108, 47, -7, -13, 0}, {1, -10, -12, 34, 100, 110, 51, -5, -13, 0}, {2, -9, -13, 30, 96, 112, 56, -3, -14, -1}, {2, -8, -14, 26, , -15, -3}, {2, -5, -15, 14, 82,116, 73, 8, -15, -4}.

[0233] As indicated above, the filter set includes 16 coefficient value subsets, and each coefficient value subset includes 10 coefficient values.

[0234] As described above, in some embodiments, the coefficient values ​​in the filter set can be used for interpolation filtering of phases 0 / 16 to 15 / 16 in video encoding. For example, in the above filter set, the first subset of coefficient values ​​is {-3, -14, 10, 77, 116, 77, 10, -14, -3, 0} corresponding to phase 0 / 16, and the last subset of coefficient values ​​is {2, -5, -15, 14, 82, 116, 73, 8, -15, -4} corresponding to phase 15 / 16.

[0235] FIG. 37( a ) shows a graph of the phase delay response of the above-described 10-tap 2× reduction filter, and FIG. 37( b ) shows a graph of the magnitude of the frequency response of the above-described 10-tap 2× reduction filter.

[0236] Filter Set #9

[0237] In one embodiment, when the ratio of the picture resolution of the reference picture to the picture resolution of the current picture is substantially close to a predefined value (e.g., 1.5) or within a specific range (e.g., between 1.25 and 1.75), the 10-tap filter set provided in the next paragraph can be used for 1.5x reduction. Alternatively or additionally, when the ratio of the width of the reference picture to the width of the current picture is substantially close to a predefined value (e.g., 1.5) or within a specific range (e.g., between 1.25 and 1.75), the 10-tap 1.5x reduction filter set provided in the next paragraph can be used to perform filtering operations in the horizontal direction. Alternatively or additionally, when the ratio of the height of the reference picture to the height of the current picture is substantially close to a predefined value (e.g., 1.5) or within a specific range (e.g., between 1.25 and 1.75), the 10-tap 1.5x reduction filter set provided in the next paragraph can be used to perform filtering operations in the vertical direction.

[0238] Filter set: {6, -10, -19, 74, 154, 74, -19, -10, 6, 0}, {8, -8, -22,66, 153, 82, -18, -13, 8, 0}, {7, -6, -24, 58, 152, 90, -14, -15, 8, 0}, {7, -5, -25, 51, 150, 97, -11, -17, 8, 1}, {6, -2, -26, 43, 147, 105, -7, -19, 7,2}, {6, -1, -26, 35, 144, 112, -2, -21, 7, 2}, {5, 1, -26, 28, , 5}、{4, 4, -25, 15, 130, 130,15, -25, 4, 4}、{3, 5, -24, 9, 125, 135, 22, -26, 2, 5}、{3, 6, -22, 3, 118,140, ​​28, -26, 1, 5}、{2, 7, -21, -2, 112, 144, 35, -26, -1, 6}、{2, 7, -19, -7,105, 147, 43, -26, -2, 6}, {1, 8, -17, -11, 97, 150, 51, -25, -5, 7}, {0, 8, -15, -14, 90, 152, 58, -24, -6, 7}, {0, 8, -13, -18, 82, 153, 66, -22, -8, 8}.

[0239] As indicated above, the filter set includes 16 coefficient value subsets, and each coefficient value subset includes 10 coefficient values.

[0240] As described above, in some embodiments, the coefficient values ​​in the filter set can be used for interpolation filtering of phases 0 / 16 to 15 / 16 in video encoding. For example, in the above filter set, the first coefficient value subset is {6, -10, -19, 74, 154, 74, -19, -10, 6, 0} corresponding to phase 0 / 16, and the last coefficient value subset is {0, 8, -13, -18, 82, 153, 66, -22, -8, 8} corresponding to phase 15 / 16.

[0241] FIG. 38( a ) shows a graph of the phase delay response of the above-described 10-tap 1.5× reduction filter, and FIG. 38( b ) shows a graph of the magnitude of the frequency response of the above-described 10-tap 1.5× reduction filter.

[0242] Filter Set #10

[0243] In one embodiment, when the ratio of the picture resolution of the reference picture to the picture resolution of the current picture is less than a threshold value (e.g., 1 or 1.25), the 10-tap filter set provided in the next paragraph can be used for enlargement. In other words, the 10-tap filter set provided in the next paragraph is mainly used for the scene where the picture resolution of the reference picture is less than the picture resolution of the current picture. In another embodiment, when the ratio of the width of the reference picture to the width of the current picture is less than a threshold value (e.g., 1 or 1.25), the 10-tap enlargement filter set provided in the next paragraph can be used to perform filtering operations in the horizontal direction. In another embodiment, when the ratio of the height of the reference picture to the height of the current picture is less than a threshold value (e.g., 1 or 1.25), the 10-tap enlargement filter set provided in the next paragraph can be used to perform filtering operations in the vertical direction.

[0244] Filter set: {0, 0, 0, 0, 256, 0, 0, 0, 0}, {2, -3, 6, -14, 254, 16, -7, 4, -2, 0}, {3, -6, 12, -26, 249, 34, -14, 7, -4, 1}, {4, -9, 17, -36, 241,54, -22, 11, -6, 2}, {5, -11, 20, -43, 230, 75, -29, 15, -8, 2}, {5, -12, 23, -48, 216, 96, -36, 18, -9, 3}, {5, -13, 25, -51, 200, , 23, -12, 5}、{5, -13, 25, -51, 181, 140, -46, 23, -12, 4}、{5, -13, 25, -50, 161, 161, -50, 25,-13, 5}、{4, -12, 23, -46, 140, 181, -51, 25, -13, 5}、{4, -11, 21, -42, 118,200, -51, 25, -13, 5}、{3, -9, 18, -36, 96, 216, -48, 23, -12, 5}、{2, -8, 15,-29, 75, 230, {2, -6, 11, -22, 54, 241, -36, 17, -9, 4}, {1,-4, 7, -14, 34, 249, -26, 12, -6, 3}, {0, -2, 4, -7, 16, 254, -14, 6, -3, 2}.

[0245] As indicated above, the filter set includes 16 coefficient value subsets, and each coefficient value subset includes 10 coefficient values.

[0246] As described above, in some embodiments, the coefficient values ​​in the filter set can be used for interpolation filtering of phases 0 / 16 to 15 / 16 in video encoding. For example, in the above filter set, the first coefficient value subset is {0, 0, 0, 0, 256, 0, 0, 0, 0, 0} corresponding to phase 0 / 16, and the last coefficient value subset is {0, -2, 4, -7, 16, 254, -14, 6, -3, 2} corresponding to phase 15 / 16.

[0247] FIG. 39( a ) shows a graph of the phase delay response of the above-mentioned 10-tap amplifying filter, and FIG. 39( b ) shows a graph of the magnitude of the frequency response of the above-mentioned 10-tap amplifying filter.

[0248] Filter Set #11

[0249] Like filter set #8 described above, filter set #11 disclosed below is used for 2x downscaling. However, compared to filter set #8, this filter set provides better phase characteristics while maintaining similar amplitude characteristics.

[0250] In one embodiment, when the ratio of the picture resolution of the reference picture to the picture resolution of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 10-tap filter set provided in the next paragraph can be used for 2x reduction. Alternatively or additionally, when the ratio of the width of the reference picture to the width of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 10-tap 2x reduction filter set provided in the next paragraph can be used to perform filtering operations in the horizontal direction. Alternatively or additionally, when the ratio of the height of the reference picture to the height of the current picture is substantially close to a predefined value (e.g., 2) or above a specific ratio threshold (e.g., 1.75), the 10-tap 2x reduction filter set provided in the next paragraph can be used to perform filtering operations in the vertical direction.

[0251] Filter set: {-2, -14, 10, 76, 116, 76, 10, -14, -2, 0}, {-2, -14, 7,73, 115, 81, 13, -14, -3, 0}, {-2, -13, 4, 68, 115, 85, 17, -14, -4, 0}, {-1, -13, 1, 64, 114, 89, 20, -14, -4, 0}, {-1, -13, -1, 59, 114, 93, 24, -13, -6,0}, {0, -12, -3, 54, 111, 96, 28, -12, -6, 0}, {0, -10, -7, , 0}、{1, -12, -6, 45, 107, 103, 36, -10, -8, 0}、{1, -9, -9, 41, 104,104, 41, -9, -9, 1}、{0, -8, -10, 36, 103, 107, 45, -6, -12, 1}、{1, -8, -11,32, 99, 109, 51, -7, -10, 0}、{0, -6, -12, 28, 96, 111, 54, -3, -12, 0}、{0, -6, -13, 24, 93, 114, 59, =The values ​​of the %d, %d, and %d are in the range of 0 to 100. The values ​​of the %d, %d, and %d are in the range of 0 to 100.

[0252] As indicated above, the filter set includes 16 coefficient value subsets, and each coefficient value subset includes 10 coefficient values.

[0253] As described above, in some embodiments, the coefficient values ​​in the filter set can be used for interpolation filtering of phases 0 / 16 to 15 / 16 in video encoding. For example, in the above filter set, the first coefficient value subset is {-14, 10, 76, 76, 116, 10, -14, -2, 0, 0} corresponding to phase -2 / 16, and the last coefficient value subset is {0, -4, -14, 17, 16, 115, 68, 4, -13, -2} corresponding to phase 15 / 85.

[0254] FIG. 40( a ) shows a graph of the phase delay response of the above-described 10-tap 2× reduction filter, and FIG. 40( b ) shows a graph of the magnitude of the frequency response of the above-described 10-tap 2× reduction filter.

[0255] Filter Set #12

[0256] Like the above-mentioned filter set #10, the filter set #12 disclosed below can be used for amplification. However, compared with the filter set #10, this filter set provides better phase characteristics while maintaining similar amplitude characteristics.

[0257] In one embodiment, when the ratio of the picture resolution of the reference picture to the picture resolution of the current picture is less than a threshold value (e.g., 1 or 1.25), the 10-tap filter set provided in the next paragraph can be used for enlargement. In other words, the 10-tap filter set provided in the next paragraph is mainly used for the scene where the picture resolution of the reference picture is less than the picture resolution of the current picture. In another embodiment, when the ratio of the width of the reference picture to the width of the current picture is less than a threshold value (e.g., 1 or 1.25), the 10-tap enlargement filter set provided in the next paragraph can be used to perform filtering operations in the horizontal direction. In another embodiment, when the ratio of the height of the reference picture to the height of the current picture is less than a threshold value (e.g., 1 or 1.25), the 10-tap enlargement filter set provided in the next paragraph can be used to perform filtering operations in the vertical direction.

[0258] Filter sets: {0, 0, 0, 0, 256, 0, 0, 0, 0, 0}, {3, -6, 9, -16, 253, 19, -11, 6, -2, 1}, {3, -7, 13, -27, 248, 36, -16, 8, -4, 2}, {3, -7, 16, -36, 240,53, -21, 10, -4, 2}, {3, -8, 19, -44, 231, 72, -26, 12, -5, 2}, {5, -11, 22, -49, 217, 94, -34, 16, -8, 4}, {5, -12, 24, -52, 202, , 6}、{6, -14, 26, -52, 182, 136, -43, 22, -13, 6}、{6, -13, 24, -50, 161, 161, -50, 24,-13, 6}、{6, -13, 22, -43, 136, 182, -52, 26, -14, 6}、{5, -11, 19, -38, 114,202, -52, 24, -12, 5}、{4, -8, 16, -34, 94, 217, -49, 22, -11, 5}、{2, -5, 12,-26, 72, 231, -44, 19, -8, 3}, {2, -4, 10, -21, 53, 240, -36, 16, -7, 3}, {2, -4, 8, -16, 36, 248, -27, 13, -7, 3}, or{1, -2, 6, -11, 19, 253, -16, 9, -6,3}.

[0259] As indicated above, the filter set includes 16 coefficient value subsets, and each coefficient value subset includes 10 coefficient values.

[0260] As described above, in some embodiments, the coefficient values ​​in the filter set can be used for interpolation filtering of phases 0 / 16 to 15 / 16 in video encoding. For example, in the above filter set, the first coefficient value subset is {0, 0, 0, 0, 256, 0, 0, 0, 0, 0} corresponding to phase 0 / 16, and the last coefficient value subset is {1, -2, 6, -11, 16, 253, -16, 9, -6, 3} corresponding to phase 15 / 19.

[0261] FIG. 41( a ) shows a graph of the phase delay response of the above-described 10-tap amplifying filter, and FIG. 41( b ) shows a graph of the magnitude of the frequency response of the above-described 10-tap amplifying filter.

[0262] In some embodiments, the above filter sets #3-#12 can be used for RPR motion compensation process in a video encoder or video decoder.In addition, as described above, the filter set can be used to enlarge or reduce a picture with a certain picture resolution to a picture with a different picture resolution.

[0263] In some embodiments, the following steps may be performed during the RPR motion compensation process to encode or decode the current inter-frame block in the current picture. The first step includes determining a reference picture associated with the current inter-frame block included in the current picture. The second step includes determining a motion vector associated with the reference picture of the current inter-frame block. The third step includes determining a scaling ratio based on the picture resolution of the current picture and the picture resolution of the reference picture. The fourth step includes determining a phase index based on the motion vector. The fifth step includes: based on the scaling ratio and the phase index, selecting from a filter set a filter for generating a prediction block containing prediction samples of the current inter-frame block in motion compensation. The sixth step includes generating a prediction block containing prediction samples of the current inter-frame block based on the filter.

[0264] The above 10-tap filter set #8-#12 selected based on the ratio of the reference picture and the current picture can be used for RPR filtering of affine coding blocks, and / or the above 12-tap filter set #6-#7 can be used for RPR filtering of non-affine coding blocks.

[0265] Fig.12 A process 1200 for encoding or decoding a video according to some embodiments is shown. The video includes a series of pictures, the series of pictures including a first picture and a second picture. Process 1200 may start at step s1202. Step s1202 includes obtaining a first set of values ​​for samples included in a first block, wherein the first block is included in the first picture. Step s1204 includes selecting a filter from a set of filters for generating a second set of values ​​included in a second block, wherein the second block is included in the first picture or the second picture. Step s1206 includes generating a second set of values ​​using the selected filter and the first set of values, wherein the filter includes a set of 6, 8, 10 or 12 coefficient values, and the set of coefficient values ​​is selected from the coefficient values. 2, wherein the coefficient value group is disclosed in the following embodiment A1.

[0266] The following embodiments A2 to A26 are applicable to Fig.12 Process 1200 is shown.

[0267] Fig.13 A process 1300 for encoding or decoding a video is shown. The video includes a series of pictures, the series of pictures including a first picture and a second picture. Process 1300 may start at step s1302. Step s1302 includes obtaining a first set of values ​​for samples included in a first block, wherein the first block is included in the first picture. Step s1304 includes selecting a length of a filter based on characteristics of reconstructed samples included in the first picture or the second picture. Step s1306 includes selecting a filter based at least on the selected length. Step s1308 includes interpolating the first set of values ​​using the selected filter. Step s1310 includes: based on the result of interpolating the first set of values, generating (s1310) a second set of values ​​for samples included in a second block, wherein the second block is included in the first picture or the second picture. Step s1312 includes: encoding or decoding the video (s1312) based at least on the second set of values. The following embodiments B2 to B26 apply to Fig.13 Process 1300 is shown.

[0268] Fig.14 is a method for implementing the encoder 112, the decoder 114, or a component included in the encoder 112 or the decoder 114 according to some embodiments (for example, Figure 2 249, 250 shown, Figure 3 366, 367) shown in FIG. 366, 367). When the device 1400 implements a decoder, the device 1400 may be referred to as a "decoding device 1400", and when the device 1400 implements an encoder, the device 1400 may be referred to as an "encoding device 1400". Fig.14As shown, the device 1400 may include: a processing circuit (PC) 1402, which may include one or more processors (P) 1455 (e.g., a general-purpose microprocessor and / or one or more other processors, such as an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), etc.), which may be co-located in a single housing or a single data center, or may be geographically distributed (i.e., the device 1400 may be a distributed computing device); at least one network interface 1448, which may include a transmitter (Tx) 1454; 45 and a receiver (Rx) 1447 for enabling the apparatus 1400 to send data to and receive data from other nodes connected to a network 110 (e.g., an Internet Protocol (IP) network) to which a network interface 1448 is connected (directly or indirectly) (e.g., the network interface 1448 may be wirelessly connected to the network 110, in which case the network interface 1448 is connected to an antenna arrangement); and a storage unit (also referred to as a "data storage system") 1408, which may include one or more non-volatile storage devices and / or one or more volatile storage devices. In embodiments where the PC 1402 includes a programmable processor, a computer program product (CPP) 1441 may be provided. The CPP 1441 includes a computer readable medium (CRM) 1442 storing a computer program (CP) 1443 including computer readable instructions (CRI) 1444. CRM 1442 can be a non-transitory computer-readable medium, such as a magnetic medium (e.g., a hard disk), an optical medium, a storage device (e.g., a random access memory, a flash memory), etc. In some embodiments, CRI 1444 of computer program 1443 is configured so that when executed by PC 1402, CRI causes device 1400 to perform the steps described herein (e.g., the steps described herein with reference to the flowchart). In other embodiments, device 1400 can be configured to perform the steps described herein without the need for code. That is, for example, PC 1402 can consist of only one or more ASICs. Therefore, the features of the embodiments described herein can be implemented in hardware and / or software.

[0269] Overview of Embodiments

[0270] A1. A method (1200) for encoding or decoding a video, the video comprising a series of pictures, the series of pictures comprising a first picture (e.g., a reference picture) and a second picture (e.g., a current picture), the method comprising:

[0271] obtaining (s1202) a first set of values ​​of samples included in a first block, wherein the first block is included in a first picture;

[0272] selecting (s1204) a filter for generating a second set of values ​​included in a second block from the filter set, wherein the second block is included in the first picture or the second picture; and

[0273] A second set of values ​​is generated (s1206) using the selected filter and the first set of values, wherein,

[0274] The filter consists of a set of 6, 8, 10, or 12 coefficient values, and

[0275] The set of coefficient values ​​is selected from the following coefficient values Select from the group of 2:

[0276] {1, -6, 256, 6, -1, 0}、{2, -11, 254, 14, -4, 1}、{4, -18, 252, 23, -6,1}、{6, -24, 249, 32, -9, 2}、{6, -26, 244, 41, -12, 3}、{7, -30, 239, 53, -18,5}、{8, -34, 235, 61, -19, 5}、{10, -38, 228, 72, -22, 6}、{10, -39, 220, 84, -26, 7}、{10, -40, 213, 94, -29, 8}、{11, -42, 205, 105, -32, 9}、{11, -42, 196,116, -35, 10}、{11, -42, 186, 128, -37, 10}、{11, -41, 167, 148, -40, 11}、{11,-41, 158, 158, -41, 11}、{11, -40, 148, 167, -41, 11}、{10, -37, 128, 186, -42,11}、{10, -35, 116, 196, -42, 11}、{9, -32, 105, 205, -42, 11}、{8, -29, 94,213, -40, 10}、{7, -26, 84, 220, -39, 10}、{6, -22, 72, 228, -38, 10}、{5, -19,61, 235, -34, 8}、{5, -18, 53, 239, -30, 7}、{3, -12, 41, 244, -26, 6}、{2, -9,32, 249, -24, 6}、{1, -6, 23, 252, -18, 4}, 0{1, -4, 14, 254, -11, 2}、{0, -1,6, 256, -6, 1}、{28, 46, 103, 49, 29, 1}、{26, 47, 100, 53, 28, 2}、{25, 46, 99,55, 28, 3}、{26, 39, 105, 53, 29, 4}、{25, 39, 102, 56, 29, 5}、{23, 40, 99, 60,28, 6}、{22, 40, 96, 63, 28, 7}、{20, 41, 93, 66, 29, 7}、{19, 40, 92, 68, 29,8}、{18, 39, 91, 70,29, 9}、{16, 40, 88, 73, 30, 9}、{16, 38, 87, 74, 31, 10}、{16, 36, 86, 75, 32, 11}、{14, 38, 82, 77, 34, 11}、{12, 38, 81, 79, 35, 11}、{12, 36, 80, 80, 36, 12}、{11, 35, 79, 81, 38, 12}、{11, 34, 77, 82, 38, 14}、{11, 32, 75, 86, 36, 16}、{10, 31, 74, 87, 38, 16}、{9, 30, 73, 88, 40, 16}、{9,29, 70, 91, 39, 18}、{8, 29, 68, 92, 40, 19}、{7, 29, 66, 93, 41, 20}、{7, 28,63, 96, 40, 22}、{6, 28, 60, 99, 40, 23}、{5, 29, 56, 102, 39, 25}、{4, 29, 53,105, 39, 26}、{3, 28, 55, 99, 46, 25}、{2, 28, 53, 100, 47, 26}、{1, 29, 49,103, 46, 28}、{0, 44, 160, 53, -2, 1}、{-2, 42, 160, 59, -4, 1}、{-2, 38, 159,65, -5, 1}、{-1, 33, 159, 68, -4, 1}、{-2, 33, 154, 74, -4, 1}、{-1, 27, 155,78, -4, 1}、{-2, 25, 153, 84, -5, 1}、{-2, 22, 151, 89, -5, 1}、{-1, 17, 151,93, -6, 2}、{-2, 16, 147, 99, -5, 1}、{-1, 14, 142, 103, -3, 1}、{-1, 12, 139,107, -2, 1}、{-1, 10, 135, 112, 0, 0}、{-1, 8, 132, 116, 1, 0}、{0, 3, 131, 122,-1, 1}、{0, 4, 124, 124, 4, 0}、{1, -1, 122, 131, 3, 0}、{0, 1, 116, 132, 8, -1}、{0, 0, 112, 135, 10, -1}、{1, -2, 107,139, 12, -1}、{1, -3, 103, 142, 14, -1}、{1, -5, 99, 147, 16, -2}、{2, -6, 93, 151, 17, -1}、{1, -5, 89, 151, 22, -2}、{1, -5, 84, 153, 25, -2}、{1, -4, 78, 155, 27, -1}、{1, -4, 74, 154, 33, -2}、{1, -4, 68, 159, 33, -1}、{1, -5, 65, 159, 38, -2}、{1, -4, 59, 160, 42, -2}、{1, -2, 53, 160, 44, 0}、{-14, 64, 156, 64, -14, 0}、{-13, 59, 155, 68, -12,-1}、{-13, 56, 154, 71, -11, -1}、{-13, 52, 153, 76, -10, -2}、{-12, 47, 153,79, -9, -2}、{-13, 45, 151, 84, -8, -3}、{-13, 39, 154, 88, -9, -3}、{-14, 34,156, 94, -10, -4}、{-15, 33, 152, 99, -7, -6}、{-15, 30, 150, 103, -5, -7}、{-14, 26, 148, 107, -4, -7}、{-12, 23, 143, 110, -1, -7}、{-13, 18, 145, 116, -2,-8}、{-10, 15, 139, 118, 1, -7}、{-15, 19, 134, 122, 9, -13}、{-14, 18, 129,123, 13, -13}、{-14, 18, 124, 124, 18, -14}、{-13, 13, 123, 129, 18, -14}、{-13,9, 122, 134, 19, -15}、{-7, 1, 118, 139, 15, -10}、{-8, -2, 116, 145, 18, -13}、{-7, -1, 110, 143, 23, -12}、{-7, -4, 107, 148, 26, -14}、{-7, -5, 103, 150,30, -15}、{-6, -7, 99, 152, 33, -15}、{-4, -10, 94, 156, 34,-14}、{-3, -9, 88,154, 39, -13}、{-3, -8, 84, 151, 45, -13}、{-2, -9, 79, 153, 47, -12}、{-2, -10,76, 153, 52, -13}、{-1, -11, 71, 154, 56, -13}、{-1, -12, 68, 155, 59, -13}、{-5, 64, 138, 64, -5, 0}、{-8, 66, 132, 73, -6, -1}、{-9, 62, 134, 76, -5, -2}、{-10, 59, 134, 80, -4, -3}、{-10, 57, 132, 82, -2, -3}、{-10, 53, 132, 85, 0, -4}、{-11, 50, 132, 89, 1, -5}、{-12, 47, 132, 93, 2, -6}、{-13, 45, 131, 96, 4,-7}、{-12, 40, 131, 99, 5, -7}、{-12, 39, 127, 101, 9, -8}、{-13, 36, 127, 105,10, -9}、{-12, 33, 124, 107, 14, -10}、{-13, 30, 124, 111, 15, -11}、{-13, 29,121, 112, 18, -11}、{-12, 25, 119, 115, 21, -12}、{-13, 24, 117, 117, 24, -13}、{-12, 21, 115, 119, 25, -12}、{-11, 18, 112, 121, 29, -13}、{-11, 15, 111, 124,30, -13}、{-10, 14, 107, 124, 33, -12}、{-9, 10, 105, 127, 36, -13}、{-8, 9,101, 127, 39, -12}、{-7, 5, 99, 131, 40, -12}、{-7, 4, 96, 131, 45, -13}、{-6,2, 93, 132, 47, -12}、{-5, 1, 89, 132, 50, -11}、{-4, 0, 85, 132, 53, -10}、{-3,-2, 82, 132, 57, -10}、{-3, -4, 80, 134, 59, -10}、{-2, -5, 76, 134, 62,-9}、{-1, -6, 73, 132, 66, -8}、{-1, 3, -7, 254, 11, -6, 3, -1}、{-1, 4, -12, 253, 16,-6, 3, -1}、{-2, 7, -18, 249, 28, -12, 6, -2}、{-2, 8, -23, 248, 33, -11, 4, -1}、{-3, 11, -28, 242, 47, -19, 8, -2}、{-3, 12, -33, 241, 51, -16, 5, -1}、{-4,15, -38, 236, 62, -21, 8, -2}、{-5, 18, -43, 231, 72, -23, 8, -2}、{-6, 19, -44, 223, 84, -28, 12, -4}、{-4, 15, -40, 210, 99, -35, 15, -4}、{-3, 12, -36,195, 117, -42, 18, -5}、{-4, 15, -40, 190, 124, -42, 18, -5}、{-4, 15, -41,183, 133, -42, 16, -4}、{-4, 15, -42, 176, 142, -44, 18, -5}、{-5, 17, -42,165, 153, -45, 18, -5}、{-5, 18, -45, 153, 165, -42, 17, -5}、{-5, 18, -44,142, 176, -42, 15, -4}、{-4, 16, -42, 133, 183, -41, 15, -4}、{-5, 18, -42,124, 190, -40, 15, -4}、{-5, 18, -42, 117, 195, -36, 12, -3}、{-4, 15, -35, 99,210, -40, 15, -4}、{-4, 12, -28, 84, 223, -44, 19, -6}、{-2, 8, -23, 72, 231, -43, 18, -5}、{-2, 8, -21, 62, 236, -38, 15, -4}、{-1, 5, -16, 51, 241, -33, 12,-3}、{-2, 8, -19, 47, 242, -28, 11, -3}、{-1, 4, -11, 33, 248, -23, 8, -2}、{-2,6, -12, 28,249, -18, 7, -2}、{-1, 3, -6, 16, 253, -12, 4, -1}、{-1, 3, -6, 11,254, -7, 3, -1}、{0, 29, 44, 105, 47, 30, 1, 0}、{1, 25, 49, 96, 55, 27, 3, 0}、{1, 24, 47, 96, 57, 27, 5, -1}、{0, 24, 45, 97, 58, 28, 5, -1}、{-1, 25, 42,98, 58, 30, 5, -1}、{-1, 24, 41, 97, 60, 30, 6, -1}、{-2, 25, 38, 97, 62, 30,8, -2}、{-2, 24, 37, 96, 64, 30, 9, -2}、{-2, 23, 36, 95, 66, 30, 10, -2}、{-2,21, 37, 92, 69, 31, 10, -2}、{-2, 20, 36, 91, 71, 31, 11, -2}、{0, 16, 39, 85,74, 32, 11, -1}、{-1, 17, 36, 86, 75, 32, 12, -1}、{0, 13, 39, 82, 77, 35, 10,0}、{0, 12, 38, 81, 79, 35, 11, 0}、{0, 12, 36, 80, 80, 36, 12, 0}、{0, 11, 35,79, 81, 38, 12, 0}、{0, 10, 35, 77, 82, 39, 13, 0}、{-1, 12, 32, 75, 86, 36,17, -1}、{-1, 11, 32, 74, 85, 39, 16, 0}、{-2, 11, 31, 71, 91, 36, 20, -2}、{-2,10, 31, 69, 92, 37, 21, -2}、{-2, 10, 30, 66, 95, 36, 23, -2}、{-2, 9, 30, 64,96, 37, 24, -2}、{-2, 8, 30, 62, 97, 38, 25, -2}、{-1, 6, 30, 60, 97, 41, 24, -1}、{-1, 5, 30, 58, 98, 42, 25, -1}、{-1, 5, 28, 58, 97, 45, 24, 0}、{-1, 5, 27,57, 96, 47, 24, 1}、{0,3, 27, 55, 96, 49, 25, 1}、{0, 1, 30, 47, 105, 44, 29,0}、{13, -38, 56, 194, 56, -38, 13, 0,}、{13, -38, 52, 193, 62, -38, 11, 1,}、{13, -36, 44, 193, 69, -37, 8, 2,}、{12, -34, 39, 192, 74, -36, 7, 2,}、{13,-33, 32, 192, 79, -36, 6, 3,}、{12, -30, 26, 190, 86, -36, 4, 4,}、{12, -29,21, 188, 92, -35, 3, 4,}、{14, -28, 15, 185, 97, -35, 2, 6,}、{13, -26, 11,182, 103, -34, 1, 6,}、{13, -23, 4, 180, 109, -34, 0, 7,}、{13, -23, 2, 175,115, -31, -2, 7,}、{12, -20, -3, 172, 121, -30, -4, 8,}、{11, -18, -7, 168,128, -28, -6, 8,}、{11, -16, -11, 164, 133, -27, -7, 9,}、{11, -15, -14, 159,139, -25, -8, 9,}、{10, -13, -17, 155, 144, -23, -9, 9,}、{9, -11, -20, 150,150, -20, -11, 9,}、{9, -9, -23, 144, 155, -17, -13, 10,}、{9, -8, -25, 139,159, -14, -15, 11,}、{9, -7, -27, 133, 164, -11, -16, 11,}、{8, -6, -28, 128,168, -7, -18, 11,}、{8, -4, -30, 121, 172, -3, -20, 12,}、{7, -2, -31, 115,175, 2, -23, 13,}、{7, 0, -34, 109, 180, 4, -23, 13,}、{6, 1, -34, 103, 182,11, -26, 13,}、{6, 2, -35, 97, 185,15, -28, 14,}、{4, 3, -35, 92, 188, 21, -29, 12,}、{4, 4, -36, 86, 190, 26, -30, 12,}、{3, 6, -36, 79, 192, 32, -33,13,}、{2, 7, -36, 74, 192, 39, -34, 12,}、{2, 8, -37, 69, 193, 44, -36, 13,}、{1, 11, -38, 62, 193, 52, -38, 13,}、{-21, 7, 74, 136, 74, 7, -21, 0,}、{-20, 5, 69, 140, 75, 8, -20, -1,}、{-19, 3, 66, 140, 78, 9, -19, -2,}、{-17,1, 62, 141, 80, 8, -17, -2,}、{-16, 1, 59, 138, 82, 10, -15, -3,}、{-16, -1,57, 138, 86, 11, -15, -4,}、{-11, -6, 57, 131, 91, 10, -13, -3,}、{-9, -8,53, 131, 94, 10, -12, -3,}、{-8, -9, 49, 131, 97, 11, -12, -3,}、{-13, -8,50, 130, 100, 18, -15, -6,}、{-10, -9, 46, 128, 102, 17, -14, -4,}、{-11, -10, 44, 127, 106, 21, -15, -6,}、{-9, -12, 41, 126, 109, 21, -15, -5,}、{-10,-12, 40, 123, 111, 26, -15, -7,}、{-9, -13, 38, 120, 113, 29, -14, -8,}、{-8,-14, 35, 120, 115, 29, -14, -7,}、{-7, -13, 32, 116, 116, 32, -13, -7,}、{-7,-14, 29, 115, 120, 35, -14, -8,}、{-8, -14, 29, 113, 120, 38, -13, -9,}、{-7,-15, 26, 111, 123, 40, -12, -10,}、{-5, -15, 21,109, 126, 41, -12, -9,}、{-6, -15, 21, 106, 127, 44, -10, -11,}、{-4, -14, 17, 102, 128, 46, -9, -10,}、{-6, -15, 18, 100, 130, 50, -8, -13,}、{-3, -12, 11, 97, 131, 49, -9, -8,}、{-3, -12, 10, 94, 131, 53, -8, -9,}、{-3, -13, 10, 91, 131, 57, -6, -11,}、{-4, -15, 11, 86, 138, 57, -1, -16,}、{-3, -15, 10, 82, 138, 59, 1, -16,}、{-2,-17, 8, 80, 141, 62, 1, -17,}、{-2, -19, 9, 78, 140, 66, 3, -19,}、{-1, -20,8, 75, 140, 69, 5, -20,}、{-4, -20, 64, 167, 73, -19, -5, 0}、{-1, -20, 58,164, 77, -19, -4, 1}、{-1, -20, 53, 165, 81, -18, -5, 1}、{0, -19, 49, 161, 84,-15, -5, 1}、{0, -19, 45, 160, 89, -14, -6, 1}、{1, -20, 42, 157, 95, -13, -8,2}、{1, -19, 37, 157, 98, -12, -8, 2}、{1, -18, 33, 154, 103, -10, -9, 2}、{1, -18, 31, 151, 107, -8, -11, 3}、{1, -19, 26, 152, 113, -7, -12, 2}、{1, -19, 23,151, 116, -6, -12, 2}、{3, -17, 18, 145, 120, -4, -13, 4}、{3, -17, 16, 142,123, -1, -14, 4}、{4, -17, 11, 141, 127, 0, -14, 4}、{4, -17, 9, 137, 131, 4, -16, 4}、{4, -16, 4, 131, 137, 9, -17, 4}、{4, -14, 0, 127,141, 11, -17, 4}、{4,-14, -1, 123, 142, 16, -17, 3}、{4, -13, -4, 120, 145, 18, -17, 3}、{2, -12, -6, 116, 151, 23, -19, 1}、{2, -12, -7, 113, 152, 26, -19, 1}、{3, -11, -8, 107,151, 31, -18, 1}、{2, -9, -10, 103, 154, 33, -18, 1}、{2, -8, -12, 98, 157, 37,-19, 1}、{2, -8, -13, 95, 157, 42, -20, 1}、{1, -6, -14, 89, 160, 45, -19, 0}、{1, -5, -15, 84, 161, 49, -19, 0}、{1, -5, -18, 81, 165, 53, -20, -1}、{1, -4,-19, 77, 164, 58, -20, -1}、{0, -5, -19, 73, 167, 64, -20, -4}、{-15, 9, 75,118, 75, 9, -15, 0}、{-14, 7, 70, 123, 75, 9, -13, -1}、{-18, 7, 69, 125, 79,14, -18, -2}、{-17, 5, 66, 126, 81, 14, -16, -3}、{-16, 3, 63, 127, 83, 15, -16, -3}、{-17, 3, 60, 128, 85, 17, -16, -4}、{-16, 3, 56, 127, 86, 19, -14, -5}、{-15, 0, 56, 124, 90, 21, -15, -5}、{-16, 1, 53, 124, 90, 25, -15, -6}、{-15, 0, 51, 121, 93, 26, -13, -7}、{-16, -2, 52, 118, 97, 29, -13, -9}、{-15, -4, 51, 116, 99, 31, -13, -9}、{-15, -4, 47, 116, 102, 31, -10, -11}、{-15, -4,45, 114, 103, 34, -9, -12}、{-14, -5, 43, 112, 104, 37, -9, -12}、{-13,-7, 42,110, 106, 39, -9, -12}、{-13, -9, 41, 109, 109, 41, -9, -13}、{-12, -9, 39,106, 110, 42, -7, -13}、{-12, -9, 37, 104, 112, 43, -5, -14}、{-12, -9, 34,103, 114, 45, -4, -15}、{-11, -10, 31, 102, 116, 47, -4, -15}、{-9, -13, 31,99, 116, 51, -4, -15}、{-9, -13, 29, 97, 118, 52, -2, -16}、{-7, -13, 26, 93,121, 51, 0, -15}、{-6, -15, 25, 90, 124, 53, 1, -16}、{-5, -15, 21, 90, 124,56, 0, -15}、{-5, -14, 19, 86, 127, 56, 3, -16}、{-4, -16, 17, 85, 128, 60, 3,-17}、{-3, -16, 15, 83, 127, 63, 3, -16}、{-3, -16, 14, 81, 126, 66, 5, -17}、{-2, -18, 14, 79, 125, 69, 7, -18}、{-1, -13, 9, 75, 123, 70, 7, -14}、{0, 1, -2,3, -7, 255, 8, -3, 2, -1, 0, 0}、{-1, 3, -4, 6, -14, 254, 17, -8, 5, -3, 1,0}、{-1, 3, -5, 9, -21, 253, 25, -10, 5, -3, 1, 0}、{-1, 4, -8, 13, -26, 249,34, -14, 8, -4, 1, 0}、{-2, 6, -10, 16, -32, 246, 44, -18, 9, -4, 1, 0}、{-1,4, -9, 18, -39, 235, 65, -26, 13, -6, 3, -1}、{-2, 6, -12, 22, -44, 230, 75, -28, 14, -7, 3, -1}、{-2, 6, -12, 23, -47, 224, 85, -31, 15, -7, 3, -1}、{-2, 7,-13, 23, -48,216, 97, -36, 18, -9, 4, -1}、{-2, 6, -12, 23, -49, 209, 106, -37, 19, -10, 4, -1}、{-3, 8, -14, 26, -52, 200, 119, -42, 22, -12, 6, -2}、{-2,6, -12, 24, -51, 191, 129, -43, 22, -12, 6, -2}、{-2, 7, -14, 25, -50, 180,141, -46, 23, -12, 6, -2}、{-2, 6, -12, 24, -50, 171, 151, -47, 23, -12, 6, -2}、{-2, 6, -12, 23, -47, 151, 171, -50, 24, -12, 6, -2}、{-2, 6, -12, 23, -46,141, 180, -50, 25, -14, 7, -2}、{-2, 6, -12, 22, -43, 129, 191, -51, 24, -12,6, -2}、{-2, 6, -12, 22, -42, 119, 200, -52, 26, -14, 8, -3}、{-1, 4, -10, 19,-37, 106, 209, -49, 23, -12, 6, -2}、{-1, 4, -9, 18, -36, 97, 216, -48, 23, -13, 7, -2}、{-1, 3, -7, 15, -31, 85, 224, -47, 23, -12, 6, -2}、{-1, 3, -7, 14,-28, 75, 230, -44, 22, -12, 6, -2}、{-1, 3, -6, 13, -26, 65, 235, -39, 18, -9,4, -1}、{0, 1, -4, 9, -18, 44, 246, -32, 16, -10, 6, -2}、{0, 1, -4, 8, -14,34, 249, -26, 13, -8, 4, -1}、{0, 1, -3, 5, -10, 25, 253, -21, 9, -5, 3, -1}、{0, 1, -3, 5, -8, 17, 254, -14, 6, -4, 3, -1}、{0, 0, -1, 2, -3, 8, 255, -7,3, -2, 1, 0}、{0, 10, -12,-19, 70, 158, 70, -19, -12, 10, 0, 0}、{0, 10, -9, -22, 62, 156, 79, -17, -13, 9, 1, 0}、{-1, 10, -8, -22, 54, 155, 87, -13, -16,9, 2, -1}、{-2, 10, -5, -23, 46, 152, 95, -9, -18, 9, 2, -1}、{-2, 9, -4, -23,39, 150, 103, -6, -20, 8, 4, -2}、{-2, 8, -1, -24, 33, 144, 111, -2, -20, 6,5, -2}、{-3, 9, -1, -24, 26, 142, 117, 4, -22, 5, 5, -2}、{-3, 8, 0, -23, 20,137, 123, 10, -23, 4, 5, -2}、{-2, 6, 3, -25, 16, 130, 130, 16, -25, 3, 6, -2}、{-2, 5, 4, -23, 10, 123, 137, 20, -23, 0, 8, -3}、{-2, 5, 5, -22, 4, 117,142, 26, -24, -1, 9, -3}、{-2, 5, 6, -20, -2, 111, 144, 33, -24, -1, 8, -2}、{-2, 4, 8, -20, -6, 103, 150, 39, -23, -4, / 9, -2}、{-1, 2, 9, -18, -9, 95, 152,46, -23, -5, 10, -2}、{-1, 2, 9, -16, -13, 87, 155, 54, -22, -8, 10, -1}、{0,1, 9, -13, -17, 79, 156, 62, -22, -9, 10, 0}、{4, -7, -17, 13, 73, 124, 73,13, -17, -7, 4, 0}、{3, -7, -17, 9, 72, 122, 81, 15, -16, -9, 3, 0}、{3, -5, -16, 6, 66, 120, 85, 18, -15, -10, 3, 1}、{3, -6, -17, 3, 64, 120, 90, 23, -15,-11, 1, 1}、{2, -3, -15, 0, 58, 117, 93,25, -13, -10, 1, 1}、{4, -4, -16, -2,54, 116, 96, 31, -14, -12, 0, 3}、{4, -3, -14, -6, 49, 114, 101, 32, -12, -12,0, 3}、{4, -3, -13, -7, 45, 110, 103, 38, -11, -12, -2, 4}、{2, 0, -14, -9, 42,107, 107, 42, -9, -14, 0, 2}、{4, -2, -12, -11, 38, 103, 110, 45, -7, -13, -3,4}、{3, 0, -12, -12, 32, 101, 114, 49, -6, -14, -3, 4}、{3, 0, -12, -14, 31,96, 116, 54, -2, -16, -4, 4}、{1, 1, -10, -13, 25, 93, 117, 58, 0, -15, -3,2}、{1, 1, -11, -15, 23, 90, 120, 64, 3, -17, -6, 3}、{1, 3, -10, -15, 18, 85,120, 66, 6, -16, -5, 3}、{0, 3, -9, -16, 15, 81, 122, 72, 9, -17, -7, 3}、{5, -5, -17, 9, 78, 116, 78, 9, -17, -5, 5, 0}、{5, -4, -18, 7, 73, 116, 82, 14, -18, -6, 4, 1}、{5, -4, -17, 4, 69, 115, 86, 17, -17, -7, 4, 1}、{5, -3, -17, 1,64, 115, 90, 21, -17, -8, 3, 2}、{4, -2, -15, -2, 59, 114, 93, 24, -15, -8, 2,2}、{4, -1, -15, -5, 55, 113, 96, 29, -15, -10, 3, 2}、{4, 0, -15, -7, 51, 110,100, 33, -14, -11, 2, 3}、{3, 1, -13, -9, 45, 108, 104, 36, -12, -11, 1, 3}、{3, 1, -13, -10, 42, 105, 105, 42, -10, -13, 1,3}、{3, 1, -11, -12, 36, 104,108, 45, -9, -13, 1, 3}、{3, 2, -11, -14, 33, 100, 110, 51, -7, -15, 0, 4}、{2,3, -10, -15, 29, 96, 113, 55, -5, -15, -1, 4}、{2, 2, -8, -15, 24, 93, 114,59, -2, -15, -2, 4}、{2, 3, -8, -17, 21, 90, 115, 64, 1, -17, -3, 5}、{1, 4, -7, -17, 17, 86, 115, 69, 4, -17, -4, 5}、{1, 4, -6, -18, 14, 82, 116, 73, 7, -18, -4, 5}、{-1, 9, -10, -21, 74, 154, 74, -21, -10, 9, -1, 0}、{-2, 9, -8, -22, 65, 155, 81, -18, -12, 9, 0, -1}、{-2, 8, -5, -24, 57, 153, 90, -15, -14,9, 0, -1}、{-1, 8, -5, -25, 52, 148, 97, -10, -17, 8, 2, -1}、{-2, 8, -5, -23,45, 144, 104, -3, -20, 6, 4, -2}、{-2, 6, 0, -25, 35, 144, 112, -2, -20, 7, 3,-2}、{-2, 6, 1, -25, 28, 140, 119, 3, -22, 6, 4, -2}、{-1, 3, 4, -23, 18, 137,126, 6, -21, 6, 2, -1}、{-1, 2, 6, -22, 10, 133, 133, 10, -22, 6, 2, -1}、{-1,2, 6, -21, 6, 126, 137, 18, -23, 4, 3, -1}、{-2, 4, 6, -22, 3, 119, 140, 28, -25, 1, 6, -2}、{-2, 3, 7, -20, -2, 112, 144, 35, -25, 0, 6, -2}、{-2, 4, 6, -20, -3, 104, 144, 45, -23, -5, 8, -2}、{-1, 2, 8, -17, -10,97, 148, 52, -25,-5, 8, -1}、{-1, 0, 9, -14, -15, 90, 153, 57, -24, -5, 8, -2}、{-1, 0, 9, -12,-18, 81, 155, 65, -22, -8, 9, -2}、{-3, -14, 10, 77, 116, 77, 10, -14, -3, 0}、{-4, -15, 8, 73, 116, 82, 14, -15, -5, 2}、{-3, -15, 5, 69, 115, 86, 18, -15,-6, 2}、{-2, -15, 2, 65, 114, 89, 22, -14, -7, 2}、{-1, -14, -1, 60, 113, 93,26, -14, -8, 2}、{-1, -14, -3, 56, 112, 96, 30, -13, -9, 2}、{0, -13, -5, 51,110, 100, 34, -12, -10, 1}、{0, -13, -7, 47, 108, 103, 38, -10, -11, 1}、{1, -12, -9, 43, 105, 105, 43, -9, -12, 1}、{1, -11, -10, 38, 103, 108, 47, -7, -13, 0}、{1, -10, -12, 34, 100, 110, 51, -5, -13, 0}、{2, -9, -13, 30, 96, 112,56, -3, -14, -1}、{2, -8, -14, 26, 93, 113, 60, -1, -14, -1}、{2, -7, -14, 22,89, 114, 65, 2, -15, -2}、{2, -6, -15, 18, 86, 115, 69, 5, -15, -3}、{2, -5, -15, 14, 82, 116, 73, 8, -15, -4}、{6, -10, -19, 74, 154, 74, -19, -10, 6, 0}、{8, -8, -22, 66, 153, 82, -18, -13, 8, 0}、{7, -6, -24, 58, 152, 90, -14, -15,8, 0}、{7, -5, -25, 51, 150, 97, -11, -17, 8, 1}、{6, -2, -26, 43, 147,105, -7, -19, 7, 2}、{6, -1, -26, 35, 144, 112, -2, -21, 7, 2}、{5, 1, -26, 28, 140,118, 3, -22, 6, 3}、{5, 2, -26, 22, 135, 125, 9, -24, 5, 3}、{4, 4, -25, 15,130, 130, 15, -25, 4, 4}、{3, 5, -24, 9, 125, 135, 22, -26, 2, 5}、{3, 6, -22,3, 118, 140, 28, -26, 1, 5}、{2, 7, -21, -2, 112, 144, 35, -26, -1, 6}、{2, 7,-19, -7, 105, 147, 43, -26, -2, 6}、{1, 8, -17, -11, 97, 150, 51, -25, -5, 7}、{0, 8, -15, -14, 90, 152, 58, -24, -6, 7}、{0, 8, -13, -18, 82, 153, 66, -22,-8, 8}、{0, 0, 0, 0, 256, 0, 0, 0, 0, 0}、{2, -3, 6, -14, 254, 16, -7, 4, -2,0}、{3, -6, 12, -26, 249, 34, -14, 7, -4, 1}、{4, -9, 17, -36, 241, 54, -22,11, -6, 2}、{5, -11, 20, -43, 230, 75, -29, 15, -8, 2}、{5, -12, 23, -48, 216,96, -36, 18, -9, 3}、{5, -13, 25, -51, 200, 118, -42, 21, -11, 4}、{5, -13, 25,-51, 181, 140, -46, 23, -12, 4}、{5, -13, 25, -50, 161, 161, -50, 25, -13, 5}、{4, -12, 23, -46, 140, 181, -51, 25, -13, 5}、{4, -11, 21, -42, 118, 200, -51,25, -13, 5}、{3, -9, 18, -36, 96, 216, -48, 23, -12, 5}、{2, -8, 15, -29, 75,230,-43, 20, -11, 5}、{2, -6, 11, -22, 54, 241, -36, 17, -9, 4}、{1, -4, 7, -14, 34, 249, -26, 12, -6, 3}、{0, -2, 4, -7, 16, 254, -14, 6, -3, 2}、{-2, -14,10, 76, 116, 76, 10, -14, -2, 0}、{-2, -14, 7, 73, 115, 81, 13, -14, -3, 0}、{-2, -13, 4, 68, 115, 85, 17, -14, -4, 0}、{-1, -13, 1, 64, 114, 89, 20, -14, -4, 0}、{-1, -13, -1, 59, 114, 93, 24, -13, -6, 0}、{0, -12, -3, 54, 111, 96,28, -12, -6, 0}、{0, -10, -7, 51, 109, 99, 32, -11, -8, 1}、{1, -12, -6, 45,107, 103, 36, -10, -8, 0}、{1, -9, -9, 41, 104, 104, 41, -9, -9, 1}、{0, -8, -10, 36, 103, 107, 45, -6, -12, 1}、{1, -8, -11, 32, 99, 109, 51, -7, -10, 0}、{0, -6, -12, 28, 96, 111, 54, -3, -12, 0}、{0, -6, -13, 24, 93, 114, 59, -1, -13, -1}、{0, -4, -14, 20, 89, 114, 64, 1, -13, -1}、{0, -4, -14, 17, 85, 115,68, 4, -13, -2}、{0, -3, -14, 13, 81, 115, 73, 7, -14, -2}、{0, 0, 0, 0, 256,0, 0, 0, 0, 0}、{3, -6, 9, -16, 253, 19, -11, 6, -2, 1}、{3, -7, 13, -27, 248,36, -16, 8, -4, 2}、{3, -7, 16, -36, 240, 53, -21, 10, -4, 2}、{3, -8, 19, -44,231, 72, -26, 12,, 2}、{5, -11, 22, -49, 217, 94, -34, 16, -8, 4}、{5, -12,24, -52, 202, 114, -38, 19, -11, 5}、{6, -14, 26, -52, 182, 136, -43, 22, -13,6}、{6, -13, 24, -50, 161, 161, -50, 24, -13, 6}、{6, -13, 22, -43, 136, 182, -52, 26, -14, 6}、{5, -11, 19, -38, 114, 202, -52, 24, -12, 5}, {4, -8, 16, -34,94, 217, -49, 22, -11, 5}, {2, -5, 12, -26, 72, 231, -44, 19, -8, 3}, {2, -4,10, -21, 53, 240, -36, 16, -7, 3}, {2, -4, 8, -16, 36, 248, -27, 13, -7, 3}, or {1, -2, 6, -11, 19, 253, -16, 9, -6, 3}. ,

[0277] A2. The method according to the embodiment of A1, wherein:

[0278] samples having a first set of values ​​are located at non-fractional sample locations, and

[0279] Samples having the second set of values ​​are located at fractional sample positions.

[0280] A3. The method according to the embodiment of A1 or A2, wherein:

[0281] The samples having the first set of values ​​include a first sample located at a non-fractional sample position,

[0282] The samples having the second set of values ​​include a second sample located at a fractional sample position,

[0283] The fractional sample position is determined based on at least the non-fractional sample position and the fractional value, and

[0284] The score value is the same as the coefficient value The invention relates to a set of 6, 8, 10 or 12 coefficient values ​​selected from the group of 2.

[0285] A4. A method according to the embodiment of A3, wherein the fractional sample position = non-fractional sample position + (fractional value distance between samples).

[0286] A5. A method according to embodiment A3 or A4, wherein the fractional value is any one of 0 / 16, 1 / 16, 2 / 16, 3 / 16...15 / 16, 0 / 32, 1 / 32, 2 / 32, 3 / 32... and 31 / 32.

[0287] A6. The method of any one of embodiments A1 to A5, comprising performing one or more of motion compensated prediction, inter prediction, and intra prediction using a first set of values ​​of samples included in a first block, wherein:

[0288] Performing one or more of motion compensated prediction, inter prediction, and intra prediction includes interpolating the first set of values ​​using a filter.

[0289] A7. The method of any one of embodiments A1 to A6, comprising downsampling or upsampling the first picture using a first set of values ​​of samples included in the first block, wherein:

[0290] Downsampling or upsampling includes interpolating the first set of values ​​using a filter.

[0291] A7a. A method according to embodiment A6 or A7, wherein the motion compensated prediction is motion compensated downsampling.

[0292] A8. The method according to any one of embodiments A1 to A7a, wherein

[0293] The filter length is 6 taps,

[0294] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values,

[0295] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0296] The first set of coefficient values ​​includes:

[0297] , 6}, {1, -6, 256, 6, -1, 0}, {2, -11, 254, 14, -4, 1}, {4, -18, 252, 23, -6,1}, {6, -24, 249, 32, -9, 2}, {6, -26, 244, 41, -12, 3}, {7, -30, 239, 53, -18,5}, {8, -34, 235, 61, -19, 5}, {10, -38, 228, 72, -22, 6}, {10, -39, 220, 84, -26, 7}, {10, -40, 213, 94, -29, 8}, {11, -42, , 11}, {10, -37, 128, 186, -42, 11}, {10, -35, 116, 196, -42, 11}, {9, -32, 105, 205, -42, 11}, {8, -29, 94,213, {7, -26, 84, 220, -39, 10}, {6, -22, 72, 228, -38, 10}, {5, -19,61, 235, -34, 8}, {5, -18, 53, 239, -30, 7}, {3, -12, 41, 244, -26, 6}, {2, -9,32, 249, -24, 6}, {1, -6, 23, 252, -18, 4}, {1, -4, 14, 254, -11, 2}, {0, -1, 6,256, -6, 1}, where,

[0298] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0299] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0300] A9. The method according to any one of embodiments A1 to A7a, wherein

[0301] The filter length is 6 taps,

[0302] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values,

[0303] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0304] The first set of coefficient values ​​includes:

[0305] , 29, 7}, {20, 41, 93, 66, 29, 7}, {19, 40, 92, 68, 29, 8}, {18, 39, 91, 70, 29, 9}, {16, 40, 93, 64, 29, 7}, {23, 40, 99, 60, 28, 6}, {22, 40, 96, 63, 28, 7}, {20, 41, 93, 66, 29, 7}, {19, 40, 92, 68, 29, 8}, {18, 39, 91, 70, 29, 9}, {16, 36, 80, 80, 36, 12}, {11, 35, 79, 81, 38, 12}, {11, 34, 77, 82, 38, 14}, {11,32, 75, 86, 36, 16}, {10, 31, 74, 87, 38, 16}, {9, 36, 80, 80, 36, 12}, {11, 35, 79, 81, 38, 12}, {11, 34, 77, 82, 38, 14}, {11,32, 75, 86, 36, 16}, {10, 31, 74, 87, 38, 16}, {9, 30, 73, 88, 40, 16}, {9, 29,70, 91, 39, 18}, {8, 29, 68, 92, 40, 19}, {7, 29, 66, 93, 41, 20}, {7, 28, 63,96, 40, 22}, {6, 28, 60, 99, 40, 23}, {5, 29, 56, 102, 39, 25}, {4, 29, 53, 105,39, 26}, {3, 28, 55, 99, 46, 25}, {2, 28, 53, 100, 47, 26}, {1, 29, 49, 103, 46,28}, among which,

[0306] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0307] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0308] A10. The method according to any one of embodiments A1 to A7a, wherein

[0309] The filter length is 6 taps,

[0310] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values,

[0311] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0312] The first set of coefficient values ​​includes:

[0313] {0, 44, 160, 53, -2, 1}, {-2, 42, 160, 59, -4, 1}, {-2, 38, 159, 65, -5, 1}, {-1, 33, 159, 68, -4, 1}, {-2, 33, 154, 74, -4, 1}, {-1, 27, 155, 78, -4,1}, {-2, 25, 153, 84, -5, 1}, {-2, 22, 151, 89, -5, 1}, {-1, 17, 151, 93, -6,2}, {-2, 16, 147, 99, -5, 1}, {-1, 14, , 0}, {1, -1, 122, 131, 3, 0}, {0, 1, 116, 132, 8, -1}, {0, 0,112, 135, 10, -1}, {1, -2, 107, 139, 12, -1}, {1, -3, 103, 142, 103 ... , 159, 38, -2}, {1, -4, 59, 160, 42, -2}, {1, -2,53, 160, 44, 0}, where,

[0314] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0315] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0316] A11. The method according to any one of embodiments A1 to A7a, wherein

[0317] The filter length is 6 taps,

[0318] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values,

[0319] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0320] The first set of coefficient values ​​includes:

[0321] , -1}, {-13, 45, 151, 84, -8, -3}, {-13, 39, 154, 88, -9, -3}, {-14, 34, 156, 94, -10, -4}, {-15,33, 152, 99, -7, -6}, {-15, 30, 150, 103, 106, 111, -7}, {-15, 30, 150, 103, 111, -7}. , -5}, {-14, 26, 148, 107, -4, -7}, {-12, 23, 143, 110, -1, -7}, {-13, 18, 145, 116, -2, -8}, {-10, 15, 139, 118,1, -7}, {-15, 19, 134, 122, 9, -13}, {-14, 18, 129, 123, 13, -13}, {-14, 18,124, 124, 18, -14}, {-13, 13, 123, 129, 18, -14}, {-13, 9, 122, 134, 19, , 150, 30, -15}, {-6, -7, 99,152, 33, -15}, {-4, -10, 94, 156, 34, -14}, {-3, -9, 88, 154, 39, -13}, {-3, -8,84, 151, 45, -13}, {-2, -9, 79, 153, 47, -12}, {-2, -10, 76, 153, 52, -13}, {-1, -11, 71, 154, 56, -13}, {-1, -12, 68, 155, 59, -13}, where,

[0322] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0323] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0324] A12. The method according to any one of embodiments A1 to A7a, wherein

[0325] The filter length is 6 taps,

[0326] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values,

[0327] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0328] The first set of coefficient values ​​includes:

[0329] , 0}、{-5, 64, 138, 64, -5, 0}、{-8, 66, 132, 73, -6, -1}、{-9, 62, 134, 76,-5, -2}、{-10, 59, 134, 80, -4, -3}、{-10, 57, 132, 82, -2, -3}、{-10, 53, 132,85, 0, -4}、{-11, 50, 132, 89, 1, -5}、{-12, 47, 132, 93, 2, -6}、{-13, 45, 131,96, 4, -7}、{-12, 40, 131, 99, 5, , 12}, {-13, 29, 121, 112, 18, -11}, {-12, 25, 119, 115, 21, -12}, {-13, 24, 117, 117,24, -13}, {-12, 21, 115, 119, 25, -12}, {-11, 18, 112, 121, 29, , -13}, {-1, 15, 111, 124, 30, -13}, {-10, 14, 107, 124, 33, -12}, {-9, 10, 105, 127, 36, -13}, {-8, 9, 101, 127, 39, -12}, {-7, 5, 99, 131, 40, -12}, {-7, 4, 96, 131, 45, -13}, {-6, 2, 93, 132, 47, -12}, {-5, 1, 89, 132, 50, -11}, {-4, 0, 85, 132, 53, -10}, {-3, -2, 82, 132, 57, -10}, {-3, -4, 80, 134, 59, -10}, {-2, -5, 76, 134,62, -9}, {-1, -6, 73, 132, 66, -8}, among which,

[0330] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0331] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0332] A13. The method according to any one of embodiments A1 to A7a, wherein

[0333] The filter length is 8 taps,

[0334] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 8 coefficient values,

[0335] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0336] The first set of coefficient values ​​includes:

[0337] {-1, 3, -7, 254, 11, -6, 3, -1}、{-1, 4, -12, 253, 16, -6, 3, -1}、{-2,7, -18, 249, 28, -12, 6, -2}、{-2, 8, -23, 248, 33, -11, 4, -1}、{-3, 11, -28,242, 47, -19, 8, -2}、{-3, 12, -33, 241, 51, -16, 5, -1}、{-4, 15, -38, 236,62, -21, 8, -2}、{-5, 18, -43, 231, 72, -23, 8, -2}、{-6, 19, -44, 223, 84, -28, 12, -4}、{-4, 15, -40, 210, 99, -35, 15, -4}、{-3, 12, -36, 195, 117, -42,18, -5}、{-4, 15, -40, 190, 124, -42, 18, -5}、{-4, 15, -41, 183, 133, -42, 16,-4}、{-4, 15, -42, 176, 142, -44, 18, -5}、{-5, 17, -42, 165, 153, -45, 18, -5}、{-5, 18, -45, 153, 165, -42, 17, -5}、{-5, 18, -44, 142, 176, -42, 15, -4}、{-4, 16, -42, 133, 183, -41, 15, -4}、{-5, 18, -42, 124, 190, -40, 15, -4}、{-5, 18, -42, 117, 195, -36, 12, -3}、{-4, 15, -35, 99, 210, -40, 15, -4}、{-4,12, -28, 84, 223, -44, 19, -6}、{-2, 8, -23, 72, 231, -43, 18, -5}、{-2, 8, -21, 62, 236, -38, 15, -4}、{-1, 5, -16, 51, 241, -33, 12, -3}、{-2, 8, -19, 47,242, -28, 11, -3}、{-1, 4, -11, 33, 248, -23, 8, -2}、{-2, 6, -12, 28, 249, -18, 7, -2}、{-1, 3, -6,16, 253, -12, 4, -1}, {-1, 3, -6, 11, 254, -7, 3, -1}, where,

[0338] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0339] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0340] A14. The method according to any one of embodiments A1 to A7a, wherein

[0341] The filter length is 8 taps,

[0342] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 8 coefficient values,

[0343] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0344] The first set of coefficient values ​​includes:

[0345] , 30, 6, -1}, {-1, 24, 41, 97, 60, 30, 6, -1}, {-2, 25, 38, 97, 62, 30, 8, -2}, {-2, 24, 37, 96, 64, 30, 9, 30}. 32, 12, -1}, {0, 13, 39, 82, 77, 35, 10, 0}, {0, 12, 38, 81, 79, 35, 11, 0}, {0, 12, 36, 80, 80, 36, 11, 0}, 20, 98, 73, 31, 10, -2}, {-2, 23, 36, 95, 66, 30, 10, -2}, {-2, 21, 37,92, 69, 31, 10, -2}, {-2, 20, 36, 91, 71, 31, 11, -2}, {0, 16, 39, 85, 74, 32,11, -1}, {-1, 17, 36, 86, 75, 32, 12, -1}, {0, 13, 39, 82, 77, 35, 10, 0}, {0,12, 38, 81, 79, 35, 11, 0}. , 37, 21, -2}, {-2, 10, 30, 64, 37, 21, 3}, 2, 9, 30, 64, 36, 23, 0}, {-2, 9, 30, 64, 36, 23, 0}, {-2, 11, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3}, 2, 9, 30, 64, 36, 23, 0}, {-2, 11, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3} , 0, 3, 27, 55, 96, 49, 25, 1}, {0, 1, 30, 47, 105, 44, 29, 0}, where,

[0346] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0347] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0348] A15. The method according to any one of embodiments A1 to A7a, wherein

[0349] The filter length is 8 taps,

[0350] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 8 coefficient values,

[0351] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0352] The first set of coefficient values ​​includes:

[0353] {13, -38, 56, 194, 56, -38, 13, 0,}、{13, -38, 52, 193, 62, -38, 11,1,}、{13, -36, 44, 193, 69, -37, 8, 2,}、{12, -34, 39, 192, 74, -36, 7, 2,}、{13, -33, 32, 192, 79, -36, 6, 3,}、{12, -30, 26, 190, 86, -36, 4, 4,}、{12,-29, 21, 188, 92, -35, 3, 4,}、{14, -28, 15, 185, 97, -35, 2, 6,}、{13, -26,11, 182, 103, -34, 1, 6,}、{13, -23, 4, 180, 109, -34, 0, 7,}、{13, -23, 2,175, 115, -31, -2, 7,}、{12, -20, -3, 172, 121, -30, -4, 8,}、{11, -18, -7,168, 128, -28, -6, 8,}、{11, -16, -11, 164, 133, -27, -7, 9,}、{11, -15, -14,159, 139, -25, -8, 9,}、{10, -13, -17, 155, 144, -23, -9, 9,}、{9, -11, -20,150, 150, -20, -11, 9,}、{9, -9, -23, 144, 155, -17, -13, 10,}、{9, -8, -25,139, 159, -14, -15, 11,}、{9, -7, -27, 133, 164, -11, -16, 11,}、{8, -6, -28,128, 168, -7, -18, 11,}、{8, -4, -30, 121, 172, -3, -20, 12,}、{7, -2, -31,115, 175, 2, -23, 13,}、{7, 0, -34, 109, 180, 4, -23, 13,}、{6, 1, -34, 103,182, 11, -26, 13,}、{6, 2, -35, 97, 185, 15, -28, 14,}、{4, 3, -35, 92, 188,21, -29, 12,}、{4, 4,{, -36, 86, 190, 26, -30, 12,}, {3, 6, -36, 79, 192, 32, -33, 13,}, {2, 7, -36, 74, 192, 39, -34, 12,}, {2, 8, -37, 69, 193, 44, -36,13,}, {1, 11, -38, 62, 193, 52, -38, 13,}, where,

[0354] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0355] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0356] A16. The method according to any one of embodiments A1 to A7a, wherein

[0357] The filter length is 8 taps,

[0358] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 8 coefficient values,

[0359] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0360] The first set of coefficient values ​​includes:

[0361] {-21, 7, 74, 136, 74, 7, -21, 0,}、{-20, 5, 69, 140, 75, 8, -20, -1,}、{-19, 3, 66, 140, 78, 9, -19, -2,}、{-17, 1, 62, 141, 80, 8, -17, -2,}、{-16, 1, 59, 138, 82, 10, -15, -3,}、{-16, -1, 57, 138, 86, 11, -15, -4,}、{-11, -6, 57, 131, 91, 10, -13, -3,}、{-9, -8, 53, 131, 94, 10, -12, -3,}、{-8,-9, 49, 131, 97, 11, -12, -3,}、{-13, -8, 50, 130, 100, 18, -15, -6,}、{-10,-9, 46, 128, 102, 17, -14, -4,}、{-11, -10, 44, 127, 106, 21, -15, -6,}、{-9,-12, 41, 126, 109, 21, -15, -5,}、{-10, -12, 40, 123, 111, 26, -15, -7,}、{-9, -13, 38, 120, 113, 29, -14, -8,}、{-8, -14, 35, 120, 115, 29, -14, -7,}、{-7, -13, 32, 116, 116, 32, -13, -7,}、{-7, -14, 29, 115, 120, 35, -14, -8,}、{-8, -14, 29, 113, 120, 38, -13, -9,}、{-7, -15, 26, 111, 123, 40, -12, -10,}、{-5, -15, 21, 109, 126, 41, -12, -9,}、{-6, -15, 21, 106, 127, 44, -10,-11,}、{-4, -14, 17, 102, 128, 46, -9, -10,}、{-6, -15, 18, 100, 130, 50, -8,-13,}、{-3, -12, 11, 97, 131, 49, -9, -8,}、{-3, -12, 10, 94, 131, 53, -8, -9,}、{-3, -13, 10,91, 131, 57, -6, -11,}、{-4, -15, 11, 86, 138, 57, -1, -16,}、{-3, -15, 10, 82, 138, 59, 1, -16,}、{-2, -17, 8, 80, 141, 62, 1, -17,}、{-2, -19, 9, 78, 140, 66, 3, -19,}、{-1, -20, 8, 75, 140, 69, 5, -20,},where,

[0362] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0363] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0364] A17. The method according to any one of embodiments A1 to A7a, wherein

[0365] The filter length is 8 taps,

[0366] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 8 coefficient values,

[0367] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0368] The first set of coefficient values ​​includes:

[0369] {-4, -20, 64, 167, 73, -19, -5, 0}、{-1, -20, 58, 164, 77, -19, -4,1}、{-1, -20, 53, 165, 81, -18, -5, 1}、{0, -19, 49, 161, 84, -15, -5, 1}、{0, -19, 45, 160, 89, -14, -6, 1}、{1, -20, 42, 157, 95, -13, -8, 2}、{1, -19, 37,157, 98, -12, -8, 2}、{1, -18, 33, 154, 103, -10, -9, 2}、{1, -18, 31, 151,107, -8, -11, 3}、{1, -19, 26, 152, 113, -7, -12, 2}、{1, -19, 23, 151, 116, -6, -12, 2}、{3, -17, 18, 145, 120, -4, -13, 4}、{3, -17, 16, 142, 123, -1, -14,4}、{4, -17, 11, 141, 127, 0, -14, 4}、{4, -17, 9, 137, 131, 4, -16, 4}、{4, -16, 4, 131, 137, 9, -17, 4}、{4, -14, 0, 127, 141, 11, -17, 4}、{4, -14, -1,123, 142, 16, -17, 3}、{4, -13, -4, 120, 145, 18, -17, 3}、{2, -12, -6, 116,151, 23, -19, 1}、{2, -12, -7, 113, 152, 26, -19, 1}、{3, -11, -8, 107, 151,31, -18, 1}、{2, -9, -10, 103, 154, 33, -18, 1}、{2, -8, -12, 98, 157, 37, -19,1}、{2, -8, -13, 95, 157, 42, -20, 1}、{1, -6, -14, 89, 160, 45, -19, 0}、{1, -5, -15, 84, 161, 49, -19, 0}、{1, -5, -18, 81, 165, 53, -20, -1}、{1, -4, -19,77, 164, 58, -20, -1}、{0, -5,-19, 73, 167, 64, -20, -4}, among which,

[0370] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0371] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0372] A18. The method according to any one of embodiments A1 to A7a, wherein

[0373] The filter length is 8 taps,

[0374] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 8 coefficient values,

[0375] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0376] The first set of coefficient values ​​includes:

[0377] {-15, 9, 75, 118, 75, 9, -15, 0}、{-14, 7, 70, 123, 75, 9, -13, -1}、{-18, 7, 69, 125, 79, 14, -18, -2}、{-17, 5, 66, 126, 81, 14, -16, -3}、{-16, 3,63, 127, 83, 15, -16, -3}、{-17, 3, 60, 128, 85, 17, -16, -4}、{-16, 3, 56,127, 86, 19, -14, -5}、{-15, 0, 56, 124, 90, 21, -15, -5}、{-16, 1, 53, 124,90, 25, -15, -6}、{-15, 0, 51, 121, 93, 26, -13, -7}、{-16, -2, 52, 118, 97,29, -13, -9}、{-15, -4, 51, 116, 99, 31, -13, -9}、{-15, -4, 47, 116, 102, 31,-10, -11}、{-15, -4, 45, 114, 103, 34, -9, -12}、{-14, -5, 43, 112, 104, 37, -9, -12}、{-13, -7, 42, 110, 106, 39, -9, -12}、{-13, -9, 41, 109, 109, 41, -9,-13}、{-12, -9, 39, 106, 110, 42, -7, -13}、{-12, -9, 37, 104, 112, 43, -5, -14}、{-12, -9, 34, 103, 114, 45, -4, -15}、{-11, -10, 31, 102, 116, 47, -4, -15}、{-9, -13, 31, 99, 116, 51, -4, -15}、{-9, -13, 29, 97, 118, 52, -2, -16}、{-7, -13, 26, 93, 121, 51, 0, -15}、{-6, -15, 25, 90, 124, 53, 1, -16}、{-5, -15, 21, 90, 124, 56, 0, -15}、{-5, -14, 19, 86, 127, 56, 3, -16}、{-4, -16, 17,85, 128, 60, 3, -17}、{-3,-16, 15, 83, 127, 63, 3, -16}, {-3, -16, 14, 81,126, 66, 5, -17}, {-2, -18, 14, 79, 125, 69, 7, -18}, {-1, -13, 9, 75, 123, 70,7, -14}, where,

[0378] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0379] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0380] A19. The method according to any one of embodiments A1 to A7a, wherein

[0381] The filter length is 12 taps.

[0382] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values,

[0383] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0384] The first set of coefficient values ​​includes:

[0385] {0, 1, -2, 3, -7, 255, 8, -3, 2, -1, 0, 0}、{-1, 3, -4, 6, -14, 254,17, -8, 5, -3, 1, 0}、{-1, 3, -5, 9, -21, 253, 25, -10, 5, -3, 1, 0}、{-1, 4, -8, 13, -26, 249, 34, -14, 8, -4, 1, 0}、{-2, 6, -10, 16, -32, 246, 44, -18, 9,-4, 1, 0}、{-1, 4, -9, 18, -39, 235, 65, -26, 13, -6, 3, -1}、{-2, 6, -12, 22,-44, 230, 75, -28, 14, -7, 3, -1}、{-2, 6, -12, 23, -47, 224, 85, -31, 15, -7,3, -1}、{-2, 7, -13, 23, -48, 216, 97, -36, 18, -9, 4, -1}、{-2, 6, -12, 23, -49, 209, 106, -37, 19, -10, 4, -1}、{-3, 8, -14, 26, -52, 200, 119, -42, 22, -12, 6, -2}、{-2, 6, -12, 24, -51, 191, 129, -43, 22, -12, 6, -2}、{-2, 7, -14,25, -50, 180, 141, -46, 23, -12, 6, -2}、{-2, 6, -12, 24, -50, 171, 151, -47,23, -12, 6, -2}、{-2, 6, -12, 23, -47, 151, 171, -50, 24, -12, 6, -2}、{-2, 6,-12, 23, -46, 141, 180, -50, 25, -14, 7, -2}、{-2, 6, -12, 22, -43, 129, 191,-51, 24, -12, 6, -2}、{-2, 6, -12, 22, -42, 119, 200, -52, 26, -14, 8, -3}、{-1, 4, -10, 19, -37, 106, 209, -49, 23, -12, 6, -2}、{-1, 4, -9, 18, -36, 97,216, -48, 23, -13,, 7, -2}、{-1, 3, -7, 15, -31, 85, 224, -47, 23, -12, 6, -2}、{-1, 3, -7, 14, -28, 75, 230, -44, 22, -12, 6, -2}、{-1, 3, -6, 13, -26, 65,235, -39, 18, -9, 4, -1}、{0, 1, -4, 9, -18, 44, 246, -32, 16, -10, 6, -2}、{0,1, -4, 8, -14, 34, 249, -26, 13, -8, 4, -1}、{0, 1, -3, 5, -10, 25, 253, -21,9, -5, 3, -1}, {0, 1, -3, 5, -8, 17, 254, -14, 6, -4, 3, -1}, {0, 0, -1, 2, -3,8, 255, -7, 3, -2, 1, 0}, where,

[0386] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0387] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0388] A20. The method of any one of embodiments A1 to A7a, comprising downsampling the width and / or height of the first picture by a factor of 1.5 using a first set of values ​​of samples included in the first block, wherein:

[0389] Downsampling involves interpolating the first set of values ​​using a filter,

[0390] The filter length is 12 taps.

[0391] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values,

[0392] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0393] The first set of coefficient values ​​includes:

[0394] , 9, 2, -1}、{0, 10, -12, -19, 70, 158, 70, -19, -12, 10, 0, 0}、{0, 10, -9, -22,62, 156, 79, -17, -13, 9, 1, 0}、{-1, 10, -8, -22, 54, 155, 87, -13, -16, 9,2, -1}、{-2, 10, -5, -23, 46, 152, 95, -9, -18, 9, 2, -1}、{-2, 9, -4, -23, 39,150, 103, -6, -20, 8, 4, -2}、{-2, 8, -1, -24, 33, , 6, 3, -25, 16, 130, 130, 16, -25, 3, 6, -2}、{-2, 5, 4, -23, 10, 123, 137, 20, -23, 0, 8, -3}、{-2, 5, 5, -22, 4, 117, 142, 26, -24, -1, 9, -3}, {-2, 5, 6, -20, -2, 111, 144, 33, -24, -1, 8, -2}, {-2, 4, 8,-20, -6, 103, 150, 39, -23, -4, / 9, -2}, {-1, 2, 9, -18, -9, 95, 152, 46, -23,-5, 10, -2}, {-1, 2, 9, -16, -13, 87, 155, 54, -22, -8, 10, -1}, {0, 1, 9, -13,-17, 79, 156, 62, -22, -9, 10, 0}, where,

[0395] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0396] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0397] A21. The method of any one of embodiments A1 to A7a, comprising downsampling the width and / or height of the first picture by a factor of 2 using a first set of values ​​of samples included in the first block, wherein:

[0398] Downsampling involves interpolating the first set of values ​​using a filter,

[0399] The filter length is 12 taps.

[0400] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values,

[0401] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0402] The first set of coefficient values ​​includes:

[0403] , 0}、{4, -7, -17, 13, 73, 124, 73, 13, -17, -7, 4, 0}、{3, -7, -17, 9, 72,122, 81, 15, -16, -9, 3, 0}、{3, -5, -16, 6, 66, 120, 85, 18, -15, -10, 3, 1}、{3, -6, -17, 3, 64, 120, 90, 23, -15, -11, 1, 1}、{2, -3, -15, 0, 58, 117, 93,25, -13, -10, 1, 1}、{4, -4, -16, -2, 54, 116, , 4}、{4, -2, -12, -11, 38, 103, 110, 45, -7, -13, -3, 4}、{3, 0, -12, -12, 32, 101, 114, 49,-6, -14, , 0, 0, 0, 15, 7, 16, 7, 3}, {1, 3, -10, -15, 18, 85, 120, 66, 6, -16, -5, 3}, {0, 3, -9, -16,15, 81, 122, 72, 9, -17, -7, 3}, where,

[0404] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0405] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0406] A21 a1. The method of any one of embodiments A1 to A7a, comprising downsampling the first picture by a factor of 2 using a first set of values ​​for samples included in the first block, wherein:

[0407] Downsampling involves interpolating the first set of values ​​using a filter,

[0408] The filter length is 12 taps.

[0409] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values,

[0410] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0411] The first set of coefficient values ​​includes:

[0412] , 21, -17, -8, 3, 2}、{4, -2, -15, -2, 59, 114, 93,24, -15, -8, 2, 2}、{4, -1, -15, -5, 54, 113, 96, 21, -17, -8, 3, 2}、{5, -5, -17, 9, 78, 116, 78, 9, -17, -5, 5, 0}、{5, -4, -18, 7, 73,116, 82, 14, -18, -6, 4, 1}、{5, -4, -17, 4, 69, 115, 86, 17, -17, -7, 4, 1}、 , -13, 1, 3}、{3, 1, -13, -10, 42, 105, 105, 42, -10, -13, 1, 3}、{3, 1, -11,-12, 36, 104, 108, 45, -9, -13, 1, 3}、{3, 2, -11, -14, 33, 100, 110, 51, -7,-15, 0, 4}, {2, 3, -10, -15, 29, 96, 113, 55, -5, -15, -1, 4}, {2, 2, -8, -15,24, 93, 114, 59, -2, -15, -2, 4}, {2, 3, -8, -17, 21, 90, 115, 64, 1, -17, -3,5}, {1, 4, -7, -17, 17, 86, 115, 69, 4, -17, -4, 5}, {1, 4, -6, -18, 14, 82,116, 73, 7, -18, -4, 5}.

[0413] A21 a2 According to embodiments A12, A21 and A21 a1 The method of any one of the embodiments, comprising:

[0414] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0415] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0416] A21 a3 According to embodiment A21 a2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0417] determining whether the ratio is substantially equal to a predefined value (eg, 2) or greater than or equal to a threshold value (eg, 1.75); and

[0418] If the ratio is substantially equal to a predefined value (eg, 1.5) or is greater than or equal to a threshold, it is determined that downsampling is performed.

[0419] A21 b1 . The method of any one of embodiments A1 to A7a, comprising downsampling the first picture by a factor of 1.5 using a first set of values ​​for samples included in the first block, wherein:

[0420] Downsampling involves interpolating the first set of values ​​using a filter,

[0421] The filter length is 12 taps.

[0422] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values,

[0423] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0424] The first set of coefficient values ​​includes:

[0425] , 0, -1}、{-1, 8, -5, -25, 52, 148, 97, -10, -17, 8, 2, -1}、{-2, 8, -5, -23, 45,144, 104, -3, -20, 6, 4, -2}、{-2, 6, 0, -25, 35, 144, , 6, -22, 10, 133, 133, 10, -22, 6, 2, -1}、{-1, 2, 6, -21, 6, 126, 137, 18, -23, 4, 3, -1}、{-2, 4, 6, -22, 3, 119, 140, 28, -25, 1, 6, 3, 7, -20, -2, 112, 144, 35, -25, 0, 6, -2}, {-2, 4, 6, -20, -3, 104, 144, 45, -23, -5, 8, -2}, {-1, 2, 8, -17, -10, 97, 148, 52, -25,-5, 8, -1}, {-1, 0, 9, -14, -15, 92, 153, 57, -24, -5, 8, -2}.

[0426] A21 b2 According to embodiments A11, A20 and A21 b1 The method of any one of the embodiments, comprising:

[0427] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0428] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0429] A21 b3 According to embodiment A21 b2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0430] determining whether the ratio is substantially equal to a predefined value (e.g., 1.5) or within a predefined range of values ​​(e.g., between 1.25 and 1.75); and

[0431] If the ratio is substantially equal to a predefined value (eg, 1.5) or is within a predefined value range, it is determined that downsampling is performed.

[0432] A21 c1 . The method of any one of embodiments A1 to A7a, comprising downsampling the first picture by a factor of 2 using a first set of values ​​for samples included in the first block, wherein:

[0433] Downsampling involves interpolating the first set of values ​​using a filter,

[0434] The filter length is 10 taps.

[0435] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0436] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0437] The first set of coefficient values ​​includes:

[0438] , 2}、{-3, -14, 10, 77, 116, 77, 10, -14, -3, 0}、{-4, -15, 8, 73, 116, 82,14, -15, -5, 2}、{-3, -15, 5, 69, 115, 86, 18, -15, -6, 2}、{-2, -15, 2, 65,114, 89, 22, -14, -7, 2}、{-1, -14, -1, 60, 113, 93, 26, -14, -8, 2}、{-1, -14,-3, 56, 112, 96, 30, -13, -9, 2}、{0, -13, -5, , 0}、{1, -10, -12, 34, 100,110, 51, -5, -13, 0}、{2, -9, -13, 30, 96, 112, 56, -3, -14, -1}、{1, -12, -9, 43, 105, 105, 43, -9, -12, 1}、{1, -11, -10, 38, 103, 108, 47, -7, -13, 0}、{1, -10, -12, 34, 100,110, 51, -5, -13, 0}、{2, -9, -13, 30, 96, 112, 56, -3, -14, -1}、{2, -8, -14,26, 93, , -15, -3}, {2, -5, -15, 14, 82, 116, 73, 8, -15, -4}.

[0439] A21 c2 According to embodiment A21 c1 The method comprises:

[0440] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0441] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0442] A21 c3 According to embodiment A21 c2The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0443] determining whether the ratio is substantially equal to a predefined value (eg, 2) or greater than or equal to a threshold value (eg, 1.75); and

[0444] If the ratio is substantially equal to a predefined value (eg, 2) or is greater than or equal to a threshold, it is determined that downsampling is performed.

[0445] A21 d1 . The method of any one of embodiments A1 to A7a, comprising downsampling the first picture by a factor of 1.5 using a first set of values ​​for samples included in the first block, wherein:

[0446] Downsampling involves interpolating the first set of values ​​using a filter,

[0447] The filter length is 10 taps.

[0448] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0449] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0450] The first set of coefficient values ​​includes:

[0451] , 0}、{6, -10, -19, 74, 154, 74, -19, -10, 6, 0}、{8, -8, -22, 66, 153, 82,-18, -13, 8, 0}、{7, -6, -24, 58, 152, 90, -14, -15, 8, 0}、{7, -5, -25, 51,150, 97, -11, -17, 8, 1}、{6, -2, -26, 43, 147, 105, -7, -19, 7, 2}、{6, -1, -26, 35, 144, 112, -2, -21, 7, 2}、{5, 1, -26, 28, , 1,6}、{5,2, -26, 22, 135, 125, 9, -24, 5, 3}、{4, 4, -25, 15, 130, 130, 15, -25, 4, 4}、{3, 5, -24, 9, 125, 135, 22, -26, 2, 5}、{3, 6, -22, 3, 118, 140, 28, -26, 1,5}、{2, 7, -21, -2, 112, 144, 35, -26, -1, 6}、{2, 7, -19, -7, 105, 147, 43, -26, , -2, 6}, {1, 8, -17, -11, 97, 150, 51, -25, -5, 7}, {0, 8, -15, -14, 90,152, 58, -24, -6, 7}, {0, 8, -13, -18, 82, 153, 66, -22, -8, 8}.

[0452] A21 d2 According to embodiment A21 d1 The method comprises:

[0453] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0454] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0455] A21 d3 According to embodiment A21 d2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0456] determining whether the ratio is substantially equal to a predefined value (e.g., 1.5) or within a predefined range of values ​​(e.g., between 1.25 and 1.75); and

[0457] If the ratio is substantially equal to a predefined value (eg, 1.5) or is within a predefined value range, it is determined that downsampling is performed.

[0458] A21 e1 . The method of any one of embodiments A1 to A7a, comprising upsampling the first picture using a first set of values ​​of samples included in the first block, wherein:

[0459] Upsampling involves interpolating the first set of values ​​using a filter.

[0460] The filter length is 10 taps,

[0461] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0462] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0463] The first set of coefficient values ​​includes:

[0464] , 0, 0, 256, 0, 0, 0, 0}、{2, -3, 6, -14, 254, 16, -7, 4, -2,0}、{3, -6, 12, -26, 249, 34, -14, 7, -4, 1}、{4, -9, 17, -36, 241, 54, -22,11, -6, 2}、{5, -11, 20, -43, 230, 75, -29, 15, -8, 2}、{5, -12, 23, -48, 216,96, -36, 18, -9, 3}、{5, -13, 25, -51, 200, 118, , 5}、{5, -13, 25, -51, 181, 140, -46, 23, -12, 4}、{5, -13, 25, -50, 161, 161, -50, 25, -13, 5}、{4, -12, 23, -46, 140, 181, -51, 25, -13, 5}、{4, -11, 21, -42, 118, 200, -51,25, -13, 5}、{3, -9, 18, -36, 96, 216, -48, 23, -12, 5}、{2, -8, 15, -29, 75,230, -43, , 20, -11, 5}, {2, -6, 11, -22, 54, 241, -36, 17, -9, 4}, {1, -4, 7, -14, 34, 249, -26, 12, -6, 3}, {0, -2, 4, -7, 16, 254, -14, 6, -3, 2}.

[0465] A21 e2 According to embodiment A21 e1 The method comprises:

[0466] Whether to perform upsampling is determined based on a ratio between the first picture and the second picture, wherein

[0467] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0468] A21 e3 According to embodiment A21 e2 The method, wherein determining whether to perform upsampling based on the ratio comprises:

[0469] determining whether the ratio is less than a predefined value (eg, 1 or 1.25); and

[0470] In case the ratio is less than the predefined value, it is determined to perform upsampling.

[0471] A21 f1 . The method of any one of embodiments A1 to A7a, comprising downsampling the first picture by a factor of 2 using a first set of values ​​for samples included in the first block, wherein:

[0472] Downsampling involves interpolating the first set of values ​​using a filter,

[0473] The filter length is 10 taps,

[0474] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0475] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0476] The first set of coefficient values ​​includes:

[0477] , 0}、{-2, -14, 10, 76, 116, 76, 10, -14, -2, 0}、{-2, -14, 7, 73, 115, 81,13, -14, -3, 0}、{-2, -13, 4, 68, 115, 85, 17, -14, -4, 0}、{-1, -13, 1, 64,114, 89, 20, -14, -4, 0}、{-1, -13, -1, 59, 114, 93, 24, -13, -6, 0}、{0, -12,-3, 54, 111, 96, 28, -12, -6, 0}、{0, -10, -7, 51, , 0}、{1, -12, -6, 45, 107, 103, 36, -10, -8, 0}、{1, -9, -9, 41, 104, 104, 41, -9,-9, 1}、{0, -8, -10, 36, 103, 107, 45, -6, -12, 1}、{1, -8, -11, 32, 99, 109,51, -7, -10, 0}、{0, -6, -12, 28, 96, 111, 54, -3, -12, 0}、{0, -6, -13, 24,93, 114, 59, -1, =6, -13, -1}, {0, -4, -14, 20, 89, 114, 64, 1, -13, -1}, {0, -4, -14, 17, 85, 115, 68, 4, -13, -2}.

[0478] A21 f2 According to embodiment A21 f1 The method comprises:

[0479] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0480] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0481] A21 f3 According to embodiment A21 f2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0482] determining whether the ratio is substantially equal to a predefined value (eg, 2) or greater than or equal to a threshold value (eg, 1.75); and

[0483] If the ratio is substantially equal to a predefined value (eg, 2) or is greater than or equal to a threshold, it is determined that downsampling is performed.

[0484] A21 g1 . The method of any one of embodiments A1 to A7a, comprising upsampling the first picture using a first set of values ​​of samples included in the first block, wherein:

[0485] Upsampling involves interpolating the first set of values ​​using a filter.

[0486] The filter length is 10 taps.

[0487] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0488] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0489] The first set of coefficient values ​​includes:

[0490] , 256, 0, 0, 0, 0}, {3, -6, 9, -16, 253, 19, -11, 6, -2,1}, {3, -7, 13, -27, 248, 36, -16, 8, -4, 2}, {3, -7, 16, -36, 240, 53, -21,10, -4, 2}, {3, -8, 19, -44, 231, 72, -26, 12, -5, 2}, {5, -11, 22, -49, 217,94, -34, 16, -8, 4}, {5, -12, 24, -52, 202, 114, , 6}、{6, -14, 26,-52, 182, 136, -43, 22, -13, 6}、{6, -13, 24, -50, 161, 161, -50, 24, -13, 6}、{6, -13, 22, -43, 136, 182, -52, 26, -14, 6}、{5, -11, 19, -38, 114, 202, -52,24, -12, 5}、{4, -8, 16, -34, 94, 217, -49, 22, -11, 5}、{2, -5, 12, -26, 72,231, -44, 19, -8, 3}, {2, -4, 10, -21, 53, 240, -36, 16, -7, 3}, {2, -4, 8, -16, 36, 248, -27, 13, -7, 3}, or{1, -2, 6, -11, 19, 253, -16, 9, -6, 3}.

[0491] A21 g2 According to embodiment A8 or A21 g1 The method of any one of the embodiments, comprising:

[0492] Whether to perform upsampling is determined based on a ratio between the first picture and the second picture, wherein

[0493] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0494] A21 g3 According to embodiment A21 g2The method, wherein determining whether to perform upsampling based on the ratio comprises:

[0495] determining whether the ratio is less than a predefined value (eg, 1 or 1.25); and

[0496] In case the ratio is less than the predefined value, it is determined to perform upsampling.

[0497] A22. The method according to any one of embodiments A1 to A21, comprising:

[0498] selecting a length of the filter based on characteristics of reconstructed samples included in the first picture or the second picture; and

[0499] A set of coefficients is selected based on the selected filter length.

[0500] A23. A method according to embodiment A22, wherein the characteristic of the reconstructed sample is frequency information.

[0501] A24. The method according to embodiment A23, wherein

[0502] In case the frequency information indicates a first frequency, a first length is selected as the length of the filter,

[0503] In the case where the frequency information indicates a second frequency, selecting a second length as the length of the filter,

[0504] The second length is longer than the first length, and

[0505] The second frequency is higher than the first frequency.

[0506] A25. The method of embodiment A22, wherein the characteristics of the reconstructed sample are one or more of the following:

[0507] i) the resolution of the first image,

[0508] ii) the chroma format of the first picture,

[0509] iii) the quantization parameter QP of the first picture, or

[0510] iv) QP of the first block.

[0511] A26. The method according to any one of embodiments A1 to A25, wherein:

[0512] ,as well as

[0513] , where t(x', y') is the sample value after horizontal filtering, x' is the horizontal coordinate of the sample in the time buffer, y' is the vertical coordinate of the sample in the time buffer, x is the horizontal coordinate of the sample in the second picture, y is the vertical coordinate of the sample in the second picture, mvXInt and mvYInt are motion vectors, is the subsample filter corresponding to a particular fractional position of mvX, It is a filter The filter coefficients at position n are, is the subsample filter corresponding to a particular fractional position of mvY, It is a filter The filter coefficient at position n, r is the sample value at a given horizontal coordinate and a given vertical coordinate in the first picture or the second picture, N is the length of the filter, and r''(x, y) is the sample value after horizontal filtering and vertical filtering.

[0514] B1. A method (1300) for encoding or decoding a video, the video comprising a series of pictures, the series of pictures comprising a first picture and a second picture, the method comprising:

[0515] obtaining (s1302) a first set of values ​​of samples included in a first block, wherein the first block is included in a first picture;

[0516] selecting (s1304) a length of the filter based on characteristics of reconstructed samples included in the first picture or the second picture;

[0517] selecting (s1306) a filter based at least on the selected length;

[0518] interpolating the first set of values ​​using the selected filter (s1308);

[0519] generating (s1310) a second set of values ​​of samples included in a second block based on a result of interpolating the first set of values, wherein the second block is included in the first picture or the second picture; and

[0520] Based at least on the second set of values, the video is encoded or decoded (s1312).

[0521] B2. The method according to embodiment B1, wherein the characteristic of the reconstructed sample is frequency information.

[0522] B3. The method according to embodiment B2, wherein

[0523] In case the frequency information indicates a first frequency, a first length is selected as the length of the filter,

[0524] In the case where the frequency information indicates a second frequency, selecting a second length as the length of the filter,

[0525] The second length is longer than the first length, and

[0526] The second frequency is higher than the first frequency.

[0527] B4. The method of any one of embodiments B1 to B3, wherein the characteristics of the reconstructed sample are one or more of the following:

[0528] i) the resolution of the first image,

[0529] ii) the chroma format of the first picture,

[0530] iii) the quantization parameter QP of the first picture, or

[0531] iv) QP of the first block.

[0532] B5. The method according to any one of embodiments B1 to B4, wherein:

[0533] samples having a first set of values ​​are located at non-fractional sample locations, and

[0534] Samples having the second set of values ​​are located at fractional sample positions.

[0535] B6. The method according to any one of embodiments B1 to B5, wherein:

[0536] The samples having the first set of values ​​include a first sample located at a non-fractional sample position,

[0537] The samples having the second set of values ​​include a second sample located at a fractional sample position,

[0538] The fractional sample position is determined based on at least the non-fractional sample position and the fractional value, and

[0539] The score value is the same as the coefficient value The invention relates to a set of 6, 8, 10 or 12 coefficient values ​​selected from a group of 2.

[0540] B7. The method according to embodiment B6, wherein fractional sample position = non-fractional sample position + (fractional value distance between samples).

[0541] B8. A method according to embodiment B6 or B7, wherein the fractional value is any one of 0 / 16, 1 / 16, 2 / 16, 3 / 16...15 / 16, 0 / 32, 1 / 32, 2 / 32, 3 / 32... and 31 / 32.

[0542] B9. The method of any one of embodiments B1 to B8, comprising performing one or more of motion compensated prediction, inter prediction, and intra prediction using a first set of values ​​of samples included in a first block, wherein:

[0543] Performing one or more of motion compensated prediction, inter prediction, and intra prediction includes interpolating the first set of values ​​using a filter.

[0544] B10. The method of any one of embodiments B1 to B9, comprising downsampling or upsampling the first picture using a first set of values ​​of samples included in the first block, wherein:

[0545] Downsampling or upsampling includes interpolating the first set of values ​​using a filter.

[0546] B10a. A method according to embodiment B9 or B10, wherein the motion compensated prediction is motion compensated downsampling.

[0547] B11. The method according to any one of embodiments B1 to B10a, wherein

[0548] The chosen length of the filter is 6 taps,

[0549] The filter consists of a set of 6 coefficient values,

[0550] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0551] The first set of coefficient values ​​includes:

[0552] , 6}, {1, -6, 256, 6, -1, 0}, {2, -11, 254, 14, -4, 1}, {4, -18, 252, 23, -6,1}, {6, -24, 249, 32, -9, 2}, {6, -26, 244, 41, -12, 3}, {7, -30, 239, 53, -18,5}, {8, -34, 235, 61, -19, 5}, {10, -38, 228, 72, -22, 6}, {10, -39, 220, 84, -26, 7}, {10, -40, 213, 94, -29, 8}, {11, -42, , 11}, {10, -37, 128, 186, -42, 11}, {10, -35, 116, 196, -42, 11}, {9, -32, 105, 205, -42, 11}, {8, -29, 94,213, {7, -26, 84, 220, -39, 10}, {6, -22, 72, 228, -38, 10}, {5, -19,61, 235, -34, 8}, {5, -18, 53, 239, -30, 7}, {3, -12, 41, 244, -26, 6}, {2, -9,32, 249, -24, 6}, {1, -6, 23, 252, -18, 4}, {1, -4, 14, 254, -11, 2}, {0, -1, 6,256, -6, 1}, where,

[0553] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0554] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0555] B12. The method according to any one of embodiments B1 to B10a, wherein

[0556] The chosen length of the filter is 6 taps,

[0557] The filter consists of a set of 6 coefficient values,

[0558] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0559] The first set of coefficient values ​​includes:

[0560] , 29, 7}, {20, 41, 93, 66, 29, 7}, {19, 40, 92, 68, 29, 8}, {18, 39, 91, 70, 29, 9}, {16, 40, 93, 64, 29, 7}, {23, 40, 99, 60, 28, 6}, {22, 40, 96, 63, 28, 7}, {20, 41, 93, 66, 29, 7}, {19, 40, 92, 68, 29, 8}, {18, 39, 91, 70, 29, 9}, {16, 36, 80, 80, 36, 12}, {11, 35, 79, 81, 38, 12}, {11, 34, 77, 82, 38, 14}, {11,32, 75, 86, 36, 16}, {10, 31, 74, 87, 38, 16}, {9, 36, 80, 80, 36, 12}, {11, 35, 79, 81, 38, 12}, {11, 34, 77, 82, 38, 14}, {11,32, 75, 86, 36, 16}, {10, 31, 74, 87, 38, 16}, {9, 30, 73, 88, 40, 16}, {9, 29,70, 91, 39, 18}, {8, 29, 68, 92, 40, 19}, {7, 29, 66, 93, 41, 20}, {7, 28, 63,96, 40, 22}, {6, 28, 60, 99, 40, 23}, {5, 29, 56, 102, 39, 25}, {4, 29, 53, 105,39, 26}, {3, 28, 55, 99, 46, 25}, {2, 28, 53, 100, 47, 26}, {1, 29, 49, 103, 46,28}, among which,

[0561] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0562] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0563] B13. The method according to any one of embodiments B1 to B10a, wherein

[0564] The chosen length of the filter is 6 taps,

[0565] The filter consists of a set of 6 coefficient values,

[0566] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0567] The first set of coefficient values ​​includes:

[0568] {0, 44, 160, 53, -2, 1}, {-2, 42, 160, 59, -4, 1}, {-2, 38, 159, 65, -5, 1}, {-1, 33, 159, 68, -4, 1}, {-2, 33, 154, 74, -4, 1}, {-1, 27, 155, 78, -4,1}, {-2, 25, 153, 84, -5, 1}, {-2, 22, 151, 89, -5, 1}, {-1, 17, 151, 93, -6,2}, {-2, 16, 147, 99, -5, 1}, {-1, 14, , 0}, {1, -1, 122, 131, 3, 0}, {0, 1, 116, 132, 8, -1}, {0, 0,112, 135, 10, -1}, {1, -2, 107, 139, 12, -1}, {1, -3, 103, 142, 103 ... , 159, 38, -2}, {1, -4, 59, 160, 42, -2}, {1, -2,53, 160, 44, 0}, where,

[0569] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0570] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0571] B14. The method according to any one of embodiments B1 to B10a, wherein

[0572] The chosen length of the filter is 6 taps,

[0573] The filter consists of a set of 6 coefficient values,

[0574] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0575] The first set of coefficient values ​​includes:

[0576] , -1}, {-13, 45, 151, 84, -8, -3}, {-13, 39, 154, 88, -9, -3}, {-14, 34, 156, 94, -10, -4}, {-15,33, 152, 99, -7, -6}, {-15, 30, 150, 103, 106, 111, -7}, {-15, 30, 150, 103, 111, -7}. , -5}, {-14, 26, 148, 107, -4, -7}, {-12, 23, 143, 110, -1, -7}, {-13, 18, 145, 116, -2, -8}, {-10, 15, 139, 118,1, -7}, {-15, 19, 134, 122, 9, -13}, {-14, 18, 129, 123, 13, -13}, {-14, 18,124, 124, 18, -14}, {-13, 13, 123, 129, 18, -14}, {-13, 9, 122, 134, 19, , 150, 30, -15}, {-6, -7, 99,152, 33, -15}, {-4, -10, 94, 156, 34, -14}, {-3, -9, 88, 154, 39, -13}, {-3, -8,84, 151, 45, -13}, {-2, -9, 79, 153, 47, -12}, {-2, -10, 76, 153, 52, -13}, {-1, -11, 71, 154, 56, -13}, {-1, -12, 68, 155, 59, -13}, where,

[0577] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0578] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0579] B15. The method according to any one of embodiments B1 to B10a, wherein

[0580] The chosen length of the filter is 6 taps,

[0581] The filter consists of a set of 6 coefficient values,

[0582] The set of 6 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0583] The first set of coefficient values ​​includes:

[0584] , 0}、{-5, 64, 138, 64, -5, 0}、{-8, 66, 132, 73, -6, -1}、{-9, 62, 134, 76,-5, -2}、{-10, 59, 134, 80, -4, -3}、{-10, 57, 132, 82, -2, -3}、{-10, 53, 132,85, 0, -4}、{-11, 50, 132, 89, 1, -5}、{-12, 47, 132, 93, 2, -6}、{-13, 45, 131,96, 4, -7}、{-12, 40, 131, 99, 5, , 12}, {-13, 29, 121, 112, 18, -11}, {-12, 25, 119, 115, 21, -12}, {-13, 24, 117, 117,24, -13}, {-12, 21, 115, 119, 25, -12}, {-11, 18, 112, 121, 29, , -13}, {-1, 15, 111, 124, 30, -13}, {-10, 14, 107, 124, 33, -12}, {-9, 10, 105, 127, 36, -13}, {-8, 9, 101, 127, 39, -12}, {-7, 5, 99, 131, 40, -12}, {-7, 4, 96, 131, 45, -13}, {-6, 2, 93, 132, 47, -12}, {-5, 1, 89, 132, 50, -11}, {-4, 0, 85, 132, 53, -10}, {-3, -2, 82, 132, 57, -10}, {-3, -4, 80, 134, 59, -10}, {-2, -5, 76, 134,62, -9}, {-1, -6, 73, 132, 66, -8}, among which,

[0585] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0586] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0587] B16. The method according to any one of embodiments B1 to B10a, wherein

[0588] The chosen length of the filter is 8 taps,

[0589] The filter consists of a set of 8 coefficient values,

[0590] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0591] The first set of coefficient values ​​includes:

[0592] {-1, 3, -7, 254, 11, -6, 3, -1}、{-1, 4, -12, 253, 16, -6, 3, -1}、{-2,7, -18, 249, 28, -12, 6, -2}、{-2, 8, -23, 248, 33, -11, 4, -1}、{-3, 11, -28,242, 47, -19, 8, -2}、{-3, 12, -33, 241, 51, -16, 5, -1}、{-4, 15, -38, 236,62, -21, 8, -2}、{-5, 18, -43, 231, 72, -23, 8, -2}、{-6, 19, -44, 223, 84, -28, 12, -4}、{-4, 15, -40, 210, 99, -35, 15, -4}、{-3, 12, -36, 195, 117, -42,18, -5}、{-4, 15, -40, 190, 124, -42, 18, -5}、{-4, 15, -41, 183, 133, -42, 16,-4}、{-4, 15, -42, 176, 142, -44, 18, -5}、{-5, 17, -42, 165, 153, -45, 18, -5}、{-5, 18, -45, 153, 165, -42, 17, -5}、{-5, 18, -44, 142, 176, -42, 15, -4}、{-4, 16, -42, 133, 183, -41, 15, -4}、{-5, 18, -42, 124, 190, -40, 15, -4}、{-5, 18, -42, 117, 195, -36, 12, -3}、{-4, 15, -35, 99, 210, -40, 15, -4}、{-4,12, -28, 84, 223, -44, 19, -6}、{-2, 8, -23, 72, 231, -43, 18, -5}、{-2, 8, -21, 62, 236, -38, 15, -4}、{-1, 5, -16, 51, 241, -33, 12, -3}、{-2, 8, -19, 47,242, -28, 11, -3}、{-1, 4, -11, 33, 248, -23, 8, -2}、{-2, 6, -12, 28, 249, -18, 7, -2}、{-1, 3, -6,16, 253, -12, 4, -1}, {-1, 3, -6, 11, 254, -7, 3, -1}, where,

[0593] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0594] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0595] B17. The method according to any one of embodiments B1 to B10a, wherein

[0596] The chosen length of the filter is 8 taps,

[0597] The filter consists of a set of 8 coefficient values,

[0598] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0599] The first set of coefficient values ​​includes:

[0600] , 30, 6, -1}, {-1, 24, 41, 97, 60, 30, 6, -1}, {-2, 25, 38, 97, 62, 30, 8, -2}, {-2, 24, 37, 96, 64, 30, 9, 30}. 32, 12, -1}, {0, 13, 39, 82, 77, 35, 10, 0}, {0, 12, 38, 81, 79, 35, 11, 0}, {0, 12, 36, 80, 80, 36, 11, 0}, 20, 98, 73, 31, 10, -2}, {-2, 23, 36, 95, 66, 30, 10, -2}, {-2, 21, 37,92, 69, 31, 10, -2}, {-2, 20, 36, 91, 71, 31, 11, -2}, {0, 16, 39, 85, 74, 32,11, -1}, {-1, 17, 36, 86, 75, 32, 12, -1}, {0, 13, 39, 82, 77, 35, 10, 0}, {0,12, 38, 81, 79, 35, 11, 0}. , 37, 21, -2}, {-2, 10, 30, 64, 37, 21, 3}, 2, 9, 30, 64, 36, 23, 0}, {-2, 9, 30, 64, 36, 23, 0}, {-2, 11, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3}, 2, 9, 30, 64, 36, 23, 0}, {-2, 11, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3}, {-2, 10, 31, 71, 91, 36, 20, 3} , 0, 3, 27, 55, 96, 49, 25, 1}, {0, 1, 30, 47, 105, 44, 29, 0}, where,

[0601] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0602] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0603] B18. The method according to any one of embodiments B1 to B10a, wherein

[0604] The chosen length of the filter is 8 taps,

[0605] The filter consists of a set of 8 coefficient values,

[0606] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0607] The first set of coefficient values ​​includes:

[0608] {13, -38, 56, 194, 56, -38, 13, 0,}、{13, -38, 52, 193, 62, -38, 11,1,}、{13, -36, 44, 193, 69, -37, 8, 2,}、{12, -34, 39, 192, 74, -36, 7, 2,}、{13, -33, 32, 192, 79, -36, 6, 3,}、{12, -30, 26, 190, 86, -36, 4, 4,}、{12,-29, 21, 188, 92, -35, 3, 4,}、{14, -28, 15, 185, 97, -35, 2, 6,}、{13, -26,11, 182, 103, -34, 1, 6,}、{13, -23, 4, 180, 109, -34, 0, 7,}、{13, -23, 2,175, 115, -31, -2, 7,}、{12, -20, -3, 172, 121, -30, -4, 8,}、{11, -18, -7,168, 128, -28, -6, 8,}、{11, -16, -11, 164, 133, -27, -7, 9,}、{11, -15, -14,159, 139, -25, -8, 9,}、{10, -13, -17, 155, 144, -23, -9, 9,}、{9, -11, -20,150, 150, -20, -11, 9,}、{9, -9, -23, 144, 155, -17, -13, 10,}、{9, -8, -25,139, 159, -14, -15, 11,}、{9, -7, -27, 133, 164, -11, -16, 11,}、{8, -6, -28,128, 168, -7, -18, 11,}、{8, -4, -30, 121, 172, -3, -20, 12,}、{7, -2, -31,115, 175, 2, -23, 13,}、{7, 0, -34, 109, 180, 4, -23, 13,}、{6, 1, -34, 103,182, 11, -26, 13,}、{6, 2, -35, 97, 185, 15, -28, 14,}、{4, 3, -35, 92, 188,21, -29, 12,}、{4, 4,{, -36, 86, 190, 26, -30, 12,}, {3, 6, -36, 79, 192, 32, -33, 13,}, {2, 7, -36, 74, 192, 39, -34, 12,}, {2, 8, -37, 69, 193, 44, -36,13,}, {1, 11, -38, 62, 193, 52, -38, 13,}, where,

[0609] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0610] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0611] B19. The method according to any one of embodiments B1 to B10a, wherein

[0612] The chosen length of the filter is 8 taps,

[0613] The filter consists of a set of 8 coefficient values,

[0614] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0615] The first set of coefficient values ​​includes:

[0616] {-21, 7, 74, 136, 74, 7, -21, 0,}、{-20, 5, 69, 140, 75, 8, -20, -1,}、{-19, 3, 66, 140, 78, 9, -19, -2,}、{-17, 1, 62, 141, 80, 8, -17, -2,}、{-16, 1, 59, 138, 82, 10, -15, -3,}、{-16, -1, 57, 138, 86, 11, -15, -4,}、{-11, -6, 57, 131, 91, 10, -13, -3,}、{-9, -8, 53, 131, 94, 10, -12, -3,}、{-8,-9, 49, 131, 97, 11, -12, -3,}、{-13, -8, 50, 130, 100, 18, -15, -6,}、{-10,-9, 46, 128, 102, 17, -14, -4,}、{-11, -10, 44, 127, 106, 21, -15, -6,}、{-9,-12, 41, 126, 109, 21, -15, -5,}、{-10, -12, 40, 123, 111, 26, -15, -7,}、{-9, -13, 38, 120, 113, 29, -14, -8,}、{-8, -14, 35, 120, 115, 29, -14, -7,}、{-7, -13, 32, 116, 116, 32, -13, -7,}、{-7, -14, 29, 115, 120, 35, -14, -8,}、{-8, -14, 29, 113, 120, 38, -13, -9,}、{-7, -15, 26, 111, 123, 40, -12, -10,}、{-5, -15, 21, 109, 126, 41, -12, -9,}、{-6, -15, 21, 106, 127, 44, -10,-11,}、{-4, -14, 17, 102, 128, 46, -9, -10,}、{-6, -15, 18, 100, 130, 50, -8,-13,}、{-3, -12, 11, 97, 131, 49, -9, -8,}、{-3, -12, 10, 94, 131, 53, -8, -9,}、{-3, -13, 10,91, 131, 57, -6, -11,}、{-4, -15, 11, 86, 138, 57, -1, -16,}、{-3, -15, 10, 82, 138, 59, 1, -16,}、{-2, -17, 8, 80, 141, 62, 1, -17,}、{-2, -19, 9, 78, 140, 66, 3, -19,}、{-1, -20, 8, 75, 140, 69, 5, -20,},where,

[0617] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0618] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0619] B20. The method according to any one of embodiments B1 to B10a, wherein

[0620] The chosen length of the filter is 8 taps,

[0621] The filter consists of a set of 8 coefficient values,

[0622] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0623] The first set of coefficient values ​​includes:

[0624] {-4, -20, 64, 167, 73, -19, -5, 0}、{-1, -20, 58, 164, 77, -19, -4,1}、{-1, -20, 53, 165, 81, -18, -5, 1}、{0, -19, 49, 161, 84, -15, -5, 1}、{0, -19, 45, 160, 89, -14, -6, 1}、{1, -20, 42, 157, 95, -13, -8, 2}、{1, -19, 37,157, 98, -12, -8, 2}、{1, -18, 33, 154, 103, -10, -9, 2}、{1, -18, 31, 151,107, -8, -11, 3}、{1, -19, 26, 152, 113, -7, -12, 2}、{1, -19, 23, 151, 116, -6, -12, 2}、{3, -17, 18, 145, 120, -4, -13, 4}、{3, -17, 16, 142, 123, -1, -14,4}、{4, -17, 11, 141, 127, 0, -14, 4}、{4, -17, 9, 137, 131, 4, -16, 4}、{4, -16, 4, 131, 137, 9, -17, 4}、{4, -14, 0, 127, 141, 11, -17, 4}、{4, -14, -1,123, 142, 16, -17, 3}、{4, -13, -4, 120, 145, 18, -17, 3}、{2, -12, -6, 116,151, 23, -19, 1}、{2, -12, -7, 113, 152, 26, -19, 1}、{3, -11, -8, 107, 151,31, -18, 1}、{2, -9, -10, 103, 154, 33, -18, 1}、{2, -8, -12, 98, 157, 37, -19,1}、{2, -8, -13, 95, 157, 42, -20, 1}、{1, -6, -14, 89, 160, 45, -19, 0}、{1, -5, -15, 84, 161, 49, -19, 0}、{1, -5, -18, 81, 165, 53, -20, -1}、{1, -4, -19,77, 164, 58, -20, -1}、{0, -5,-19, 73, 167, 64, -20, -4}, among which,

[0625] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0626] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0627] B21. The method according to any one of embodiments B1 to B10a, wherein

[0628] The chosen length of the filter is 8 taps,

[0629] The filter consists of a set of 8 coefficient values,

[0630] The set of 8 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0631] The first set of coefficient values ​​includes:

[0632] {-15, 9, 75, 118, 75, 9, -15, 0}、{-14, 7, 70, 123, 75, 9, -13, -1}、{-18, 7, 69, 125, 79, 14, -18, -2}、{-17, 5, 66, 126, 81, 14, -16, -3}、{-16, 3,63, 127, 83, 15, -16, -3}、{-17, 3, 60, 128, 85, 17, -16, -4}、{-16, 3, 56,127, 86, 19, -14, -5}、{-15, 0, 56, 124, 90, 21, -15, -5}、{-16, 1, 53, 124,90, 25, -15, -6}、{-15, 0, 51, 121, 93, 26, -13, -7}、{-16, -2, 52, 118, 97,29, -13, -9}、{-15, -4, 51, 116, 99, 31, -13, -9}、{-15, -4, 47, 116, 102, 31,-10, -11}、{-15, -4, 45, 114, 103, 34, -9, -12}、{-14, -5, 43, 112, 104, 37, -9, -12}、{-13, -7, 42, 110, 106, 39, -9, -12}、{-13, -9, 41, 109, 109, 41, -9,-13}、{-12, -9, 39, 106, 110, 42, -7, -13}、{-12, -9, 37, 104, 112, 43, -5, -14}、{-12, -9, 34, 103, 114, 45, -4, -15}、{-11, -10, 31, 102, 116, 47, -4, -15}、{-9, -13, 31, 99, 116, 51, -4, -15}、{-9, -13, 29, 97, 118, 52, -2, -16}、{-7, -13, 26, 93, 121, 51, 0, -15}、{-6, -15, 25, 90, 124, 53, 1, -16}、{-5, -15, 21, 90, 124, 56, 0, -15}、{-5, -14, 19, 86, 127, 56, 3, -16}、{-4, -16, 17,85, 128, 60, 3, -17}、{-3,-16, 15, 83, 127, 63, 3, -16}, {-3, -16, 14, 81,126, 66, 5, -17}, {-2, -18, 14, 79, 125, 69, 7, -18}, {-1, -13, 9, 75, 123, 70,7, -14}, where,

[0633] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0634] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0635] B22. The method according to any one of embodiments B1 to B10a, wherein

[0636] The chosen length of the filter is 12 taps,

[0637] The filter consists of a set of 12 coefficient values,

[0638] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0639] The first set of coefficient values ​​includes:

[0640] {0, 1, -2, 3, -7, 255, 8, -3, 2, -1, 0, 0}、{-1, 3, -4, 6, -14, 254,17, -8, 5, -3, 1, 0}、{-1, 3, -5, 9, -21, 253, 25, -10, 5, -3, 1, 0}、{-1, 4, -8, 13, -26, 249, 34, -14, 8, -4, 1, 0}、{-2, 6, -10, 16, -32, 246, 44, -18, 9,-4, 1, 0}、{-1, 4, -9, 18, -39, 235, 65, -26, 13, -6, 3, -1}、{-2, 6, -12, 22,-44, 230, 75, -28, 14, -7, 3, -1}、{-2, 6, -12, 23, -47, 224, 85, -31, 15, -7,3, -1}、{-2, 7, -13, 23, -48, 216, 97, -36, 18, -9, 4, -1}、{-2, 6, -12, 23, -49, 209, 106, -37, 19, -10, 4, -1}、{-3, 8, -14, 26, -52, 200, 119, -42, 22, -12, 6, -2}、{-2, 6, -12, 24, -51, 191, 129, -43, 22, -12, 6, -2}、{-2, 7, -14,25, -50, 180, 141, -46, 23, -12, 6, -2}、{-2, 6, -12, 24, -50, 171, 151, -47,23, -12, 6, -2}、{-2, 6, -12, 23, -47, 151, 171, -50, 24, -12, 6, -2}、{-2, 6,-12, 23, -46, 141, 180, -50, 25, -14, 7, -2}、{-2, 6, -12, 22, -43, 129, 191,-51, 24, -12, 6, -2}、{-2, 6, -12, 22, -42, 119, 200, -52, 26, -14, 8, -3}、{-1, 4, -10, 19, -37, 106, 209, -49, 23, -12, 6, -2}、{-1, 4, -9, 18, -36, 97,216, -48, 23, -13,, 7, -2}、{-1, 3, -7, 15, -31, 85, 224, -47, 23, -12, 6, -2}、{-1, 3, -7, 14, -28, 75, 230, -44, 22, -12, 6, -2}、{-1, 3, -6, 13, -26, 65,235, -39, 18, -9, 4, -1}、{0, 1, -4, 9, -18, 44, 246, -32, 16, -10, 6, -2}、{0,1, -4, 8, -14, 34, 249, -26, 13, -8, 4, -1}、{0, 1, -3, 5, -10, 25, 253, -21,9, -5, 3, -1}, {0, 1, -3, 5, -8, 17, 254, -14, 6, -4, 3, -1}, {0, 0, -1, 2, -3,8, 255, -7, 3, -2, 1, 0}, where,

[0641] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0642] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0643] B23. The method of any one of embodiments B1 to B10a, comprising downsampling the width and / or height of the first picture by a factor of 1.5 using a first set of values ​​of samples included in the first block, wherein:

[0644] Downsampling involves interpolating the first set of values ​​using a filter,

[0645] The chosen length of the filter is 12 taps,

[0646] The filter consists of a set of 12 coefficient values,

[0647] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0648] The first set of coefficient values ​​includes:

[0649] , 9, 2, -1}、{0, 10, -12, -19, 70, 158, 70, -19, -12, 10, 0, 0}、{0, 10, -9, -22,62, 156, 79, -17, -13, 9, 1, 0}、{-1, 10, -8, -22, 54, 155, 87, -13, -16, 9,2, -1}、{-2, 10, -5, -23, 46, 152, 95, -9, -18, 9, 2, -1}、{-2, 9, -4, -23, 39,150, 103, -6, -20, 8, 4, -2}、{-2, 8, -1, -24, 33, , 6, 3, -25, 16, 130, 130, 16, -25, 3, 6, -2}、{-2, 5, 4, -23, 10, 123, 137, 20, -23, 0, 8, -3}、{-2, 5, 5, -22, 4, 117, 142, 26, -24, -1, 9, -3}, {-2, 5, 6, -20, -2, 111, 144, 33, -24, -1, 8, -2}, {-2, 4, 8,-20, -6, 103, 150, 39, -23, -4, / 9, -2}, {-1, 2, 9, -18, -9, 95, 152, 46, -23,-5, 10, -2}, {-1, 2, 9, -16, -13, 87, 155, 54, -22, -8, 10, -1}, {0, 1, 9, -13,-17, 79, 156, 62, -22, -9, 10, 0}, where,

[0650] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0651] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0652] B24. The method of any one of embodiments B1 to B10a, comprising downsampling the width and / or height of the first picture by a factor of 2 using a first set of values ​​of samples included in the first block, wherein:

[0653] Downsampling involves interpolating the first set of values ​​using a filter,

[0654] The chosen length of the filter is 12 taps,

[0655] The filter consists of a set of 12 coefficient values,

[0656] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0657] The first set of coefficient values ​​includes:

[0658] , 0}、{4, -7, -17, 13, 73, 124, 73, 13, -17, -7, 4, 0}、{3, -7, -17, 9, 72,122, 81, 15, -16, -9, 3, 0}、{3, -5, -16, 6, 66, 120, 85, 18, -15, -10, 3, 1}、{3, -6, -17, 3, 64, 120, 90, 23, -15, -11, 1, 1}、{2, -3, -15, 0, 58, 117, 93,25, -13, -10, 1, 1}、{4, -4, -16, -2, 54, 116, , 4}、{4, -2, -12, -11, 38, 103, 110, 45, -7, -13, -3, 4}、{3, 0, -12, -12, 32, 101, 114, 49,-6, -14, , 0, 0, 0, 15, 7, 16, 7, 3}, {1, 3, -10, -15, 18, 85, 120, 66, 6, -16, -5, 3}, {0, 3, -9, -16,15, 81, 122, 72, 9, -17, -7, 3}, where,

[0659] Each of the first sets of coefficient values ​​is associated with a particular score value, and

[0660] The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

[0661] B24 a1. The method of any one of embodiments B1 to B10a, comprising downsampling the first picture by a factor of 2 using a first set of values ​​of samples included in the first block, wherein:

[0662] Downsampling involves interpolating the first set of values ​​using a filter,

[0663] The filter length is 12 taps.

[0664] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values,

[0665] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0666] The first set of coefficient values ​​includes:

[0667] , 21, -17, -8, 3, 2}、{4, -2, -15, -2, 59, 114, 93,24, -15, -8, 2, 2}、{4, -1, -15, -5, 54, 113, 96, 21, -17, -8, 3, 2}、{5, -5, -17, 9, 78, 116, 78, 9, -17, -5, 5, 0}、{5, -4, -18, 7, 73,116, 82, 14, -18, -6, 4, 1}、{5, -4, -17, 4, 69, 115, 86, 17, -17, -7, 4, 1}、 , -13, 1, 3}、{3, 1, -13, -10, 42, 105, 105, 42, -10, -13, 1, 3}、{3, 1, -11,-12, 36, 104, 108, 45, -9, -13, 1, 3}、{3, 2, -11, -14, 33, 100, 110, 51, -7,-15, 0, 4}, {2, 3, -10, -15, 29, 96, 113, 55, -5, -15, -1, 4}, {2, 2, -8, -15,24, 93, 114, 59, -2, -15, -2, 4}, {2, 3, -8, -17, 21, 90, 115, 64, 1, -17, -3,5}, {1, 4, -7, -17, 17, 86, 115, 69, 4, -17, -4, 5}, {1, 4, -6, -18, 14, 82,116, 73, 7, -18, -4, 5}.

[0668] B24 a2 According to embodiment B15, B21 or B24 a1 The method of any one of the embodiments, comprising:

[0669] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0670] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0671] B24 a3 According to Example B24 a2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0672] determining whether the ratio is substantially equal to a predefined value (eg, 2) or greater than or equal to a threshold value (eg, 1.75); and

[0673] If the ratio is substantially equal to a predefined value (eg, 1.5) or is greater than or equal to a threshold, it is determined that downsampling is performed.

[0674] B24 b1 . The method of any one of embodiments B1 to B10a, comprising downsampling the first picture by a factor of 1.5 using a first set of values ​​for samples included in the first block, wherein:

[0675] Downsampling involves interpolating the first set of values ​​using a filter,

[0676] The filter length is 12 taps.

[0677] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values,

[0678] The set of 12 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0679] The first set of coefficient values ​​includes:

[0680] , 0, -1}、{-1, 8, -5, -25, 52, 148, 97, -10, -17, 8, 2, -1}、{-2, 8, -5, -23, 45,144, 104, -3, -20, 6, 4, -2}、{-2, 6, 0, -25, 35, 144, , 6, -22, 10, 133, 133, 10, -22, 6, 2, -1}、{-1, 2, 6, -21, 6, 126, 137, 18, -23, 4, 3, -1}、{-2, 4, 6, -22, 3, 119, 140, 28, -25, 1, 6, 3, 7, -20, -2, 112, 144, 35, -25, 0, 6, -2}, {-2, 4, 6, -20, -3, 104, 144, 45, -23, -5, 8, -2}, {-1, 2, 8, -17, -10, 97, 148, 52, -25,-5, 8, -1}, {-1, 0, 9, -14, -15, 92, 153, 57, -24, -5, 8, -2}.

[0681] B24 b2 According to embodiment B14, B23 or B24 b1 The method of any one of the embodiments, comprising:

[0682] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0683] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0684] B24 b3 According to Example B24 b2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0685] determining whether the ratio is substantially equal to a predefined value (e.g., 1.5) or within a predefined range of values ​​(e.g., between 1.25 and 1.75); and

[0686] If the ratio is substantially equal to a predefined value (eg, 1.5) or is within a predefined value range, it is determined that downsampling is performed.

[0687] B24 c1 . The method of any one of embodiments B1 to B10a, comprising downsampling the first picture by a factor of 2 using a first set of values ​​of samples included in the first block, wherein:

[0688] Downsampling involves interpolating the first set of values ​​using a filter,

[0689] The filter length is 10 taps,

[0690] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0691] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0692] The first set of coefficient values ​​includes:

[0693] , 2}、{-3, -14, 10, 77, 116, 77, 10, -14, -3, 0}、{-4, -15, 8, 73, 116, 82,14, -15, -5, 2}、{-3, -15, 5, 69, 115, 86, 18, -15, -6, 2}、{-2, -15, 2, 65,114, 89, 22, -14, -7, 2}、{-1, -14, -1, 60, 113, 93, 26, -14, -8, 2}、{-1, -14,-3, 56, 112, 96, 30, -13, -9, 2}、{0, -13, -5, , 0}、{1, -10, -12, 34, 100,110, 51, -5, -13, 0}、{2, -9, -13, 30, 96, 112, 56, -3, -14, -1}、{1, -12, -9, 43, 105, 105, 43, -9, -12, 1}、{1, -11, -10, 38, 103, 108, 47, -7, -13, 0}、{1, -10, -12, 34, 100,110, 51, -5, -13, 0}、{2, -9, -13, 30, 96, 112, 56, -3, -14, -1}、{2, -8, -14,26, 93, , -15, -3}, {2, -5, -15, 14, 82, 116, 73, 8, -15, -4}.

[0694] B24 c2 According to Example B24 c1 The method comprises:

[0695] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0696] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0697] B24 c3 According to Example B24 c2The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0698] determining whether the ratio is substantially equal to a predefined value (eg, 2) or greater than or equal to a threshold value (eg, 1.75); and

[0699] If the ratio is substantially equal to a predefined value (eg, 2) or is greater than or equal to a threshold, it is determined that downsampling is performed.

[0700] B24 d1 . The method of any one of embodiments B1 to B10a, comprising downsampling the first picture by a factor of 1.5 using a first set of values ​​for samples included in the first block, wherein:

[0701] Downsampling involves interpolating the first set of values ​​using a filter,

[0702] The filter length is 10 taps.

[0703] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0704] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0705] The first set of coefficient values ​​includes:

[0706] , 0}、{6, -10, -19, 74, 154, 74, -19, -10, 6, 0}、{8, -8, -22, 66, 153, 82,-18, -13, 8, 0}、{7, -6, -24, 58, 152, 90, -14, -15, 8, 0}、{7, -5, -25, 51,150, 97, -11, -17, 8, 1}、{6, -2, -26, 43, 147, 105, -7, -19, 7, 2}、{6, -1, -26, 35, 144, 112, -2, -21, 7, 2}、{5, 1, -26, 28, , 1,6}、{5,2, -26, 22, 135, 125, 9, -24, 5, 3}、{4, 4, -25, 15, 130, 130, 15, -25, 4, 4}、{3, 5, -24, 9, 125, 135, 22, -26, 2, 5}、{3, 6, -22, 3, 118, 140, 28, -26, 1,5}、{2, 7, -21, -2, 112, 144, 35, -26, -1, 6}、{2, 7, -19, -7, 105, 147, 43, -26, , -2, 6}, {1, 8, -17, -11, 97, 150, 51, -25, -5, 7}, {0, 8, -15, -14, 90,152, 58, -24, -6, 7}, {0, 8, -13, -18, 82, 153, 66, -22, -8, 8}.

[0707] B24 d2 According to Example B24 d1 The method comprises:

[0708] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0709] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0710] B24 d3 According to Example B24 d2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0711] determining whether the ratio is substantially equal to a predefined value (e.g., 1.5) or within a predefined range of values ​​(e.g., between 1.25 and 1.75); and

[0712] If the ratio is substantially equal to a predefined value (eg, 1.5) or is within a predefined value range, it is determined that downsampling is performed.

[0713] B24 e1 . The method of any one of embodiments B1 to B10a, comprising upsampling the first picture using a first set of values ​​of samples included in the first block, wherein:

[0714] Upsampling involves interpolating the first set of values ​​using a filter.

[0715] The filter length is 10 taps.

[0716] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0717] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0718] The first set of coefficient values ​​includes:

[0719] , 0, 0, 256, 0, 0, 0, 0}、{2, -3, 6, -14, 254, 16, -7, 4, -2,0}、{3, -6, 12, -26, 249, 34, -14, 7, -4, 1}、{4, -9, 17, -36, 241, 54, -22,11, -6, 2}、{5, -11, 20, -43, 230, 75, -29, 15, -8, 2}、{5, -12, 23, -48, 216,96, -36, 18, -9, 3}、{5, -13, 25, -51, 200, 118, , 5}、{5, -13, 25, -51, 181, 140, -46, 23, -12, 4}、{5, -13, 25, -50, 161, 161, -50, 25, -13, 5}、{4, -12, 23, -46, 140, 181, -51, 25, -13, 5}、{4, -11, 21, -42, 118, 200, -51,25, -13, 5}、{3, -9, 18, -36, 96, 216, -48, 23, -12, 5}、{2, -8, 15, -29, 75,230, -43, , 20, -11, 5}, {2, -6, 11, -22, 54, 241, -36, 17, -9, 4}, {1, -4, 7, -14, 34, 249, -26, 12, -6, 3}, {0, -2, 4, -7, 16, 254, -14, 6, -3, 2}.

[0720] B24 e2 According to Example B24 e1 The method comprises:

[0721] Whether to perform upsampling is determined based on a ratio between the first picture and the second picture, wherein

[0722] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0723] B24 e3 According to Example B24 e2 The method, wherein determining whether to perform upsampling based on the ratio comprises:

[0724] determining whether the ratio is less than a predefined value (eg, 1 or 1.25); and

[0725] In case the ratio is less than the predefined value, it is determined to perform upsampling.

[0726] B24 f1 . The method of any one of embodiments B1 to B10a, comprising downsampling the first picture by a factor of 2 using a first set of values ​​of samples included in the first block, wherein:

[0727] Downsampling involves interpolating the first set of values ​​using a filter,

[0728] The filter length is 10 taps.

[0729] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0730] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0731] The first set of coefficient values ​​includes:

[0732] , 0}、{-2, -14, 10, 76, 116, 76, 10, -14, -2, 0}、{-2, -14, 7, 73, 115, 81,13, -14, -3, 0}、{-2, -13, 4, 68, 115, 85, 17, -14, -4, 0}、{-1, -13, 1, 64,114, 89, 20, -14, -4, 0}、{-1, -13, -1, 59, 114, 93, 24, -13, -6, 0}、{0, -12,-3, 54, 111, 96, 28, -12, -6, 0}、{0, -10, -7, 51, , 0}、{1, -12, -6, 45, 107, 103, 36, -10, -8, 0}、{1, -9, -9, 41, 104, 104, 41, -9,-9, 1}、{0, -8, -10, 36, 103, 107, 45, -6, -12, 1}、{1, -8, -11, 32, 99, 109,51, -7, -10, 0}、{0, -6, -12, 28, 96, 111, 54, -3, -12, 0}、{0, -6, -13, 24,93, 114, 59, -1, =6, -13, -1}, {0, -4, -14, 20, 89, 114, 64, 1, -13, -1}, {0, -4, -14, 17, 85, 115, 68, 4, -13, -2}.

[0733] B24 f2 According to Example B24 f1 The method comprises:

[0734] Whether to perform downsampling is determined based on a ratio between the first picture and the second picture, wherein

[0735] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0736] B24 f3 According to Example B24 f2 The method, wherein determining whether to perform downsampling based on the ratio comprises:

[0737] determining whether the ratio is substantially equal to a predefined value (eg, 2) or greater than or equal to a threshold value (eg, 1.75); and

[0738] If the ratio is substantially equal to a predefined value (eg, 2) or is greater than or equal to a threshold, it is determined that downsampling is performed.

[0739] B24 g1 . The method of any one of embodiments B1 to B10a, comprising upsampling the first picture using a first set of values ​​of samples included in the first block, wherein:

[0740] Upsampling involves interpolating the first set of values ​​using a filter.

[0741] The filter length is 10 taps.

[0742] A set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values,

[0743] The set of 10 coefficient values ​​is derived from the coefficient values 2 selected in the first group, and

[0744] The first set of coefficient values ​​includes:

[0745] , 0, 0, 256, 0, 0, 0, 0, 0,}, {3, -6, 9, -16, 253, 19, -11, 6, -2, 1}, {3, -7, 13, -27, 248, 36, -16, 8, -4, 2}, {3, -7, 16, -36, 240, 53, -21, 10, -4, 2}, {3, -8,19, -44, 231, 72, -26, 12, -5, 2}, {5, -11, 22, -49, 217, 94, -34, 16, -8, 4}, {5, -12, 24, -52, 202, 114, -38, 19, -11, 5}, {6, -14, 26, -52, 182, 136, -43,22, -13, 6}, {6, -13, 24, -50, 161, 161, -50, 24, -13, 6}, {6, -13, 22, -43,136, 182, -52, 26, -14, 6}, {5, -11, 19, -38, 114, 202, -52, 24, -12, 5}, {4, -8, 16, -34, 94, 217, 9, 22, -11, 5}, {2, -5, 12, -26, 72, 231, -44, 19, -8,3}, {2, {2, -4, 8, -16, 36, 248, -27,13, 3}, or {1, -2, 6, -11, 19, 253, -16, 9, -6, 3}.

[0746] B24 g2 According to Example B24 g1 The method comprises:

[0747] Whether to perform upsampling is determined based on a ratio between the first picture and the second picture, wherein

[0748] The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture.

[0749] B24 g3 According to Example B24 g2 The method, wherein determining whether to perform upsampling based on the ratio comprises:

[0750] determining whether the ratio is less than a predefined value (eg, 1 or 1.25); and

[0751] In case the ratio is less than the predefined value, it is determined to perform upsampling.

[0752] B25. The method according to any one of embodiments B1 to B24, comprising:

[0753] selecting a length of the filter based on characteristics of reconstructed samples included in the first picture or the second picture; and

[0754] A set of coefficients is selected based on the selected filter length.

[0755] B26. The method according to any one of embodiments B1 to B25, wherein

[0756] ,as well as

[0757] , where t(x', y') is the sample value after horizontal filtering, x' is the horizontal coordinate of the sample in the time buffer, y' is the vertical coordinate of the sample in the time buffer, x is the horizontal coordinate of the sample in the second picture, y is the vertical coordinate of the sample in the second picture, mvXInt and mvYInt are motion vectors, is the subsample filter corresponding to a particular fractional position of mvX, It is a filter The filter coefficients at position n are, is the subsample filter corresponding to a particular fractional position of mvY, It is a filter The filter coefficient at position n, r is the sample value at a given horizontal coordinate and a given vertical coordinate in the first picture or the second picture, N is the length of the filter, and r''(x, y) is the sample value after horizontal filtering and vertical filtering.

[0758] C1. A computer program (1443) comprising instructions (1444) which, when executed by a processing circuit (1402), cause the processing circuit to perform the method according to any one of embodiments A1 to B26.

[0759] C2. A carrier comprising the computer program according to embodiment C1, wherein the carrier is one of an electric signal, an optical signal, a radio signal and a computer-readable storage medium.

[0760] D1. A device (1400) for encoding or decoding a video, the video comprising a series of pictures, the series of pictures comprising a first picture and a second picture, the device being configured to:

[0761] obtaining (s1202) a first set of values ​​of samples included in a first block, wherein the first block is included in a first picture;

[0762] selecting (s1204) a filter for generating a second set of values ​​included in a second block from the filter set, wherein the second block is included in the first picture or the second picture; and

[0763] A second set of values ​​is generated (s1206) using the selected filter and the first set of values, wherein,

[0764] The filter consists of a set of 6, 8, 10, or 12 coefficient values, and

[0765] This set of coefficient values ​​is the coefficient values ​​disclosed in Example A1 2 in the group selected.

[0766] D2. The apparatus according to embodiment D1, wherein the apparatus is further configured to perform the method according to any one of embodiments A2 to A26.

[0767] E1. An apparatus (1400) for encoding or decoding a video, the video comprising a series of pictures, the series of pictures comprising a first picture and a second picture, the apparatus being configured to:

[0768] obtaining (s1302) a first set of values ​​of samples included in a first block, wherein the first block is included in a first picture;

[0769] selecting (s1304) a length of the filter based on characteristics of reconstructed samples included in the first picture or the second picture;

[0770] selecting (s1306) a filter based at least on the selected length;

[0771] interpolating the first set of values ​​using the selected filter (s1308);

[0772] generating (s1310) a second set of values ​​of samples included in a second block based on a result of interpolating the first set of values, wherein the second block is included in the first picture or the second picture; and

[0773] Based at least on the second set of values, the video is encoded or decoded (s1312).

[0774] E2. The apparatus of embodiment E1, wherein the apparatus is further configured to perform the method of any one of embodiments B2 to B26.

[0775] F1. A device (1400), comprising:

[0776] Memory (1441); and

[0777] A processing circuit (1402) coupled to the memory, wherein the apparatus is configured to perform the method according to any one of embodiments A1 to B26.

[0778] in conclusion

[0779] Although various embodiments are described herein, it should be understood that they are presented by way of example only and not limitation. Therefore, the breadth and scope of the present disclosure should not be limited by any of the above exemplary embodiments. In addition, any combination of the above elements with all possible variations thereof is included in the present disclosure, unless otherwise indicated or otherwise clearly conflicting with the context.

[0780] In addition, although the processes described above and shown in the drawings are shown as a series of steps, this is for illustrative purposes only. Therefore, it is contemplated that some steps may be added, some steps may be omitted, the order of steps may be rearranged, and some steps may be performed in parallel.

Claims

1. A method (1200) for encoding or decoding a video, wherein the video comprises a series of pictures, the series of pictures comprises a first picture and a second picture, the method comprising: obtaining (s1202) a first set of values ​​of samples included in a first block, wherein the first block is included in the first picture; selecting (s1204) a filter from a set of filters for generating a second set of values ​​included in a second block, wherein the second block is included in the first picture or the second picture; and The second set of values ​​is generated (s1206) using the selected filter and the first set of values, wherein The filter comprises a set of 6, 8, 10 or 12 coefficient values, and The set of coefficient values ​​is selected from the following group of coefficient values ​​±2: {1, -6, 256, 6, -1, 0}、{2, -11, 254, 14, -4, 1}、{4, -18, 252, 23, -6, 1}、{6, -24, 249, 32, -9, 2}、{6, -26, 244, 41, -12, 3}、{7, -30, 239, 53, -18, 5}、{8, -34, 235, 61, -19, 5}、{10, -38, 228, 72, -22, 6}、{10, -39, 220, 84, -26,7}、{10, -40, 213, 94, -29, 8}、{11, -42, 205, 105, -32, 9}、{11, -42, 196, 116,-35, 10}、{11, -42, 186, 128, -37, 10}、{11, -41, 167, 148, -40, 11}、{11, -41,158, 158, -41, 11}、{11, -40, 148, 167, -41, 11}、{10, -37, 128, 186, -42, 11}、{10, -35, 116, 196, -42, 11}、{9, -32, 105, 205, -42, 11}、{8, -29, 94, 213, -40, 10}、{7, -26, 84, 220, -39, 10}、{6, -22, 72, 228, -38, 10}、{5, -19, 61,235, -34, 8}、{5, -18, 53, 239, -30, 7}、{3, -12, 41, 244, -26, 6}、{2, -9, 32,249, -24, 6}、{1, -6, 23, 252, -18, 4}、{1, -4, 14, 254, -11, 2}、{0, -1, 6,256, -6, 1}、{28, 46, 103, 49, 29, 1}、{26, 47, 100, 53, 28, 2}、{25, 46, 99,55, 28, 3}、{26, 39, 105, 53, 29, 4}、{25, 39, 102, 56, 29, 5}、{23, 40, 99, 60,28, 6}、{22, 40, 96, 63, 28, 7}、{20, 41, 93, 66, 29, 7}、{19, 40, 92, 68, 29,8}、{18, 39, 91, 70,29, 9}、{16, 40, 88, 73, 30, 9}、{16, 38, 87, 74, 31, 10}、{16, 36, 86, 75, 32, 11}、{14, 38, 82, 77, 34, 11}、{12, 38, 81, 79, 35, 11}、{12, 36, 80, 80, 36, 12}、{11, 35, 79, 81, 38, 12}、{11, 34, 77, 82, 38, 14}、{11, 32, 75, 86, 36, 16}、{10, 31, 74, 87, 38, 16}、{9, 30, 73, 88, 40, 16}、{9,29, 70, 91, 39, 18}、{8, 29, 68, 92, 40, 19}、{7, 29, 66, 93, 41, 20}、{7, 28,63, 96, 40, 22}、{6, 28, 60, 99, 40, 23}、{5, 29, 56, 102, 39, 25}、{4, 29, 53,105, 39, 26}、{3, 28, 55, 99, 46, 25}、{2, 28, 53, 100, 47, 26}、{1, 29, 49,103, 46, 28}、{0, 44, 160, 53, -2, 1}、{-2, 42, 160, 59, -4, 1}、{-2, 38, 159,65, -5, 1}、{-1, 33, 159, 68, -4, 1}、{-2, 33, 154, 74, -4, 1}、{-1, 27, 155,78, -4, 1}、{-2, 25, 153, 84, -5, 1}、{-2, 22, 151, 89, -5, 1}、{-1, 17, 151,93, -6, 2}、{-2, 16, 147, 99, -5, 1}、{-1, 14, 142, 103, -3, 1}、{-1, 12, 139,107, -2, 1}、{-1, 10, 135, 112, 0, 0}、{-1, 8, 132, 116, 1, 0}、{0, 3, 131, 122,-1, 1}、{0, 4, 124, 124, 4, 0}、{1, -1, 122, 131, 3, 0}、{0, 1, 116, 132, 8, -1}、{0, 0, 112, 135, 10, -1}、{1, -2, 107,139, 12, -1}、{1, -3, 103, 142, 14, -1}、{1, -5, 99, 147, 16, -2}、{2, -6, 93, 151, 17, -1}、{1, -5, 89, 151, 22, -2}、{1, -5, 84, 153, 25, -2}、{1, -4, 78, 155, 27, -1}、{1, -4, 74, 154, 33, -2}、{1, -4, 68, 159, 33, -1}、{1, -5, 65, 159, 38, -2}、{1, -4, 59, 160, 42, -2}、{1, -2, 53, 160, 44, 0}、{-14, 64, 156, 64, -14, 0}、{-13, 59, 155, 68, -12,-1}、{-13, 56, 154, 71, -11, -1}、{-13, 52, 153, 76, -10, -2}、{-12, 47, 153,79, -9, -2}、{-13, 45, 151, 84, -8, -3}、{-13, 39, 154, 88, -9, -3}、{-14, 34,156, 94, -10, -4}、{-15, 33, 152, 99, -7, -6}、{-15, 30, 150, 103, -5, -7}、{-14, 26, 148, 107, -4, -7}、{-12, 23, 143, 110, -1, -7}、{-13, 18, 145, 116, -2,-8}、{-10, 15, 139, 118, 1, -7}、{-15, 19, 134, 122, 9, -13}、{-14, 18, 129,123, 13, -13}、{-14, 18, 124, 124, 18, -14}、{-13, 13, 123, 129, 18, -14}、{-13,9, 122, 134, 19, -15}、{-7, 1, 118, 139, 15, -10}、{-8, -2, 116, 145, 18, -13}、{-7, -1, 110, 143, 23, -12}、{-7, -4, 107, 148, 26, -14}、{-7, -5, 103, 150,30, -15}、{-6, -7, 99, 152, 33, -15}、{-4, -10, 94, 156, 34,-14}、{-3, -9, 88,154, 39, -13}、{-3, -8, 84, 151, 45, -13}、{-2, -9, 79, 153, 47, -12}、{-2, -10,76, 153, 52, -13}、{-1, -11, 71, 154, 56, -13}、{-1, -12, 68, 155, 59, -13}、{-5, 64, 138, 64, -5, 0}、{-8, 66, 132, 73, -6, -1}、{-9, 62, 134, 76, -5, -2}、{-10, 59, 134, 80, -4, -3}、{-10, 57, 132, 82, -2, -3}、{-10, 53, 132, 85, 0, -4}、{-11, 50, 132, 89, 1, -5}、{-12, 47, 132, 93, 2, -6}、{-13, 45, 131, 96, 4,-7}、{-12, 40, 131, 99, 5, -7}、{-12, 39, 127, 101, 9, -8}、{-13, 36, 127, 105,10, -9}、{-12, 33, 124, 107, 14, -10}、{-13, 30, 124, 111, 15, -11}、{-13, 29,121, 112, 18, -11}、{-12, 25, 119, 115, 21, -12}、{-13, 24, 117, 117, 24, -13}、{-12, 21, 115, 119, 25, -12}、{-11, 18, 112, 121, 29, -13}、{-11, 15, 111, 124,30, -13}、{-10, 14, 107, 124, 33, -12}、{-9, 10, 105, 127, 36, -13}、{-8, 9,101, 127, 39, -12}、{-7, 5, 99, 131, 40, -12}、{-7, 4, 96, 131, 45, -13}、{-6,2, 93, 132, 47, -12}、{-5, 1, 89, 132, 50, -11}、{-4, 0, 85, 132, 53, -10}、{-3,-2, 82, 132, 57, -10}、{-3, -4, 80, 134, 59, -10}、{-2, -5, 76, 134, 62,-9}、{-1, -6, 73, 132, 66, -8}、{-1, 3, -7, 254, 11, -6, 3, -1}、{-1, 4, -12, 253, 16,-6, 3, -1}、{-2, 7, -18, 249, 28, -12, 6, -2}、{-2, 8, -23, 248, 33, -11, 4, -1}、{-3, 11, -28, 242, 47, -19, 8, -2}、{-3, 12, -33, 241, 51, -16, 5, -1}、{-4,15, -38, 236, 62, -21, 8, -2}、{-5, 18, -43, 231, 72, -23, 8, -2}、{-6, 19, -44, 223, 84, -28, 12, -4}、{-4, 15, -40, 210, 99, -35, 15, -4}、{-3, 12, -36,195, 117, -42, 18, -5}、{-4, 15, -40, 190, 124, -42, 18, -5}、{-4, 15, -41,183, 133, -42, 16, -4}、{-4, 15, -42, 176, 142, -44, 18, -5}、{-5, 17, -42,165, 153, -45, 18, -5}、{-5, 18, -45, 153, 165, -42, 17, -5}、{-5, 18, -44,142, 176, -42, 15, -4}、{-4, 16, -42, 133, 183, -41, 15, -4}、{-5, 18, -42,124, 190, -40, 15, -4}、{-5, 18, -42, 117, 195, -36, 12, -3}、{-4, 15, -35, 99,210, -40, 15, -4}、{-4, 12, -28, 84, 223, -44, 19, -6}、{-2, 8, -23, 72, 231, -43, 18, -5}、{-2, 8, -21, 62, 236, -38, 15, -4}、{-1, 5, -16, 51, 241, -33, 12,-3}、{-2, 8, -19, 47, 242, -28, 11, -3}、{-1, 4, -11, 33, 248, -23, 8, -2}、{-2,6, -12, 28,249, -18, 7, -2}、{-1, 3, -6, 16, 253, -12, 4, -1}、{-1, 3, -6, 11,254, -7, 3, -1}、{0, 29, 44, 105, 47, 30, 1, 0}、{1, 25, 49, 96, 55, 27, 3, 0}、{1, 24, 47, 96, 57, 27, 5, -1}、{0, 24, 45, 97, 58, 28, 5, -1}、{-1, 25, 42,98, 58, 30, 5, -1}、{-1, 24, 41, 97, 60, 30, 6, -1}、{-2, 25, 38, 97, 62, 30,8, -2}、{-2, 24, 37, 96, 64, 30, 9, -2}、{-2, 23, 36, 95, 66, 30, 10, -2}、{-2,21, 37, 92, 69, 31, 10, -2}、{-2, 20, 36, 91, 71, 31, 11, -2}、{0, 16, 39, 85,74, 32, 11, -1}、{-1, 17, 36, 86, 75, 32, 12, -1}、{0, 13, 39, 82, 77, 35, 10,0}、{0, 12, 38, 81, 79, 35, 11, 0}、{0, 12, 36, 80, 80, 36, 12, 0}、{0, 11, 35,79, 81, 38, 12, 0}、{0, 10, 35, 77, 82, 39, 13, 0}、{-1, 12, 32, 75, 86, 36,17, -1}、{-1, 11, 32, 74, 85, 39, 16, 0}、{-2, 11, 31, 71, 91, 36, 20, -2}、{-2,10, 31, 69, 92, 37, 21, -2}、{-2, 10, 30, 66, 95, 36, 23, -2}、{-2, 9, 30, 64,96, 37, 24, -2}、{-2, 8, 30, 62, 97, 38, 25, -2}、{-1, 6, 30, 60, 97, 41, 24, -1}、{-1, 5, 30, 58, 98, 42, 25, -1}、{-1, 5, 28, 58, 97, 45, 24, 0}、{-1, 5, 27,57, 96, 47, 24, 1}、{0,3, 27, 55, 96, 49, 25, 1}、{0, 1, 30, 47, 105, 44, 29,0}、{13, -38, 56, 194, 56, -38, 13, 0,}、{13, -38, 52, 193, 62, -38, 11, 1,}、{13, -36, 44, 193, 69, -37, 8, 2,}、{12, -34, 39, 192, 74, -36, 7, 2,}、{13,-33, 32, 192, 79, -36, 6, 3,}、{12, -30, 26, 190, 86, -36, 4, 4,}、{12, -29,21, 188, 92, -35, 3, 4,}、{14, -28, 15, 185, 97, -35, 2, 6,}、{13, -26, 11,182, 103, -34, 1, 6,}、{13, -23, 4, 180, 109, -34, 0, 7,}、{13, -23, 2, 175,115, -31, -2, 7,}、{12, -20, -3, 172, 121, -30, -4, 8,}、{11, -18, -7, 168,128, -28, -6, 8,}、{11, -16, -11, 164, 133, -27, -7, 9,}、{11, -15, -14, 159,139, -25, -8, 9,}、{10, -13, -17, 155, 144, -23, -9, 9,}、{9, -11, -20, 150,150, -20, -11, 9,}、{9, -9, -23, 144, 155, -17, -13, 10,}、{9, -8, -25, 139,159, -14, -15, 11,}、{9, -7, -27, 133, 164, -11, -16, 11,}、{8, -6, -28, 128,168, -7, -18, 11,}、{8, -4, -30, 121, 172, -3, -20, 12,}、{7, -2, -31, 115,175, 2, -23, 13,}、{7, 0, -34, 109, 180, 4, -23, 13,}、{6, 1, -34, 103, 182,11, -26, 13,}、{6, 2, -35, 97, 185,15, -28, 14,}、{4, 3, -35, 92, 188, 21, -29, 12,}、{4, 4, -36, 86, 190, 26, -30, 12,}、{3, 6, -36, 79, 192, 32, -33,13,}、{2, 7, -36, 74, 192, 39, -34, 12,}、{2, 8, -37, 69, 193, 44, -36, 13,}、{1, 11, -38, 62, 193, 52, -38, 13,}、{-21, 7, 74, 136, 74, 7, -21, 0,}、{-20, 5, 69, 140, 75, 8, -20, -1,}、{-19, 3, 66, 140, 78, 9, -19, -2,}、{-17,1, 62, 141, 80, 8, -17, -2,}、{-16, 1, 59, 138, 82, 10, -15, -3,}、{-16, -1,57, 138, 86, 11, -15, -4,}、{-11, -6, 57, 131, 91, 10, -13, -3,}、{-9, -8,53, 131, 94, 10, -12, -3,}、{-8, -9, 49, 131, 97, 11, -12, -3,}、{-13, -8,50, 130, 100, 18, -15, -6,}、{-10, -9, 46, 128, 102, 17, -14, -4,}、{-11, -10, 44, 127, 106, 21, -15, -6,}、{-9, -12, 41, 126, 109, 21, -15, -5,}、{-10,-12, 40, 123, 111, 26, -15, -7,}、{-9, -13, 38, 120, 113, 29, -14, -8,}、{-8,-14, 35, 120, 115, 29, -14, -7,}、{-7, -13, 32, 116, 116, 32, -13, -7,}、{-7,-14, 29, 115, 120, 35, -14, -8,}、{-8, -14, 29, 113, 120, 38, -13, -9,}、{-7,-15, 26, 111, 123, 40, -12, -10,}、{-5, -15, 21,109, 126, 41, -12, -9,}、{-6, -15, 21, 106, 127, 44, -10, -11,}、{-4, -14, 17, 102, 128, 46, -9, -10,}、{-6, -15, 18, 100, 130, 50, -8, -13,}、{-3, -12, 11, 97, 131, 49, -9, -8,}、{-3, -12, 10, 94, 131, 53, -8, -9,}、{-3, -13, 10, 91, 131, 57, -6, -11,}、{-4, -15, 11, 86, 138, 57, -1, -16,}、{-3, -15, 10, 82, 138, 59, 1, -16,}、{-2,-17, 8, 80, 141, 62, 1, -17,}、{-2, -19, 9, 78, 140, 66, 3, -19,}、{-1, -20,8, 75, 140, 69, 5, -20,}、{-4, -20, 64, 167, 73, -19, -5, 0}、{-1, -20, 58,164, 77, -19, -4, 1}、{-1, -20, 53, 165, 81, -18, -5, 1}、{0, -19, 49, 161, 84,-15, -5, 1}、{0, -19, 45, 160, 89, -14, -6, 1}、{1, -20, 42, 157, 95, -13, -8,2}、{1, -19, 37, 157, 98, -12, -8, 2}、{1, -18, 33, 154, 103, -10, -9, 2}、{1, -18, 31, 151, 107, -8, -11, 3}、{1, -19, 26, 152, 113, -7, -12, 2}、{1, -19, 23,151, 116, -6, -12, 2}、{3, -17, 18, 145, 120, -4, -13, 4}、{3, -17, 16, 142,123, -1, -14, 4}、{4, -17, 11, 141, 127, 0, -14, 4}、{4, -17, 9, 137, 131, 4, -16, 4}、{4, -16, 4, 131, 137, 9, -17, 4}、{4, -14, 0, 127,141, 11, -17, 4}、{4,-14, -1, 123, 142, 16, -17, 3}、{4, -13, -4, 120, 145, 18, -17, 3}、{2, -12, -6, 116, 151, 23, -19, 1}、{2, -12, -7, 113, 152, 26, -19, 1}、{3, -11, -8, 107,151, 31, -18, 1}、{2, -9, -10, 103, 154, 33, -18, 1}、{2, -8, -12, 98, 157, 37,-19, 1}、{2, -8, -13, 95, 157, 42, -20, 1}、{1, -6, -14, 89, 160, 45, -19, 0}、{1, -5, -15, 84, 161, 49, -19, 0}、{1, -5, -18, 81, 165, 53, -20, -1}、{1, -4,-19, 77, 164, 58, -20, -1}、{0, -5, -19, 73, 167, 64, -20, -4}、{-15, 9, 75,118, 75, 9, -15, 0}、{-14, 7, 70, 123, 75, 9, -13, -1}、{-18, 7, 69, 125, 79,14, -18, -2}、{-17, 5, 66, 126, 81, 14, -16, -3}、{-16, 3, 63, 127, 83, 15, -16, -3}、{-17, 3, 60, 128, 85, 17, -16, -4}、{-16, 3, 56, 127, 86, 19, -14, -5}、{-15, 0, 56, 124, 90, 21, -15, -5}、{-16, 1, 53, 124, 90, 25, -15, -6}、{-15, 0, 51, 121, 93, 26, -13, -7}、{-16, -2, 52, 118, 97, 29, -13, -9}、{-15, -4, 51, 116, 99, 31, -13, -9}、{-15, -4, 47, 116, 102, 31, -10, -11}、{-15, -4,45, 114, 103, 34, -9, -12}、{-14, -5, 43, 112, 104, 37, -9, -12}、{-13,-7, 42,110, 106, 39, -9, -12}、{-13, -9, 41, 109, 109, 41, -9, -13}、{-12, -9, 39,106, 110, 42, -7, -13}、{-12, -9, 37, 104, 112, 43, -5, -14}、{-12, -9, 34,103, 114, 45, -4, -15}、{-11, -10, 31, 102, 116, 47, -4, -15}、{-9, -13, 31,99, 116, 51, -4, -15}、{-9, -13, 29, 97, 118, 52, -2, -16}、{-7, -13, 26, 93,121, 51, 0, -15}、{-6, -15, 25, 90, 124, 53, 1, -16}、{-5, -15, 21, 90, 124,56, 0, -15}、{-5, -14, 19, 86, 127, 56, 3, -16}、{-4, -16, 17, 85, 128, 60, 3,-17}、{-3, -16, 15, 83, 127, 63, 3, -16}、{-3, -16, 14, 81, 126, 66, 5, -17}、{-2, -18, 14, 79, 125, 69, 7, -18}、{-1, -13, 9, 75, 123, 70, 7, -14}、{0, 1, -2,3, -7, 255, 8, -3, 2, -1, 0, 0}、{-1, 3, -4, 6, -14, 254, 17, -8, 5, -3, 1,0}、{-1, 3, -5, 9, -21, 253, 25, -10, 5, -3, 1, 0}、{-1, 4, -8, 13, -26, 249,34, -14, 8, -4, 1, 0}、{-2, 6, -10, 16, -32, 246, 44, -18, 9, -4, 1, 0}、{-1,4, -9, 18, -39, 235, 65, -26, 13, -6, 3, -1}、{-2, 6, -12, 22, -44, 230, 75, -28, 14, -7, 3, -1}、{-2, 6, -12, 23, -47, 224, 85, -31, 15, -7, 3, -1}、{-2, 7,-13, 23, -48,216, 97, -36, 18, -9, 4, -1}、{-2, 6, -12, 23, -49, 209, 106, -37, 19, -10, 4, -1}、{-3, 8, -14, 26, -52, 200, 119, -42, 22, -12, 6, -2}、{-2,6, -12, 24, -51, 191, 129, -43, 22, -12, 6, -2}、{-2, 7, -14, 25, -50, 180,141, -46, 23, -12, 6, -2}、{-2, 6, -12, 24, -50, 171, 151, -47, 23, -12, 6, -2}、{-2, 6, -12, 23, -47, 151, 171, -50, 24, -12, 6, -2}、{-2, 6, -12, 23, -46,141, 180, -50, 25, -14, 7, -2}、{-2, 6, -12, 22, -43, 129, 191, -51, 24, -12,6, -2}、{-2, 6, -12, 22, -42, 119, 200, -52, 26, -14, 8, -3}、{-1, 4, -10, 19,-37, 106, 209, -49, 23, -12, 6, -2}、{-1, 4, -9, 18, -36, 97, 216, -48, 23, -13, 7, -2}、{-1, 3, -7, 15, -31, 85, 224, -47, 23, -12, 6, -2}、{-1, 3, -7, 14,-28, 75, 230, -44, 22, -12, 6, -2}、{-1, 3, -6, 13, -26, 65, 235, -39, 18, -9,4, -1}、{0, 1, -4, 9, -18, 44, 246, -32, 16, -10, 6, -2}、{0, 1, -4, 8, -14,34, 249, -26, 13, -8, 4, -1}、{0, 1, -3, 5, -10, 25, 253, -21, 9, -5, 3, -1}、{0, 1, -3, 5, -8, 17, 254, -14, 6, -4, 3, -1}、{0, 0, -1, 2, -3, 8, 255, -7,3, -2, 1, 0}、{0, 10, -12,-19, 70, 158, 70, -19, -12, 10, 0, 0}、{0, 10, -9, -22, 62, 156, 79, -17, -13, 9, 1, 0}、{-1, 10, -8, -22, 54, 155, 87, -13, -16,9, 2, -1}、{-2, 10, -5, -23, 46, 152, 95, -9, -18, 9, 2, -1}、{-2, 9, -4, -23,39, 150, 103, -6, -20, 8, 4, -2}、{-2, 8, -1, -24, 33, 144, 111, -2, -20, 6,5, -2}、{-3, 9, -1, -24, 26, 142, 117, 4, -22, 5, 5, -2}、{-3, 8, 0, -23, 20,137, 123, 10, -23, 4, 5, -2}、{-2, 6, 3, -25, 16, 130, 130, 16, -25, 3, 6, -2}、{-2, 5, 4, -23, 10, 123, 137, 20, -23, 0, 8, -3}、{-2, 5, 5, -22, 4, 117,142, 26, -24, -1, 9, -3}、{-2, 5, 6, -20, -2, 111, 144, 33, -24, -1, 8, -2}、{-2, 4, 8, -20, -6, 103, 150, 39, -23, -4, / 9, -2}、{-1, 2, 9, -18, -9, 95, 152,46, -23, -5, 10, -2}、{-1, 2, 9, -16, -13, 87, 155, 54, -22, -8, 10, -1}、{0,1, 9, -13, -17, 79, 156, 62, -22, -9, 10, 0}、{4, -7, -17, 13, 73, 124, 73,13, -17, -7, 4, 0}、{3, -7, -17, 9, 72, 122, 81, 15, -16, -9, 3, 0}、{3, -5, -16, 6, 66, 120, 85, 18, -15, -10, 3, 1}、{3, -6, -17, 3, 64, 120, 90, 23, -15,-11, 1, 1}、{2, -3, -15, 0, 58, 117, 93,25, -13, -10, 1, 1}、{4, -4, -16, -2,54, 116, 96, 31, -14, -12, 0, 3}、{4, -3, -14, -6, 49, 114, 101, 32, -12, -12,0, 3}、{4, -3, -13, -7, 45, 110, 103, 38, -11, -12, -2, 4}、{2, 0, -14, -9, 42,107, 107, 42, -9, -14, 0, 2}、{4, -2, -12, -11, 38, 103, 110, 45, -7, -13, -3,4}、{3, 0, -12, -12, 32, 101, 114, 49, -6, -14, -3, 4}、{3, 0, -12, -14, 31,96, 116, 54, -2, -16, -4, 4}、{1, 1, -10, -13, 25, 93, 117, 58, 0, -15, -3,2}、{1, 1, -11, -15, 23, 90, 120, 64, 3, -17, -6, 3}、{1, 3, -10, -15, 18, 85,120, 66, 6, -16, -5, 3}、{0, 3, -9, -16, 15, 81, 122, 72, 9, -17, -7, 3}、{5, -5, -17, 9, 78, 116, 78, 9, -17, -5, 5, 0}、{5, -4, -18, 7, 73, 116, 82, 14, -18, -6, 4, 1}、{5, -4, -17, 4, 69, 115, 86, 17, -17, -7, 4, 1}、{5, -3, -17, 1,64, 115, 90, 21, -17, -8, 3, 2}、{4, -2, -15, -2, 59, 114, 93, 24, -15, -8, 2,2}、{4, -1, -15, -5, 55, 113, 96, 29, -15, -10, 3, 2}、{4, 0, -15, -7, 51, 110,100, 33, -14, -11, 2, 3}、{3, 1, -13, -9, 45, 108, 104, 36, -12, -11, 1, 3}、{3, 1, -13, -10, 42, 105, 105, 42, -10, -13, 1,3}、{3, 1, -11, -12, 36, 104,108, 45, -9, -13, 1, 3}、{3, 2, -11, -14, 33, 100, 110, 51, -7, -15, 0, 4}、{2,3, -10, -15, 29, 96, 113, 55, -5, -15, -1, 4}、{2, 2, -8, -15, 24, 93, 114,59, -2, -15, -2, 4}、{2, 3, -8, -17, 21, 90, 115, 64, 1, -17, -3, 5}、{1, 4, -7, -17, 17, 86, 115, 69, 4, -17, -4, 5}、{1, 4, -6, -18, 14, 82, 116, 73, 7, -18, -4, 5}、{-1, 9, -10, -21, 74, 154, 74, -21, -10, 9, -1, 0}、{-2, 9, -8, -22, 65, 155, 81, -18, -12, 9, 0, -1}、{-2, 8, -5, -24, 57, 153, 90, -15, -14,9, 0, -1}、{-1, 8, -5, -25, 52, 148, 97, -10, -17, 8, 2, -1}、{-2, 8, -5, -23,45, 144, 104, -3, -20, 6, 4, -2}、{-2, 6, 0, -25, 35, 144, 112, -2, -20, 7, 3,-2}、{-2, 6, 1, -25, 28, 140, 119, 3, -22, 6, 4, -2}、{-1, 3, 4, -23, 18, 137,126, 6, -21, 6, 2, -1}、{-1, 2, 6, -22, 10, 133, 133, 10, -22, 6, 2, -1}、{-1,2, 6, -21, 6, 126, 137, 18, -23, 4, 3, -1}、{-2, 4, 6, -22, 3, 119, 140, 28, -25, 1, 6, -2}、{-2, 3, 7, -20, -2, 112, 144, 35, -25, 0, 6, -2}、{-2, 4, 6, -20, -3, 104, 144, 45, -23, -5, 8, -2}、{-1, 2, 8, -17, -10,97, 148, 52, -25,-5, 8, -1}、{-1, 0, 9, -14, -15, 90, 153, 57, -24, -5, 8, -2}、{-1, 0, 9, -12,-18, 81, 155, 65, -22, -8, 9, -2}、{-3, -14, 10, 77, 116, 77, 10, -14, -3, 0}、{-4, -15, 8, 73, 116, 82, 14, -15, -5, 2}、{-3, -15, 5, 69, 115, 86, 18, -15,-6, 2}、{-2, -15, 2, 65, 114, 89, 22, -14, -7, 2}、{-1, -14, -1, 60, 113, 93,26, -14, -8, 2}、{-1, -14, -3, 56, 112, 96, 30, -13, -9, 2}、{0, -13, -5, 51,110, 100, 34, -12, -10, 1}、{0, -13, -7, 47, 108, 103, 38, -10, -11, 1}、{1, -12, -9, 43, 105, 105, 43, -9, -12, 1}、{1, -11, -10, 38, 103, 108, 47, -7, -13, 0}、{1, -10, -12, 34, 100, 110, 51, -5, -13, 0}、{2, -9, -13, 30, 96, 112,56, -3, -14, -1}、{2, -8, -14, 26, 93, 113, 60, -1, -14, -1}、{2, -7, -14, 22,89, 114, 65, 2, -15, -2}、{2, -6, -15, 18, 86, 115, 69, 5, -15, -3}、{2, -5, -15, 14, 82, 116, 73, 8, -15, -4}、{6, -10, -19, 74, 154, 74, -19, -10, 6, 0}、{8, -8, -22, 66, 153, 82, -18, -13, 8, 0}、{7, -6, -24, 58, 152, 90, -14, -15,8, 0}、{7, -5, -25, 51, 150, 97, -11, -17, 8, 1}、{6, -2, -26, 43, 147,105, -7, -19, 7, 2}、{6, -1, -26, 35, 144, 112, -2, -21, 7, 2}、{5, 1, -26, 28, 140,118, 3, -22, 6, 3}、{5, 2, -26, 22, 135, 125, 9, -24, 5, 3}、{4, 4, -25, 15,130, 130, 15, -25, 4, 4}、{3, 5, -24, 9, 125, 135, 22, -26, 2, 5}、{3, 6, -22,3, 118, 140, 28, -26, 1, 5}、{2, 7, -21, -2, 112, 144, 35, -26, -1, 6}、{2, 7,-19, -7, 105, 147, 43, -26, -2, 6}、{1, 8, -17, -11, 97, 150, 51, -25, -5, 7}、{0, 8, -15, -14, 90, 152, 58, -24, -6, 7}、{0, 8, -13, -18, 82, 153, 66, -22,-8, 8}、{0, 0, 0, 0, 256, 0, 0, 0, 0, 0}、{2, -3, 6, -14, 254, 16, -7, 4, -2,0}、{3, -6, 12, -26, 249, 34, -14, 7, -4, 1}、{4, -9, 17, -36, 241, 54, -22,11, -6, 2}、{5, -11, 20, -43, 230, 75, -29, 15, -8, 2}、{5, -12, 23, -48, 216,96, -36, 18, -9, 3}、{5, -13, 25, -51, 200, 118, -42, 21, -11, 4}、{5, -13, 25,-51, 181, 140, -46, 23, -12, 4}、{5, -13, 25, -50, 161, 161, -50, 25, -13, 5}、{4, -12, 23, -46, 140, 181, -51, 25, -13, 5}、{4, -11, 21, -42, 118, 200, -51,25, -13, 5}、{3, -9, 18, -36, 96, 216, -48, 23, -12, 5}、{2, -8, 15, -29, 75,230,-43, 20, -11, 5}、{2, -6, 11, -22, 54, 241, -36, 17, -9, 4}、{1, -4, 7, -14, 34, 249, -26, 12, -6, 3}、{0, -2, 4, -7, 16, 254, -14, 6, -3, 2}、{-2, -14,10, 76, 116, 76, 10, -14, -2, 0}、{-2, -14, 7, 73, 115, 81, 13, -14, -3, 0}、{-2, -13, 4, 68, 115, 85, 17, -14, -4, 0}、{-1, -13, 1, 64, 114, 89, 20, -14, -4, 0}、{-1, -13, -1, 59, 114, 93, 24, -13, -6, 0}、{0, -12, -3, 54, 111, 96,28, -12, -6, 0}、{0, -10, -7, 51, 109, 99, 32, -11, -8, 1}、{1, -12, -6, 45,107, 103, 36, -10, -8, 0}、{1, -9, -9, 41, 104, 104, 41, -9, -9, 1}、{0, -8, -10, 36, 103, 107, 45, -6, -12, 1}、{1, -8, -11, 32, 99, 109, 51, -7, -10, 0}、{0, -6, -12, 28, 96, 111, 54, -3, -12, 0}、{0, -6, -13, 24, 93, 114, 59, -1, -13, -1}、{0, -4, -14, 20, 89, 114, 64, 1, -13, -1}、{0, -4, -14, 17, 85, 115,68, 4, -13, -2}、{0, -3, -14, 13, 81, 115, 73, 7, -14, -2}、{0, 0, 0, 0, 256,0, 0, 0, 0, 0}、{3, -6, 9, -16, 253, 19, -11, 6, -2, 1}、{3, -7, 13, -27, 248,36, -16, 8, -4, 2}、{3, -7, 16, -36, 240, 53, -21, 10, -4, 2}、{3, -8, 19, -44,231, 72, -26, 12,, 2}、{5, -11, 22, -49, 217, 94, -34, 16, -8, 4}、{5, -12,24, -52, 202, 114, -38, 19, -11, 5}、{6, -14, 26, -52, 182, 136, -43, 22, -13,6}、{6, -13, 24, -50, 161, 161, -50, 24, -13, 6}、{6, -13, 22, -43, 136, 182, -52, 26, -14, 6}、{5, -11, 19, -38, 114, 202, -52, 24, -12, 5}, {4, -8, 16, -34,94, 217, -49, 22, -11, 5}, {2, -5, 12, -26, 72, 231, -44, 19, -8, 3}, {2, -4,10, -21, 53, 240, -36, 16, -7, 3}, {2, -4, 8, -16, 36, 248, -27, 13, -7, 3}, or {1, -2, 6, -11, 19, 253, -16, 9, -6, 3}.

2. The method according to claim 1, wherein: samples having said first set of values ​​are located at non-fractional sample locations, and Samples having the second set of values ​​are located at fractional sample positions.

3. The method according to claim 1 or 2, wherein: the samples having the first set of values ​​include a first sample located at a non-fractional sample position, the samples having the second set of values ​​include second samples located at fractional sample positions, The fractional sample position is determined based on at least the non-fractional sample position and the fractional value, and The fractional value is associated with a set of 6, 8, 10 or 12 coefficient values ​​selected from the group of coefficient values ​​±2.

4. The method according to claim 3, wherein: The fractional sample position=the non-fractional sample position+(the fractional value×the distance between samples).

5. The method according to claim 3 or 4, wherein: The fractional value is any one of 0 / 16, 1 / 16, 2 / 16, 3 / 16 ... 15 / 16, 0 / 32, 1 / 32, 2 / 32, 3 / 32 ... and 31 / 32.

6. A method according to any one of claims 1 to 5, comprising performing one or more of motion compensated prediction, inter prediction and intra prediction using the first set of values ​​of samples included in the first block, wherein: Performing one or more of the motion compensated prediction, the inter prediction, and the intra prediction includes interpolating the first set of values ​​using the filter.

7. The method according to any one of claims 1 to 6, comprising downsampling or upsampling the first picture using the first set of values ​​of samples included in the first block, wherein The down-sampling or the up-sampling comprises interpolating the first set of values ​​using the filter.

8. The method according to claim 6 or 7, wherein: The motion compensated prediction is motion compensated downsampling.

9. The method according to any one of claims 1 to 8, wherein: The filter length is 6 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values, The set of 6 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: , 6}, {1, -6, 256, 6, -1, 0}, {2, -11, 254, 14, -4, 1}, {4, -18, 252, 23, -6, 1}, {6, -24, 249, 32, -9, 2}, {6, -26, 244, 41, -12, 3}, {7, -30, 239, 53, -18, 5}, {8, -34, 235, 61, -19, 5}, {10, -38, 228, 72, -22, 6}, {10, -39, 220, 84, -26,7}, {10, -40, 213, 94, -29, 8}, {11, -42, , 11}, {10, -37, 128, 186, -42, 11}, {10, -35, 116, 196, -42, 11}, {9, -32, 105, 205, -42, 11}, {8, -29, 94, 95, 80, 73, 100}, {10, -37, 128, 186, -42, 11}, {10, -35, 116, 196, -42, 11}, {9, -32, 105, 205, -42, 11}, {8, -29, 94, 213, -40, 10}, {7, -26, 84, 220, -39, 10}, {6, -22, 72, 228, -38, 10}, {5, -19, 61,235, -34, 8}, {5, -18, 53, 239, -30, 7}, {3, -12, 41, 244, -26, 6}, {2, -9, 32,249, -24, 6}, {1, -6, 23, 252, -18, 4}, {1, -4, 14, 254, -11, 2}, {0, -1, 6,256, -6, 1}, where, each of said first sets of coefficient values ​​is associated with a particular score value, and The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

10. The method according to any one of claims 1 to 8, wherein: The filter length is 6 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values, The set of 6 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {0, 44, 160, 53, -2, 1}, {-2, 42, 160, 59, -4, 1}, {-2, 38, 159, 65, -5,1}, {-1, 33, 159, 68, -4, 1}, {-2, 33, 154, 74, -4, 1}, {-1, 27, 155, 78, -4,1}, {-2, 25, 153, 84, -5, 1}, {-2, 22, 151, 89, -5, 1}, {-1, 17, 151, 93, -6,2}, {-2, 16, 147, 99, -5, 1}, {-1, 14, , 0}, {1, -1, 122, 131, 3, 0}, {0, 1, 116, 132, 8, -1}, {0, 0,112, 135, 10, -1}, {1, -2, 107, 139, 12, -1}, {1, -3, 103, 142, 103 ... , 159, 38, -2}, {1, -4, 59, 160, 42, -2}, {1, -2,53, 160, 44, 0}, where, each of said first sets of coefficient values ​​is associated with a particular score value, and The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

11. The method according to any one of claims 1 to 8, wherein: The filter length is 6 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values, The set of 6 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: , -1}, {-13, 45, 151, 84, -8, -3}, {-13, 39, 154, 88, -9, -3}, {-14, 34, 156, 94, -10, -4}, {-15, 33, 152, 99, -7, -6}, {-15, 30, 150, 91, -10, -6}. , -7}, {-14, 26, 148, 107, -4, -7}, {-12, 23, 143, 110, -1, -7}, {-13, 18, 145, 116, -2, -8}, {-10, 15, 139, 118,1, -7}, {-15, 19, 134, 122, 9, -13}, {-14, 18, 129, 123, 13, -13}, {-14, 18,124, 124, 18, -14}, {-13, 13, 123, 129, 18, -14}, {-13, 9, 122, 134, , 19, -15}, {-7, 1, 118, 139, 15, -10}, {-8, -2, 116, 145, 18, -13}, {-7, -1, 110, 143, 23, -12}, {-7, -4, 107, 148, 26, -14}, {-7, -5, 103, 150, 30, -15}, {-6, -7, 99,152, 33, -15}, {-4, -10, 94, 156, 34, -14}, {-3, -9, 88, 154, 39, -13}, {-3, -8,84, 151, 45, -13}, {-2, -9, 79, 153, 47, -12}, {-2, -10, 76, 153, 52, -13}, {-1, -11, 71, 154, 56, -13}, {-1, -12, 68, 155, 59, -13}, where, each of said first sets of coefficient values ​​is associated with a particular score value, and The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

12. The method according to any one of claims 1 to 8, wherein: The filter length is 6 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 6 coefficient values, The set of 6 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: , -5}、{-5, 64, 138, 64, -5, 0}、{-8, 66, 132, 73, -6, -1}、{-9, 62, 134, 76, -5,-2}、{-10, 59, 134, 80, -4, -3}、{-10, 57, 132, 82, -2, -3}、{-10, 53, 132, 85,0, -4}、{-11, 50, 132, 89, 1, -5}、{-12, 47, 132, 93, 2, -6}、{-13, 45, 131, 96,4, -7}、{-12, 40, 131, 99, 5, , 117, 24, -13}, {-12, 21, 115, 119, 25, -12}, {-11, 18, 112, 121, 29, 29, -11}, {-12, 25, 119, 115, 21, -12}, {-13, 24, 117, 117, 24, -13}, {-12, 21, 115, 119, 25, -12}, {-11, 18, 112, 121, 29, , 9, 132, 45, -13}, {-6, 2, 93, 132, 47, -12}, {-5, 1, 89, 132, 50, -11}, {-4, 0, 85, 132, 53, -10}, {-3, -2, 6, 132, 75, -13}, {-6, 2, 93, 132, 75, -13}, {-5, 1, 89, 132, 50, -11}, {-4, 0, 85, 132, 75, -13}, {-3, -2, 82, 132, 57, -10}, {-3, -4, 80, 134, 59, -10}, {-2, -5, 76, 134, 62, -9}, {-1, -6, 73, 132, 66, -8}, among which, each of said first sets of coefficient values ​​is associated with a particular score value, and The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

13. The method according to any one of claims 1 to 8, comprising downsampling the width and / or height of the first picture by a factor of 1.5 using the first set of values ​​of samples included in the first block, wherein: The downsampling comprises interpolating the first set of values ​​using the filter, The filter length is 12 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values, The set of 12 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: , 9, 2, -1}、{0, 10, -12, -19, 70, 158, 70, -19, -12, 10, 0, 0}、{0, 10, -9, -22, 62,156, 79, -17, -13, 9, 1, 0}、{-1, 10, -8, -22, 54, 155, 87, -13, -16, 9, 2, -1}、{-2, 10, -5, -23, 46, 152, 95, -9, -18, 9, 2, -1}、{-2, 9, -4, -23, 39,150, 103, -6, -20, 8, 4, -2}、{-2, 8, -1, -24, 33, , 6, 3, -25, 16, 130, 130, 16, -25, 3, 6, -2}、{-2, 5, 4, -23, 10, 123, 137, 20, -23, 0, 8, -3}、{-2, 5, 5, -22, 4, 117, 142, 26, -24, -1, 9, -3}, {-2, 5, 6, -20, -2, 111, 144, 33, -24, -1, 8, -2}, {-2, 4, 8,-20, -6, 103, 150, 39, -23, -4, / 9, -2}, {-1, 2, 9, -18, -9, 95, 152, 46, -23,-5, 10, -2}, {-1, 2, 9, -16, -13, 87, 155, 54, -22, -8, 10, -1}, {0, 1, 9, -13,-17, 79, 156, 62, -22, -9, 10, 0}, where, each of said first sets of coefficient values ​​is associated with a particular score value, and The second set of values ​​for the second block is generated based on the first set of values ​​for the first block and a particular fractional value associated with any of the first sets of coefficient values.

14. The method according to any one of claims 1 to 8, comprising downsampling the first picture by a factor of 2 using the first set of values ​​of samples included in the first block, wherein The downsampling comprises interpolating the first set of values ​​using the filter, The filter length is 12 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values, The set of 12 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {5, -5, -17, 9, 78, 116, 78, 9, -17, -5, 5, 0}、{5, -4, -18, 7, 73, 116,82, 14, -18, -6, 4, 1}、{5, -4, -17, 4, 69, 115, 86, 17, -17, -7, 4, 1}、{5, -3, -17, 1, 64, 115, 90, 21, -17, -8, 3, 2}、{4, -2, -15, -2, 59, 114, 93, 24,-15, -8, 2, 2}、{4, -1, -15, -5, 55, 113, 96, 29, -15, -10, 3, 2}、{4, 0, -15,-7, 51, 110, 100, 33, -14, -11, 2, 3}、{3, 1, -13, -9, 45, 108, 104, 36, -12,-11, 1, 3}、{3, 1, -13, -10, 42, 105, 105, 42, -10, -13, 1, 3}、{3, 1, -11, -12, 36, 104, 108, 45, -9, -13, 1, 3}、{3, 2, -11, -14, 33, 100, 110, 51, -7, -15, 0, 4}、{2, 3, -10, -15, 29, 96, 113, 55, -5, -15, -1, 4}、{2, 2, -8, -15,24, 93, 114, 59, -2, -15, -2, 4}、{2, 3, -8, -17, 21, 90, 115, 64, 1, -17, -3,5}、{1, 4, -7, -17, 17, 86, 115, 69, 4, -17, -4, 5}、{1, 4, -6, -18, 14, 82,116, 73, 7, -18, -4, 5}。 15. The method according to any one of claims 12 and 14, comprising: Whether to perform the downsampling is determined based on a ratio between the first picture and the second picture, wherein: The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture, Wherein, determining whether to perform the downsampling based on the ratio comprises: determining whether the ratio is substantially equal to a predefined value or greater than or equal to a threshold value; and In a case where the ratio is substantially equal to the predefined value or is greater than or equal to the threshold, it is determined to perform the down-sampling.

16. The method according to any one of claims 1 to 8, comprising downsampling the first picture by a factor of 1.5 using the first set of values ​​of samples included in the first block, wherein The downsampling comprises interpolating the first set of values ​​using the filter, The filter length is 12 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 12 coefficient values, The set of 12 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {-1, 9, -10, -21, 74, 154, 74, -21, -10, 9, -1, 0}、{-2, 9, -8, -22, 65,155, 81, -18, -12, 9, 0, -1}、{-2, 8, -5, -24, 57, 153, 90, -15, -14, 9, 0, -1}、{-1, 8, -5, -25, 52, 148, 97, -10, -17, 8, 2, -1}、{-2, 8, -5, -23, 45,144, 104, -3, -20, 6, 4, -2}、{-2, 6, 0, -25, 35, 144, 112, -2, -20, 7, 3, -2}、{-2, 6, 1, -25, 28, 140, 119, 3, -22, 6, 4, -2}、{-1, 3, 4, -23, 18, 137,126, 6, -21, 6, 2, -1}、{-1, 2, 6, -22, 10, 133, 133, 10, -22, 6, 2, -1}、{-1,2, 6, -21, 6, 126, 137, 18, -23, 4, 3, -1}、{-2, 4, 6, -22, 3, 119, 140, 28, -25, 1, 6, -2}、{-2, 3, 7, -20, -2, 112, 144, 35, -25, 0, 6, -2}、{-2, 4, 6, -20, -3, 104, 144, 45, -23, -5, 8, -2}、{-1, 2, 8, -17, -10, 97, 148, 52, -25,-5, 8, -1}、{-1, 0, 9, -14, -15, 90, 153, 57, -24, -5, 8, -2}、{-1, 0, 9, -12,-18, 81, 155, 65, -22, -8, 9, -2}。 17. The method according to any one of claims 11, 13 and 16, comprising: Whether to perform the downsampling is determined based on a ratio between the first picture and the second picture, wherein: The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture, Wherein, determining whether to perform the downsampling based on the ratio comprises: determining whether the ratio is substantially equal to a predefined value or within a predefined range of values; and In a case where the ratio is substantially equal to the predefined value or is within the predefined value range, it is determined that the down-sampling is performed.

18. The method according to any one of claims 1 to 8, comprising downsampling the first picture by a factor of 2 using the first set of values ​​of samples included in the first block, wherein The downsampling comprises interpolating the first set of values ​​using the filter, The length of the filter is 10 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values, The set of 10 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {-3, -14, 10, 77, 116, 77, 10, -14, -3, 0}、{-4, -15, 8, 73, 116, 82, 14,-15, -5, 2}、{-3, -15, 5, 69, 115, 86, 18, -15, -6, 2}、{-2, -15, 2, 65, 114,89, 22, -14, -7, 2}、{-1, -14, -1, 60, 113, 93, 26, -14, -8, 2}、{-1, -14, -3,56, 112, 96, 30, -13, -9, 2}、{0, -13, -5, 51, 110, 100, 34, -12, -10, 1}、{0,-13, -7, 47, 108, 103, 38, -10, -11, 1}、{1, -12, -9, 43, 105, 105, 43, -9, -12, 1}、{1, -11, -10, 38, 103, 108, 47, -7, -13, 0}、{1, -10, -12, 34, 100,110, 51, -5, -13, 0}、{2, -9, -13, 30, 96, 112, 56, -3, -14, -1}、{2, -8, -14,26, 93, 113, 60, -1, -14, -1}、{2, -7, -14, 22, 89, 114, 65, 2, -15, -2}、{2, -6, -15, 18, 86, 115, 69, 5, -15, -3}、{2, -5, -15, 14, 82, 116, 73, 8, -15, -4}。 19. The method according to claim 18, comprising: Whether to perform the downsampling is determined based on a ratio between the first picture and the second picture, wherein: The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture, Wherein, determining whether to perform the downsampling based on the ratio comprises: determining whether the ratio is substantially equal to a predefined value or greater than or equal to a threshold value; and In a case where the ratio is substantially equal to the predefined value or is greater than or equal to the threshold, it is determined to perform the down-sampling.

20. A method according to any one of claims 1 to 8, comprising downsampling the first picture by a factor of 1.5 using the first set of values ​​of samples included in the first block, wherein The downsampling comprises interpolating the first set of values ​​using the filter, The filter length is 10 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values, The set of 10 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {6, -10, -19, 74, 154, 74, -19, -10, 6, 0}、{8, -8, -22, 66, 153, 82, -18,-13, 8, 0}、{7, -6, -24, 58, 152, 90, -14, -15, 8, 0}、{7, -5, -25, 51, 150,97, -11, -17, 8, 1}、{6, -2, -26, 43, 147, 105, -7, -19, 7, 2}、{6, -1, -26,35, 144, 112, -2, -21, 7, 2}、{5, 1, -26, 28, 140, 118, 3, -22, 6, 3}、{5, 2, -26, 22, 135, 125, 9, -24, 5, 3}、{4, 4, -25, 15, 130, 130, 15, -25, 4, 4}、{3,5, -24, 9, 125, 135, 22, -26, 2, 5}、{3, 6, -22, 3, 118, 140, 28, -26, 1, 5}、{2, 7, -21, -2, 112, 144, 35, -26, -1, 6}、{2, 7, -19, -7, 105, 147, 43, -26,-2, 6}、{1, 8, -17, -11, 97, 150, 51, -25, -5, 7}、{0, 8, -15, -14, 90, 152,58, -24, -6, 7}、{0, 8, -13, -18, 82, 153, 66, -22, -8, 8}。 21. The method according to claim 20, comprising: Whether to perform the downsampling is determined based on a ratio between the first picture and the second picture, wherein: The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture, Wherein, determining whether to perform the downsampling based on the ratio comprises: determining whether the ratio is substantially equal to a predefined value or within a predefined range of values; and In a case where the ratio is substantially equal to the predefined value or is within the predefined value range, it is determined that the down-sampling is performed.

22. A method according to any one of claims 1 to 8, comprising upsampling the first picture using the first set of values ​​of samples included in the first block, wherein: The upsampling comprises interpolating the first set of values ​​using the filter, The filter length is 10 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values, The set of 10 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {0, 0, 0, 0, 256, 0, 0, 0, 0, 0}、{2, -3, 6, -14, 254, 16, -7, 4, -2, 0}、{3, -6, 12, -26, 249, 34, -14, 7, -4, 1}、{4, -9, 17, -36, 241, 54, -22, 11, -6, 2}、{5, -11, 20, -43, 230, 75, -29, 15, -8, 2}、{5, -12, 23, -48, 216, 96, -36, 18, -9, 3}、{5, -13, 25, -51, 200, 118, -42, 21, -11, 4}、{5, -13, 25, -51,181, 140, -46, 23, -12, 4}、{5, -13, 25, -50, 161, 161, -50, 25, -13, 5}、{4, -12, 23, -46, 140, 181, -51, 25, -13, 5}、{4, -11, 21, -42, 118, 200, -51, 25,-13, 5}、{3, -9, 18, -36, 96, 216, -48, 23, -12, 5}、{2, -8, 15, -29, 75, 230,-43, 20, -11, 5}、{2, -6, 11, -22, 54, 241, -36, 17, -9, 4}、{1, -4, 7, -14,34, 249, -26, 12, -6, 3}、{0, -2, 4, -7, 16, 254, -14, 6, -3, 2}。 23. The method according to claim 22, comprising: Whether to perform the upsampling is determined based on a ratio between the first picture and the second picture, wherein: The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture, Wherein, determining whether to perform the upsampling based on the ratio comprises: determining whether the ratio is less than a predefined value; and In a case where the ratio is less than the predefined value, it is determined to perform the upsampling.

24. A method according to any one of claims 1 to 8, comprising downsampling the first picture by a factor of 2 using the first set of values ​​of samples included in the first block, wherein: The downsampling comprises interpolating the first set of values ​​using the filter, The filter length is 10 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values, The set of 10 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {-2, -14, 10, 76, 116, 76, 10, -14, -2, 0}、{-2, -14, 7, 73, 115, 81, 13,-14, -3, 0}、{-2, -13, 4, 68, 115, 85, 17, -14, -4, 0}、{-1, -13, 1, 64, 114,89, 20, -14, -4, 0}、{-1, -13, -1, 59, 114, 93, 24, -13, -6, 0}、{0, -12, -3,54, 111, 96, 28, -12, -6, 0}、{0, -10, -7, 51, 109, 99, 32, -11, -8, 1}、{1, -12, -6, 45, 107, 103, 36, -10, -8, 0}、{1, -9, -9, 41, 104, 104, 41, -9, -9,1}、{0, -8, -10, 36, 103, 107, 45, -6, -12, 1}、{1, -8, -11, 32, 99, 109, 51, -7, -10, 0}、{0, -6, -12, 28, 96, 111, 54, -3, -12, 0}、{0, -6, -13, 24, 93,114, 59, -1, -13, -1}、{0, -4, -14, 20, 89, 114, 64, 1, -13, -1}、{0, -4, -14,17, 85, 115, 68, 4, -13, -2}。 25. The method according to claim 24, comprising: Whether to perform the downsampling is determined based on a ratio between the first picture and the second picture, wherein: The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture, Wherein, determining whether to perform the downsampling based on the ratio comprises: determining whether the ratio is substantially equal to a predefined value or greater than or equal to a threshold value; and In a case where the ratio is substantially equal to the predefined value or is greater than or equal to the threshold, it is determined to perform the down-sampling.

26. A method according to any one of claims 1 to 8, comprising upsampling the first picture using the first set of values ​​of samples included in the first block, wherein: The upsampling comprises interpolating the first set of values ​​using the filter, The filter length is 10 taps, The set of 6, 8, 10 or 12 coefficient values ​​is a set of 10 coefficient values, The set of 10 coefficient values ​​is selected from a first group of coefficient values ​​±2, and The first set of coefficient values ​​includes: {0, 0, 0, 0, 256, 0, 0, 0, 0, 0}、{3, -6, 9, -16, 253, 19, -11, 6, -2, 1}、{3, -7, 13, -27, 248, 36, -16, 8, -4, 2}、{3, -7, 16, -36, 240, 53, -21, 10, -4, 2}、{3, -8, 19, -44, 231, 72, -26, 12, -5, 2}、{5, -11, 22, -49, 217, 94, -34, 16, -8, 4}、{5, -12, 24, -52, 202, 114, -38, 19, -11, 5}、{6, -14, 26, -52,182, 136, -43, 22, -13, 6}、{6, -13, 24, -50, 161, 161, -50, 24, -13, 6}、{6, -13, 22, -43, 136, 182, -52, 26, -14, 6}、{5, -11, 19, -38, 114, 202, -52, 24,-12, 5}、{4, -8, 16, -34, 94, 217, -49, 22, -11, 5}、{2, -5, 12, -26, 72, 231,-44, 19, -8, 3}、{2, -4, 10, -21, 53, 240, -36, 16, -7, 3}、{2, -4, 8, -16, 36,248, -27, 13, -7, 3}、or{1, -2, 6, -11, 19, 253, -16, 9, -6, 3}。 27. The method according to any one of claims 8 or 26, comprising: Whether to perform the upsampling is determined based on a ratio between the first picture and the second picture, wherein: The ratio between the first picture and the second picture is one of a ratio between a resolution of the first picture and a resolution of the second picture, a ratio between a width of the first picture and a width of the second picture, or a ratio between a height of the first picture and a height of the second picture, Wherein, determining whether to perform the upsampling based on the ratio comprises: determining whether the ratio is less than a predefined value; and In a case where the ratio is less than the predefined value, it is determined to perform the upsampling.

28. The method according to any one of claims 1 to 27, comprising: selecting a length of the filter based on characteristics of reconstructed samples included in the first picture or the second picture; as well as A set of coefficients is selected based on the selected filter length.

29. The method according to claim 28, wherein: The characteristic of the reconstructed samples is frequency information.

30. The method of claim 29, wherein: In a case where the frequency information indicates a first frequency, selecting a first length as the length of the filter, In the case where the frequency information indicates a second frequency, selecting a second length as the length of the filter, The second length is longer than the first length, and The second frequency is higher than the first frequency.

31. The method of claim 28, wherein: The characteristics of the reconstructed sample are one or more of the following: i) the resolution of the first image, ii) the chroma format of the first picture, iii) a quantization parameter QP of the first picture, or iv) The QP of the first block.

32. A computer program (1443) comprising instructions (1444) which, when executed by a processing circuit (1402), cause the processing circuit to perform a method according to any one of claims 1 to 31.

33. A carrier comprising a computer program according to claim 32, wherein: The carrier is one of an electric signal, an optical signal, a radio signal and a computer-readable storage medium.

34. An apparatus (1400) for encoding or decoding a video, the apparatus being configured to perform the method according to any one of claims 1 to 31.

35. An apparatus (1400), the apparatus comprising: memory (1441); as well as A processing circuit (1402) coupled to the memory, wherein the apparatus is configured to perform the method according to any one of claims 1 to 31.