摘要:
A method for decoding video data provided in a bitstream, where the bitstream includes a coding unit (CU) coded in palette mode, includes: parsing a palette associated with the CU provided in the bitstream; parsing one or more run lengths provided in the bitstream that are associated with the CU; parsing one or more index values provided in the bitstream that associated with the CU; and parsing one or more escape pixel values provided in the bitstream that are associated with the CU. The escape pixel values may be parsed from consecutive positions in the bitstream, the consecutive positions being in the bitstream after all of the run lengths and the index values associated with the CU. The method may further include decoding the CU based on the parsed palette, parsed run lengths, parsed index values, and parsed escape values.
摘要:
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.
摘要:
In an example, system and method for coding encoded video data. A quantized residue differences block associated with a current block of a picture is generated and a reconstructed prediction residue for each quantized residue difference in the block of quantized residue differences is generated. Each reconstructed prediction residue is added to its corresponding original prediction value to produce a current block of a picture. Generating the reconstructed prediction residue includes performing inverse quantization on blocks of quantized residue differences, wherein the inverse quantization reconstructs data to which uniform quantization residue differential pulse code modulation (RDPCM) has been applied and wherein the quantization is of the form: &Dgr;Xq=floor((X+αQ)/Q) where Q is quantization step and α is quantization offset.
摘要:
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.
摘要:
Video data may comprise one or more blocks, each block being associated with a block palette comprising one or more palette entries specifying pixel values used in the block. A block is further divided into a plurality of sub-blocks. A sub-block scanning order for the block and pixel scanning orders for the sub-blocks are adaptively selected, based upon a distribution of pixel values within the block and sub-blocks. Sub-blocks may be associated with sub-block palettes, specifying pointers to palette entries of the block palette. Some sub-blocks may be encoded based upon pixel values of neighboring sub-blocks.
摘要:
An example method of decoding video data includes determining a palette for decoding a block, the palette including entries each having a respective palette index, determining a reference run of palette indices for first pixels of the block, and determining a current run of palette indices for second pixels of the block, based on the reference run. Determining the second plurality of palette indices includes locating a reference index of the reference run, the reference index being spaced at least one line from an initial index of the current run, determining a run length of the reference run, a final index of the reference run being separated from the initial index of the current run by at least one index, copying the palette indices of the reference run as the current run of palette indices, and decoding pixels of the copied current run using the palette.
摘要:
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.
摘要:
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.
摘要:
Techniques for encoding a binary prediction vector for predicting a palette for palette-based video coding is described. In one example, a method of decoding video comprises receiving an encoded binary prediction vector for a current block of video data, decoding the encoded binary prediction vector using a run-length decoding technique, generating a palette for the current block of video data based on the binary prediction vector, the binary prediction vector comprising entries indicating whether or not previously-used palette entries are reused for the palette for the current block of video data, and decoding the current block of video data using the palette.