Abstract:
A device for decoding video data includes a memory configured to store the video data; and one or more processors configured to receive, in a picture parameter set (PPS), a first syntax element indicating that a palette predictor is to be generated using PPS-level palette predictor initializers; receive, in the PPS, a second syntax element indicating a number of the PPS-level palette predictor initializers included in the PPS is equal to zero; and decode a block of video data based on the first syntax element and the second syntax element.
Abstract:
Techniques for quantization parameter (QP) for display stream compression (DSC) based on complexity measure are disclosed. In one aspect, a method for determining a QP value includes determining a complexity value of a plurality of previous blocks and selecting a technique from a plurality of defined techniques for calculating a QP adjustment value for a current block based on the determined complexity value. The method may further include calculating the QP adjustment value for the current block via the selected technique and determining the QP value for the current block based on the QP adjustment value.
Abstract:
In some examples, a video coder employs a two-level technique to code information that identifies a position within the block of transform coefficients of one of the coefficients that is a last significant coefficient (LSC) for the block according to a scanning order associated with the block of transform coefficients. For example, a video coder may code a sub-block position that identifies a position of one of the sub-blocks that includes the LSC within the block, and code a coefficient position that identifies a position of the LSC within the sub-block that includes the LSC.
Abstract:
In an example, method of encoding video data may include receiving a block of video data having a size. The method may include determining the size of the block of video data. The method may include disabling palette mode encoding for the block of video data based on the determined size of the block of video data.
Abstract:
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.
Abstract:
A device for coding video data includes a memory storing video data and a video coder including one or more processors configured to determine a current coding unit of the video data is coded in a palette mode; determine a palette for the coding unit by, for a first entry of the palette, choosing a predictor sample from a reconstructed neighboring block of the coding unit and coding a difference between one or more color values of the first entry and one or more color values of the predictor sample.
Abstract:
A video coder determines, based at least in part on a distance between a current sub-block of a transform coefficient block and a sub-block that contains a last significant coefficient (LSC) of the transform coefficient block, coding contexts for significance flags for transform coefficients of the current sub-block. Furthermore, the video coder entropy codes, based on the coding contexts for the significance flags for the transform coefficients of the current sub-block, the significance flags for the transform coefficients of the current sub-block.
Abstract:
A video decoder may be configured to decode a first value representative of a difference between a base most significant bits (MSBs) value of a picture order count (POC) value of a current picture of video data and a first MSBs value of a first POC value of a first long-term reference picture of the video data, decode a second value representative of a difference between a second MSBs value of a second POC value of a second long-term reference picture of the video data and the first MSBs value, wherein the first POC value and the second POC value have different least significant bits values, and decode at least a portion of a current picture of the video data relative to at least one of the first long-term reference picture and the second long-term reference picture.
Abstract:
In general, techniques are described for implementing an 8-point inverse discrete cosine transform (IDCT). An apparatus comprising an 8-point inverse discrete cosine transform (IDCT) hardware unit may implement these techniques to transform media data from a frequency domain to a spatial domain. The 8-point IDCT hardware unit includes an even portion comprising factors A, B that are related to a first scaled factor (μ) in accordance with a first relationship. The 8-point IDCT hardware unit also includes an odd portion comprising third, fourth, fifth and sixth internal factors (G, D, E, Z) that are related to a second scaled factor (η) in accordance with a second relationship. The first relationship relates the first scaled factor to the first and second internal factors. The second relationship relates the second scaled factor to the third, fourth, fifth and sixth internal factors.
Abstract:
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.