摘要:
An example method includes obtaining, for a current block of video data, values of motion vectors (MVs) of an affine motion model of a neighboring block of video data; deriving, from the values of the MVs of the affine motion model of the neighboring block, values of predictors for MVs of an affine motion model of the current block; decoding, from a video bitstream, a representation of differences between the values of the MVs of the affine motion model for the current block and the values of the predictors; determining the values of the MVs of the affine motion model for the current block from the values of the predictors and the decoded differences; determining, based on the determined values of the MVs of the affine motion model for the current block, a predictor block of video data; and reconstructing the current block based on the predictor block.
摘要:
A method of decoding video data, the method comprising receiving a run-length sequence indicative of a binary vector, the binary vector comprising indications of locations of escape samples in a block of video data encoded using a palette-based coding mode, decoding the run-length sequence to obtain the binary vector, and decoding the block of video data using the binary vector. The method of claim 1 may further comprise receiving palette entries for the block of video data receiving one or more escape samples, and receiving a plurality of flags indicating the palette mode for each respective pixel in the block of video data.
摘要:
A video decoder may obtain a syntax element from a bitstream comprising an encoded representation of a block of video data. The block comprises a series of runs, each of which may consist of one pixel or two or more consecutive pixels. Furthermore, the video decoder may obtain a set of palette run length syntax elements indicating lengths of one or more of the runs. The video decoder may determine, based on the syntax element, that the palette run length syntax elements do not include a palette run length syntax element indicating a length of the first run. Rather, the video decoder determines, based on the lengths indicated by the set of palette run syntax elements, the length of the first run. The video decoder may determine, based on the palette sample modes of the pixels, palette indices of the pixels, each indicating an entry in a palette.
摘要:
An example method of coding video data includes determining, for a current block of video data, a palette that includes a plurality of entries that each corresponds to a respective color value; determining a particular entry in the palette that is predicted to correspond to a color value of a current pixel of the current block; selecting a binarization from a plurality of binarizations; and coding, using the selected binarization, an index that indicates which entry in the palette corresponds to a color value for a current pixel of the current block, wherein coding the index using a first binarization of the plurality of binarizations comprises coding a syntax element that indicates whether the index is equal to the particular entry, and wherein coding the index using a second binarization of the plurality of binarizations comprises coding the index using a variable length code without coding the syntax element.
摘要:
Techniques are described where a current pixel that cannot be palette mode coded in copy above mode and is not coded in a copy index mode is palette mode coded based on a palette index of a diagonal pixel.
摘要:
An example device for decoding video data includes a video decoder configured to decode one or more syntax elements at a region-tree level of a region-tree of a tree data structure for a coding tree block (CTB) of video data, the region-tree having one or more region-tree nodes including region-tree leaf and non-leaf nodes, each of the region-tree non-leaf nodes having at least four child region-tree nodes, decode one or more syntax elements at a prediction-tree level for each of the region-tree leaf nodes of one or more prediction trees of the tree data structure for the CTB, the prediction trees each having one or more prediction-tree leaf and non-leaf nodes, each of the prediction-tree non-leaf nodes having at least two child prediction-tree nodes, each of the prediction leaf nodes defining respective coding units (CUs), and decode video data for each of the CUs.
摘要:
In one example, a device includes a memory configured to store video data and a video decoder configured to decode an exponential Golomb codeword representative of at least a portion of a value for an escape pixel of a palette-mode coded block of video data, the video decoder is configured to decode the exponential Golomb codeword using exponential Golomb with parameter 3 decoding, and decode the block using the value for the escape pixel.
摘要:
In an example, a method of decoding video data using palette mode may include receiving a palette mode encoded block of video data of a picture. The method may include receiving encoded palette mode information for the palette mode encoded block of video data. The encoded palette mode information may be encoded according to a kth order non-uniform truncated exponential-Golomb (TEGk) coding scheme and includes a unary prefix code word and a suffix code word. The method may include entropy decoding the encoded palette mode information using the kth order non-uniform truncated exponential-Golomb (TEGk) coding scheme. The kth order non-uniform TEGk coding scheme is different from a kth order exponential-Golomb (EGk) coding scheme and a kth order truncated exponential-Golomb (TEGk) coding scheme. The method may include decoding the palette mode encoded block of video data using the decoded palette mode information.
摘要:
An example method of decoding video data includes determining a palette for decoding a block of video data, where the palette includes one or more palette entries each having a respective palette index, determining a first plurality of palette indices for first pixels of the block of video data, enabling a palette coding mode based on a run length of a run of a second plurality of palette indices for second pixels of the block of video data being decoded relative to the first plurality of palette indices meeting a run length threshold, and decoding the run of the second plurality of palette indices relative to the first plurality of palette indices using the palette coding mode.
摘要:
In palette-based coding, a video coder may form a so-called “palette” as a table of colors representing the video data of a given block. The video coder may code index values for one or more pixels values of a current block of video data, where the index values indicate entries in the palette that represent the pixel values of the current block. A method includes determining a number of entries in a palette, and determining whether a block of video data includes any escape pixels not associated with any entry in the palette. The method includes responsive to determining that the number of entries is one, and that the block does not include any escape pixels, bypassing decoding index values for the pixel values of the block, and determining the pixel values of the block to be equal to the one entry in the palette.