摘要:
A first filter decision value is calculated for a block (10) of pixels (11, 13, 15, 17) in a video frame based on pixel values of pixels (11, 13, 15) in a first line (12) of pixels (11, 13, 15, 17) in the block (10). A second filter decision value is also calculated for the block (10) based on pixel values of pixels (21, 23, 25, 27) in a corresponding first line (22) of pixels (21, 23, 25, 27) in a neighboring block (20) in the video frame. The first filter decision value is used to determine how many pixels in a line (12) of pixels (11, 13, 15, 17) in the block (10) to filter relative to a block boundary (1) between the block (10) and the neighboring block (20). The second filter decision value is used to determine how many pixels in a corresponding line (22) of pixels (21, 23, 25, 27) in the neighboring block to filter relative to the block boundary (1).
摘要:
The solution according to embodiments of the present invention is to reconstruct image blocks where only the frequency coefficient that is most sensitive to changes of an average value of the residual image block, typically the lowest frequency coefficient, is present with a flat residual image. The other image blocks are reconstructed by applying an inverse spatial 2D transform. Hence, the other image blocks comprise image blocks with multiple coefficients and image blocks with a single coefficient and wherein the single coefficient is not the coefficient determining (703) that is most sensitive to changes of an average value of the residual image block.
摘要:
A first filter decision value is calculated for a block (10) of pixels (11, 13, 15, 17) in a video frame based on pixel values of pixels (11, 13, 15) in a first line (12) of pixels (11, 13, 15, 17) in the block (10). A second filter decision value is also calculated for the block (10) based on pixel values of pixels (21, 23, 25, 27) in a corresponding first line (22) of pixels (21, 23, 25, 27) in a neighboring block (20) in the video frame. The first filter decision value is used to determine how many pixels in a line (12) of pixels (11, 13, 15, 17) in the block (10) to filter relative to a block boundary (1) between the block (10) and the neighboring block (20). The second filter decision value is used to determine how many pixels in a corresponding line (22) of pixels (21, 23, 25, 27) in the neighboring block to filter relative to the block boundary (1).
摘要:
There is provided a method of managing PMV candidates. The method comprises selecting a set of PMV candidates as a subset of the previously coded motion vectors. The method further comprises assigning a code value to each PMV candidate in the set of PMV candidates. The code values vary in length and are assigned to the PMV candidates in order of expected usage such that the PMV candidate having the highest expected usage has one of the shortest code values.
摘要:
A block-specific filter decision value is calculated for a pixel block (10) in a video frame. If the block-specific filter decision value is below a block-specific threshold, each row or column (12) in the block (10) is individually processed in order to select between a strong and a weak de-blocking filter. A respective line-specific filter decision value is thereby calculated for each row or column (12) in the block (10) and compared to a line-specific threshold. If the line-specific filter decision value calculated for a row or column (12) is below the line-specific threshold a strong de-blocking filter is selected for the row or column (12), otherwise a weak de-blocking filter is instead selected to combat any blocking artifacts.
摘要:
An adaptive filter having multiple filter parameters is determined by defining at least one filter parameter as having a first level of adaptivity and defining at least one other filter parameter as having a second, different level of adaptivity. The parameter values for the at least one filter parameter having the first level of adaptivity are determined among a first set of allowable filter parameter values. The parameter values for the at least one filter parameter having the second level of adaptivity are correspondingly determined among a second, different set of allowable filter parameter values. The different levels of adaptivity in the filter parameters of the adaptive filter are achieved as the second set comprises more allowable filter parameter values than the first set. The adaptive filter is advantageously used in filtering in intra or inter predication during video encoding and decoding.
摘要:
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.
摘要:
There is provided a method of selecting PMV candidates, wherein each PMV candidate corresponds to a motion vector used for coding of a previous block, said previous block having a distance from a current block. The method comprises identifying allowed distance values of distances between the current block and the previous block. The method further comprises selecting a set of PMV candidates as a subset of the set of previously coded motion vectors that were used for previous blocks having an allowed distance from the current block.