Method, device and storage medium for video decoding in video decoder

Through WDPR technology and distorted parameters in SEI messages, the problems of unanticipated fluctuations and global movement in video are solved, the efficiency and quality of video encoding are improved, and the compression rate and stability are achieved.

CN116325743BActive Publication Date: 2024-11-19TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280005838.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-06-27
Filing Date
2022-06-28
Publication Date
2024-11-19
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

When existing video encoding technologies reduce redundancy and improve compression rates, it is difficult to effectively handle unanticipated fluctuations and global movements in video, resulting in limited encoding efficiency and visual quality.

Method used

采用基于扭曲的解码图片重采样(WDPR)技术,通过SEI消息提供扭曲参数,用于图像稳定和运动补偿预测,减少视频中的非预期波动运动,并通过前向和后向扭曲过程优化编码效率 .

Benefits of technology

It improves the encoding efficiency and visual quality of video encoding, reduces motion jitter in the image sequence, enhances the compensation ability for global movement, and improves the compression rate and decoding performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116325743B_ABST
    Figure CN116325743B_ABST
Patent Text Reader

Abstract

Aspects of the present disclosure provide a method, an apparatus, and a non-transitory computer-readable storage medium for video decoding. The apparatus includes a processing circuit, and the processing circuit is configured to decode a current picture based on a code stream. The processing circuit can determine a first flag from an auxiliary enhancement information (SEI) message, and the first flag indicates whether a warping process is applied to the current decoded picture. Based on the first flag indicating that the warping process is applied to the current decoded picture, the processing circuit can determine the warping information of the warping process based on the SEI message. The processing circuit can determine the warped picture from the current decoded picture based on the warping information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Incorporation by reference

[0002] This application claims the benefit of priority to U.S. Patent Application No. 17 / 850,641, filed on June 27, 2022, entitled “WARPING-BASED DECODED PICTURERESAMPLING SUPPLEMENTARY ENHANCEMENT INFORMATION MESSAGE,” which claims the benefit of priority to U.S. Provisional Application No. 63 / 215,906, filed on June 28, 2021, entitled “Techniques for Warping-Based Decoded Picture Resampling SEI Message for Coded Video Stream.” The disclosure of the prior application is incorporated herein by reference in its entirety. Technical Field

[0003] This disclosure describes embodiments generally related to video coding. Background Art

[0004] The background description provided herein is for the purpose of presenting the present disclosure in general. The extent to which the work of the presently named inventors described in this background section and in various aspects of this specification is performed does not indicate that it qualifies as prior art at the time of filing this application, and it is never expressly or impliedly admitted that it is prior art to the present disclosure.

[0005] Image and / or video encoding and decoding may be performed using inter-picture prediction with motion compensation. An uncompressed digital image and / or video may include a series of pictures, each picture having a spatial size of, for example, 1920×1080 luma samples and associated chroma samples. The series of pictures may have a fixed or variable picture rate (also informally referred to as a frame rate) of, for example, 60 pictures per second or 60 Hz. Uncompressed images and / or videos have specific bit rate requirements. For example, 1080p60 4:2:0 video with 8 bits per sample (at a 60 Hz frame rate, with a resolution of 1920×1080 luma samples) requires a bandwidth of nearly 1.5 Gbit / s. One hour of such video requires more than 600 GB of storage space.

[0006] One purpose of image and / or video encoding and decoding can be to reduce redundancy in input image and / or video signals by compression. Compression can help reduce the above-mentioned bandwidth and / or storage space requirements, in some cases by two orders of magnitude or more. Although the description herein uses video encoding / decoding as an illustrative example, the same technology can be applied to image encoding / decoding in a similar manner without departing from the spirit of the present disclosure. Lossless compression and lossy compression and their combinations can be used. Lossless compression refers to a technology that can reconstruct an exact copy of the original signal from the compressed original signal. When lossy compression is used, the reconstructed signal may be different from the original signal, but the distortion between the original signal and the reconstructed signal is small enough to make the reconstructed signal usable for the intended application. In the case of video, lossy compression is widely used. The amount of distortion that can be tolerated depends on the application; for example, users of certain consumer streaming applications can tolerate higher distortion than users of television distribution applications. The achievable compression rate can reflect that higher allowable / tolerable distortion can produce higher compression rates.

[0007] Video encoders and decoders may utilize techniques from several broad categories including, for example, motion compensation, transforms, quantization, and entropy coding.

[0008] Video codec techniques may include a technique known as intra-coding. In intra-coding, sample values ​​are represented without reference to samples or other data from previously reconstructed reference pictures. In some video codecs, pictures are spatially subdivided into blocks of samples. When all sample blocks are encoded in intra-mode, the picture may be an intra-picture. Intra-pictures and their derivatives (e.g., independent decoder refresh pictures) can be used to reset the decoder state and can therefore be used as the first picture in an encoded video stream and video session, or as a still image. Samples of intra-blocks can be transformed, and transform coefficients can be quantized before entropy coding. Intra-prediction can be a technique for minimizing sample values ​​in the pre-transform domain. In some cases, the smaller the DC value after the transform and the smaller the AC coefficient, the fewer bits are required to represent the block after entropy coding at a given quantization step size.

[0009] Traditional intra-frame coding known, for example, from coding techniques such as MPEG-2 does not use intra-frame prediction. However, some newer video compression techniques include techniques that attempt to do so based on surrounding sample data and / or metadata that precede the data block in decoding order, for example, obtained during spatially adjacent encoding and / or decoding. Such techniques are hereinafter referred to as "intra-frame prediction" techniques. It should be noted that, at least in some cases, intra-frame prediction uses only reference data from the current picture being reconstructed, and does not use reference data from reference pictures.

[0010] Intra-frame prediction can take many different forms. When more than one such technique is available for use in a given video coding technique, the technique in use may be encoded in an intra-frame prediction mode. In some cases, a mode may have sub-modes and / or parameters, which may be encoded separately or contained in a mode codeword. Which codeword is used for a given mode, sub-mode, and / or parameter combination may affect the coding efficiency gain through intra-frame prediction, and therefore may affect the entropy coding technique used to convert the codeword into a bitstream.

[0011] H.264 introduced a certain intra prediction mode, which was refined in H.265 and further refined in newer coding techniques such as the Joint Exploration Model (JEM), Next Generation Video Coding (VVC), and Benchmark Set (BMS). Neighboring sample values ​​belonging to samples that are already available can be used to form a prediction block. Sample values ​​of neighboring samples are copied into the prediction block according to a certain direction. A reference to the direction in use can be encoded in the bitstream, or it can be predicted itself.

[0012] refer to Figure 1A , depicted at the bottom right is a subset of 9 prediction directions known from the 33 possible prediction directions of H.265 (corresponding to the 33 angular modes of the 35 intra modes). The point (101) where the arrows converge represents the sample being predicted. The arrows represent the direction along which the sample is predicted. For example, arrow (102) indicates that sample (101) is predicted from one or more samples at the top right at an angle of 45 degrees to the horizontal. Similarly, arrow (103) indicates that sample (101) is predicted from one or more samples at the bottom left of sample (101) at an angle of 22.5 degrees to the horizontal.

[0013] Still reference Figure 1A , a square block (104) of 4×4 samples is depicted in the upper left (indicated by the bold dashed line). The square block (104) includes 16 samples, each of which is labeled with "S", its position in the Y dimension (e.g., row index), and its position in the X dimension (e.g., column index). For example, sample S21 is the second sample in the Y dimension (starting from the top) and the first sample in the X dimension (starting from the left). Similarly, sample S44 is the fourth sample in the block (104) in both the Y and X dimensions. Since the size of the block is 4×4 samples, S44 is located in the lower right corner. Reference samples are also shown that follow a similar numbering scheme. The reference samples are labeled with R, their Y position (e.g., row index) and X position (column index) relative to the block (104). In H.264 and H.265, prediction samples adjacent to the block being reconstructed are used; there is no need to use negative values.

[0014] Intra picture prediction may start by copying reference sample values ​​from neighboring samples according to a signaled prediction direction. For example, assume that the encoded video bitstream includes signaling that indicates a prediction direction consistent with arrow (102) for the block, i.e., predicting samples from one or more prediction samples at the top right and at a 45 degree angle to the horizontal. In this case, samples S41, S32, S23, and S14 are predicted from the same reference sample R05. Sample S44 is then predicted from reference sample R08.

[0015] In some cases, the values ​​of multiple reference samples may be combined, such as by interpolation, to compute the reference sample; particularly when the directions are not evenly separated by 45 degrees.

[0016] As video coding technology continues to develop, the number of possible directions increases. In H.264 (2003), nine different directions can be represented. In H.265 (2013), this increased to 33 directions, and at the time of this disclosure, JEM / VVC / BMS can support up to 65 directions. Experiments have been conducted to identify the most likely directions, and some techniques in entropy coding are used to represent those possible directions with a small number of bits, accepting a certain cost for less likely directions. In addition, the direction itself can sometimes be predicted from the neighboring directions used in the neighboring blocks that have been decoded.

[0017] Figure 1B A schematic diagram (110) is shown depicting 65 intra prediction directions according to JEM to illustrate the increase in the number of prediction directions over time.

[0018] The mapping of intra-prediction direction bits representing directions in the coded video bitstream may vary from one video coding technique to another; for example, it may range from a simple direct mapping of prediction directions to intra-prediction modes, to codewords, to complex adaptive schemes involving most probable modes, and similar techniques. However, in all cases, there may be certain directions that are statistically less likely to occur in the video content than certain other directions. Since the goal of video compression is to reduce redundancy, in a well-designed video coding technique, those less likely directions will be represented by more bits than more likely directions.

[0019] Motion compensation may be a lossy compression technique, and may involve the following technique: a block of sample data from a previously reconstructed picture or portion thereof (reference picture) is used to predict a newly reconstructed picture or picture portion after being spatially shifted in a direction indicated by a motion vector (hereafter MV). In some cases, the reference picture may be the same as the picture currently being reconstructed. The MV may have two dimensions, X and Y, or three dimensions, with the third dimension indicating the reference picture being used (indirectly, the third dimension may be a temporal dimension).

[0020] In some video compression techniques, the MV applicable to a region of sample data may be predicted based on other MVs, for example, based on other MVs related to another region of sample data that is spatially adjacent to the region being reconstructed and that precede the MV in decoding order. Doing so can greatly reduce the amount of data required to encode the MV, thereby eliminating redundancy and increasing compression. MV prediction can work effectively, for example, because when encoding an input video signal obtained from a camera (called natural video), there is a statistical probability that a larger area than the area for which a single MV applies moves in a similar direction, so in some cases, similar motion vectors derived from MVs of adjacent areas can be used to predict the larger area. This makes the MV considered to be for a given area similar or identical to the MV predicted from the surrounding MVs, and then after entropy coding, the MV can be represented with fewer bits than when the MV is encoded directly. In some cases, MV prediction can be an example of lossless compression of a signal (i.e., MV) derived from the original signal (i.e., sample stream). In other cases, the MV prediction itself can be lossy, for example due to rounding errors when calculating the predicted value based on multiple surrounding MVs.

[0021] Various MV prediction mechanisms are described in H.265 / HEVC (ITU-T Recommendation H.265, "High Efficiency Video Coding", December 2016). Among the various MV prediction mechanisms provided by H.265, this article describes a technique referred to below as "spatial merging".

[0022] Referring to Figure 2, the current block (201) includes samples that have been found by the encoder during the motion search process, which can be predicted from a previous block of the same size that has been spatially offset. Instead of encoding the MV directly, the MV can be derived from metadata associated with one or more reference pictures, such as using the MV associated with any of the five surrounding samples labeled A0, A1 and B0, B1, B2 (corresponding to 202 to 206, respectively), and the MV is derived from the nearest reference picture (in decoding order). In H.265, MV prediction can use prediction values ​​from the same reference picture that the neighboring blocks are using. Summary of the invention

[0023] Aspects of the present disclosure provide methods and apparatus for video encoding and decoding. In some examples, an apparatus for video decoding includes a processing circuit. The processing circuit is configured to decode a current picture based on a code stream. The processing circuit may determine a first flag from an auxiliary enhancement information (SEI) message, the first flag indicating whether a warping process is applied to the current decoded picture. Based on the first flag indicating that the warping process is applied to the current decoded picture, the processing circuit may determine the warping information of the warping process based on the SEI message. The processing circuit may determine a warped picture from the current decoded picture based on the warping information.

[0024] In one embodiment, the SEI message is a display-oriented SEI message in a code stream.

[0025] In one embodiment, the SEI message is a Warp-Based Decoded Picture Resampling (WDPR) SEI message in the codestream.

[0026] In one embodiment, the warp information indicates four angle vectors between corners of the current decoded picture and corresponding corners of the warped picture.

[0027] In one embodiment, the processing circuit determines a vector between a sample position in the current decoded picture and a corresponding position in the warped picture based on four corner vectors.

[0028] In one embodiment, the warping process indicated by the previous SEI message is canceled based on the first flag indication, and the warping process is not applied to the current decoded picture.

[0029] In one embodiment, the warp information includes a second flag. Based on the second flag having a first value, the SEI message is applied only to the current decoded picture. Based on the second flag having a second value, the SEI message is applied to the current decoded picture and one or more subsequently decoded pictures of the current layer in output order until a condition is satisfied.

[0030] In one example, the second flag has a second value. The processing circuit may decode a subsequent picture of the current layer that follows the current picture in output order. The processing circuit may determine the warped picture from the subsequently decoded picture based on the warp information.

[0031] In one embodiment, the condition comprises a new coded layer video sequence (CLVS) of the current layer.

[0032] In one embodiment, the distortion information indicates a distortion pattern. The processing circuit may determine four angle vectors based on the distortion pattern.

[0033] Aspects of the present disclosure also provide a non-transitory computer-readable storage medium storing a program that can be executed by at least one processor to perform a method for video decoding. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Further features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings, in which:

[0035] Figure 1A is a schematic illustration of an exemplary subset of intra prediction modes.

[0036] Figure 1B is a diagram of exemplary intra prediction directions.

[0037] FIG. 2 shows a current block ( 201 ) and surrounding samples according to one embodiment.

[0038] Figure 3 is a schematic illustration of a simplified block diagram of a communication system (300) according to one embodiment.

[0039] Figure 4 is a schematic illustration of a simplified block diagram of a communication system (400) according to one embodiment.

[0040] Figure 5 is a schematic illustration of a simplified block diagram of a decoder according to one embodiment.

[0041] Figure 6 is a schematic illustration of a simplified block diagram of an encoder according to one embodiment.

[0042] Figure 7 A block diagram of an encoder according to another embodiment is shown.

[0043] Figure 8 A block diagram of a decoder according to another embodiment is shown.

[0044] Fig. 9 Exemplary vectors for warping are shown according to one embodiment of the present disclosure.

[0045] Fig. 10A An exemplary warping process in image stabilization according to one embodiment of the present disclosure is shown.

[0046] Fig. 10B An exemplary warping process for compensating for global motion in multiple input pictures according to one embodiment of the present disclosure is shown.

[0047] Fig.11 A flow chart outlining an encoding process according to one embodiment of the present disclosure is shown.

[0048] Fig.12 A flow chart outlining a decoding process according to one embodiment of the present disclosure is shown.

[0049] Fig.13is a schematic diagram of a computer system according to one embodiment. DETAILED DESCRIPTION

[0050] Figure 3 A simplified block diagram of a communication system (300) according to one embodiment of the present disclosure is shown. The communication system (300) includes a plurality of terminal devices that can communicate with each other via, for example, a network (350). For example, the communication system (300) includes a first pair of terminal devices (310) and (320) interconnected via the network (350). Figure 3 In the example of , the first terminal device performs unidirectional data transmission on (310) and (320). For example, the terminal device (310) can encode video data (e.g., a video picture stream collected by the terminal device (310)) for transmission to another terminal device (320) via the network (350). The encoded video data can be transmitted in the form of one or more encoded video code streams. The terminal device (320) can receive the encoded video data from the network (350), decode the encoded video data to restore the video picture, and display the video picture based on the restored video data. Unidirectional data transmission may be common in applications such as media services.

[0051] In another example, the communication system (300) includes a second pair of terminal devices (330) and (340) that perform bidirectional transmission of encoded video data, which bidirectional transmission can occur, for example, during a video conference. For bidirectional data transmission, in one example, each of the terminal devices (330) and (340) can encode video data (e.g., a video picture stream collected by the terminal device) for transmission to the other terminal device (330) and (340) via a network (350). Each of the terminal devices (330) and (340) can also receive the encoded video data transmitted by the other terminal device (330) and (340), and can decode the encoded video data to restore the video picture, and can display the video picture on an accessible display device based on the restored video data.

[0052] exist Figure 3In the example of , terminal device (310), terminal device (320), terminal device (330) and terminal device (340) may be shown as a server, a personal computer and a smart phone, but the principles of the present disclosure may not be limited to this. Embodiments of the present disclosure find application in laptop computers, tablet computers, media players and / or dedicated video conferencing devices. Network (350) represents any number of networks that transmit encoded video data between terminal devices (310), terminal devices (320), terminal devices (330) and terminal devices (340), including, for example, wired (wired) and / or wireless communication networks. Communication network (350) can exchange data in circuit switching channels and / or packet switching channels. Representative networks include telecommunication networks, local area networks, wide area networks and / or the Internet. For the purposes of this discussion, unless otherwise described below, the architecture and topology of network (350) may be irrelevant to the operation of the present disclosure.

[0053] As examples of applications for the disclosed subject matter, Figure 4 The placement of the video encoder and video decoder in a streaming environment is shown. The disclosed subject matter is equally applicable to other video-enabled applications including, for example, video conferencing, digital TV, storing compressed video on digital media including CDs, DVDs, memory sticks, etc., and the like.

[0054] The streaming system may include an acquisition subsystem (413), which may include a video source (401) such as a digital camera, which creates, for example, an uncompressed video picture stream (402). In one example, the video picture stream (402) includes samples captured by a digital camera. The video picture stream (402), which is depicted as a thick line to emphasize the high amount of data compared to the encoded video data (404) (or the encoded video bitstream), can be processed by an electronic device (420), which includes a video encoder (403) coupled to the video source (401). The video encoder (403) may include hardware, software, or a combination of hardware and software to implement or implement various aspects of the disclosed subject matter as described in more detail below. The encoded video data (404) (or the encoded video bitstream), which is depicted as a thin line to emphasize the lower amount of data compared to the video picture stream (402), can be stored on a streaming server (405) for future use. One or more streaming client subsystems, such as Figure 4The client subsystem (406) and the client subsystem (408) in the streaming server (405) can access the copy (407) and the copy (409) of the encoded video data (404). The client subsystem (406) may include, for example, a video decoder (410) in an electronic device (430). The video decoder (410) decodes the incoming copy (407) of the encoded video data and generates an output video picture stream (411) that can be presented on a display (412) (e.g., a display screen) or other presentation device (not depicted). In some streaming systems, the encoded video data (404), (407) and (409) (e.g., a video bitstream) can be encoded according to certain video encoding / compression standards. Examples of these standards include ITU-T Recommendation H.265. In one example, the video coding standard under development is informally referred to as next-generation video coding (VVC). The disclosed subject matter can be used in the context of VVC.

[0055] It should be noted that the electronic device (420) and the electronic device (430) may include other components (not shown). For example, the electronic device (420) may include a video decoder (not shown), and the electronic device (430) may also include a video encoder (not shown).

[0056] Figure 5 A block diagram of a video decoder (510) according to an embodiment of the present disclosure is shown. The video decoder (510) may be included in an electronic device (530). The electronic device (530) may include a receiver (531) (e.g., a receiving circuit). The video decoder (510) may be used to replace Figure 4 A video decoder (410) in an example of FIG.

[0057] The receiver (531) may receive one or more encoded video sequences to be decoded by the video decoder (510); in the same or another embodiment, one encoded video sequence may be decoded at a time, wherein the decoding of each encoded video sequence is independent of the other encoded video sequences. The encoded video sequence may be received from a channel (501), which may be a hardware / software link leading to a storage device storing the encoded video data. The receiver (531) may receive the encoded video data and other data, such as encoded audio data and / or auxiliary data streams, which may be forwarded to their respective consuming entities (not depicted). The receiver (531) may separate the encoded video sequence from the other data. To prevent network jitter, a buffer memory (515) may be coupled between the receiver (531) and the entropy decoder / parser (520) (hereinafter referred to as "parser (520)"). In some applications, the buffer memory (515) is part of the video decoder (510). In other applications, the buffer memory (515) may be located external to the video decoder (510) (not depicted). In still other applications, a buffer memory (not depicted) may be provided external to the video decoder (510) to, for example, prevent network jitter, and another additional buffer memory (515) may be provided internal to the video decoder (510) to, for example, handle playout timing. When the receiver (531) receives data from a store / forward device with sufficient bandwidth and controllability or from an isochronous network, the buffer memory (515) may not be required, or the buffer memory may be made smaller. For use on a traffic packet network such as the Internet, the buffer memory (515) may be required, the buffer memory (515) may be relatively large, advantageously may have an adaptive size, and may be implemented at least in part in an operating system or similar element (not depicted) external to the video decoder (510).

[0058] The video decoder (510) may include a parser (520) to reconstruct symbols (521) from the encoded video sequence. The categories of these symbols include information for managing the operation of the video decoder (510) and potential information for controlling a presentation device such as a presentation device (512) (e.g., a display screen) that is not an integral part of the electronic device (530) but can be coupled to the electronic device (530), such as Figure 5As shown. The control information for the rendering device may be in the form of an auxiliary enhancement information (SEI) message or a video usability information (VUI) parameter set fragment (not depicted). The parser (520) may parse / entropy decode the received coded video sequence. The encoding of the coded video sequence may be performed according to a video coding technique or standard, and may follow various principles, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (520) may extract a subgroup parameter set for at least one subgroup of the subgroups of pixels in the video decoder from the coded video sequence based on at least one parameter corresponding to the group. The subgroup may include a group of pictures (GOP), a picture, a tile, a slice, a macroblock, a coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. The parser (520) may also extract information such as transform coefficients, quantizer parameter values, motion vectors, etc. from the coded video sequence.

[0059] The parser (520) may perform entropy decoding / parsing operations on the video sequence received from the buffer memory (515), thereby creating symbols (521).

[0060] Depending on the type of coded video picture or part of coded video picture (e.g., inter-picture and intra-picture, inter-block and intra-block) and other factors, the reconstruction of symbol (521) may involve multiple different units. Which units are involved and how they are involved can be controlled by the parser (520) through subgroup control information parsed from the coded video sequence. For clarity, such subgroup control information flow between the parser (520) and the multiple units below is not depicted.

[0061] In addition to the functional blocks already mentioned, the video decoder (510) can be conceptually subdivided into a number of functional units as described below. In actual implementations operating under commercial constraints, many of these units interact closely with each other and may be at least partially integrated with each other. However, for the purposes of describing the disclosed subject matter, the conceptual subdivision into the following multiple functional units is appropriate.

[0062] The first unit is a sealer / inverse transform unit (551). The sealer / inverse transform unit (551) receives quantized transform coefficients as symbols (521) from the parser (520) and control information including which transform to use, block size, quantization factor, quantization scaling matrix, etc. The sealer / inverse transform unit (551) may output a block including sample values, which may be input into an aggregator (555).

[0063] In some cases, the output samples of the scaler / inverse transform unit (551) may belong to an intra-coded block; that is, a block that does not use prediction information from a previously reconstructed picture, but may use prediction information from a previously reconstructed portion of the current picture. Such prediction information may be provided by an intra-picture prediction unit (552). In some cases, the intra-picture prediction unit (552) uses surrounding reconstructed information extracted from the current picture buffer (558) to generate a block of the same size and shape as the block being reconstructed. For example, the current picture buffer (558) buffers a partially reconstructed current picture and / or a fully reconstructed current picture. In some cases, the aggregator (555) adds the prediction information generated by the intra-prediction unit (552) to the output sample information provided by the scaler / inverse transform unit (551) on a per-sample basis.

[0064] In other cases, the output samples of the scaler / inverse transform unit (551) may belong to a block that is inter-coded and potentially motion compensated. In this case, the motion compensated prediction unit (553) may access the reference picture memory (557) to extract samples for prediction. After the extracted samples are motion compensated according to the symbols (521) belonging to the block, these samples may be added to the output of the scaler / inverse transform unit (551) (in this case, referred to as residual samples or residual signals) by the aggregator (555) to generate output sample information. The extraction of prediction samples by the motion compensated prediction unit (553) from the address in the reference picture memory (557) may be controlled by a motion vector, which may be provided to the motion compensated prediction unit (553) in the form of symbols (521), which may have, for example, an X component, a Y component, and a reference picture component. Motion compensation may also include interpolation of sample values ​​extracted from the reference picture memory (557) when using sub-sample accurate motion vectors, motion vector prediction mechanisms, etc.

[0065] The output samples of the aggregator (555) may be subjected to various loop filtering techniques in a loop filter unit (556). The video compression techniques may include in-loop filter techniques controlled by parameters included in the coded video sequence (also referred to as a coded video bitstream) and available to the loop filter unit (556) as symbols (521) from the parser (520), however, the video compression techniques may also be responsive to meta-information obtained during decoding of a previous (in decoding order) portion of a coded picture or coded video sequence, and to previously reconstructed and loop filtered sample values.

[0066] The output of the loop filter unit (556) may be a sample stream that may be output to a rendering device (512) and stored in a reference picture memory (557) for future inter-picture prediction.

[0067] Once fully reconstructed, certain coded pictures may be used as reference pictures for future prediction. For example, once the coded picture corresponding to the current picture is fully reconstructed, and the coded picture is identified as a reference picture (e.g., by the parser (520)), the current picture buffer (558) may become part of the reference picture memory (557), and a new current picture buffer may be reallocated before starting to reconstruct a subsequent coded picture.

[0068] The video decoder (510) may perform decoding operations according to a predetermined video compression technique in a standard such as ITU-T H.265 Recommendation. The encoded video sequence may conform to the syntax specified by the video compression technology or standard used in the sense that the encoded video sequence follows the syntax of the video compression technology or standard and the profile recorded in the video compression technology or standard. Specifically, the profile may select certain tools from all the tools available in the video compression technology or standard as the only tools available for use under the profile. For compliance, the complexity of the encoded video sequence may also be required to be within the range defined by the hierarchy of the video compression technology or standard. In some cases, the hierarchy limits the maximum picture size, the maximum frame rate, the maximum reconstruction sampling rate (measured in, for example, mega samples per second), the maximum reference picture size, etc. In some cases, the limits set by the hierarchy may be further limited by the hypothetical reference decoder (HRD) specification and metadata of the HRD buffer management signaled in the encoded video sequence.

[0069] In one embodiment, the receiver (531) can receive additional (redundant) data when receiving the encoded video. The additional data can be included as part of the encoded video sequence. The additional data can be used by the video decoder (510) to properly decode the data and / or more accurately reconstruct the original video data. The additional data can take the form of, for example, temporal, spatial or signal-to-noise ratio (SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.

[0070] Figure 6 A block diagram of a video encoder (603) according to an embodiment of the present disclosure is shown. The video encoder (603) is included in an electronic device (620). The electronic device (620) includes a transmitter (640) (e.g., a transmission circuit). The video encoder (603) can be used to replace Figure 4 A video encoder (403) in an example.

[0071] The video encoder (603) can be used to obtain the video source (601) (not Figure 6In an example, the video source (601) is a part of the electronic device (620) to receive the video samples, and the video source (601) can capture the video images to be encoded by the video encoder (603). In another example, the video source (601) is a part of the electronic device (620).

[0072] The video source (601) may provide a source video sequence in the form of a digital video sample stream to be encoded by a video encoder (603), the digital video sample stream may have any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 YCrCB, RGB, ...), and any suitable sampling structure (e.g., YCrCb 4:2:0, YCrCb 4:4:4). In a media service system, the video source (601) may be a storage device storing previously prepared videos. In a video conferencing system, the video source (601) may be a camera that captures local image information as a video sequence. The video data may be provided as a plurality of separate pictures that are given motion when viewed sequentially. The picture itself may be constructed as a spatial pixel array, wherein each pixel may include one or more samples depending on the sampling structure, color space, etc. used. The relationship between pixels and samples may be easily understood by those skilled in the art. The following description focuses on the samples.

[0073] According to one embodiment, the video encoder (603) may encode and compress the pictures of the source video sequence into an encoded video sequence (643) in real time or under any other time constraints required by the application. Implementing the appropriate encoding speed is a function of the controller (650). In some embodiments, the controller (650) controls other functional units as described below and is functionally coupled to the other functional units described. For clarity, the coupling is not depicted in the figure. The parameters set by the controller (650) may include rate control related parameters (picture skipping, quantizer, lambda value of rate distortion optimization techniques, etc.), picture size, picture group (GOP) layout, maximum motion vector search range, etc. The controller (650) may be configured to have other suitable functions that are related to the video encoder (603) optimized for a certain system design.

[0074] In some embodiments, the video encoder (603) is configured to operate in an encoding loop. As an oversimplified description, in one example, the encoding loop may include a source encoder (630) (e.g., responsible for creating symbols, such as a symbol stream, based on an input picture to be encoded and a reference picture) and a (local) decoder (633) embedded in the video encoder (603). The decoder (633) reconstructs the symbols to create sample data in a manner similar to how the (remote) decoder may also create sample data (because in the video compression techniques considered in the disclosed subject matter, any compression between the symbols and the encoded video bitstream is lossless). The reconstructed sample stream (sample data) is input to a reference picture memory (634). Since the decoding of the symbol stream produces bit-accurate results that are independent of the decoder location (local or remote), the contents of the reference picture memory (634) are also bit-accurately corresponding between the local encoder and the remote encoder. In other words, the reference picture samples "seen" by the prediction portion of the encoder are exactly the same as the sample values ​​that the decoder will "see" when using the prediction during decoding. This basic principle of reference picture synchronization (and the drift that occurs when synchronization cannot be maintained, eg due to channel errors) is also used in some related techniques.

[0075] The operation of the "local" decoder (633) may be similar to that described above in conjunction with Figure 5 The "remote" decoder of the video decoder (510) described in detail is identical. However, additional brief reference is made to Figure 5 , since the symbols are available and the entropy encoder (645) and the parser (520) are able to losslessly encode / decode the symbols into an encoded video sequence, the entropy decoding portion of the video decoder (510) including the buffer memory (515) and the parser (520) may not be fully implemented in the local decoder (633).

[0076] In one embodiment, decoder techniques other than parsing / entropy decoding present in a decoder are present in a corresponding encoder in the same or substantially the same functional form. Therefore, the disclosed subject matter focuses on decoder operation. The description of encoder techniques can be simplified because encoder techniques are mutually inverse to the decoder techniques described comprehensively. In some areas, a more detailed description is provided below.

[0077] During operation, in some examples, the source encoder (630) may perform motion compensated predictive coding that predictively encodes an input picture by referencing one or more previously encoded pictures from a video sequence designated as "reference pictures." In this manner, the encoding engine (632) encodes the differences between pixel blocks of the input picture and pixel blocks of a reference picture that may be selected as a prediction reference for the input picture.

[0078] The local video decoder (633) may decode the encoded video data of the picture that may be designated as the reference picture based on the symbol created by the source encoder (630). The operation of the encoding engine (632) may advantageously be a lossy process. When the encoded video data may be decoded at the video decoder ( Figure 6 When the video encoder (603) is decoded from a remote video decoder (not shown), the reconstructed video sequence may typically be a copy of the source video sequence with some errors. The local video decoder (633) replicates the decoding process that may be performed by the video decoder on the reference picture and may cause the reconstructed reference picture to be stored in the reference picture memory (634). In this way, the video encoder (603) may store a copy of the reconstructed reference picture locally that has common content (absent transmission errors) with the reconstructed reference picture to be obtained by the remote video decoder.

[0079] The predictor (635) may perform a prediction search for the encoding engine (632). That is, for a new picture to be encoded, the predictor (635) may search the reference picture memory (634) for sample data (as candidate reference pixel blocks) or certain metadata, such as reference picture motion vectors, block shapes, etc., that may be used as appropriate prediction references for the new picture. The predictor (635) may operate on a pixel block by pixel block basis to find a suitable prediction reference. In some cases, as determined by the search results obtained by the predictor (635), the input picture may have prediction references taken from multiple reference pictures stored in the reference picture memory (634).

[0080] The controller (650) may manage encoding operations of the source encoder (630), including, for example, setting parameters and subgroup parameters for encoding video data.

[0081] The outputs of all the above functional units may be entropy encoded in an entropy encoder (645). The entropy encoder (645) performs lossless compression on the symbols generated by the various functional units according to techniques such as Huffman coding, variable length coding, arithmetic coding, etc., thereby converting the symbols into a coded video sequence.

[0082] The transmitter (640) can buffer the encoded video sequence created by the entropy encoder (645) in preparation for transmission over a communication channel (660), which can be a hardware / software link to a storage device that can store the encoded video data. The transmitter (640) can combine the encoded video data from the video encoder (603) with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (source not shown).

[0083] The controller (650) may manage the operation of the video encoder (603). During encoding, the controller (650) may assign a certain coded picture type to each coded picture, but this may affect the coding techniques that can be applied to the corresponding picture. For example, a picture may generally be assigned to any of the following picture types:

[0084] An intra picture (I picture) may be a picture that can be encoded and decoded without using any other picture in the sequence as a prediction source. Some video codecs allow for different types of intra pictures, including, for example, independent decoder refresh ("IDR") pictures. Those skilled in the art are aware of these variations of I pictures and their corresponding applications and features.

[0085] A predictive picture (P picture) may be a picture that can be encoded and decoded using intra prediction or inter prediction, which uses at most one motion vector and a reference index to predict sample values ​​for each block.

[0086] Bidirectional predictive pictures (B pictures), which can be pictures that can be encoded and decoded using intra-frame prediction or inter-frame prediction, which uses up to two motion vectors and reference indices to predict the sample values ​​of each block. Similarly, multiple predictive pictures can use more than two reference pictures and associated metadata to reconstruct a single block.

[0087] The source picture may typically be spatially subdivided into blocks of samples (e.g., blocks of 4×4, 8×8, 4×8, or 16×16 samples), and coded block by block. These blocks may be predictively coded with reference to other (already coded) blocks, which are determined by the coding allocation applied to the corresponding picture of the block. For example, blocks of an I picture may be non-predictively coded, or blocks of an I picture may be predictively coded (spatial prediction or intra prediction) with reference to already coded blocks of the same picture. Blocks of pixels of a P picture may be predictively coded by spatial prediction with reference to one previously coded reference picture or by temporal prediction. Blocks of a B picture may be predictively coded by spatial prediction with reference to one or two previously coded reference pictures or by temporal prediction.

[0088] The video encoder (603) may perform encoding operations according to a predetermined video encoding technique or standard, such as ITU-T H.265 Recommendation. In operation, the video encoder (603) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in an input video sequence. Thus, the encoded video data may conform to the syntax specified by the video encoding technique or standard used.

[0089] In one embodiment, the transmitter (640) may transmit additional data when transmitting the encoded video. The source encoder (630) may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, SEI messages, VUI parameter set fragments, etc.

[0090] The captured video may be taken as a plurality of source pictures (video pictures) in a temporal sequence. Intra-picture prediction (often shortened to intra-prediction) exploits spatial correlations in a given picture, while inter-picture prediction exploits (temporal or other) correlations between pictures. In one example, a particular picture being encoded / decoded is divided into blocks, and the particular picture being encoded / decoded is referred to as the current picture. When a block in the current picture is similar to a reference block in a reference picture that was previously encoded in the video and is still buffered, the block in the current picture may be encoded by a vector called a motion vector. The motion vector points to a reference block in a reference picture, and in the case where multiple reference pictures are used, the motion vector may have a third dimension that identifies the reference picture.

[0091] In some embodiments, a bidirectional prediction technique may be used for inter-picture prediction. According to the bidirectional prediction technique, two reference pictures are used, for example, a first reference picture and a second reference picture that precede the current picture in the video in decoding order (but may be in the past and future, respectively, in display order). A block in the current picture may be encoded by a first motion vector pointing to a first reference block in the first reference picture and a second motion vector pointing to a second reference block in the second reference picture. The block may be predicted by a combination of the first reference block and the second reference block.

[0092] In addition, merge mode technology can be used for inter-picture prediction to improve coding efficiency.

[0093] According to some embodiments of the present disclosure, predictions such as inter-picture prediction and intra-picture prediction are performed in units of blocks. For example, according to the HEVC standard, a picture in a video picture sequence is divided into coding tree units (CTUs) for compression, and the CTUs in the picture have the same size, such as 64×64 pixels, 32×32 pixels, or 16×16 pixels. Typically, a CTU includes three coding tree blocks (CTBs), which are a luminance CTB and two chrominance CTBs. Each CTU can be recursively divided into one or more coding units (CUs) in a quadtree. For example, a 64×64 pixel CTU can be divided into a 64×64 pixel CU, or 4 32×32 pixel CUs, or 16 16×16 pixel CUs. In one example, each CU is analyzed to determine a prediction type for the CU, such as an inter-prediction type or an intra-prediction type. The CU is divided into one or more prediction units (PUs) based on temporal and / or spatial predictability. Typically, each PU includes a luminance prediction block (PB) and two chrominance PBs. In one embodiment, the prediction operation in encoding (encoding / decoding) is performed in units of prediction blocks. Using a luma prediction block as an example of a prediction block, the prediction block includes a matrix of values ​​(e.g., luma values) for pixels, such as 8×8 pixels, 16×16 pixels, 8×16 pixels, 16×8 pixels, etc.

[0094] Figure 7 A diagram of a video encoder (703) according to another embodiment of the present disclosure is shown. The video encoder (703) is configured to receive a processed block (e.g., a prediction block) of sample values ​​within a current video picture in a sequence of video pictures and encode the processed block into an encoded picture that is part of an encoded video sequence. In one example, the video encoder (703) is used instead of Figure 4 A video encoder (403) in an example.

[0095] In the HEVC example, the video encoder (703) receives a matrix of sample values ​​for a processing block, such as a prediction block of 8×8 samples, etc. The video encoder (703) uses, for example, rate-distortion optimization to determine whether to use intra mode, inter mode, or bidirectional prediction mode to best encode the processing block. When the processing block is encoded in intra mode, the video encoder (703) may use intra prediction techniques to encode the processing block into an encoded picture; and when the processing block is encoded in inter mode or bidirectional prediction mode, the video encoder (703) may use inter prediction or bidirectional prediction techniques to encode the processing block into an encoded picture, respectively. In some video encoding techniques, the merge mode may be an inter-picture prediction submode, in which motion vectors are derived from one or more motion vector predictors without the aid of encoded motion vector components external to the predictor. In some other video encoding techniques, there may be motion vector components applicable to the subject block. In one example, the video encoder (703) includes other components, such as a mode decision module (not shown) for determining the mode of the processing block.

[0096] exist Figure 7 In the example of FIG. 7 , the video encoder ( 703 ) includes Figure 7 An inter-frame encoder (730), an intra-frame encoder (722), a residual calculator (723), a switch (726), a residual encoder (724), a general controller (721), and an entropy encoder (725) are shown coupled together.

[0097] The inter-frame encoder (730) is configured to receive samples of a current block (e.g., a processing block), compare the block with one or more reference blocks in a reference picture (e.g., blocks in a previous picture and a subsequent picture), generate inter-frame prediction information (e.g., redundant information description according to an inter-frame coding technique, motion vectors, merge mode information), and calculate an inter-frame prediction result (e.g., a predicted block) based on the inter-frame prediction information using any suitable technique. In some examples, the reference picture is a decoded reference picture decoded based on the encoded video information.

[0098] The intra encoder (722) is configured to receive samples of a current block (e.g., a processing block), compare the block with an encoded block in the same picture in some cases, generate quantization coefficients after transformation, and in some cases also generate intra prediction information (e.g., intra prediction direction information according to one or more intra coding techniques). In one example, the intra encoder (722) also calculates an intra prediction result (e.g., a predicted block) based on the intra prediction information and a reference block in the same picture.

[0099] The general controller (721) is configured to determine general control data and control other components of the video encoder (703) based on the general control data. In one example, the general controller (721) determines the mode of the block and provides a control signal to the switch (726) based on the mode. For example, when the mode is an intra-frame mode, the general controller (721) controls the switch (726) to select the intra-frame mode result for use by the residual calculator (723), and controls the entropy encoder (725) to select the intra-frame prediction information and include the intra-frame prediction information in the bitstream; and when the mode is an inter-frame mode, the general controller (721) controls the switch (726) to select the inter-frame prediction result for use by the residual calculator (723), and controls the entropy encoder (725) to select the inter-frame prediction information and include the inter-frame prediction information in the bitstream.

[0100] The residual calculator (723) is configured to calculate the difference (residual data) between the received block and the prediction result selected from the intra encoder (722) or the inter encoder (730). The residual encoder (724) is configured to operate based on the residual data to encode the residual data to generate a transform coefficient. In one example, the residual encoder (724) is configured to convert the residual data from the spatial domain to the frequency domain and generate a transform coefficient. The transform coefficient is then subjected to a quantization process to obtain a quantized transform coefficient. In various embodiments, the video encoder (703) also includes a residual decoder (728). The residual decoder (728) is configured to perform an inverse transform and generate decoded residual data. The decoded residual data can be used appropriately by the intra encoder (722) and the inter encoder (730). For example, the inter encoder (730) can generate a decoded block based on the decoded residual data and the inter prediction information, and the intra encoder (722) can generate a decoded block based on the decoded residual data and the intra prediction information. In some examples, the decoded blocks are processed appropriately to generate a decoded picture, and the decoded picture can be buffered in a memory circuit (not shown) and used as a reference picture.

[0101] The entropy encoder (725) is configured to format the codestream to include the encoded blocks. The entropy encoder (725) is configured to include various information according to a suitable standard such as the HEVC standard. In one example, the entropy encoder (725) is configured to include general control data, selected prediction information (e.g., intra-frame prediction information or inter-frame prediction information), residual information, and other suitable information in the codestream. It should be noted that according to the disclosed subject matter, when the block is encoded in the inter-frame mode or the merge sub-mode of the bidirectional prediction mode, there is no residual information.

[0102] Figure 8A diagram of a video decoder (810) according to another embodiment of the present disclosure is shown. The video decoder (810) is configured to receive an encoded picture as part of an encoded video sequence and decode the encoded picture to generate a reconstructed picture. In one example, the video decoder (810) is used instead of Figure 4 A video decoder (410) in an example of FIG.

[0103] exist Figure 8 In the example of FIG. 8 , the video decoder ( 810 ) includes Figure 8 An entropy decoder (871), an inter-frame decoder (880), a residual decoder (873), a reconstruction module (874) and an intra-frame decoder (872) are shown coupled together.

[0104] The entropy decoder (871) may be configured to reconstruct certain symbols from the encoded picture, the symbols representing the syntax elements constituting the encoded picture. Such symbols may include, for example, a mode for encoding a block (e.g., intra mode, inter mode, bidirectional prediction mode, a merged sub-mode of the latter two, or another sub-mode), prediction information (e.g., intra prediction information or inter prediction information) that can identify certain samples or metadata used by the intra decoder (872) or the inter decoder (880) for prediction, respectively, residual information in the form of, for example, quantized transform coefficients, etc. In one example, when the prediction mode is inter or bidirectional prediction mode, the inter prediction information is provided to the inter decoder (880); and when the prediction type is an intra prediction type, the intra prediction information is provided to the intra decoder (872). The residual information may be subjected to inverse quantization and provided to the residual decoder (873).

[0105] The inter-frame decoder (880) is configured to receive the inter-frame prediction information and generate an inter-frame prediction result based on the inter-frame prediction information.

[0106] The intra decoder (872) is configured to receive intra prediction information and generate a prediction result based on the intra prediction information.

[0107] The residual decoder (873) is configured to perform inverse quantization to extract dequantized transform coefficients, and process the dequantized transform coefficients to convert the residual from the frequency domain to the spatial domain. The residual decoder (873) may also require certain control information (to include quantizer parameters (QP)), which may be provided by the entropy decoder (871) (data path not depicted because this is only low data volume control information).

[0108] The reconstruction module (874) is configured to combine the residual output by the residual decoder (873) with the prediction result (which may be output by the inter-frame prediction module or the intra-frame prediction module, as appropriate) in the spatial domain to form a reconstructed block, which may be part of a reconstructed picture, which in turn may be part of a reconstructed video. It should be noted that other suitable operations such as deblocking operations may be performed to improve visual quality.

[0109] It should be noted that the video encoder (403), video encoder (603) and video encoder (703) and video decoder (410), video decoder (510) and video decoder (810) may be implemented using any suitable technology. In one embodiment, the video encoder (403), video encoder (603) and video encoder (703) and video decoder (410), video decoder (510) and video decoder (810) may be implemented using one or more integrated circuits. In another embodiment, the video encoder (403), video encoder (603) and video encoder (703) and video decoder (410), video decoder (510) and video decoder (810) may be implemented using one or more processors that execute software instructions.

[0110] According to one embodiment of the present disclosure, a code stream may include one or more coded video sequences (coded videosequences, CVS). CVS may be encoded independently of other CVS. Each CVS may include one or more layers, and each layer may be a representation of a video with a specific quality (e.g., spatial resolution), or a representation of a specific component interpretation attribute (e.g., a depth map, a transparency map, or a perspective map). In the time dimension, each CVS may include one or more access units (access units, AU). Each AU may include one or more pictures corresponding to different layers at the same time. A coded layer video sequence (coded layer video sequence, CLVS) is a layer-by-layer CVS that may include a sequence of picture units in the same layer. If the code stream has multiple layers, the CVS in the code stream may have one or more CLVS for each layer.

[0111] In one embodiment, the CVS includes a sequence of AUs, wherein the sequence of AUs includes, in decoding order: an intra random access point (IRAP) AU; followed by zero or more AUs that are not IRAP AUs. In one example, the zero or more AUs include all subsequent AUs, but do not include any subsequent AU that is an IRAP AU. In one example, the CLVS includes a sequence of associated non-video coding layer (VCL) network abstraction layer (NAL) units and pictures of the CVS base layer.

[0112] SEI messages may include information not required for decoding, such as decoded samples of encoded pictures from VCL NAL units. SEI messages can be used in processes related to decoding, display, or other purposes. SEI messages may be optional for constructing luminance or chrominance samples through the decoding process. Optionally, SEI messages may be processed by a conforming decoder so that the output order conforms to a specific standard (e.g., HEVC 265 or VVC). In one embodiment, SEI messages are present in the bitstream.

[0113] Table 1 shows an exemplary display-oriented SEI message syntax according to one embodiment of the present disclosure.

[0114] Table 1: Example display-oriented SEI message syntax

[0115]

[0116] The display-oriented SEI message semantics may be described as follows. When the picture output flag (e.g., PicOutputFlag) of a decoded picture is equal to 1, the display-oriented SEI message may inform the decoder of the transform to be applied to the cropped decoded picture before display. The cropped decoded picture may be obtained by cropping the decoded picture based on a cropping window (e.g., a conforming cropping window). In one example, the cropping window is specified in a sequence parameter set (SPS) referenced by the corresponding coded picture.

[0117] The picture output flag (e.g., PicOutputFlag) may indicate whether to output the decoded picture. For example, when the picture output flag (e.g., PicOutputFlag) is 1, the decoded picture may be sent as output from the decoded picture buffer. When the picture output flag (e.g., PicOutputFlag) is 0, the decoded picture may not be sent as output from the decoded picture buffer.

[0118] display_orientation_cancel_flag is equal to 1, which may indicate that the display orientation SEI message cancels the persistence of any display orientation SEI message preceding it in the output order. display_orientation_cancel_flag is equal to 0, which may indicate that the display orientation information follows. The display orientation information may include a horizontal flip flag, a vertical flip flag, a counterclockwise rotation, and a display orientation persistence flag.

[0119] The horizontal flip flag (eg, hor_flip) equal to 1 may indicate that the cropped decoded picture is horizontally flipped for display. The horizontal flip flag (eg, hor_flip) equal to 0 may indicate that the decoded picture is not horizontally flipped.

[0120] A vertical flip flag (e.g., ver_flip) equal to 1 may indicate that the cropped decoded picture is vertically flipped (e.g., in addition to horizontal flipping when hor_flip is equal to 1) for display. A vertical flip flag (e.g., ver_flip) equal to 0 may indicate that the decoded picture is not vertically flipped.

[0121] Counterclockwise rotation (eg, anticlockwise_rotation) may specify that the decoded picture is rotated counterclockwise before display (eg, after applying horizontal flip and / or vertical flip based on the horizontal flip flag and the vertical flip flag).

[0122] Equivalent conversions can be expressed in a variety of ways using the syntax elements described above.

[0123] The display orientation persistence flag (e.g., display_orientation_persistence_flag) may specify the persistence of the display orientation SEI message for the current layer. The display orientation persistence flag (e.g., display_orientation_persistence_flag) being equal to 0 may specify that the display orientation SEI message applies only to the current decoded picture. The display orientation persistence flag (e.g., display_orientation_persistence_flag) being equal to 1 may specify that the display orientation SEI message may persist for the current layer in output order until one or more conditions are true. The one or more conditions may include: (i) a new CLVS for the current layer starts; (ii) the codestream ends; and / or (iii) immediately outputting another picture in the current layer in the access unit after invoking the decoding process for the picture order count of the other picture, the other picture containing the display orientation SEI message applicable to the current layer, for which the picture order count (POC) of the other picture is greater than the POC of the current picture.

[0124] A resampling process or a warping process may be applied to a picture to generate a resampled picture (or warped picture). The warping process may be used for reference picture resampling, image stabilization, global motion compensation, and the like. In one embodiment, a resampling process (e.g., a reference picture resampling process) is applied to a previous picture (e.g., a previously decoded reference picture) to generate a warped picture for predicting a current picture, such as used in H.263 Annex P and described in the present disclosure. In one example, the resampling syntax specifies the relationship between the current picture and a previous picture having a different source format. The reference picture resampling mode may be used to adaptively change the resolution of a picture during encoding. A fast algorithm may be used to generate bilinear interpolation coefficients. In one example, the resampling syntax specifies global motion warping changes in the shape, size, and position of a previous picture relative to the current picture, such as due to global movement.

[0125] Fig. 9 1 shows an exemplary vector for warping according to one embodiment of the present disclosure. The resampling process (e.g., reference picture resampling) (900) can be described by the displacement of the four corners A to D of the current picture area (910). For the luma field of the current picture (910) with a horizontal size of H and a vertical size of V, four vectors (e.g., four conceptual MVs) v can be defined for the upper left corner A, the upper right corner B, the lower left corner C, and the lower right corner D of the picture (910), respectively. 00 、v H0 、v 0V 、v HV These four concepts MVv00 、v H0 、v 0V 、v HV It can describe how to move the four corners A to D of the current picture (910) to map the four corners A to D to the corresponding corners A' to D' of the previously decoded picture (920). The four vectors v 00 、v H0 、v 0V 、v HV The units of may be the same as those in the reference picture grid. To generate a vector v(x, y) at a real-valued position (x, y) inside the current picture (910), an approximation using bilinear interpolation may be used, such as

[0126] As in formula 1.

[0127]

[0128] The resampling process can be based on the vector v(x, y). The horizontal size H and vertical size V of the current picture and the horizontal size H of the reference picture R and the vertical dimension V R This may be indicated in the picture header. In one example, if the picture width or picture height is not divisible by 16, the additional area may be generated by adding pixels to the resampled picture using the same padding pattern as used during the resampling process.

[0129] In addition to reference picture resampling, a warping process may be used in image stabilization and / or global motion compensation, and warping information indicating warping parameters (eg, four vectors) may be signaled. The warping parameters may be included in an SEI message, as described below.

[0130] The present disclosure includes video coding techniques related to SEI messages (e.g., warp-based decoded picture resampling (WDPR) SEI messages) for encoded video streams. The warping process can be used for image stabilization, wherein the SEI message (e.g., WDPR SEI message) can provide warping parameters used in image stabilization to reduce undesired choppy motion in the video.

[0131] The warping process may be used to compensate for global movement (or global motion) in a plurality of input pictures, wherein warping parameters in an SEI message (e.g., a WDPR SEI message) may be used for more efficient or improved motion compensated prediction. In one embodiment, the warping process includes a forward warping process applied to the plurality of input pictures as pre-processing and a backward warping process applied to the plurality of decoded pictures as post-processing. In one example, the plurality of decoded pictures corresponds to the plurality of input pictures.

[0132] The SEI message may be used as a new SEI message, such as a WDPR SEI message. Optionally, the SEI message may be combined with another existing SEI message (e.g., the display orientation SEI message described above with reference to Table 1). In one example, the warping process is based on the above reference to Table 1. Fig. 9 The resampling process described is used, for example, in H.263 Annex P.

[0133] Image stabilization is widely used to reduce unwanted motion jitter in image sequences. For example, motion jitter occurs with camera shake or fast-moving objects while rolling the camera shutter. Motion anomalies caused by unstable external sources or environments can lead to unpleasant visual effects in video sequences. In order to improve the subjective visual quality, a warping process can be applied to the decoded pictures. The warping process can be applied at the decoder side as, for example, post-processing.

[0134] Fig. 10A An exemplary warping process (1000A) in image stabilization according to an embodiment of the present disclosure is shown. The acquisition side device can determine (e.g., detect or sense) camera shake and other external motions. The motion by frame or by picture can be parameterized into warping information (e.g., warping parameters). Fig. 10A In the example shown, parameterized warping information is sent to the decoder side, for example, via an SEI message (1051). The decoder can apply a warping process (e.g., image stabilization process) (1000A) to a decoded picture (1053) by utilizing the received warping information. In one example, the decoded picture (1053) is a cropped output picture (1005) with motion jitter. A warped picture (1055) can be generated from the cropped output picture (1053) by the warping process (1000A). The motion jitter (1005) in the cropped output picture (1053) can be reduced to generate a stabilized picture, for example, a warped picture (1055) with reduced motion jitter (1006).

[0135] As described above, the warping parameters in the SEI message (eg, WDPR SEI message) may be used for motion compensated prediction by applying a forward warping process as pre-processing to multiple input pictures and a backward warping process as post-processing to multiple decoded pictures. Fig. 10BAn exemplary warping process (1000B) for compensating for global movement in multiple input pictures according to an embodiment of the present disclosure is shown. In one example, multiple input pictures (1011) to (1013) are part of a CLVS. Multiple input pictures (1011) to (1013) show global movement, such as a shift toward the upper right direction indicated by vector (1001). For example, in multiple input pictures (1011) to (1013), the same features are located at different positions (1091) to (1093), respectively. In adjacent pictures (e.g., (1011) and (1012)), the displacement between the positions of the features (e.g., positions (1091) and (1092)) is vector (1001). On the encoder side, the global movement (e.g., vector (1001)) can be determined based on multiple input pictures (1011) to (1013). According to one embodiment of the present disclosure, a warping process (1000B) may be applied to multiple input pictures to improve encoding efficiency, as follows.

[0136] refer to Fig. 10B , on the encoder side, a transformation may be determined based on a global movement of multiple input pictures (1011) to (1013), such as a shift operation opposite to the global movement. A warping parameter may be determined, such as a vector (1002) opposite to the vector (1001). A forward warping process based on the vector (1002) may be applied to multiple input pictures (1011) to (1013) to compensate for the global movement. For example, forward warped pictures (1021) to (1023) are generated from corresponding input pictures (1011) to (1013) based on the vector (1002). Reference Fig. 10B , generating static pictures (e.g., (1021) to (1023)) with similar or identical features from video sequences (e.g., input pictures (1011) to (1013)) with different features, thereby improving coding efficiency because encoding static pictures with similar features can be more efficient than encoding video sequences with different features.

[0137] The forward warped pictures (1021) to (1023) may be encoded at the encoder side to form an encoded picture. In one example, warp information including warp parameters (e.g., vector (1002)) or vector (1001)) is parameterized and encoded into an SEI message (e.g., a WDPR SEI message). In one example, the warp information (e.g., including vector (1001)) to be used in the inverse warping process at the decoder side is represented as inverse warp information. The encoded picture and the SEI message may be sent to the decoder side.

[0138] refer to Fig. 10B, at the decoder side, the encoded picture can be decoded into decoded pictures (1031) to (1033) corresponding to the input pictures (1011) to (1013), respectively. The warp parameter (e.g., vector (1002) or vector (1001)) can be determined based on the warp information in the encoded SEI message. In order to restore the original position (1091) to (1093), the inverse warping process can be applied to the decoded pictures (1031) to (1033) to generate inverse warped pictures (1041) to (1043), thereby restoring the original global motion. Fig. 10B In the example shown, the dewarping process includes a shift of the decoded picture towards the upper right direction based on the vector (1001).

[0139] When the global movement is more complex, for example, the global movement includes a distortion change of the shape, size and position of the picture sequence, the distortion process (1000B) can be appropriately adjusted. In one example, the global movement is Fig. 9 The four vectors in the figure are represented, and the warping process (1000B) can be based on the reference Fig. 9 Describe the four vectors.

[0140] Fig.11 A flowchart outlining an encoding process (1100) according to one embodiment of the present disclosure is shown. The process (1100) may be used to encode a plurality of input pictures. In one example, the process (1100) includes performing a forward warping process. In various embodiments, the process (1100) is performed by a processing circuit, such as a processing circuit in a terminal device (310), a terminal device (320), a terminal device (330), and a terminal device (340), a processing circuit that performs the functions of a video encoder (e.g., (403), (603), (703)), etc. In some embodiments, the process (1100) is implemented in software instructions, so that when the processing circuit executes the software instructions, the processing circuit performs the process (1100). The process starts at (S1101) and proceeds to (S1110).

[0141] At (S1110), the distortion parameters of the plurality of input images may be determined based on the global movement associated with the plurality of input images. The global movement may include a distortion change of the plurality of input images. The distortion change may include a change in shape, size, and / or position of the plurality of input images. The global movement may include any movement or a combination of a plurality of movements, such as translation, rotation, and shape change of the plurality of input images. For example, when the global movement includes more than just translation (e.g., by Fig. 10B When the translation is represented by vector (1002) or (1001) in , the global movement can be represented by multiple vectors, such as Fig. 9 The four vectors v shown 00 、v H0 、v0V 、v HV The warp parameters may include (i) a single vector (e.g., (1001) or (1002)) or (ii) multiple vectors (e.g., v 00 、v H0 、v 0V 、v HV )’s horizontal and vertical components.

[0142] At (S1120), a warping process may be applied to the plurality of input images based on the determined warping parameters. Fig. 10B The forward warping process described above can generate a forward warped picture (e.g., (1021) to (1023)), wherein the global movement of the forward warped picture is smaller than the global movement of multiple input pictures (e.g., (1011) to (1013)). Therefore, encoding the forward warped picture can be more efficient than directly encoding the multiple input pictures.

[0143] When the process (1100) is used in certain applications, such as Fig. 10A When the image in the image is stable, step (S1120) may be omitted in some applications.

[0144] At (S1130), the forward warped picture may be encoded into a codestream. An auxiliary enhancement information (SEI) message may be encoded, wherein the SEI message may include a first flag indicating that the warping process is applied to multiple input pictures. The SEI message may indicate the warping parameters determined in (S1110). In one example, the SEI message is included in the codestream.

[0145] According to one embodiment of the present disclosure, the warping process may be based on a reference Fig. 9 The resampling process described. The SEI message may be a WDPR SEI message. Table 2 shows an exemplary syntax of the WDPR SEI message syntax.

[0146] Table 2: Warp-based decoded picture resampling SEI message syntax

[0147]

[0148]

[0149] The WDPR SEI message semantics may be described as follows. The WDPR SEI message may provide information to start the warping process of reconstructed samples of an output picture (e.g., a decoded picture) at the decoder side. In one example, the output picture (e.g., a decoded picture) is in the current layer and is part of the CLVS. Fig. 10AThe WDPR SEI message may provide information to initiate a warping process (1000A) of reconstructed samples of an output picture (e.g., a decoded picture (1053)) for the purpose of, for example, converting the output picture into a motion-stabilized picture (e.g., a warped picture (1055)) that provides a better visual experience. Fig. 10B , the WDPR SEI message may provide information to initiate a warping process (eg, Fig. 10B The unwarping process in ) is used to recover the original global motion.

[0150] The first flag (e.g., warping_based_decoded_picture_resampling_cancel_flag) is true (e.g., equal to 1), which may indicate that the WDPR SEI message cancels the persistence of any preceding WDPR SEI message applicable to the current layer in output order. The first flag (e.g., warping_based_decoded_picture_resampling_cancel_flag) is false (e.g., equal to 0), which may indicate that warp information (e.g., WDPR information) follows. In one example, when the first flag (e.g., warping_based_decoded_picture_resampling_cancel_flag) is false, the warp information is signaled.

[0151] In one example, a first flag (e.g., warping_based_decoded_picture_resampling_cancel_flag) indicates whether a warping process is applied to multiple input pictures. The first flag is true (e.g., equal to 1), which may indicate that a warping process is not applied to multiple input pictures. The first flag is false (e.g., equal to 0), which may indicate that a warping process is applied to multiple input pictures.

[0152] The warping information may include a second flag (eg, warping_based_decoded_picture_resampling_persistence_flag), a warping mode identifier (eg, warping_mode_idc), and a warping parameter.

[0153] The second flag (e.g., warping_based_decoded_picture_resampling_persistence_flag) may specify persistence of the WDPR SEI message. For example, persistence may be specified for the current layer. The second flag (e.g., warping_based_decoded_picture_resampling_persistence_flag) being false (e.g., equal to 0) may specify that the WDPR SEI message applies only to the current decoded picture. For example, the current decoded picture is one of multiple output pictures in the current layer. The second flag (e.g., warping_based_decoded_picture_resampling_persistence_flag) being true (e.g., equal to 1) may specify that the WDPR SEI message applies to the current decoded picture and persists for all pictures that follow in the output order of the current layer until one or more conditions are true. The conditions may include one or more of the following: (i) a new CLVS starts for the current layer; (ii) the end of the codestream; and (iii) outputting a picture in the current layer in the AU associated with a WDPR SEI message (e.g., a WDPR SEI message different from the current decoded picture), which follows the current decoded picture in output order.

[0154] The warping mode identifier (eg, warping_mode_idc) may specify a warping mode to be applied to an output picture (eg, a cropped output picture). In one example, the warping mode identifier (eg, warping_mode_idc) is equal to 0, specifying that the above-referenced Fig. 9 A warping process with four corner vectors including eight parameters is described (e.g., as used in H.263 Annex P). The warping parameters may include four corner vectors or eight parameters. When the warping mode identifier (e.g., warping_mode_idc) is equal to 0, there are four corner vectors represented as (corner_vector_x[i], corner_vector_y[i]) in the SEI message. Other values ​​of the warping mode identifier may indicate other warping modes. In one example, values ​​greater than 1 of the warping mode identifier (e.g., warping_mode_idc) are reserved for future use, such as by ITU-T|ISO / IEC.

[0155] The corner vectors are referenced by the variables corner_vector_x[i] and corner_vector_y[i]. Return Reference Fig. 9 , distortion parameters, such as the four corner vectors v 00 、v H0 、v0V 、v HV The values ​​of can be determined by (corner_vector_x[0], corner_vlector_y[0]), (corner_vector_x[1], corner_vlector_y[1]), (corner_vector_x[2], corner_vlector_y[2]) and (corner_vector_x[3], corner_vlector_y[3]) respectively.

[0156] Process (1100) proceeds to (S1199) and ends.

[0157] The process (1100) may be appropriately adapted to various scenarios, and the steps in the process (1100) may be adjusted accordingly. One or more steps in the process (1100) may be adjusted, omitted, repeated, and / or combined. The process (1100) may be implemented in any suitable order. Additional steps may be added.

[0158] In one example, the warp information described with reference to Table 2 is included in another SEI message, such as a display oriented SEI message. For example, one or more syntax elements in Table 2 are combined with syntax elements in Table 1.

[0159] In one example, the process (1100) is used in certain applications where step (S1120) is not required. For example, when the application is image stabilization, (S1120) may be omitted. The warp information in the SEI message may be used by a decoder on the decoder side to perform a warp process based on the warp information. (S1130) may be adjusted so that multiple input pictures are encoded instead of encoding a forward warp picture.

[0160] In one example, the process (1100) is used to reduce global motion and (S1120) is performed as a forward warping process.The warp information in the SEI message can be used by a decoder at the decoder side to perform an inverse warping process based on the warp information.

[0161] In one example, whether to perform a warping process on multiple input pictures is determined based on global movement or motion jitter. If it is determined that a warping process is to be performed on multiple input pictures on the encoder side and / or corresponding decoded pictures on the decoder side, one or more steps of process (1100) may be performed as described in the present disclosure. If it is determined that the warping process is not to be performed, steps (S1110) and (S1120) are omitted. (S1130) may be adjusted so that multiple input pictures are encoded and SEI messages are not encoded.

[0162] Fig.12A flowchart outlining a decoding process (1200) according to one embodiment of the present disclosure is shown. The process (1200) may be used to decode a current picture in a code stream and perform a warping process on the current decoded picture. In various embodiments, the process (1200) is performed by a processing circuit, such as a processing circuit in a terminal device (310), a terminal device (320), a terminal device (330), and a terminal device (340), a processing circuit that performs the functions of a video encoder (403), a processing circuit that performs the functions of a video decoder (410), a processing circuit that performs the functions of a video decoder (510), a processing circuit that performs the functions of a video encoder (603), and the like. In some embodiments, the process (1200) is implemented in software instructions, so when the processing circuit executes the software instructions, the processing circuit performs the process (1200). The process starts at (S1201) and proceeds to (S1210).

[0163] At (S1210), the current picture may be decoded based on the code stream.

[0164] At (S1220), first information (e.g., a first flag) may be determined from an SEI message, the first information indicating whether a warping process is applied to a current decoded picture. In an example, the SEI message is a display-oriented SEI message in a codestream, and the display-oriented SEI message includes syntax elements (e.g., a first flag, a second flag, a warping mode identifier, and an angle vector), such as shown in Table 2. In an example, the SEI message is a WDPR SEI message in a codestream, such as described with reference to Table 2.

[0165] In one example, the first flag is represented as the above-mentioned warping_based_decoded_picture_resampling_cancel_flag. The first flag is false (e.g., equal to 0), which may indicate that the warping information is included in the SEI message and the warping process is applied. The first flag (e.g., warping_based_decoded_picture_resampling_cancel_flag) is true (e.g., equal to 1), which may indicate that the SEI message cancels the persistence of any WDPR SEI message preceding in the output order applicable to the current layer, and the warping process is not applied.

[0166] At (S1230), based on the first information (eg, the first flag) indicating that the warping process is applied to the current decoded picture, warping information of the warping process may be determined based on the SEI message.

[0167] The warp information may indicate warp parameters, such as four angle vectors (eg, Fig. 9 The v shown00 、v H0 、v 0V 、v HV ). In some examples, the warp parameters include a vector indicating a shift operation (e.g., Fig. 10B vector (1001) or (1002) in the.

[0168] In one example, the warp information indicates a warp mode (eg, a warp mode having a warp mode identifier of 0), and the four angle vectors may be determined based on the warp mode.

[0169] The warping information may include second information (e.g., a second flag). In one example, the second flag is represented as warping_based_decoded_picture_resampling_persistence_flag. The second flag has a first value (e.g., 0), indicating that the SEI message applies only to the current decoded picture. The second flag has a second value (e.g., 1), indicating that the SEI message applies to the current decoded picture and one or more pictures of the current layer that are subsequently decoded in the output order until a condition is met. The condition may include one or more of the following: (i) a new CLVS for the current layer starts; (ii) the codestream ends; (iii) a picture in the current layer in an AU associated with a WDPR SEI message (e.g., an SEI message different from the current decoded picture) is output, and the picture follows the current decoded picture in the output order.

[0170] At (S1240), a warped picture may be determined from the current decoded picture based on the warping information, such as warping parameters. In one example, the warping parameters may include four angle vectors (e.g., Fig. 9 The v shown 00 、v H0 、v 0V 、v HV ), the vector between the sample position in the current decoded picture and the corresponding position in the distorted picture can be determined based on the four corner vectors, for example using Equation 1.

[0171] In one example, the second flag has a second value indicating that the SEI message applies to the current decoded picture and one or more pictures of the current layer that are decoded subsequently in output order. A subsequent picture of the current layer that follows the current picture in output order may be decoded. A subsequent warped picture may be determined from a subsequent decoded picture based on the warp information.

[0172] The process (1200) proceeds to (S1299) and ends.

[0173] The process (1200) may be appropriately adapted to various scenarios, and the steps in the process (1200) may be adjusted accordingly. One or more steps in the process (1200) may be adjusted, omitted, repeated, and / or combined. The process (1200) may be implemented in any suitable order. Additional steps may be added.

[0174] In one example, the warping process indicated by the previous SEI message is canceled based on the first flag indication, and the warping process is not applied to the current decoded picture. Therefore, steps (S1230) and (S1240) are omitted.

[0175] The process (1200) may be used in certain applications, such as Fig. 10A The image shown is stabilized and no corresponding warping process is performed on the encoder side. The process (1200) can be used as an inverse warping process to compensate for e.g. Fig. 10B The global motion shown, wherein a corresponding forward warping process is performed on the encoder side. In one example, the warping parameters in the SEI message are adjusted based on whether the process (1200) is used for image stabilization or as an inverse warping process to compensate for global motion. In one example, the warping parameters in the SEI message for image stabilization or the warping parameters in the SEI message for the inverse warping process to compensate for global motion are the same and can be adjusted (S1240) based on whether the process (1200) is used for image stabilization or as an inverse warping process to compensate for global motion.

[0176] The embodiments of the present disclosure may be used alone or in any order. In addition, each of the method (or embodiment), encoder, and decoder may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium.

[0177] The above techniques may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media. Fig.13 A computer system (1300) suitable for implementing certain embodiments of the disclosed subject matter is shown.

[0178] Computer software may be encoded using any suitable machine code or computer language that may be subjected to assembly, compilation, linking or similar mechanisms to create code comprising instructions that may be executed directly by one or more computer central processing units (CPUs), graphics processing units (GPUs), etc., or through interpretation, microcode execution, etc.

[0179] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, and the like.

[0180] Fig.13 The components of the computer system (1300) shown are exemplary in nature and are not intended to suggest any limitation on the scope of use or functionality of computer software implementing embodiments of the present disclosure. Neither should the configuration of components be interpreted as having any dependency or requirement relating to any one or combination of components shown in the exemplary embodiment of the computer system (1300).

[0181] The computer system (1300) may include certain human-machine interface input devices. Such human-machine interface input devices may be responsive to input from one or more human users through, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), olfactory input (not depicted). Human-machine interface devices may also be used to capture certain media that are not necessarily directly related to human conscious input, such as audio (e.g., voice, music, ambient sounds), images (e.g., scanned images, captured images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0182] The human-machine interface input device may include one or more of the following (only one of each is shown): keyboard (1301), mouse (1302), touch pad (1303), touch screen (1310), data gloves (not shown), joystick (1305), microphone (1306), scanner (1307), camera (1308).

[0183] The computer system (1300) may also include certain human-machine interface output devices. Such human-machine interface output devices may stimulate one or more human user senses through, for example, tactile output, sound, light, and smell / taste. Such human-machine interface output devices may include tactile output devices (e.g., tactile feedback of a touch screen (1310), a data glove (not shown), or a joystick (1305), but may also be a tactile feedback device that is not an input device), audio output devices (e.g., speakers (1309), headphones (not depicted)), visual output devices (e.g., screens (1310) including CRT screens, LCD screens, plasma screens, OLED screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities, some of which are capable of outputting two-dimensional visual outputs or outputs in more than three dimensions through devices such as stereoscopic image output, virtual reality glasses (not depicted), holographic displays and smoke boxes (not depicted), and printers (not depicted).

[0184] The computer system (1300) may also include human-accessible storage devices and their associated media, such as optical media including CD / DVD ROM / RW (1320) with CD / DVD etc. media (1321), thumb drives (1322), removable hard drives or solid-state drives (1323), traditional magnetic media such as tapes and floppy disks (not depicted), dedicated ROM / ASIC / PLD based devices such as security dongles (not depicted), and the like.

[0185] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the presently disclosed subject matter does not encompass transmission media, carrier waves, or other transitory signals.

[0186] The computer system (1300) may also include an interface (1354) to one or more communication networks (1355). The network may be, for example, a wireless network, a wired network, an optical network. The network may further be a local network, a wide area network, a metropolitan area network, a vehicle and industrial network, a real-time network, a delay-tolerant network, etc. Examples of networks include local area networks such as Ethernet, wireless LANs, cellular networks including GSM, 3G, 4G, 5G, LTE, etc., television wired or wireless wide area digital networks including cable television, satellite television, and terrestrial broadcast television, vehicle and industrial networks including CANBus, etc. Some networks typically require an external network interface adapter attached to some common data port or peripheral bus (1349) (e.g., a USB port of the computer system (1300)); as described below, other network interfaces are typically integrated into the kernel of the computer system (1300) by attaching to the system bus (e.g., connected to an Ethernet interface in a PC computer system or connected to a cellular network interface in a smartphone computer system). The computer system (1300) can use any of these networks to communicate with other entities. Such communications may be one-way receive only (e.g., broadcast television), one-way send only (e.g., CANBus connected to certain CANBus devices), or bidirectional, for example, using a LAN or WAN digital network to connect to other computer systems. As described above, certain protocols and protocol stacks may be used on each of those networks and network interfaces.

[0187] The above-mentioned human-machine interface device, human-machine accessible storage device and network interface may be attached to the kernel (1340) of the computer system (1300).

[0188] The kernel (1340) may include one or more central processing units (CPUs) (1341), graphics processing units (GPUs) (1342), dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) (1343), hardware accelerators (1344) for certain tasks, graphics adapters (1350), and the like. These devices, as well as read-only memory (ROM) (1345), random access memory (1346), internal mass storage (1347) such as internal non-user accessible hard drives, SSDs, and the like, may be connected via a system bus (1348). In some computer systems, the system bus (1348) may be accessed in the form of one or more physical plugs to enable expansion by additional CPUs, GPUs, and the like. Peripheral devices may be attached directly to the kernel's system bus (1348) or to the kernel's system bus (1348) via a peripheral bus (1349). In one example, a screen (1310) may be connected to a graphics adapter (1350). The architecture of the peripheral bus includes PCI, USB, and the like.

[0189] The CPU (1341), GPU (1342), FPGA (1343) and accelerator (1344) can execute certain instructions, which can be combined to form the above-mentioned computer code. The computer code can be stored in ROM (1345) or RAM (1346). Transitional data can be stored in RAM (1346), while permanent data can be stored, for example, in internal mass storage (1347). Fast storage and retrieval to any storage device can be performed by using a cache, which can be closely associated with the following: one or more CPUs (1341), GPUs (1342), mass storage (1347), ROM (1345), RAM (1346), etc.

[0190] The computer readable medium may have thereon computer codes for performing various computer-implemented operations. The medium and computer codes may be those specially designed and constructed for the purposes of the present disclosure, or the medium and computer codes may be of a type well known and available to those skilled in the art of computer software.

[0191] As an example, and not a limitation, a computer system having an architecture (1300), particularly a kernel (1340), may provide functionality due to one or more processors (including CPUs, GPUs, FPGAs, accelerators, etc.) executing software contained in one or more tangible computer-readable media. Such computer-readable media may be media associated with user-accessible mass storage as described above, as well as memories of certain non-temporary kernels (1340), such as kernel internal mass storage (1347) or ROM (1345). Software implementing various embodiments of the present disclosure may be stored in such devices and executed by the kernel (1340). Depending on specific needs, the computer-readable medium may include one or more storage devices or chips. The software may enable the kernel (1340), particularly the processors therein (including CPUs, GPUs, FPGAs, etc.), to perform specific processes or specific parts of specific processes described herein, including defining data structures stored in RAM (1346) and modifying such data structures according to processes defined by the software. Additionally or alternatively, a computer system may provide functionality due to logic hardwired or otherwise embodied in circuitry (e.g., accelerator (1344)) that may replace software or operate in conjunction with software to perform specific processes or specific portions of specific processes described herein. Where appropriate, references to portions of software may include logic and vice versa. Where appropriate, references to portions of computer-readable media may include circuitry (e.g., integrated circuits (ICs)) storing software for execution, circuitry embodying logic for execution, or both. The present disclosure includes any suitable combination of hardware and software.

[0192] Appendix A: Acronyms

[0193] JEM: Joint Exploration Model

[0194] VVC: Next Generation Video Coding

[0195] BMS: Benchmark Set

[0196] MV: Motion Vector

[0197] HEVC: High Efficiency Video Coding

[0198] SEI: Supplementary Enhancement Information

[0199] VUI: Video Availability Information

[0200] GOP: Group of Pictures

[0201] TU: Transform Unit

[0202] PU: prediction unit

[0203] CTU: Coding Tree Unit

[0204] CTB: Coding Tree Block

[0205] PB: prediction block

[0206] HRD: Hypothetical Reference Decoder

[0207] SNR: Signal to Noise Ratio

[0208] CPU: Central Processing Unit

[0209] GPU: Graphics Processing Unit

[0210] CRT: cathode ray tube

[0211] LCD: Liquid Crystal Display

[0212] OLED: Organic Light Emitting Diode

[0213] CD: compact disc

[0214] DVD: Digital Video Disc

[0215] ROM: Read Only Memory

[0216] RAM: Random Access Memory

[0217] ASIC: Application-Specific Integrated Circuit

[0218] PLD: Programmable Logic Device

[0219] LAN: Local Area Network

[0220] GSM: Global System for Mobile Communications

[0221] LTE: Long Term Evolution

[0222] CANBus: Controller Area Network Bus

[0223] USB: Universal Serial Bus

[0224] PCI: Peripheral Component Interconnect

[0225] FPGA: Field Programmable Gate Array

[0226] SSD: Solid State Drive

[0227] IC: Integrated Circuit

[0228] CU: Coding Unit

[0229] RD: Rate Distortion

[0230] Although the present disclosure has described multiple exemplary embodiments, there are modifications, permutations, and various replacement equivalents that fall within the scope of the present disclosure. Therefore, it should be understood that those skilled in the art will be able to design many systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and therefore fall within the spirit and scope of the present disclosure.

Claims

1. A method for video decoding in a video decoder, It is characterized in that include: Decode the current picture based on the code stream; Determining a first flag from an auxiliary enhancement information (SEI) message, the first flag indicating whether a warping process is applied to a current decoded picture, the SEI message being a warp-based decoded picture resampling (WDPR) SEI message in the codestream; Indicating that a warping process is applied to a current decoded picture based on the first flag, determining warping information of the warping process based on the SEI message, the warping information indicating four angle vectors between corners of the current decoded picture and corresponding corners of the warped picture; as well as Based on the warping information, the warped picture is determined from the current decoded picture, and the warping process is applied in image stabilization and / or global motion compensation.

2. The method according to claim 1, It is characterized in that Determining the distorted image includes: Based on the four corner vectors, vectors between sample positions in the current decoded picture and corresponding positions in the warped picture are determined.

3. The method according to claim 1, It is characterized in that The warping process indicated by the previous SEI message is canceled based on the first flag indication, and the warping process is not applied to the current decoded picture.

4. The method according to claim 1, It is characterized in that The distortion information includes a second flag, Based on the second flag having a first value, applying the SEI message only to the current decoded picture, Based on the second flag having a second value, the SEI message is applied to the current decoded picture and one or more subsequently decoded pictures of the current layer in output order until a condition is met.

5. The method according to claim 4, It is characterized in that The second flag has the second value, the method further comprising: decoding a subsequent picture of the current layer that follows the current picture in output order; and A warped picture is determined from the subsequently decoded picture based on the warp information.

6. The method according to claim 4, It is characterized in that The condition comprises a new coded layer video sequence (CLVS) of the current layer.

7. A device for video decoding, It is characterized in that include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory to execute the method according to any one of claims 1 to 6.

8. A non-transitory computer-readable storage medium, It is characterized in that A program is stored, which can be executed by at least one processor to perform the method according to any one of claims 1 to 6.