Same Picture Order Count (POC) numbering for scalability support
By employing weighted prediction with zero-valued picture order count offsets, the system efficiently compresses video data, reducing bit rate and improving network and device performance in video coding, addressing the strain caused by high-fidelity video demands.
Patent Information
- Application Number
- JP2021572459
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-06-01
- Filing Date
- 2020-06-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-06-02
AI Technical Summary
Existing video coding techniques face challenges in efficiently compressing video data while maintaining quality, leading to strain on communication networks and devices due to the large amounts of data required for high-fidelity video consumption.
Implementing systems and methods that utilize weighted prediction with zero-valued picture order count offsets to efficiently identify and reconstruct reference frames, reducing the bit rate required for signaling reference frames and improving processing efficiency.
This approach reduces the bit rate needed for video coding, enhancing network and device performance without compromising image quality, and supports scalability in video coding standards like VVC, HEVC, and future codecs.
Smart Images

Figure 0007558980000018 
Figure 0007558980000019 
Figure 0007558980000020
Abstract
Description
[Technical field]
[0001]
[0001] This application relates to video coding. More particularly, this application relates to a system, method, and computer-readable medium that provides scalability support for video coding systems. [Background technology]
[0002]
[0002] Many devices and systems allow video data to be processed and output for consumption. Digital video data includes large amounts of data to meet the demands of consumers and video providers. For example, consumers of video data want the highest quality video, with high fidelity, resolution, frame rate, etc. As a result, the large amounts of video data required to meet these demands strain communication networks and devices that process and store the video data.
[0003]
[0003] Various video coding techniques may be used to compress video data. Video coding is performed according to one or more video coding standards. For example, video coding standards include Generic Video Coding (VVC), High Efficiency Video Coding (HEVC), Advanced Video Coding (AVC), Moving Picture Experts Group (MPEG) coding, among others. Video coding may utilize prediction methods (e.g., inter-prediction, intra-prediction, etc.) that exploit redundancy present in a video image or sequence. An important goal of video coding techniques is to compress video data into a format that uses a lower bit rate while avoiding or minimizing degradation to video quality. As ever-evolving video services become available, encoding techniques with better coding efficiency are needed. Summary of the Invention
[0004]
[0004] Systems and methods for improved video processing are described herein. Digital video data includes a large amount of data to meet the demands of consumers and video providers, which puts a strain on communication networks and devices that process and store the video data. Some examples of video processing use video compression techniques with prediction to efficiently encode and decode video data. For example, the prediction may be determined as a difference between pixel values in a block being encoded and pixel values in a predicted block. The prediction error may also be referred to as a residual. The video encoder may also apply a transform (e.g., a discrete cosine transform (DCT) or other suitable transform) to the prediction error to generate transform coefficients. After the transform, the video encoder may quantize the transform coefficients. The quantized transform coefficients and the motion vectors may be represented using syntax elements and, together with control information, form a coded representation of the video sequence. In some instances, the video encoder may entropy code the syntax elements, thereby further reducing the number of bits required for their representation.
[0005]
[0005] In some examples, prediction may use a reference frame in the same layer as the frame being analyzed. Such prediction may include a copy of the same frame with a different size or resolution. In some such examples, the reference frame may be identified in a reference list and referenced using a picture order count offset value. In the case of weighted prediction, an exemplary reference frame in the same layer as the frame being encoded or decoded may be referenced with a zero value picture order count offset. In some such examples, when weighted prediction is not used, the picture order count offset value may be interpreted by an encoder or decoder as plus or minus one from a signaled value. Such operations improve the efficiency of the network and encoding or decoding devices by reducing signaling and providing efficient processing of operations for identifying and using reference frames.
[0006]
[0006] In one illustrative example, an apparatus for processing video data is provided. The apparatus includes a memory and a processor implemented in a circuit. The processor is configured to obtain at least a portion of a picture included in a bitstream. The processor is also configured to determine from the bitstream that weighted prediction is enabled for at least a portion of the picture, and to identify a zero-valued picture order count offset indicating a reference picture from a reference picture list based on the determination that weighted prediction is enabled for at least a portion of the picture. The processor is also configured to reconstruct at least a portion of the picture using at least a portion of the reference picture identified by the zero-valued picture order count offset.
[0007]
[0007] In another example, a method for processing video data is provided. The method includes obtaining at least a portion of a picture from a bitstream. The method further includes determining, from the bitstream, that weighted prediction is enabled for the portion of the picture. The method further includes identifying a zero-valued picture order count offset indicating a reference picture from a reference picture list based on the determination that weighted prediction is enabled for the portion of the picture. The method further includes reconstructing at least the portion of the picture using at least the portion of the reference picture identified by the zero-valued picture order count offset.
[0008]
[0008] In another example, a computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device for decoding video data to obtain at least a portion of a picture included in a bitstream, determine from the bitstream that weighted prediction is enabled for at least a portion of the picture, identify a zero-value picture order count offset indicating a reference picture from a reference picture list based on the determination that weighted prediction is enabled for at least a portion of the picture, and reconstruct at least a portion of the picture using at least a portion of the reference picture identified by the zero-value picture order count offset.
[0009] In another example, an apparatus is provided for decoding video data, the apparatus including: means for obtaining at least a portion of a picture included in a bitstream, means for determining from the bitstream that weighted prediction is enabled for at least the portion of the picture, means for identifying a zero-valued picture order count offset indicating a reference picture from a reference picture list based on the determination that weighted prediction is enabled for at least the portion of the picture, and means for reconstructing at least the portion of the picture using at least the portion of the reference picture identified by the zero-valued picture order count offset.
[0010]
[0010] In some cases, the methods, apparatus, and computer-readable storage media described above include obtaining multiple portions of a picture from a bitstream, identifying multiple corresponding picture order count offsets for the multiple portions of the picture, where the multiple portions include at least a portion of a picture reconstructed using a reference picture identified by a zero-value picture order count offset, and reconstructing the picture using the multiple reference pictures identified by the multiple corresponding picture order count offsets, where the zero-value picture order count offset is a corresponding picture order count offset among the multiple corresponding picture order count offsets associated with the reference picture.
[0011]
[0011] In some cases, the method, apparatus, and computer-readable storage medium described above include determining that weighted prediction is enabled by parsing the bitstream to identify one or more weighted prediction flags for the picture. In some cases, the one or more weighted prediction flags for the portion of the picture comprise a sequence parameter set weighted prediction flag and a picture parameter set weighted prediction flag. In some cases, the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for a uni-directional predicted frame. In some cases, the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for a bi-directional predictive frame. In some cases, the picture parameter set weighted prediction flag is constrained by the sequence parameter set weighted prediction flag.
[0012]
[0012] In some cases, the methods, apparatus, and computer-readable storage media described above include obtaining at least a portion of a second picture included in a bitstream, determining from the bitstream that weighted prediction is disabled for a portion of the second picture, and determining that a second zero value picture order count offset is not enabled to indicate a second reference picture from a reference picture list for the portion of the second picture based on the determination that weighted prediction is disabled for at least the portion of the second picture.
[0013]
[0013] In some cases, the methods, apparatus, and computer-readable storage media described above include parsing a syntax element of the bitstream indicating a picture order count offset for the second reference picture by reconstructing the value of the syntax element as a signaled value + 1 based on a determination that the second zero-value picture order count offset is not enabled and based on weighted prediction being disabled for the second picture, and reconstructing the second picture using the reconstructed value of the syntax element.
[0014]
[0014] In some cases, the value of the reference picture syntax element specifies an absolute difference between the picture order count value of the second picture and the previous reference picture entry in the reference picture list for the second reference picture as a value of +1 when weighted prediction is disabled.
[0015]
[0015] In some cases, the reference picture is associated with a first set of weights and the picture is associated with a second set of weights that is different from the first set of weights. In some cases, the reference picture has a different size than the picture. In some cases, the reference picture is signaled as a short-term reference picture with a picture order count least significant bit value equal to 0. In some cases, the picture is a non-instantaneous decoding refresh (non-IDR) picture. In some cases, at least a portion of the picture is a slice. A slice can include multiple blocks of a picture. In some cases, at least a portion of the picture is a block of the picture (e.g., a coding tree unit (CTU), a macroblock, a coding unit or block, a prediction unit or block, or other type of block of a picture).
[0016]
[0016] In some cases, the method, apparatus, and computer-readable storage medium described above include determining, from the bitstream, a layer identifier for a reference picture indicating a layer of a layer index for inter-layer prediction. In some examples, a zero-value picture order count offset is identified by inferring a zero value from a picture order count for an unsignaled reference picture when the layer identifier is different from the current layer identifier.
[0017]
[0017] In another illustrative example, an apparatus for encoding video data is provided. The illustrative apparatus includes a memory and a processor implemented in a circuit, the processor configured to identify at least a portion of a picture. The processor is further configured to select a weighted prediction to be enabled for the portion of the picture. The processor is further configured to identify a reference picture for the portion of the picture and generate a zero-valued picture order count offset indicating the reference picture from the reference picture list. The processor is further configured to generate a bitstream, the bitstream comprising the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture.
[0018]
[0018] In another example, a method for encoding video data is provided. The method includes identifying at least a portion of a picture. The method includes determining that weighted prediction is selected to be enabled for the portion of the picture. The method includes identifying a reference picture for the portion of the picture and generating a zero-valued picture order count offset indicating the reference picture from a reference picture list. The method further includes generating a bitstream, where the bitstream comprises the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture.
[0019]
[0019] In another illustrative example, a computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device for encoding video data to identify at least a portion of a picture, select a weighted prediction to be enabled for the portion of the picture, identify a reference picture for the portion of the picture, generate a zero-value picture order count offset indicating the reference picture from the reference picture list, generate a bitstream, the bitstream comprising the portion of the picture and the zero-value picture order count offset associated with the portion of the picture.
[0020] In another illustrative example, an apparatus is provided for encoding video data, the apparatus including means for identifying at least a portion of a picture, means for selecting weighted prediction to be enabled for the portion of the picture, means for identifying a reference picture for the portion of the picture, means for generating a zero-valued picture order count offset indicating the reference picture from a reference picture list, and means for generating a bitstream, the bitstream comprising the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture.
[0021]
[0021] In another example, a method for encoding video data is provided. The method includes identifying at least a portion of a picture. The method includes determining that weighted prediction is selected to be enabled for the portion of the picture. The method includes identifying a reference picture for the portion of the picture and generating a zero-valued picture order count offset indicating the reference picture from a reference picture list. The method further includes generating a bitstream, where the bitstream comprises the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture.
[0022] In some aspects, the apparatus for decoding video data and / or the apparatus for encoding video data comprises a camera, a mobile device (e.g., a mobile phone or so-called “smartphone” or other mobile device), a wearable device, an extended reality device (e.g., a virtual reality (VR) device, an augmented reality (AR) device, or a mixed reality (MR) device), a personal computer, a laptop computer, a server computer, or other device. In some aspects, the apparatus for decoding video data and / or the apparatus for encoding video data includes one or more cameras for capturing one or more images. In some aspects, the apparatus for decoding video data and / or the apparatus for encoding video data includes a display for displaying one or more images, notifications, and / or other displayable data.
[0023]
[0023] The aspects described above relating to any of the methods, apparatus, and computer readable medium may be used individually or in any suitable combination.
[0024]
[0024] This Summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used independently to determine the scope of the claimed subject matter, which should be understood by reference to the entire specification of this patent, any or all drawings, and appropriate portions of each claim.
[0025]
[0025] The above, together with other features and embodiments, will become more apparent with reference to the following specification, claims, and accompanying drawings.
[0026]
[0026] Illustrative examples of the present application are described in detail below with reference to the following figures: [Brief description of the drawings]
[0027] [Figure 1]
[0027] A block diagram illustrating an example of an encoding device and a decoding device, according to some examples. [Diagram 2]
[0028] FIG. 1 illustrates an example implementation of a filter unit for implementing the techniques of this disclosure. [Diagram 3]
[0029] 1 illustrates an example of multiple access units (AUs) with different picture order counts (POCs), in accordance with some examples. [Figure 4]
[0030] 1 is a flow diagram illustrating an example method according to various examples described herein. [Diagram 5]
[0031] 1 is a flow diagram illustrating an example method according to various examples described herein. [Figure 6]
[0032] 1 is a block diagram illustrating an example video encoding device, in accordance with some examples. [Figure 7]
[0033] 1 is a block diagram illustrating an example video decoding device, according to some examples. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028]
[0034] Some aspects and examples of the present disclosure are given below. As will be apparent to those skilled in the art, some of these aspects and examples can be applied independently, and some of them can be applied in combination. In the following description, for the purpose of explanation, specific details are set forth to provide a thorough understanding of the examples of the present application. However, it will be apparent that various examples can be implemented without these specific details. The figures and descriptions are not limiting.
[0029]
[0035] The following description provides only illustrative examples and is not intended to limit the scope, applicability, or configuration of the present disclosure. Instead, the following description of illustrative examples provides those skilled in the art with an enabling description for implementing the illustrative examples. It should be understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the present application, as set forth in the appended claims.
[0030]
[0036] Video coding devices implement video compression techniques for efficiently encoding and decoding video data. Video compression techniques may include applying different prediction modes, including spatial prediction (e.g., intra-frame or intra prediction), temporal prediction (e.g., inter-frame or inter prediction), inter-layer prediction (across different layers of video data), and / or other prediction techniques, to reduce or remove redundancy inherent in video sequences. A video encoder may partition each picture of an original video sequence into rectangular regions called video blocks or coding units (described in more detail below). These video blocks may be encoded using particular prediction modes.
[0031]
[0037] A video block may be divided into one or more groups of smaller blocks in one or more ways. A block may include a coding tree block, a prediction block, a transform block, and / or other suitable blocks. References to a "block" generally may refer to such a video block (e.g., a coding tree block, a coding block, a prediction block, a transform block, or other suitable block or sub-block, as will be understood by those skilled in the art) unless otherwise specified. Moreover, each of these blocks may also be referred to interchangeably herein as a "unit" (e.g., a coding tree unit (CTU), a coding unit, a prediction unit (PU), a transform unit (TU), etc.). In some cases, a unit may refer to a coding logical unit that is encoded in the bitstream, and a block may refer to a portion of a video frame buffer that a process is targeted to.
[0032]
[0038] For inter-prediction modes, the video encoder may search for a block similar to a block encoded in a frame (or picture) in another temporal location, called a reference frame or picture. The video encoder may limit its search to a certain spatial displacement from the block to be encoded. In some systems, a two-dimensional (2D) motion vector, including a horizontal displacement component and a vertical displacement component, is used to identify the best match. For intra-prediction modes, the video encoder may use spatial prediction techniques to form a predicted block based on data from previously encoded neighboring blocks in the same picture.
[0033]
[0039] The video encoder may determine a prediction error. For example, the prediction may be determined as a difference between pixel values in a block being coded and pixel values in a predicted block. The prediction error may also be referred to as a residual. The video encoder may also apply a transform (e.g., a discrete cosine transform (DCT) or other suitable transform) to the prediction error to generate transform coefficients. After the transform, the video encoder may quantize the transform coefficients. In some examples, the quantized transform coefficients and the motion vectors are represented using syntax elements and, together with the control information, form a coded representation of the video sequence. In some instances, the video encoder may entropy code the syntax elements, thereby further reducing the number of bits for their representation.
[0034]
[0040] A video decoder may use the syntax elements and control information described above to construct prediction data (e.g., a prediction block) for decoding a current frame. For example, the video decoder may add a predicted block and a compressed prediction error. The video decoder may determine the compressed prediction error by weighting a transform basis function using the quantization coefficients. The difference between the reconstructed frame and the original frame is called the reconstruction error.
[0035]
[0041] As mentioned above, reference pictures may be used when implementing inter prediction. A picture order count (POC) offset value or a "delta POC" value may be used to identify a reference picture. The POC value identifies a selected picture based on a difference (e.g., an offset or delta) between a picture order count value for a selected picture and a picture order count value for a previous or original picture. Some reference pictures may have a delta POC value equal to 0, such as when multiple reference pictures have the same POC value (e.g., the same picture is used as a reference multiple times). For example, a 0 delta POC value may be used in weighted prediction. However, in some examples, a 0 delta POC value may not be used when weighted prediction is disabled. Signaling a non-0 delta POC value uses additional bits, which may waste resources when the delta POC value is the same non-0 value periodically.
[0036]
[0042] Systems and techniques are described herein that can reduce the bit rate used to signal encoded video data by determining when an associated mode (e.g., weighted prediction) is enabled or disabled and interpreting a signaled delta POC value based on this determination. In some examples, a flag is used to determine the current mode, such as a weighted prediction flag indicating that weighted prediction is enabled. In such examples, when weighted prediction is enabled, a signaled delta POC value of 0 may be used as the actual delta POC for reconstructing the picture. When weighted prediction is disabled, the signaled delta POC of 0 may be modified to determine an actual (non-zero) delta POC value. As described above, such implementations can improve the operation of the system by reducing the bit rate used for image signaling without reducing image quality.
[0037]
[0043] The techniques described herein may be applied to any existing video codec (e.g., High Efficiency Video Coding (HEVC), Advanced Video Coding (AVC), or other suitable existing video codec) and / or may be efficient coding tools for any developing and / or future video coding standards, such as, for example, Generic Video Coding (VVC), Joint Exploration Model (JEM), and / or other video coding standards under development or to be developed. Although the examples described herein provide examples using the JEM model, VVC, HEVC standard, and / or extensions thereof, the techniques and systems described herein may be applicable to other coding standards. Thus, while the techniques and systems described herein may be described with reference to a particular video coding standard, those skilled in the art will appreciate that the description should not be construed as applying only to that particular standard.
[0038]
[0044] FIG. 1 is a block diagram illustrating an example of a system 100 including an encoding device 104 and a decoding device 112. The encoding device 104 may be part of a source device, and the decoding device 112 may be part of a receiving device. The source device and / or the receiving device may include electronic devices such as a mobile or landline telephone handset (e.g., a smartphone, a cellular telephone, etc.), a desktop computer, a laptop or notebook computer, a tablet computer, a set-top box, a television, a camera, a display device, a digital media player, a video game console, a video streaming device, an Internet Protocol (IP) camera, or any other suitable electronic device. In some examples, the source device and the receiving device may include one or more wireless transceivers for wireless communication. The coding techniques described herein are applicable to video coding in various multimedia applications, including streaming video transmission (e.g., over the Internet), television broadcast or transmission, encoding digital video for storage on a data storage medium, decoding digital video stored on a data storage medium, or other applications. In some examples, the system 100 may support one-way or two-way video transmission to support applications such as video conferencing, video streaming, video playback, video broadcasting, gaming, and / or video telephony.
[0039]
[0045] The encoding device 104 (or encoder) may be used to encode the video data using a video coding standard or protocol to generate an encoded video bitstream. Examples of video coding standards include ITU-T H.261, ISO / IEC MPEG-1 Visual, ITU-T H.262 or ISO / IEC MPEG-2 Visual, ITU-T H.263, ISO / IEC MPEG-4 Visual, ITU-T H.264 (also known as ISO / IEC MPEG-4 AVC) including its Scalable Video Coding (SVC) extension and Multiview Video Coding (MVC) extension, and HEVC or ITU-T H.265. There are various extensions to HEVC that address multi-layer video coding, including range and screen content coding extensions, 3D video coding (3D-HEVC) and multiview extensions (MV-HEVC) and scalable extensions (SHVC). A new video coding standard being developed by the Joint Exploration Video Team (JVET) is called Generic Video Coding (VVC).
[0040]
[0046] 1, a video source 102 may provide video data to an encoding device 104. The video source 102 may be part of a source device or part of a device other than the source device. The video source 102 may include a video capture device (e.g., a video camera, a camera phone, a video phone, etc.), a video archive containing stored video, a video server or content provider providing video data, a video feed interface receiving video from a video server or content provider, a computer graphics system for generating computer graphics video data, a combination of such sources, or any other suitable video source.
[0041]
[0047] The video data from the video source 102 may include one or more input pictures. A picture may also be called a "frame." A picture or frame, in some cases, is a still image that is part of a video. In some examples, the data from the video source 102 may be a still image that is not part of a video. In HEVC, VVC, and other video coding specifications, a video sequence may include a series of pictures. A picture may be a sequence of pictures. L , S Cb and S Cr The sample array may include three sample arrays, denoted as S L is a 2D array of luma samples, and S Cb is a two-dimensional array of Cb chrominance samples, and S Cr is a two-dimensional array of Cr chrominance samples. Chrominance samples are sometimes referred to herein as "chroma" samples. A pixel can refer to a location in a picture that contains luma, Cb, and Cr components. In other cases, a picture can be monochrome and contain only an array of luma samples.
[0042]
[0048] The encoder engine 106 (or encoder) of the encoding device 104 encodes the video data to generate an encoded video bitstream. In some examples, an encoded video bitstream (or "video bitstream" or "bitstream") is a series of one or more coded video sequences. A coded video sequence (CVS) includes a series of AUs starting with an access unit (AU) having a random access point picture with some properties in a base layer up to, but not including, the next AU having a random access point picture with some properties in the base layer. An AU includes one or more coded pictures and control information corresponding to the coded pictures that share the same output time. At the bitstream level, coded slices of a picture are encapsulated in data units called network abstraction layer (NAL) units. For example, an HEVC video bitstream may include one or more CVSs including NAL units. Each of the NAL units has a NAL unit header.
[0043]
[0049] The encoder engine 106 generates a coded representation of a picture by partitioning each picture into multiple slices. The slices are independent of other slices such that information in a slice is coded without dependency on data from other slices in the same picture. The slices are then partitioned into coding tree blocks (CTBs) of luma samples and chroma samples. A CTB of luma samples and one or more CTBs of chroma samples, together with syntax for the samples, are called a coding tree unit (CTU). A CTU is the basic processing unit for HEVC encoding. A CTU may be split into multiple coding units (CUs) of various sizes. A CU contains luma and chroma sample arrays called coding blocks (CBs).
[0044]
[0050] The luma and chroma CBs may be further split into prediction blocks (PBs). A PB is a block of luma or chroma component samples that uses the same motion parameters for inter prediction or intra block copy prediction (when available or enabled for use). The luma PB and one or more chroma PBs, together with associated syntax, form a prediction unit (PU). For inter prediction, a set of motion parameters (e.g., one or more motion vectors, reference indexes, etc.) is signaled in the bitstream for each PU and used for inter prediction of the luma PB and one or more chroma PBs. The motion parameters are sometimes referred to as motion information. The CBs may also be partitioned into one or more transform blocks (TBs). A TB represents a square block of samples of a color component to which the same two-dimensional transform is applied to code the prediction residual signal. A transform unit (TU) represents the TBs of luma and chroma samples and the corresponding syntax elements.
[0045]
[0051] The size of a CU corresponds to the size of a coding mode and may be square in shape. For example, the size of a CU may be 8×8 samples, 16×16 samples, 32×32 samples, 64×64 samples, or any other suitable size up to the size of a corresponding CTU. The phrase "N×N" is used herein to refer to the pixel dimensions of a video block with respect to vertical and horizontal dimensions (e.g., 8 pixels×8 pixels). The pixels in a block may be arranged in rows and columns. In some examples, a block does not necessarily have the same number of pixels in the horizontal direction as in the vertical direction. Syntax data associated with a CU may, for example, represent a partition of the CU into one or more PUs. The partition mode may differ between whether the CU is intra-prediction mode coded or inter-prediction mode coded. The PU may be partitioned to be non-square in shape.
[0046]
[0052] According to the HEVC standard, the transform may be performed using TUs as described above. The TUs may be different for different CUs. The TUs may be sized based on the size of the PUs in a given CU. The TUs may be the same size as the PUs or smaller than the PUs. In some examples, the residual samples corresponding to a CU may be subdivided into smaller units using a quad tree structure known as a residual quad tree (RQT). Leaf nodes of the RQT may correspond to TUs. Pixel difference values associated with the TUs may be transformed to produce transform coefficients. The transform coefficients may then be quantized by the encoder engine 106.
[0047]
[0053] When a picture of video data is partitioned into CUs, the encoder engine 106 predicts each PU using a prediction mode. The prediction unit or prediction block is then subtracted from the original video data to obtain a residual (described below). For each CU, a prediction mode may be signaled in the bitstream using syntax data. The prediction mode may include intra prediction (or intra-picture prediction) or inter prediction (or inter-picture prediction). A decision of whether to code a picture area using inter-picture prediction or intra-picture prediction may be made, for example, at the CU level.
[0048]
[0054] Intra-picture prediction exploits the correlation between spatially adjacent samples within a picture. For example, using intra-prediction, each PU is predicted from adjacent image data in the same picture, for example, using DC prediction to find the average value for the PU, planar prediction to fit a flat surface to the PU, directional prediction to extrapolate from the neighboring data, or any other suitable type of prediction.
[0049]
[0055] Inter-picture prediction uses temporal correlation between pictures to derive motion-compensated predictions for blocks of image samples. Using a translational motion model, the position of a block in a previously decoded picture (reference picture) is indicated by a motion vector (Δx, Δy), where Δx specifies the horizontal displacement of the reference block relative to the position of the current block, and Δy specifies its vertical displacement. In some cases, the motion vector (Δx, Δy) may be of integer sample precision (also called integer precision), in which case the motion vector points to an integer pel grid (or integer pixel sampling grid) of a reference frame. In some cases, the motion vector (Δx, Δy) may be of fractional sample precision (also called fractional pel precision or non-integer precision) to more accurately capture the movement of the underlying object without being restricted to the integer pel grid of the reference frame. The precision of the motion vector may be represented by the quantization level of the motion vector. For example, the quantization level may be of integer precision (e.g., 1 pixel) or fractional pel precision (e.g., ¼ pixel, ½ pixel, or other sub-pixel value). When the corresponding motion vector has fractional sample accuracy, interpolation is applied to the reference picture to derive the prediction signal. For example, samples available at integer positions may be filtered (e.g., using one or more interpolation filters) to estimate values at fractional positions. A previously decoded reference picture is indicated by a reference index (refIdx) into a reference picture list. The motion vector and the reference index may be referred to as motion parameters. Two types of inter-picture prediction may be implemented, including uni-prediction and bi-prediction.
[0050]
[0056] In the case of inter prediction using bi-prediction, two sets of motion parameters (Δx0, Δy0, refIdx0 and Δx1, Δy1, refIdx1) are used to generate two motion compensated predictions (from the same reference picture or possibly from different reference pictures). For example, in the case of bi-prediction, each prediction block uses two motion compensated prediction signals to generate a B prediction unit. The two motion compensated predictions are then combined to obtain a final motion compensated prediction. For example, the two motion compensated predictions may be combined by averaging. In another example, weighted prediction may be used, in which case different weights may be applied to each motion compensated prediction. Reference pictures that may be used in bi-prediction are stored in two separate lists, denoted as list 0 and list 1. The motion parameters may be derived in the encoder using a motion estimation process.
[0051]
[0057] In the case of inter prediction using uni-prediction, one set of motion parameters (Δx0, Δy0, refIdx0) is used to generate a motion-compensated prediction from a reference picture. For example, in the case of uni-prediction, each prediction block uses at most one motion-compensated prediction signal to generate a P prediction unit.
[0052]
[0058] A PU may include data related to a prediction process (e.g., motion parameters or other suitable data). For example, when a PU is encoded using intra prediction, the PU may include data representing an intra prediction mode for the PU. As another example, when a PU is encoded using inter prediction, the PU may include data defining a motion vector for the PU. The data defining a motion vector for a PU may represent, for example, a horizontal component (Δx) of the motion vector, a vertical component (Δy) of the motion vector, a resolution of the motion vector (e.g., integer precision, ¼ pixel precision, or ⅛ pixel precision), a reference picture to which the motion vector points, a reference index, a reference picture list for the motion vector (e.g., list 0, list 1, or list C), or any combination thereof.
[0053]
[0059] The encoding device 104 may then perform transformation and quantization. For example, after prediction, the encoder engine 106 may calculate a residual value corresponding to the PU. The residual value may comprise pixel difference values between a current block of pixels being coded (PU) and a predictive block (e.g., a predicted version of the current block) used to predict the current block. For example, after generating a predictive block (e.g., using inter-prediction or intra-prediction), the encoder engine 106 may generate a residual block by subtracting the predictive block produced by the prediction unit from the current block. The residual block includes a set of pixel difference values that quantify differences between pixel values of the current block and pixel values of the predictive block. In some examples, the residual block may be represented in a two-dimensional block format (e.g., a two-dimensional matrix or array of pixel values). In such examples, the residual block is a two-dimensional representation of pixel values.
[0054]
[0060] Any residual data that may remain after prediction is performed is transformed using a block transform, which may be based on a discrete cosine transform, a discrete sine transform, an integer transform, a wavelet transform, other suitable transform functions, or any combination thereof. In some cases, one or more block transforms (e.g., size 32x32, 16x16, 8x8, 4x4, or other suitable size) may be applied to the residual data in each CU. In some examples, TUs may be used for the transform and quantization process implemented by the encoder engine 106. A given CU having one or more PUs may also include one or more TUs. As described in more detail below, the residual values may be transformed into transform coefficients using a block transform, and then quantized and scanned using the TUs to produce serialized transform coefficients for entropy coding.
[0055]
[0061] In some examples, after intra-predictive coding or inter-predictive coding using the PU of the CU, the encoder engine 106 may calculate residual data for the TU of the CU. The PU may comprise pixel data in the spatial domain (or pixel domain). The TU may comprise coefficients in the transform domain after application of a block transform. As mentioned above, the residual data may correspond to pixel difference values between pixels of the uncoded picture and predicted values corresponding to the PU. The encoder engine 106 may form a TU including the residual data for the CU and then transform the TU to produce transform coefficients for the CU.
[0056]
[0062] The encoder engine 106 may perform quantization of the transform coefficients. Quantization provides further compression by quantizing the transform coefficients to reduce the amount of data used to represent the coefficients. For example, quantization may reduce the bit depth associated with some or all of the coefficients. In one example, a coefficient with an n-bit value may be truncated to an m-bit value during quantization, where n is greater than m.
[0057]
[0063] Once quantization is performed, the coded video bitstream includes the quantized transform coefficients, prediction information (e.g., prediction modes, motion vectors, block vectors, etc.), partition information, and any other suitable data, such as other syntax data. The different elements of the coded video bitstream may then be entropy coded by the encoder engine 106. In some examples, the encoder engine 106 may utilize a predefined scan order to scan the quantized transform coefficients to produce a serialized vector that may be entropy coded. In some examples, the encoder engine 106 may perform an adaptive scan. After scanning the quantized transform coefficients to form a vector (e.g., a one-dimensional vector), the encoder engine 106 may entropy code the vector. For example, the encoder engine 106 may use context-adaptive variable length coding, context-adaptive binary arithmetic coding, syntax-based context-adaptive binary arithmetic coding, probability interval partition entropy coding, or another suitable entropy coding technique.
[0058]
[0064] An output 110 of the encoding device 104 may send the NAL units constituting the encoded video bitstream data to a decoding device 112 of a receiving device via a communication link 120. An input 114 of the decoding device 112 may receive the NAL units. The communication link 120 may include channels provided by a wireless network, a wired network, or a combination of wired and wireless networks. A wireless network may include any wireless interface or combination of wireless interfaces, and may include any suitable wireless network (e.g., Internet or other wide area network, packet-based network, WiFi, radio frequency (RF), UWB, WiFi-Direct, cellular, Long Term Evolution (LTE), WiMax, etc.). A wired network may include any wired interface (e.g., fiber, Ethernet, powerline Ethernet, Ethernet over coaxial cable, digital signal line (DSL), etc.). Wired and / or wireless networks may be implemented using a variety of equipment, such as base stations, routers, access points, bridges, gateways, switches, etc. The encoded video bitstream data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to a receiving device.
[0059]
[0065] In some examples, the encoding device 104 may store the encoded video bitstream data in the storage device 108. The output unit 110 may retrieve the encoded video bitstream data from the encoder engine 106 or from the storage device 108. The storage device 108 may include any of a variety of distributed or locally accessed data storage media. For example, the storage device 108 may include a hard drive, a storage disk, a flash memory, a volatile or non-volatile memory, or any other suitable digital storage medium for storing encoded video data. The storage device 108 may also include a decoded picture buffer (DPB) for storing reference pictures for use in inter prediction.
[0060]
[0066] The encoder engine 106 and the decoder engine 116 (described in more detail below) may be configured to operate according to VVC. According to VVC, a video coder (such as the encoder engine 106 and / or the decoder engine 116) partitions a picture into multiple coding tree units (CTUs). The video coder may partition the CTUs according to a tree structure, such as a quad-tree binary tree (QTBT) structure or a multi-type tree (MTT) structure. The QTBT structure eliminates the concept of multiple partition types, such as the separation between CUs, PUs, and TUs in HEVC. The QTBT structure includes two levels, including a first level partitioned according to a quad-tree partition and a second level partitioned according to a binary tree partition. The root node of the QTBT structure corresponds to a CTU. The leaf nodes of the binary tree correspond to coding units (CUs).
[0061]
[0067] In the MTT partitioning structure, blocks may be partitioned using quadtree partitioning, binary tree partitioning, and one or more types of tripletree partitioning. Tripletree partitioning is a partition in which a block is split into three sub-blocks. In some examples, tripletree partitioning splits a block into three sub-blocks without splitting the original block through the center. Partition types in MTT (e.g., quadtree, binary tree, and tripletree) can be symmetric or asymmetric.
[0062]
[0068] In some examples, the video coder may use a single QTBT or MTT structure to represent each of the luminance and chrominance components, and in other examples, the video coder may use two or more QTBT or MTT structures, such as one QTBT or MTT structure for the luminance component and another QTBT or MTT structure for both chrominance components (or two QTBT and / or MTT structures for each chrominance component).
[0063]
[0069] The video coder may be configured to use quadtree partitioning, QTBT partitioning, MTT partitioning, or other partition structures according to HEVC. For purposes of explanation, the description herein may refer to QTBT partitioning. However, it should be understood that the techniques of this disclosure may also be applied to video coders configured to use quadtree partitioning, or other types of partitioning as well.
[0064]
[0070] In VVC, a picture may be partitioned into slices, tiles, and bricks. In general, a brick may be a rectangular region of CTU rows in a particular tile in a picture. A tile may be a rectangular region of CTUs in a particular tile column and in a particular tile row in a picture. A tile column is a rectangular region of CTUs with a height equal to the height of the picture and a width specified by a syntax element in the picture parameter set. A tile row is a rectangular region of CTUs with a height specified by a syntax element in the picture parameter set and a width equal to the width of the picture. In some cases, a tile may be partitioned into multiple bricks, each of which may contain one or more CTU rows within the tile. A tile that is not partitioned into multiple bricks is also called a brick. However, a brick that is a true subset of a tile is not called a tile. A slice may be an integer number of bricks of a picture that are contained entirely in a single NAL unit. In some cases, a slice may contain either several complete tiles or only a continuous sequence of complete bricks of one tile.
[0065]
[0071] An input 114 of the decoding device 112 may receive the encoded video bitstream data and provide the video bitstream data to the decoder engine 116 or to the storage 118 for later use by the decoder engine 116. An input 114 of the decoding device 112 may receive the encoded video bitstream data and provide the video bitstream data to the decoder engine 116 or to the storage 118 for later use by the decoder engine 116. For example, the storage 118 may include a DPB for storing reference pictures for use in inter prediction. A receiving device including the decoding device 112 may receive the encoded video data to be decoded via the storage 108. The encoded video data may be modulated and transmitted to the receiving device according to a communication standard, such as a wireless communication protocol. The decoder engine 116 may decode the encoded video bitstream data by entropy decoding (e.g., using an entropy decoder) and extracting elements of one or more coded video sequences that constitute the encoded video data. The decoder engine 116 may then rescale the encoded video bitstream data and perform an inverse transform on the encoded video bitstream data. The residual data is then passed to a prediction stage of the decoder engine 116. The decoder engine 116 then predicts a block of pixels (e.g., a PU). In some examples, the prediction is added to the output of the inverse transform (the residual data).
[0066]
[0072] The decoding device 112 may output the decoded video to a video destination device 122, which may include a display or other output device for displaying the decoded video data to a content consumer. In some aspects, the video destination device 122 may be part of a receiving device that includes the decoding device 112. In some aspects, the video destination device 122 may be part of a separate device other than the receiving device.
[0067]
[0073] An example of specific details of the encoding device 104 is described below with reference to FIG 6. An example of specific details of the decoding device 112 is described below with reference to FIG 7.
[0068]
[0074] As previously described, an HEVC bitstream includes a group of NAL units, including VCL NAL units and non-VCL NAL units. The VCL NAL units include coded picture data that form a coded video bitstream. For example, a sequence of bits that form a coded video bitstream resides in a VCL NAL unit. The non-VCL NAL units may include, in addition to other information, parameter sets that have high-level information related to the coded video bitstream. For example, the parameter sets may include a video parameter set (VPS), a sequence parameter set (SPS), and a picture parameter set (PPS). Examples of parameter set goals include bitrate efficiency, error resiliency, and providing a system layer interface. Each slice references a single active PPS, SPS, and VPS to access information that the decoding device 112 may use to decode the slice. An ID, including a VPS identifier (ID), an SPS ID, and a PPS ID, may be coded for each parameter set. The SPS includes an SPS ID and a VPS ID. The PPS includes a PPS ID and an SPS ID. Each slice header includes a PPS ID. Using the IDs, the active parameter set can be identified for a given slice.
[0069]
[0075] A PPS contains information that applies to all slices in a given picture. Thus, all slices in a picture point to the same PPS. Slices in different pictures may also point to the same PPS. An SPS contains information that applies to all pictures in the same coded video sequence (CVS) or bitstream. The information in an SPS may not change from picture to picture within a coded video sequence. Pictures in a coded video sequence may use the same SPS. A VPS contains information that applies to all layers in a coded video sequence or bitstream. A VPS includes a syntax structure with syntax elements that apply to the entire coded video sequence. In some examples, a VPS, SPS, or PPS may be transmitted in-band with an encoded bitstream. In some examples, a VPS, SPS, or PPS may be transmitted out-of-band in a transmission separate from the NAL units containing the coded video data.
[0070]
[0076] A video bitstream may also include supplemental enhancement information (SEI) messages. For example, SEI NAL units may be part of the video bitstream. In some cases, the SEI messages may contain information that is not used by the decoding process. For example, the information in the SEI messages may not be essential for a decoder to decode a video picture of the bitstream, but the decoder may use the information to improve the display or processing of the picture (e.g., the decoded output).
[0071]
[0077] As described herein, for each block, a set of motion information (also referred to herein as motion parameters) may be available. The set of motion information includes motion information for a forward prediction direction and a backward prediction direction. The forward prediction direction and the backward prediction direction are two prediction directions of a bidirectional prediction mode, in which case the terms "forward" and "backward" do not necessarily have a geometric meaning. Instead, "forward" and "backward" correspond to reference picture list 0 (RefPicList0 or L0) and reference picture list 1 (RefPicList1 or L1) of the current picture. In some examples, when only one reference picture list is available for a picture or slice, only RefPicList0 is available, and the motion information of each block of the slice is always forward.
[0072]
[0078] In some cases, a motion vector, together with its reference index, is used in the coding process (e.g., motion compensation). Such motion vectors with associated reference indexes are denoted as a uni-predictive set of motion information. For each prediction direction, the motion information may include a reference index and a motion vector. In some cases, for simplicity, the motion vector itself may be referred to as being assumed to have an associated reference index. The reference index is used to identify a reference picture in the current reference picture list (RefPicList0 or RefPicList1). The motion vector has horizontal and vertical components that give an offset from a coordinate location in the current picture to a coordinate in the reference picture identified by the reference index. For example, the reference index may indicate a particular reference picture to be used for a block in the current picture, and the motion vector may indicate where in the reference picture the best matched block (the block that best matches the current block) is in the reference picture.
[0073]
[0079] In video coding standards, a picture order count (POC) may be used to identify the display order of pictures. There are cases where two pictures in one coded video sequence may have the same POC value, but in general, this does not occur within a coded video sequence. When multiple coded video sequences are present in a bitstream, pictures with the same value of POC may be close to each other in terms of decoding order. The POC value of a picture may be used for reference picture list construction, derivation of reference picture sets as in HEVC, and motion vector scaling.
[0074]
[0080] For motion prediction in HEVC, there are two inter-prediction modes, including merge mode and advanced motion vector prediction (AMVP) mode for a prediction unit (PU). Skip is considered as a special case of merge. In either AMVP mode or merge mode, a motion vector (MV) candidate list is maintained for multiple motion vector predictors. The motion vector(s) of the current PU, as well as the reference index in merge mode, are generated by taking one candidate from the reference list.
[0075]
[0081] In an example in which an MV candidate list is used for motion prediction of a block, the reference list may be constructed by the encoding device and the decoding device separately. For example, the candidate list may be generated by the encoding device when encoding a block (e.g., a CTU, CU, or other block of a picture) and may be generated by the decoding device when decoding the block. Information related to the motion information candidates in the candidate list may be signaled between the encoding device and the decoding device. For example, in a merge mode, index values to the stored motion information candidates may be signaled from the encoding device to the decoding device (e.g., in a syntax structure such as a PPS, SPS, VPS, slice header, an SEI message sent in the video bitstream or separately from the video bitstream, and / or other signaling). The decoding device may use the signaled reference or index to construct a candidate list and obtain one or more motion information candidates from the constructed candidate list to use for motion compensated prediction. For example, the decoding device 112 may construct an MV candidate list and use the motion vectors from the indexed locations for motion prediction of the block. In the case of the AMVP mode, in addition to the reference or index, a difference or residual value may also be signaled as a delta. For example, in the case of the AMVP mode, the decoding device may apply the delta value to one or more motion information candidates obtained using the signaled index value when constructing one or more MV candidate lists and performing motion compensation prediction of the block.
[0076]
[0082] In some examples, the MV candidate list includes up to five candidates for merge mode and two candidates for AMVP mode. In other examples, a different number of candidates may be included in the candidate list for merge mode and / or AMVP mode. A merge candidate may include a set of motion information. For example, the set of motion information may include motion vectors corresponding to both reference picture lists (list 0 and list 1) and a reference index. If a merge candidate is identified by a merge index, the reference picture is used for prediction of the current block, and the associated motion vector is determined. However, under AMVP mode, for each potential prediction direction from either list 0 or list 1, a reference index needs to be explicitly signaled along with an index into the candidate list, since the AMVP candidate includes only a motion vector. In AMVP mode, the predicted motion vector may be further refined.
[0077]
[0083] As seen above, a merge candidate corresponds to a full set of motion information, while an AMVP candidate contains only one motion vector for a particular prediction direction and reference index. Candidates for both modes are derived similarly from the same spatial and temporal neighboring blocks. In some examples, the merge mode allows an inter-predicted PU to inherit one or more of the same motion vectors, prediction direction, and one or more reference picture indexes from an inter-predicted PU that contains a motion data position selected from a group of a spatially adjacent motion data position and one of two temporally co-located motion data positions. In the case of an AMVP mode, one or more motion vectors of a PU may be predicatively coded with respect to one or more motion vector predictors (MVPs) from an AMVP candidate list constructed by an encoder and / or decoder. In some instances, in the case of unidirectional inter prediction of a PU, an encoder and / or decoder may generate a single AMVP candidate list. In some cases, in the case of bidirectional prediction of a PU, the encoder and / or decoder may generate two AMVP candidate lists, one using motion data of spatial and temporal neighboring PUs from the forward prediction direction and one using motion data of spatial and temporal neighboring PUs from the backward prediction direction.
[0078]
[0084] In VVC, there is a reference picture resampling (RPR) tool under consideration, which is described in S. Wenger, BD. Choi, SCH Han, X. Li, S. Liu, "AHG8: Spatial Scalability using Reference Picture Resampling", JVET-O0045, which is incorporated herein by reference in its entirety for all purposes. The RPR tool allows the use of a reference picture(s) with a picture size different from the current picture size. In this case, a picture resampling process is invoked to provide an upsampled or downsampled version of the picture (e.g., reference picture) that matches the current picture size. The tool is similar to the spatial scalability that existed, for example, in the scalable extension (SHVC) of the H.265 / HEVC standard.
[0079]
[0085] Described herein are systems, methods, apparatus, and computer-readable media that provide several aspects for adding support for spatial scalability in VVC using RPR. In some cases, pictures having the same content but in different representations (e.g., having different resolutions) (e.g., similar to the approach in HEVC and SHVC) may be assumed to have the same Picture Order Count (POC) value.
[0080]
[0086] Using the techniques described herein, access unit (AU) definitions do not need to be changed in VVC because the AU starts in a VCL NAL unit with a new POC value (or a non-VCL NAL unit related to a VCL NAL unit with a new POC), which occurs when a next picture VCL NAL unit is encountered, as shown in FIG. 3, where the first AU has a POC value of n-1, the second AU has a POC value of n, and the third AU has a POC value of n+1 across two different layers labeled Layer 0 and Layer 1 (e.g., Layer 0 has a lower resolution picture than Layer 1).
[0081]
[0087] However, other layer pictures may need to be included in the reference picture structure (RPS) and reference picture list (RPL) to indicate which pictures from which layers can be used for inter-layer prediction. In current VVC, pictures from other layers are not allowed to be referenced.
[0082]
[0088] Various examples are provided below with reference to draft VVC documents such as "Versatile Video Coding (Draft 5)," version 7, JVET-N1001-v7, which is incorporated by reference herein in its entirety for all purposes. As mentioned above, the techniques described herein may be applied to any existing video codec, such as High Efficiency Video Coding (HEVC) and / or Advanced Video Coding (AVC), or may be proposed as potential coding tools for currently developing standards, such as Generic Video Coding (VVC), and for other future video coding standards.
[0083]
[0089] 2 illustrates an example implementation of filter unit 91 that may be used as described below with respect to FIGS. 6 and 7, including populating reference picture store 208 (e.g., picture memory 92), which may be identified by reference picture table 209. Additional aspects of reference picture table 209 are described below. Filter unit 63 may be implemented in a similar manner. Filter units 63 and 91, possibly in conjunction with other components of video encoding device 104 or video decoding device 112, may use POC numbering and reference picture offset values for scalability support as described herein to enable implementations described herein and other implementations.
[0084]
[0090] The illustrated filter unit 91 includes a deblocking filter 202, a sample adaptive offset (SAO) filter 204, and a general filter 206, but may include fewer filters than those shown in FIG. 2 and / or may include additional filters. Additionally, the specific filters shown in FIG. 2 may be implemented in a different order. Other loop filters (either during the coding loop or after the coding loop) may also be used to smooth pixel transitions or possibly improve video quality. When in the coding loop, the decoded video blocks in a given frame or picture are then stored in a decoded picture buffer (DPB), which stores reference pictures as part of reference picture store 208. The DPB (e.g., reference picture store 208) may be part of or separate from an additional memory that stores the decoded video for later presentation on a display device, such as the display of video destination device 122 of FIG. 1.
[0085]
[0091] Weighted Prediction (WP) is a form of prediction using a reference picture, in which a scaling factor (denoted by a), a shift number (denoted by s), and an offset (denoted by b) are used in motion compensation. For example, a linear model may be used in WP, as shown by the following equation (1):
[0086]
number
[0087]
[0092] In equation (1), PU c is currently a PU, and (i,j) is a PU c are the coordinates of the sample (or pixel in some cases) in the x ,dv y ) is PU c p(i,j) is the disparity vector of PU c where a is the prediction of , r is the reference picture of the PU, and a and b are model parameters (where a is the scaling factor and b is the offset, as described above).
[0088]
[0093] When WP is enabled, for each reference picture of the current slice, a flag is signaled to indicate whether WP is applied for the reference picture. If WP is applied for one reference picture, a set of WP parameters (i.e., a, s, and b) is sent to the decoder and used for motion compensation from the reference picture. In some examples, to give flexibility in turning on or off WP for luma and chroma samples, the WP flag and WP parameters may be signaled separately for the luma and chroma components of a pixel. In some cases, in WP, one and the same set of WP parameters is used for all samples in one reference picture. In some examples, a variable specifies the width and height of the current coding block, and an array with the same width and height is used as a prediction sample. The prediction sample may be derived in a weighted sample prediction process and used in reconstructing the picture.
[0089]
[0094] The picture may include one or more offsets (e.g., offset b), one or more weights or scaling factors (e.g., scaling factor a), a shift number, and / or other suitable weighted prediction parameters. In the case of bidirectional inter prediction, the one or more weights may include a first weight for the first reference picture and a second weight for the second reference picture. As described herein, in some examples, the reference block may be the same block as the current block, but with different associated weight parameters (e.g., for weighted prediction). In other examples, the reference block may be a block of the same picture, but with a different size (e.g., different resolution), and thus the reference block is part of an inter-layer prediction process, as described in more detail with respect to FIG. 3. In some examples, both weighted prediction and inter-layer prediction may be performed on a single current block, with the reference block having a different weight and associated with a different sized picture.
[0090]
[0095] FIG. 3 illustrates a series of access units 310, 320, and 330. Each access unit has an associated POC value, shown as POC values 316, 326, and 336, corresponding to access units 310, 320, and 330. The access units each have two layers for a picture frame with different sizes (e.g., resolutions). The example of FIG. 3 includes layer 0 unit 312 and layer 1 unit 314 for access unit 310, layer 0 unit 322 and layer 1 unit 324 for access unit 320, and layer 0 unit 332 and layer 1 unit 334 for access unit 330. Layer 0 unit 312 (e.g., a VCL NAL unit) has a different size than layer 1 unit 314 (e.g., also a VCL NAL unit). As mentioned above, using the techniques described herein, the VVC AU definition does not need to be changed because the AU starts in a VCL NAL unit with a new POC value or in a non-VCL NAL unit associated with a VCL NAL unit with a new POC. For example, across two different layers labeled layer 0 and layer 1 (e.g., layer 0 has a lower resolution picture than layer 1), the first AU has a POC value of n-1, the second AU has a POC value of n, and the third AU has a POC value of n+1, the new POC value may be used when the next picture VCL NAL unit is encountered, as shown in Figure 3. The example of Figure 3 includes two layers, but in various examples, other numbers of layers may be used.
[0091]
[0096] Examples described herein improve the operation of VVC devices and networks with syntax and operational structures to efficiently enable the use of data from other layers to be used as reference pictures by pictures in different layers. As described herein, such improvements enable efficient signaling to identify reference pictures in another layer of a shared access unit when weighted prediction is enabled, and enable efficient signaling of reference pictures in other frames using offsets with a signaled value of 0 when weighted prediction is not enabled.
[0092]
[0097] VVC works with both short-term and long-term reference pictures. Some examples described herein work with signaling of reference pictures for short-term reference pictures. In various systems, short-term reference pictures are signaled as a POC delta to a previous reference picture POC for a previous short-term reference picture. The initial POC value may be initialized to be equal to the current picture POC. A delta POC equal to 0 is allowed (e.g., there may be multiple reference pictures with the same POC value, such as when the same picture exists at different resolutions), but the POC value may not be equal to the current picture POC (e.g., the current picture may not be inserted as a reference picture in a reference picture structure or list). In various examples, the long-term reference picture POC may be signaled as a most significant bit (MSB) and a least significant bit (LSB), with the LSB portion being equal to 0.
[0093]
[0098] In some examples, a table 209 shown in FIG. 2 that points to reference pictures is stored in the DPB (e.g., using a memory or the reference picture store 208 shown in FIG. 2). In some examples, this table 209 is a list of picture order count offset values from a current picture or a previous picture that identify pictures from the reference picture store 208 (e.g., as part of a picture memory such as the picture memory 92). In some examples, such a table 209 may be generated in a loop, with an initial table value equal to an initial picture POC value. A base POC value (e.g., a picture order count offset value) is assigned to identify the POC value of a reference picture for the initial picture. The POC value of the first reference picture for the initial picture associated with the initial POC value is assigned as the base POC value for the table. Then, all subsequent reference pictures are identified as delta values from the base POC value (e.g., the POC value of the previous reference picture), with a delta POC value and a new base POC value for each entry in the table. This process loops until table 209 is completed with all reference pictures for each picture associated with the table. As described above, the initial delta POC is added to the first picture POC, and subsequent delta POCs are added to the previous reference picture POC. A bitstream signal is then constructed with the delta POC and the base POC to limit data usage in the bitstream while allowing table 209 to be reconstructed by a decoder. Then, the recurring reference pictures from table 209 described above may be used for prediction. In some examples using weighted prediction, when the same picture is used for prediction but with different weights, the delta POC for the reference picture and the picture being processed may be 0. In some examples, some types of prediction may use modified tables or modified delta POC values. For example, two pictures with the same POC may have different weights.In one illustrative example, one of the pictures may have a weight with a value of 1.5 and a reference picture with the same weight with a value of 2.5. The same picture with different weighted parameters may therefore be used as a reference with a zero-value delta POC (also called a "zero-value picture order count offset" or "zero-value POC offset") that identifies the reference picture being used for weighted prediction. In another example, when weighted prediction is disabled, a modified delta POC value is used. For example, in some cases, weighted prediction may be switched off by a flag such as weighted_pred_flag that may be signaled in a picture parameter set (PPS). weighted_pred_flag may be referred to as a PPS weighted prediction flag. In some examples, when weighted prediction is disabled, POC signaling of the same value for two or more reference pictures is not allowed. To achieve such limitations or constraints, weighted prediction flags (e.g., sps_weighted_pred_flag and sps_weighted_bipred_flag) may be signaled in a parameter set (e.g., in the SPS as RPS information may be signaled in the SPS, or in other parameter sets). sps_weighted_pred_flag and / or sps_weighted_bipred_flag may be referred to as sequence parameter set (SPS) weighted prediction flags.
[0094]
[0099] Allowing a 0 delta POC value when weighted prediction is disabled would result in inefficiencies in delta POC signaling, since there is no reason to insert the same reference picture multiple times in the reference picture list. In such cases, the delta POC value would be at least equal to 1, and a delta POC value of 0 would not be used. However, a delta POC value of 0 may be associated with a reserved codeword in some examples. The use of the PPS and SPS flags allows for different handling of delta POC signaling in the weighted prediction and non-weighted prediction cases described herein. The flags may thus be used to allow a 0-value picture order count offset (e.g., a 0 delta POC value) based on a determination that weighted prediction is enabled for a picture slice (or other portion of a picture, such as a CTU, CU, or other block), and to enable interpretation of the signaled 0 delta POC as a different value (e.g., a signaled value + 1) when weighted prediction is disabled. In the case of weighted prediction, the same picture with different weights can therefore be used for weighted prediction. In the case of inter-layer prediction, different layer pictures from the same access unit can then be used as reference pictures. The conditional use of the 0 delta POC signaling value provides efficiency in reference picture signaling and improved system and device operation, limits additional overhead for signaling when weighted prediction is disabled, and improves system and device performance.
[0095]
[0100] In the case of a zero-valued picture order count offset, where the reference picture is in the same access unit as the current picture being processed, a reference picture sampling tool may be used to generate the necessary reference data for processing the current picture. In some examples, this reference picture sampling tool may be part of a filter unit (e.g., filter unit 91), and in other examples, may be part of any aspect of a device for encoding or decoding described herein.
[0096]
[0101] One illustrative example of a modification to a VVC draft (e.g., Versatile Video Coding (Draft 5), version 7) for such a flag is provided below. Additional examples of syntax tables, syntax terms, syntax logic and values, and other aspects of an exemplary implementation are provided below. Where additions are provided, they are marked with an underline and " <insert>" symbol and " <insertend>" symbol and intermediate text (for example, " <insert>Added text <insertend>An example for the weighted prediction flag is as follows:
[0097] <insert>sps_weighted_pred_flag equal to 0 specifies that weighted prediction is not applied to P slices. weighted_pred_flag equal to 1 specifies that weighted prediction may be applied to P slices.
[0098] sps_weighted_bipred_flag equal to 0 specifies that default weighted prediction is applied to B slices. weighted_bipred_flag equal to 1 specifies that weighted prediction may be applied to B slices. <insertend>
[0102] In such an example, the flag signaled in the PPS may be constrained by the SPS weighting prediction flag (e.g., the PPS flag may be equal to 1 only if the SPS flag is equal to 1). weighted_pred_flag equal to 0 specifies that weighted prediction is not applied to P slices. weighted_pred_flag equal to 1 specifies that weighted prediction may be applied to P slices. <insert>weighted_pred_flag can be equal to 1 only if the corresponding sps_weighted_pred_flag is equal to 1. <insertend>.
[0099] weighted_bipred_flag equal to 0 specifies that default weighted prediction is applied to B slices. weighted_bipred_flag equal to 1 specifies that weighted prediction may be applied to B slices. <insert>weighted_bipred_flag can be equal to 1 only if the corresponding sps_weighted_bipred_flag is equal to 1. <insertend>.
[0100]
[0103] In some examples, delta POC equal to 0 and POC LSB equal to 0 may be enabled only when weighted prediction is enabled, for example as indicated by a flag in the SPS. In another example, 0 delta POC and 0 POC LSB are required when inter-layer prediction is enabled. Enabling of the inter-layer prediction flag may be signaled in a parameter set such as the SPS. Combining the above two cases, delta POC equal to 0 and POC LSB equal to 0 may be enabled only when weighted prediction or inter-layer prediction is enabled.
[0101]
[0104] In VVC, the POC values of a reference picture are signaled in the ref_pic_list_struct (RPS) as follows:
[0102] [Table 1]
[0103]
[0105] Examples of syntax include:
[0104] abs_delta_poc_st[listIdx][rplsIdx][i] specifies the absolute difference between the picture order count value of the current picture and the picture order count value of the picture pointed to by the i-th entry when the i-th entry is the first STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure, or specifies the absolute difference between the picture order count value of the picture pointed to by the i-th entry and the picture order count value of the picture pointed to by the previous STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure when the i-th entry is a STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure but is not the first STRP entry. The value of abs_delta_poc_st[listIdx][rplsIdx][i] is between 0 and 2, inclusive. 15 It should be in the range of -1.
[0105] rpls_poc_lsb_lt[listIdx][rplsIdx][i] specifies the value of the picture order count modulo MaxPicOrderCntLsb of the picture pointed to by the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure. The length of the rpls_poc_lsb_lt[listIdx][rplsIdx][i] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.
[0106] In one example implementation, syntax elements that can indicate 0 delta POC (e.g., identifying a reference picture using a 0-value picture order count offset) or the same value POC for a reference picture, such as abs_delta_poc_st and rpls_poc_lsb_lt, cannot be equal to 0 or cannot indicate the same POC value because that POC value is already for another reference picture when both weighted prediction and inter-layer prediction are disabled. In some examples, 0 delta POC is not enabled when weighted prediction is disabled. In some examples, 0 delta POC is not enabled when inter-layer prediction is disabled.
[0107]
[0107] In another example implementation, the values of those syntax elements (e.g., signaled values identifying reference pictures, such as picture order count offset in the bitstream) may be treated as syntax element -1 when both weighted prediction and inter-layer prediction are disabled. In some such examples, the values of the syntax elements are reconstructed as the signaled value +1. In such examples, it is not possible for a 0 value to be signaled. One implementation example is shown below.
[0108] abs_delta_poc_st[listIdx][rplsIdx][i] specifies the absolute difference between the picture order count value of the current picture and the picture order count value of the picture pointed to by the i-th entry when the i-th entry is the first STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure, or specifies the absolute difference between the picture order count value of the picture pointed to by the i-th entry and the picture order count value of the picture pointed to by the previous STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure when the i-th entry is a STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure but is not the first STRP entry. <insert>Or, when weighted prediction and inter-layer prediction are disabled, the absolute difference +1 <insertend>Specify. The value of abs_delta_poc_st[listIdx][rplsIdx][i] is between 0 and 2, inclusive. 15 It should be in the range of -1.
[0109] rpls_poc_lsb_lt[listIdx][rplsIdx][i] is the picture order count modulo MaxPicOrderCntLsb of the picture pointed to by the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure. <insert>Or, when weighted prediction and inter-layer prediction are disabled, the value of picture order count modulo MaxPicOrderCntLsb + 1. <insertend>The length of the rpls_poc_lsb_lt[listIdx][rplsIdx][i] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.
[0110]
[0108] In some examples, it is suggested to add other layer pictures to the RPS, but since the RPS only has a POC value to identify a picture, a layer ID is further signaled for each reference picture.
[0111]
[0109] In another example, to avoid signaling a layer ID for each reference picture, a layer ID is signaled only when the POC value of a reference picture is equal to the POC value of the current picture. If the delta POC for the current POC value is equal to 0 (e.g., the reference picture POC is equal to the current picture POC), a layer ID is signaled to identify the layer. In this example, a picture with a layer ID other than the layer ID of the current picture can be used for prediction only when the picture has the same POC as the current picture (or belongs to the same access unit as the current picture). Furthermore, an inter-layer reference picture can only be considered to be a long-term reference picture (LTRP) and can be marked as an LTRP to avoid motion vector scaling. In this case, a layer ID can be signaled only for the LTRP type. In another example, a layer ID is signaled only for the LTRP, and is signaled when the delta POC is equal to 0 or the reference picture has the same POC value as the current picture. In another example, a layer ID may be signaled for a reference picture prior to signaling the POC value of the reference picture, or for the LTRP only. In this case, the POC value is signaled, possibly conditionally, based on the signaled layer ID and the current layer ID. For example, the POC is not signaled when the layer ID is not equal to the current layer ID (e.g., an inter-layer reference picture), in which case the POC value is inferred to be equal to the current picture POC. In some examples, the layer ID may be an indicator for identifying the layer, which may be a layer number, a layer index in a list of layers used for prediction, or another indicator.
[0112] [Table 2]
[0113]
[0110] According to the above syntax table for ref_pic_list_struct shown by Table 2, an example may include the following:
[0114] num_ref_entries may include the total number of both normal and inter-layer reference pictures. In one alternative, the number of inter-layer reference pictures num_inter_layer_ref_entries[listIdx][rplsIdx] is signaled separately. For example, a high-level flag signaled in a parameter set (PS), such as sps_interlayer_ref_pics_present_flag signaled in the SPS, may have indicated whether inter-layer reference pictures are present.
[0115] <insert>sps_inter_layer_ref_pics_present_flag equal to 1 specifies that inter-layer prediction may be used in decoding of the picture that points to the SPS. sps_inter_layer_ref_pics_present_flag equal to 0 specifies that inter-layer prediction is not used in decoding of the picture that points to the SPS. <insertend> In some such examples, instead of directly signaling nuh_layer_id, a layer index may be signaled. For example, layer 10 may use layers 0 and 9 as dependent layers. Instead of directly signaling values 0 and 9, layer index 0 (corresponding to layer ID 0) and layer index 1 (corresponding to layer ID 9) may be signaled instead. The mapping between layer IDs and layer indexes may be inferred or derived in the coder.
[0116] In some examples, a separate flag il_ref_pic_flag may be signaled to indicate that a picture is for inter-layer prediction, as shown below in Table 3. This flag may be signaled for each picture or only for the LTRP (e.g., when st_ref_pic_flag is equal to 0). In some such examples, a layer ID or layer index may be signaled only when il_ref_pic_flag is equal to 1. Such a flag is likely needed when a layer index is signaled, because currently a layer ID is not included as a dependent layer and may not have an associated layer index.
[0117] [Table 3]
[0118]
[0113] Table 4 below then shows an example of a syntax table for ref_pic_list_struct with the following details:
[0119] <insert>layer_dependency_idc[listIdx][rplsIdx][i] specifies the dependency layer index of the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure. The value of layer_dependency_idc[listIdx][rplsIdx][i] shall be in the range of 0 to current layer idc LayerIdc[nuh_layer_id]-1, inclusive.
[0120] il_ref_pic_flag[listIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure is an inter-layer reference picture. il_ref_pic_flag[listIdx][rplsIdx][i] equal to 0 specifies that the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure is not an inter-layer reference picture entry. When not present, the value of il_ref_pic_flag[listIdx][rplsIdx][i] is inferred to be equal to 0.
[0121] num_inter_layer_ref_entries[listIdx][rplsIdx] specifies the number of direct inter-layer entries in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure. The value of num_inter_layer_ref_entries[listIdx][rplsIdx] shall be in the range of 0 to sps_max_dec_pic_buffering_minus1+14-num_ref_entries[listIdx][rplsIdx], inclusive. <insertend>
[0114] In some such examples, the number of inter-layer reference pictures, num_inter_layer_ref_entries, may be limited to not exceed the maximum number of reference pictures minus the number of normal inter reference pictures, e.g., the value of num_inter_layer_ref_entries[listIdx][rplsIdx] shall be in the range of 0 to sps_max_dec_pic_buffering_minus1+14-num_ref_entries[listIdx][rplsIdx], inclusive, but in addition to the semantics of num_inter_layer_ref_entries. The num_inter_layer_ref_entries syntax element may be referred to as an inter-layer reference picture entry syntax element. The ref_pic_list_struct(listIdx,rplsIdx) syntax structure may be referred to as a reference picture list syntax structure. In some examples, il_ref_pic_flag[][] is signaled for all long-term reference pictures when inter-layer reference pictures are enabled.
[0122] [Table 4]
[0123]
[0115] Then, Tables 5 and 6 show an example syntax table for ref_pic_list_struct and the associated slice header. In such an additional example, layer information may be signaled in the slice header. This signaling may be in addition to the signaling allowed in the ref_pic_list_struct() syntax structure. Such a definition is useful if layer information is signaled only when the LSB of the reference picture is equal to the LSB of the current picture.
[0124] [Table 5]
[0125] [Table 6]
[0126]
[0116] In another embodiment described by Table 7, il_ref_pic_flag[][] in the slice header is signaled only when the POC LSB of the long-term reference picture is equal to the POC LSB of the current picture. In some examples, rpls_poc_lsb_lt may also be used.
[0127] [Table 7]
[0128]
[0117] In some examples, Table 8 below can act as an alternative to the examples of Tables 6 and 7 above.
[0129] [Table 8]
[0130]
[0118] In some examples, if an indication of layer_depdendency_idc is not necessary to identify an inter-layer reference picture, the layer_depdendency_idc syntax element may not be sent. In some examples, if there is only one inter-layer reference picture that may be used for reference and il_ref_pic_flag[][][] indicates that a reference picture may be used for reference that satisfies condition A (e.g., defined below), layer_dependency_idc is not signaled and it is inferred that that inter-layer reference picture may be used for reference. In some cases, when there are two or more inter-layer reference pictures that may be used for reference that satisfy condition A (e.g., n in number), it may be sufficient to signal n-1 or less layer_dependency_idc values to indicate a particular inter-layer reference picture for i-the position in the list. In such examples, condition A may be any condition that enables inter-layer prediction for the current picture. For example, in some cases, condition A checks that the inter-layer reference picture shares the same POC LSB as the current picture. In some cases, condition A checks that the inter-layer reference picture shares the same POC as the current picture. In some cases, condition A checks that the difference between the POC of the inter-layer reference picture and the POC of the current picture does not exceed a threshold. In some cases, condition A may be restricted to be applied within an access unit. In some examples, when there is no picture that satisfies condition A for the current picture, an indication of an inter-layer reference picture (e.g., a related syntax element) may not be signaled.
[0131]
[0119] In some cases, when reference pictures are indicated as inter-layer reference pictures (e.g., using il_ref_pic_flag[] or similar syntax), picture markings may be modified to indicate those pictures as "used for inter-layer reference pictures". In some cases, this marking may be coordinated with other markings (e.g., used for short-term reference or used for long-term reference) or may exclude other markings (e.g., a picture may be marked as only two of the following: used for short-term reference, used for long-term reference, or used for inter-layer reference picture). In some cases, the picture markings may be modified as follows:
[0132] After a picture is decoded, it is marked as "used for inter-layer reference".
[0133] - After an access unit is completed, or at the beginning of the next access unit, all pictures in the current access unit are marked as being used for short-term reference.
[0134]
[0120] In some cases, a discardable_flag may be signaled to indicate that a picture may not be used for inter-layer reference. In this case, some modifications may be applied to some of the methods disclosed above. In one example, a picture with a discardable_flag equal to 1 may be marked as "not used for reference" after decoding of the picture. In another example, a picture with a discardable_flag equal to 1 may never be marked with anything other than "not used for reference". In another example, a picture with a discardable_flag equal to 1 may not be considered for any prediction, and therefore may not be considered in the determination of some conditions that may possibly be applied to inter-layer reference pictures or reference pictures in general. For example, if two pictures A and B are in a difference layer from the current picture in the current access unit, and only one of them (e.g., picture A) has a discardable_flag equal to 1, when an inter-layer reference picture is indicated, the system can infer that the inter-layer reference picture is picture B, in which case picture A will not be added to any of the reference picture lists.
[0135]
[0121] The above mapping table (eg, vps_direct_dependency_flag[i][j]) may be signaled in a parameter set such as, for example, the VPS shown in exemplary Table 10.
[0136] [Table 9]
[0137]
[0122] Exemplary Table 10 can operate with syntax elements as follows.
[0138]
number
[0139] vps_independent_layer_flag[i] equal to 1 specifies that the layer with index i does not use inter-layer prediction. vps_independent_layer_flag[i] equal to 1 specifies that the layer with index i may use inter-layer prediction and vps_layer_dependency_flag is present in the VPS.
[0140] vps_direct_dependency_flag[i][j] equal to 0 specifies that the layer with index j is not a direct reference layer for the layer with index i. vps_direct_dependency_flag[i][j] equal to 1 specifies that the layer with index j is a direct reference layer for the layer with index i. When vps_direct_dependency_flag[i][j] is not in the range 0 to MaxLayersMinus1 for i and j, it is inferred to be equal to 0.
[0141] The variable DependencyIdc[i][j] is derived as follows:
[0142]
number
[0143]
[0123] In the reference picture list according to some examples, when the POC value is not signaled (e.g., when the layer ID is not equal to the current layer ID, such as in the case of an inter-layer reference picture), the POC value is inferred to be equal to the current picture POC. The layer ID is an indicator for identifying the layer and may be a layer index in the list of layers used for prediction. In other examples, other indicators may be used. The num_ref_entries may include the total number of both normal reference pictures and inter-layer reference pictures. In some examples, a separate reference flag may be signaled to indicate that the picture is for inter-layer prediction, and this flag may be signaled for each reference picture in various examples.
[0144]
[0124] In some examples, the inter-layer reference picture is not indicated by a POC value. In such examples, the inter-layer reference picture may be indicated by a flag (e.g., inter_layer_ref_pic_flag) and a layer index. The POC value of the inter-layer reference picture may be derived as equal to the current picture POC subject to the condition that there is a reference picture in the DPB with nuh_layer_id equal to the reference picture layer ID and the same picture order count value as the current picture. Thus, as described above, the reference picture list construction may be structured for signal inter-layer prediction with a layer ID and an inferred POC value of 0 in some examples. In other examples, other reference picture list structures may be used.
[0145]
[0125] In some such examples, the reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:
[0146]
number
[0147] In some cases, if nuh_layer_id[i][RplsIdx[i]][j] is not directly signaled, it may be derived from the LayerIdc and DependencyIdc variables using layer_dependency_idc. For example, nuh_layer_id[listIdx][rplsIdx][j]=DependencyIdc[LayerIdc[nuh_layer_id]][layer_dependency_idc[listIdx][rplsIdx][j]], where nuh_layer_id is the layer ID of the current picture. This value may be used as the layer ID in the reference picture list derivation.
[0148]
[0127] In some cases, a constraint may be added that when an inter-layer reference picture is signaled in the RPS, the POC value of the inter-layer reference picture derived from the RPS shall be equal to the POC value of the current picture. When inter-layer prediction is used, a 0 motion vector may be assumed, in which case there is no displacement of content in pictures of different representations (resolutions). Motion information may be signaled for inter-prediction modes. To save overhead, motion information may be signaled when (and in some cases only when) it is not used for inter-layer prediction. In other cases (in the case of inter-layer prediction), the motion vector is inferred to be equal to 0 without signaling.
[0149]
[0128] Table 11 is an example implementation based on a VVC draft (e.g., Versatile Video Coding (Draft 5), version 7) with changes to coding_unit(x0, y0, cbWidth, cbHeight, treeType) as shown below.
[0150] [Table 10-1] [Table 10-2]
[0151]
[0129] Now, in the slice header, information regarding the number of active inter-layer pictures may be signaled as shown by example Table 12 using syntax elements as described below.
[0152] [Table 11]
[0153] <insert>A num_inter_layer_active_override_flag equal to 1 specifies that the syntax element num_inter_layer_ref_pics_minus1[0] is present for P and B slices, and that the syntax element num_inter_layer_ref_pics_minus1[1] is present for B slices. A num_inter_layer_active_override_flag equal to 0 specifies that the syntax elements num_inter_layer_ref_pics_minus1[0] and num_inter_layer_ref_pics_minus1[1] are not present. When not present, the value of num_inter_layer_active_override_flag is inferred to be equal to 0.
[0154] num_inter_layer_ref_pics_minus1[i] is used to derive the variable NumInterLayerActive[i]. The value of num_ref_idx_active_minus1[i] shall be within the range of 0 to num_inter_layer_ref_entries[i][RplsIdx[i]].
[0155] The variable NumInterLayerActive[i] is derived as follows:
[0156]
number
[0157]
[0130] In some examples, similar to the temporal ID, a spatial ID may be defined, which indicates a spatial representation of a picture that may not be captured by the nuh_layer_id. One of the purposes of signaling the nuh_layer_id in the NAL unit header is to easily identify NAL units that belong to a particular layer, which may be removed for sub-bitstream extraction purposes. Easy identification of NAL units that belong to a particular layer benefits the operation of the system, and therefore the spatial_id is also considered to be signaled in the NAL unit header. For this purpose, the nuh_reserved_zero_bit may be renamed as layer_id_interpret_flag, and the semantics may be modified as follows, or in some cases, a new syntax element spatial_id may also be sent.
[0158] When layer_id_interpret_flag is equal to 0, the syntax element nuh_layer_id_plus1 is now interpreted as specifying the layer ID of the current picture.
[0159] When layer_id_interpret_flag is equal to 1, the syntax element nuh_layer_id_plus1 is interpreted as containing some bits indicating a layer ID and some bits specifying a spatial ID. For example, the first 4 bits may indicate a layer ID and the last 3 bits may indicate a spatial ID. Generally, in that case, the actual layer ID and spatial ID are possibly derived from the syntax element nuh_layer_id_plus1 using a predefined method.
[0160]
[0131] The difference between spatial_id and layer ID is that the compatibility of a "single layer" decoder also concerns the decoding of bitstreams containing multiple spatial_id. The value of spatial_id can be used to identify reference pictures in a "single layer" coder without the need to reuse the layer concept, and in this way the concept of layer will be clearly and distinctly distinguished from temporal and spatial layers. For simplicity, the compatibility can be further simplified so that a simple decoder does not need to consider bitstreams with a non-zero spatial_id, i.e., single layer bitstreams with only a single layer and one spatial ID conforming to one type (e.g., Main-Simple) and single layer bitstreams with a single layer but which may contain multiple spatial IDs (e.g., Main-Representation).
[0161]
[0132] Within a single layer, pictures with multiple spatial ID values may be considered to be part of different spatial access units, i.e., a picture with POC 0 with spatial_id equal to 0 belongs to one spatial access unit, while a picture with POC 0 (in the same access unit) with spatial id equal to 1 belongs to another spatial access unit. The concept of spatial access units may not necessarily have a different relationship to output time (as with layer access units), but they are important in different representations in the CPB and DPB. The output order may also be influenced by spatial access units when one or more spatial access units in a layer access unit should be output. Pictures belonging to a spatial_id may depend on other pictures with lower spatial_id, and pictures belonging to spatial ID S may not reference pictures belonging to the same layer with spatial IDs higher than S.
[0162]
[0133] A maximum number of spatial layers may be specified for a bitstream, and a POC value for each picture may be derived as a function of the picture order count LSB (syntax element) and the spatial ID. For example, the POC of pictures across layers may be constrained to be the same, but the POC of pictures in the same access unit within a layer but with different spatial IDs may not be the same. In some cases, this constraint is not explicitly signaled, but rather may be derived at the decoder based on the pic_order_cnt_lsb and spatial_id values.
[0163]
[0134] Figure 4 is a flow diagram illustrating an example process 400 according to some examples. In some examples, the process 400 is performed by a decoding device (e.g., the decoding device 112). In some examples, the process 400 may be performed by an encoding device (e.g., the encoding device 104), such as when performing a decoding process for storing one or more reference pictures in a decoded picture buffer (DPB). In other examples, the process 400 may be implemented as instructions in a non-transitory storage medium that, when a processor of the device executes the instructions, causes the device to perform the process 400. In some cases, when the process 400 is performed by a video decoder, the video data may include a coded picture or a portion (e.g., one or more blocks) of the coded picture included in an encoded video bitstream, or may include multiple coded pictures included in an encoded video bitstream.
[0164] At block 402, the process 400 obtains at least a portion of a picture from a bitstream. In some examples, this portion of the picture is a slice of a picture. As described herein, this may be a bitstream obtained by a mobile device such as a smartphone, a computer, any device with a screen, a television, or any device with decoding hardware.
[0165]
[0136] At block 404, the process 400 determines from the bitstream that weighted prediction is enabled for a portion of a picture. The process 400 can determine that weighted prediction is enabled by parsing the bitstream for a flag indicating weighted prediction. As described herein, the parsing can be performed using an SPS flag and / or a PPS flag. In some cases, the PPS flag is constrained by the SPS flag. In some examples, the flag (e.g., the SPS flag and / or the PPS flag) can specify a unidirectionally predicted frame (e.g., a P frame) or a bidirectionally predicted frame (e.g., a B frame).
[0166]
[0137] In block 406, based on the determination that weighted prediction is enabled for the portion of the picture, the process 400 identifies a zero-value picture order count offset indicating a reference picture from a reference picture list. As described herein, the zero-value picture order count offset can identify a reference picture from a table, and the reference picture can then be used for weighted prediction. The reference picture referenced by the zero-value picture order count offset in block 404 for weighted prediction can be a version of a picture including a portion of the picture obtained in block 402, where the picture from block 402 has a different weighting parameter than the reference picture indicated by the zero-value picture order count offset (e.g., a copy of the picture from block 402 with a different weight).
[0167]
[0138] In block 408, the process 400 reconstructs at least a portion of a picture using at least a portion of the reference pictures identified by the zero-valued picture order count offsets. The reconstruction of the picture may be performed as part of the reconstruction of the picture from the bitstream as part of a VVC-compliant decoding operation, or may be part of any similar decoding operation. This process 400 may be repeated for additional parts of the picture or other pictures obtained from the bitstream. Different corresponding picture order count offsets for multiple parts of the picture are identified as part of the process. This process may be further repeated for any number of pictures, with some pictures using weighted prediction and other pictures disabling weighted prediction. When weighted prediction is enabled, some reference pictures of the video have associated picture order count offset values that are zero, and other reference pictures have non-zero values and are used for weighted prediction of the current frame using frames from other access units. The associated pictures are then reconstructed as the process repeats for additional pictures.
[0168]
[0139] In some examples, the additional frame identifies a flag indicating that weighted prediction is disabled. In some such embodiments, the additional picture or picture portion or picture slice may be processed in the operation for parsing syntax elements by reconstructing values of syntax elements of the bitstream indicating multiple corresponding picture order count offsets as the signaled value +1. In some such examples, the abs_delta_poc_st short-term reference picture syntax value specifies an absolute difference between the picture order count value of the second picture and a previous short-term reference picture entry in the reference picture list for the second reference picture as the abs_delta_poc_st short-term reference picture syntax value +1 when weighted prediction is disabled.
[0169] In some examples, both weighted prediction and inter-layer prediction may be applied to a portion of a picture, such that the reference picture has a different size than the picture, and the reference picture is associated with a set of weights that is different from the second set of different weights associated with the picture (e.g., from block 402). In some such examples, the reference picture is signaled as a short-term reference picture with a picture order count least significant bit value equal to 0.
[0170]
[0141] In some examples, the picture is a non-instantaneous decoding refresh (non-IDR) picture, as described above (e.g., the picture may include another type of picture or a random access picture).
[0171]
[0142] Figure 5 is a flow diagram illustrating an example of a process 500, according to some examples. In some examples, the process 500 is performed by an encoding device (e.g., encoding device 104). In other examples, the process 500 may be implemented as instructions in a non-transitory storage medium that, when a processor of the device executes the instructions, causes the device to perform the process 500. In some cases, when the process 500 is performed by a video encoder, the video data may include a picture or a portion of the picture (e.g., one or more blocks) to be encoded in an encoded video bitstream, or may include multiple pictures to be encoded in an encoded video bitstream.
[0172]
[0143] At block 502, the process 500 includes identifying at least a portion of a picture. At block 504, the process 500 includes selecting weighted prediction to be enabled for the portion of the picture. At block 506, the process 500 includes identifying a reference picture for the portion of the picture. Identifying the reference picture may include selecting weights for various pictures as well as associating pictures with copies having different weights as reference pictures for the first picture.
[0173]
[0144] At block 508, the process 500 includes generating a zero-valued picture order count offset that indicates a reference picture from the reference picture list. At block 510, the process 500 includes generating a bitstream. The bitstream includes a portion of a picture and a zero-valued picture order count offset associated with the portion of the picture.
[0174]
[0145] Just as above for process 400, process 500 can be implemented in a variety of devices. In some implementations, process 500 is implemented by a processing circuit of a mobile device having a camera coupled to a processor and a memory for capturing and storing at least one picture. In other examples, process 500 is implemented by any device having a display coupled to a processor, the display configured to display at least one picture before it is processed using process 400 and transmitted in a bitstream.
[0175] In some implementations, the processes (or methods) described herein (including processes 400 and 500) may be performed by a computing device or apparatus, such as the system 100 shown in FIG. 1. For example, the processes may be performed by the encoding device 104 shown in FIG. 1 and FIG. 6, by another video source side device or video transmission device, by the decoding device 112 shown in FIG. 1 and FIG. 7, and / or by another client side device, such as a player device, a display, or any other client side device. In some cases, the computing device or apparatus may include one or more input devices, one or more processors, one or more microprocessors, one or more microcomputers, and / or other component(s) of the device configured to perform steps of the processes described herein.
[0176] In some examples, the computing device or apparatus may include or be a mobile device, a desktop computer, a server computer and / or a server system, or other type of computing device. The components of the computing device (e.g., one or more input devices, one or more output devices, one or more processors, one or more microprocessors, one or more microcomputers, and / or other components) may be implemented in a circuit. For example, the components may include and / or be implemented using electronic circuitry or other electronic hardware that may include one or more programmable electronic circuits (e.g., a microprocessor, a graphics processing unit (GPU), a digital signal processor (DSP), a central processing unit (CPU), and / or other suitable electronic circuits) and / or may include and / or be implemented using computer software, firmware, or any combination thereof, to perform various operations described herein. In some examples, the computing device or apparatus may include a camera configured to capture video data (e.g., a video sequence) including video frames. In some examples, a camera or other capture device that captures the video data is separate from the computing device, in which case the computing device receives or acquires the captured video data. The computing device may include a network interface configured to communicate the video data. The network interface may be configured to communicate Internet Protocol (IP)-based data or other types of data. In some examples, the computing device or apparatus may include a display for displaying output video content, such as samples of pictures of a video bitstream.
[0177]
[0148] A process may be described in terms of a logical flow diagram, whose operations represent a sequence of operations that may be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations. Generally, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform a particular function or implement a particular data type. The order in which the operations are described should not be construed as a limitation, and any number of the described operations may be combined in any order and / or in parallel to implement a process.
[0178]
[0149] Furthermore, the process may be performed under the control of one or more computer systems configured with executable instructions and implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that collectively execute on one or more processors, by hardware, or a combination thereof. As mentioned above, the code may be stored in a computer-readable or machine-readable storage medium, for example in the form of a computer program comprising a plurality of instructions executable by one or more processors. The computer-readable or machine-readable storage medium may be non-transitory.
[0179]
[0150] The coding techniques described herein may be implemented in an exemplary video encoding and decoding system (e.g., system 100). In some examples, the system includes a source device that provides encoded video data to be subsequently decoded by a destination device. In particular, the source device provides the video data to the destination device via a computer-readable medium. The source and destination devices may comprise any of a wide range of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called "smart" phones, so-called "smart" pads, televisions, cameras, display devices, digital media players, video game consoles, video streaming devices, and the like. In some cases, the source and destination devices may be equipped for wireless communication.
[0180]
[0151] The destination device may receive the encoded video data to be decoded via a computer-readable medium. The computer-readable medium may comprise any type of medium or device capable of moving encoded video data from a source device to a destination device. In one example, the computer-readable medium may comprise a communication medium for enabling the source device to transmit the encoded video data directly to the destination device in real time. The encoded video data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to the destination device. The communication medium may comprise any wireless or wired communication medium, such as a 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 a router, a switch, a base station, or any other equipment that may be useful for enabling communication from the source device to the destination device.
[0181]
[0152] In some examples, the encoded data may be output from the output interface to a storage device. Similarly, the encoded data may be accessed from the storage device by the input interface. The storage device may include any of a variety of distributed or locally accessed data storage media, such as a hard drive, Blu-ray disc, DVD, CD-ROM, flash memory, volatile or non-volatile memory, or any other suitable digital storage medium for storing encoded video data. In a further example, the storage device may correspond to a file server or another intermediate storage device that may store the encoded video generated by the source device. The destination device may access the stored video data from the storage device via streaming or download. The file server may be any type of server capable of storing the encoded video data and transmitting the encoded video data to the destination device. Exemplary file servers include a web server (e.g., for a website), an FTP server, a network attached storage (NAS) device, or a local disk drive. The destination device may access the encoded video data through 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., DSL, cable modem, etc.), or a combination of both, suitable for accessing the encoded video data stored on the file server. The transmission of the encoded video data from the storage device may be a streaming transmission, a download transmission, or a combination thereof.
[0182]
[0153] The techniques of this disclosure are not necessarily limited to wireless applications or settings. The techniques may be applied to video coding to support any of a variety of multimedia applications, such as over-the-air television broadcast, cable television transmission, satellite television transmission, Internet streaming video transmission such as Dynamic Adaptive Streaming over HTTP (DASH), digital video encoded on a data storage medium, decoding of digital video stored on a data storage medium, or other applications. In some examples, the system may be configured to support one-way or two-way video transmission to support applications such as video streaming, video playback, video broadcasting, and / or video telephony.
[0183]
[0154] In one example, the source device includes a video source, a video encoder, and an output interface. The destination device may include an input interface, a video decoder, and a display device. The video encoder of the source device may be configured to apply the techniques disclosed herein. In other examples, the source device and the destination device may include other components or configurations. For example, the source device may receive video data from an external video source, such as an external camera. Similarly, the destination device may interface with an external display device rather than including an integrated display device.
[0184]
[0155] The above exemplary system is only an example. The technique for processing video data in parallel may be implemented by any digital video encoding and / or decoding device. Generally, the techniques of this disclosure are implemented by a video encoding device, but the techniques may also be implemented by a video encoder / decoder, commonly referred to as a "codec". Moreover, the techniques of this disclosure may also be implemented by a video preprocessor. The source device and the destination device are only examples of coding devices, such that the source device generates coded video data for transmission to the destination device. In some examples, the source device and the destination device may operate substantially symmetrically, such that each of the devices includes a video encoding component and a video decoding component. Thus, the exemplary system may support one-way or two-way video transmission between video devices, for example, for video streaming, video playback, video broadcasting, or video telephony.
[0185]
[0156] The video source may include a video capture device such as a video camera, a video archive containing previously captured video, and / or a video feed interface for receiving video from a video content provider. As a further alternative, the video source may generate computer graphics-based data as the source video, or a combination of live video, archive video, and computer-generated video. In some cases, when the video source is a video camera, the source device and the destination device may form a so-called camera phone or video phone. However, as mentioned above, the techniques described in this disclosure may be applicable to video coding in general, and may be applied to wireless and / or wired applications. In each case, the captured video, pre-captured video, or computer-generated video may be encoded by a video encoder. The encoded video information may then be output on a computer-readable medium by an output interface.
[0186]
[0157] As mentioned, computer-readable media may include a temporary medium, such as a wireless broadcast or wired network transmission, or a storage medium (i.e., a non-transitory storage medium), such as a hard disk, a flash drive, a compact disc, a digital video disc, a Blu-ray disc, or other computer-readable medium. In some examples, a network server (not shown) may receive encoded video data from a source device, for example, via a network transmission, and provide the encoded video data to a destination device. Similarly, a computing device of a media production facility, such as a disc stamping facility, may receive encoded video data from a source device and produce a disc including the encoded video data. Thus, a computer-readable medium may be understood to include one or more computer-readable media of various forms in various examples.
[0187]
[0158] The input interface of the destination device receives information from a computer-readable medium. The information of the computer-readable medium may include syntax information, including syntax elements that describe the characteristics and / or processing of blocks and other coding units, e.g., groups of pictures (GOPs), defined by a video encoder and used by a video decoder. The display device displays the decoded video data to a user and may comprise any of a variety of display devices, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display, an organic light-emitting diode (OLED) display, or another type of display device. Various examples of the present application have been described. Specific details of the encoding device 104 and the decoding device 112 are shown in Figures 6 and 7, respectively.
[0188] Specific details of the encoding device 104 and the decoding device 112 are illustrated in FIG. 6 and FIG. 7, respectively. FIG. 6 is a block diagram illustrating an example encoding device 104 that may implement one or more of the techniques described in this disclosure. The encoding device 104 may generate, for example, a syntax structure described herein (e.g., a syntax structure of a VPS, SPS, PPS, or other syntax element). The encoding device 104 may perform intra-predictive coding and inter-predictive coding of video blocks in a video. As previously described, intra-coding relies at least in part on spatial prediction to reduce or remove spatial redundancy within a given video frame or picture. Inter-coding relies at least in part on temporal prediction to reduce or remove temporal redundancy within adjacent or surrounding frames of a video sequence. An intra-mode (I-mode) may refer to any of several spatial-based compression modes. An inter-mode, such as unidirectional prediction (P-mode) or bi-prediction (B-mode), may refer to any of several temporal-based compression modes.
[0189]
[0160] Encoding device 104 includes partition unit 35, prediction processing unit 41, filter unit 63, picture memory 64, adder 50, transform processing unit 52, quantization unit 54, and entropy coding unit 56. Prediction processing unit 41 includes motion estimation unit 42, motion compensation unit 44, and intra-prediction processing unit 46. For video block reconstruction, encoding device 104 also includes inverse quantization unit 58, inverse transform processing unit 60, and adder 62. Filter unit 63 is intended to represent one or more loop filters, such as a deblocking filter, an adaptive loop filter (ALF), and a sample adaptive offset (SAO) filter. Although filter unit 63 is illustrated in FIG. 6 as being an in-loop filter, in other configurations, filter unit 63 may be implemented as a post-loop filter. Post-processing device 57 may perform additional processing on the encoded video data generated by encoding device 104. The techniques of this disclosure may, in some cases, be implemented by encoding device 104. However, in other cases, one or more of the techniques of this disclosure may be implemented by post-processing device 57.
[0190]
[0161] As shown in FIG. 6, encoding device 104 receives video data, and partition unit 35 partitions the data into video blocks. Partitioning may also include partitioning into slices, slice segments, tiles, or other larger units, as well as video block partitioning, for example, according to a quadtree structure of LCUs and CUs. Encoding device 104 generally illustrates components that encode video blocks in a video slice to be encoded. A slice may be divided into a number of video blocks (and possibly into a set of video blocks called tiles). Prediction processing unit 41 may select one of a number of possible coding modes, such as one of a number of intra-predictive coding modes or one of a number of inter-predictive coding modes, for a current video block based on an error result (e.g., a coding rate and a distortion level, etc.). Prediction processing unit 41 may provide the resulting intra-coded or inter-coded block to adder 50 to generate residual block data and to adder 62 to reconstruct a coding block for use as a reference picture.
[0191]
[0162] Intra-prediction processing unit 46 within prediction processing unit 41 may perform intra-predictive coding of the current video block relative to one or more neighboring blocks in the same frame or slice as the current block to be coded, to provide spatial compression. Motion estimation unit 42 and motion compensation unit 44 within prediction processing unit 41 perform inter-predictive coding of the current video block relative to one or more predictive blocks in one or more reference pictures, to provide temporal compression.
[0192]
[0163] Motion estimation unit 42 may be configured to determine an inter-prediction mode for a video slice according to a predetermined pattern for a video sequence. The predetermined pattern may designate a video slice in the sequence as a P slice, a B slice, or a GPB slice. Motion estimation unit 42 and motion compensation unit 44 may be highly integrated, but are shown separately for conceptual purposes. Motion estimation performed by motion estimation unit 42 is a process of generating motion vectors that estimate motion for a video block. A motion vector may indicate, for example, the displacement of a prediction unit (PU) of a video block in a current video frame or picture relative to a predictive block in a reference picture.
[0193]
[0164] A predictive block is a block that is found to closely match a PU of a video block to be coded in terms of pixel differences, which may be determined by sum of absolute differences (SAD), sum of squared differences (SSD), or other difference metrics. In some examples, encoding device 104 may calculate values for sub-integer pixel locations of a reference picture stored in picture memory 64. For example, encoding device 104 may interpolate values for ¼ pixel locations, ⅛ pixel locations, or other fractional pixel locations of a reference picture. Thus, motion estimation unit 42 may perform motion search for full pixel locations and fractional pixel locations and output motion vectors with fractional pixel accuracy.
[0194]
[0165] Motion estimation unit 42 calculates a motion vector for a PU of a video block in an inter-coded slice by comparing the position of the PU with the position of a predictive block of a reference picture. The reference picture may be selected from a first reference picture list (list 0) or a second reference picture list (list 1), each of which identifies one or more reference pictures stored in picture memory 64. Motion estimation unit 42 sends the calculated motion vector to entropy encoding unit 56 and motion compensation unit 44.
[0195]
[0166] Motion compensation performed by motion compensation unit 44 may involve fetching or generating a predictive block based on a motion vector determined by motion estimation, possibly performing interpolation to sub-pixel accuracy. Upon receiving a motion vector for a PU of a current video block, motion compensation unit 44 may locate the predictive block to which the motion vector points in a reference picture list. Encoding device 104 forms a residual video block by subtracting pixel values of the predictive block from pixel values of the current video block being coded to form pixel difference values. The pixel difference values form residual data for the block and may include both luma and chroma difference components. Adder 50 represents one or more components that perform this subtraction operation. Motion compensation unit 44 may also generate syntax elements associated with the video block and the video slice for use by decoding device 112 in decoding the video block of the video slice.
[0196]
[0167] The intra-prediction processing unit 46 may intra-predict the current block as an alternative to the inter-prediction performed by the motion estimation unit 42 and the motion compensation unit 44 as described above. In particular, the intra-prediction processing unit 46 may determine an intra-prediction mode to be used to encode the current block. In some examples, the intra-prediction processing unit 46 may encode the current block using various intra-prediction modes (e.g., during separate encoding passes), and the intra-prediction processing unit 46 may select an appropriate intra-prediction mode to use from the tested modes. For example, the intra-prediction processing unit 46 may calculate rate-distortion values using a rate-distortion analysis for the various tested intra-prediction modes, and select the intra-prediction mode with the best rate-distortion characteristics among the tested modes. The rate-distortion analysis generally determines the amount of distortion (or error) between the coding block and the original uncoded block that was coded to produce the coding block, as well as the bitrate (i.e., the number of bits) used to produce the coding block. Intra-prediction processing unit 46 may calculate ratios from the distortions and rates for the various coding blocks to determine which intra-prediction mode exhibits the best rate-distortion value for the block.
[0197] In either case, after selecting an intra-prediction mode for a block, intra-prediction processing unit 46 may provide information indicating the selected intra-prediction mode for the block to entropy encoding unit 56. Entropy encoding unit 56 may encode the information indicating the selected intra-prediction mode. Encoding device 104 may include in the transmitted bitstream configuration data definitions of encoding contexts for various blocks, as well as an indication of the most probable intra-prediction mode, intra-prediction mode index table, and modified intra-prediction mode index table to be used for each of the contexts. The bitstream configuration data may include multiple intra-prediction mode index tables and multiple modified intra-prediction mode index tables (also referred to as codeword mapping tables).
[0198] After prediction processing unit 41 generates a predictive block for a current video block, either via inter prediction or intra prediction, encoding device 104 forms a residual video block by subtracting the predictive block from the current video block. The residual video data in the residual block may be included in one or more TUs and applied to transform processing unit 52. Transform processing unit 52 converts the residual video data into residual transform coefficients using a transform, such as a discrete cosine transform (DCT) or a conceptually similar transform. Transform processing unit 52 may convert the residual video data from the pixel domain to a transform domain, such as the frequency domain.
[0199]
[0170] The transform processing unit 52 may send the resulting transform coefficients to the quantization unit 54. The quantization unit 54 quantizes the transform coefficients to further reduce the bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be modified by adjusting a quantization parameter. In some examples, the quantization unit 54 may then perform a scan of a matrix including the quantized transform coefficients. Alternatively, the entropy coding unit 56 may perform the scan.
[0200]
[0171] After quantization, entropy coding unit 56 entropy codes the quantized transform coefficients. For example, entropy coding unit 56 may implement context-adaptive variable length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioned entropy (PIPE) coding, or another entropy coding technique. After entropy coding by entropy coding unit 56, the coded bitstream may be transmitted to decoding device 112 or archived for later transmission or retrieval by decoding device 112. Entropy coding unit 56 may also entropy code motion vectors and other syntax elements for the current video slice being coded.
[0201]
[0172] Inverse quantization unit 58 and inverse transform processing unit 60 apply inverse quantization and inverse transform, respectively, to reconstruct the residual block in the pixel domain for later use as a reference block of a reference picture. Motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the reference pictures in the reference picture list. Motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values for use in motion estimation. Adder 62 adds the reconstructed residual block to the motion compensated predictive block produced by motion compensation unit 44 to produce a reference block for storage in picture memory 64. The reference block may be used as a reference block by motion estimation unit 42 and motion compensation unit 44 to inter predict a block in a subsequent video frame or picture.
[0202] In this manner, encoding device 104 of Figure 6 represents an example of a video encoder configured to perform one or more of the techniques described herein, including the processes described above with respect to Figures 4 and 5. In some cases, some of the techniques of this disclosure may also be implemented by post-processing device 57.
[0203]
[0174] Figure 7 is a block diagram illustrating an example decoding device 112. The decoding device 112 includes an entropy decoding unit 80, a prediction processing unit 81, an inverse quantization unit 86, an inverse transform processing unit 88, an adder 90, a filter unit 91, and a picture memory 92. The prediction processing unit 81 includes a motion compensation unit 82 and an intra-prediction processing unit 84. The decoding device 112 may, in some examples, perform a decoding path that is generally inverse to the encoding path described with respect to the encoding device 104 from Figure 6.
[0204] During the decoding process, the decode device 112 receives an encoded video bitstream representing video blocks of encoded video slices and associated syntax elements sent by the encoding device 104. In some examples, the decode device 112 may receive the encoded video bitstream from the encoding device 104. In some examples, the decode device 112 may receive the encoded video bitstream from a network entity 79, such as a server, a media-aware network element (MANE), a video editor / splicer, or other such device configured to implement one or more of the techniques described above. The network entity 79 may or may not include the encoding device 104. Some of the techniques described in this disclosure may be implemented by the network entity 79 prior to the network entity 79 sending the encoded video bitstream to the decode device 112. In some video decoding systems, the network entity 79 and the decode device 112 may be parts of separate devices, while in other cases, the functions described with respect to the network entity 79 may be performed by the same device that comprises the decode device 112.
[0205]
[0176] The entropy decoding unit 80 of the decoding device 112 entropy decodes the bitstream to generate quantized coefficients, motion vectors, and other syntax elements. The entropy decoding unit 80 forwards the motion vectors and other syntax elements to the prediction processing unit 81. The decoding device 112 may receive video slice level and / or video block level syntax elements. The entropy decoding unit 80 may process and parse both fixed length and variable length syntax elements, such as VPS, SPS, and PPS, or in multiple parameter sets.
[0206]
[0177] When a video slice is coded as an intra-coded (I) slice, intra-prediction processing unit 84 of prediction processing unit 81 may generate predictive data for video blocks of the current video slice based on the signaled intra-prediction mode and data from previously decoded blocks of the current frame or picture. When a video frame is coded as an inter-coded (i.e., B, P, or GPB) slice, motion compensation unit 82 of prediction processing unit 81 produces predictive blocks for video blocks of the current video slice based on motion vectors and other syntax elements received from entropy decoding unit 80. The predictive blocks may be produced from one of the reference pictures in a reference picture list. Decoding device 112 may build the reference frame lists, i.e., list 0 and list 1, using a construction technique based on the reference pictures stored in picture memory 92.
[0207]
[0178] Motion compensation unit 82 may determine prediction information for video blocks of a current video slice by parsing the motion vectors and other syntax elements, and use the prediction information to produce predictive blocks for the current video block being decoded. For example, motion compensation unit 82 may use one or more syntax elements in a parameter set to determine a prediction mode (e.g., intra or inter prediction) used to code the video blocks of the video slice, an inter-prediction slice type (e.g., B slice, P slice, or GPB slice), construction information for one or more reference picture lists for the slice, a motion vector for each inter-coded video block of the slice, an inter-prediction status for each inter-coded video block of the slice, and other information for decoding video blocks in the current video slice.
[0208]
[0179] Motion compensation unit 82 may also perform interpolation based on an interpolation filter. Motion compensation unit 82 may use an interpolation filter used by encoding device 104 during encoding of the video block to calculate interpolated values for sub-integer pixels of the reference block. In this case, motion compensation unit 82 may determine the interpolation filter used by encoding device 104 from a received syntax element and may use that interpolation filter to produce the predictive block.
[0209]
[0180] Inverse quantization unit 86 inverse quantizes, i.e., dequantizes, the quantized transform coefficients provided in the bitstream and decoded by entropy decoding unit 80. The inverse quantization process may include the use of a quantization parameter calculated by encoding device 104 for each video block in a video slice to determine the degree of quantization, as well as the degree of inverse quantization that should be applied. Inverse transform processing unit 88 applies an inverse transform (e.g., an inverse DCT or other suitable inverse transform), an inverse integer transform, or a conceptually similar inverse transform process to the transform coefficients to produce residual blocks in the pixel domain.
[0210] After motion compensation unit 82 generates a predictive block for a current video block based on the motion vector and other syntax elements, decoding device 112 forms a decoded video block by adding a residual block from inverse transform processing unit 88 with a corresponding predictive block generated by motion compensation unit 82. Adder 90 represents one or more components that perform this addition operation. If desired, a loop filter (either in the coding loop or after the coding loop) may also be used to smooth pixel transitions or otherwise improve video quality. Filter unit 91 is intended to represent one or more loop filters, such as a deblocking filter, an adaptive loop filter (ALF), and a sample adaptive offset (SAO) filter. Although filter unit 91 is illustrated in FIG. 7 as being an in-loop filter, in other configurations filter unit 91 may be implemented as a post-loop filter. The decoded video blocks in a given frame or picture are then stored in picture memory 92, which stores reference pictures used for subsequent motion compensation. Picture memory 92 also stores decoded video for later presentation on a display device, such as video destination device 122 shown in FIG.
[0211]
[0182] In this manner, the decoding device 112 of FIG. 7 represents an example of a video decoder configured to implement one or more of the techniques described herein, including the processes described above with respect to FIGs. 3 and 4.
[0212]
[0183] Filter unit 91 filters the reconstructed block (e.g., the output of adder 90) and stores the filtered reconstructed block in DPB 94 for use as a reference block, and / or outputs the filtered reconstructed block (decoded video). The reference block may be used by motion compensation unit 82 to inter-predict a block in a subsequent video frame or picture. Filter unit 91 may perform any type of filtering, such as deblocking filtering, SAO filtering, peak SAO filtering, ALF, and / or GALF, and / or other types of loop filters. The deblocking filter may apply deblocking filtering to filter block boundaries, for example, to remove blockiness artifacts from the reconstructed video. The peak SAO filter may apply an offset to the reconstructed pixel values to improve the overall coding quality. Additional loop filters (in-loop or after-loop) may also be used.
[0213]
[0184] Furthermore, filter unit 91 may be configured to implement any of the techniques in this disclosure related to adaptive loop filtering. For example, as described above, filter unit 91 may be configured to determine parameters for filtering a current block based on parameters for filtering a previous block included in the same APS as the current block, a different APS, or a predefined filter.
[0214]
[0185] The term "computer-readable medium" as used herein includes, but is not limited to, portable or non-portable storage devices, optical storage devices, and various other media capable of storing, containing, or carrying instruction(s) and / or data. Computer-readable media may include non-transitory media on which data may be stored, which does not include carrier waves and / or transitory electronic signals propagating wirelessly or over wired connections. Examples of non-transitory media may include, but are not limited to, magnetic disks or tapes, optical storage media such as compact disks (CDs) or digital versatile disks (DVDs), flash memory, memory or memory devices. A computer-readable medium may have code and / or machine-executable instructions stored thereon, which may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and / or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.
[0215] In some examples, computer-readable storage devices, media, and memories may include cable or wireless signals containing bit streams, etc. However, when stated, non-transitory computer-readable storage media specifically excludes media such as energy, carrier signals, electromagnetic waves, and the signals themselves.
[0216]
[0187] Specific details are given in the above description to provide a complete understanding of the examples and examples provided herein. However, those skilled in the art will understand that the examples may be implemented without these specific details. For clarity of explanation, in some cases, the present technology may be presented as including individual functional blocks, including devices, device components, steps or routines in a method implemented in software, or functional blocks comprising a combination of hardware and software. Additional components other than those shown in the figures and / or described herein may be used. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form so as not to obscure the examples with unnecessary detail. In other cases, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail to avoid obscuring the examples.
[0217]
[0188] Each example may be described above as a process or method that is shown as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although the flowchart may describe operations as a sequential process, many of the operations may be performed in parallel or simultaneously. Furthermore, the order of operations may be rearranged. A process is terminated when its operations are completed, but may have additional steps not included in the diagram. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination may correspond to a return of the function to the calling function or the main function.
[0218]
[0189] The processes and methods according to the examples described above may be implemented using computer-executable instructions stored or otherwise available from a computer-readable medium. Such instructions may include, for example, instructions and data that cause or otherwise configure a general-purpose computer, a special-purpose computer, or a processing device to perform a certain function or group of functions. A portion of the computer resources used may be accessible over a network. The computer-executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, source code, etc. Examples of computer-readable media that may be used to store instructions, information used, and / or information created during the methods according to the described examples include magnetic or optical disks, flash memory, USB devices with non-volatile memory, networked storage devices, etc.
[0219]
[0190] A device implementing the processes and methods according to these disclosures may include hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof, and may take any of a variety of form factors. When implemented in software, firmware, middleware, or microcode, program code or code segments (e.g., computer program products) for performing the necessary tasks may be stored in a computer-readable or machine-readable medium. A processor(s) may perform the necessary tasks. Common examples of form factors include laptops, smartphones, mobile phones, tablet devices or other small form factor personal computers, personal digital assistants, rackmount devices, standalone devices, etc. The functions described herein may also be embodied in peripheral devices or add-in cards. Such functions may also be implemented on a circuit board among different chips or different processes executing in a single device, as further examples.
[0220]
[0191] The instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are exemplary means for providing functionality described in this disclosure.
[0221]
[0192] In the above description, the aspects of the present application have been described with reference to specific examples thereof, but those skilled in the art will recognize that the present application is not limited thereto. Thus, although illustrative examples of the present application have been described in detail herein, it should be understood that the inventive concept may be embodied and employed in various ways, except as limited by the prior art, and the appended claims are to be construed to include such variations. The various features and aspects of the application examples described above may be used individually or together. Moreover, the examples may be utilized in any number of environments and applications other than those described herein without departing from the broader spirit and scope of the present specification. Thus, the present specification and drawings should be considered illustrative and not limiting. For purposes of explanation, the methods have been described in a particular order. It should be appreciated that in alternative examples, the methods may be performed in an order different from that described.
[0222]
[0193] Those skilled in the art will appreciate that the symbols or terminology used in this specification of less than ("<") and greater than (">") may be replaced with the symbols less than or equal to ("≦") and greater than or equal to ("≧"), respectively, without departing from the scope of this specification.
[0223]
[0194] When a component is described as being "configured to" perform a certain operation, such configuration may be achieved, for example, by designing electronic circuitry or other hardware to perform the operation, by programming a programmable electronic circuitry (e.g., a microprocessor, or other suitable electronic circuitry) to perform the operation, or by any combination thereof.
[0224]
[0195] The phrase "coupled to" refers to any component that is physically connected to another component, either directly or indirectly, and / or any component that is in communication with another component, either directly or indirectly (e.g., connected to the other component via a wired or wireless connection and / or other suitable communications interface).
[0225]
[0196] Claim language or other language reciting "at least one of" a set and / or "one or more" of a set indicates that one member of the set or more than one member of the set (in any combination) satisfies the claim. For example, claim language reciting "at least one of A and B" means A, B, or A and B. In another example, claim language reciting "at least one of A, B, and C" means A, B, C, or A and B, or A and C, or B and C, or A and B and C. The language "at least one of" a set and / or "one or more" of a set does not limit the set to the items listed in the set. For example, claim language reciting "at least one of A and B" can mean A, B, or A and B, and can further include items not listed in the set of A and B.
[0226]
[0197] The various exemplary logic blocks, modules, circuits, and algorithm steps described with respect to the examples disclosed herein may be implemented as electronic hardware, computer software, firmware, or a combination thereof. To clearly show this compatibility of hardware and software, the various exemplary components, blocks, modules, circuits, and steps have been described above generally with respect to their functions. Whether such functions are implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. Those skilled in the art may implement the described functions in various ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of this application.
[0227]
[0198] The techniques described herein may also be implemented in electronic hardware, computer software, firmware, or any combination thereof. Such techniques may be implemented in any of a variety of devices, such as a general-purpose computer, a wireless communication device handset, or an integrated circuit device having multiple uses, including applications in wireless communication device handsets and other devices. Features described as modules or components may be implemented together in an integrated logic device, or separately as separate but interoperable logic devices. When implemented in software, the techniques may be realized at least in part by a computer-readable data storage medium comprising program code including instructions that, when executed, perform one or more of the methods described above. The computer-readable data storage medium may form part of a computer program product, which may include packaging materials. The computer-readable medium may comprise a memory or data storage medium, such as a random access memory (RAM), such as a synchronous dynamic random access memory (SDRAM), a read-only memory (ROM), a non-volatile random access memory (NVRAM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic or optical data storage medium, or the like. The techniques may additionally or alternatively be realized at least in part by a computer-readable communications medium, such as a propagated signal or radio wave, that carries or conveys program code in the form of instructions or data structures and that can be accessed, read, and / or executed by a computer.
[0228]
[0199] The program code may be executed by a processor, which may include one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Such a processor may be configured to perform any of the techniques described in this disclosure. A general-purpose processor may be a microprocessor, but alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Thus, the term "processor" as used herein may refer to any of the above structures, any combination of the above structures, or other structures or apparatus suitable for implementing the techniques described herein. Furthermore, in some aspects, the functionality described herein may be provided within dedicated software or hardware modules configured for encoding and decoding, or may be incorporated into a composite video encoder / decoder (codec).
[0229]
[0200] Illustrative examples of the present disclosure include the following:
[0230]
[0201] Example 1. A method for processing video data, the method comprising: obtaining video data including one or more pictures; determining that weighted prediction is disabled for at least a portion of the one or more pictures; and in response to determining that weighted prediction is disabled for at least a portion of the one or more pictures, determining that two or more reference pictures are not allowed to have the same Picture Order Count (POC) value.
[0231]
[0202] Example 2. The method of Example 1, wherein at least a portion of one or more pictures includes a slice of a picture.
[0232]
[0203] Example 3. The method of any one of Examples 1-2, further comprising obtaining a weighted prediction flag; and determining, based on the weighted prediction flag, that weighted prediction is disabled for one or more pictures.
[0233] Example 4. The method of example 3, wherein the weighted prediction flag indicates whether weighted prediction is applied to a unidirectionally predicted slice (P slice).
[0234] Example 5. The method of example 3, wherein the weighted prediction flag indicates whether weighted prediction is applied to bidirectionally predicted slices (B slices).
[0235] Example 6. An apparatus comprising a memory configured to store video data and a processor configured to process the video data according to any of Examples 1-5.
[0236]
[0207] Example 7. The apparatus of example 6, wherein the apparatus includes an encoder.
[0237]
[0208] Example 8. The apparatus of example 6, wherein the apparatus includes a decoder.
[0238]
[0209] Example 9. The apparatus of any one of Examples 6 to 8, wherein the apparatus is a mobile device.
[0239]
[0210] Example 10. The device of any one of Examples 6-9, further comprising a display configured to display video data.
[0240]
[0211] Example 11. The apparatus of any one of Examples 6-10, further comprising a camera configured to capture one or more pictures.
[0241]
[0212] Example 12. A computer-readable medium storing instructions that, when executed by a processor, perform the method of any of Examples 1-5.
[0242]
[0213] Example 13. A method for processing video data, the method comprising: obtaining video data including multiple reference pictures in multiple layers; generating a reference picture structure (RPS); the RPS including a picture order count (POC) value and a layer identifier (ID) for at least one reference picture of the multiple reference pictures, wherein the layer ID for the reference picture identifies a layer of the reference picture.
[0243] Example 14. The method of Example 13, further comprising generating an RPS to include a layer ID for each reference picture of the multiple reference pictures.
[0244] Example 15. The method of Example 13, further comprising generating an RPS to include a layer ID for a reference picture when the POC value of the reference picture is equal to the POC value of the current picture.
[0245] Example 16. An apparatus comprising a memory configured to store video data and a processor configured to process the video data according to any of Examples 13-15.
[0246]
[0217] Example 17. The apparatus of example 16, wherein the apparatus includes an encoder.
[0247]
[0218] Example 18. The apparatus of any one of Examples 16-17, wherein the apparatus is a mobile device.
[0248]
[0219] Example 19. The device of any one of Examples 16-18, further comprising a display configured to display video data.
[0249]
[0220] Example 20. The apparatus of any one of Examples 16-19, further comprising a camera configured to capture one or more pictures.
[0250]
[0221] Example 21. The apparatus of any one of Examples 16-20, further comprising a communication circuit configured to transmit the processed video data.
[0251]
[0222] Example 22. A computer-readable medium storing instructions that, when executed by a processor, perform the method of any of Examples 13-15.
[0252]
[0223] Example 23. A method for processing video data, the method comprising: obtaining video data including multiple reference pictures in multiple layers; and processing a reference picture structure (RPS) from the video data, the RPS including a picture order count (POC) value and a layer identifier (ID) for at least one reference picture of the multiple reference pictures, wherein the layer ID for the reference picture identifies a layer of the reference picture.
[0253]
[0224] Example 24. The method of Example 23, wherein the RPS includes a layer ID for each reference picture of the multiple reference pictures.
[0254]
[0225] Example 25. The method of Example 23, wherein the RPS includes a layer ID for a reference picture when the POC value of the reference picture is equal to the POC value of the current picture.
[0255] Example 26. An apparatus comprising a memory configured to store video data and a processor configured to process the video data according to any of Examples 23-25.
[0256]
[0227] Example 27. The apparatus of example 26, wherein the apparatus includes a decoder.
[0257]
[0228] Example 28. An apparatus described in any one of Examples 26 to 27, wherein the apparatus is a mobile device.
[0258]
[0229] Example 29. The device of any one of Examples 26-28, further comprising a display configured to display video data.
[0259]
[0230] Example 30. The apparatus of any one of Examples 26-29, further comprising a camera configured to capture one or more pictures.
[0260]
[0231] Example 31. A computer-readable medium storing instructions that, when executed by a processor, perform the method of any of Examples 23-25.
[0261]
[0232] Example 32. A method for processing video data, the method comprising: obtaining video data including a plurality of pictures in a plurality of layers; determining that inter-layer prediction is enabled for the plurality of pictures, the plurality of layers corresponding to a plurality of representations of video content; and inferring a zero motion vector based on determining that inter-layer prediction is enabled for the plurality of pictures, the zero motion vector indicating no displacement of content in the plurality of pictures of the plurality of representations.
[0262]
[0233] Example 33. The method of example 33, in which the motion information is signaled in a coded video bitstream that includes multiple pictures when the motion information is not used for inter-layer prediction.
[0263]
[0234] Example 34. An apparatus comprising a memory configured to store video data and a processor configured to process the video data according to any of Examples 32-33.
[0264]
[0235] Example 35. The apparatus of example 34, wherein the apparatus includes an encoder.
[0265]
[0236] Example 36. The apparatus of example 34, wherein the apparatus includes a decoder.
[0266]
[0237] Example 37. The apparatus of any one of Examples 34 to 36, wherein the apparatus is a mobile device.
[0267]
[0238] Example 38. The device of any one of Examples 34-37, further comprising a display configured to display video data.
[0268]
[0239] Example 39. The apparatus of any one of Examples 34-38, further comprising a camera configured to capture one or more pictures.
[0269]
[0240] Example 40. A computer-readable medium storing instructions that, when executed by a processor, perform the method of any of Examples 32-33.
[0270]
[0241] Example 41. A method for processing video data, the method comprising: obtaining the video data; and generating from the video data an encoded video bitstream comprising one or more syntax elements and a plurality of pictures in a plurality of layers, the plurality of layers corresponding to a plurality of representations of the video content, wherein the number of entries in an inter-layer reference picture entry syntax element is limited to not exceed a maximum number of reference pictures minus the number of inter-prediction reference pictures.
[0271]
[0242] Example 42. The method of Example 41, in which the inter-layer reference picture entry syntax element specifies the number of direct inter-layer reference picture entries in a reference picture list syntax structure.
[0272]
[0243] Example 43. An apparatus comprising a memory configured to store video data and a processor configured to process the video data according to any of Examples 41-42.
[0273]
[0244] Example 44. The apparatus of example 43, wherein the apparatus includes an encoder.
[0274]
[0245] Example 45. The apparatus of Example 43, wherein the apparatus is a mobile device.
[0275]
[0246] Example 46. The device of any one of Examples 43-45, further comprising a display configured to display video data.
[0276]
[0247] Example 47. The apparatus of any one of Examples 43-46, further comprising a camera configured to capture one or more pictures.
[0277]
[0248] Example 48. A computer-readable medium storing instructions that, when executed by a processor, perform the method of any of Examples 41-42.
[0278]
[0249] Example 49. A method for processing video data, the method comprising: obtaining an encoded video bitstream including one or more syntax elements and a plurality of pictures in a plurality of layers; and processing an inter-layer reference picture entry syntax element from the encoded video bitstream, the plurality of layers corresponding to a plurality of representations of the video content, wherein the number of entries in the inter-layer reference picture entry syntax element is limited to not exceed a maximum number of reference pictures minus the number of inter-prediction reference pictures.
[0279]
[0250] Example 50. The method of Example 33, in which the inter-layer reference picture entry syntax element specifies the number of direct inter-layer reference picture entries in a reference picture list syntax structure.
[0280]
[0251] Example 51. An apparatus comprising a memory configured to store video data and a processor configured to process the video data according to any of Examples 49-50.
[0281]
[0252] Example 52. The apparatus of example 51, wherein the apparatus includes a decoder.
[0282]
[0253] Example 53. The apparatus of Example 51, wherein the apparatus is a mobile device.
[0283]
[0254] Example 54. An exemplary device described in any one of Examples 51-53, further comprising a display configured to display video data.
[0284]
[0255] Example 55. An exemplary apparatus as described in any one of Examples 51-54, further comprising a camera configured to capture one or more pictures.
[0285]
[0256] Example 56. An exemplary computer-readable medium having stored thereon instructions that, when executed by a processor, perform the method of any of Examples 49-50.
[0286]
[0257] Example 57. A method for decoding video data, the method comprising: obtaining at least a portion of a picture from a bitstream; determining from the bitstream that weighted prediction is enabled for a portion of the picture; based on the determination that weighted prediction is enabled for the portion of the picture, identifying a zero-valued picture order count offset indicating a reference picture from a reference picture list; and reconstructing at least the portion of the picture using at least the portion of the reference picture identified by the zero-valued picture order count offset.
[0287]
[0258] Example 58. A method as described in Example 57, further comprising obtaining a plurality of portions of a picture from a bitstream, identifying a plurality of corresponding picture order count offsets for the plurality of portions of the picture, the plurality of portions including at least a portion of a picture reconstructed using a reference picture identified by a zero-value picture order count offset, and reconstructing the picture using the plurality of reference pictures identified by the plurality of corresponding picture order count offsets, where the zero-value picture order count offset is a corresponding picture order count offset for a picture among the plurality of corresponding picture order count offsets.
[0288]
[0259] Example 59. The method of Example 57, further comprising determining that weighted prediction is enabled by parsing the bitstream to identify one or more weighted prediction flags for the picture.
[0289]
[0260] Example 60. The method of example 59, in which the one or more weighted prediction flags for a picture comprise a sequence parameter set weighted prediction flag and a picture parameter set weighted prediction flag.
[0290]
[0261] Example 61. The method of example 60, wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for unidirectionally predicted frames.
[0291]
[0262] Example 62. The method of example 60, wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for bidirectionally predicted frames.
[0292]
[0263] Example 63. The method of example 60, in which the picture parameter set weighted prediction flag is constrained by the sequence parameter set weighted prediction flag.
[0264] Example 64. A method as described in Example 57, further comprising obtaining at least a portion of a second picture included in the bitstream, determining from the bitstream that weighted prediction is disabled for the second picture, parsing a syntax element by reconstructing a value of a syntax element of the bitstream indicating a picture order count offset for the second reference picture as a signaled value + 1 based on weighted prediction being disabled for the second picture, and reconstructing the second picture using the reconstructed value of the syntax element.
[0293]
[0265] Example 65. The method described in Example 64, in which the value of the reference picture syntax element specifies the absolute difference between the picture order count value of the second picture and the previous reference picture entry in the reference picture list for the second reference picture as value +1 when weighted prediction is disabled.
[0294]
[0266] Example 66. A method as described in Example 57, wherein a reference picture is associated with a first set of weights and a picture is associated with a second set of weights different from the first set of weights, where the reference picture has a different size than the picture, and where the reference picture is signaled as a short-term reference picture with a picture order count least significant bit value equal to 0.
[0295]
[0267] Example 67. The method of example 57, wherein the picture is a non-instantaneous decoding refresh (non-IDR) picture.
[0296]
[0268] Example 68. The method of example 57, wherein at least a portion of a picture is a slice.
[0297]
[0269] Example 69. A method as described in Example 57, further comprising determining from the bitstream a layer identifier for a reference picture indicating a layer of a layer index for inter-layer prediction, wherein a zero-value picture order count offset is identified by inferring a zero value from the picture order count for an unsignaled reference picture when the layer identifier is different from the current layer identifier.
[0298]
[0270] Example 70. An apparatus comprising a memory configured to store video data and a processor configured to process the video data according to any of Examples 57-69.
[0299]
[0271] Example 71. An apparatus for encoding video data, the apparatus comprising a memory and a processor implemented in a circuit, the processor configured to: identify at least a portion of a picture; select weighted prediction to be enabled for the portion of the picture; identify a reference picture for the portion of the picture; generate a zero-valued picture order count offset indicating the reference picture from the reference picture list; generate a bitstream, the bitstream comprising the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture.
[0300]
[0272] Example 72. A method for encoding video data, the method comprising: identifying at least a portion of a picture; determining that weighted prediction is selected to be enabled for the portion of the picture; identifying a reference picture for the portion of the picture; generating a zero-valued picture order count offset indicating the reference picture from the reference picture list; generating a bitstream, the bitstream comprising the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture. The invention as described in the claims of the present application as originally filed is set forth below. [C1] 1. An apparatus for decoding video data, said apparatus comprising: Memory, a processor implemented in the circuit, the processor comprising: Obtaining at least a portion of a picture contained in a bitstream; determining from the bitstream that weighted prediction is enabled for at least the portion of the picture; identifying a zero-valued picture order count offset indicating a reference picture from a reference picture list based on the determination that weighted prediction is enabled for at least the portion of the picture; and reconstructing at least the portion of the picture using at least the portion of the reference picture identified by the zero-valued picture order count offset. [C2] The processor, obtaining a plurality of portions of the picture from the bitstream, the plurality of portions including at least the portion of the picture reconstructed using the reference picture identified by the zero-valued picture order count offset; identifying a plurality of corresponding picture order count offsets for the plurality of portions of the picture, where the zero-valued picture order count offset is a corresponding picture order count offset among the plurality of corresponding picture order count offsets relative to the reference picture. reconstructing the picture using a plurality of reference pictures identified by the plurality of corresponding picture order count offsets; The apparatus of C1, further configured to: [C3] The apparatus of C1, wherein the processor is further configured to determine that weighted prediction is enabled by parsing the bitstream to identify one or more weighted prediction flags for the picture. [C4] The apparatus of C3, wherein the one or more weighted prediction flags for the portion of the picture comprise a sequence parameter set weighted prediction flag and a picture parameter set weighted prediction flag. [C5] The apparatus of C4, wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for unidirectionally predicted frames. [C6] The apparatus of C4, wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for bidirectionally predicted frames. [C7] The apparatus of C4, wherein the picture parameter set weighted prediction flag is constrained by the sequence parameter set weighted prediction flag. [C8] The processor, obtaining at least a portion of a second picture included in the bitstream; determining from the bitstream that weighted prediction is disabled for the portion of the second picture; determining, based on the determination that weighted prediction is disabled for the portion of the second picture, that a second zero-valued picture order count offset is not enabled to indicate a second reference picture from the reference picture list for the portion of the second picture; The apparatus of C1, further configured to: [C9] The processor, based on the determination that the second zero-value picture order count offset is not enabled and based on the weighted prediction being disabled for the second picture, parsing the syntax element of the bitstream indicating a picture order count offset for the second reference picture by generating a reconstructed value of the syntax element as a signaled value+1; reconstructing the second picture using the reconstructed values of the syntax elements. The apparatus of C8, further configured to: [C10] The apparatus of C8, wherein a value of a reference picture syntax element specifies an absolute difference between a picture order count value of the second picture and a previous reference picture entry in the reference picture list for the second reference picture as a signaled value +1 when weighted prediction is disabled. [C11] the reference picture is associated with a first set of weights and the picture is associated with a second set of weights that is different from the first set of weights; wherein the reference picture has a different size than the picture; wherein the reference picture is signaled as a short-term reference picture with a picture order count least significant bit value equal to 0. The apparatus described in C1. [C12] The apparatus of C1, wherein the picture is a non-instantaneous decoding refresh (non-IDR) picture. [C13] The processor, determining, from the bitstream, a layer identifier for the reference picture that indicates a layer of a layer index for inter-layer prediction; configured to: wherein the zero-value picture order count offset is identified by inferring a zero value from a picture order count for the unsignaled reference picture when the layer identifier is different from a current layer identifier. The apparatus described in C1. [C14] The apparatus of C1, wherein the apparatus comprises a mobile device having a camera coupled to the processor and the memory for capturing and storing the picture. [C15] The apparatus of C1, further comprising a display. [C16] 1. A method for decoding video data, the method comprising: Obtaining at least a portion of a picture from a bitstream; determining from the bitstream that weighted prediction is enabled for the portion of the picture; identifying a zero-valued picture order count offset that indicates a reference picture from a reference picture list based on the determination that weighted prediction is enabled for the portion of the picture; reconstructing at least the portion of the picture using at least the portion of the reference picture identified by the zero-valued picture order count offset; and A method comprising: [C17] obtaining a plurality of portions of the picture from the bitstream, the plurality of portions including at least the portion of the picture reconstructed using the reference picture identified by the zero-valued picture order count offset; identifying a plurality of corresponding picture order count offsets for the plurality of portions of the picture, where the zero-valued picture order count offset is a corresponding picture order count offset for the picture among the plurality of corresponding picture order count offsets. reconstructing the picture using a plurality of reference pictures identified by the plurality of corresponding picture order count offsets; The method of C16, further comprising: [C18] The method of C16, further comprising determining that weighted prediction is enabled by parsing the bitstream to identify one or more weighted prediction flags for the picture. [C19] The method of C18, wherein the one or more weighted prediction flags for the picture comprise a sequence parameter set weighted prediction flag and a picture parameter set weighted prediction flag. [C20] The method of C19, wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for a unidirectionally predicted frame. [C21] The method of C19, wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for a bidirectionally predicted frame. [C22] The method of C19, wherein the picture parameter set weighted prediction flag is constrained by the sequence parameter set weighted prediction flag. [C23] obtaining at least a portion of a second picture included in the bitstream; determining from the bitstream that weighted prediction is disabled for the second picture; parsing a second syntax element of the bitstream indicating a picture order count offset for a second reference picture by generating a reconstructed value of a second syntax element as a signaled value+1 based on the weighted prediction being disabled for the second picture; The method of C16, further comprising: [C24] determining, based on the parsing of the second syntax element, that the zero-value picture order count offset is not enabled; and reconstructing the second picture using the reconstructed value of the second syntax element. The method of C23, further comprising: [C25] The method of C23, wherein a value of a reference picture syntax element specifies an absolute difference between a picture order count value of the second picture and a previous reference picture entry in the reference picture list for the second reference picture as the signaled value + 1 when weighted prediction is disabled. [C26] the reference picture is associated with a first set of weights and the picture is associated with a second set of weights that is different from the first set of weights; wherein the reference picture has a different size than the picture; wherein the reference picture is signaled as a short-term reference picture with a picture order count least significant bit value equal to 0. The method according to C16. [C27] The method of C16, wherein the picture is a non-instantaneous decoding refresh (non-IDR) picture. [C28] The method of C16, wherein at least the portion of the picture is a slice. [C29] determining, from the bitstream, a layer identifier for the reference picture that indicates a layer of a layer index for inter-layer prediction; Further equipped with wherein the zero-value picture order count offset is identified by inferring a zero value from a picture order count for the unsignaled reference picture when the layer identifier is different from a current layer identifier. The method according to C16. [C30] 1. An apparatus for encoding video data, said apparatus comprising: Memory, a processor implemented in the circuit, the processor comprising: Identifying at least a portion of a picture; selecting weighted prediction to be enabled for said portion of said picture; identifying a reference picture for the portion of the picture; generating a zero-valued picture order count offset indicating said reference picture from a reference picture list; generating a bitstream, the bitstream comprising the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture. An apparatus configured to: [C31] 1. A method for encoding video data, the method comprising: Identifying at least a portion of a picture; determining that weighted prediction is selected to be enabled for the portion of the picture; identifying a reference picture for the portion of the picture; generating a zero-valued picture order count offset indicating said reference picture from a reference picture list; generating a bitstream, the bitstream comprising the portion of the picture and the zero-valued picture order count offset associated with the portion of the picture. A method comprising: < / insert> < / insertend> < / insert> < / insertend> < / insert> < / insertend> < / insert> < / insertend> < / insert> < / insertend> < / insert> < / insertend> < / insert> < / insertend> < / insert> < / insertend> < / insert> < / insertend> < / insert>
Claims
1. 1. An apparatus for decoding video data, said apparatus comprising: Memory, a processor implemented in the circuit, the processor comprising: Obtaining at least a portion of a picture contained in a bitstream; determining from the bitstream that weighted prediction is enabled for at least the portion of the picture; identifying a picture order count offset indicating a reference picture from a reference picture list based on the determination that weighted prediction is enabled for at least the portion of the picture, where the picture order count offset may have a zero value indicating that the same reference picture is used for predictions with different weights. reconstructing at least a portion of the picture using at least a portion of the reference picture identified by the picture order count offset; obtaining at least a portion of a second picture included in the bitstream; determining from the bitstream that weighted prediction is disabled for the portion of the second picture; parsing a second syntax element of the bitstream indicating a picture order count offset for a second reference picture by generating a reconstructed value of the syntax element as a signaled value+1 based on the weighted prediction being disabled for the second picture; reconstructing the second picture using the reconstructed values of the syntax elements. An apparatus configured to:
2. The processor, obtaining a plurality of portions of the picture from the bitstream, the plurality of portions including at least the portion of the picture reconstructed using the reference picture identified by the zero-valued picture order count offset; identifying a plurality of corresponding picture order count offsets for the plurality of portions of the picture, where the zero-valued picture order count offset is a corresponding picture order count offset among the plurality of corresponding picture order count offsets relative to the reference picture. reconstructing the picture using a plurality of reference pictures identified by the plurality of corresponding picture order count offsets; The apparatus of claim 1 , further configured to:
3. 2. The apparatus of claim 1, wherein the processor is further configured to determine that weighted prediction is enabled by parsing the bitstream to identify one or more weighted prediction flags for the picture.
4. The apparatus of claim 3 , wherein the one or more weighted prediction flags for the portion of the picture comprise a sequence parameter set weighted prediction flag and a picture parameter set weighted prediction flag.
5. The apparatus of claim 4 , wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for unidirectionally predicted frames.
6. The apparatus of claim 4 , wherein the sequence parameter set weighted prediction flag and the picture parameter set weighted prediction flag are flags for bidirectionally predicted frames.
7. The apparatus of claim 4 , wherein the picture parameter set weighted prediction flag is constrained by the sequence parameter set weighted prediction flag.
8. 2. The apparatus of claim 1, wherein a value of a reference picture syntax element specifies an absolute difference between a picture order count value of the second picture and a previous reference picture entry in the reference picture list for the second reference picture as a signaled value +1 when weighted prediction is disabled.
9. the reference picture is associated with a first set of weights and the picture is associated with a second set of weights that is different from the first set of weights; wherein the reference picture has a different size than the picture; wherein the reference picture is signaled as a short-term reference picture with a picture order count least significant bit value equal to 0.
2. The apparatus of claim 1.
10. The apparatus of claim 1 , wherein the picture is a non-instantaneous decoding refresh (non-IDR) picture.
11. The processor, determining, from the bitstream, a layer identifier for the reference picture that indicates a layer of a layer index for inter-layer prediction; [0023] wherein the zero-value picture order count offset is identified by inferring a zero value from a picture order count for the unsignaled reference picture when the layer identifier is different from a current layer identifier.
2. The apparatus of claim 1.
12. The apparatus of claim 1 , wherein the apparatus comprises a mobile device with a camera coupled to the processor and the memory for capturing and storing the picture, and a display.
13. 1. A method for decoding video data, the method comprising: Obtaining at least a portion of a picture from a bitstream; determining from the bitstream that weighted prediction is enabled for the portion of the picture; identifying a picture order count offset indicating a reference picture from a reference picture list based on the determination that weighted prediction is enabled for the portion of the picture, where the picture order count offset may have a zero value indicating that the same reference picture is used for predictions with different weights; reconstructing at least a portion of the picture using at least a portion of the reference picture identified by the picture order count offset; obtaining at least a portion of a second picture included in the bitstream; determining from the bitstream that weighted prediction is disabled for the second picture; parsing a second syntax element of the bitstream indicating a picture order count offset for a second reference picture by generating a reconstructed value of a second syntax element as a signaled value+1 based on the weighted prediction being disabled for the second picture; reconstructing at least the portion of the second picture using the reconstructed value of the second syntax element; and A method comprising:
14. 1. An apparatus for encoding video data, said apparatus comprising: Memory, a processor implemented in the circuit, the processor comprising: Identifying at least a portion of a picture; selecting weighted prediction to be enabled for said portion of said picture; identifying a reference picture for the portion of the picture; generating a picture order count offset indicating the reference picture from a reference picture list based on a determination that weighted prediction is enabled for the portion of the picture, where a zero value of the picture order count offset indicates that the same reference picture is used for predictions with different weights. Identifying at least a portion of the second picture; selecting weighted prediction to be disabled for the portion of the second picture; generating a second syntax element indicating a picture order count offset −1 for a second reference picture based on the weighted prediction being disabled for the second picture; generating a bitstream, the bitstream comprising the portion of the picture and the picture order count offset associated with the portion of the picture, and the portion of the second picture and the second syntax element associated with the portion of the second picture. An apparatus configured to:
15. 1. A method for encoding video data, the method comprising: Identifying at least a portion of a picture; selecting that weighted prediction is enabled for the portion of the picture; and identifying a reference picture for the portion of the picture; generating a picture order count offset indicating the reference picture from a reference picture list based on a determination that weighted prediction is enabled for the portion of the picture, where a zero value of the picture order count offset indicates that the same reference picture is used for predictions with different weights. Identifying at least a portion of the second picture; selecting weighted prediction to be disabled for the portion of the second picture; generating a second syntax element indicating a picture order count offset −1 for a second reference picture based on the weighted prediction being disabled for the second picture; generating a bitstream, the bitstream comprising the portion of the picture and the picture order count offset associated with the portion of the picture, the portion of the second picture and the second syntax element; A method comprising:
Citation Information
Patent Citations
Decoding method and decoder
JP2018007279A
Weighted prediction for screen content coding and multi-layer coding
JP2019509669A
Weighted prediction for screen content coding and multi-layer coding
WO2017143211A1
