Abstract:
A video encoder performs multiple coding passes on coefficients in a coefficient block. During each coding pass, the video encoder encodes a different set of syntax elements for coefficients in the coefficient block. A video decoder uses the syntax elements for a coefficient to determine the value of the coefficient. When the video encoder performs a coding pass, the video encoder selects a coding context for a syntax element based at least in part on a syntax element generated in an earlier coding pass for a non-causal coefficient and based at least in part on a value of a syntax element generated during the current coding pass for a causal coefficient. The video encoder entropy encodes the syntax element based on the selected coding context. A video decoder performs a similar series of coding passes in which the video decoder selects coding contexts and entropy decodes the syntax elements.
Abstract:
A system and method for coding video data in pattern mode for display stream compression (DSC) is disclosed. In one aspect, the method includes determining that a first pattern in a current block of video data is not in a pattern database comprising a plurality of patterns, and adding the first pattern to the pattern database. The first pattern may be associated with a first index identifying a location of the first pattern in the pattern database. The method further includes coding the current block in pattern mode at least in part via signaling (i) the first pattern determined not to be in the pattern database and (ii) the first index identifying the location of the first pattern in the first database.
Abstract:
In an example, a method of coding video data includes determining, by a video coder and for a block of video data, a palette having a plurality of entries indicating a plurality of respective color values, wherein a first line of the block of video data includes a pixel located adjacent to an edge of the block of video data, and wherein a second line of the block of video data includes a pixel located adjacent to the edge of the block and adjacent to the pixel of the first line. In this example, the method also includes coding, in a scan order, index values that map pixels of the block to entries in the palette, wherein the pixel of the second line immediately follows the pixel of the first line in the scan order.
Abstract:
A method of encoding video data comprising encoding a current picture of video data, generating a respective collocated reference picture index syntax element for one or more slices of the current picture, and performing a bitstream conformance check only for slices of the one or more slices that do not have an intra slice type and for which a temporal motion vector predictor is enabled, the bitstream conformance check constraining the values of the respective collocated reference picture index syntax elements such that each respective collocated reference picture index syntax element points to the same picture and does not reference the current picture itself.
Abstract:
Techniques described herein are related to harmonizing the signaling of coding modes and filtering in video coding. In one example, a method of decoding video data is provided that includes decoding a first syntax element to determine whether PCM coding mode is used for one or more video blocks, wherein the PCM coding mode refers to a mode that codes pixel values as PCM samples. The method further includes decoding a second syntax element to determine whether in-loop filtering is applied to the one or more video blocks. Responsive to the first syntax element indicating that the PCM coding mode is used, the method further includes applying in-loop filtering to the one or more video blocks based at least in part on the second syntax element and decoding the one or more video blocks based at least in part on the first and second syntax elements.
Abstract:
Systems, methods, and devices for video coding that may receive a rectangular chroma block are disclosed. The rectangular chroma block may be divided into a first square sub-block and a second square sub-block. The systems, methods, and devices may reconstruct the first square sub-block and intra-predict the second square sub-block using reference samples from the reconstructed first square sub-block.
Abstract:
A device for decoding video data includes a memory configured to store video data, and at least one processor. The at least one processor may be configured to: determine luma residual samples for a block of video data, determine predictive chroma residual samples for the block of video data, scale the luma residual samples with a scale factor to produce scaled luma residual samples, and determine updated chroma residual samples based on the predictive chroma residual samples and the scaled luma residual samples.
Abstract:
Methods and apparatuses for modification to block size for transform mode in display stream compression are disclosed. In one aspect, the method involves selecting a current block and a next block of video data, calculating a first rate-distortion (RD) cost for coding the current and next blocks with a larger block size transform (LBT) mode, and calculating a second RD cost for coding each of the current and next blocks with another coding mode different from the LBT mode. The method may further involve determining whether the first RD cost is less than a sum of the second RD costs for the current and next blocks and coding the current and next blocks with the LBT mode in response to the first RD cost being less than the sum of the second RD costs for the current and next blocks.
Abstract:
Techniques are described for coding residual data of a prediction residual block in either a lossy or lossless coding mode, in which a transform is skipped or bypassed. The techniques of this disclosure include determining whether to reposition, e.g., rotate or flip, residual data of a residual block prior to coding the residual data of the residual block. For both the lossy and lossless coding modes, a video coding device determines whether to reposition residual data of a residual block based on a prediction mode of the residual block and a size of the residual block. In some examples, the techniques disable repositioning for all residual blocks in the inter-prediction mode and the intra block copying prediction mode, and determine to reposition residual blocks in the intra-prediction mode when the residual blocks have block sizes that are less than or equal to a threshold size.
Abstract:
An example method of coding video data includes coding, from a coded video bitstream, a syntax element that indicates whether a transpose process is applied to palette indices of a palette for a current block of video data; decoding, from the coded video bitstream and at a position in the coded video bitstream that is after the syntax element that indicates whether the transpose process is applied to palette indices of the palette for the current block of video data, one or more syntax elements related to delta quantization parameter (QP) and/or chroma QP offsets for the current block of video data; and decoding the current block of video data based on the palette for the current block of video data and the one or more syntax elements related to delta QP and/or chroma QP offsets for the current block of video data.