Abstract:
A method and system for encoding video data in a constant bit rate video encoder. A video encoder may determine a coding mode for encoding a block of video data from among one or more coding modes based on a minimum syntax element size and a maximum syntax element size, wherein the minimum syntax element size is greater than 1 bit, encode the block of video data in a plurality of substreams according to the determined coding mode to create a plurality of encoded substreams of video data, store the plurality of encoded substreams of video data in respective balance FIFO buffers, and multiplex the plurality of encoded substreams in a bitstream for transmitting to a decoder.
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:
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:
A method and apparatus for coding video information are disclosed. In one example, the method may involve: identifying one or more prediction modes for a fixed-rate codec, each prediction mode having a rate-distortion cost; and selecting, for a current block, a prediction mode that has the lowest rate-distortion cost from among the one more prediction modes not previously selected. The method may involve: (i) determining whether the selected prediction mode would result in overflow or underflow of a buffer of the fixed-rate codec; and (ii) determining whether the selected prediction mode would result in remaining bits in the slice being insufficient to code remaining blocks of the slice. The method may involve utilizing a fallback mode to code the current block in response to each of the selected one or more prediction modes resulting in at least one of conditions (i) and (ii) being true.
Abstract:
A method and apparatus for detecting a complex region of an image are disclosed. In one example, the method may involve calculating complexity values for a current block, a next block, and a previous block. The method may involve: (i) detecting that the previous complexity value is less than a first threshold value, and that the next complexity value is greater than a second threshold value; and (ii) determining that neither a transition to the current block nor a transition to the previous block is a flat-to-complex region transition. The method may involve detecting a flat-to-complex region transition when transitioning to the next block in response to (i) and (ii).
Abstract:
Certain aspects relate to systems and techniques for compressing image data using pattern mode compression schemes. A pattern mode compression scheme can reduce the amount of data stored in a frame buffer to reduce power costs of an image display system. In some implementations, pattern mode compression can be suitable for compression of pixel blocks having a limited color palette with one or more pixels of a different foreground color, and a slope-enabled pattern compression can be suitable for compression of pixel blocks having a gradient. Input pixel values can be compared against a dynamically-populated, fixed size pattern entry database to determine whether pattern mode compression or slope-enabled pattern mode compression should be used to compress the image block.
Abstract:
An apparatus configured to encode video data comprising a memory configured to store a block of video data and one or more processors in communication with the memory. The one or more processors are configured to determine a coding mode for encoding the block of video data from among one or more coding modes, wherein the coding mode is determined based on a maximum syntax element size, encode the block of video data in a plurality of substreams according to the determined coding mode to create a plurality of encoded substreams of video data, store the plurality of encoded substreams of video data in respective balance first-in, first-out (FIFO) buffers, and multiplex the plurality of encoded substreams in a bitstream for transmitting to a video decoder.
Abstract:
A method and system for encoding video data in a constant bit rate video encoder. A video encoder may determine a coding mode for encoding a block of video data from among one or more coding modes based on a minimum syntax element size and a maximum syntax element size, wherein the minimum syntax element size is greater than 1 bit, encode the block of video data in a plurality of substreams according to the determined coding mode to create a plurality of encoded substreams of video data, store the plurality of encoded substreams of video data in respective balance FIFO buffers, and multiplex the plurality of encoded substreams in a bitstream for transmitting to a decoder.
Abstract:
A method for coding a block of video data in simplified block prediction mode of a constant bitrate video coding scheme for transmission over display links is disclosed. In one aspect, the method includes determining a candidate block to be used to predict a current block in a current slice, the candidate block being within a range of pixel positions that each correspond to a reconstructed pixel in the current slice. The range of pixel positions may comprise (i) a first region including one or more first pixel positions in a first line of pixels that overlaps the current block, and (ii) a second region including one or more second pixel positions in a second line of pixels that does not overlap the current block. The method may further comprise determining and signaling a prediction vector indicative of a pixel position of the candidate block.
Abstract:
Provided are systems and methods for entropy encoding video data. Samples of a block of video data are partitioned into one or more groups of samples, based upon a coding mode of the block and a chroma subsampling image format of the samples. Entropy coding is performed on the block via performing a group-wise skip on at least one of the one or more groups in response to all of the samples in the at least one group having a value equal to a predetermined value, the group-wise skip including refraining from encoding the samples associated with the at least one group.