System and method for signaling reference picture in video coding

By signaling a reference picture list and parsing syntax elements and indexes, the video encoding and decoding process is simplified, the problem of large video transmission bandwidth usage is solved, and the performance of the video distribution system is improved.

CN118632031APending Publication Date: 2024-09-10SHARP KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410906688.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2019-03-25
Filing Date
2019-12-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing video coding technology occupies a large bandwidth when transmitting video data, which affects system performance. Especially when sending signals to notify reference pictures, there is a lack of efficient methods to reduce bandwidth requirements.

Method used

The process of constructing and transmitting a reference picture set is simplified by signaling a list of reference pictures, using a processor to decode and generate video data, including parsing syntax elements and indexes to derive a list of candidate reference pictures, and then generating video data.

Benefits of technology

It reduces the bandwidth requirements for video transmission, improves the performance of video distribution systems, and is suitable for various video coding standards, including ITU-T H.264, ITU-T H.265, JVET-J1001 and JVET-K1001.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632031A_ABST
    Figure CN118632031A_ABST
Patent Text Reader

Abstract

According to an aspect of the present disclosure, a method for signaling a reference picture in video coding is disclosed. The method comprises the following steps: decoding the number of entries in a reference picture list syntax structure; if the number of entries is greater than one, decoding the number of reference index active minus one syntax in the slice header; and deriving an activity variable by subtracting the number of syntax using the reference index activity.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the Chinese patent application "System and method for signaling reference images in video encoding" (application number: 201980081108.9) with a filing date of December 10, 2019. Technical Field

[0002] The present disclosure relates to video coding, and more particularly to techniques for signaling reference pictures for encoded video. Background Art

[0003] Digital video capabilities can be incorporated into various devices, including digital televisions, laptop or desktop computers, tablet computers, digital recording devices, digital media players, video game devices, cellular phones (including so-called smart phones), medical imaging devices, etc. Digital video can be encoded according to a video coding standard. Video coding standards can be combined with video compression technology. Examples of video coding standards include ISO / IEC MPEG-4Visual and ITU-T H.264 (also known as ISO / IEC MPEG-4AVC) and High Efficiency Video Coding (HEVC). HEVC is described in High Efficiency Video Coding (HEVC) of the ITU-T H.265 Recommendation in December 2016, which is incorporated herein by reference and is referred to as ITU-TH.265 in this article. ITU-T H.265 is currently being considered for expansion and improvement to develop the next generation of video coding standards. For example, the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG) (collectively referred to as the Joint Video Study Group (JVET)) are studying the potential need for standardization of future video coding technologies with compression capabilities significantly exceeding the current HEVC standard. The Joint Exploration Model 7 (JEM 7), algorithm description of the Joint Exploration Test Model 7 (JEM 7), ISO / IEC JTC1 / SC29 / WG11 document: JVET-G1001 (July 2017, Torino, Italy) incorporated herein by reference, describes the coding features under the Joint Test Model study by JVET, which is a potential enhanced video coding technology beyond the capabilities of ITU-T H.265. It should be noted that the coding features of JEM 7 are implemented in the JEM reference software. As used herein, the term JEM may refer collectively to the algorithms included in JEM 7 and the specific implementation of the JEM reference software. In addition, in response to the "Joint Call for Proposals on Video Compression with Capabilities beyond HEVC" jointly issued by VCEG and MPEG, at the 10th meeting of ISO / IEC JTC1 / SC29 / WG11 held in San Diego, California, from April 16 to 20, 2018, various groups proposed various descriptions of video coding.As a result of multiple descriptions of video coding, a draft text of a video coding specification is described in "Versatile Video Coding (Draft 1)", document JVET-J1001-v2, at the 10th meeting of ISO / IEC JTC1 / SC29 / WG11, held in San Diego, California, from April 16 to 20, 2018, which is incorporated herein by reference and is referred to as JVET-J1001. "Versatile Video Coding (Draft 2)", document JVET-K1001-v5, at the 11th meeting of ISO / IEC JTC1 / SC29 / WG11, held in Ljubljana, SI, from July 10 to 18, 2018, which is incorporated herein by reference and is referred to as JVET-K1001, is an update of JVET-J1001.

[0004] Video compression techniques reduce the data requirements for storing and transmitting video data by exploiting the inherent redundancy in video sequences. Video compression techniques can subdivide video sequences into successively smaller parts (i.e., groups of frames within a video sequence, frames within a group of frames, slices within a frame, coding tree units (e.g., macroblocks) within a slice, coding blocks within a coding tree unit, etc.). Intra-frame prediction coding techniques (e.g., within a picture (space)) and inter-frame prediction techniques (i.e., between pictures (time)) can be used to generate the difference between the video data unit to be encoded and the reference unit of the video data. The difference can be referred to as residual data. The residual data can be encoded as quantized transform coefficients. Syntax elements can involve residual data and reference coding units (e.g., intra-frame prediction mode indexes, motion vectors, and block vectors). The residual data and syntax elements can be entropy encoded. Entropy-encoded residual data and syntax elements can be included in a compatible bitstream. The compatible bitstream and associated metadata can be formatted according to the data structure. Summary of the invention

[0005] In one example, a method for decoding video data includes: decoding the number of entries in a reference picture list syntax structure; if the number of entries is greater than one, decoding the number of reference index activity minus one syntax in a slice header; and deriving an activity variable by using the number of reference index activity minus one syntax. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] [ Figure 1 ] Figure 1 is a block diagram illustrating an example of a system that may be configured to encode and decode video data in accordance with one or more techniques of this disclosure.

[0007] [ Figure 2 ] Figure 2 is a conceptual diagram illustrating encoded video data and corresponding data structures in accordance with one or more techniques of this disclosure.

[0008] [ Figure 3 ] Figure 3 is a conceptual diagram illustrating a data structure that encapsulates encoded video data and corresponding metadata in accordance with one or more techniques of this disclosure.

[0009] [ Figure 4 ] Figure 4 is a conceptual diagram illustrating an example of components that may be included in an implementation of a system that may be configured to encode and decode video data in accordance with one or more techniques of this disclosure.

[0010] [ Figure 5 ] Figure 5 is a block diagram illustrating an example of a video encoder that may be configured to encode video data in accordance with one or more techniques of this disclosure.

[0011] [ Figure 6 ] Figure 6 is a block diagram illustrating an example of a video decoder that may be configured to decode video data in accordance with one or more techniques of this disclosure. DETAILED DESCRIPTION

[0012] In general, the present disclosure describes various techniques for encoding video data. Specifically, the present disclosure describes techniques for signaling reference pictures of encoded videos. Signaling reference pictures according to the techniques described herein may be particularly useful for improving video distribution system performance by reducing transmission bandwidth. It should be noted that although the techniques of the present disclosure are described with respect to ITU-T H.264, ITU-TH.265, JVET-J1001, and JVET-K1001, the techniques of the present disclosure may be generally applicable to video coding. For example, the coding techniques described herein may be incorporated into video coding systems (including video coding systems based on future video coding standards), including block structures, intra-frame prediction techniques, inter-frame prediction techniques, transform techniques, filtering techniques, and / or entropy coding techniques, which are different from those included in ITU-T H.265. Therefore, references to ITU-T H.264, ITU-T H.265, JVET-J1001, and JVET-K1001 are for descriptive purposes and should not be interpreted as limiting the scope of the techniques described herein. In addition, it should be noted that the incorporation of documents by reference herein should not be interpreted as limiting or creating ambiguity with respect to the terms used herein. For example, where a definition of a term provided in an incorporated reference differs from that provided in another incorporated reference and / or as used herein, the term should be interpreted in a manner that broadly includes each corresponding definition and / or in a manner that includes each specific definition in alternatives.

[0013] In one example, a method of signaling a reference picture list includes signaling one or more candidate reference picture lists in a parameter set, and signaling an index of one of the candidate reference picture lists in a header associated with a picture region.

[0014] In one example, a device includes one or more processors configured to signal one or more candidate reference picture lists in a parameter set and to signal an index of one of the candidate reference picture lists in a header associated with a picture region.

[0015] In one example, a non-transitory computer-readable storage medium includes instructions stored thereon that, when executed, cause one or more processors of a device to signal one or more candidate reference picture lists in a parameter set and to signal an index of one of the candidate reference picture lists in a header associated with a picture region.

[0016] In one example, an apparatus includes means for signaling one or more candidate reference picture lists in a parameter set, and means for signaling an index of one of the candidate reference picture lists in a header associated with a region of a picture.

[0017] In one example, a method for decoding video data includes: parsing one or more syntax elements included in a parameter set, the syntax elements indicating one or more candidate reference picture lists; parsing an index from a header associated with a picture region, the index indicating one of the candidate reference picture lists; and generating video data based on the indicated candidate reference picture list.

[0018] In one example, a device includes one or more processors configured to: parse one or more syntax elements included in a parameter set, the syntax elements indicating one or more candidate reference picture lists; parse an index from a header associated with a picture region, the index indicating one of the candidate reference picture lists; and generate video data based on the indicated candidate reference picture list.

[0019] In one example, a non-transitory computer-readable storage medium includes instructions stored thereon that, when executed, cause one or more processors of a device to: parse one or more syntax elements included in a parameter set that indicate one or more candidate reference picture lists; parse an index from a header associated with a picture region that indicates one of the candidate reference picture lists; and generate video data based on the indicated candidate reference picture list.

[0020] In one example, an apparatus includes means for parsing one or more syntax elements included in a parameter set, the syntax elements indicating one or more candidate reference picture lists; means for parsing an index from a header associated with a picture region, the index indicating one of the candidate reference picture lists; and means for generating video data based on the indicated candidate reference picture list.

[0021] The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.

[0022] Video content typically includes a video sequence consisting of a series of frames. A series of frames may also be referred to as a group of pictures (GOP). Each video frame or picture may include one or more slices, wherein a slice includes multiple video blocks. A video block includes an array of pixel values ​​(also referred to as samples) that can be predictively encoded. Video blocks may be sorted according to a scanning mode (e.g., raster scanning). The video encoder performs predictive coding on video blocks and their sub-partitions. ITU-T H.264 specifies macroblocks including 16×16 luminance samples. ITU-TH.265 specifies a similar coding tree unit (CTU) structure (which may be referred to as a maximum coding unit (LCU)), wherein a picture may be partitioned into CTUs of the same size, and each CTU may include a coding tree block (CTB) having 16×16, 32×32, or 64×64 luminance samples. As used herein, the term "video block" may generally refer to an area of ​​a picture, or may more specifically refer to a maximum array of pixel values ​​that may be predictively encoded, its sub-partitions, and / or corresponding structures. Furthermore, according to ITU-T H.265, each video frame or picture may be divided into one or more tiles, where a tile is a sequence of coding tree units corresponding to a rectangular area of ​​the picture.

[0023] In ITU-T H.265, a CTU consists of a corresponding CTB for each component of the video data, for example, luma (Y) and chroma (Cb and Cr). In addition, in ITU-T H.265, a CTU can be divided according to a quadtree (QT) partitioning structure, which causes the CTB of a CTU to be divided into coding blocks (CBs). That is, in ITU-T H.265, a CTU can be divided into quadtree leaf nodes. According to ITU-TH.265, a luma CB together with two corresponding chroma CBs and associated syntax elements is referred to as a coding unit (CU). In ITU-T H.265, a signal can be sent to notify the minimum allowed size of a CB. In ITU-TH.265, the minimum allowed minimum size of a luma CB is 8×8 luma samples. In ITU-T H.265, the decision to encode a picture area using intra prediction or inter prediction is made at the CU level.

[0024] In ITU-T H.265, a CU is associated with a prediction unit (PU) structure having its root at the CU. In ITU-T H.265, the PU structure allows the partitioning of luma CB and chroma CB to generate corresponding reference samples. That is, in ITU-T H.265, the luma CB and chroma CB can be partitioned into corresponding luma and chroma prediction blocks (PBs), where the PBs include blocks of sample values ​​to which the same prediction is applied. In ITU-T H.265, the CB can be divided into 1, 2, or 4 PBs. ITU-T H.265 supports PB sizes from 64×64 samples down to 4×4 samples. In ITU-T H.265, square PBs are supported for intra prediction, where the CBs can form a PB, or the CBs can be partitioned into four square PBs (i.e., the intra prediction PB size types include M×M or M / 2×M / 2, where M is the height and width of the square CB). In ITU-T H.265, in addition to square PBs, rectangular PBs are also supported for inter prediction, where the CB can be halved vertically or horizontally to form a PB (i.e., inter prediction PB types include M×M, M / 2×M / 2, M / 2×M, or M×M / 2). In addition, it should be noted that in ITU-T H.265, for inter prediction, four asymmetric PB partitions are supported, where the CB is divided into two PBs at one quarter of the height (top or bottom) or width (left or right) of the CB (i.e., asymmetric partitions include M / 4×M left, M / 4×M right, M×M / 4 top, and M×M / 4 bottom). Intra prediction data (e.g., intra prediction mode syntax elements) or inter prediction data (e.g., motion data syntax elements) corresponding to the PB are used to generate reference and / or prediction sample values ​​for the PB.

[0025] JEM specifies a CTU with a maximum size of 256×256 luma samples. JEM specifies a quadtree plus binary tree (QTBT) block structure. In JEM, the QTBT structure allows the quadtree leaf nodes to be further divided by the binary tree (BT) structure. That is, in JEM, the binary tree structure allows the quadtree leaf nodes to be recursively divided vertically or horizontally. Therefore, the binary tree structure in JEM implements square and rectangular leaf nodes, each of which includes a CB. Figure 2 As shown, a picture included in a GOP may include slices, each slice including a CTU sequence, and each CTU may be divided according to a QTBT structure. In JEM, CB is used for prediction without any further division. That is, in JEM, CB may be a block of sample values ​​to which the same prediction is applied. Therefore, the JEM QTBT leaf node may be similar to the PB in ITU-T H.265.

[0026] Intra-prediction data (e.g., intra-prediction mode syntax elements) or inter-prediction data (e.g., motion data syntax elements) may associate the PU with corresponding reference samples. The residual data may include a corresponding difference value array corresponding to each component of the video data (e.g., luma (Y) and chroma (Cb and Cr)). The residual data may be in the pixel domain. A transform such as a discrete cosine transform (DCT), a discrete sine transform (DST), an integer transform, a wavelet transform, or a conceptually similar transform may be applied to the pixel difference values ​​to generate transform coefficients. It should be noted that in ITU-T H.265, a CU may be further subdivided into transform units (TUs). That is, in order to generate transform coefficients, the array of pixel difference values ​​may be subdivided (e.g., four 8×8 transforms may be applied to a 16×16 residual value array corresponding to a 16×16 luma CB), and such sub-partitions may be referred to as transform blocks (TBs). The transform coefficients may be quantized according to a quantization parameter (QP). The quantized transform coefficients (which may be referred to as bit values) may be entropy encoded according to an entropy coding technique (e.g., content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), probability interval partitioning entropy coding (PIPE), etc.). In addition, syntax elements (such as syntax elements indicating a prediction mode) may also be entropy encoded. The entropy-encoded quantized transform coefficients and the corresponding entropy-encoded syntax elements may form a compatible bitstream that may be used to reproduce video data. As part of the entropy encoding process, binarization may be performed on the syntax elements. Binarization refers to the process of converting syntax values ​​into a sequence of one or more bits. These bits may be referred to as "bins."

[0027] As described above, intra prediction data or inter prediction data is used to generate reference sample values ​​of a block of sample values. The difference between the sample values ​​included in the current PB or another type of picture area structure and the associated reference samples (e.g., those generated using prediction) can be referred to as residual data. As described above, intra prediction data or inter prediction data can associate a region of a picture (e.g., PB or CB) with a corresponding reference sample. For intra prediction coding, an intra prediction mode may specify the position of a reference sample within a picture. In ITU-T H.265, the possible intra prediction modes defined include a plane (i.e., surface fitting) prediction mode (predMode:0), a DC (i.e., flat overall average) prediction mode (predMode:1), and 33 angle prediction modes (predMode:2-34). In JEM, the possible intra prediction modes defined include a plane prediction mode (predMode:0), a DC prediction mode (predMode:1), and 65 angle prediction modes (predMode:2-66). It should be noted that planar prediction mode and DC prediction mode may be referred to as non-directional prediction modes, and angular prediction mode may be referred to as directional prediction mode.It should be noted that the techniques described herein may be generally applicable regardless of the number of possible prediction modes defined.

[0028] For inter-frame prediction coding, a motion vector (MV) identifies a reference sample in a previously coded picture (i.e., a picture available when decoding or encoding the current picture) for encoding the current video block in the current picture, thereby exploiting temporal redundancy in the video. For example, the current video block can be predicted from a reference block located in a previously coded picture, and a motion vector can be used to indicate the location of the reference block. The motion vector and associated data may describe, for example, the horizontal component of the motion vector, the vertical component of the motion vector, the resolution of the motion vector (e.g., quarter-pixel precision, half-pixel precision, one-pixel precision, two-pixel precision, four-pixel precision), the prediction direction, and / or the reference picture index value. In addition, coding standards such as ITU-T H.265 may support motion vector prediction. Motion vector prediction allows the motion vector to be specified to use the motion vectors of neighboring blocks. Examples of motion vector prediction include advanced motion vector prediction (AMVP), temporal motion vector prediction (TMVP), the so-called "merge" mode, and "skip" and "direct" motion inference. In addition, JEM supports Advanced Temporal Motion Vector Prediction (ATMVP), Spatial-Temporal Motion Motion Vector Prediction (STMVP), Pattern Matching Motion Vector Derivation (PMMVD) mode, which is a special merge mode based on the Frame Rate Up-Conversion (FRUC) technology, and affine transform motion compensated prediction.

[0029] The residual data may include a corresponding difference array corresponding to each component of the video data. The residual data may be in the pixel domain. A transform such as a discrete cosine transform (DCT), a discrete sine transform (DST), an integer transform, a wavelet transform, or a conceptually similar transform may be applied to the difference array to generate transform coefficients. In ITU-T H.265, a CU is associated with a transform unit (TU) structure having its root at the CU level. That is, in ITU-T H.265, as described above, in order to generate transform coefficients, the array of difference values ​​may be subdivided (for example, four 8×8 transforms may be applied to a 16×16 residual value array). It should be noted that in ITU-T H.265, TB is not necessarily aligned with PB.

[0030] It should be noted that in JEM, the residual values ​​corresponding to CB are used to generate transform coefficients without further partitioning. That is, in JEM, the QTBT leaf node can be similar to both PB and TB in ITU-T H.265. It should be noted that in JEM, a core transform and a subsequent secondary transform can be applied (in a video encoder) to generate transform coefficients. For a video decoder, the order of transforms is reversed. In addition, in JEM, whether a secondary transform is applied to generate transform coefficients may depend on the prediction mode.

[0031] A quantization process may be performed on the transform coefficients. Quantization approximates the transform coefficients by limiting the amplitude to a specified set of values. Quantization may be used to change the amount of data required to represent a set of transform coefficients. Quantization may be achieved by dividing the transform coefficients by a scaling factor and any associated rounding function (e.g., rounding to the nearest integer). The quantized transform coefficients may be referred to as coefficient level values. Inverse quantization (or "dequantization") may include multiplying the coefficient level values ​​by the scaling factor. It should be noted that, as used herein, the term quantization process may in some cases refer to dividing by a scaling factor to generate a level value, or in some cases may refer to multiplying by a scaling factor to recover the transform coefficients. That is, the quantization process may in some cases refer to quantization, and in some cases may refer to inverse quantization.

[0032] For the formulas used in this article, the following arithmetic operators can be used:

[0033] +Addition

[0034] - Subtraction

[0035] * Multiplication, including matrix multiplication

[0036] x y Exponentiation. Raises x to the power of y. In other contexts, such symbols are used for superscripts and are not intended to be interpreted as exponentiation.

[0037] / Integer division truncates the result toward zero. For example, 7 / 4 and -7 / -4 are truncated to 1, and -7 / 4 and 7 / -4 are truncated to -1.

[0038] Used to represent division in mathematical formulas without the intent to truncate or round.

[0039] Used to represent division in mathematical formulas without the intent to truncate or round.

[0040] Additionally, the following math functions are available:

[0041] Log2(x) is the logarithm of x with base 2;

[0042]

[0043] Ceil(x) is the smallest integer greater than or equal to x.

[0044] With respect to the exemplary syntax used herein, the following definitions of logical operators may be applied:

[0045] x&&y Boolean logical "AND" of x and y

[0046] x||y Boolean logical OR of x and y

[0047] ! Boolean logic "NO"

[0048] x? y:z If x is TRUE or not equal to 0, it evaluates to y; otherwise, it evaluates to z.

[0049] Additionally, the following relational operators can be applied:

[0050] > greater than

[0051] ≥ greater than or equal to

[0052] <

[0053] ≤Less than or equal to

[0054] == is equal to

[0055] ! = not equal to

[0056] Furthermore, it should be noted that among the syntax descriptors used in this document, the following descriptors may be applied:

[0057] -b(8): Byte (8 bits) with any bit string pattern. The parsing of this descriptor is specified by the return value of the function read_bit(8).

[0058] -f(n): A fixed-mode bit string written using n bits (from left to right) starting from the leftmost bit. The parsing process of this descriptor is specified by the return value of the function read_bit(n).

[0059] -u(n): Use n-bit unsigned integers.

[0060] -ue(v): unsigned integer 0th order Exp-Golomb coded syntax element, starting from the leftmost bit.

[0061] As described above, according to ITU-T H.265, each video frame or picture may be divided into one or more slices, and further partitioned into one or more tiles. Figure 2 is a conceptual diagram showing an example of a picture group including slices. Figure 2 In the example shown, Pic 3 is shown as including two slices (ie, slice 1 and slices 2 ), where each slice comprises a sequence of CTUs (e.g., arranged in raster scan order). It should be noted that a slice is a sequence of one or more slice segments starting from an independent slice segment and including all subsequent dependent slice segments (if any) before the next independent slice segment (if any) within the same access unit. Slice segments (such as slices) are sequences of coding tree units. In the examples described herein, in some cases, the terms slice and slice segment are used interchangeably to indicate a sequence of coding tree units. It should be noted that in ITU-T H.265, a tile may be composed of coding tree units contained in more than one slice, and a slice may be composed of coding tree units contained in more than one tile. However, ITU-T H.265 provides that one or both of the following conditions should be met: (1) all coding tree units in a slice belong to the same tile; and (2) all coding tree units in a tile belong to the same slice. Tile sets can be used to define boundaries for coding dependencies (e.g., intra-frame prediction dependencies, entropy coding dependencies, etc.), and thus parallelism can be enabled in encoding.

[0062] In ITU-T H.265, a coded video sequence (CVS) can be encapsulated (or structured) as a series of access units, each of which includes video data configured as a network abstraction layer (NAL) unit. In ITU-T H.265, a bitstream is described as including a sequence of NAL units forming one or more CVSs. It should be noted that ITU-T H.265 supports multi-layer extensions, including format range extension (RExt), scalability (SHVC), multi-view (MV-HEVC) and 3-D (3D-HEVC). Multi-layer extensions enable video presentation to include a base layer and one or more additional enhancement layers. For example, a base layer can enable a video presentation with a basic quality level (e.g., high-definition presentation), and an enhancement layer can enable a video presentation with an enhanced quality level (e.g., ultra-high-definition rendering). In ITU-T H.265, an enhancement layer can be encoded by referring to a base layer. That is, for example, a picture in an enhancement layer can be encoded (e.g., using inter-frame prediction techniques) by referring to one or more pictures in the base layer (including a scaled version thereof). In ITU-T H.265, each NAL unit may include an identifier indicating the video data layer to which the NAL unit is associated. It should be noted that sub-bitstream extraction may refer to a process in which a device receiving a compatible bitstream forms a new compatible bitstream by discarding and / or modifying data in the received bitstream. For example, sub-bitstream extraction may be used to form a new compatible bitstream corresponding to a specific representation (e.g., a high-quality representation) of a video.

[0063] refer to Figure 2 The example shown in Pic 3 Each video data slice (i.e., slice 1 slice 2) is shown as encapsulated in a NAL unit. In ITU-T H.265, each of a video sequence, a GOP, a picture, a slice, and a CTU may be associated with metadata describing video coding attributes. ITU-T H.265 defines parameter sets that may be used to describe video data and / or video coding attributes. In ITU-T H.265, parameter sets may be encapsulated as a special type of NAL unit, or may be signaled as a message. A NAL unit including coded video data (e.g., a slice) may be referred to as a VCL (video coding layer) NAL unit, and a NAL unit including metadata (e.g., a parameter set) may be referred to as a non-VCL NAL unit. In addition, ITU-T H.265 enables supplemental enhancement information (SEI) messages to be signaled. In ITU-T H.265, SEI messages assist processes related to decoding, display, or other purposes, however, SEI messages may not be required to construct luminance or chrominance samples through a decoding process. In ITU-T H.265, SEI messages may be signaled in the bitstream using non-VCL NAL units. In addition, SEI messages may be transmitted in a manner other than being present in the bitstream (ie, signaled out-of-band).

[0064] Figure 3 An example of a bitstream including a plurality of CVSs is shown, wherein the CVSs are represented by NAL units included in corresponding access units. Figure 3 In the example shown, the non-VCL NAL unit includes corresponding parameter set units (i.e., video parameter set (VPS), sequence parameter set (SPS), and picture parameter set (PPS) units) and access unit delimiter NAL units. ITU-T H.265 defines NAL unit header semantics, which specifies the type of raw byte sequence payload (RBSP) data structure included in the NAL unit.

[0065] As described above, for inter-frame prediction coding, reference samples in a previously encoded picture are used to encode a video block in the current picture. A previously encoded picture that can be used as a reference when encoding the current picture is called a reference picture. It should be noted that the decoding order does not necessarily correspond to the picture output order, that is, the temporal order of pictures in a video sequence. In ITU-T H.265, when a picture is decoded, it is stored in a decoded picture buffer (DPB) (which may be called a frame buffer, a reference buffer, a reference picture buffer, etc.). In ITU-T H.265, pictures stored in the DPB are removed from the DPB when they are output and are no longer needed for encoding subsequent pictures. In ITU-T H.265, the determination of whether the picture should be removed from the DPB is called once for each picture after decoding the slice header, that is, at the beginning of decoding the picture. For example, the reference Figure 2 , Pic 3 Shown as a reference Pic 2 . Similarly, Pic 4 Shown as a reference Pic 1 .about Figure 2 , assuming the number of pictures corresponds to the decoding order, the DPB will be filled as follows: 1 After that, DPB will include {Pic 1}; In decoding Pic 2 Initially, the DPB will include {Pic 1}; In decoding Pic 2 After that, DPB will include {Pic 1 ,Pic 2}; In decoding Pic 3 Initially, the DPB will include {Pic 1 ,Pic 2 Then, refer to Pic 2 Decoding Pic 3 , and in decoding Pic 3 After that, DPB will include {Pic 1 ,Pic 2 ,Pic 3}. In decoding Pic 4 At the beginning, the picture Pic 2 and Pic 3 will be marked for removal from the DPB as they are not decoded Pic 4 (or any subsequent pictures, not shown) required, and assuming that Pic 2 and Pic 3 has been exported, the DPB will be updated to include {Pic 1}. Then the reference Pic will be used 1 Pic 4 The process of marking pictures to remove them from the DPB may be referred to as reference picture set (RPS) management.

[0066] In ITU-T H.265, the RPS of the current picture consists of five RPS lists: RefPicSetStCurrBefore, RefPicSetStCurrAfter, RefPicSetStFoll, RefPicSetLtCurr, and RefPicSetLtFoll. RefPicSetStCurrBefore, RefPicSetStCurrAfter, and RefPicSetStFoll are collectively referred to as short-term RPS. RefPicSetLtCurr and RefPicSetLtFoll are collectively referred to as long-term RPS. It should be noted that in ITU-T H.265, RefPicSetStCurrBefore, RefPicSetStCurrAfter, and RefPicSetLtCurr contain all reference pictures that can be used for inter-frame prediction of the current picture and one or more pictures following the current picture in decoding order. RefPicSetStFoll and RefPicSetLtFoll consist of all reference pictures that are not used for inter-frame prediction of the current picture but can be used for inter-frame prediction of one or more pictures following the current picture in decoding order. ITU-T H.265 provides a situation where each coded picture is associated with a picture order count variable (denoted as PicOrderCntVal). In ITU-T H.265, the picture order count is used to identify pictures. In ITU-T H.265, in a CVS, the PicOrderCntVal value of each coded picture in the coded pictures is unique. In addition, in ITU-T H.265, the picture order count provides the relative output order of the pictures included in the CVS (i.e., from the decoded picture buffer, for example for display) (i.e., pictures with lower picture order counts are output before pictures with higher picture order counts). In ITU-T H.265, the value of PicOrderCntVal is between -2 31 to 2 31 ITU-T H.265 provides a syntax to explicitly identify which pictures are to be included in the RPS, rather than implicitly indicating which pictures are to be included in the RPS by identifying which pictures are to be removed from the DPB.

[0067] As mentioned above, ITU-T H.265 provides two general types of reference picture sets: long-term reference picture sets and short-term reference picture sets. Therefore, ITU-T H.265 provides the following cases where pictures in the DPB are marked: "not used for reference", "used for short-term reference" or "used for long-term reference". In ITU-TH.265, short-term reference pictures are identified by their PicOrderCntVal value, and long-term reference pictures are identified by their PicOrderCntVal value or their slice_pic_order_cnt_lsb value (described below). ITU-T H.265 also provides a case where the following five picture order count value lists are constructed to derive RPS: PocStCurrBefore, PocStCurrAfter, PocStFoll, PocLtCurr and PocLtFoll. The construction of PocStCurrBefore, PocStCurrAfter, PocStFoll, PocLtCurr and PocLtFoll is described in more detail below.

[0068] In ITU-T H.265, a long-term RPS set may be signaled in the SPS. Additionally, in ITU-T, a candidate short-term RSP set may be signaled in the SPS. Additionally, one of the candidate short-term RSPs may be indicated by signaling an index of one of the SPS candidate RSPs in the slice segment header. Additionally, the short-term RPS may be signaled directly in the slice segment header.

[0069] Table 1 shows the portion of the sequence parameter set in ITU-T H.265 related to indicating a reference picture set.

[0070] seq_parameter_set(){ Descriptors … num_short_term_ref_pic_sets ue(v) for(i=0;i<num_short_term_ref_pic_sets;i++) st_ref_pic_set(i) long_term_ref_pic_present_flag u(l) if(long_term_ref_pics_present_flag){ num_long_term_ref_pic_sps ue(v) for(i=0;i<num_long_term_ref_pic_sets;i++) lt_ref_pic_poc_lsb_sps[i] u(v) used_by_curr_pic_lt_sps_flag[i] u(l) } } …

[0071] Table 1

[0072] ITU-T H.265 provides the following definitions for the corresponding syntax elements shown in Table 1.

[0073] num_short_term_ref_pic_sets specifies the number of st_ref_pic_set() syntax structures included in the SPS. The value of num_short_term_ref_pic_sets shall be in the range of 0 to 64 (inclusive), long_term_ref_pics_present_flag equal to 0 specifies that no long-term reference pictures are used for inter prediction of any coded picture in the CVS. long_term_ref_pics_present_flag equal to 1 specifies that long-term reference pictures may be used for inter prediction of one or more coded pictures in the CVS.

[0074] num_long_term_ref_pics_sps specifies the number of candidate long-term reference pictures specified in the SPS. The value of num_long_term_ref_pics_sps shall be in the range of 0 to 32, inclusive.

[0075] lt_ref_pic_poc_lsb_sps[i] specifies the picture order count modulo MaxPicOrderCntLsb of the i-th candidate long-term reference picture specified in the SPS. The number of bits used to represent lt_ref_pic_poc_lsb_sps[i] is equal to log2_max_pic_order_cnt_lsb_minus4+4.

[0076] used_by_curr_pic_lt_sps_flag[i] equal to 0 specifies that the i-th candidate long-term reference picture specified in the SPS is not included in its long-term reference picture set (RPS).

[0077] The pictures of candidate long-term reference pictures are used as references.

[0078] Regarding st_ref_pic_set(i), Table 2 shows the syntax of st_ref_pic_set(i) provided in ITU-T H.265.

[0079] St_ref_pic_set(stRpsIdx){ Descriptors if (stRpsIdx!=0) inter_ref_pic_set_prediction_flag u(l) if(inter ref_pic set_prediction flag){ if(stRpsIdx==num_short_term_ref_pic sets) deltaidxminus1 ue(v) delta_rps_sign u(l) absdeltarpsminus1 ue(v) for(j=0;j<=NumDeltaPocsf RefRpsIdx];j++){ used_by_currjpic_flag[j] u(l) if(!used_by_curr_pic_flag[j]) use_delta_flag[j] u(l) } }else{ num_negative_pics ue(v) num_positive_pics ue(v) for(i=0;i<num_negative_pics;i++){ delta_poc_sO_minus1[i] ue(v) used_by_curr_pic_sO_flag[i] u(l) } for(i=0;i<num_positive_pics;i++){ delta_poc_sl_minus1[i] ue(v) used_by_curr_pic_sl_flag[i] u(l) } } }

[0080] Table 2

[0081] ITU-T H.265 provides the following definitions for the corresponding syntax elements shown in Table 2.

[0082] inter_ref_pic_set_prediction_flag equal to 1 specifies that the stRpsIdx-th candidate short-term RPS is predicted by another candidate short-term RPS, which is referred to as the source candidate short-term RPS. When inter_ref_pic_set_prediction_flag is not present, it is inferred to be equal to 0.

[0083] delta_idx_minus1 plus 1 specifies the difference between the value of stRpsIdx and the index of the source candidate short-term RPS in the candidate short-term RPS list specified in the SPS. The value of delta_idx_minus1 should be in the range of 0 to stRpsIdx-1, inclusive. When delta_idx_minus1 is not present, it is inferred to be equal to 0.

[0084] The variable RefRpsIdx is derived as follows:

[0085] RefRpsIdx=stRpsIdx-(delta_idx_minus1+1)

[0086] delta_rps_sign and abs_delta_rps_minus1 together specify the value of the variable deltaRps as follows:

[0087] deltaRps=(1-2*delta_rps_sign)*(abs_delta_rps_minus1+1)

[0088] The variable deltaRps represents the value to be added to the picture order count difference of the source candidate short-term RPS to obtain the picture order count difference of the stRpsIdx-th candidate short-term RPS. The value of abs_delta_rps_minus1 should be between 0 and 2. 15 -1 (including the end value).

[0089] used_by_curr_pic_flag[j] equal to 0 specifies that the j-th entry in the source candidate short-term RPS is not used as a reference by the current picture.

[0090] use_delta_flag[j] equal to 1 specifies that the jth entry in the source candidate short-term RPS is included in the stRpsIdx-th candidate short-term RPS. use_delta_flag[j] equal to 0 specifies that the jth entry in the source candidate short-term RPS is not included in the stRpsIdx-th candidate short-term RPS.

[0091] When absent, its value is inferred to be 1.

[0092] When inter_ref_pic_set_prediction_flag is equal to 1, the variables DeltaPocS0[stRpsIdx][i], UsedByCurrPicS0[stRpsIdx][i], NumNegativePics[stRpsIdx], DeltaPocS1[stRpsIdx][i], UsedByCurrPicS1[stRpsIdx][i], and NumPositivePics[stRpsIdx] are derived as follows:

[0093]

[0094] num_negative_pics specifies the number of entries in the stRpsIdx-th candidate short-term RPS whose picture order count value is less than the picture order count value of the current picture. When nuh_layer_id of the current picture is equal to 0, the value of num_negative_pics shall be in the range of 0 to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1], inclusive.

[0095] num_positive_pics specifies the number of entries in the stRpsIdx-th candidate short-term RPS whose picture order count is greater than the picture order count of the current picture. When nuh_layer_id of the current picture is equal to 0, the value of num_positive_pics shall be in the range of 0 to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1] - num_negative_pics, inclusive.

[0096] When i is equal to 0, delta_poc_s0_minus1[i] plus 1 specifies the difference between the PSC value of the current picture and the i-th entry in the stRpsIdx-th candidate short-term RPS whose PSC value is less than the PSC value of the current picture, or, when i is greater than 0, specifies the difference between the PSC values ​​of the (i-1)-th entry and the i-th entry in the stRpsIdx-th candidate short-term RPS whose PSC values ​​are less than the PSC value of the current picture. The value of Delta_poc_s0_minus1[i] shall be between 0 and 2. 15 -1 (including the end value).

[0097] used_by_curr_pic_s0_flag[i] equal to 0 specifies that the i-th entry in the stRpsIdx-th candidate short-term RPS is not used as a reference by the current picture, and the picture order count value of this entry is less than the picture order count value of the current picture.

[0098] When i is equal to 0, delta_poc_s1_minus1[i] plus 1 specifies the difference between the PSC value of the current picture and the i-th entry in the stRpsIdx-th candidate short-term RPS whose PSC value is less than the PSC value of the current picture, or, when i is greater than 0, specifies the difference between the PSC values ​​of the (i-1)-th entry and the i-th entry in the current candidate short-term RPS whose PSC values ​​are greater than the PSC value of the current picture. The value of delta_poc_s1_minus1[i] shall be between 0 and 2. 15 -1 (including the end value).

[0099] used_by_curr_pic_s1_flag[i] equal to 0 specifies that the i-th entry in the current candidate short-term RPS is not used as a reference by the current picture, and the picture order count value of this entry is greater than the picture order count value of the current picture.

[0100] When inter_ref_pic_set_prediction_flag is equal to 0, the variables NumNegativePics[stRpsIdx], NumPositivePics[stRpsIdx], UsedByCurrPicS0[stRpsIdx][i], UsedByCurrPicS1[stRpsIdx][i], DeltaPocS0[stRpsIdx][i], and DeltaPocS1[stRpsIdx][i] are derived as follows:

[0101] NumNegativePics[stRpsIdx]=num_negative_pics

[0102] NumPositivePics[stRpsIdx]=num_positive_pics

[0103] UsedByCurrPicS0[stRpsIdx][i]=used_by_curr_pic_s0_flag[i]

[0104] UsedByCurrPicS1[stRpsIdx][i]=used_by_curr_pic_s1_flag[i]

[0105] - If i is equal to 0, the following applies:

[0106] DeltaPocS0[stRpsIdx][i]=-(delta_poc_s0_minus1[i]+1)

[0107] DeltaPocS1[stRpsIdx][i]=delta_poc_s1_minus1[i]+1

[0108] - Otherwise, the following applies:

[0109] DeltaPocS0[stRpsIdx][i]=DeltaPocS0[stRpsIdx][i–1]-

[0110] (delta_poc_s0_minus1[i]+1)

[0111] DeltaPocS1[stRpsIdx][i]=DeltaPocS1[stRpsIdx][i–1]+(deltapoc_s1_minus1[i]+1)

[0112] The variable NumDeltaPocs[stRpsIdx] is derived as follows:

[0113] NumDeltaPocs[stRpsIdx]=NumNegativePics[stRpsIdx]+

[0114] NumPositivePics[stRpsIdx]

[0115] As described above, ITU-T H.265 specifies that the st_ref_pic_set (stRpsIdx) syntax structure can be present in the SPS or in the slice segment header. ITU-T H.265 also provides that depending on whether the syntax structure is included in the slice header or the SPS, the following applies:

[0116] If present in the slice header, the st_ref_pic_set(stRpsIdx) syntax structure specifies the short-term RPS of the current picture (the picture containing the slice), and the following applies:

[0117] - The content of the st_ref_pic_set(stRpsIdx) syntax structure shall be the same in all slice headers of the current picture.

[0118] - The value of stRpsIdx shall be equal to the syntax element num_short_term_ref_pic_sets in the active SPS.

[0119] - The short-term RPS of the current picture is also referred to as the num_short_term_ref_pic_sets th candidate short-term RPS in the semantics specified in the rest of this clause.

[0120] - Otherwise (if present in the SPS), the st_ref_pic_set(stRpsIdx) syntax structure specifies the candidate short-term RPS, and the terms in the semantics specified in the rest of this clause

[0121] "Current picture" refers to every picture whose short_term_ref_pic_set_idx is equal to stRpsIdx in the CVS with SPS as the active SPS.

[0122] Table 3 shows the portion of the slice segment header related to indicating a reference picture set in ITU-T H.265.

[0123]

[0124] Table 3

[0125] ITU-T H.265 provides the following definitions for the corresponding syntax elements shown in Table 3.

[0126] The slice_pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb for the current picture. The length of the slice_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits. The value of slice_pic_order_cnt_lsb shall be in the range of 0 to MaxPicOrderCntLsb-1, inclusive. When slice_pic_order_cnt_lsb is not present, slice_pic_order_cnt_lsb is inferred to be equal to 0, unless specified in ITU-H.265 in some cases.

[0127] short_term_ref_pic_set_sps_flag equal to 1 specifies that the short-term RPS for the current picture is derived based on one of the st_ref_pic_set() syntax structures in the active SPS identified by the syntax element short_term_ref_pic_set_idx in the slice header. short_term_ref_pic_set_sps_flag equal to 0 specifies that the short-term RPS for the current picture is derived based on the st_ref_pic_set() syntax structure included directly in the slice header of the current picture. When num_short_term_ref_pic_sets is equal to 0, the value of short_term_ref_pic_set_sps_flag shall be equal to 0.

[0128] short_term_ref_pic_set_idx specifies the index in the list of st_ref_pic_set() syntax structures of the active SPS of the st_ref_pic_set() syntax structure used to derive the short-term RPS of the current picture. The syntax element short_term_ref_pic_set_idx is represented by Ceil(Log2(num_short_term_ref_pic_sets)) bits. When not present, the value of short_term_ref_pic_set_idx is inferred to be equal to 0. The value of short_term_ref_pic_set_idx should be in the range of 0 to num_short_term_ref_pic_sets-1, inclusive.

[0129] The variable CurrRpsIdx is derived as follows:

[0130] - If short_term_ref_pic_set_sps_flag is equal to 1, CurrRpsIdx is set equal to short_term_ref_pic_set_idx.

[0131] - Otherwise, set CurrRpsIdx equal to num_short_temi_ref_pic_sets.

[0132] num_long_term_sps specifies the number of entries in the long-term RPS of the current picture derived based on the candidate long-term reference pictures specified in the active SPS. The value of num_long_term_sps should be in the range of 0 to num_long_term_ref_pics_sps, inclusive. When not present, the value of num_long_term_sps is inferred to be equal to 0.

[0133] num_long_term_pics specifies the number of entries in the long-term RPS signaled directly in the slice header for the current picture. When not present, the value of num_long_term_pics is inferred to be equal to 0.

[0134] When nuh_layer_id is equal to 0, the sum of NumNegativePics[CurrRpsIdx], NumPositivePics[CurrRpsIdx], num_long_term_sps, and num_long_term_pics shall be less than or equal to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1].

[0135] lt_idx_sps[i] specifies the index of the i-th entry in the long-term RPS of the current picture in the list of candidate long-term reference pictures specified in the active SPS. The number of bits used to represent lt_idx_sps[i] is equal to Ceil(Log2(num_long_term_ref_pics_sps)). When not present, the value of lt_idx_sps[i] is inferred to be equal to 0. The value of lt_idx_sps[i] shall be in the range of 0 to num_long_term_ref_pics_sps-1, inclusive.

[0136] poc_lsb_lt[i] specifies the picture order count modulus of the i-th entry in the long-term RPS of the current picture.

[0137] The value of MaxPicOrderCntLsb. The length of the poc_lsb_lt[i] syntax element is

[0138] log2_max_pic_order_cnt_lsb_minus4+4 bits.

[0139] used_by_curr_pic_lt_flag[i] is equal to 0 to specify the i-th in the long-term RPS of the current picture.

[0140] entries are not used as references by the current image.

[0141] The variables PocLsbLt[i] and UsedByCurrPicLt[i] are derived as follows:

[0142] - If i is less than num_long_term_sps, PocLsbLt[i] is set equal to lt_ref_pic_poc_lsb_sps[lt_idx_sps[i]] and UsedByCurrPicLt[i] is set equal to lt_ref_pic_poc_lsb_sps[lt_idx_sps[i]].

[0143] Set equal to used_by_curr_pic_lt_sps_flag[lt_idx_sps[i]].

[0144] - Otherwise, PocLsbLt[i] is set equal to poc_lsb_lt[i] and UsedByCurrPicLt[i] is set equal to used_by_curr_pic_lt_flag[i].

[0145] delta_poc_msb_present_flag[i] equal to 1 specifies that delta_poc_msb_cycle_lt[i] is present. delta_poc_msb_present_flag[i] equal to 0 specifies that delta_poc_msb_cycle_lt[i] is not present.

[0146] delta_poc_msb_cycle_lt[i] is used to determine the value of the most significant bit of the picture order count value of the i-th entry in the long-term RPS of the current picture. When delta_poc_msb_cycle_lt[i] is not present, it is inferred to be equal to 0.

[0147] The variable DeltaPocMsbCycleLt[i] is derived as follows:

[0148]

[0149] As described above, in ITU-T H.265, PocStCurrBefore, PocStCurrAfter, PocStFoll, PocLtCurr, and PocLtFoll are constructed to derive RPS. ITU-T H.265 provides the following content about constructing PocStCurrBefore, PocStCurrAfter, PocStFoll, PocLtCurr, and PocLtFoll:

[0150] -If the current picture is an IDR picture, PocStCurrBefore, PocStCurrAfter,

[0151] PocStFoll, PocLtCurr and PocLtFoll are all set to empty, and

[0152] NumPocStCurrBefore, NumPocStCurrAfter, NumPocStFoll,

[0153] NumPocLtCurr and NumPocLtFoll are both set equal to 0.

[0154] - Otherwise, the following applies:

[0155]

[0156] ITU-T H.265 also provides five RPS lists (RefPicSetStCurrBefore, RefPicSetStCurrAfter, RefPicSetStFoll, RefPicSetLtCurr, and RefPicSetLtFoll) for deriving the current picture using PocStCurrBefore, PocStCurrAfter, PocStFoll, PocLtCurr, and PocLtFoll, as follows:

[0157] 1. The following apply:

[0158]

[0159]

[0160] 2. All reference pictures included in RefPicSetLtCurr or RefPicSetLtFoll and whose nuh_layer_id is equal to currPicLayerld are marked as

[0161] "For long term reference".

[0162] 3. The following applies:

[0163]

[0164] 4. All reference pictures in the DPB that are not included in RefPicSetLtCurr, RefPicSetLtFoll, RefPicSetStCurrBefore, RefPicSetStCurrAfter or RefPicSetStFoll and whose nuh_layer_id is equal to currPicLayerld are marked as "unused for reference".

[0165] Finally, in ITU-T H.265, a decoding process is performed for constructing one or two temporary reference picture lists using five RPS lists. The constructed one or two temporary reference picture lists may be optionally modified (i.e., re-indexed). The modified or unmodified temporary reference picture lists are used to create the final reference picture lists. The index values ​​of the reference picture lists are used to identify pictures during inter prediction.

[0166] According to the techniques of this document, a simplified process for generating a reference picture list is described. According to the techniques of this document, a reference picture list can be directly signaled. As described in further detail below, in one example, according to the techniques of this document, a reference picture list can be directly signaled as follows: a candidate picture list set can be signaled in an SPS, and one to three indexes of the SPS candidate picture list can be signaled in a slice segment header, or a new reference picture list can be directly signaled in a slice segment header; one or two final reference picture lists can be created based on the signaled indexes. In addition, reference pictures are marked based on one, two, or three reference picture lists. The techniques described herein are a more simplified decoding process compared to the ITU-T H.265 method. In addition, directly signaling a reference picture list avoids the need to signal reference picture list modification syntax on top of the reference picture set syntax.

[0167] Figure 1 1 is a block diagram illustrating an example of a system that may be configured to encode (e.g., encode and / or decode) video data in accordance with one or more techniques of this disclosure. System 100 represents an example of a system that may encapsulate video data in accordance with one or more techniques of this disclosure. Figure 1 As shown, system 100 includes source device 102, communication medium 110, and target device 120. Figure 1 In the example shown, source device 102 may include any device configured to encode video data and transmit the encoded video data to communication medium 110. Target device 120 may include any device configured to receive the encoded video data via communication medium 110 and decode the encoded video data. Source device 102 and / or target device 120 may include computing devices equipped for wired and / or wireless communication, and may include, for example, set-top boxes, digital video recorders, televisions, desktop, laptop or tablet computers, game consoles, medical imaging devices, and mobile devices (including, for example, smart phones, cellular phones, personal gaming devices).

[0168] The communication medium 110 may include any combination of wireless and wired communication media and / or storage devices. The communication medium 110 may include coaxial cables, fiber optic cables, twisted pair cables, wireless transmitters and receivers, routers, switches, repeaters, base stations, or any other device that can be used to facilitate communication between various devices and sites. The communication medium 110 may include one or more networks. For example, the communication medium 110 may include a network configured to allow access to the World Wide Web, such as the Internet. The network may be operated according to a combination of one or more telecommunication protocols. The telecommunication protocol may include proprietary aspects and / or may include standardized telecommunication protocols. Examples of standardized telecommunication protocols include digital video broadcasting (DVB) standards, advanced television system committee (ATSC) standards, integrated services digital broadcasting (ISDB) standards, cable data service interface specifications (DOCSIS) standards, global mobile communication systems (GSM) standards, code division multiple access (CDMA) standards, third generation partnership project (3GPP) standards, European Telecommunications Standards Institute (ETSI) standards, Internet Protocol (IP) standards, wireless application protocol (WAP) standards, and Institute of Electrical and Electronics Engineers (IEEE) standards.

[0169] The storage device may include any type of device or storage medium capable of storing data. The storage medium may include a tangible or non-transitory computer-readable medium. The computer-readable medium may include an optical disk, a flash memory, a magnetic memory, or any other suitable digital storage medium. In some examples, the memory device or a portion thereof may be described as a non-volatile memory, and in other examples, a portion of the memory device may be described as a volatile memory. Examples of volatile memory may include random access memory (RAM), dynamic random access memory (DRAM), and static random access memory (SRAM). Examples of non-volatile memory may include a magnetic hard disk, an optical disk, a floppy disk, a flash memory, or an electrically programmable memory (EPROM) or an electrically erasable and programmable (EEPROM) memory. The storage device may include a memory card (e.g., a secure digital (SD) memory card), an internal / external hard disk drive, and / or an internal / external solid-state drive. Data may be stored on the storage device according to a defined file format.

[0170] Figure 4 is a conceptual diagram illustrating examples of components that may be included in a specific implementation of system 100. Figure 4 In the example implementation shown, system 100 includes one or more computing devices 402A-402N, a television service network 404, a television service provider site 406, a wide area network 408, a local area network 410, and one or more content provider sites 412A-412N. Figure 4The specific implementations shown in represent examples of a system that can be configured to allow digital media content (such as movies, live sporting events, etc.) and data and applications associated therewith and media presentations to be distributed to and accessed by multiple computing devices (such as computing devices 402A to 402N). Figure 4 In the example shown, computing devices 402A to 402N may include any device configured to receive data from one or more of television service network 404, wide area network 408, and / or local area network 410. For example, computing devices 402A to 402N may be equipped for wired and / or wireless communications and may be configured to receive services over one or more data channels, and may include televisions, including so-called smart televisions, set-top boxes, and digital video recorders. In addition, computing devices 402A to 402N may include desktop computers, laptop or tablet computers, game consoles, mobile devices (including, for example, "smart" phones, cellular phones, and personal gaming devices).

[0171] The television service network 404 is an example of a network configured to enable distribution of digital media content that may include television services. For example, the television service network 404 may include a public air television network, a public or subscription-based satellite television service provider network, and a public or subscription-based cable television provider network and / or a cloud or Internet service provider. It should be noted that, although in some examples, the television service network 404 may be primarily used to allow the provision of television services, the television service network 404 may also allow the provision of other types of data and services according to any combination of the telecommunications protocols described herein. In addition, it should be noted that in some examples, the television service network 404 may allow two-way communication between the television service provider site 406 and one or more of the computing devices 402A to 402N. The television service network 404 may include any combination of wireless and / or wired communication media. The television service network 404 may include coaxial cables, fiber optic cables, twisted pair cables, wireless transmitters and receivers, routers, switches, repeaters, base stations, or any other device that can be used to facilitate communication between various devices and sites. The television service network 404 may operate according to a combination of one or more telecommunications protocols. The telecommunication protocol may include proprietary aspects and / or may include a standardized telecommunication protocol. Examples of standardized telecommunication protocols include the DVB standard, the ATSC standard, the ISDB standard, the DTMB standard, the DMB standard, the Data Over Cable Service Interface Specification (DOCSIS) standard, the HbbTV standard, the W3C standard, and the UPnP standard.

[0172] Reference again Figure 4, the television service provider site 406 may be configured to distribute television services via the television service network 404. For example, the television service provider site 406 may include one or more broadcast stations, cable television providers or satellite television providers, or Internet-based television providers. For example, the television service provider site 406 may be configured to receive transmissions (including television programs) via satellite uplink / downlink. In addition, as Figure 4 As shown, television service provider site 406 may be in communication with wide area network 408 and may be configured to receive data from content provider sites 412A through 412N. It should be noted that in some examples, television service provider site 406 may include a television studio and the content may originate from the television studio.

[0173] Wide area network 408 may include a packet-based network and operate according to a combination of one or more telecommunication protocols. Telecommunication protocols may include proprietary aspects and / or may include standardized telecommunication protocols. Examples of standardized telecommunication protocols include global system mobile communications (GSM) standards, code division multiple access (CDMA) standards, third generation partnership project (3GPP) standards, European Telecommunications Standards Institute (ETSI) standards, European standards (EN), IP standards, wireless application protocols (WAP) standards, and Institute of Electrical and Electronics Engineers (IEEE) standards, such as, one or more IEEE 802 standards (e.g., Wi-Fi). Wide area network 408 may include any combination of wireless and / or wired communication media. Wide area network 408 may include coaxial cables, fiber optic cables, twisted pair cables, Ethernet cables, wireless transmitters and receivers, routers, switches, repeaters, base stations, or any other equipment that can be used to facilitate communication between various devices and sites. In one example, wide area network 408 may include the Internet. Local area network 410 may include a packet-based network and operate according to a combination of one or more telecommunication protocols. The local area network 410 may be distinguished from the wide area network 408 based on access levels and / or physical infrastructure. For example, the local area network 410 may include a secure home network.

[0174] Reference again Figure 4, content provider sites 412A to 412N represent examples of sites that can provide multimedia content to television service provider sites 406 and / or computing devices 402A to 402N. For example, a content provider site may include a studio with one or more studio content servers, which are configured to provide multimedia files and / or streams to television service provider sites 406. In one example, content provider sites 412A to 412N may be configured to provide multimedia content using an IP suite. For example, a content provider site may be configured to provide multimedia content to a receiver device according to a real-time streaming protocol (RTSP), HTTP, etc. In addition, content provider sites 412A to 412N may be configured to provide data including hypertext-based content, etc. to one or more of receiver devices 402A to 402N and / or television service provider sites 406 via a wide area network 408. Content provider sites 412A to 412N may include one or more web servers. The data provided by data provider sites 412A to 412N may be defined according to a data format.

[0175] Reference again Figure 1 , source device 102 includes video source 104, video encoder 106, data encapsulator 107 and interface 108. Video source 104 may include any device configured to capture and / or store video data. For example, video source 104 may include a camera and a storage device operably coupled thereto. Video encoder 106 may include any device configured to receive video data and generate a compatible bitstream representing the video data. A compatible bitstream may refer to a bitstream from which a video decoder can receive and reproduce video data. Various aspects of a compatible bitstream may be defined according to a video coding standard. When generating a compatible bitstream, video encoder 106 may compress the video data. The compression may be lossy (perceptible or imperceptible to the observer) or lossless. Figure 5 is a block diagram illustrating an example of a video encoder 500 that can implement the techniques described herein for encoding video data. It should be noted that although the example video encoder 500 is illustrated as having different functional blocks, such illustration is intended for descriptive purposes and does not limit the video encoder 500 and / or its subcomponents to a particular hardware or software architecture. The functionality of the video encoder 500 may be implemented using any combination of hardware, firmware, and / or software implementations.

[0176] The video encoder 500 can perform intra-frame prediction encoding and inter-frame prediction encoding of a picture region and thus can be referred to as a hybrid video encoder. Figure 5In the example shown, the video encoder 500 receives a source video block. In some examples, the source video block may include a picture area that has been divided according to a coding structure. For example, the source video data may include a macroblock, a CTU, a CB, a sub-partition thereof, and / or another equivalent coding unit. In some examples, the video encoder 500 may be configured to perform additional sub-division of the source video block. It should be noted that the techniques described herein are generally applicable to video encoding regardless of how the source video data is divided before and / or during encoding. Figure 5 In the example shown, the video encoder 500 includes an adder 502, a transform coefficient generator 504, a coefficient quantization unit 506, an inverse quantization and transform coefficient processing unit 508, an adder 510, an intra-frame prediction processing unit 512, an inter-frame prediction processing unit 514, a filter unit 516, and an entropy coding unit 518. Figure 5 As shown, video encoder 500 receives source video blocks and outputs a bitstream.

[0177] exist Figure 5 In the example shown, the video encoder 500 can generate residual data by subtracting the predicted video block from the source video block. The selection of the predicted video block is described in detail below. The adder 502 represents a component configured to perform the subtraction operation. In one example, the subtracted video block appears in the pixel domain. The transform coefficient generator 504 applies a transform such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform (e.g., four 8×8 transforms can be applied to a 16×16 residual value array) to the residual block or its sub-partition to generate a set of residual transform coefficients. The transform coefficient generator 504 can be configured to perform any and all combinations of transforms included in the discrete triangular transform series, including its approximation. The transform coefficient generator 504 can output the transform coefficients to a coefficient quantization unit 506. The coefficient quantization unit 506 can be configured to perform quantization of the transform coefficients. The quantization process can reduce the bit depth associated with some or all coefficients. The degree of quantization can change the rate distortion (i.e., the relationship between bit rate and video quality) of the encoded video data. The degree of quantization can be modified by adjusting a quantization parameter (QP). The quantization parameter can be determined based on a slice level value and / or a CU level value (e.g., a CU delta QP value). The QP data may include any data used to determine the QP used to quantize a particular set of transform coefficients. Figure 5 As shown, the quantized transform coefficients (which may be referred to as level values) are output to the inverse quantization and transform coefficient processing unit 508. The inverse quantization and transform coefficient processing unit 508 may be configured to apply inverse quantization and inverse transformation to generate reconstructed residual data. Figure 5As shown, at the summer 510, the reconstructed residual data can be added to the predicted video block. In this way, the encoded video block can be reconstructed, and the resulting reconstructed video block can be used to evaluate the coding quality of a given prediction, transformation and / or quantization. The video encoder 500 can be configured to perform multiple encoding rounds (e.g., performing encoding while changing one or more of the prediction, transformation parameters and quantization parameters). The rate distortion or other system parameters of the bitstream can be optimized based on the evaluation of the reconstructed video block. In addition, the reconstructed video block can be stored and used as a reference for predicting subsequent blocks.

[0178] Reference again Figure 5 , the intra-frame prediction processing unit 512 may be configured to select an intra-frame prediction mode for a video block to be encoded. The intra-frame prediction processing unit 512 may be configured to evaluate a frame and determine an intra-frame prediction mode for encoding a current block. As described above, possible intra-frame prediction modes may include a planar prediction mode, a DC prediction mode, and an angular prediction mode. Furthermore, it should be noted that in some examples, the prediction mode of the chrominance component may be inferred based on the prediction mode of the luma prediction mode. The intra-frame prediction processing unit 512 may select an intra-frame prediction mode after performing one or more encoding rounds. Furthermore, in one example, the intra-frame prediction processing unit 512 may select a prediction mode based on a rate-distortion analysis. As Figure 5 As shown, the intra prediction processing unit 512 outputs intra prediction data (e.g., syntax elements) to the entropy coding unit 518 and the transform coefficient generator 504. As described above, the transform performed on the residual data can be mode-dependent (e.g., the secondary transform matrix can be determined based on the prediction mode).

[0179] Reference again Figure 5 , the inter-frame prediction processing unit 514 may be configured to perform inter-frame prediction encoding for the current video block. The inter-frame prediction processing unit 514 may be configured to receive a source video block and calculate a motion vector of a PU of the video block. The motion vector may indicate the displacement of a PU of a video block within a current video frame relative to a prediction block within a reference frame. Inter-frame prediction encoding may use one or more reference pictures. In addition, motion prediction may be unidirectional prediction (using one motion vector) or bidirectional prediction (using two motion vectors). The inter-frame prediction processing unit 514 may be configured to select a prediction block by calculating a pixel difference determined by, for example, the sum of absolute differences (SAD), the sum of square differences (SSD), or other difference metrics. As described above, a motion vector may be determined and specified based on motion vector prediction. As described above, the inter-frame prediction processing unit 514 may be configured to perform motion vector prediction. The inter-frame prediction processing unit 514 may be configured to generate a prediction block using motion prediction data. For example, the inter-frame prediction processing unit 514 may locate a prediction video block ( Figure 5). It should be noted that the inter-frame prediction processing unit 514 can be further configured to apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values ​​for motion estimation. The inter-frame prediction processing unit 514 can output the motion prediction data of the calculated motion vector to the entropy coding unit 518.

[0180] like Figure 5 As shown, filter unit 516 receives the reconstructed video blocks and encoding parameters and outputs modified reconstructed video data. Filter unit 516 may be configured to perform deblocking and / or sample adaptive offset (SAO) filtering. SAO filtering is a nonlinear amplitude mapping that can be used to improve reconstruction by adding an offset to the reconstructed video data. It should be noted that, as Figure 5 As shown, the intra prediction processing unit 512 and the inter prediction processing unit 514 can receive the modified reconstructed video block via the filter unit 216. The entropy coding unit 518 receives the quantized transform coefficients and the prediction syntax data (i.e., the intra prediction data and the motion prediction data). It should be noted that in some examples, the coefficient quantization unit 506 can perform a scan of the matrix including the quantized transform coefficients before outputting the coefficients to the entropy coding unit 518. In other examples, the entropy coding unit 518 can perform the scan. The entropy coding unit 518 can be configured to perform entropy coding according to one or more of the techniques described herein. As such, the video encoder 500 represents an example of a device configured to generate encoded video data according to one or more techniques of the present invention.

[0181] Reference again Figure 1 , the data encapsulator 107 can receive the encoded video data and generate a compatible bitstream according to a defined data structure, for example, a sequence of NAL units. A device receiving the compatible bitstream can reproduce the video data therefrom. In addition, as described above, sub-bitstream extraction can refer to the process by which a device receiving a bitstream compliant with ITU-T H.265 forms a new bitstream compliant with ITU-TH.265 by discarding and / or modifying data in the received bitstream. It should be noted that the term compliant bitstream can be used instead of the term compatible bitstream. In one example, the data encapsulator 107 can be configured to generate syntax according to one or more techniques described herein. It should be noted that the data encapsulator 107 is not necessarily located in the same physical device as the video encoder 106. For example, the functions described as being performed by the video encoder 106 and the data encapsulator 107 can be distributed in Figure 4 in the device shown.

[0182] As described above, in one example, according to the techniques of this document, a reference picture list may be directly signaled as follows: a candidate picture list set may be signaled in an SPS (or other parameter set, e.g., a VPS), and one to three indexes of the SPS candidate picture list may be signaled in a slice segment header, or a new reference picture list may be directly signaled in a slice segment header. A slice segment header may be referred to as a segment header in some cases. Table 4 shows an example of related syntax that may be included in an SPS, and Table 5 shows an example of related syntax in a slice segment header that may be used to directly signal a reference picture list according to the techniques of this document. It should be noted that the syntax included in Table 4 is not limited to being included in an SPS (e.g., the syntax may be included in a parameter set), and the syntax included in Table 5 is not limited to being included in a slice segment header (e.g., the syntax may be included in a header associated with another type of picture region, such as a picture header or a tile set header).

[0183] seq_parameter_set_rbsp(){ Descriptors … num_ref_pic_lists_minus1 ue(v) for(i=1;i<num_ref_pic_lists_minus1+1;i++) pic_list(i) rbsp_trailing_bits() }

[0184] Table 4

[0185]

[0186] Table 5

[0187] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 4.

[0188] num_ref_pic_lists_minus1 specifies the number of pic_lists(i) syntax structures included in the SPS. The value of num_ref_pic_lists_minus1 shall be in the range of 0 to 255, inclusive.

[0189] pic_list(0) is inferred to be an empty list of pictures. Therefore, pic_list(0) does not include any pictures.

[0190] The decoder should allocate memory for a total of (num_ref_pic_lists_minus1+4) pic_list() syntax structures, since up to 3 pic_list() syntax structures may be directly signaled in the slice header of the current picture.

[0191] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 5.

[0192] num_rpl_slice_header_minus1 specifies the number of pic_lists(i) syntax structures signaled directly in the slice header if rpl_sps_flag is equal to 0, or the number of rpl_index[j] entries signaled in the slice header if rpl_sps_flag is equal to 1. The value of num_rpl_slice_header_minus1 shall be in the range of 0 to 2, inclusive. The value 3 is reserved.

[0193] rpl_sps_flag equal to 1 specifies that the reference picture list of the current picture is signaled based on the pic_list() syntax structure in the active SPS, which is identified by the syntax element rpl_idx[j] in the slice header. rpl_sps_flag equal to 0 specifies that the long-term reference picture list of the current picture is signaled in the pic_list() syntax structure, which is directly signaled in the slice header of the current picture.

[0194] rpl_idx[j] specifies the index into the reference picture list. rpl_idx[0] specifies the index into the reference picture list 0 for the current picture. If present, rpl_idx[l] specifies the index into the reference picture list 1 if the current slice is a B slice, and rpl_idx[l] specifies the index into the picture list that includes the reference picture of the picture that follows the current picture in bitstream order if the current slice is a P slice. If present, rpl_idx[2] indicates the index into the picture list that includes the reference picture of the picture that follows the current picture in bitstream order.

[0195] The syntax element rpl_idx[j] for j in the range of 0 to num_rpl_slice_header_minus1, inclusive, is represented by Ceil(Log2(num_refjpic_lists_minus1+1)) bits. The value of rpl_idx[j] shall be in the range of 0 to num_ref_pic_lists_minus1, inclusive.

[0196] Table 6 shows an example of pic_list syntax according to the techniques herein.

[0197] pic_list(listIdx){ Descriptors if(listIdx>2) inv_list_flag u(l) if (mv_list_flag == 0) { neg_delta_entries ue(v) pos_deIta_entries ue(v) for(i=0;i<neg_delta_entries+pos_delta entries;i++) delta_entries_minus1[i] ue(v) } }

[0198] Table 6 and Table 7 show another example of pic_list syntax according to the technology of this article.

[0199] pic_list(listIdx){ Descriptor if(listIdx>2) inv_list_flag u(1) if(inv_list_flag == 0){ neg_delta_entries ue(v) pos_delta_entries ue(v) for(i=0;i<neg_delta_entries;i++){ delta_entries_minus1[i] ue(v) } for(i=neg_delta_entries;i<neg_delta_entries+pos_delta_entries;i++){ delta_entries_minus1[i] ue(v) } } }

[0200] Table 7

[0201] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 6 and Table 7.

[0202] inv_list_flag equal to 1 specifies that the value is incremented by inverting each increment in the (listIdx-1)th list.

[0203] The sign of the POC value is used to derive the listIdx-th picture list from the (listIdx-1)-th picture list. inv_list_flag equal to 0 specifies that the listIdx-th picture list is signaled. When inv_list_flag is

[0204] When absent, it is inferred to be equal to 0.

[0205] neg_delta_entries specifies the number of entries in the listIdx-th picture list whose picture order count is less than the picture order count of the current picture. The value of neg_delta_entries shall be in the range of 0 to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1], inclusive.

[0206] pos_delta_entries specifies the number of entries in the listIdx-th picture list whose picture order count is greater than the picture order count of the current picture. The value of pos_delta_entries shall be between 0 and sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1]-neg_delt

[0207] a_entries is in the range (inclusive).

[0208] Regarding the example shown in Table 6, in one example, the following definition may be used for the syntax element delta_entry_minus1.

[0209] delta_entries_minus1[i] increases by 1,

[0210] - when i is equal to 0, specifies the difference between the picture sequence count of the current picture and the i-th entry in the listIdx-th picture list (the picture sequence count of this entry is less than the picture count of the current picture), or,

[0211] - when i is greater than 0 and less than neg_delta_entries, specifies the difference between the picture order count values ​​of the i-th entry and the (i+1)-th entry in the listIdx-th picture list (the picture order count values ​​of these two entries are less than the picture order count value of the current picture), or,

[0212] - when i is equal to neg_delta_entries, specifies the difference between the picture order count of the current picture and the i-th entry in the listIdx-th picture list whose picture order count is greater than the picture count of the current picture, or,

[0213] - When i is greater than neg_delta_entries, specifies the difference between the picture order count values ​​of the (i+1)th entry and the i-th entry in the listIdx-th picture list (the picture order count values ​​of these two entries are greater than the picture order count value of the current picture).

[0214] delta_entries_minus1[i] should be between 0 and 2. 15 -1 (including the end value).

[0215] When inv_list_flag is equal to 0, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePics[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0216] NumNegativePics[listIdx]=neg_delta_entries

[0217] NumPositivePics[listIdx]=pos_delta_entries

[0218] NumDeltaPocs[listIdx]=NumNegativePics[listIdx]+NumPositivePics[listIdx]

[0219] - If i is equal to 0, the following applies:

[0220] DeltaPoc[listIdx][i]=-(delta_entries_minus1[0]+1)

[0221] - If i > 0 and less than neg_delta_entries, the following applies:

[0222] DeltaPoc[listIdx][i]=DeltaPoc[listIdx][i–1]-(delta_entries_minus1[i]+1)

[0223] - If i is equal to neg_delta_entries, the following applies:

[0224] DeltaPoc[listIdx][neg_delta_entries]=delta_entries_minus1[i]+1

[0225] - If i is greater than neg_delta_entries, the following applies:

[0226] DeltaPoc[listIdx][i]=DeltaPoc[listIdx][i-1]+(delta_entries_minus 1[i]+1)

[0227] When inv_list_flag is equal to 1, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePocs[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0228] NumNegativePics[listIdx]=NumPositivePics[listIdx-l]

[0229] NumPositivePics[listIdx]=NumNegativePics[listIdx-1]

[0230] NumDeltaPocs[listIdx]=NumDeltaPocs[listIdx-1]

[0231] - For i in the range of 0 to NumDeltaPocs[listIdx] (inclusive), the following apply:

[0232] DeltaPocf listIdx][i]=-(DeltaPoc[listIdx-1][i])

[0233] Regarding the example shown in Table 7, in one example, the following definition may be used for the syntax element delta_entry_minus1.

[0234] delta_entries_minus1[i] increases by 1,

[0235] - when i is equal to 0, specifies the difference between the picture sequence count of the current picture and the i-th entry in the listIdx-th picture list (the picture sequence count of this entry is less than the picture count of the current picture), or,

[0236] - when i is greater than 0 and less than neg_delta_entries, specifies the difference between the picture order count values ​​of the i-th entry and the (i+1)-th entry in the listIdx-th picture list (the picture order count values ​​of these two entries are less than the picture order count value of the current picture), or,

[0237] - when i is equal to neg_delta_entries, specifies the difference between the picture order count of the current picture and the i-th entry in the listIdx-th picture list whose picture order count is greater than the picture count of the current picture, or,

[0238] - When i is greater than neg_delta_entries, specifies the difference between the picture order count values ​​of the (i+1)th entry and the i-th entry in the listIdx-th picture list (the picture order count values ​​of these two entries are greater than the picture order count value of the current picture).

[0239] delta_entries_minus1[i] should be between 0 and 2. 15 -1 (including the end value).

[0240] When inv_list_flag is equal to 0, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], DeltaPocS0[listIdx][i], and DeltaPocS1[listIdx][i] are as follows

[0241] Next export:

[0242] NumNegativePics[listIdx]=neg_delta_entries

[0243] NumPositivePics[listIdx]=pos_delta_entries

[0244] - If i is equal to 0, the following applies:

[0245] DeltaPocS0[listIdx][i]=-(neg_delta_entries_minus1[i]+1)

[0246] DeltaPocSl[listIdx][i]=pos_delta_entries_minus1[i]+1

[0247] - Otherwise, the following applies:

[0248] DeltaPocS0[listIdx][i]=DeltaPocS0[stRpsIdx][i-1]

[0249] -(neg_delta_entries_minus1[i]+1)

[0250] DeltaPocS1[listIdx][i]=DeltaPocS1[stRpsIdx][i-1]+

[0251] (pos_delta_entries_minus1[i]+1

[0252] The variable NumDeltaPocs[listIdx] is derived as follows:

[0253] NumDeltaPocs[listIdx]=NumNegativePics[listIdx]+

[0254] NumPositivePics[listIdx]

[0255] Based on the syntax provided above in Tables 4 to 7, in one example, a process for deriving a reference picture list (RPL), i.e., a process performed by a video decoder at the beginning of decoding a picture, may be performed according to and / or based on the following steps:

[0256] The following applies:

[0257] For j in the range 0 to num_rpl_slice_header_minus1 (inclusive)

[0258] The variable CurrRPListIdx[j] is derived as follows:

[0259] - If rpl_sps_flag is equal to 1, CurrRPListIdx[j] is set equal to rpl_idx[j].

[0260] - Otherwise, set CurrRPListIdx[j] equal to rpl_idx[num_refjpic_lists_minus1+j+1].

[0261] For j in the range of 0 to num_rpl_slice_header_minus1 (inclusive)

[0262] The following applies:

[0263]

[0264] All reference pictures in the DPB not included in RefPics[j] for j in the range of 0 to num_rp1_slice_header_minus1 (inclusive) are marked as "unused for reference".

[0265] In one example, for the case where CurrRPListIdx[j] is otherwise set equal to rpl_idx[num_ref_pic_lists_minus1+j+1], the following operations may be performed:

[0266]

[0267] In addition, based on the syntax provided in Tables 4 to 7 above, in one example, a process for reference picture list construction, that is, a process for constructing a reference picture list RefPicList0 performed by a video decoder for each P slice or B slice at the beginning of the decoding process, and a process for constructing RefPicList1 for a B slice can be performed based on the following:

[0268] The variable NumRpsCurrList0 is set equal to Max(num_ref_idx_10_active_minus1+1, NumDeltaPocs[CurrRPListIdx[0]]), and the list RefPicList0 is constructed as follows:

[0269] for(i=0,rIdx=0;i <NumDeltaPocs[CurrRPList1dx[0]]&&rIdx<

[0270] NumRpsCurrList0; rIdx++,i++)

[0271] RefPicList0[rIdx]=RefPics[0][i]

[0272] When the slice is a B slice, set the variable NumRpsCurrList1 equal to

[0273] Max(num_ref_idx_ll_active_minus1+1,

[0274] NumDeltaPocs[CurrRPList1dx[0]]), and RefPicList1 is constructed as follows:

[0275] for(i=0,rIdx=0;i <NumDeltaPocs[CurrRPListIdx[1]]&&rIdx<

[0276] NumRpsCurrList1; rIdx++,i++)

[0277] RefPicList1[rIdx]=RefPics[1][i]

[0278] In another example, constructing reference picture lists RefPicList0 and, for B slices, RefPicList1 may be performed based on the following, where there may be RPL modifications:

[0279] The list RefPicList0 is constructed as follows.

[0280] The above RefPicList0 entries are assigned to the RefPicListTemp0 array, and the above RefPicList1 entries are assigned to the RefPicListTemp1 array. Then, the final reference picture list

[0281] The table is exported as follows:

[0282] for(rIdx=0; rIdx<=num_ref_idx_10_active_minus1; rIdx++)

[0283] RefPicList0[rIdx]=ref_pic_list_modification_flag_10?

[0284] RefPicListTemp0[list_entry_10[rIdx]]:RefPicListTemp0[rIdx]

[0285] When the slice is a B slice, the list RefPicList1 is constructed as follows:

[0286] for(rIdx=0; rIdx<=num_ref_idx_11_active_minus1; rIdx++)

[0287] RefPicList1[rIdx]=ref_pic_list_modification_flag_11?

[0288] RefPicListTemp1[list_entry_11[rIdx]]:RefPicListTemp1[rIdx]

[0289] In addition, based on the syntax provided in Tables 4 to 7 above, in one example, a process for generating an unavailable reference picture may be performed according to and / or based on the following steps:

[0290] This process is called once for each encoded picture.

[0291] When this procedure is called, the following applies:

[0292] - For each RefPics[j][i] where i is in the range of 0 to NumDeltaPocs[CurrRPListIdx[j]] (inclusive) and j is in the range of 0 to num_rpl_slice_header_minus1 (inclusive), i.e. equal to "no reference picture", generate the picture as specified in "Generate an Unusable Picture", and the following apply:

[0293] - Set the PicOrderCntVal value of the generated picture equal to PicOrderCntVal + DeltaPoc[CurrRPListIdx[j]][i].

[0294] - The generated images are marked as "for short-term reference".

[0295] - RefPics[j][i] is set to the reference picture being generated.

[0296] In addition, based on the syntax provided in Tables 4 to 7 above, in one example, a process for generating an unavailable reference picture may be performed according to and / or based on the following steps:

[0297] When this procedure is called, an unavailable image is generated as follows:

[0298] - The sample array S to be used for the picture L The value of each element in is set to be equal to 1<<(BitDepth y -1).

[0299] - The sample array S to be used for the picture Cb and S CrThe value of each element in is set to be equal to 1<<(BitDepthc-1).

[0300] - for x = 0..pic_width_injuma_samples-1,

[0301] y=0..pic_height_in_luma_samples-1,prediction mode CuPredMode[x][y]

[0302] Set equal to MODE_INTRA.

[0303] In addition, based on the syntax provided in Tables 4 to 7 above, in one example, the process for selecting a reference picture may be performed according to and / or based on the following steps:

[0304] The input to this process is the reference index refIdxLX.

[0305] The output of this process is a two-dimensional array of luma samples refPicLXL and chroma samples refPicLX Cb and refPicLX Cr A reference image composed of a two-dimensional array.

[0306] The output reference picture RefPicListX[refIdxLX] consists of luminance samples refPicLX L The pic_width_in_luma_samples array is multiplied by the pic_height_in_luma_samples array and by the chroma samples refPicLX cb and refPicLX Cr The array consists of two PicWidthlnSamplesC by PicHeightlnSamplesC.

[0307] Reference picture sample array refPicLX L ,refPicLX cb and refPicLX Cr The decoded sample array S corresponding to the previously decoded picture L , S Cb and S Cr .

[0308] In one example, according to the techniques herein, a long-term reference picture list may be directly signaled, as provided in further detail below. Table 8 shows an example of relevant syntax that may be included in an SPS for directly signaling a long-term reference picture list. It should be noted that the syntax included in Table 8 is not limited to being included in an SPS (e.g., the syntax may be included in a parameter set).

[0309] seq parameter set rbsp(){ Descriptor … long_term_ref_pics_present_lag u(l) num_ref_pic_lists_minus1 ue(v) for(i=1;i<num ref_pic lists minus1+1;i++) pic_list(i) rbsp_trailing_bits() }

[0310] Table 8

[0311] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 8.

[0312] long_term_ref_pics_present_flag equal to 0 specifies that no long-term reference pictures are used for inter prediction of any coded picture in the CVS. long_term_ref_pics_present_flag equal to 1 specifies that long-term reference pictures may be used for inter prediction of one or more coded pictures in the CVS.

[0313] num_ref_pic_lists_minus1 specifies the number of pic_lists(i) syntax structures included in the SPS. The value of num_ref_pic_lists_minus1 shall be in the range of 0 to 255, inclusive.

[0314] pic_list(0) is inferred to be an empty list of pictures. Therefore, pic_list(0) does not include any pictures.

[0315] The decoder should allocate memory for a total of (num_ref_pic__lists__minus1+4) pic_list() syntax structures, since up to 3 pic_list() syntax structures may be directly signaled in the slice header of the current picture.

[0316] Table 9A shows an example of a pic_list syntax that may be used in conjunction with the example syntax shown in Table 8.

[0317] pic list(listIdx){ Descriptor if(listIdx>2) inv_list_flag u(l) if(inv_list_flag == 0){ neg_delta_entries ue(v) pos_delta_entries ue(v) for(i=0;i<neg_delta_entries+pos_delta_entries;i++) delta_entries_minus1[i] ue(v) } if(long_term_ref_picsj>resent_flag){ ltrp_list_present_flag if(ltrp_list_present_flag){ num_long_term_pics_minus1 ue(v) for(j=0;j<num_long_termjpics_minus1+1;j++){ poc_lsb_lt[j] u(v) delta_poc_msb_present_flag[j] u(l) if(delta_poc msb_present flag[j]) delta_poc_msb_cycle_It[j] ue(v) } } } }

[0318] Table 9A

[0319] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 9A.

[0320] inv_list_flag equal to 1 specifies that the value is incremented by inverting each increment in the (listIdx-1)th list.

[0321] The sign of the POC value is used to derive the listIdx-th picture list from the (listIdx-1)-th picture list. inv_list_flag equal to 0 specifies that the listIdx-th picture list is signaled. When inv_list_flag is

[0322] When absent, it is inferred to be equal to 0.

[0323] neg_delta_entries specifies the number of entries in the listIdx-th picture list whose picture order count is less than the picture order count of the current picture. The value of neg_delta_entries shall be in the range of 0 to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1], inclusive.

[0324] pos_delta_entries specifies the number of entries in the listIdx-th picture list whose picture order count is greater than the picture order count of the current picture. The value of pos_delta_entries shall be in the range of 0 to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1]-neg_delta_entries (inclusive), delta_entries_minus1[i] is incremented by 1,

[0325] - when i is equal to 0, specifies the difference between the picture sequence count of the current picture and the i-th entry in the listIdx-th picture list (the picture sequence count of this entry is less than the picture count of the current picture), or,

[0326] - when i is greater than 0 and less than neg_delta_entries, specifies the difference between the picture order count values ​​of the i-th entry and the (i+1)-th entry in the listIdx-th picture list (the picture order count values ​​of these two entries are less than the picture order count value of the current picture), or,

[0327] - when i is equal to neg_delta_entries, specifies the difference between the picture order count of the current picture and the i-th entry in the listIdx-th picture list whose picture order count is greater than the picture count of the current picture, or,

[0328] - When i is greater than neg_delta_entries, specifies the difference between the picture order count values ​​of the (i+1)th entry and the i-th entry in the listIdx-th picture list (the picture order count values ​​of these two entries are greater than the picture order count value of the current picture).

[0329] delta_entries_minus1[i] should be between 0 and 2. 15 -1 (including the end value).

[0330] ltrp_list_present_flag equal to 0 specifies that no long-term reference pictures are signaled in this picture list. ltrp_list_present_flag equal to 1 specifies that long-term reference pictures are signaled in this picture list, and num_long_term_pics_minus1, poc_lst_lt[j], delta_poc_msb_present_flag[j] are present, and delta_po_msb_cycle_lt[j] may be present. When not present, ltrp_list_present_flag is inferred to be equal to 0.

[0331] num_long_term_pics_minus1 plus 1 specifies the number of long-term reference picture entries in the picture list. The sum of NumNegativePics[listIdx], NumPositivePics[listIdx], (num_long_term_pics_minus1+1) shall be less than or equal to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1].

[0332] poc_lsb_It[j] specifies the value of the picture order count modulo MaxPicOrderCntLsb for the j-th long-term reference picture in the list. The length of the poc_lsb_lt[i] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[0333] delta_poc_msb_present_flag[j] equal to 1 specifies that delta_poc_msb_cycle_lt[j] is present. delta_poc_msb_present_flag[i] equal to 0 specifies that delta_poc_msb_cycle_lt[j] is not present.

[0334] delta_poc_msb_cycle_It[j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture in the list. When delta_poc_msb_cycle_lt[j] is not present, it is inferred to be equal to 0.

[0335] The variable DeltaPocMsbCycleLt[j] is derived as follows:

[0336] if(j==0)

[0337] DeltaPocMsbCycleLt[j]=delta_poc_msb_cycle_lt[j]

[0338] else

[0339] DeltaPocMsbCycleLt[j]=delta_poc_msb_cycle_lt[j]+DeltaPocMsbCycleLt[j-1]

[0340] When inv_list_flag is equal to 0, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePics[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0341] NumNegativePics[listIdx]=neg_delta_entries

[0342] NumPositivePics[listIdx]=pos_delta_entries

[0343] NumDeltaPocs[listIdx]=NumNegativePics[listIdx]+NumPositivePics[listIdx]

[0344] - If i is equal to 0, the following applies:

[0345] DeltaPoc[listIdx][i]=-(delta_entries_minus 1[0]+1)

[0346] - If i > 0 and less than neg_delta_entries, the following applies:

[0347] DeltaPoc[listIdx][i]=DeltaPoc[listIdx][i-1]

[0348] -(delta_entries_minus 1[i]+1)

[0349] - If i is equal to neg_delta_entries, the following applies:

[0350] DeltaPoc[listIdx][neg_delta_entries]=delta_entries_minus1[i]+1

[0351] - If i is greater than neg_delta_entries, the following applies:

[0352] DeltaPoc[listIdx][i]=DeltaPoc[listIdx][i-1]+

[0353] (delta_entries_minus1[i]+1)

[0354] When inv_list_flag is equal to 1, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePocs[listIdx], DeltaPoc[listIdx][i]

[0355] Export as follows:

[0356] NumNegativePics[listIdx]=NumPositivePics[listIdx-l]

[0357] NumPositivePics[listIdx]=NumNegativePics[listIdx-l]

[0358] NumDeltaPocs[listIdx]=NumDeltaPocs[listIdx-l]

[0359] - For i in the range of 0 to NumDeltaPocs[listIdx] (inclusive), the following apply:

[0360] DeltaPoc[listIdx][i]=-(DeltaPoc[listIdx-l][i])

[0361] If ltrp_list_present_flag is equal to 0, then NumPocLt[listIdx] is set equal to 0. Otherwise: NumPocLt[listIdx] = num_long_term_pics_minus1 + 1

[0362]

[0363] Table 9B shows another example of pic_list syntax that can be used in conjunction with the exemplary syntax shown in Table 8. It should be noted that in the example shown in Table 9B, the reference picture list is allowed to be signaled in any order, which is contrary to the method that requires the picture before the current picture to be signaled first.

[0364]

[0365]

[0366] Table 9B

[0367] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 9B.

[0368] inv_list_flag equal to 1 specifies that the listIdx-th picture list is derived from the (listIdx-1)-th picture list by inverting the sign of each incremental POC value in the (listIdx-1)-th list. inv_list_flag equal to 0 specifies that the listIdx-th picture list is signaled. When inv_list_flag is not present, it is inferred to be equal to 0.

[0369] num_strp_pics specifies the number of short-term reference picture (STRP) entries in the listIdx-th picture list.

[0370] Variant: In a variant, instead of num_strjpics, the syntax element num_strp_pics_minus1 may be signaled. It may have the following semantics:

[0371] num_strp_pics_minus1 plus 1 specifies the number of short-term reference picture (STRP) entries in the listIdx-th picture list.

[0372] strp_delta_poc[i], when the i-th entry is the first STRP entry in the listIdx-th picture list, specifies the absolute difference between the picture order count value of the current picture and the picture referenced by the i-th entry, or, when the i-th entry is a STRP entry but not the first STRP entry in the listIdx-th picture list, specifies the absolute difference between the picture order count value of the picture referenced by the i-th entry in the listIdx-th picture list and the picture order count value of the picture referenced by the previous STRP entry.

[0373] delta_poc_st[i] should be between 0 and 2. 15 -1 (including the end value).

[0374] strp_pic_sign[i] equal to 1 specifies that the i-th entry in the listIdx-th picture list has an incremental picture order count (POC) value greater than or equal to 0. strp_pic_signs[i] equal to 0 specifies that the i-th entry in the listIdx-th picture list has an incremental picture order count (POC) value less than 0. When not present, strp_pic_sign[i] is inferred to be equal to 1. In another example: When not present, strp_pic_sign[i] is inferred to be equal to 0.

[0375] ltrp_list_present_flag equal to 0 specifies that no long-term reference pictures are signaled in this picture list. ltrp_list_present_flag equal to 1 specifies that long-term reference pictures are signaled in this picture list, and num_long_term_pics_minus1, poc_lst_lt[j], delta_poc_msb_present_flag[j] are present, and delta_po_msb_cycle_lt[j] may be present. When not present, present ltrp_list_present_flag is inferred to be 0.

[0376] num_long_term_pics_minus1 plus 1 specifies the number of long-term reference picture entries in the picture list.

[0377] The sum of NumNegativePics[listIdx], NumPositivePics[listIdx], and (num_long_term_pics_minus1+1) should be less than or equal to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1].

[0378] poc_lsb_lt[j] specifies the picture order count modulo the value of MaxPicOrderCntLsb for the j-th long-term reference picture in the list. The length of the poc_lsb_lt[i] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[0379] delta_poc_msb_present_flag[j] equal to 1 specifies that delta_poc_msb_cycle_lt[j] is present. delta_poc_msb_present_flag[i] equal to 0 specifies that delta_poc_msb_cycle_lt[j] is not present.

[0380] delta_poc_msb_cycle_lt[j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture in the list. When delta_poc_msb_cycle_lt[j] is not present, it is inferred to be equal to 0.

[0381] The variable DeltaPocMsbCycleLt[j] is derived as follows:

[0382] if(j==0)

[0383] DeltaPocMsbCycleLt[j]=delta_poc_msb_cycle_lt[j]

[0384] else

[0385] DeltaPocMsbCycleLt[j]=delta_poc_msb_cycle_lt[j]+DeltaPocMsbCycleLt[j-1]

[0386] When inv_list_flag is equal to 0, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePics[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0387]

[0388]

[0389] When inv_list_flag is equal to 1, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePocs[listIdx], DeltaPoc[listIdx][i]

[0390] Export as follows:

[0391] NumNegativePics[listIdx]=NumPositivePics[listIdx-l]

[0392] NumPositivePics[listIdx]=NumNegativePics[listIdx-l]

[0393] NumDeltaPocsf listIdx]=NumDeltaPocs[listIdx-l]

[0394] - For i in the range of 0 to NumDeltaPocs[listIdx] (inclusive), the following apply:

[0395] DeltaPoc[listIdx][i]=-(DeltaPoc[listIdx-1][i])

[0396] If ltrp_list_present_flag is equal to 0, then NumPocLt[listIdx] is set equal to 0. Otherwise: NumPocLt[listIdx] = num_long_term_pics_minus1 + 1

[0397]

[0398] Based on the syntax provided in Table 8 and Table 9A-Table 9B above, in one example, the process for deriving a reference picture list (RPL) may be performed according to and / or based on the following steps. These steps may be performed in the order shown below or in a different order.

[0399] The following applies:

[0400] For a variable CurrRPListIdx[j] in the range 0 to num_rpl_slice_header_minus1 (inclusive), the following is derived:

[0401] - If rpl_sps_flag is equal to 1, CurrRPListIdx[j] is set equal to rpl_idx[j].

[0402] - Otherwise, set CurrRPListIdx[j] equal to rpl_idx[num_ref_picjists_minus1+j+l].

[0403] For j in the range 0 to num_rpl_slice_header_minus1 (inclusive) the following apply:

[0404]

[0405] For j in the range 0 to num_rpl_slice_header_minus1 (inclusive) the following apply:

[0406]

[0407]

[0408] All reference pictures included in RefPics[j][k], for k in the range of NumDeltaPocs[CurrRPListIdx[j]] to NumDeltaPocs[CurrRPListIdx[j]]+NumPocLt[CurrRPListIdx[j]]-1] (inclusive), and for j in the range of 0 to num_rpl_slice_header_minusl (inclusive), are marked as "used for long-term reference".

[0409] All reference pictures in the DPB not included in RefPics[j] for j in the range of 0 to num_rpl_slice_header_minus1 (inclusive) are marked as "unused for reference".

[0410] Based on the syntax provided above in Table 8 and Tables 9A-9B, in one example, a process for generating an unavailable picture may be performed according to and / or based on the following steps:

[0411] - For each RefPics[j][i] where i is in the range of 0 to NumDeltaPocs[CurrRPListIdx[j]] (inclusive) and j is in the range of 0 to num_rpl_slice_header_minus1 (inclusive), i.e. equal to "no reference picture", generate the picture as specified in "Generate an Unusable Picture", and the following apply:

[0412] - Set the PicOrderCntVal value of the generated picture equal to PicOrderCntVal + DeltaPoc[CurrRPListIdx[j]][i].

[0413] - The generated images are marked as "for short-term reference".

[0414] - RefPics[j][i] is set to the reference picture being generated.

[0415] In one example, the above steps may be performed only when j is equal to num_rpl_slice_header_minus1.

[0416] - For each RefPics[j][i] where i is in the range NumDeltaPocs[CurrRPListIdx[j]] to NumDeltaPocs[CurrRPListIdx[j]] + NumPocLt[CurrRPListIdx[j]] - 1] (inclusive), and j is in the range 0 to num_rpl_slice_header_minus1 (inclusive), i.e. equal to "no reference picture",

[0417] Generate an image as specified in "Generating an Unusable Image", and the following apply:

[0418] - Set the PicOrderCntVal value of the generated picture to be equal to

[0419] (DPocLt[CurrRPListIdx[j]][i-NumDeltaPocs[CurrRPListIdx[j]]-slice

[0420] _pic_order_cnt_lsb+PicOrderCntVal), this is in DeltaPocMsbPresentFlag[CurrRPListIdx[j]][i-NumDeltaPocs[CurrR

[0421] PListIdx[j]] is equal to 1, otherwise it is set to DPocLt[CurrRPListIdx[j]][i-NumDeltaPocsf CurrRPListIdx[j]] (this is when DeltaPocMsbPresentFlag[CurrRPListIdx[j]][i-NumDeltaPocsfCurrRPListIdx[j]] is equal to 0).

[0422] - The slice_pic_order_cnt_lsb value of the generated picture is inferred to be equal to ((PicOrderCntVal of the generated picture) & (MaxPicOrderCntLsb-1)).

[0423] - The generated images are marked as "for long-term reference".

[0424] - RefPics[j][i] is set to the reference picture being generated.

[0425] In one example, the above steps may be performed only when j is equal to num_rpl_slice_header_minus1.

[0426] Based on the syntax provided above in Table 8 and Tables 9A-9B, in one example, constructing the reference picture list RefPicList0, and constructing RefPicList1 for a B slice may be performed based on the following:

[0427] Set the variable NumRpsCurrList0 equal to Max(num_ref_idx_10_active_minus1+1,

[0428] NumDeltaPocs[CurrRPListIdx[0]]+NumPocLt[CurrRPListIdx[0]]), and the list

[0429] RefPicList0 is constructed as follows:

[0430] for(i=0,rIdx=0;i<

[0431] (NumDeltaPocs[CurrRPListIdx[0]]]+NumPocLt[CurrRPListIdx[0]])&&

[0432] iD <NumRpsCurrList0;rIdx++,i++)

[0433] RefPicList0[rIdx]=RefPicsf 0][i]

[0434] When the slice is a B slice, the variable NumRpsCurrList1 is set equal to Max(num_ref_idx_ll_active_minus1+1, NumDeltaPocs[CurrRPListIdx[0]]+N

[0435] umPocLt[CurrRPListIdx[l]])), and the list RefPicList1 is constructed as follows:

[0436] for(i=0,rIdx=0;i<

[0437] (NumDeltaPocs[CurrRPListIdx[l]]+NumPocLt[CurrRPListIdx[l]])&&rIdx

[0438] <NumRpsCurrList1;rIdx++,i++)

[0439] RefPicList1[rIdx]=RefPics[1][i]

[0440] Table 10 shows another example of relevant syntax that may be included in an SPS, and Table 11 shows an example of relevant syntax in a slice segment header that may be used to directly signal a long-term reference picture list according to the techniques herein. It should be noted that the syntax included in Table 10 is not limited to being included in an SPS, and the syntax included in Table 11 is not limited to being included in a slice segment header. In the examples shown in Tables 10 and 11, long-term reference picture related information is not included in pic_List(), but is included in a separate long-term ltrp_pic_List(). It should be noted that when long-term reference picture related information is included in a separate ltrp_pic_list(), pic_list() may be based on the example shown in Table 7.

[0441] seq_parameter_set_rbsp(){ Descriptor … long_term_ref_pics_present_flag u(l) num_ref_pic_lists_minus1 ue(v) for(i=1;i<num_refjpic_lists_minus1+1;i++) pic_list(i) if(long_term_ref_pics_present_flag){ num_ltrp_ref_pic_lists_minus1 ue(v) for(i=0;i<num__ref_pic_lists_minus1+1;i++) ltrp_pic_list(i) } rbsp_trailmg_bits() }

[0442] Table 10

[0443]

[0444]

[0445] Table 11

[0446] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 10.

[0447] long_term_ref_pics_present_flag equal to 0 specifies that no long-term reference pictures are used for inter prediction of any coded picture in the CVS. long_term_ref_pics_present_flag equal to 1 specifies that long-term reference pictures may be used for inter prediction of one or more coded pictures in the CVS.

[0448] num_ref_pic_lists_minus1 specifies the number of pic_lists(i) syntax structures included in the SPS. The value of num_ref_pic_lists_minus1 shall be in the range of 0 to 255, inclusive.

[0449] pic_list(0) is inferred to be an empty list of pictures. Therefore, pic_list(0) does not include any pictures.

[0450] The decoder should allocate memory for a total of (num_ltrp_ref_pic_lists_minus1+4) ltrp_pic_list() syntax structures, since up to 3 ltrp_pic_list() syntax structures may be directly signaled in the slice header of the current picture.

[0451] num_ltrp_ref_pic_lists_minus1 specifies the number of ltrp_pic_lists(i) syntax structures included in the SPS. The value of num_ltrp_ref_pic_lists_minus1 should be in the range of 0 to 255, inclusive. The decoder should allocate memory for a total of (num_ltrp_ref_pic_lists_minus1+3) ltrp_pic_list() syntax structures, since up to 2 ltrp_pic_list() syntax structures may be directly signaled in the slice header of the current picture.

[0452] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 11.

[0453] num_rpl_slice_header_minus1 specifies the number of picjists(i) syntax structures signaled directly in the slice header if rpl_sps_flag is equal to 0, or the number of rpl_index[j] entries signaled in the slice header if rpl_sps_flag is equal to 1. The value of num_rpl_slice_header_minus1 shall be in the range of 0 to 2, inclusive. The value 3 is reserved.

[0454] rpl_sps_flag equal to 1 specifies that the reference picture list of the current picture is signaled based on the pic_list() syntax structure in the active SPS, which is identified by the syntax element rpl_idx[j] in the slice header. rpl_sps_flag equal to 0 specifies that the long-term reference picture list of the current picture is signaled in the pic_list() syntax structure, which is directly signaled in the slice header of the current picture.

[0455] rpl_idx[j] specifies the index into the reference picture list. rpl_idx[0] specifies the index into the reference picture list 0 for the current picture. If present, rpl_idx[1] specifies the index into the reference picture list 1 if the current slice is a B slice, and rpl_idx[1] specifies the index into the picture list that includes the reference picture of the picture that follows the current picture in bitstream order if the current slice is a P slice. If present, ipl_idx[2] specifies the index into the picture list that includes the reference picture of the picture that follows the current picture in bitstream order.

[0456] The syntax element rpl_idx[j] for j in the range of 0 to num_rpl_slice_header_minus1, inclusive, is represented by Ceil(Log2(num_refjpic_lists_minus1+1)) bits. The value of rpl_idx[j] shall be in the range of 0 to num_ref_pic_lists_minus1, inclusive.

[0457] num_ltrp_rpl_slice_header_minus1 specifies the number of ltrp_pic_lists(i) syntax structures signaled directly in the slice header if ltrp_rpl_sps_flag is equal to 0, or the number of ltrp_rpl_index[j] entries signaled in the slice header if ltrp_rpl_sps_flag is equal to 1. The value of num_ltrp_rpl_slice_header_minus1 shall be in the range of 0 to 1, inclusive. The values ​​2 and 3 are reserved.

[0458] In another example, only 1 bit (ie, u(l)) may be used for num_ltrp_rpl_slice_header_minus1, and its semantics will be as follows:

[0459] num_ltrp_rpl_slice_header_minus1 specifies the number of ltrp_pic_lists(i) syntax structures signaled directly in the slice header if ltrp_rpl_sps_flag is equal to 0, or specifies the number of ltrp_rpl_index[j] entries signaled in the slice header if ltrp_rpl_sps_flag is equal to 1.

[0460] ltrp_rpl_sps_flag equal to 1 specifies that the long-term reference picture list of the current picture is signaled based on the ltrp_pic_list() syntax structure in the active SPS, which is identified by the syntax element ltrp_rpl_idx[j] in the slice header. ltrp_rpl_sps_flag equal to 0 specifies that the long-term reference picture list of the current picture is signaled in the ltrp_pic_list() syntax structure, which is directly signaled in the slice header of the current picture.

[0461] ltrp_rpl_idx[j] specifies the index of the long-term reference picture list. ltrp_rpl_idx[0] specifies the index of the long-term reference picture list 0 and 1 used to construct the current picture. If present, rpl_idx[l] specifies the index of the picture list that includes the long-term reference picture of the picture that follows the current picture in bitstream order.

[0462] The syntax element ltrp_rpl_idx[j] for j in the range of 0 to num_ltrp_rpl_slice_header_minus1, inclusive, is represented by Ceil(Log2(num_ltrp_ref_pic_lists_minus1+1)) bits. The value of ltrp_rpl_idx[j] shall be in the range of 0 to num_ltrp_refjaic_lists_minus1, inclusive.

[0463] Table 12 shows another example of ltrp_pic_list syntax that can be used in conjunction with the example syntax shown in Tables 10 and 11.

[0464] ltrp_pic_list(ltrpList1dx){ Descriptor num_long_term_pics_minus1 ue(v) for(j=0;j<num_long_term_pics_minus1+1;j++){ poc_lsb_lt[j] u(v) delta_poc_msb_present_flag[j] u(l) if(delta_poc_msb_present_flag[j]) delta_poc_msb_cycle_lt[j] ue(v) } }

[0465] Table 12

[0466] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 12.

[0467] num_long_term_pics_minus1 plus 1 specifies the number of long-term reference picture entries in the picture list. NumNegativePics[listIdx], NumPositivePics[listIdx],

[0468] The sum of (num_long_term_pics_minus1+1) shall be less than or equal to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1].

[0469] poc_lsb_lt[j] specifies the picture order count modulus of the j-th long-term reference picture in the list.

[0470] The value of MaxPicOrderCntLsb. The length of the poc_lsb_lt[i] syntax element is

[0471] log2_max_pic_order_cnt_lsb_minus4+4 bits.

[0472] delta_poc_msb_present_flag[j] equal to 1 specifies that delta_poc_msb_cycle_lt[j] is present. delta_poc_msb_present_flag[i] equal to 0 specifies that delta_poc_msb_cycle_lt[j] is not present.

[0473] delta_poc_msb_cycle_lt[j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture in the list. When delta_poc_msb_cycle_lt[j] is not present, it is inferred to be equal to 0.

[0474] The variable DeltaPocMsbCycleLt[j] is derived as follows:

[0475]

[0476] When inv_list_flag is equal to 0, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePics[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0477] NumNegativePics[listIdx]=neg_delta_entries

[0478] NumPositivePics[listIdx]=pos_delta_entries

[0479] NumDeltaPocs[listIdx]=NumNegativePics[listIdx]+NumPositivePicsflistIdx]

[0480] - If i is equal to 0, the following applies:

[0481] DeltaPoc[listIdx][i]=-(delta_entries_minus1[0]+1)

[0482] - If i > 0 and less than neg_delta_entries, the following applies:

[0483] DeltaPocf listIdx][i]=DeltaPoc[listIdx][i-1]

[0484] -(delta_entries_minus1[i]+1)

[0485] - If i is equal to neg_delta_entries, the following applies:

[0486] DeltaPoc[listIdx][neg_delta_entries]=delta_entries_minus1[i]+1

[0487] - If i is greater than neg_delta_entries, the following applies:

[0488] DeltaPoc[listIdx][i]=DeltaPoc[listIdx][i-1]+

[0489] (delta_entries_minus1[i]+1)

[0490] When inv_list_flag is equal to 1, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePocs[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0491] NumNegativePics[listIdx]=NumPositivePics[listIdx-1]

[0492] NumPositivePics[listIdx]=NumNegativePics[listIdx-l]

[0493] NumDeltaPocs[listIdx]=NumDeltaPocs[listIdx-1]

[0494] - For i in the range of 0 to NumDeltaPocs[listIdx] (inclusive), the following apply:

[0495] DeltaPoc[listIdx][i]=-(DeltaPoc[listIdx-l][i])

[0496] If long_term_ref_pics_present_flag is equal to 0, NumPocLt[ItrpListIdx] is set equal to 0

[0497] Otherwise: NumPocLt[ltrpListIdx] = num_long_term_pics_minus1+1

[0498]

[0499] Based on the syntax provided above in Tables 10, 11, and 12, in one example, a process for deriving a reference picture list (RPL) may be performed according to and / or based on the following steps.

[0500] The steps may be performed in the order shown below or in a different order.

[0501] The following applies:

[0502] For j in the range 0 to num_rpl_slice_header_minus1 (inclusive),

[0503] The quantity CurrRPListIdx[j] is derived as follows:

[0504] - If rpl_sps_flag is equal to 1, CurrRPListIdx[j] is set equal to rpl_idx[j].

[0505] - Otherwise, set CurrRPListIdx[j] equal to rpl_idx[num_ref_pic_lists_minus1+j+1].

[0506] For j in the range of 0 to num_rpl_slice_header_minus1 (inclusive)

[0507] The following applies:

[0508]

[0509]

[0510] For j in the range 0 to num_rpl_slice_header_minus1 (inclusive), and n in the range 0 to num_ltrp_rpl_slice_header_minus1 (inclusive), the following apply:

[0511] The variable CurrLTRPRPListIdx[n] for n in the range 0 to num_ltrp_rpl_slice_header_minus1 (inclusive) is derived as follows:

[0512] - If ltrp__rpl_sps_flag is equal to 1, CurrLTRPRPListIdx[n] is set equal to ltrp_rpl_idx[n].

[0513] - Otherwise, set CurrLTRPRPListIdx[n] equal to

[0514]

[0515] In another example, the above steps are:

[0516] - if the current slice is a B slice, then only for j in the range of 0 to 1, or if the current slice is a P slice, then for n equals 0, j in the range of 0; and

[0517] - if the current slice is a B slice, then only for j equal to max(2, num_rpl_slice_header_minus1), or if the current slice is a P slice, then for j equal to max(1, num_rpl_slicejieader_minus1), n ​​equal to max(1, num_ltrp_rpl_slice_header_minus1); and

[0518] All reference pictures included in RefPics[j][k], for k in the range of NumDeltaPocs[CurrRPListIdx[j]] to NumDeltaPocs[CurrRPListIdx[j]]+NumPocLt[CurrLTRPRPListIdx[n]]-1] (inclusive), and for j in the range of 0 to num_rpl_slice_header_minusl (inclusive), are marked as "used for long-term reference".

[0519] All reference pictures in the DPB not included in RefPics[j] for j in the range of 0 to num_rpl_slice_header_minus1 (inclusive) are marked as "unused for reference".

[0520] Based on the syntax provided in Table 10, Table 11 and Table 12 above, in one example, a process for generating an unavailable picture may be performed according to and / or based on the following steps:

[0521] For each RefPics[j][i] where i is in the range of 0 to NumDeltaPocs[CurrRPListIdx[j]] (inclusive) and j is in the range of 0 to num_rpl_slice_header_minus1 (inclusive), that is, equal to "no reference picture", follow "generate an unavailable picture"

[0522] The image is generated as specified in , and the following apply:

[0523] The PicOrderCntVal value of the generated picture is set equal to PicOrderCntVal+DeltaPoc[CurrRPListIdx[j]][i].

[0524] The resulting image is marked as "for short-term reference".

[0525] RefPics[j][i] is set to the generated reference picture.

[0526] In one example, the above steps may be performed only when j is equal to num_rpl_slice_header_minus1.

[0527] For each RefPics[j][i] where i is in the range NumDeltaPocs[CurrRPListIdx[j]] to NumDeltaPocs[CurrRPListIdx[j]] + NumPocLt[CurrLTRPRPListIdx[n]] - 1] (inclusive), j is in the range 0 to num_rpl_slice_header_minus1 (inclusive), and n is in the range 0 to num_ltrp_rpl_slice_header_minus1, equal to "no reference picture", generate the picture as specified in "Generate an Unusable Picture", and the following apply:

[0528] - Set the PicOrderCntVal value of the generated picture to be equal to

[0529] (DPocLt[CurrLTRPRPListIdx[n]][i-NumDeltaPocs[CurrRPListIdx[j]

[0530] ]]-slice_pic_order_cnt_lsb+PicOrderCntVal), this is in DeltaPocMsbPresentFlag[CurrLTRPRPListIdx[n]][i-NumDeltaPocs[

[0531] If CurrRPListIdx[j]]] is equal to 1, otherwise it is set to DPocLt[CurrLTRPRPListIdx[n]][i-NumDeltaPocs[CurrRPListIdx[j]]]

[0532] (This is in DeltaPocMsbPresentFlag[CurrLTRPRPListIdx[n]][i-NumDeltaPocs[

[0533] CurrRPListIdx[j]]] is equal to 0).

[0534] - The slice_pic_order_cnt_lsb value of the generated picture is inferred to be equal to ((PicOrderCntVal of the generated picture) & (MaxPicOrderCntLsb-1)).

[0535] - The generated images are marked as "for long-term reference".

[0536] - RefPics[j][i] is set to the reference picture being generated.

[0537] In one example, only for j equal to num_rpl_slice_header_minus1, and

[0538] Execute the above steps when n is equal to num_ltrp_rpl_slice_header_minus1.

[0539] In one example, the above steps may be performed only when j is equal to num_rpl_slice_header_minus1.

[0540] Based on the syntax provided above in Tables 10, 11, and 12, in one example, constructing the reference picture list RefPicList0, and constructing RefPicList1 for a B slice may be performed based on the following:

[0541] Set the variable NumRpsCurrList0 equal to Max(num_ref_idx_10_active_minus1+1,

[0542] NumDeltaPocs[CurrRPListIdx[0]]+NumPocLt[CurrLTRPRPListIdx[0]]), and the list RefPicList0 is constructed as follows:

[0543] for(i=0,rIdx=0;i<

[0544] (NumDeltaPocs[CurrRPListIdx[0]]]+NumPocLt[CurrRPListIdx[0]])&&

[0545] iD <NumRpsCurrList0;rIdx++,i++)

[0546] RefPicList0[rIdx]=RefPics[0][i]

[0547] When the slice is a B slice, the variable NumRpsCurrList1 is set equal to Max(num_ref_idx_ll_active_minus1+1,

[0548] NumDeltaPocs[CurrRPListIdx[0]]+NumPocLt[CurrLTRPRPListIdx[0]])), and the list RefPicList1 is constructed as follows:

[0549]

[0550] In one example, a long-term reference picture list may be signaled directly in a slice header. With respect to the example of the SPS syntax shown in Table 8, Table 13 shows an example of the relevant syntax in a slice segment header that may be used to directly signal a long-term reference picture list according to the techniques herein. In addition, Table 14 provides an example of a long-term reference picture that may be included in a slice segment header. It should be noted that the example long-term reference picture list shown in Table 14 is arranged such that the first few entries in the list (indicated by syntax elements or variables) signal the long-term reference picture (LTRP) information of the current picture, and the remaining entries in the list signal the LTRP information of the pictures that follow the current picture in bitstream order.

[0551]

[0552] Table 13

[0553]

[0554]

[0555] Table 14

[0556] In one example, the following definitions may be used for the corresponding syntax elements shown in Table 13.

[0557] num_rpl_slice_header_minus1 specifies the number of pic_lists(i) syntax structures signaled directly in the slice header if rpl_sps_flag is equal to 0, or the number of rpl_index[j] entries signaled in the slice header if rpl_sps_flag is equal to 1. The value of num_rpl_slice_header_minus1 shall be in the range of 0 to 2, inclusive. The value 3 is reserved.

[0558] rpl_sps_flag equal to 1 specifies that the reference picture list of the current picture is signaled based on the pic_list() syntax structure in the active SPS, which is identified by the syntax element rpl_idx[j] in the slice header. rpl_sps_flag equal to 0 specifies that the long-term reference picture list of the current picture is signaled in the pic_list() syntax structure, which is directly signaled in the slice header of the current picture.

[0559] rpl_idx[j] specifies the index into the reference picture list. rpl_idx[0] specifies the index into the reference picture list 0 for the current picture. If present, rpl_idx[l] specifies the index into the reference picture list 1 if the current slice is a B slice, and rpl_idx[l] specifies the index into the picture list that includes the reference picture of the picture that follows the current picture in bitstream order if the current slice is a P slice. If present, rpl_idx[2] indicates the index into the picture list that includes the reference picture of the picture that follows the current picture in bitstream order.

[0560] The syntax element rpl_idx[j] for j in the range of 0 to num_rpl_slice_header_minus1, inclusive, is represented by Ceil(Log2(num_ref_pic_lists_minus1+1)) bits. The value of rpl_idx[j] shall be in the range of 0 to num_ref_pic_lists_minus1, inclusive. In one example, the following definitions may be used for the corresponding syntax elements shown in Table 14.

[0561] num_long_term_pics_minus1 plus 1 specifies the number of long-term reference picture entries in the ltrp_sl_list() list. This includes information about the long-term reference pictures of the current picture and the pictures that follow the current picture in bitstream order.

[0562] num_currpic_long_term_pics specifies the number of long-term reference picture entries in the ltrp_sl_list() list for the current picture.

[0563] Therefore, in the for loop of ltrp_sl_list(), the first num_currpic_long_term_pics entries correspond to the long-term reference picture information of the current picture, and the subsequent entries correspond to the long-term reference picture information of the pictures following the current picture in the bitstream order.

[0564] The sum of NumNegativePics[listIdx], NumPositivePics[listIdx], and (num_long_term_pics_minus1+1) should be less than or equal to sps_max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1].

[0565] poc_lsb_lt[j] specifies the value of the picture order count modulo MaxPicOrderCntLsb for the j-th long-term reference picture. The length of the poc_lsb_lt[i] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[0566] delta_poc_msb_present_flag[j] equal to 1 specifies that delta_poc_msb_cycle_lt[j] is present. delta_poc_msb_present_flag[i] equal to 0 specifies that delta_poc_msb_cycle_lt[j] is not present.

[0567] delta_poc_msb_cycle_lt[j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture. When delta_poc_msb_cycle_lt[j] is not present, it is inferred to be equal to 0.

[0568] The variable DeltaPocMsbCycleLt[j] is derived as follows:

[0569]

[0570] When inv_list_flag is equal to 0, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePics[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0571] NumNegativePics[listIdx]=neg_delta_entries

[0572] NumPositivePics[listIdx]=pos_delta_entries

[0573] NumDeltaPocs[listIdx]=NumNegativePics[listIdx]+NumPositivePics[listIdx]

[0574] - If i is equal to 0, the following applies:

[0575] DeltaPoc[listIdx][i]=-(delta_entries_minus1[0]+1)

[0576] - If i > 0 and less than neg_delta_entries, the following applies:

[0577] DeltaPoc[listIdx][i]=DeltaPoc[listIdx][i-1]

[0578] -(delta_entries_minus 1[i]+1)

[0579] - If i is equal to neg_delta_entries, the following applies:

[0580] DeltaPoc[listIdx][neg_delta_entries]=delta_entries_minus1[i]+1

[0581] - If i is greater than neg_delta_entries, the following applies:

[0582] DeltaPoc[listIdx][i]=DeltaPoc[listIdx][i-1]+

[0583] (delta_entries_minus1[i]+1)

[0584] When inv_list_flag is equal to 1, the variables NumNegativePics[listIdx], NumPositivePics[listIdx], NumPositivePocs[listIdx], DeltaPoc[listIdx][i] are derived as follows:

[0585] NumNegativePics[listIdx]=NumPositivePics[listIdx-l]

[0586] NumPositivePics[listIdx]=NumNegativePics[listIdx-l]

[0587] NumDeltaPocs[listIdx]=NumDeltaPocs[listIdx-l]

[0588] - For i in the range of 0 to NumDeltaPocs[listIdx] (inclusive), the following apply:

[0589] DeltaPoc[listIdx][i]=-(DeltaPoc[listIdx-l][i])

[0590] If long_term_ref_pics_present_flag is equal to 0, NumPocLt is set equal to 0

[0591] Otherwise: NumPocLt = num_long_term_pics_minus1 + 1;

[0592]

[0593] Based on the syntax provided above in Table 13 and Table 14, in one example, the process for deriving a reference picture list (RPL) may be performed according to and / or based on the following steps. These steps may be performed in the order shown below or in a different order.

[0594] The following applies:

[0595] For j in the range 0 to num_rpl_slice_header_minus1 (inclusive),

[0596] The quantity CurrRPListIdx[j] is derived as follows:

[0597] - If rpl_sps_flag is equal to 1, CurrRPListIdx[j] is set equal to rpl_idx[j].

[0598] - Otherwise, set CurrRPListIdx[j] equal to rpl_idx[num_ref_pic_lists_minus1+j+1].

[0599] For j in the range of 0 to num_rpl_slice_header_minus1 (inclusive)

[0600] The following applies:

[0601]

[0602] If the current slice is a B slice, then for j in the range 0 to 1, or if the current

[0603] The slice is a P slice, then for j in the range 0, the following applies:

[0604]

[0605]

[0606] And if the current slice is a B slice, then for j equal to max(2, num_rpl_slice_header_minus1), or if the current slice is a P slice, then for j equal to max(1, num_rpl_slice_header_minus1), the following applies:

[0607]

[0608] All reference pictures included in RefPics[j][k], for k in the range NumDeltaPocs[CurrRPListIdx[j]] to NumDeltaPocs[CurrRPListIdx[j]] + NumPocLtCurr-1] (inclusive), if the current slice is a B slice, then for j in the range 0 to 1, or if the current slice is a P slice, then for j in the range 0, and for k in the range NumDeltaPocs[CurrRPList In the range Idx[j]] to NumDeltaPocs[CurrRPListIdx[j]] + NumPocLt - NumPocLtCurr - 1] (inclusive), if the current slice is a B slice, then for j equal to max(2, num_rpl_slice_header_minus1), or if the current slice is a P slice, then for j equal to max(l, num_rpl_slice_header_minus1), are marked as "used for long-term reference". All reference pictures in the DPB not included in RefPics[j] for j in the range 0 to num_rpl_slice_header_minus1 (inclusive) are marked as "unused for reference".

[0609] Based on the syntax provided in Table 13 and Table 14 above, in one example, the process for generating an unavailable picture may be performed according to and / or based on the following steps:

[0610] For each RefPics[j][i] where i is in the range of 0 to NumDeltaPocs[CurrRPListIdx[j]] (inclusive) and j is in the range of 0 to num_rpl_slice_header_minus1 (inclusive), i.e. equal to "no reference picture", generate the picture as specified in "Generate an Unusable Picture", and the following apply:

[0611] The PicOrderCntVal value of the generated picture is set equal to PicOrderCntVal+DeltaPoc[CurrRPListIdx[j]][i].

[0612] The resulting image is marked as "for short-term reference".

[0613] RefPics[j][i] is set to the generated reference picture.

[0614] In one example, the above steps may be performed only when j is equal to num_rpl_slice_header_minus1.

[0615] For each RefPics[j][i] where i is in the range NumDeltaPocs[CurrRPListIdx[j]] to NumDeltaPocs[CurrRPListIdx[j]] + NumPocLtCurr] - 1] (inclusive), for j in the range 0 to 1 if the current slice is a B slice, or for j in the range 0 if the current slice is a P slice, that is, equal to "no reference picture", generate the picture as specified in "Generating an Unusable Picture", and the following apply:

[0616] - Set the PicOrderCntVal value of the generated picture to be equal to (DPocLt[i-NumDeltaPocs[CurrRPListIdx[j]]-slice_pic_order_cnt_lsb

[0617] +PicOrderCntVal), this is in DeltaPocMsbPresentFlag

[0618] When [i-NumDeltaPocs[CurrRPListIdx[j]] is equal to 1, otherwise it is set to DPocLt[i-NumDeltaPocs[CurrRPListIdx[j]] (this is when DeltaPocMsbPresentFlag[i-NumDeltaPocs[CurrRPListIdx[j]] is equal to 0).

[0619] - The slice_pic_order_cnt_lsb value of the generated picture is inferred to be equal to ((PicOrderCntVal of the generated picture) & (MaxPicOrderCntLsb-1)).

[0620] - The generated images are marked as "for long-term reference".

[0621] - RefPics[j][i] is set to the reference picture being generated.

[0622] In one example, the above steps may be performed only when j is equal to num_rpl_slice_header_minus1.

[0623] For each RefPics[j][i] where i is in the range NumDeltaPocs[CurrRPListIdx[j]] to NumDeltaPocs[CurrRPListIdx[j]] + NumPocLt - NumPocLtCurr] - l] (inclusive), for j equal to max(2, num_rpl_slice_header_minus1) if the current slice is a B slice, or for j equal to max(1, num_rpl_slice_header_minus1) if the current slice is a P slice, that is, equal to "no reference picture", generate the picture as specified in "Generate an Unusable Picture", and the following apply:

[0624] - Set the PicOrderCntVal value of the generated picture to be equal to (DPocLt[i-NumDeltaPocs[CurrRPListIdx[j]]-slice_pic_order_cnt_lsb

[0625] +PicOrderCntVal), this is in DeltaPocMsbPresentFlag

[0626] When [i-NumDeltaPocs[CurrRPListIdx[j]] is equal to 1, otherwise it is set to DPocLt[i-NumDeltaPocs[CurrRPListIdx[j]] (this is when DeltaPocMsbPresentFlag[i-NumDeltaPocs[CurrRPListIdx[j]] is equal to 0).

[0627] - The slice_pic_order_cnt_lsb value of the generated picture is inferred to be equal to ((PicOrderCntVal of the generated picture) & (MaxPicOrderCntLsb-1)).

[0628] - The generated images are marked as "for long-term reference".

[0629] - RefPics[j][i] is set to the reference picture being generated.

[0630] In one example, the above steps may be performed only when j is equal to num_rpl_slice_header_minus1.

[0631] Based on the syntax provided above in Table 13 and Table 14, in one example, constructing the reference picture list RefPicList0, and constructing RefPicList1 for a B slice may be performed based on the following:

[0632] Set the variable NumRpsCurrList0 equal to Max(num_ref_idx_10_active_minus1+1,

[0633] NumDeltaPocs[CurrRPListIdx[0]]+NumPocLtCurr), and the list RefPicList0 is constructed as follows:

[0634] for(i=0,rIdx=0;i<(NumDeltaPocs[CurrRPList1dx[0]]]+

[0635] NumPocLtCurr)&&rIdx <NumRpsCurrList0;rIdx++,i++)

[0636] RefPicList0[rIdx]=RefPics[0][i]

[0637] When the slice is a B slice, the variable NumRpsCurrList1 is set equal to Max(num_ref_idx_ll_active_minus1+1,

[0638] NumDeltaPocs[CurrRPListIdx[0]]+NumPocLtCurr), and the list RefPicList1 is constructed as follows:

[0639] for(i=0,rIdx=0;i<(NumDeltaPocs[CurrRPListIdx[l]]+

[0640] NumPocLtCurr)&&rIdx <NumRpsCurrList1;rIdx++,i++)

[0641] RefPicList1[rIdx]=RefPics[1][i]

[0642] In one example, a long-term reference picture may be inserted into reference picture list 0 and / or reference picture list 1 according to its PicOrderCntVal value distance compared to the PicOrderCntVal of the current picture.

[0643] It should be noted that, with respect to the examples shown in Tables 8 to 14, the process of generating an unavailable picture and selecting a reference picture list may be similar to the process described above with respect to Tables 4 to 7.

[0644] As described above, the process for constructing the reference picture lists RefPicList0 and RefPicList1 includes determining the respective values ​​of NumRpsCurrList0 and NumRpsCurrList1. As provided above, the values ​​of NumRpsCurrList0 and NumRpsCurrList1 are determined based on the respective values ​​of num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1. In JVET-K1001, the values ​​of num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1 may be determined based on the following syntax elements included in a picture parameter set (PPS).

[0645] num_ref_idx_10_default_active_minus1 specifies the number of active and negative values ​​for P and B slices.

[0646] The inferred value of num_ref_idx_10_active_minus1, where

[0647] num_ref_idx_active_override_flag is equal to 0. The value of num_ref_idx_10_default_active_minus1 shall be in the range of 0 to 14, inclusive.

[0648] num_ref_idx_11_default_active_minus1 specifies the inferred value of num_ref_idx_11_active_minus1, where num_ref_idx_active_override_flag is equal to 0. The value of num_ref_idx_11_default_active_minus1 shall be in the range of 0 to 14, inclusive, with the following syntax elements provided in the slice header:

[0649] num_ref_idx_active_override_flag equal to 1 specifies that the syntax element num_ref_idx_10_active_minus1 is present for P slices and B slices, and the syntax element num_ref_idx_11_active_minus1 is present for B slices. num_ref_idx_active_override_flag equal to 0 specifies that the syntax elements num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1 are not present.

[0650] num_ref_idx_10_active_minus1 specifies the maximum reference index of reference picture list 0 that can be used to decode the slice. num_ref_idx_10_active_minus1 should be in the range of 0 to 14, inclusive. When the current slice is a P slice or a B slice and num_ref_idx_10_active_minus1 is not present, num_ref_idx_10_active_minus1 is inferred to be equal to num_ref_idx_10_default_active_minus1.

[0651] num_ref_idx_11_active_minus1 specifies the maximum reference index of reference picture list 1 that can be used to decode the slice. num_ref_idx_11_active_minus1 should be in the range of 0 to 14, inclusive. When num_ref_idx_11_active_minus1 is not present, num_ref_idx_11_active_minus1 is inferred to be equal to num_ref_idx_11_default_active_minus1.

[0652] According to the techniques of this article, num_ref_idx_10_default_active_minus1 and num_ref_idx_11_default_active_minus1 can be removed from the PPS in JVET-K1001, and the variant of the PPS includes num_ref_idx_10_default_active_minus1 and num_ref_idx_11_default_active_minus1. num_ref_idx_active_override_flag, num_ref_idx_10_active minus1, and num_ref_idx_11_active_minus1 can be removed from the slice header in JVET-K1001, and the variant of the slice header includes num_ref_idx_active_override_flag, num_ref_idx_10_active_minus1, and num_ref_idx_11_active_minus1. That is, according to the techniques of this document, the values ​​of num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1 are derived rather than being directly signaled. In addition, the following describes techniques for deriving values ​​corresponding to num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1 according to the techniques of this document. It should be noted that the convention in ITU-T H.265 and JVET-K1001 provides that the values ​​signaled in the calculation include underscores, while the derived values ​​(referred to as variables) do not include underscores. Therefore, in the following equation, NumRefIdxL0ActiveMinus is a derived variable whose value corresponds to the previously signaled value of num_ref_idx_10_active_minus1, and

[0653] NumRefIdxL1ActiveMinus is a derived variable whose value corresponds to the value of the previously signaled num_ref_idx_11_active_minus1. It should be noted that when the techniques described herein are used to modify JVET-K1001, instances of num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1 in JVET-K1001 are replaced with corresponding instances of NumRefIdxL0ActiveMinus and NumRefIdxL1ActiveMinus. For the sake of brevity, the replacement of num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1 with NumRefIdxL0ActiveMinus and NumRefIdxL1ActiveMinus, respectively, is not described in detail herein.

[0654] In one example, according to the techniques herein, NumRefIdxL0ActiveMinus and NumRefIdxL1ActiveMinus may be derived as follows:

[0655] If the current slice is a P slice or a B slice:

[0656] NumRefIdxL0ActiveMinus=(rpl_sps_flag?

[0657] NumDeltaPocs[rpl_idx[0]]:

[0658] NumDeltaPocs[num_ref_pic_lists_minus1+1])-1

[0659] If the current slice is a B slice:

[0660] NumRefIdxL1ActiveMinus=(rpl_sps_flag?NumDeltaPocsfrpl_idx[l]]:

[0661] NumDeltaPocs[num_ref_pic_lists_minus1+2])-1

[0662] Furthermore, in one example, according to the techniques herein, num_ref_idx_10_active_minus1 and num_ref_idx_11_active_minus1 may be derived as follows:

[0663] If the current slice is a P slice or a B slice:

[0664] NumRefIdxLOActiveMinus = (rpl_sps_flag?

[0665] (NumDeltaPocs[ rpl_idx[0]]+NumPocLt[ rpl_idx[0]] :

[0666] (NumDeltaPocs[num_ref_pic_lists_minus 1+1 ]+

[0667] NumPocLt[num_ref_pic_lists_minus1+1]))-1

[0668] If the current slice is a B slice:

[0669] NumRefIdxLlActiveMinus=(rpl_sps_flag?

[0670] (NumDeltaPocs[rpl_idx[l]]+NumPocLt[rpl_idx[0]]):

[0671] NumDeltaPocs[num_ref_pic_lists_minus1+2]+

[0672] NumPocLt[num_ref_pic_lists_minus1+2])-l

[0673] It should be noted that, in one example, in the above equation, the step of subtracting 1 to derive NumRefIdxL0ActiveMinus and NumRefIdxL1ActiveMinus may be omitted.

[0674] Additionally, in this case, the reference picture list 0 and reference picture list 1 creation process will be modified as follows:

[0675] The list RefPicList0 is constructed as follows:

[0676] for(i=0;i<

[0677] (NumDeltaPocs[CurrRPListIdx[0]]]+NumPocLt[CurrRPListIdx[0]]); i++)

[0678] RefPicList0[rIdx]=RefPics[0][i]

[0679] When the slice is a B slice, the list RefPicList1 is constructed as follows:

[0680] for(i=0;i<

[0681] (NumDeltaPocs[CurrRPListIdx[l]]+NumPocLt[CurrRPListIdx[l]]); i++)

[0682] RefPicList1[rIdx]=RefPics[1][i]

[0683] In another example, in addition, in this case, the reference picture list 0 and reference picture list 1 creation process will be modified as follows:

[0684] The list RefPicList0 is constructed as follows:

[0685] for(i=0;i <NumDeltaPocs[CurrRPListIdx[0]];i++)

[0686] RefPicList0[rIdx]=RefPics[0][i]

[0687] When the slice is a B slice, the list RefPicList1 is constructed as follows:

[0688] for(i=0;i <NumDeltaPocs[CurrRPListIdx[l]];i++)

[0689] RefPicList1[rIdx]=RefPics[1][i]

[0690] "On reference picture management for VVC" in the 12th meeting of ISO / IEC JTC1 / SC29 / WG11 held in Macau, China (Macao, CN) from October 3 to 12, 2018, that is, document JVET-L0112-v3, which is referred to as JVET-L0112 in this document, describes a reference picture management method based on direct signaling and derivation of reference picture lists 0 and 1. Specifically, Table 15 shows the relevant syntax included in the SPS for the reference picture management method described in JVET-L0112, Table 16 shows the relevant syntax included in the PPS for the reference picture management method described in JVET-L0112, and Table 17 shows the relevant syntax included in the slice header for the reference picture management method described in JVET-L0112.

[0691] seq_parameter_set_rbsp(){ Descriptor … long_term_ref_pics_flag u(l) if(long_term_ref_pics_flag) additional_lt_poc_lsb ue(v) rpl1_same_as_rp10_flag u(l) for(i=0;i<!rpl1_same_as_rp10_flag?2:1;i++){ num_ref_pic_lists_in_sps[i] ue(v) for(i=0;i<num_ref_pic_lists_in_sps[i];j++) ref_pic_list_struct(i,j,long_term_ref_pics_flag) } … }

[0692] Table 15

[0693] pic_parameter_set_rbsp(){ Descriptor … for(i=0;i<2;i++) num_ref_idx_default_active_minus1[i] ue(v) rpl1_idx_present_flag u(l) … rbsp_trailing_bits() }

[0694] Table 16

[0695]

[0696] Table 17

[0697] JVET-L0112 provides the following definitions for the corresponding syntax elements shown in Table 15: long_term_ref_pics_flag equal to 0 specifies that no LTRP is used for inter prediction of any coded picture in the CVS. long_term_ref_pics_flag equal to 1 specifies that LTRP may be used for inter prediction of one or more coded pictures in the CVS.

[0698] additional_lt_poc_lsb specifies the value of the variable MaxLtPicOrderCntLsb used in the decoding process of the reference picture list:

[0699] MaxLtPicOrderCntLsb=2 (log2_max_pic_order_cnt_lsb_minus4+4+additional_lt_poc_lsb)

[0700] The value of additional_lt_poc_lsb shall be in the range of 0 to 32 - Log2_max_pic_order_cnt_lsb_minus4 - 4, inclusive.

[0701] When not present, the value of additional_lt_poc_lsb is inferred to be equal to 0.

[0702] rpl1_same_as_rpl0_flag equal to 1 specifies that the syntax structures num_ref_pic_lists_in_sps[1] and ref_pic_list_struct(1,rplsIdx,ItrpFlag) do not exist and the following apply:

[0703] - The value of num_ref_pic_lists_in_sps[1] is inferred to be equal to the value of num_ref_pic_lists_in_sps[0].

[0704] - The value of each of the syntax elements in ref_pic_list_struct(1, rplsIdx, ItrpFlag) is inferred to be equal to the value of the corresponding syntax element in ref_pic_list_struct(0, rplsIdx, ItrpFlag) for rplsIdx in the range 0 to num_ref_pic_lists_in_sps[0]-1.

[0705] num_ref_pic_lists_in_sps[i] specifies the number of ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) syntax structures included in the SPS, where listIdx is equal to i. The value of num_ref_pic_lists_in_sps[i] shall be in the range of 0 to 64, inclusive.

[0706] NOTE 2 - For each value of listIdx (equal to 0 or 1), the decoder shall allocate memory for a total number of num_ref_pic_lists_in_sps[i]+1 syntax structures ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag), since there may be one ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) syntax structure directly signaled in the slice header of the current picture.

[0707] JVET-L0112 provides the following definitions for the corresponding syntax elements shown in Table 16: num_ref_idx_default_active_minus1[i] increments by 1, when i is equal to 0, specifies the inferred value of the variable NumRefIdxActive[0] for P slices and B slices, where num_ref_idx_active_override_flag is equal to 0, and when i is equal to 1, specifies the inferred value of NumRefIdxActive[1] for B slices, where num_ref_idx_active_override_flag is equal to 0. The value of num_ref_idx_default_active__minus1[i] shall be in the range of 0 to 14, inclusive.

[0708] rpl1_idxjpresent_flag equal to 0 specifies that ref_pic_list_sps_flag[1] and ref_pic_list_idx[1] are not present in the slice header. rpl1_idx_present_flag equal to 1 specifies that ref_pic_list_sps_flag[1] and ref_pic_list_idx[1] may be present in the slice header.

[0709] JVET-L0112 provides the following definitions for the corresponding syntax elements shown in Table 17:

[0710] slice_pic_order_cnt_lsb specifies the picture order count modulus of the current picture.

[0711] MaxPicOrderCntLsb. The length of the slice_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits. The value of slice_pic_order_cnt_lsb shall be in the range of 0 to MaxPicOrderCntLsb-1, inclusive. When slice_pic_order_cnt_lsb is not present, slice_pic_order_cnt_lsb is inferred to be equal to 0.

[0712] ref_pic_list_sps_flag[i] equal to 1 specifies that the reference picture list for the current picture is derived based on one of the ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) syntax structures in the active SPS, where listIdx is equal to i. ref_pic_list_sps_flag[i] equal to 0 specifies that the reference picture list i for the current picture is derived based on the ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) syntax structure, where listIdx is equal to i, that is included directly in the slice header of the current picture. When num_ref_pic_lists_in_sps[i] is equal to 0, the value of ref_pic_list_sps_flag[i] is inferred to be equal to 0. When rpl_idx_present_flag is equal to 0 and ref_pic_list_sps_flag[0] is present

[0713] When ref_pic_list_sps_flag[1] is inferred to be equal to ref_pic_list_sps_flag[0].

[0714] ref_pic_list_idx[i] specifies the index into the list of ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) syntax structures included in the active SPS for deriving reference picture list i for the current picture, where listIdx is equal to i. The syntax element ref_pic_list_idx[i] is represented by Ceil(Log2(num_ref_pic_lists_in_sps[i])) bits. When not present, the value of ref_pic_list_idx[i] is inferred to be equal to 0. The value of ref_pic_list_idx[i] shall be in the range of 0 to num_ref_pic_lists_in_sps[i]-1, inclusive. When rpl_idx_present_flag is equal to 0 and ref_pic_list_sps_flag[0] is present, the value of ref_pic_list_idx[1] is inferred to be equal to ref_pic_list_idx[0].

[0715] num_ref_idx_active_override_flag equal to 1 specifies that the syntax element num_ref_idx_active_minus1[0] is present for P slices and B slices, and the syntax element num_ref_idx_active_minus1[1] is present for B slices. num_ref_idx_active_override_flag equal to 0 specifies that the syntax elements num_ref_idx_active_minus1[0] and num_ref_idx_active_minus1[1] are not present.

[0716] num_ref_idx_active_minus1[i], when present, specifies the value of the variable NumRefIdxActive[i] as follows:

[0717] NumRefIdxActive[i]=num_ref_idx_active_minus1[i]+1

[0718] The value of num_ref_idx_active_minus1[i] shall be in the range of 0 to 14 (inclusive).

[0719] The value of NumRefIdxActive[i]-1 specifies the maximum reference index of reference picture list i that can be used to decode the slice. When the value of NumRefIdxActive[i] is equal to 0, the reference index of reference picture list i is not available for decoding the slice.

[0720] For i equal to 0 or 1, when the current slice is a B slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[i] is inferred to be equal to num_ref_idx_default_active_minus1[i]+1.

[0721] When the current slice is a P slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[0] is inferred to be equal to num_ref_idx_default_active_minus1[0]+1.

[0722] When the current slice is a P slice, NumRefIdxActive[1] is inferred to be equal to 0.

[0723] When the current slice is an I slice, NumRefIdxActive[0] and NumRefIdxActive[1] are inferred to be equal to 0.

[0724] In one example, according to the techniques herein, the slice header in JVET-L0112 may be modified such that when syntax elements corresponding to the number of active reference pictures need to be signaled, they are signaled only when the corresponding reference picture list includes more than one entry. In this case, when not signaled, the number of active reference pictures for reference picture list 0 and / or reference picture list 1 is inferred. This provides bit savings.

[0725] Specifically, Table 18 shows an example of relevant syntax included in a slice header according to the techniques of this document.

[0726]

[0727]

[0728] Table 18

[0729] Regarding the corresponding syntax elements shown in Table 18, the definitions may be based on the definitions provided above. Regarding the syntax element num_ref_idx_active_minus1, the definitions may be based on the following:

[0730] num_ref_idx_active_minus1[i], when present, specifies the value of the variable NumRefIdxActive[i] as follows:

[0731] NumRefIdxActive[i]=num_ref_idx_active_minus1[i]+1

[0732] The value of num_ref_idx_active_minus1[i] shall be in the range of 0 to 14 (inclusive).

[0733] The value of NumRefIdxActive[i]-1 specifies the maximum reference index of reference picture list i that can be used to decode the slice. When the value of NumRefIdxActive[i] is equal to 0, the reference index of reference picture list i is not available for decoding the slice.

[0734] For i equal to 0 or 1, when the current slice is a B slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[i] is inferred to be equal to num_ref_idx_default_active_minus1[i]+1.

[0735] When the current slice is a P slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[0] is inferred to be equal to num_ref_idx_default_active_minus1[0]+1.

[0736] For i equal to 0 or 1, when the current slice is a B slice and num_ref_idx_active_override_flag is equal to 1 and num_ref_idx_active_minus1[i]

[0737] When not present, num_ref_idx_active_minus1[i] is inferred to be equal to 0. In another example, in this case, for i equal to 0 and 1, num_ref_idx_active_minus1[i] may be inferred to be equal to 0.

[0738] Infer different values.

[0739] When the current slice is a P slice and num_ref_idx_active_override_flag is equal to 1 and num_ref_idx_active_minus1[0] does not exist, num_ref_idx_active_minus1[0] is inferred

[0740] =0. In another example, in this case, num_ref_idx_active_minus1[0] may be equal to 0.

[0741] Different values ​​are inferred. When the current slice is a P slice, NumRefIdxActive[1] is inferred to be equal to 0.

[0742] When the current slice is an I slice, NumRefIdxActive[0] and NumRefIdxActive[1] are inferred to be equal to 0.

[0743] Furthermore, in one example, according to the techniques herein, in Table 17, num_ref_idx_active_minus1[i] may be signaled instead as num_ref_idx_active[i] to allow the reference picture list to have no active reference pictures for the current picture. This may be the case when the reference picture list only includes pictures that are reference pictures for future pictures in the bitstream. Another case where the reference picture list may be empty may be when num_strp_entries[listIdx][rplsIdx] and num_ltrp_entries[listIdx][rplsIdx] are signaled in ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) such that the value of NumEntriesInList[listIdx][rplsIdx] should be in the range of 0 to sps_max_dec_pic_buffering_minus1. In one example, num_ref_idx_active[i] may be defined based on the following:

[0744] num_ref_idx_active[i], when present, specifies the value of the variable NumRefIdxActive[i] as follows:

[0746] NumRefIdxActive[i]=num_ref_idx_active[i]

[0747] The value of num_ref_idx_active[i] shall be in the range of 0 to 15 (inclusive).

[0748] When num_ref_idx_active[i] is greater than 0, the value of NumRefIdxActive[i] specifies the maximum reference index of reference picture list i that can be used to decode the slice. When the value of NumRefIdxActive[i] is equal to 0, the reference index of reference picture list i is not available for decoding the slice.

[0749] For i equal to 0 or 1, when the current slice is a B slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[i] is inferred to be equal to num_ref_idx_default_active_minus1[i]+1.

[0750] When the current slice is a P slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[0] is inferred to be equal to num_ref_idx_default_active_minus1[0]+1.

[0751] When the current slice is a P slice, NumRefIdxActive[1] is inferred to be equal to 0.

[0752] When the current slice is an I slice, NumRefIdxActive[0] and NumRefIdxActive[1] are inferred to be equal to 0.

[0753] In addition, in one example, according to the techniques herein, the contents of Table 18 may be modified and signaled as shown in Table 18A. In this case, num_ref_idx_active_minus1[i] may be signaled instead as num_ref_idx_active[i] to allow the reference picture list to have no active reference pictures for the current picture. This may be the case when the reference picture list only includes pictures that are reference pictures for future pictures in the bitstream. Another case where the reference picture list may be empty may be when num_strp_entries[listIdx][rplsIdx] and num_ltrp_entries[listIdx][rplsIdx] are signaled in ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) such that the value of NumEntriesInList[listIdx][rplsIdx] should be in the range of 0 to sps_max_dec_pic_buffering_minus1. In one example, num_ref_idx_active[i] may be based on the following definition. Additionally, in this case, when syntax elements corresponding to the number of active reference pictures need to be signaled, they are signaled only when the corresponding reference picture list is not empty. In this case, when not signaled, the number of active reference pictures for reference picture list 0 and / or reference picture list 1 is inferred. This provides bit savings.

[0754]

[0755]

[0756] Table 18A

[0757] In this example, the semantics could be as follows:

[0758] num_ref_idx_active[i], when present, specifies the value of the variable NumRefIdxActive[i] as follows:

[0759] NumRefIdxActive[i]=num_ref_idx_active[i]

[0760] The value of num_ref_idx_active[i] shall be in the range of 0 to 15 (inclusive).

[0761] When num_ref_idx_active[i] is greater than 0, the value of NumRefIdxActive[i] specifies the maximum reference index of reference picture list i that can be used to decode the slice. When the value of NumRefIdxActive[i] is equal to 0, the reference index of reference picture list i is not available for decoding the slice.

[0762] For i equal to 0 or 1, when the current slice is a B slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[i] is inferred to be equal to num_ref_idx_default_active_minus1[i]+1.

[0763] When the current slice is a P slice and num_ref_idx_active_override_flag is equal to 0, NumRefIdxActive[0] is inferred to be equal to num_ref_idx_default_active_minus1[0]+1.

[0764] For i equal to 0 or 1, when the current slice is a B slice and num_ref_idx_active_override_flag is equal to 1 and num_ref_idx_active[i] is not present, num_ref_idx_active[i] is inferred to be equal to 0.

[0765] When the current slice is a P slice and num_ref_idx_active_override_flag is equal to 1, nuin_ref_idx_active[0] does not exist and num_ref_idx_active[0] is inferred to be equal to 0.

[0766] When the current slice is a P slice, NumRefIdxActive[1] is inferred to be equal to 0.

[0767] When the current slice is an I slice, NumRefIdxActive[0] and NumRefIdxActive[1] are inferred to be equal to 0.

[0768] In another example, the constraint on NumEntriesInList[listIdx][rplsIdx]=num_strp_entries[listIdx][rplsIdx]+num_ltrp_entries[listIdx][rplsIdx] may be modified as follows:

[0769] The value of NumEntriesInList[listIdx][rplsIdx] shall be in the range of 01 to sps_max_dec_pic_buffering_minus1, inclusive.

[0770] Regarding the examples shown in Table 18 and Table 18A, it should be noted that in one example, the condition "if (NumEntriesInList[i][currRpls!dx[i]]>0)", then NumEntriesInList[i] can be replaced with num_ref_entries[i], where num_ref_entries[i][rplsIdx] is defined in Table 26 and the associated semantics are defined below the table.

[0771] Furthermore, in one example, with respect to the examples shown in Table 18 and Table 18A, the following syntax is used.

[0772]

[0773] It can be modified as follows:

[0774]

[0775] Or as follows:

[0776]

[0777] Referring to Table 5 above, in one example, according to the technology of this article, in one example, according to

[0778] As shown in the example of Table 19, the active override syntax may be included in the slice header.

[0779]

[0780] Table 19

[0781] Regarding the corresponding syntax elements shown in Table 19, the definitions may be based on the definitions provided above. Regarding the syntax element num_ref_idx_active_minus1, the definitions may be based on the following:

[0782] num_ref_idx_10_active_minus1 specifies the maximum reference index of reference picture list 0 that can be used to decode the slice. num_ref_idx_10_active_minus1 should be in the range of 0 to 14, inclusive. When the current slice is a P slice or a B slice and num_ref_idx_active_override_flag is equal to 0, num_ref_idx_10_active_minus1 is inferred to be equal to num_ref_idx_10_default_active_minus1.

[0783] When the current slice is a P slice or a B slice and num_ref_idx_active_override_flag is equal to 1 and num_ref_idx_10_active_minus1 is not present, num_ref_idx_10_active_minus1 is inferred to be equal to 0. num_ref_idx_11_active_minus1 specifies the maximum reference index of reference picture list 1 that can be used to decode the slice. num_ref_idx_11_active_minus1 should be in the range of 0 to 14, inclusive. When num_ref_idx_11_active_minus1 is not present and num_ref_idx_active_override_flag is equal to 0, num_ref_idx_11_active_minus1 is inferred to be equal to num_ref_idx_11_default_active_minus1.

[0784] When num_ref_idx_ll_active_minus1 is not present and num_ref_idx_active_override_flag is equal to 1, num_ref_idx_ll_active_minus1 is inferred to be equal to 0.

[0785] Regarding Table 19, the following parts of the syntax

[0786] if((slice_type == B) && (NumDeltaPocs[CurrRPListIdx[1]] > 1)) mim_ref_idx_11_active_minus1 ue(v)

[0787] can be equivalently written as:

[0788] if((slice_type == B)){ if(NumDeltaPocs[CurrRPList1dx[1]] > 1) num_ref_idx_I1_active_minus1 ue(v) }

[0789] Table 20 shows the relevant syntax of the reference picture list structure included in the reference picture management method described in JVET-L0112.

[0790] ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag){ Descriptor num_strp_entries[listIdx][rplsIdx] ue(v) if(ItrpFlag) num_ltrp_entries[listIdx][rplsIdx] ue(v) for(i=0;i<NumEntriesInList[listIdx][rplsIdx];i++){ if(nnm_ltrp_entries[listIdx][rplsIdx] > 0) lt_ref_pic_flag[listIdx][rplsIdx][i] if(!lt_ref_pic_flag[listIdx][rplsIdx][i]){ strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) delta_poc_st[listIdx][rplsIdx][i] ue(v) }else poc_lsb_lt[listIdx][rplsIdx][i] u(v) } }

[0791] Table 20

[0792] JVET-L0112 provides the following definitions for the corresponding syntax elements shown in Table 20: ref_pic_List_struct(listIdx, rplsIdx, ItrpFlag) The syntax structure can be present in the SPS or in the slice header. Depending on whether the syntax structure is included in the slice header or the SPS, the following applies:

[0793] - If present in the slice header, ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag)

[0794] The syntax structure specifies the reference picture list lighIdx of the current picture (including the slice picture).

[0795] - Otherwise (exists in SPS), ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag)

[0796] The syntax structure specifies the candidates for the reference picture list listIdx, and the term "current picture" in the semantics specified in the rest of this clause refers to each picture that: 1) has one or more slices containing ref_pic_list_idx[listIdx] equal to an index in the list ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) included in the SPS,

[0797] and 2) in a CVS with an SPS as the active SPS.

[0798] num_strp_entries[listIdx][rplsIdx] specifies the number of STRP entries in the ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) syntax structure.

[0799] num_ltrp_entries[listIdx][rplsIdx] specifies the number of LTRP entries in the ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) syntax structure. When not present, the value of num_ltrp_entries[listIdx][rplsIdx] is inferred to be equal to 0.

[0800] The variable NumEntriesInList[listIdx][rplsIdx] is derived as follows:

[0801] NumEntriesInList[listIdx][rplsIdx]=num_strp_entries[listIdx][rplsIdx]+num_ltrp_entries)listIdx][rplsIdx]

[0802] The value of NumEntriesInList[listIdx][rplsIdx] shall be in the range of 0 to sps_max_dec_pic_buffering_minus1, inclusive.

[0803] lt_ref_pic_flag[listIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) syntax structure is an LTRP entry. lt_ref_pic_flag[listIdx][rplsIdx][i] equal to 0 specifies that the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) syntax structure is a STRP entry. When not present, the value of lt_ref_pic_flag[listIdx][rplsIdx][i] is inferred to be equal to 0.

[0804] A bitstream conformance requirement is that the sum of lt_ref_pic_flag[listIdx][rplsIdx][i] for i in the range 0 to NumEntriesInList[listIdx][rplsIdx]-1 (inclusive) shall be equal to num_ltrp_entries[listIdx][rplsIdx].

[0805] strp_entry_sign_flag[listIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the syntax structure ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) has a value greater than or equal to 0.

[0806] strp_entry_sign_flag[listIdx][rplsIdx] is equal to 0 to specify the syntax structure

[0807] The i-th entry in ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) has a value less than 0.

[0808] delta_poc_st[listIdx][rplsIdx][i] specifies the absolute difference between the picture order count value of the current picture and the picture referenced by the i-th entry, when the i-th entry is the first STRP entry in the ref_pic_list_struct(rplsIdx,ItrpFlag) syntax structure, or, when the i-th entry is a STRP entry but not the first STRP entry in the ref_pic_list_struct(rplsIdx,ItrpFlag) syntax structure, specifies the absolute difference between the picture order count value of the picture referenced by the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) syntax structure and the picture order count value of the picture referenced by the previous STRP entry.

[0809] The value of delta_poc_st[listIdx][rplsIdx][i] should be between -2 15 to 2 15 -1 (including the end value).

[0810] The list DeltaPocSt[listIdx][rplsIdx] is derived as follows:

[0811]

[0812] poc_lsb_lt[listIdx][rplsIdx][i] specifies the value of the picture order count modulo MaxLtPicOrderCntLsb of the picture referenced by the i-th entry in the ref_pic_list_struct(listIdx, rplsIdx, ItrpFlag) syntax structure. The length of the poc_lsb_lt[listIdx][rplsIdx][i] syntax element is Log2(MaxLtPicOrderCntLsb) bits.

[0813] In one example, according to the techniques herein, the relevant syntax of the reference picture list structure may be modified as shown in Table 21, such that the syntax element of the number of short-term reference picture entries is modified to be signaled with a minus 1 coding. This provides bit savings and requires signaling of at least one short-term reference picture.

[0814] ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag){ Descriptor num_strp_entries_minus1[listIdx][rplsIdx] ue(v) It should be noted that there are some possible typos in the original text, such as "slice_type==B" which should probably be "slice_type == B". This translation is done based on the best understanding of the context with these potential errors. if (ltrpFlag) num_ltrp_entries[listIdx][rplsIdx] ue(v) for(i=0;i<NumEntriesInList[listIdx][rplsIdx];i++){ if (num_ltrp_entries[listIdx][rplsIdx] > 0) lt_ref_pic_flag[listIdx][rplsIdx][i] if (!lt_ref_pic_flag[listIdx][rplsIdx][i]) { strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) delta_poc_st[listIdx][rplsIdx][i] ue(v) } else poc_lsb_lt[listIdx][rplsIdx][i] u(v) } }

[0815] Table 21

[0816] In this case, the semantics of num_strp_entries_minus1 in Table 21 may be as follows:

[0817] num_strp_entries_minus1[listIdx][rplsIdx] plus 1 specifies the number of STRP entries in the ref_pic_list_struct(listIdx,rplsIdx,ItrpFlag) syntax structure.

[0818] In this case, the variable NumEntriesInList[listIdx][rplsIdx] can be derived as follows:

[0819] NumEntriesInList[listIdx][rplsIdx]=

[0820] num_strp_entries_minus1[listIdx][rplsIdx]+1+

[0821] num_ltrp_entries[listIdx][rplsIdx]

[0822] In one example, the constraint may be as follows:

[0823] The value of NumEntriesInList[listIdx][rplsIdx] shall be in the range of 1 to sps_max_dec_pic_buffering_minus1, inclusive.

[0824] Or as follows:

[0825] The value of NumEntriesInList[listIdx][rplsIdx] should be greater than 0.

[0826] As described above, JVET-L0112 describes a reference picture management method based on direct signaling and derivation of reference picture lists 0 and 1. Table 22 shows the relevant syntax included in the SPS for reference picture management, Table 23 shows the relevant syntax included in the slice header for reference picture management, and Table 24 shows the relevant syntax for the reference picture list structure according to the technology of this document. It should be noted that according to the examples shown in Tables 22 to 24, the syntax elements num_ref_idx_default_active_minus1[i] and rpl1_idx_present_flag are not included in the PPS.

[0827] seq_parameter_set_rbsp() Descriptor … long_term_ref_pics_flag u(l) if (long term ref_pics flag) additional_lt_poc_lsb ue(v) num_ref_pic_lists_in_sps ue(v) for(j=0;j<num_ref_pic_lists_in_sps;j++) ref_pic_list_struct(j) … }

[0828] Table 22

[0829] slice_header() Descriptor … if (nal_unit_type != 1RAP_NUT) { slice_pic_order_cnt_lsb u(v) num_rpl_header_minus1 u(2) for(i=0,hdrRplIdx=0;i<num_rpl_header_minus1+1;i++){ if (num_ref_pic_lists_in_sps > 0) ref_pic_list_sps_flag[i] u(1) if (ref_pic_list_sps_flag[i]) { if (num_ref_pic_lists_in_sps > 1) ref_pic_Iist_idx[i] u(v) } else { ref_pic_list_struct(num_ref_pic_lists_in_sps + hdrRplIdx) hdrRplIdx++ } } } … }

[0830] Table 23 In a variation of Table 23, the condition

[0831] if (num_ref_pic_lists_in_sps > 0) ref_pic_list_sps_flag[i] u(1)

[0832] The following changes can be made:

[0833] if (num_ref_pic_lists_in_sps[i] > 0) ref_pic_list_sps_flag[i] u(1)

[0834] where num_ref_pic_lists_in_sps[i] specifies the number of ref_pic_list_struct(listIdx, rplsIdx) syntax structures included in the SPS, where listIdx is equal to i. The value of num_ref_pic_lists_in_sps[i] shall be in the range of 0 to 64, inclusive.

[0835] NOTE 2 - For each value of listIdx (equal to 0 or 1), the decoder shall allocate memory for a total number of num_ref_pic_lists_in_sps[i]+1 syntax structures ref_pic_list_struct(listIdx,rplsIdx), since there may be one ref_pic_list_struct(listIdx,rplsIdx) syntax structure signaled directly in the slice header of the current picture.

[0836]

[0837] Table 24

[0838] Regarding the corresponding syntax elements shown in Table 22, the definitions may be based on the definitions provided above. Regarding the syntax element num_ref_pic_lists_in_sps, the definitions may be based on the following:

[0839] num_ref_pic_lists_in_sps specifies the number of ref_pic_list_struct(rplsIdx) syntax structures included in the SPS. The value of num_ref_pic_lists_in_sps shall be in the range of 0 to 128, inclusive. NOTE 2 - The decoder shall allocate memory for a total of num_ref_pic_lists_in_sps+3ref_pic_list_struct(listIdx,rplsIdx) syntax structures, since up to three ref_pic_list_struct(rplsIdx) syntax structures may be directly signaled in the tile group header of the current picture.

[0840] Regarding the corresponding syntax elements shown in Table 23, the definition may be based on the following:

[0841] slice_pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb of the current picture. The length of the slice_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits. The value of slice_pic_order_cnt_lsb shall be in the range of 0 to MaxPicOrderCntLsb-1, inclusive.

[0842] num_rpl_header_minus1 specifies the sum of the number of ref_pic_list_struct() syntax structures signaled directly in the tile group header when ref_pic_list_sps_flag[i] is equal to 0 and the number of ref_pic_list_idx[i] entries signaled in the tile group header when ref_pic_list_sps_flag[i] is equal to 1. The value of num_rpl_header_minus1 shall be in the range of 0 to 2, inclusive. The value 3 is reserved.

[0843] ref_pic_list_sps_flag[i] equal to 1 specifies that the reference picture list for the current picture is derived based on one of the ref_pic_list_struct(rplsIdx) syntax structures in the active SPS. ref_pic_list_sps_flag[i] equal to 0 specifies that the reference picture list i for the current picture is derived based on the ref_pic_list_struct(rplsIdx) syntax structure included directly in the tile group header of the current picture. When not present, ref_pic_list_sps_flag[i] is inferred to be equal to 0.

[0844] ref_pic_list_idx[i] specifies the index into the list of ref_pic_list_struct(listIdx, rplsIdx) syntax structures included in the active SPS for deriving the reference picture list i of the current picture, where listIdx is equal to i. The syntax element ref_pic_list_idx[i] is represented by Ceil(Log2(num_ref_pic_lists_in_sps[i])) bits. When not present, the value of ref_pic_list_idx[i] is inferred to be equal to 0. The value of ref_pic_list_idx[i] shall be in the range of 0 to num_ref_pic_lists_in_sps-1, inclusive.

[0845] With respect to Table 24, the following definitions of the corresponding syntax elements may be used:

[0846] The ref_pic_list_struct(rplsIdx) syntax structure may be present in the SPS or in the tile group header. Depending on whether the syntax structure is included in the tile group header or the SPS, the following applies:

[0847] - If present in the tile group header, the ref_pic_list_struct(rplsIdx) syntax structure specifies the reference picture list of the current picture (the picture containing the slice).

[0848] - Otherwise (present in the SPS), the ref_pic_list_struct(rplsIdx) syntax structure specifies candidates for the reference picture list, and the term "current picture" in the semantics specified in the rest of this clause refers to every picture that: 1) has one or more tile groups containing ref_pic_list_idx[j] with an index equal to that in the ref_pic_list_struct(rplsIdx) list included in the SPS, and 2) is in a CVS that has an SPS as the active SPS.

[0849] num_strp_entries[rplsIdx] specifies the number of STRP entries in the ref_pic_list_struct(rplsIdx) syntax structure.

[0850] ltrp_list_present_flag equal to 0 specifies that no long-term reference pictures are signaled in this reference picture list structure. ltrp_list_present_flag equal to 1 specifies that long-term reference pictures are signaled in this reference picture list structure ref_pic_list_struct(rplsIdx). When not present, present ltrp_list_present_flag equal to 0 is inferred.

[0851] num_ltrp_entries_minus1[rplsIdx] plus 1 specifies the number of LTRP entries in the ref_pic_list_struct(rplsIdx) syntax structure.

[0852] The variable NumEntriesInList[rplsIdx] is derived as follows:

[0853] NumEntriesInList[rplsIdx]=num_strp_entries[rplsIdx]+

[0854] (ltrp_list_present_flag?(num ltrp entriesjninusl[rplsIdx]+l):0)

[0855] The value of NumEntriesInList[rplsIdx] shall be in the range of 0 to sps_max_dec_pic_buffering_minus1 (inclusive).

[0856] lt_ref_pic_flag[rplsIdx][i] equal to 1 specifies that the i-th entry in the ref_pic_list_struct(rplsIdx) syntax structure is an LTRP entry. lt_ref_pic_flag[rplsIdx][i] equal to 0 specifies that the i-th entry in the ref_pic_list_struct(rplsIdx) syntax structure is a STRP entry. When not present, when ltrp_list_present_flag is equal to 0, the value of lt_ref_pic_flag[rplsIdx][i] is inferred to be equal to 0. When not present, when ltrp_list_present_flag is equal to 1, the value of lt_ref_pic_flag[rplsIdx][NumEntriesInList[rplsIdx]-1] is inferred as follows:

[0857] When ltrp_list_present_flag is equal to 1, the variable LTRPFlags is derived as follows:

[0858]

[0859] Then when ltrp_list_present_flag is equal to 1, it is inferred that lt_ref_pic_flag[rplsIdx][NumEntriesInList[rplsIdx]-1] is equal to (num_ltrp_entries_minus1[rplsIdx]+1)-LTRPFlags.

[0860] strp_entry_sign_flag[rplsIdx][i] equal to 1 specifies that the i-th entry in the syntax structure ref_pic_list_struct(rplsIdx) has an incremental POC value greater than or equal to 0. strp_entry_sign_flag[rplsIdx] equal to 0 specifies that the i-th entry in the syntax structure ref_pic_list_struct(rplsIdx) has a value less than 0. When not present, strp_entry_sign_flag[rplsIdx][i] is inferred to be equal to 1.

[0861] delta_poc_st[rplsIdx][i], when the i-th entry is the first STRP entry in the ref_pic_list_struct(rplsIdx) syntax structure, specifies the absolute difference between the picture order count value of the current picture and the picture referenced by the i-th entry, or, when the i-th entry is a STRP entry but not the first STRP entry in the ref_pic_list_struct(rplsIdx) syntax structure, specifies the absolute difference between the picture order count value of the picture referenced by the i-th entry in the ref_pic_list_struct(rplsIdx) syntax structure and the picture order count value of the picture referenced by the previous STRP entry.

[0862] The value of delta_poc_st[rplsIdx][i] shall be between 0 and 2. 15 -1 (including the end value).

[0863] The list DeltaPocSt[listIdx][rplsIdx] is derived as follows:

[0864]

[0865] poc_lsb_lt[rplsIdx][i] specifies the i-th column in the ref_pic_list_struct(rplsIdx) syntax structure.

[0866] The picture order count of the picture referenced by the entry modulo the value of MaxLtPicOrderCntLsb.

[0867] The length of the poc_lsb_lt[rplsIdx][i] syntax element is Log2(MaxLtPicOrderCntLsb) bits.

[0868] With respect to the examples shown in Tables 22 to 24, in one example, the decoding process for reference picture list construction may be as follows:

[0869] This process is called at the beginning of the decoding process for each tile group that is not an IRAP picture. Reference pictures are addressed by reference indices. The reference index is an index into a reference picture list. When decoding an I tile group, no reference picture list is used in the decoding of the tile group data. When decoding a P slice, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the slice data. When decoding a B slice, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the slice data.

[0870] At the beginning of the decoding process for each tile group of a non-IRAP picture, a reference picture list RefPicList[i] for i in the range of 0 to num_rpl_head_minus1 (inclusive) is derived.

[0871] The reference picture list is used to mark the reference pictures specified as follows or decode slice data.

[0872] NOTE 1 - For an I-tile group of a non-IRAP picture that is not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order. For a P-tile group that is not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order.

[0873] For i, the reference picture list RefPicList[i] is in the range of 0 to num_rpl_head_minus1 (inclusive) and is constructed as follows:

[0874]

[0875]

[0876] For every i equal to 0 or 1, the following applies:

[0877] - If lt_ref_pic_flag[RplsIdx[i]][j] is equal to 0, then for RefPicList[i][j] whose j is in the range of 0 to NumEntriesInList[RplsIdx[i]]-1 (inclusive),

[0878] Each entry in is called a STRP entry, otherwise it is called a LTRP entry.

[0879] Note 2 - Both an entry in RefPicList[0] and an entry in RefPicList[1] may refer to a specific picture. More than one entry in RefPicList[0] or more than one entry in RefPicList[1] may also refer to a specific picture.

[0880] NOTE 3 - The entries in RefPicList[0] and the entries in RefPicList[1] collectively refer to all reference pictures that can be used for inter prediction of the current picture and one or more pictures that follow the current picture in decoding order. The entries in RefPicList[2] refer to all reference pictures that are not used for inter prediction of the current picture but can be used for inter prediction of one or more pictures that follow the current picture in decoding order.

[0881] NOTE 4 - There may be one or more entries in RefPicList[0] or RefPicList[1] equal to "No reference picture" because the corresponding picture does not exist in the DPB. An unintentional picture loss equal to "No reference picture" should be inferred for each entry in RefPicList[0] or RefPicList[1].

[0882] Requirements for bitstream conformance The following constraints apply:

[0883] - The picture referenced by each entry in RefPicList[0] or RefPicList[1] shall exist in the DPB and shall have a TemporalId less than or equal to the current picture.

[0884] - A STRP entry in RefPicList[0] or RefPicList[1] of a tile group of a picture and a LTRP entry in RefPicList[0] or RefPicList[1] of the same tile group or a different tile group of the same picture shall not refer to the same picture.

[0885] - There shall be no LTRP entry in RefPicList[0] or RefPicList[1] where the difference between the PicOrderCntVal of the current picture and the PicOrderCntVal of the picture referenced by this entry is greater than or equal to 2 24 .

[0886] - Let setOfRefPics be the unique set of pictures referenced by all entries in RefPicList[i] for i in the range 0 to num_rpl_header_minus1, inclusive. The number of pictures in setOfRefPics shall be less than or equal to sps_max_dec_pic_buffering_minus1, and setOfRefPics shall be the same for all tile groups of a picture.

[0887] With respect to the examples shown in Tables 22 to 24, in one example, the decoding process for reference picture marking may be as follows:

[0888] This process is called once for each picture after the decoding process of the tile group header and the construction of the reference picture list for the tile group as described above, but before decoding the tile group data. This process may result in one or more reference pictures in the DPB being marked as "unused for reference" or

[0889] "For long term reference".

[0890] Decoded pictures in the DPB can be marked as "not used for reference", "used for short-term reference", or

[0891] "used for long-term reference", but only one of the three at any given moment during the operation of the decoding process. Assigning one of these flags to a picture implicitly removes the other of these flags when applicable. When a picture is referred to as being marked "used for reference", this refers collectively to pictures that are marked either "used for short-term reference" or "used for long-term reference" (but not both).

[0892] When the current picture is protected by an IRAP picture, all reference pictures (if any) in the current DPB are marked as "unused for reference".

[0893] STRPs are identified by their PicOrderCntVal values. LTRPs are identified by Log2(MaxLtPicOrderCntLsb)LSB of their PicOrderCntVal values.

[0894] The following applies:

[0895] - For each LTRP entry in RefPicList[i], for i in the range 0 to num_rpl_header_minus1 (inclusive), the picture is marked as

[0896] "For long term reference".

[0897] - For each STRP entry in RefPicList[i], for i in the range 0 to num_rpl_header_minus1 (inclusive), the picture is marked as

[0898] "For short-term reference only".

[0899] - Each reference picture in the DPB that is not referenced by any entry in RefPicList[i] for i in the range of 0 to num_rpl_header_minus1 (inclusive) is marked as "unused for reference".

[0900] It should be noted that, in one example, a reference picture list structure of minus-one signaling may be used. Table 25 shows the relevant syntax of the reference picture list structure when minus-one signaling is used.

[0901] ref_pic_list_struct(rplsIdx) { Descriptor num_strp_entries[rplsIdx] ue(v) if (long_term_ref_pics_flag) num_ltrp_entries[rplsIdx] ue(v) for(i=0;i<NumEntriesInList[rplsIdx];i++){ if((num_ltrp_entries[rplsIdx]>0)&&(i<(NumEntriesInList[rplsIdx]-1))) lt_ref_pic_flag[rplsIdx][i] if (!lt_ref_pic_flag[rplsIdx][i]) { delta_poc_st[rplsIdx][i] ue(v) if (delta_poc_st[rplsIdx][i]) strp_entry_sign_flag[rplsIdx][i] u(l) } else poc_lsb_lt[rplsIdx][i] u(v) } }

[0902] Table 25

[0903] Regarding the corresponding syntax elements shown in Table 25, the definitions may be based on the definitions provided above. Regarding the syntax element lt_ref_pic_flag, the definitions may be based on the following:

[0904] lt_ref_pic_flag[rplsIdx][i] equal to 1 specifies that the i-th entry in the ref_pic_list_struct(rplsIdx) syntax structure is an LTRP entry. lt_ref_pic_flag[rplsIdx][i] equal to 0 specifies that the i-th entry in the ref_pic_list_struct(rplsIdx) syntax structure is a STRP entry. When not present, the value of lt_ref_pic_flag[rplsIdx][i] is inferred to be equal to 0 when num_ltrp_entries[rplsIdx] is equal to 0. When not present, the value of lt_ref_pic_flag[rplsIdx][NumEntriesInList[rplsIdx]-1] is inferred when num_ltrp_entry[rplsIdx] is greater than 0:

[0905] When num_ltrp_entries[rplsIdx] is greater than 0, the variable LTRPFlags is derived as follows:

[0906]

[0907] Then when num_ltrp_entries[rplsIdx] is greater than 0, it is inferred that lt_ref_pic_flag[rplsIdx][NumEntriesInList[rplsIdx]-1] is equal to (num_ltrp_entries[rplsIdx])-LTRPFlags

[0908] In one example, according to the techniques herein, the syntax of the reference picture list structure may be provided as shown in Table 26.

[0909] ref_pic_list_struct(listIdx, rplsIdx) { Descriptor num_ref_entries[listIdx][rplsIdx] ue(v) for(i=0;i<num_ref_entries[listIdx][rplsIdx];i++){ if (long_term_ref_pics_flag) st_ref_pic_flag[listIdx][rplsIdx][i] u(l) if (st_ref_pic_flag[listIdx][rplsIdx][i]) { abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if (abs_delta_poc_st[listIdx][rplsIdx][i] > 0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) } else poc_lsb_lt[listIdx][rplsIdx][i] u(v) } }

[0910] Table 26

[0911] With respect to Table 26, the following definitions of the corresponding syntax elements may be used:

[0912] The ref_pic_list_struct(listIdx, rplsIdx) syntax structure may be present in the SPS or in the slice header. Depending on whether the syntax structure is included in the slice header or the SPS, the following applies:

[0913] If present in the slice header, the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies the reference picture list lghIdx of the current picture (the picture containing the slice).

[0914] Otherwise (present in the SPS), the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies candidates for reference picture list listIdx, and the term "current picture" in the semantics specified in the rest of this clause refers to every picture that: 1) has one or more ref_pic_list_struct(listIdx, rplsIdx) structures equal to those included in the SPS.

[0915] A slice of ref_pic_list_idx[listIdx] of the index in the list, and 2) in the CVS with the SPS as the active SPS.

[0916] num_ref_entries[listIdx][rplsIdx] specifies the number of entries in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure. The value of num_ref_entries[listIdx][rplsIdx] shall be in the range of 0 to sps_max_dec_pic_buffering_minus1+14, inclusive.

[0917] st_ref_pic_flaglistIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure is a STRP entry. st_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 a LTRP entry. When not present, the value of st_ref_pic_flag[listIdx][rplsIdx][i] is inferred to be equal to 1.

[0918] abs_delta_poc_st[listIdx][rplsIdx][i] specifies the absolute difference between the picture order count value of the current picture and the picture referenced 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, when the i-th entry is a STRP entry but not the first STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure, specifies the absolute difference between the picture order count value of the picture referenced by the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure and the picture order count value of the picture referenced by the previous STRP entry.

[0919] The value of abs_delta_poc_st[listIdx][rplsIdx][i] shall be between 0 and 2. 15 -1 (including the end value).

[0920] strp_entry_sign_flag[listIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the syntax structure ref_pic_list_struct(listIdx, rplsIdx) has a value greater than or equal to 0. strp_entry_sign_flag[listIdx][rplsIdx] equal to 0 specifies that the i-th entry in the syntax structure ref_pic_list_struct(listIdx, rplsIdx) has a value less than 0. When not present, the value of strp_entry_sign_flag[i][j] is inferred to be equal to 1.

[0921] The list DeltaPocSt[listIdx][rplsIdx] is derived as follows:

[0922]

[0923] poc_lsb_lt[listIdx][rplsIdx][i] specifies the value of the picture order count modulo MaxPicOrderCntLsb of the picture referenced by the i-th entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. The length of the poc_lsb_lt[listIdx][rplsIdx][i] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[0924] In one example, with respect to the example syntax of the reference picture list structure provided in Table 26 in one example, according to the techniques herein, the syntax of the corresponding slice header may be provided as in Table 27.

[0925]

[0926] Table 27

[0927] Regarding the corresponding syntax elements shown in Table 27, the definitions may be based on the definitions provided above. Regarding the syntax elements additional_poc_lsb_present_flag and additional_poc_lsb_val, the definitions may be based on the following:

[0928] additional_poc_lsb_present_flag[i][j] equal to 1 specifies that additional_poc_lsb_val[i][j] is present. additional_poc_lsb_present_flag[i][j] equal to 0 specifies that additional_poc_lsb_present_flag[i][j] is not present.

[0929] additional_poc_lsb_val[i][j] specifies the value of FullPocLsbLt[i][j] as follows:

[0930] FullPocLsbLtf i][RplsIdx[i]][j]=

[0931] additional_poc_lsb_val[i][j]*MaxPicOrderCntLsb+

[0932] poc_lsb_lt[i][RplsIdxf i]][j]

[0933] The syntax element additional_poc_lsb_val[i][j] is represented by additional_lt_poc_lsb_len bits. When not present, the value of additional_poc_lsb_val[i][j] is inferred to be equal to 0.

[0934] In one example, the definitions of some of the syntax elements in Table 27 may be modified as follows:

[0935] ref_pic_list_sps_flag[i] equal to 1 specifies that the reference picture list for the current picture is derived based on one of the ref_pic_list_struct(listIdx, rplsIdx) syntax structures in the active SPS, where listIdx is equal to i. ref_pic_list_sps_flag[i] equal to 0 specifies that the reference picture list i for the current picture is derived based on the ref_pic_list_struct(listIdx, rplsIdx) syntax structure, where listIdx is equal to i, which is included directly in the slice header of the current picture. When rpl1_idx_present_flag is equal to 0, the value of ref_pic_list_sps_flag[1] is inferred to be equal to ref_pic_list_sps_flag[0]. When not present, ref_pic_list_sps_flag[i] is inferred to be equal to 0.

[0936] ref_pic_list_idx[i] specifies the index into the list of ref_pic_list_struct(listIdx,rplsIdx) syntax structures included in the active SPS for the ref_pic_list_struct(listIdx,rplsIdx) syntax structures used to derive reference picture list i for the current picture, where listIdx is equal to i. The syntax element ref_pic_list_idx[i] is represented by Ceil(Log2(num_ref_pic_lists_in_sps[i])) bits. When not present, the value of ref_pic_list_idx[i] is inferred to be equal to 0. The value of ref_pic_list_idx[i] shall be in the range of 0 to num_ref_pic_lists_in_sps[i]-1, inclusive. When rpl1_idx_present_flag is not present, the value of ref_pic_list_idx[i] shall be in the range of 0 to num_ref_pic_lists_in_sps[i]-1, inclusive.

[0937] When equal to 0, the value of ref_pic_list_idx[1] is inferred to be equal to ref_pic_list_idx[0].

[0938] The variable RplsIdx[i] is derived as follows:

[0939] RplsIdx[i]=ref_pic_list_sps_flag[i]? ref_pic_list_idx[i]:

[0940] num_ref_pic_lists_in_sps[i]

[0941] In this case, there is an example; the variable NumLTRPEntries[listIdx][rplsIdx] can be derived as follows:

[0942]

[0943] In another example, the slice header syntax may be further modified as shown in Table 27A.

[0944]

[0945] Table 27A

[0946] Some changes in Table 27A compared with Table 27 are as follows. In Table 27A:

[0947] - The syntax elements ref_pic_lists_sps_flag[i], ref_pic_list_idx[i], ref_pic_list_struct(i, num_ref_pic_lists__in_sps[i]), additionaljpoc_lsb_present_flag[i][j], additional_poc_lsb_val[i][j] are only signaled when slice_type is equal to P or B.

[0948] - If the slice type is B, the loop index changes from i=0 to i<2. Otherwise (if the slice type is equal to P), the loop index only changes from i=0 to i<1.

[0949] The above syntax changes provide bit savings because some of the syntax elements are not signaled under certain conditions. Additionally, signaling additional_poc_lsb_present_flag[i][j] and additional_poc_lsb_val[i][j] is subject to the if((i==0||(i==1&&rpl1_idx_present_flag))) condition.

[0950] This means that these syntax elements are signaled for i equal to 0. But they are not signaled when i equals 1 and rpl1_idx_present_flag equals 0. In this case, their values ​​are inferred. Non-signaling of syntax elements provides bit savings.

[0951] With respect to Table 27A, the semantics of some of the syntax elements may be modified as follows: additional_poc_lsb_present_flag[i][j] equal to 1 specifies the presence of additional_poc_lsb_val[i][j]. additional_poc_lsb_present_flag[i][j] equal to 0 specifies the absence of additional_poc_lsb_val[i][j]. When rpl1_idx_present_flag is equal to 0, the value of additional_poc_lsb_present_flag[1][j] is inferred to be equal to additional_poc_lsb_present_flag[0][j]. additional_poc_lsb_val[i][j] specifies the value of FullPocLsbLt[i][j] as follows:

[0952] FullPocLsbLt[i][RplsIdxf i]][j]=additional_poc_lsb_val[i][j]*

[0953] MaxPicOrderCntLsb+

[0954] poc_lsb_lt[i][RplsIdx[i]][j]

[0955] The syntax element additional_poc_lsb_val[i][j] is represented by additional_lt_poc_lsb_len bits. When rpl1_idx_present_flag is equal to 0, the value of additional_poc_lsb_val[1][j] is inferred to be equal to additional_poc_lsb_val[0][j]. When not present, additional_poc_lsb_present_flag[i][j] is inferred to be equal to additional_poc_lsb_val[0][j].

[0956] is equal to 0, it is inferred that the value of additional_poc_lsb_val[i][j] is equal to 0.

[0957] It should be noted that although the description in this document uses the terms slice and slice header, these terms can be replaced by the terms tile group and tile group header. In addition, the syntax element slice_type can be replaced by the syntax element tile_group_type. In this case, the conditions and other syntax elements that use slice_type can be changed to tile_group_type. As an example, the following

[0958] if (slice_type == P || slice_type == B) { for(i=0;i<(slice_type==B?2:1);i++){

[0959] Can be changed to:

[0960] if (tile_group_type == P || tile_group_type == B) { for(i=0;i<(tile_group_type==B?2:1);i++){

[0961] In one example, according to the techniques herein, the syntax of the reference picture list structure may be provided as shown in Table 28.

[0962] ref_pic_list_struct(listIdx, rplsIdx) { Descriptor num_ref_entries_minus1[listIdx][rplsIdx] ue(v) for(i=0;i<=num_ref_entries_minus1[listIdx][rplsIdx];i++){ if (long_term_ref_pics_flag) st_ref_pie_flag[listIdx][rplsIdx][i] u(l) if (st_ref_pic_flag[listIdx][rplsIdx][i]) { abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if (abs_delta_poc_st[listIdx][rplsIdx][i] > 0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) } else poc_lsb_lt[listIdx][rplsIdx][i] u(v) } }

[0963] Table 28

[0964] With respect to Table 28, the following definitions of the corresponding syntax elements may be used:

[0965] The ref_pic_list_struct(listIdx, rplsIdx) syntax structure may be present in the SPS or in the slice header. Depending on whether the syntax structure is included in the slice header or the SPS, the following applies:

[0966] If present in the slice header, the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies the reference picture list lghIdx of the current picture (the picture containing the slice).

[0967] Otherwise (present in the SPS), the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies candidates for reference picture list listIdx, and the term "current picture" in the semantics specified in the rest of this clause refers to every picture that: 1) has one or more ref_pic_list_struct(listIdx, rplsIdx) structures equal to those included in the SPS.

[0968] A slice of ref_pic_list_idx[listIdx] of the index in the list, and 2) in the CVS with the SPS as the active SPS.

[0969] num_ref_entries_minus1[listIdx][rplsIdx] plus 1 specifies the number of entries in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. The value of num_ref_entries_minus1[listIdx][rplsIdx] shall be in the range of 0 to sps_max_dec_pic_buffering_minus1+14, inclusive.

[0970] In another example: the value of num_ref_entries_minus1[listIdx][rplsIdx] shall be in the range of 0 to sps_max_dec_pic_buffering_minus1+13, inclusive.

[0971] st_ref_pic_flaglistIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure is a STRP entry. st_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 a LTRP entry. When not present, the value of st_ref_pic_flag[listIdx][rplsIdx][i] is inferred to be equal to 1.

[0972] The variable NumLTRPEntries[listIdx][rplsIdx] is derived as follows:

[0973]

[0974] abs_delta_poc_st[listIdx][rplsIdx][i] specifies the absolute difference between the picture order count value of the current picture and the picture referenced 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, when the i-th entry is a STRP entry but not the first STRP entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure, specifies the absolute difference between the picture order count value of the picture referenced by the i-th entry in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure and the picture order count value of the picture referenced by the previous STRP entry.

[0975] The value of abs_delta_poc_st[listIdx][rplsIdx][i] shall be between 0 and 2. 15 -1 (including the end value).

[0976] strp_entry_sign_flag[listIdx][rplsIdx][i] equal to 1 specifies that the i-th entry in the syntax structure ref_pic_list_struct(listIdx, rplsIdx) has a value greater than or equal to 0. strp_entry_sign_flag[listIdx][rplsIdx] equal to 0 specifies that the i-th entry in the syntax structure ref_pic_list_struct(listIdx, rplsIdx) has a value less than 0. When not present, the value of strp_entry_sign_flag[i][j] is inferred to be equal to 1.

[0977] The list DeltaPocSt[listIdx][rplsIdx] is derived as follows:

[0978]

[0979] poc_lsb_lt[listIdx][rplsIdx][i] specifies the value of the picture order count modulo MaxPicOrderCntLsb of the picture referenced by the i-th entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. The length of the poc_lsb_lt[listIdx][rplsIdx][i] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[0980] With respect to the example shown in Table 28, in one example, the decoding process for reference picture list construction may be as follows:

[0981] This process is called at the beginning of the decoding process for each slice of a non-IRAP picture. A reference picture is addressed by a reference index. A reference index is an index into a reference picture list. When decoding an I slice, no reference picture list is used in the decoding of the slice data. When decoding a P slice, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the slice data.

[0982] When decoding a B slice, both reference picture list 0 and reference picture list 1 (ie, RefPicList[1]) are used to decode the slice data.

[0983] At the beginning of the decoding process of each slice of a non-IRAP picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture lists are used for marking or decoding slice data of reference pictures as specified herein.

[0984] NOTE 1 - For I slices of non-IRAP pictures that are not the first slice of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order. For P slices that are not the first slice of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order.

[0985] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[0986]

[0987] For each i equal to 0 or 1, the first NumRefIdxActive[i] entries in RefPicList[i] are referred to as active entries in RefPicList[i], and the other entries in RefPicList[i] are referred to as inactive entries in RefPicList[i].

[0988] Note 2 - Both an entry in RefPicList[0] and an entry in RefPicList[1] may refer to a specific picture. More than one entry in RefPicList[0] or more than one entry in RefPicList[1] may also refer to a specific picture.

[0989] Note 3 - The active entries in RefPicList[0] and the active entries in RefPicList[1] refer together to all reference pictures that can be used for inter prediction of the current picture and one or more pictures that follow the current picture in decoding order. The inactive entries in RefPicList[0] and the inactive entries in RefPicList[1]

[0990] The inactive entries in collectively refer to all reference pictures that are not used for inter prediction of the current picture but can be used for inter prediction of one or more pictures following the current picture in decoding order.

[0991] NOTE 4 - There may be one or more entries equal to "No reference picture" in RefPicList[0] or RefPicList[1] because the corresponding picture does not exist in the DPB. RefPicList[0] should be ignored

[0992] or each inactive entry in RefPicList[0] that is equal to "no reference picture". An unintentional picture loss equal to "no reference picture" should be inferred for each active entry in RefPicList[0] or RefPicList[1].

[0993] Requirements for bitstream conformance The following constraints apply:

[0994] - For each i equal to 0 or 1, num_ref_entries_minus1[i][RplsIdx[i]]

[0995] Should not be less than NumRefIdxActive[i].

[0996] - The picture referenced by each active entry in RefPicList[0] or RefPicList[1] shall be present in the DPB and shall have a TemporalId less than or equal to the current picture.

[0997] - A STRP entry in RefPicList[0] or RefPicList[1] of a slice of a picture and a LTRP entry in RefPicList[0] or RefPicList[1] of the same slice or a different slice of the same picture shall not refer to the same picture.

[0998] - There shall be no LTRP entry in RefPicList[0] or RefPicList[1] where the difference between the PicOrderCntVal of the current picture and the PicOrderCntVal of the picture referenced by this entry is greater than or equal to 2 24 .

[0999] - Set setOfRefPics to be the value of all entries in RefPicList[0] and RefPicList[1]

[1000] The number of pictures in setOfRefPics shall be less than or equal to sps_max_dec_pic_buffering_minus1, and setOfRefPics shall be the same for all slices of a picture.

[1001] As mentioned above, JVET is studying the potential need for standardization of future video coding technologies. The current development of JVET's next-generation video coding standard is called the Versatile Video Coding (VVC) project. "Versatile Video Coding (Draft 4)" (document JVET-M1001-v5, incorporated herein by reference and referred to as JVET-M1001) at the 13th ISO / IEC JTC1 / SC29 / WG11 meeting held in Marrakech, MA from January 9 to 18, 2019 represents the current iteration of the draft text of the video coding specification corresponding to the VVC project. As further described above, the terms slice and slice header can be replaced with the terms tile group and tile group header. It should be noted that with respect to JVET-M1001, a tile group needs to consist of an integer number of complete tiles, rather than just an integer number of CTUs.

[1002] Table 26 provided above shows the ref_pic_List_struct provided in JVET-M1001. It should be noted that in JVET-M1001, the semantics of the syntax elements in ref_pic_list_struct() are the same as provided above with respect to Table 26, wherein the term slice is replaced with tile group, and the variable NumLtrpEntries is added to the definition of the syntax element st_ref_pic_flag as follows:

[1003] The variable NumLtrpEntries[listIdx][rplsIdx] is derived as follows:

[1004]

[1005] In addition, Table 29 shows relevant syntax included in the SPS for reference picture management according to JVET-M1001, and Table 30 shows relevant syntax included in the tile group header for reference picture management in JVET-M1001.

[1006] seq_parameter_set_rbsp() { Descriptor … long_term_ref_pics_flag u(l) rpl1_same_as_rp10_flag u(l) for(i=0;i<!rpl1_same_as_rpl0_flag?2:1;i++){ num_ref_pic_lists_in_sps[1] ue(v) for(j=0;j<num_ref_pic_lists_in_sps[i];j++) ref_pic_list_struct(i,j) } … }

[1007] Table 29

[1008]

[1009] Table 30

[1010] With respect to Table 29, in JVET-M1001, the definitions of the syntax elements long_term_ref_pics_flag, rpl1_same_as_rpl0_flag, and num_ref_pic_lists_in_sps are the same as those provided above with respect to Table 15. With respect to Table 30, JVET-M1001 provides the same definitions of the syntax elements ref_pic_list_sps_flag and ref_pic_list_idx[i] as those provided above with respect to Table 27. JVET-M1001 provides the following semantics for the syntax elements delta_poc_msb_present_flag, delta_poc_msb_cycle_lt, num_ref_idx_active_override_flag, and num_ref_idx_active_minus1:

[1011] delta_poc_msb_present_flag[i][j] equal to 1 specifies delta_poc_msb_cycle_lt[i][j]

[1012] delta_poc_msb_present_flag[i][j] equal to 0 specifies delta_poc_msb_cycle_lt[i][j]

[1013] Not present. Let prevTid0Pic be the previous picture in decoding order that has TemporalId equal to 0 and is not a RASL or RADL picture. Let setOfPrevPocVals be the set consisting of:

[1014] -PicOrderCntVal of prevTid0Pic,

[1015] - PicOrderCntVal of each picture referenced by an entry in RefPicList[0] and an entry in RefPicList[1] of prevTid0Pic,

[1016] - PicOrderCntVal of each picture that follows prevTid0Pic in decoding order and that precedes the current picture in decoding order.

[1017] When there is more than one value in setOfPrevPocVals, the value modulo MaxPicOrderCntLsb is equal to poc_lsb_lt[i][RplsIdx[i]][j], and the value of elta_poc_msb_present_flag[i][j] shall be equal to 1.

[1018] delta_poc_msb_cycle_lt[i][j] specifies the value of FullPocLt[i][j] as follows:

[1019]

[1020] The value of delta_poc_msb_cycle_lt[i][j] shall be between 0 and 2. (32-log2 _max_pic_order_cnt_lsb_ minous4–4) When not present, delta_poc_msb_cycle_lt[i][j] is inferred to be equal to 0.

[1021] num_ref_idx_active_override_flag equal to 1 specifies that the syntax element num_ref_idx_active_minus1[0] is present for P picture groups and B picture groups, and the syntax element num_ref_idx_active_minus1[1] is present for B picture groups. num_ref_idx_active_override_flag equal to 0 specifies that the syntax elements num_ref_idx_active_minus1[0] and num_ref_idx_active_minus1[1] are not present.

[1022] num_ref_idx_active_minus1[i] is used to derive the variable NumRefIdxActive[i] as specified by the following formula. The value of num_ref_idx_active_minus1[i] should be in the range of 0 to 14 (inclusive).

[1023] For i equal to 0 or 1, num_ref_idx_active_minus1[i] is inferred to be equal to 0 when the current tile group is a B tile group and num_ref_idx_active_override_flag is equal to 1 and num_ref_idx_active_minus1[i] is not present.

[1024] When the current tile group is a P tile group, num_ref_idx_active_override_flag is equal to 1 and num_ref_idx_active_minus1[0] does not exist, num_ref_idx_active_minus1[0] is inferred to be equal to 0.

[1025] The variable NumRefIdxActive[i] is derived as follows:

[1026]

[1027] The value of NumRefIdxActive[i]-1 specifies the maximum reference index of reference picture list i that can be used to decode the tile group. When the value of NumRefIdxActive[i] is equal to 0, the reference index of reference picture list i is not available for decoding the tile group.

[1028] The variable CurrPicIsOnlyRef is derived as follows, which indicates that the current decoded picture is the only reference picture of the current tile group:

[1029] CurrPicIsOnlyRef=sps_cpr_enabled_flag&&(tile_group_type==P)&&

[1030] (num_ref_idx_active_minus 1[0]==0)

[1031] Therefore, JVET-M1001 provides a situation where POC-related information about long-term reference pictures in a reference picture list is signaled in two places, namely, in a reference picture list structure (ref_pic_List_struct(listIdx, rplsIdx)) and in a tile group header. In JVET-M1001, the reference picture list structure may be signaled in the SPS in a list of candidate reference picture lists. Therefore, in JVET-M1001, information about long-term reference pictures is not arranged in parallel. For example, the poc_lsb_lt[listIdx][rplsIdx][i] information for each long-term reference picture is signaled in ref_pic_list_struct(listIdx, rplsIdx), which may come from the SPS, but the incremental poc msb presence flag and incremental poc MSB loop information for each long-term reference picture are always signaled in the tile group header. According to the techniques of this article, information about long-term reference pictures may be arranged in parallel to simplify analysis.

[1032] In one example, according to the techniques of this document, all information about long-term reference pictures, including, for example, picture order count modulo MaxPi-cOrderCntLsb for reference picture lists, incremental poc MSB presence flag, and poc MSB loop information, can be in one location, i.e., a single syntax structure. In one example, all information about long-term reference pictures can be signaled in a tile group header. This can simplify analysis by juxtaposing all information. Tables 31 and 32 show examples of signaling all information about long-term reference pictures in a tile group header.

[1033]

[1034]

[1035] Table 31

[1036]

[1037]

[1038] Table 32

[1039] With respect to Table 31, the definitions of the syntax elements num_ref_entries_minus1, st_ref_pic_flag, abs_delta_poc_st, and strp_entry_sign_flag may be the same as those provided in JVET-M1001, as described above. With respect to Table 32, the definitions of the syntax elements ref_pic_list_sps_flag, ref_pic_list_idx, num_ref_idx_active_override_flag, and num_ref_idx_active_minus1 may be the same as those provided above with respect to Table 30, and the definitions of the syntax elements poc_lsb_lt, delta_poc_msb_present_flag, and delta_poc_msb_cycle_lt may be as follows:

[1040] poc_lsb_lt[i][j] specifies the picture order count modulo MaxPicOrderCntLsb value of the j-th long-term reference picture in the ith reference picture list. The length of the poc_lsb_lt[i][j] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[1041] delta_poc_msb_present_flag[i][j] equal to 1 specifies that delta_poc_msb_cycle_lt[i][j] is present. delta_poc_msb_present_flag[i][j] equal to 0 specifies that delta_poc_msb_cycle_lt[i][j] is not present.

[1042] delta_poc_msb_cycle_lt[i][j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture entry in the i-th reference picture list. When delta_poc_msb_cycle_lt[i][j] is not present, it is inferred to be equal to 0.

[1043] The variable DeltaPocMsbCycleLt[i][j] is derived as follows:

[1044]

[1045]

[1046] Non-IDR pictures can be defined as follows:

[1047] Non-IDR picture: a coded picture that is not an IDR picture.

[1048] When the information is signaled as described above in the tile group header, the decoding process for reference picture list construction may be as follows:

[1049] This procedure is called at the beginning of the decoding process for each tile group that is not an IDR picture. A reference picture is addressed by a reference index. The reference index is an index into the reference picture list. When decoding an I tile group, the reference picture list is not used in the decoding of the tile group data. When decoding a P tile group, the reference picture list is not used in the decoding of the tile group data.

[1050] When decoding A tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1051] At the beginning of the decoding process of each tile group of a non-IDR picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1052] NOTE 1 - For I-tile groups of non-IDR pictures that are not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order. For P-tile groups that are not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order.

[1053] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1054]

[1055]

[1056] For each i that is equal to 0 or 1, the first NumRefIdxActive[i] in RefPicList[i]

[1057] The entry is referred to as the active entry in RefPicList[i], and the other entries in RefPicList[i] are referred to as inactive entries in RefPicList[i].

[1058] In one example, all information about long-term reference pictures can be signaled in the reference picture list syntax structure. This can simplify analysis by juxtaposing all information. Additionally, this can provide bit savings by including this information in the SPS in the candidate list structure. Therefore, there is no need to repeat this information in the tile group header. Tables 33 and 34 show examples of all information about long-term reference pictures that can be signaled in the reference picture list syntax structure.

[1059] ref_pic_list_struct(listIdx,rplsIdx){ descriptor num_ref_entries[listIdx][rplsIdx] ue(v) for(i=0,j=0;i<num_ref_entries[listIdx][rplsIdx];i++){ if(long_term_ref_pics_flag) st_ref_pic_flag[listIdx][rplsIdx][i] u(l) if(st_ref_pic_flag[listIdx][rplsIdx][i]){ abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if(abs_delta_poc_st[listIdx][rplsIdx][i]>0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) }else{ poc_lsb_lt[listIdx][rplsIdx][j] u(v) delta_poc_msb_present_flag[listIdx][rplsIdx][j] u(l) if(delta_poc_msb_present_flag[listIdx][rplsIdx][j]) delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] ue(v) j = j + 1 } } }

[1060] Table 33

[1061]

[1062]

[1063] Table 34

[1064] With respect to Tables 33 and 35, the definitions of the syntax elements num_ref_entries_minus1, st_ref_pic_flag, abs_delta_poc_st, and strp_entry_sign_flag may be the same as described above with respect to Table 31, and the definitions of the syntax elements poc_lsb_lt, delta_poc_msb_present_flag, and delta_poc_msb_cycle_lt may be the same as provided above with respect to Table 32 or may be as follows: poc_lsb_lt[listIdx][rplsIdx][j] specifies the value of the picture order count modulo MaxPicOrderCntLsb for the j-th long-term reference picture referenced by the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. The length of the poc_lsb_lt[listIdx][rplsIdx][j] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[1065] delta_poc_msb_present_flag[listIdx][rplsIdx][j] is equal to 1 to specify

[1066] delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] exists.

[1067] delta_poc_msb_present_flag[listIdx][rplsIdx][j] is equal to 0 to specify

[1068] delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] does not exist.

[1069] delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. When delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] is not present, it is inferred to be equal to 0.

[1070] The variable DeltaPocMsbCycleLt[listIdx][rplsIdx][j] is derived as follows:

[1071]

[1072] With respect to Table 34 , the definitions of the syntax elements ref_pic_List_sps_flag, ref_pic_List_idx, num_ref_idx_active_override_flag, and num_ref_idx_active_minus1 may be the same as those provided above with respect to Table 30 .

[1073] When the signaling information is sent as described above in the reference picture list structure, the decoding process for reference picture list construction may be as follows:

[1074] This procedure is called at the beginning of the decoding process for each tile group that is not an IDR picture. A reference picture is addressed by a reference index. The reference index is an index into the reference picture list. When decoding an I tile group, the reference picture list is not used in the decoding of the tile group data. When decoding a P tile group, the reference picture list is not used in the decoding of the tile group data.

[1075] When decoding A tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1076] At the beginning of the decoding process of each tile group of a non-IDR picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1077] NOTE 1 - For I-tile groups of non-IDR pictures that are not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order. For P-tile groups that are not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order.

[1078] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1079]

[1080] For each i that is equal to 0 or 1, the first NumRefIdxActive[i] in RefPicList[i]

[1081] The entry is referred to as the active entry in RefPicList[i], and the other entries in RefPicList[i] are referred to as inactive entries in RefPicList[i].

[1082] In addition, in one example, in the case where all information about long-term reference pictures is signaled in the reference picture list syntax structure provided in Table 34, it can be modified as provided in Table 35.

[1083] ref_pic_list_struct(listIdx,rplsIdx){ descriptor num_ref_entries[listIdx][rplsIdx] ue(v) for(i=0,j=0;i<num_ref_entries[listIdx][rplsIdx];i++){ if(long_term_ref_pics_flag) st_ref_pic_flag[listIdx][rplsIdx][i] u(l) if(st_ref_pic_flag[listIdx][rplsIdx][i]){ abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if(abs_delta_poc_st[listIdx][rplsIdx][i]>0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) }else{ poc_lsb_lt[listIdx][rplsIdx][j] u(v) delta_poc_msb_present_flag[listIdx][rplsIdx][j] u(l) if(delta_poc_msb_present_flag[listIdx][rplsIdx][j]){ delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] ue(v) j = j + l } } }

[1084] Table 35

[1085] In one example, the location of the information about the reference picture can be controlled by a flag. Thus, information about the short-term reference picture is signaled in the reference picture list syntax structure, and information about the long-term reference picture can be signaled in the reference picture list syntax structure or the tile group header. This allows for reuse of candidate short-term reference picture structures while providing long-term reference picture information (in the tile group header) when used. Tables 36 and 37 show examples where information about the reference picture is controlled by a flag.

[1086] ref_pic_list_struct(listIdx,rplsIdx){ Descriptor num_ref_entries[listIdx][rplsIdx] ue(v) if(long_term_ref_pics_flag) ltrp_in_tilegroup_header_flag[listIdx][rplsIdx] u(l) for(i=0,j=0;i<num_ref_entries[listIdx][rplsIdx];i++){ if(long_term_ref_pics_flag) st_ref_pic_flag[listIdx][rplsIdx][i] u(l) if(st_refjpic_flag[listIdx][rplsIdx][i]){ abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if(abs_delta_poc_st[listIdx][rplsIdx][i] > 0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) } else if(!ltrp_in_tilegroup_header_flag[listIdx][rplsIdx]){ poc_lsb_lt[listIdx][rplsIdx][ij] u(v) delta_poc_msb_present_flag[listIdx][rplsIdx][ij] u(l) if(delta_poc_msb_present_flag[listIdx][rplsIdx][ij]) delta_poc_msb_cycle_lt[listIdx][rplsIdx][ij] ue(v) j = j + 1 } } }

[1087] Table 36

[1088]

[1089]

[1090] Table 37

[1091] With respect to Table 36, the definitions of the syntax elements num_ref_entries_minus1, st_ref_pic_flag, abs_delta_poc_st, and strp_entry_sign_flag may be the same as described above with respect to Table 31, and the definitions of the syntax elements poc_lsb_lt, delta_poc_msb_present_flag, and delta_poc_msb_cycle_lt may be as provided above with respect to Table 32. The definition of the syntax element ltrp_in_tilegroup_header_flag may be as follows:

[1092] ltrp_in_tilegroup_header_flag[listIdx][rplsIdx] equal to 1 specifies that the long-term reference picture information of listIdx-th list of rplsIdx-th reference picture list is signaled in the tile group header. ltrp_in_tilegroup_header_flag[listIdx][rplsIdx] equal to 0 specifies that the long-term reference picture information of listIdx-th list of rplsIdx-th reference picture list is signaled in the ref_pic_list_struct(listIdx,rplsIdx) syntax structure.

[1093] Long-term reference picture information for a picture list. When not present, the value of ltrp_in_tilegroup_header_flag[listIdx][rplsIdx] is inferred to be equal to 0.

[1094] In another example, when not present, the value of ltrp_in_tilegroup_header_flag[listIdx][rplsIdx] is inferred to be equal to 1.

[1095] Regarding Table 37, the definition of the general syntax elements may be as described above, and the definition of the syntax elements delta_poc_msb_present_flag and delta_poc_msb_cycle_lt may be provided as follows.

[1096] delta_poc_msb_present_flag[listIdx][rplsIdx][j] is equal to 1 to specify

[1097] delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] exists.

[1098] delta_poc_msb_present_flag[listIdx][rplsIdx][j] is equal to 0 to specify

[1099] delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] does not exist.

[1100] delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture entry in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. When delta_poc_msb_cycle_lt[listIdx][rplsIdx][j] is not present, it is inferred to be equal to 0.

[1101] The variable DeltaPocMsbCycleLt[listIdx][rplsIdx][j] is derived as follows:

[1102]

[1103] When the information is signaled as described above through flag control, the decoding process for reference picture list construction may be as follows:

[1104] This process is called at the beginning of the decoding process for each tile group that is not an IDR picture. Reference pictures are addressed by reference indices. The reference index is an index into the reference picture list. When decoding I tile groups, no reference picture list is used in the decoding of the tile group data. When decoding P tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1105] At the beginning of the decoding process of each tile group of a non-IDR picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1106] NOTE 1 - For I-tile groups of non-IDR pictures that are not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order. For P-tile groups that are not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order.

[1107] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1108]

[1109]

[1110] For each i that is equal to 0 or 1, the first NumRefIdxActive[i] in RefPicList[i]

[1111] The entry is referred to as the active entry in RefPicList[i], and the other entries in RefPicList[i] are referred to as inactive entries in RefPicList[i].

[1112] Furthermore, in one example, in the case where the location of information about a reference picture can be controlled by a flag, the syntax structure provided in Table 36 can be modified as provided in Table 38.

[1113]

[1114]

[1115] Table 38

[1116] As described above, in one example, the syntax element delta_poc_msb_cycle_lt[i][j] specifies the value of FullPocLt[i][j] as follows:

[1117]

[1118] The variable FullPocLt[i][j] is used in the decoding process of reference picture list construction. In one example, according to the techniques of this document, the syntax element delta_poc_msb_cycle_lt[i][j] can specify the variable as follows:

[1119] The value of FullPocLt[i][j] is:

[1120]

[1121]

[1122] It should be noted that, in the specified FullPocLt[i][j] provided, the poc_lsb_lt[i][RplsIdx[i]][k] value (where the k index is present in the i-th reference picture list (e.g., where i is in the range of 0 to 1, inclusive, i.e., for one or two reference picture lists)) is used for the selected reference picture list index (e.g., RplsIdx[i]) as follows:

[1123] - Parse the reference picture list starting from the first entry (if a zero-based indexing array is used, it may be referred to as the 0'th entry) and initialize the first index to zero.

[1124] - When traversing the list starting from the first entry, the first index is increased by 1 each time the short-term reference picture flag (e.g., st_ref_pic_flag[i][RplsIdx[i]][k]) of the entry is equal to zero, indicating that it is a long-term reference picture.

[1125] - When the first index is equal to the index of the long-term reference picture index (eg, J) in the tile group loop signaling delta POC msb information, the current position in the reference picture list is annotated as the second index.

[1126] - For example, the poc_lsb_lt value (poc_lsb_lt[i][RplsIdx[i]][k]) signaled in the reference picture list corresponding to the second index position (k) is used to calculate the full POC of the long-term reference picture (e.g., FullPocLt[i][RplsIdx[i]][j]).

[1127] Therefore, in general, according to the technology of this article, a long-term POC value can be calculated by determining that the pictures in the reference picture list are long-term reference pictures (i.e., as opposed to short-term pictures), and for each long-term reference picture, based on the incremental value corresponding to each corresponding long-term picture, where the incremental value corresponding to the corresponding long-term picture is determined relative to the previously determined incremental value.

[1128] In addition, as described above in JVET-M1001, the semantics and constraints involve

[1129] delta_poc_msb_present_flag[i][j] can be as follows:

[1130] delta_poc_msb_present_flag[i][j] equal to 1 specifies that delta_poc_msb_cycle_lt[i][j] is present.

[1131] delta_poc_msb_present_flag[i][j] equal to 0 specifies that delta_poc_msb_cycle_lt[i][j] is not present.

[1132] Let prevTid0Pic be the previous picture in decoding order that has TemporalId equal to 0 and is not a RASL or RADL picture. Let setOfPrevPocVals be the set consisting of:

[1133] -PicOrderCntVal of prevTid0Pic,

[1134] - PicOrderCntVal of each picture referenced by an entry in RefPicList[0] and an entry in RefPicList[1] of prevTid0Pic,

[1135] - PicOrderCntVal of each picture that follows prevTid0Pic in decoding order and that precedes the current picture in decoding order.

[1136] When there is more than one value in setOfPrevPocVals, the value modulo MaxPicOrderCntLsb is equal to poc_lsb_lt[i][RplsIdx[i]][j], and the value of elta_poc_msb_present_flag[i][j] shall be equal to 1.

[1137] In one example, according to the techniques herein, semantics and constraints relate to grammatical elements,

[1138] delta_poc_msb_present_flag[i][j] can be as follows:

[1139] delta_poc_msb_present_flag[i][j] equal to 1 specifies that delta_poc_msb_cycle_lt[i][j] is present. delta_poc_msb_present_flag[i][j] equal to 0 specifies that delta_poc_msb_cycle_lt[i][j] is not present. Let prevTid0Pic be the previous picture in decoding order that has TemporalId equal to 0 and is not a RASL or RADL picture. Let setOfPrevPocVals be the set consisting of:

[1140] -PicOrderCntVal of prevTid0Pic,

[1141] - PicOrderCntVal of each picture referenced by an entry in RefPicList[0] and an entry in RefPicList[1] of prevTid0Pic,

[1142] - PicOrderCntVal of each picture that follows prevTid0Pic in decoding order and that precedes the current picture in decoding order.

[1143] The variable k is calculated as follows:

[1144]

[1145]

[1146] When there is more than one value in setOfPrevPocVals, the value modulo MaxPicOrderCntLsb is equal to poc_lsb_lt[i][RplsIdx[i]][k], and the value of elta_poc_msb_present_flag[i][j] shall be equal to 1.

[1147] Furthermore, the correct index k is available for the long-term reference picture to be used for the decoding process of the reference picture list construction as follows:

[1148] This procedure is called at the beginning of the decoding process for each tile group that is not an IDR picture. A reference picture is addressed by a reference index. The reference index is an index into the reference picture list. When decoding an I tile group, the reference picture list is not used in the decoding of the tile group data. When decoding a P tile group, the reference picture list is not used in the decoding of the tile group data.

[1149] When decoding A tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1150] At the beginning of the decoding process of each tile group of a non-IDR picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1151] NOTE 1 - For I-tile groups of non-IDR pictures that are not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order. For P-tile groups that are not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order.

[1152] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1153]

[1154]

[1155] In one example, according to the techniques herein, conditional signaling may be used to signal the num_ref_idx_active_override_flag in the tile group header. When the flag is not signaled, an inference rule may be used. The conditional signaling may save one bit in each tile group header for P tile group types and B tile group types. In one example, the syntax element num_ref_idx_active_override_flag may not be signaled if one of the following conditions is true:

[1156] if the tile group type is P tile group, and the number of reference entries of the selected reference picture list (list 0) is less than or equal to 1, and if the number of reference index default active minus 1 is equal to 0; or

[1157] If the tile group type is B tile group, and the number of reference entries of both selected reference picture lists (list 0 and list 1) is each less than or equal to 1, and if the number of reference index default active minus 1 is equal to 0;

[1158] Otherwise, the syntax element num_ref_idx_active_override_flag may be signaled.

[1159] In the above case, the value of num_ref_idx_active_override_flag when no signaling is sent can be inferred, because this inference leads to the same value used to calculate NumRefIdxActive[i] with or without signaling.

[1160] In one example, the syntax element num_ref_idx_active_override_flag may not be signaled if one of the following conditions is true:

[1161] if the tile group type is P tile group and the number of reference entries of the selected reference picture list (list 0) is equal to 1 and if the number of reference index default active minus 1 is equal to 0; or

[1162] If the tile group type is B tile group, and the number of reference entries of both selected reference picture lists (list 0 and list 1) is each equal to 1, and if the number of reference index default active minus 1 is equal to 0;

[1163] Otherwise the syntax element num_ref_idx_active_override_flag may be signaled.

[1164] In the above case, the value of num_ref_idx_active_override_flag when no signaling is sent can be inferred, because this inference leads to the same value used to calculate NumRefIdxActive[i] with or without signaling.

[1165] Furthermore, when num_ref_idx_active_override_flag is not signaled, its value is inferred. Table 39 shows an example syntax of the tile group header when num_ref_idx_active_override_flag is conditionally signaled according to this example.

[1166]

[1167]

[1168] Table 39

[1169] For Table 39, the semantics of the syntax elements may be as provided above. For the syntax element num_ref_idx_active_override_flag, the following semantics may be used:

[1170] num_ref_idx_active_override_flag equal to 1 specifies that the syntax element num_ref_idx_active_minus1[0] is present for P- and B-picture groups, and the syntax element num_ref_idx_active_minus1[1] is present for B-picture groups. num_ref_idx_active_override_flag equal to 0 specifies that the syntax elements num_ref_idx_active_minus1[0] and num_ref_idx_active_minus1[1] are not present. When not present, num_ref_idx_active_override_flag is inferred to be equal to 1.

[1171] In another example: When not present, num_ref_idx_active_override_flag is inferred

[1172] is equal to 0.

[1173] In addition, it should be noted that the conditions:

[1174] if((tile_group_type==P&&(num_ref_entries[0][RplsIdx[0]]>1||

[1175] num_ref_idx_default_active_minus 1[0]! =0))||(tile_group_type==B&&

[1176] (num_ref_entries[0][RplsIdx[0]]>1||

[1177] num_ref_idx_default_active_minus1[0]! =0||num_ref_entries[1][RplsIdx[1]]

[1178] >1||num_ref_idx_default_active_minus 1[1]! =0))

[1179] It can be expressed using an equivalent Boolean expression. For example, its opposite can be expressed as:

[1180] if((num_ref_entries[0][RplsIdx[0]]>1||

[1181] num_ref_idx_default_active_minus1[0]! =0)||

[1182] (tile_group_type==B&&(num_ref_entries[1][RplsIdx[1]]>1||

[1183] num_ref_idx_default_active_minus1[1]! =0))

[1184] In another variation, the above condition can be modified as follows:

[1185] if((tile_group_type==P&&(num_ref_entries[0][RplsIdx[0]]!=1||

[1186] num_ref_idx_default_active_minus1[0]! =0))||(tile_group_type==B

[1187] &&

[1188] (num_ref_entries[0][RplsIdxf 0]]!=1||

[1189] num_ref_idx_default_active_minus1[0]! =0||

[1190] num_ref_entries[1][RplsIdxf 1]]! =1||

[1191] num_ref_idx_default_active_minus1[1]! =0))

[1192] Here, instead of checking if the number of reference entries in the list is greater than 1, a strict check is done to check if they are not exactly equal to 1.

[1193] In yet another variation, the condition may be modified as follows:

[1194] if((num__ref_entries[0][RplsIdx[0]]!=1||num_ref_idx_default_active_minus1[0]!=0)||

[1195] (tile_group_type==B&&(num_ref_entries[1][RplsIdxf 1]]!=1||

[1196] num_ref_idx_default_active_minus1[1]! =0))

[1197] Here instead of checking if the number of reference entries in the list is greater than 1, a strict check is done to check if they are not exactly equal to 1.

[1198] In yet another variation, the condition may be modified as follows:

[1199] if((num_ref_entries[0][RplsIdx[0]]>1|(tilegrouptype==B&&

[1200] (num_ref_entries[1][RplsIdx[1]]>1))

[1201] In yet another variation, the following two lines of syntax in Table 39

[1202]

[1203] The following syntax line can be replaced:

[1204]

[1205] Or it can be replaced by the following syntax line, which, when not present, infers num_ref_entries[1][RplsIdxf1]] to be equal to 1:

[1206]

[1207] Therefore, the overall syntax can be as follows:

[1208]

[1209]

[1210] In yet another variation, the following syntax line in Table 39

[1211]

[1212] The following syntax line can be replaced:

[1213]

[1214]

[1215] Or use the following syntax line

[1216]

[1217] In one example, according to the techniques herein, information about long-term reference pictures of a reference picture list may be signaled in a manner that increases flexibility, including picture order count modulo MaxPicOrderCntLsb, delta-poc MSB present flag, and delta-poc MSB loop information.

[1218] In one example, instead of a single ltrp_in_tilegroup_header_flag[listIdx][rplsIdx] for the reference picture list structure, a separate flag may be signaled for each long term reference picture as ltrp_in_tilegroup_header_flag[listIdx][rplsIdx][i]. This provides maximum flexibility in providing information about some long term reference pictures in the reference picture list structure and information about some long term reference pictures in the tile group header. In both cases, the information about a particular long term reference picture is collocated in the reference picture list structure or in the tile group header. Tables 40 and 41 show examples of tile group headers where the reference picture list structure and a separate flag are signaled for each long term reference picture.

[1219]

[1220]

[1221] Table 40

[1222] ref_pic_list_stmct(listIdx,rplsIdx){ Descriptor num_ref_entries[listIdx][rplsIdx] ue(v) for(i=0,k=0;i<num_ref_entries[listIdx][rplsIdx];i++){ if(long_term_ref_pics_flag) st_ref_pic_flag[listIdx][rplsIdx][i] u(l) if(st_ref_pic_flag[listIdx][rplsIdx][i]){ abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if(abs_delta_poc_st[listIdx][rplsIdx][i]>0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) }else{ ltrp_in_tilegroup_header_flag[listIdx][rplsIdx][k] u(l) if(!ltrp_in_tilegroup_header_flag[listIdx][rplsIdx][k]){ poc_lsb_lt[listIdx][rplsIdx][ik] u(v) delta_poc_msb_present_flag[listIdx][rplsIdx][k] u(l) if(delta_poc_msb_present_flag[listIdx][rplsIdx][k]) delta_poc_msb_cycle_lt[listIdx][rplsIdx][k] ue(v) } k = k+1 } } }

[1223] Table 41

[1224] Regarding Table 40, the definition of the syntax elements may be the same as the above definition, and the definitions of the syntax elements poc_lsb_lt, delta_poc_msb_present_flag, and delta_poc_msb_cycle_lt may be as follows:

[1225] poc_lsb_lt[i][j] specifies the picture order count modulo MaxPicOrderCntLsb value of the j-th long-term reference picture in the ith reference picture list. The length of the poc_lsb_lt[i][j] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[1226] delta_poc_msb_present_flag[i][j] is equal to 1 specifies

[1227] delta_poc_msb_cycle_lt[listIdx][rplsIdx][i][j] exists. delta_poc_msb_present_flag[i][j] equal to 0 specifies that delta_poc_msb_cycle_lt[i][j] does not exist.

[1228] delta_poc_msb_cycle_lt[i][j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture in the i-th reference picture list. When delta_poc_msb_cycle_lt[i][j] is not present, it is inferred to be equal to 0.

[1229] The variable DeltaPocMsbCycleLt[i][j] is derived as follows:

[1230]

[1231] Regarding Table 41, the definition of the syntax elements may be the same as the above definition, and the definitions of the syntax elements ltrp_in_tilegroup_header_flag, delta_poc_msb_present_flag, delta_poc_msb_cycle_lt may be as follows:

[1232] ltrp_in_tilegroup_header_flag[listIdx][rplsIdx][k] equal to 1 specifies that the long-term reference picture information of the listIdx-th list of the rplsIdx-th reference picture list of the k-th long-term reference picture is signaled in the tile group header. ltrp_in_tilegroup_header_flag[listIdx][rplsIdx][k] equal to 0 specifies that the long-term reference picture information of the rplsIdx-th reference picture list of the k-th long-term reference picture is signaled in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. When not present, the value of ltrp_in_tilegroup_header_flag[listIdx][rplsIdx][k] is inferred to be equal to 0. In another example, when not present, the value of ltrp_in_tilegroup_header_flag[listIdx][rplsIdx][k] is inferred to be equal to 1.

[1233] delta_poc_msb_present_flag[listIdx][rplsIdx][k] is equal to 1 to specify

[1234] delta_poc_msb_cycle_lt[listIdx][rplsIdx][k] exists.

[1235] delta_poc_msb_present_flag[listIdx][rplsIdx][k] is equal to 0 to specify

[1236] delta_poc_msb_cycle_lt[listIdx][rplsIdx][k] does not exist.

[1237] delta_poc_msb_cycle_lt[listIdx][rplsIdx][k] is used to determine the value of the most significant bit of the picture order count value of the k-th long-term reference picture in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. When delta_poc_msb_cycle_lt[listIdx][rplsIdx][k] is not present, it is inferred to be equal to 0.

[1238] In addition, with respect to Table 40 and Table 41, the following decoding process for reference picture list construction may be used:

[1239] This process is called at the beginning of the decoding process for each tile group that is not an IRAP picture. Reference pictures are addressed by reference indices. The reference index is an index into a reference picture list. When decoding I tile groups, no reference picture list is used in the decoding of the tile group data. When decoding P tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1240] At the beginning of the decoding process of each tile group of a non-IRAP picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1241] NOTE 1 - For an I-tile group of a non-IRAP picture that is not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order. For a P-tile group that is not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order.

[1242] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1243]

[1244]

[1245] For each i that is equal to 0 or 1, the first NumRefIdxActive[i] in RefPicList[i]

[1246] The entry is referred to as the active entry in RefPicList[i], and the other entries in RefPicList[i] are referred to as inactive entries in RefPicList[i].

[1247] In one example, all long-term reference picture information is signaled in the tile group header, including the position of the long-term reference picture in the reference picture list. Tables 42 and 43 show examples of tile group header and reference picture list structures, and in which all long-term reference picture information is signaled in the tile group header.

[1248]

[1249]

[1250] Table 42

[1251] ref_pic_list_struct(listIdx,rplsIdx){ Descriptor num_ref_entries[listIdx][rplsIdx] ue(v) for(i=0;i<num_ref_entries[listIdx][rplsIdx];i++){ abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if(abs_delta_poc_st[listIdx][rplsIdx][i]>0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) } }

[1252] Table 43

[1253] Regarding Table 42, the definition of the syntax elements may be the same as the above definition, and the definitions of the syntax elements num_long_term_pics, poc_lsb_lt, delta_poc_msb_present_flag, and delta_poc_msb_cycle_lt may be as follows:

[1254] num_long_term_pics[i][RplsIdx[i]] indicates the number of the i-th reference picture list corresponding to

[1255] The number of long-term reference pictures indexed by RplsIdx[i]. When not present, num_long_term_pics[i][RplsIdx[i]] is inferred to be equal to 0.

[1256] In a variant, num_long_term_pics[i][RplsIdx[i]] may alternatively be referred to as num_long_term_pics[i], with the following semantics.

[1257] num_long_term_pics[i] indicates the number of long-term reference pictures in the i-th reference picture list. When not present, num_long_term_pics[i] is inferred to be equal to 0.

[1258] poc_lsb_lt[i][j] specifies the picture order count modulo MaxPicOrderCntLsb value of the j-th long-term reference picture in the ith reference picture list. The length of the poc_lsb_lt[i][j] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[1259] delta_poc_msb_present_flag[i][j] is equal to 1 specifies

[1260] delta_poc_msb_cycle_lt[listIdx][rplsIdx][i][j] exists.

[1261] delta_poc_msb_present_flag[i][j] equal to 0 specifies that delta_poc_msb_cycle_lt[i][j] is not present.

[1262] delta_poc_msb_cycle_lt[i][j] is used to determine the value of the most significant bit of the picture order count value of the j-th long-term reference picture in the i-th reference picture list. When delta_poc_msb_cycle_lt[i][j] is not present, it is inferred to be equal to 0.

[1263] The variable DeltaPocMsbCycleLt[i][j] is derived as follows:

[1264]

[1265] Regarding Table 43, the definition of the syntax element may be the same as the above definition, and the definition of the syntax element num_ref_entries may be as follows:

[1266] num_ref_entries[listIdx][rplsIdx] specifies ref_pic_list_struct(listIdx,rplsIdx)

[1267] The number of short-term reference picture entries in the syntax structure.

[1268] In addition, with respect to Table 42 and Table 43, the following decoding process for reference picture list construction may be used:

[1269] This process is called at the beginning of the decoding process for each tile group that is not an IRAP picture. Reference pictures are addressed by reference indices. The reference index is an index into a reference picture list. When decoding I tile groups, no reference picture list is used in the decoding of the tile group data. When decoding P tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1270] At the beginning of the decoding process of each tile group of a non-IRAP picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1271] NOTE 1 - For an I-tile group of a non-IRAP picture that is not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order. For a P-tile group that is not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order.

[1272] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1273]

[1274]

[1275] In one example, the location of the picture order count (POC) LSB information of the long-term reference picture can be controlled by a flag. Therefore, the POC information about the short-term reference picture can be signaled in the reference picture list syntax structure, and the information about the long-term reference picture POC LSB can be signaled in the reference picture list syntax structure or the tile group header, i.e., arranged in juxtaposition with the incremental POC MSB presence and incremental POC MSB loop information. This allows the reuse of candidate short-term reference picture structures while providing long-term reference picture information (in the tile group header) when used. It is asserted that such flexibility is useful. Tables 44 and 45 show examples of tile group headers and reference picture list structures, and wherein the long-term reference picture POC LSB information is signaled in the reference list structure or the tile group header by a flag.

[1276]

[1277]

[1278] Table 44

[1279]

[1280]

[1281] Table 45

[1282] Regarding Table 44, the definition of the syntax elements may be the same as the above definition, and the definitions of the syntax elements poc_lsb_lt, delta_poc_msb_present_flag, and delta_poc_msb_cycle_lt may be as follows:

[1283] poc_lsb_lt[i][j] specifies the picture order count modulo MaxPicOrderCntLsb value of the j-th long-term reference picture in the ith reference picture list. The length of the poc_lsb_lt[i][j] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[1284] The variable PocLsbLt[i][j] is derived as follows:

[1285] PocLsbLt[i][j]=(ltrp_in_tilegroup_header_flag[i][RplsIdx[i]])?

[1286] poc_lsb_lt[i][j]:

[1287] poc_lsb_lt[listIdx][RplsIdx[i]][j]

[1288] In one example, the variable PocLsbLt[i][j] may alternatively be referred to as the variable PocLsbLt[i][RplsIdx[i]][j].

[1289] delta_poc_msb_present_flag[i][j] equal to 1 specifies delta_poc_msb_cycle_lt[i][j]

[1290] delta_poc_msb_present_flag[i][j] equal to 0 specifies delta_poc_msb_cycle_lt[i][j]

[1291] Not present. Let prevTid0Pic be the previous picture in decoding order that has TemporalId equal to 0 and is not a RASL or RADL picture. Let setOfPrevPocVals be the set consisting of:

[1292] -PicOrderCntVal of prevTid0Pic,

[1293] - PicOrderCntVal of each picture referenced by an entry in RefPicList[0] and an entry in RefPicList[1] of prevTid0Pic,

[1294] - PicOrderCntVal of each picture that follows prevTid0Pic in decoding order and that precedes the current picture in decoding order.

[1295] When there is more than one value in setOfPrevPocVals, the value modulo MaxPicOrderCntLsb is equal to PocLsbLt[i][j], and the value of elta_poc_msb_present_flag[i][j] shall be equal to 1.

[1296] delta_poc_msb_cycle_lt[i][j] specifies the value of FullPocLt[i][j] as follows:

[1297]

[1298] The value of delta_poc_msb_cycle_lt[i][j] shall be between 0 and 2. (32-log2 _max_pic_order_cnt_lsb_minus4– 4) When not present, delta_poc_msb_cycle_lt[i][j] is inferred to be equal to 0.

[1299] Regarding Table 45, the definition of the syntax element may be the same as the above definition, and the definition of the syntax element ltrp_in_tilegroup_header may be as follows:

[1300] ltrp_in_tilegroup_header_flag[listIdx][rplsIdx] equal to 1 specifies that the picture order count (POC) LSB information of the long-term reference pictures in the listIdx-th list of the rplsIdx-th reference picture list is signaled in the tile group header. ltrp_in_tilegroup_header_flag[listIdx][rplsIdx]

[1301] Equal to 0 specifies that the picture order count (POC) LSB information of the long-term reference pictures of the rplsIdx-th reference picture list is signaled in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure.

[1302] In addition, with respect to Table 44 and Table 45, the following decoding process for reference picture list construction may be used:

[1303] This procedure is called at the beginning of the decoding process for each tile group that is not an IDR picture. A reference picture is addressed by a reference index. The reference index is an index into the reference picture list. When decoding an I tile group, the reference picture list is not used in the decoding of the tile group data. When decoding a P tile group, the reference picture list is not used in the decoding of the tile group data.

[1304] When decoding A tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1305] At the beginning of the decoding process of each tile group of a non-IDR picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1306] NOTE 1 - For I-tile groups of non-IDR pictures that are not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order. For P-tile groups that are not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures after the current picture in decoding order.

[1307] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1308]

[1309]

[1310] For each i that is equal to 0 or 1, the first NumRefIdxActive[i] in RefPicList[i]

[1311] The entry is referred to as the active entry in RefPicList[i], and the other entries in RefPicList[i] are referred to as inactive entries in RefPicList[i].

[1312] Table 46 shows an example of a reference picture list structure that can be used according to the techniques of this document.

[1313] ref_pic_ist_struct(listIdx,rplsIdx){ Descriptor num_ref_entries[listIdx][rplsIdx] ue(v) for(i=0,j=0;i<num_ref_entries[listIdx][rplsIdx];i++){ if(long_term_ref_pics_flag) st_ref_pic_flag[listIdx][rplsIdx][i] u(l) if(st_ref_pic_flag[listIdx][rplsIdx][i]){ abs_delta_poc_st[listIdx][rplsIdx][i] ue(v) if(abs_delta_poc_st[listIdx][rplsIdx][i]>0) strp_entry_sign_flag[listIdx][rplsIdx][i] u(l) }else{ poc_lsb_lt[listIdx][rplsIdx][j] u(v) j = j+1 } } }

[1314] Table 46

[1315] Regarding Table 46, the definition of the syntax element may be the same as the above definition, and the definition of the syntax element poc_lsb_lt may be as follows:

[1316] poc_lsb_lt[listIdx][rplsIdx][j] specifies the value of the picture order count modulo MaxPicOrderCntLsb of the j-th long-term reference picture referenced by ref_pic_list_struct(listIdx, rplsIdx). The length of the poc_lsb_lt[listIdx][rplsIdx][j] syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits.

[1317] In addition, with respect to Table 46, the following decoding process for reference picture list construction may be used:

[1318] This process is called at the beginning of the decoding process for each tile group that is not an IRAP picture. Reference pictures are addressed by reference indices. The reference index is an index into a reference picture list. When decoding I tile groups, no reference picture list is used in the decoding of the tile group data. When decoding P tile groups, only reference picture list 0 (i.e., RefPicList[0]) is used to decode the tile group data. When decoding B tile groups, both reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the tile group data.

[1319] At the beginning of the decoding process of each tile group of a non-IRAP picture, reference picture lists RefPicList[0] and RefPicList[1] are derived. The reference picture list is used to mark or decode tile group data of reference pictures.

[1320] NOTE 1 - For an I-tile group of a non-IRAP picture that is not the first tile group of a picture, RefPicList[0] and RefPicList[1] may be derived for bitstream conformance checking purposes, but their derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order. For a P-tile group that is not the first tile group of a picture, RefPicList[1] may be derived for bitstream conformance checking purposes, but its derivation is not necessary for decoding the current picture or pictures following the current picture in decoding order.

[1321] The reference picture lists RefPicList[0] and RefPicList[1] are constructed as follows:

[1322]

[1323]

[1324] As such, source device 102 represents an example of a device configured to signal one or more candidate reference picture lists in a parameter set and to signal an index of one of the candidate reference picture lists in a header associated with a picture region.

[1325] Reference again Figure 1 , interface 108 may include any device configured to receive data generated by data encapsulator 107 and transmit and / or store the data to a communication medium. Interface 108 may include a network interface card such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can transmit and / or receive information. In addition, interface 108 may include a computer system interface that enables files to be stored on a storage device. For example, interface 108 may include support for peripheral component interconnect (PCI) and peripheral component express interconnect (PCIe) bus protocols, dedicated bus protocols, universal serial bus (USB) protocols, a chipset for a PC, or any other logical and physical structure that can be used to interconnect peer devices.

[1326] Reference again Figure 1 , target device 120 includes interface 122, data decapsulator 123, video decoder 124 and display 126. Interface 122 may include any device configured to receive data from a communication medium. Interface 122 may include a network interface card such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can receive and / or send information. In addition, interface 122 may include a computer system interface that allows compatible video bitstreams to be retrieved from a storage device. For example, interface 122 may include a chipset that supports PCI and PCIe bus protocols, dedicated bus protocols, USB protocols, PCs, or any other logical and physical structure that can be used to interconnect peer devices. Data decapsulator 123 may be configured to receive and parse any example grammatical structure described herein.

[1327] Video decoder 124 may include any device configured to receive a bitstream (e.g., MCTS sub-bitstream extraction) and / or acceptable variants thereof and reproduce video data therefrom. Display 126 may include any device configured to display video data. Display 126 may include one of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display. Display 126 may include a high-definition display or an ultra-high-definition display. It should be noted that although in Figure 1In the example shown, the video decoder 124 is described as outputting data to a display 126, but the video decoder 124 can be configured to output video data to various types of devices and / or subcomponents thereof. For example, the video decoder 124 can be configured to output video data to any communication medium, as described herein.

[1328] Figure 6 is a block diagram illustrating an example of a video decoder that can be configured to decode video data according to one or more techniques of the present disclosure. In one example, the video decoder 600 can be configured to decode transform data and reconstruct residual data from transform coefficients based on the decoded transform data. The video decoder 600 can be configured to perform intra-frame prediction decoding and inter-frame prediction decoding, and can therefore be referred to as a hybrid decoder. The video decoder 600 can be configured to parse any combination of the syntax elements described above in Tables 1 to 25. The video decoder 600 can derive a reference picture list based on or according to the above process. The video decoder 600 can construct reference picture lists RefPicList0 and RefPicList1 based on or according to the above process. The video decoder can perform video decoding based on the reference picture lists.

[1329] exist Figure 6 In the example shown, the video decoder 600 includes an entropy decoding unit 602, an inverse quantization unit and a transform coefficient processing unit 604, an intra-frame prediction processing unit 606, an inter-frame prediction processing unit 608, an adder 610, a post-filter unit 612, and a reference buffer 614. The video decoder 600 can be configured to decode video data in a manner consistent with a video encoding system. It should be noted that although the exemplary video decoder 600 shown has different functional blocks, such illustrations are intended for descriptive purposes and do not limit the video decoder 600 and / or its subcomponents to a specific hardware or software architecture. The functionality of the video decoder 600 can be implemented using any combination of hardware, firmware, and / or software implementations.

[1330] like Figure 6 As shown, the entropy decoding unit 602 receives an entropy-encoded bitstream. The entropy decoding unit 602 may be configured to decode syntax elements and quantized coefficients from the bitstream according to a process that is inverse to the entropy encoding process. The entropy decoding unit 602 may be configured to perform entropy decoding according to any of the entropy encoding techniques described above. The entropy decoding unit 602 may determine the values ​​of syntax elements in the encoded bitstream in a manner consistent with the video coding standard. Figure 6 As shown, the entropy decoding unit 602 can determine the quantization parameter, the quantization coefficient value, the transformation data and the prediction data from the bit stream. Figure 6As shown, the inverse quantization unit and transform coefficient processing unit 604 receives the quantization parameters, quantization coefficient values, transform data and prediction data from the entropy decoding unit 602, and outputs reconstructed residual data.

[1331] Reference again Figure 6 , the reconstructed residual data may be provided to the adder 610. The adder 610 may add the reconstructed residual data to the predicted video block and generate reconstructed video data. The predicted video block may be determined according to a predictive video technique, namely intra prediction and inter prediction. The intra prediction processing unit 606 may be configured to receive an intra prediction syntax element and retrieve the predicted video block from a reference buffer 614. The reference buffer 614 may include a memory device configured to store one or more frames of video data. The intra prediction syntax element may identify an intra prediction mode, such as the intra prediction mode described above. The inter prediction processing unit 608 may receive the inter prediction syntax element and generate a motion vector to identify a predicted block in one or more reference frames stored in the reference buffer 616. The inter prediction processing unit 608 may generate a motion compensation block, possibly performing interpolation based on an interpolation filter. An identifier of an interpolation filter for motion estimation with sub-pixel precision may be included in the syntax element. The inter prediction processing unit 608 may use an interpolation filter to calculate interpolated values ​​of sub-integer pixels of a reference block. The post filter unit 614 may be configured to perform filtering on the reconstructed video data. For example, the post filter unit 614 may be configured to perform deblocking and / or sample adaptive offset (SAO) filtering, for example based on parameters specified in the bitstream. Furthermore, it should be noted that in some examples, the post filter unit 614 may be configured to perform dedicated arbitrary filtering (e.g., visual enhancement, such as mosquito noise removal). Figure 6 As shown, the video decoder 600 can output a reconstructed video block. Thus, the video decoder 600 represents an example of a device configured to: parse one or more syntax elements included in a parameter set, the syntax elements indicating one or more candidate reference picture lists; parse an index from a header associated with a picture region, the index indicating one of the candidate reference picture lists; and generate video data based on the indicated candidate reference picture list.

[1332] In one or more examples, the functions may be implemented by hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media corresponding to tangible media such as data storage media, or propagation media including any medium that facilitates the transmission of a computer program from one place to another, for example, according to a communication protocol. Thus, computer-readable media may generally correspond to: (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium such as a signal or carrier wave. The data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in the present disclosure. A computer program product may include a computer-readable medium.

[1333] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, disk storage devices or other magnetic storage devices, flash memory, or any other medium that can be used to store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technology such as infrared, radio and microwave are used to transmit instructions from a website, server or other remote source, then coaxial cable, optical fiber cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carriers, signals or other transient media, but are directed to non-transient tangible storage media. As used herein, disks and optical disks include compact disks (CDs), laser disks, optical optical disks, digital versatile disks (DVDs), floppy disks and Blu-ray disks, wherein disks usually copy data magnetically, while optical disks use lasers to copy data optically. The above combination should also be included in the scope of computer-readable media.

[1334] Instructions may be executed by one or more processors such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Therefore, the term "processor" as used herein may refer to any of the aforementioned structures or any other structure suitable for implementing the techniques described herein. In addition, in some aspects, the functions described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. Moreover, these techniques may be implemented entirely in one or more circuits or logic elements.

[1335] The techniques of the present disclosure may be implemented in a variety of devices or apparatuses including wireless handsets, integrated circuits (ICs) or IC sets (e.g., chipsets). Various components, modules, or units are described in the present disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily need to be implemented by different hardware units. Instead, as described above, the various units may be combined in a codec hardware unit, or provided by a collection of interoperable hardware units including one or more processors as described above, in combination with appropriate software and / or firmware.

[1336] In addition, each functional block or various features of the base station equipment and terminal equipment used in each of the above-mentioned embodiments can be implemented or executed by a circuit (usually an integrated circuit or multiple integrated circuits). The circuit designed to perform the functions described in this specification may include a general-purpose processor, a digital signal processor (DSP), a dedicated or general-purpose integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices or discrete hardware components or a combination thereof. The general-purpose processor may be a microprocessor, or alternatively, the processor may be a conventional processor, a controller, a microcontroller or a state machine. The general-purpose processor or each of the above-mentioned circuits may be configured by a digital circuit or may be configured by an analog circuit. In addition, when the technology of making an integrated circuit that replaces the current integrated circuit appears due to the progress of semiconductor technology, the integrated circuit produced by the technology can also be used.

[1337] Various examples have been described. These and other examples are within the scope of the following claims.

[1338] <Cross Reference>

[1339] This non-provisional patent application claims priority under 35 U.S.C. § 119 to provisional applications 62 / 777,617 filed on December 10, 2018, 62 / 780,146 filed on December 14, 2018, 62 / 784,168 filed on December 21, 2018, 62 / 813,630 filed on March 4, 2019, 62 / 816,115 filed on March 9, 2019, 62 / 821,016 filed on March 20, 2019, and 62 / 823,554 filed on March 25, 2019, the entire contents of which are hereby incorporated by reference.

Claims

1. A method for decoding video data, the method comprising: receiving a first reference picture list structure, wherein the first reference picture list structure is defined by a first value; decoding a first number-of-entries syntax element in the first reference picture list structure, wherein the first number-of-entries syntax element specifies the number of entries in the first reference picture list structure; receiving a second reference picture list structure, wherein the second reference picture list structure is defined by a second value; decoding a second number-of-entries syntax element in the second reference picture list structure, wherein the second number-of-entries syntax element specifies the number of entries in the second reference picture list structure; Receive slice header; In a case where (i) the slice type is not an I slice and the first number of entries syntax element is greater than 1, or in a case where (ii) the slice type is a B slice and the second number of entries syntax element is greater than 1, decoding an override flag syntax element in the slice header, wherein the override flag syntax element specifies whether a number of reference index activities minus 1 syntax element exists for at least one of a P slice and a B slice; and When the overwrite flag is equal to 1, (i) for the P slice, the number syntax element of the reference index activity defined by the first value minus 1 is decoded, or (ii) for the B slice, (a) the number syntax element of the reference index activity defined by the first value minus 1 and (b) the number syntax element of the reference index activity defined by the second value minus 1 are decoded.

2. A device comprising one or more processors configured to perform the following steps: A first reference picture list structure is received, wherein: The first reference picture list structure is defined by a first value; decoding a first number-of-entries syntax element in the first reference picture list structure, wherein the first number-of-entries syntax element specifies the number of entries in the first reference picture list structure; receiving a second reference picture list structure, wherein the second reference picture list structure is defined by a second value; decoding a second number-of-entries syntax element in the second reference picture list structure, wherein the second number-of-entries syntax element specifies the number of entries in the second reference picture list structure; Receive slice header; In a case where (i) the slice type is not an I slice and the first number of entries syntax element is greater than 1, or in a case where (ii) the slice type is a B slice and the second number of entries syntax element is greater than 1, decoding an override flag syntax element in the slice header, wherein the override flag syntax element specifies whether a number of reference index activities minus 1 syntax element exists for at least one of a P slice and a B slice; and When the overwrite flag is equal to 1, (i) for the P slice, the number syntax element of the reference index activity defined by the first value minus 1 is decoded, or (ii) for the B slice, (a) the number syntax element of the reference index activity defined by the first value minus 1 and (b) the number syntax element of the reference index activity defined by the second value minus 1 are decoded.

3. The device according to claim 2, wherein: The one or more processors are configured to: The variable is derived by using the reference index activity minus 1 number syntax, Wherein, in a case where the override flag syntax element is equal to a second value, the variable is set to be equal to a first value obtained by adding 1 to the value of the reference index activity minus 1 number syntax element.

4. The device according to claim 3, wherein: In the event that the value of the first number-of-entries syntax element is greater than or equal to an inferred value, the variable is set equal to the inferred value.

5. A method for encoding data, the method comprising: signaling a first reference picture list structure, wherein the first reference picture list structure is defined by a first value, wherein the first reference picture list structure comprises a first number of entries syntax element, wherein the first number of entries syntax element specifies a number of entries in the first reference picture list structure; signaling a second reference picture list structure, wherein the second reference picture list structure is defined by a second value, wherein the second reference picture list structure comprises a second number of entries syntax element, wherein the second number of entries syntax element specifies a number of entries in the second reference picture list structure; and Signaling a slice header where In the case where (i) the slice type is not an I slice and the first number of entries syntax element is greater than 1, or in the case where (ii) the slice type is a B slice and the second number of entries syntax element is greater than 1, the slice header includes an override flag syntax element, wherein the override flag syntax element specifies whether a number of reference index activities minus 1 syntax element exists for at least one of a P slice and a B slice, and When the overwrite flag is equal to 1, (i) for the P slice, the slice header includes: a syntax element for the number of reference index activities defined by the first value minus 1, or (ii) for the B slice, the slice header includes: (a) a syntax element for the number of reference index activities defined by the first value minus 1 and (b) a syntax element for the number of reference index activities defined by the second value minus 1.

6. A device for encoding data, the device comprising: One or more processors configured to perform the following steps: signaling a first reference picture list structure, wherein the first reference picture list structure is defined by a first value, wherein the first reference picture list structure comprises a first number of entries syntax element, wherein the first number of entries syntax element specifies a number of entries in the first reference picture list structure; signaling a second reference picture list structure, wherein the second reference picture list structure is defined by a second value, wherein the second reference picture list structure comprises a second number of entries syntax element, wherein the second number of entries syntax element specifies a number of entries in the second reference picture list structure; and Signaling a slice header where In the case where (i) the slice type is not an I slice and the first number of entries syntax element is greater than 1, or in the case where (ii) the slice type is a B slice and the second number of entries syntax element is greater than 1, the slice header includes an override flag syntax element, wherein the override flag syntax element specifies whether a number of reference index activities minus 1 syntax element exists for at least one of a P slice and a B slice, and When the overwrite flag is equal to 1, (i) for the P slice, the slice header includes: a syntax element for the number of reference index activities defined by the first value minus 1, or (ii) for the B slice, the slice header includes: (a) a syntax element for the number of reference index activities defined by the first value minus 1 and (b) a syntax element for the number of reference index activities defined by the second value minus 1.