The present invention generally relates to the field of video compression. In particular, the present invention is directed to implicit signaling of adaptive resolution management based on frame type.
A video codec may include an electronic circuit or software that compresses or decompresses digital video. It may convert uncompressed video to a compressed format or vice versa. In the context of video compression, a device that compresses video (and/or performs some function thereof) may typically be called an encoder, and a device that decompresses video (and/or performs some function thereof) may be called a decoder.
A format of compressed data may conform to a standard video compression specification. Compression may be lossy in that compressed video may lack some information present in an original video. A consequence of this may include that decompressed video may have lower quality than an original uncompressed video because there may be insufficient information to accurately reconstruct the original video.
There can be complex relationships between video quality, an amount of data used to represent a video (e.g., determined by a bit rate), complexity of encoding and decoding algorithms, sensitivity to data losses and errors, ease of editing, random access, end-to-end delay (e.g., latency), and the like.
Motion compensation may include an approach to predict a video frame or a portion thereof given a reference frame, such as previous and/or future frames, by accounting for motion of the camera and/or objects in the video. It may be employed in encoding and decoding of video data for video compression, for example in encoding and decoding using the Motion Picture Experts Group (MPEG)'s advanced video coding (AVC) standard (also referred to as H.264). Motion compensation may describe a picture in terms of transformation of a reference picture to a current picture. A reference picture may be previous in time when compared to a current picture and/or from the future when compared to the current picture.
In an aspect, a decoder includes circuitry configured to receive a bit stream, determine, using the bit stream and for a current frame, whether the current frame is available to be used as a reference frame, set, in response to determining that the current frame is available to be used as a reference frame, a variable characterizing that an adaptive resolution management mode is disallowed, and reconstruct pixel data of the current frame, wherein the adaptive resolution management mode is disallowed.
In another aspect a method includes receiving a bit stream, determining, using the bit stream and for a current frame, whether the current frame is available to be used as a reference frame, setting, in response to determining that the current frame is available to be used as a reference frame, a variable characterizing that an adaptive resolution management mode is disallowed, and reconstructing pixel data of the current frame, wherein the adaptive resolution management mode is disallowed.
These and other aspects and features of non-limiting embodiments of the present invention will become apparent to those skilled in the art upon review of the following description of specific non-limiting embodiments of the invention in conjunction with the accompanying drawings.
For the purpose of illustrating the invention, the drawings show aspects of one or more embodiments of the invention. However, it should be understood that the present invention is not limited to the precise arrangements and instrumentalities shown in the drawings, wherein:
In many current state-of-the-art encoders, resolution is managed by re-coding and re-sending whole portion of the video known as group-of-pictures (GOP). This requires sending the intra-frame (I-frame) which can incur additional costs, since those frames are responsible for the bulk of the bits in the GOP.
Embodiments described in this disclosure relate to Adaptive Resolution Management (ARM), which is a technique that enables additional flexibility for a video encoder/decoder allowing bitrate savings in various use cases. In general, ARM includes performing a prediction using a reference frame of different resolution than a current frame. In current coding standards, reference frames have the same resolution as predicted frames. In ARM, a reference frame may be of a smaller or larger resolution than a frame being predicted. This approach may be used to downscale video resolution, thus reducing bitrate, or upscale video resolution, thus facilitating display characteristics of video playback.
ARM may alternatively or equivalently be referred to for the purposes of this disclosure as reference picture resampling (RPR); RPR and ARM may be used interchangeably.
Some implementations of the current subject matter may include using ARM for any number of frames, at any position within GOP, thus removing requirements for I-frame re-coding.
As an example, and with continued reference to
Still referring to
Further referring to
CurrPicScalWinWidthL=pps_pic_width_in_luma_samples−SubWidthC*(pps_scaling_win_right_offset+pps_scaling_win_left_offset)
As a further non-limiting example, CurrPicScalWinHeightL may be derived according to the following equation:
CurrPicScalWinWidthL=pps_pic_width_in_luma_samples−SubWidthC*(pps_scaling_win_right_offset+pps_scaling_win_left_offset)
Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various alternative computations that may be used to derive the above-described variables. Encoder may alternatively or additionally signal one or more such variables, Rc, Rch, and/or Rcw directly for instance and without limitation in a PPS and/or SPS.
Alternatively or additionally, and still referring to
In some implementations, and with continued reference to
Some implementations of block-based ARM may enable flexibility in applying optimal filters for each block, instead of applying same filter for a whole frame. In some implementations, a skip-ARM mode may be possible such that some blocks (based for example on the uniformity of the pixels and bitrate cost) can be in a skip-ARM mode (such that rescaling would not change the bitrate). Skip-ARM mode may be signaled in a bitstream; for instance, and without limitation, skip-ARM mode may be signaled in a PPS parameter. Alternatively or additionally, decoder may determine that skip-ARM mode is active based on one or more parameters set by decoder and/or signaled in bitstream. Spatial filters used in block-based ARM may include, without limitation, bicubic spatial filters that apply bicubic interpolation, bilinear spatial filters that apply bi-linear interpretation, Lanczos filters that use Lanczos filtering and/or Lanczos resampling using combinations of sine filters, sine-function interpolation and/or signal reconstruction techniques, or the like; persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various filters that may be used for interpolation consistently with this disclosure. Interpolation filters may include, as a non-limiting example, any filters described above, a low-pass filter, which may be used, without limitation, by way of an up-sampling process whereby pixels between pixels of block and/or frame previous to scaling may be initialized to zero, and then populated with an output of the low-pass filter. Alternatively or additionally, any luma sample interpolation filtering process may be used. Luma sample interpretation may include computation of an interpolated value at a half-sample interpolation filter index, falling between two consecutive sample values of a non-scaled sample array. Computation of interpolated value may be performed, without limitation, by retrieval of coefficients and/or weights from lookup tables; selection of lookup tables may be performed as a function of motion models of coding units and/or scaling ratio amounts, for instance as determined using scaling constants as described above. Computation may include, without limitation, performing weighted sums of adjacent pixel values, where weights are retrieved from lookup tables. Computed values may alternatively or additionally be shifted; for instance and without limitation, values may be shifted by Min(4, BitDepth—8), 6, Max(2, 14—BitDepth), or the like. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various alternative or additional implementations that may be used for interpolation filters.
Still referring to
For example, and with further reference to
At step 305, and continuing to refer to
At step 310, and still referring to
Still referring to
At step 340, and further referring to
In operation, and still referring to
At step 510, block-based adaptive resolution management may be performed, including resolution scaling of a frame or portion thereof.
At 515, a block may be encoded and included in a bit stream. Encoding may include utilizing inter prediction and intra prediction modes, for example.
Still referring to
In operation, and with continued reference to
Further referring to
With continued reference to
In some implementations, and still referring to
In some implementations, and still referring to
Some embodiments may include non-transitory computer program products (i.e., physically embodied computer program products) that store instructions, which when executed by one or more data processors of one or more computing systems, cause at least one data processor to perform operations herein.
In some embodiments disclosed herein, a decoder may include circuitry configured to receive a bit stream, determine, using the bit stream and for a current frame, whether the current frame is available to be used as a reference frame, set, in response to determining that the current frame is available to be used as a reference frame, a variable characterizing that an adaptive resolution management mode is disallowed, and reconstruct pixel data of the current frame, wherein the adaptive resolution management mode is disallowed.
In some embodiments determining whether the current frame is available to be used as a reference frame may include determining whether a type of the current frame is type I. Determining whether the current frame is available to be used as a reference frame may include determining whether a type of the current frame is type P. A type of the current frame may be signaled in the bit stream. The current frame may be a slice. Parameters associated with the adaptive resolution management mode may not be present in a picture header of the current frame. The decoder may be further configured to decode, from the bitstream, a current block. A current block may include a coding tree unit. The current block may include a prediction unit. The decoder may include an entropy decoder processor configured to receive the bit stream and decode the bit stream into quantized coefficients, an inverse quantization and inverse transformation processor configured to process the quantized coefficients including performing an inverse discrete cosine, a deblocking filter, a frame buffer, and an intra prediction processor.
Embodiments disclosed herein include a method including receiving a bit stream, determining, using the bit stream and for a current frame, whether the current frame is available to be used as a reference frame, setting, in response to determining that the current frame is available to be used as a reference frame, a variable characterizing that an adaptive resolution management mode is disallowed, and reconstructing pixel data of the current frame, wherein the adaptive resolution management mode is disallowed.
In some embodiments, determining whether the current frame is available to be used as a reference frame may include determining whether a type of the current frame is type I. Determining whether the current frame is available to be used as a reference frame includes determining whether a type of the current frame is type P. A type of the current frame may be signaled in the bit stream. The current frame may be a slice. Parameters associated with the adaptive resolution management mode may not be present in a picture header of the current frame. The method may include decoding from the bitstream, a current block. The current block may include a coding tree unit. The current block may include a prediction unit. At least one of the receiving, the determining, the setting, and the reconstructing may be performed by a decoder including an entropy decoder processor configured to receive the bit stream and decode the bit stream into quantized coefficients, an inverse quantization and inverse transformation processor configured to process the quantized coefficients including performing an inverse discrete cosine, a deblocking filter, a frame buffer, and an intra prediction processor.
It is to be noted that any one or more of the aspects and embodiments described herein may be conveniently implemented using digital electronic circuitry, integrated circuitry, specially designed application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) computer hardware, firmware, software, and/or combinations thereof, as realized and/or implemented in one or more machines (e.g., one or more computing devices that are utilized as a user computing device for an electronic document, one or more server devices, such as a document server, etc.) programmed according to the teachings of the present specification, as will be apparent to those of ordinary skill in the computer art. These various aspects or features may include implementation in one or more computer programs and/or software that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device. Appropriate software coding may readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those of ordinary skill in the software art. Aspects and implementations discussed above employing software and/or software modules may also include appropriate hardware for assisting in the implementation of the machine executable instructions of the software and/or software module.
Such software may be a computer program product that employs a machine-readable storage medium. A machine-readable storage medium may be any medium that is capable of storing and/or encoding a sequence of instructions for execution by a machine (e.g., a computing device) and that causes the machine to perform any one of the methodologies and/or embodiments described herein. Examples of a machine-readable storage medium include, but are not limited to, a magnetic disk, an optical disc (e.g., CD, CD-R, DVD, DVD-R, etc.), a magneto-optical disk, a read-only memory “ROM” device, a random access memory “RAM” device, a magnetic card, an optical card, a solid-state memory device, an EPROM, an EEPROM, Programmable Logic Devices (PLDs), and/or any combinations thereof. A machine-readable medium, as used herein, is intended to include a single medium as well as a collection of physically separate media, such as, for example, a collection of compact discs or one or more hard disk drives in combination with a computer memory. As used herein, a machine-readable storage medium does not include transitory forms of signal transmission.
Such software may also include information (e.g., data) carried as a data signal on a data carrier, such as a carrier wave. For example, machine-executable information may be included as a data-carrying signal embodied in a data carrier in which the signal encodes a sequence of instruction, or portion thereof, for execution by a machine (e.g., a computing device) and any related information (e.g., data structures and data) that causes the machine to perform any one of the methodologies and/or embodiments described herein.
Examples of a computing device include, but are not limited to, an electronic book reading device, a computer workstation, a terminal computer, a server computer, a handheld device (e.g., a tablet computer, a smartphone, etc.), a web appliance, a network router, a network switch, a network bridge, any machine capable of executing a sequence of instructions that specify an action to be taken by that machine, and any combinations thereof. In one example, a computing device may include and/or be included in a kiosk.
Memory 708 may include various components (e.g., machine-readable media) including, but not limited to, a random-access memory component, a read only component, and any combinations thereof. In one example, a basic input/output system 716 (BIOS), including basic routines that help to transfer information between elements within computer system 700, such as during start-up, may be stored in memory 708. Memory 708 may also include (e.g., stored on one or more machine-readable media) instructions (e.g., software) 720 embodying any one or more of the aspects and/or methodologies of the present disclosure. In another example, memory 708 may further include any number of program modules including, but not limited to, an operating system, one or more application programs, other program modules, program data, and any combinations thereof.
Computer system 700 may also include a storage device 724. Examples of a storage device (e.g., storage device 724) include, but are not limited to, a hard disk drive, a magnetic disk drive, an optical disc drive in combination with an optical medium, a solid-state memory device, and any combinations thereof. Storage device 724 may be connected to bus 712 by an appropriate interface (not shown). Example interfaces include, but are not limited to, SCSI, advanced technology attachment (ATA), serial ATA, universal serial bus (USB), IEEE 1394 (FIREWIRE), and any combinations thereof. In one example, storage device 724 (or one or more components thereof) may be removably interfaced with computer system 700 (e.g., via an external port connector (not shown)). Particularly, storage device 724 and an associated machine-readable medium 728 may provide nonvolatile and/or volatile storage of machine-readable instructions, data structures, program modules, and/or other data for computer system 700. In one example, software 720 may reside, completely or partially, within machine-readable medium 728. In another example, software 720 may reside, completely or partially, within processor 704.
Computer system 700 may also include an input device 732. In one example, a user of computer system 700 may enter commands and/or other information into computer system 700 via input device 732. Examples of an input device 732 include, but are not limited to, an alpha-numeric input device (e.g., a keyboard), a pointing device, a joystick, a gamepad, an audio input device (e.g., a microphone, a voice response system, etc.), a cursor control device (e.g., a mouse), a touchpad, an optical scanner, a video capture device (e.g., a still camera, a video camera), a touchscreen, and any combinations thereof. Input device 732 may be interfaced to bus 712 via any of a variety of interfaces (not shown) including, but not limited to, a serial interface, a parallel interface, a game port, a USB interface, a FIREWIRE interface, a direct interface to bus 712, and any combinations thereof. Input device 732 may include a touch screen interface that may be a part of or separate from display 736, discussed further below. Input device 732 may be utilized as a user selection device for selecting one or more graphical representations in a graphical interface as described above.
A user may also input commands and/or other information to computer system 700 via storage device 724 (e.g., a removable disk drive, a flash drive, etc.) and/or network interface device 740. A network interface device, such as network interface device 740, may be utilized for connecting computer system 700 to one or more of a variety of networks, such as network 744, and one or more remote devices 748 connected thereto. Examples of a network interface device include, but are not limited to, a network interface card (e.g., a mobile network interface card, a LAN card), a modem, and any combination thereof. Examples of a network include, but are not limited to, a wide area network (e.g., the Internet, an enterprise network), a local area network (e.g., a network associated with an office, a building, a campus or other relatively small geographic space), a telephone network, a data network associated with a telephone/voice provider (e.g., a mobile communications provider data and/or voice network), a direct connection between two computing devices, and any combinations thereof. A network, such as network 744, may employ a wired and/or a wireless mode of communication. In general, any network topology may be used. Information (e.g., data, software 720, etc.) may be communicated to and/or from computer system 700 via network interface device 740.
Computer system 700 may further include a video display adapter 752 for communicating a displayable image to a display device, such as display device 736. Examples of a display device include, but are not limited to, a liquid crystal display (LCD), a cathode ray tube (CRT), a plasma display, a light emitting diode (LED) display, and any combinations thereof. Display adapter 752 and display device 736 may be utilized in combination with processor 704 to provide graphical representations of aspects of the present disclosure. In addition to a display device, computer system 700 may include one or more other peripheral output devices including, but not limited to, an audio speaker, a printer, and any combinations thereof. Such peripheral output devices may be connected to bus 712 via a peripheral interface 756. Examples of a peripheral interface include, but are not limited to, a serial port, a USB connection, a FIREWIRE connection, a parallel connection, and any combinations thereof.
The foregoing has been a detailed description of illustrative embodiments of the invention. Various modifications and additions can be made without departing from the spirit and scope of this invention. Features of each of the various embodiments described above may be combined with features of other described embodiments as appropriate in order to provide a multiplicity of feature combinations in associated new embodiments. Furthermore, while the foregoing describes a number of separate embodiments, what has been described herein is merely illustrative of the application of the principles of the present invention. Additionally, although particular methods herein may be illustrated and/or described as being performed in a specific order, the ordering is highly variable within ordinary skill to achieve embodiments as disclosed herein. Accordingly, this description is meant to be taken only by way of example, and not to otherwise limit the scope of this invention.
In the descriptions above and in the claims, phrases such as “at least one of” or “one or more of” may occur followed by a conjunctive list of elements or features. The term “and/or” may also occur in a list of two or more elements or features. Unless otherwise implicitly or explicitly contradicted by the context in which it is used, such a phrase is intended to mean any of the listed elements or features individually or any of the recited elements or features in combination with any of the other recited elements or features. For example, the phrases “at least one of A and B;” “one or more of A and B;” and “A and/or B” are each intended to mean “A alone, B alone, or A and B together.” A similar interpretation is also intended for lists including three or more items. For example, the phrases “at least one of A, B, and C;” “one or more of A, B, and C;” and “A, B, and/or C” are each intended to mean “A alone, B alone, C alone, A and B together, A and C together, B and C together, or A and B and C together.” In addition, use of the term “based on,” above and in the claims is intended to mean, “based at least in part on,” such that an unrecited feature or element is also permissible.
The subject matter described herein can be embodied in systems, apparatus, methods, and/or articles depending on the desired configuration. The implementations set forth in the foregoing description do not represent all implementations consistent with the subject matter described herein. Instead, they are merely some examples consistent with aspects related to the described subject matter. Although a few variations have been described in detail above, other modifications or additions are possible. In particular, further features and/or variations can be provided in addition to those set forth herein. For example, the implementations described above can be directed to various combinations and sub-combinations of the disclosed features and/or combinations and sub-combinations of several further features disclosed above. In addition, the logic flows depicted in the accompanying figures and/or described herein do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Other implementations may be within the scope of the following claims.
This application claims the benefit of priority of International Application No. PCT/US20/45220 filed on Aug. 6, 2020 and entitled “IMPLICIT SIGNALING OF ADAPTIVE RESOLUTION MANAGEMENT BASED ON FRAME TYPE,” which claims the benefit of priority of U.S. Provisional Patent Application Ser. No. 62/883,484, filed on Aug. 6, 2019, and titled “IMPLICIT SIGNALING OF ADAPTIVE RESOLUTION MANAGEMENT BASED ON FRAME TYPE.” Each of International Application No. PCT/US20/45220 and U.S. Provisional Patent Application Ser. No. 62/883,484 is incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
8144764 | Hannuksela | Mar 2012 | B2 |
9305558 | Chen et al. | Apr 2016 | B2 |
9319677 | Chang et al. | Apr 2016 | B2 |
9565397 | Frink et al. | Feb 2017 | B2 |
9648351 | Su | May 2017 | B2 |
9686565 | Goel | Jun 2017 | B2 |
10547851 | Li | Jan 2020 | B2 |
11102498 | Furht | Aug 2021 | B2 |
11140386 | Zhang | Oct 2021 | B2 |
11206404 | Topiwala | Dec 2021 | B2 |
11431964 | Zhang | Aug 2022 | B2 |
20010014178 | Boon | Aug 2001 | A1 |
20050117815 | Lippincott | Jun 2005 | A1 |
20070160153 | Sullivan | Jul 2007 | A1 |
20090060034 | Park et al. | Mar 2009 | A1 |
20090161762 | Jun | Jun 2009 | A1 |
20100080287 | Ali | Apr 2010 | A1 |
20100150231 | Huang | Jun 2010 | A1 |
20110013692 | Cohen et al. | Jan 2011 | A1 |
20120069135 | Cipolli et al. | Mar 2012 | A1 |
20120269275 | Hannuksela | Oct 2012 | A1 |
20130089135 | Chen et al. | Apr 2013 | A1 |
20130089154 | Chen | Apr 2013 | A1 |
20130177084 | Wang et al. | Jul 2013 | A1 |
20130188730 | Hong et al. | Jul 2013 | A1 |
20130266067 | Song et al. | Oct 2013 | A1 |
20140072038 | Samuelsson | Mar 2014 | A1 |
20140269912 | Sullivan | Sep 2014 | A1 |
20140328387 | Puri et al. | Nov 2014 | A1 |
20140355676 | Seregin et al. | Dec 2014 | A1 |
20140355692 | Ramasubramonian | Dec 2014 | A1 |
20150036754 | Hendry | Feb 2015 | A1 |
20150195554 | Misra | Jul 2015 | A1 |
20150195573 | Aflaki | Jul 2015 | A1 |
20150201204 | Chen | Jul 2015 | A1 |
20150222928 | Tian | Aug 2015 | A1 |
20150264404 | Hannuksela et al. | Sep 2015 | A1 |
20150304665 | Hannnuksela et al. | Oct 2015 | A1 |
20150319442 | Puri | Nov 2015 | A1 |
20170085917 | Hannuksela et al. | Mar 2017 | A1 |
20170155911 | Lin | Jun 2017 | A1 |
20180098089 | Chen et al. | Apr 2018 | A1 |
20180160117 | Mukherjee et al. | Jun 2018 | A1 |
20190089976 | Huang et al. | Mar 2019 | A1 |
20190149837 | Lim et al. | May 2019 | A1 |
20190230285 | Kim | Jul 2019 | A1 |
20200045313 | Leleannec | Feb 2020 | A1 |
20200366888 | Seregin et al. | May 2020 | A1 |
20200296396 | Wenger | Sep 2020 | A1 |
20200404279 | Choi | Dec 2020 | A1 |
20210044818 | Furht | Feb 2021 | A1 |
20210044820 | Furht | Feb 2021 | A1 |
20220109885 | Deng | Apr 2022 | A1 |
20220124340 | Deng | Apr 2022 | A1 |
Number | Date | Country |
---|---|---|
3057319 | Aug 2016 | EP |
2018130414 | Jul 2018 | WO |
2019141907 | Jul 2019 | WO |
Entry |
---|
NPL Google Search; 2020. (Year: 2020). |
USPTO_Library log; 2022. (Year: 2022). |
Disparity-compensated inter-layer motion prediction using standardized HEVC; 2015. (Year: 2015). |
PCT/US2020/045220; International Search Report; dated Oct. 4, 2020. |
Fung et al., “New Architecture for Dynamic Frame-Skipping Transcoder”, IEEE Transactions on Image Processing, Aug. 2002, retrieved on [Oct. 12, 2020). Retrieved from the internet <URL: http://ira.lib.polyu.edu. h k/bitstream/10397 /253/1 /dynamic-frame _ 02. pdf> entire document. |
Fung et al., “New Architecture for Dynamic Frame-Skipping Transcoder,” IEEE Transactions on Image Processing, Aug. 2002 (http://ira.lib.polyu.edu.hk/bitstream/10397/253/1/dynamic-frame_02.pdf). |
Seregin et al., “AHG8: Scaling Window for Scaling Window Derivation,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/ WG 11, JVET-P0590-V3, Oct. 10, 2019. Downloaded from http://phenix.t-sudparis.eu/jvet/. |
Hannuksela et al. “AHG19: On Adaptive Resolution Changing” JVET-0048, Mar. 2019. |
Choi et al. “AHG8: Signaling and Filtering for Reference Picture Resampling” JVET-00332, Jul. 2019. |
Chen et al. “AHG 8: Adaptive Resolution Change” JVET-00303-V2, Jul. 2019. |
Samuelsson et al., “AHG 8: Adaptive Resolution Change (ARC) High-Level Syntax (HLS)” JVET-0204 Jul. 2019. |
Number | Date | Country | |
---|---|---|---|
20210044820 A1 | Feb 2021 | US |
Number | Date | Country | |
---|---|---|---|
62883484 | Aug 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/US2020/045220 | Aug 2020 | US |
Child | 16948123 | US |