摘要:
A pixel block (300) is compressed by providing a respective color component prediction for each pixel (310-318) in the block (300). A difference between color components of two neighboring pixels (312, 316) is calculated and compared to a threshold. If the difference is smaller than the threshold, the prediction is calculated based on a first linear combination of the color components of these two neighboring pixels (312, 316). However, if the difference exceeds the threshold, a second or third linear combination of the color components of the neighboring pixels (312, 316) is employed a prediction. A guiding bit (470) associated with the selected linear combination. A prediction error is calculated based on the color component of the pixel (318) and the provided prediction. The compressed block (400) comprises an encoded representation (480) of the prediction error and any guiding bit (470).
摘要:
Device, computer readable medium, and method for selecting compression modes to be applied in a depth buffer (20). The method includes obtaining values corresponding to a tile (30) of the depth buffer (20), selecting a first compression mode (34) from a first plurality of compression modes, compressing the values of the tile (30), writing the compressed values into a first block, based on the first mode (34), and using a preset number of primary bits (34) to store information related to at least one of the first mode (34) and a compression size of the first block, selecting a set of secondary compression modes (32) from a second plurality of compression modes, determining a number of sub-tiles (28), that make up the tile (30), compressing values of the sub-tiles, writing the compressed values into a second block, based on the set of secondary modes (32), and using the same preset number of primary bits (34) to store information related to at least one of the set of secondary modes (32) and a compression size of the second block, comparing the compression size of the tile (30) to the compression size of the sub-tiles (28), choosing the first mode (34) or the set of secondary modes (32) and a corresponding tile size based on a result of the comparing, and storing the selected compressed tile or sub-tiles into the depth buffer (20) and writing into the preset number of primary bits (34) information related to the chosen first mode (34) or set of secondary compression modes (32) or a corresponding size.
摘要:
A pixel block (300) is compressed by providing a respective color component prediction for each pixel (310-318) in the block (300). A difference between color components of two neighboring pixels (312, 316) is calculated and compared to a threshold. If the difference is smaller than the threshold, the prediction is calculated based on a first linear combination of the color components of these two neighboring pixels (312, 316). However, if the difference exceeds the threshold, a second or third linear combination of the color components of the neighboring pixels (312, 316) is employed a prediction. A guiding bit (470) associated with the selected linear combination. A prediction error is calculated based on the color component of the pixel (318) and the provided prediction. The compressed block (400) comprises an encoded representation (480) of the prediction error and any guiding bit (470).
摘要:
A pixel block (300) is compressed by selecting a start depth value and a restart depth value based on the multiple depth values of the pixels (310-318) in the block (300). A respective plane representation (430) indicative of which plane of a start or restart depth value plane is determined for the pixels (311-318). These representations (430) are employed for selecting a pixel set comprising at least one other pixel (312, 314-317) in the block (300) for a pixel (318) to be encoded. The depth value(s) of the pixel(s) (312, 314-317) in the set are used for determining a prediction of the depth value of the pixel (318). The depth value and the prediction are employed for calculating a prediction error, which is encoded. The compressed pixel block (400) comprises the encoded prediction errors (460), a start value representation (420), a restart value representation (430) and the plane representations (440).
摘要:
A method,a filtering control device (150), a computer program and a computer program product for processing a first picture in a sample adaptive filtering procedure are disclosed. The first picture is reconstructed from video data. The filtering control device (150) obtains (201) an offset magnitude from the video data. The offset magnitude indicates a magnitude of a sample adaptive offset to be applied in the sample adaptive filtering procedure. The filtering control device (150) obtains (204) an offset sign from the video data. The offset sign indicates a sign of the sample adaptive offset. The filtering control device (150) determines (205) the sample adaptive offset based on the offset magnitude and the offset sign. Moreover, the filtering control device (150) processes (207), in the sample adaptive filtering procedure, at least a portion of the first picture while applying the sample adaptive offset.
摘要:
A tile (1) of pixels (6) is encoded by variable length encoding blocks (3-9) of pixels (10) constituting different subsets of the tile (1) to form sequences of symbols (23-29) as encoded representations of the pixel values. A respective size indication (33-39, 52, 54, 56, 58) is determined for each set (12, 14) of at least block. A size indication (33-39, 52, 54, 56, 58) is representative of a compression ratio of a combined sequence (23-29, 51, 53, 55, 57) corresponding to the at least one sequence of symbols (23- 29) obtained for the at least one block of the set (12, 14). The combined sequences (23-29, 51, 53, 55, 57) are arranged in a pixel value buffer (80) in a buffer memory (20). The size indication (32-39, 52, 54, 56, 58) determined for a given set (12, 14) is also stored in the pixel value buffer (80) in the buffer memory (20) to precede, according to a reading order of the pixel value buffer (80), the combined sequence (23-29, 51, 53, 55, 57) of the given set (12, 14).
摘要:
A first and a second data value are co-compressed by generating a sequence of symbols having a most significant symbol that is the most significant symbol of a compressed representation of the first data value and a least significant symbol that is the most significant symbol of a compressed representation of the second data value. The compressed representation of the first data value corresponds to at least a portion of the symbols of the sequence of symbols starting from the most significant symbol and extending towards the least significant symbol in a first reading direction. The compressed representation of the second data value also corresponds to at least a portion of the symbols of the sequence of symbols, however, starting from the least significant symbol and extending in an opposite reading direction towards the most significant symbol.
摘要:
A pixel block is compressed by providing a respective color component prediction for each pixel in the block. A difference between color components of two neighboring pixels is calculated and compared to a threshold. If the difference is smaller than the threshold, the prediction is calculated based on a first linear combination of the color components of these two neighboring pixels. However, if the difference exceeds the threshold, a second or third linear combination of the color components of the neighboring pixels is employed in the prediction. A guiding bit associated with the selected linear combination may be used. A prediction error is calculated based on the color component of the pixel and the provided prediction. The compressed block comprises an encoded representation of the prediction error and any guiding bit.
摘要:
A tile (1) of pixels (6) is encoded by variable length encoding at least a first block (4) of pixels (6) into a first sequence (10) of symbols and a second block (5) of pixels (6) into a second sequence (20) of symbols. The symbols of the first and second sequences (10, 20) are co-organized into a combined sequence (70) of symbols in which the symbols of the first sequence (10) are readable in a first reading direction and at least a portion of the symbols in the second sequence (20) are readable in a second, opposite reading direction. The encoding of the tile (1) to form one or more combined sequences (70) significantly reduces the bandwidth requirements when writing the tile (1) to a pixel value buffer (9). The co-organization of the first and second sequences (10, 20) enables parallel reading and decoding of the first and second sequences (10, 20) from the pixel value buffer (9), thereby reducing any decoding latency.