Method and apparatus for signaling of syntax elements in video coding decoding
By determining and estimating flag values and moving syntax elements from slice headers to picture headers, the method addresses redundant communication and decoding errors in VVC, enhancing encoding and decoding efficiency and accuracy.
Patent Information
- Application Number
- JP2025165365
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-04-26
- Filing Date
- 2025-10-01
- Publication Date
- 2026-01-14
AI Technical Summary
Existing video encoding and decoding standards face challenges in efficiently signaling syntax elements, leading to redundant communication and potential decoding errors due to incorrect or missing flag values, especially in the context of the Versatile Video Coding (VVC) standard.
The proposed methods involve determining the presence of invalidation flags and estimating flag values from other parameters, enabling or disabling temporal motion vector prediction, and constraining flag notifications to ensure consistent bitstream integrity by moving certain syntax elements from slice headers to the picture header, thereby reducing redundant communication and ensuring accurate decoding.
This approach enhances the efficiency of video encoding and decoding by minimizing redundant flag notifications and ensuring consistent bitstream integrity, thereby improving decoding accuracy and reducing computational complexity.
Smart Images

Figure 2026004439000001_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application was filed on April 8, 2020 and is entitled "Video Coding and Decoding Method and Apparatus for "Notice of Syntax Elements for Use in a Program," U.S. Provisional Application No. 63 / 007355, filed April 13, 2020. The invention is entitled "Syntax Element Notification in Video Encoding and Decoding" and is a provisional application filed by the U.S. Patent No. 6,629,663. Application No. 63 / 009404, filed on April 14, 2020, entitled "Video Signing "Signaling Syntax Elements in Encoding and Decoding," U.S. Provisional Application No. 63 / 010005, 202 The invention was filed on April 15, 2000 and is entitled "Notification of syntax elements in video encoding / decoding" " U.S. Provisional Application No. 60 / 010619, filed April 26, 2020, U.S. Provisional Application No. 63 / 015, entitled "Signaling Syntax Elements in Video Encoding and Decoding" No. 663, the entire disclosure of which is hereby incorporated by reference. The present application is hereby incorporated by reference. [Technical Field]
[0002] This application relates to video encoding, decoding and compression, and in particular, but not exclusively, to video encoding. The present invention relates to a method and apparatus for notification of syntax elements in a video signaling system. [Background technology]
[0003] A variety of video encoding and decoding techniques can be used to compress video data. Video encoding and decoding is performed according to one or more video encoding and decoding standards. Video coding and decoding standards include Versatile Video Coding (VVC). Coding), Joint Exploration Test Model (JEM), High Efficiency Building Video encoding and decoding (H.265 / HEVC: High Efficiency Video Coding), Video coding and decoding (H.264 / AVC: Advanced Video Coding) and video expert group This includes MPEG (Moving Picture Experts Group) encoding and decoding. In video decoding, prediction methods (such as For example, inter-prediction, intra-prediction, etc. are used. The main goal is to stream video data at a lower rate while avoiding or minimizing video quality degradation. The goal is to compress the video into a format with a lower bit rate. Summary of the Invention
[0004] This disclosure describes example techniques related to signaling syntax elements in video encoding and decoding.
[0005] According to a first aspect of the present disclosure, there is provided a method for video encoding and decoding, the method comprising: , in the picture head (PH) associated with the image by the encoder, the code Whether the encryption / decryption tool is disabled for one or more slices of the PH This includes determining whether the specified invalidation flag is present. In response to determining that the invalidation flag is not present in the PH, the method The encoder generates a sequence parameter set (SPS) for the image. The value of the invalidation flag is estimated from one or more valid flags notified to the This includes:
[0006] According to a second aspect of the present disclosure, there is provided a method for video encoding and decoding, the method comprising: , in the picture head (PH) associated with the picture by the encoder, the temporal motion vector The image used for prediction (TMVP: temporal motion vector prediction) is Specifies whether the image is derived from one of several related reference image lists. In response, the method includes determining whether a flag exists that indicates by the encoder in response to determining that the flag is not present in PH. and estimating the value of the flag from the number of reference pictures in the reference picture list.
[0007] According to a third aspect of the present disclosure, there is provided a method for video encoding and decoding, the method comprising: , in PH associated with an image by the encoder, the image parameter set ( First weighted prediction (WP) in PPS (picture parameter sets) ction) flag and the second WP flag in the PH of the image in the reference image list Specifies the number of weights to be reported and whether there is a flag in WP syntax associated with the image. In response, the method includes determining whether the flag in the PH is In response to determining that the image does not exist, the encoder The value of the flag is inferred from the number of reference images in a reference image list. This includes determining
[0008] According to a fourth aspect of the present disclosure, there is provided a method for video encoding and decoding, the method comprising: ,The encoder may enable one or more temporal motion vector predictions,by the enable flag. The child is used for inter prediction for one or more slices associated with the PH of the image. In response, the method includes specifying whether to use the encoder to The effective size of the image is calculated from a plurality of offsets applied to the size of the image to calculate a scaling factor. This includes constraining the value of the enable flag.
[0009] According to a fifth aspect of the present disclosure, there is provided an apparatus for video encoding and decoding, the apparatus comprising: , one or more processors; and a program executable by said one or more processors. and a memory configured to store instructions. The instructions, when executed, are configured to cause a method according to the first aspect of the present disclosure to be performed. do.
[0010] According to a sixth aspect of the present disclosure, there is provided an apparatus for video encoding and decoding, the apparatus comprising: , one or more processors; and a program executable by said one or more processors. and a memory configured to store instructions. The instructions, when executed, are configured to cause a method according to the second aspect of the present disclosure to be performed. do.
[0011] According to a seventh aspect of the present disclosure, there is provided an apparatus for video encoding and decoding, the apparatus comprising: , one or more processors; and a program executable by said one or more processors. and a memory configured to store instructions. The instructions, when executed, are configured to cause a method according to the third aspect of the present disclosure to be performed. do.
[0012] According to an eighth aspect of the present disclosure, there is provided an apparatus for video encoding and decoding, the apparatus comprising: , one or more processors; and a program executable by said one or more processors. and a memory configured to store instructions. The instructions, when executed, are configured to cause a method according to the fourth aspect of the present disclosure to be performed. do.
[0013] According to a ninth aspect of the present disclosure, there is provided a video encoding method and a video encoding method for encoding a video signal, the method comprising: a non-transitory computer-readable storage medium for decoding, the instructions comprising: When executed by one or more processors, the one or more processors: The method according to the first aspect of the present disclosure is carried out.
[0014] According to a tenth aspect of the present disclosure, there is provided a video codec storing computer readable instructions. and a non-transitory computer-readable storage medium for decoding the encoded data, the instructions comprising: When executed by one or more processors, the one or more processors , and executes the method described in the second aspect of the present disclosure.
[0015] According to an eleventh aspect of the present disclosure, there is provided a video codec storing computer-readable instructions. and a non-transitory computer-readable storage medium for decoding the encoded data, the instructions comprising: When executed by one or more processors, the one or more processors , and executes the method described in the third aspect of the present disclosure.
[0016] According to a twelfth aspect of the present disclosure, a video codec storing computer-readable instructions is provided. and a non-transitory computer-readable storage medium for decoding the encoded data, the instructions comprising: When executed by one or more processors, the one or more processors , and executes the method described in the fourth aspect of the present disclosure. [Brief explanation of the drawings]
[0017] A more particular description of examples of the present disclosure will be rendered with reference to specific examples that are illustrated in the accompanying drawings. These drawings are merely illustrative of some examples and are therefore not to be considered limiting in scope. These examples may be illustrated with additional specificity and detail through the use of the accompanying drawings. will be done.
[0018] [Figure 1] FIG. 1 is a block diagram illustrating an example video encoder according to an embodiment of this disclosure. [Figure 2] FIG. 2 is a block diagram illustrating an example video decoder according to an embodiment of this disclosure. [Figure 3] FIG. 3 illustrates an example of an image divided into multiple coding tree units (CTUs), according to an embodiment of the present disclosure. [Figure 4] 4A-4D are schematic diagrams illustrating a multi-type tree splitting mode according to an embodiment of the present disclosure. [Figure 5] FIG. 5 is a block diagram illustrating an example apparatus for video encoding and decoding, according to an embodiment of this disclosure. [Figure 6] FIG. 6 is a flowchart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. [Figure 7] FIG. 7 is a flowchart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. [Figure 8] FIG. 8 is a flowchart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. [Figure 9] FIG. 9 is a flowchart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0019] Reference will now be made in detail to specific embodiments, examples of which are illustrated in the accompanying drawings. In the detailed description, a number of specific, non-limiting examples are used to facilitate understanding of the concepts described herein. However, it will be apparent to those skilled in the art that various modifications can be made. For example, the subject matter discussed here applies to many types of electronic devices with digital video capabilities. It will be clear to those skilled in the art that this can be achieved with the device.
[0020] As used herein, "one embodiment," "embodiment," "example," "an embodiment," " Reference to "an example" or similar expression means that the particular feature, structure or characteristic being described has at least Means included in one embodiment or example. Any feature, structure, element, or characteristic described herein may be used interchangeably with other embodiments unless expressly indicated otherwise. It is also applicable to
[0021] Throughout this disclosure, the terms "first," "second," "third," etc. all refer to the elements they relate to. , e.g., used only to refer to an apparatus, component, structure, step, etc. Unless the context clearly dictates otherwise, no spatial or temporal order is implied. For example, a "first device" and a "second device" are two separately formed devices. or two parts, components, or operating states of the same device, The intention can be given a name.
[0022] "Module", "Submodule", "Circuit", "Subcircuit", "Circuit system", The terms "sub-circuit system," "unit," or "subunit" mean one or Memory (shared, dedicated, or A module contains or stores code or instructions. A module or circuit may contain one or more circuits that are not directly It is possible for the circuit to include one or more components that are indirectly connected to one another. The items may or may not be physically connected to each other, located next to each other, is possible.
[0023] As used here, "if..." or "if..." or "if..." The term "and" shall be understood to mean "when" or "according to," depending on the context. When these terms appear in the claims, they should be used with the understanding that they are relevant and limiting. or may not imply that a feature is conditional or optional. For example, One method includes the steps of: i) if condition X exists, then function or action X' is performed; ii) if condition Y exists, then function or action Y' is performed. A law is both the ability to perform function or action X' and the ability to perform function or action Y'. Therefore, functions X' and Y' are both implemented at different times. It is possible that this can be achieved by performing the method multiple times.
[0024] A unit or module may be implemented entirely in software, It may be implemented by hardware or a combination of hardware and software. A fully software implementation may be implemented by combining, for example, the units or modules linked together, directly or indirectly, to perform a specific function It may contain functionally related code blocks or software parts that are be.
[0025] FIG. 1 illustrates the block-based processing used in conjunction with many video encoding and decoding standards. The block diagram of the exemplary block-based hybrid video encoder 100 that can be used The encoder 100 includes a block diagram in which a video frame is divided into multiple blocks for processing. Prediction is performed for each specific video block using an inter-prediction approach. Intra-prediction is based on a previously reproduced or intra-prediction approach. based on pixels from the constructed frames, one or more Intra prediction is based on the reconstructed pixels in the current frame. The mode decision is to determine the best predictor to predict the current block. You can select a child.
[0026] A prediction residual, which represents the difference between the current video block and its predictor, is sent to transform circuitry 102. The transform coefficients are then converted to quantized form by the transform circuit 102 so as to reduce entropy. The quantized coefficients are then fed to an entropy coding circuit 106. As shown in Figure 1, inter prediction is video block partition information from the circuit and / or intra-prediction circuit 112, motion vectors, Prediction-related information 110, such as the reference image index and intra-prediction mode, is also included. A compressed video bitstream 1 is fed through an entropy coding circuit 106. It will be saved in 14.
[0027] The encoder 100 uses decoder functions to reconstruct pixels for prediction purposes. First, in the inverse quantification 116 and inverse transformation circuit 118, the prediction residual is reproduced. This reconstructed prediction residual is combined with the block predictor 120 to produce Generate unfiltered reconstructed pixels for the current video block.
[0028] Intra prediction (also called spatial prediction) involves predicting a block of video that is the same as the current video block. Samples of already coded and decoded neighboring blocks in an image and / or slice ( The spatial predictor predicts the current video block using pixels from the spatial reference samples. Dynamic prediction reduces the spatial redundancy inherent in video signals.
[0029] Inter prediction (also called "temporal prediction") uses already encoded and decoded video Temporal prediction is a method for predicting the current video block using reconstructed pixels from an image. , reducing the temporal redundancy inherent in the video signal. The temporal prediction signal for a coding block is usually the difference between the current CU and its temporal reference. by one or more motion vectors (MVs) that indicate the amount and direction of movement. Furthermore, if multiple reference pictures are supported, the temporal prediction signal is transmitted to the reference pictures. A reference image index to identify which reference image in the image store it comes from. The message is transmitted additionally.
[0030] After spatial and / or temporal prediction, the intra / inter prediction in the encoder 100 The mode decision circuit 121 determines the optimal prediction mode based on, for example, a rate-distortion optimization method. Then, the block predictor 120 is subtracted from the current video block to obtain The resulting prediction residuals are decorrelated by a transform circuit 102 and a quantification circuit 104. The quantified residual coefficients are inversely quantified by an inverse quantification circuit 116 and then inversely transformed by an inverse transform circuit 117. 118 to form a reconstructed residual, which is also The predicted block is added back to form the reconstructed signal for this CU. Blocking filter, sample adaptive offset (SAO), and and / or adaptive in-loop filters (ALFs) The loop filter 115 can then be applied to this reconstructed CU. The reconstructed CU is then placed in the reference image storage section of the image buffer 117 for future video used to encode and decode blocks to form the output video bitstream 114. To do this, the coding mode (inter or intra), prediction mode information, motion information, and All the quantized residual coefficients are then sent to the entropy coding unit 10 to form a bitstream. 6 for further compression and packing.
[0031] For example, current versions of AVC, HEVC, and VVC use deblocking filters. In order to further improve the coding and decoding efficiency, HEVC provides An additional in-loop filter called AO (Sample Adaptive Offset) is defined. The current version of the VVC standard uses a filter called ALF (Adaptive Loop Filter). Additional in-loop filters are under active consideration and may be included in the final standard. High potential.
[0032] These in-loop filter operations are optional. These contribute to improving the coding / decoding efficiency and visual quality. may be turned off to reduce computational complexity, as determined by
[0033] Note that these filter options are turned on by the encoder 100. In this case, intra prediction is usually based on the pixels of the unfiltered reconstruction. However, inter prediction is based on pixels of the filtered reconstruction.
[0034] Figure 2 shows an example of a video encoding / decoding standard that can be used in conjunction with many other video encoding / decoding standards. FIG. 2 is a block diagram illustrating an exemplary block-based video decoder 200. 00 is similar to the reconstruction-related part present in the encoder 100 of FIG. In decoder 200, an input video bitstream 201 is first entropy decoded 202. are decoded via , to derive the quantized coefficient levels and prediction related information. The quantified coefficient levels are then processed via inverse quantification 204 and inverse transformation 206. The reconstructed prediction residual is obtained. The block predictor mechanism performs intra prediction2 based on the decoded prediction information. 208 or motion compensation 210. The prediction residual and the prediction output generated by the block predictor mechanism are added to the adder 21. 4 to obtain the set of unfiltered reconstruction pixels. .
[0035] The reconstructed blocks are stored in an image buffer 213, which functions as a reference image store. Before being passed through the image buffer 2, the image may be passed through an in-loop filter 209. The reconstructed video in 13 can be sent out to drive a display device or used to generate future video. The in-loop filter 20 can be used to predict the block. If 9 is turned on, a filtering operation is performed on these reconstructed pixels. to derive the final reconstructed video output 222.
[0036] The above mentioned video codes such as VVC, JEM, HEVC, MPEG-4, Part 10 The encoding / decoding standards are conceptually similar; for example, they are all block-based. The block partitioning schemes in some standards are detailed below. explain. Versatile Video Coding (VVC)
[0037] JVET was established at the 10th JVET held in San Diego, USA from April 10th to 20th, 2018. At the JVET conference, the first draft of Versatile Video Coding and Decoding (VVC) and V VC Test Model 1 (VTM1) coding and decoding method and its reference software The first new coding / decoding property of VVC is the nested master. It was decided to include quadtrees with multitype trees. Multitype trees are binary and This is a coding block partition structure that includes ternary division. The reference software VTM was developed and updated through the following JVET meetings:
[0038] In VVC, the input video image is divided into blocks called CTUs. A nested multi-type tree structure allows for the same prediction mode (e.g., intra prediction). The image is divided into CUs, which define pixel regions that share a common pixel area (inter- or inter-pixel). The term defines the region of an image that covers all components such as luminance and saturation. The term "block" defines an area covering a particular component (e.g., luminance). This can be applied to chroma sampling formats such as 4:2:0. Blocks of different components (e.g. luma and chroma) may have different spatial locations. Partitioning of the image into CTU
[0039] FIG. 3 illustrates an example of an image 300 divided into multiple CTUs 302, according to an embodiment of the present disclosure. Here is an example.
[0040] The image is divided into a series of CTUs. The CTU concept is the same as that in HEVC. For an image with three sample arrays, one CTU stores NxN luminance samples. It consists of a color sample block and two corresponding chroma sample blocks.
[0041] The maximum allowed size of a luminance block in a CTU is 128x128 (however, The maximum size of a transform block is 64x64). CTU compartments using wooden structures
[0042] In HEVC, CTUs are represented as coding trees to adapt to various local characteristics. The image is divided into CUs using a quadtree structure. Either inter-picture (temporal) prediction or intra-picture (spatial) prediction is used. The coding and decoding of an image region using the scalar is determined at the leaf CU level. may be further split into one, two, or four PUs depending on the PU split type. The same prediction process is applied within one PU, and related information is sent to the decoder based on the PU. After applying the prediction process based on the PU partition type to obtain the residual block, , the leaf CU is transformed into a transform unit (T One of the main features of the HEVC structure is the division of CUs, PUs, and , and there are multiple compartment concepts including TU.
[0043] VVC supports multiple nested types with binary and ternary segmentation structures. The quadtree with tree replaces the concept of multiple partition unit types, i.e., CU, P Removed the distinction between U and TU concepts (except for the case of CU, where the size of the maximum transformation length is too large). (extraneous) supports more flexibility in CU partition shape. In the coding tree structure, CUs can be square or can have a rectangular shape. The CTU is first partitioned by a quadtree structure. The leaf nodes of this quadtree can then be further partitioned into multitype tree structures. do.
[0044] 4A-4D are schematic diagrams illustrating a multi-type tree partitioning mode according to an embodiment of the present disclosure. As shown in FIGS. 4A to 4D, the multi-type tree structure includes vertical binary partitioning 402 ( SPLIT_BT_VER), horizontal binary split 404 (SPLIT_BT_HOR), vertical ternary split 406 (SPLIT_TT There are four split types: horizontal split 408 (SPLIT_TT_HOR), horizontal split 409 (SPLIT_TT_VER), and horizontal ternary split 408 (SPLIT_TT_HOR). The leaf nodes of the type tree are called CUs, and as long as the maximum transformation length of a CU is not too large, this The segmentation is used for prediction and transformation processes without further partitioning. In most cases, quadtrees with nested multi-type tree coding block structures This means that the CU, PU, and TU have the same block size. An exception occurs if the maximum transform length specified is smaller than the width or height of the CU's color components. Syntax in VVC
[0045] In VVC, the first layer of syntax notification bitstream is divided into a set of NAL units. The Network Abstraction Layer (NAL) is a layer that is divided into several layers. The NAL unit contains a Sequence Parameter Set (SPS). Common control such as PPS (Picture Parameter Sets) and PPS (Picture Parameter Sets) Other NAL units contain video data. The Video Coding Layer (CVL) NAL unit is a stream of coded video. A coded picture is called an access unit, which contains one or more slices. It can be encoded as:
[0046] The coded video sequence is decoded using Instantaneous Decoder Refresh (IDR). All subsequent video images are coded as slices. A new IDR picture is decoded when the previous video segment ends and the new video begins. Signals the start of a segment. Each NAL unit begins with a 1-byte header. , followed by the raw byte sequence payload (RBSP). The RBSP contains the coded slices. The slices are binary coded. and can be padded with zero bits to ensure it is an integral number of bytes in length. A slice consists of a slice header and slice data. It is designated as a CU.
[0047] The PH concept was applied at the 16th JVET conference, and the first VCL N of the image was calculated for each image. Transmitted once as an AL unit. Some syntax elements previously in the slice head We also proposed grouping the image headers into the image header. Syntax elements that must be transmitted only once per slice may be transmitted multiple times within a slice. can be moved to the image head without
[0048] In the VVC standard, a syntax table lists all the allowed bitstream syntax subroutines. Additional constraints on the syntax are specified directly or indirectly in other clauses. Table 1 below shows the slice header and picture header in VVC. Here is a syntax table. The semantics of some of the syntax are also shown after the syntax table. [Table 1-1] [Table 1-2] [Table 1-3] [Table 1-4] [Table 1-5] [Table 1-6] [Table 1-7] [Table 1-8] Semantics of selected syntax elements
[0049] ph_temporal_mvp_enabled_flag indicates whether the temporal motion vector predictor is enabled for the PH-related slide. ph_temporal_mvp_enabled_flag Specifies whether or not the MVP is available for inter prediction for the given frame. If is equal to 0, the syntax elements of the slice associated with PH are temporally relevant to the decoding of the slice. Constrained to not use motion vector predictors; otherwise, ph_temporal_mv If p_enabled_flag is equal to 1, the temporal motion vector predictor is used to predict the motion vector associated with PH. The value of ph_temporal_mvp_enabled_flag is If not present, it is assumed to be 0. In the Decoded Picture Buffer (DPB) If there is no reference image with the same spatial resolution as the current image, ph_temporal_mvp_enable The value of d_flag should be equal to 0.
[0050] The maximum number of subblock-based merge MVP candidates, MaxNumSubblockMergeCand, is given by It is derived as follows. If (sps_affine_enabled_flag) MaxNumSubblockMergeCand = 5 - five_minus_max_num_subblock_merge_cand If not, MaxNumSubblockMergeCand=sps_sbtmvp_enabled_flag&&ph_temporal_mvp_enabled_ flag; Here, the value of MaxNumSubblockMergeCand is in the range of 0 to 5.
[0051] slice_collocated_from_l0_flag, when equal to 1, is used for temporal motion vector prediction. Specifies that the next collocated image is derived from reference image list 0. If the collocated_from_l0_flag is equal to 0, the collocated_from_l0_flag is set to 0. Specifies that the referenced image is derived from reference image list 1.
[0052] slice_type is equal to B or P and ph_temporal_mvp_enabled_flag is equal to 1 and If slice_collocated_from_l0_flag is not present, then: - If rpl_info_in_ph_flag is equal to 1, slice_collocated_from_l0_flag is equal to p Inferred to be equal to h_collocated_from_l0_flag. - Otherwise (rpl_info_in_ph_flag is equal to 0 and slice_type is equal to P) If the slice_collocated_from_l0_flag is set to 1, the value of the slice_collocated_from_l0_flag is inferred to be equal to 1.
[0053] slice_collocated_ref_idx is the collocated image's id for temporal motion vector prediction. Specifies the reference index.
[0054] slice_type is equal to P, or slice_type is equal to B and slice_collocated If _from_l0_flag is equal to 1, slice_collocated_ref_idx is set to reference image list 0. The value of slice_collocated_ref_idx is 0 or greater and NumRefIdxActive[0]-1 or greater. It is within the range below.
[0055] If slice_type is equal to B and slice_collocated_from_l0_flag is equal to 0, then slice ce_collocated_ref_idx points to an entry in reference image list 1, and slice_collocate The value of d_ref_idx is in the range of 0 to NumRefIdxActive[1]-1.
[0056] If slice_collocated_ref_idx does not exist, then: - If rpl_info_in_ph_flag is equal to 1, the value of slice_collocated_ref_idx is ph_c It is assumed to be equal to ollocated_ref_idx. - Otherwise (rpl_info_in_ph_flag is equal to 0), slice_collocated_ref The value of _idx is assumed to be equal to 0.
[0057] Bitstream integrity requires that the image pointed to by slice_collocated_ref_idx is the same as the coded image. It must be the same for all slices of the image.
[0058] Bitstream integrity requires the pic_wi of the reference image pointed to by slice_collocated_ref_idx. The values of dth_in_luma_samples and pic_height_in_luma_samples are the height of the current image. Equal to the values of ic_width_in_luma_samples and pic_height_in_luma_samples, RprConstra intsActive[slice_collocated_from_l0_flag?0:1][slice_collocated_ref_idx] becomes 0 It needs to be equal.
[0059] Section 8.3.2 of the VVC standard derives the value of RprConstraintsActive[i][j]. The value of RprConstraintsActive[i][j] is derived as follows: Decoding process of reference image list structure
[0060] The decoding process of the reference picture list structure is the same as the decoding process for each slice of a non-IDR picture. Called at start.
[0061] A reference image is addressed by a reference index. It is an index into the list. When decoding an I slice, the slice data No reference picture list is used in decoding. When decoding P slices, the slice Only reference picture list 0 (ie, RefPicList[0]) is used in decoding the source data. When decoding a B slice, reference picture list 0 and reference picture list 1 (i.e., RefPicList[1]) are used to decode the slice data.
[0062] At the beginning of the decoding process for each slice of a non-IDR image, a reference picture list RefPicList is provided. The reference picture list is defined in the video coding standard. It is used to mark the reference image and decode the slice data.
[0063] For I-slices of non-IDR images that are not the first slice of the image, the bitstream For system consistency checking purposes, RefPicList[0] and RefPicList[1] can be derived. These derivations are used to decode the current picture or a picture that comes after the current picture in decoding order. For P slices that are not the first slice of the picture, the bitstream is not needed. For the purposes of stream consistency checking, RefPicList[1] can be derived, but the derivation is Not required for decoding the current picture or any pictures that come after the current picture in decoding order .
[0064] Reference image lists RefPicList[0] and RefPicList[1], reference image scaling rate RefPicSc ale[i][j][0] and RefPicScale[i][j][1], reference image scaling flags RprConstraints Active[0][j] and RprConstraintsActive[1][j] are derived as follows: JPEG2026004439000010.jpg232151JPEG2026004439000011.jpg64143
[0065] scaling_win_left_offset, scaling_win_right_offset, scaling_win_top_offset, sca ling_win_bottom_offset is the offset to apply to the image size to calculate the scaling factor. scaling_win_left_offset, scaling_win_right_offset, scaling_win_t The values of op_offset and scaling_win_bottom_offset are, if not present, respectively pps_conf_w in_left_offset, pps_conf_win_top_offset, pps_conf_win_top_offset and pps_conf_win Inferred to be equal to _bottom_offset.
[0066] The value of SubWidthC*(scaling_win_left_offset+scaling_win_right_offset) is pic_width_ in_luma_samples is smaller than SubHeightC*(scaling_win_top_offset+scaling_win_bottom _offset) must be less than pic_height_in_luma_samples.
[0067] The variables PicOutputWidthL and PicOutputHeightL are derived as follows: PicOutputWidthL = pic_width_in_luma_samples -SubWidthC * ( scaling_win_rig ht_offset + scaling_win_left_offset ) PicOutputHeightL = pic_height_in_luma_samples -SubWidthC * ( scaling_win_b ottom_offset + scaling_win_top_offset )
[0068] refPicOutputWidthL and refPicOutputHeightL are the current PPS references, respectively. Let PicOutputWidthL and PicOutputHeightL be the reference image for the current image. As a requirement for system consistency, all of the following conditions must be met: - PicOutputWidthL * 2 is greater than or equal to refPicWidthInLumaSamples. - PicOutputHeightL * 2 is greater than or equal to refPicHeightInLumaSamples. - PicOutputWidthL is less than or equal to refPicWidthInLumaSamples * 8. - PicOutputHeightL is less than or equal to refPicHeightInLumaSamples * 8. - PicOutputWidthL * pic_width_max_in_luma_samples is refPicOutputWidthL * ( pic_width_in_luma_samples - Max( 8, MinCbSizeY )). - PicOutputHeightL * pic_height_max_in_luma_samples refPicOutputHeightL * It is greater than or equal to (pic_height_in_luma_samples - Max(8, MinCbSizeY)).
[0069] In the current VVC, mvd_l1_zero_flag is signaled in PH without any conditional constraints. However, the feature controlled by the flag mvd_l1_zero_flag is that the slice is a bi-predictive slice (B slice). This applies only if the slice associated with the image header is a B slice. If it is not a device, the flag notification is redundant.
[0070] In another example, ph_disable_bdof_flag and ph_disable_dmvr_flag are The corresponding enable flag (sps_bdof_pic_present) is notified in the data set (SPS). _flag, sps_dmvr_pic_present_flag) are true respectively. However, as shown in Table 2 below, the flags ph_disable_bdof_flag and ph_disab The characteristics controlled by le_dmvr_flag are whether the slice is a bi-predictive slice (B slice). Therefore, the notification of these two flags applies only to the If the slice is not a B slice, it is redundant or useless. [Table 2]
[0071] For the syntax element ph_collocated_from_l0_flag, the collocated image is either list0 or lis Another example is the weighting test for bi-prediction. The syntax pred_weight_table(), which is a syntax element related to the table, is as follows: , there is another example. [Table 3-1] [Table 3-2] [Table 3-3]
[0072] The third issue concerns the syntax ph_temporal_mvp_enabled_flag. Then, the resolution of the collocated image selected for TMVP derivation is the resolution of the current image. The value of ph_temporal_mvp_enabled_flag should be the same as the There are bitstream integrity constraints to check.
[0073] If there is no reference image in the DPB with the same spatial resolution as the current image, then The value of _temporal_mvp_enabled_flag is equal to 0. However, in the current VVC, The image resolution as well as the options applied to the image size to calculate the scaling factor. Offset also affects TMVP activation. However, in the current VVC, offset is not taken into account in the bitstream consistency of ph_temporal_mvp_enabled_flag.
[0074] Furthermore, the image referenced by slice_collocated_ref_idx is included in all slices of the coded image. There is a bitstream consistency requirement that the bits should be identical for each slice. However, if the coded image has multiple slices, and the common reference If no reference image exists, this bitstream consistency cannot be met. In such cases, ph_temporal_mvp_enabled_flag is restricted to 0.
[0075] Several methods have been proposed to solve the above problems. , can be applied alone or in combination.
[0076] The flags mvd_l1_zero_flag, ph_disable_bdof_flag, and ph_disable_dmvr_flag The characteristics controlled by this parameter apply only if the slice is a bi-predictive slice (B slice). Therefore, according to the method of this disclosure, these flags are used to indicate that the associated slice is a B slice. It is proposed that the list of reference images is notified only when there is a If (e.g., rpl_info_in_ph_flag=1), all slices of the coded image are This means that the same reference images are used as the reference images notified. and the signaled reference picture list indicates that the current picture is not bi-predictive. If this flag is set to mvd_l1_zero_flag, ph_disable_bdof_flag, and ph_disable_dmvr_flag, There is no need to be notified.
[0077] In one example, redundant communication was caused by incorrect values sent for some syntax in the image header. These syntax sets are configured within PH to prevent unknown or undefined decoding behavior. Some conditions are added to the variable num_ref_entries[i][ RplsIdx[ i ]]. An example showing the number of reference images in list i is shown below.
[0078] In one example, the condition states: If (rpl_info_in_ph_flag && num_ref_entries[0][RplsIdx[0]] > 1 && num_ref_en tries
[0001] [ RplsIdx
[0001] ] > 1 ) mvd_l1_zero_flag
[0079] In one example, the condition states: If (!rpl_info_in_ph_flag || (rpl_info_in_ph_flag && num_ref_entries
[0000] [ Rp lsIdx
[0000] ] > 1 && num_ref_entries
[0001] [ RplsIdx
[0001] > 1 )) mvd_l1_zero_flag
[0080] In one example, the condition states: If(!rpl_info_in_ph_flag || (rpl_info_in_ph_flag && num_ref_entries
[0000] [ Rpl sIdx
[0000] ] > 0 && num_ref_entries
[0001] [ RplsIdx
[0001] ] > 0 ) mvd_l1_zero_flag
[0081] Alternatively, these conditions can be written in a more compact form that achieves similar results. A bi-predictive slice (B slice) or a bi-predictive image may be included in at least one list. 1 reference image, so if the current slice / image has list1 reference images, An example of an alternative condition check is shown below. If (!rpl_info_in_ph_flag || (rpl_info_in_ph_flag && num_ref_entries
[0001] [ Rpls Idx
[0001] ] > 0 )) mvd_l1_zero_flag
[0082] The semantics of mvd_l1_zero_flag will also be changed to handle the unsignaled situation. .
[0083] mvd_l1_zero_flag, if equal to 1, indicates that the mvd_coding(x0, y0, 1) construct is parsed. MvdL1[ x0 ][ y0 ][ compIdx ] and MvdCpL1[ x0 ][ y0 ][ cpIdx ][ comp Idx ] is set equal to 0 for compIdx = 0..1 and cpIdx = 0..2 mvd_l1_zero_flag, if equal to 0, indicates that the mvd_coding(x0,y0,1) construct is parsed. The value of mvd_l1_zero_flag is inferred to be 0 if not present.
[0084] An example of a conditional notification of the syntax element ph_disable_dmvr_flag is shown below: If (sps_dmvr_pic_present_flag && rpl_info_in_ph_flag && num_ref_entries
[0000] [ RplsIdx
[0000] ] > 1 && num_ref_entries
[0001] [ RplsIdx
[0001] > 1 ) ph_disable_dmvr_flag or If (sps_dmvr_pic_present_flag && (!rpl_info_in_ph_flag || (rpl_info_in_ph_f lag && num_ref_entries
[0000] [ RplsIdx
[0000] ] > 1 && num_ref_entries
[0001] [ RplsI dx
[0001] ] > 1)) ) ph_disable_dmvr_flag or If (sps_dmvr_pic_present_flag && (!rpl_info_in_ph_flag || (rpl_info_in_ph_f lag && num_ref_entries
[0000] [ RplsIdx
[0000] ] > 0 && num_ref_entries
[0001] [ RplsI dx
[0001] ] > 0)) ) ph_disable_dmvr_flag
[0085] Another example of an alternative condition check is shown below. If (sps_dmvr_pic_present_flag && (!rpl_info_in_ph_flag || (rpl_info_in_ph_fla g && num_ref_entries
[0001] [ RplsIdx
[0001] ] > 0)) ) ph_disable_dmvr_flag
[0086] The semantics of ph_disable_dmvr_flag has also been changed to accommodate the unnotified situation. can be.
[0087] ph_disable_dmvr_flag, when equal to 1, disables decoder motion vector refinement-based Specifies that center bi-prediction is disabled for the slice associated with PH. mvr_flag equals 0 to enable inter bi-prediction based on decoder motion vector refinement. , specifies whether the PH is enabled or not in the slice associated with it. .
[0088] If ph_disable_dmvr_flag is not present: - sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_present_flag is equal to 0 If the value of ph_disable_dmvr_flag is less than 0, the value of ph_disable_dmvr_flag is inferred to be equal to 0. - Otherwise, if sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_prese If nt_flag is equal to 1, the value of ph_disable_dmvr_flag is inferred to be equal to 1. - If not (sps_dmvr_enabled_flag equals 0), ph_disable_dmvr_fl The value of ag is assumed to be equal to 1.
[0089] If ph_disable_dmvr_flag is not present, another example of deriving its value is as follows: If the value of ph_disable_dmvr_flag is neither explicitly signaled nor implicitly derived, If so, all conditions are considered to derive the value of ph_disable_dmvr_flag. - sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_present_flag is equal to 0 If the value of ph_disable_dmvr_flag is less than 0, the value of ph_disable_dmvr_flag is inferred to be equal to 0. - Otherwise, if sps_dmvr_enabled_flag is equal to 0 and sps_dmvr_pic_prese If nt_flag is equal to 0, the value of ph_disable_dmvr_flag is inferred to be equal to 1. - Otherwise, if sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_prese If nt_flag is equal to 1 and rpl_info_in_ph_flag is equal to 0, then ph_disable_dmvr_fl The value of ag is assumed to be equal to X (where X is explicitly signaled). - Otherwise, if sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_prese nt_flag is equal to 1 and rpl_info_in_ph_flag is equal to 1 and num_ref_entries[1][Rpls If Idx[1]]>0, the value of ph_disable_dmvr_flag is inferred to be equal to X (X must be explicitly will be notified). - Otherwise (sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_prese nt_flag is equal to 1 and rpl_info_in_ph_flag is equal to 1 and num_ref_entries[1][Rpl sIdx[1]]==0), the value of ph_disable_dmvr_flag is inferred to be equal to 1.
[0090] The syntax element ph_disable_dmvr_flag explicitly indicates whether the third and fourth conditions are met. Therefore, if ph_disable_dmvr_flag is not present, the third and fourth conditions are not met. It may be removed from the derivation of able_dmvr_flag.
[0091] If ph_disable_dmvr_flag is not present: - sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_present_flag is equal to 0 If the value of ph_disable_dmvr_flag is less than 0, the value of ph_disable_dmvr_flag is inferred to be equal to 0. - Otherwise, if sps_dmvr_enabled_flag is equal to 0 and sps_dmvr_pic_prese If nt_flag is equal to 0, the value of ph_disable_dmvr_flag is inferred to be equal to 1. - Otherwise (sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_present t_flag is equal to 1 and rpl_info_in_ph_flag is equal to 1 and num_ref_entries[1][RplsI dx[1]]==0), the value of ph_disable_dmvr_flag is inferred to be 1.
[0092] These conditions can be simplified to the following: If ph_disable_dmvr_flag is not present: - sps_dmvr_enabled_flag is equal to 1 and sps_dmvr_pic_present_flag is equal to 0 If so, the value of ph_disable_dmvr_flag is inferred to be 0. - Otherwise (sps_dmvr_enabled_flag is equal to 0 or sps_dmvr_pic_pres ent_flag is equal to 1), the value of ph_disable_dmvr_flag is inferred to be 1.
[0093] If the value of ph_disable_dmvr_flag does not exist, another example of how to derive it is shown below. can be. If ph_disable_dmvr_flag is not present: - If sps_dmvr_pic_present_flag is equal to 0, the value of ph_disable_dmvr_flag is 1- Inferred to be equal to sps_dmvr_enabled_flag. - Otherwise, if sps_dmvr_pic_present_flag is equal to 1 and rpl_info_in_ph If _flag is equal to 0, the value of ph_disable_dmvr_flag is equal to 1 - sps_dmvr_enabled_flag. It is estimated that - Otherwise, if sps_dmvr_pic_present_flag is equal to 1 and rpl_info_in_ph ph_disable_dmvr_f if _flag equals 1 and num_ref_entries[1][RplsIdx[1]]>0 The value of lag is assumed to be equal to 1 - sps_dmvr_enabled_flag. - Otherwise (sps_dmvr_pic_present_flag is equal to 1 and rpl_info_in_ph_ flag is equal to 1 and num_ref_entries[1][RplsIdx[1]]==0), the value of ph_disable_dmvr_flag is estimated to be equal to 1.
[0094] In one example, the syntax element ph_disable_dmvr_flag indicates that the second and third conditions above are met. If ph_disable_dmvr_flag does not exist, the above The second and third conditions may be removed from the derivation of ph_disable_dmvr_flag.
[0095] In one example, if ph_disable_dmvr_flag is not present, then: sps_dmvr_p If ic_present_flag is equal to 0, then ph_disable_dmvr_flag has the value 1 - sps_dmvr_enabled _flag. Otherwise, the value of ph_disable_dmvr_flag is equal to 1. It is estimated that
[0096] An example of a conditional notification of the syntax element ph_disable_bdof_flag is shown below. If (sps_bdof_pic_present_flag && rpl_info_in_ph_flag && num_ref_entries
[0000] [ R plsIdx
[0000] ] > 1 && num_ref_entries
[0001] [ RplsIdx
[0001] > 1 ) ph_disable_bdof_flag or If (sps_bdof_pic_present_flag && (!rpl_info_in_ph_flag || (rpl_info_in_ph_f lag && num_ref_entries
[0000] [ RplsIdx
[0000] ] > 1 && num_ref_entries
[0001] [ RplsId x
[0001] ] > 1)) ) ph_disable_bdof_flag
[0097] In one example, an example of an alternative condition check is shown below: If (sps_bdof_pic_present_flag && (!rpl_info_in_ph_flag || (rpl_info_in_ph_fla g && num_ref_entries
[0001] [ RplsIdx
[0001] ] > 0)) ) ph_disable_bdof_flag
[0098] The semantics of ph_disable_bdof_flag has also been changed to accommodate unnotified situations. can be.
[0099] ph_disable_bdof_flag equals 1 to disable bidirectional optical flow inter-prediction. Specifies that inter bi-prediction based on ph_d is disabled for the slice associated with PH. isable_bdof_flag, if equal to 0, enables bidirectional optical flow inter-prediction. <Inter bi-prediction is enabled or not enabled in the slice associated with the PH Specify whether or not
[0100] If ph_disable_bdof_flag is not present: - sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_present_flag is equal to 0 If the value of ph_disable_bdof_flag is less than 0, the value of ph_disable_bdof_flag is inferred to be equal to 0. - Otherwise, if sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_prese If nt_flag is equal to 1, the value of ph_disable_dmvr_flag is inferred to be equal to 1. - If not (sps_bdof_enabled_flag is equal to 0), ph_disable_bdof_fl The value of ag is assumed to be equal to 1.
[0101] If the value of ph_disable_bdof_flag is not present, an alternative way to derive it is as follows: do. If the value of ph_disable_bdof_flag is explicitly signaled or implicitly derived, all The following conditions are considered to derive the value of ph_disable_bdof_flag. - sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_present_flag is equal to 0 If the value of ph_disable_bdof_flag is less than 0, the value of ph_disable_bdof_flag is inferred to be equal to 0. - Otherwise, sps_bdof_enabled_flag is equal to 0 and sps_bdof_pic_pre If sent_flag is equal to 0, the value of ph_disable_bdof_flag is inferred to be equal to 1. - Otherwise, sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_present If _flag is equal to 1 and rpl_info_in_ph_flag is equal to 0, then ph_disable_bdof_fl The value of ag is assumed to be equal to X (where X is explicitly signaled). - Otherwise, if sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_prese nt_flag is equal to 1 and rpl_info_in_ph_flag is equal to 1 and num_ref_entries
[0001] [ R If plsIdx
[0001] ] > 0, the value of ph_disable_bdof_flag is inferred to be equal to X (where X is (explicitly notified). - Otherwise (sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_prese nt_flag is equal to 1 and rpl_info_in_ph_flag is equal to 1 and num_ref_entries[1][Rpl sIdx[1]]==0), the value of ph_disable_bdof_flag is inferred to be equal to 1.
[0102] The syntax element ph_disable_bdof_flag explicitly states that the third and fourth conditions are true. Therefore, if ph_disable_bdof_flag is not present, the third and fourth conditions are not met. It may be removed from the derivation of able_bdof_flag.
[0103] If ph_disable_bdof_flag is not present: - sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_present_flag is equal to 0 If the value of ph_disable_bdof_flag is less than 0, the value of ph_disable_bdof_flag is inferred to be equal to 0. - Otherwise, if sps_bdof_enabled_flag is equal to 0 and sps_bdof_pic_prese If nt_flag is equal to 0, the value of ph_disable_bdof_flag is inferred to be equal to 1. - Otherwise (sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_present t_flag is equal to 1 and rpl_info_in_ph_flag is equal to 1 and num_ref_entries[1][RplsI dx[1]]==0), the value of ph_disable_bdof_flag is inferred to be 1.
[0104] These conditions can be simplified to the following: If ph_disable_bdof_flag is not present: - sps_bdof_enabled_flag is equal to 1 and sps_bdof_pic_present_flag is equal to 0 If so, the value of ph_disable_bdof_flag is inferred to be 0. - Otherwise (sps_bdof_enabled_flag is equal to 0 or sps_bdof_pic_pres ent_flag is equal to 1), the value of ph_disable_bdof_flag is inferred to be 1.
[0105] If the value of ph_disable_bdof_flag is not present, an alternative way to derive it is shown below. will be done. If ph_disable_bdof_flag is not present: - If sps_bdof_pic_present_flag is equal to 0, the value of ph_disable_bdof_flag is 1- Inferred to be equal to sps_bdof_enabled_flag. - Otherwise, if sps_bdof_pic_present_flag is equal to 1 and rpl_info_in_ph If _flag is equal to 0, the value of ph_disable_bdof_flag is equal to 1 - sps_bdof_enabled_flag. It is estimated that - Otherwise, if sps_bdof_pic_present_flag is equal to 1 and rpl_info_in_ph ph_disable_bdof_f if _flag is equal to 1 and num_ref_entries[1][RplsIdx[1]]>0 The value of lag is assumed to be equal to 1 - sps_bdof_enabled_flag. - Otherwise (sps_bdof_pic_present_flag is equal to 1 and rpl_info_in_ph_ flag is equal to 1 and num_ref_entries[1][RplsIdx[1]]==0), the value of ph_disable_bdof_flag is estimated to be equal to 1.
[0106] In one example, the syntax element ph_disable_bdof_flag is used when the second and third conditions above are met. If ph_disable_bdof_flag does not exist, the above The second and third conditions may be removed from the derivation of ph_disable_bdof_flag.
[0107] - In one example, if ph_disable_bdof_flag is not present, then: sps_b If dof_pic_present_flag is equal to 0, the value of ph_disable_bdof_flag is 1- sps_bdof_en is assumed to be equal to abled_flag. - Otherwise, the value of ph_disable_bdof_flag is inferred to be equal to 1.
[0108] Additionally, the syntax elements ph_collocated_from_l0_flag and weight_table() are used to These conditional notifications are changed so that they only apply if the slice is a B slice. An example of a modified syntax element notification is shown below: [Table 4]
[0109] The semantics of ph_collocated_from_l0_flag has also been updated to handle the unnotified situation. will be changed.
[0110]
[0118] ph_collocated_from_l0_flag, if equal to 1, indicates the temporal motion vector prediction Specifies that the collocated images for are derived from reference image list 0. If cated_from_l0_flag is equal to 0, the collocated_from_l0_flag flag is set to 0. Specifies that the image is derived from reference image list 1.
[0111] If ph_collocated_from_l0_flag is not present: - If num_ref_entries
[0000] [ RplsIdx
[0000] ] is greater than 1, ph_collocated_f The value of rom_l0_flag is assumed to be equal to 1. - Otherwise (num_ref_entries
[0001] [ RplsIdx
[0001] ] is greater than 1), p The value of h_collocated_from_l0_flag is inferred to be equal to 0. [Table 5-1] [Table 5-2] [Table 5-3]
[0112] Similarly, examples of alternative condition checks are shown below. if( pps_weighted_bipred_flag && wp_info_in_ph_flag && (!rpl_info_in_ph_flag || (rpl_info_in_ph_flag && num_ref_entries
[0001] [ RplsIdx
[0001] ] > 0))) num_l1_weights
[0113] The semantics of syntax elements in pred_weight_table() also handles unnotified situations. It will be changed to:
[0114] num_l1_weights is set when pps_weighted_bipred_flag and wp_info_in_ph_flag are both equal to 1. If necessary, specify the number of weights to be notified for the entries in the reference picture list 1. The value of num_l1_weights is 0 or more and Min(15, num_ref_entries
[0001] [ RplsIdx
[0001] ] ) or less. is within the range.
[0115] The variable NumWeightsL1 is derived as follows: if( !pps_weighted_bipred_flag) NumWeightsL1 = 0 else if (wp_info_in_ph_flag && rpl_info_in_ph_flag && (num_ref_entries
[0000] [ RplsIdx
[0000] ] ==0 || num_ref_entries
[0001] [ RplsIdx
[0001] >==0)) NumWeightsL1 = 0 else if( wp_info_in_ph_flag ) NumWeightsL1 = num_l1_weights else NumWeightsL1 = NumRefIdxActive
[0001]
[0116] The value of num_l1_weights in the semantics of the syntax elements in pred_weight_table( ) If does not exist, an alternative way to derive it is given below. num_l1_weights is set when both pps_weighted_bipred_flag and wp_info_in_ph_flag are set. When equal to 1, it specifies the number of weights reported for entries in Reference Image List 1. The value of num_l1_weights must be greater than or equal to 0 and less than Min(15, num_ref_entries
[0001] [ RplsIdx
[0001] ] ) is in the following range. The value of num_l1_weights is inferred to be 0 if it is not present.
[0117] The variable NumWeightsL1 is derived as follows: if( !pps_weighted_bipred_flag) NumWeightsL1 = 0 else if( wp_info_in_ph_flag ) NumWeightsL1 = num_l1_weights else NumWeightsL1 = NumRefIdxActive
[0001]
[0118] The value of num_l1_weights in the semantics of the syntax elements in pred_weight_table( ) If does not exist, an alternative way to derive it is given below. if( !pps_weighted_bipred_flag | | ( wp_info_in_ph_flag && num_ref_en tries
[0001] [ RplsIdx
[0001] ] = = 0 ) ) NumWeightsL1 = 0 else if( wp_info_in_ph_flag ) NumWeightsL1 = num_l1_weights else NumWeightsL1 = NumRefIdxActive
[0001]
[0119] Conceptually, it can only be applied to B slices to avoid signaling redundant bits. For any of the syntax elements, the current image is a reference from the reference image lists list0 and list1. It is proposed to add a notification condition to check whether the device has a matching image. The search condition is the size of the reference image list (for example, reference image list list0 / list1) as shown above. The current image is taken from the reference image lists list0 and list1. There may be other ways to indicate whether the current image has a reference image. For example, A flag can be signaled indicating whether or not the image has both list0 and list1.
[0120] The syntax element is not signaled, and the reference picture list information is signaled in the picture header (PH). If so, the value of the syntax element is that the current image has both reference images list0 and list1. It is derived using information on whether the image has only the reference image list0 or list1. If ph_collocated_from_l0_flag is not signaled, the value is the In another example, if sps_bdof_enabled_flag is equal to 1, and sps_bdof_pic_present_flag is equal to 1, but ph_disable_bdof_flag is not signaled. If not, then num_ref_entr will be used according to the proposed notification conditions for ph_disable_bdof_flag. ies
[0000] [ RplsIdx
[0000] ] is equal to 0 or num_ref_entries
[0001] [ RplsIdx
[0001] ] is 0 Therefore, in this condition, ph_disable_bdof_flag is notified. In the current VVC, not only the resolution of the collocated image but also the speed The offset applied to the image size to calculate the scaling factor also affects TMVP enablement. However, in the current VVC, the ph_temporal_mvp_enabled_flag In the second embodiment, the offset is not taken into account in the bitstream consistency. As shown in the image, the value of ph_temporal_mvp_enabled_flag is used to calculate the scaling ratio. Bitstream consistency constraints that require relying on offsets applied to size It is proposed to add approximately 100,000 to the current VVC.
[0121] The DPB contains an image with the same spatial resolution as the current image and for calculating the scaling factor. If there is no reference image with the same size and offset, the value of ph_temporal_mvp_enabled_flag is 0. is equal to.
[0122] The above semantics can alternatively be written as follows: In DPB, the reference image with the associated variable value RprConstraintsActive[i][j] equal to 0 If no image is present, the value of ph_temporal_mvp_enabled_flag is equal to 0.
[0123] In the current VVC, the image referenced by slice_collocated_ref_idx is the coded image The bitstream consistency requirement is that the data must be identical for all slices in a However, if the coded image has multiple slices, and all of these slices If there is no common reference picture between In the third embodiment of the present disclosure, the ph_temporal_mvp_enabled_flag is The bitstream consistency requirement is that there is a common reference picture between all slices in the current picture. Based on this embodiment, the VVC standard is modified to consider whether the Some exemplary modifications are given below:
[0124] ph_temporal_mvp_enabled_flag indicates whether the temporal motion vector predictor is enabled for the PH-related slide. ph_temporal_mvp_enabled_flag Specifies whether or not the MVP is available for inter prediction for the given source. If is equal to 0, the syntax elements of the slice associated with PH are temporally relevant to the decoding of the slice. Constrained not to use motion vector predictor. Otherwise (ph_temporal_mv p_enabled_flag is equal to 1), the temporal motion vector predictor is used to The value of ph_temporal_mvp_enabled_flag is If not present, it is assumed to be 0. A reference image in the DPB with the same spatial resolution as the current image If the image is not present, the value of ph_temporal_mvp_enabled_flag should be equal to 0. If there is no common reference image for all slices related to PH, ph_tempo The value of ral_mvp_enabled_flag should be equal to 0.
[0125] ph_temporal_mvp_enabled_flag indicates whether the temporal motion vector predictor is enabled for the PH-related slide. ph_temporal_mvp_enabled_flag Specifies whether or not the MVP is available for inter prediction for the given source. If is equal to 0, the syntax elements of the slice associated with PH are temporally relevant to the decoding of the slice. Constrained not to use motion vector predictor. Otherwise (ph_temporal_mv p_enabled_flag is equal to 1), the temporal motion vector predictor is used to The value of ph_temporal_mvp_enabled_flag is If not present, it is assumed to be equal to 0. If there is no reference image to be used, the value of ph_temporal_mvp_enabled_flag is equal to 0. If there is no common reference image for all inter-slices related to PH, In this case, the value of ph_temporal_mvp_enabled_flag should be equal to 0.
[0126] ph_temporal_mvp_enabled_flag indicates whether the temporal motion vector predictor is enabled for the PH-related slide. ph_temporal_mvp_enabled_flag Specifies whether or not the MVP is available for inter prediction for the given source. If is equal to 0, the syntax elements of the slice associated with PH are temporally relevant to the decoding of the slice. Constrained not to use motion vector predictor. Otherwise (ph_temporal_mv p_enabled_flag is equal to 1), the temporal motion vector predictor is used to The value of ph_temporal_mvp_enabled_flag is If not present, it is assumed to be equal to 0. If there is no reference image to be used, the value of ph_temporal_mvp_enabled_flag is equal to 0. There is no common reference image for all non-intra slices related to PH. In this case, the value of ph_temporal_mvp_enabled_flag should be equal to 0.
[0127] In one example, the bitstream consistency for slice_collocated_ref_idx is as follows: is simplified to
[0128] The bitstream consistency requirement is the The values of pic_width_in_luma_samples and pic_height_in_luma_samples are the current pixel size. pic_width_in_luma_samples and pic_height_in_luma_samples are equal to the values of the image's pic_width_in_luma_samples and pic_height_in_luma_samples. nstraintsActive[ slice_collocated_from_l0_flag ? 0 : 1 ][ slice_collocated_ref_i dx ] is equal to 0.
[0129] The above method can be implemented using an application specific integrated circuit (ASIC), a digital signal processor (DSP), ), Digital Signal Processor (DSPD), Programmable Logic Device (PLD), Field Programmable gate arrays (FPGAs), controllers, and microcontrollers A device that contains one or more circuits, such as a computer, a microprocessor, or other electronic components. The device may also be implemented by an apparatus including the circuitry in other hardware or software. The above disclosed components may also be used in combination to perform the above methods. Each module, sub-module, unit, or sub-unit may be implemented using one or more circuits.
[0130] The current VVC standard provides two bitstream resolution limits for collocated images. One is proposed for ph_temporal_mvp_enabled_flag and the other is for sl It is suggested for bitstream consistency with respect to ice_collocated_ref_idx. However, these two bitstreams are compatible with all current images at different resolutions and / or or because it prohibits the use of collocated images with different scaling offsets In the VVC standard, the existence of two bitstreams is functionally redundant. In the fifth embodiment, the burden on the encoder to check bitstream integrity is reduced. To avoid this, it is suggested to apply only the bitstream consistency slice_collocated_ref_idx. An example of the revised VVC standard is shown below, with the changes highlighted. JPEG2026004439000020.jpg89164
[0131] In one example, only the bitstream integrity ph_temporal_mvp_enabled_flag is applied. An example of the revised VVC specification is shown below. JPEG2026004439000021.jpg70164
[0132] FIG. 5 illustrates an exemplary apparatus for video encoding and decoding, according to an embodiment of the present disclosure. The device 500 is a block diagram of a mobile phone, a tablet computer, a digital broadcasting The terminal may be a terminal such as a terminal, a tablet device, or a personal digital assistant.
[0133] As shown in FIG. 5, the device 500 includes a processing unit 502, a memory 504, a power supply unit 506, Multimedia section 508, audio section 510, input / output (I / O) interface 512, a sensor unit 514, and a communication unit 516.
[0134] The processing unit 502 typically handles display, telephone calls, data communications, camera operations, and recording operations. The processing unit 502 controls the overall operation of the device 500, including operations related to the above. One or more instructions to carry out the whole or part of the steps of the Act The processing unit 502 may include a processor 520. It is possible for the system to include one or more modules that contribute to the interaction between the components of the system. For example, the processing unit 502 may be configured to process the multimedia data in a manner that is consistent with the interaction between the multimedia unit 508 and the processing unit 502. It may also include a multimedia module for contribution.
[0135] Memory 504 stores different types of data to support the operation of device 500. Examples of such data include the data of any application running on device 500. applications or instructions, contact data, phone book data, messages, images , video, etc. The memory 504 may be any type of volatile or non-volatile storage. The memory 504 may be implemented by a static random access memory (SRAM) or a combination thereof. Static Random Access Memory (SRAM), electrically erasable programmable Electrically Erasable Programmable Read-Only Memory (EEPROM) Only Memory), Erasable Programmable Read-Only Memory (EPROM) rammable read-only memory (PROM), programmable read-only memory (PROM) magnetic read-only memory (ROM), read-only memory (ROM), magnetic memory The storage device may be a memory, a flash memory, a magnetic disk, or a compact disk.
[0136] The power supply unit 506 supplies power to each component of the device 500. The power supply unit 506 is generating, managing, and distributing power for the system, one or more power sources, and device 500; It may also include other components related to the placement.
[0137] The multimedia section 508 provides an output interface between the device 500 and the user. In one example, the screen includes a liquid crystal display (LCD). The screen may include a crystal display (Crystal Display) and a touch panel (TP). If the computer includes a touch panel, the screen may be a touchscreen that receives input signals from a user. The touch panel may be realized as a screen. and one or more touch sensors for sensing gestures. The touch sensor not only detects the boundaries of the touch or slide motion, but also The duration and pressure associated with a touch or slide operation can also be detected. The multimedia section 1008 may include a front camera and / or a rear camera. When the device 1000 is in an operational mode, such as a picture taking mode or a video mode, The front camera and / or rear camera can receive external multimedia data. Cut.
[0138] The audio section 510 is configured to output and / or input audio signals. For example, the audio unit 510 includes a microphone (MIC). The device 500 may be in various operating modes, such as a call mode, a recording mode, and a voice recognition mode. When the audio signal is received, the audio signal is , may be further stored in memory 504 or transmitted via communication unit 516 In one example, the audio unit 510 may further include a speaker for outputting the audio signal. This includes:
[0139] The I / O interface 512 connects the processing unit 502 to the peripheral interface module. The peripheral interface module described above provides an interface between the These buttons may include a home button, a click wheel, or buttons. This includes, but is not limited to, the touch screen, volume buttons, start button, and lock button. I can't.
[0140] The sensor unit 514 may include one or more sensors for providing condition assessments for different aspects of the device 500. For example, the sensor unit 514 may include a number of sensors to detect the on / off state and configuration of the device 500. For example, these components can be used to detect the relative positions of the devices 500. The sensor section 514 is also a display and a keypad. 0, whether or not the user is touching the device 500, and the orientation of the device 500 Alternatively, the sensor unit 51 can detect acceleration / deceleration and temperature changes of the device 500. 4 includes a proximity sensor configured to detect the presence of a nearby object without physical contact. The sensor section 514 may be a CMOS or CMOS type used in imaging applications. It may further include an optical sensor such as a CD image sensor. sensor, gyro sensor, magnetic sensor, pressure sensor, or temperature sensor. The sensor may further include a sensor.
[0141] The communication unit 516 is configured to facilitate wired or wireless communication between the device 500 and other devices. The device 500 may be configured to communicate with a communication standard such as WiFi, 4G, or a combination thereof. In one example, the communication unit 516 may The notification channel receives notification signals or notification-related information from an external notification management system. In one example, the communication unit 516 may include a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may include a radio frequency identification (RFID) ) technology, Infrared Data Association (IrDA) technology, Ultra-Wideband (UWB) technology, Bluetooth It may be implemented based on Bluetooth technology and other technologies.
[0142] In one example, the device 500 may include an application specific integrated circuit (ASI) for performing the above method. C), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Program Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controller, microcontroller, microprocessor, or other electronic component This may be achieved by one or more of the following:
[0143] The non-transitory computer-readable storage medium may be, for example, a hard disk drive (H DD), solid state drives (SSD), flash memory, hybrid drives and solid state high Hybrid Drive (SSHD), Read-Only Memory (ROM), Compact Disc Reader It may be a dedicated memory (CD-ROM), magnetic tape, floppy disk, etc. stomach.
[0144] FIG. 6 is a flow chart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. -Chart.
[0145] In step 602, processor 520 sets a null flag in PH for the image. Determine whether a tag exists.
[0146] In one example, the invalidation flag is set when the encoding / decoding tool is configured to use one or more Specifies whether the slice is disabled.
[0147] In step 604, processor 520 determines whether the invalidation flag is present in PH. Depending on the decision to do so, one or more enabling flags may be notified in the SPS of the image. The value of the invalidation flag is estimated from the log.
[0148] In one example, in response to determining that the value of the invalidation flag is equal to one, processor 520 If so, the encoding / decoding tool will disable decoding of one or more of these slices, and In response to determining that the value of the enable flag is equal to 0, the encoding / decoding tool Enables decoding of one or more slices.
[0149] In one example, the encoding / decoding tool may support DMVR-based inter bi-prediction and BDOF The prediction algorithm includes at least one of the following:
[0150] In one example, the processor 520 may determine whether one or more reference image lists are associated with the image. In response to determining that one or more slices in a to skip parsing the invalidation flag.
[0151] In one example, the disable flag is used when DMVR-based inter bi-prediction is used for one of the PH-related or multiple slices, and processor 520 specifies whether the DM VR-based inter bi-prediction is disabled for decoding of one or more slices. Disables the decoding tool from decoding this slice or slices and disables DMVR-based Encoding and decoding by enabling inter bi-prediction for decoding of one or more slices Enable the tool to decode this slice or slices.
[0152] In one example, the processor 520 may select a first enabling flag signaled in the SPS of the image. a disable flag in response to determining that the first enable flag is equal to 1 and the second enable flag is equal to 0; By assuming the value of the flag to be 0, it is determined that parsing of the disable flag is skipped. and estimating the value of the disable flag from one or more enable flags in the SPS according to .
[0153] In one example, the first enabling flag in the SPS is DMVR-based inter bi-prediction. Specifies whether DMVR-based inter bi-prediction is enabled. If set to 1, DMVR-based inter bi-prediction is enabled. Specifies that DMVR-based inter bi-prediction is enabled, and if equal to 0, disables DMVR-based inter bi-prediction. Specifies that the
[0154] In one example, the second enable flag in the SPS is disabled in the PH that references the SPS. Specifies whether the enable flag exists, and if it is equal to 0, the PH that references the SPS If the invalid flag is equal to 1, the PH that references the SPS is Specifies that the disable flag is present in
[0155] In one example, the processor 520 may select a first enabling flag signaled in the SPS of the image. a disable flag in response to determining that the first enable flag is equal to 1 and the second enable flag is equal to 1; The value of the corresponding first enable flag is determined to be equal to 1, and the corresponding first enable flag is determined to be equal to 0. By assuming the value of the disable flag to be 1, it is determined that parsing of the disable flag is skipped. Infer the value of the invalid flag from one or more valid flags in the SPS according to the Determine.
[0156] In one example, the processor 520 may select a first enabling flag signaled in the SPS of the image. a disable flag in response to determining that the first enable flag is equal to 0 and the second enable flag is equal to 0; The corresponding first enable flag is equal to 1 and the corresponding second enable flag is equal to 1. - equal to W and one or more reference image lists are signaled in PH and the second reference the value of the invalidation flag in response to determining that the number of reference images in the image list is equal to 0; In response to the decision to skip parsing the invalidation flag by estimating If necessary, the value of the invalid flag is inferred from one or more valid flags in the SPS. The one or more reference image lists include a first reference image list and a second reference image list. nothing.
[0157] In one example, the processor 520 may select a first enabling flag signaled in the SPS of the image. In response to determining that the invalid flag is equal to 0, the invalid flag is estimated to have a value of 1, and the SPS of the image is In response to determining that the second enable flag notified in the It was decided that parsing of the invalidation flag would be skipped by assuming the value of The value of the invalidation flag is estimated from one or more validation flags in the SPS according to the
[0158] In one example, the processor 520 determines the value of the first enable flag in the SPS as W. The first enable flag indicates whether DMVR-based inter bi-prediction is enabled. If it is equal to 1, it means that DMVR-based inter bi-prediction is enabled. If set to 0, DMVR-based inter bi-prediction is disabled. The processor 520 determines whether the second enable flag notified in the SPS of the image is 0. In response to determining that the values are equal, the invalid flag is estimated to be 1-W. In response to determining that analysis of the enable flag is skipped, one or more The value of the invalidation flag is estimated from the validity flag of the second SPS. , specifies whether an invalid flag exists in the PH that refers to the SPS, and the second valid If the disable flag is equal to 0, the disable flag is not present in the PH that references the SPS. If it is equal to 1, the invalid flag is not present in the PH that references the SPS. Specify that.
[0159] In one example, the processor 520 may select a second enabling flag signaled in the SPS of the image. By inferring the value of the invalid flag to 1 in response to determining that the invalid flag is not equal to 0. In response to the decision to skip the analysis of the invalidation flag, one or more estimates the value of the invalid flag from multiple valid flags.
[0160] In one example, the processor 520 detects whether a second enable flag in the SPS of the image is equal to 1. and one or more reference image lists are notified in the PH and a second reference image list is notified in the PH. In response to determining that the number of reference images in the By setting The invalidation flag value is estimated to be 1 depending on the one or more reference image lists. It includes a first reference image list and a second reference image list.
[0161] In one example, the processor 520 determines that an invalid flag is signaled in the PH. In response, the value of the invalidation flag is estimated from one or more validation flags in the SPS. do.
[0162] In one example, the processor 520 determines the value of the first enable flag in the SPS as W. The value of the second enable flag in the SPS is equal to 1 and one or more enable flags in the PH are In response to determining that the reference image list of has not been notified, the value of the invalidation flag is set to 1-W and the value of the second enable flag in SPS is equal to 1 and the value of the second enable flag in PH is equal to 1 or is notified when multiple reference image lists are notified and the number of reference images in reference image list 1 is greater than 0. By estimating the value of the invalidation flag as 1-W in response to the determination that P In response to determining that an invalid flag has been signaled in H, one or more The value of the invalid flag is estimated from the valid flag of the number.
[0163] In one example, the processor 520 sets a first enable flag in the SPS equal to 1 and and the second enable flag in the SPS is equal to 1 and one or more references in the PH are In response to determining that the image list has not been notified, the value of the invalid flag is set in PH. The value of the invalid flag that is explicitly notified is assumed, and the value of the first valid flag in the SPS is assumed. is equal to 1 and the value of the second enable flag in SPS is equal to 1 and One or more reference image lists are notified and the number of reference images in the reference image list is 0 The value of the invalidation flag is explicitly signaled in PH in response to determining that the By estimating the value of the invalidation flag, it is possible to determine whether the invalidation flag has been notified in PH. The value of one or more enable flags in the SPS to the disable flag in response to the determination. Estimate.
[0164] In one example, the disable flag is used when BDOF-based inter bi-prediction is associated with PH. The processor 520 specifies whether the BDO is invalidated for multiple slices. By disabling F-based inter bi-prediction for decoding of one or more slices This disables the encoding / decoding tool from decoding this slice or slices and The coding is performed by enabling inter-bi-prediction of the source for decoding one or more slices. Enables the encoding / decoding tool to decode this slice or slices.
[0165] In one example, the processor 520 may select a third enabling flag signaled in the SPS of the image. and determining that the fourth enable flag is equal to 1 and the fourth enable flag is equal to 0. It was decided that parsing of the invalidation flag would be skipped by assuming its value to be 0. Infer the value of the disable flag from one or more enable flags in the SPS according to The third enable flag in SPS indicates that BDOF-based inter bi-prediction is enabled. If it is equal to 1, BDOF-based inter bi-prediction is enabled. If it is equal to 0, BDOF-based inter bi-prediction is disabled. The fourth enable flag in the SPS is invalid in the PH that references the SPS. Specifies whether the enable flag exists, and if it is equal to 0, the PH that references the SPS If the invalid flag is equal to 1, the PH that references the SPS is Specifies that the disable flag is present in
[0166] In one example, the processor 520 may select a third enabling flag signaled in the SPS of the image. a disable flag in response to determining that the first enable flag is equal to 1 and the fourth enable flag is equal to 1; The value of the corresponding third enable flag is determined to be equal to 0. By assuming the value of the disable flag to be 1, it is determined that parsing of the disable flag is skipped. Infer the value of the invalid flag from one or more valid flags in the SPS according to the Determine.
[0167] In one example, the processor 520 may select a third enabling flag signaled in the SPS of the image. and determining that the fourth enable flag is equal to 0 and the fourth enable flag is equal to 0. The corresponding third enable flag is equal to 1 and the corresponding fourth enable flag is equal to 1. and one or more reference image lists are notified in PH and the second reference image In response to determining that the number of reference images in the list is equal to 0, set the value of the invalidation flag to 1. In response to the decision to skip parsing the invalidation flag by estimating The value of the invalid flag is estimated from one or more valid flags in the SPS. Alternatively, the plurality of reference image lists includes a first reference image list and a second reference image list.
[0168] In one example, the processor 520 may select a third enabling flag signaled in the SPS of the image. In response to determining that the invalid flag is equal to 0, the invalid flag is estimated to have a value of 1, and the SPS of the image is In response to determining that the fourth enable flag notified in the It was decided that parsing of the invalidation flag would be skipped by assuming the value of The value of the invalidation flag is estimated from one or more validation flags in the SPS according to the
[0169] In one example, the processor 520 may set the value of a third validation flag in the SPS of the image to V and determined that the fourth enable flag signaled in the image's SPS is equal to 0. By estimating the value of the invalid flag as 1-V accordingly, one or more estimates the value of the invalid flag from multiple valid flags.
[0170] In one example, the processor 520 may select a fourth enabling flag signaled in the SPS of the image. By inferring the value of the invalid flag to 1 in response to determining that the invalid flag is not equal to 0. In response to the decision to skip the analysis of the invalidation flag, one or more estimates the value of the invalid flag from multiple valid flags.
[0171] In one example, the processor 520 may detect whether a fourth enable flag in the SPS of the image is equal to 1. and one or more reference image lists are notified in the PH and a second reference image list is notified in the PH. In response to determining that the number of reference images in the By setting The invalidation flag value is estimated to be 1 depending on the one or more reference image lists. It includes a first reference image list and a second reference image list.
[0172] In one example, the processor 520 determines the value of the fourth enable flag in the SPS as V. The value of the fourth enable flag in the SPS is equal to 1 and one or more In response to determining that the reference image list of is not notified, the value of the invalidation flag is set to 1-V and the value of the fourth enable flag in SPS is equal to 1 and the value of 1 or is notified when multiple reference image lists are notified and the number of reference images in reference image list 1 is greater than 0. By estimating the value of the invalid flag as 1-V in response to the determination that P In response to determining that an invalid flag has been signaled in H, one or more The value of the invalid flag is estimated from the valid flag of the number.
[0173] In one example, the processor 520 sets a third enable flag in the SPS equal to 1 and and the fourth enable flag is equal to 1 and one or more reference image lists are passed in PH. The value of the invalid flag is explicitly notified in the PH in response to the determination that the invalid flag is not known. The value of the third enable flag in the SPS is equal to 1 and The value of the fourth enable flag in the SPS is equal to 1 and one or more If a reference image list is notified and the number of reference images in the reference image list is greater than 0, The value of the invalidation flag is explicitly notified in the PH depending on the decision. It is estimated to be a value of
[0174] FIG. 7 is a flow chart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. -Chart.
[0175] In step 702, processor 520 determines whether a flag exists in the PH associated with the image. Decide whether to do so or not.
[0176] In one example, the flag indicates that an image used in TMVP has multiple associated Specifies whether the image is derived from one of the reference image lists.
[0177] In step 704, processor 520 determines that no flags exist in PH. The value of this flag is estimated from the number of reference images in the reference image list, depending on the setting of do.
[0178] In one example, the processor 520 may select one or more reference image lists associated with the image. In response to determining that multiple slices indicate that they are not bi-predicted, Skip parsing of the tag.
[0179] In one example, the plurality of reference image lists includes a first reference image list and a second reference image list. Contains a list of reference images.
[0180] In one example, the flag, if equal to 1, indicates that the image used in TMVP is the first reference. If equal to 0, the image is derived from the reference image list. is derived from the second reference image list.
[0181] In one example, the processor 520 may select a number of reference images in the first reference image list greater than one. In response to the determination that the number of reference images is larger than the number of reference images, the value of the flag is estimated to be 1, and the number of reference images is added to the second reference image list. The value of the flag above is assumed to be 0 in response to determining that the number of reference images in the By doing so, the analysis of the above flags is skipped depending on the reference image The value of the above flag is estimated from the number of reference images in the list.
[0182] FIG. 8 is a flow chart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. -Chart.
[0183] In step 802, processor 520 determines whether a flag exists in the PH associated with the image. Decide whether to do so or not.
[0184] In one example, the flags are the first WP flag in the PPS of the image and the The second WP flag in PH specifies the number of weights reported in the reference image list. And this flag is in the WP syntax related to images.
[0185] In step 804, processor 520 determines whether the above flags are present in PH. In response to determining whether the image is a reference image, a reference image link from a plurality of reference image lists associated with the image is selected. The value of this flag is estimated from the number of reference images in the list.
[0186] In one example, the processor 520 may select one or more reference images associated with the image. In response to determining that one or more slices indicate that they are not bi-predicted, Skip parsing of the tag.
[0187] In one example, the plurality of reference image lists includes a first reference image list and a second reference image list. The flags are set when the first WP flag in the PPS is equal to 1 and In response to determining that the second WP flag in the PH is equal to 1, Specifies the number of weights advertised in the list.
[0188] In one example, processor 520 may be configured to detect when the first WP flag in the PPS is equal to 0 and The second WP flag in PH is equal to 1 and the reference image in the second reference image list In response to determining that the number of PPS The first WP flag in PH is not equal to 0 and the second WP flag in PH is equal to 1. The value of the above flag is explicitly notified in PH in response to the decision that If the value of the first flag in PPS is not equal to 0 and the value of the first flag in PH is In response to determining that the second WP flag is not equal to 1, the value of the flag is set to NumRef By assuming the value of IdxActive[1], parsing of the above flags is skipped. from the number of reference images in the reference image list associated with the image in response to determining Estimate the value of the flag.
[0189] In one example, the value NumRefIdxActive[ i ] - 1 is the maximum reference image for reference image list i. Specifies the index, where i is equal to 0 or 1.
[0190] For example, the value of NumRefIdxActive[ i ] - 1 indicates the second reference image list, Specifies the maximum reference index for port 1.
[0191] In one example, processor 520 determines that the first WP flag in the PPS is equal to 0. In response to the determination, the value of the flag is set to 0, and the first WP flag in the PPS is set to In response to determining that the second WP flag in PH is not equal to 0 and the second WP flag in PH is equal to 1, The above flag values are determined as flag values explicitly notified in the PH, and the first flag value in the PPS is If the WP flag in 1 is not equal to 0 and the second WP flag in PH is not equal to 1, Depending on the decision, the value of this flag shall be determined to be the value of NumRefIdxActive
[0001] . Determine the value of this flag depending on whether it exists in PH. do.
[0192] FIG. 9 is a flow chart illustrating an example process for video encoding and decoding, according to an embodiment of the present disclosure. -Chart.
[0193] In step 902, processor 520 determines whether one or more The temporal motion vector predictor of Specifies whether the RGB signal is used for inter prediction.
[0194] In step 904, the processor 520 calculates the scaling factor of the image. Constrain the value of the enable flag from multiple offsets applied to the size.
[0195] In one example, the processor may select one or more inter-slices from a common estimated image. In response to determining that it does not exist, set the enable flag to 0. The slice includes one or more of the slices described above that are related to PH.
[0196] In one example, the processor may select a common estimated image from one or more non-intra slices. In response to determining that does not exist, the enable flag is set to 0.
[0197] In one example, an apparatus for video encoding and decoding is provided. The apparatus includes one or more or multiple processors 520 and instructions executable by one or more processors. and a memory 504 configured to store, upon execution of the instructions, , configured to perform a method as shown in FIG.
[0198] In one example, an apparatus for video encoding and decoding is provided. The apparatus includes one or more or multiple processors 520 and instructions executable by one or more processors. and a memory 504 configured to store, upon execution of the instructions, , configured to perform a method as shown in FIG.
[0199] In one example, an apparatus for video encoding and decoding is provided. The apparatus includes one or more or multiple processors 520 and instructions executable by one or more processors. and a memory 504 configured to store, upon execution of the instructions, , configured to perform a method as shown in FIG.
[0200] In one example, an apparatus for video encoding and decoding is provided. The apparatus includes one or more or multiple processors 520 and instructions executable by one or more processors. and a memory 504 configured to store, upon execution of the instructions, , configured to perform a method as shown in FIG.
[0201] In another example, a non-transitory computer-readable storage medium 5 having instructions stored thereon. 04 are provided. These instructions are executed by one or more processors 520. This causes the processor to perform the method shown in FIG.
[0202] In another example, a non-transitory computer-readable storage medium 5 having instructions stored thereon. 04 are provided. These instructions are executed by one or more processors 520. This causes the processor to perform the method shown in FIG.
[0203] In another example, a non-transitory computer-readable storage medium 5 having instructions stored thereon. 04 are provided. These instructions are executed by one or more processors 520. This causes the processor to perform the method shown in FIG.
[0204] In another example, a non-transitory computer-readable storage medium 5 having instructions stored thereon. 04 are provided. These instructions are executed by one or more processors 520. This causes the processor to perform the method shown in FIG.
[0205] The description of the present disclosure has been presented for convenience of illustration and is not intended to be exhaustive or limiting of the present disclosure. Many modifications, variations, and alternative implementations are possible in accordance with the foregoing description. These and the associated drawings will be readily apparent to one skilled in the art having the benefit of the teachings presented therein.
[0206] The embodiments illustrate the principles of the present disclosure, and allow those skilled in the art to understand and base on the disclosure for various implementations. The principles and various modifications are best utilized in various implementations to suit the particular use anticipated. The invention has been chosen and described to facilitate its use. The scope is not limited to the specific examples of the disclosed embodiments, and modifications and other implementations are also encompassed by the scope of the present disclosure. It should be understood that the scope of the present invention is
Claims
1. In the picture head (PH) associated with the image by the encoder, the code Whether the decryption tool is disabled for one or more slices of the PH. determining whether a specified invalidation flag is present; In response to determining that the invalidation flag is not present in the PH, The sequence parameter set (SPS) of the image is obtained by the reader. s) estimating the value of the invalidation flag from one or more validity flags notified to and 1. A method for video encoding and decoding, comprising:
2. by the encoder in response to determining that the value of the invalidation flag is equal to one. disabling the encoding / decoding tool from decoding the one or more slices; by the encoder in response to determining that the value of the invalidation flag is equal to 0. enabling the encoding / decoding tool to decode the one or more slices; The method of claim 1 , comprising:
3. The encoding / decoding tool includes decoder motion vector refinement (DMVR). vector refinement) based inter-biprediction and bidirectional optical flow inter-prediction Prediction-based inter-bidirectional optical flow (BDOF) at least one of the predictions The method of claim 1.
4. The one or more reference image lists include one or more slices associated with the image. the encoder determines that the non-predictive signal is not a prediction, skipping flag parsing, The method of claim 3 further comprising:
5. The invalidation flag indicates whether DMVR-based inter bi-prediction is related to one or more PHs. specifies whether multiple slices are disabled, Disabling the encoding / decoding tool from decoding the one or more slices , the DMVR-based inter bi-prediction is disabled for decoding the one or more slices. This includes: Enabling the encoding / decoding tool to decode the one or more slices , the DMVR-based inter bi-prediction is effective for decoding the one or more slices. including making The method of claim 4.
6. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, The first enable flag in the SPS is equal to 1 and the second enable flag in the SPS is equal to 2. In response to determining that the valid flag is equal to 0, estimate the value of the invalid flag to 0. This includes The first enabling flag in the SPS is the DMVR-based inter bi-prediction is enabled, and if the first enable flag is equal to 1, Specifies that DMVR-based inter bi-prediction is enabled. If equal to 0, Specifying that DMVR-based inter bi-prediction is disabled, The second enable flag in the SPS is set to the value of the previous enable flag in the PH that references the SPS. The invalid flag specifies whether the second valid flag is equal to 0. If so, specify that the invalidation flag is not present in the PH that references the SPS; If it is equal to 1, the invalidation flag may exist in the PH that references the SPS. Specify that The method of claim 5.
7. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, The first enable flag in the SPS is equal to 1 and the second enable flag in the SPS is equal to 2. in response to determining that the valid flag is equal to 1, estimate the value of the invalid flag to 1. To do, In response to determining that the first enable flag in the SPS is equal to 0, estimating the value of the invalidation flag to be 1; The method of claim 6, comprising:
8. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, The first enable flag in the SPS is equal to 0 and the second enable flag in the SPS is equal to 1. in response to determining that the valid flag of is equal to 0, inferring the invalid flag to be 1. And, The first enable flag in the SPS is equal to 1 and the The second validation flag is equal to 1 and the first reference picture list and the second reference picture list are not included in the PH. One or more reference image lists including the reference image list are notified and the second reference image In response to determining that the number of reference images in the list is equal to 0, estimating the value to be 1; The method of claim 6, comprising:
9. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, In response to determining that the first enable flag in the SPS is equal to 0, estimating the value of the invalidation flag to be 1; In response to determining that the second enable flag in the SPS is equal to 1, estimating the value of the invalidation flag to be 1; The method of claim 6, comprising:
10. determining a value of the first enable flag in the SPS as W; The first enabling flag in the SPS is the DMVR-based inter bi-prediction Specifies whether the DMVR-based inter-bidirectional Specifies that prediction is enabled. If set to 0, the DMVR-based inter-bidirectional Specifies that prediction is disabled, In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, In response to determining that a second enable flag in the SPS is equal to 0, estimating the value of the enable flag to be 1-W; The second enable flag in the SPS is set to If the invalidation flag is equal to 0, the SPS is referenced. If the invalid flag is not present in the PH, and is equal to 1, Specifies that the invalidation flag can be present in the PH that references the SPS. The method of claim 5.
11. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, In response to determining that the second enable flag in the SPS is equal to 0, The value of the invalidation flag is assumed to be 1. The method of claim 10, comprising:
12. In response to determining that the second enable flag in the SPS is not equal to 0, The estimation of the value of the invalidation flag as 1 includes: The second enable flag in the SPS is equal to 1 and the first enable flag in the PH is equal to 1. One or more reference image lists including the reference image list and the second reference image list are notified. and in response to determining that the number of reference pictures in the second reference picture list is equal to 0, Therefore, the value of the invalidation flag is estimated to be 1. The method of claim 11 further comprising:
13. In response to determining that the invalidation flag has been notified in the PH, the SPS and estimating a value of the invalidation flag from the one or more validity flags in The method of claim 3.
14. In response to determining that the invalidation flag has been notified in the PH, estimating a value of the invalidation flag from one or more validity flags in Specifies whether the DMVR-based inter bi-prediction is enabled and must be equal to 1. If set to 0, it specifies that the DMVR-based inter bi-prediction is enabled. If so, the SPS specifies that the DMVR-based inter bi-prediction is disabled. determining a value of a first validation flag in the The value of the second enable flag in the SPS is equal to 1 and the value of the second enable flag in the PH is equal to 1 or In response to determining that the plurality of reference image lists have not been notified, Estimating the value of as 1-W; The value of the second enable flag in the SPS is equal to 1 and the value of the second enable flag in the PH is equal to 1 or is a list of reference images notified and the number of reference images in the reference image list 1 is 0. in response to determining that the value of the invalidation flag is greater than 1−W, 、 Including, The second enable flag in the SPS is disabled in the PH that references the SPS. Specifies whether a flag exists, and if it is equal to 0, the PH that references the SPS If the invalidation flag is not present, and is equal to 1, Specifies that the invalid flag exists in the referenced PH. The method of claim 13.
15. In response to determining that the invalidation flag has been notified in the PH, estimating a value of the invalidation flag from one or more validity flags in A first valid flag in the SPS is set equal to 1 and a second valid flag in the SPS is set equal to 1. The enable flag is equal to 1 and one or more reference picture lists are signaled in the PH. In response to determining that the invalidation flag is not valid, the value of the invalidation flag is explicitly transmitted in the PH. estimating the value of the invalidation flag that has been notified; The value of the first enable flag in the SPS is equal to 1 and The value of the second validation flag is equal to 1 and one or more reference images are included in the PH. When the list is notified and it is determined that the number of reference images in the reference image list 1 is greater than 0, In response to the setting, the value of the invalidation flag is set to the invalidation flag explicitly notified in the PH. the value of the flag; Including, The first enabling flag in the SPS is the DMVR-based inter bi-prediction Specifies whether the DMVR-based inter-bidirectional Specifies that prediction is enabled. If set to 0, the DMVR-based inter-bidirectional Specifies that prediction is disabled, The second enable flag in the SPS is set to If the invalidation flag is equal to 0, the SPS is referenced. If the invalid flag is not present in the PH, and is equal to 1, Specifying the presence of the invalidation flag in the PH that references the SPS; The method of claim 13.
16. The invalidation flag is set to one of the BDOF-based inter bi-prediction related to the PH. or multiple slices, Disabling the encoding / decoding tool from decoding the one or more slices , the BDOF-based inter bi-prediction is disabled for decoding the one or more slices. This includes: Enabling the encoding / decoding tool to decode the one or more slices , the BDOF-based inter bi-prediction is effective for decoding the one or more slices. including making The method of claim 4.
17. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, The third valid flag in the SPS is equal to 1 and the fourth valid flag in the SPS is equal to 2. In response to determining that the invalidation flag is equal to 0, infer a value of the invalidation flag to be 0. Including, The third enabling flag in the SPS is Specifies whether the BDOF-based inter-bibliographic Specifies that prediction is enabled. If set to 0, the BDOF-based inter-bidirectional Specifies that prediction is disabled, The fourth enable flag in the SPS is set to If the invalidation flag is equal to 0, the SPS is referenced. If the invalid flag is not present in the PH, and is equal to 1, Specifying that the invalidation flag is present in the PH that references the SPS; 17. The method of claim 16.
18. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, The third enable flag in the SPS is equal to 1 and the In response to determining that the fourth valid flag is equal to 1, setting the value of the invalid flag to 1. To estimate and In response to determining that the third enable flag in the SPS is equal to 0, estimating the value of the invalidation flag to be 1; 18. The method of claim 17, comprising:
19. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, The third enable flag in the SPS is equal to 0 and the In response to determining that the fourth valid flag is equal to 0, inferring the invalid flag as 1. To do, The third enable flag in the SPS is equal to 1 and the The fourth validation flag is equal to 1 and the first reference picture list and the second reference picture list are not included in the PH. One or more reference image lists including the reference image list are notified and the second reference image In response to determining that the number of reference images in the list is equal to 0, estimating the value to be 1; 18. The method of claim 17, comprising:
20. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, In response to determining that the third enable flag in the SPS is equal to 0, estimating the value of the invalidation flag to be 1; In response to determining that the fourth enable flag in the SPS is equal to 1, estimating the value of the invalidation flag to be 1; 18. The method of claim 17, comprising:
21. determining a value of a third validation flag in the SPS as V; A third enabling flag in the SPS indicates that the BDOF-based inter bi-prediction is enabled. If the value is equal to 1, the BDOF-based inter bi-prediction is enabled. is enabled, and if it is equal to 0, the BDOF-based inter bi-prediction Specifies that is to be disabled, The invalidation flag is determined from one or more validity flags notified in the SPS of the image. To estimate the value of the flag, In response to determining that a fourth enable flag in the SPS is equal to 0, estimating the value of the enable flag to be 1-V; The fourth enable flag in the SPS is set to the value of the previous enable flag in the PH that references the SPS. Specifies whether the invalidation flag exists, and if it is equal to 0, the SPS is referenced. If the invalidation flag is not present in the PH and is equal to 1, the SP Specifying the presence of the invalidation flag in the PH that references S.
17. The method of claim 16.
22. In response to determining that the analysis of the invalidation flag is skipped, and estimating the value of the invalidation flag from one or more validity flags notified in the teeth, In response to determining that the fourth enable flag in the SPS is not equal to 0, , estimating the value of the invalidation flag to be 1; 22. The method of claim 21, comprising:
23. In response to determining that the fourth enable flag in the SPS is not equal to 0, The estimation of the value of the invalidation flag as 1 includes: The fourth enable flag in the SPS is equal to 1 and the first enable flag in the PH is equal to 1. One or more reference image lists including the reference image list and the second reference image list are communicated. and determining that the number of reference images in the second reference image list is equal to 0. In response to the above, the value of the invalidation flag is estimated to be 1; 23. The method of claim 22, comprising:
24. determining a value of a third validation flag in the SPS as V; The third enable flag in the SPS is Specifies whether inter bi-prediction based on frame-of-frame (BDOF) is enabled and is equal to 1. If it is greater than 0, it specifies that the BDOF-based inter bi-prediction is enabled. If the BDOF-based inter bi-prediction is disabled, In response to determining that the invalidation flag has been notified in the PH, estimating a value of the invalidation flag from one or more validity flags in The value of the fourth enable flag in the SPS is equal to 1 and the value of the fourth enable flag in the PH is equal to 1 or In response to determining that the plurality of reference image lists have not been notified, Estimating the value of 1-V; The value of the fourth enable flag in the SPS is equal to 1 and the value of the fourth enable flag in the PH is equal to 1. One or more reference picture lists are notified and the number of reference pictures in reference picture list 1 is 0. estimating a value of the invalidation flag to be 1−V in response to determining that the value is greater than 、 Including, The fourth enable flag in the SPS is set to the value of the previous enable flag in the PH that references the SPS. Specifies whether the invalidation flag exists, and if it is equal to 0, the SPS is referenced. If the invalidation flag is not present in the PH and is equal to 1, the SP Specifying the presence of the invalidation flag in the PH that references S. The method of claim 13.
25. A third enable flag in the SPS is equal to 1 and a fourth enable flag is equal to 1. and one or more reference image lists have not been notified in the PH. In response to this, the value of the invalidation flag is changed to the invalidation flag explicitly notified in the PH. and estimating the value of The value of the third enable flag in the SPS is equal to 1 and The value of the fourth validation flag is equal to 1 and one or more reference images are included in the PH. When the list is notified and it is determined that the number of reference images in the reference image list 1 is greater than 0, In response to the setting, the value of the invalidation flag is set to the invalidation flag explicitly notified in the PH. the value of the flag; Further comprising: The third enable flag in the SPS is a bidirectional optical flow inter-prediction flag. Specifies whether BDOF-based inter bi-prediction is enabled and must be equal to 1. If set to 0, it specifies that the BDOF-based inter bi-prediction is enabled. specifies that the BDOF-based inter bi-prediction is disabled if The fourth enable flag in the SPS is set to If the invalidation flag is equal to 0, the SPS is referenced. If the invalidation flag is not present in the PH and is equal to 1, Specifying the presence of the invalidation flag in the PH that references the SPS. The method of claim 13.
26. In the picture head (PH) associated with the picture by the encoder, the temporal motion vector The image used for prediction (TMVP: temporal motion vector prediction) is Specifies whether the image is derived from one of several related reference image lists. determining whether a flag exists; In response to determining that the flag is not present in the PH, the encoder Therefore, the value of the flag is estimated from the number of reference images in the reference image list.
1. A method for video encoding and decoding, comprising:
27. The one or more reference image lists include one or more slices associated with the image. In response to determining that the signal is not a prediction, the encoder skip parsing the 27. The method of claim 26, comprising:
28. The plurality of reference image lists includes a first reference image list and a second reference image list. 、 If the flag is equal to 1, the image used for TMVP is the first reference image. If equal to 0, the image is derived from the image list. is derived from the second reference image list, In response to determining that the analysis of the flag is to be skipped, estimating the value of the flag from the number of reference images to be In response to determining that the number of reference images in the first reference image list is greater than one, and estimating the value of the flag to be 1; In response to determining that the number of reference images in the second reference image list is greater than one, and estimating that the value of the flag is 0; 28. The method of claim 27, comprising:
29. In the image head (PH) associated with the image by an encoder, the image parameters of said image are First weighted prediction (WP) in picture parameter sets (PPS) The weighted prediction flag and the second WP flag in the PH of the image are used to calculate the reference image. A flag in the WP syntax associated with the image that specifies the number of weights reported in the image list. determining whether there exists a In response to determining that the flag is not present in the PH, the encoder Thus, a reference in a reference image list from a plurality of reference image lists associated with said image. estimating the value of the flag from the number of images; 1. A method for video encoding and decoding, comprising:
30. The list of reference images may include a list of reference images in which one or more slices associated with the image are bi-predicted. In response to determining that the signal indicates that the signal is not being measured, the encoder Skip parsing, 30. The method of claim 29, comprising:
31. The plurality of reference image lists includes a first reference image list and a second reference image list. 、 The flag is set when the first WP flag in the PPS is equal to 1 and the PH is set to In response to determining that the second WP flag in the second reference image is equal to 1, Specify the number of weights to be advertised in the list, 30. The method of claim 29.
32. The plurality of reference image lists includes a first reference image list and a second reference image list. 、 In response to determining that analysis of the flag is skipped, a reference image associated with the image is estimating the value of the flag from the number of reference images in the image list; The first WP flag in the PPS is equal to 0 and the second WP flag in the PH is equal to 1. The WP flag of the second reference picture list is equal to 1 and the number of reference pictures in the second reference picture list is equal to 0. in response to determining that the value of the flag is correct, estimating that the value of the flag is 0; The first WP flag in the PPS is not equal to 0 and the In response to determining that the second WP lag is equal to 1, the value of the flag is set to 1 in the PH. the value of the flag explicitly signaled by the The value of the first flag in the PPS is not equal to 0 and the value of the first flag in the PH is In response to determining that the second WP flag is not equal to 1, the value of the flag is set to the second The value of NumRefIdxActive[1] specifies the maximum reference index for the reference image list. and 31. The method of claim 30, comprising:
33. In response to determining that the first WP flag in the PPS is equal to 0, determining the value of the flag to be 0; The first WP flag in the PPS is not equal to 0 and the In response to determining that the second WP flag is equal to 1, the value of the flag is set to the PH. determining the value of flags explicitly signaled in The first WP flag in the PPS is not equal to 0 and the In response to determining that the second WP flag is not equal to 1, the value of the flag is set to a second reference WP flag. The value of NumRefIdxActive[ 1 ] specifies the maximum reference index for the reference image list. By determining that: In response to determining that the value of the flag exists in the PH, determine the value of the flag. further including determining The plurality of reference image lists includes a first reference image list and a second reference image list. include, 30. The method of claim 29.
34. The encoder may enable one or more temporal motion vector predictions using an enable flag. The child is an interface for one or more slices associated with the image head (PH) of the image. Specify whether it will be used for prediction, and The encoder applies multiple scaling factors to the image size to calculate the scaling factor. constraining the value of the enable flag from a numerical offset; 1. A method for video encoding and decoding, comprising:
35. One or more inter-slice In response to determining that there is no common reference image among the devices, the valid flag is set to 0. To set 35. The method of claim 34, further comprising:
36. One or more non-intra slices including the one or more slices associated with the PH In response to determining that there is no common reference image among the rices, the valid flag is set to Set to 0, 35. The method of claim 34, further comprising:
37. one or more processors; configured to store instructions executable by the one or more processors a memory, When the one or more processors execute the instructions, the one or more processors perform the steps of any one of claims 1 to 25. Executing the method according to any one of claims 1 to 4, An apparatus for video encoding and decoding, configured to:
38. one or more processors; configured to store instructions executable by the one or more processors a memory, When the one or more processors execute the instructions, the one or more processors perform the method according to any one of claims 26 to 28. performing the method according to any one of claims 1 to 4; An apparatus for video encoding and decoding, configured to:
39. one or more processors; configured to store instructions executable by the one or more processors a memory, When the one or more processors execute the instructions, the one or more processors perform the method according to any one of claims 29 to 33. performing the method according to any one of claims 1 to 4; An apparatus for video encoding and decoding, configured to:
40. one or more processors; configured to store instructions executable by the one or more processors a memory, When the one or more processors execute the instructions, the one or more processors perform the method according to any one of claims 34 to 36. performing the method according to any one of claims 1 to 4; An apparatus for video encoding and decoding, configured to:
41. A non-transitory computer for video encoding and decoding storing computer readable instructions. A computer-readable storage medium, comprising: The computer-readable instructions are executed by one or more processors. and the one or more processors: A video encoding / decoding device for carrying out the method according to any one of claims 1 to 25. A non-transitory computer-readable storage medium.
42. A non-transitory computer for video encoding and decoding storing computer readable instructions. A computer-readable storage medium, comprising: The computer-readable instructions are executed by one or more processors. and the one or more processors: A video encoding / decoding device for performing the method according to any one of claims 26 to 28. Non-transitory computer-readable storage medium for
43. A non-transitory computer for video encoding and decoding storing computer readable instructions. A computer-readable storage medium, comprising: The computer-readable instructions are executed by one or more processors. and the one or more processors: A video encoding / decoding device for performing the method according to any one of claims 29 to 33. Non-transitory computer-readable storage medium for
44. A non-transitory computer for video encoding and decoding storing computer readable instructions. A computer-readable storage medium, comprising: The computer-readable instructions are executed by one or more processors. and the one or more processors: A video encoding / decoding device for performing the method according to any one of claims 34 to 36. Non-transitory computer-readable storage medium for