The present invention generally relates to the field of video compression. In particular, the present invention is directed to online and offline selection of extended long term reference picture retention.
A video codec can include an electronic circuit or software that compresses or decompresses digital video. It can 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) can typically be called an encoder, and a device that decompresses video (and/or performs some function thereof) can be called a decoder.
A format of the compressed data can conform to a standard video compression specification. The compression can be lossy in that the compressed video lacks some information present in the original video. A consequence of this can include that decompressed video can have lower quality than the original uncompressed video because there is insufficient information to accurately reconstruct the original video.
There can be complex relationships between the video quality, the amount of data used to represent the video (e.g., determined by the bit rate), the complexity of the 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 can 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 can be employed in the encoding and decoding of video data for video compression, for example in the encoding and decoding using the Motion Picture Experts Group (MPEG)-2 (also referred to as advanced video coding (AVC) and H.264) standard. Motion compensation can describe a picture in terms of the transformation of a reference picture to the current picture. The reference picture can be previous in time when compared to the current picture, from the future when compared to the current picture, or can include a long-term reference (LTR) frame. When images can be accurately synthesized from previously transmitted and/or stored images, compression efficiency can be improved.
Long term reference (LTR) frames have been used in video coding standards such as MPEG-2, H.264 (also referred to as AVC or MPEG-4 Part 10), and H.265 (also referred to as High Efficiency Video Coding (HEVC)). A frame marked as an LTR frame in the video bitstream is available for use as a reference until it is explicitly removed by bitstream signaling. LTR frames improve prediction and compression efficiency in scenes that have static background over an extended period (e.g., background in a video conference or video of parking lot surveillance). However, overtime, the background of a scene gradually changes (e.g., cars when parked in an empty spot become part of the background scene). Updating the LTR frame thus improves compression performance by allowing a better prediction.
Current standards such as H.264 and H.265 allow updating of LTR frames by signaling a newly decoded frame to be saved and made available as a reference frame. Such updates are signaled by the encoder and an entire frame is updated. But updating the entire frame can be costly. And when an LTR frame is updated, the prior LTR frame is discarded. If the static background associated with the prior and discarded LTR frame occurs again in the video (e.g., as in videos which switches from a first scene to a second scene, and then back to the first scene), the prior LTR frame must again be encoded in the bitstream, which reduces compression efficiency.
In an aspect, an encoder includes circuitry configured to receive a video, determine a plurality of long-term reference frames, determine a long-term reference retention time, and encode the video into a bitstream including the determined plurality of long-term reference fames and the determined retention time.
In another aspect, a method includes receiving a video. The method includes determining a plurality of long-term reference frames. The method includes determining a long-term reference retention time. The method includes encoding the video into a bitstream, wherein encoding the video further comprises encoding the determined plurality of long-term reference fames and encoding the determined long term reference retention time.
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:
The drawings are not necessarily to scale and may be illustrated by phantom lines, diagrammatic representations and fragmentary views. In certain instances, details that are not necessary for an understanding of the embodiments or that render other details difficult to perceive may have been omitted. Like reference symbols in the various drawings indicate like elements.
Long-term reference picture (LTR) may be used for better prediction of video frames in the cases where certain portions of the frame become occluded then uncovered repeatedly over time. Traditionally, LTR is used over the duration of a scene or group-of-pictures, after which an LTR is replaced or discarded. Some implementations of the current subject matter may extend utility of LTR by selecting best candidate LTRs for retention in a reference list. In some implementations, explicitly signaled extended long-term reference (eLTR) frames may be retained in reference list for explicitly signaled lengths of time. Some implementations of current subject matter may provide significant compression efficiency gains compared to some existing approaches.
Some implementations of current subject matter may achieve selection and retention of an eLTR frame in video coding. The eLTR may be retained in a picture reference list, which may be used by the current frame or group of frames for prediction. While all other frames in the list may change over relatively short period, an eLTR may be retained in the reference list. For example,
In some implementations, and continuing to refer to
Still referring to
With continued reference to
Still referring to
Referring to
At step 310, and still referring to
At step 330, and still referring to
At step 340, and still referring to
In another approach to eLTR selection and retention, which may be referred to for the purposes of this disclosure as an “offline” method, a long retention period may be predetermined; the retention period may be very long, such as up to the duration of a video. During this period eLTR may be stored in a secondary list such as without limitation in memory and/or on hard drive; selection of memory in which secondary list and/or eLTR is stored may depend on a frequency of referencing. After expiration of retention period, eLTR referencing may be analyzed and a final (e.g., optimal) value of TR may be selected. A signaling pair (eLTR, TRfinal) may be stored and/or signaled. Offline approach may find application for on-demand situations, for example, when a time constraint is not present.
In an offline approach, a decision on final TR value may be made based on a decoder memory profile and desired compression efficiency. Accordingly, the current subject matter may allow for flexibility in tradeoff considerations. Some implementations of the current subject matter may provide for improved efficiency, at the expense of slightly higher memory usage and processing time, as compared to some alternative approaches. Some implementations of the current subject matter may reduce a number of bits used for compression at a comparably small expense in memory usage, as compared to some existing approaches.
At step 420, and still referring to
At 450, retention time may be updated in response to determining that current time does not exceed retention expiration time. Process 400 may return to 420 where retention expiration time may be set to current time plus the retention time. Process 400 may repeat to determine a respective long term reference retention time for each of one or more long term reference frames. As a result, each of one or more long term reference frames may be stored in secondary list with a variable indicating a currently calculated total retention time, which may be incremented until completion of process 400; as a result, a listing of long-term reference frames and corresponding total retention times may be stored in memory of encoder and/or transmitted to a decoder. Decoder may use total retention time for a given long term reference frame to determine whether that long term reference frame may be discarded; determination may be performed, without limitation, by decrementing total reference time and/or comparing it to a counter.
At step 510, and still referring to
Still referring to
In operation, for each block of a frame of the input video 605, whether to process the block via intra picture prediction or using motion estimation/compensation may be determined. Block may be provided to intra prediction processor 610 or motion estimation/compensation processor 620. If block is to be processed via intra prediction, intra prediction processor 610 may perform processing to output a predictor. If block is to be processed via motion estimation/compensation, a motion estimation/compensation processor 620 may perform processing including using eLTR frames as a reference for inter prediction, if applicable.
With continued reference to
Still referring to
In some implementations, and continuing to refer to
The subject matter described herein may provide many technical advantages. For example, some implementations of the current subject matter may provide for encoding video frames using an eLTR frame retained in a reference list. Such approaches may improve compression efficiency. Furthermore, eLTR utilization may improve error-resilience for video transmitted over noisy networks, for example, as a result of the reference frame being already transmitted and stored for a longer period.
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 Patent Application Serial No. PCT/US20/15417, filed on Jan. 28, 2020, and titled “ONLINE AND OFFLINE SELECTION OF EXTENDED LONG TERM REFERENCE PICTURE RETENTION,” which is incorporated by reference herein in its entirety. International Application Serial No. PCT/US20/15417 claims the benefit of priority of U.S. Provisional Patent Application Ser. No. 62/797,774, filed on Jan. 28, 2019, and titled “ONLINE SELECTION OF EXTENDED LONG TERM REFERENCE PICTURE RETENTION,” which is incorporated by reference herein in its entirety, and of U.S. Provisional Patent Application Ser. No. 62/797,805, filed on Jan. 28, 2019, and titled “OFFLINE SELECTION OF EXTENDED LONG TERM REFERENCE PICTURE RETENTION,” which is incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
8265145 | Pejhan | Sep 2012 | B1 |
10708613 | Samuelsson | Jul 2020 | B2 |
20020092030 | Gu | Jul 2002 | A1 |
20060013318 | Webb | Jan 2006 | A1 |
20060083298 | Wang | Apr 2006 | A1 |
20060159352 | Ishtiaq | Jul 2006 | A1 |
20070086521 | Wang | Apr 2007 | A1 |
20070183494 | Hannuksela | Aug 2007 | A1 |
20080159636 | Maruyama | Jul 2008 | A1 |
20090052550 | Lamy-Bergot | Feb 2009 | A1 |
20090097555 | Baillovoine et al. | Apr 2009 | A1 |
20090142043 | Fujinami | Jun 2009 | A1 |
20090169183 | Fujinami | Jul 2009 | A1 |
20090262804 | Pandit | Oct 2009 | A1 |
20090323801 | Imajou | Dec 2009 | A1 |
20100002762 | Pandit | Jan 2010 | A1 |
20100150223 | Nagaraj | Jun 2010 | A1 |
20130077681 | Chen | Mar 2013 | A1 |
20130107964 | Wahadaniah | May 2013 | A1 |
20130155184 | Chen | Jun 2013 | A1 |
20130188709 | Deshpande | Jul 2013 | A1 |
20130235927 | Win | Sep 2013 | A1 |
20130243081 | Chen | Sep 2013 | A1 |
20130272398 | Deshpande | Oct 2013 | A1 |
20130279589 | Gu | Oct 2013 | A1 |
20140003538 | Ramasubramonian et al. | Jan 2014 | A1 |
20140010281 | Rodriguez | Jan 2014 | A1 |
20140050270 | Lim | Feb 2014 | A1 |
20140079119 | Samuelsson | Mar 2014 | A1 |
20140086325 | Chen | Mar 2014 | A1 |
20140086326 | Dziecielewski | Mar 2014 | A1 |
20140086332 | Wang | Mar 2014 | A1 |
20140133556 | Chen | May 2014 | A1 |
20140198857 | Deshpande | Jul 2014 | A1 |
20140218473 | Hannuksela | Aug 2014 | A1 |
20140301463 | Rusanovskyy | Oct 2014 | A1 |
20150016500 | Seregin | Jan 2015 | A1 |
20150016531 | Hannuksela | Jan 2015 | A1 |
20150078456 | Hannuksela | Mar 2015 | A1 |
20150103881 | Hendry | Apr 2015 | A1 |
20150103927 | Hannuksela | Apr 2015 | A1 |
20150156501 | Hannuksela | Jun 2015 | A1 |
20150264370 | Ramasubramonian | Sep 2015 | A1 |
20150271526 | Hendry | Sep 2015 | A1 |
20150350660 | Choi | Dec 2015 | A1 |
20160044324 | Deshpande | Feb 2016 | A1 |
20160286219 | Rusanovskyy | Sep 2016 | A1 |
20160381373 | Seregin | Dec 2016 | A1 |
20170006303 | Sethuraman | Jan 2017 | A1 |
20170070739 | Lee | Mar 2017 | A1 |
20170085890 | Choi | Mar 2017 | A1 |
20170214938 | Zhang | Jul 2017 | A1 |
20170302936 | Li | Oct 2017 | A1 |
20180014010 | Dai | Jan 2018 | A1 |
20180249177 | Lin | Aug 2018 | A1 |
20180324459 | Bai | Nov 2018 | A1 |
20200195959 | Zhang et al. | Jun 2020 | A1 |
20210176489 | Hendry | Jun 2021 | A1 |
20210258601 | Kim | Aug 2021 | A1 |
Number | Date | Country |
---|---|---|
101674556 | Nov 2016 | KR |
101674556 | Nov 2016 | KR |
2017062377 | Apr 2017 | WO |
Entry |
---|
International Search Report; PCT/US20/15417; dated Apr. 8, 2020; By: Authorized Officer Shane Thomas. |
Extended European Search Report in corresponding EP application 20749332.1. |
“AHG17:On Reference Picture Management for VVC” 13. Wang et al. JVET Meeting Jan. 9, 2019-Jan. 18, 2019, Marrakech. |
“High Efficiency Video Coding (HEVC) text specification draft 7” JCTVC-11003-d9, Bross et al., May 2012. |
“Algorithm Description of Joint Exploration Test Model 7 (JEM7)” JVET-G1001-v1, Chen et al., Jul. 2017. |
Number | Date | Country | |
---|---|---|---|
20210360229 A1 | Nov 2021 | US |
Number | Date | Country | |
---|---|---|---|
62797805 | Jan 2019 | US | |
62797774 | Jan 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/US2015/000417 | Jan 2020 | US |
Child | 17387037 | US |