Video decoding method and device

By signaling the constant output picture size in the video usage information (VUI), the problem of insufficient control of the output picture resolution by display devices in the existing technology is solved, and flexible management of resolution by end users and content providers is achieved. , to meet the needs of different scenarios.

CN114097230BActive Publication Date: 2024-10-11TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technology limits the display device's ability to pre-process and control the output image resolution in video encoding and decoding, hindering content providers from providing video content with specific resolutions, and cannot exclude post-processing during the decoding process to maintain a constant output image. size.

Method used

Freedom of post-processing of the display device is achieved by signaling a constant output picture size in the Video Usage Information (VUI), allowing the end user to freely select the display picture resolution and optionally accept the recommendations of the person in charge.

Benefits of technology

It solves the limitation of the display device's ability to control the resolution of output images and provides greater flexibility and freedom, allowing content providers to more flexibly manage the resolution of video content to meet the needs of different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114097230B_ABST
    Figure CN114097230B_ABST
Patent Text Reader

Abstract

The present application includes a method and apparatus for video encoding and decoding, the apparatus including: computer code, configured to cause one or more processors to execute: obtaining an input bit stream including metadata and video data; decoding the video data; determining whether the metadata includes at least one first flag, the at least one first flag being used to signal at least one component of the picture size of at least one picture of the video data; and in the case of determining that the metadata includes the at least one first flag, signaling a display device to display at least one picture of the video data according to the at least one first flag.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application No. 62 / 955,514, filed on December 31, 2019, and U.S. Patent Application No. 17 / 063,253, filed on October 5, 2020, the entire contents of which are incorporated herein by reference. Background Art

[0003] 1. Field

[0004] The present disclosure relates to signaling constant picture size information, for example in video usage information (VUI), wherein, according to exemplary embodiments, such information may indicate, in addition to other information described herein, a guided output picture size for display, any of which may or may not have one or more cropped output pictures having any of one or more different width and height values ​​for use in processes such as reference picture resampling (RPR).

[0005] 2. Description of related technologies

[0006] In the draft specification of the Universal Video Codec (VVC) JVET-P2001 (edited and updated by JVET-Q0041), RPR can implement changes in the spatial resolution of one or more decoded pictures. Each output picture can have a different picture size from other output pictures according to the picture width and height signaled in the picture parameter set (PPS) and the crop window offset value. However, disadvantageously, these features rely on requiring the display device (e.g., as a post-processing) to have the ability to rescale the output picture to a constant picture size to fit the display resolution of the display device.

[0007] Disadvantageously, such post-processing is purely a role for each display device, thus technically limiting the ability to pre-process the output display on the display device to control, for example, the display device display resolution. For example, in certain content service scenarios, a content provider may be prevented from providing video content for consumption or at least output at a specific resolution due to technical limitations, and may even be further prevented from indicating an optimal or recommended resolution for display based on, for example, the intention of a director.

[0008] Furthermore, even JVET-N0052 refuses to signal a (constant) output picture size in the SPS to exclude such a process or processes from the decoding process as post-processing.

[0009] Therefore, a technical solution to this problem is needed. Summary of the invention

[0010] In order to address one or more different requirements, these requirements carry intent (such as the intent of the person in charge) and leave the display freedom for post-processing, the inventors disclose a technical solution, including, for example, signaling any constant output picture size in the VUI as information metadata. According to an embodiment, the end user's device can still freely choose the display picture resolution, while also being able to optionally accept the person in charge's suggestion.

[0011] A method and apparatus are provided, the apparatus comprising: a memory configured to store computer program code; and one or more processors configured to access the computer program code and operate according to the instructions of the computer program code. The computer program code comprises: an acquisition code configured to cause the at least one processor to acquire an input bitstream including metadata and video data; a decoding code configured to cause the at least one processor to decode the video data; a determination code configured to cause the at least one processor to determine whether the metadata includes at least one first flag, the at least one first flag being used to signal at least one component of the picture size of at least one picture of the video data; and a signaling code configured to cause the at least one processor to signal a display device to display at least one picture of the video data according to the at least one first flag if it is determined that the metadata includes the at least one first flag.

[0012] According to an exemplary embodiment, the video data is encoded in a Versatile Video Codec (VVC) format.

[0013] According to an exemplary embodiment, the at least one first flag indicates whether to display the at least one picture in the picture size according to a value of the component which is preset and indicated by the metadata.

[0014] According to an exemplary embodiment, the component includes at least one of a width and a height of the at least one picture.

[0015] According to an exemplary embodiment, at least one of a width and a height of the at least one picture includes a luma sample unit.

[0016] According to an exemplary embodiment, the determining code is further configured to cause the at least one processor to determine, in response to determining that the metadata includes the at least one first flag, whether the metadata includes a width value regarding a width of a plurality of pictures including the at least one picture, and whether the metadata includes a height value regarding a height of the plurality of pictures. According to an exemplary embodiment, at least one of the values ​​of the components includes at least one of the width and the height.

[0017] According to an exemplary embodiment, the signaling code is further configured to cause the at least one processor, in response to determining that the metadata includes at least one of the width value and the height value, to signal at least one post-resampling process to maintain at least one of the width value and the height value for displaying the at least one picture by the display device.

[0018] According to an exemplary embodiment, the signaling code is further configured to cause the at least one processor to signal the at least one post-resampling process to maintain the width value at a width indicated by a sequence parameter set for the video data in response to determining that the width value is absent from the metadata.

[0019] According to an exemplary embodiment, the signaling code is further configured to cause the at least one processor to signal the at least one post-resampling process to maintain the height value at a height indicated by a sequence parameter set for the video data in response to determining that the height value is not present in the metadata.

[0020] According to an exemplary embodiment, the video data includes at least one second flag as a video usage information (VUI) parameter. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Other features, properties and various advantages of the disclosed subject matter will become further apparent from the following detailed description and accompanying drawings, in which:

[0022] Figure 1 is a simplified block diagram of a communication system according to an embodiment.

[0023] Figure 2 This is how the video decoder and encoder are placed in a streaming environment according to an embodiment.

[0024] Figure 3 is a functional block diagram of a video decoder according to an embodiment.

[0025] Figure 4 is a functional block diagram of a video encoder according to an embodiment.

[0026] Figure 5 The intra prediction modes used in HEVC and JEM are shown.

[0027] Figure 6 An example of reference layers for intra directional mode is shown.

[0028] Figure 7 A schematic diagram showing the DC-mode PDPC weights for the (0, 0) and (1, 0) positions within a 4×4 block.

[0029] Figure 8A schematic diagram of local brightness compensation (LIC) is shown.

[0030] Fig. 9A The intra prediction modes used in HEVC are shown.

[0031] Fig. 9B The intra prediction modes used in VVC are shown.

[0032] Fig.10 is a simplified block diagram of a video decoding apparatus according to an embodiment.

[0033] Fig.11 is a simplified schematic diagram of a VUI parameter syntax according to an embodiment.

[0034] Fig.12 is a schematic diagram of a computer system according to an embodiment.

[0035] Fig.13 is a flowchart of a video decoding method according to an embodiment. DETAILED DESCRIPTION

[0036] The suggested features discussed below may be used alone or in any combination in any order. In addition, these embodiments may be implemented by processing circuits (e.g., one or more processors or one or more integrated circuits). In one example, the one or more processors execute a program stored in a non-volatile computer-readable medium.

[0037] Figure 1 A simplified block diagram of a communication system 100 according to an embodiment of the present disclosure is shown. The communication system 100 may include at least two terminal devices 102 and 103 interconnected via a network 105. For unidirectional data transmission, a first terminal device 103 may encode video data at a local location for transmission to another terminal device 102 via the network 105. The second terminal device 102 may receive the encoded video data of another terminal device from the network 105, decode the encoded video data, and display the recovered video data. Unidirectional data transmission is more common in applications such as media services.

[0038] Figure 1 A second pair of terminal devices 101 and 104 are shown that support bidirectional transmission of encoded video, which may occur, for example, during a video conference. For bidirectional data transmission, each terminal device 101 and 104 may encode video data captured at a local location for transmission to the other terminal device over a network 105. Each terminal device 101 and 104 may also receive encoded video data transmitted by the other terminal device, and may decode the encoded video data and display the recovered video data on a local display device.

[0039] exist Figure 1 In the embodiment of the present invention, terminal devices 101, 102, 103 and 104 may be servers, personal computers and smart phones, but the principles of the present disclosure are not limited thereto. Embodiments of the present disclosure are applicable to laptop computers, tablet computers, media players and / or dedicated video conferencing equipment. Network 105 represents any number of networks that transmit encoded video data between terminal devices 101, 102, 103 and 104, including, for example, wired and / or wireless communication networks. Communication network 105 may exchange data in circuit switching and / or packet switching channels. Representative networks include telecommunication networks, local area networks, wide area networks and / or the Internet. For the purpose of this discussion, unless explained below, the architecture and topology of network 105 may be irrelevant to the operation of the present disclosure.

[0040] As an application example of the disclosed subject matter, Figure 2 The placement of the video decoder and encoder in a streaming environment is shown. The disclosed subject matter is equally applicable to other video-enabled applications including, for example, video conferencing, digital TV, storing compressed video on digital media including CDs, DVDs, memory sticks, etc., and the like.

[0041] The streaming system may include an acquisition subsystem 203, which may include a video source 201, such as a digital camera, which creates, for example, an uncompressed video sample stream 213. The sample stream 213 may be emphasized as a high data volume video sample stream compared to an encoded video bitstream, and may be processed by an encoder 202 coupled to the camera 201. The encoder 202 may include hardware, software, or a combination of hardware and software to implement or implement various aspects of the disclosed subject matter as described in more detail below. The encoded video bitstream 204 may be emphasized as a lower data volume compared to the sample stream, and may be stored on a streaming server 205 for future use. One or more streaming clients 212 and 207 may access the streaming server 205 to retrieve copies 208 and 206 of the encoded video bitstream 204. The client 212 may include a video decoder 211. The video decoder 211 decodes the incoming copy 208 of the encoded video bitstream and produces an output video sample stream 210 that can be presented on a display 209 or another presentation device (not shown). In some streaming systems, the video bitstreams 204, 206, and 208 may be encoded according to certain video codec / compression standards. Examples of these standards are mentioned above and are further described herein.

[0042] Figure 3 is a functional block diagram of a video decoder 300 according to an embodiment of the present invention.

[0043] Receiver 302 may receive one or more encoded video sequences to be decoded by video decoder 300; in the same or another embodiment, one encoded video sequence is received at a time, wherein the decoding of each encoded video sequence is independent of the other encoded video sequences. The encoded video sequence may be received from channel 301, which may be a hardware / software link to a storage device storing the encoded video data. Receiver 302 may receive the encoded video data as well as other data, such as encoded audio data and / or auxiliary data streams that may be forwarded to their respective consuming entities (not shown). Receiver 302 may separate the encoded video sequence from the other data. To prevent network jitter, buffer memory 303 may be coupled between receiver 302 and entropy decoder / parser 304 (hereinafter referred to as "parser"). When receiver 302 receives data from a storage / forward device with sufficient bandwidth and controllability or from an isochronous synchronous network, it may not be necessary to configure buffer memory 303, or the buffer memory may be made smaller. Of course, for use over a packet network such as the Internet, a buffer memory 303 may also be required, which may be relatively large and may advantageously have an adaptive size.

[0044] The video decoder 300 may include a parser 304 to reconstruct symbols 313 from an entropy coded video sequence. The categories of these symbols include information for managing the operation of the video decoder 300, and potential information for controlling a display device such as a display 312, which is not part of the decoder but may be coupled to the decoder. The control information for the display device may be in the form of a parameter set fragment (not shown) of Supplementary Enhancement Information (SEI message) or Video Usability Information. The parser 304 may parse / entropy decode the received coded video sequence. The coding and decoding of the coded video sequence may be performed according to a video coding technique or standard, and may follow principles known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser 304 may extract a subgroup parameter set for at least one of the subgroups of pixels in the video decoder from the coded video sequence based on at least one parameter corresponding to the group. Subgroups may include Group of Pictures (GOP), pictures, tiles, slices, macroblocks, Coding Units (CU), blocks, Transform Units (TU), Prediction Units (PU), etc. The entropy decoder / parser may also extract information such as transform coefficients, quantizer parameter values, motion vectors, etc. from the encoded video sequence.

[0045] The parser 304 may perform an entropy decoding / parsing operation on the video sequence received from the buffer memory 303, thereby creating the symbol 313. The parser 304 may receive the encoded data and selectively decode a specific symbol 313. In addition, the parser 304 may determine whether to provide the specific symbol 313 to the motion compensation prediction unit 306, the scaler / inverse transform unit 305, the intra prediction unit 307, or the loop filter unit 311.

[0046] Depending on the type of the coded video picture or a portion of the coded video picture (e.g., inter- and intra-pictures, inter- and intra-blocks), and other factors, the reconstruction of the symbol 313 may involve a plurality of different units. Which units are involved and how they are involved may be controlled by subgroup control information parsed from the coded video sequence by the parser 304. For the sake of brevity, such subgroup control information flow between the parser 304 and the plurality of units below is not described.

[0047] In addition to the functional blocks already mentioned, the video decoder 300 can be conceptually subdivided into several functional units as described below. In a practical implementation operating under commercial constraints, many of these units interact closely with each other and can be at least partially integrated with each other. However, for the purpose of describing the disclosed subject matter, the conceptual subdivision into the following functional units is appropriate.

[0048] The first unit is the sealer / inverse transform unit 305. The sealer / inverse transform unit 305 receives the quantized transform coefficients as symbols 313 from the parser 304, as well as control information, including which transform method to use, block size, quantization factor, quantization scaling matrix, etc. The sealer / inverse transform unit 305 may output a block including sample values, which may be input into the aggregator 310.

[0049] In some cases, the output samples of the scaler / inverse transform unit 305 may belong to an intra-coded block; that is, a block that does not use predictive information from a previously reconstructed picture, but may use predictive information from a previously reconstructed portion of the current picture. Such predictive information may be provided by the intra-picture prediction unit 307. In some cases, the intra-picture prediction unit 307 generates a block of the same size and shape as the block being reconstructed using surrounding reconstructed information extracted from the (partially reconstructed) current picture 309. In some cases, the aggregator 310 adds the prediction information generated by the intra-prediction unit 307 to the output sample information provided by the scaler / inverse transform unit 305 on a per-sample basis.

[0050] In other cases, the output samples of the scaler / inverse transform unit 305 may belong to an inter-frame coded and potentially motion compensated block. In this case, the motion compensated prediction unit 306 may access the reference picture memory 308 to extract samples for prediction. After the extracted samples are motion compensated according to the symbol 313, these samples may be added to the output of the scaler / inverse transform unit (in this case referred to as residual samples or residual signals) by the aggregator 310 to generate output sample information. The acquisition of the prediction samples by the motion compensated prediction unit from the address in the reference picture memory may be controlled by a motion vector, and the motion vector is provided to the motion compensated prediction unit in the form of the symbol 313, for example, including X, Y and reference picture components. Motion compensation may also include interpolation of sample values ​​extracted from the reference picture memory when using sub-sample accurate motion vectors, motion vector prediction mechanisms, and the like.

[0051] The output samples of aggregator 310 may be employed by various loop filtering techniques in loop filter unit 311. The video compression techniques may include in-loop filter techniques controlled by parameters included in the encoded video bitstream and available to loop filter unit 311 as symbols 313 from parser 304. However, the video compression techniques may also be responsive to meta-information obtained during decoding of a previous (in decoding order) portion of an encoded picture or encoded video sequence, and to previously reconstructed and loop filtered sample values.

[0052] The output of the loop filter unit 311 may be a sample stream, which may be output to the display device 312 and stored in the reference picture memory 308 for subsequent inter-picture prediction.

[0053] Once fully reconstructed, certain coded pictures may be used as reference pictures for future prediction. Once a coded picture is fully reconstructed, and the coded picture is identified as a reference picture (e.g., by parser 304), current picture 309 may become part of reference picture memory 308, and a new current picture memory may be reallocated before starting reconstruction of a subsequent coded picture.

[0054] The video decoder 300 may perform decoding operations according to a predetermined video compression technique as documented, for example, in the ITU-T H.265 standard. The encoded video sequence may conform to the syntax specified by the video compression technique or standard used, in the sense that the encoded video sequence follows the syntax of the video compression technique or standard as specified in the video compression technique document or standard, particularly in a profile. For compliance, the complexity of the encoded video sequence is also required to be within the range defined by the hierarchy of the video compression technique or standard. In some cases, the hierarchy limits the maximum picture size, maximum frame rate, maximum reconstruction sampling rate (measured in, for example, mega samples per second), maximum reference picture size, and the like. In some cases, the limits set by the hierarchy may be further limited by the Hypothetical Reference Decoder (HRD) specification and metadata of the HRD buffer management signaled in the encoded video sequence.

[0055] In an embodiment, the receiver 302 may receive additional (redundant) data along with the encoded video. The additional data may be part of the encoded video sequence. The additional data may be used by the video decoder 300 to properly decode the data and / or more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial or signal-noise ratio (SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.

[0056] Figure 4 is a functional block diagram of a video encoder 400 according to an embodiment of the present disclosure.

[0057] The video encoder 400 may receive video samples from a video source 401 (not a part of the encoder), which may capture video images to be encoded by the video encoder 400 .

[0058] The video source 401 may provide a source video sequence in the form of a digital video sample stream to be encoded by the video encoder 400, wherein the digital video sample stream may have any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601Y CrCB, RGB, ...), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media service system, the video source 401 may be a storage device storing previously prepared videos. In a video conferencing system, the video source 401 may be a camera that collects local image information as a video sequence. The video data may be provided as a plurality of separate pictures that are given motion when viewed sequentially. The picture itself may be constructed as a spatial pixel array, wherein each pixel may include one or more samples depending on the sampling structure, color space, etc. used. The relationship between pixels and samples may be easily understood by those skilled in the art. The following focuses on describing samples.

[0059] According to an embodiment, the video encoder 400 may encode and compress pictures of a source video sequence into an encoded video sequence 410 in real time or under any other time constraints required by the application. Implementing an appropriate encoding speed is a function of the controller 402. The controller controls other functional units as described below and is functionally coupled to these units. For the sake of brevity, couplings are not shown in the figure. The parameters set by the controller may include rate control related parameters (e.g., picture skipping, quantizer, lambda value of rate distortion optimization technology, etc.), picture size, picture group (group of pictures, GOP) layout, maximum motion vector search range, etc. Those skilled in the art can easily identify other functions of the controller 402 because they may belong to the video encoder 400 optimized for a specific system design.

[0060] Some video encoders operate in what is readily recognizable to those skilled in the art as a "coding loop". As a simplified description, the coding loop may include an encoding portion of an encoder 403 (hereinafter referred to as a "source encoder", which is responsible for creating symbols based on an input picture to be encoded and a reference picture), and a (local) decoder 406 embedded in the video encoder 400. The "local" decoder 406 reconstructs the symbols to create sample data in a manner similar to how the (remote) decoder creates sample data (because in the video compression techniques contemplated by the disclosed subject matter, any compression between the symbols and the encoded video code stream is lossless). The reconstructed sample stream is input to a reference picture memory 405. Since the decoding of the symbol stream produces bit-accurate results that are independent of the decoder location (local or remote), the contents of the reference picture memory are also bit-accurately corresponding between the local encoder and the remote encoder. In other words, the reference picture samples "seen" by the prediction portion of the encoder are exactly the same sample values ​​that the decoder will "see" when using prediction during decoding. This basic principle of reference picture synchronization (and the drift that occurs when synchronization cannot be maintained, for example due to channel errors) is well known to those skilled in the art.

[0061] The operation of the "local" decoder 406 can be combined with the above Figure 3 The same is true of the "remote" decoder 300 described in detail. However, additional brief reference is made to Figure 4 , when symbols are available and the entropy encoder 408 and the parser 304 are capable of losslessly encoding / decoding the symbols into an encoded video sequence, the entropy decoding portion of the video decoder 300 (including the channel 301, the receiver 302, the buffer memory 303 and the parser 304) may not be fully implemented in the local decoder 406.

[0062] At this point it can be observed that any decoder techniques other than parsing / entropy decoding present in the decoder must also be present in the corresponding encoder in substantially the same functional form. The description of the encoder techniques may be abbreviated, as they are reciprocal to the fully described decoder techniques. A more detailed description is only required in certain areas and is provided below.

[0063] As part of the operation, the source encoder 403 may perform motion compensated predictive coding. The motion compensated predictive coding predictively encodes the input frame with reference to one or more previously encoded frames from the video sequence designated as "reference frames". In this way, the encoding engine 407 encodes the differences between the pixel blocks of the input frame and the pixel blocks of the reference frame, which may be selected as a prediction reference for the input frame.

[0064] The local video decoder 406 may decode the encoded video data of the frame that may be designated as the reference frame based on the symbol created by the source encoder 403. The operation of the encoding engine 407 may advantageously be a lossy process. When the encoded video data is available at the video decoder ( Figure 4 When the video sequence is decoded at a remote video decoder (not shown), the reconstructed video sequence may typically be a copy of the source video sequence with some errors. The local video decoder 406 replicates the decoding process that may be performed by the video decoder on the reference frame and may cause the reconstructed reference frame to be stored in the reference picture memory 405. In this way, the encoder 400 may locally store a copy of the reconstructed reference frame that has common content (absent transmission errors) with the reconstructed reference frame to be obtained by the remote video decoder.

[0065] The predictor 404 may perform a prediction search for the encoding engine 407. That is, for a new frame to be encoded, the predictor 404 may search the reference picture memory 405 for sample data (as a candidate reference pixel block) or certain metadata, such as a reference picture motion vector, block shape, etc., that may serve as a suitable prediction reference for the new picture. The predictor 404 may operate pixel-by-pixel based on a sample block to find a suitable prediction reference. In some cases, based on the search results obtained by the predictor 404, it may be determined that the input picture may have a prediction reference taken from a plurality of reference pictures stored in the reference picture memory 405.

[0066] The controller 402 may manage encoding operations of the source encoder 403, including, for example, setting parameters and subgroup parameters for encoding video data.

[0067] The outputs of all the above functional units may be entropy encoded in the entropy encoder 408. The entropy encoder may perform lossless compression on the symbols generated by the various functional units according to techniques known to those skilled in the art, such as Huffman coding, variable length coding, arithmetic coding, etc., thereby converting the symbols into a coded video sequence.

[0068] Transmitter 409 may buffer the encoded video sequence created by entropy encoder 408 in preparation for transmission over communication channel 411, which may be a hardware / software link to a storage device where the encoded video data will be stored. Transmitter 409 may combine the encoded video data from source encoder 403 with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (source not shown).

[0069] The controller 402 may manage the operation of the video encoder 400. During encoding, the controller 402 may assign a certain coded picture type to each coded picture, but this may affect the coding techniques that may be applied to the corresponding picture. For example, a picture may generally be assigned to any of the following picture types.

[0070] Intra-picture (I-picture), which can be a picture that can be encoded and decoded without using any other frame in the sequence as a prediction source. Some video codecs allow different types of intra-pictures, including, for example, Independent Decoder Refresh (IDR) pictures. Those skilled in the art are aware of those variants of I-pictures and their respective applications and features.

[0071] A predictive picture (P picture) may be a picture that can be encoded and decoded using intra prediction or inter prediction, which uses at most one motion vector and a reference index to predict sample values ​​for each block.

[0072] Bidirectional predictive pictures (B pictures), which can be pictures that can be encoded and decoded using intra prediction or inter prediction, which uses up to two motion vectors and reference indices to predict the sample values ​​of each block. Similarly, multiple predictive pictures can use more than two reference pictures and associated metadata for reconstruction of a single block.

[0073] The source picture may typically be spatially subdivided into blocks of samples (e.g., blocks of 4×4, 8×8, 4×8, or 16×16 samples), and coded block by block. These blocks may be predictively coded with reference to other (already coded) blocks, which are determined according to the coding allocation applied to the block's corresponding picture. For example, blocks of an I picture may be non-predictively coded, or the blocks may be predictively coded (spatial prediction or intra prediction) with reference to already coded blocks of the same picture. Blocks of pixels of a P picture may be predictively coded by spatial prediction with reference to one previously coded reference picture or by temporal prediction. Blocks of a B picture may be predictively coded by spatial prediction with reference to one or two previously coded reference pictures or by temporal prediction.

[0074] The video encoder 400 may perform encoding operations according to a predetermined video encoding technique or standard, such as ITU-T H.265 Recommendation. In operation, the video encoder 400 may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in an input video sequence. Thus, the encoded video data may conform to the syntax specified by the video encoding technique or standard used.

[0075] In an embodiment, the transmitter 409 may transmit additional data and the encoded video. The source encoder 403 may include such data as a portion of the encoded video sequence. The additional data may include other forms of redundant data such as time / space / SNR enhancement layers, redundant pictures and slices, SEI messages, VUI parameter set fragments, etc.

[0076] Figure 5The intra prediction modes used in HEVC and JEM are shown. To capture arbitrary edge directions present in natural video, the number of directional intra modes is extended from 33 used in HEVC to 65. The additional directional modes in JEM on top of HEVC are Figure 5 In the figure, the planar and DC modes remain unchanged. These more dense directional intra prediction modes are applicable to all block sizes and luma and chroma intra prediction. Figure 5 As shown in FIG. 1 , the directional intra prediction mode associated with an odd intra prediction mode index identified by a dotted arrow is referred to as an odd intra prediction mode. The directional intra prediction mode associated with an even intra prediction mode index identified by a solid arrow is referred to as an even intra prediction mode. In this document, Figure 5 The directional intra prediction mode indicated by the solid arrow or the dashed arrow in is also called an angular mode.

[0077] In JEM, there are a total of 67 intra prediction modes for luma intra prediction. To encode an intra mode, a most probable mode (MPM) list of size 6 is constructed based on the intra modes of neighboring blocks. If the intra mode is not in the MPM list, a flag is signaled to indicate whether the intra mode belongs to the selected mode. In JEM-3.0, there are a total of 16 selected modes, which are uniformly selected for every four corner modes. In JVET-D0114 and JVET-G0060, 16 secondary MPMs are derived to replace the uniformly selected modes.

[0078] Figure 6 N reference layers for intra directional mode are shown. There are block unit 611, segment A 601, segment B 602, segment C 603, segment D 604, segment E 605, segment F 606, first reference layer 610, second reference layer 609, third reference layer 608 and fourth reference layer 607.

[0079] In HEVC and JEM and some other standards (such as H.264 / AVC), the reference samples used to predict the current block are limited to the nearest reference line (row or column). In the method of multi-reference line intra prediction, for intra directional mode, the number of candidate reference lines (rows or columns) increases from 1 (ie, the nearest) to N, where N is an integer greater than or equal to 1. Figure 6Taking a 4×4 prediction unit (PU) as an example, the concept of the multi-line intra-frame directional prediction method is illustrated. The intra-frame directional mode can arbitrarily select one of the N reference layers to generate the prediction value. In other words, the prediction value p(x, y) is generated based on one of the reference samples S1, S2, ... and SN. A flag is signaled to indicate which reference layer is selected for the intra-frame directional mode. If N is set to 1, the intra-frame directional prediction method is the same as the traditional method in JEM 2.0. Figure 6 , reference lines 610, 609, 608, and 607 are composed of six segments 601, 602, 603, 604, 605, and 606 and an upper left reference sample. In this document, a reference layer is also referred to as a reference line. The coordinates of the upper left pixel in the current block unit are (0, 0), and the coordinates of the upper left pixel in the first reference line are (-1, -1).

[0080] In JEM, for the luminance component, the neighboring samples used for intra prediction sample generation are filtered before the intra prediction sample generation process. The filtering is controlled by the given intra prediction mode and transform block size. If the intra prediction mode is DC or the transform block size is equal to 4×4, the neighboring samples are not filtered. If the distance between the given intra prediction mode and the vertical mode (or horizontal mode) is greater than a predefined threshold, the filtering process is enabled. For the filtering of neighboring samples, a [1, 2, 1] filter and a bilinear filter are used.

[0081] The Position Dependent Intra Prediction Combination (PDPC) method is an intra prediction method that calls for a combination of unfiltered boundary reference samples and HEVC-style intra prediction with filtered boundary reference samples. Each prediction sample pred[x][y] at (x, y) is calculated as follows:

[0082] pred[x][y]=(wL*R -1,y +wT*R x,-1 +wTL*R -1,-1 +(64-wL-wT-wTL)*pred[x][y]+32)>>6 (Equation 2-1) Where, R x,-1 , R -1,y denote the unfiltered reference samples located on the top and left of the current sample (x, y), R -1,-1 represents the unfiltered reference sample located at the upper left corner of the current block. The weights are calculated as follows,

[0083] wT=32>>((y<<1)>>shift) (Equation 2-2)

[0084] wL=32>>((x<<1)>>shift) (Equation 2-3)

[0085] wTLw-(wL>>4)-(wT>>4) (Equation 2-4)

[0086] shift=(log2(width)+log2(height)+2)>>2 (Equation 2-5)

[0087] Figure 7 A schematic diagram 700 is shown of DC mode PDPC weights (wL, wT, wTL) for positions (0, 0) and (1, 0) within a 4×4 block. If PDPC is applied to DC, planar, horizontal, and vertical intra modes, no additional boundary filters, such as the HEVC DC mode boundary filter or horizontal / vertical mode edge filters, are required. Figure 7 The definition of reference samples Rx,-1, R-1,y and R-1,-1 for PDPC applied to the upper right diagonal mode is shown. The prediction sample pred(x',y') is located at (x',y') within the prediction block. The coordinate x of the reference sample Rx,-1 is given by: x = x'+y'+1, similarly, the coordinate y of the reference sample R-1,y is given by: y = x'+y'+1.

[0088] Figure 8 A schematic diagram 800 of local illumination compensation (LIC) is shown and is based on a linear model of illumination variation using a scaling factor a and an offset b. Also, for each inter-mode coded codec unit (CU), LIC is adaptively enabled or disabled.

[0089] When LIC is applied to a CU, the parameters a and b are derived using the least squares error method using the neighboring samples of the current CU and their corresponding reference samples. More specifically, Figure 8 As shown, the neighboring samples of the CU's subsampling (2:1 subsampling) and the corresponding samples in the reference picture (identified by the motion information of the current CU or sub-CU) are used. IC parameters are derived and applied to each prediction direction separately.

[0090] When a CU is encoded using merge mode, the LIC flag is copied from the neighboring block in a manner similar to the motion information copying in merge mode; otherwise, the LIC flag is signaled for the CU to indicate whether LIC is applied.

[0091] Fig. 9A The intra prediction modes used in HEVC are shown 900. In HEVC, there are 35 intra prediction modes, of which mode 10 is a horizontal mode, mode 26 is a vertical mode, and modes 2, 18, and 34 are diagonal modes. The intra prediction modes are signaled by three most probable modes (MPMs) and 32 remaining modes.

[0092] Fig. 9BIt is shown that there are 87 intra prediction modes in the VVC embodiment, of which mode 18 is a horizontal mode, mode 50 is a vertical mode, and modes 2, 34, and 66 are diagonal modes. Modes -1 to -10 and modes 67 to 76 are called wide angle intra prediction (WAIP) modes.

[0093] The prediction sample pred(x, y) at position (x, y) is predicted using a linear combination of the intra prediction mode (DC, planar, angular) and the reference samples according to the PDPC expression:

[0094] pred(x,y)=(wL×R-1,y+wT×Rx,-1–wTL×R-1,-1+(64–wL–wT+wTL)×pred(x,y)+32)>>6

[0095] Among them, Rx,-1 and R-1,y represent the reference samples located at the top and left of the current sample (x, y) respectively, and R-1,-1 represents the reference sample located at the upper left corner of the current block.

[0096] For DC mode, for a block with width and height dimensions, the weights are calculated as follows:

[0097] wT=32>>((y<<1)>>nScale), wL=32>>((x<<1)>>nScale), wTL=(wL>>4)+(wT>>4), where nScale=(log2(width)–2+log2(height)–2+2)>>2, where wT represents the weighting factor of the reference sample with the same horizontal coordinate in the upper reference line, wL represents the weighting factor of the reference sample with the same vertical coordinate in the left reference line, wTL represents the weighting factor of the upper left reference sample of the current block, and nScale specifies the speed at which the weighting factor decreases along the axis (wL decreases from left to right or wT decreases from top to bottom), that is, the weighting factor decreasing rate, and in the current design the speed along the x-axis (from left to right) and the y-axis (from top to bottom) is the same. And, 32 represents the initial weighting factor of the neighboring samples, which is also the top (left or upper-left) weight assigned to the upper-left sample in the current CB, and the weighting factor of the neighboring samples in the PDPC process should be equal to or less than the initial weighting factor.

[0098] For planar mode, wTL=0, while for horizontal mode, wTL=wT, and for vertical mode, wTL=wL. PDPC weights can only be calculated by addition and shifting. The value of Pred(x, y) can be calculated in a single step using Equation 2-1.

[0099] Fig.10is a simplified block diagram 1000 according to an embodiment and shares with reference to the Figure 3 Additional context for the description of FIG. 1000 is provided to an input bitstream 1001 provided to a video syntax parser 1002 and an output picture 1011 having one or more display resolutions that are configured based on various metadata included with, for example, the input bitstream 1001 and that can be provided to one or more displays.

[0100] As with the parser 304 described in further detail herein, the video syntax parser 1002 provides processing, including processing of metadata, and provides similar information to one or more of the dequantizer / inverse transform unit 1003, the intra predictor unit 1004, and the inter predictor (motion compensation) unit 1005, similar to Figure 3 According to an exemplary embodiment, the aggregator 1006 provides output samples, which may be subjected to various loop filtering techniques in the in-loop filter unit 1007, as with the loop filter 311, in response to the above-mentioned metadata about the input bitstream, and in response to previously reconstructed and loop-filtered sample values, and the metadata may also be obtained during decoding of one or more previous (in decoding order) portions of a coded picture or a coded video sequence.

[0101] Here, RPR may allow the spatial resolution of a decoded picture to be changed on a picture-by-picture basis within a coded video sequence (CVS), and the decoded picture (e.g., a decoded picture stored in a decoded picture buffer (DPB) 1008) may be output via an upsampler unit 1010 for converting the decoded picture into an output picture for display.

[0102] Fig.11 1100 is a simplified schematic diagram of a VUI parameter syntax, and such flags as described herein may be included in such VUI parameters. According to an embodiment, one or more algorithms for exemplary embodiments that consider VUI parameters are shown, and these VUI parameters may be used together or individually. One or more such VUI parameters represent the above description of Fig.10 Various aspects of the metadata described, which can address one or more different requirements by signaling any constant output picture size in the VUI (e.g., as information metadata), these requirements carry intent (e.g., the intent of the person in charge), and leave the display free for post-processing. According to an embodiment, the end user's device can still freely choose the display picture resolution, while also being able to optionally accept the person in charge's suggestion, as described herein.

[0103] For example, the schematic diagram 1100 includes a constant_output_pic_size_flag, which, according to an exemplary embodiment, when constant_output_pic_size_flag is equal to 1, specifies that any post-resampling process is applied to each cropped output picture so that each resampled output picture has a constant picture size specified by constant_output_pic_width_in_luma_samples and constant_output_pic_height_in_luma_samples. Conversely, according to an embodiment, constant_output_pic_size_flag is equal to 0, specifies that a post-resampling process may or may not be applied to each cropped output picture.

[0104] Further, the schematic 1100 includes a guided_constant_output_pic_size_present_flag, which, when equal to 1, specifies that both constant_output_pic_width_in_luma_samples and constant_output_pic_height_in_luma_samples are present in the VUI. Conversely, according to an embodiment, guided_constant_output_pic_size_present_flag equal to 0 specifies that both constant_output_pic_width_in_luma_samples and constant_output_pic_height_in_luma_samples are not present or at least one of them is not present in the VUI.

[0105] Further, the schematic 1100 includes one or more constant_output_pic_width_in_luma_samples values, which specify the width of each output picture after the post-resampling process in units of luma samples. Conversely, when not present, the value of constant_output_pic_width_in_luma_samples is inferred to be equal to pic_width_max_in_luma_samples in the SPS.

[0106] Further, the diagram 1100 includes one or more constant_output_pic_height_in_luma_samples values, which specify the height of each output picture after the post-resampling process in units of luma samples. Conversely, when not present, the value of constant_output_pic_height_in_luma_samples is inferred to be equal to pic_height_max_in_luma_samples in the SPS.

[0107] Therefore, according to an exemplary embodiment, in response to determining that the metadata includes at least one flag, it is determined whether the metadata includes width values ​​for the width of multiple pictures (including at least one picture), and whether the metadata includes height values ​​for the height of multiple pictures. In addition, according to an exemplary embodiment, in response to determining that the metadata includes at least one of the width value and the height value, at least one post-resampling process is signaled to maintain at least one of the width value and the height value for displaying at least one picture by the display device described herein, and in response to determining that the metadata does not have a width value and / or a height value, at least one post-resampling process is also signaled to maintain one or more corresponding values ​​of the non-existent width value and / or height value at the width and / or height indicated by the SPS of the video data, respectively.

[0108] Therefore, according to an exemplary embodiment, by including such metadata and Fig.10 The processing described in the above may control the output display, such as the resolution, according to the intent transmitted as at least part of the metadata along with the input bitstream 1001. Such control information may be included as metadata with the output picture 1011 and may instruct the post-processing device to display the output picture only when Fig.11 When the flag value in exists and is positive, any one of the output images 1011 is displayed at the output display resolution specified by the metadata, and an option is provided to the post-processing device to decide (for example, the user selects when inputting data, or predetermines, or defaults) whether to output the display resolution specified by the metadata (such as Fig.11 As described herein, such indication may be provided by one or more flags that are included as metadata with at least the input bitstream 1001 and / or the output picture 1011 output to the display device.

[0109] According to an exemplary embodiment, Fig.13As shown, a method for video decoding includes: obtaining an input bit stream including metadata and video data; decoding the video data; determining whether the metadata includes at least one first flag, the at least one first flag being used to signal at least one component of a picture size of at least one picture of the video data; and in the case of determining that the metadata includes the at least one first flag, signaling a display device to display at least one picture of the video data according to the at least one first flag.

[0110] According to an exemplary embodiment, the video data is encoded in a universal video codec (VVC) format.

[0111] According to an exemplary embodiment, the at least one first flag indicates whether to display the at least one picture in the picture size according to a value of the component which is preset and indicated by the metadata.

[0112] According to an exemplary embodiment, the component includes at least one of a width and a height of the at least one picture.

[0113] According to an exemplary embodiment, at least one of a width and a height of the at least one picture includes a luma sample unit.

[0114] According to an exemplary embodiment, the method further includes: in response to determining that the metadata includes the at least one first flag, determining: whether the metadata includes a width value regarding the width of multiple pictures including the at least one picture, and whether the metadata includes a height value regarding the height of the multiple pictures, wherein at least one of the values ​​of the components includes at least one of the width and the height.

[0115] According to an exemplary embodiment, the method further includes: in response to determining that the metadata includes at least one of the width value and the height value, signaling at least one post-resampling process to maintain at least one of the width value and the height value for displaying the at least one picture by the display device.

[0116] According to an exemplary embodiment, the method further comprises, in response to determining that the metadata does not have the width value, signaling the at least one post-resampling process to maintain the width value at a width indicated by a sequence parameter set for the video data.

[0117] According to an exemplary embodiment, the method further comprises: in response to determining that the metadata does not have the height value, signaling the at least one post-resampling process to maintain the height value at a height indicated by a sequence parameter set for the video data.

[0118] According to an exemplary embodiment, the video data includes at least one second flag as a video usage information VUI parameter.

[0119] Therefore, through the exemplary embodiments described herein, the above technical problems can be advantageously improved through one or more of these technical solutions.

[0120] The above techniques may be implemented as computer software via computer-readable instructions and physically stored in one or more computer-readable media or implemented via one or more specially configured hardware processors. Fig.12 A computer system 1200 is shown that is suitable for implementing certain embodiments of the disclosed subject matter.

[0121] The computer software may be encoded in any suitable machine code or computer language, and may be assembled, compiled, linked, or other mechanisms to create a code comprising instructions, which may be directly executed by a computer central processing unit (CPU), graphics processing unit (GPU), or the like, or executed by decoding, microcode, or the like.

[0122] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablets, servers, smartphones, gaming devices, IoT devices, etc.

[0123] Fig.12 The components shown for computer system 1200 are exemplary in nature and are not intended to impose any limitations on the scope of use or functionality of computer software implementing embodiments of the present disclosure. Nor should the configuration of components be interpreted as having any dependency or requirement on any one or combination of components shown in the exemplary embodiment of computer system 1200.

[0124] Computer system 1200 may include certain human-computer interface input devices. Such human-computer interface input devices may respond to input from one or more human users through tactile input (e.g., keyboard input, sliding, data glove movement), audio input (e.g., sound, applause), visual input (e.g., gestures), and olfactory input (not shown). The human-computer interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (e.g., speech, music, ambient sound), images (e.g., scanned images, photographic images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0125] The human-machine interface input device may include one or more of the following (only one of which is depicted): keyboard 1201 , mouse 1202 , touch pad 1203 , touch screen 1210 , joystick 1205 , microphone 1206 , scanner 1208 , camera 1207 .

[0126] The computer system 1200 may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate the senses of one or more human users through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include tactile output devices (e.g., tactile feedback through a touch screen 1210 or a joystick 1205, but there may also be tactile feedback devices that are not used as input devices), audio output devices (e.g., speakers 1209, headphones (not shown)), visual output devices (e.g., screens 1210 including cathode ray tube screens, liquid crystal screens, plasma screens, organic light emitting diode screens, each of which has or does not have a touch screen input function, each of which has or does not have a tactile feedback function - some of which may output two-dimensional visual outputs or outputs of more than three dimensions by means such as stereoscopic picture output; virtual reality glasses (not shown), holographic displays, and smoke boxes (not shown)) and printers (not shown).

[0127] The computer system 1200 may also include human-accessible storage devices and their associated media, such as optical media including high-density read-only / rewritable optical disks (CD / DVD ROM / RW) 1220 or similar media including CD / DVD 1211, a thumb drive 1222, a removable hard disk drive or solid state drive 1223, traditional magnetic media such as tapes and floppy disks (not shown), special-purpose ROM / ASIC / PLD-based devices such as security software protectors (not shown), and the like.

[0128] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the disclosed subject matter does not include transmission media, carrier waves, or other transient signals.

[0129] The computer system 1200 may also include an interface 1299 to one or more communication networks 1298. For example, the network 1298 may be wireless, wired, or optical. The network 1298 may also be a local area network, a wide area network, a metropolitan area network, an in-vehicle network, an industrial network, a real-time network, a delay-tolerant network, and the like. Examples of the network 1298 also include local area networks such as Ethernet, wireless local area networks, cellular networks (GSM, 3G, 4G, 5G, LTE, etc.), television wired or wireless wide area digital networks (including cable television, satellite television, and terrestrial broadcast television), in-vehicle and industrial networks (including CANBus), and the like. Some networks 1298 typically require an external network interface adapter for connecting to some universal data ports or peripheral buses (1250 and 1251) (e.g., a USB port of the computer system 1200); other systems are typically integrated into the core of the computer system 1200 by connecting to the system bus described below (e.g., an Ethernet interface integrated into a PC computer system or a cellular network interface integrated into a smart phone computer system). The computer system 1200 can communicate with other entities using any of these networks 1298. The communication can be one-way, for reception only (e.g., wireless television), one-way, for transmission only (e.g., CAN bus to certain CAN bus devices), or two-way, such as to other computer systems via a local or wide area digital network. Each of the above networks and network interfaces can use certain protocols and protocol stacks.

[0130] The above-mentioned human-machine interface devices, human-accessible storage devices, and network interfaces can be connected to the core 1240 of the computer system 1200.

[0131] The core 1240 may include one or more central processing units (CPUs) 1241, graphics processing units (GPUs) 1242, graphics adapters 1217, dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) 1243, hardware accelerators 1244 for specific tasks, and the like. These devices, as well as read-only memory (ROM) 1245, random access memory 1246, internal mass storage (e.g., internal non-user accessible hard disk drives, solid-state drives, etc.) 1247, and the like may be connected via a system bus 1248. In some computer systems, the system bus 1248 may be accessed in the form of one or more physical plugs so that it may be expanded by additional central processing units, graphics processing units, and the like. Peripheral devices may be attached directly to the core's system bus 1248, or connected via a peripheral bus 1251. The architecture of the peripheral bus includes peripheral component interconnect PCI, universal serial bus USB, and the like.

[0132] The CPU 1241, GPU 1242, FPGA 1243, and accelerator 1244 may execute certain instructions, which in combination may constitute the above-mentioned computer code. The computer code may be stored in ROM 1245 or RAM 1246. Transitional data may also be stored in RAM 1246, while permanent data may be stored in, for example, internal mass storage 1247. Fast storage and retrieval of any memory device may be achieved by using a cache memory, which may be closely associated with one or more CPUs 1241, GPU 1242, mass storage 1247, ROM 1245, RAM 1246, and the like.

[0133] The computer readable medium may have computer code thereon for performing various computer-implemented operations. The medium and computer code may be specially designed and constructed for the purposes of the present disclosure, or may be the medium and code well known and available to those skilled in the art of computer software.

[0134] As an embodiment and not limitation, a computer system 1200 having an architecture, in particular a core 1240, can be provided as a processor (including a CPU, a GPU, an FPGA, an accelerator, etc.) to execute the software contained in one or more tangible computer-readable media. Such a computer-readable medium can be a medium associated with the above-mentioned user-accessible mass storage, and a specific memory of the core 1240 having non-volatility, such as a core internal mass storage 1247 or a ROM 1245. The software implementing various embodiments of the present disclosure can be stored in such a device and executed by the core 1240. According to specific needs, the computer-readable medium may include one or more storage devices or chips. The software can enable the core 1240, in particular the processor therein (including a CPU, a GPU, an FPGA, etc.) to perform a specific process or a specific part of a specific process described herein, including defining a data structure stored in the RAM 1246 and modifying such a data structure according to a software-defined process. Additionally or alternatively, a computer system may provide functionality hardwired in logic or otherwise contained in a circuit (e.g., accelerator 1244) that may operate in place of or in conjunction with software to perform a particular process or a particular portion of a particular process described herein. References to software may include logic, and vice versa, where appropriate. References to computer-readable media may include circuits (such as integrated circuits (ICs)) storing execution software, circuits containing execution logic, or both, where appropriate. The present disclosure includes any suitable combination of hardware and software.

[0135] Although the present disclosure has described a number of exemplary embodiments, various changes, arrangements and various equivalent substitutions of the embodiments are within the scope of the present disclosure. It should therefore be understood that those skilled in the art are capable of designing a variety of systems and methods, which, although not explicitly shown or described herein, embody the principles of the present disclosure and are therefore within the spirit and scope of the present disclosure.

Claims

1. A method for video decoding, characterized in that: The method comprises: Obtaining an input bitstream including metadata and video data; Decoding the video data; determining whether the metadata includes at least one flag for signaling at least one component of a picture size of at least one picture of the video data; and upon determining that the metadata includes the at least one flag, signaling a display device to display at least one picture of the video data according to the at least one flag; the at least one flag indicating whether to display the at least one picture at the picture size according to the value of the component which is preset and indicated by the metadata; In response to determining that the metadata includes the at least one flag, determining: whether the metadata includes a width value regarding a width of a plurality of pictures including the at least one picture, and whether the metadata includes height values ​​regarding the heights of the plurality of pictures, wherein at least one of the values ​​of the components includes at least one of the width and the height; in response to determining that the metadata includes at least one of the width value and the height value, signaling at least one post-resampling process to maintain the at least one of the width value and the height value for display of the at least one picture by the display device; The video data includes the at least one flag as a video usage information (VUI) parameter.

2. The video decoding method according to claim 1, characterized in that: The video data is encoded in the universal video codec VVC format.

3. The video decoding method according to claim 1, characterized in that: At least one of a width and a height of the at least one picture comprises luma sample units.

4. The video decoding method according to claim 1, characterized in that: Further including: In response to determining that the metadata does not have the width value, signaling the at least one post-resampling process to maintain the width value at a width indicated by a sequence parameter set for the video data.

5. The video decoding method according to claim 1, characterized in that: Further including: In response to determining that the metadata does not have the height value, signaling the at least one post-resampling process to maintain the height value at a height indicated by a sequence parameter set for the video data.

6. A video decoding device, characterized in that: The device comprises: at least one memory configured to store computer program code; At least one processor is configured to access the computer program code and operate according to instructions of the computer program code to execute the method according to any one of claims 1 to 5.

7. A video decoding device, characterized in that: The device comprises: An acquisition module configured to acquire an input bitstream including metadata and video data; A decoding module, configured to decode the video data; a determining module configured to determine whether the metadata includes at least one flag for signaling at least one component of a picture size of at least one picture of the video data; and a signaling module configured to, if it is determined that the metadata includes the at least one flag, signal a display device to display at least one picture of the video data according to the at least one flag; wherein the at least one flag indicates whether to display the at least one picture at the picture size according to the value of the component that is preset and indicated by the metadata; The determining module is further configured to, in response to determining that the metadata includes the at least one flag, determine: whether the metadata includes width values ​​regarding widths of a plurality of pictures including the at least one picture, and whether the metadata includes height values ​​regarding heights of the plurality of pictures; wherein at least one of the values ​​of the components includes at least one of the width and the height; The signaling module is further configured to, in response to determining that the metadata includes at least one of the width value and the height value, signal at least one post-resampling process to maintain the at least one of the width value and the height value for display of the at least one picture by the display device; The video data includes the at least one flag as a video usage information (VUI) parameter.

8. The video decoding device according to claim 7, characterized in that: At least one of a width and a height of the at least one picture comprises luma sample units.

9. The video decoding device according to claim 7, characterized in that: The signaling module is further configured to, in response to determining that the metadata is absent the width value, signal the at least one post-resampling process to maintain the width value at a height indicated by a sequence parameter set for the video data.

10. The video decoding device according to claim 7, characterized in that: The signaling module is further configured to, in response to determining that the metadata is absent the height value, signal the at least one post-resampling process to maintain the height value at a height indicated by a sequence parameter set for the video data.

11. A non-volatile computer-readable medium, characterized in that: Used to store a program, wherein the program is configured to cause a computer to execute the method according to any one of claims 1 to 5.