Resolution Adaptive Video Coding

Interframe adaptive resolution changes in video coding through motion predictive resizing of frame motion information address bandwidth challenges, reducing computational costs and time in video decoding.

JP7539928B2Active Publication Date: 2024-08-26CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021568957
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2019-07-09
Publication Date
2024-08-26
Estimated Expiration
2039-07-09

AI Technical Summary

Technical Problem

Traditional video coding formats face challenges in adapting frame resolution changes efficiently, leading to increased bandwidth consumption when network bandwidth is limited, as they require generating new video sequences, which is costly.

Method used

Implementing interframe adaptive resolution changes using motion predictive coding, where motion information is resized based on the ratio of frame resolutions, reducing the need for extensive interpolation filtering.

Benefits of technology

This approach significantly reduces computational costs and time by minimizing the application of interpolation filters, allowing efficient bandwidth adaptation and decoding of video frames.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007539928000002
    Figure 0007539928000002
  • Figure 0007539928000001
    Figure 0007539928000001
  • Figure 0007539928000007
    Figure 0007539928000007
Patent Text Reader

Abstract

A system and method for implementing inter-coded resolution-adaptive video coding supported by resizing motion information of a current frame during motion prediction is provided, which reduces the extensive computational costs and computational time that would otherwise result from extensive application of interpolation filters to sub-pixel granularity for generating image information of a reference frame, thereby reducing the overall computational costs and computational time of decoding. The method and system described herein includes determining a ratio of a resolution of a reference frame to a resolution of a current frame, determining a motion vector for a block of the current frame and calculating at least one pixel coordinate corresponding to the motion vector of the block of the current frame, resizing the motion information of the block of the current frame according to the ratio according to the resolution of the reference frame, locating a predictive block of the reference frame according to the resized motion information, and subsequently generating sub-pixel values ​​of the predictive block while minimizing or avoiding application of an interpolation filter to the block at the scaled coordinates of the reference frame.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to resolution adaptive video coding. [Background technology]

[0002] In conventional video coding formats, such as the H.264 / AVC (Advanced Video Coding) and H.265 / HEVC (High Efficiency Video Coding) standards, the size and resolution of video frames in a sequence are recorded in a header at the sequence level. Thus, changing frame resolution requires generating a new video sequence, starting with intra-coded frames, which entail a significantly larger bandwidth cost to transmit than inter-coded frames. As a result, it is desirable to adaptively transmit downsampled, lower resolution video over the network when network bandwidth is low, reduced, or suppressed, but achieving bandwidth savings while using conventional video coding formats is difficult because the bandwidth cost of adaptively downsampling offsets the bandwidth increase.

[0003] Research is being done to support resolution changes while transmitting inter-coded frames. The implementation of the AV1 codec developed by AOM provides a new frame type called switch_frame, which may be transmitted at a different resolution than the previous frame. However, there are limitations to the use of switch_frame, since the motion vector coding of switch_frame cannot reference the motion vectors of the previous frame. Such references traditionally provide another way to reduce bandwidth costs, so the use of switch_frame still maintains a larger bandwidth consumption that offsets the bandwidth increase.

[0004] The development of the next-generation video codec specification VVC / H.266 provides several new motion prediction coding tools to further support motion vector coding with reference to previous frames. With these new coding tools, new techniques are needed to implement resolution changes in video sequences. [Brief description of the drawings]

[0005] The detailed description will now be described with reference to the accompanying drawings, in which the leftmost digit(s) of a reference number identifies the figure in which this reference number first appears. Use of the same reference number in different figures indicates similar or identical items or features.

[0006] [Figure 1] 1 shows an example block diagram of a video coding process, according to an example embodiment of the present disclosure. [Diagram 2] 1 shows an example of motion estimation by upsampling a reference frame. [Diagram 3] 1 illustrates a flowchart of a video coding method implementing resolution adaptive video coding, according to an exemplary embodiment of the present disclosure. [Figure 4A] 1 illustrates an example of motion prediction without reference frame resizing, according to an exemplary embodiment of the present disclosure. [Figure 4B] 1 illustrates an example of motion prediction without reference frame resizing, according to an exemplary embodiment of the present disclosure. [Figure 4C] 1 illustrates an example of motion prediction without reference frame resizing, according to an exemplary embodiment of the present disclosure. [Diagram 5] 1 illustrates an example system for implementing the processes and methods described herein for implementing resolution adaptive video coding. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] The systems and methods discussed herein are directed to implementing inter-frame adaptive resolution change in a video encoder, and more specifically, to implementing resizing of frame motion information to enable inter-frame adaptive resolution change based on motion-prediction video coding standards.

[0008] According to an exemplary embodiment of the present disclosure implemented to be compatible with AVC, HEVC, VVC, and such video coding standards implementing motion prediction, a frame may be subdivided into macroblocks (MBs), each having a dimension of 16x16 pixels, which may be further subdivided into partitions. According to an exemplary embodiment of the present disclosure implemented to be compatible with the HEVC standard, a frame may be subdivided into coding tree units (CTUs), whose luma and chroma components may be further subdivided into coding tree blocks (CTBs), which may be further subdivided into coding units (CUs). According to an exemplary embodiment of the present disclosure implemented as other standards, a frame may be subdivided into units of NxN pixels, which may then be further subdivided into subunits. Each of these largest units of a subdivided frame may be generally referred to as a "block" for purposes of this disclosure.

[0009] According to an exemplary embodiment of the present disclosure, a block may be subdivided into partitions having dimensions that are multiples of 4x4 pixels. For example, a partition of a block may have dimensions of 8x4 pixels, 4x8 pixels, 8x8 pixels, 16x8 pixels, or 8x16 pixels.

[0010] According to an exemplary embodiment of the present disclosure, a motion prediction coding format may refer to a data format in which a frame is encoded with motion vector information and prediction information of the frame by including one or more references to motion information of one or more other frames and prediction units (PUs). Motion information may refer to data describing the motion of a block structure of a frame or its units or subunits, such as motion vectors and references to blocks of a current frame or another frame. A PU may refer to a unit or multiple subunits corresponding to a block structure among multiple block structures of a frame, such as an MB or CTU, and the blocks are divided based on the frame data and coded according to an established video codec. The motion information corresponding to a PU may describe a motion prediction encoded by any motion vector coding tool, including but not limited to those described herein.

[0011] Similarly, a frame may be encoded with transformation information by including one or more transform units (TUs). The transformation information may refer to coefficients that represent one of several spatial transformations, such as a diagonal flip, a vertical flip, or a rotation, that may be applied to a sub-block.

[0012] The subblocks of a CU, such as a PU and a TU, may be arranged in any combination of subblock dimensions as described above. A CU may be subdivided into a residual quadtree (RQT), which is a hierarchical structure of TUs. The RQT provides a motion prediction and residual coding order on the subblocks of each level, recursively descending each level of the RQT.

[0013] A video encoder with motion predictive coding can obtain images from a video source and code frames to obtain reconstructed frames that can be output for transmission. The blocks of the reconstructed frames can be intra-coded or inter-coded.

[0014] FIG. 1 shows an example block diagram of a video coding process 100 according to an example embodiment of this disclosure.

[0015] In the video coding process 100, an image from a video source 102 may be encoded to generate a reconstructed frame, which may be output at a destination such as a reference frame buffer 104 or a transmission buffer. The image may be input to a coding loop, which may include inputting the image to a first in-loop upsampler or downsampler 106, generating an upsampled or downsampled image, inputting the upsampled or downsampled image to a video encoder 108, generating a reconstructed frame based on a previous reconstructed frame in the reference frame buffer 104, inputting the reconstructed frame to one or more in-loop filters 110, and outputting the reconstructed frame from the loop, which may include inputting the reconstructed frame to a second upsampler or downsampler 114, generating an upsampled or downsampled reconstructed frame, and outputting the upsampled or downsampled reconstructed frame to the reference frame buffer 104 or to a transmission buffer that is sent to a bitstream.

[0016] In the video decode process 120, coded frames are obtained from a source such as a bitstream 121. According to an exemplary embodiment of the present disclosure, given a current frame having a position N in the bitstream 121, a previous frame having a position N-1 in the bitstream 121 may have a resolution greater than or less than that of the current frame, and a next frame having a position N+1 in the bitstream 121 may have a resolution greater than or less than that of the current frame. The current frame may be input to a coding loop, which may include inputting the current frame to a video decoder 122, inputting the current frame to one or more in-loop filters 124, inputting the current frame to a third in-loop upsampler or downsampler 128, generating an upsampled or downsampled reconstructed frame, and outputting the upsampled or downsampled reconstructed frame to a reference frame buffer 104. Alternatively, the current frame may be output from the loop, which may include outputting the upsampled or downsampled reconstructed frame to a display buffer.

[0017] According to an exemplary embodiment of the present disclosure, the video encoder 108 and the video decoder 122 can each implement a motion prediction coding format, including but not limited to the coding formats described herein. Generating a reconstructed frame based on a previous reconstructed frame in the reference frame buffer 104 can include the inter-coded motion prediction described herein, where the previous reconstructed frame may be an upsampled or downsampled reconstructed frame output by the in-loop upsampler or downsampler 114 / 128, and the previous reconstructed frame serves as a reference image in the inter-coded motion prediction described herein.

[0018] According to an exemplary embodiment of the present disclosure, the motion prediction information may include a motion vector that identifies a predictive block. The motion vector may be a displacement vector that represents a displacement between a current block and a predictive block referenced for coding of the current block. The displacement may be measured in horizontal and vertical pixels on the current frame. The displacement vector may represent a displacement between a pixel of the current block and a corresponding pixel of the predictive block at the same position within the respective block. For example, the displacement vector may represent a displacement from the pixel at the top left corner of the current block to the pixel at the top left corner of the predictive block.

[0019] Inter-coded motion prediction can add a block of a current frame and a motion vector of the current frame to locate a predicted block. For example, while decoding a block of a current frame, given the coordinates of a pixel in the upper left corner of the block of the current frame, the motion vector can indicate the coordinates of a predicted block of a reference frame from which motion information should be derived for the block of the current frame. The coordinates of the predicted block of a reference frame can be located by adding the motion vector to the coordinates of the block of the current frame, assuming that the current frame and the reference frame have the same resolution, thereby providing a one-to-one correspondence between pixels between the current frame and the reference frame.

[0020] Furthermore, motion prediction may support integer pixel scale or sub-pixel scale precision. For example, according to an exemplary embodiment of the present disclosure implemented according to the HEVC standard, motion prediction may be quarter pixel scale precision such that an interpolation filter is applied to the frame to interpolate the frame by a factor of four. That is, for every two pixels of the frame, three pixels are generated as sub-pixel image information. The four-fold interpolation filter may be implemented, for example, as a 7-tap bilinear filter and an 8-tap discrete cosine transform (DCT)-based finite impulse response (FIR) filter. Interpolation may occur in a first stage where the interpolation is performed to half pixel precision, such that a first interpolation filter is applied to the frame to interpolate the frame by a factor of two, and then in a second stage where the interpolation is performed to quarter pixel precision. Motion prediction precision to the sub-pixel scale may improve the quality of the compressed frame over motion prediction precision to the integer pixel scale, but at the expense of increased computational cost and computational time for each pixel that is interpolated.

[0021] According to an exemplary embodiment of the present disclosure, the first upsampler or downsampler 106, the second upsampler or downsampler 114, and the third upsampler or downsampler 128 may each implement an upsampling or downsampling algorithm suitable for at least upsampling or downsampling coded pixel information, respectively, of frames coded in a motion predictive coding format. The first upsampler or downsampler 106, the second upsampler or downsampler 114, and the third upsampler or downsampler 128 may each implement an upsampling or downsampling algorithm further suitable for upscaling and downscaling, respectively, motion information, such as motion vectors.

[0022] Thus, a frame that serves as a reference image in generating a reconstructed frame for a current frame, such as a previous reconstructed frame, may be upsampled or downsampled according to the resolution of the current frame relative to the resolution of the previous and next frames. For example, if the current frame has a resolution greater than the resolution of either or both of the previous and next frames, the frame that serves as a reference image may be upsampled. If the resolution of the current frame is less than the resolution of either or both of the previous and next frames, the frame that serves as a reference image may be downsampled.

[0023] 2 shows an example 200 of motion prediction by upsampling a reference frame, as described above. A current frame 210 has a resolution three times that of a reference frame 220, such that the current frame 210 has nine pixels for each pixel of the reference frame 220. The ratio between the resolution of the reference frame 220 and the resolution of the current frame 210 may be 1:3. Given a block 212 of the current frame 210 having coordinates (3,3) (i.e., the top left pixel of the block 212 has pixel coordinates (3,3)), and a motion vector (1,1) for the block 212, the coordinates (4,4) are obtained by adding the motion vector to the coordinates of the block 212. Thus, the motion vector points to a predicted block having coordinates at (4,4).

[0024] Upsampling the reference frame 220 to the upscaled reference frame 230 results in the upscaled reference frame 230 having pixels that correspond one-to-one to the current frame 210. Thus, the coordinate (4,4) may be applied directly to the upscaled reference frame 230, and the prediction block 232 at (4,4) in the upscaled reference frame 230 may be used in motion prediction for the current frame 210.

[0025] However, performing such operations on a reference frame may incur significant computational costs and computational time during a video coding process and / or a video decoding process. For example, in upsampling a reference frame, an interpolation filter is used to generate additional sub-pixel image information between pixels of the original reference frame and fill additional pixels of the upsampled reference frame so that the pixels of the reference frame have a one-to-one correspondence with the pixels of the current frame. When an image is upsized by a factor of x for every pixel of the original image, at least an additional x-1 number of pixels of the upsampled image start out empty and need to be filled with an interpolation filter. However, since the reference to the reference frame is generally a reference to a specific prediction block of the reference frame pointed to by the motion vector of the current frame, motion prediction utilizing a reference frame is unlikely to reference most of the new pixels generated by the interpolation filter. Thus, during a video decoding process, applying an interpolation filter to a reference frame may result in the calculation of many pixels that ultimately do not contribute to the video decoding process.

[0026] According to an example embodiment of this disclosure, when a video decoder determines that the resolution of a reference frame is different from the resolution of a current frame, instead of upsampling or downsampling the reference frame, the video decoder may instead resize the motion information of the current frame, including the motion vectors. To resize the motion information of the current frame, the video decoder may determine a ratio of the resolution of the current frame to the resolution of the reference frame.

[0027] FIG. 3 illustrates a flowchart of a video coding method 300 for implementing resolution adaptive video coding, according to an exemplary embodiment of this disclosure.

[0028] In step 302, a video decoder obtains an inter-coded current frame from a sequence. The current frame may have a position N. A previous frame having a position N-1 in the sequence may have a resolution greater than or less than the resolution of the current frame, and a next frame having a position N+1 in the sequence may have a resolution greater than or less than the resolution of the current frame.

[0029] In step 304, the video decoder obtains a reference frame from a reference frame buffer.

[0030] At step 306, the video decoder compares the resolution of the reference frame to the resolution of the current frame and determines that the resolution of the reference frame is different from the resolution of the current frame.

[0031] According to an exemplary embodiment of the present disclosure, a reference frame having a different resolution than the resolution of the current frame may be, for example, the most recent frame in a reference frame buffer, but a reference frame having a different resolution than the resolution of the current frame may be a frame that is not the most recent frame in the reference frame buffer.

[0032] At step 308, the video decoder determines the ratio of the resolution of the reference frame to the resolution of the current frame.

[0033] 4A illustrates an example 400 of motion prediction without reference frame resizing, as described herein. Similar to the diagram of FIG. 2, the current frame 410 has three times the resolution of the reference frame 420, such that the current frame 410 has nine pixels for each pixel of the reference frame 420, and the ratio of the resolution of the reference frame 420 to the resolution of the current frame 410 is 1:3.

[0034] In step 310, the video decoder determines a motion vector for the block of the current frame, and calculates the pixel coordinates indicated by the motion vector for the block of the current frame.

[0035] The motion vector can be determined according to a step of motion prediction. The step of performing motion prediction to determine the motion vector is not described in detail in this specification, but may include, for example, deriving a motion candidate list of a block of a current frame, selecting a motion candidate from the derived motion candidate list or the merge candidate list, and deriving the motion vector of the motion candidate as the motion vector of the block of the current frame.

[0036] The decoder may decode the frame block by block in a coding order among the blocks of the frame, such as a raster scan order where the first decoded block is the top leftmost block of the frame, in accordance with the video encoding standard.

[0037] 4A, as an example 400 of calculating pixel coordinates pointed to by a motion vector, given a block 412 in a current frame 410 having coordinates (3,3) (i.e., the top left pixel of block 412 has pixel coordinates (3,3)), and a motion vector (1,1) for block 412, coordinates (4,4) are obtained by adding the motion vector to the coordinates of block 412. Thus, the motion vector points to a predictive block having coordinates at (4,4).

[0038] At step 312, the video decoder resizes the motion information of the block of the current frame to the resolution of the reference frame according to the ratio.

[0039] According to an example embodiment of the present disclosure, resizing the motion information may include adding a scaled motion vector to the scaled block coordinates and then scaling the resulting coordinates to derive the scaled coordinates indicated by the motion vector.

[0040] As shown in FIG. 4A, locating a predictive block at coordinate (4,4) of reference frame 420 would produce inaccurate results, assuming a ratio of 1:3 between the resolution of reference frame 420 and the resolution of current frame 410. FIG. 4A shows this hypothetical predictive block 414 outlined by a hypothetical reference frame 416 at the same resolution as current frame 410, but which does not exist according to an exemplary embodiment of the present disclosure. Instead, a video decoder may multiply coordinate (4,4) by a factor of 1 / 3 based on the ratio 1:3, resulting in coordinate (4 / 3,4 / 3). FIG. 4A shows a hypothetical block 418 with these coordinates in reference frame 420.

[0041] At step 314, the video decoder locates a prediction block in a reference frame according to the resized motion information.

[0042] The resized motion information alone may not be sufficient to locate the predictive block of the reference frame. In particular, the scaled coordinates indicated by the motion vector may be proportional to the resolution of the reference frame, but may not correspond to integer pixel coordinates of the reference frame, and may not correspond to half-pixel coordinates of the reference frame if the video decoder implements half-pixel motion prediction, or may not correspond to quarter-pixel coordinates of the reference frame if the video decoder implements quarter-pixel motion prediction. Thus, the video decoder may further round the scaled coordinates of the block to the nearest pixel scale or sub-pixel scale supported by the video decoder.

[0043] As shown by Figures 4B and 4C, for example, the scaled coordinates of (4 / 3, 4 / 3) indicated by the motion vector may not correspond to any pixel coordinates in the reference frame 420, whether integer pixel precision, half pixel precision, or quarter pixel precision. Thus, if the video decoder supports quarter pixel precision, the video decoder may round the scaled coordinates to quarter pixel precision, and thus (4 / 3, 4 / 3) may round to (1.25, 1.25) and locate the prediction block 422 at (1.25, 1.25). If the video decoder does not support quarter pixel precision but does support half pixel precision, the video decoder may round the scaled coordinates to half pixel precision, and thus (4 / 3, 4 / 3) may round to (1.5, 1.5) and locate the prediction block (not shown) at (1.5, 1.5). If the video decoder does not support either level of sub-pixel precision, the video decoder may round the scaled coordinates to integer pixel precision, and thus (4 / 3,4 / 3) may round to (1,1) and locate the prediction block 424 at (1,1).

[0044] If the scaled coordinates are already at sub-pixel accuracy, no rounding may be necessary and the video decoder can locate the predictive block directly in the scaled coordinates of the reference frame.

[0045] According to other example embodiments of the present disclosure, if the scaled coordinates do not correspond to any level of precision supported by the video encoder, the video decoder may nevertheless not round the scaled coordinates to the highest level of precision supported by the video decoder. Instead, the video decoder may round the scaled coordinates to a level of precision that is lower than the highest level supported.

[0046] In step 316, if the scaled coordinates are at or rounded to sub-pixel precision, the video decoder applies an interpolation filter to the block of scaled coordinates of the reference frame to generate sub-pixel values ​​for the prediction block. The interpolation filter may be applied as described above, and further, if the scaled coordinates are at or rounded to half-pixel precision, only the first stage of the above-described interpolation may be performed and the second stage is skipped, thereby reducing computational cost and time of decoding.

[0047] If the scaled coordinates are at integer pixel precision or are rounded to integer pixel precision, the video decoder does not need to apply an interpolation filter to pixels of the reference block, and step 316 can skip pixels of the block of scaled coordinates of the reference frame that are directly used in motion prediction. By avoiding the application of an interpolation filter, the computational cost and computational time of decoding can be significantly reduced.

[0048] Similarly, if the video decoder rounds the scaled coordinates to a lower level of granularity of precision than the highest level supported as described with respect to step 314, computational cost and time can be similarly reduced.

[0049] Subsequently, regardless of whether step 316 is performed or skipped, the video decoder may decode the current block by referring to the reference frame and the predicted block located therein. The decoded frame may be upsampled or downsampled to multiple resolutions, each according to different resolutions of the multiple resolutions supported by the bitstream. The upsampled and / or downsampled decoded frame may be input to at least one of a reference frame buffer and a display buffer.

[0050] FIG. 5 illustrates an example system 500 for implementing the above-described processes and methods for implementing resolution adaptive video coding.

[0051] The techniques and mechanisms described herein may be implemented by multiple instances of system 500, as well as by any other computing device, system, and / or environment. System 500 shown in FIG. 5 is only one example of a system and is not intended to suggest any limitation on the scope of use or capabilities of any computing device utilized to implement the processes and / or procedures described above. Other known computing devices, systems, environments, and / or configurations that may be suitable for use with the embodiments include, but are not limited to, personal computers, server computers, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, game consoles, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, implementations using field programmable gate arrays ("FPGAs"), and application specific integrated circuits ("ASICs"), and / or the like.

[0052] The system 500 may include one or more processors 502 and a system memory 504 communicatively coupled to the processors 502. The processors 502 may execute one or more modules and / or processes to cause the processors 502 to perform various functions. In some embodiments, the processors 502 may include a central processing unit (CPU), a graphics processing unit (GPU), both a CPU and a GPU, or other processing units or components known in the art. Additionally, each of the processors 502 may have its own local memory, which may also store program modules, program data, and / or one or more operating systems.

[0053] Depending on the exact configuration and type of system 500, the system memory 504 may be volatile, such as RAM, non-volatile, such as ROM, flash memory, a miniature hard drive, a memory card, and the like, or some combination thereof. The system memory 504 may include one or more computer-executable modules 506 that are executable by the processor 502.

[0054] The module 506 may include, but is not limited to, a motion prediction module 508, which may include a frame acquisition sub-module 510, a reference frame acquisition sub-module 512, a resolution comparison sub-module 514, a ratio determination sub-module 516, a motion vector determination sub-module 518, a motion information resizing sub-module 520, a prediction block location determination sub-module 522, and an interpolation filter application module 524.

[0055] The frame get sub-module 510 may be configured to get an inter-coded current frame from the sequence, as described above with reference to FIG.

[0056] The reference frame acquisition sub-module 512 may be configured to acquire a reference frame from a reference frame buffer, as described above with reference to FIG.

[0057] The resolution comparison submodule 514 may be configured to compare the resolution of the reference image with the resolution of the current frame, as described above with reference to FIG. 3, and determine that the resolution of the reference frame is different from the resolution of the current frame.

[0058] The ratio determination sub-module 516 may be configured to determine the ratio of the resolution of the reference frame to the resolution of the current frame, as described above with reference to FIG.

[0059] The motion information determination sub-module 518 may be configured to determine a motion vector of a block of the current frame and calculate pixel coordinates indicated by the motion vector of the block of the current frame, as described above with reference to FIG.

[0060] The motion information resizing sub-module 520 may be configured to resize the motion information of the block of the current frame to the resolution of the reference frame according to a ratio, as described above with reference to FIG.

[0061] The prediction block location sub-module 522 may be configured to locate the prediction block of the reference frame according to the resized motion information, as described above with reference to FIG.

[0062] The interpolation filter application submodule 524 may be configured to apply an interpolation filter to the block at scaled coordinates in the reference frame to generate sub-pixel values ​​for the predicted block, as described above with reference to FIG. 3, if the scaled coordinates are at sub-pixel precision or are rounded to sub-pixel precision.

[0063] The system 500 may further include an input / output (I / O) interface 540 for receiving video source data and bitstream data and for outputting decoded frames to a reference frame buffer and / or a display buffer. The system 500 may also include a communications module 550 for enabling the system 500 to communicate with other devices (not shown) over a network (not shown). The network may include wired media, such as the Internet, a wired network or a direct-wired connection, as well as wireless media, such as acoustic, radio frequency (RF), infrared, and other wireless media.

[0064] Some or all of the operations of the above-described methods may be performed by executing computer readable instructions stored on a computer readable storage medium, as defined below. As used in this description and claims, the term "computer readable instructions" includes routines, applications, application modules, program modules, programs, components, data structures, algorithms, etc. The computer readable instructions may be implemented in a variety of system configurations, including single-processor or multi-processor systems, minicomputers, mainframe computers, personal computers, handheld computing devices, microprocessor-based programmable consumer electronics, combinations thereof, and the like.

[0065] The computer readable storage medium may include volatile memory (such as random access memory (RAM)) and / or non-volatile memory (such as read only memory (ROM), flash memory, etc.). The computer readable storage medium may also include additional removable and / or non-removable storage devices including, but not limited to, flash memory, magnetic storage devices, optical storage devices, and / or tape storage devices that may provide non-volatile storage of computer readable instructions, data structures, program modules, and the like.

[0066] A non-transitory computer-readable storage medium is an example of a computer-readable medium. A computer-readable medium includes at least two types of computer-readable media: computer-readable storage media and communication media. Computer-readable storage media include volatile and non-volatile, removable and non-removable media implemented in any process or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer-readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage device, magnetic cassette, magnetic tape, magnetic disk storage device or other magnetic storage device, or any other non-transmission medium that can be used to store information for access by a computing device. In contrast, communication media may embody computer-readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transmission mechanism. Computer-readable storage media as employed herein should not be interpreted as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through wave guides or other transmission media (such as light pulses through fiber optic cables), or electrical signals propagating through wires.

[0067] The computer readable instructions stored on one or more non-transitory computer readable storage media, when executed by one or more processors, can perform the operations described above with reference to Figures 1-5. Generally, the computer readable instructions include routines, programs, objects, components, data structures, etc. that perform particular functions or implement particular abstract data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and / or in parallel to perform a process.

[0068] With the above technical solution, the present disclosure provides an inter-coded resolution-adaptive video coding supported by resizing the motion information of the current frame during motion prediction, reducing the extensive computational cost and computational time that would result from extensive application of an interpolation filter to generate image information of a reference frame to sub-pixel granularity, and thus reducing the computational cost and computational time of decoding as a whole. The method and system described herein includes: determining a ratio of a resolution of a reference frame to a resolution of a current frame; determining a motion vector of a block of the current frame, calculating pixel coordinates indicated by the motion vector of the block of the current frame; resizing the motion information of the block of the current frame to the resolution of the reference frame according to the ratio; locating a prediction block of the reference frame according to the resized motion information; and then generating sub-pixel values ​​of the prediction block by minimizing or avoiding application of an interpolation filter to the block at the scaled coordinates of the reference frame.

[0069] Example section A. A method comprising: determining motion information of a block of a current frame, the motion information including a motion vector of the block and at least one pixel coordinate indicated by the motion vector; resizing the motion information according to a resolution of a reference frame; locating a predictive block of the reference frame according to the resized motion information; and performing motion prediction on the current block by referencing the located predictive block. B. The method recited in paragraph A, further comprising: determining that a resolution of the reference frame is different from a resolution of the current frame; and determining a ratio of the resolution of the reference frame to the resolution of the current frame. C. The method of paragraph B, wherein determining at least one pixel coordinate corresponding to the motion vector includes adding the motion vector to at least one pixel coordinate of the block. D. The method recited in paragraph C, wherein resizing the motion information according to a resolution of the reference frame includes scaling at least one pixel coordinate corresponding to the motion vector by a ratio of a resolution of the reference frame to a resolution of the current frame to derive at least one scaled coordinate corresponding to the motion vector. E. The method of claim 9, wherein locating the prediction block in the reference frame includes rounding each of the at least one scaled coordinate to a respective nearest value on an integer pixel scale. F. The method recited in paragraph F, wherein an interpolation filter is not applied to the reference frame before performing motion estimation on the current block by referencing the located predicted block. G. The method recited in paragraph D, wherein locating the prediction block in the reference frame includes rounding each of the at least one scaled coordinate to a respective nearest value on a sub-pixel scale. H. The method described in paragraph G, wherein an interpolation filter of sub-pixel scale accuracy is applied to the reference frame at at least one scaled coordinate before performing motion prediction on the current block by referencing the located predicted block. I. The method described in paragraph H, wherein the subpixel scale is less granular than the quarter-pixel scale. J. The method recited in paragraph I, wherein determining to apply SAO to the CTB of the frame further includes determining to apply a band offset to the CTB based on a value of a header flag of the frame. K. A system comprising one or more processors and a memory communicatively coupled to the one or more processors, the memory storing computer-executable modules executable by the one or more processors that perform associated operations when executed by the one or more processors, the computer-executable modules including a motion prediction module including a motion information determination sub-module configured to determine motion information of a block of a current frame, the motion information including a motion vector of the block and at least one pixel coordinate corresponding to the motion vector; a motion information resizing sub-module configured to resize the motion information according to a resolution of a reference frame; and a prediction block location sub-module configured to locate a prediction block of the reference frame according to the resized motion information, the motion prediction module further configured to perform motion prediction on the current block by referencing the located prediction block. L. The system described in paragraph K, wherein the motion prediction module further comprises a resolution comparison submodule configured to determine that a resolution of the reference frame is different from a resolution of the current frame, and a ratio determination submodule configured to determine a ratio of the resolution of the reference frame to the resolution of the current frame. M. The system recited in paragraph L, wherein the motion information determination submodule is configured to determine at least one pixel coordinate corresponding to the motion vector by adding the motion vector to a pixel coordinate of one of the blocks. N. The system recited in paragraph M, wherein the motion information resizing submodule is configured to resize the motion information according to a resolution of the reference frame by scaling at least one pixel coordinate corresponding to the motion vector by a ratio of a resolution of the reference frame to a resolution of the current frame to derive at least one scaled coordinate corresponding to the motion vector. O. The system recited in paragraph N, wherein the prediction block location submodule is configured to locate the prediction block of the reference frame by rounding each of the at least one scaled coordinate to a respective nearest value on an integer pixel scale. P. The system recited in paragraph O, wherein an interpolation filter is not applied to the reference frame before the motion estimation module performs motion estimation on the current block by referencing the located prediction block. Q. The system recited in paragraph N, wherein the predicted block location submodule is configured to locate the predicted block of the reference frame by rounding each of the at least one scaled coordinate to a respective nearest value on a sub-pixel scale. R. The system recited in paragraph Q, further comprising an interpolation filter applying sub-module configured to apply an interpolation filter with sub-pixel scale accuracy to a reference frame at at least one scaled coordinate before the motion prediction module performs motion prediction on the current block by referencing the located predicted block. S. The system described in paragraph R, in which the subpixel scale is less granular than the quarter-pixel scale. T. A computer-readable storage medium storing computer-readable instructions executable by one or more processors, which when executed by the one or more processors cause the one or more processors to perform operations including determining motion information for a block of a current frame, the motion information including a motion vector for the block and at least one pixel coordinate corresponding to the motion vector; resizing the motion information according to a resolution of a reference frame; locating a predictive block of the reference frame according to the resized motion information; and performing motion prediction on the current block by referencing the located predictive block. U. The computer-readable storage medium recited in paragraph T, wherein the operations further include determining that a resolution of the reference frame is different from a resolution of the current frame, and determining a ratio of the resolution of the reference frame to the resolution of the current frame. V. The computer-readable storage medium recited in paragraph U, wherein determining at least one pixel coordinate corresponding to the motion vector includes adding the motion vector to at least one pixel coordinate of the block. W. The computer-readable storage medium recited in paragraph V, wherein resizing the motion information according to the resolution of the reference frame includes scaling at least one pixel coordinate corresponding to the motion vector by a ratio of the resolution of the reference frame to the resolution of the current frame to derive at least one scaled coordinate corresponding to the motion vector. X. The computer-readable storage medium recited in paragraph W, wherein locating the prediction block in the reference frame includes rounding each of the at least one scaled coordinate to a respective nearest value on an integer pixel scale. Y. The computer-readable storage medium of paragraph X, wherein an interpolation filter is not applied to the reference frame before performing motion prediction on the current block by referencing the located predicted block. The computer-readable storage medium recited in paragraph W, wherein locating the prediction block in the Z reference frame includes rounding each of the at least one scaled coordinate to a respective nearest value on a sub-pixel scale. AA. The computer-readable storage medium of paragraph Z, wherein an interpolation filter of sub-pixel scale accuracy is applied to a reference frame at at least one scaled coordinate before performing motion prediction on a current block by referencing a located predicted block. BB. The computer-readable storage medium of paragraph AA, wherein the sub-pixel scale is less fine-grained than the quarter-pixel scale.

[0070] Although the present subject matter has been described in specific language for structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claims.

Claims

1. determining motion information of a block of a current frame, the motion information including a motion vector of the block and at least one pixel coordinate corresponding to the motion vector; resizing the motion information according to a resolution of a reference frame; locating a prediction block of the reference frame according to the resized motion information, locating, the at least one scaled coordinate being rounded to a respective nearest value on a sub-pixel scale; applying an interpolation filter with sub-pixel scale accuracy to the located prediction block of the reference frame; performing motion prediction on the current block by referencing the located predicted block.

2. The method of claim 1 , further comprising: determining that the resolution of the reference frame is different from a resolution of the current frame; and determining a ratio of the resolution of the reference frame to the resolution of the current frame.

3. The method of claim 2 , wherein determining the at least one pixel coordinate corresponding to the motion vector comprises adding the motion vector to at least one pixel coordinate of the block.

4. 4. The method of claim 3, wherein resizing the motion information according to a resolution of the reference frame comprises scaling the at least one pixel coordinate corresponding to the motion vector by the ratio of the resolution of the reference frame to the resolution of the current frame to derive at least one scaled coordinate corresponding to the motion vector.

5. The method of claim 4 , wherein locating the prediction block in the reference frame comprises rounding each of the at least one scaled coordinate to a respective nearest value on an integer pixel scale.

6. one or more processors; a memory communicatively coupled to the one or more processors, the memory storing computer-executable modules executable by the one or more processors that, when executed by the one or more processors, perform associated operations, the computer-executable modules comprising: a motion prediction module including a motion information determination sub-module configured to determine motion information of a block of a current frame, the motion information including a motion vector of the block and at least one pixel coordinate corresponding to the motion vector; a motion information resizing sub-module configured to resize the motion information according to a resolution of a reference frame; a prediction block location submodule configured to locate a prediction block of the reference frame according to the resized motion information. and The predicted block location sub-module: configured to locate the prediction block in the reference frame by rounding each of at least one scaled coordinate to a respective nearest value on a sub-pixel scale; The motion prediction module includes: applying an interpolation filter with sub-pixel scale accuracy to the located prediction block of the reference frame; performing motion estimation on the current block by referencing the located predicted block; The system further comprises:

7. 7. The system of claim 6, wherein the motion prediction module further comprises a resolution comparison submodule configured to determine that the resolution of the reference frame is different from the resolution of the current frame, and a ratio determination submodule configured to determine a ratio of the resolution of the reference frame to the resolution of the current frame.

8. The system of claim 7 , wherein the motion information determination sub-module is configured to determine the at least one pixel coordinate corresponding to the motion vector by adding the motion vector to at least one pixel coordinate of the block.

9. 9. The system of claim 8, wherein the motion information resizing submodule is configured to resize the motion information according to a resolution of the reference frame by scaling the at least one pixel coordinate corresponding to the motion vector by the ratio of the resolution of the reference frame to the resolution of the current frame to derive at least one scaled coordinate corresponding to the motion vector.

10. 10. The system of claim 9, wherein the prediction block location sub-module is configured to locate the prediction block in the reference frame by rounding each of the at least one scaled coordinate to a respective nearest value on an integer pixel scale.

11. 1. A computer-readable storage medium storing computer-readable instructions executable by one or more processors, the computer-readable instructions, when executed by the one or more processors, causing the one or more processors to: determining motion information of a block of a current frame, the motion information including a motion vector of the block and at least one pixel coordinate corresponding to the motion vector; resizing the motion information according to a resolution of a reference frame; locating a prediction block of the reference frame according to the resized motion information, the locating including rounding each of at least one scaled coordinate to a respective nearest value on a sub-pixel scale; applying an interpolation filter with sub-pixel scale accuracy to the located prediction block of the reference frame; and performing motion prediction on the current block by referencing the located predicted block.

12. 12. The computer-readable storage medium of claim 11, wherein the operations further include determining that the resolution of the reference frame is different from a resolution of the current frame, and determining a ratio of the resolution of the reference frame to the resolution of the current frame.

13. The computer-readable storage medium of claim 12 , wherein determining the at least one pixel coordinate corresponding to the motion vector comprises adding the motion vector to at least one pixel coordinate of the block.

14. 14. The computer-readable storage medium of claim 13, wherein resizing the motion information according to a resolution of the reference frame comprises scaling the at least one pixel coordinate corresponding to the motion vector by the ratio of the resolution of the reference frame to the resolution of the current frame to derive at least one scaled coordinate corresponding to the motion vector.

Citation Information

Patent Citations

  • Video encoding and decoding method, device, storage medium and computer equipment

    CN108833923A

  • Picture encoding and picture decoding methods

    JP2008079152A

  • Digital video coding using interpolation filters and offsets

    JP2012504904A

  • Low-complexity interpolation filtering with adaptive tap size

    JP2014502822A

  • Signaling for reference picture resampling

    JP2022532334A