Encoder, decoder, and corresponding method for simplifying picture header signaling

By determining the type of video picture and adjusting syntax element signaling, the method simplifies picture header signaling, reducing data overhead and improving efficiency in video coding.

JP2025133748APending Publication Date: 2025-09-11HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025097558
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-10-10
Filing Date
2025-06-11
Publication Date
2025-09-11

AI Technical Summary

Technical Problem

The challenge of simplifying picture header signaling in video coding to reduce data overhead and improve efficiency, particularly in scenarios with limited network bandwidth and storage resources.

Method used

A method and apparatus for encoding and decoding video streams that determine whether a current picture is an I-picture or a P/B-picture, adjusting the signaling of syntax elements for inter-prediction accordingly, thereby reducing unnecessary signaling in I-pictures.

Benefits of technology

This approach simplifies picture header signaling, reducing overhead and enhancing efficiency in video data transmission and storage by minimizing redundant syntax element transmission in I-pictures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025133748000001_ABST
    Figure 2025133748000001_ABST
Patent Text Reader

Abstract

To provide an encoder, a decoder, and a corresponding method for simplifying picture header signaling.SOLUTION: A method of coding implemented by a decoding device includes a step of parsing a bitstream to obtain a flag from a picture header of the bitstream, the flag indicates whether the current picture is an I picture. When the flag indicates that the current picture is an I picture, a syntax element designed for inter prediction is extrapolated to a default value, alternatively, when the flag indicates that the current picture is a P or B picture, a syntax element designed for inter prediction is obtained from the picture header.SELECTED DRAWING: Figure 12
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This patent application claims priority to U.S. Provisional Application No. 62 / 913,730, filed October 10, 2019, the entire contents of which are incorporated by reference.

[0002] [Technical field] FIELD Embodiments of the present application (disclosure) relate generally to the field of picture processing, and more particularly to simplifying picture signaling. [Background technology]

[0003] Video coding (video encoding and / or decoding) is used in a wide range of digital video applications, such as broadcast digital TV, video transmission over the Internet and mobile networks, real-time conversation applications such as video chat, video conferencing, DVD and Blu-ray discs, video content acquisition and editing systems, and camcorders in security applications.

[0004] The amount of video data required to render even a relatively short video can be substantial, which can create difficulties when the data is streamed or communicated across communication networks with limited bandwidth capacity. Therefore, video data is typically compressed before being communicated across modern telecommunications networks. Video size can also be an issue when the video is stored on a storage device, as memory resources may be limited. Video compression devices often use software and / or hardware at the source to code the video data before transmission or storage, thereby reducing the amount of data required to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. Due to limited network resources and ever-increasing demands for higher video quality, it is desirable to simplify picture header signaling. Summary of the Invention

[0005] Embodiments of the present application provide apparatuses and methods for encoding and decoding according to the independent claims.

[0006] These and other objects are achieved by the subject matter of the independent claims. Further realisation forms are evident from the dependent claims, the description and the drawings.

[0007] According to a first aspect, the present invention relates to a method of coding implemented by a decoding device, the method comprising the step of parsing a bitstream to obtain a flag from a picture header of the bitstream, the flag indicating whether a current picture is an I-picture or not.

[0008] When the flag indicates that the current picture is an I picture, the syntax elements designed for inter prediction are assumed to be default values, or when the flag indicates that the current picture is a P or B picture, the syntax elements designed for inter prediction are obtained from the picture header.

[0009] Syntax elements designed for inter prediction include one or more of the following elements: pic_log2_diff_min_qt_min_cb_inter_slice, pic_max_mtt_hierarchy_depth_inter_slice, pic_log2_diff_max_bt_min_qt_inter_slice, pic_log2_diff_max_tt_min_qt_inter_slice, pic_cu_qp_delta_subdiv_inter_slice, pic_cu_chroma_qp_offset_subdiv_inter_slice, pic_temporal_mvp_enabled_flag, mvd_l1_zero_flag, pic_fpel_mmvd_enabled_flag, or pic_disable_bdof_dmvr_flag.

[0010] According to a second aspect, the present invention relates to a method of coding implemented by a coding device, said method comprising: determining whether the current picture is an I-picture; and transmitting the bitstream to a decoding device, wherein the picture header of the bitstream includes a flag indicating whether the current picture is an I-picture, and when the current picture is an I-picture, syntax elements designed for inter-prediction are not signaled in the picture header, or when the current picture is a P or B-picture, syntax elements designed for inter-prediction are signaled in the picture header.

[0011] The method according to the first aspect of the invention can be performed by an apparatus according to the third aspect of the invention. Further features and implementations of the method according to the third aspect of the invention correspond to the features and implementations of the apparatus according to the first aspect of the invention.

[0012] The method according to the second aspect of the invention can be performed by an apparatus according to the fourth aspect of the invention. Further features and implementations of the method according to the fourth aspect of the invention correspond to the features and implementations of the apparatus according to the second aspect of the invention.

[0013] According to a fifth aspect, the present invention relates to an apparatus for decoding a video stream, comprising a processor and a memory, the memory storing instructions for causing the processor to carry out the method according to the first aspect.

[0014] According to a sixth aspect, the present invention relates to an apparatus for encoding a video stream, comprising a processor and a memory, the memory storing instructions for causing the processor to carry out the method according to the second aspect.

[0015] According to a seventh aspect, there is proposed a computer-readable storage medium having stored thereon instructions which, when executed, cause one or more processors to configure for coding video data, the instructions causing the one or more processors to perform a method according to the first or second aspect or any possible embodiment of the first or second aspect.

[0016] According to an eighth aspect, the present invention relates to a computer program comprising a program code for performing, when the computer program is run on a computer, the method according to the first or second aspect or any possible embodiment of the first or second aspect.

[0017] As described above, by indicating whether the current picture is an I-picture in the picture header of the bitstream, syntax elements designed for inter prediction are not signaled in the picture header when the current picture is an I-picture. Thus, embodiments can simplify the picture header signaling for all intra pictures, i.e., I-pictures. Correspondingly, the signaling overhead is reduced.

[0018] The details of one or more embodiments are set forth in the accompanying drawings and the detailed description below. Other features, objects, and advantages will become apparent from the detailed description, the drawings, and the claims. [Brief explanation of the drawings]

[0019] In the following, embodiments of the invention will be described in more detail with reference to the accompanying figures and drawings. [Figure 1A] 1 is a block diagram illustrating an example of a video coding system configured to implement embodiments of the present invention. [Figure 1B] FIG. 2 is a block diagram illustrating another example of a video coding system configured to implement embodiments of the present invention. [Figure 2] 1 is a block diagram illustrating an example of a video encoder configured to implement embodiments of the present invention; [Figure 3] 1 is a block diagram illustrating an exemplary structure of a video decoder configured to implement embodiments of the present invention. [Figure 4] FIG. 1 is a block diagram illustrating an example of an encoding device or a decoding device. [Figure 5] FIG. 10 is a block diagram showing another example of an encoding device or a decoding device. [Figure 6] 1 is an example of RBSP syntax for a picture parameter set. [Figure 7] 1 is an example of RBSP syntax for a picture parameter set. [Figure 8] 10 is an example of the syntax of an adaptation parameter set. [Figure 9] 10 is an example of the syntax of a general slice header. [Figure 10a] 1 is an example of a syntax structure of a coding tree unit. [Figure 10b] 10 is an example of picture header syntax. [Figure 11] 10 is another example of the syntax of a general slice header. [Figure 12] 12 shows a flowchart 1200 illustrating a method implemented by an encoding device. [Figure 13] 13 shows a flowchart 1300 illustrating a method implemented by a decoding device. [Figure 14] 1 shows the configuration of an encoding device. [Figure 15] 1 shows the configuration of a decoding device. [Figure 16] 31 is a block diagram illustrating an exemplary structure of a content supply system 3100 for implementing a content distribution service. [Figure 17] FIG. 2 is a block diagram illustrating the structure of an example terminal device.

[0020] In the following, identical reference signs, unless expressly specified otherwise, denote identical or at least functionally equivalent features. DETAILED DESCRIPTION OF THE INVENTION

[0021] In the following description, reference is made to the accompanying drawings which form a part of this disclosure and which show, by way of illustration, specific aspects of embodiments of the invention or in which embodiments of the invention may be used. It is understood that embodiments of the invention may be used in other ways and may include structural or logical changes not shown in the drawings. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.

[0022] For example, it is understood that disclosure related to a described method may also apply to a corresponding device or system configured to perform the method, and vice versa. For example, when one or more particular method steps are described, a corresponding device may include one or more units, e.g., functional units, for performing the described one or more method steps, even if such one or more units are not explicitly described or shown in the drawings (e.g., one unit performs one or more steps, or multiple units each perform one or more of the steps). On the other hand, for example, when a particular apparatus is described based on one or more units, e.g., functional units, a corresponding method may include a step for performing the function of one or more units, even if such one or more steps are not explicitly described or shown in the drawings (e.g., one step performs the function of one or more units, or multiple steps each perform the function of one or more of the units). Furthermore, it is understood that features of various exemplary embodiments and / or aspects described herein may be combined with each other, unless otherwise specified.

[0023] Typically, video coding refers to the processing of a sequence of pictures forming a video or a video sequence. Instead of the term "picture," the terms "frame" or "image" may be used synonymously in the field of video coding. Video coding (or coding in general) includes two parts: video encoding and video decoding. Video encoding is performed on the source side and typically involves processing the original video picture (e.g., by compression) to reduce the amount of data needed to represent the video picture (for more efficient storage and / or transmission). Video decoding is performed on the destination side and typically involves the reverse processing compared to the encoder to reconstruct the video picture. Embodiments referring to "coding" of a video picture (or pictures in general) shall be understood to relate to "encoding" or "decoding" of the video picture or the respective video sequence. The combination of the encoder and decoder is also called a CODEC (Coding and Decoding).

[0024] In the case of lossless video coding, the original video picture can be reconstructed, i.e., the reconstructed video picture has the same quality as the original video picture (assuming there is no transmission loss or other data loss during storage or transmission). In the case of lossy video coding, further compression, e.g., by quantization, is performed to reduce the amount of data representing the video picture, which cannot be fully reconstructed at the decoder, i.e., the quality of the reconstructed video picture is low or poor compared to the quality of the original video picture.

[0025] Some video coding standards belong to the group of "lossy hybrid video codecs" (i.e., they combine spatial and temporal prediction in the sample domain with 2D transform coding to apply quantization in the transform domain). Each picture of a video sequence is typically partitioned into a set of non-overlapping blocks, and coding is typically performed at the block level. In other words, at an encoder, video is typically processed, i.e., encoded, at the block (video block) level, for example, by generating a predictive block using spatial (intra-picture) prediction and / or temporal (inter-picture) prediction, subtracting the predictive block from a current block (the block currently being processed / to be processed) to obtain a residual block, transforming the residual block, and quantizing the residual block in the transform domain to reduce the amount of data to be transmitted (compression). Meanwhile, at a decoder, an inverse process compared to the encoder is applied to the coded or compressed block to reconstruct the current block for representation. Furthermore, the encoder replicates the decoder processing loop, so that both generate the same predictions (e.g., intra- and inter-predictions) and / or reconstructions for processing, i.e., coding, subsequent blocks.

[0026] Hereinafter, embodiments of a video coding system 10, a video encoder 20, and a video decoder 30 will be described with reference to FIGS.

[0027] 1A is a schematic block diagram illustrating an example coding system 10, e.g., video coding system 10 (or coding system 10 for short), that may utilize the techniques of the present application. A video encoder 20 (or encoder 20 for short) and a video decoder 30 (or decoder 30 for short) of video coding system 10 represent examples of devices that may be configured to perform techniques according to various examples described herein.

[0028] As shown in FIG. 1A, coding system 10 includes a source device 12 configured to provide encoded picture data 21 to, for example, a destination device 14 for decoding encoded picture data 13.

[0029] The source device 12 includes an encoder 20 and may further, i.e. optionally, include a picture source 16 , a pre-processor (or pre-processing unit) 18 , for example a picture pre-processor 18 , and a communication interface or unit 22 .

[0030] Picture source 16 may be or include any kind of picture capture device, e.g., a camera for capturing real-world pictures, and / or any kind of picture generation device, e.g., a computer graphics processor for generating computer-animated pictures, or any kind of other device for obtaining and / or providing real-world pictures, computer-generated pictures (e.g., screen content, virtual reality (VR) pictures), and / or any combination thereof (e.g., augmented reality (AR) pictures). Picture source may also be any kind of memory or storage that stores any of the above pictures.

[0031] In contrast to the pre-processor 18 and the processing performed by the pre-processing unit 18 , the pictures or picture data 17 may also be referred to as raw pictures or raw picture data 17 .

[0032] The pre-processor 18 is configured to receive (raw) picture data 17 and perform pre-processing on the picture data 17 to obtain a pre-processed picture 19 or pre-processed picture data 19. The pre-processing performed by the pre-processor 18 may include, for example, cropping, color format conversion (e.g., from RGB to YCbCr), color correction or noise removal. It will be understood that the pre-processing unit 18 may be an optional component.

[0033] Video encoder 20 is configured to receive pre-processed picture data 19 and provide encoded picture data 21 (further details are described below, eg, with reference to FIG. 2).

[0034] The communication interface 22 of the source device 12 may be configured to receive the encoded picture data 21 and transmit the encoded picture data 21 (or any further processed version thereof) over the communication channel 13 to another device, such as the destination device 14 or any other device, for storage or direct reconstruction.

[0035] The destination device 14 includes a decoder 30 (e.g., a video decoder 30), and may further, i.e. optionally, include a communication interface or communication unit 28, a post-processor 32 (or post-processing unit 32), and a display device 34.

[0036] The communications interface 28 of the destination device 14 is configured to receive the coded picture data 21 (or any further processed version thereof), for example, directly from the source device 12 or from any other source, for example, a storage device, for example, a coded picture data storage device, and to provide the coded picture data 21 to the decoder 30.

[0037] The communication interface 22 and the communication interface 28 may be configured to transmit or receive the encoded picture data 21 or the encoded data 13 via a direct communication link between the source device 12 and the destination device 14, e.g., a direct wired or wireless connection, or via any type of network, e.g., a wired or wireless network or any combination thereof, or any type of private and public network, or any combination thereof.

[0038] The communications interface 22 may be configured, for example, to package the coded picture data 21 into a suitable format, e.g., packets, and / or process the coded picture data using any type of transmission coding or processing for transmission over a communications link or network.

[0039] The communications interface 28, which forms the counterpart of the communications interface 22, may for example be configured to receive transmitted data and process the transmitted data using any type of corresponding transmission decoding or processing and / or unpackaging to obtain the coded picture data 21.

[0040] Both communication interface 22 and communication interface 28 may be configured as unidirectional communication interfaces, as indicated by the arrow for communication channel 13 pointing from source device 12 to destination device 14 in FIG. 1A, or as bidirectional communication interfaces, e.g., configured to send and receive messages, e.g., to set up connections, to authorize and exchange communication links and / or any other information related to data transmission, e.g., coded picture data transmission.

[0041] The decoder 30 is arranged to receive the coded picture data 21 and to provide decoded picture data 31 or decoded pictures 31 (as will be explained in further detail below, for example with reference to FIG. 3 or FIG. 5).

[0042] Post-processor 32 of destination device 14 is configured to post-process decoded picture data 31 (also called reconstructed picture data), e.g., decoded picture 31, to obtain post-processed picture data 33, e.g., post-processed picture 33. The post-processing performed by post-processing unit 32 may include, e.g., color format conversion (e.g., from YCbCr to RGB), color correction, cropping or resampling, or any other processing, e.g., to prepare decoded picture data 31 for display, e.g., by display device 34.

[0043] Display device 34 of destination device 14 is configured to receive the post-processed picture data 33 and, for example, display the picture to a user or viewer. Display device 34 may be or include any type of display that presents the reconstructed picture, for example, an integrated or external display or monitor. The display may be or include, for example, a liquid crystal display (LCD), an organic light emitting diode (OLED) display, a plasma display, a projector, a microLED display, a liquid crystal on silicon (LCoS), a digital light processor (DLP), or any other type of display.

[0044] 1A depicts source device 12 and destination device 14 as separate devices, an embodiment of the devices may also include both or both functionality: source device 12 or corresponding functionality and destination device 14 or corresponding functionality. In such an embodiment, source device 12 or corresponding functionality and destination device 14 or corresponding functionality may be implemented using the same hardware and / or software or by separate hardware and / or software or any combination thereof.

[0045] As will be apparent to those skilled in the art based on the description, the presence and (exact) division of different units or functions within source device 12 and / or destination device 14 as shown in FIG. 1A may vary depending on the actual device and application.

[0046] Encoder 20 (e.g., video encoder 20) or decoder 30 (e.g., video decoder 30), or both encoder 20 and decoder 30, may be implemented via processing circuitry as shown in FIG. 1B , such as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic, hardware, dedicated video coding, or any combination thereof. Encoder 20 may be implemented via processing circuitry 46 to embody various modules as described with respect to encoder 20 of FIG. 2 and / or any other encoder system or subsystem described herein. Decoder 30 may be implemented via processing circuitry 46 to embody various modules as described with respect to decoder 30 of FIG. 3 and / or any other decoder system or subsystem described herein. The processing circuitry may be configured to perform various operations as described below. 5, where the techniques are implemented in part in software, a device may store instructions for the software in a suitable non-transitory computer-readable storage medium and may execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Either video encoder 20 and video decoder 30 may be integrated as part of a combined encoder / decoder (CODEC) in a single device, for example, as shown in FIG. 1B.

[0047] Source device 12 and destination device 14 may include any of a wide variety of devices, including any type of handheld or stationary device, e.g., a notebook or laptop computer, a mobile phone, a smartphone, a tablet or tablet computer, a camera, a desktop computer, a set-top box, a television, a display device, a digital media player, a video game console, a video streaming device (such as a content service server or content distribution server), a broadcast receiver device, a broadcast transmitter device, etc., and may or may not use any type of operating system. In some cases, source device 12 and destination device 14 may be equipped for wireless communication. Thus, source device 12 and destination device 14 may be wireless communication devices.

[0048] 1A is merely an example, and the techniques herein may be applied to video coding settings (e.g., video encoding or video decoding) that do not necessarily include any data communication between an encoding device and a decoding device. In other examples, data may be retrieved from local memory, streamed over a network, etc. A video encoding device may encode data and store it in memory, and / or a video decoding device may retrieve data from memory and decode it. In some examples, encoding and decoding are performed by devices that do not communicate with each other but simply encode data to memory and / or retrieve data from memory and decode it.

[0049] For ease of explanation, embodiments of the present invention are described herein with reference to, for example, High-Efficiency Video Coding (HEVC) or Versatile Video Coding (VVC) reference software, next-generation video coding standards developed by the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Joint Collaboration Team on Video Coding (JCT-VC) of the Motion Picture Experts Group (MPEG). Those skilled in the art will understand that embodiments of the present invention are not limited to HEVC or VVC.

[0050] Encoder and encoding method FIG. 2 shows a schematic block diagram of an exemplary video encoder 20 configured to implement the techniques of the present application. In the example of FIG. 2, the video encoder 20 includes an input 201 (or input interface 201), a residual calculation unit 204, a transform processing unit 206, a quantization unit 208, an inverse quantization unit 210, an inverse transform processing unit 212, a reconstruction unit 214, a loop filter unit 220, a decoded picture buffer (DPB) 230, a mode selection unit 260, an entropy coding unit 270, and an output 272 (or output interface 272). The mode selection unit 260 may include an inter prediction unit 244, an intra prediction processing unit 254, and a partition unit 262. The inter prediction unit 244 may include a motion estimation unit and a motion compensation unit (not shown). The video encoder 20 shown in FIG. 2 may also be referred to as a hybrid video encoder or a video encoder using a hybrid video codec.

[0051] The residual calculation unit 204, the transform processing unit 206, the quantization unit 208, and the mode selection unit 260 may be referred to as forming a forward signal path of the encoder 20. Meanwhile, the inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the buffer 216, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 may be referred to as forming a backward signal path of the video encoder 20, which corresponds to the signal path of the decoder (see decoder 30 in FIG. 3 ). The inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 may also be referred to as forming a “built-in decoder” of the video encoder 20.

[0052] Pictures and picture partitions (pictures and blocks) The encoder 20 may be configured to receive, for example, via input 201, a picture 17 (or picture data 17), e.g., a picture of a video or a sequence of pictures forming a video sequence. The received picture or picture data may also be a preprocessed picture 19 (preprocessed picture data 19). For simplicity, the following description refers to the picture 17. The picture 17 may also be called a current picture or a picture to be coded (particularly in video coding, to distinguish the current picture from other pictures, e.g., pictures that have been previously coded and / or decoded in the same video sequence, i.e., the video sequence that also includes the current picture).

[0053] A (digital) picture can be thought of as or be a two-dimensional array or matrix of samples with intensity values. The samples in the array may also be called pixels (short for picture element) or pels. The number of samples in the horizontal and vertical directions (or axes) of the array or picture defines the size and / or resolution of the picture. For color representation, three color components are typically used, i.e., a picture may be represented as or contain three sample arrays. In an RBG format or color space, a picture contains corresponding red, green, and blue sample arrays. However, in video coding, each pixel is typically represented in a luminance and chrominance format or color space, e.g., YCbCr, which contains a luminance component denoted by Y (sometimes L is used instead) and two chrominance components denoted by Cb and Cr. The luminance (or luma for short) component Y represents brightness or gray-level intensity (e.g., as in a grayscale picture). On the other hand, the two chrominance (or chroma for short) components Cb and Cr represent chromaticity or color information components. Thus, a picture in YCbCr format includes a luminance sample array of luminance sample values ​​(Y) and two chrominance sample arrays of chrominance values ​​(Cb and Cr). A picture in RGB format may be converted or transformed to YCbCr format, or vice versa; the process is also known as color conversion or translation. If a picture is monochrome, the picture may include only a luminance sample array. Thus, a picture may be, for example, an array of luma samples in monochrome format, or an array of luma samples and two corresponding arrays of chroma samples in 4:2:0, 4:2:2, and 4:4:4 color formats.

[0054] Embodiments of video encoder 20 may include a picture partition unit (not shown in FIG. 2) configured to partition picture 17 into multiple (typically non-overlapping) picture blocks 203. These blocks may also be called root blocks, macroblocks (H.264 / AVC) or coding tree blocks (CTBs) or coding tree units (CTUs) (H.265 / HEVC and VVC). The picture partition unit may be configured to use the same block size for all pictures of a video sequence and a corresponding grid that defines the block size, or to vary the block size among pictures or subsets or groups of pictures and partition each picture into corresponding blocks.

[0055] In further embodiments, the video encoder may be configured to directly receive blocks 203 of picture 17, e.g., one, some, or all of the blocks that form picture 17. Picture blocks 203 may also be referred to as current picture blocks or picture blocks to be coded.

[0056] Like picture 17, picture block 203 can also be considered as or be a two-dimensional array or matrix of samples having intensity values ​​(sample values), but with smaller dimensions than picture 17. In other words, block 203 may, for example, include one sample array (e.g., a luma array in the case of a monochrome picture 17, or a luma or chroma array in the case of a color picture) or three sample arrays (e.g., a luma and two chroma arrays in the case of a color picture 17), or any other number and / or type of arrays depending on the applied color format. The number of samples in the horizontal and vertical directions (or axes) of block 203 defines the size of block 203. Thus, a block may, for example, be an M×N (M columns by N rows) array of samples or an M×N array of transform coefficients.

[0057] An embodiment of video encoder 20 such as that shown in FIG. 2 may be configured to encode picture 17 on a block-by-block basis, eg, encoding and prediction is performed on a block-by-block basis.

[0058] An embodiment of video encoder 20 such as that shown in FIG. 2 may be further configured to partition and / or encode a picture using slices (also called video slices), where a picture may be partitioned into or encoded using one or more (typically non-overlapping) slices, each of which may include one or more blocks (e.g., CTUs).

[0059] An embodiment of video encoder 20 as shown in FIG. 2 may be further configured to partition and / or encode a picture using slice / tile groups (also referred to as video tile groups) and / or tiles (also referred to as video tiles), where a picture may be partitioned into or encoded using one or more (typically non-overlapping) slice / tile groups, each of which may, for example, include one or more blocks (e.g., CTUs) or one or more tiles, and each tile may, for example, be rectangular in shape and include one or more blocks (e.g., CTUs), e.g., full or partial blocks.

[0060] Residual calculation The residual calculation unit 204 may be configured to calculate the residual block 205 based on the picture block 203 and the prediction block 265 (further details regarding the prediction block 265 are provided below), for example, by subtracting sample values ​​of the prediction block 265 from sample values ​​of the picture block 203 on a sample-by-sample (pixel-by-pixel) basis to obtain the residual block 205 in the sample domain.

[0061] conversion The transform processing unit 206 may be configured to apply a transform, such as a discrete cosine transform (DCT) or a discrete sine transform (DST), to the sample values ​​of the residual block 205 to obtain transform coefficients in a transform domain 207. The transform coefficients 207 may also be referred to as transform residual coefficients and represent the residual block 205 in the transform domain.

[0062] The transform processing unit 206 may be configured to apply an integer approximation of a DCT / DST, such as the transform specified for H.265 / HEVC. Compared to an orthogonal DCT transform, such an integer approximation is typically scaled by a specific factor. To maintain the norm of the residual block processed by the forward and inverse transforms, an additional scaling factor is applied as part of the transform process. The scaling factor is typically selected based on specific constraints, such as the scaling factor being a power of two due to shift operations, the bit depth of the transform coefficients, a trade-off between accuracy and implementation cost, etc. A specific scaling factor may be specified, for example, for the inverse transform by the inverse transform processing unit 212 (and the corresponding inverse transform by, e.g., the inverse transform processing unit 312 in the video decoder 30), and a corresponding scaling factor for the forward transform by, e.g., the transform processing unit 206 in the encoder 20 may be specified accordingly.

[0063] An embodiment of video encoder 20 (respectively, transform processing unit 206) may be configured to output transform parameters, e.g., a type of transform or multiple transforms, that are encoded or compressed, e.g., directly or via entropy coding unit 270, so that, for example, video decoder 30 may receive and use the transform parameters for decoding.

[0064] quantization The quantization unit 208 may be configured to quantize the transform coefficients 207, for example by applying scalar quantization or vector quantization, to obtain quantized coefficients 209. The quantized coefficients 209 may also be referred to as quantized transform coefficients 209 or quantized residual coefficients 209.

[0065] The quantization process may reduce the bit depth associated with some or all of the transform coefficients 207. For example, an n-bit transform coefficient may be truncated to an m-bit transform coefficient during quantization, where n is greater than m. The degree of quantization may be changed by adjusting a quantization parameter (QP). For example, in scalar quantization, different scaling may be applied to achieve finer or coarser quantization. A smaller quantization step size corresponds to finer quantization, while a larger quantization step size corresponds to coarser quantization. The applicable quantization step may be indicated by the quantization parameter (QP). The quantization parameter may, for example, be an index into a predetermined set of applicable quantization step sizes. For example, a small quantization parameter may correspond to finer quantization (smaller quantization step size) and a large quantization parameter may correspond to coarser quantization (larger quantization step size), or vice versa. Quantization may involve division by a quantization step size, while the corresponding and / or inverse dequantization by, for example, the inverse quantization unit 210 may involve multiplication by the quantization step size. Some standards, such as HEVC, may be configured to use a quantization parameter to determine the quantization step size. Generally, the quantization step size may be calculated based on the quantization parameter using a fixed-point approximation of a formula that includes division. Due to the scaling used in the fixed-point approximation of the formula for the quantization step size and the quantization parameter, additional scaling factors for quantization and dequantization may be introduced to restore the norm of the residual block, which may change. In one exemplary implementation, the scaling of the inverse transform and dequantization may be combined. Alternatively, customized quantization tables may be used, e.g., signaled from the encoder to the decoder in the bitstream. Quantization is a lossy operation, and loss increases with increasing quantization step size.

[0066] Embodiments of video encoder 20 (respectively, quantization unit 208) may be configured to output a quantization parameter (QP), e.g., encoded directly or via entropy coding unit 270, so that, for example, video decoder 30 may receive and apply the quantization parameter for decoding.

[0067] inverse quantization The inverse quantization unit 210 is configured to apply the inverse quantization of the quantization unit 208 to the quantized coefficients, e.g., by applying the inverse of the quantization scheme applied by the quantization unit 208, based on or using the same quantization step size as the quantization unit 208, to obtain dequantized coefficients 211. The dequantized coefficients 211 are also referred to as dequantized residual coefficients 211 and may correspond to the transform coefficients 207, although they are typically not identical to the transform coefficients due to loss due to quantization.

[0068] Inverse transformation The inverse transform processing unit 212 is configured to apply an inverse transform of the transform applied by the transform processing unit 206, such as an inverse discrete cosine transform (DCT) or an inverse discrete sine transform (DST) or other inverse transform, to obtain a reconstructed residual block 213 (or corresponding dequantized coefficients 213) in the sample domain. The reconstructed residual block 213 may also be referred to as a transform block 213.

[0069] Reconstruction The reconstruction unit 214 (e.g., an adder or summer 214) is configured to add the transform block 213 (i.e., the reconstructed residual block 213) to the prediction block 265, e.g., by adding the sample values ​​of the reconstructed residual block 213 and the sample values ​​of the prediction block 265 sample by sample, to obtain the reconstructed block 215 in the sample domain.

[0070] filtering The loop filter unit 220 (or "loop filter" 220 for short) is configured to filter the reconstructed block 215 to obtain a filtered block 221, or generally, to filter reconstructed samples to obtain filtered samples. The loop filter unit is configured, for example, to smooth pixel transitions or improve video quality. The loop filter unit 220 may include one or more loop filters, such as a deblocking filter, a sample-adaptive offset (SAO) filter, or one or more other filters, such as a bilateral filter, an adaptive loop filter (ALF), a sharpening filter, a smoothing filter, or a collaborative filter, or any combination thereof. Although the loop filter unit 220 is illustrated in FIG. 2 as being an in-loop filter, in other configurations, the loop filter unit 220 may be implemented as a post-loop filter. The filtered block 221 may also be referred to as a filtered reconstruction block 221.

[0071] Embodiments of video encoder 20 (respectively, loop filter unit 220) may be configured to output loop filter parameters (e.g., sample adaptive offset information), e.g., encoded directly or via entropy coding unit 220, so that, for example, decoder 30 may receive and apply the same loop filter parameters or respective loop filters for decoding.

[0072] Decoded Picture Buffer The decoded picture buffer (DPB) 230 may be a memory that stores reference pictures, or reference picture data in general, for encoding video data by the video encoder 20. The DPB 230 may be formed from any of a variety of memory devices, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. The decoded picture buffer (DPB) 230 may be configured to store one or more filtered blocks 221. The decoded picture buffer 230 may be further configured to store other previously filtered blocks, e.g., previously reconstructed filtered blocks 221, of the same current picture or a different picture, e.g., a previously reconstructed picture, and may provide a complete previously reconstructed, i.e., decoded, picture (and corresponding reference blocks and samples) and / or a partially reconstructed current picture (and corresponding reference blocks and samples), e.g., for inter prediction. The decoded picture buffer (DPB) 230 may also be configured to store one or more unfiltered reconstructed blocks 215, or in general, unfiltered reconstructed samples, e.g., if the reconstructed blocks 215 are not filtered by the loop filter unit 220, or other further processed versions of any of the reconstructed blocks or samples.

[0073] Mode selection (partition and prediction) The mode selection unit 260 includes a partition unit 262, an inter prediction unit 244, and an intra prediction unit 254, and is configured to receive or obtain original picture data, e.g., original block 203 (current block 203 of current picture 17), and reconstructed picture data, e.g., filtered and / or unfiltered reconstructed samples or blocks of the same (current) picture and / or from one or more previously decoded pictures, e.g., from the decoded picture buffer 230 or other buffer (e.g., a line buffer, not shown). The reconstructed picture data is used as reference picture data for prediction, e.g., inter prediction or intra prediction, to obtain a prediction block 265 or predictor 265.

[0074] The mode selection unit 260 may be configured to determine or select a partition (including no partition) and a prediction mode (e.g., intra or inter prediction mode) for the current block prediction mode, and generate a corresponding prediction block 265 used for calculating the residual block 205 and for reconstructing the reconstruction block 215.

[0075] Embodiments of mode selection unit 260 may be configured to select partitions and prediction modes (e.g., from those supported or available by mode selection unit 260) that provide the best fit, or in other words, the smallest residual (smallest residual means better compression for transmission or storage) or the smallest signaling overhead (smallest signaling overhead means better compression for transmission or storage), or that consider or balance both. Mode selection unit 260 may also be configured to determine partitions and prediction modes based on rate distortion optimization (RDO), i.e., to select a prediction mode that provides the smallest rate distortion. Terms such as “best,” “minimum,” “optimum,” etc. in this context do not necessarily indicate an overall “best,” “minimum,” “optimum,” etc., but may indicate the satisfaction of termination or selection criteria, such as values ​​above or below a threshold, or other constraints that potentially result in a “suboptimal selection,” but reduce complexity and processing time.

[0076] In other words, the partition unit 262 may be configured to further partition the block 203 into smaller block partitions or sub-blocks (which again form blocks), e.g., using quad-tree partitioning (QT), binary partitioning (BT), or triple-tree partitioning (TT), or any combination thereof repeatedly, and perform prediction on each of the block partitions or sub-blocks, wherein the mode selection includes selecting a tree structure of the partitioned block 203, and a prediction mode is applied to each of the block partitions or sub-blocks.

[0077] The partitioning (eg, by partition unit 260) and prediction processes (by inter prediction unit 244 and intra prediction unit 254) performed by exemplary video encoder 20 are described in further detail below.

[0078] partition The partition unit 262 may partition (or divide) the current block 203 into smaller partitions, e.g., smaller blocks of square or rectangular size. These smaller blocks (which may also be called sub-blocks) may be further partitioned into even smaller partitions. This is also called tree partitioning or hierarchical tree partitioning; for example, a root block at root tree level 0 (hierarchical level 0, depth 0) may be recursively partitioned, e.g., into two or more blocks at the next lower tree level, e.g., a node at tree level 1 (hierarchical level 1, depth 1), which may again be partitioned into two or more blocks at the next lower tree level, e.g., tree level 2 (hierarchical level 2, depth 2), and so on, until partitioning is terminated, e.g., because a termination criterion is met, e.g., a maximum tree depth or a minimum block size is reached. Blocks that are not further partitioned are also called leaf blocks or leaf nodes of the tree. A tree that uses a partition into two partitions is called a binary tree (BT), a tree that uses a partition into three partitions is called a ternary tree (TT), and a tree that uses a partition into four partitions is called a quad tree (QT).

[0079] As mentioned above, the term "block" as used herein may refer to a portion of a picture, in particular a square or rectangular portion. For example, with reference to HEVC and VVC, a block may be or correspond to a coding tree unit (CTU), a coding unit (CU), a prediction unit (PU), and a transform unit (TU), and / or a corresponding block, such as a coding tree block (CTB), a coding block (CB), a transform block (TB), or a prediction block (PB).

[0080] For example, a coding tree unit (CTU) may be or include a CTB of luma samples, two corresponding CTBs of chroma samples for a picture with a three-sample arrangement, or a CTB of samples for a monochrome picture or a picture coded using a syntax structure used for coding three separate color planes and samples. Correspondingly, a coding tree block (CTB) may be an N×N block of samples, for some value of N, whereby the division of the components into CTBs is a partition. A coding unit (CU) may be or include a coding block of luma samples, two corresponding coding blocks of chroma samples for a picture with a three-sample arrangement, or a coding block of samples for a monochrome picture or a picture coded using a syntax structure used for coding three separate color planes and samples. Correspondingly, a coding block (CB) may be an M×N block of samples, for some values ​​of M and N, whereby the division of the CTB into coding blocks is a partition.

[0081] For example, in an HEVC-based embodiment, a coding tree unit (CTU) may be divided into CUs by using a quadtree structure, denoted as a coding tree. The decision of whether to code a picture region using inter-picture (temporal) prediction or intra-picture (spatial) prediction is made at the CU level. Each CU can be further divided into one, two, or four PUs according to a PU partition type. Within one PU, the same prediction process is applied, and related information is sent to the decoder for each PU. After obtaining residual blocks by applying a prediction process based on the PU partition type, the CU can be partitioned into transform units (TUs) according to another quadtree structure similar to the coding tree for the CU.

[0082] For example, in an embodiment according to the latest video coding standard currently under development, called Versatile Video Coding (VVC), a combined quad-tree and binary tree (QTBT) partition is used, for example, to partition coding blocks. In the QTBT block structure, CUs can have either square or rectangular shapes. For example, coding tree units (CTUs) are first partitioned using a quad-tree structure. Quad-tree leaf nodes are further partitioned using a binary tree or ternary (or triple) tree structure. The partitions of tree leaf nodes are called coding units (CUs), and this segmentation is used for prediction and transform processes without further partitioning. This means that CUs, PUs, and TUs have the same block size in the QTBT coding block structure. In parallel, multiple partitions, for example, triple-tree partitions, may be used with the QTBT block structure.

[0083] In one example, mode select unit 260 of video encoder 20 may be configured to perform any combination of the partitioning techniques described herein.

[0084] As described above, video encoder 20 is configured to determine or select a best or optimal prediction mode from a (e.g., predetermined) set of prediction modes, which may include, for example, intra-prediction modes and / or inter-prediction modes.

[0085] Intra prediction The set of intra prediction modes may include 35 different intra prediction modes, e.g., non-directional modes such as DC (or average) mode and planar mode, or directional modes as defined for example in HEVC, or may include 67 different intra prediction modes, e.g., non-directional modes such as DC (or average) mode and planar mode, or directional modes as defined for example in VVC.

[0086] The intra prediction unit 254 is configured to use reconstructed samples of neighboring blocks of the same current picture to generate an intra prediction block 265 according to an intra prediction mode from a set of intra prediction modes.

[0087] The intra prediction unit 254 (or generally the mode selection unit 260) is further configured to output the intra prediction parameters (or generally information indicating the selected intra prediction mode for the block) to the entropy coding unit 270 in the form of a syntax element 226 for inclusion in the coded picture data 21, so that, for example, the video decoder 30 may receive and use the prediction parameters for decoding.

[0088] Inter Prediction The set (or possibilities) of inter prediction modes depends on the available reference pictures (i.e., previous at least partially decoded pictures, e.g., stored in DBP 230) and other inter prediction parameters, such as whether the entire reference picture is used to search for the best matching reference block, or whether only a portion of the reference picture, e.g., a search window area around the area of ​​the current block, is used, and / or whether, for example, pixel interpolation, e.g., half / semi-pel and / or quarter-pel interpolation, is applied.

[0089] In addition to the above prediction modes, skip mode and / or direct mode may also be applied.

[0090] The inter prediction unit 244 may include a motion estimation (ME) unit and a motion compensation (ME) unit (both not shown in FIG. 2 ). The motion estimation unit may be configured to receive or obtain, for motion estimation, a picture block 203 (current block 203 of current picture 17) and a decoded picture 231, or at least one or more previously reconstructed blocks, e.g., reconstructed blocks of one or more other / different previous decoded pictures 231. For example, a video sequence may include the current picture and the previous decoded picture 231, or in other words, the current picture and the previous decoded picture 231 may be part of or form a sequence of pictures that form a video sequence.

[0091] The encoder 20 may be configured to, for example, select a reference block from multiple reference blocks of the same or different pictures and provide the reference picture (or reference picture index) and / or an offset (spatial offset) between the position (x, y coordinates) of the reference block and the position of the current block to the motion estimation unit as an inter-prediction parameter. This offset is also called a motion vector (MV).

[0092] The motion compensation unit is configured to obtain, e.g., receive, inter prediction parameters and perform inter prediction based on or using the inter prediction parameters to obtain an inter prediction block 265. The motion compensation performed by the motion compensation unit may include fetching or generating a prediction block based on motion / block vectors determined by motion estimation, and possibly performing interpolation to sub-pixel accuracy. Interpolation filtering may generate additional pixel samples from known pixel samples, thus potentially increasing the number of candidate prediction blocks that can be used to code the picture block. Upon receiving the motion vector of the PU of the current picture block, the motion compensation unit may find the prediction block to which the motion vector points in one of the reference picture lists.

[0093] The motion compensation unit may also generate syntax elements associated with the blocks and video slices for use by video decoder 30 in decoding picture blocks of the video slices. In addition to or as an alternative to slices and their respective syntax elements, tile groups and / or tiles and their respective syntax elements may be generated or used.

[0094] Entropy Coding The entropy coding unit 270 is configured to, for example, apply or bypass (uncompress) an entropy coding algorithm or scheme (e.g., a variable length coding (VLC) scheme, a context adaptive VLC (CAVLC) scheme, an arithmetic coding scheme, binarization, context adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or other entropy coding method or technique) to the quantized coefficients 209, the inter-prediction parameters, the intra-prediction parameters, the loop filter parameters, and / or other syntax elements to obtain coded picture data 21 that can be output via output 272, for example, in the form of coded bitstream 21, so that, for example, video decoder 30 may receive and use the parameters for decoding. Encoded bitstream 21 may be transmitted to video decoder 39 or may be stored in memory for later transmission or retrieval by video decoder 30 .

[0095] Other structural variations of the video encoder 20 can be used to encode the video stream. For example, a non-transform-based encoder 20 can directly quantize the residual signal for a particular block or frame, without the transform processing unit 206. In other implementations, the encoder 20 can have the quantization unit 208 and the inverse quantization unit 210 combined into a single unit.

[0096] Decoder and decoding method 3 shows an example of a video decoder 30 configured to implement the techniques of the present application. The video decoder 30 is configured to receive coded picture data 21 (e.g., coded bitstream 21), for example, coded by encoder 20, to obtain a decoded picture 331. The coded picture data or bitstream includes information for decoding the coded picture data, for example, data representing picture blocks of coded video slices (and / or tile groups or tiles) and associated syntax elements.

[0097] 3, decoder 30 includes an entropy decoding unit 304, an inverse quantization unit 310, an inverse transform processing unit 312, a reconstruction unit 314 (e.g., summer 314), a loop filter 320, a decoded picture buffer (DBP) 330, a mode application unit 360, an inter prediction unit 344, and an intra prediction unit 354. Inter prediction unit 344 may be or include a motion compensation unit. Video decoder 30, in some examples, may perform a decoding path that is generally inverse to the encoding path described with respect to video encoder 100 from FIG. 2.

[0098] As described with respect to encoder 20, inverse quantization unit 210, inverse transform processing unit 212, reconstruction unit 214, loop filter 220, decoded picture buffer (DPB) 230, inter prediction unit 344, and intra prediction unit 354 may also be referred to as forming a “built-in decoder” of video encoder 20. Accordingly, inverse quantization unit 310 may be functionally identical to inverse quantization unit 110, inverse transform processing unit 312 may be functionally identical to inverse transform processing unit 212, reconstruction unit 314 may be functionally identical to reconstruction unit 214, loop filter 320 may be functionally identical to loop filter 220, and decoded picture buffer 330 may be functionally identical to decoded picture buffer 230. Accordingly, the descriptions provided for the respective units and functions of video encoder 20 also apply correspondingly to the respective units and functions of video decoder 30.

[0099] Entropy Decoding The entropy decoding unit 304 is configured to parse the bitstream 21 (or generally, the coded picture data 21) and, e.g., perform entropy decoding on the coded picture data 21 to obtain, e.g., quantized coefficients 309 and / or decoded coding parameters (not shown in FIG. 3 ), such as inter-prediction parameters (e.g., reference picture indices and motion vectors), intra-prediction parameters (e.g., intra-prediction modes or indices), transform parameters, quantization parameters, loop filter parameters, and / or other syntax elements. The entropy decoding unit 304 may be configured to apply a decoding algorithm or scheme corresponding to an encoding scheme such as those described with respect to the entropy coding unit 270 of the encoder 20. The entropy decoding unit 304 may be further configured to provide the inter-prediction parameters, intra-prediction parameters, and / or other syntax elements to the mode application unit 360 and to provide other parameters to other units of the decoder 30. The video decoder 30 may receive video slice-level and / or video block-level syntax elements. In addition to or as an alternative to slices and their respective syntax elements, tile groups and / or tiles and their respective syntax elements may be received and / or used.

[0100] inverse quantization Inverse quantization unit 310 may be configured to receive a quantization parameter (QP) (or generally, information regarding inverse quantization) and quantized coefficients from coded picture data 21 (e.g., by parsing and / or decoding by entropy decoding unit 304, for example), and apply inverse quantization to the decoded quantized coefficients 309 based on the quantization parameter to obtain dequantized coefficients 311, which may also be referred to as transform coefficients 311. The inverse quantization process may involve using the quantization parameter determined by video encoder 20 for each video block within a video slice (or tile or tile group) to determine the degree of quantization, and similarly the degree of inverse quantization, to be applied.

[0101] Inverse transformation The inverse transform processing unit 312 may be configured to receive the dequantized coefficients 311, also referred to as transform coefficients 311, and apply a transform to the dequantized coefficients 311 to obtain the reconstructed residual block 213 in the sample domain. The reconstructed residual block 213 may also be referred to as the transform block 313. The transform may be an inverse transform, e.g., an inverse DCT, an inverse DST, an inverse integer transform, or a conceptually similar inverse transform process. The inverse transform processing unit 312 may further be configured to receive transform parameters or corresponding information from the coded picture data 21 (e.g., by parsing and / or decoding by the entropy decoding unit 304) to determine the transform to be applied to the dequantized coefficients 311.

[0102] Reconstruction The reconstruction unit 314 (e.g., an adder or summer 314) may be configured to add the reconstructed residual block 313 to the prediction block 365, e.g., by adding sample values ​​of the reconstructed residual block 313 and sample values ​​of the prediction block 365, to obtain a reconstructed block 315 in the sample domain.

[0103] filtering Loop filter unit 320 (either in the coding loop or after the coding loop) is configured to filter reconstructed block 315 to obtain filtered block 321, e.g., to smooth pixel transitions or improve video quality. Loop filter unit 320 may include one or more loop filters, such as a deblocking filter, a sample-adaptive offset (SAO) filter, or one or more other filters, e.g., a bilateral filter, an adaptive loop filter (ALF), a sharpening filter, a smoothing filter, or a collaborative filter, or any combination thereof. Although loop filter unit 320 is shown in FIG. 3 as being an in-loop filter, in other configurations, loop filter unit 320 may be implemented as a post-loop filter.

[0104] Decoded Picture Buffer The decoded video blocks 321 of the picture are then stored in a decoded picture buffer 330, which stores the decoded picture 331 as a reference picture for later motion compensation for other pictures and / or for output for respective display.

[0105] The decoder 30 is arranged to output the decoded pictures 331, for example via output 312, for presentation or viewing to a user.

[0106] prediction The inter prediction unit 344 may be identical to the inter prediction unit 244 (in particular the motion compensation unit), and the intra prediction unit 354 may be functionally identical to the inter prediction unit 254, and performs the division or partition decision and prediction based on the partition and / or prediction parameters or respective information received from the coded picture data 21 (e.g., by parsing and / or decoding by the entropy decoding unit 304). The mode application unit 360 may be configured to perform prediction (intra or inter prediction) for each block based on the reconstructed picture, block or respective (filtered or unfiltered) samples to obtain a prediction block 365.

[0107] When a video slice is coded as an intra-coded (I) slice, intra prediction unit 354 of mode application unit 360 is configured to generate a predictive block 365 for a picture block of the current video slice based on the signaled intra prediction mode and data from a previously decoded block of the current picture. When a video picture is coded as an inter-coded (i.e., B or P) slice, inter prediction unit 344 (e.g., a motion compensation unit) of mode application unit 360 is configured to generate a predictive block 365 for a video block of the current video slice based on the motion vector and other syntax elements received from entropy decoding unit 304. In inter prediction, the predictive block may be generated from one of the reference pictures in one of the reference picture lists. Video decoder 30 may construct the reference frame lists, List 0 and List 1, using a default construction technique based on the reference pictures stored in DPB 330. The same or similar may apply to or by embodiments that use tile groups (e.g., video tile groups) and / or tiles (e.g., video tiles) in addition to or as an alternative to slices (e.g., video slices), e.g., video may be coded using I, P, or B tile groups and / or tiles.

[0108] Mode application unit 360 is configured to determine prediction information for video blocks of the current video slice by parsing motion vectors or related information and other syntax elements, and uses the prediction information to generate predictive blocks for the current video block being decoded. For example, mode application unit 360 uses some of the received syntax elements to determine the prediction mode (e.g., intra or inter prediction) to be used for coding the video blocks of the video slice, the inter-prediction slice type (e.g., B slice, P slice, or GPB slice), configuration information for one or more of the slice's reference picture lists, motion vectors for each inter-coded video block of the slice, inter-prediction states for each inter-coded video block of the slice, and other information for decoding video blocks in the current video slice. The same or similar techniques may be applied to or with embodiments that use tile groups (e.g., video tile groups) and / or tiles (e.g., video tiles) in addition to or as an alternative to slices (e.g., video slices), e.g., video may be coded using I, P, or B tile groups and / or tiles.

[0109] An embodiment of video decoder 30 such as that shown in FIG. 3 may be configured to partition and / or decode pictures using slices (also called video slices), where a picture may be partitioned into or decoded using one or more (typically non-overlapping) slices, each of which may include one or more blocks (e.g., CTUs).

[0110] An embodiment of video decoder 30 such as that shown in FIG. 3 may be configured to partition and / or decode a picture using tile groups (also referred to as video tile groups) and / or tiles (also referred to as video tiles), where a picture may be partitioned into or decoded using one or more (typically non-overlapping) tile groups, each of which may, for example, include one or more blocks (e.g., CTUs) or one or more tiles, and each tile may, for example, be rectangular in shape and include one or more blocks (e.g., CTUs), e.g., full or partial blocks.

[0111] Other variations of the video decoder 30 may be used to decode the coded picture data 21. For example, the decoder 30 may generate the output video stream without the loop filter unit 320. For example, a non-transform-based decoder 30 may directly inverse quantize the residual signal for a particular block or frame without the inverse transform processing unit 312. In other implementations, the video decoder 30 may have the inverse quantization unit 310 and the inverse transform processing unit 312 combined into a single unit.

[0112] It should be understood that in the encoder 20 and the decoder 30, the processing result of the current step may be further processed and then output to the next step. For example, after interpolation filtering, motion vector derivation or loop filtering, further operations such as clipping or shifting may be performed on the processing result of the interpolation filtering, motion vector derivation or loop filtering.

[0113] It should be noted that further operations may be applied to the derived motion vector of the current block (including, but not limited to, control point motion vectors in affine mode, sub-block motion vectors in affine, planar, and ATMVP modes, temporal motion vectors, etc.). For example, the value of a motion vector is constrained to a predetermined range according to its representation bits. If the representation bits of a motion vector are bitDepth, the range is -2^(bitDepth-1) to 2^(bitDepth-1)-1, where "^" means exponentiation. For example, if bitDepth is set equal to 16, the range is -32768 to 32767, and if bitDepth is set equal to 18, the range is -131072 to 131071. For example, the value of a derived motion vector (e.g., the MVs of four 4x4 sub-blocks in one 8x8 block) is constrained so that the maximum difference between the integer parts of the MVs of the four 4x4 sub-blocks is not more than N pixels, such as not more than 1 pixel. Here, we provide two methods for constraining motion vectors according to bitDepth.

[0114] Method 1: Remove the overflow MSB (most significant bit) using flow calculation. ux=(mvx+2 bitDepth )%2 bitDepth (1) mvx=(ux>=2 bitDepth-1 )?(ux-2 bitDepth ):ux (2) uy=(mvy+2 bitDepth )%2 bitDepth (3) mvy=(uy>=2 bitDepth-1 )?(uy-2 bitDepth ):uy (4) where mvx is the horizontal component of the motion vector of the image block or sub-block, mvy is the vertical component of the motion vector of the image block or sub-block, and ux and uy denote intermediate values.

[0115] For example, if the value of mvx is -32769, after applying equations (1) and (2), the resulting value is 32767. In computer systems, decimal values ​​are stored as two's complement numbers. The two's complement of -32769 is 1, 0111, 1111, 1111, 1111 (17 bits), in this case the MSB is discarded, so the resulting two's complement is 0111, 1111, 1111, 1111 (decimal 32767), which is the same as the output by applying equations (1) and (2). ux=(mvpx+mvdx+2 bitDepth )%2 bitDepth (5) mvx=(ux>=2 bitDepth-1 )?(ux-2 bitDepth ):ux (6) uy=(mvpy+mvdy+2 bitDepth )%2 bitDepth (7) mvy=(uy>=2 bitDepth-1 )?(uy-2 bitDepth ):uy (8)

[0116] As shown in equations (5) to (8), operations may be applied between the sum of mvp and mvd.

[0117] Method 2: Remove the overflow MSB by clipping the value. vx=Clip3(-2 bitDepth-1 ,2 bitDepth-1 -1,vx) vy=Clip3(-2 bitDepth-1 ,2 bitDepth-1 -1,vy) where vx is the horizontal component of the motion vector of the image block or sub-block, vy is the vertical component of the motion vector of the image block or sub-block, x, y and z correspond to the three input values ​​of the MV clipping process respectively, and the definition of the function Clip3 is as follows:

number

[0118] 4 is a schematic diagram of a video coding device 400 according to an embodiment of the present disclosure. Video coding device 400 is suitable for implementing embodiments of the disclosure as described herein. In an embodiment, video coding device 400 may be a decoder, such as video decoder 30 of FIG. 1A, or an encoder, such as video encoder 20 of FIG. 1A.

[0119] Video coding device 400 includes an ingress port 410 (or input port 410) and a receiver unit (Rx) 420 for receiving data, a processor, logic unit, or central processing unit (CPU) 430 for processing data, a transmitter unit (Tx) 440 and an egress port 450 (or output port 450) for transmitting data, and a memory 460 for storing data. Video coding device 400 may also include optical-to-electrical (OE) and electrical-to-optical (EO) components coupled to ingress port 410, receiver unit 420, transmitter unit 440, and egress port 450 for the egress or ingress of optical or electrical signals.

[0120] The processor 430 is implemented in hardware and software. The processor 430 may be implemented as one or more CPU chips, cores (e.g., multi-core processors), FPGAs, ASICs, and DSPs. The processor 430 communicates with the ingress port 410, the receiver unit 420, the transmitter unit 440, the egress port 450, and the memory 460. The processor 430 includes a coding module 470. The coding module 470 implements the disclosed embodiments described above. For example, the coding module 470 implements, processes, prepares, or provides various coding operations. Thus, what is included in the coding module 470 provides substantial improvements to the functionality of the video coding device 400 and results in the transformation of the video coding device 400 into a different state. Alternatively, the coding module 470 is implemented as instructions stored in the memory 460 and executed by the processor 430.

[0121] Memory 460 may include one or more disks, tape drives, and solid-state drives, and may be used for storing programs when such programs are selected for execution and as an overflow data storage device for storing instructions and data read during the execution of the programs. Memory 460 may be, for example, volatile and / or non-volatile, and may be read-only memory (ROM), random access memory (RAM), ternary content-addressable memory (TCAM), and / or static random-access memory (SRAM).

[0122] FIG. 5 is a simplified block diagram of an apparatus 500 that may be used as one or both of source device 12 and destination device 14 from FIG. 1A according to an example embodiment.

[0123] Processor 502 in device 500 may be a central processing unit. Alternatively, processor 502 may be any other type of device or devices, now existing or later developed, that can manipulate or process information. While the disclosed implementations may be implemented with a single processor, such as processor 502, as shown, advantages in speed and efficiency may be achieved using more than one processor.

[0124] The memory 504 in the apparatus 500 may, in implementation, be a read only memory (ROM) device or a random access memory (RAM) device. Any other suitable type of storage device may be used as the memory 504. The memory 504 may include code and data 506 that is accessed by the processor 502 using a bus 512. The memory 504 may further include an operating system 508 and application programs 510, which include at least one program that enables the processor 502 to perform methods described herein. For example, the application programs 510 may include applications 1-N, which may further include a video coding application that performs methods described herein.

[0125] The apparatus 500 may also include one or more output devices, such as a display 518. The display 518 may, in one example, be a touch-sensitive display that combines a display with a touch-sensitive element operable to sense touch input. The display 518 may be coupled to the processor 502 via the bus 512.

[0126] Although shown here as a single bus, bus 512 of device 500 may be comprised of multiple buses. Additionally, secondary storage 514 may be directly coupled to other components of device 500 or may be accessible over a network and may include a single integrated unit such as a memory card or multiple units such as multiple memory cards. Thus, device 500 may be implemented in a wide variety of configurations.

[0127] Parameter Set Parameter sets in state-of-the-art codecs are fundamentally similar and share the same fundamental design goals: bitrate efficiency, error resilience, and providing a system layer interface. In HEVC (H.265), there is a hierarchy of parameter sets, including the Video Parameter Set (VPS), Sequence Parameter Set (SPS), and Picture Parameter Set (PPS), which are similar to their counterparts in AVC and VVC. Each slice references a single active PPS, SPS, and VPS to access information used to decode the slice. The PPS contains information that applies to all slices in a picture; therefore, all slices in a picture must reference the same PPS. Slices in different pictures are also allowed to reference the same PPS. Similarly, the SPS contains information that applies to all pictures in the same coded video sequence.

[0128] Although the PPS may be different for different pictures, it is common for many or all pictures in a coded video sequence to reference the same PPS. Reusing parameter sets is bitrate efficient because it avoids the need to transmit shared information multiple times. It is also loss-robust because it allows the contents of parameter sets to be carried over more reliable external communication links or repeated frequently within the bitstream to ensure they are not lost.

[0129] In HEVC, to identify the active parameter sets at each level of the parameter set type hierarchy for a given slice, each slice header includes a PPS identifier that references a specific PPS. Identifiers that reference a specific SPS are located within the PPS. Identifiers that reference a specific VPS are located within the SPS.

[0130] A parameter set is activated when the current coded slice to be decoded references that parameter set. All active parameter sets must be available to the decoder the first time they are referenced. Parameter sets may be transmitted in-band or out-of-band, and may be transmitted repeatedly.

[0131] The parameter sets may be received in any order.

[0132] These parameter set features provide improved error resilience by overcoming network losses for some of the parameter sets. Furthermore, the use of parameter sets allows individual slices to be decoded even if other slices in the same picture suffer from network losses, compared to when a picture header containing the same information is present in a subset of the slices of a picture.

[0133] Picture Parameter Set (PPS) The PPS contains parameters that can vary for different pictures within the same coded video sequence. However, multiple pictures, even those with different slice coding types (I, P, and B), may reference the same PPS. Including these parameters in the picture parameter set rather than in the slice header can improve bitrate efficiency and provide error resilience when the PPS is transmitted more reliably.

[0134] A PPS includes a PPS identifier and an index to the reference SPS. The remaining parameters describe the coding tool used in the slice that references the PPS. Coding tools include tiling, weighted prediction, sign data hiding, temporal motion vector prediction, etc., and can be enabled or disabled. Coding tool parameters signaled in the PPS include the number of reference indices, an initial quantization parameter (QP), and a chroma QP offset. Coding tool parameters, such as deblocking filter control, tile configuration, and scaling list data, may also be signaled in the PPS. An exemplary PPS according to the document Versatile Video Coding (Draft 6) of Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11 (available at http: / / phenix.it-sudparis.eu / jvet / , Document: JVET-O2001-vE) are shown in Figures 6 and 7.

[0135] A section of a PPS is shown in Figure 7. In this figure, the syntax element constant_slice_header_params_enabled_flag (constant_slice_header_params_enabled_flag) indicates whether constant parameters are present in the PPS. When the value of constant_slice_header_params_enabled_flag is equal to 1, further syntax elements are included in the PPS, such as pps_temporal_mvp_enabled_idc (730). pps_temporal_mvp_enabled_idc is a syntax element that may be present in the PPS, controls the application of temporal motion vector prediction, and indicates: If the value of the syntax element is 1, temporal MV prediction is disabled in the slice that references this PPS. If the value of the syntax element is 2, temporal MV prediction is enabled in the slice that references this PPS. If the value of the syntax element is 0, a second syntax element is included in the slice header to control the application of temporal MV prediction for the slice. According to the prior art (JVET-O2001-vE), pps_temporal_mvp_enabled_idc equal to 0 specifies that the syntax element slice_temporal_mvp_enabled_flag is present in the slice header of slices with slice_type not equal to I for slices referencing a PPS. pps_temporal_mvp_enabled_idc equal to 1 or 2 specifies that the slice_temporal_mvp_enabled_flag is not present in the slice header of slices referencing a PPS. pps_temporal_mvp_enabled_idc equal to 3 is reserved for future use by ITU-T|ISO / IEC.

[0136] Another example is shown in Figure 7, which is dep_quant_enabled_flag (720). A pps_dep_quant_enabled_idc equal to 0 specifies that the syntax element dep_quant_enabled_flag is present in the slice header of the slice that references the PPS. A pps_dep_quant_enabled_idc equal to 1 or 2 specifies that the syntax element dep_quant_enabled_flag is not present in the slice header of the slice that references the PPS. A pps_dep_quant_enabled_idc equal to 3 is reserved for future use by ITU-T|ISO / IEC. When dep_quant_enabled_flag controls the application of state-dependent quantization for a slice, a value of zero corresponds to disabling state-dependent quantization, and a value of one corresponds to enabling state-dependent quantization. When pps_dep_quant_enabled_idc is not equal to zero, dep_quant_enabled_flag is not included in the slice header, and instead its value is inferred to be equal to pps_dep_quant_enabled_idc-1.

[0137] The syntax elements included in the PPS when constant_slice_header_params_enabled_flag is true are shown in Figure 7. The syntax elements specify the defaults that are included in the PPS when constant_slice_header_params_enabled_flag is true, and have the following common properties:

[0138] Each syntax element in the PPS has a corresponding syntax element in the slice header, for example, pps_dep_quant_enabled_idc is a syntax element in the PPS, while dep_quant_enabled_flag is a corresponding syntax element in the slice header.

[0139] If a syntax element in the PPS has a value of zero, then its counterpart in the slice header is present (included) in the slice header; otherwise, the syntax element in the slice header is not present in the slice header.

[0140] If a syntax element in a PPS has a value different from zero, the value of the syntax element in the corresponding slice header is deduced according to the value of the syntax element in the PPS. For example, if the value of pps_dep_quant_enabled_idc is equal to 1, the value of dep_quant_enabled_idc is deduced to be pps_dep_quant_enabled_idc-1=0.

[0141] In VVC and HEVC, partitions (slices, tiles, subpictures, bricks, etc.) of the same video picture must refer to the same picture parameter set. This is a requirement of the coding standard because a PPS may contain parameters that apply to the entire picture. For example, as follows, the syntax elements enclosed in brackets (610) describe how a picture is partitioned into multiple tile partitions: · tile_cols_width_minus1 specifies the width of each tile in CTB units when the picture is divided evenly into tiles. · tile_rows_height_minus1 specifies the height of each tile in CTB units when the picture is divided evenly into tiles. num_tile_columns_minus1 specifies the number of tile columns in the picture. num_tile_rows_minus1 specifies the number of tile rows in the picture.

[0142] A picture that references a PPS is divided into multiple tile partitions specified according to the above syntax elements. If two slices of the same picture reference two different PPSs, this may cause a conflict situation because each PPS may indicate a different type of tile partition of the picture. Therefore, it is prohibited for two slices (or generally, two partitions of a picture) to reference two different PPSs.

[0143] VVC defines various picture partition mechanisms, which are called slices, tiles, bricks, and subpictures. In this application, a picture partition is a general term that refers to either a slice, a tile, a brick, or a subpicture. A picture partition typically refers to a portion of a frame that is coded independently of other portions within the same picture.

[0144] Adaptive Parameter Set In state-of-the-art video codecs, a bitstream consists of a sequence of data units called network abstraction layer (NAL) units. Some NAL units contain parameter sets that carry high-level information about the entire coded video sequence or a subset of pictures within it. Other NAL units carry coded samples in the form of slices belonging to one of various picture types. An adaptation parameter set (APS) is a parameter set used to encapsulate ALF filter control data (e.g., filter coefficients).

[0145] Figure 8 illustrates an example of an adaptation parameter set according to the document Versatile Video Coding (Draft 6) of Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11 (available at http: / / phenix.it-sudparis.eu / jvet / , Document number: Document:JVET-O2001-vE).

[0146] Slice Header The slice segment header contains an index to the reference PPS. The slice segment header contains data identifying the start address of the slice. Some parameters are included only in the first slice segment of a slice, including the slice type (I, P, or B), picture output flags, etc. The presence of some coding tool parameters, including enabling SAO separately for luma and chroma, enabling deblocking filter operation between slices, and the initial slice quantization parameter (QP) value, is present in the slice header if the tool is enabled in the SPS or PPS. The deblocking filter parameters may be present in either the slice segment header or the PPS.

[0147] Coded Slices Each coded slice typically consists of a slice header followed by slice data. The slice header carries control information for the slice, and the slice data carries the coded samples. Figures 9 and 11 illustrate slice headers according to document JVET-O2001-vE. Furthermore, Figure 10a illustrates the syntax structure of a coding tree unit that is part of the slice data.

[0148] Each slice is independent of other slices in the sense that the information carried in the slice is coded without relying on data from other slices within the same picture.

[0149] Picture Header A picture header (PH) is a syntax structure that contains syntax elements that apply to all slices of a coded picture. Figure 10b illustrates a picture header according to document JVET-P1006 (http: / / phenix.it-sudparis.eu / jvet / doc_end_user / documents / 16_Geneva / wg11 / JVET-P1006-v2.zip). For example, pic_temporal_mvp_enabled_flag specifies whether a temporal motion vector predictor can be used for inter prediction for all slices associated with the picture header. If pic_temporal_mvp_enabled_flag is equal to 0, the syntax elements of the slice associated with the picture header shall be constrained so that a temporal motion vector predictor is not used in decoding the slice. Otherwise (if pic_temporal_mvp_enabled_flag is equal to 1), a temporal motion vector predictor may be used in decoding the slice associated with the picture header.

[0150] Picture headers are designed for all picture types, i.e., I-pictures, P-pictures, and B-pictures. I-pictures contain only intra-predicted blocks, while P- or B-pictures contain inter-predicted blocks. The difference between P-pictures and B-pictures is that B-pictures can contain inter-predicted blocks with bidirectional prediction, while P-pictures only allow unidirectional inter-prediction. Note that in P- or B-pictures, intra-predicted blocks may also exist.

[0151] There are a number of syntax elements in the picture header that are only applicable to inter prediction, i.e., P and B pictures, and these elements are not required for I pictures.

[0152] An embodiment of the present invention proposes to introduce a flag that indicates whether the current picture is an I-picture or not. When the current picture is an I-picture, all syntax elements designed for inter prediction are not signaled in the picture header and are assumed to be default values.

[0153] In one example, the proposed flag is named as ph_all_intra_flag. The use of this flag is shown as follows: [Table 1-1] [Table 1-2]

[0154] partition_constraints_override_flag equal to 1 specifies that partition constraint parameters are present in the picture header. partition_constraints_override_flag equal to 0 specifies that partition constraint parameters are not present in the picture header. When not present, the value of partition_constraints_override_flag is inferred to be equal to 0.

[0155] pic_log2_diff_min_qt_min_cb_intra_slice_luma specifies the difference between the base 2 logarithm of the minimum size in luma samples of a luma reef block resulting from the quadtree decomposition of a CTU and the base 2 logarithm of the minimum coding block size in luma samples for a luma CU in a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_log2_diff_min_qt_min_cb_intra_slice_luma shall be in the range from 0 to CtbLog2SizeY-MinCbLog2SizeY, inclusive. When not present, the value of pic_log2_diff_min_qt_min_cb_luma is inferred to be equal to sps_log2_diff_min_qt_min_cb_intra_slice_luma.

[0156] pic_log2_diff_min_qt_min_cb_inter_slice specifies the difference between the base 2 logarithm of the minimum size in luma samples of a luma ref block resulting from the quadtree decomposition of a CTU and the base 2 logarithm of the minimum luma coding block size in luma samples for a luma CU in a slice with slice_type equal to 0 (B) or 1 (P) associated with the picture header. The value of pic_log2_diff_min_qt_min_cb_inter_slice shall be in the range of 0 to CtbLog2SizeY-MinCbLog2SizeY. When not present, the value of pic_log2_diff_min_qt_min_cb_luma is inferred to be equal to sps_log2_diff_min_qt_min_cb_inter_slice.

[0157] pic_max_mtt_hierarchy_depth_inter_slice specifies the maximum hierarchical depth for coding units resulting from a multi-type tree partitioning of a quadtree leaf in a slice with slice_type equal to 0 (B) or 1 (P) associated with the picture header. The value of pic_max_mtt_hierarchy_depth_inter_slice shall be in the range 0 to CtbLog2SizeY-MinCbLog2SizeY, inclusive. When not present, the value of pic_max_mtt_hierarchy_depth_inter_slice is inferred to be equal to sps_max_mtt_hierarchy_depth_inter_slice.

[0158] pic_max_mtt_hierarchy_depth_intra_slice_luma specifies the maximum hierarchical depth for coding units resulting from a multi-type tree partitioning of a quadtree leaf in a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_max_mtt_hierarchy_depth_intra_slice_luma shall be in the range 0 to CtbLog2SizeY-MinCbLog2SizeY, inclusive. When not present, the value of pic_max_mtt_hierarchy_depth_intra_slice_luma is inferred to be equal to sps_max_mtt_hierarchy_depth_intra_slice_luma.

[0159] pic_log2_diff_max_bt_min_qt_intra_slice_luma specifies the difference between the base 2 logarithm of the maximum size (width or height) in luma samples of a luma coding block that can be divided using binary tree division and the minimum size (width or height) in luma samples of a luma ref block resulting from quadtree division of a CTU in a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_log2_diff_max_bt_min_qt_intra_slice_luma shall be in the range from 0 to CtbLog2SizeY-MinQtLog2SizeIntraY, inclusive. When not present, the value of pic_log2_diff_max_bt_min_qt_intra_slice_luma is inferred to be equal to sps_log2_diff_max_bt_min_qt_intra_slice_luma.

[0160] pic_log2_diff_max_tt_min_qt_intra_slice_luma specifies the difference between the base 2 logarithm of the maximum size (width or height) in luma samples of a luma coding block that can be divided using ternary tree division and the minimum size (width or height) in luma samples of a luma ref block resulting from quadtree division of a CTU in a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_log2_diff_max_tt_min_qt_intra_slice_luma shall be in the range from 0 to CtbLog2SizeY-MinQtLog2SizeIntraY, inclusive. When not present, the value of pic_log2_diff_max_tt_min_qt_intra_slice_luma is inferred to be equal to sps_log2_diff_max_tt_min_qt_intra_slice_luma.

[0161] pic_log2_diff_max_bt_min_qt_inter_slice specifies the difference between the base 2 logarithm of the maximum size in luma samples (width or height) of a luma coding block that can be divided using binary tree division and the minimum size in luma samples (width or height) of a luma ref block resulting from quadtree division of CTUs in a slice with slice_type equal to 0 (B) or 1 (P) associated with the picture header. The value of pic_log2_diff_max_bt_min_qt_inter_slice shall be in the range from 0 to CtbLog2SizeY - MinQtLog2SizeInterY, inclusive. When not present, the value of pic_log2_diff_max_bt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_bt_min_qt_inter_slice.

[0162] pic_log2_diff_max_tt_min_qt_inter_slice specifies the difference between the base 2 logarithm of the maximum size in luma samples (width or height) of a luma coding block that can be divided using ternary tree division and the minimum size in luma samples (width or height) of a luma ref block resulting from quadtree division of a CTU in a slice with slice_type equal to 0 (B) or 1 (P) associated with the picture header. The value of pic_log2_diff_max_tt_min_qt_inter_slice shall be in the range from 0 to CtbLog2SizeY - MinQtLog2SizeInterY, inclusive. When not present, the value of pic_log2_diff_max_tt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_tt_min_qt_inter_slice.

[0163] pic_log2_diff_min_qt_min_cb_intra_slice_chroma specifies the difference between the base 2 logarithm of the minimum size in luma samples of a chroma leaf block resulting from quadtree decomposition of a chroma CTU with treeType equal to DUAL_TREE_CHROMA and the base 2 logarithm of the minimum coding block size in luma samples for a chroma CU with treeType equal to DUAL_TREE_CHROMA in a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_log2_diff_min_qt_min_cb_intra_slice_chroma shall be in the range from 0 to CtbLog2SizeY - MinCbLog2SizeY, inclusive. When not present, the value of pic_log2_diff_min_qt_min_cb_intra_slice_chroma is inferred to be equal to sps_log2_diff_min_qt_min_cb_intra_slice_chroma.

[0164] pic_max_mtt_hierarchy_depth_intra_slice_chroma specifies the maximum hierarchical depth for a chroma coding unit resulting from a multi-type tree split of a chroma quadtree leaf with treeType equal to DUAL_TREE_CHROMA within a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_max_mtt_hierarchy_depth_intra_slice_chroma shall be in the range from 0 to CtbLog2SizeY - MinCbLog2SizeY, inclusive. When not present, the value of pic_max_mtt_hierarchy_depth_intra_slice_chroma is inferred to be equal to sps_max_mtt_hierarchy_depth_intra_slice_chroma.

[0165] pic_log2_diff_max_bt_min_qt_intra_slice_chroma specifies the difference between the base 2 logarithm of the maximum size (width or height) in luma samples of a chroma coding block that can be divided using binary tree division and the minimum size (width or height) in luma samples of a chroma coding block resulting from quadtree division of a chroma CTU with treeType equal to DUAL_TREE_CHROMA in a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_log2_diff_max_bt_min_qt_intra_slice_chroma shall be in the range from 0 to CtbLog2SizeY - MinQtLog2SizeIntraC, inclusive. When not present, the value of pic_log2_diff_max_bt_min_qt_intra_slice_chroma is inferred to be equal to sps_log2_diff_max_bt_min_qt_intra_slice_chroma.

[0166] pic_log2_diff_max_tt_min_qt_intra_slice_chroma specifies the difference between the base 2 logarithm of the maximum size (width or height) in luma samples of a chroma coding block that can be divided using ternary tree division and the minimum size (width or height) in luma samples of a chroma coding block resulting from quadtree division of a chroma CTU with treeType equal to DUAL_TREE_CHROMA in a slice with slice_type equal to 2(I) associated with the picture header. The value of pic_log2_diff_max_tt_min_qt_intra_slice_chroma shall be in the range from 0 to CtbLog2SizeY - MinQtLog2SizeIntraC, inclusive. When not present, the value of pic_log2_diff_max_tt_min_qt_intra_slice_chroma is inferred to be equal to sps_log2_diff_max_tt_min_qt_intra_slice_chroma.

[0167] pic_cu_qp_delta_subdiv_intra_slice specifies the maximum cbSubdiv value of a coding unit in an intra slice that conveys cu_qp_delta_abs and cu_qp_delta_sign_flag. The value of pic_cu_qp_delta_subdiv_intra_slice shall be in the range of 0 to 2*(CtbLog2SizeY-MinQtLog2SizeIntraY+pic_max_mtt_hierarchy_depth_intra_slice_luma).

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

[0169] pic_cu_qp_delta_subdiv_inter_slice specifies the maximum cbSubdiv value of the coding unit that carries cu_qp_delta_abs and cu_qp_delta_sign_flag within an inter slice. The value of pic_cu_qp_delta_subdiv_inter_slice shall be in the range of 0 to 2*(CtbLog2SizeY-MinQtLog2SizeInterY+pic_max_mtt_hierarchy_depth_inter_slice).

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

[0171] pic_cu_chroma_qp_offset_subdiv_intra_slice specifies the maximum cbSubdiv value of a coding unit in an intra slice that carries cu_chroma_qp_offset_flag. The value of pic_cu_chroma_qp_offset_subdiv_intra_slice shall be in the range of 0 to 2*(CtbLog2SizeY-MinQtLog2SizeIntraY+pic_max_mtt_hierarchy_depth_intra_slice_luma), inclusive.

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

[0173] pic_cu_chroma_qp_offset_subdiv_inter_slice specifies the maximum cbSubdiv value of a coding unit in an inter-slice that carries cu_chroma_qp_offset_flag. The value of pic_cu_chroma_qp_offset_subdiv_inter_slice shall be in the range of 0 to 2*(CtbLog2SizeY-MinQtLog2SizeInterY+pic_max_mtt_hierarchy_depth_inter_slice), inclusive.

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

[0175] The pic_temporal_mvp_enabled_flag specifies whether a temporal motion vector predictor can be used for inter prediction for the slice associated with the picture header. If pic_temporal_mvp_enabled_flag is equal to 0, the syntax elements of the slice associated with the picture header shall be constrained such that a temporal motion vector predictor is not used in decoding the slice. Otherwise (if pic_temporal_mvp_enabled_flag is equal to 1), a temporal motion vector predictor may be used in decoding the slice associated with the picture header.

[0176] When pic_temporal_mvp_enabled_flag is not present, the following applies: - If sps_temporal_mvp_enabled_flag is equal to 0, the value of pic_temporal_mvp_enabled_flag is inferred to be equal to 0. - Otherwise (sps_temporal_mvp_enabled_flag is equal to 1), the value of pic_temporal_mvp_enabled_flag is inferred to be equal to pps_temporal_mvp_enabled_idc-1.

[0177] mvd_l1_zero_flag equal to 1 indicates that the mvd_coding(x0,y0,1) syntax structure is not parsed and MvdL1[x0][y0][compIdx] and MvdL1[x0][y0][cpIdx][compIdx] are set equal to 0 for compIdx=0..1 and cpIdx=0..2. mvd_l1_zero_flag equal to 0 indicates that the mvd_coding(x0,y0,1) syntax structure is parsed. When not present, the value of mvd_l1_zero_flag is inferred to be equal to pps_mvd_l1_zero_idc-1.

[0178] pic_six_minus_max_num_merge_cand specifies the maximum number of merge motion vector prediction (MVP) candidates supported in the slice associated with the picture header, subtracted from 6. The maximum number of merge MVP candidates, MaxNumMergeCand, is derived as follows: MaxNumMergeCand=6-picsix_minus_max_num_merge_cand (7-111)

[0179] The value of MaxNumMergeCand shall be in the range 1 to 6, inclusive. When not present, the value of pic_six_minus_max_num_merge_cand is inferred to be equal to pps_six_minus_max_num_merge_cand_plus1-1.

[0180] pic_five_minus_max_num_subblock_merge_cand specifies the maximum number of subblock-based merge motion vector prediction (MVP) candidates supported in a slice, minus five.

[0181] When pic_five_minus_max_num_subblock_merge_cand is not present, the following applies: -If sps_affine_enabled_flag is equal to 0, the value of pic_five_minus_max_num_subblock_merge_cand is inferred to be equal to 5-(sps_sbtmvp_enabled_flag&&pic_temporal_mvp_enabled_flag). - Otherwise (sps_affine_enabled_flag is equal to 1), the value of pic_five_minus_max_num_subblock_merge_cand is inferred to be equal to pps_five_minus_max_num_subblock_merge_cand_plus1-1.

[0182] The maximum number of subblock-based merge MVP candidates MaxNumSubblockMergeCand is derived as follows: MaxNumSubblockMergeCand=5-pic_five_minus_max_num_subblock_merge_cand (7-112)

[0183] The value of MaxNumSubblockMergeCand shall be in the range of 0 to 5 inclusive.

[0184] pic_fpel_mmvd_enabled_flag equal to 1 specifies that merge mode with motion vector differences uses integer sample precision in the slice associated with the picture header. pic_fpel_mmvd_enabled_flag equal to 0 specifies that merge mode with motion vector differences can use fractional sample precision in the slice associated with the picture header. When not present, the value of pic_fpel_mmvd_enabled_flag is inferred to be 0.

[0185] pic_disable_bdof_dmvr_flag equal to 1 specifies that neither bidirectional optical flow inter prediction nor decoder motion vector refinement-based inter bidirectional prediction is enabled in the slice associated with the picture header. pic_disable_bdof_dmvr_flag equal to 0 specifies that bidirectional optical flow inter prediction or decoder motion vector refinement-based inter bidirectional prediction may or may not be enabled in the slice associated with the picture header. When not present, the value of pic_disable_bdof_dmvr_flag is inferred to be 0.

[0186] pic_max_num_merge_cand_minus_max_num_triangle_cand specifies the maximum number of triangle merge mode candidates supported in the slice associated with the picture header, subtracted from MaxNumMergeCand.

[0187] When pic_max_num_merge_cand_minus_max_num_triangle_cand is not present, sps_triangle_enabled_flag is equal to 1, and MaxNumMergeCand is 2 or greater, pic_max_num_merge_cand_minus_max_num_triangle_cand is inferred to be equal to pps_max_num_merge_cand_minus_max_num_triangle_cand_plus1-1.

[0188] The maximum number of triangle merge mode candidates, MaxNumTriangleMergeCand, is derived as follows: MaxNumTriangleMergeCand=MaxNumMergeCand-pic_max_num_merge_cand_minus_max_num_triangle_cand (7-113)

[0189] When pic_max_num_merge_cand_minus_max_num_triangle_cand exists, the value of MaxNumTriangleMergeCand shall be in the range of 2 to MaxNumMergeCand.

[0190] When pic_max_num_merge_cand_minus_max_num_triangle_cand is not present (sps_triangle_enabled_flag is equal to 0 or MaxNumMergeCand is less than 2), MaxNumTriangleMergeCand is set equal to 0.

[0191] When MaxNumTriangleMergeCand is equal to 0, triangle merge mode is not allowed for the slice associated with the picture header.

[0192] pic_six_minus_max_num_ibc_merge_cand specifies the maximum number of IBC merge block vector prediction (BVP) candidates supported in the slice associated with the picture header, subtracted from 6. The maximum number of IBC merge BVP candidates, MaxNumIbcMergeCand, is derived as follows: MaxNumIbcMergeCand=6-pic_six_minus_max_num_ibc_merge_cand (7-114)

[0193] The value of MaxNumIbcMergeCand must be in the range of 1 to 6.

[0194] It should be noted that the ph_all_intra_flag flag can be signaled anywhere before the first place that controls the syntax element related to inter prediction, i.e., pic_log2_diff_min_qt_min_cb_inter_slice. It should be noted that one or more places of ph_all_intra_flag can be removed (i.e., control only a subset of the syntax elements of an embodiment of the present invention). As another example, the use of this flag is shown as follows: [Table 2]

[0195] In particular, the following methods and embodiments are provided that are implemented by an encoding device: The encoding device may be the video encoder 20 of FIG. 1A or the encoder 20 of FIG.

[0196] According to embodiment 1200 (see FIG. 12), in step 1201, the device determines whether the current picture is an I-picture.

[0197] Because an I-picture contains only intra-predicted blocks, there is no need to signal syntax elements designed for inter-prediction in the picture header of the bitstream. Therefore, when the current picture is an I-picture, syntax elements designed for inter-prediction are not signaled in the picture header. In step 1203, the device sends a bitstream to the decoding device, and the picture header of the bitstream includes a flag used to indicate whether the current picture is an I-picture. In this situation, the flag indicates that the current picture is an I-picture. Syntax elements designed for inter-prediction are not signaled in the picture header. When the current picture is an I-picture, syntax elements designed for inter-prediction are assumed to be default values.

[0198] When the current picture is not an I-picture, ie, when the current picture is a P or B-picture, in step 1205, the device obtains syntax elements designed for inter prediction. As mentioned above, syntax elements designed for inter prediction include one or more of the following elements: pic_log2_diff_min_qt_min_cb_inter_slice, pic_max_mtt_hierarchy_depth_inter_slice, pic_log2_diff_max_bt_min_qt_inter_slice, pic_log2_diff_max_tt_min_qt_inter_slice, pic_cu_qp_delta_subdiv_inter_slice, pic_cu_chroma_qp_offset_subdiv_inter_slice, pic_temporal_mvp_enabled_flag, mvd_l1_zero_flag, pic_fpel_mmvd_enabled_flag, or pic_disable_bdof_dmvr_flag.

[0199] In step 1207, the device transmits the bitstream to the decoding device. The picture header of the bitstream includes a flag used to indicate whether the current picture is an I-picture, as well as syntax elements designed for inter-prediction. In this situation, the flag indicates that the current picture is not an I-picture.

[0200] For example, the flag may be named as ph_all_intra_flag. The ph_all_intra_flag flag may be signaled anywhere before the first place that controls syntax elements designed for inter prediction. The use of this flag is shown above.

[0201] The following methods and embodiments are provided, which are implemented by a decoding device. The decoding device may be the video decoder 30 of Fig. 1A or the decoder 30 of Fig. 3. According to embodiment 1300 (see Fig. 13), in step 1301, the device receives a bitstream and parses the bitstream to obtain a flag from a picture header of the bitstream, where the flag indicates whether the current picture is an I-picture.

[0202] For example, the flag may be named as ph_all_intra_flag. The ph_all_intra_flag flag may be signaled anywhere before the first place that controls syntax elements designed for inter prediction. The use of this flag is shown above.

[0203] In step 1303, the device determines whether the current picture is an I-picture based on the flag.

[0204] When the current picture is an I-picture, syntax elements designed for inter prediction are not signaled in the picture header, and in step 1305, syntax elements designed for inter prediction are assumed to be default values.

[0205] When the current picture is not an I-picture, i.e., when the current picture is a P or B-picture, in step 1307, the device obtains syntax elements designed for inter prediction from the picture header of the bitstream. As mentioned above, syntax elements designed for inter prediction include one or more of the following elements: pic_log2_diff_min_qt_min_cb_inter_slice, pic_max_mtt_hierarchy_depth_inter_slice, pic_log2_diff_max_bt_min_qt_inter_slice, pic_log2_diff_max_tt_min_qt_inter_slice, pic_cu_qp_delta_subdiv_inter_slice, pic_cu_chroma_qp_offset_subdiv_inter_slice, pic_temporal_mvp_enabled_flag, mvd_l1_zero_flag, pic_fpel_mmvd_enabled_flag, or pic_disable_bdof_dmvr_flag.

[0206] Figure 14 shows an embodiment of a device 1400. The device 1400 may be the video encoder 20 of Figure 1A or the encoder 20 of Figure 2. The device 1400 may be used to implement the embodiment 1200 and the other embodiments described above.

[0207] The device 1400 according to the present disclosure includes a determining unit 1401, an obtaining unit 1402, and a signaling unit 1403. The determining unit 1401 is configured to determine whether a current picture is an I-picture.

[0208] The obtaining unit 1042 is configured to obtain syntax elements designed for inter prediction when the current picture is not an I-picture, ie, when the current picture is a P or B-picture. As mentioned above, syntax elements designed for inter prediction include one or more of the following elements: pic_log2_diff_min_qt_min_cb_inter_slice, pic_max_mtt_hierarchy_depth_inter_slice, pic_log2_diff_max_bt_min_qt_inter_slice, pic_log2_diff_max_tt_min_qt_inter_slice, pic_cu_qp_delta_subdiv_inter_slice, pic_cu_chroma_qp_offset_subdiv_inter_slice, pic_temporal_mvp_enabled_flag, mvd_l1_zero_flag, pic_fpel_mmvd_enabled_flag, or pic_disable_bdof_dmvr_flag.

[0209] When the current picture is an I-picture, syntax elements designed for inter prediction are presumed to default values.

[0210] The signaling unit 1403 is configured to send a bitstream to a decoding device, where a picture header of the bitstream includes a flag used to indicate whether the current picture is an I-picture.

[0211] The picture header of the bitstream also includes syntax elements designed for inter prediction when the current picture is not an I-picture. Since I-pictures contain only intra-predicted blocks, there is no need to signal syntax elements designed for inter prediction in the picture header of the bitstream.

[0212] For example, the flag may be named as ph_all_intra_flag. The ph_all_intra_flag flag may be signaled anywhere before the first place that controls syntax elements designed for inter prediction. The use of this flag is shown above.

[0213] Figure 15 shows an embodiment of a device 1500. The device 1500 may be the video decoder 30 of Figure 1A or the decoder 30 of Figure 3. The device 1500 may be used to implement the embodiment 1300 and the other embodiments described above.

[0214] The device 1500 includes an obtaining unit 1501 and a determining unit 1502. The obtaining unit 1501 is configured to parse a bitstream to obtain a flag from a picture header of the bitstream, where the flag indicates whether a current picture is an I-picture. For example, the flag is named as ph_all_intra_flag.

[0215] The determining unit 1502 is configured to determine whether the current picture is an I-picture based on the flag.

[0216] The obtaining unit 1501 is further configured to obtain syntax elements designed for inter prediction from the picture header when the flag indicates that the current picture is not an I picture, i.e., a P or B picture. When the current picture is an I picture, the syntax elements designed for inter prediction are not signaled in the picture header, and the syntax elements designed for inter prediction are deduced to default values.

[0217] Additionally, the following embodiments are provided herein:

[0218] Embodiment 1. A method of coding implemented by a decoding device, comprising: Parsing the bitstream; obtaining a flag from a picture header of the bitstream, the flag indicating whether the current picture is an I-picture; A method comprising:

[0219] Embodiment 2. The method according to embodiment 1, wherein when the current picture is an I-picture, syntax elements designed for inter prediction are inferred to default values.

[0220] Embodiment 3. The method of embodiment 1 or 2, wherein the flag is carried in the PBSP syntax of the picture header.

[0221] Embodiment 4. The method of any one of embodiments 1 to 3, wherein the flag is named as ph_all_intra_flag.

[0222] Embodiment 5. The method of embodiment 4, wherein the use of the flag is as follows: [Table 3]

[0223] Embodiment 6. The method of embodiment 4 or 5, wherein the use of the flag is as follows: [Table 4]

[0224] Embodiment 7. The method according to any one of embodiments 4 to 6, wherein the use of the flag is as follows: [Table 5]

[0225] Embodiment 8. The method according to any one of embodiments 4 to 7, wherein the use of the flag is as follows: [Table 6]

[0226] Embodiment 9. The method according to any one of embodiments 1 to 8, wherein an I-picture contains only intra-predicted blocks, while a P or B-picture contains inter-predicted blocks.

[0227] Embodiment 10. A method of coding implemented by an encoding device, comprising: signaling a flag in a picture header of the bitstream, the flag indicating whether the current picture is an I-picture; transmitting the bitstream; A method comprising:

[0228] Embodiment 11. The method according to embodiment 10, wherein when the current picture is an I-picture, all syntax elements designed for inter prediction are not signaled in the picture header.

[0229] Embodiment 12. The method according to embodiment 10 or 11, wherein when the current picture is an I-picture, syntax elements designed for inter prediction are assumed to be default values.

[0230] Embodiment 13. The method of any one of embodiments 10 to 12, wherein the flag is signaled in the PBSP syntax of the picture header.

[0231] Embodiment 14. The method according to any one of embodiments 10 to 13, wherein the flag is named as ph_all_intra_flag.

[0232] Embodiment 15. The method of embodiment 14, wherein the ph_all_intra_flag flag is signaled anywhere before the first place that controls an inter-prediction related syntax element.

[0233] Embodiment 16. The method of embodiment 14 or 15, wherein the use of the flag is as follows: [Table 7]

[0234] Embodiment 17. The method according to any one of embodiments 14 to 16, wherein the use of the flag is as follows: [Table 8]

[0235] Embodiment 18. The method according to any one of embodiments 14 to 17, wherein the use of the flag is as follows: [Table 9]

[0236] Embodiment 19. The method according to any one of embodiments 14 to 18, wherein the use of the flag is as follows: [Table 10]

[0237] As described above, by indicating whether the current picture is an I-picture in the picture header of the bitstream, syntax elements designed for inter prediction are not signaled in the picture header when the current picture is an I-picture. Thus, embodiments can simplify the picture header signaling for all intra pictures, i.e., I-pictures. Correspondingly, the signaling overhead is reduced.

[0238] The term "obtain" may refer to receiving (e.g., explicitly, e.g., for a decoder, by parsing the bitstream, as a respective parameter from another entity / device or module within the same device) and / or deriving (e.g., which may also be referred to as receiving implicitly, e.g., for a decoder, by parsing other information / parameters from the bitstream and deriving the respective information or parameter from such other information / parameters).

[0239] The following is a description of the application of the encoding and decoding methods shown in the above embodiments and a system using them.

[0240] 16 is a block diagram showing a content supply system 3100 for realizing a content distribution service. The content supply system 3100 includes a capture device 3102, a terminal device 3106, and optionally a display 3126. The capture device 3102 communicates with the terminal device 3106 over a communication link 3104. The communication link may include the above-mentioned communication channel 13. The communication link 3104 includes, but is not limited to, WIFI, Ethernet, cable, wireless (3G / 4G / 5G), USB, or any combination thereof.

[0241] The capture device 3102 may generate data and encode the data using the encoding method described in the above embodiment. Alternatively, the capture device 3102 may deliver the data to a streaming server (not shown in the drawings), which then encodes the data and transmits the encoded data to the terminal device 3106. The capture device 3102 may include, but is not limited to, a camera, a smartphone or pad, a computer or laptop, a video conferencing system, a PDA, an in-vehicle device, or any combination thereof. For example, the capture device 3102 may include the source device 12 described above. When the data includes video, the video encoder 20 included in the capture device 3102 may actually perform video encoding processing. When the data includes audio (i.e., voice), the audio encoder included in the capture device 3102 may actually perform audio encoding processing. In some practical scenarios, the capture device 3102 delivers the encoded video and audio data by multiplexing them together. In other practical scenarios, for example, in a video conferencing system, the encoded audio data and the encoded video data are not multiplexed. The capture device 3102 delivers the encoded audio data and the encoded video data separately to the terminal device 3106 .

[0242] In the content delivery system 3100, a terminal device 3106 receives and plays encoded data. The terminal device 3106 may be a device capable of receiving and restoring data, such as a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video recorder (DVR) 3112, a TV 3114, a set-top box (STB) 3116, a video conferencing system 3118, a video surveillance system 3120, a personal digital assistant (PDA) 3122, an in-vehicle device 3124, or any combination thereof, capable of decoding the encoded data. For example, the terminal device 3106 may include the destination device 14 described above. When the encoded data includes video, the video decoder 30 included in the terminal device is prioritized to perform video decoding. When the encoded data includes audio, the audio decoder included in the terminal device is prioritized to perform audio decoding.

[0243] In a terminal device having its own display, such as a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video decoder (DVR) 3112, a TV 3114, a personal digital assistant (PDA) 3122 or an in-vehicle device 3124, the terminal device can provide the decoded data to its own display. In a terminal device without a display, such as an STB 3116, a video conferencing system 3118 or a video surveillance system 3120, an external display 3126 is brought into contact with it to receive and display the decoded data.

[0244] When each device in this system performs encoding or decoding, it can use a picture encoding device or a picture decoding device as shown in the above embodiment.

[0245] 17 is a diagram illustrating an example structure of the terminal device 3106. After the terminal device 3106 receives a stream from the capture device 3102, the protocol processing unit 3202 analyzes the transmission protocol of the stream. The protocol may include, but is not limited to, Real Time Streaming Protocol (RTSP), Hyper Text Transfer Protocol (HTTP), HTTP Live Streaming Protocol (HLS), MPEG-DASH, Real-time Transport Protocol (RTP), Real Time Messaging Protocol (RTMP), or any type of combination thereof.

[0246] After the protocol processing unit 3202 processes the stream, a stream file is generated. The file is output to the demultiplexing unit 3204. The demultiplexing unit 3204 can separate the multiplexed data into encoded audio data and encoded video data. As mentioned above, in some practical scenarios, for example, in a video conferencing system, the encoded audio data and encoded video data are not multiplexed. In this situation, the encoded data is sent to the video decoder 3206 and the audio decoder 3208 without passing through the demultiplexing unit 3204.

[0247] Through the demultiplexing process, a video elementary stream (ES), an audio ES, and optional subtitles are generated. A video decoder 3206, which includes the video decoder 30 as described in the above embodiment, decodes the video ES using the decoding method as shown in the above embodiment to generate video frames and supplies this data to a synchronization unit 3212. An audio decoder 3208 decodes the audio ES to generate audio frames and supplies this data to the synchronization unit 3212. Alternatively, the video frames may be stored in a buffer (not shown in FIG. 21) before being supplied to the synchronization unit 3212. Similarly, the audio frames may be stored in a buffer (not shown in FIG. 21) before being supplied to the synchronization unit 3212.

[0248] The synchronization unit 3212 synchronizes the video and audio frames and provides the video / audio to the video / audio display 3214. For example, the synchronization unit 3212 synchronizes the presentation of video and audio information. The information may be coded in the syntax using timestamps for the presentation of the coded audio and visual data and timestamps for the delivery of the data stream itself.

[0249] If subtitles are included in the stream, the subtitle decoder 3210 decodes the subtitles, synchronizes them with the video and audio frames, and provides the video / audio / subtitles to the video / audio / subtitle display 3216 .

[0250] The present invention is not limited to the above system, and either the picture encoding device or the picture decoding device in the above embodiments can be incorporated into other systems, for example, vehicle systems.

[0251] Mathematical Operators The mathematical operators used in this application are similar to those used in the C programming language. However, the results of integer division and arithmetic shift operations are more precisely defined, and additional operators such as exponentiation and division of real values ​​are defined. Numbering and counting conventions generally start from 0, e.g., "first" is equivalent to 0th, "second" is equivalent to 1st, etc.

[0252] Logical operators The following logical operators are defined as follows: [Table 11]

[0253] Logical operators The following logical operators are defined as follows: x&&y The Boolean logic "product" of x and y x||y Boolean logic "union" of x and y Boolean logic "negation" x?y:z Evaluates to the value of y if x is true or not equal to 0, otherwise evaluates to the value of z

[0254] Relational operators The following relational operators are defined as follows: > greater than >= Greater than or equal to < Less than <= Less than or equal to == Equal to != Not equal to When a relational operator is applied to a syntax element or variable that has been assigned the value "na" (not applicable), the value "na" is treated as a separate value of the syntax element or variable. The value "na" is considered not equal to any other value.

[0255] Bitwise Operators The following bitwise operators are defined as follows: & Bitwise "product". When operating on integer arguments, the operation is performed on the two's complement representation of the integer values. When operating on a binary argument that contains fewer bits than the other arguments, the shorter argument is extended by adding higher bits equal to 0. | Bitwise "sum". When operating on integer arguments, the operation is performed on the two's complement representation of the integer values. When operating on a binary argument that contains fewer bits than the other arguments, the shorter argument is extended by adding higher bits equal to 0. ^ Bitwise "exclusive sum". When operating on integer arguments, the operation is performed on the two's complement representation of the integer values. When operating on a binary argument that contains fewer bits than the other arguments, the shorter argument is extended by adding higher bits equal to 0. x>>y Arithmetic right shift of the two's complement integer representation of x by y binary digits. This function is defined only for non-negative integer values of y. The bit shifted into the most significant bit (MSB) as a result of the right shift has the same value as the MSB of x before the shift operation. x<<y Arithmetic left shift of the two's complement integer representation of x by y binary digits. This function is defined only for non-negative integer values of y. The bit shifted into the least significant bit (LSB) as a result of the left shift has the value equal to 0.

[0256] Assignment operators The following assignment operators are defined as follows. = Assignment operator ++ Increment. That is, x++ is equal to x=x+1. When used in an array index, it is evaluated to the value of the variable before the increment operation. -- Decrement. That is, x-- is equal to x=x-1. When used in an array index, it is evaluated to the value of the variable before the decrement operation. += increment by the specified amount, i.e. x+=3 is equal to x=x+3, and x+=(-3) is equal to x=x+(-3). -= Decrement by the specified amount, i.e. x-=3 is equal to x=x-3, and x-=(-3) is equal to x=x-(-3).

[0257] Range Notation The following notation is used to specify a range of values: x=y..zx takes an integer value greater than or equal to y and less than or equal to z, where x, y, and z are integers and z is greater than y.

[0258] Mathematical Functions The following mathematical functions are defined:

number

number

number

number

number

number

number

[0259] Operation precedence When the precedence of an expression is not explicitly indicated by the use of parentheses, the following rules apply: An operation with a higher priority is evaluated before any operation with a lower priority. -Operations of equal precedence are evaluated sequentially from left to right.

[0260] The table below specifies the priority of operations from highest to lowest, with higher positions in the table indicating higher priority.

[0261] For operators that are also used in the C programming language, the precedence used herein is the same as the precedence used in the C programming language. [Table 12]

[0262] Text description of logical operations In text, the following format: if(condition 0) Statement 0 else(condition 1) Statement 1 ... else / *Reference notes for remaining conditions* / Statement n A statement of logical operation such as mathematically described in may be written in the following manner: ...as / ...the following applies: -If condition 0, then statement 0 - Otherwise, if condition 1, then statement 1 -... - Otherwise (reference notes for the remaining conditions), statement n Each "if... otherwise, if... otherwise" statement in the text is introduced by "as" or "the following applies" immediately followed by "if...". The final condition of an "if... otherwise, if... otherwise, if..." is always "otherwise". Alternating "if... otherwise, if... otherwise, if..." statements can be identified by matching the "as" or "the following applies" that ends with "otherwise".

[0263] In text, the following format: if(condition0a&&condition0b) Statement 0 else if(condition 1a||condition 1b) Statement 1 ... else Statement n A statement of logical operation such as mathematically described in may be written in the following manner: ...as / ...the following applies: -Statement 0 if all of the following conditions are true: -Condition 0a -condition 0b - Otherwise, if one or more of the following conditions are true, then statement 1: -Condition 1a -Condition 1b -… - Otherwise, statement n

[0264] In text, the following format: if(condition 0) Statement 0 if(condition1) Statement 1 A statement of logical operation such as mathematically described in may be written in the following manner: If condition 0, then statement 0 If condition 1 is true, then statement 1

[0265] Although embodiments of the present invention have been described primarily in the context of video coding, it should be noted that embodiments of coding system 10, encoder 20 and decoder 30 (and correspondingly system 10), as well as other embodiments described herein, may also be configured for still picture processing or coding, i.e., processing or coding of individual pictures independent of any previous or subsequent pictures, as in video coding. In general, when picture processing coding is limited to a single picture 17, only inter prediction units 244 (encoder) and 344 (decoder) may not be available. All other functions (also called tools or techniques) of the video encoder 20 and the video decoder 30 may be equally used for still image picture processing, e.g., residual calculation 204 / 304, transform 206, quantization 208, inverse quantization 210 / 310, (inverse) transform 212 / 312, partitioning 262 / 362, intra prediction 254 / 354, and / or loop filtering 220, 320, as well as entropy coding 270 and entropy decoding 304.

[0266] For example, embodiments of the encoder 20 and the decoder 30, and the functions described herein with respect to the encoder 20 and the decoder 30, may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on a computer-readable medium or transmitted over a communication medium as one or more instructions or code and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which correspond to tangible media such as data storage media, or communication media, including any medium that facilitates transfer of a computer program from one place to another, for example, according to a communication protocol. Thus, computer-readable media may generally correspond to (1) tangible computer-readable storage media that are non-transitory, or (2) communication media such as a signal or carrier wave. Data storage media may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementing the techniques described in this disclosure. A computer program product may include a computer-readable medium.

[0267] By way of example, and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included within the definition of medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but instead cover non-transitory tangible storage media. As used herein, disk and disc include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically and discs reproduce data optically with a laser. Combinations of the above should also be included within the scope of computer-readable media.

[0268] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term "processor," as used herein, may refer to any of the above structures or any other structure suitable for implementing the techniques described herein. Furthermore, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding and decoding, or may be incorporated into a combined codec. Alternatively, the techniques may be implemented entirely in one or more circuit or logic elements.

[0269] The techniques of this disclosure may be implemented in a wide range of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the techniques of the disclosure, but do not necessarily require implementation by different hardware units. Rather, as noted above, the various units may be combined with a codec hardware unit in combination with appropriate software and / or firmware, or may be provided by a collection of interoperating hardware units including one or more processors as described above.

Claims

1. 1. A method of coding implemented by a decoding device, comprising: parsing a bitstream to obtain a flag from a picture header of the bitstream, the flag indicating whether the current picture is an I-picture; When the flag indicates that the current picture is an I picture, syntax elements designed for inter prediction are assumed to be default values, or when the flag indicates that the current picture is a P or B picture, syntax elements designed for inter prediction are obtained from the picture header; A method comprising:

2. The syntax elements designed for inter prediction include pic_log2_diff_min_qt_min_cb_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_min_qt_min_cb_inter_slice specifies the difference between the logarithm of the base 2 of the minimum size in luma samples of a luma reef block resulting from a quadtree decomposition of a coding tree unit (CTU) and the logarithm of the base 2 of the minimum luma coding block size in luma samples for a luma coding unit (CU) in the slice having a P or B picture associated with the picture header; or The method of claim 1 , wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_min_qt_min_cb_luma is inferred to be equal to sps_log2_diff_min_qt_min_cb_inter_slice.

3. The syntax elements designed for inter prediction further include pic_max_mtt_hierarchy_depth_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_max_mtt_hierarchy_depth_inter_slice specifies the maximum hierarchical depth for coding units resulting from multi-type tree splitting of quadtree leaves within a slice; or 3. The method of claim 1, wherein when the flag indicates that the current picture is an I-picture, the value of pic_max_mtt_hierarchy_depth_inter_slice is inferred to be equal to sps_max_mtt_hierarchy_depth_inter_slice.

4. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_bt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_bt_min_qt_inter_slice specifies the difference between the logarithm in base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using binary tree division and the logarithm in base 2 of the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs in the slice; or The method of claim 3 , wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_bt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_bt_min_qt_inter_slice.

5. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_tt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_tt_min_qt_inter_slice specifies the difference between the logarithm in base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using ternary tree division and the logarithm in base 2 of the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs within a slice; or 5. The method of claim 3, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_tt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_tt_min_qt_inter_slice.

6. The syntax elements designed for inter prediction further include pic_cu_qp_delta_subdiv_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_cu_qp_delta_subdiv_inter_slice specifies the maximum cbSubdiv value of the coding unit that carries cu_qp_delta_abs and cu_qp_delta_sign_flag within the inter slice; or The method according to claim 1 , wherein the value of pic_cu_qp_delta_subdiv_inter_slice is inferred to be equal to 0 when the flag indicates that the current picture is an I-picture.

7. The syntax elements designed for inter prediction further include pic_cu_chroma_qp_offset_subdiv_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_cu_chroma_qp_offset_subdiv_inter_slice specifies the maximum cbSubdiv value of the coding unit in the inter slice that carries cu_chroma_qp_offset_flag, or The method according to claim 1 , wherein the value of pic_cu_chroma_qp_offset_subdiv_inter_slice is inferred to be equal to 0 when the flag indicates that the current picture is an I-picture.

8. The syntax elements designed for inter prediction further include pic_cu_chroma_qp_offset_subdiv_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_cu_chroma_qp_offset_subdiv_inter_slice specifies the maximum cbSubdiv value of the coding unit in the inter slice that carries cu_chroma_qp_offset_flag, or The method according to claim 1 , wherein the value of pic_cu_chroma_qp_offset_subdiv_inter_slice is inferred to be equal to 0 when the flag indicates that the current picture is an I-picture.

9. The syntax elements designed for inter prediction further include pic_temporal_mvp_enabled_flag; When the flag indicates that the current picture is a P or B picture, pic_temporal_mvp_enabled_flag specifies whether a temporal motion vector predictor can be used for inter prediction for the slice associated with the picture header; or 9. A method according to claim 1, wherein when the flag indicates that the current picture is an I-picture, if sps_temporal_mvp_enabled_flag is equal to 0, the value of pic_temporal_mvp_enabled_flag is inferred to be equal to 0, otherwise, if sps_temporal_mvp_enabled_flag is equal to 1, the value of pic_temporal_mvp_enabled_flag is inferred to be equal to pps_temporal_mvp_enabled_idc-1.

10. The method of claim 1 , wherein the flag is carried in a PBSP syntax in a picture header.

11. The method of any one of claims 1 to 10, wherein the flag is named ph_all_intra_flag.

12. The method of claim 11, wherein the use of the flag is as follows: 【Table 1】

13. 13. The method of any one of claims 1 to 12, wherein an I-picture contains only intra-predicted blocks, while a P or B-picture contains inter-predicted blocks.

14. 1. A method of coding implemented by a coding device, comprising: determining whether the current picture is an I-picture; sending a bitstream to a decoding device, wherein a picture header of the bitstream includes a flag indicating whether the current picture is an I-picture, and when the current picture is an I-picture, syntax elements designed for inter-prediction are not signaled in the picture header, or when the current picture is a P or B-picture, syntax elements designed for inter-prediction are signaled in the picture header; A method comprising:

15. The method of claim 14 , wherein when the current picture is an I-picture, the syntax elements designed for inter prediction are assumed to be default values.

16. The syntax elements designed for inter prediction include pic_log2_diff_min_qt_min_cb_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_min_qt_min_cb_inter_slice specifies the difference between the logarithm of the base 2 of the minimum size in luma samples of a luma reef block resulting from a quadtree decomposition of a coding tree unit (CTU) and the logarithm of the base 2 of the minimum luma coding block size in luma samples for a luma coding unit (CU) in the slice having a P or B picture associated with the picture header; or The method of claim 15, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_min_qt_min_cb_luma is inferred to be equal to sps_log2_diff_min_qt_min_cb_inter_slice.

17. The syntax elements designed for inter prediction further include pic_max_mtt_hierarchy_depth_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_max_mtt_hierarchy_depth_inter_slice specifies the maximum hierarchical depth for coding units resulting from multi-type tree splitting of quadtree leaves within a slice; or 17. The method of claim 15 or 16, wherein when the flag indicates that the current picture is an I-picture, the value of pic_max_mtt_hierarchy_depth_inter_slice is inferred to be equal to sps_max_mtt_hierarchy_depth_inter_slice.

18. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_bt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_bt_min_qt_inter_slice specifies the difference between the logarithm to the base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using binary tree division and the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs in the slice; or The method of claim 17, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_bt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_bt_min_qt_inter_slice.

19. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_tt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_tt_min_qt_inter_slice specifies the difference between the logarithm in base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using ternary tree division and the logarithm in base 2 of the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs within a slice; or 19. The method of claim 17 or 18, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_tt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_tt_min_qt_inter_slice.

20. 20. The method of any one of claims 14 to 19, wherein the flag is signaled in a PBSP syntax in a picture header.

21. 21. The method of any one of claims 14 to 20, wherein the flag is named ph_all_intra_flag.

22. 22. The method of claim 21, wherein the ph_all_intra_flag flag is signaled anywhere before the first place that controls the syntax element designed for inter prediction.

23. 23. The method of claim 21 or 22, wherein the use of the flag is as follows: 【Table 2】

24. 24. The method of any one of claims 14 to 23, wherein an I-picture contains only intra-predicted blocks, while a P or B-picture contains inter-predicted blocks.

25. An encoder (20) for implementing an encoding method, comprising: An encoder (20) including processing circuitry for carrying out the method of any one of claims 14 to 24.

26. A decoder (30) for implementing the decoding method, comprising: A decoder (30) including processing circuitry for carrying out the method of any one of claims 1 to 13.

27. A decoder for implementing the decoding method, comprising: one or more processors; a non-transitory computer-readable storage medium coupled to the processors and storing programming for execution by the one or more processors to cause the one or more processors to perform the method of any one of claims 1 to 13; A decoder containing

28. An encoder for implementing an encoding method, comprising: one or more processors; a non-transitory computer-readable storage medium coupled to the processors and storing programming for execution by the one or more processors to cause the one or more processors to perform the method of any one of claims 1 to 13; A decoder containing

29. A decoding device (1500) for implementing the decoding method, comprising: an acquisition unit (1501) configured to parse a bitstream and acquire a flag from a picture header of the bitstream, the flag indicating whether a current picture is an I-picture; a determining unit (1502) configured to determine whether the current picture is an I-picture based on the flag; Including, The device (1500), wherein the obtaining unit (1501) is further configured to obtain syntax elements designed for inter prediction from the picture header when the flag indicates that the current picture is a P or B picture.

30. 30. The device of claim 29, wherein when the flag indicates that the current picture is an I-picture, the syntax elements designed for inter prediction are presumed to default values.

31. The syntax elements designed for inter prediction include pic_log2_diff_min_qt_min_cb_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_min_qt_min_cb_inter_slice specifies the difference between the logarithm of the base 2 of the minimum size in luma samples of a luma reef block resulting from a quadtree decomposition of a coding tree unit (CTU) and the logarithm of the base 2 of the minimum luma coding block size in luma samples for a luma coding unit (CU) in the slice having a P or B picture associated with the picture header; or The device of claim 30, wherein when the flag indicates that the current picture is an I-picture, a value of pic_log2_diff_min_qt_min_cb_luma is inferred to be equal to sps_log2_diff_min_qt_min_cb_inter_slice.

32. The syntax elements designed for inter prediction further include pic_max_mtt_hierarchy_depth_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_max_mtt_hierarchy_depth_inter_slice specifies the maximum hierarchical depth for coding units resulting from multi-type tree splitting of quadtree leaves within a slice; or 32. The device of claim 30 or 31, wherein when the flag indicates that the current picture is an I-picture, the value of pic_max_mtt_hierarchy_depth_inter_slice is inferred to be equal to sps_max_mtt_hierarchy_depth_inter_slice.

33. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_bt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_bt_min_qt_inter_slice specifies the difference between the logarithm in base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using binary tree division and the logarithm in base 2 of the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs in the slice; or The device of claim 32, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_bt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_bt_min_qt_inter_slice.

34. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_tt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_tt_min_qt_inter_slice specifies the difference between the logarithm in base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using ternary tree division and the logarithm in base 2 of the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs within a slice; or 34. The device of claim 32 or 33, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_tt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_tt_min_qt_inter_slice.

35. 35. A device according to any one of claims 29 to 34, wherein the flag is named as ph_all_intra_flag.

36. A coding device (1400) for implementing a coding method, comprising: a determining unit (1400) configured to determine whether the current picture is an I-picture; an acquisition unit (1402) configured to acquire syntax elements designed for inter prediction when the current picture is not an I picture (when the current picture is a P or B picture); a signaling unit (1403) configured to transmit a bitstream, wherein a picture header of the bitstream includes a flag indicating whether the current picture is an I-picture, and when the current picture is not an I-picture, the picture header of the bitstream further includes syntax elements designed for inter-prediction; Devices containing (1400).

37. 37. The device of claim 36, wherein when the current picture is an I-picture, the syntax elements designed for inter prediction are inferred to default values.

38. The syntax elements designed for inter prediction include pic_log2_diff_min_qt_min_cb_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_min_qt_min_cb_inter_slice specifies the difference between the logarithm of the base 2 of the minimum size in luma samples of a luma reef block resulting from a quadtree decomposition of a coding tree unit (CTU) and the logarithm of the base 2 of the minimum luma coding block size in luma samples for a luma coding unit (CU) in the slice having a P or B picture associated with the picture header; or The device of claim 37, wherein when the flag indicates that the current picture is an I-picture, a value of pic_log2_diff_min_qt_min_cb_luma is inferred to be equal to sps_log2_diff_min_qt_min_cb_inter_slice.

39. The syntax elements designed for inter prediction further include pic_max_mtt_hierarchy_depth_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_max_mtt_hierarchy_depth_inter_slice specifies the maximum hierarchical depth for coding units resulting from multi-type tree splitting of quadtree leaves within a slice; or 39. The device of claim 37 or 38, wherein when the flag indicates that the current picture is an I-picture, the value of pic_max_mtt_hierarchy_depth_inter_slice is inferred to be equal to sps_max_mtt_hierarchy_depth_inter_slice.

40. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_bt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_bt_min_qt_inter_slice specifies the difference between the logarithm in base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using binary tree division and the logarithm in base 2 of the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs in the slice; or The device of claim 39, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_bt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_bt_min_qt_inter_slice.

41. When pic_max_mtt_hierarchy_depth_inter_slice is not equal to 0, the syntax elements designed for inter prediction further include pic_log2_diff_max_tt_min_qt_inter_slice; When the flag indicates that the current picture is a P or B picture, pic_log2_diff_max_tt_min_qt_inter_slice specifies the difference between the logarithm in base 2 of the maximum size (width or height) in luma samples of a luma coding block that can be divided using ternary tree division and the logarithm in base 2 of the minimum size (width or height) in luma samples of a luma reef block resulting from quadtree division of CTUs within a slice; or 41. The device of claim 39 or 40, wherein when the flag indicates that the current picture is an I-picture, the value of pic_log2_diff_max_tt_min_qt_inter_slice is inferred to be equal to sps_log2_diff_max_tt_min_qt_inter_slice.

42. 42. A device according to any one of claims 36 to 41, wherein the flag is named as ph_all_intra_flag.

43. 43. The device of claim 42, wherein the ph_all_intra_flag flag is signaled anywhere before the first place that controls the syntax element designed for inter prediction.