Wraparound offsets for reference picture resampling in video coding

SA522433105B1Active Publication Date: 2024-02-22QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA522433105
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-06-21
Publication Date
2024-02-22
Estimated Expiration
2040-12-23

AI Technical Summary

Technical Problem

Current implementations of horizontal convolution motion compensation in video coding systems, particularly in 360-degree video, result in incorrect prediction blocks due to reference image remapping, leading to visual artifacts when motion vectors exceed image boundaries.

Method used

The method compensates for horizontal roll motion by obtaining a convolution offset value from the picture parameter set (PPS) data structure, enabling accurate prediction block determination even with remapped reference images, thus supporting RPR and horizontal roll motion compensation without prediction errors.

Benefits of technology

This approach ensures accurate prediction block selection in remapped reference images, maintaining video quality by preventing visual artifacts and supporting efficient video coding.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

A video decoder can be configured to obtain, from a picture parameter set (PPS) data structure of video data, a value for a wraparound offset; in response to determining that a block of the video data is encoded in an inter prediction mode, determine a motion vector for the block and a reference picture for the block; determine a horizontal wrap around position in the reference picture based on the value for the wraparound offset; and determine a prediction block for the block based on the horizontal wrap around position. Fig.10
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present invention relates to video encoding and decoding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Digital video capabilities can be integrated into many devices, such as digital televisions, digital direct broadcasting systems, wireless streaming systems, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, e-book readers, digital cameras, digital recorders, digital media players, video game consoles, wireless cellular or satellite phones, so-called "smartphones," video teleconferencing devices, video streaming devices, and the like. Digital video devices implement video coding technologies, such as those described in standards defined as MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264 / MPEG-4 Part 10, Advanced Video Coding, ITU-T H.265 / High Efficiency Video Coding (HEVC), and extensions to these standards. Video devices may transmit, receive, encode, decode, and / or store digital video information more efficiently by using these video coding methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Video coding techniques incorporate spatial (within-image) and / or temporal (between-image) prediction to reduce or eliminate the inherent redundancy in video sequences. For block-based video coding, a video segment (e.g., a video image or a portion of a video image) can be divided into video blocks, which may also be referred to as coding tree units (CTUs), coding units (CUs), and / or coding nodes. Video blocks in an intra-coded (I) image segment are encoded using spatial prediction relative to reference samples in adjacent blocks in the same image. Video blocks in an inter-coded (P or B) image segment may use spatial prediction relative to reference samples in adjacent blocks in the same image or temporal prediction relative to reference samples in other reference images. Images may be referred to as frames, and reference images may be referred to as reference frames.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The paper "Multifunctional Video Coding (Preprint 7)" by Benjamin Bruce et al. summarizes the evolution of the Multifunctional Video Coding (VVC) standard, the successor to High Efficiency Video Coding (HEVC). The paper discusses the new features and enhancements introduced by VVC, as well as the results of experimental evaluations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The paper begins with a comprehensive overview of the VVC model. VVC is a video coding standard designed to provide significant improvements in compression efficiency compared to HEVC. VVC achieves these improvements through several new features, including:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A new, more accurate and efficient motion evaluation algorithm.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A loop filtering algorithm reduces noise and distortions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A more efficient encryption algorithm is the entropy algorithm.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A helper for new encoding tools, such as depth scalability and multiview encoding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The paper discusses the results of experimental evaluations conducted on VVC. These evaluations demonstrated that VVC can achieve significant improvements in compression efficiency compared to HEVC. For example, VVC can achieve a 50% improvement in compression efficiency for 8K video at 30 frames per second.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The technology of the present invention relates to prediction, and more specifically, prediction that uses horizontal convolutional motion compensation. In certain types of video, such as 360-degree video, the reference images may include padded regions on the left and right borders of the images. The padded regions are the same, reducing visual artifacts when moving from the right side of the image to the right side or vice versa. In some encoding scenarios, the motion vector of the predicted block may point outside the reference image boundary. For example, the motion vector may point to a sample located on the far left border of the reference image. However, in those cases, the video decoder can still determine the predicted block based on the motion vector by calculating the position of the horizontal convolution in the corresponding half of the reference image, for example, in the right part of the reference image if the motion vector points to the far left border of the reference image. As will be explained in more detail below, to determine the position of the horizontal convolution, the video decoder receives a convolutional offset value in the bitstream.<h2 style=";text-align:left;direction:ltr">However, in some encoding scenarios, the reference image may have a different size or resolution than the image being encoded due to reference image remapping (RPR), which, with current implementations of horizontal roll compensation, may lead to convolutional offset causing artifacts.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video decoder identifies an incorrect prediction block in the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The methods of the present invention may uniquely enable a video coding system to use RPR with<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Compensating for horizontal roll motion in such a way that a roll offset does not result in the video decoder selecting an incorrect prediction block in the reference image. Specifically, by obtaining, from the PPS data structure of the video data, a roll offset value, a video decoder configured according to the methods of the present invention may be able to support RPR and horizontal roll motion compensation at the same time without introducing prediction errors due to the video decoder selecting<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Incorrect prediction block location in remapped reference images.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one example, a method for decoding video data includes obtaining, from a picture parameter set (PPS) data structure of a current video data image, a convolution offset value; in response to determining that a block of the current image is encoded in an internal prediction position, determining the motion vector of the block and a reference image thereof; determining a horizontal convolution about a position in the reference image based on the convolution offset value; and determining a prediction block for the block based on the horizontal convolution position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In another example, a video data decoder includes a memory configured to store the video data and one or more processors used in circuitry and configured to obtain a picture variable set (PPS) data structure for the current image of the video data, a convolution offset value; and in response to determining that a block of the current image is encoded in an internal prediction position, determining a motion vector for the block and a reference image thereof, where the block belongs to a segment referencing the PPS data structure; determining a horizontal convolution about a position in the reference image based on the convolution offset value; and determining a prediction block for the block based on the horizontal convolution position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, a computer-readable storage medium stores instructions that, when executed by one or more processors, cause the processors to obtain, from the picture variable set (PPS) data structure of a current video data image, a convolution offset value; in response to determine that a block of the current image is encoded in an internal prediction position, determine the motion vector of the block and a reference image for it, where the block belongs to a segment referencing the PPS data structure; determine a horizontal wrap around a position in the reference image based on the convolution offset value; and determine a prediction block for the block based on the horizontal wrap position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In another example, a video data decoder includes a means of obtaining, from a picture parameter set (PPS) data structure of a current video data image, a convolution offset value; a means of determining the motion vector of the block and a reference image thereof in response to determining that the current image block is encoded in an internal prediction position; a means of determining a horizontal wrap around a position in the reference image based on the convolution offset value; and a means of determining the prediction block of the block based on the horizontal wrap around the position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, the method of encoding video data includes specifying a value for a convolution offset; and in response to specifying<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A block of the current image is encoded in an internal prediction mode, a motion vector for the block and a reference image for it, where the block belongs to a slice that refers to the PPS data structure; a horizontal wrap around a position in the reference image is determined based on the convolution offset value; a prediction block for the block is determined based on the horizontal wrap position; e.g., in a picture variable set (PPS) data structure of the current image of the video data, a convolution offset value; and an output of a bit stream of encoded video data that includes the PPS data structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, a video data encoder includes memory configured to store video data and one or more processors used in circuitry and configured to determine a convolution offset value; in response to determining that a block of the current image is encoded in an internal prediction position, determining a motion vector for the block and a reference image for it; determining a horizontal convolution about a position in the reference image based on the convolution offset value; determining a prediction block for the block based on the horizontal convolution position; embedding, in a picture variable set (PPS) data structure of the current image of the video data, a convolution offset value; and outputting a bit stream of the encoded video data that includes the PPS data structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, a computer-readable storage medium stores instructions that, when executed by one or more processors, cause the one or more processors to determine a warp offset value; in response to determining that a block of the current image is encoded in an internal prediction position, determine a motion vector for the block and a reference image for it; determine a horizontal warp around a position in the reference image based on the warp offset value; determine a prediction block for the block based on the horizontal warp position; include, in a picture variable set (PPS) data structure of the current image of the video data, a warp offset value; and output a bit stream of encoded video data that includes the PPS data structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In another example, a video data encoder includes a means for determining a convolution offset value; a means for determining a motion vector for a block and a reference image thereof in response to determining that a block of the current image is encoded in an internal prediction mode, where the block belongs to a slice that refers to a PPS data structure; a means for determining a horizontal wrap around a position in the reference image based on the convolution offset value; and a means for determining a block<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A block prediction based on the horizontal convolution position; a means of inserting into a picture parameter set (PPS) data structure of the current image of the video data, a value for the convolution offset; and a means of outputting a bit stream of encoded video data that includes the PPS data structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Details of one or more examples are illustrated in the accompanying drawings and the following description. Other features, objectives, and advantages will be illustrated by the description, drawings, and safeguards.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a block diagram illustrating an example of a video encoding and decoding system that can implement the methods of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 2a and 2b are theoretical diagrams illustrating an example of a quadrilateral double tree (QTBT) structure, and a corresponding cipher tree unit (CTU).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 shows an example of a convolutional offset in a reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 shows a reference pixel position incorrectly moved to an unknown position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a block diagram illustrating an example of a video decoder that can perform the methods of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 is a block diagram illustrating a video decoder that can perform the methods of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 is a flowchart illustrating the process of encoding video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 is a flowchart illustrating the process of decoding video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 is a flowchart illustrating the process for encoding video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 is a flowchart illustrating the process of decoding video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Video coding (e.g., video encoding and / or video decoding) typically involves predicting a block of video data either from a block of video data already encoded in the same image (e.g., an interprediction) or a block of video data already encoded in a different image (e.g., an interprediction). In some cases, the video encoder also calculates residual data by comparing the prediction block to the original block. Thus, the residual data represents the difference between the prediction block and the original block. To reduce the number of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The bits needed to transmit a signal with the remaining data. The video encoder converts the remaining data, quantizes it, and sends signals with the converted remaining data in the encoded bit stream. The compression resulting from the conversion and quantization operations may be lossy, meaning that the conversion processes<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Quantization may distort the decoded video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video decoder decodes and adds the remaining data to the prediction block to produce a reconstructed video block that more closely matches the original video block than the prediction block alone. Due to the loss in transforming and quantizing the remaining data, the reconstructed first block may have distortion or artifacts. One common type of artifact or artifact is called block artifact, where the boundaries of the blocks used to encode the video data are visible.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To further improve the quality of the decoded video, a video decoder can perform one or more filtering operations on the reconstructed video blocks. Examples of these filtering operations include de-clustering filtering, sample-adaptive offset filtering (SAO), and adaptive loop filtering (ALF). The variables of these filtering operations can be defined by a video encoder and explicitly signaled in the encoded video bitstream, or they can be implicitly defined by a video decoder without requiring explicit signaling of the variables in the encoded video bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The method of the present invention relates to prediction, and more specifically to prediction that uses horizontal convolutional motion compensation. In certain types of video, such as 360-degree video, the reference images may include padded regions on the left and right borders of the images. The padded regions are uniform, reducing visual artifacts when moving from the right side of the image to its left side or vice versa. In some encoding scenarios, the motion vector of the predicted block may refer to a sample outside the reference image boundary; for example, the motion vector may refer to a sample located at the far<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The left of the reference image. In other encoding scenarios, the motion vector may refer to an interpolated sample located within the reference image boundary but determined using an interpolation process that uses a sample outside the reference image boundary. However, in those cases, the video decoder can still determine the prediction block based on the motion vector by calculating the horizontal convolution position in the corresponding half of the reference image—for example, in the right part of the reference image if the motion vector points to the far left of the reference image boundary. As explained in more detail below, to determine the horizontal convolution position, the video decoder receives a convolution offset value in the bitstream. However, in some encoding scenarios, the reference image may have a different size or resolution than the image being encoded due to RPR. With current implementations of horizontal convolution motion compensation, this convolution offset can cause the video decoder to determine an incorrect prediction block in the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The methods of the present invention may uniquely enable a video coding system to use RPR with<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Compensating for horizontal warp motion in a way that does not produce a warp offset that causes the video decoder to select an incorrect prediction block in the reference image. Specifically, by obtaining, from the picture parameter set (PPS) data structure of the video data, a value<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To contravene a convoluted, a video decoder configured according to the methods of the present invention may be capable of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Supports RPR, horizontal warp, and motion compensation at the same time without introducing prediction errors due to the video decoder locating the incorrect prediction block in the resampled reference images.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a block diagram illustrating an example of a video encoding and decoding system 100 that can implement the methods of the present invention. The methods of the present invention generally relate to the encoding (encoding and / or decoding) of video data. In general, video data includes any data for video processing. Thus, video data may include raw, unencrypted video, encrypted video, decoded (e.g., reconstructed) video, and video metadata, such as signal transmission data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As shown in Figure 1, system 100, in this example, includes a source device<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 102 provides encrypted video data to be decrypted and displayed by a destination device 116. In particular, the source device 102 provides the video data to the destination device 116 via a computer-readable medium 110. The source device 102 and the destination device 116 may include any of several devices, including desktop computers, portable computers (i.e., laptops), tablet computers, receivers, or handsets, such as smartphones or<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Televisions, cameras, projectors, digital media players, or gaming devices<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> video, video streaming device, or similar. In some cases, the source device may be<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 102 and destination device 116 are equipped for wireless communication and may therefore be referred to as wireless communication devices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the example of Figure 1, the source device 102 includes the video source 104, the memory 106, the video encoder 200, and the output interface 108. The destination device 116 includes an input interface<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">122, a video decoder 300, a memory 120, and a display device 118. According to the present invention,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 of the source device 102 and the video decoder 300 of the destination device 116 may be configured to implement signal transmission and convolutional offset processing methods. Thus, the source device 102 is an example of a video encoder, while the destination device 116 is an example of a video decoder. In other examples, the source device and destination device may include other components or equipment. For example, the source device 102 may receive video data from an external video source, such as an external camera. Similarly, the destination device 116 may interact with an external display device, rather than<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To include an integrated display device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The system 100 as shown in Figure 1 is just one example. In general, any digital video encoder and / or decoder may perform convolutional offset signaling and processing methods. The source device 102 and the destination device 116 are just examples of such encoders, where the source device 102 generates encoded video data for transmission to the destination device 116. The present invention refers to an “encoder” device as a device that encodes (encodes and / or decodes) data. Thus, the video encoder 200 and the video decoder 300 are examples of encoders, in particular, the video encoder<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> and a video decoder, respectively. In some examples, the source device 102 and destination device 116 may operate in a substantially symmetric manner such that both the source device 102 and destination device 116 include video encoding and decoding components. Thus, the system 100 may support unidirectional or bidirectional video transmission between the source device 102 and destination device 116, for example, video streaming, video playback, video broadcasting, or video telephony.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In general, the video source 104 is a source of video data (i.e., the raw, undecoded video data) and provides a succession of images (also referred to as “frames”) of video data to the video encoder 200, which encodes the data for the images. The video source 104 for the source device 102 may include a video capture device, such as a video camera, and / or a video archive containing previously captured raw video, and / or a video feed interface that receives video from a video content provider. Alternatively, the video source 104 may produce computer graphics-based data as a video source, or a combination of live video, archived video, and video generated by<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Computer. In each case, the video encoder 200 encodes the captured, pre-captured, or computer-generated video data. The video encoder 200 may reorder the images from the received order (sometimes referred to as the "display order") to an order for encoding. The video encoder 200 may produce a bitstream comprising the encoded video data. The source device 102 may then output the encoded video data via the output interface 108 onto a computer-readable medium 110<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for reception and / or retrieval via, for example, the input interface 122 of the destination device 116. The memory 106 of the source device 102 and the memory 120 of the destination device 116 are general purpose memories. In some examples, the memories 106, 120 may store raw video data, for example, raw video from the video source 104 and decoded raw video data from the video decoder 300. Additionally or alternatively, the memories 106,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">120 software instructions that can be executed by, for example, video encoder 200 and video decoder 300, respectively. Although memory 106 and memory 120 are shown separately from video encoder 200 and video decoder 300 in this example,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It should be understood that the video encoder 200 and the video decoder 300 may also include internal memories for similar or functionally equivalent purposes. Furthermore, the memories 106, 120 may store encoded video data, e.g., output to the video encoder 200 and input to the video decoder 300. In some examples, portions of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Memories 106, 120 as one or more transitional video memories, for example, storing raw and / or decoded and / or encrypted video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Computer-readable medium 110 may represent any type of media or device capable of transmitting<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">encrypted video data from the source device 102 to the destination device 116. In one example, the computer-readable medium 110 is a communication medium that enables the source device 102 to transmit the encrypted video data directly to the destination device 116 in real time, for example, over a radio frequency network or a computer network. The output interface 108 may modulate the transmission signal<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The encoded video data includes, and the input interface 122 may demodulate the received transmission signal, depending on the communication standard, such as a wireless communication protocol. The communication medium may include any wireless or wired communication medium, such as the radio frequency (RF) spectrum or one or more physical transmission lines. The communication medium may form part of a packet-based network, such as a local area network, a wide area network, or a global network such as the Internet. The communication medium may include<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> On routers, switches, base stations, or any other device that may be used to facilitate communication from the source device 102 to the destination device 116.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples, the source device 102 may output encrypted data from the output interface 108 to the storage device 112. Similarly, the destination device 116 may access the encrypted data from the storage device 112 via the input interface 122. The storage device 112 may include any combination of distributed or locally accessed data storage media such as a hard disk drive, Blu-ray discs, DVDs, CDs, flash memory, volatile or non-volatile memory, or any other suitable digital storage media for storing encrypted video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples, the source device 102 may output encrypted video data to the file server 114 or another intermediate storage device that may store the encrypted video generated by the source device 102. The destination device 116 may access the stored video data from the file server 114 via streaming or uploading. The file server 114 may be any type of server device capable of storing the encrypted video data and transmitting the encrypted video data to the destination device 116. The file server 114 may be a web server (e.g., for a website), a file transfer protocol (FTP), a content delivery network device, or a network attached storage (NAS) device. The destination device 116 may access the encrypted video data from the file server 114 via any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., a digital subscriber line (DSL), a cable modem, etc.), or a combination of the two suitable for accessing the encrypted video data stored on the file server 114.<h2 style=";text-align:left;direction:ltr">The file server 114 and the input interface 122 may be configured to operate according to a streaming transmission protocol, a download transmission protocol, or a combination thereof.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The output interface 108 and the input interface 122 may represent wireless transceivers, modems, wired networking components (e.g., Ethernet cards), wireless communication components operating according to a variety of IEEE 802.11 standards, or other physical components. In examples where the output interface 108 and the input interface 122 comprise wireless components, the output interface 108 and the input interface 122 may be configured to transmit data, such as<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Encrypted video data, according to a cellular communication standard, such as 4G, 4G-LTE (Long Term Evolution), LTE Advanced, 5G, or the like. In some examples, where the output interface 108 includes a wireless transmitter, the output interface 108 and the input interface 122 may be configured to transmit data, such as encrypted video data, according to other wireless standards, such as the IEEE 802.11 specification, the IEEE 802.15 specification (e.g., ZigBee™), the Bluetooth™ standard, or the like. In some examples, the source device 102 and / or the destination device 116 may include system-on-a-chip (SoC) devices. For example, the source device 102 may include an SoC to perform the function attributed to the video encoder 200 and / or the output interface 108, and the destination device 116 may include an SoC to perform the function attributed to the video decoder 300 and / or the input interface 122.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The methods of the present invention can be applied to video coding to support any of a group of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Multimedia applications, such as over-the-air television broadcasting, cable television broadcasting,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Satellite TV broadcasting, and online video streaming, such as dynamic streaming.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Adaptive over HTTP (DASH) or digital video encrypted on data storage media, decrypting digital video stored on data storage media, or other applications.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The input interface 122 of the destination device 116 receives an encrypted video bitstream from a computer-readable medium 110 (e.g., a communication medium, a storage device 112, or a file server<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 114 or similar). The encoded video bitstream may include signaling information determined by the video encoder 200, which is also used by the video decoder 300, such as structure elements that<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Contains values ​​that describe the properties and / or processing of video blocks or other encoded units (e.g., segments, images, image groups, sequences, or the like). The display device 118 displays decoded images of the video data to the user. The display device 118 may represent any<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">From a variety of display devices such as cathode ray tube (CRT), liquid crystal display (LCD), plasma display, organic light-emitting diode (OLED) display or any other type of display.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although not shown in Figure 1, in some examples, both video encoder and<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 200 and the video decoder 300 with the audio encoder and / or audio decoder, and may include suitable MUX-DEMUX modules, or other hardware and / or software, to handle multiplexed streams including both audio and video in a common data stream. If applicable, the MUX-DEMUX modules may comply with the ITU H.223 multiplexing protocol or other protocols such as the User Datagram Protocol (UDP).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 and the video decoder 300 may each be used as any of several suitable encoder and / or decoder circuits, such as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware, or any combination thereof. When the techniques are partially implemented in software, the device may store the software instructions in a suitable, non-temporary, computer-readable medium and execute the instructions in hardware using one or more processors to implement the methods of the present invention. The video encoder 200 and the video decoder 300 may each be incorporated into one or more encoders or decoders, and either may be integrated as part of a combined encoder / decoder (CODEC) in a particular device. The device comprising the video encoder 200 and / or the video decoder 300 may include an integrated circuit, a microprocessor, and / or a wireless communication device, such as a cellular telephone.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 and video decoder 300 may operate in accordance with a video coding standard, such as ITU-T H.265, also referred to as High Efficiency Video Coding (HEVC), or its extensions, such as multi-display and / or scalable video coding extensions. Alternatively, the video encoder 200 and video decoder 300 may operate in accordance with other proprietary or industry standards, such as the Joint Exploration Test Model (JEM) or ITU-T H.266, also referred to as Versatile Video Coding (VVC). A recent draft of the VVC standard is described in Bross, et al. “Versatile Video Coding (Draft 7),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11, 16th Meeting: Geneva, CH, 1–11 October 2019, JVET-P2001-v14 (hereinafter referred to as “VVC Draft 7”). However, the methods of the present invention are not limited to any particular coding standard.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In general, the video encoder 200 and the video image decoder 300 may perform block-based image coding. The term "block" generally refers to a structure that contains the data to be processed (e.g., encoded, decoded, or otherwise used in the encoding and / or decoding process). For example, a block may include a two-dimensional array of luminance samples and / or chrominance data. In general, the video encoder 200 and the video decoder 300 may encode video data represented in the YUV format (e.g., Y, Cb, Cr). In other words,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Instead of encoding red, green, and blue (RGB) data for image samples, the video encoder 200 and video decoder 300 may encode luminance and chroma components, where the chroma components may include red and blue components. In some examples, the video encoder 200 converts the received RGB data to a YUV representation prior to encoding, and the video decoder 300 converts the YUV representation to RGB. Alternatively, pre- and post-processing modules (not shown) may perform these conversions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present invention may generally refer to the encoding (e.g., encoding and decoding) of images to include the process of encoding or decoding image data. Similarly, the present invention may refer to the encoding of blocks of an image to include the process of encoding or decoding data for blocks, e.g., prediction and / or residual encoding. An encoded video bitstream generally includes a series of values ​​for the structure elements representing encoding decisions (e.g., encoding modes) and the division of images into blocks. Therefore, references to the encoding of an image or block should generally be understood as the encoding values ​​of the structure elements that constitute the image or block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> HEVC defines different blocks, including coding units (CUs), prediction units (PUs), and transformation units (TUs). According to HEVC, a video encoder (such as Video Encoder 200) divides a unit into<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The coding tree (CTU) is divided into coding units according to the quadtree structure. That is, the video encoder divides the CTU and CU into four equal, non-overlapping boxes, and each node in the quadtree contains either zero or four subnodes. Nodes that do not contain subnodes can be referred to as<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">“Leaf nodes”, and the CUs of these leaf nodes may include one or more PUs and / or<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Or one or more TUs. The video encoder may partition PUs and TUs. For example, in HEVC, the residual quad tree (RQT) represents the partitioning of TUs. In HEVC, PUs represent prediction data, while TUs represent the residual data. CUs that are interpredicted include information for interprediction, such as the intermode indicator.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As another example, video encoder 200 and video decoder 300 may be configured to operate according to the JEM or VVC. According to the JEM or VVC, the video encoder (such as video encoder 200) partitions the image into a set of coding tree units (CTUs). The video encoder 200 may partition the CTUs according to a tree structure, such as the quadrilateral tree (QTBT) or multi-type tree (MTT) structure. The QTBT structure eliminates the concept of multiple partition types, such as the separation of CUs, PUs, and TUs for HEVC. The QTBT structure includes two levels: the first level is partitioned according to the quadrilateral tree partition, and the second level is partitioned according to the dual tree partition. The root node of the QTBT structure corresponds to a CTU. The leaf nodes of the dual trees correspond to the coding units (CUs).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In an MTT partitioning architecture, blocks can be partitioned using quadrilateral tree (QT) partitioning, dual tree (BT) partitioning, and one or more types of ternary tree (TT) partitioning (also called ternary tree (TT) partitions). A ternary tree partition is a partition in which a block is partitioned into three subblocks. In some examples, a ternary tree partition divides the block into three subblocks without partitioning the original block through the center. Partition types in MTT (for example, QT, BT, and TT) may be symmetric or asymmetric.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, the video encoder 200 and the video decoder 300 may use a single QTBT or MTT structure to represent both the luminance and chrominance components, while in other examples, the video encoder 200 and the video decoder 300 may use two or more QTBT or MTT structures, such as a QTBT / MTT structure for the luminance component and another QTBT / MTT structure for each of the chrominance components.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (Or QTBT / MTT structures for relevant color components).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 and video decoder 300 may be configured to use per-HEVC quad-tree partitioning, QTBT partitioning, MTT partitioning, or other partitioning structures.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For purposes of illustration, a description of the methods of the present invention relating to QTBT splitting is provided.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> However, it should be understood that the methods of the present invention can also be applied to video encoders configured to use quad-tree partitioning, or other types of partitioning as well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Blocks (for example, CTUs or CUs) can be grouped in different ways in an image. For example, a block might refer to a rectangular area of ​​CTU rows within a particular square in<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Image. The square may be a rectangular area of ​​the CTU within a given square column. Description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A specific square in an image. The square column refers to a rectangular area of ​​CTUs with a height equal to the image height and a width determined by the structural elements (for example, in the image variables group). The square row refers to a rectangular area of ​​CTUs with a height determined by the structural elements (for example, in the image variables group) and a width equal to the image width.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, a square may be divided into multiple bricks, each of which may contain one or more CTU rows within the square. A square that is not divided into multiple bricks may also be referred to as a brick. However, bricks that are a true subset of the square may not be referred to as a square.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The building blocks of an image can also be placed in a slice. A slice may be an integer number of building blocks of the image that may only exist in a single Network Abstraction Layer (NAL) unit. In some<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Examples: A slide either includes a number of complete squares or only a succession of complete blocks of a single square.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present invention may use "nxn" and "n by n" interchangeably to refer to the dimensions of a sample block (such as a CU or other video block) in terms of vertical and horizontal dimensions, e.g., a 16x16 sample or a 16 by 16 sample. Generally, a 16x16 CU will have 16 samples in the vertical direction (y = 16) and 16 samples in the horizontal direction (x = 16). Similarly, an NxN CU generally has N samples in the vertical direction and N samples in the horizontal direction, where N is a non-negative integer value. Samples in a CU may be arranged in rows and columns. Furthermore, a CU need not necessarily have the same number of samples in the horizontal direction as in the vertical direction. For example, CUs may have NxM samples, where M is not necessarily equal to N.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 encodes video data for the control units, representing the prediction and / or residual information, and other information. The prediction information refers to how the CU predicts to form a prediction block for the CU. The residual information generally represents the differences between the control unit samples before encoding and the prediction block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To predict the central control unit, the video encoder 200 may generally form a control unit prediction block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Through interprediction or interprediction. Interprediction generally refers to predicting a CU from pre-encoded image data, while interprediction generally refers to predicting a CU from pre-encoded data of the same image. To perform interprediction, a video encoder may generate 200 prediction blocks.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Using one or more motion vectors. The video encoder 200 may generally perform a motion search to identify a reference block that closely matches the CU, for example, in terms of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Differences between the CU and the reference block. The video encoder 200 may calculate a difference measure using the sum of absolute differences (SAD), sum of squared differences (SSD), mean absolute differences (MAD), mean squared differences (MSD), or other difference calculations to determine whether the reference block closely matches the current CU. In some examples, the video encoder 200 may predict the current CU using one-way prediction or two-way prediction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Some JEM and VVC examples also provide an affine motion compensation mode, which can be considered an inter-prediction mode. In affine motion compensation mode, the video encoder may define 200 or more motion vectors that represent non-translational motion, such as zooming, panning, rotation, perspective motion, or other types of non-uniform motion.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To perform internal prediction, the video encoder may select 200 internal prediction modes to generate the prediction block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Some examples of JEM and VVC are sixty-seven interprediction modes, including various directional modes, as well as planar mode and DC mode. In general, the video encoder 200 selects an interprediction mode that describes the samples adjacent to the current block (e.g., a CU block) from which the current block's samples can be predicted. These samples may generally be above, above and to the left of, or to the left of the current block in the same image as the current block, assuming the video encoder 200 encodes the CTU and CUs in raster scan order (left to right,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> top down).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 encodes data representing the prediction mode of the current block. For example,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For interprediction modes, the video encoder 200 may encode data representing any of the various available interprediction modes in use, as well as motion information for the corresponding mode. For unidirectional or bidirectional interprediction, for example, the video encoder 200 may encode motion vectors using advanced motion vector prediction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (AMVP) or fusion mode. The video encoder 200 may use similar modes to encode motion vectors for the affine motion compensation mode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After prediction, such as intra-prediction or inter-block prediction, the video encoder 200 may calculate the residual data for the block. The residual data, such as the block residual, represents the per-sample differences between the block and the block's prediction block, which were formed using the corresponding prediction mode. The video encoder 200 may apply one or more transformations to the residual block, producing transformed data in a transformation domain rather than the sample domain. For example, the video encoder 200 may use a discrete cosine transform (DCT), an integer transform, a wavelet transform, or a conceptually similar transformation to the residual video data. In addition, the video encoder 200 may apply a secondary transformation after the transformation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The first is a mode-dependent non-separable secondary transform (MDNSST), a signal-dependent transform, a Karhunen-Loeve transform (KLT), or the like. The video encoder produces 200 transformation coefficients after applying one or more transformations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As previously noted, after any transformations to produce the conversion coefficients, the video encoder 200 may perform a quantization of the conversion coefficients. Quantization generally refers to a process in which<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Quantizing the transformation coefficients to reduce the amount of data used to represent the transformation coefficients, providing greater compression. By performing the quantization operation, the video encoder 200 may reduce the bit depth associated with some or all of the transformation coefficients. For example, the video encoder 200 may round an n-bit value to an m-bit value during quantization, where n is greater than m. In some examples, to perform the quantization, the video encoder 200 may right-shift the value to be quantized.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> After quantization, the video encoder 200 may examine the transformation coefficients, producing a one-dimensional vector from the two-dimensional array including the quantized transformation coefficients.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Scanning to place higher-energy (and therefore lower-frequency) transformation coefficients in front of the vector and lower-energy (and therefore higher-frequency) transformation coefficients in the rear of the vector. In some examples, the video encoder 200 may use a predetermined scanning order to scan the quantized transformation coefficients to produce a concatenated vector, and then encode the entropy of the quantized transformation coefficients of the vector. In other examples, the video encoder 200 may perform adaptive scanning. After scanning the quantized transformation coefficients to form a one-dimensional vector, the video encoder 200 may encode the one-dimensional vector, for example, according to context-adaptive binary arithmetic coding (CABAC). The video encoder 200 may also encode entropy values ​​for structure elements describing metadata associated with the encoded video data for use by the video decoder 300 in decoding the video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To perform CABAC, the video encoder 200 may assign a context within a context model to the symbol to be transmitted. The context may, for example, relate to whether the values ​​adjacent to the symbol are zero. The probability determination may depend on the context of the symbol.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 may also produce structure data, such as block-based structure data,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> and image-based structure data, sequence-based structure data, to the video decoder 300, for example, in the picture header, block header, slice header, or other structure data, such as an adaptation variable set (APS), picture header (PH), sequence variable set (SPS), PPS, or video variable set (VPS). APS generally refers to<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A structure containing structure elements that apply to zero or more slices as determined by the number of zero or more structure elements present in the slice headers. PH refers to a structure containing structure elements that apply to all slices of the encrypted image. PPS refers to a structure containing structure elements that apply to zero or more entire encrypted images as determined by a structure element present in each slice header. SPS refers to a structure containing structure elements that apply to zero or more entire CVSs as determined by<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Defined by the content of the structure element in the PPS, referenced by a structure element in each slice header. A structure element generally refers to zero or more structure elements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> are found together in a bit stream in a specific order.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video decoder 300 may also decode this structure data to determine how to decode the corresponding video data. Thus, the video encoder 200 may produce a bitstream containing encoded video data, e.g., structure elements describing the segmentation of the image into blocks (e.g., CU) and prediction and / or residual information for the blocks. Finally, the video decoder 300 may receive the bitstream and decode the encoded video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In general, the video decoder 300 performs an operation inverse to that performed by the video encoder 200 to decode the bitstream encoded video data. For example, the video decoder 300 may decode the values ​​of the bitstream structure elements using CABAC in a manner substantially similar to, but inverse to, the CABAC encoding process of the video encoder 200. The structure elements may specify the image segmentation information into CTUs, dividing each CTU according to a corresponding segmentation structure, such as a QTBT structure, to determine the CUs for the CTU. The structure elements may also specify the prediction and residual information for blocks (e.g., CUs) of the video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The remaining information may be represented, for example, by quantitatively represented transformation coefficients. The video decoder 300 may quantitatively represent and invert the quantitatively represented transformation coefficients of a block to reproduce the remaining mass of the block. The video decoder 300 uses the prediction mode transmitted by the signal (intra-prediction or inter-prediction) and related prediction information (for example, information<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">(motion for interprediction) to form a prediction block for the block. The video decoder 300 may then combine the prediction block and the remaining block (on a sample-by-sample basis) to reproduce the original block. The video decoder 300 may perform additional processing, such as declustering, to reduce visual artifacts along the block boundaries.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present invention may generally refer to “signalling” certain information, such as<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Structural elements. The term "signaling" may generally refer to communicating the values ​​of structural elements and / or<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Other data used to decode encrypted video data. That is, the video encoder 200<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> May refer to the values ​​of the structure elements in the bit stream. In general, signaling refers to the generation of a value in the bit stream. As previously noted, the source device 102 may transmit the bit stream to the destination device 116 substantially in real time, or non-real time, as may occur when the structure elements are stored on the storage device 112 for later retrieval by the destination device 116.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">

[0071] Figure 2a and 2b are theoretical diagrams illustrating an example of a quadrilateral tree-twin (QTBT) structure 130, and a corresponding coding tree unit (CTU) 132. The solid lines represent a split of the quadrilateral tree, and the dotted lines indicate a split of a binary tree. At each split node<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">(i.e., non-leaf) of the binary tree, the flag 1 is used to indicate the type of partitioning (i.e., horizontal or vertical) used, where 0 indicates horizontal partitioning and 1 indicates vertical partitioning in this example. For quad tree partitioning, there is no need to indicate the type of partitioning, because the quad nodes divide the block horizontally and vertically into 4 equally sized subblocks. Accordingly, the video encoder 200 may encode, and the video decoder 300 may decode, the structure elements (e.g., information partitioning) of the region tree level of the QTBT architecture 130 (i.e., the solid lines) and the structure elements (e.g., information partitioning) of the prediction tree level of the QTBT architecture 130 (i.e., the dashed lines). The video encoder 200 may encode, and the video decoder 300 may decode, the video data, such as prediction and transformation data, of the CUs represented by the leaf nodes of the architecture<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> QTBT 130.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In general, CTU 132 in Figure 2b may be associated with variables that specify the block sizes corresponding to the nodes of the QTBT structure 130 at levels one and two. These variables may include the CTU size<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">(CTU size is 132 in samples), the minimum quad tree size (MinQTSize, which represents the minimum allowed leaf node size of the quad tree), the maximum binary tree size (MaxBTSize, which represents the maximum allowed root node size of the binary tree), the maximum binary tree depth (MaxBTDepth, which represents the maximum allowed depth of the binary tree), and the minimum binary tree size (MinBTSize, which represents the minimum allowed leaf node size of the binary tree).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The root node of a QTBT structure corresponding to a CTU may contain four child nodes at the first level of the QTBT structure, each of which may be split according to the quad tree split. That is, the first-level nodes are either leaf nodes (with no child nodes) or have four child nodes. The typical QTBT structure 130 represents such nodes as including the parent node and child nodes with solid branch lines. If the first-level nodes are not larger than the maximum allowed size of the binary tree root node (MaxBTSize), the nodes may be further split by the respective binary trees. The binary tree splitting of a single node may be repeated until the resulting nodes reach the minimum allowed leaf size of the binary tree (MinBTSize) or the maximum allowed depth of the binary tree (MaxBTDepth). An example of a QTBT structure<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">130 nodes such as dotted lines for branches. A leaf node of a binary tree is referred to as a coding unit (CU), which is used for prediction (e.g., intra- or inter-image prediction) and transformation, without any further partitioning. As discussed above, CUs can also be referred to as "video blocks" or "blocks."<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an example of a QTBT partitioning structure, the CTU size is set to 128×128 (identical luma and chroma samples are 64×64), MinQTSize is set to 16×16, MaxBTSize is set to 64×64, MinBTS size (for both width and height) is set to 4, and MaxBTDepth is set to 4. The quad tree partitioning is applied to the controller in<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The first operation is to create the leaf nodes of the quad tree. The leaf nodes of the quad tree can range in size from 16×16 (i.e., MinQTSize) to 128×128 (i.e., CTU size). If the leaf nodes of the quad tree are 128×128, the quad tree leaf node will not be split by the dual tree because the size exceeds MaxBTSize (i.e., 64×64, in this example). Otherwise, the quad tree leaf node will be split by the dual tree as well. Therefore, the quad tree leaf node is also the root node of the dual tree and has a dual tree depth of zero. When the dual tree depth reaches MaxBTDepth (4, in this example), no further splits are allowed. A dual tree node with a width equal to MinBTSize (4, in this example) indicates that no further horizontal splits are allowed. Similarly, a dual tree node with a height equal to MinBTSize indicates that no further vertical splits are allowed for this dual tree node. As mentioned earlier, the leaf nodes of a dual tree are referred to as CUs and are also processed by prediction and transformation without further partitioning.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present invention describes possible modifications to portions of VVC Draft No. 77 which may<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Horizontal roll motion compensation is enabled with RPR. Some parts of the draft are shown.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> VVC 7 that could be improved in the current document. Paragraph 7.3.2.3 in Version 14 states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> From VVC Draft No. 7 as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> seq_parameter_set_rbsp( ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_ref_wraparound_enabled_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if( sps_ref_wraparound_enabled_flag )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_ref_wraparound_offset_minus1 ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Paragraph 7.4.3.3 of VVC Draft No. 7, Issue 14, states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">sps_ref_wraparound_enabled_flag of 1 specifies that horizontal wraparound compensation is applied in the interprediction. sps_ref_wraparound_enabled_flag of 0 specifies that horizontal wraparound compensation is not applied. When (CtbSizeY / MinCbSizeY + 1) is greater than or equal to (pic_width_in_luma_samples / MinCbSizeY - 1), where pic_width_in_luma_samples is the value of pic_width_in_luma_samples in any PPS that denotes an SPS, the sps_ref_wraparound_enabled_flag value denotes an SPS value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_ref_wraparound_offset_minus1 plus 1 specifies the offset used to calculate the horizontal wrap position in MinCbSizeY luma sample units. The value of ref_wraparound_offset_minus1 must be from (CtbSizeY / MinCbSizeY) + 1 to (pic_width_in_luma_samples / MinCbSizeY) -1, inclusive, where pic_width_in_luma_samples is the value of any pic_width_in_luma_samples in any PPS that refers to an SPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Paragraph 7.3.2.4 of VVC Draft No. 7, Issue 14, states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> pic_parameter_set_rbsp( ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">pic_width_in_luma_samples ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> pic_height_in_luma_samples ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Paragraph 7.4.3.4 of VVC Draft No. 7, Issue 14, states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> pic_width_in_luma_samples specifies the width of each decoded image, indicating PPS, in luma sample units. pic_width_in_luma_samples must not be zero, and must be<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> must be an integer multiple of Max(8, MinCbSizeY), and must be less than or equal to pic_width_max_in_luma_samples. When the value of subpics<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> _present_flag equals 1 or ref_pic_resampling_enabled_flag equals zero,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> pic_width_in_luma_samples must be equal to pic_width_max_in_luma_samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">pic_height_in_luma_samples specifies the height of each decoded image in reference to PPS in luma sample units. pic_height_in_luma_samples must not be equal to zero, must be an integer multiple of Max(8, MinCbSizeY), and must be less than or equal to pic_height_max_in_luma_samples. When subpics_present_flag is 1 or ref_pic_resampling_enabled_flag is 0, pic_height_in_luma_samples must be equal to pic_height_max_in_luma_samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Paragraph 8.5.3.2.2 of VVC Draft No. 7, Issue 14, states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picW − 1, sps_ref_wraparound_enabled_flag ?<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ClipH( ( sps_ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, ( xIntL + i ) )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xIntL + i ) (644)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i ) (645)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">

[0080] Paragraph 8.5.6.3.2 of VVC Draft No. 7, Issue 14, states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picW − 1, sps_ref_wraparound_enabled_flag ?<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">ClipH( ( sps_ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, xIntL + i − 3 )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xIntL + i − 3 ) (957)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i − 3 ) (958)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">

[0081] Paragraph 8.5.6.3.3 of VVC Draft No. 7, Issue 14, states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInt = Clip3( 0, picW − 1, sps_ref_wraparound_enabled_flag ? (968)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ClipH( ( sps_ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, xIntL ): xIntL )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInt = Clip3( 0, picH − 1, yIntL ) (969)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">

[0082] Paragraph 8.5.6.3.4 of VVC Draft No. 7, Issue 14, states:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picWC − 1, sps_ref_wraparound_enabled_flag ? ClipH(xOffset, picWC, xIntC + i − 1):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xIntC + i − 1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picHC − 1, yIntC + i − 1 ) (974)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present invention may address one or more issues identified in VVC Draft No. 7. A horizontal convolutional offset is adopted in VVC motion compensation to reduce subjective visual artifacts for the 360-degree use case using a perpendicular equatorial projection (PERP) format where the left image boundaries and the right image boundaries are lined to be identical. In other words, in a PERP format image, the sample values ​​at the left image boundary may be identical to the sample values ​​at the right image boundary.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 illustrates an example of a convolutional offset in a PERP reference image. In the example of Figure 3, the video encoder 200 or video decoder 300 may, for example, predict PU 136<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Current image 138. To predict the current PU 136, the video encoder uses 200 or<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video decoder 300 motion vector 140 is positioned in the upper left corner of the prediction block 142 relative to the upper left corner of the co-located PU 144. The prediction block 142 and the co-located PU 144 are located in the reference image 146. The reference pixels that<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Extend beyond the reference image 146 by moving the position by the ERP view distance as<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This is shown in Figure 3. In other words, the reference samples that would have been located to the left of the left border of reference image 146 are located in the right pane. These reference samples in the right pane of reference image 146 are shown as convolved reference samples 148 in Figure 3. The ERP display is referred to as convolved offset. The convolution enable flag and convolved offset are indicated in SPS in VVC Draft 7 as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> • sps_ref_wraparound_enabled_flag equal to 1 specifies that horizontal wraparound compensation is applied in interprediction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_ref_wraparound_enabled_flag of zero specifies that horizontal wraparound compensation is not applied. When (CtbSizeY / MinCbSizeY + 1) is less than or equal to (pic_width_in_luma_samples / MinCbSizeY - 1), where pic_width_in_luma_samples is the value of pic_width_in_luma_samples in any<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> PPS refers to SPS, the value of sps_ref_wraparound_enabled_flag is zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">• sps_ref_wraparound_offset_minus1 plus 1 specifies the offset used to calculate the horizontal wrap position in the MinCbSizeY luma samples. The value of ref_wraparound_offset_minus1 must be in the range (CtbSizeY / MinCbSizeY) + 1 to (pic_width_in_luma_samples / MinCbSizeY) - 1, inclusive, where pic_width_in_luma_samples is the value of any pic_width_in_luma_samples in any PPS that refers to an SPS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 illustrates how the reference pixel position can be incorrectly changed to an unknown position,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> That is, outside the reference image, by the wraparound offset of the current image. In Figure 4, wraparound_offset_curr represents the PPS-derived wraparound offset of the current image 150. Since the reference image 152 has a different height and width than the current image 150, wraparound_offset_curr is outside the reference image 152.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The convolutional offset may be smaller than or equal to the image width. Since the RPR design may regenerate the image width and height in the PPS, the convolutional offsets may differ for different images belonging to the PPS. In other words, the current image and the reference image that refer to two different PPS images may have different widths and heights, as shown in Figure 4. VVC Draft 7 corrects the convolutional offset in a Coded Layer Video Sequence (CLVS). However, VVC Draft 7 may cause a video encoder to incorrectly shift pixels outside the reference image with a convolutional offset derived from the PPS referenced to the current image, as shown in Figure 4. The reference image width and the current image width are different because RPR is enabled.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present invention provides methods that may address this deficiency in VVC Draft No. 7. The present invention provides several modifications to VVC Draft No. 7 that may address the above-mentioned deficiencies. According to one method of the present invention, convolved offset signals may be transmitted to the PPS from the SPS. In other words, the video encoder 200 may be configured to include convolved offsets as part of the PPS architecture, and the video decoder 300 may be configured to receive convolved offsets as part of the PPS architecture.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The wraparound offset may be smaller than or equal to the image width. Since the RPR design can regenerate the image width and height in the PPS, the present invention proposes that the wraparound offset may be signaled in the PPS instead of the SPS to align with the RPR design. In the first example of such a restriction, the value of ref_wraparound_enabled_flag may be the same for all PPSs referenced by the encoded images in the CLVS. In the second example of such a restriction, the value of ref_wraparound_enabled_flag in the CLVS may change. Both examples may be applied to any of the changes proposed in the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Examples of changes to VVC Draft No. 7 to implement the methods of the present invention are shown below. Throughout the present invention, the symbol "<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr">"At the beginning of the additions suggested by the present invention, the mark "< / add> <h2 style=";text-align:left;direction:ltr"> "The end of those additions. The mark indicates"<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr">" on<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The beginning of the deletion operations (i.e., the removal of text) proposed by the present invention, and the mark "< / del> <h2 style=";text-align:left;direction:ltr"> "The end of these deletions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 7.3.2.3 in VVC Draft No. 7 Version 14 could be amended to read as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> seq_parameter_set_rbsp( ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <del>sps_ref_wraparound_enabled_flag u(1) if( sps_ref_wraparound_enabled_flag ) sps_ref_wraparound_offset_minus1 ue(v)< / del> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 7.4.3.3 in VVC Draft No. 7 Version 14 could be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> He specifies<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr">sps_ref_wraparound_enabled_flag which is equal to 1 means that horizontal wraparound motion compensation is applied in the interprediction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_ref_wraparound_enabled_flag of zero specifies that horizontal wraparound compensation is not applied. When (CtbSizeY / MinCbSizeY + 1) is greater than or equal to (pic_width_in_luma_samples / MinCbSizeY - 1), where pic_width_in_luma_samples is the value of pic_width_in_luma_samples in any<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> PPS refers to SPS, the value of sps_ref_wraparound_enabled_flag should be<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Equal to zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> sps_ref_wraparound_offset_minus1 plus 1 specifies the offset used to calculate the horizontal wrap position in MinCbSizeY luma sample units. The value of ref_wraparound_offset_minus1 must be in the range (CtbSizeY / MinCbSizeY)+1 to (pic_width_in_luma_samples / MinCbSizeY)-1, inclusive, where pic_width_in_luma_samples refers to the value of pic_width_in_luma_samples in any<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> PPS that indicates< / del> <h2 style=";text-align:left;direction:ltr"> .<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">

[0092] In some examples, paragraph 7.3.2.4 in VVC Draft No. 7 Release 14 may be modified as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> pic_parameter_set_rbsp( ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add>ref_wraparound_enabled_flag u(1) if( ref_wraparound_enabled_flag ) ref_wraparound_offset_minus1 ue(v)< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 7.4.3.4 in VVC Draft No. 7 Version 14 could be amended to read as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> He specifies<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr">A ref_wraparound_enabled_flag value of 1 specifies that horizontal wraparound motion compensation is applied in the interprediction. A ref_wraparound_enabled_flag value of 0 specifies that horizontal wraparound motion compensation is not applied. When (CtbSizeY / MinCbSizeY + 1) is greater than or equal to (pic_width_in_luma_samples / MinCbSizeY - 1), where pic_width_in_luma_samples is the pic_width_in_luma_samples value in any PPS that references an SPS, the ref_wraparound_enabled_flag value is 0.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The bitstream compatibility of the ref_wraparound_enabled_flag value is required to be the same for all PPSs referenced by images encoded in CLVS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 plus 1 specifies the offset used to calculate the horizontal wrap position in MinCbSizeY luma samples. The value of ref_wraparound_offset_minus1 must be in the range (CtbSizeY / MinCbSizeY) + 1 to (pic_width_in_luma_samples / MinCbSizeY) - 1, inclusive.< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The methods of the present invention may also address issues related to motion compensation. In VVC Draft 7, the pixel position outside the reference image may be incorrectly shifted by the convolutional offset of the current image, as illustrated in Figure 4, where the reference image and current image widths differ due to RPR being enabled. The present invention provides methods for correcting this problem by replacing the convolutional offset of the current image with the derived convolutional offset in the PPS referenced to the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Examples of changes to VVC Draft 7 to implement methods of the present invention are shown below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.3.2.2 of VVC Draft No. 7 Version may be amended.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 14 as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 is the parsed ref_wraparound_offset_minus1 in the PPS referenced by the reference image.< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ?<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ClipH( (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, ( xIntL + i ) ) : (644)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xIntL + i )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i ) (645)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples, paragraph 8.5.6.3.2 in VVC Draft 7 Release 14 could be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add> ref_wraparound_offset_minus1 is the ref_wraparound_offset_minus1 parsed in PPS that is referred to by the reference picture. < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ?<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ClipH( (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, xIntL + i − 3 ) : (957) xIntL + i − 3 )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i − 3 ) (958)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.6.3.3 in VVC Draft No. 7 Version may be amended.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 14 as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 is the parsed ref_wraparound_offset_minus1 in PPS that is referred to by the reference picture.<h2 style=";text-align:left;direction:ltr"> < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInt = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ? (968) ClipH( (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, xIntL ) : xIntL )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInt = Clip3( 0, picH − 1, yIntL ) (969)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">

[0099] In some examples, paragraph 8.5.6.3.4 in VVC Draft No. 7 Release 14 may be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 is the parsed ref_wraparound_offset_minus1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the PPS indicated by the reference image.<h2 style=";text-align:left;direction:ltr"> < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable xOffset is set equal to (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del><h2 style=";text-align:left;direction:ltr">ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY ) / SubWidthC .<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picWC − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ? ClipH( xOffset, picWC, xIntC + i − 1 ) : xIntC + i − 1 )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picHC − 1, yIntC + i − 1 ) (974)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, the methods of the present invention include not only replacing the convolutional offset of the image<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The current image is not only a derivative of the convolutional offset in the PPS referred to by the reference image, but also a derivative of the convolutional offset in the PPS referred to by the reference image. Examples of changes to VVC Draft 7 to implement the methods of the present invention are shown below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.3.2.2 in VVC Draft No. 7 Version 14 could be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Be<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr">ref_wraparound_enabled_flag is the ref_wraparound_enabled_flag that is parsed into the PPS and referenced by the image<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Reference.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 is the parsed ref_wraparound_offset_minus1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the PPS indicated by the reference image.<h2 style=";text-align:left;direction:ltr"> < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ? ClipH((<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, ( xIntL + i ) : (644) xIntL + i )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i ) (645)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.6.3.2 in VVC Draft No. 7 Version 14 could be amended to read as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag is the parsed ref_wraparound_enabled_flag in the PPS that is referenced by the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 is the parsed ref_wraparound_offset_minus1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the PPS indicated by the reference image.<h2 style=";text-align:left;direction:ltr"> < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ? ClipH((<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, xIntL + i − 3 ) : (957) xIntL + i − 3 )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i − 3 ) (958)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.6.3.3 in VVC Draft No. 7 Version 14 could be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag is the parsed ref_wraparound_enabled_flag in the PPS that is referenced by the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 is the ref_wraparound_offset_minus1 1 parsed into the PPS pointed to by the reference image.<h2 style=";text-align:left;direction:ltr"> < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInt = Clip3 (xInt = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ? (968) ClipH( (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 + 1 ) * MinCbSizeY, picW, xIntL ) : xIntL )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInt = Clip3( 0, picH − 1, yIntL ) (969)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.6.3.4 in VVC Draft No. 7 Version 14 could be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Be<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr">ref_wraparound_enabled_flag is the ref_wraparound_enabled_flag parsed in PPS and referenced by the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1 is the ref_wraparound_offset_minus1 parsed into the PPS pointed to by the reference image.< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The variable xOffset is set to xInti = Clip3(0, picWC − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag ? ClipH( xOffset, picWC, xIntC + i − 1 ) : xIntC + i − 1 )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picHC − 1, yIntC + i − 1 ) (974)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, the methods of the present invention include using, to compensate for motion, the scaling ratios between the reference image and the current image to scale the wraparound offset derived from the PPS referenced in the current image. The general formula for deriving the wraparound offset of the reference image, defined as ref_wraparound_offset, may be as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset =urr_wraparound_offset * ref_pic_width ÷urr_pic_width<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where urr_wraparound_offset is the wraparound offset of the current image, ref_pic_width is defined as the pic_width_max_in_luma_samples of the reference image, and curr_pic_width is defined as the pic_width_max_in_luma_samples of the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Given the accuracy of the fixed-point calculation, the formula calculation can be performed with higher accuracy.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">An example is using the scale ratio [0] defined in VVC Draft 7 which calculates the ref_pic_width ÷urr_pic_width value by shifting to the left 14 to the ref_pic_width. The convolutional offset of the reference image can then be derived as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset = ( ( curr_wraparound_offset * scalingRatio[ 0 ] ) + 8192 ) >> 14<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, the methods of the present invention include disallowing the RPR function and the wrap-around offset function to be enabled at the same time. For example, in some examples, the video decoder 300 may be configured to infer that the ref_pic_resampling_enabled_flag value is zero if sps_ref_wraparound_enabled_flag is equal to 1. In some examples, the video decoder 300 may be configured to infer that the sps_ref_wraparound_enabled_flag value is zero if the ref_pic_resampling value is equal to 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 and the video decoder 300 may be configured to apply convolutional offsets with sub-images enabled. The video encoder 200 and the video decoder 300 may be configured<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To add a sub-image guide to the convolved offset signal during the analysis process in PPS and the process<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Decoding for motion compensation. The following are examples of changes to VVC Draft 7 to implement the methods of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 7.3.2.4 in VVC Draft Version 14 may be amended.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 7 as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> pic_parameter_set_rbsp( ) { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add>pps_num_subpics_minus1 ue(v) for( i = 0; i <= pps_num_subpics_minus1; i++ ) { ref_wraparound_enabled_flag[ i ] u(1) if( ref_wraparound_enabled_flag[ i ] ) ref_wraparound_offset_minus1[ i ] ue(v) }< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 7.4.3.4 in VVC Draft No. 7 Version 14 could be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag[i] equal to 1 specifies that the horizontal wraparound motion compensation of the i-th sub-image is used in interprediction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A ref_wraparound_enabled_flag value of zero specifies that horizontal wraparound motion compensation is not applied to subimage i. When (CtbSizeY / MinCbSizeY + 1) is greater than or equal to (subpic_width_in_luma_samples / MinCbSizeY - 1), where subpic_width_in_luma_samples is the subimage width of subimage i, refenable_wraable must be zero.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1[ i ] plus 1 Specifies the offset used to calculate the horizontal wraparound position of sub-image i in MinCbSizeY luma sampling units. Must be<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The value of ref_wraparound_offset_minus1[ i ] is in the range (CtbSizeY / MinCbSizeY) + 1 to (subpic_width_in_luma_samples / MinCbSizeY) - 1, inclusive.<h2 style=";text-align:left;direction:ltr"> < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.3.2.2 in VVC Draft No. 7 Version 14 could be amended as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> RefSubPicIdx is derived such that the SubpicIdList[ RefSubPicIdx ] of the reference image is equal to the slice_subpic_id of the current slice.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1[ RefSubPicIdx ] is the ref_wraparound_offset_minus1[ RefSubPicIdx ] parsed into the PPS pointed to by the reference image.<h2 style=";text-align:left;direction:ltr"> < / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3 (0 xInti = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> ?<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ClipH( (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> + 1 ) * MinCbSizeY, picW, ( xIntL + i ) : (644) xIntL + i )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i ) (645)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples, paragraph 8.5.6.3.2 in VVC Draft No. 7 Version 14 could be amended to read as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It is derived<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr">RefSubPicIdx such that the SubpicIdList[RefSubPicIdx] of the reference image is equal to the slice_subpic_id of the current slice.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1[ RefSubPicIdx ] is the ref_wraparound_offset_minus1[ RefSubPicIdx ] parsed into the PPS pointed to by the reference image.< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> ? ClipH( (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> + 1 ) * MinCbSizeY, picW, xIntL + i − 3 ) : (957) xIntL + i − 3 )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picH − 1, yIntL + i − 3 ) (958)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.6.3.3 in VVC Draft No. 7 Version 14 could be amended to read as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It was derived<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr">RefSubPicIdx such that the SubpicIdList[RefSubPicIdx] of the reference image is equal to the slice_subpic_id of the current slice.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1[ RefSubPicIdx ] is the ref_wraparound_offset_minus1[ RefSubPicIdx ] parsed into the PPS pointed to by the reference image.< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInt = Clip3( 0, picW − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> ? ClipH( (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> + 1 ) * MinCbSizeY, picW, xIntL ) : xIntL ) (968)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInt = Clip3( 0, picH − 1, yIntL ) (969)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, paragraph 8.5.6.3.4 in VVC Draft No. 7 Version 14 could be amended to read as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It was derived<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr">RefSubPicIdx such that the SubpicIdList[RefSubPicIdx] of the reference image is equal to the slice_subpic_id of the current slice.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_offset_minus1[ RefSubPicIdx ] is the ref_wraparound_offset_minus1[ RefSubPicIdx ] parsed into the PPS pointed to by the reference image.< / add> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The variable xOffset is set equal to<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del><h2 style=";text-align:left;direction:ltr">ref_wraparound_offset_minus1<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> + 1) * MinCbSizeY ) / SubWidthC.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> xInti = Clip3( 0, picWC − 1,<h2 style=";text-align:left;direction:ltr"> <del><h2 style=";text-align:left;direction:ltr"> sps_< / del> <h2 style=";text-align:left;direction:ltr"> ref_wraparound_enabled_flag<h2 style=";text-align:left;direction:ltr"> <add><h2 style=";text-align:left;direction:ltr"> [ RefSubPicIdx ]< / add> <h2 style=";text-align:left;direction:ltr"> ? ClipH( xOffset, picWC, xIntC + i − 1 ) : xIntC + i − 1 )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> yInti = Clip3( 0, picHC − 1, yIntC + i − 1 ) (974)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a block diagram illustrating an example of a video encoder 200 that can implement the methods of the present invention. Figure 5 is provided for illustrative purposes and should not be considered to be limiting to the methods broadly described and described in the present invention. For illustrative purposes, the present invention describes a video encoder 200 based on the JEM, VVC (ITU-T H.266 under development), and HEVC (ITU-T H.265) methods. However, the methods of the present invention may be implemented using video encoders configured to other video coding standards.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the example shown in Figure 5, the video encoder 200 includes the video data memory 230, the mode selection unit 202, the residual generation unit 204, the conversion processing unit 206, the quantization unit 208, the inverse quantization unit 210, the inverse conversion processing unit 212, the reconstruction unit 214, the filter unit 216, the decoder buffer (DPB) 218, and the entropy coding unit 220. It is possible to use any or all of the video data memory 230, the mode selection unit 202, the residual generation unit 204, the conversion processing unit 206, the quantization unit 208, the inverse quantization unit 210, the inverse conversion processing unit 212, the reconstruction unit 214, the filter unit 216, the DPB 218, and the entropy coding unit 220 in one or<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> More than one processor or processing circuit. For example, the video encoder modules 200 may be used as one or more circuits or logic elements as part of the hardware circuitry, or as part of an ASIC processor for an FPGA. Furthermore, the video encoder 200 may include additional or alternative processors or processing circuits to perform these and other functions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video data memory 230 may store video data to be encoded by components of the video encoder 200. The video encoder 200 may receive video data stored in the video data memory 230, for example, from the video source 104 (FIG. 1). The DPB 218 may serve as a reference image memory that stores reference video data for use in predicting subsequent video data by the video encoder 200. The video data memory 230 and the DPB 218 may be formed by any variety of memory media, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive random access memory (MRAM), resistive random access memory (RRAM), or other types of memory media. The memory may be provided<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Video data 230 and DPB 218 are stored using the same memory medium or separate memory mediums. In various examples, the video data memory 230 may be integrated with other components of the video encoder 200, as shown, or off-chip relative to those components.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the present invention, reference to video data memory 230 should not be construed as a compartment<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> on the video encoder's interfacing memory 200, unless specifically described as such, or the video encoder's external memory 200, unless specifically described as such. Alternatively, reference to the video data memory 230 should be understood as a reference memory that stores video data received by the video encoder 200 for encoding (e.g., the video data for the current block to be encoded). The memory 106 of Figure 1 may also provide temporary storage for outputs from various modules of the video encoder 200.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The various modules are illustrated in Figure 5 to help understand the operations performed by the video encoder 200. The modules can be used as fixed-function circuits, programmable circuits, or a combination thereof. Fixed-function circuits refer to circuits that provide specific functions and are preset to<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Operations that can be performed. Programmable circuits refer to circuits that can be programmed to perform various tasks, providing flexible functionality in the operations that can be performed. For example, programmable circuits may implement software or firmware that causes the programmable circuits to operate in the manner specified by the software or firmware instructions. The circuits may implement the function<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Fixed software instructions (for example, to receive variables or output variables) are fixed, but the types of operations performed by fixed-function circuits are generally unchangeable. In some examples, one or more modules may be distinct circuit blocks (fixed-function or programmable), and in some examples, one or more modules may be integrated circuits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 may include arithmetic logic units (ALUs), basic function units (EFUs), digital circuits, analog circuits, and / or programmable cores, composed of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Programmable Circuits. In examples where the operations of the video encoder 200 are performed using a program executed by the programmable circuits, memory 106 (FIG. 1) may store instructions (e.g., object code) for the program that the video encoder 200 receives and executes, or other memory within the video encoder 200 (not shown) may store those instructions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video data memory 230 is configured to store the received video data. The video encoder 200 may retrieve video data images from the video data memory 230 and provide the video data to the residual generation unit 204 and the mode selection unit 202. The video data in the video data memory 230 may be raw video data to be encoded.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The mode selection unit 202 includes a motion estimation unit 222, a motion compensation unit 224, and an interprediction unit 226. The mode selection unit 202 may include additional functional units.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To perform video prediction according to other prediction modes. As examples, the mode selection module 202 may include a slab module, and / or an in-block copy module (which may be part of the motion estimation module 222 and / or the motion compensation module 224), and / or an affine module, and / or a linear model (LM) module, or the like.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The mode selection unit 202 generally coordinates multiple encoding passes to test combinations of encoding variables and the resulting rate distortion values ​​for those combinations. The encoding variables may include the partitioning of CTUs into CUs, prediction patterns for CUs, transformation types for the remaining data of the CUs, quantization variables for the remaining data of the CUs, and the like. The mode selection unit 202 may ultimately select the set of encoding variables that has better rate distortion values ​​than the remaining combinations tested.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 may partition an image retrieved from the video data memory 230 into a series of CTUs, encapsulating one or more CTUs within a chip. The mode selector 202 may partition the image CTU according to a tree structure, such as the fkdm QTBT or HEVC quad-tree structure described above. As described above, the video encoder 200 may form one or more CUs from the CTU partitions according to the tree structure. Such a CU may also be generally referred to as a "video block" or a "block."<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In general, the mode selection unit 202 also controls its components (e.g., the motion estimation unit 222, the motion compensation unit 224, the internal prediction unit 226) to generate a prediction block for a block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">current (e.g., the current CU, or in HEVC, the overlapping portion of the PU and TU). To interpolate the current block, the motion estimation unit 222 may perform a motion search to identify one or more closely matching reference blocks in one or more reference images (e.g., one or more pre-encoded images stored in DPB 218). In particular, the motion estimation unit 222 may calculate a value representative of how similar a potential reference block is to the current block,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, according to the sum of absolute differences (SAD), sum of squared differences (SSD), mean absolute differences (MAD), squared differences (MSD), or the like. The motion estimation unit 222 may generally perform these calculations using sample-to-sample differences between the current mass and the respective reference mass. The motion estimation unit 222 may select a reference mass with the lowest value resulting from these calculations, indicating a reference mass that most closely matches the current mass.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The motion estimation unit 222 may form one or more motion vectors (MVs) that specify the positions of reference blocks in the reference images relative to the current block position in the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The motion estimation unit 222 then provides motion vectors to the motion compensation unit 224. For example, for unidirectional prediction, the motion estimation unit 222 may provide one motion vector, while<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For bidirectional prediction, the motion estimation unit 222 may provide two motion vectors. The motion compensation unit 224 may then generate a prediction block using the motion vectors. For example, the motion compensation unit 224 may retrieve the reference block data using the motion vector. As another example, if the motion vector has a subsample resolution, the motion compensation unit 224 may interpolate the prediction block values ​​according to one or more interpolation filters. Furthermore, for bidirectional prediction<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Bidirectionally, the motion compensation unit 224 may retrieve data for two reference blocks identified by the respective motion vectors and combine the retrieved data, for example, by averaging the samples or weighted averaging.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> As another example, for internal prediction, or internal encoding of prediction, the internal prediction unit 226 might generate prediction blocks from samples adjacent to the current block. For example, for trend modes,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The internal prediction unit 226 may generally mathematically sum the values ​​of adjacent samples and populate these calculated values ​​in the specified direction across the current block to produce the prediction block. As another example, for DC mode, the internal prediction unit 226 may compute the average of adjacent samples of the current block and generate a prediction block to include this resulting average for each sample of the prediction block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The mode selection unit 202 provides the prediction block to the remaining generation unit 204. The generation unit receives<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The residual 204 is an unencrypted raw copy of the current block of video data memory 230 and the prediction block of the mode selection module 202. The residual generation module 204 calculates the sample-to-sample differences between the current block and the prediction block. The resulting sample-by-sample differences determine the residual block of the current block. In some examples, the residual generation module 204 may also determine the differences between sample values ​​in the residual block to generate a residual block using residual differential pulse code modulation (RDPCM). In some examples, the residual generation module 204 may be composed using one or more subtraction circuits that perform binary subtraction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In examples where the mode selection unit 202 divides the CUs into PUs, each PU may be associated with a luma prediction unit and corresponding chroma prediction units. The video encoder 200 and decoder 200 may support<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Video 300 PUs of varying sizes. As previously noted, CU size may refer to the size of the LUMA coding block of the CU, and PU size may refer to the size of the LUMA prediction unit of the PU. Assuming a given CU size is 2n×2n, video encoder 200 may support PU sizes of 2n×2n or n×n for interprediction, and symmetric PU sizes of 2n×2n, 2n×n, n×2n, n×n, or the like for interprediction. Video encoder 200 and video decoder 300 may also support asymmetric partitioning of PU sizes of 2n×nw, 2n×nd, or nl×2n and nr×2n for interprediction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In examples where the mode selector 202 does not divide the CU into PUs, each PU may be associated with a Luma coding block and corresponding Chroma coding blocks. As previously noted, the CU size may refer to the Luma coding block size of the control unit. The video encoder 200 and video decoder 300 may support CU sizes of 2n × 2n, 2n × n, or n × 2n.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For other video coding methods, such as intra-block copy mode coding, affine mode coding, and linear model (LM) mode coding, to name a few, the mode selection module 202, via the respective modules associated with the coding methods, produces a prediction block for the current block to be encoded. In some examples, such as slab mode coding, the mode selection module 202 may not generate a prediction block, but instead produces structure elements that denote the way in which the block is reconstructed based on a specific slab. In those modes, the mode selection module 202 may provide these structure elements to the entropy coding module 220 to be encoded.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> As described above, the residual generation unit 204 receives the video data for the current block and the corresponding prediction block. The residual generation unit 204 then generates the residual block for the current block. To generate<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Residual Block The residual generation module calculates the sample-by-sample differences between the prediction block and the current block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The transformation processing unit 206 applies one or more transformations to the residual block to generate a block of transformation operators (referred to herein as a "transformation operator block"). The transformation processing unit 206 may apply various transformations to a residual block to form a transformation operator block. For example, the transformation processing unit 206 may apply a discrete cosine transform (DCT), a vector transform, a Karhunen-Loeve transform (KLT), or a conceptually similar transformation to the residual block. In some examples, the transformation processing unit 206 may perform multiple transformations to a residual block, e.g., a primary transformation and a secondary transformation, such as a rotational transformation. In some examples, the transformation processing unit 206 does not apply transformations to a residual block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The quantization module 208 may quantitatively represent the transformation coefficients in a transformation coefficient block, producing a quantized transformation coefficient block. The quantization module 208 may quantitatively represent the transformation coefficients of the transformation coefficient block according to the value of the quantization variable (QP) associated with the current block. The video encoder 200 may adjust (e.g., via the mode selector 202) the degree of quantization applied to the transformation coefficient blocks associated with the current block by adjusting the QP value associated with the control module. Quantization may result in a loss of information; therefore, the quantized transformation coefficients may have lower precision than the original transformation coefficients produced by the transformation processing module 206.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The inverse quantization unit 210 and the inverse transformation processing unit 212 can implement the transformation<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Quantization and inverse transformations on a quantization transformation operator block, respectively, reconstruct a residual block from the transformation operator block. The reconstruction unit 214 may produce a reconstructed block corresponding to the current block (albeit with possibly some degree of distortion) based on the reconstructed residual block and the prediction block generated by the mode selection unit 202. For example, the reconstruction unit 214 may add samples of the reconstructed residual block to the corresponding samples of the prediction block generated by the mode selection unit 202 to produce the reconstructed block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The filter unit 216 may perform one or more filtering operations on the reconstructed blocks. For example, the filter unit 216 may perform de-clumping operations to reduce clumping defects along the edges of the CUs. The filter unit 216 operations may, in some examples, be skipped.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 stores the reconstructed blocks in DPB 218. For example, in examples that do not require filter unit 216 operations, the reconstruction unit 214 may store the reconstructed blocks to DPB 218. In examples that require filter unit 216 operations, the filter unit 216 may store the reconstructed candidate blocks to DPB 218. The motion estimation unit 222 and the motion compensation unit 224 may retrieve a reference image from DPB 218, which was formed from<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The reconstructed blocks (which may be filtered) are used to predict between the subsequently encrypted blocks of the images. In addition, the interprediction module 226 may use the reconstructed blocks in the DPB 218 of the image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Current internal prediction of other blocks in the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In general, the entropy coding module 220 may encode elements of the structure received from other functional components of the video encoder 200. For example, the entropy coding module 220 may<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By encoding the quantum representation coefficient blocks from the quantum representation unit 208. As another example, the entropy coding unit 220 may encode the prediction-specific structure elements (e.g., motion information for interprediction or intra-mode information for intraprediction) from the mode selection unit 202. The entropy coding unit 220 may perform one or more entropy coding operations on the structure elements, another example of video data, to generate entropy-encoded data. For example, it may<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The entropy coding module 220 performs a context-adaptive variable-length coding operation, a CABAC operation, a variable-length-to-variable (V2V) coding operation, a context-dependent binary arithmetic coding operation (SBAC), a probabilistic interval division entropy coding operation (PIPE), an exponential Golomb coding operation, or another type of entropy coding operation on the data. In some examples, the entropy coding module 220 may operate in an overflow mode where the structure elements are not encrypted.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 may output a bit stream containing the entropy coded structure elements necessary to reconstruct the blocks of a chip or image. In particular, the entropy coder 220 may output the bit stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The operations described above are described relative to the block. This description should be understood as operations for the Luma coding block and / or the Chroma coding blocks. As previously noted, in some examples, the Luma coding block and the Chroma coding blocks may be Luma and Chroma components of a CU. In some examples, the Luma coding block and the Chroma coding blocks may be Luma and Chroma components of a PU.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, the operations performed for a Luma cipher block need not be repeated for a Chroma cipher block. For example, the operations to determine the motion vector (MV) and reference image for a Luma cipher block need not be repeated to determine the MV and reference image for a Chroma block. Alternatively, the MV for a Luma cipher block may be measured to determine the MV for a Chroma block, and the reference image may be the same. As another example, the interprediction process may be the same for a Luma cipher block and a Chroma cipher block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 is an example of a device adapted for encoding video data including a memory adapted for storing video data, and one or more processing units used in circuitry and adapted to perform the methods of the present invention, including the methods of the claims section.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 is a block diagram illustrating an example of a video decoder 300 that can implement the methods of the present invention. Figure 6 is provided for illustrative purposes and is not limited to the broadly described methods described in the present invention. For illustrative purposes, the present invention describes a video decoder 300 based on the JEM, VVC (ITU-T H.266 under development), and HEVC (ITU-T H.265) methods. However, the methods of the present invention may be implemented using video encoders configured to other video coding standards.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the example shown in Figure 6, the video decoder module 300 includes a coded picture buffer (CPB) 320, a decoder module 302, a prediction processing module 304, a quantum inversion module 306, a transform inversion module 308, a reconstruction module 310, a filter module 312, and a picture buffer (DPB) 314. Any or all of the CPB 320, the decoder module 302, the prediction processing module 304, the quantum inversion module 306, the transform inversion module 308, the reconstruction module 310, the filter module 312, and the DPB 314 may be used in one or more processors or in processing circuits. For example, the video decoder module 300 may be used as one or more circuits or logic elements as part of hardware circuits, or as part of an ASIC processor for an FPGA. Furthermore, the video decoder 300 may include additional or alternative processors or processing circuits to perform these and other functions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The prediction processing unit 304 includes a motion compensation unit 316 and an intra-prediction unit 318. The prediction processing unit 304 may include additional units for performing prediction according to other prediction patterns. For example, the prediction processing unit 304 may include a slab unit, an intra-block copy unit (which may form part of the motion compensation unit 316), an affinity unit, a linear model (LM) unit, or the like. In other examples, the video decoder unit 300 may include more, fewer, or different functional components.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The CPB memory 320 may store video data, such as an encrypted video bitstream, to be decrypted by components of the video decoder 300. The video data stored in the CPB memory 320 may be obtained, for example, from a computer-readable medium 110 (FIG. 1). The CPB memory 320 may include a CPB that stores encrypted video data (e.g., structure elements) from an encrypted video bitstream. Also, the CPB memory 320 may store video data other than encrypted image structure elements, such as temporary data representing outputs from various modules of the video decoder 300. The DPB 314 generally stores decrypted images, which the video decoder 300 may output and / or use as reference video data when decrypting subsequent data or images of the encrypted video bitstream. The CPB memory 320 and the DPB 314 may be composed of any of several memory media, such as DRAM, including SDRAM, or MRAM.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> or RRAM or other types of memory media. The CPB 320 and DPB 314 may be equipped with the same memory media or separate memory media. In various examples, the CPB memory may be<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">320 integrated with other components of the video decoder 300, or off-chip for those components.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Additionally or alternatively, in some examples, the video decoder 300 may retrieve encrypted video data from memory 120 (FIG. 1). That is, memory 120 may store data previously referenced using the CPB memory 320. Similarly, memory 120 may store instructions to be executed by the video decoder 300, when some or all of the functions of the video decoder 300 are implemented in a program to be executed by the video decoder 300's processing circuitry.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The various modules shown in Figure 6 are illustrated to help understand the operations performed by the video decoder 300. The modules can be used as fixed-function circuits or switchable circuits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For programming or a combination thereof. As in Figure 5, fixed-function circuits refer to circuits that provide specific functions and are preset in the operations they can perform. Programmable circuits refer to circuits that can be programmed to perform different tasks and provide flexible functionality in the operations they can perform. For example, programmable circuits may implement software<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Or firmware that causes programmable circuits to operate in the manner specified by software or firmware instructions. Fixed-function circuits may execute software instructions (for example, to receive variables or output variables), but the types of operations that fixed-function circuits perform are generally unchangeable. In some examples, one or more modules may be distinct circuit blocks (with fixed or programmable function), and in some examples, one or more modules may be integrated circuits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoder unit 300 may include ALUs, EFUs, digital circuits, analog circuits, and / or programmable cores composed of programmable circuits. In examples where the operations of the video decoder unit 300 are performed by software executed on the programmable circuits, the<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> On-chip or off-chip memory stores instructions (e.g., object code) for the program that the video decoder 300 receives and executes.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The entropy decoder 302 may receive encoded video data from the CPB and decode the video data to reproduce the structure elements. The prediction processing unit 304, the inverse quantization unit 306, the inverse transform processing unit 308, the reconstruction unit 310, and the filtering unit 312 may generate decoded video data based on the structure elements extracted from the bit stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In general, the video decoder 300 reconstructs the image block by block. The video decoder 300 can perform a block-by-block reconstruction operation (where the block currently being reconstructed, i.e., decoded, may be referred to as the "current block").<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The entropy decoder 302 may decode the structure elements that define the quantized transformation coefficients of the quantization parameter block, as well as transformation information, such as the quantization parameter (QP) and / or transformation mode indicator(s). The inverse quantization module 306 may use the QP associated with the quantization parameter block to determine the degree of quantization, and likewise, the degree of<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The inverse quantum representation of the inverse quantum representation unit 306 is intended for use. The inverse quantum representation unit 306 may, for example, perform a bit-left shift operation to invert the quantized shift operators. Thus, the inverse quantum representation unit 306 may form a shift operator block including the shift operators.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After the inverse quantization unit 306 forms the conversion operator block, the inverse conversion processing unit 308 may apply one or more inverse transformations to the conversion operator block to generate the remaining block associated with the current block. For example, the inverse conversion processing unit 308 may apply<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 308 Inverse DCT, inverse integer transform, inverse Karhunen-Loeve transform (KLT), inverse rotational transform, inverse directional transform, or other inverse transformation on the transform factor block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Furthermore, the prediction processing unit produces 304 prediction blocks according to the elements of the prediction information structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">which is decoded by the entropy decoder 302. For example, if the elements of the prediction information structure indicate that the current block was predicted internally, the motion compensation unit 316 may generate the prediction block. In this case, the elements of the prediction information structure may indicate a reference image in the DPB 314 from which a reference block may be retrieved, as well as a motion vector specifying the location of the reference block in the reference image relative to the location of the current block in the current image. The motion compensation unit 316 may generally perform the prediction process in a manner substantially similar to that described with respect to the motion compensation unit 224 (FIG. 5).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> As another example, if the elements of the prediction information structure indicate that the current block is interpredicted, the interpredictor module 318 may generate the prediction block according to the indicated interpredictor mode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> by elements of the forecasting information structure. Again, the internal forecasting module 318 may generally perform the internal forecasting process in a manner substantially similar to that described in relation to the forecasting module<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Internal 226 (Fig. 5). Internal prediction unit 318 may retrieve data for adjacent samples of the current block from DPB 314.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The reconstruction unit 310 may reconstruct the current block using the prediction block and the remaining block. For example, the reconstruction unit 310 may add samples from the remaining block to the corresponding samples from the prediction block to reconstruct the current block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The filter unit 312 may perform one or more filtering operations on the regenerated blocks. For example, the filter unit 312 may perform de-clumping operations to reduce block defects along the edges of the regenerated blocks. The operations of the filter unit 312 are not necessarily performed in all examples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoder 300 may store the reconstructed blocks in the DPB 314. For example, in examples where no filter unit 312 operations are performed, the reconstruction unit 310 may store the reconstructed blocks to the DPB 314. In examples where filter unit 312 operations are performed, the filter unit 312 may store the reconstructed filter blocks to the DPB 314. As previously noted, the DPB 314 may provide reference information, such as samples of the current image for internal prediction and images that have previously been decoded for subsequent motion compensation, to the prediction processing unit 304. Furthermore, the video decoder 300 may output decoder images (e.g., decoded video) from the DPB 314 for subsequent display on a display device, such as the display device 118 in Figure 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In this way, the video decoder 300 is an example of a video decoder containing a memory configured to store video data, and one or more processing units used in circuitry and configured to perform the methods of the present invention, including the methods in the claims section.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 7 is a flowchart illustrating a representative method for encrypting a current block. The current block may include a current CU. Although described in relation to the video encoder 200<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (Figures 1 and 5), but it should be understood that other devices may exist that are adapted to perform a method similar to that shown in Figure 7.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this example, video encoder 200 initially predicts the current block (350). For example, video encoder 200 may form a prediction block for the current block. Video encoder 200 may then calculate the remaining block for the current block (352). To calculate the remaining block, video encoder 200 may calculate the difference between the original, unencoded block and the prediction block for the current block. Video encoder 200 may then transform the remaining block and estimate the transformation coefficients for the remaining block (354). Next, video encoder 200 may examine the transformation coefficients quantized for the remaining block (356). During or after the examination, video encoder 200 may encode the transformation coefficients (358). For example, video encoder 200 may encode the transformation coefficients using CAVLC or CABAC. Video encoder 200 may output the encoded entropy data for the block (360).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 is a process flow diagram illustrating a representative method for decoding a current block of video data. The current block may include a current CU. Although described in relation to the video decoder 300 (Figures 1 and 6), it should be understood that devices may be configured<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Another way to perform a procedure similar to that shown in Figure 8.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video decoder 300 may receive encrypted entropy data for the current block, such as encrypted entropy prediction information and encrypted entropy data for the remaining block coefficients corresponding to the current block (370). The video decoder 300 may decode the entropy-encrypted data to determine prediction information for the current block and to reproduce the remaining block coefficients (372). The video decoder 300 may predict the current block (374), for example, using an internal or interpretation mode as indicated by the prediction information for the current block, to calculate the prediction block for the current block. The video decoder 300 may then perform an inverse scan of the reproduced coefficients (376) to generate a block of quantitatively represented transformation coefficients. The video decoder 300 may then quantitatively represent and inversely transform the transformation coefficients to produce a remaining block (378). The video decoder 300 may<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video 300 is finally decrypted by decrypting the current block by merging the prediction block and the remaining block (380).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 is a flowchart illustrating a representative method for encoding a current block of video data. The video data may be, for example, 360-degree video data. The current block may include a current CU. Although described in relation to the video encoder 200 (Figs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 1 and 5), it should be understood that other devices may exist that are adapted to perform a method similar to that of Figure 9.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 specifies a convolution offset value (400). In response to determining that a block of the current image of the video data is encoded in interprediction mode, the video encoder 200 specifies a motion vector for the block (402) and a reference image for it. The reference image may, for example, be an image in PERP format. The left and right parts of the reference image may be padded to be symmetric.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 determines a horizontal wrap around a position in the reference image based on the warp offset value (404). The horizontal wrap around the position might correspond, for example, to the top-left corner of the prediction block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 determines a block prediction based on a horizontal wrap around a position (406). The video encoder 200 may, for example, determine a horizontal wrap around a position in the reference image based on the width and height of the reference image and insert PPS data structure information that specifies the width and height of the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 200 includes, in the PPS data structure for the current image, a convolution offset value (408). The convolution offset may, for example, be a first convolution offset for the first subimage, and the video encoder 200 may be configured to insert into the PPS data structure a second convolution offset value for the second subimage that is part of the same image as the first subimage. The video encoder 200 may, for example, specify that horizontal wrap-around motion compensation is enabled for the block and include a structure element in the PPS data structure to indicate that horizontal wrap-around motion compensation is enabled for the block and insert the convolution offset value into the PPS data structure in response to the selection that horizontal wrap-around motion compensation is enabled for the block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 200 outputs a bit stream of encoded video data that includes a PPS data structure (410). The video encoder 200 may also include, in the encoded video data bit stream, an SPS with an SPS identifier value, and the PPS data structure may include a structure element that specifies the SPS identifier value. The video encoder 200 may, for example, output a bit stream of encoded video data by<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Outputting the bitstream for decoding and display or by storing the bitstream for decoding in<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> after.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 is a flowchart illustrating a representative method for decoding a current block of video data. The video data may be, for example, 360-degree video data. The current block may include a current CU. Although described in relation to the video decoder 300 (Figures 1 and 6), it should be understood that other devices configured to perform a method similar to that of Figure 10 may exist.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoder 300 obtains, from the PPS data structure of the current image of the video data, a value for the convolution offset (420). The video decoder 300 may, for example, receive a structure element in the PPS data structure and determine that horizontal convolution around motion compensation is enabled.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for the block based on the value of the structure element, and receives the convolution offset value in response to determine that horizontal wrapping around motion compensation is enabled for the block. The video decoder 300 may also receive an SPS with an SPS ID value, and the PPS data structure may include a structure element that specifies the SPS ID value. The convolution offset may be, for example, the first convolution offset of the first sub-image, and the PPS may be<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 300 is also decoded to obtain, from the PPS data structure, a value for a second convolution offset of the second sub-picture, where the sub-picture and the second sub-picture are sub-pictures of the same picture.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In response to determining that a block of the current image is encoded in interprediction mode, the video decoder 300 determines the motion vector for the block (422) and a reference image for it. The reference image may, for example, be an image in PERP format. The left and right parts of the reference image may be padded so that they are symmetric. The reference image may have an associated PPS data structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It is separate from the PPS data structure of the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video decoder 300 determines a horizontal wrap around a position in the reference image based on the wrap offset value (424). The horizontal wrap around the position may, for example, correspond to the upper-left corner of the prediction block. The video decoder 300 may also receive information in a PPS data structure specifying the width and height of the reference image and determine a horizontal wrap around a position in the reference image based on the width and height of the reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoder 300 determines a block prediction block based on the horizontal wrap position around position (426). The video decoder 300 may also be configured to determine the remaining block, add the remaining block to the prediction block to determine the reconstructed block from the video data, apply one or more filters to the reconstructed block to determine a final decoded block, and output a decoded image of the video data that includes the final decoded block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following items describe the hardware features and methods described above.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 1: A method for decoding video data comprising receiving one or more convolved offsets in a picture parameter set (PPS); and processing one or more convolved offsets according to any method or combination of methods disclosed in the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 2: The method according to Clause 1, wherein further comprising receiving a sequence variable plurality (SPS) with an SPS ID value, wherein the PPS includes a structure element specifying the SPS ID value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Clause 3: A device for decoding video data, wherein the device includes one or more means for implementing the method according to Clause 1 or 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Item 4: The apparatus of Item 3, wherein one or more devices comprise one or more processors used in the circuits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Item 5: The device mentioned in Item 3 or 4, wherein it also includes a memory for storing video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 6: The device according to any of Clauses 3-5, wherein it also includes a screen adapted for displaying<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Decoded video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 7: Device according to any of Clauses 3-6, wherein the device comprises one or more of a camera, computer, mobile device, streaming receiver, or decoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 8: The device according to any of Clauses 3-7, wherein the device includes a video decoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 9: A method for encoding video data comprising determining one or more convolved variances according to any method or combination of methods described in the present invention; and generating a set of image variables comprising one or more convolved variances.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Clause 10: The method according to Clause 1, wherein further comprising creating a sequence variable set (SPS) with an SPS identifier value, wherein the PPS includes a structure element that specifies the SPS identifier value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 11: A device for decoding video data, wherein the device includes one or more means for implementing the method of Clause 9 or 10.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 12: The apparatus according to Clause 11, wherein one or more devices comprise one or more processors used in the circuits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Item 13: The device according to Item 11 or 12, wherein it also includes a memory for storing video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 14: The device according to any of Clauses 11-13, wherein it also includes a camera configured to capture video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 15: Device pursuant to any of Clauses 11-14, where the device includes one or more of a camera, computer or mobile device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 16: The device according to any of Clauses 11-15, wherein the device includes a video encoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 17: A computer-readable storage medium on which instructions are stored which, when executed, cause one or more processors to execute the method in accordance with any of Clauses 1, 2, 9 or 10.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clause 18: A device for encoding video data, including a means for implementing the method according to any of Clauses 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Or 2 or 9 or 10.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It should be kept in mind that, for example, some actions or events of any of the methods described in the present document may be performed in a different order, or may be added, combined, or excluded altogether (i.e., not all actions or events described are necessary to perform the methods).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Furthermore, in certain examples, actions or events may be executed concurrently, e.g., by multithreading, interrupt handling, or multiple processors, rather than sequentially.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one or more examples, the described functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored or transmitted as one or more instructions or code on a computer-readable medium and executed by a processing unit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It depends on the hardware. Computer-readable media may include computer-readable storage media, which corresponds to a physical medium such as data storage media, or communication media, including any medium that facilitates the transfer of computer software from one place to another, for example.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Example, according to the communication protocol. In this way, computer-readable media may generally correspond to (1) physical storage media that is computer-readable and non-transitional or (2) a communication medium such as a signal or carrier wave. Data storage media may be any accessible media that can be accessed by one or more computers or one or more processors to retrieve instructions and / or code and / or data structures to implement the methods described in the present disclosure. A computer software product may include a computer-readable medium.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By way of example, but not limited to, computer-readable storage media can include random access memory (RAM), read-only memory (EEPROM), CD-ROM, other optical disk storage, magnetic disk storage, other magnetic storage devices, flash memory, or any other medium that can be used to store the required program code in the form of instructions or data structures that can be accessed by a computer. Also, it is correct to call a communication a computer-readable medium. For example, if instructions are sent from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or by wireless methods such as infrared, radio, and microwave, the coaxial cable<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Fiber optic cable, twisted pair, DSL, or wireless methods such as infrared, radio, and microwave may be included in the definition of medium. However, it should be understood that computer-readable storage media and data storage media do not include links, carrier waves, signals, or other transitional media, but rather relate to non-transitional physical storage media. A disc, as used in the present document, includes a compact disc (CD), a laser disc, an optical disc, and a digital versatile disc (DVD).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Floppy disks and Blu-ray discs, where disks typically reproduce data magnetically, while CDs reproduce data optically using a laser, should also be included in the scope of computer-readable media.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other integrated or equivalent processors or discrete logic circuits. Accordingly, the terms "processor" and "processing circuit," as used in the present document, may refer to any of the foregoing architectures or any other architecture suitable for implementing the methods described in the present document. In addition, in some aspects, the functionality described in the present document may be provided within dedicated hardware and / or software modules configured for encoding and decoding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> encryption, or embedded in an embedded encryption program. Also, the methods can be implemented entirely in one or<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> More than circuits or logical elements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The methods of the present invention can be implemented in many means or devices, including a cordless telephone handset, an integrated circuit (IC) or a plurality of integrated circuits (e.g.,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">(chipset). The various components, modules, or units in the present invention are described to emphasize the functional aspects of devices adapted to implement the disclosed methods, but<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It does not necessarily require implementation by separate hardware modules. Instead, as previously noted, different modules can be integrated into a single encoder hardware module or provided through a set of interoperable hardware modules, including one or more processors as previously noted, in combination with appropriate software and / or firmware.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Various examples have been described. These and other examples fall within the scope of the following protections.