Method, apparatus and computer program for video encoding or decoding

JP2026009117A5Pending Publication Date: 2026-05-11TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
TENCENT AMERICA LLC
Filing Date
2025-09-22
Publication Date
2026-05-11

AI Technical Summary

Technical Problem

Existing video encoding and decoding technologies face challenges in efficiently compressing video data, particularly in reducing redundancy and bandwidth requirements, especially for high-resolution video formats like 1080p 60 4:2:0, which require significant storage space and bandwidth due to the use of inter-frame prediction and intra-prediction techniques.

Method used

The proposed solution involves disabling certain coding tools, such as joint coding of chroma residuals, active color transform (ACT), and block-based delta pulse code modulation (BDPCM) for chroma components, based on the inference of a syntax element indicating whether a video sequence is monochrome or includes separately coded color components.

Benefits of technology

This approach enhances compression efficiency by optimizing the use of intra-prediction and motion compensation techniques, reducing the bit rate and storage requirements for video data, thereby improving the overall encoding and decoding performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A video decoding method performed in a video decoder is disclosed.SOLUTION: A syntax element may be received from a bitstream of coded video that indicates whether a sequence of images is monochrome or includes three color components that are coded separately. By inferring the value of the syntax element, the coding tool may be disabled when the syntax element indicates that the sequence of pictures is monochrome or includes three color components that are coded separately. Coding tools use multiple color components of a picture as input or rely on the chroma component of the picture. Examples of the disabled coding tool can include joint coding of chroma residuals, active color transform (ACT), or block-based delta pulse code modulation (BDPCM) for chroma components.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This disclosure claims the benefit of priority to U.S. patent application Ser. No. 17 / 072,980, entitled "Signaling of Coding Tools for Encoding a Video Component as Monochrome Video," filed October 16, 2020, which claims the benefit of priority to U.S. provisional application Ser. No. 62 / 924,674, entitled "Signaling of Video Coding Tools for the Encoding of a Video Component as Monochrome Video," filed October 22, 2019. The disclosures of the prior applications are incorporated herein by reference in their entireties.

[0002] This disclosure describes embodiments generally related to video encoding. [Background technology]

[0003] The background art discussion provided herein is intended to generally present the context for the present disclosure. The inventors' work, to the extent that it is described in this background art section, and aspects of the description that may not otherwise be admitted as prior art at the time of filing, are not admitted expressly or implicitly as prior art to the present disclosure.

[0004] Video encoding and decoding may be performed using inter-frame prediction with motion compensation. Uncompressed digital video may include a series of images, each with spatial dimensions of, for example, 1920 x 1080 luma samples and associated chroma samples. The series of images may have a fixed or variable image rate (informally known as the frame rate), for example, 60 images per second or 60 Hz. Uncompressed video has significant bitrate requirements. For example, 1080p 60 4:2:0 video (1920 x 1080 luma sample resolution at a 60 Hz frame rate) with 8 bits per sample requires a bandwidth approaching 1.5 Gbit / s. One hour of such video requires more than 600 GBytes of storage space.

[0005] One of the goals of video encoding and decoding can be reducing redundancy in an input video signal through compression. Compression can reduce the aforementioned bandwidth or storage space requirements by a factor of 100 or more, in some cases. Both lossless and lossy compression, as well as combinations thereof, can be used. Lossless compression refers to techniques that allow an exact copy of the original signal to be restored from a compressed version of the original signal. When lossy compression is used, the reconstructed signal may not be identical to the original signal, but the distortion between the original and reconstructed signal is small enough to make the reconstructed signal useful for its intended application. For video, lossy compression is widely adopted. The amount of acceptable distortion depends on the application; for example, users of certain consumer streaming applications can tolerate higher distortion than users of television distribution applications. The achievable compression ratio can reflect that a higher tolerable or acceptable distortion can result in a higher compression ratio.

[0006] Video encoders and decoders can utilize techniques from several broad categories, including, for example, motion compensation, transform, quantization, and entropy coding.

[0007] Video codec technology can include a technique known as intra-coding. In intra-coding, sample values ​​are displayed without reference to other data from the sample or a previously reconstructed reference image. In some video codecs, an image is spatially subdivided into blocks of samples. If all blocks of samples are coded in intra mode, the image can be an intra-image. Intra-images and their derivatives, such as independent decoder refresh images, can be used to reset the decoder state and thus can be used as the first image in a coded video bitstream and video session, or as still images. Samples in intra-blocks can be subjected to a transform, and the transform coefficients can be digitized before entropy coding. Intra-prediction can be a technique that minimizes sample values ​​in the pre-transform domain. In some cases, the smaller the DC value and AC coefficients after the transform, the fewer bits required for a given quantization step size to represent the block after entropy coding.

[0008] Conventional intra-coding, such as that known from MPEG-2 generation coding techniques, does not use intra-prediction other than DC prediction. However, some newer video compression techniques include techniques that rely on surrounding sample data and / or metadata obtained during the encoding / decoding of spatially adjacent, preceding blocks of data in decoding order. Such techniques are hereinafter referred to as "intra-prediction" techniques. Note that, at least in some cases, intra-prediction uses only reference data from the current picture being reconstructed, and not from reference pictures.

[0009] Intra prediction can take many different forms. If two or more such techniques can be used in a given video coding technique, the technique in use can be coded as an intra prediction mode. In certain cases, a mode can have sub-modes and / or parameters, which can be coded separately or included in a mode codeword. The codeword used for a given mode / sub-mode / parameter combination can affect the coding efficiency gain via intra prediction and, therefore, the entropy coding technique used to translate the codeword into a bitstream.

[0010] Certain modes of intra prediction were introduced in H.264, improved in H.265, and further refined with new coding techniques such as the Joint Search Model (JEM), Versatile Video Coding (VVC), and Benchmark Set (BMS). Predictor blocks can be formed using neighboring sample values ​​belonging to already available samples. The sample values ​​of neighboring samples are copied into the predictor block according to their direction. A reference to the direction in use can be coded in the bitstream or can itself be predicted.

[0011] Referring to FIG. 1A, shown at the bottom right is a subset of nine known predictor directions from the 33 possible predictor directions in H.265 (corresponding to the 33 angle modes out of the 35 intra modes). The point where the arrows converge (101) represents the sample being predicted. The arrows represent the direction in which the sample is being predicted. For example, arrow (102) indicates that sample (101) is predicted from one or more samples to the upper right at an angle of 45 degrees from horizontal. Similarly, arrow (103) indicates that sample (101) is predicted from one or more samples to the lower left sample (101) at an angle of 22.5 degrees from horizontal.

[0012] 1A, a square block (104) of 4x4 samples (shown in bold with dashed lines) is shown in the upper left. The square block (104) contains 16 samples, each labeled with "S," its position in the Y dimension (e.g., row index), and its position in the X dimension (e.g., column index). For example, sample S21 is the second sample in the Y dimension (from the top) and the first sample in the X dimension (from the left). Similarly, sample S44 is the fourth sample in both the Y and X dimensions within the block (104). Because the block is 4x4 samples in size, S44 is located in the lower right. Reference samples are also shown, following a similar numbering scheme. The reference samples are labeled R, their Y position (e.g., row index), and their X position (column index) relative to the block (104). In both H.264 and H.265, predicted samples are adjacent to the block being reconstructed, and therefore, negative values ​​need not be used.

[0013] Intra-image prediction can work by copying reference sample values ​​from adjacent samples to be filled in by the signaled prediction direction. For example, suppose the coded video bitstream includes a signal indicating a prediction direction consistent with the arrow (102) for this block, i.e., the sample is predicted from one or more prediction samples to the upper right, at a 45-degree angle from horizontal. In this case, samples S41, S32, S23, and S14 are predicted from the same reference sample R05. Next, sample S44 is predicted from reference sample R08.

[0014] In certain cases, especially when the orientation is not evenly divisible by 45 degrees, the values ​​of multiple reference samples can be combined, for example by interpolation, to calculate the reference sample.

[0015] The number of possible directions has increased as video coding technology has evolved. In H.264 (2003), nine different directions could be represented. This increased to 33 in H.265 (2013), and JEM / VVC / BMS can support up to 65 directions as of the time of this disclosure. Experiments have been conducted to identify the most likely directions, and specific techniques in entropy coding are used to represent those likely directions with a small number of bits, accepting a specific penalty for less likely directions. Furthermore, the direction itself may be predicted from neighboring directions used in neighboring, already decoded blocks.

[0016] The intra prediction modes used in HEVC are shown in Figure 1B. In HEVC, there are a total of 35 intra prediction modes, among which mode 10 is the horizontal mode, mode 26 is the vertical mode, and modes 2, 18, and 34 are the diagonal modes. The intra prediction modes are signaled by three most probable modes (MPMs) and the remaining 32 modes.

[0017] Figure 1C shows the intra-prediction modes used in VVC. VVC has a total of 95 intra-prediction modes as shown in Figure 1C, where mode 18 is the horizontal mode, mode 50 is the vertical mode, and modes 2, 34, and 66 are diagonal modes. Modes -1 to -14 and modes 67 to 80 are called wide-angle intra-prediction (WAIP) modes.

[0018] The mapping of intra-prediction direction bits within a coded video bitstream to represent directions can vary depending on the video coding technique, ranging, for example, from a simple direct mapping of prediction directions to complex adaptive schemes including intra-prediction modes, codewords, MPMs, and similar techniques. However, in all cases, there may be certain directions that are statistically less likely to occur in the video content than certain other directions. Because the goal of video compression is to reduce redundancy, in well-performing video coding techniques, these less likely directions are represented with more bits than more likely directions.

[0019] Video encoding and decoding may be performed using inter-frame prediction with motion compensation. Uncompressed digital video may include a series of images, each with spatial dimensions of, for example, 1920 x 1080 luma samples and associated chroma samples. The series of images may have a fixed or variable image rate (informally known as the frame rate), for example, 60 images per second or 60 Hz. Uncompressed video has significant bitrate requirements. For example, 1080p 60 4:2:0 video (1920 x 1080 luma sample resolution at a 60 Hz frame rate) with 8 bits per sample requires a bandwidth approaching 1.5 Gbit / s. One hour of such video requires more than 600 GBytes of storage space.

[0020] Motion compensation can be a lossy compression technique, and can refer to a technique in which blocks of sample data from a previously reconstructed image or portion thereof (reference image) are spatially shifted in a direction indicated by a motion vector (MV) and then used to predict a newly reconstructed image or image portion. In some cases, the reference image may be the same as the image currently being reconstructed. The MV can have two dimensions, X and Y, or three dimensions, with the third dimension being a representation of the reference image in use (the latter may indirectly be the temporal dimension).

[0021] In some video compression techniques, the MV applicable to a particular region of sample data can be predicted from other MVs, for example, from an MV associated with another region of sample data that is spatially adjacent to the region being reconstructed and precedes that MV in decoding order. Doing so can significantly reduce the amount of data required to encode the MV, thereby eliminating redundancy and increasing compression. For example, when encoding an input video signal derived from a camera (known as natural video), MV prediction can work effectively because there is a statistical possibility that regions larger than the region to which a single MV is applicable will move in similar directions, and therefore, in some cases, can be predicted using similar motion vectors derived from MVs in neighboring regions. This allows the MV found for a given region to be similar or identical to the MV predicted from surrounding MVs, and after entropy coding, can be represented with fewer bits than would be used to directly encode the MV. In some cases, MV prediction can be an example of lossless compression of a signal (i.e., an MV) derived from the original signal (i.e., a stream of samples). In other cases, MV prediction itself can be lossy, for example, due to rounding errors when calculating a predictor from several surrounding MVs.

[0022] Various MV prediction mechanisms are described in H.265 / HEVC (ITU-T Rec. H.265, "High Efficiency Video Coding," December 2016). Here, we will explain a technique called "spatial merging" among the many MV prediction mechanisms provided by H.265.

[0023] Referring to FIG. 1D, the current block (110) contains samples found by the encoder during the motion search process to be predictable from a spatially shifted previous block of the same size. Instead of directly encoding its MV, the MV can be derived from metadata associated with one or more reference images, e.g., the most recent (in decoding order) reference image, using MVs associated with any one of five surrounding samples (denoted A0, A1, and B0, B1, B2, respectively, 102 to 106). In H.265, MV prediction can use predictors from the same reference image as neighboring blocks. The candidate list formation order can be A0 → B0 → B1 → A1 → B2. Summary of the Invention [Means for solving the problem]

[0024] Aspects of the present disclosure provide a video decoding method executed in a video decoder. A syntax element may be received from a bitstream of coded video indicating whether a sequence of images is monochrome or includes three separately coded color components. By inferring the value of the syntax element, a coding tool may be disabled if the syntax element indicates that the sequence of images is monochrome or includes three separately coded color components. The coding tool may use multiple color components of the images as input or rely on the chroma components of the images.

[0025] In one embodiment, the disabled coding tool is one of the following coding tools: joint coding of chroma residual, active color transform (ACT), or block-based delta pulse code modulation (BDPCM) for the chroma components.

[0026] In one embodiment, the value of a syntax element indicating whether joint coding of chroma residuals is enabled may be inferred to be equal to 0. In one embodiment, the value of a syntax element indicating whether ACT is enabled may be inferred to be equal to 0. In one embodiment, the value of a syntax element indicating whether BDPCM for chroma components is enabled may be inferred to be equal to 0.

[0027] In one embodiment, if the syntax element indicates that the sequence of images is monochrome or includes three color components that are coded separately, the value of the variable is determined to be 0. The variable indicates a chroma array type for the sequence of images. In response to determining that the value of the variable is 0, the value of one of the following syntax elements may be inferred to be equal to 0: a syntax element indicating whether joint coding of chroma residuals is enabled, a syntax element indicating whether ACT is enabled, or a syntax element indicating whether BDPCM for chroma components is enabled.

[0028] In some embodiments, in response to determining that the sequence of images is not monochrome and includes three color components that are not separately coded, a syntax element may be received indicating whether joint coding of chroma residual is enabled, and a syntax element may be received indicating whether ACT is enabled, or a syntax element may be received indicating whether BDPCM for the chroma components is enabled.

[0029] In one embodiment, in response to determining that the sequence of images is not monochrome and includes three color components that are not separately coded, a value of a variable indicating a chroma array type for the sequence of images may be determined. If the value of the variable is determined to be non-zero, a value of one of the following syntax elements may be received: a syntax element indicating whether joint coding of chroma residuals is enabled; a syntax element indicating whether ACT is enabled; or a syntax element indicating whether BDPCM for chroma components is enabled.

[0030] In one embodiment, if a sequence of images is determined to be non-monochrome and to include three color components that are not separately coded, a value of a variable indicating a chroma array type for the sequence of images may be determined, and a syntax element indicating whether BDPCM for the chroma components is enabled is enabled to be received if the value of the variable is determined to be non-zero and if lossless mode is enabled for the sequence of images.

[0031] An aspect of the present disclosure provides a video decoding apparatus comprising a circuit. The circuit may be configured to receive a syntax element from a bitstream of encoded video. The syntax element indicates whether a sequence of images is monochrome or includes three separately coded color components. If the syntax element indicates that the sequence of images is monochrome or includes three separately coded color components, the circuit may be further configured to infer a value of the syntax element to use multiple color components of the images as input or to disable encoding tools that depend on the chroma components of the images.

[0032] Aspects of the present disclosure provide a non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform a method of video decoding.

[0033] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings. [Brief explanation of the drawings]

[0034] [Figure 1A] FIG. 2 is a schematic diagram of an example subset of intra-prediction modes. [Figure 1B] FIG. 1 is a diagram of an exemplary intra-prediction direction. [Figure 1C] FIG. 1 is a diagram of an exemplary intra-prediction direction. [Figure 1D] FIG. 1 is a schematic diagram of a current block and its surrounding spatial merge candidates in one example. [Figure 2] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Figure 3] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment. [Figure 4] FIG. 2 is a schematic diagram of a simplified block diagram of a decoder according to one embodiment. [Figure 5] FIG. 2 is a schematic diagram of a simplified block diagram of an encoder according to one embodiment. [Figure 6] FIG. 10 is a block diagram of an encoder according to another embodiment. [Figure 7] FIG. 10 is a block diagram of a decoder according to another embodiment. [Figure 8] FIG. 1 illustrates one embodiment of a process performed by a decoder. [Figure 9] FIG. 10 illustrates an embodiment of another process performed by the decoder. [Figure 10] FIG. 1 is a schematic diagram of a computer system according to one embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0035] I. Video Encoder and Decoder Systems FIG. 2 illustrates a simplified block diagram of a communication system (200) according to one embodiment of the present disclosure. The communication system (200) includes a plurality of terminal devices capable of communicating with each other, for example, via a network (250). For example, the communication system (200) includes a first pair of terminal devices (210) and (220) interconnected via the network (250). In the example of FIG. 2, the first pair of terminal devices (210) and (220) perform unidirectional transmission of data. For example, the terminal device (210) may encode video data (e.g., a stream of video images captured by the terminal device (210)) for transmission to another terminal device (220) via the network (250). The encoded video data may be transmitted in the form of one or more encoded video bitstreams. The terminal device (220) may receive the encoded video data from the network (250), decode the encoded video data to reconstruct the video images, and display the video images according to the reconstructed video data. Unidirectional data transmission may be common, such as in media serving applications.

[0036] In another example, the communication system (200) includes a second pair of terminal devices (230) and (240) that perform bidirectional transmission of encoded video data, such as may occur during a video conference. For the bidirectional transmission of data, in one example, each of the terminal devices (230) and (240) can encode video data (e.g., a stream of video images captured by the terminal device) for transmission to the other of the terminal devices (230) and (240) over the network (250). Each of the terminal devices (230) and (240) can also receive the encoded video data transmitted by the other of the terminal devices (230) and (240), decode the encoded video data to recover the video images, and display the video images on an accessible display device in accordance with the recovered video data.

[0037] In the example of FIG. 2, terminal devices 210, 220, 230, and 240 may be illustrated as a server, a personal computer, and a smartphone, although the principles of the present disclosure need not be so limited. Embodiments of the present disclosure may be applied by laptop computers, tablet computers, media players, and / or dedicated videoconferencing equipment. Network 250 represents any number of networks that convey encoded video data between terminal devices 210, 220, 230, and 240, including, for example, wired (cable) and / or wireless communication networks. Communication network 250 may switch data over circuit-switched and / or packet-switched channels. Exemplary networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this description, the architecture and topology of network 250 may not be important to the operation of the present disclosure, unless otherwise described herein below.

[0038] 3 illustrates the arrangement of video encoders and video decoders in a streaming environment as an example of an application of the disclosed subject matter. The disclosed subject matter may be equally applicable to other video-enabled applications, including, for example, video conferencing, digital TV, storage of compressed video on digital media including CDs, DVDs, memory sticks, etc.

[0039] The streaming system may include a capture subsystem (313), which may include a video source (301), such as a digital camera, generating a stream of uncompressed video images (302). In one example, the stream of video images (302) includes samples captured by the digital camera. The stream of video images (302), shown as a thick line to emphasize its high data volume when compared to the encoded video data (304) (or encoded video bitstream), may be processed by an electronic device (320) including a video encoder (303) coupled to the video source (301). The video encoder (303), as described in more detail below, may include hardware, software, or a combination thereof to enable or implement aspects of the disclosed subject matter. The encoded video data (304) (or encoded video bitstream (304)), shown as a thin line to emphasize its lower data volume compared to the stream of video images (302), may be stored on a streaming server (305) for future use. One or more streaming client subsystems, such as the client subsystems (306) and (308) of FIG. 3, can access the streaming server (305) to retrieve copies (307) and (309) of the encoded video data (304). The client subsystem (306) can include a video decoder (310), for example, within an electronic device (330). The video decoder (310) decodes an input copy (307) of the encoded video data and creates an output stream of video images (311) that can be displayed on a display (312) (e.g., a display image) or other rendering device (not shown). In some streaming systems, the encoded video data (304), (307), and (309) (e.g., a video bitstream) can be encoded according to a particular video encoding / compression standard. Examples of these standards include ITU-T Recommendation H.265. In one example, a video encoding standard under development is informally known as Versatile Video Coding (VVC). The disclosed subject matter can be used in the context of VVC.

[0040] It should be noted that the electronic devices (320) and (330) may include other components (not shown). For example, the electronic device (320) may include a video decoder (not shown), and the electronic device (330) may also include a video encoder (not shown).

[0041] 4 shows a block diagram of a video decoder (410) according to one embodiment of the present disclosure. The video decoder (410) may be included in an electronic device (430). The electronic device (430) may include a receiver (431) (e.g., receiving circuitry). The video decoder (410) may be used in place of the video decoder (310) of the example of FIG. 3.

[0042] The receiver (431) can receive one or more coded video sequences to be decoded by the video decoder (410), in the same or another embodiment, one coded video sequence at a time, with the decoding of each coded video sequence being independent of the other coded video sequences. The coded video sequences can be received from a channel (401), which can be a hardware / software link to a storage device that stores the coded video data. The receiver (431) can receive coded video data with other data, such as coded audio data and / or auxiliary data streams, which can be transferred to each other using entities (not shown). The receiver (431) can separate the coded video sequences from other data. To combat network jitter, a buffer memory (415) can be coupled between the receiver (431) and the entropy decoder / parser (420) (hereafter "parser (420)"). In certain applications, the buffer memory (415) is part of the video decoder (410). In other cases, it may be external to the video decoder (410) (not shown). In still others, there may be a buffer memory (not shown) external to the video decoder (410), for example, to combat network jitter, plus another buffer memory (415) internal to the video decoder (410), for example, to handle playout timing. If the receiver (431) is receiving data from a storage / transmission device of sufficient bandwidth and controllability, or from an asynchronous network, the buffer memory (415) may not be needed or may be small. For use with best-effort packet networks such as the Internet, the buffer memory (415) may be needed, may be relatively large, may advantageously be adaptively sized, and may be implemented at least partially within an operating system or similar element (not shown) external to the video decoder (410).

[0043] The video decoder (410) may include a parser (420) to reconstruct symbols (421) from the encoded video sequence. These symbol categories potentially include information used to manage the operation of the video decoder (410) and information for controlling a rendering device, such as a rendering device (412) (e.g., display image) that is not an integral part of the electronic device (430) but may be coupled to the electronic device (430), as shown in FIG. 4. The rendering device control information may be in the form of a supplemental enhancement information (SEI) message or a video usability information (VUI) parameter set fragment (not shown). The parser (420) may parse or entropy decode the received encoded video sequence. The encoding of the encoded video sequence may follow a video coding technique or standard and may follow various principles, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (420) can extract from the coded video sequence a set of subgroup parameters for at least one of the subgroups of pixels in the video decoder based on at least one parameter corresponding to the group. The subgroups can include groups of pictures (GOPs), images, tiles, slices, macroblocks, coding units (CUs), blocks, transform units (TUs), prediction units (PUs), etc. The parser (420) can also extract coded video sequence information such as transform coefficients, quantizer parameter values, motion vectors, etc.

[0044] The parser (420) can perform entropy decoding / parsing operations on the video sequence received from the buffer memory (415) to create symbols (421).

[0045] The reconstruction of the symbols (421) can involve several different units, depending on the type of coded video image or portion thereof (e.g., inter- and intra-images, inter- and intra-blocks), and other factors. Which units participate, and how, can be controlled by subgroup control information parsed from the coded video sequence by the parser (420). The flow of such subgroup control information between the parser (420) and the following units is not shown for clarity.

[0046] Beyond the functional blocks already mentioned, the video decoder (410) may be conceptually subdivided into several functional units, as described below. In an actual implementation operating under commercial constraints, many of these units may interact closely with each other and may be at least partially integrated with each other. However, for purposes of describing the disclosed subject matter, the following conceptual subdivision into functional units is appropriate.

[0047] The first unit is a scalar / inverse transform unit (451), which receives quantized transform coefficients as well as control information from the parser (420) as symbol(s) (421), including which transform to use, block size, quantization coefficients, quantization scaling matrices, etc. The scalar / inverse transform unit (451) can output blocks containing sample values ​​that can be input to an aggregator (455).

[0048] In some cases, the output samples of the scaler / inverse transform (451) may relate to intra-coded blocks, i.e., blocks that do not use prediction information from a previously reconstructed image but can use prediction information from a previously reconstructed portion of the current image. Such prediction information may be provided by an intra-image prediction unit (452). In some cases, the intra-image prediction unit (452) generates a block of the same size and shape as the block being reconstructed using surrounding already reconstructed information fetched from a current image buffer (458). The current image buffer (458), for example, buffers a partially reconstructed current image and / or a fully reconstructed current image. In some cases, the aggregator (455) adds the prediction information generated by the intra-prediction unit (452) to the output sample information provided by the scaler / inverse transform unit (451) on a sample-by-sample basis.

[0049] In other cases, the output samples of the scalar / inverse transform unit (451) may relate to an inter-coded, potentially motion-compensated block. In such cases, the motion-compensated prediction unit (453) can access a reference picture memory (457) to fetch samples used for prediction. After motion-compensating the fetched samples according to the symbols (421) related to the block, these samples may be added by the aggregator (455) to the output of the scalar / inverse transform unit (451) (in this case, referred to as residual samples or residual signals) to generate output sample information. The addresses in the reference picture memory (457) from which the motion-compensated prediction unit (453) fetches prediction samples may be controlled by motion vectors available to the motion-compensated prediction unit (453) in the form of symbols (421), which may have, for example, X, Y, and reference picture components. Motion compensation may also include interpolation of sample values ​​fetched from the reference picture memory (457), motion vector prediction mechanisms, etc., when sub-sample accurate motion vectors are used.

[0050] The output samples of the aggregator (455) can be subjected to various loop filtering techniques in a loop filter unit (456). Video compression techniques can include in-loop filtering techniques controlled by parameters contained in the coded video sequence (also called a coded video bitstream) and made available to the loop filter unit (456) as symbols (421) from the parser (420), but can also respond to meta-information obtained during decoding of a coded image or previous (in decoding order) portion of the coded video sequence, as well as to previously reconstructed, loop-filtered sample values.

[0051] The output of the loop filter unit (456) can be a sample stream that can be output to the rendering device (412) and stored in a reference image memory (457) for use in future inter-frame prediction.

[0052] Once fully reconstructed, a particular coded image can be used as a reference image for future predictions. For example, once the coded image corresponding to the current image is fully reconstructed and the coded image is identified as a reference image (e.g., by the parser (420)), the current image buffer (458) can become part of the reference image memory (457), and a new current image buffer can be relocated before beginning reconstruction of a subsequent coded image.

[0053] The video decoder (410) can perform decoding operations according to a predetermined video compression technique, such as a standard such as ITU-T Rec. H.265. The encoded video sequence can conform to the syntax specified by the video compression technique or standard being used, in the sense that the encoded video sequence adheres to both the syntax of the video compression technique or standard and the profile documented in the video compression technique or standard. Specifically, the profile can select specific tools from all tools available in the video compression technique or standard as the only tools usable under that profile. Compliance may also require that the complexity of the encoded video sequence be within the boundaries defined by the level of the video compression technique or standard. In some cases, the level limits the maximum picture size, maximum frame rate, maximum reconstruction sample rate (e.g., measured in megasamples per second), maximum reference picture size, etc. The limits set by the level may, in some cases, be further constrained by metadata for HRD buffer management and a hypothetical reference decoder (HRD) specification signaled in the encoded video sequence.

[0054] In one embodiment, the receiver (431) can receive additional (redundant) data with the encoded video. The additional data may be included as part of the encoded video sequence. The additional data may be used by the video decoder (410) to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial, or signal-to-noise ratio (SNR) enhancement layers, redundant slices, redundant images, forward error correction codes, etc.

[0055] 5 shows a block diagram of a video encoder (503) according to one embodiment of the present disclosure. The video encoder (503) is included in an electronic device (520). The electronic device (520) includes a transmitter (540) (e.g., a transmitting circuit). The video encoder (503) may be used in place of the video encoder (303) of the example of FIG. 3.

[0056] The video encoder (503) can receive video samples from a video source (501) (not part of the electronic device (520) in the example of FIG. 5) that can capture video images to be encoded by the video encoder (503). In another example, the video source (501) is part of the electronic device (520).

[0057] The video source (501) may provide a source video sequence to be encoded by the video encoder (503) in the form of a digital video sample stream, which may be of any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media delivery system, the video source (501) may be a storage device that stores pre-prepared video. In a video conferencing system, the video source (501) may be a camera that captures local image information as a video sequence. The video data may be provided as multiple individual images that convey motion when viewed sequentially. The image itself may be organized as a spatial array of pixels, each of which may contain one or more samples depending on the sampling structure, color space, etc., in use. Those skilled in the art will readily understand the relationship between pixels and samples. The following description will focus on samples.

[0058] According to one embodiment, the video encoder (503) can encode and compress images of a source video sequence into an encoded video sequence (543) in real time or under any other time constraint required by the application. Enforcing the appropriate encoding rate is one function of the controller (550). In some embodiments, the controller (550) controls and is operatively coupled to other functional units as described below. The coupler is not shown for clarity. Parameters set by the controller (550) can include rate control-related parameters (picture skip, quantizer, lambda value for rate-distortion optimization techniques, ...), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. The controller (550) can be configured with other appropriate functions for the video encoder (503) optimized for a particular system design.

[0059] In some embodiments, the video encoder (503) is configured to operate in an encoding loop. As an overly simplified explanation, in one example, the encoding loop can include a source coder (530) (e.g., responsible for generating symbols, such as a symbol stream, based on an input image to be encoded and a reference image) and a decoder (local) (533) embedded in the video encoder (503). The decoder (533) reconstructs the symbols to generate sample data in a manner similar to that generated by the decoder (remote) (since any compression between the symbols and the encoded video bitstream is lossless in the video compression techniques contemplated by the disclosed subject matter). The reconstructed sample stream (sample data) is input to a reference image memory (534). Because decoding of the symbol stream yields bit-accurate results regardless of the decoder location (local or remote), the contents of the reference image memory (534) are also bit-accurate between the local encoder and the remote encoder. In other words, the predictor that the encoder "sees" as a reference picture sample will sample the exact same sample value that the decoder "sees" when using the prediction during decoding. This basic principle of reference picture synchrony (and the resulting drift if synchrony cannot be maintained, e.g., due to channel error) is also used in several related technologies.

[0060] The operation of the "local" decoder (533) may be identical to that of a "remote" decoder, such as the video decoder (410) described in detail above in connection with Figure 4. However, and referring briefly to Figure 4 as well, because symbols are available and the encoding / decoding of symbols into the encoded video sequence by the entropy encoder (545) and parser (420) may be lossless, the entropy decoding portion of the video decoder (410), including the buffer memory (415), and the parser (420), may not be implemented entirely within the local decoder (533).

[0061] An observation that can be made at this point is that any decoder techniques, with the exception of analysis / entropy decoding, that exist in the decoder must also exist in substantially identical functional form in the corresponding encoder. For this reason, the disclosed subject matter focuses on decoder operation. Descriptions of encoder techniques may be omitted since they are the inverse of the decoder techniques that have been comprehensively described. Only in certain areas are more detailed descriptions required and are provided below.

[0062] In operation, in some examples, the source coder (530) may perform motion-compensated predictive coding, which predictively codes an input image with reference to one or more previously coded images from a video sequence designated as “reference images.” In this manner, the coding engine (532) codes differences between pixel blocks of the input image and pixel blocks of reference images that may be selected as predictive references for the input image.

[0063] The local video decoder (533) can decode the encoded video data of an image that may be designated as a reference image based on the symbols generated by the source coder (530). The operation of the encoding engine (532) can advantageously be a lossy process. When the encoded video data is decoded by a video decoder (not shown in FIG. 5), the reconstructed video sequence may typically be a replica of the source video sequence, with some errors. The local video decoder (533) can replicate the decoding process that may be performed on the reference image by the video decoder and store the reconstructed reference image in a reference image cache (534). In this way, the video encoder (503) can locally store copies of reconstructed reference images that have common content as the reconstructed reference images that will be retrieved (without transmission errors) by the far-end video decoder.

[0064] The predictor (535) can perform the prediction search for the coding engine (532). That is, for a new image to be coded, the predictor (535) can search the reference image memory (534) for sample data (as candidate reference pixel blocks) or specific metadata, such as motion vectors, block shapes, etc., of reference images that can serve as suitable prediction references for the new image. The predictor (535) can operate on a sample pixel block-by-sample pixel block basis to find suitable prediction references. In some cases, as determined by the search results obtained by the predictor (535), the input image can have prediction references drawn from multiple reference images stored in the reference image memory (534).

[0065] The controller (550) can manage the encoding operations of the source coder (530), including, for example, setting the parameters and subgroup parameters used to encode the video data.

[0066] The output of all the aforementioned functional units may undergo entropy coding in an entropy encoder (545), which converts the symbols produced by the various functional units into an encoded video sequence by losslessly compressing the symbols according to techniques such as Huffman coding, variable length coding, or arithmetic coding.

[0067] The transmitter (540) can buffer the encoded video sequence produced by the entropy encoder (545) and prepare it for transmission over a communication channel (560), which can be a hardware / software link, to a storage device that stores the encoded video data. The transmitter (540) can merge the encoded video data from the video coder (503) with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (sources not shown).

[0068] The controller (550) can manage the operation of the video encoder (503). During encoding, the controller (550) can assign a particular encoded image type to each encoded image, which can affect the encoding technique that can be applied to the respective image. For example, images are often assigned as one of the following image types:

[0069] It should be noted that an intra-picture (I-picture) may be one that can be coded and decoded without using any other picture in the sequence as a prediction source. Some video codecs allow for different types of intra-pictures, including, for example, independent decoder refresh ("IDR") pictures. Those skilled in the art are aware of these variations of I-pictures and their respective uses and characteristics.

[0070] A predicted image (P-image) may be an image that can be coded and decoded using intra- or inter-prediction, which uses at most one motion vector and reference index to predict the sample values ​​of each block.

[0071] Bidirectionally predicted images (B-images) may be those that can be coded and decoded using intra- or inter-prediction, which uses up to two motion vectors and reference indices to predict the sample values ​​of each block. Similarly, multi-predicted images may use more than two reference images and associated metadata for the reconstruction of a single block.

[0072] A source image is generally spatially subdivided into multiple sample blocks (e.g., for blocks of 4x4, 8x8, 4x8, or 16x16 samples, respectively) and may be coded block by block. Blocks may be predictively coded with reference to other (already coded) blocks, as determined by a coding assignment applied to each image of the block. For example, blocks of an I image may be non-predictively coded or predictively coded with reference to previously coded blocks of the same image (spatial prediction or intra-prediction). Pixel blocks of a P image may be predictively coded via spatial prediction or via temporal prediction with reference to one previously coded reference image. Blocks of a B image may be predictively coded via spatial prediction or via temporal prediction with reference to one or two previously coded reference images.

[0073] The video encoder (503) may perform encoding operations according to a predetermined video encoding technique or standard, such as ITU-T Rec. H.265. In its operation, the video encoder (503) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancies in the input video sequence. Thus, the encoded video data may conform to the syntax specified by the video encoding technique or standard being used.

[0074] In one embodiment, the transmitter (540) can transmit additional data along with the encoded video. The source coder (530) can include such data as part of the encoded video sequence. The additional data can include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, SEI messages, VUI parameter set fragments, etc.

[0075] Video may be captured as multiple source images (video images) in time sequence. Intra-image prediction (often abbreviated as intra-prediction) exploits spatial correlation within a given image, while inter-image prediction exploits correlation (temporal or otherwise) between images. In one example, a particular image being encoded / decoded, called the current image, is divided into blocks. If a block in the current image is similar to a reference block in a previously encoded and also buffered reference image in the video, the block in the current image may be coded by a vector called a motion vector. The motion vector points to a reference block in the reference image and may have a third dimension that identifies the reference image if multiple reference images are used.

[0076] In some embodiments, bi-prediction techniques can be used for inter-picture prediction. According to bi-prediction techniques, two reference images, such as a first reference image and a second reference image, are used, both of which are before the decoding order of the current image in the video (but may be in the past and future display order, respectively). A block in the current image can be coded by a first motion vector pointing to a first reference block in the first reference image and a second motion vector pointing to a second reference block in the second reference image. A block can be predicted by a combination of the first reference block and the second reference block.

[0077] Furthermore, merge mode techniques can be used for inter prediction to improve coding efficiency.

[0078] According to some embodiments of the present disclosure, prediction, such as inter-picture prediction and intra-picture prediction, is performed block-by-block. For example, according to the HEVC standard, pictures in a sequence of video pictures are divided into coding tree units (CTUs) for compression, and the CTUs in a picture have the same size, such as 64x64 pixels, 32x32 pixels, or 16x16 pixels. Generally, a CTU includes three coding tree blocks (CTBs), one luma CTB and two chroma CTBs. Each CTU can be recursively quadtree-divided into one or more coding units (CUs). For example, a 64x64 pixel CTU may be divided into one CU of 64x64 pixels, four CUs of 32x32 pixels, or 16 CUs of 16x16 pixels. In one example, each CU is analyzed to determine a prediction type for the CU, such as an inter prediction type or an intra prediction type. The CU is divided into one or more prediction units (PUs) according to temporal and / or spatial predictability. Generally, each PU includes one luma prediction block (PB) and two chroma prediction blocks PB. In one embodiment, prediction operations in encoding (encoding / decoding) are performed in units of prediction blocks. Using a luma prediction block as an example of a prediction block, the prediction block includes a matrix of values ​​(e.g., luma values) for pixels of 8x8 pixels, 16x16 pixels, 8x16 pixels, 16x8 pixels, etc.

[0079] 6 shows a diagram of a video encoder (603) according to another embodiment of the present disclosure. The video encoder (603) is configured to receive a processed block of sample values ​​(e.g., a predicted block) in a current video image in a sequence of video images and encode the processed block into an encoded image that is part of an encoded video sequence. In one example, the video encoder (603) is used in place of the video encoder (303) of the example of FIG. 3.

[0080] In an HEVC example, the video encoder (603) receives a matrix of sample values ​​for a processing block, such as a predictive block of 8x8 samples. The video encoder (603) determines whether the processing block is best coded using intra-mode, inter-mode, or bi-predictive mode, e.g., using rate-distortion optimization. If the processing block is coded in intra-mode, the video encoder (603) can use intra-prediction techniques to code the processing block into a coded image. If the processing block is to be coded in inter-mode or bi-predictive mode, the video encoder (603) can use inter-prediction or bi-prediction techniques, respectively, to code the processing block into a coded image. In certain video coding techniques, merge mode may be an inter-image prediction submode in which motion vectors are derived from one or more motion vector predictors without the benefit of coded motion vector components outside the predictors. In certain other video coding techniques, there may be motion vector components applicable to the current block. In one example, the video encoder (603) includes other components, such as a mode decision module (not shown) for determining the mode of the processing block.

[0081] In the example of FIG. 6, the video encoder (603) includes an inter encoder (630), an intra encoder (622), a residual calculator (623), a switch (626), a residual encoder (624), a general controller (621), and an entropy encoder (625), all connected together as shown in FIG. 6.

[0082] The inter encoder (630) is configured to receive samples of a current block (e.g., a processing block), compare the block with one or more reference blocks in reference images (e.g., blocks in a previous image and a subsequent image), generate inter prediction information (e.g., a description of redundant information through an inter coding technique, a motion vector, merge mode information), and calculate an inter prediction result (e.g., a predicted block) based on the inter prediction information using any suitable technique. In some examples, the reference image is a decoded reference image that is decoded based on the coded video information.

[0083] The intra encoder (622) is configured to receive samples of a current block (e.g., a processing block), possibly compare the block with blocks already coded in the same image, generate quantized coefficients after transformation, and possibly also generate intra prediction information (e.g., intra prediction direction information according to one or more intra coding techniques). In one example, the intra encoder (622) also calculates intra prediction results (e.g., predicted blocks) based on the intra prediction information and reference blocks in the same image.

[0084] The general-purpose controller (621) is configured to determine general-purpose control data and control other components of the video encoder (603) based on the general-purpose control data. In one example, the general-purpose controller (621) determines the mode of the block and provides a control signal to the switch (626) based on the mode. For example, if the mode is intra-mode, the general-purpose controller (621) controls the switch (626) to select intra-mode results for use by the residual calculator (623) and controls the entropy encoder (625) to select intra-prediction information and include the intra-prediction information in the bitstream. If the mode is inter-mode, the general-purpose controller (621) controls the switch (626) to select inter-prediction results for use by the residual calculator (623) and controls the entropy encoder (625) to select inter-prediction information and include the inter-prediction information in the bitstream.

[0085] The residual calculator (623) is configured to calculate the difference (residual data) between the received block and a prediction result selected from the intra encoder (622) or the inter encoder (630). The residual encoder (624) is configured to operate on the residual data to encode the residual data to generate transform coefficients. In one example, the residual encoder (624) is configured to transform the residual data from the spatial domain to the frequency domain to generate transform coefficients. The transform coefficients then undergo a quantization process to obtain quantized transform coefficients. In various embodiments, the video encoder (603) also includes a residual decoder (628). The residual decoder (628) is configured to perform an inverse transform and generate decoded residual data. The decoded residual data may be used by the intra encoder (622) and the inter encoder (630), as appropriate. For example, the inter-encoder (630) can generate decoded blocks based on the decoded residual data and inter-prediction information, and the intra-encoder (622) can generate decoded blocks based on the decoded residual data and intra-prediction information. In some examples, the decoded blocks are processed appropriately to generate decoded images, which may be buffered in a memory circuit (not shown) and used as reference images.

[0086] The entropy encoder (625) is configured to format the bitstream to include the coded blocks. The entropy encoder (625) is configured to include various information in accordance with an appropriate standard, such as the HEVC standard. In one example, the entropy encoder (625) is configured to include general control data, selected prediction information (e.g., intra-prediction information or inter-prediction information), residual information, and other appropriate information in the bitstream. Note that, according to the disclosed subject matter, when encoding a block in a merged sub-mode of either an inter-mode or a bi-prediction mode, the residual information is not present.

[0087] 7 shows a diagram of a video decoder (710) according to another embodiment of the present disclosure. The video decoder (710) is configured to receive encoded images that are part of a coded video sequence and decode the encoded images to generate reconstructed images. In one example, the video decoder (710) is used in place of the video decoder (310) of the example of FIG. 3.

[0088] In the example of Figure 7, the video decoder (710) includes an entropy decoder (771), an inter decoder (780), a residual decoder (773), a reconstruction module (774), and an intra decoder (772), which are connected to each other as shown in Figure 7.

[0089] The entropy decoder (771) may be configured to reconstruct, from the coded image, specific symbols representing the syntax elements of which the coded image is composed. Such symbols may include, for example, the mode in which the block is coded (e.g., intra mode, inter mode, bi-prediction mode, the latter two being merged or separate submodes), prediction information (e.g., intra prediction information or inter prediction information, etc.) that may identify specific samples or metadata used for prediction by the intra decoder (772) or inter decoder (780), respectively, residual information in the form of quantized transform coefficients, etc. In one example, if the prediction mode is an inter prediction mode or bi-prediction mode, the inter prediction information is provided to the inter decoder (780), and if the prediction type is an intra prediction type, the intra prediction information is provided to the intra decoder (772). The residual information may undergo inverse quantization and be provided to the residual decoder (773).

[0090] The inter decoder (780) is configured to receive the inter prediction information and to generate inter prediction results based on the inter prediction information.

[0091] The intra decoder (772) is configured to receive intra prediction information and to generate a prediction result based on the intra prediction information.

[0092] The residual decoder (773) is configured to perform inverse quantization to extract dequantized transform coefficients and process the dequantized transform coefficients to transform the residual from the frequency domain to the spatial domain. The residual decoder (773) may also require certain control information (to include quantizer parameters (QP)), which may be provided by the entropy decoder (771) (the data path not shown in this way may be low-volume control information only).

[0093] The reconstruction module (774) is configured to combine, in the spatial domain, the residual as output by the residual decoder (773) and the prediction result (possibly as output by an inter-prediction module or an intra-prediction module) to form a reconstructed block that may be part of a reconstructed image, which may be part of a reconstructed video. It should be noted that other suitable operations, such as a deblocking operation, may be performed to improve visual quality.

[0094] It should be noted that the video encoders (303), (503), and (603) and the video decoders (310), (410), and (710) may be implemented using any suitable technology. In one embodiment, the video encoders (303), (503), and (603) and the video decoders (310), (410), and (710) may be implemented using one or more integrated circuits. In another embodiment, the video encoders (303), (503), and (503) and the video decoders (310), (410), and (710) may be implemented using one or more processors executing software instructions.

[0095] II. Encoding Video Color Components Separately Video coding techniques typically assume that a video sequence to be coded has multiple color planes (e.g., one luma component and two chroma components). Using specific coding tools, color planes can be coded together. For example, the luma and chroma components of the same image can share the same partitioning tree. The coded luma and chroma components can be organized into the same CU. The coding of the chroma components can refer to the pixel values ​​or residual values ​​of the luma component for prediction (e.g., cross-component linear model (CCLM)). The processing step can use three luma and chroma components as input (e.g., active color transform (ACT)). Alternatively, two chroma components can be coded together (e.g., joint coding of chroma residual (JCCR)).

[0096] However, in some applications, the video is monochrome or multiple color planes of the video need to be coded independently. For example, the three color components of a video with a 4:4:4 chroma format may need to be coded separately and independently. For example, each color component of the video is treated as monochrome video. There is no dependency between the color components while the video is being coded. Coding tools that depend on multiple components (e.g., ACT and JCCR) or operate on chroma components (e.g., block-based delta (or differential) pulse code modulation (BDPCM)) are not used. The video coding is based on monochrome coding tools that operate on the luma component.

[0097] To support encoding of video with different chroma formats and video containing one or more monochrome components, in some embodiments, two syntax elements are defined as shown in Table 1.

[0098] [Table 1]

[0099] The syntax element chroma_format_idc provides an index into multiple chroma formats. The defined chroma formats correspond to different chroma component sampling structures. Specifically, in monochrome sampling, there is only one sample array, nominally considered the luma array. In 4:2:0 sampling, each of the two chroma arrays can have half the height and half the width of the luma array. In 4:2:2 sampling, each of the two chroma arrays can have the same height and half the width of the luma array. For convenience of notation and terminology in this disclosure, the variables and terms associated with these arrays are referred to as luma and chroma. The two chroma arrays are referred to as Cb and Cr, regardless of the actual color representation method in use. The actual color representation method in use may be indicated in the syntax transmitted in the bitstream.

[0100] The syntax element separate_colour_plane_flag indicates whether the color components of a video sequence need to be coded separately. For example, separate_colour_plane_flag equal to 1 specifies that the three color components of a 4:4:4 chroma format may be coded separately. separate_colour_plane_flag equal to 0 specifies that the color components are not coded separately. If separate_colour_plane_flag is not present, it is inferred to be equal to 0.

[0101] If separate_colour_plane_flag is equal to 1, the coded image consists of three separate components, each consisting of coded samples of one color plane (e.g., Y, Cb, or Cr), and uses monochrome coding syntax. In this case, each color plane is associated with a specific colour_plane_id value. There are no dependencies in the decoding process between color planes with different colour_plane_id values. For example, the decoding process of a monochrome image with one value of colour_plane_id does not use any data from a monochrome image with a different value of colour_plane_id for inter- or intra-prediction.

[0102] In 4:4:4 sampling, each of the two chroma arrays has the same height and width as the luma array, and depending on the value of separate_colour_plane_flag, the following may apply: If separate_colour_plane_flag is equal to 0, the three color planes are not processed separately as a monochrome sampled image. Otherwise (separate_colour_plane_flag is equal to 1), the three color planes are processed separately as a monochrome sampled image.

[0103] In one example, the syntax elements chroma_format_idc and separate_colour_plane_flag are signaled in a Sequence Parameter Set (SPS) as shown in Table 2. In line 11 of Table 2, chroma_format_idc is signaled. In line 12, it is verified whether chroma_format_idc indicates a 4:4:4 chroma format sampling structure. In line 13, if chroma_format_idc has a value of 3, separate_colour_plane_flag is signaled to indicate whether the components of the video sequence referencing the SPS in Table 2 are coded separately.

[0104] If the video is monochrome video, or if each color component of the video needs to be coded as if each component were monochrome, joint color plane coding tools or chroma component-based coding tools are inapplicable and may be disabled. However, as shown in Table 2, some syntax elements that control those inapplicable coding tools are signaled independently of whether separate coding of color components is enabled (or required). As a result, some coding tools that are inapplicable to monochrome video may still be enabled if separate coding of different color planes as monochrome video is used for the current video, causing undesirable conflicts.

[0105] Specifically, on line 86 of Table 2, the syntax element sps_joint_cbcr_enabled_flag is signaled independently of the sprate_colour_plane_flag signaled on line 13. sps_joint_cbcr_enabled_flag may indicate whether joint coding of chroma residual (JCCR) tool is enabled for coding of the video. The JCCR coding tool is not a monochrome coding tool because two chroma components of a CU are jointly coded. sps_joint_cbcr_enabled_flag equal to 0 specifies that joint coding of chroma residual is disabled. sps_joint_cbcr_enabled_flag equal to 1 specifies that joint coding of chroma residual is enabled.

[0106] On lines 104-105, if BDPCM is enabled and the chroma format is 4:4:4, the syntax element sps_bdpcm_chroma_enabled_flag is signaled independently of spreate_colour_plane_flag on line 13. spreate_colour_plane_flag can indicate whether BDPCM tools for chroma are enabled for encoding the video. BDPCM for chroma is a coding tool that applies to chroma components and therefore can be disabled if the video is monochrome, or it is necessary to code each color component of the video as if each component were monochrome.

[0107] In terms of semantics, sps_bdpcm_chroma_enabled_flag equal to 1 specifies that intra_bdpcm_chroma_flag may be present in the coding unit syntax for an intra coding unit, and sps_bdpcm_chroma_enabled_flag equal to 0 specifies that intra_bdpcm_chroma_flag is not present in the coding unit syntax for an intra coding unit. If not present, the value of sps_bdpcm_chroma_enabled_flag is inferred to be equal to 0. Intra_bdpcm_chroma_flag equal to 1 specifies that BDPCM is applied to the current chroma coding block, i.e., the transform is skipped and the intra chroma prediction mode is specified by intra_bdpcm_chroma_dir_flag. intra_bdpcm_chroma_flag equal to 0 specifies that BDPCM is not applied to the current chroma coding block. If intra_bdpcm_chroma_flag is not present, it is inferred to be equal to 0.

[0108] In lines 142 and 144 of Table 2, when the chroma format is 4:4:4, the syntax element sps_act_enabled_flag is signaled independently of the sprate_color_plane_flag signaled in line 13. The sps_act_enabled_flag may indicate whether the ACT tool is enabled for encoding the video. For example, the color format in the original color space (e.g., RGB) may have high correlation between the three color components. By performing a color space conversion, the color format may be converted from the original color space to the destination color space to reduce redundancy among the three color components. For example, in HEVC or VCC, ACT may be performed in the spatial residual domain to convert the residual block from the RGB color space to the YCgCo color space. The three-component residual block is used as input. Therefore, ACT is not applicable to monochrome video or video with the color components processed separately.

[0109] In terms of semantics, sps_act_enabled_flag specifies whether adaptive color transforms are enabled. If sps_act_enabled_flag is equal to 1, adaptive color transforms can be used and the flag cu_act_enabled_flag can be present in the coding unit syntax. If sps_act_enabled_flag is equal to 0, adaptive color transforms are not used and cu_act_enabled_flag is not present in the coding unit syntax. If sps_act_enabled_flag is not present, it is inferred to be equal to 0.

[0110] [Table 2A] [Table 2B] [Table 2C] [Table 2D] [Table 2E]

[0111] III. Disabling Encoding Tools Inapplicable to Monochrome Video or Video with Separately Encoded Components In some embodiments, to support encoding of monochrome video and separate encoding of the three color components of, for example, 4:4:4 chroma format video, a variable indicating the chroma array type is defined. The variable is represented by ChromaArrayType. The variable ChromaArrayType may be used to override encoding tools that are not applicable when the video is monochrome and when the color components of the video need to be coded separately and independently. Depending on the value of separate_colour_plane_flag, the value of the variable ChromaArrayType may be assigned as follows: - If separate_colour_plane_flag is equal to 0, ChromaArrayType is set equal to chroma_format_idc (e.g., 0, 1, 2, or 3). - Otherwise (separate_colour_plane_flag is equal to 1), ChromaArrayType is set equal to 0. If ChromaArrayType is 0, encoding tools that were enabled by sps_joint_cbcr_enabled_flag, sps_act_enabled_flag, sps_bdpcm_chroma_enabled_flag, etc. may be disabled.

[0112] Table 3 shows a modified version of the SPS syntax shown in Table 2. In lines 84-85 of Table 3, if ChromaArrayType has a non-zero value, sps_joint_cbcr_enabled_flag is signaled. If ChromaArrayType is equal to 0, indicating that the current video referring to the SPS in Table 2 is monochrome or contains separately coded components, sps_joint_cbcr_enabled_flag is not signaled and may be inferred to be equal to 0. Thus, joint coding of chroma residual may be disabled. Compared with the example in Table 2, the semantics of sps_joint_cbcr_enabled_flag may be modified as follows: sps_joint_cbcr_enabled_flag equal to 0 specifies that joint coding of chroma residual is disabled. sps_joint_cbcr_enabled_flag equal to 1 specifies that joint coding of chroma residual is enabled. If sps_joint_cbcr_enabled_flag is not present, it is inferred to be equal to 0.

[0113] In rows 102-103 of Table 3, if BDPCM is disabled and ChromaArrayType has a non-zero value, sps_bdpcm_chroma_enabled_flag is signaled. If ChromaArrayType is equal to 0, sps_bdpcm_chroma_enabled_flag is not signaled and may be inferred to be equal to 0. This may disable BDPCM for chroma. The semantics of sps_bdpcm_chroma_enabled_flag may be the same as the example in Table 2.

[0114] In rows 140, 142, and 143 of Table 3, if the video has a 4:4:4 chroma format and ChromaArrayType has a non-zero value, sps_act_enabled_flag is signaled. If ChromaArrayType is equal to 0, sps_act_enabled_flag is not signaled and may be inferred to be equal to 0, which may disable ACT. The semantics of sps_act_enabled_flag may be the same as the example in Table 2.

[0115] [Table 3A] [Table 3B] [Table 3C] [Table 3D] [Table 3E]

[0116] In some embodiments, alternative implementations are employed to disable coding tools that are not applicable to monochrome video or video that includes separately coded components.

[0117] In one embodiment, the following syntax for sps_act_enabled_flag in Table 4 (copied from Table 3) can be expressed in the alternative syntax shown in Table 5 to set the value of sps_act_enabled_flag to 0 if chroma_format_idc is equal to 3 and ChromaArrayType is 0. Since chroma_format_idc==3 and separate_colour_plan_flag==0 means that ChromaArrayType is not 0, the syntax in Table 4 and Table 5 can have the same effect. Note that the signaling of sps_act_enabled_flag is independent from the signaling of sps_palette_enabled_flag in line 141.

[0118] [Table 4]

[0119] [Table 5]

[0120] In one embodiment, the following syntax for sps_bdpcm_chroma_enabled_flag in Table 6 (copied from Table 3) may be expressed in the alternative syntax shown in Table 7 to set the value of sps_bdpcm_chroma_enabled_flag to 0 if ChromaArrayType is 0. In Table 7, if ChromaArrayType is 0 or sps_transpquant_bypass_flag is equal to 0, which supports lossless BDPCM, the value of sps_bdpcm_chroma_enabled_flag is inferred to be 0. If sps_tranquant_bypass_flag is equal to 1, the sps_transquant_bypass flag indicates that the transform and quantization pass should be activated at the CU level. Otherwise, if sps_tranquant_bypass_flag is equal to 0, the transform and quantization bypass is not activated. sps_tranquant_bypass_flag may be signaled in the SPS or may be inferred to be 1 for lossless encoding as indicated by other SPS-level lossless encoding indication flags.

[0121] [Table 6]

[0122] [Table 7]

[0123] In one embodiment, the syntax in Table 7 is used. However, unlike the above embodiment, the semantics of the syntax element sps_tranquant_bypass_flag is defined as follows: If sps_tranquant_bypass_flag is equal to 1, the sps_transquant_bypass flag indicates that the transform and quantization path may (but should not) be activated at the CU level. Otherwise, if sps_tranquant_bypass_flag is equal to 0, the transform and quantization bypass is not activated. sps_tranquant_bypass_flag may be signaled in the SPS or may be inferred to be 1 for lossless coding, as indicated by other SPS-level lossless coding indication flags.

[0124] 8 shows an example process (800) for receiving an inter-component coding tool or a chroma component flag based on a coding tool in a bitstream of coded video. The process (800) may be performed in a decoder. The process (800) may start at (S801) and proceed to (S810).

[0125] At S (810), a syntax element may be received in the bitstream that indicates whether the images in the sequence are each monochrome or have separately coded components. For example, the syntax element may be chroma_format_idc or separate_color_plane_flag. A chroma_format_idc of 0 may indicate that the images are monochrome. A separate_color_plane_flag of 1 may indicate that the images each have separately coded components. In both cases, ChromaArrayType may have a value of 0.

[0126] As an example, a sequence of images refers to the SPS in Table 3. The chroma_format_idc signaled in line 11 of Table 3 is received. If the value of chroma_format_idc is 0, it may be determined that the image is monochrome. If chroma_format_idc is equal to 0, then separate_color_plane_flag may not be signaled in line 13 and may be inferred to be equal to 0 in one example. Therefore, ChromaArrayType may be set equal to chroma_format_idc, which is currently 0.

[0127] If chroma_format_idc has a value of 3, indicating a 4:4:4 chroma format for the image in the sequence, then separate_colour_plane_flag may be received on line 13. If separate_colour_plane_flag has a value of 1, indicating that the image should have its components coded separately, then it may be determined that the image has separately coded components. ChromaArrayType may be set equal to 0.

[0128] In other cases, if the chroma_format_idc received in row 11 has a value of 1 or 2, or if the chroma_format_idc received in row 11 has a value of 3 but separate_colour_plane_flag has a value of 0, it may be determined that the image is not monochrome and contains components that are not separately coded. Joint component coding tools or chroma-based coding tools may be applied to the image. For a chroma_format_idc received in row 11 of Table 3 that has a value of 1 or 2 (the image is not monochrome), separate_colour_plane_flag can be inferred to be 0. Therefore, ChromeArrayType can take a value of chroma_format_idc that is 1 or 2 (not 0). For a scenario where the received chroma_format_idc has a value of 3 but separate_colour_plane_flag has a value of 0, ChromeArrayType can also take a value of chroma_format_idc that is 3 (not 0).

[0129] Also, if it is determined that the image is monochrome or contains separately coded components, or if it is determined that ChromaArrayType is 0, steps (S820) through (S840) may be performed. Syntax elements for controlling joint component coding tools or chroma-based coding tools may be inferred to be equal to 0 to disable those coding tools. Specifically, sps_joint_cbcr_enabled_flag, sps_bdpcm_chroma_enabled_flag, and sps_act_enabled_flag are each inferred to be equal to 0.

[0130] Also, if it is determined that each image is not monochrome and includes components that are not separately coded, or if it is determined that chromeArrayType is not 0, steps (S850) to (S870) may be performed. Syntax elements for controlling joint component coding tools or chroma-based coding tools may be received from the bitstream. Specifically, sps_joint_cbcr_enabled_flag, sps_bdpcm_chroma_enabled_flag, and sps_act_enabled_flag may be received consecutively.

[0131] After either (S840) or (S870), the process (800) can proceed to (S899) and end at (S899).

[0132] 9 shows a process (900) for disabling encoding tools that are not applicable to monochrome video or video that includes separately encoded components, according to one embodiment of this disclosure. The process (900) may be performed in a decoder, such as the decoder (710). The process (900) may start at (S901) and proceed to (S910).

[0133] At (S910), a syntax element may be received in the bitstream indicating whether the sequence of images is each monochrome or has separately coded components. For example, the syntax element may be chroma_format_idc or separate_color_plane_flag in the example of Table 3. chroma_format_idc being 0 may indicate that the images are monochrome. separate_color_plane_flag being 1 may indicate that the images each have separately coded components. In both cases (chroma_format_idc being 0 or separate_color_plane_flag being 1), the variable ChromaArrayType may have a value of 0.

[0134] If it is determined that the sequence of images are each monochrome or have separately coded components, steps (S920) and (S930) may be performed. In (S920), coding tools that use multiple components of the images as input may be disabled, for example, by inferring values ​​of syntax elements that control each corresponding coding tool. Examples of such coding tools include ACT, joint coding of chroma residuals, etc.

[0135] At (S930), coding tools that depend on the chroma components of the image may be disabled, for example, by inferring the value of a syntax element that controls each corresponding coding tool. Examples of such coding tools may include BDPCM for chroma. Process (900) may then proceed to (S999), where it may end.

[0136] If it is determined at (S910) that the sequence of images are not each monochrome or do not have separately coded components, step (S940) may be performed. At (S940), syntax elements for enabling joint component coding tools or chroma component-based coding tools may be received from the bitstream. Whether syntax elements for enabling these coding tools are signaled within the bitstream may depend on other conditions or other syntax elements transmitted within the bitstream. Process (900) may then proceed to (S999) and end there.

[0137] IV. Computer Systems The techniques described above may be implemented using computer-readable instructions and as computer software physically stored on one or more computer-readable media. For example, Figure 10 illustrates a computer system (1000) suitable for implementing certain embodiments of the disclosed subject matter.

[0138] Computer software may be encoded using any suitable machine code or computer language that can be subjected to mechanisms such as assembling, compiling, linking, etc. to create code containing instructions that can be executed by one or more computer central processing units (CPUs), graphics processing units (GPUs), etc. directly, or via interpretation, microcode execution, etc.

[0139] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smartphones, gaming devices, Internet of Things devices, and the like.

[0140] 10 for computer system (1000) are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing embodiments of the present disclosure. The arrangement of components should not be construed as having any dependency or requirement regarding any one or combination of components illustrated in the exemplary embodiment of computer system (1000).

[0141] The computer system (1000) may include certain human interface input devices. Such human interface input devices may respond to input by one or more human users via, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), or olfactory input (not shown). Human interface devices may also be used to capture certain media not necessarily directly associated with conscious human input, such as audio (e.g., speech, music, ambient sounds), images (e.g., scanned images, photographic images obtained from a still image camera), and video (2D video, 3D video including stereoscopic video, etc.).

[0142] The input human interface devices may include one or more (only one of each listed) of a keyboard (1001), a mouse (1002), a trackpad (1003), a touchscreen (1010), a data glove (not shown), a joystick (1005), a microphone (1006), a scanner (1007), and a camera (1008).

[0143] The computer system (1000) may also include certain human interface output devices. Such human interface output devices may stimulate one or more of the human user's senses, for example, through tactile output, sound, light, and smell / taste. Such human interface output devices may include tactile output devices (e.g., tactile feedback via a touchscreen (1010), data gloves (not shown), or joystick (1005), although tactile feedback devices that do not function as input devices may also be present), audio output devices (e.g., speakers (1009), headphones (not shown)), visual output devices (e.g., screens (1010), including CRT screens, LCD screens, plasma screens, and OLED screens, each with or without touchscreen input capability and each with or without tactile feedback capability, some of which may be capable of outputting two-dimensional visual output or three-dimensional hypervisible output via means such as stereo output, virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).

[0144] The computer system (1000) may also include human-accessible storage devices and their associated media, such as optical media (1021) including CD / DVD ROM / RW (1020) with media such as CDs / DVDs, thumb drives (1022), removable hard drives or solid state drives (1023), traditional magnetic media such as tape and floppy disks (not shown), dedicated ROM / ASIC / PLD-based devices such as security dongles (not shown), etc.

[0145] Those skilled in the art should also understand that the term "computer-readable medium" as used in connection with the subject matter of this disclosure does not encompass transmission media, carrier waves, or other transitory signals.

[0146] The computer system (1000) also includes an interface (1054) to one or more communication networks (1055). The network may be, for example, wireless, wired, or optical. The network may further be local, wide-area, metropolitan, vehicular, industrial, real-time, delay-tolerant, or the like. Examples of networks include local area networks such as Ethernet and wireless LAN; cellular networks including GSM, 3G, 4G, 5G, LTE, and the like; television wired or wireless wide-area digital networks including cable TV, satellite TV, and terrestrial broadcast TV; and vehicular and industrial networks including CAN Bus. Certain networks generally require an external network interface adapter attached to a particular general-purpose data port or peripheral bus (1049) (e.g., a USB port on the computer system (1000)). Others are generally integrated into the core of the computer system (1000) by attachment to a system bus (e.g., an Ethernet interface to a PC computer system or a cellular network interface to a smartphone computer system), as described below. Using any of these networks, the computer system (1000) can communicate with other entities. Such communications may be one-way receive only (e.g., broadcast TV), one-way transmit only (e.g., CANbus to a particular CANbus device), or two-way, e.g., to other computer systems using local or wide-area digital networks. Specific protocols and protocol stacks may be used in each of those networks and network interfaces, as described above.

[0147] The aforementioned human interface devices, human access storage devices, and network interfaces may be attached to the core (1040) of the computer system (1000).

[0148] The core (1040) may include one or more central processing units (CPUs) (1041), graphics processing units (GPUs) (1042), dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) (1043), task-specific hardware accelerators (1044), graphics adapters (1050), etc. These devices, along with read-only memory (ROM) (1045), random access memory (1046), and internal mass storage (1047), such as an internal non-user-accessible hard drive or SSD, may be connected via a system bus (1048). In some computer systems, the system bus (1048) may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripherals may be attached directly to the core's system bus (1048) or via a peripheral bus (1049). In one example, a screen (~~x 10) may be connected to a graphics adapter (~~x 50). Peripheral bus architectures include PCI, USB, etc.

[0149] The CPU (1041), GPU (1042), FPGA (1043), and accelerator (1044) can execute specific instructions that, in combination, can constitute the above-mentioned computer code. That computer code can be stored in ROM (1045) or RAM (1046). Transient data can also be stored in RAM (1046), while permanent data can be stored, for example, in internal mass storage (1047). Rapid storage and retrieval from any of the memory devices can be enabled through the use of cache memory, which can be closely associated with one or more of the CPU (1041), GPU (1042), mass storage device (1047), ROM (1045), RAM (1046), etc.

[0150] The computer-readable medium may bear computer code for performing various computer-implemented operations. The medium and computer code may be those specially designed and constructed for the purposes of the present disclosure, or they may be of the kind well known and available to those skilled in the computer software arts.

[0151] By way of example and not limitation, the architecture (1000), and in particular a computer system having a core (1040), can provide functionality as a result of a processor (including a CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be user-accessible mass storage, as described above, as well as media associated with specific storage of the core (1040) that is non-transitory in nature, such as the core's internal mass storage (1047) or ROM (1045). Software implementing various embodiments of the present disclosure can be stored in such devices and executed by the core (1040). The computer-readable media can include one or more memory devices or chips, depending on particular needs. The software can cause the core (1040), and in particular the processor (including a CPU, GPU, FPGA, etc.) therein, to perform particular processes or particular portions of particular processes described herein, including defining data structures stored in RAM (1046) and modifying such data structures in accordance with the software-defined processes. Additionally, or alternatively, the computer system may provide functionality as a result of logic realized by hardware or otherwise embodied in circuitry (e.g., accelerator (1044)), which may operate in place of or in conjunction with software to perform particular processes or portions of particular processes described herein. References to software may encompass logic, where appropriate, and vice versa. References to computer-readable media may encompass circuitry (such as an integrated circuit (IC)) that stores software for execution, circuitry that embodies logic for execution, or both, as appropriate. The present disclosure encompasses any appropriate combination of hardware and software.

[0152] Appendix A: Acronyms VTM: A versatile video coding test model SPS: Sequence Parameter Set BDPCM: Block-based Delta Pulse Code Modulation ACT: Adaptive Color Transform JEM: Joint Exploration Model VVC: Versatile Video Coding BMS: Benchmark Set MV: Motion Vector HEVC: High Efficiency Video Coding SEI: Supplemental Extended Information VUI: Video Usability Information GOP: Group of Pictures TU: Conversion unit PU: Prediction Unit CTU: Coding Tree Unit CTB: coding tree block PB: Predicted Block HRD: Hypothetical Reference Decoder SNR: Signal to Noise Ratio CPU: Central Processing Unit GPU: Graphics Processing Unit CRT: cathode ray tube LCD: Liquid crystal display OLED: Organic Light Emitting Diode CD: Compact Disc DVD: Digital Video Disc ROM: Read-only memory RAM: Random Access Memory ASIC: Application Specific Integrated Circuit PLD: Programmable Logic Device LAN: Local Area Network GSM: Global System for Mobile Communications LTE: Long Term Evolution CANBus: Controller Area Network Bus USB: Universal Serial Bus PCI: Peripheral Component Interconnect FPGA: Field Programmable Gate Area SSD: Solid State Drive IC: Integrated Circuit CU: Coding Unit

[0153] While this disclosure has described several exemplary embodiments, there are alterations, modifications, and various substitute equivalents that fall within the scope of this disclosure. It will thus be appreciated that those skilled in the art will be able to devise numerous systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and are therefore within its spirit and scope. [Explanation of symbols]

[0154] 101 Samples 102 Arrow, Sample 103 Arrow, Sample 104 square blocks, sample 105 samples 106 samples 110 Current Block 200 Communication Systems 210 Terminal Equipment 220 Terminal Equipment 230 Terminal Equipment 240 Terminal Equipment 250 Communication Network 301 Video Sources 302 Video Images 303 Video Encoder 304 Video Data, Encoded Video Bitstream 305 Streaming Server 306 Client Subsystem 307 Video data (copy), input copy 308 Client Subsystem 309 Video Data (Copy) 310 Video Decoder 311 Video Images 312 Display 313 Acquisition Subsystem 320 Electronic equipment 330 Electronic equipment 401 Channel 410 Video Decoder 412 Drawing device 415 Buffer Memory 420 Parser 421 Symbol 430 Electronic equipment 431 Receiver 451 Reverse conversion unit 452 Intra-Image Prediction Unit 453 Motion Compensation Prediction Unit 455 Aggregator 456 Loop Filter Unit 457 Reference Image Memory 458 Current Image Buffer 501 Video Sources 503 Video Encoder 520 Electronic equipment 530 Source Coder 532 encoding engine 533 Local Video Decoder 534 Reference Image Memory (Reference Image Cache) 535 Predictors 540 Transmitter 543 coded video sequence 545 Entropy Encoder 550 Controller 560 Communication Channels 603 Video Encoder 621 General-purpose controller 622 Intra Encoder 623 Residual Calculator 624 Residual Encoder 625 Entropy Encoder 626 Switch 628 Residual Decoder 630 Intercoder 710 Video Decoder 771 Entropy Decoder 772 Intra Decoder 773 Residual Decoder 774 Reconstruction Module 780 Inter Decoder 800 processes 1000 Computer Systems 1001 keyboard 1002 Mouse 1003 Trackpad 1005 Joystick 1006 Microphone 1007 Scanner 1008 Camera 1009 Speaker 1010 Touchscreen 1020 CD / DVD ROM / RW 1021 Optical media 1022 thumb drive 1023 removable hard drive or solid state drive 1040 cores 1041 Central Processing Unit (CPU) 1042 Graphics Processing Unit (GPU) 1043 Field Programmable Gate Area (FPGA) 1044 Hardware Accelerator 1045 Read-Only Memory (ROM) 1046 Random Access Memory (RAM) 1047 Internal Mass Storage 1048 System Bus 1049 Peripheral Bus 1050 graphics adapter 1054 network interfaces 1055 Communication Network

Claims

1. A method of video decoding performed by a video decoder, A step of receiving a first syntax element from an encoded video bitstream, wherein the first syntax element indicates whether the sequence of images is monochrome or includes a chroma format corresponding to each color component sampling structure. If the first syntax element indicates whether the sequence of images is monochrome or includes a chroma format corresponding to each color component sampling structure, the steps include: inferring the value of the syntax element in order to use multiple color components of the image as input or to disable encoding tools that depend on the chroma components of the image; Includes, The step of inferring the values ​​of syntax elements in order to disable the encoding tool that uses multiple color components of an image as input, A method comprising the step of inferring that the value of a third syntax element indicating whether Active Color Conversion (ACT) is enabled is equal to 0.

2. The step of inferring the values ​​of syntax elements in order to use multiple color components of an image as input or to disable the encoding tool that relies on the chroma component of an image, If the first syntax element indicates that the sequence of images is monochrome or includes a chroma format corresponding to each color component sampling structure, the step of determining that the value of the variable is 0, wherein the variable indicates the chroma array type of the sequence of images; In response to determining that the value of the aforementioned variable is 0, the following syntax elements are applied: A second syntax element indicating whether joint coding of chroma residuals is enabled, A third syntax element indicating whether Active Color Conversion (ACT) is enabled, or The steps include: inferring that the value of one of the fourth syntax elements indicating whether block-based delta pulse code modulation (BDPCM) for the chroma component is enabled is equal to 0; The method according to claim 1, including the method described in claim 1.

3. The method according to claim 1, further comprising the step of receiving a second syntax element indicating whether joint coding of chroma residuals is enabled if it is determined that the sequence of images is not monochrome and includes a chroma format that does not correspond to each color component sampling structure.

4. The method according to claim 1, further comprising the step of receiving a third syntax element indicating whether active color conversion (ACT) is enabled if it is determined that the sequence of images is not monochrome and includes a chroma format that does not correspond to each color component sampling structure.

5. The method according to claim 1, further comprising the step of receiving a fourth syntax element indicating whether block-based delta pulse code modulation (BDPCM) for chroma components is enabled if it is determined that the sequence of images is not monochrome and includes a chroma format that does not correspond to each color component sampling structure.

6. If it is determined that the sequence of images is not monochrome and includes a chroma format that does not correspond to each color component sampling structure, the steps include determining the value of a variable indicating the chroma array type of the sequence of images, If the value of the aforementioned variable is determined to be non-zero, the following syntax elements apply: A second syntax element indicating whether joint coding of chroma residuals is enabled, A third syntax element indicating whether Active Color Conversion (ACT) is enabled, or The step of receiving one of a fourth syntax element indicating whether block-based delta pulse code modulation (BDPCM) for the chroma component is enabled. The method according to claim 1, further comprising:

7. If it is determined that the sequence of images is not monochrome and includes a chroma format that does not correspond to each color component sampling structure, the steps include determining the value of a variable indicating the chroma array type of the sequence of images, If the value of the variable is determined to be non-zero, and reversible mode is enabled for the sequence of images, the step of receiving a fourth syntax element indicating whether block-based delta pulse code modulation (BDPCM) for the chroma component is enabled, The method according to claim 1, further comprising:

8. A video decoding apparatus comprising a circuit configured to perform the method described in any one of claims 1 to 7.

9. A computer program, when executed by a processor, that causes the processor to perform the method described in any one of claims 1 to 7.

10. A method of video encoding performed by a video encoder, A step of generating a first syntax element that indicates whether the sequence of images is monochrome or contains a chroma format corresponding to each color component sampling structure, A step of generating a third syntax element indicating whether active color conversion (ACT) is enabled, based on the first syntax element indicating whether the sequence of the image is monochrome or includes a chroma format corresponding to each color component sampling structure, The first syntax element indicates that the sequence of images is monochrome or includes a chroma format corresponding to each color component sampling structure, which means that the value of the syntax element is inferred to use multiple color components of the image as input or to disable encoding tools that depend on the chroma components of the image. The fact that the values ​​of the syntax elements are inferred in order to disable the encoding tool that uses multiple color components of an image as input, The steps include: the value of the third syntax element indicating whether Active Color Conversion (ACT) is enabled is inferred to be equal to 0; A step of generating a coded video bitstream including the first syntax element, wherein the coded video bitstream further includes the third syntax element based on whether the sequence of the image is monochrome or includes a chroma format corresponding to each color component sampling structure. Methods that include...

11. The process includes the step of transmitting an encoded video bitstream encoded by a video encoding method performed by a processor, wherein the encoded video bitstream is A first syntax element, the first syntax element including a first syntax element indicating whether the image sequence is monochrome or includes a chroma format corresponding to each color component sampling structure, The first syntax element indicates that the sequence of images is monochrome or includes a chroma format corresponding to each color component sampling structure, which means that the value of the syntax element is inferred to use multiple color components of the image as input or to disable encoding tools that depend on the chroma components of the image. In order to disable the encoding tool that uses multiple color components of an image as input, guessing the values ​​of the syntax elements is This includes inferring that the value of a third syntax element indicating whether Active Color Conversion (ACT) is enabled is equal to 0, The method further includes the third syntax element, based on whether the video bitstream is monochrome or includes a chroma format corresponding to each color component sampling structure.

12. A method of video decoding performed by a video decoder, A step of receiving a first syntax element from an encoded video bitstream, wherein the first syntax element determines whether the sequence of images is monochrome. When the first syntax element identifies that the sequence of images is monochrome, This involves inferring the value of a syntax element that identifies the need to disable encoding tools that depend on the chroma components of an image, and The steps include: inferring that the value of a third syntax element that determines whether Active Color Conversion (ACT) is enabled is equal to 0; A method that includes this.

13. A method of video encoding performed by a video encoder, A step of generating an encoded video bitstream, wherein the video bitstream includes a first syntax element that identifies whether or not the sequence of images is monochrome. If the first syntax element identifies that the sequence of images is monochrome, The value of the second syntax element is inferred to indicate that it disables encoding tools that depend on the chroma components of the image, A method for demonstrating that the value of a third syntax element indicating whether Active Color Conversion (ACT) is enabled is inferred to be equal to 0.

14. A step of transmitting an encoded video bitstream encoded by a video encoding method performed by a processor, wherein the video bitstream includes a first syntax element that identifies whether or not a sequence of images is monochrome. If the first syntax element identifies that the sequence of images is monochrome, The value of the second syntax element is inferred to indicate that it disables encoding tools that depend on the chroma components of the image, A method for demonstrating that the value of a third syntax element indicating whether Active Color Conversion (ACT) is enabled is inferred to be equal to 0.