Signaling for reference picture resampling

By introducing Adaptive Resolution Conversion (ARC) technology, the problem that existing video codec standards cannot dynamically adjust resolution has been solved, enabling seamless resolution adaptation and fast representation switching when network conditions change, thereby improving video quality and user experience.

CN113875246BActive Publication Date: 2024-09-10DOUYIN VISION CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080035774.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-05-12
Filing Date
2020-05-12
Publication Date
2024-09-10
Estimated Expiration
2040-05-12

AI Technical Summary

Technical Problem

Existing video codec standards such as HEVC cannot effectively change resolution without introducing IDR or intra-frame random access point (IRAP) images, resulting in decreased video quality and increased latency when network conditions change, and failing to meet the adaptive resolution requirements of video telephony, multi-party video conferencing and streaming.

Method used

The technology of adaptive resolution conversion (ARC) is introduced. By signaling the adaptive resolution conversion process in the bitstream representation, video segments can be encoded and decoded at different resolutions. The resolution is dynamically adjusted by resampling the reference image, which supports seamless switching of open GOP prediction structure and mixed resolution representation.

Benefits of technology

It achieves seamless resolution adaptation of video encoding and decoding when network conditions change, reduces latency, improves video quality, supports speaker resolution adjustment in multi-party video conferences and fast startup and switching in streaming, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113875246B_ABST
    Figure CN113875246B_ABST
Patent Text Reader

Abstract

Apparatus, systems and methods for digital video encoding and decoding including reference picture resampling are described. An example method of video processing includes: performing conversion between a video including one or more video segments and a bitstream representation of the video, the video segment including one or more video units, wherein the bitstream representation conforms to format rules and includes information related to an adaptive resolution conversion (ARC) process, wherein the format rules specify applicability of the ARC process to the video segments, wherein an indication that the one or more video units of the video segments are encoded and decoded at different resolutions is included in the bitstream representation in a syntax structure different from a header syntax structure, a decoder parameter set, a video parameter set, a picture parameter set (PPS), a sequence parameter set, and an adaptation parameter set.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is a Chinese national phase application of International Patent Application No. PCT / CN2020 / 089740 filed on May 12, 2020, and this application timely claims priority and benefits of International Patent Application No. PCT / CN2019 / 086513 filed on May 12, 2019. The entire disclosure of the above application is incorporated by reference as part of the disclosure of this application. Technical Field

[0003] This patent document relates to video coding and decoding technology, equipment and systems. Background Art

[0004] Despite advances in video compression, digital video still accounts for the largest use of bandwidth on the Internet and other digital communications networks. As the number of connected user devices capable of receiving and displaying video increases, the bandwidth required for digital video usage is expected to continue to grow. Summary of the invention

[0005] Devices, systems and methods related to digital video coding are described, and in particular, reference picture resampling for video coding is described. The described methods can be applied to existing video coding standards (e.g., High Efficiency Video Codec (HEVC)) and future video coding standards or video codecs.

[0006] In one representative aspect, the disclosed technology can be used to provide a method of video processing. The method includes: performing conversion between a video including one or more video segments and a bitstream representation of the video, the video segment including one or more video units, wherein the bitstream representation conforms to a format rule and includes information related to an adaptive resolution conversion (ARC) process, wherein the format rule specifies the applicability of the ARC process to the video segment, wherein an indication that the one or more video units of the video segment are encoded and decoded at different resolutions is included in the bitstream representation in a syntax structure different from a header syntax structure, a decoder parameter set (DPS), a video parameter set (VPS), a picture parameter set (PPS), a sequence parameter set (SPS), and an adaptation parameter set (APS).

[0007] In another representative aspect, the disclosed technology can be used to provide a method for video processing. The method includes: performing conversion between a video including one or more video segments and a bitstream representation of the video, wherein the one or more video segments include one or more video units, wherein the bitstream representation conforms to format rules and includes information related to adaptive resolution conversion (ARC) processing, and signaling in the bitstream representation the dimensions of the one or more video units encoded and decoded with K-order exponential Golomb codes, and K is a positive integer, wherein the format rules specify the applicability of the ARC processing to the video segments, and including in the bitstream representation an indication of encoding and decoding the one or more video units of the video segments at different resolutions in a grammatical structure.

[0008] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing. The method includes: performing conversion between a video including one or more video segments and a bitstream representation of the video, the video segment including one or more video units, wherein the bitstream representation conforms to a format rule and includes information related to adaptive resolution conversion (ARC) processing, wherein a height (H) and a width (W) are signaled in the bitstream representation, wherein H and W are positive integers and are subject to constraints, wherein the format rule specifies the applicability of the adaptive resolution conversion (ARC) processing to the video segment, and wherein an indication of encoding and decoding the one or more video units of the video segment at different resolutions is included in the bitstream representation in a grammatical structure.

[0009] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing, the method comprising: determining (a) that a first reference picture of a first temporal neighboring block of a current video block of a video has a resolution that is the same as a resolution of a current picture including the current video block, and (b) that a second reference picture of a second temporal neighboring block of the current video block has a resolution that is different from a resolution of the current picture, and performing conversion between a bitstream representation of the current video block and the video by disabling motion information of the second temporal neighboring block in prediction of the first temporal neighboring block due to the determination.

[0010] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing, the method comprising: determining that (a) a first reference picture of a first temporal neighboring block of a current video block of the video has a resolution different from a resolution of a current picture including the current video block, and (b) a second reference picture of a second temporal neighboring block of the current video block has a resolution the same as a resolution of the current picture, and performing conversion between the current video block and a bitstream representation of the video by disabling motion information of the second temporal neighboring block in prediction of the first temporal neighboring block due to the determination.

[0011] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing. The method includes: for a current video block of a video, determining that a resolution of a reference picture including a video block associated with the current video block is different from a resolution of a current picture including the current video block, and due to the determination, performing a conversion between the current video block and a bitstream representation of the video by disabling prediction processing based on the video block in the reference picture.

[0012] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing, the method comprising: making a decision based on at least one dimension of a picture as to whether the picture is allowed to be used as a collocated reference picture for a current video block of a current picture; and based on the decision, performing a conversion between the current video block of the video and a bitstream representation of the video.

[0013] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing. The method includes: based on a determination that dimensions of a collocated reference picture including the collocated block are the same as dimensions of a current picture including the current video block, identifying a collocated block for prediction of a current video block of a video, and performing conversion between the current video block and a bitstream representation of the video using the collocated block.

[0014] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing. The method includes: for a current video block of a video, determining that a reference picture associated with the current video block has a resolution different from a resolution of a current picture including the current video block, and as part of a conversion between the current video block and a bitstream representation of the video, performing an upsampling operation or a downsampling operation on one or more reference samples of the reference picture and motion information of the current video block or codec information of the current video block.

[0015] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing. The method includes: for a conversion between a current video block of a video and a bitstream representation of the video, determining that a height or a width of a current picture including the current video block is different from a height or a width of a collocated reference picture associated with the current video block, and based on the determination, performing an upsampling operation or a downsampling operation on a buffer storing one or more motion vectors for the collocated reference picture.

[0016] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing, the method comprising: deriving information for an optional temporal motion vector prediction (ATMVP) process applied to a current video block based on dimensions of a current picture including a current video block of the video and dimensions of a collocated picture associated with the current video block, and performing conversion between the current video block and a bitstream representation of the video using the temporal motion vector.

[0017] In yet another representative aspect, the disclosed technology can be used to provide a method for video processing. The method includes: configuring a bitstream representation of the video to apply an adaptive resolution conversion (ARC) process to a current video block of the video, wherein information related to the ARC process is signaled in the bitstream representation, including that a current picture of the current video block has a first resolution, and wherein the ARC process includes resampling a portion of the current video block at a second resolution different from the first resolution, and based on the configuration, performing a conversion between the current video block and the bitstream representation of the current video block.

[0018] In yet another representative aspect, the above method is embodied in the form of processor executable code and stored in a computer readable program medium.

[0019] In yet another representative aspect, a device configured or operable to perform the above method is disclosed. The device may include a processor programmed to implement the method.

[0020] In yet another representative aspect, a video decoder device may implement a method as described herein.

[0021] The above and other aspects and features of the disclosed technology are described in more detail in the drawings, the description and the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 An example of adaptive streaming of two representations of the same content encoded at different resolutions is shown.

[0023] Figure 2 Another example of adaptive streaming of two representations of the same content encoded at different resolutions is shown, where the segments use either a closed Group of Picture (GOP) or an open GOP prediction structure.

[0024] Figure 3 Examples of open GOP prediction structures for two representations are shown.

[0025] Figure 4 An example of a representation switched at an open GOP position is shown.

[0026] Figure 5 An example of decoding a Random Access Skipped Leading (RASL) picture using a resampled reference picture from another bitstream as a reference is shown.

[0027] Figures 6A-6C An example of partitioned mixed resolution (RWMR) viewpoint-dependent 360 streaming based on motion constrained tile sets (MCTS) is shown.

[0028] Figure 7 Examples of collocated sub-picture representations of different intra random access point (IRAP) spacings and different sizes are shown.

[0029] Figure 8 An example of a segment received when a change in viewing orientation results in a change in resolution at the beginning of the segment is shown.

[0030] Fig. 9 An example of a change in viewing orientation is shown.

[0031] Fig.10 Examples of sub-picture representations for two sub-picture positions are shown.

[0032] Fig.11 An example of encoder modification for Adaptive Resolution Conversion (ARC) is shown.

[0033] Fig.12 An example of decoder modification for ARC is shown.

[0034] Fig.13 An example of slice group based resampling for ARC is shown.

[0035] Fig.14 An example of ARC processing is shown.

[0036] Fig.15 An example of optional temporal motion vector prediction (ATMVP) for a codec unit is shown.

[0037] Fig.16A and Fig. 16B An example of a simplified affine motion model is shown.

[0038] Fig.17 An example of an affine motion vector field (MVF) for each sub-block is shown.

[0039] Fig.18A and Fig.18B Examples of a 4-parameter affine model and a 6-parameter affine model are shown respectively.

[0040] Fig.19 An example of motion vector prediction (MVP) of AF_INTER for inherited affine candidates is shown.

[0041] Fig. 20 An example of MVP of AF_INTER for the constructed affine candidate is shown.

[0042] Fig.21A and 21B An example of a candidate for AF_MERGE is shown.

[0043] Fig. 22 An example of candidate positions for the affine merge mode is shown.

[0044] Fig.23 An example of deriving TMVP / ATMVP using ARC is shown.

[0045] Figures 24A-24J A flow chart of an example method for video processing is shown.

[0046] Fig.25 is a block diagram of an example of a hardware platform for implementing the visual media decoding or visual media encoding techniques described in this document.

[0047] Fig.26 is a block diagram of an example video processing system in which the disclosed techniques may be implemented. DETAILED DESCRIPTION

[0048] Embodiments of the disclosed technology can be applied to existing video codec standards (e.g., HEVC, H.265) and future standards to improve compression performance. Section headings are used in this document to improve the readability of the description and do not in any way limit the discussion or embodiments (and / or implementations) to only the corresponding section.

[0049] 1. Video Codec Introduction

[0050] Due to the increasing demand for higher resolution video, video coding methods and techniques are ubiquitous in modern technology. Video codecs generally include electronic circuits or software that compress or decompress digital video, and are constantly improved to provide higher coding efficiency. Video codecs convert uncompressed video to a compressed format and vice versa. There is a complex relationship between video quality, the amount of data used to represent the video (determined by the bit rate), the complexity of the encoding and decoding algorithms, sensitivity to data loss and errors, ease of editing, random access, and end-to-end delay (latency). The compression format generally conforms to a standard video compression specification, such as the High Efficiency Video Codec (HEVC) standard (also known as H.265 or MPEG-H Part 2), the pending versatile video codec standard, or other current and / or future video codec standards.

[0051] Video codec standards have evolved primarily through the development of the well-known ITU-T and ISO / IEC standards. ITU-T produced H.261 and H.263, ISO / IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations worked together to produce the H.262 / MPEG-2 Video and H.264 / MPEG-4 Enhanced Video Codec (AVC) and H.265 / HEVC standards. Starting with H.262, video codec standards are based on a hybrid video codec structure that utilizes temporal prediction and transform codecs. In order to explore future video codec technologies beyond HEVC, VCEG and MPEG jointly established the Joint Video Exploration Team (JVET) in 2015. Since then, JVET has adopted many new methods and introduced them into a reference software called the "Joint Exploration Model" (JEM). In April 2018, the Joint Video Experts Team (JVET) between VCEG (Q6 / 16) and ISO / IEC JTC1SC29 / WG11 (MPEG) was established to work on the Versatile Video Codec (VVC) standard with the goal of reducing bitrate by 50% compared to HEVC.

[0052] AVC and HEVC do not have the ability to change resolution without having to introduce IDR or intra-frame random access point (IRAP) pictures; this capability can be called adaptive resolution change (ARC). There are some use cases or application scenarios that can benefit from the ARC feature, including:

[0053] - Rate Adaptation in Video Telephony and Conferencing: To adapt the codec video to changing network conditions, when network conditions get worse and available bandwidth becomes lower, the encoder can adapt by encoding a smaller resolution picture. Currently, picture resolution can only be changed after an IRAP picture; this has several problems. An IRAP picture of reasonable quality will be much larger than an inter-codec picture and will be correspondingly more complex to decode: this wastes time and resources. This is problematic if the decoder requests a resolution change for load reasons. It can also break low-latency buffer conditions, forcing the audio to resynchronize and the end-to-end latency of the stream will increase, at least temporarily. This can result in a poor experience for the user.

[0054] -Changes in active speakers in multi-party video conferences: For multi-party video conferences, the active speaker is usually displayed at a larger video size than the videos of other conference participants. When the active speaker changes, the picture resolution of each participant may also need to be adjusted. When such changes occur frequently in the active speakers, the need for ARC becomes particularly important.

[0055] - Fast start in streaming: For streaming applications, typically the application will buffer up to a certain length of decoded pictures before starting display. Starting the bitstream at a smaller resolution will allow the application to have enough pictures in the buffer to start displaying faster.

[0056] Adaptive stream switching in streaming: The Dynamic Adaptive Streaming over HTTP (DASH) specification includes a feature called @mediaStreamStructureId. This enables switching between different representations at open GOP random access points with non-decodable leading pictures (e.g., CRA pictures with associated RASL pictures in HEVC). When two different representations of the same video have different bitrates but the same spatial resolution, and they have the same @mediaStreamStructureId value, switching between the two representations can be performed on CRA pictures with associated RASL pictures, and the RASL pictures associated with the CRA pictures at the switch can be decoded with acceptable quality, thus achieving seamless switching. Using ARC, the @mediaStreamStructureId feature can also be used to switch between DASH representations with different spatial resolutions.

[0057] ARC is also known as Dynamic Resolution Switching.

[0058] ARC can also be viewed as a special case of Reference Picture Resampling (RPR), such as H.263 Annex P.

[0059] 1.1 Reference picture resampling in H.263 Annex P

[0060] This mode describes an algorithm that warps a reference picture before it is used for prediction. It may be useful for resampling reference pictures that have a different source format than the picture being predicted. By warping the shape, size, and position of the reference picture, it can also be used for global motion estimation or rotational motion estimation. The syntax includes the warping parameters to be used as well as the resampling algorithm. The simplest level of operation of the reference picture resampling mode is an implicit factor of 4 resampling, since only FIR filters are needed for the upsampling and downsampling processes. In this case, when the size of the new picture (indicated in the picture header) is different from the size of the previous picture, no additional signaling overhead is required since its usage is understood.

[0061] 1.2 ARC’s Contribution to VVC

[0062] 1.2.1 JVET-M0135

[0063] Just to stimulate discussion, the preliminary design of ARC described below (some parts of which are taken from JCTVC-F158) is proposed as a place holder.

[0064] 1.2.1.1 Description of basic tools

[0065] The basic tool constraints to support ARC are as follows:

[0066] The spatial resolution for both dimensions may differ from the nominal resolution by a factor of 0.5. The spatial resolution may be increased or decreased, resulting in scaling ratios of 0.5 and 2.0.

[0067] The aspect ratio and chroma format of the video format have not changed.

[0068] The cropped area is scaled proportionally to the spatial resolution.

[0069] The reference pictures are simply rescaled as needed, and inter prediction is applied as usual.

[0070] 1.2.1.2 Zoom Operation

[0071] It is proposed to use simple, zero-phase separable down-scaling and up-scaling filters. Note that these filters are only used for prediction; the decoder can use more complex scaling for output purposes.

[0072] The following 1:2 reduction filter with zero phase and 5 taps was used:

[0073] (-1, 9, 16, 9, -1) / 32

[0074] The downsampling points are at even sampling positions and are in the same position. The same filter is used for luma and chroma.

[0075] For 2:1 upsampling, additional samples are generated at odd grid positions using the half-pixel motion compensated interpolation filter coefficients in the latest VVC WD.

[0076] The combined upsampling and downsampling will not change the phase or the positions of the chroma sampling points.

[0077] 1.2.1.3 Resolution Description in Parameter Set

[0078] The signaling of picture resolution in SPS is changed as follows, with deletions marked with double brackets in the following description and the rest of this document (e.g., [[a]] indicates the deletion of the character "a").

[0079] Sequence Parameter Set RBSP Syntax and Semantics

[0080]

[0081] [[pic_width_in_luma_samples specifies the width of each decoded picture in units of luma samples. pic_width_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

[0082] pic_height_in_luma_samples specifies the height of each decoded picture in units of luma samples. pic_height_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY. ]]

[0083] num_pic_size_in_luma_samples_minus1 plus 1 specifies the number of picture sizes (width and height) in luma samples that may be present in the coded video sequence.

[0084] pic_width_in_luma_samples[i] specifies the i-th width of the decoded picture in luma samples that may be present in the coded video sequence.

[0085] pic_width_in_luma_samples[i] shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

[0086] pic_height_in_luma_samples[i] specifies the i-th height of the decoded picture in luma samples that may be present in the coded video sequence.

[0087] pic_height_in_luma_samples[i] shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

[0088] Picture Parameter Set RBSP Syntax and Semantics

[0089]

[0090] pic_size_idx specifies the index of the i-th picture size in the sequence parameter set. The width of the picture referenced by the picture parameter set is in luma samples as pic_width_in_luma_samples[pic_size_idx]. Similarly, the height of the picture referenced by the picture parameter set is in luma samples as pic_height_in_luma_samples[pic_size_idx].

[0091] 1.2.2 JVET-M0259

[0092] 1.2.2.1 Background: Sub-image

[0093] In the Omnidirectional Media Format (OMAF), the term sub-picture track is defined as follows: a track that has a spatial relationship with other tracks and represents a spatial subset of the original video content (which is divided into spatial subsets before video encoding on the content generation side). The HEVC sub-picture track can be constructed by rewriting the parameter set and slice segment header of the motion-constrained slice set to make it an independent HEVC bitstream. A sub-picture representation can be defined as a DASH representation that carries the sub-picture track.

[0094] JVET-M0261 uses the term sub-picture as the spatial segmentation unit of VVC, which is summarized as follows:

[0095] 1. Pictures are divided into sub-pictures, slice groups and slices.

[0096] 2. A sub-picture is a set of rectangular tile groups starting with a tile group with tile_group_address equal to 0.

[0097] 3. Each sub-picture can reference its own PPS and thus can have its own slice partitioning.

[0098] 4. In the decoding process, the sub-picture is regarded as a picture.

[0099] 5. The reference picture used for decoding the sub-picture is generated by extracting the region collocated with the current sub-picture from the reference picture in the decoded picture buffer. The extracted region should be the decoded sub-picture, that is, inter-frame prediction occurs between sub-pictures of the same size and the same position in the picture.

[0100] 6. A slice group is a sequence of slices in a slice raster scan of a sub-picture.

[0101] In this contribution, we refer to the term subpicture as defined in JVET-M0261. However, the track encapsulating a sequence of subpictures defined in JVET-M0261 has very similar properties to the subpicture track defined in OMAF, and the examples given below apply in both cases.

[0102] 1.2.2.2 Use Cases

[0103] 1.2.2.2.1 Adaptive resolution changes during streaming

[0104] Requirements for supporting adaptive streaming

[0105] Section 5.13 of MPEG N17074 ("Support for Adaptive Streaming") includes the following requirements for VVC:

[0106] In the case where an adaptive streaming service provides multiple representations of the same content, each with different properties (e.g. spatial resolution or sampling bit depth), the standard should support fast representation switching. The standard should allow the use of efficient prediction structures (e.g. so-called open group of pictures) without compromising the ability to quickly and seamlessly switch between representations of different properties (such as different spatial resolution).

[0107] Example of an open GOP prediction structure using representation switching

[0108] Content generation for adaptive bitrate streaming consists of the generation of different representations, which can have different spatial resolutions. The client requests segments from the representation and can therefore decide at which resolution and bitrate to receive the content. On the client side, segments from different representations are concatenated, decoded, and played. The client should be able to achieve seamless playback with one decoder instance. Figure 1 As shown, a closed GOP structure (starting with an IDR picture) is usually used.

[0109] The open GOP prediction structure (starting with a CRA picture) has better compression performance than the respective closed GOP prediction structure. For example, in the case of an IRAP picture interval of 24 pictures, the average bit rate is reduced by 5.6% in terms of the luma Bjontegaard delta bit rate.

[0110] The open GOP prediction structure is also reported to reduce subjectively visible quality pumping.

[0111] The challenge of using open GOP in streaming is that after switching representations, the RASL pictures cannot be decoded with the correct reference pictures. We will discuss this below with respect to Figure 2 The challenge is described in terms of .

[0112] A segment starting with a CRA picture includes RASL pictures for which at least one reference picture is located in the previous segment. Figure 3 As shown in , picture 0 in both bitstreams is located in the previous segment and is used as a reference for predicting the RASL picture.

[0113] exist Figure 2 The dotted rectangle marked in the figure shows the switch. Figure 4 As can be seen, the reference picture ("Picture 0") used for the RASL picture is not decoded. Therefore, the RASL picture cannot be decoded and there will be gaps in the video playback.

[0114] However, as described in embodiments of the present invention, it has been found to be subjectively acceptable to decode RASL pictures using resampled reference pictures. Figure 5 The resampling of "Picture 0" is shown in and used as a reference picture for decoding RASL pictures.

[0115] 1.2.2.2.2 Viewport Changes in Region-wise Mixed Resolution (RWMR) 360° Video Streaming

[0116] Background: HEVC-based RWMR streaming

[0117] RWMR 360° streaming provides increased effective spatial resolution over the viewport. The scheme where the slices covering the viewport are derived from 6K (6144×3072) ERP pictures or equivalent CMP resolution is shown in Figure 6, where "4K" decoding capability (HEVC Level 5.1) is included in Sections D.6.3 and D.6.4 of OMAF and is also adopted in the VR Industry Forum Guidelines. Such resolution is claimed to be suitable for head-mounted displays using quad-HD (2560×1440) display panels.

[0118] coding : The content is encoded at two spatial resolutions with cubic dimensions of 1536 × 1536 and 768 × 768. In both bitstreams, a 6 × 4 slice grid is used and a motion constrained slice set (MCTS) is coded for each slice position.

[0119] Encapsulation : Each MCTS sequence is encapsulated as a sub-picture track and can be used as a sub-picture representation in DASH.

[0120] Selection of Stream MCTS : 12 MCTS are selected from the high-resolution bitstream, and the complementary 12 MCTS are extracted from the low-resolution bitstream. Therefore, a hemisphere (180°×180°) of the stream content is derived from the high-resolution bitstream.

[0121] Incorporate MCTS into the bitstream to be decoded : Merge the received MCTS of a single time instance into a 1920 × 4608 codec picture that complies with HEVC level 5.1. Another option for merging a picture is to have four slice columns with a width of 768, two slice columns with a width of 384, and three slice rows with a height of 768 luma samples, resulting in a picture of 3840 × 2304 luma samples.

[0122] Background: Several representations of different IRAP intervals for viewport-dependent 360° streaming

[0123] When the viewing orientation changes in HEVC-based viewport-dependent 360° streaming, a new selection of sub-picture representations can take effect at the next IRAP-aligned segment boundary. Sub-picture representations are merged into coded pictures for decoding, so the VCL NAL unit types are aligned in all selected sub-picture representations.

[0124] To provide a trade-off between response time to react to changes in viewing orientation and rate-distortion performance when the viewing orientation is stable, multiple versions of the content can be encoded at different IRAP intervals. Figure 7 A set of collocated sub-picture representations for encoding presented in FIG. 6 is shown in FIG.

[0125] Figure 8 An example is shown in which a sub-picture position is first selected to be received at a lower resolution (384×384). A change in viewing orientation results in a newly selected sub-picture position being received at a higher resolution (768×768). In this example, a change in viewing orientation occurs such that segment 4 is received from a short IRAP interval sub-picture representation. Thereafter, the viewing orientation is stable, so the long IRAP interval version can be used starting with segment 5.

[0126] Problem Statement

[0127] Since the viewing position moves gradually in typical viewing situations, the resolution changes only in a subset of sub-picture positions in RWMR viewport-dependent streaming. Fig. 9 A change in viewing orientation is shown for a cube face slightly upward and toward the right from FIG. 6 . A cube face segmentation having a different resolution than the previous one is indicated by a "C". It can be observed that the resolution of 6 of the 24 cube face segmentations has changed. However, as described above, in response to the change in viewing orientation, segments starting with an IRAP picture need to be received for all 24 cube face segmentations. Updating all sub-picture positions for segments starting with an IRAP picture is inefficient in terms of streaming rate-distortion performance.

[0128] Additionally, the ability to use an open GOP prediction structure with sub-picture representation for RWMR 360° streaming is desirable to improve rate-distortion performance and avoid visible picture quality pumping caused by a closed GOP prediction structure.

[0129] Proposed design goals

[0130] The following design goals are proposed:

[0131] 1. The VVC design should allow merging a sub-picture originating from a random access picture and another sub-picture originating from a non-random access picture into the same coded picture compliant with VVC.

[0132] 2. The VVC design should allow the use of an open GOP prediction structure in sub-picture representations without compromising the ability to quickly and seamlessly switch representations between sub-picture representations of different properties (such as different spatial resolutions), while allowing the sub-picture representations to be merged into a single VVC bitstream.

[0133] Can be used Fig.10To illustrate the design goals, a sub-picture representation for two sub-picture positions is given. For the two sub-picture positions, a separate version of the content is encoded for each combination between two resolutions and two random access intervals. Some segments start with an open GOP prediction structure. A change in viewing orientation causes the resolution of sub-picture position 1 to switch at the beginning of segment 4. Since segment 4 starts with a CRA picture associated with a RASL picture, the reference pictures of those RASL pictures in segment 3 need to be resampled. It should be noted that this resampling is applied to sub-picture position 1, while the decoded sub-pictures of some other sub-picture positions are not resampled. In this example, a change in viewing orientation does not cause a change in the resolution of sub-picture position 2, so the decoded sub-picture of sub-picture position 2 is not resampled. In the first picture of segment 4, the segment for sub-picture position 1 includes sub-pictures derived from CRA pictures, while the segment for sub-picture position 2 includes sub-pictures derived from non-random access pictures. It is proposed to allow these sub-pictures to be merged into coded pictures in VVC.

[0134] 1.2.2.2.3 Adaptive resolution changes in video conferencing

[0135] JCTVC-F158 proposes adaptive resolution changes primarily for video conferencing. The following subsections are copied from JCTVC-F158 and describe use cases where adaptive resolution is claimed to be effective.

[0136] Seamless network adaptation and error recovery

[0137] Applications such as video conferencing and streaming over packet networks often require that the encoded stream adapt to changing network conditions, especially when the bitrate is too high and data is lost. Such applications often have a return channel that allows the encoder to detect errors and perform adjustments. The encoder has two main tools at its disposal: reducing the bitrate and changing the temporal or spatial resolution. Changing the temporal resolution can be achieved efficiently by encoding with a hierarchical prediction structure. However, changing the spatial resolution is required to achieve the best quality and is part of a well-designed encoder for video communications.

[0138] Changing spatial resolution within AVC requires sending an IDR frame and resetting the stream. This causes serious problems. An IDR frame of reasonable quality will be much larger than an inter picture, and will be correspondingly more complex to decode: this wastes time and resources. This becomes a problem if the decoder requests a resolution change for loading reasons. It can also break low-latency buffer conditions, forcing the audio to resync, and will increase (at least temporarily) the end-to-end latency of the stream. This results in a bad experience for the user.

[0139] To minimize these problems, IDRs are usually sent at a similar bit count as P frames, at a low quality, and take a significant amount of time to get back to full quality for a given resolution. To get latency low enough, the quality can be very low indeed, and there is often visible blur until the image "comes back into focus". In fact, an intra frame does very little work in terms of compression: it's just a way to restart a stream.

[0140] Therefore, methods in HEVC are needed that allow changing the resolution, especially under challenging network conditions, with minimal impact on the subjective experience.

[0141] Quick Start

[0142] It would be useful to have a "fast start" mode where the first frame is sent at a reduced resolution, and the resolution is increased over the next few frames, in order to reduce latency and reach normal quality faster without unacceptable image blur at the beginning.

[0143] Meeting composition

[0144] Video conferences also often have the ability to show the speaker in full screen, and the other participants in smaller resolution windows. To support this effectively, smaller pictures are often sent at a lower resolution. This resolution is then increased when the participant becomes the speaker and goes full screen. Sending intra frames at this point can cause unpleasant hiccups in the video stream. This effect can be very noticeable and unpleasant if speakers alternate quickly.

[0145] 1.2.2.3 Proposed design goals

[0146] The following are the high-level design choices proposed for VVC version 1:

[0147] 1. It is proposed to include reference picture resampling processing in VVC version 1 for the following use cases:

[0148] - Use efficient prediction structures (e.g., so-called open groups of pictures) in adaptive streaming without compromising the ability to quickly and seamlessly switch representations between representations of different properties, such as different spatial resolutions.

[0149] -Adapt low-latency conversational video content to resolution changes caused by network conditions and applications without noticeable changes in latency or delay.

[0150] 2. A VVC design is proposed that allows a sub-picture from a random access picture and another sub-picture from a non-random access picture to be merged into the same VVC-compliant coded picture. It is claimed that the viewing orientation changes in mixed-quality and mixed-resolution viewport-adaptive 360° streaming can be effectively handled.

[0151] 3. Proposes to include sub-picture resampling in VVC version 1. Claims to enable efficient prediction structures to more efficiently handle changes in view orientation in mixed-resolution viewport adaptive 360° streaming.

[0152] 1.2.3 JVET-N0048

[0153] The use cases and design goals of Adaptive Resolution Change (ARC) are discussed in detail in JVET-M0259. In summary:

[0154] 1. Real-time communication

[0155] JCTVC-F158 originally included the following use cases for adaptive resolution changes:

[0156] a. Seamless network adaptation and error recovery (through dynamic adaptive resolution changes);

[0157] b. Fast startup (gradually increasing resolution when a session starts or is reset);

[0158] c. Conference “composition” (providing higher resolution for speakers);

[0159] 2. Adaptive streaming

[0160] Section 5.13 of MPEG N17074 ("Support for Adaptive Streaming") includes the following requirements for VVC:

[0161] The standard should support fast representation switching in the case of providing adaptive streaming services with multiple representations of the same content, each with different properties (e.g. spatial resolution or sampling bit depth). The standard should allow the use of efficient prediction structures (e.g. so-called open group of pictures) without compromising the ability to fast and seamlessly switch representations between different properties (such as different spatial resolutions).

[0162] JVET-M0259 discusses how to meet this requirement by resampling the reference picture of the leading picture.

[0163] 3. 360° Viewport-related Streaming

[0164] JVET-M0259 discusses how to address this use case by resampling certain independently coded picture regions of the reference pictures of the leading pictures.

[0165] This contribution proposes an adaptive resolution coding approach that claims to satisfy all the above use cases and design goals. This proposal, together with JVET-N0045 (which proposes independent sub-picture layers), addresses streaming and conferencing "composition" use cases related to 360° viewports.

[0166] Proposed normative text

[0167] Signaling

[0168] sps_max_rpr

[0169]

[0170] sps_max_rpr specifies the maximum number of active reference pictures in reference picture list 0 or 1 of any slice group in the CVS where pic_width_in_luma_samples and pic_height_in_luma_samples are not equal to pic_width_in_luma_samples and pic_height_in_luma_samples, respectively, of the current picture.

[0171] Image width and height

[0172]

[0173]

[0174]

[0175] max_width_in_luma_samples specifies that for any picture of a CVS for which this SPS is active, pic_width_in_luma_samples in any active PPS must be less than or equal to max_width_in_luma_samples, as a requirement for bitstream conformance.

[0176] max_height_in_luma_samples specifies that for any picture of a CVS for which this SPS is active, pic_height_in_luma_samples in any active PPS must be less than or equal to max_height_in_luma_samples, as a requirement for bitstream conformance.

[0177] Advanced decoding process

[0178] The decoding process of the current picture CurrPic is as follows:

[0179] 1. Section 8.2 specifies the decoding of NAL units.

[0180] 2. The processing in section 8.3 specifies the following decoding processing using syntax elements in and above the slice group header:

[0181] – Export variables and functions related to picture order count as specified in section 8.3.1. This method only needs to be called for the first slice group of a picture.

[0182] – At the beginning of the decoding process for each slice group of non-IDR pictures, the decoding process of the reference picture list construction specified in Section 8.3.2 is called to derive reference picture list 0 (RefPicList[0]) and reference picture list 1 (RefPicList[1]).

[0183] – Invoke the decoding process for reference picture marking in clause 8.3.3, where a reference picture can be marked as “unused for reference” or “used for long-term reference”. This method only needs to be called for the first slice group of a picture.

[0184] – For each active reference picture in RefPicList[0] and RefPicList[1] (having pic_width_in_luma_samples or pic_height_in_luma_samples not equal to pic_width_in_luma_samples or pic_height_in_luma_samples, respectively, of CurrPic), the following applies:

[0185] – Call the resampling process in section XYZ [Ed.(MH): details of call parameters to be added] whose output has the same reference picture tags and picture order counts as the input.

[0186] – Reference pictures used as input to the resampling process are marked as “unused for reference”.

[0187] 3.[Ed.(YK): Add calls to decoding processing of coding tree units, scaling, transform, loop filtering, etc.]

[0188] 4. After all slice groups of the current picture are decoded, the current decoded picture is marked as "used for short-term reference".

[0189] Resampling

[0190] The SHVC resampling process (HEVC section H.8.1.4.2) is proposed, and the following additions are made:

[0191] …

[0192] If sps_ref_wraparound_enabled_flag is equal to 0, the sample value tempArray[n] for n=0..7 is obtained as follows:

[0193] tempArray[n]=

[0194] (f L [xPhase,0]*rlPicSample L [Clip3(0,refW-1,xRef-3),yPosRL]+f L [xPhase,1]*rlPicSample L [Clip3(0,refW-1,xRef-2),yPosRL]+f L [xPhase,2]*rlPicSample L [Clip3(0,refW-1,xRef-1),yPosRL]+f L [xPhase,3]*rlPicSample L [Clip3(0,refW-1,xRef),yPosRL]+f L [xPhase,4]*rlPicSample L [Clip3(0,refW-1,xRef+1),yPosRL]+(H-38)f L [xPhase,5]*rlPicSample L [Clip3(0,refW-1,xRef+2),yPosRL]+f L [xPhase,6]*rlPicSample L [Clip3(0,refW-1,xRef+3),yPosRL]+f L [xPhase,7]*rlPicSample L [Clip3(0,refW-1,xRef+4),yPosRL])>>shift1

[0195] Otherwise, the sample values ​​tempArray[n] for n=0..7 are obtained as follows:

[0196] refOffset=(sps_ref_wraparound_offset_minus1+1)*MinCbSizeY

[0197] tempArray[n]=

[0198] (f L [xPhase,0]*rlPicSample L [ClipH(refOffset,refW,xRef-3),yPosRL]+f L [xPhase,1]*rlPicSample L [ClipH(refOffset,refW,xRef-2),yPosRL]+f L [xPhase,2]*rlPicSample L [ClipH(refOffset,refW,xRef-1),yPosRL]+f L [xPhase,3]*rlPicSample L [ClipH(refOffset,refW,xRef),yPosRL]+f L [xPhase,4]*rlPicSample L [ClipH(refOffset,refW,xRef+1),yPosRL]+f L [xPhase,5]*rlPicSample L [ClipH(refOffset,refW,xRef+2),yPosRL]+f L [xPhase,6]*rlPicSample L [ClipH(refOffset,refW,xRef+3),yPosRL]+f L [xPhase,7]*rlPicSample L [ClipH(refOffset,refW,xRef+4),yPosRL])>>shift1

[0199] …

[0200] If sps_ref_wraparound_enabled_flag is equal to 0, the sample value tempArray[n] for n=0..3 is obtained as follows:

[0201] tempArray[n]=(f C [xPhase,0]*rlPicSample C [Clip3(0,refWC-1,xRef-1),yPosRL]+f C [xPhase,1]*rlPicSampleC [Clip3(0,refWC-1,xRef),yPosRL]+f C [xPhase,2]*rlPicSample C [Clip3(0,refWC-1,xRef+1),yPosRL]+(H-50)f C [xPhase,3]*rlPicSample C [Clip3(0,refWC-1,xRef+2),yPosRL])>>shift1

[0202] Otherwise, the sample value tempArray[n] for n=0..3 is obtained as follows:

[0203] refOffset=(sps_ref_wraparound_offset_minus1+1)*MinCbSizeY) / SubWidthC

[0204] tempArray[n]=

[0205] (f C [xPhase,0]*rlPicSample C [ClipH(refOffset,refWC,xRef-1),yPosRL]+f C [xPhase,1]*rlPicSample C [ClipH(refOffset,refWC,xRef),yPosRL]+f C [xPhase,2]*rlPicSample C [ClipH(refOffset,refWC,xRef+1),yPosRL]+f C [xPhase,3]*rlPicSample C [ClipH(refOffset,refWC,xRef+2),yPosRL])>>shift1

[0206] 1.2.4 JVET-N0052

[0207] As a concept in video compression standards, adaptive resolution change has been around since at least 1996; specifically the H.263+ related proposals for Reference Picture Resampling (RPR, Annex P) and Reduced Resolution Updates (Annex Q). It has gained some traction recently, first with Cisco's proposal during JCT-VC, then in the context of VP9 (which is now moderately widely deployed), and more recently in the context of VVC. ARC allows reducing the number of samples that need to be encoded for a given picture, and upsampling the final reference picture to a higher resolution if needed.

[0208] We believe ARC is of particular concern in two situations:

[0209] 1) Intra-coded pictures (such as IDR pictures) are usually much larger than inter-frame pictures. For whatever reason, downsampling the pictures to be intra-coded can provide better input for future prediction. From a rate control perspective, it is also obviously beneficial, at least in low-latency applications.

[0210] 2) When operating the codec close to breakpoints, which at least some cable and satellite operators typically do, ARC becomes convenient even for non-intra-coded pictures, such as in scene transitions where there are no hard transition points.

[0211] 3) Perhaps it seems a bit too forward: is the concept of fixed resolution generally defensible? With the advent of CRTs and the prevalence of scaling engines in rendering devices, hard bindings between rendering and encoding resolutions are a thing of the past. Also, we note that there is some available research suggesting that most people are less able to focus on fine detail (as might be associated with high resolution) when there is a lot of activity happening in a video sequence, even if that activity is spatially located elsewhere. If this is correct and generally accepted, then fine granular resolution changes may be a better rate control mechanism than adaptive QP. Due to the lack of data, we currently raise this point for discussion (feedback from insightful sources is welcome). Of course, eliminating the concept of a fixed resolution bitstream has a myriad of system-level and implementation implications, which we are well aware of (at least at the level at which they exist, if not their detailed nature).

[0212] Technically, ARC can be implemented as reference picture resampling. There are two main aspects to implementing reference picture resampling: the resampling filter and the signaling of the resampling information in the bitstream. This document focuses on the latter and touches on the former only to the extent we have experience with its implementation. More research on suitable filter designs is encouraged.

[0213] Overview of existing ARC implementations

[0214] Fig.11 and12 The implementation of the existing ARC encoder / decoder is shown separately. In our implementation, the width and height of the picture can be changed according to the granularity of each picture, regardless of the picture type. At the encoder, the input image data is downsampled to the selected picture size for the current picture encoding. After the first input picture is encoded as an intra picture, the decoded picture is stored in the decoded picture buffer (DPB). When subsequent pictures are downsampled at different sampling rates and encoded as inter pictures, the reference pictures in the DPB are scaled up / down according to the spatial ratio between the reference picture size and the current picture size. At the decoder, the decoded pictures are stored in the DPB without resampling. However, when used for motion compensation, the reference pictures in the DPB are scaled up / down according to the spatial ratio between the current decoded picture and the reference. When the decoded picture is highlighted for display, the decoded picture is upsampled to the original picture size or the desired output picture size. In the motion estimation / compensation process, the motion vector is scaled relative to the picture size ratio and the picture sequence count difference.

[0215] Signaling of ARC parameters

[0216] The term ARC parameters is used in this article as a combination of any parameters needed to make ARC work. In the simplest case, it may be a scale (zoom) factor, or an index into a table with defined scale factors. It can be a target resolution (e.g., in sample or maximum CU size granularity), or an index into a table providing the target resolution, such as proposed in JVET-M0135. It also includes filter selectors and even filter parameters (up to filter coefficients) for the up / down sampling filters in use.

[0217] From the beginning, we proposed in this paper that it is at least conceptually possible to allow different ARC parameters for different parts of a picture. We proposed that the appropriate syntax structure according to the current VVC draft would be a rectangular slice group (TG). Those who use scan order TGs will be restricted to using ARC only for complete pictures, or to include the scan order TG in a rectangular TG to some extent (we don't remember discussing TG nesting so far, maybe a bad idea). This can be easily specified via bitstream constraints.

[0218] Since different TGs may have different ARC parameters, the appropriate location for the ARC parameters would be in the TG header or in a TG-wide parameter set and referenced by the TG header - adaptation parameter set in the current VVC draft, or in more detail by referencing (indexing) a table in a higher parameter set. Of the three options, we propose at this time to use the TG header to encode a reference to a table entry including the ARC parameters, and that the table be located in the SPS, with the maximum table value encoded in the (soon to be released) DPS. We could encode the scaling factors directly into the TG header without using any parameter set value. If, as we do, per-slice-group signaling of the ARC parameters is a design criterion, then using the PPS as a reference is prohibited, as proposed in JVET-M0135.

[0219] For the table entry itself, we see a number of options:

[0220] Encode the downsampling factor, do you use both dimensions at once, or do you use the X and Y dimensions separately? This is primarily a hardware (HW) implementation discussion, and some may prefer a result where the scaling factor in the X dimension is fairly flexible, but the scaling factor in the Y dimension is fixed to 1, or has very few choices. We propose that the syntax is the wrong place to express such constraints, and we prefer to express constraints as consistency requirements if necessary. In other words, keep the syntax flexible.

[0221] Encoding target resolutions. This is what we propose below. These resolutions may have more or less complex constraints relative to the current resolution, perhaps expressed as bitstream conformance requirements.

[0222] It is best to downsample each slice group for picture synthesis / extraction. However, it is not critical from a signaling perspective. If the group makes an unwise decision to allow ARC only at picture granularity, then we can always require all TGs to use the same ARC parameters for bitstream conformance requirements.

[0223] ARC related control information. In our design below, this includes the size of the reference image.

[0224] Do we need flexibility in filter design? Is there anything more important than a bunch of code points? If yes, put them in the APS? (If no, don't have another APS update discussion. We propose that the bitstream must account for the extra overhead if the downsampling filter changes and the ALF remains the same.)

[0225] For now, in order to keep the proposed technique consistent and simple (to the extent possible), we propose

[0226] Fixed filter design

[0227] · Target resolution in SPS table with bitstream constraints, to be determined (TBD).

[0228] Min / max target resolution in DPS to facilitate performance (cap) swapping / harmonization.

[0229] The resulting syntax is as follows:

[0230] Decoder parameter set RBSP syntax

[0231]

[0232] max_pic_width_in_luma_samples specifies the maximum width of the decoded picture in the bitstream in units of luma samples. max_pic_width_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY. The value of dec_pic_width_in_luma_samples[i] shall not be greater than the value of max_pic_width_in_luma_samples.

[0233] max_pic_height_in_luma_samples specifies the maximum height of the decoded picture in units of luma samples. max_pic_height_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY. The value of dec_pic_height_in_luma_samples[i] shall not be greater than the value of max_pic_height_in_luma_samples.

[0234] Sequence Parameter Set RBSP Syntax

[0235]

[0236]

[0237] adaptive_pic_resolution_change_flag equal to 1 specifies that the output picture sizes (output_pic_width_in_luma_samples, output_pic_height_in_luma_samples), an indication of the number of decoded picture sizes (num_dec_pic_size_in_luma_samples_minus1) and at least one decoded picture size (dec_pic_width_in_luma_samples[i], dec_pic_height_in_luma_samples[i]) are present in the SPS. The reference picture sizes (reference_pic_width_in_luma_samples, reference_pic_height_in_luma_samples) are conditionally present depending on the value of reference_pic_size_present_flag.

[0238] output_pic_width_in_luma_samples specifies the width of the output picture in units of luma samples. output_pic_width_in_luma_samples shall not be equal to 0.

[0239] output_pic_height_in_luma_samples specifies the height of the output picture in luma samples. output_pic_height_in_luma_samples shall not be equal to 0.

[0240] reference_pic_size_present_flag equal to 1 specifies that reference_pic_width_in_luma_samples and reference_pic_height_in_luma_samples are present.

[0241] reference_pic_width_in_luma_samples specifies the width of the reference picture in units of luma samples. output_pic_width_in_luma_samples shall not be equal to 0. If not present, the value of reference_pic_width_in_luma_samples is inferred to be equal to dec_pic_width_in_luma_samples[i].

[0242] reference_pic_height_in_luma_samples specifies the height of the reference picture in units of luma samples. output_pic_height_in_luma_samples shall not be equal to 0. If not present, the value of reference_pic_height_in_luma_samples is inferred to be equal to dec_pic_height_in_luma_samples[i].

[0243] NOTE 1 – The size of the output picture shall be equal to the values ​​of output_pic_width_in_luma_samples and output_pic_height_in_luma_samples. When a reference picture is used for motion compensation, the size of the reference picture shall be equal to the values ​​of reference_pic_width_in_luma_samples and _pic_height_in_luma_samples.

[0244] num_dec_pic_size_in_luma_samples_minus1 plus 1 specifies the number of decoded picture sizes (dec_pic_width_in_luma_samples[i], dec_pic_height_in_luma_samples[i]) in the coded video sequence in units of luma samples.

[0245] dec_pic_width_in_luma_samples[i] specifies the i-th width of the decoded picture size in the coded video sequence, in units of luma samples. dec_pic_width_in_luma_samples[i] shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

[0246] dec_pic_height_in_luma_samples[i] specifies the i-th height of the decoded picture size in the coded video sequence, in units of luma samples. dec_pic_height_in_luma_samples[i] shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

[0247] NOTE 2 – The sizes of the i-th decoded picture (dec_pic_width_in_luma_samples[i], dec_pic_height_in_luma_samples[i]) may be equal to the decoded picture sizes of the decoded pictures in the coded video sequence.

[0248] Slice Group Header Syntax

[0249]

[0250] dec_pic_size_idx specifies that the width of the decoded picture should be equal to pic_width_in_luma_samples[dec_pic_size_idx], and the height of the decoded picture should be equal to pic_height_in_luma_samples[dec_pic_size_idx].

[0251] filter

[0252] The proposed design conceptually consists of four different filter banks: downsampling filters from the original picture to the input picture, up / downsampling filters for rescaling the reference picture for motion estimation / compensation, and upsampling filters from the decoded picture to the output picture. The first and last can be left as non-normative matters. Within the scope of the specification, the up / downsampling filters need to be explicitly signaled or predefined in the appropriate parameter sets.

[0253] Our implementation uses the downsampling filter of SHVC (SHM version 12.4), which is a 12-tap and 2D separable filter for downsampling to adjust the size of the reference picture to be used for motion compensation. In the current implementation, only dyadic sampling is supported. Therefore, by default, the phase of the downsampling filter is set equal to zero. For upsampling, an 8-tap interpolation filter with 16 phases is used to shift the phase and align the luma and chroma pixel positions with the original positions.

[0254] Tables 1 and 2 provide the 8-tap filter coefficients fL[p,x] with p=0..15 and x=0..7 for luma upsampling, and the 4-tap filter coefficients fC[p,x] with p=0..15 and x=0..3 for chroma upsampling.

[0255] Table 3 provides the 12-tap filter coefficients used for the downsampling process. Both luma and chroma are downsampled using the same filter coefficients.

[0256] Table 1. Luma upsampling filter with 16 phases

[0257]

[0258] Table 2. Chroma upsampling filter with 16 phases

[0259]

[0260]

[0261] Table 3. Downsampling filter coefficients for luma and chroma

[0262]

[0263] We have not yet experimented with other filter designs. We anticipate that subjective and objective gains can be expected (perhaps significant) when using filters adapted to the content and / or scaling factors.

[0264] Discussion on film group boundaries

[0265] Our implementation of ARC based on slice groups (TG) is not yet fully complete, as there is indeed a lot of work related to slice groups. We intend to reconsider this implementation once the discussion on spatial synthesis of multiple sub-pictures in the compressed domain and extraction into a composite picture has produced at least a working draft. However, this does not prevent us from extrapolating the results to some extent and adjusting our signaling design accordingly.

[0266] So far, for the reasons already stated, we have considered the slice group header to be the correct place for something like the above proposed dec_pic_size_idx. We use a single ue(v) codepoint dec_pic_size_idx that conditionally appears in the slice group header to indicate the ARC parameters employed. To match our implementation (i.e., only ARC per picture), one of the things we now need to do in specification space is to only encode a single slice group, or make it a condition of bitstream compliance that all TG headers for a given coded picture have the same dec_pic_size_idx (if present).

[0267] The parameter dec_pic_size_idx could be moved to any header that initiates sub-pictures. Our current feeling is that it will most likely continue to be the slice group header.

[0268] In addition to these syntactical considerations, some additional work is required to enable slice group-based or sub-picture-based ARC. Perhaps the most difficult part is how to deal with the problem of unwanted samples in pictures where the sub-picture has been resampled to a smaller size.

[0269] consider Fig.13 The right part of the image is composed of four sub-pictures (which may be represented as four rectangular slice groups in the bitstream syntax). On the left, the lower right TG is subsampled to half the size. How do we deal with samples outside the relevant area marked "Half"?

[0270] Some existing video coding standards have in common that they do not support spatial extraction of parts of a picture in the compressed domain. This means that each sample of a picture is represented by one or more syntax elements, and each syntax element affects at least one sample. If this is to be maintained, we need to somehow fill in the area around the samples marked as "half" covered by the downsampled TG. H.263+Annex P solves this problem by padding; in fact, the sample values ​​of the padded samples can be signaled in the bitstream (within certain strict restrictions).

[0271] An alternative that might constitute a significant departure from previous assumptions could relax the current understanding, namely that every sample of the reconstructed picture must be represented by something in the coded picture (even if that content is just a skipped block), but such an alternative might be needed in any case if we want to support sub-bitstream extraction (and synthesis) based on rectangular parts of a picture.

[0272] Implementation considerations, system implications, and grades / levels

[0273] We propose to include basic ARC in the Base / Main profile. If it is not needed for some use cases, it can be removed using sub-profiles. Some restrictions are acceptable. In this regard, we note that some H.263+ profiles and the Recommended Mode (previous profiles) include the restriction that Annex P can only be used with an "implicit factor of 4", i.e., bidimensional downsampling in both dimensions. This is sufficient to support fast startup (quick acquisition of I-frames) in video conferencing.

[0274] This design leads us to believe that all filtering can be done "on the fly" with no or negligible increase in memory bandwidth. For now, we do not see the need to push ARC into an exotic class.

[0275] We do not believe that complex tables and the like can be used effectively for capability exchange, as proposed with JVET-M0135 in Marrakech. Assuming offer-answer and similar limited-depth handshakes, the number of choices is too large for meaningful cross-vendor interoperability. As it stands, in reality, to support ARC in a meaningful way in a capability exchange scenario, we must fall back to a small number of interoperability points. For example: no ARC, ARC with implicit factor 4, full ARC. As an alternative, we could specify required support for all ARC and leave the constraints on bitstream complexity to higher-level SDOs. Regardless, this is a strategic discussion we should have (in addition to the one that already exists in the context of sub-profiles and flags).

[0276] Regarding levels: We believe that the basic design principle must be that, as a condition for bitstream conformance, no matter how much upsampling is signaled in the bitstream, the sample count of the upsampled picture must fit in the level of the bitstream and all samples must fit in the upsampled coded picture. We note that this is not the case in H263+. Some samples may not be there.

[0277] 1.2.5 JVET-N0118

[0278] The following aspects are proposed:

[0279] 1) A list of picture resolutions is signaled in the SPS, and an index into the list is signaled in the PPS to specify the size of a single picture.

[0280] 2) For any picture to be output, the decoded picture before resampling is cropped (as needed) and output, i.e., the resampled picture is not used for output, but only for inter-frame prediction reference.

[0281] 3) Supports resampling ratios of 1.5x and 2x. Does not support arbitrary resampling ratios. Further research is needed to determine whether one or more other resampling ratios are needed.

[0282] 4) Between picture-level resampling and block-level resampling, supporters prefer block-level resampling.

[0283] a. However, if picture-level resampling is chosen, the following aspects are proposed:

[0284] i. When a reference picture is resampled, both the resampled version and the original, resampled version of the reference picture are stored in the DPB, so both affect the fullness of the DPB.

[0285] ii. A resampled reference picture is marked as “unused for reference” when the corresponding non-resampled reference picture is marked as “unused for reference”.

[0286] iii. The RPL signaling syntax remains unchanged, while the RPL construction process is modified as follows: When a reference picture needs to be included in a RPL entry and a version of the reference picture with the same resolution as the current picture is not in the DPB, the picture resampling process is called and the resampled version of the reference picture is included in the RPL entry.

[0287] iv. The number of possible resampled reference pictures in the DPB should be limited to, for example, less than or equal to 2.

[0288] b. Otherwise (block-level resampling is selected), the following is recommended:

[0289] i. In order to limit the worst-case decoder complexity, it is proposed to not allow bidirectional prediction of blocks from reference pictures with a different resolution than the current picture.

[0290] ii. Another option is that when resampling and quarter-pixel interpolation are required, the two filters will be combined and the operations applied at once.

[0291] 5) Regardless of which picture-based resampling method and block-based resampling method is chosen, it is proposed to apply temporal motion vector scaling as needed.

[0292] 1.2.5.1 Implementation

[0293] The ARC software is implemented on top of VTM-4.0.1, but with the following changes:

[0294] – Signal the list of supported resolutions in SPS.

[0295] – Spatial resolution signaling is moved from SPS to PPS.

[0296] – A picture-based resampling scheme is implemented to resample reference pictures. After the picture is decoded, the reconstructed picture can be resampled to different spatial resolutions. Both the original reconstructed picture and the resampled reconstructed picture are stored in the DPB and can be referenced by subsequent pictures in the decoding order.

[0297] – The implemented resampling filter is based on the filter tested in JCTVC-H0234 and is shown below:

[0298] o Upsampling filter: 4-tap + / - quarter phase DCTIF with taps (-4, 54, 16, -2) / 64.

[0299] o Downsampling filter: h11 filter with taps (1, 0, -3, 0, 10, 16, 10, 0, -3, 0, 1) / 32.

[0300] – When constructing the reference picture lists (i.e. L0 and L1) of the current picture, only reference pictures with the same resolution as the current picture are used. Note that the reference pictures may be available at their original size or at a resampled size.

[0301] – TMVP and ATVMP may be enabled; however, when the original coding resolutions of the current picture and a reference picture are different, TMVP and ATMVP shall be disabled for that reference picture.

[0302] – To facilitate and simplify the starting point software implementation, the decoder outputs the highest available resolution when outputting pictures.

[0303] 1.2.5.2 Signaling about Image Size and Image Output

[0304] 1. List of spatial resolutions of coded pictures in the bitstream

[0305] Currently, all coded pictures in CVS have the same resolution. Therefore, only one resolution (i.e., picture width and height) is signaled directly in SPS. In case of ARC support, a list of picture resolutions needs to be signaled instead of one resolution, and we propose to signal this list in SPS and an index into this list in PPS to specify the size of a single picture.

[0306] 2. About image output

[0307] We propose that for any picture to be output, the decoded picture before resampling is cropped (as needed) and output, i.e. the resampled picture is not used for output, but only for inter-frame prediction reference. The ARC resampling filter should be designed to optimize the use of the resampled picture for inter-frame prediction, and such filters may not be optimal for picture output / display purposes, and video terminal devices usually have optimized output scaling / scaling functions implemented.

[0308] 1.2.5.3 About resampling

[0309] Resampling of decoded pictures can be either picture-based or block-based. For the final ARC design in VVC, we prefer block-based resampling over picture-based resampling. We propose that both approaches be discussed and that JVET decide which of the two approaches should be specified for ARC support in VVC.

[0310] Image-based resampling

[0311] In picture-based resampling for ARC, a picture is resampled only once for a particular resolution and then stored in the DPB, while the non-resampled version of the same picture is also kept in the DPB.

[0312] There are two problems with adopting picture-based resampling for ARC: 1) additional DPB buffers are required to store the resampled reference pictures, and 2) additional memory bandwidth is required due to the increased operations of reading and writing reference picture data from and to the DPB.

[0313] Keeping only one version of the reference picture in the DPB is not a good idea for picture-based resampling. If we only keep the un-resampled version, the reference picture may need to be resampled multiple times since multiple pictures may refer to the same reference picture. On the other hand, if the reference picture is resampled and we only keep the resampled version, then we need to apply the inverse resampling when we need to output the reference picture since, as mentioned above, it is better to output the un-resampled picture. This is a problem since the resampling process is not a lossless operation. Taking a picture A, then downsampling it, and then upsampling it to get A' of the same resolution as A, A and A' will not be the same; A' includes less information than A because some high-frequency information was lost during the downsampling and upsampling processes.

[0314] To handle the issue of additional DPB buffers and memory bandwidth, we propose that if the ARC design in VVC uses picture-based resampling, the following applies:

[0315] 1. When a reference picture is resampled, both the resampled version and the original, resampled version of the reference picture are stored in the DPB, so both affect the fullness of the DPB.

[0316] 2. A resampled reference picture is marked as “unused for reference” when the corresponding non-resampled reference picture is marked as “unused for reference”.

[0317] 3. The reference picture list (RPL) of each slice group includes reference pictures with the same resolution as the current picture. Although the RPL signaling syntax does not need to be changed, the RPL construction process can be modified to ensure the content in the previous statement, as follows: When a reference picture needs to be included in an RPL entry, if a version of the reference picture with the same resolution as the current picture is not yet available, the picture resampling process will be called and a resampled version of the reference picture will be included.

[0318] 4. The number of resampled reference pictures that may exist in the DPB should be limited to, for example, less than or equal to 2.

[0319] Furthermore, to enable the use of temporal MVs when they come from a reference frame with a different resolution than the current frame (e.g., Merge mode and ATMVP), we propose to scale the temporal MVs to the current resolution as needed.

[0320] Block-based ARC resampling

[0321] In block-based resampling for ARC, reference blocks are resampled whenever needed, and the resampled pictures are not stored in the DPB.

[0322] The main issue here is the extra decoder complexity. This is because a block in a reference picture can be referenced multiple times by multiple blocks in another picture and by blocks in multiple pictures.

[0323] When a block in a reference picture is referenced by a block in the current picture, and the resolutions of the reference picture and the current picture are different, the reference block is resampled by calling an interpolation filter so that the reference block has an integer pixel resolution. When the motion vector is in quarter-pixel, the interpolation process is called again to obtain a resampled reference block of quarter-pixel resolution. Therefore, for each motion compensation operation of the current block involving a reference block of different resolution, up to two interpolation filter operations are required instead of one. Without ARC support, at most only one interpolation filter operation is required (i.e., for generating a reference block of quarter-pixel resolution).

[0324] To bound the worst-case complexity, we propose that if the ARC design in VVC uses block-based resampling, the following applies:

[0325] – Bidirectional prediction of blocks from a reference picture with a different resolution than the current picture is not allowed.

[0326] – More precisely, the constraint is as follows: for a current block blkA in a current picture picA that refers to a reference block blkB in a reference picture picB, when picA and picB have different resolutions, block blkA should be a unidirectionally predicted block.

[0327] Under this constraint, the worst-case number of interpolation operations required to decode a block is limited to 2. If the block references a block from a different resolution picture, as described above, the number of interpolation operations required is 2. This is the same as the case where the block reference is from a reference block in the same resolution picture and is encoded as a bi-directionally predicted block, since the number of interpolation operations is also 2 (i.e., one to obtain a quarter-pel resolution for each reference block).

[0328] To simplify the implementation, we propose another variant, namely, if the ARC design in VVC uses block-based resampling, the following applies:

[0329] – If the resolution of the reference frame and the current frame are different, the corresponding position of each pixel of the predictor is first calculated, and then interpolation is applied only once. That is, two interpolation operations (i.e., one for resampling and one for quarter-pixel interpolation) are combined into only one interpolation operation. The sub-pixel interpolation filter in the current VVC can be reused, but in this case, the granularity of the interpolation should be enlarged, but the number of interpolation operations should be reduced from 2 to 1.

[0330] – To enable temporal MV usage (e.g., Merge mode and ATMVP) when the temporal MV comes from a reference frame with a different resolution than the current frame, we propose to scale the temporal MV to the current resolution as needed.

[0331] Resampling rate

[0332] In JVET-M0135, to start the discussion on ARC, it was proposed that as a starting point for ARC, only a 2x resampling rate be considered (meaning, 2x2 for upsampling and 1 / 2x1 / 2 for downsampling). Through further discussion of the topic after the Marrakech meeting, we learned that supporting only a 2x resampling rate is very limiting, as in some cases a smaller difference between the resampled and unsampled resolution can be more advantageous.

[0333] Although it may be desirable to support arbitrary resampling rates, support for this appears to be difficult because the number of resampling filters that must be defined and implemented to support arbitrary resampling rates appears to be excessive and places a heavy burden on the decoder implementation.

[0334] We propose that more than one but a small number of resampling rates should be supported, at least 1.5x and 2x resampling rates should be supported, and arbitrary resampling rates should not be supported.

[0335] 1.2.5.4 Maximum DPB Buffer Size and Buffer Fullness

[0336] With ARC, the DPB can include decoded pictures with different spatial resolutions in the same CVS. For DPB management and related aspects, it is no longer valid to calculate the DPB size and fullness in units of decoded pictures.

[0337] The following is a discussion of some specific aspects that need to be addressed if ARC is to be supported, and possible solutions that could be included in the final VVC specification (we did not propose adoption of possible solutions in this meeting):

[0338] 1. Instead of using the value of PicSizeInSamplesY (i.e. PicSizeInSamplesY = pic_width_in_luma_samples * pic_height_in_luma_samples) to derive MaxDpbSize (i.e., the maximum number of reference pictures that may exist in the DPB), MaxDpbSize is derived based on the value of MinPicSizeInSamplesY. MinPicSizeInSampleY is defined as follows:

[0339] MinPicSizeInSampleY = (width of the minimum picture resolution in the bitstream) * (height of the minimum resolution in the bitstream)

[0340] The derivation of MaxDpbSize is modified as follows (based on the HEVC equation):

[0341] if(MinPicSizeInSamplesY<=(MaxLumaPs>>2))

[0342] MaxDpbSize=Min(4*maxDpbPicBuf,16)

[0343] else if(MinPicSizeInSamplesY<=(MaxLumaPs>>1))

[0344] MaxDpbSize=Min(2*maxDpbPicBuf,16)

[0345] else if(MinPicSizeInSamplesY<=((3*MaxLumaPs)>>2))

[0346] MaxDpbSize=Min((4*maxDpbPicBuf) / 3,16)

[0347] else

[0348] MaxDpbSize=maxDpbPicBuf

[0349] 2. Each decoded picture is associated with a value called PictureSizeUnit. PictureSizeUnit is an integer value that specifies how large the decoded picture size is relative to MinPicSizeInSampleY. The definition of PictureSizeUnit depends on which resampling rate is supported by ARC in VVC.

[0350] For example, if ARC only supports a resampling rate of 2, the PictureSizeUnit definition would be as follows:

[0351] – The lowest resolution decoded picture in the bitstream is associated with a PictureSizeUnit of 1.

[0352] – A decoded picture with a resolution of 2×2, the smallest resolution in the bitstream, is associated with a PictureSizeUnit of 4 (ie, 1*4).

[0353] As another example, if ARC supports resampling rates of 1.5 and 2, the definition of PictureSizeUnit is as follows:

[0354] – The lowest resolution decoded picture in the bitstream is associated with a PictureSizeUnit of 4.

[0355] – A decoded picture with a resolution of 1.5x1.5, which is the smallest resolution in the bitstream, is associated with a PictureSizeUnit of 9 (i.e. 2.25*4).

[0356] – A decoded picture of 2×2 with a resolution equal to the smallest resolution in the bitstream is associated with a PictureSizeUnit of 16 (ie 4*4).

[0357] For other resampling rates supported by ARC, the same principles as in the above example should be used to determine the value of PictureSizeUnit for each picture size.

[0358] 3. Let the variable MinPictureSizeUnit be the minimum possible value of PictureSizeUnit. That is, if ARC only supports a resampling rate of 2, then MinPictureSizeUnit is 1; if ARC supports resampling rates of 1.5 and 2, then MinPictureSizeUnit is 4; similarly, the same principle is used to determine the value of MinPictureSizeUnit.

[0359] 4. The value range of sps_max_dec_pic_buffering_minus1[i] is specified as 0 to (MinPictureSizeUnit*(MaxDpbSize–1)). The variable MinPictureSizeUnit is the minimum possible value of PictureSizeUnit.

[0360] 5. Based on PictureSizeUnit, the DPB fullness operation is as follows:

[0361] – Initialize HRD at decoding unit 0, while setting both CPB and DPB to empty (set DPB fullness equal to 0).

[0362] - When the DPB is flushed (ie, all pictures are deleted from the DPB), the DPB fullness is set equal to 0.

[0363] – When a picture is deleted from the DPB, the DPB fullness is decremented by the value of PictureSizeUnit associated with the deleted picture.

[0364] – When a picture is inserted into the DPB, the DPB fullness is incremented by the value of the PictureSizeUnit associated with the inserted picture.

[0365] 1.2.5.5 Resampling Filter

[0366] In the software implementation, the implemented resampling filter is simply taken from the previously available filters described in JCTVC-H0234. If other resampling filters have better performance and / or lower complexity, they should be tested and used. We propose to test various resampling filters to find the trade-off between complexity and performance. Such tests can be performed in CE.

[0367] 1.2.5.6 Other necessary modifications to existing tools

[0368] To support ARC, some modifications and / or additional operations may be required to some existing coding tools. For example, in the picture-based resampling implemented by the ARC software, for simplicity, we disabled TMVP and ATMVP when the original coding resolutions of the current picture and the reference picture are different.

[0369] 1.2.6 JVET-N0279

[0370] According to the "Requirements for Future Video Coding Standards", "the standard should support fast representation switching in the context of adaptive streaming services that provide multiple representations of the same content, each with different properties (e.g., spatial resolution or sampling bit depth)". In real-time video communications, allowing resolution changes within a coded video sequence without the need to insert I pictures would not only allow the video data to be seamlessly adapted to dynamic channel conditions or user preferences, but would also eliminate the jitter effects caused by I pictures. A hypothetical example of adaptive resolution change is shown in Fig.14 , where the current picture is predicted from reference pictures of different sizes.

[0371] This contribution proposes a high-level syntax to signal adaptive resolution changes and modifications to the current motion compensated prediction processing in the VTM. These modifications are limited to motion vector scaling and sub-pixel position derivation without changing the existing motion compensation interpolator. This will allow the reuse of existing motion compensation interpolators without requiring new processing blocks to support adaptive resolution changes (which would incur additional costs).

[0372] 1.2.6.1 Adaptive Resolution Change Signaling

[0373] 1.2.6.1.1 SPS

[0374]

[0375]

[0376] [[pic_width_in_luma_samples specifies the width of each decoded picture in units of luma samples. pic_width_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY. ]]

[0377] [[pic_height_in_luma_samples specifies the height of each decoded picture in units of luma samples. pic_height_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY. ]]

[0378] max_pic_width_in_luma_samples specifies the maximum width of the decoded picture referencing the SPS in units of luma samples. max_pic_width_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

[0379] max_pic_height_in_luma_samples specifies the maximum height of the decoded picture referencing the SPS in units of luma samples. max_pic_height_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

[0380] 1.2.6.1.2 PPS

[0381]

[0382] pic_size_different_from_max_flag equal to 1 specifies that the PPS signals a picture width and picture height that are different from max_pic_width_in_luma_samples and max_pic_height_in_luma_sample in the referenced SPS. pic_size_different_from_max_flag equal to 0 specifies that pic_width_in_luma_samples and pic_height_in_luma_samples are the same as max_pic_width_in_luma_samples and max_pic_height_in_luma_sample in the referenced SPS.

[0383] pic_width_in_luma_samples specifies the width of each decoded picture in units of luma samples. pic_width_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY. If pic_width_in_luma_samples is not present, it is inferred to be equal to max_pic_width_in_luma_samples.

[0384] pic_height_in_luma_samples specifies the height of each decoded picture in units of luma samples. pic_height_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY. When pic_height_in_luma_samples is not present, it is inferred to be equal to max_pic_height_in_luma_samples.

[0385] The bitstream conformance requirement is that the horizontal and vertical scaling ratios should be in the range of 1 / 8 to 2 (including each active reference picture). The scaling ratios are defined as follows:

[0386] –horizontal_scaling_ratio=((reference_pic_width_in_luma_samples<<14)+(pic_width_in_luma_samples / 2)) / pic_width_in_luma_samples

[0387] –vertical_scaling_ratio=((reference_pic_height_in_luma_samples<<14)+(pic_height_in_luma_samples / 2)) / pic_height_in_luma_samples

[0388]

[0389] Reference image scaling

[0390] When the resolution changes within a CVS, a picture may have a different size than one or more of its reference pictures. This proposal normalizes all motion vectors to the current picture grid instead of their corresponding reference picture grid. This is said to be beneficial to keep the design consistent and make the resolution change transparent to the motion vector prediction process. Otherwise, neighboring motion vectors pointing to reference pictures of different sizes cannot be directly used for spatial motion vector prediction due to the different scales.

[0391] When a resolution change occurs, the motion vectors and reference blocks must be scaled when doing motion compensated prediction. The scaling range is limited to [1 / 8, 2], i.e., upscaling is limited to 1:8 and downscaling is limited to 2:1. Note that upscaling refers to the case where the reference picture is smaller than the current picture, while downscaling refers to the case where the reference picture is larger than the current picture. In the following sections, the scaling process is described in detail.

[0392] Luminance Block

[0393] The scaling factor and its fixed-point representation are defined as

[0394]

[0395]

[0396] The scaling process consists of two parts:

[0397] 1. Map the upper left pixel of the current block to the reference picture;

[0398] 2. Use the horizontal and vertical steps to determine the reference positions of other pixels in the current block.

[0399] If the coordinates of the top left pixel of the current block are (x, y), the sub-pixel position (x′, y′) in the reference picture pointed to by the motion vector (mvX, mvY) is specified in units of 1 / 16 pixels as follows:

[0400] The horizontal position in the reference picture is

[0401] x′=((x<<4)+mvX)·hori_scale_fp, (3)

[0402] And x′ is further reduced to retain only 10 decimal places

[0403] x′=Sign(x′)·((Abs(x′)+(1<<7))>>8). (4)

[0404] Similarly, the vertical position of the reference image is:

[0405] y′=((y<<4)+mvY)·vert_scale_fp, (5)

[0406] And y′ is further reduced to

[0407] y′=Sign(y′)·((Abs(y′)+(1<<7))>>8) (6)

[0408] At this point, the reference position of the top left pixel of the current block is (x′, y′). Other reference sub-pixel / pixel positions are calculated relative to (x′, y′) with horizontal and vertical steps. These steps are derived with 1 / 1024 pixel accuracy based on the horizontal and vertical scaling factors mentioned above, as shown below:

[0409] x_step=(hori_scale_fp+8)>>4, (7)

[0410] y_step=(vert_scale_fp+8)>>4. (8)

[0411] As an example, if a pixel in the current block is i columns and j rows away from the top left pixel, the horizontal and vertical coordinates of its corresponding reference pixel can be obtained as follows:

[0412] x′ i =x′+i*x_step, (9)

[0413] y′ j =y′+j*y_step. (10)

[0414] In sub-pixel interpolation, x′ must be i and y′ j Decompose into full pixel part and fractional pixel part:

[0415] The complete pixel portion used to address the reference block is equal to

[0416] (x′ i +32)>>10, (11)

[0417] (y′ j +32)>>10. (12)

[0418] The fractional pixel portion used to select the interpolation filter is equal to

[0419] Δx=((x′ i +32)>>6)&15, (13)

[0420] Δy=((y′ j +32)>>6)&15. (14)

[0421] Once the full pixel and fractional pixel positions in the reference picture are determined, the existing motion compensation interpolator can be used without any other changes. The full pixel positions will be used to fetch the reference block patch from the reference picture, while the fractional pixel positions will be used to select the appropriate interpolation filter.

[0422] Chroma Block

[0423] When the chroma format is 4:2:0, the accuracy of the chroma motion vector is 1 / 32 pixel. In addition to the adjustments related to the chroma format, the scaling process of the chroma motion vector and the chroma reference block is almost the same as that of the luma block.

[0424] When the coordinates of the upper left corner pixel of the current chromaticity block are (x c ,y c ), the initial horizontal and vertical positions in the reference chrominance picture are

[0425] x c ′=((x c <<5)+mvX)·hori_scale_fp, (1)

[0426] y c ′=((y c <<5)+mvY)·vert_scale_fp, (2)

[0427] Where mvX and mvY are the original luma motion vectors, but now checked with 1 / 32 pixel precision.

[0428] x c ′ and y c 'Further reduce to maintain 1 / 1024 pixel accuracy

[0429] x c ′=Sign(x c ′)·((Abs(x c ′)+(1<<8))>>9), (3)

[0430] y c ′=Sign(y c ′)·((Abs(y c ′)+(1<<8))>>9). (4)

[0431] The above right shift adds one bit compared to the associated brightness equation.

[0432] The step size used is the same for luma. For a chroma pixel at (i, j) relative to the top left pixel, the horizontal and vertical coordinates of its reference pixel are obtained by

[0433] x c ' i =x c ′+i*x_step, (5)

[0434] y c ' j =y c ′+j*y_step. (6)

[0435] In sub-pixel interpolation, x c ' i and c ' j It is also divided into a full pixel part and a fractional pixel part:

[0436] The complete pixel portion used to address the reference block is equal to

[0437] (x c ' i +16)>>10, (7)

[0438] (y c ' j +160>>10. (8)

[0439] The fractional pixel portion used to select the interpolation filter is equal to

[0440] Δx=((x c ' i +16)>>5)&31, (9)

[0441] Δy=((y c ' j +16)>>5)&31. (10)

[0442] Interaction with other coding tools

[0443] Because the interaction of some coding tools with reference picture scaling introduces additional complexity and memory bandwidth, it is proposed to add the following restrictions to the VVC specification:

[0444] - When tile_group_temporal_mvp_enabled_flag is equal to 1, the sizes of the current picture and its collocated picture shall be the same.

[0445] - Decoder motion vector refinement should be turned off when resolution changes within a sequence are allowed.

[0446] - When resolution changes within a sequence are allowed, sps_bdof_enabled_flag shall be equal to 0.

[0447] 1.3 Adaptive Loop Filter (ALF) Based on Coding Tree Block (CTB) in JVET-N0415

[0448] Strip-level time-domain filter

[0449] Adaptive Parameter Set (APS) is adopted in VTM4. Each APS includes a set of ALF filters notified by signaling, and up to 32 APSs are supported. In this proposal, slice-level time domain filters are tested. Slice groups can reuse ALF information from APS to reduce overhead. APS is updated to a first-in-first-out (FIFO) buffer.

[0450] CTB-based ALF

[0451] For the luma component, when ALF is applied to a luma CTB, the indication is to select among 16 fixed, 5 temporal or 1 signaled filter sets. Only the filter set index is signaled. For a slice, only one new set (25 filters) can be signaled. If a new set is signaled for a slice, all luma CTBs in the same slice share the set. The fixed filter set can be used to predict a new slice-level filter set and can also be used as a candidate filter set for the luma CTB. The total number of filters is 64.

[0452] For chroma components, when ALF is applied to chroma CTB, if the new filter is signaled to the slice, the CTB will use the new filter, otherwise, the latest temporal chroma filter that meets the temporal scalability constraint will be applied.

[0453] As a slice-level time-domain filter, the APS is updated as a first-in-first-out (FIFO) buffer.

[0454] 1.4 Optional Temporal Motion Vector (ATMVP) Prediction (also known as Sub-block-based Temporal Merge Candidate in VVC)

[0455] In the ATMVP (alternative temporal motion vector prediction) method, the motion vector temporal motion vector prediction (TMVP) is modified by extracting multiple sets of motion information (including motion vectors and reference indices) from blocks smaller than the current CU. Fig.15 As shown, a sub-CU is a square N×N block (N is set to 8 by default).

[0456] The ATMVP predicts the motion vectors of the sub-CUs within the CU in two steps. The first step is to identify the corresponding blocks in the reference picture using the so-called time domain vector. The reference picture is called the motion source picture. The second step is to divide the current CU into sub-CUs and obtain the motion vector and the reference index of each sub-CU from the blocks corresponding to each sub-CU, such as Fig.15 shown.

[0457] In the first step, the reference picture and the corresponding block are determined by the motion information of the spatial neighboring blocks of the current CU. In order to avoid repeated scanning of adjacent blocks, the Merge candidate from block 0 (left block) in the Merge candidate list of the current CU is used. The first available motion vector from block A0, which refers to the collocated reference picture, is set as the temporal vector. In this way, in ATMVP, the corresponding block can be identified more accurately than in TMVP, where the corresponding block (sometimes called the collocated block) is always located at the lower right or center position relative to the current CU.

[0458] In the second step, the corresponding block of the sub-CU is identified by the time domain vector in the motion source picture by adding the time domain vector to the coordinates of the current CU. For each sub-CU, the motion information of its corresponding block (the minimum motion grid covering the center sample) is used to derive the motion information of the sub-CU. After the motion information of the corresponding N×N block is identified, it is converted into the reference index and motion vector of the current sub-CU in the same way as the TMVP of HEVC, where motion scaling and other processing are also applicable.

[0459] 1.5 Affine Motion Prediction

[0460] In HEVC, motion compensated prediction (MCP) only applies the translation motion model. However, there may be a variety of motions in the real world, such as zooming in / out, rotation, perspective motion, and other irregular motions. In VVC, simplified affine transformation motion compensated prediction is applicable to 4-parameter affine models and 6-parameter affine models. As shown in Figure 16, the affine motion field of the block is described by two control point motion vectors (CPMVs) for the 4-parameter affine model and 3 CPMVs for the 6-parameter affine model.

[0461] The motion vector field (MVF) of a block is described by the following equation with the 4-parameter affine model in equation (1) (where the 4 parameters are defined as variables a, b, c, d, e, and f) and the 6-parameter affine model in equation (2) (where the 4 parameters are defined as variables a, b, e, and f):

[0462]

[0463]

[0464] Where (mv h 0 ,mv h 0 ) is the motion vector of the upper left control point, (mv h 1 ,mv h 1 ) is the motion vector of the upper right control point, (mv h 2,mv h 2 ) is the motion vector of the motion vector control point in the lower left corner, all three motion vectors are called control point motion vectors (CPMV), (x, y) represents the coordinates of the representative point relative to the upper left corner sample in the current block, and (mv h (x,y),mv v (x,y)) is the motion vector derived for the sample at (x,y). The CP motion vector can be signaled (e.g. in affine AMVP mode) or derived on the fly (e.g. in affine Merge mode). w and h are the width and height of the current block. In practice, division is performed by rounding and right shifting. In VTM, the representative point is defined as the center position of the sub-block, for example, when the coordinates of the upper left corner of the sub-block relative to the upper left sample in the current block are (xs, ys), the coordinates of the representative point are defined as (xs+2, ys+2). For each sub-block (i.e. 4x4 in VTM), the representative point is used to derive the motion vector for the entire sub-block.

[0465] To further simplify motion compensation prediction, sub-block based affine transformation prediction is applied. To derive the motion vector of each M×N (in the current VVC, both M and N are set to 4) sub-block, as Fig.17 As shown, the motion vector of the center sample of each sub-block is calculated according to equations (1) and (2) and rounded to a fractional precision of 1 / 16. Then, a motion compensation interpolation filter suitable for 1 / 16 pixels is applied to generate a prediction for each sub-block with a derived motion vector. The affine mode introduces an interpolation filter of 1 / 16 pixels.

[0466] After MCP, the high-precision motion vector of each sub-block is rounded and saved with the same precision as the regular motion vector.

[0467] 1.5.1 Signaling of Affine Prediction

[0468] Similar to the translational motion model, due to affine prediction, there are also two modes for signaling auxiliary information. They are AFFINE_INTER and AFFINE_MERGE modes.

[0469] 1.5.2AF_INTER mode

[0470] AF_INTER mode can be applied for CUs with width and height both greater than 8. A CU-level affine flag is signaled in the bitstream to indicate whether AF_INTER mode is used.

[0471] In this mode, for each reference picture list (list 0 or list 1), the affine AMVP candidate list consists of three types of affine motion predictors in the following order, where each candidate includes the estimated CPMV of the current block. 0 , mv 1 , mv 2 )The difference between the best CPMV found and the estimated CPMV. In addition, the index of the affine AMVP candidate from which the estimated CPMV is derived is further signaled.

[0472] (1) Inherited Affine Motion Predictor

[0473] The checking order is similar to the spatial MVP in HEVC AMVP list construction. First, the left-inherited affine motion predictor is derived from the first block in {A1, A0}, which is affine coded and has the same reference picture as the current block. Second, the above-inherited affine motion predictor is derived from the first block in {B1, B0, B2}, which is affine coded and has the same reference picture as the current block. Fig.19 Five blocks A1, A0, B1, B0, B2 are shown in FIG.

[0474] Once a neighboring block is found to be coded in affine mode, the CPMV of the coding unit covering the neighboring block is used to derive the predictor of the CPMV of the current block. For example, if A1 is coded in non-affine mode and A0 is coded in 4-parameter affine mode, the left-inherited affine MV predictor will be derived from A0. In this case, the CPMV of the CU covering A0 is, Fig. 21B CPMV in the upper left corner And the CPMV in the upper right corner As shown, the estimated CPMV for deriving the current block is composed of the upper left (coordinate (x0, y0)), upper right (coordinate (x1, y1)) and lower right (coordinate (x2, y2)) positions of the current block. express.

[0475] (2) Constructed affine motion predictor

[0476] The constructed affine motion predictor consists of control point motion vectors (CPMVs) derived from adjacent inter-coded blocks with the same reference picture, as Fig. 20 If the current affine motion model is 4-parameter affine, the number of CPMVs is 2. Otherwise, if the current affine motion model is 6-parameter affine, the number of CPMVs is 3. The CPMV in the upper left corner It is derived from the MV at the first block in the group {A, B, C}, which is inter-coded and has the same reference picture as the current block. It is derived from the MV at the first block in the {D, E} group, which is inter-coded and has the same reference picture as the current block. is derived from the MV at the first block in the {F, G} group that is inter-coded and has the same reference picture as the current block.

[0477] - If the current affine motion model is 4-parameter affine, only when and When all are known, the constructed affine motion predictor is inserted into the candidate list, that is, and Used as the estimated CPMV of the upper left (coordinate (x0, y0)), upper right (coordinate (x1, y1)), and lower right (coordinate (x2, y2)) positions of the current block.

[0478] - If the current affine motion model is 6-parameter affine, only when and are known, the constructed affine motion predictor will be inserted into the candidate list, that is, and Used as the estimated CPMV of the upper left (coordinate (x0, y0)), upper right (coordinate (x1, y1)), and lower right (coordinate (x2, y2)) positions of the current block.

[0479] When the constructed affine motion predictor is inserted into the candidate list, no clipping process is applied.

[0480] 1) Conventional AMVP motion predictor

[0481] The following applies until the number of affine motion predictors reaches a maximum.

[0482] 1) By setting all CPMVs equal to (if available) to derive an affine motion predictor.

[0483] 2) By setting all CPMVs equal to (if available) to derive an affine motion predictor.

[0484] 3) By setting all CPMVs equal to (if available) to derive an affine motion predictor.

[0485] 4) An affine motion predictor is derived by setting all CPMVs equal to HEVC TMVP (if available).

[0486] 5) An affine motion predictor is derived by setting all CPMVs to zero MV.

[0487] Notice, It has been derived in the constructed affine motion predictor.

[0488] In AF_INTER mode, when using the 4 / 6 parameter affine mode, 2 / 3 control points are required, so 2 / 3 MVDs need to be encoded for these control points, such as Fig.18A and 18B In JVET-K0337, it is proposed to derive MV as follows, that is, from mvd 0 Predicted MVD 1 and mvd 2 .

[0489]

[0490]

[0491]

[0492] in mvd i and mv 1 are the predicted motion vector, motion vector difference and motion vector of the upper left pixel (i=0), upper right pixel (i=1) or lower left pixel (i=2), respectively. Fig.18B Please note that the addition of two motion vectors (e.g., mvA(xA, yA) and mvB(xB, yB)) is equal to the sum of the two components, i.e., newMV=mvA+mvB, and the two components of newMV are set to (xA+xB) and (yA+yB), respectively.

[0493] 1.5.2.1 AF_MERGE Mode

[0494] When a CU is applied in AF_MERGE mode, it obtains the first block encoded in affine mode from the valid neighboring reconstructed blocks. And the selection order of candidate blocks is from left, top, top right, bottom left to top left (represented by A, B, C, D, E in sequence), such as Fig.21A For example, if the neighboring lower left block is encoded in affine mode, such as Fig. 21B As shown in A0 in the figure, the control point (CP) motion vector mv of the upper left corner, upper right corner and lower left corner of the adjacent CU / PU including block A is obtained. 0 N 、mv 1 N and mv 2 N Based on mv 0 N 、mv 1 N and mv 2N Calculate the motion vector mv of the upper left corner / upper right / lower left corner of the current CU / PU 0 C 、mv 1 C and mv 2 C (Only for 6-parameter affine model). It should be noted that in VTM-2.0, if the current block is affine coded, the sub-block located at the upper left corner (e.g., 4×4 block in VTM) stores mv0, and the sub-block located at the upper right corner stores mv1. If the current block is encoded using a 6-parameter affine model, the sub-block located at the lower left corner stores mv2; otherwise (the current block is encoded using a 4-parameter affine model), LB stores mv2'. The other sub-blocks store MVs for MC.

[0495] In deriving the CPMVmv of the current CU 0 C 、mv 1 C and mv 2 C Afterwards, the MVF of the current CU is generated according to the simplified affine motion model equations (1) and (2). In order to identify whether the current CU is coded in AF_MERGE mode, an affine flag is signaled in the bitstream when at least one neighboring block is coded in affine mode.

[0496] In JVET-L0142 and JVET-L0632, the affine merge candidate list is constructed by the following steps:

[0497] 1) Insert inherited affine candidates

[0498] An inherited affine candidate is one that is derived from the affine motion model of its valid neighbor affine coded block. Up to two inherited affine candidates are derived from the affine motion models of neighboring blocks and inserted into the candidate list. For the left predictor, the scan order is {A0, A1}; for the above predictors, the scan order is {B0, B1, B2}.

[0499] 2) Insert the constructed affine candidate

[0500] If the number of candidates in the affine Merge candidate list is less than MaxNumAffineCand (for example, 5), the constructed affine candidate is inserted into the candidate list. Constructing an affine candidate means constructing a candidate by combining neighbor motion information of each control point.

[0501] a) First, Fig. 22The motion information of the control point is derived from the specified spatial and temporal neighbors shown. CPk (k = 1, 2, 3, 4) represents the kth control point. A0, A1, A2, B0, B1, B2 and B3 are the spatial positions used to predict CPk (k = 1, 2, 3); T is the temporal position used to predict CP4.

[0502] The coordinates of CP1, CP2, CP3 and CP4 are (0, 0), (W, 0), (H, 0) and (W, H), respectively, where W and H are the width and height of the current block.

[0503] The motion information for each control point is obtained according to the following priority order:

[0504] – For CP1, the priority of checking is B2->B3->A2. If B2 is available, use B2. Otherwise, if B2 is not available, use B3. If both B2 and B3 are not available, use A2. If none of these three candidates are available, the motion information of CP1 cannot be obtained.

[0505] – For CP2, the check priority is B1→B0;

[0506] – For CP3, the inspection priority is A1→A0;

[0507] – For CP4, use T.

[0508] b) Secondly, the combination of control points is used to construct affine merge candidates.

[0509] I. Motion information of three control points is required to construct a 6-parameter affine candidate. Three control points can be selected from one of the following four combinations ({CP1, CP2, CP4}, {CP1, CP2, CP3}, {CP2, CP3, CP4}, {CP1, CP3, CP4}). The combination {CP1, CP2, CP3}, {CP2, CP3, CP4}, {CP1, CP3, CP4} will be converted into a 6-parameter motion model represented by the top left, top right, and bottom left control points.

[0510] II. Motion information of two control points is required to construct a 4-parameter affine candidate. Two control points can be selected from one of two combinations ({CP1, CP2}, {CP1, CP3}). These two combinations will be converted into a 4-parameter motion model represented by the top left and top right control points.

[0511] III. Insert the constructed combinations of affine candidates into the candidate list in the following order:

[0512] {CP1, CP2, CP3}, {CP1, CP2, CP4}, {CP1, CP3, CP4}, {CP2, CP3, CP4}, {CP1, CP2}, {CP1, CP3}

[0513] i. For each combination, check the reference index of list X for each CP, if they are all the same, then this combination has a valid CPMV for list X. If the combination does not have a valid CPMV for both list 0 and list 1, then the combination is marked as invalid. Otherwise, it is valid and the CPMV is put into the sub-block Merge list.

[0514] 3) Fill with zero motion vectors

[0515] If the number of candidates in the affine merge candidate list is less than 5, zero motion vectors with zero reference index are inserted into the candidate list until the list is full.

[0516] More specifically, for the sub-block Merge candidate list, there are 4-parameter Merge candidates for unidirectional prediction (for P slices) and bidirectional prediction (for B slices) with MV set to (0, 0) and prediction direction set to list 0.

[0517] 2. Disadvantages of existing implementations

[0518] When applied in VVC, ARC may have the following problems:

[0519] 1. It is not clear how to signal ARC-related information.

[0520] 2. It is unclear how to apply affine / TMVP or ATMVP when the resolutions of the reference picture, the collocated picture, and the current picture are different.

[0521] 3. The design of downsampling or upsampling filters for ARC could be better designed.

[0522] 3. Example method of adaptive resolution conversion

[0523] The following detailed inventions should be considered as examples to explain the general concept. These inventions should not be interpreted narrowly. In addition, these inventions can be combined in any way.

[0524] In the following discussion, SatShift(x,n) is defined as

[0525]

[0526] Shift(x,n) is defined as Shift(x,n)=(x+offset0)>>n.

[0527] In one example, offset0 and / or offset1 are set to (1 <<n)> >1 or (1<<(n-1)). In another example, offset0 and / or offset1 are set to 0.

[0528] In another example, offset0=offset1=((1<<n)> >1)-1 or ((1<<(n-1)))-1.

[0529] Clip3(min, max, x) is defined as

[0530]

[0531] Floor(x) is defined as the largest integer less than or equal to x.

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

[0533] Log2(x) is defined as the base 2 logarithm of x.

[0534] ARC Signaling

[0535] 1. It is proposed that ARC-related picture dimension information (width and / or height) can be signaled in video units other than DPS, VPS, SPS, PPS, APS, picture header, slice header, and slice group header.

[0536] a. In one example, picture dimension information related to ARC may be signaled in a Supplemental Enhancement Information (SEI) message.

[0537] b. In one example, picture dimension information related to ARC may be signaled in a separate video unit for ARC. For example, the video unit may be named Resolution Parameter Set (RPS) or Conversion Parameter Set (CPS), or any other name.

[0538] i. In one example, more than one combination of width and height is signaled in a separate video unit for ARC (such as to be named RPS or CPS).

[0539] 2. It is proposed not to signal the picture size (width or height) using the Exponential Golomb code of order 0.

[0540] a. In one example, it can be encoded with a fixed-length code or a unary code.

[0541] b. In one example, it can be encoded with a K (K>0) order Exponential Golomb code.

[0542] c. The dimensions may be signaled in a video unit (such as DPS, VPS, SPS, PPS, APS, picture header, slice header, slice group header, etc.), or in a separate video unit for ARC (such as RPS or CPS to be named).

[0543] 3. It is proposed to signal a resolution ratio instead of signaling multiple resolutions.

[0544] a. In one example, an indication of a base resolution may be signaled. Additionally, an indication of allowed ratio combinations (such as horizontal ratio, vertical ratio) may be further signaled.

[0545] b. In one example, an index of the indication of allowed rate combinations may be signaled in the PPS to indicate the actual resolution of a picture.

[0546] 4. It is proposed that when more than one combination of picture width and height is signaled in a single video unit (such as DPS, VPS, SPS, PPS, APS, picture header, slice header, slice group header, etc.), or in a separate video unit for ARC (such as RPS or CPS to be named), the width and height in the first combination are not allowed to be equal to the width and height in the second combination.

[0547] 5. It is proposed that the signalled dimensions (width W and height H) must be restricted.

[0548] a. For example, W should satisfy TW_min<=W<=TW_max.

[0549] b. For example, H should satisfy TH_min<=H<=TH_max.

[0550] c. In one example, W-TW_min-B may be signaled, where B is a fixed value such as 0.

[0551] d. In one example, H-TH_min-B may be signaled, where B is a fixed value such as 0.

[0552] e. In one example, TW_max-WB may be signaled, where B is a fixed value such as 0.

[0553] f. In one example, TH_max-HB may be signaled, where B is a fixed value such as 0.

[0554] g. In one example, TW_min and / or TH_min may be signaled.

[0555] h. In one example, TW_max and / or TH_max may be signaled.

[0556] 6. It is proposed that the signaled dimensions (width W and height H) must be in the form of W=w*X and H=h*Y, where X and Y are predefined integers, for example, X=Y=4.

[0557] a. In one example, w and h are signaled. W and H are derived from w and h.

[0558] 7. It is proposed that the image dimension information (width and / or height) can be encoded in a predictive manner.

[0559] a. In one example, the difference between the first width (W1) and the second width (W2), ie, W2-W1, may be signaled.

[0560] i. Alternatively, W2-W1-B may be signaled, where B is a fixed value such as 1.

[0561] ii. In one example, W2 should be greater than W1.

[0562] iii. In one example, the difference may be encoded with a unary code, or a truncated unary code, or a fixed length code, or a fixed length encoding.

[0563] b. In one example, the difference between the first height (H1) and the second height (H2), ie, H2-H1, may be signaled.

[0564] i. Alternatively, H2-H1-B may be signaled, where B is a fixed value such as 1.

[0565] ii. In one example, H2 should be greater than H1.

[0566] iii. In one example, the difference may be encoded with a unary code, or a truncated unary code, or a fixed length code, or a fixed length encoding.

[0567] c. In one example, the ratio between the first width (W1) and the second width (W2), i.e., W2 / W1, can be signaled. For example, if W=F*W1, then F is signaled. In another example, if W2=Shift(F*W1, P), then F is signaled, where P is a number representing precision, e.g., P=10.

[0568] i. Alternatively, F may be equal to (W2*P+W1 / 2) / W1, where P is a number representing precision, for example, P=10.

[0569] ii. Alternatively, FB can be signaled, where B is a fixed value such as 1.

[0570] iii. In one example, W2 should be greater than W1.

[0571] iv. In one example, F can be encoded using a unary code, or a truncated unary code, or a fixed-length code, or a fixed-length encoding.

[0572] d. In one example, the ratio between the first height (H1) and the second height (H2), i.e., H2 / H1, may be signaled. For example, if H2=F*H1, then F is signaled. In another example, if H2=Shift(F*H1, P), then F is signaled, where P is a number indicating precision, such as P=10.

[0573] i. Alternatively, F may be equal to (H2*P+H1 / 2) / H1, where P is a number representing precision, for example, P=10.

[0574] ii. Alternatively, FB can be signaled, where B is a fixed value such as 1.

[0575] iii. In one example, H2 should be greater than H1.

[0576] iv. In one example, the difference may be encoded using a unary code, or a truncated unary code, or a fixed length code, or a fixed length encoding.

[0577] e. In one example, W2 / W1 must be equal to H2 / H1, and only signaling W2 / W1 or H2 / H1 is applied.

[0578] 8. It is proposed that when different resolutions / resolution ratios are signaled, the following additional syntax elements may be further signaled.

[0579] a. The syntax element may be an indication of the CTU size.

[0580] b. The syntax element may be an indication of the minimum coding unit size.

[0581] c. The syntax element may be an indication of the maximum and / or minimum transform block size.

[0582] d. The syntax element may be an indication of the maximum depth of the quadtree and / or binary / ternary tree.

[0583] e. In one example, additional syntax elements may be tied to a specific picture resolution.

[0584] Reference Image List

[0585] 9. The conformance bitstream shall meet the following requirement: Reference pictures with a different resolution than the current picture shall be assigned a larger reference index than reference pictures with the same resolution as the current picture.

[0586] a. Alternatively, before decoding a picture / slice / slice / slice group, the reference picture list can be reordered so that for the reference picture list, reference pictures with different resolutions than the current picture should be assigned larger reference indices than reference pictures with the same resolution as the current picture.

[0587] Motion prediction from temporal blocks using ARC (e.g., TMVP and ATMVP)

[0588] 10. Assume there are two blocks, A and B. If the reference picture of block A is a reference picture with the same resolution as the current block, and the reference picture of block B is a reference picture with a different resolution from the current block, it is proposed to prohibit using the motion information of block B to predict block A.

[0589] a. If the reference picture of block A is a reference picture with a different resolution from the current block, and the reference picture of block B is a reference picture with the same resolution as the current block, it is proposed to prohibit using the motion information of block B to predict block A.

[0590] 11. It is proposed to prohibit prediction from blocks in reference pictures with different resolutions than the current picture.

[0591] 12. It is proposed that if the width of the reference picture is different from the width of the current picture or its height is different from the height of the current picture, the reference picture cannot be a collocated reference picture.

[0592] b. Alternatively, if the width of the reference picture is different from the width of the current picture and its height is different from the height of the current picture, then the reference picture cannot be a collocated reference picture.

[0593] 13. How to find a collocated block in TMVP / ATMVP or a collocated sub-block in ATMVP may depend on whether the collocated reference picture and the current picture have the same picture width and height.

[0594] a. In one example, assuming that the current picture dimension is W0*H0, and the collocated reference picture dimension is W1*H1, the position and / or dimension of the collocated block may depend on W0, H0, W1, and H1.

[0595] i. In one example, assuming that the upper left coordinate of the current block or sub-block is (x, y), the collocated block or sub-block may be derived as a block covering a position (x', y') in the collocated reference picture, where (x', y') may be calculated as x'=Rx*(x+offsetX)+offsetX' and y'=Ry*(y+offsetY)+offsetY'. The values ​​of offsetX' and offsetY' are 0.

[0596] 1) In one example, assuming that the dimension of the current block or the current sub-block is w*h, (offsetX, offsetY) may be equal to (x+w, y+h).

[0597] a) In an alternative example, (offsetX, offsetY) may be equal to (x+w / 2, y+h / 2).

[0598] b) In an alternative example, (offsetX, offsetY) may be equal to (x+w / 2-1, y+h / 2-1).

[0599] c) In an alternative example, (offsetX, offsetY) may be equal to (0, 0).

[0600] 2) In one example, Rx=W1 / W0.

[0601] 3) In one example, Ry=H1 / H0.

[0602] 4) In another example, x'=Shift(Rx*(x+offsetX), P), where P is a value representing precision, such as 10.

[0603] a) Rx can be derived as Rx = (W1*P+offset) / W0, where offset is an integer such as 0 or W0 / 2.

[0604] 5) In another example, y′=Shift(Ry*(y+offsetY), P), where P is a value representing precision, such as 10.

[0605] a) Ry can be derived as Ry = (H1*P+offset) / H0, where offset is an integer such as 0 or H0 / 2.

[0606] 14. In addition to upsampling or downsampling the reference samples in the reference picture at a resolution different from that of the current picture, it is proposed to further upsample or downsample the motion information / code information, and the upsampled and downsampled information can be used to encode subsequent blocks in other frames.

[0607] 15. It is proposed that if the width or height of the collocated reference picture is different from the width or height of the current picture, the buffer storing the MV of the collocated reference picture can be upsampled or downsampled.

[0608] b. In one example, the upsampled or downsampled MV buffer and the MV buffer before upsampled or downsampled may be stored simultaneously.

[0609] i. Alternatively, the MV buffer before upsampling or downsampling can be removed.

[0610] c. In one example, before upsampling, multiple MVs in the upsampled MV buffer are copied from one MV in the MV buffer.

[0611] i. For example, the plurality of MVs in the upsampled MV buffer may be in an area corresponding to an area where the MVs were in the MV buffer before upsampling.

[0612] d. In one example, one MV in the downsampled MV buffer may be selected from one of the plurality of MVs in the MV buffer prior to downsampling.

[0613] i. For example, one MV in the downsampled MV buffer may be in an area corresponding to an area where a plurality of MVs were in the MV buffer before downsampling.

[0614] 16. It is proposed that the derivation of the temporal MV in ATMVP may depend on the dimension W0*H0 of the current picture and the dimension W1*H1 of the collocated picture.

[0615] c. For example, if the dimension of the collocated picture is different from the dimension of the current picture, the temporal MV represented as tMV can be converted to tMV'.

[0616] i. For example, assuming that tMV=(tMVx, tMVy), tMV'=(tMVx', tMVy'), tMVx' can be calculated as tMVx'=Rx*tMVx+offsetx, and tMVy' can be calculated as tMVy'=Ry*tMVy+offsety. offsetx and offsety are values ​​such as 0.

[0617] 1) In one example, Rx=W1 / W0.

[0618] 2) In one example, Ry=H1 / H0.

[0619] 3) In another example, tMVx′=Shift(Rx*(tMVx+offsetX), P) or SatShift(Rx*(tMVx+offsetX), P), where P is a value representing precision, such as 10.

[0620] a) Rx can be derived as Rx = (W1*P+offset) / W0, where offset is an integer such as 0 or W0 / 2.

[0621] 4) In another example, tMVy′=Shift(Ry*(tMVy+offsetY), P) or SatShift(Ry*(tMVy+offsetY), P), where P is a value representing precision, such as 10.

[0622] a) Ry can be derived as Ry = (H1*P+offset) / H0, where offset is an integer such as 0 or H0 / 2.

[0623] 17. It is proposed that the derivation of the MV prediction (MVP) of the current block or current sub-block in TMVP / ATMVP may depend on the dimension of the current picture, and / or the dimension of the current picture referenced by the MVP, and / or the dimension of the collocated picture, and / or the dimension of the reference picture of the collocated picture (referenced by the collocated MV). The collocated MV refers to the MV found in the collocated block. Fig.23 An example is shown, where the current picture (CurPic), the reference picture (RefPic) referenced by the MVP, the collocated picture (ColPic), and the reference picture of the collocated picture referenced by the collocated MV (RefColPic) are located at time (or with POC) T0, T1, T2, T3, respectively. And their dimensions are W0*H0, W1*H1, W2*H2, and W3*H3, respectively. The MVP of the current block / subblock is represented as MvCur=(MvCurX, MvCurY), and the collocated MV is represented as MvCol(MvColX, MvColY).

[0624] d. MvCurX can be calculated as MvCurX=Rx*MvColX+offsetx, and MvCurY can be calculated as MvCurY=Ry*MvColY+offsety. offsetx and offsety are values ​​such as 0.

[0625] e. In one example, Rx=W0 / W2.

[0626] f. In one example, Ry=H0 / H2.

[0627] g. In an alternative example, MvCurX=Shift(Rx*(MvColX+offsetX), P) or MvCurX=SatShift(Rx*(MvColX+offsetX), P), where P is a value representing precision, such as 10.

[0628] i. Rx can be derived as Rx = (W0*P+offset) / W2, where offset is an integer such as 0 or W2 / 2.

[0629] h. In an alternative example, MvCurY=Shift(Ry*(MvColY+offsetY), P) or MvCurY=SatShift(Ry*(MvColY+offsetY), P), where P is a value representing precision, such as 10.

[0630] i. Ry can be derived as Ry = (H0*P+offset) / H2, where offset is an integer such as 0 or H2 / 2.

[0631] i. In one example, (W3, H3) must be equal to (W2, H2). Otherwise, MvCol may be considered unavailable.

[0632] j. In one example, (W0, H0) must be equal to (W1, H1), otherwise, MVCur can be considered unavailable.

[0633] Interpolation and Scaling in ARC

[0634] 18. It is proposed that one or more downsampling or upsampling filtering methods for ARC can be signaled in a video unit (such as, DPS, VPS, SPS, PPS, APS, picture header, slice header, slice group header, etc.), or in a separate video unit for ARC (such as to be named RPS or CPS).

[0635] 19. In the method of JVET-N0279, hori_scale_fp and / or vert_scale_fp may be signaled in a video unit (such as a DPS, VPS, SPS, PPS, APS, picture header, slice header, slice group header, etc.), or in a separate video unit for ARC (such as an RPS or CPS to be named).

[0636] 20. Any division operation in the proposed scaling method in RAC (such as the derivation of hori_scale_fp and / or vert_scale_fp, or the derivation of Rx and / or Ry in bullets 8-11) can be replaced or approximated by one or more operations, where one or more tables can be used. For example, the method disclosed in P1905289301 can be used to replace or approximate the division operation.

[0637] The above examples may be incorporated in the context of the methods described below, for example, methods 2400 , 2410 , 2420 , 2430 , 2440 , 2450 , 2460 , 2470 , 2480 , and 2490 , which may be implemented at a video decoder or a video encoder.

[0638] Fig.24A A flow chart of an exemplary method for video processing is shown. The method 2400 includes, at step 2402, performing conversion between a video including one or more video segments and a bitstream representation of the video, the video segment including one or more video units. In some embodiments, the bitstream representation conforms to a format rule and includes information related to an adaptive resolution conversion (ARC) process, the format rule specifies the applicability of the ARC process to the video segment, with a syntax structure different from a header syntax structure, a decoder parameter set (DPS), a video parameter set (VPS), a picture parameter set (PPS), a sequence parameter set (SPS), and an adaptation parameter set (APS), and includes an indication in the bitstream representation that the one or more video units of the video segment are encoded at different resolutions.

[0639] In some embodiments, the bitstream representation complies with format rules and includes information related to adaptive resolution conversion (ARC) processing, the dimensions of the one or more video units encoded with K-order Exponential Golomb codes are signaled in the bitstream representation, K is a positive integer, the format rules specify the applicability of the ARC processing to the video segment, and an indication that the one or more video units of the video segment are encoded at different resolutions is included in the bitstream representation in a syntactic structure.

[0640] In some embodiments, the bitstream representation complies with format rules and includes information related to adaptive resolution conversion (ARC) processing, the height (H) and width (W) are signaled in the bitstream representation, H and W are positive integers and are constrained, the format rules specify the applicability of adaptive resolution conversion (ARC) processing to the video segment, and an indication that the one or more video units of the video segment are encoded at different resolutions is included in the bitstream representation in a syntactic structure.

[0641] Fig. 24B A flow chart of an exemplary method for video processing is shown. The method 2410 includes, in step 2412, determining that (a) a first reference picture of a first temporal neighboring block of a current video block of a video has the same resolution as the current picture, and (b) a second reference picture of a second temporal neighboring block of the current video block has a different resolution than the current picture.

[0642] The method 2410 includes, in step 2414, performing a conversion between the current video block and the bitstream representation of the video by disabling motion information of the second temporal neighboring block in the prediction of the first temporal neighboring block as a result of the determination.

[0643] Fig.24C A flow chart of an exemplary method for video processing is shown. Method 2420 includes, in step 2422, determining that (a) a first reference picture of a first temporal neighboring block of a current video block of a video has a resolution different from a resolution of the current picture, and (b) a second reference picture of a second temporal neighboring block of the current video block has a resolution the same as a resolution of the current picture.

[0644] The method 2420 includes, in step 2424, performing a conversion between the current video block and the bitstream representation of the video by disabling motion information of the second temporal neighboring block in the prediction of the first temporal neighboring block as a result of the determination.

[0645] Fig.24D A flow chart of an exemplary method for video processing is shown. Method 2430 includes, in step 2432, for a current video block of a video, determining that a resolution of a reference picture including a video block associated with the current video block is different from a resolution of a current picture including the current video block.

[0646] The method 2430 includes, in step 2434, performing a conversion between the current video block and the bitstream representation of the video by disabling prediction processing based on the video block in the reference picture as a result of the determination.

[0647] Fig.24E A flow chart of an exemplary method for video processing is shown. Method 2440 includes, in step 2442, making a decision based on at least one dimension of a picture as to whether the picture is allowed to be used as a collocated reference picture for a current video block of a current picture.

[0648] The method 2440 includes, in step 2444, performing a conversion between a current video block of the video and a bitstream representation of the video based on the determination.

[0649] Fig.24F A flow chart of an exemplary method for video processing is shown. Method 2450 includes, at step 2452, identifying a collocated block for prediction of a current video block of a video based on a determination that dimensions of a collocated reference picture including the collocated block are the same as dimensions of a current picture including the current video block.

[0650] The method 2450 includes, in step 2454, performing a conversion between the current video block and a bitstream representation of the video using the concatenated block.

[0651] Figure 24G A flow chart of an exemplary method for video processing is shown. Method 2460 includes, in step 2462, for a current video block of a video, determining that a reference picture associated with the current video block has a resolution different than a resolution of a current picture including the current video block.

[0652] The method 2460 includes, in step 2464, performing an upsampling operation or a downsampling operation on one or more reference samples of a reference picture and motion information of the current video block or encoding information of the current video block as part of a conversion between the current video block and a bitstream representation of the video.

[0653] Fig.24H A flow chart of an exemplary method for video processing is shown. The method 2470 includes, in step 2472, for a conversion between a current video block of a video and a bitstream representation of the video, determining that a height or a width of a current picture including the current video block is different from a height or a width of a collocated reference picture associated with the current video block.

[0654] The method 2470 includes, in step 2474, performing an upsampling operation or a downsampling operation on a buffer storing one or more motion vectors of the collocated reference picture based on the determination.

[0655] Fig.24I A flow chart of an exemplary method for video processing is shown. The method 2480 includes, at step 2482, deriving information for an optional temporal motion vector prediction (ATMVP) process applied to a current video block based on dimensions of a current picture comprising the current video block of the video and dimensions of a collocated picture associated with the current video block.

[0656] The method 2480 includes, in step 2484, performing a conversion between the current video block and a bitstream representation of the video using the temporal motion vector.

[0657] Fig.24J A flow chart of an exemplary method for video processing is shown. The method 2490 includes, in step 2492, configuring a bitstream representation of the video for applying an adaptive resolution conversion (ARC) process to a current video block of the video. In some embodiments, information related to the ARC process is signaled in the bitstream representation, including that a current picture of the current video block has a first resolution, and the ARC process includes resampling a portion of the current video block at a second resolution different from the first resolution.

[0658] The method 2490 includes, in step 2494, performing a conversion between the current video block and a bitstream representation of the current video block based on the configuration.

[0659] 4. Example Implementations of the Disclosed Technology

[0660] Fig.25 is a block diagram of a video processing device 2500. Device 2500 may be used to implement one or more methods described herein. Device 2500 may be embodied in a smartphone, a tablet, a computer, an Internet of Things (IoT) receiver, etc. Device 2500 may include one or more processors 2502, one or more memories 2504, and video processing hardware 2506. Processor(s) 2502 may be configured to implement one or more methods described in this document (including, but not limited to, methods 1500, 1600, and 1700). Memory(s) 2504 may be used to store data and code for implementing the methods and techniques described herein. Video processing hardware 2506 may be used to implement some of the techniques described in this document in hardware circuits.

[0661] In some embodiments, the video encoding method may use Fig.25 The described device is implemented on a hardware platform.

[0662] Some embodiments of the disclosed technology include making a decision or determining to enable a video processing tool or mode. In an example, when a video processing tool or mode is enabled, the encoder will use or implement the tool or mode in the processing of a video block, but will not necessarily modify the resulting bitstream based on the use of the tool or mode. That is, the conversion from a video block to a bitstream representation of a video will use the video processing tool or mode when the video processing tool or mode is enabled based on a decision or determination. In another example, when a video processing tool or mode is enabled, the decoder will process the bitstream based on the video processing tool or mode knowing that the bitstream has been modified. That is, the conversion from the bitstream representation of a video to a video block will be performed using a video processing tool or mode enabled based on a decision or determination.

[0663] Some embodiments of the disclosed technology include making a decision or determination to disable a video processing tool or mode. In an example, when the video processing tool or mode is disabled, the encoder will not use the tool or mode in the conversion of video blocks to a bitstream representation of the video. In another example, when the video processing tool or mode is disabled, the decoder will process the bitstream knowing that the bitstream has not been modified using the video processing tool or mode enabled based on the decision or determination.

[0664] Fig.262600 is a block diagram illustrating an example video processing system 2600 in which various techniques disclosed herein may be implemented. Various implementations may include some or all of the components of system 2600. System 2600 may include an input 2602 for receiving video content. The video content may be received in a raw or uncompressed format (e.g., 8 or 10-bit multi-component pixel values), or may be received in a compressed or encoded format. Input 2602 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interfaces include wired interfaces (such as Ethernet, passive optical networks (PONs), etc.) and wireless interfaces (such as Wi-Fi or cellular interfaces).

[0665] System 2600 may include a coding component 2604 that can implement various encodings or encoding methods described herein. Coding component 2604 can reduce the average bit rate of the video from the input 2602 of coding component 2604 to the output to generate a coded representation of the video. Therefore, coding technology is sometimes referred to as video compression or video transcoding technology. As represented by component 2606, the output of coding component 2604 can be stored or sent via the connected communication. The storage or transmitted bitstream (or encoding) representation of the video received at input 2602 can be used by component 2608 to generate pixel values ​​or displayable video sent to display interface 2610. The process of generating user-visible video from the bitstream representation is sometimes referred to as video decompression. In addition, although some video processing operations are referred to as "coding" operations or tools, it should be understood that coding tools or operations are used at the encoder, and the corresponding decoding tools or operations of the reverse coding results will be performed by the encoder.

[0666] Examples of peripheral bus interfaces or display interfaces may include Universal Serial Bus (USB) or High Definition Multimedia Interface (HDMI) or Displayport, etc. Examples of storage interfaces include SATA (Serial Advanced Technology Attachment), PCI, IDE interfaces, etc. The technology described herein may be embodied in various electronic devices, such as mobile phones, laptop computers, smart phones, or other devices capable of performing digital data processing and / or video display.

[0667] In some embodiments, the following technical solutions may be implemented:

[0668] A1. A video processing method, comprising: performing conversion between a video comprising one or more video segments and a bitstream representation of the video, the video segment comprising one or more video units, wherein the bitstream representation conforms to format rules and includes information related to adaptive resolution conversion (ARC) processing, wherein dimensions of one or more video units encoded with K-order exponential Golomb codes are signaled in the bitstream representation, wherein K is a positive integer, wherein the format rules specify the applicability of ARC processing to the video segment, and wherein an indication that one or more video units of the video segment are encoded at different resolutions is included in the bitstream representation in a grammatical structure.

[0669] A2. The method of Solution A1, wherein the dimension comprises at least one of a width of the video unit and a height of the video unit in the one or more video units.

[0670] A3. The method of solution A1, wherein one or more video units comprise pictures.

[0671] A4. A method according to solution A1, wherein the syntax structure is a decoder parameter set (DPS), a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a picture header, a slice header or a slice group header.

[0672] A5. The method according to solution A1, wherein the syntax structure is a resolution parameter set (RPS) or a conversion parameter set (CPS).

[0673] A6. A method for video processing, comprising: performing conversion between a video comprising one or more video segments and a bitstream representation of the video, the video segment comprising one or more video units, wherein the bitstream representation conforms to format rules and includes information related to adaptive resolution conversion (ARC) processing, wherein the height (H) and width (W) of the video units of the one or more video units are signaled in the bitstream representation, wherein H and W are positive integers and are subject to constraints, wherein the format rules specify the applicability of adaptive resolution conversion (ARC) processing to the video segments, and wherein an indication that one or more video units of the video segments are encoded at different resolutions is included in the bitstream representation in a syntactic structure.

[0674] A7. According to the method of solution A6, where W ≤ TW max , and among them, TW max is a positive integer.

[0675] A8. A method according to solution A7, wherein TW is signaled in the bitstream representation max .

[0676] A9. The method according to solution A6, wherein TW min ≤W, and where TW min is a positive integer.

[0677] A10. The method according to solution A9, wherein TW is signaled in the bitstream representation min .

[0678] A11. According to the method of solution A6, where H ≤ TH max , and among them, TH max is a positive integer.

[0679] A12. The method according to solution A11, wherein TH is signaled in the bitstream representation max .

[0680] A13. The method according to solution A6, wherein TH min ≤H, and where TH min is a positive integer.

[0681] A14. The method according to solution A13, wherein TH is signaled in the bitstream representation min .

[0682] A15. A method according to solution A6, wherein the height H = h x Y and the width W = w x X, wherein w, h, X and Y are positive integers, and wherein w and h are signaled in the bitstream representation.

[0683] A16. The method according to solution A15, wherein X=Y=4.

[0684] A17. The method according to solution A15, wherein X and Y are predefined integers.

[0685] A18. A method according to solution A6, wherein one or more video units include pictures.

[0686] A19. A method for video processing, comprising: performing conversion between a video comprising one or more video segments and a bitstream representation of the video, the video segment comprising one or more video units, wherein the bitstream representation complies with format rules and includes information related to adaptive resolution conversion (ARC) processing, wherein the format rules specify the applicability of ARC processing to the video segments, wherein an indication that one or more video units of the video segments are encoded at different resolutions is included in the bitstream representation in a syntax structure different from a header syntax structure, a decoder parameter set (DPS), a video parameter set (VPS), a picture parameter set (PPS), a sequence parameter set (SPS), and an adaptation parameter set (APS).

[0687] A20. The method of solution A19, wherein the information related to the ARC process comprises a height (H) or a width (W) of a picture, the picture comprising one or more video units.

[0688] A21. A method according to solution A19 or A20, wherein information related to ARC processing is signaled in a Supplemental Enhancement Information (SEI) message.

[0689] A22. A method according to solution A19 or A20, wherein the header syntax structure includes a picture header, a slice header or a slice group header.

[0690] A23. A method according to solution A19 or A20, wherein information related to ARC processing is signaled in a resolution parameter set (RPS) or a conversion parameter set (CPS).

[0691] A24. The method of solution A19, wherein the information related to the ARC processing comprises a ratio of a height to a width of a picture, the picture comprising one or more video units.

[0692] A25. The method of solution A19, wherein the information related to the ARC processing comprises a plurality of ratios of different heights to different widths of a picture, the picture comprising one or more video units.

[0693] A26. A method according to solution A25, wherein an index corresponding to an allowed ratio among a plurality of ratios is signaled in a picture parameter set (PPS).

[0694] A27. A method according to solution A25, wherein any one of the multiple ratios is different from any other one of the multiple ratios.

[0695] A28. A method according to solution A19, wherein the information includes at least one of: (i) a difference between a first width and a second width; (ii) a difference between a first height and a second height; (iii) a ratio between the first width and the second width, or (iv) a ratio between the first height and the second height.

[0696] A29. A method according to solution A28, wherein the information is encoded using a unary code, a truncated unary code or a fixed-length code.

[0697] A30. A method according to solution A19, wherein the bitstream representation also includes at least one of the following: a syntax element indicating a coding tree unit (CTU) size, a syntax element indicating a minimum coding unit (CU) size, a syntax element indicating a maximum or minimum transform block (TB) size, a syntax element indicating a maximum depth of segmentation processing that can be applied to one or more video units, or a syntax element configured to be bound to a specific picture resolution.

[0698] A31. A method according to solution A19, wherein a first reference picture associated with a current picture comprising one or more video units has a first resolution equal to the resolution of the current picture, wherein a second reference picture associated with the current picture has a second resolution greater than the resolution of the current picture, and wherein a reference index of the second reference picture is greater than a reference index of the first reference picture.

[0699] A32. A method according to any of solutions A19 to A31, wherein the conversion generates one or more video units from the bitstream representation.

[0700] A33. A method according to any of solutions A19 to A31, wherein the conversion generates a bitstream representation from one or more video units.

[0701] A34. An apparatus in a video system, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to implement the method of any one of Solutions A19 to A33.

[0702] A35. A computer program product stored on a non-transitory computer-readable medium, the computer program product comprising a program code for executing a method according to any one of solutions A19 to A33.

[0703] In some embodiments, the following technical solutions may be implemented:

[0704] B1. A method for video processing, comprising: determining that (a) a resolution of a first reference picture of a first time-domain neighboring block of a current video block of a video is the same as a resolution of a current picture including the current video block, and (b) a resolution of a second reference picture of a second time-domain neighboring block of the current video block is different from a resolution of the current picture; and due to the determination, performing conversion between a bitstream representation of the current video block and the video by disabling motion information of the second time-domain neighboring block in a prediction of the first time-domain neighboring block.

[0705] B2. A method for video processing, comprising: determining that (a) a resolution of a first reference picture of a first time-domain neighboring block of a current video block of a video is different from a resolution of a current picture including the current video block, and (b) a resolution of a second reference picture of a second time-domain neighboring block of the current video block is the same as a resolution of the current picture; and due to the determination, performing conversion between a bitstream representation of the current video block and the video by disabling motion information of the second time-domain neighboring block in prediction of the first time-domain neighboring block.

[0706] B3. A method for video processing, comprising: for a current video block of a video, determining that a resolution of a reference picture including a video block associated with the current video block is different from a resolution of a current picture including the current video block; and due to the determination, performing a conversion between the current video block and a bitstream representation of the video by disabling prediction processing based on the video block in the reference picture.

[0707] B4. A method for video processing, comprising: making a decision based on at least one dimension of a picture as to whether the picture is allowed to be used as a collocated reference picture of a current video block of a current picture; and based on the decision, performing conversion between the current video block of a video and a bitstream representation of the video.

[0708] B5. The method according to solution B4, wherein at least one dimension of the reference picture is different from a corresponding dimension of a current picture comprising the current video block, and wherein the reference picture is not designated as a collocated reference picture.

[0709] B6. A method for video processing, comprising: identifying a collocated block for prediction of a current video block of a video based on a determination that dimensions of a collocated reference picture including the collocated block are the same as dimensions of a current picture including the current video block; and performing conversion between the current video block and a bitstream representation of the video using the collocated block.

[0710] B7. A method according to solution B6, wherein the prediction includes temporal motion vector prediction (TMVP) processing or optional temporal motion vector prediction (ATMVP) processing.

[0711] B8. A method according to solution B7, wherein the dimension of the current picture is W0×H0, wherein the dimension of the collocated reference picture is W1×H1, wherein the position or size of the collocated block is based on at least one of W0, H0, W1 or H1, and wherein W0, H0, W1 and H1 are positive integers.

[0712] B9. A method according to solution B8, wherein the derivation of the temporal motion vector in ATMVP processing is based on at least one of W0, H0, W1 or H1.

[0713] B10. Method according to solution B8, wherein the derivation of the motion vector prediction for the current video block is based on at least one of W0, H0, W1 or H1.

[0714] B11. A method for video processing, comprising: for a current video block of a video, determining that a reference picture associated with the current video block has a resolution different from a resolution of a current picture including the current video block; and as part of a conversion between the current video block and a bitstream representation of the video, performing an upsampling operation or a downsampling operation on one or more reference samples of the reference picture, and motion information of the current video block or encoding information of the current video block.

[0715] B12. The method according to solution B11, further comprising using information related to the upsampling operation or the downsampling operation in a frame different from the current frame including the current video block to encode a subsequent video block.

[0716] B13. A method for video processing, comprising: for a conversion between a current video block of a video and a bitstream representation of the video, determining that the height or width of a current picture including the current video block is different from the height or width of a collocated reference picture associated with the current video block; and based on the determination, performing an upsampling operation or a downsampling operation on a buffer storing one or more motion vectors of the collocated reference picture.

[0717] B14. A method for video processing, comprising: deriving information for optional temporal motion vector prediction (ATMVP) processing applied to a current video block based on dimensions of a current picture including a current video block of a video and dimensions of a collocated picture associated with the current video block; and using the temporal motion vector to perform conversion between the current video block and a bitstream representation of the video.

[0718] B15. A method according to solution B14, wherein the information comprises temporal motion vectors.

[0719] B16. The method according to solution B14, wherein the information comprises a motion vector prediction (MVP) for the current video block, and wherein the derivation is further based on dimensions of a reference picture referenced by the MVP.

[0720] B17. A method for video processing, comprising: configuring a bitstream representation of a video to apply adaptive resolution conversion (ARC) processing to a current video block of a video, wherein information related to the ARC processing is signaled in the bitstream representation, including that a current picture of the current video block has a first resolution, and wherein the ARC processing includes resampling a portion of the current video block at a second resolution different from the first resolution; and based on the configuration, performing conversion between the current video block and the bitstream representation of the current video block.

[0721] B18. A method according to solution B17, wherein the information related to the ARC processing includes parameters for one or more upsampling or downsampling filtering methods.

[0722] B19. A method according to solution B17, wherein the information related to the ARC process comprises a horizontal scaling factor or a vertical scaling factor for scaling a reference picture to achieve a resolution change within the encoded video sequence.

[0723] B20. A method according to solution B18 or B19, wherein the information is signaled in a decoder parameter set (DPS), a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a picture header, a slice header, a slice group header or a single video unit.

[0724] B21. The method according to solution B20, wherein the single video unit is a resolution parameter set (RPS) or a conversion parameter set (CPS).

[0725] B22. A method according to solution B19, wherein deriving the horizontal scaling factor or the vertical scaling factor comprises a division operation implemented using one or more tables.

[0726] B23. A method according to any of solutions B1 to B22, wherein the conversion generates the current video block from a bitstream representation.

[0727] B24. A method according to any of solutions B1 to B22, wherein the conversion generates a bitstream representation from the current video block.

[0728] B25. An apparatus in a video system, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to implement the method of any one of solutions B1 to B24.

[0729] B26. A computer program product stored on a non-transitory computer-readable medium, the computer program product comprising a program code for executing a method according to any one of solutions B1 to B24.

[0730] In some embodiments, the following technical solutions may be implemented:

[0731] C1. A method for video processing, comprising: configuring a bitstream representation of the current video block for applying adaptive resolution conversion (ARC) processing to a current video block, wherein information related to the ARC processing is signaled in the bitstream representation, wherein the current video block has a first resolution, and wherein the ARC processing includes resampling a portion of the current video block at a second resolution different from the first resolution; and based on the configuration, performing conversion between the current video block and the bitstream representation of the current video block.

[0732] C2. The method according to solution C1, wherein the information related to the ARC process includes a height (H) or a width (W) of a picture containing the current video block.

[0733] C3. A method according to solution C1 or C2, wherein information related to ARC processing is signaled in a supplemental enhancement information (SEI) message other than a decoder parameter set (DPS), a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a picture header, a slice header, and a slice group header.

[0734] C4. A method according to solution C1 or C2, wherein information related to ARC processing is signaled in a single video unit.

[0735] C5. The method according to solution C4, wherein the single video unit is a resolution parameter set (RPS) or a conversion parameter set (CPS).

[0736] C6. A method according to any one of solutions C1 to C5, wherein information related to ARC processing is encoded using a fixed-length code or a unary code.

[0737] C7. A method according to any of solutions C1 to C5, wherein the information related to the ARC process is encoded using an Exponential Golomb code of order K, where K is an integer greater than zero.

[0738] C8. A method according to solution C1 or C2, wherein information related to ARC processing is signaled in a decoder parameter set (DPS), a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a picture header, a slice header or a slice group header.

[0739] C9. The method according to solution C1, wherein the information related to the ARC process includes a ratio of a height to a width of a picture containing the current video block.

[0740] C10. The method according to solution C1, wherein the information related to the ARC process includes multiple ratios of different heights to different widths of the picture containing the current video block.

[0741] C11. The method according to solution C10, wherein an index corresponding to an allowed ratio among a plurality of ratios is signaled in a picture parameter set (PPS).

[0742] C12. A method according to solution C10, wherein any one of the plurality of ratios is different from any other one of the plurality of ratios.

[0743] C13. According to the method of solution C2, where TW min ≤W≤TW max , and among them TW min and TW max is a positive integer.

[0744] C14. A method according to solution C13, wherein TW is signaled in the bitstream representation of the current video block. min and TW max .

[0745] C15. According to the method of solution C2, where TH min ≤H≤TH max , and TH mi and TH max is a positive integer.

[0746] C16. A method according to solution C13, wherein TH is signaled in the bitstream representation of the current video block. mi and TH max .

[0747] C17. A method according to solution C1, wherein the picture including the current video block has a height H=h×Y and a width W=w×X, wherein w, h, W, H, X and Y are positive integers, wherein X and Y are predefined integers, and wherein the information related to ARC processing includes w and h.

[0748] C18. Method according to solution C17, where X=Y=4.

[0749] C19. A method according to solution C1, wherein the information related to the ARC processing includes at least one of: (i) a difference between a first width and a second width, (ii) a difference between a first height and a second height, (iii) a ratio between the first width and the second width, or (iv) a ratio between the first height and the second height.

[0750] C20. A method according to solution C19, wherein the information is encoded using a unary code, a truncated unary code or a fixed-length code.

[0751] C21. A method according to solution C1, wherein the bitstream representation further includes at least one of: a syntax element indicating a coding tree unit (CTU) size, a syntax element indicating a minimum coding unit (CU) size, a syntax element indicating a maximum or minimum transform block (TB) size, a syntax element indicating a maximum depth of segmentation processing that can be applied to a current video block, or a syntax element configured to be bound to a specific picture resolution.

[0752] C22. A method for video processing, comprising: making a decision about selecting a reference picture of a time-domain neighboring block of a current video block for prediction; and performing conversion between the current video block and a bitstream representation of the current video block based on the decision and the reference picture of the current video block.

[0753] C23. A method according to solution C22, wherein the resolution of the reference picture of the current video block is the same as the resolution of the current video block, wherein the resolution of the reference picture of the temporal neighboring blocks is different from the resolution of the current video block, and wherein the prediction of the current video block does not use motion information associated with the temporal neighboring blocks.

[0754] C24. A method according to solution C22, wherein the resolution of the reference picture of the current video block is different from the resolution of the current video block, wherein the resolution of the reference picture of the temporal neighboring blocks is different from the resolution of the current video block, and wherein the prediction of the current video block does not use motion information associated with the temporal neighboring blocks.

[0755] C25. A method for video processing, comprising: making a decision to designate a reference picture as a collocated reference picture based on at least one dimension of a reference picture of a current video block; and based on the decision, performing a conversion between the current video block and a bitstream representation of the current video block.

[0756] C26. The method of solution C25, wherein at least one dimension of the reference picture is different from a corresponding dimension of a current picture that includes the current video block, and wherein the reference picture is not designated as a collocated reference picture.

[0757] C27. A method for video processing, comprising: identifying a collocated block for prediction of a current video block based on a comparison of dimensions of a collocated reference picture associated with the collocated block and dimensions of a current picture including the current video block; and performing prediction on the current video block based on the identification.

[0758] C28. A method according to solution C27, wherein the prediction includes a temporal motion vector prediction process or an optional temporal motion vector prediction (ATMVP) process.

[0759] C29. A method according to solution C27 or C28, wherein the dimensions of the current picture are W0×H0, wherein the dimensions of the collocated reference picture are W1×H1, and wherein the position or size of the collocated block is based on at least one of W0, H0, W1 or H1.

[0760] C30. A method according to solution C29, wherein the derivation of the temporal motion vector in ATMVP processing is based on at least one of W0, H0, W1 or H1.

[0761] C31. A method according to solution C29, wherein the derivation of the motion vector prediction for the current video block is based on at least one of W0, H0, W1 or H1.

[0762] C32. The method according to solution C1, wherein the information related to the ARC processing includes parameters for one or more upsampling or downsampling filtering methods.

[0763] C33. A method according to solution C1, wherein the information related to the ARC process comprises a horizontal scaling factor or a vertical scaling factor for scaling a reference picture to achieve a resolution change within a coded video sequence (CVS).

[0764] C34. A method according to solution C32 or C33, wherein the information is signaled in a decoder parameter set (DPS), a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a picture header, a slice header, a slice group header or a single video unit.

[0765] C35. A method according to solution C34, wherein the single video unit is a resolution parameter set (RPS) or a conversion parameter set (CPS).

[0766] C36. An apparatus in a video system, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to implement the method of any one of solutions C1 to C35.

[0767] C37. A computer program product stored on a non-transitory computer-readable medium, the computer program product comprising a program code for executing a method according to any one of solutions C1 to C35.

[0768] From the foregoing, it can be understood that specific embodiments of the presently disclosed technology have been described herein for illustrative purposes, but various modifications may be made without departing from the scope of the invention. Accordingly, the presently disclosed technology is not to be limited, except as set forth in the appended claims.

[0769] The implementation and functional operation of the subject matter described in this patent document can be implemented in various systems, digital electronic circuits, or in computer software, firmware or hardware, including the structures disclosed in this specification and their structural equivalents, or in one or more combinations thereof. The visual mode of the subject matter described in this specification can be implemented as one or more computer program products, that is, one or more temporary and non-temporary computer program instruction modules encoded on a computer-readable medium, for being run by a data processing device or controlling the operation of a data processing device. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of a substance that affects machine-readable propagation signaling, or a combination of one or more of them. The terms "data processing unit" and "data processing device" include all devices, equipment and machines for processing data, including, for example, a programmable processor, a computer or multiple processors or computers. In addition to hardware, the device may include code that creates an operating environment for the computer program in question, for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, and one or more combinations thereof.

[0770] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language (including compiled or interpreted languages) and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or portions of code). A computer program may be deployed for execution on one or more computers located at one site or distributed across multiple sites and interconnected by a communications network.

[0771] The processes and logic flows described in this specification may be performed by one or more programmable processors running one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be performed by, and the apparatus may be implemented as, special purpose logic circuitry, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).

[0772] For example, processors suitable for running computer programs include general and special microprocessors, and any one or more processors of any type of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor that executes instructions and one or more storage devices that store instructions and data. Typically, a computer will also include one or more large-capacity storage devices for storing data, such as a magnetic disk, a magneto-optical disk, or an optical disk, or be operably coupled to one or more large-capacity storage devices to receive data from it or to transmit data to it, or both. However, a computer does not necessarily need to have such a device. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices. The processor and memory can be supplemented by a dedicated logic circuit, or incorporated into a dedicated logic circuit.

[0773] Intended to combine the instructions and the Figure 1 The foregoing are to be considered exemplary only, where exemplary means example. As used herein, the use of "or" is intended to include "and / or" unless the context clearly indicates otherwise.

[0774] Although this patent document includes many details, it should not be interpreted as a limitation on any invention or the scope of the claims, but rather as a description of features specific to a particular embodiment of a particular invention. Certain features described in this patent document in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, the various functions described in the context of a single embodiment may also be implemented separately in multiple embodiments, or in any suitable sub-combination. In addition, although features may be described as working in certain combinations and even initially claimed as such, in some cases one or more features in the combination may be removed from the claimed combination, and the claimed combination may be directed to a sub-combination or a variation of a sub-combination.

[0775] Likewise, although operations are described in a particular order in the accompanying drawings, this should not be understood as requiring that these operations be performed in the particular order or sequential order shown, or that all of the operations shown be performed, in order to achieve the desired results. In addition, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.

[0776] Only some implementations and examples are described, and other implementations, enhancements, and variations can be made based on what is described and illustrated in this patent document.

Claims

1. A method for processing video data, comprising: For conversion between visual media data of a video and a bitstream of the video, determining first information associated with a first codec mode of the visual media data; performing the conversion based at least on the first encoding and decoding mode; wherein the first coding mode comprises deriving prediction samples based on one or more reference pictures, the one or more reference pictures having one or more resolutions different from a resolution of a current picture comprising the visual media data, and The resolution of the current picture is indicated by the first information, wherein the first information indicates at least one of a width W of the current picture and a height H of the current picture, wherein the width W is an integer multiple of a first value, and the height H is an integer multiple of a second value; wherein the first value and the second value are respectively based on at least one predefined value; wherein enabling or disabling temporal motion vector prediction or sub-block-based temporal motion vector prediction for the visual media data is determined based on whether the first coding mode is enabled; Wherein, when the first coding mode is enabled, the temporal motion vector prediction or the sub-block based temporal motion vector prediction is disabled for the visual media data.

2. The method of claim 1, wherein the first information is included in the bitstream in a sequence parameter set (SPS). 3 . The method of claim 1 , wherein the first information is included in the bitstream in a picture parameter set (PPS). 4 . The method according to claim 1 , wherein the width W is less than or equal to a maximum value TW_max and greater than or equal to a minimum value TW_min, and the height H is less than or equal to a maximum value TH_max and greater than or equal to a minimum value TH_min. The method according to claim 4 , wherein the maximum value TW_max and / or the maximum value TH_max are included in the bitstream. The method according to claim 1 , wherein the predefined value is a positive integer.

7. The method of claim 1, wherein the converting comprises encoding the visual media data into the bitstream.

8. The method of claim 1, wherein the converting comprises decoding the visual media data from the bitstream.

9. An apparatus for processing video data, comprising a processor and a non-transitory memory having instructions thereon, wherein when the processor executes the instructions, the processor is caused to: For conversion between visual media data of a video and a bitstream of the video, determining first information associated with a first codec mode of the visual media data; performing the conversion based at least on the first encoding and decoding mode; in, The first coding mode comprises deriving prediction samples based on one or more reference pictures, the one or more reference pictures having one or more resolutions different from a resolution of a current picture comprising the visual media data, and The resolution of the current picture is indicated by the first information, wherein the first information indicates at least one of a width W of the current picture and a height H of the current picture, wherein the width W is an integer multiple of a first value, and the height H is an integer multiple of a second value; wherein the first value and the second value are respectively based on at least one predefined value; wherein enabling or disabling temporal motion vector prediction or sub-block-based temporal motion vector prediction for the visual media data is determined based on whether the first coding mode is enabled; Wherein, when the first coding mode is enabled, the temporal motion vector prediction or the sub-block based temporal motion vector prediction is disabled for the visual media data.

10. The apparatus of claim 9, wherein the first information is included in the bitstream in a sequence parameter set (SPS).

11. The apparatus of claim 9, wherein the first information is included in the bitstream in a picture parameter set (PPS). 12 . The device of claim 9 , wherein the width W is less than or equal to a maximum value TW_max and greater than or equal to a minimum value TW_min, and the height H is less than or equal to a maximum value TH_max and greater than or equal to a minimum value TH_min. 13 . The apparatus according to claim 12 , wherein the maximum value TW_max and / or the maximum value TH_max are included in the bitstream. The apparatus according to claim 9 , wherein the predefined value is a positive integer.

15. A non-transitory computer-readable storage medium storing instructions for causing a processor to: For conversion between visual media data of a video and a bitstream of the video, determining first information associated with a first codec mode of the visual media data; performing the conversion based at least on the first encoding and decoding mode; in, The first coding mode comprises deriving prediction samples based on one or more reference pictures, the one or more reference pictures having one or more resolutions different from a resolution of a current picture comprising the visual media data, and The resolution of the current picture is indicated by the first information, wherein the first information indicates at least one of a width W of the current picture and a height H of the current picture, wherein the width W is an integer multiple of a first value, and the height H is an integer multiple of a second value; wherein the first value and the second value are respectively based on at least one predefined value; wherein enabling or disabling temporal motion vector prediction or sub-block-based temporal motion vector prediction for the visual media data is determined based on whether the first coding mode is enabled; Wherein, when the first coding mode is enabled, the temporal motion vector prediction or the sub-block based temporal motion vector prediction is disabled for the visual media data.

16. The non-transitory computer-readable storage medium of claim 15, wherein the first information is included in the bitstream in a sequence parameter set (SPS). 17 . The non-transitory computer-readable storage medium of claim 15 , wherein the first information is included in the bitstream in a picture parameter set (PPS).

18. A method for storing a bitstream, comprising: determining first information associated with a first codec mode of visual media data of a video; generating a bitstream from the visual media data based at least on the first codec mode; as well as storing the bitstream in a non-transitory computer-readable storage medium, wherein the first coding mode comprises deriving prediction samples based on one or more reference pictures, the one or more reference pictures having one or more resolutions different from a resolution of a current picture comprising the visual media data, and The resolution of the current picture is indicated by the first information, wherein the first information indicates at least one of a width W of the current picture and a height H of the current picture, wherein the width W is an integer multiple of a first value, and the height H is an integer multiple of a second value.

19. An apparatus in a video system, comprising a processor and a non-transitory memory having instructions thereon, wherein: When the instructions are executed by a processor, the processor is caused to implement the method of claim 8 or 9.

20. A non-transitory computer-readable medium storing instructions, which, when executed by a processor, causes the processor to perform the method according to any one of claims 4 to 9.